Engauge Digitizer  2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | List of all members
LoggerUpload Class Reference

Upload logging information to website for developer support. More...

#include <LoggerUpload.h>

Collaboration diagram for LoggerUpload:
Collaboration graph

Public Member Functions

 LoggerUpload ()
 Single constructor. More...
 

Static Public Member Functions

static void bindToMainWindow (MainWindow *mainWindow)
 Bind to MainWindow so this class can access the command stack. More...
 
static void loggerAssert (const char *condition, const char *file, int line) Q_NORETURN
 Smart equivalent to standard assert method and Q_ASSERT (in qglobal.h). More...
 
static void loggerCheckPtr (const char *pointer, const char *file, int line) Q_NORETURN
 Smart equivalent to Q_CHECK_PTR (in qglobal.h). Similar to loggerAssert but for checking newly-allocated pointers. More...
 

Detailed Description

Upload logging information to website for developer support.

Definition at line 21 of file LoggerUpload.h.

Constructor & Destructor Documentation

LoggerUpload::LoggerUpload ( )

Single constructor.

Definition at line 13 of file LoggerUpload.cpp.

14 {
15 }

Member Function Documentation

void LoggerUpload::bindToMainWindow ( MainWindow mainWindow)
static

Bind to MainWindow so this class can access the command stack.

Definition at line 17 of file LoggerUpload.cpp.

18 {
19  m_mainWindow = mainWindow;
20 }
void LoggerUpload::loggerAssert ( const char *  condition,
const char *  file,
int  line 
)
static

Smart equivalent to standard assert method and Q_ASSERT (in qglobal.h).

Upon error, an upload is proposed. This is static for easy access from anywhere else in the application

Definition at line 22 of file LoggerUpload.cpp.

25 {
26  loggerOutput (condition,
27  file,
28  line,
29  "assert");
30 }
void LoggerUpload::loggerCheckPtr ( const char *  pointer,
const char *  file,
int  line 
)
static

Smart equivalent to Q_CHECK_PTR (in qglobal.h). Similar to loggerAssert but for checking newly-allocated pointers.

Definition at line 32 of file LoggerUpload.cpp.

35 {
36  loggerOutput (ptr,
37  file,
38  line,
39  "null pointer");
40 }

The documentation for this class was generated from the following files: