• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

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.

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal