Engauge Digitizer 2
Loading...
Searching...
No Matches
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.
 

Static Public Member Functions

static void bindToMainWindow (MainWindow *mainWindow)
 Bind to MainWindow so this class can access the command stack.
 
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).
 
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.
 

Detailed Description

Upload logging information to website for developer support.

Definition at line 21 of file LoggerUpload.h.

Constructor & Destructor Documentation

◆ LoggerUpload()

LoggerUpload::LoggerUpload ( )

Single constructor.

Definition at line 13 of file LoggerUpload.cpp.

14{
15}

Member Function Documentation

◆ bindToMainWindow()

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}

◆ loggerAssert()

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}
const int INNER_RADIUS_MIN

◆ loggerCheckPtr()

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: