kdeui
kmainwindow.h File Reference
#include "kxmlguifactory.h"
#include "kxmlguiclient.h"
#include "kxmlguibuilder.h"
#include <qmainwindow.h>
#include <qmetaobject.h>
#include <ktoolbar.h>
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 WType_TopLevel | WDestructiveClose |
#define | KDE_RESTORE_MAIN_WINDOWS_NUM_TEMPLATE_ARGS 3 |
#define | RESTORE(type) |
Functions | |
template<typename T > | |
void | kRestoreMainWindows () |
Define Documentation
#define KDE_DEFAULT_WINDOWFLAGS WType_TopLevel | WDestructiveClose |
Definition at line 44 of file kmainwindow.h.
#define KDE_RESTORE_MAIN_WINDOWS_NUM_TEMPLATE_ARGS 3 |
Definition at line 1015 of file kmainwindow.h.
#define RESTORE | ( | type | ) |
Value:
{ int n = 1;\ while (KMainWindow::canBeRestored(n)){\ (new type)->restore(n);\ n++;}}
Definition at line 1010 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.
- Since:
- KDE 3.2
Definition at line 1028 of file kmainwindow.h.