|
Multi diag tools
|
SingleCoreApplication adds some helper to QtSingleCoreApplication for application initialization. More...
#include <SingleCoreApplication.h>
Inheritance diagram for Mdt::SingleCoreApplication:
Collaboration diagram for Mdt::SingleCoreApplication:Public Member Functions | |
| SingleCoreApplication (int &argc, char **argv) | |
| Construct a single core application. | |
| ~SingleCoreApplication () | |
| Destroy the single core application object. | |
| void | enableFileLogging () |
| Enable file logging. More... | |
| QString | logFilePath () |
| Get the path to the log file. | |
| void | debugEnvironment () |
| Debug environment. More... | |
Public Member Functions inherited from QtSingleCoreApplication | |
| QtSingleCoreApplication (int &argc, char **argv) | |
| QtSingleCoreApplication (const QString &id, int &argc, char **argv) | |
| bool | isRunning () |
| QString | id () const |
Static Public Member Functions | |
| static QString | cacheDirectoryPath () |
| Get path to the cache directory. More... | |
| static QString | qtVersion () |
| Get Qt library version. | |
| static QString | mdtVersion () |
| Get Mdt library version. | |
Additional Inherited Members | |
Public Slots inherited from QtSingleCoreApplication | |
| bool | sendMessage (const QString &message, int timeout=5000) |
Signals inherited from QtSingleCoreApplication | |
| void | messageReceived (const QString &message) |
SingleCoreApplication adds some helper to QtSingleCoreApplication for application initialization.
Definition at line 39 of file SingleCoreApplication.h.
|
static |
Get path to the cache directory.
Returns StandardPaths::cacheDirectoryPath()
Definition at line 45 of file SingleCoreApplication.cpp.
| void Mdt::SingleCoreApplication::debugEnvironment | ( | ) |
Debug environment.
Will print various informations, like libraries versions, paths to some directories, etc.. to the console.
Definition at line 60 of file SingleCoreApplication.cpp.
| void Mdt::SingleCoreApplication::enableFileLogging | ( | ) |
Enable file logging.
After file logging was enabled, errors that are committed using Mdt::Error::commit() are added to the log file logFilePath() .
Definition at line 35 of file SingleCoreApplication.cpp.
1.8.11