KanoopGuiQt 1.3.0
Qt GUI utility library
Loading...
Searching...
No Matches
Application Class Reference

QApplication subclass that adds logging support and a preferences-changed signal. More...

#include <application.h>

+ Inheritance diagram for Application:
+ Collaboration diagram for Application:

Signals

void preferencesChanged ()
 Emitted when the user changes application preferences.
 

Public Member Functions

 Application (int &argc, char *argv[], const QString &applicationName)
 Construct the application object.
 

Detailed Description

QApplication subclass that adds logging support and a preferences-changed signal.

Use this as the top-level application object in KanoopGuiQt-based applications. Connect to preferencesChanged() to have widgets update when application preferences are modified.

Definition at line 16 of file application.h.

Constructor & Destructor Documentation

◆ Application()

Application::Application ( int &  argc,
char *  argv[],
const QString &  applicationName 
)
explicit

Construct the application object.

Parameters
argcReference to the command-line argument count (from main)
argvCommand-line argument vector (from main)
applicationNameApplication name string used for settings and window titles

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