KDEUI
kmainwindow.h File Reference
#include <kdeui_export.h>
#include <QtGui/QMainWindow>
#include <QtCore/QMetaClassInfo>
Include dependency graph for kmainwindow.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
class | KMainWindow |
KDE top level main window More... | |
Defines | |
#define | KDE_DEFAULT_WINDOWFLAGS 0 |
#define | KDE_RESTORE_MAIN_WINDOWS_NUM_TEMPLATE_ARGS 3 |
#define | KDEUI_DECLARE_PRIVATE(classname) |
#define | RESTORE(type) |
Functions | |
template<typename T> | |
void | kRestoreMainWindows () |
Define Documentation
#define KDE_DEFAULT_WINDOWFLAGS 0 |
Definition at line 54 of file kmainwindow.h.
#define KDE_RESTORE_MAIN_WINDOWS_NUM_TEMPLATE_ARGS 3 |
Definition at line 729 of file kmainwindow.h.
#define KDEUI_DECLARE_PRIVATE | ( | classname | ) |
Value:
inline classname ## Private *k_func() { return reinterpret_cast<classname ## Private *>(k_ptr); } \ inline const classname ## Private *k_func() const { return reinterpret_cast<classname ## Private *>(k_ptr); } \ friend class classname ## Private;
Definition at line 48 of file kmainwindow.h.
#define RESTORE | ( | type | ) |
Value:
{ int n = 1;\ while (KMainWindow::canBeRestored(n)){\ (new type)->restore(n);\ n++;}}
Definition at line 724 of file kmainwindow.h.
Function Documentation
template<typename T>
void kRestoreMainWindows | ( | ) | [inline] |
These global convenience functions (that come with a varying number of template arguments) are a replacement for the RESTORE macro provided in earlier versions of KDE.
The old RESTORE macro is still provided for backwards compatibility. See KMainWindow documentation for more.
Definition at line 739 of file kmainwindow.h.