Blokkal::Ui::GlobalSettings Class Reference
Stores global settings for the Blokkal and Blokkal::Ui namespaces. More...
#include <globalsettings.h>
Public Member Functions | |
QWidget * | mainWidget (void) const |
WId | mainWindowWId (void) const |
void | setMainWidget (QWidget *mainWidget) |
Static Public Member Functions | |
static Blokkal::Ui::GlobalSettings * | self (void) |
Friends | |
class | GlobalSettingsPrivate |
Detailed Description
Stores global settings for the Blokkal and Blokkal::Ui namespaces.Stores global settings for the Blokkal and Blokkal::Ui namespaces.
Definition at line 38 of file globalsettings.h.
Member Function Documentation
QWidget * Blokkal::Ui::GlobalSettings::mainWidget | ( | void | ) | const |
Returns the main widget for all dialogs.
- Returns:
- the main widget for all dialogs
Definition at line 60 of file globalsettings.cpp.
WId Blokkal::Ui::GlobalSettings::mainWindowWId | ( | void | ) | const |
Returns the WId of the parent window of mainWidget()
- Returns:
- WId for the main window
Definition at line 65 of file globalsettings.cpp.
Blokkal::Ui::GlobalSettings * Blokkal::Ui::GlobalSettings::self | ( | void | ) | [static] |
Returns a pointer to the libblokkal settings object. If it does not exist yet it will be created.
- Returns:
- global libblokkal settings object
Definition at line 50 of file globalsettings.cpp.
void Blokkal::Ui::GlobalSettings::setMainWidget | ( | QWidget * | mainWidget | ) |
Sets the main widget that all dialogs in libblokkal should use.
- Parameters:
-
mainWidget the main widget
Definition at line 55 of file globalsettings.cpp.
The documentation for this class was generated from the following files: