diff options
Diffstat (limited to 'src/dolphinapplication.h')
| -rw-r--r-- | src/dolphinapplication.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/dolphinapplication.h b/src/dolphinapplication.h index 69d306863..fc1a564c8 100644 --- a/src/dolphinapplication.h +++ b/src/dolphinapplication.h @@ -27,19 +27,19 @@ class DolphinMainWindow; /** - * - * DolphinApplication will hold application wide data which - * can be accessed. + * @brief Holds the application data which can be accessed. * At first this will hold a list of DolphinMainWindows which - * we will delete on application exit. + * we will delete on application exit. */ -class DolphinApplication : public KApplication { +class DolphinApplication : public KApplication +{ Q_OBJECT friend class DolphinMainWindow; + public: DolphinApplication(); - ~DolphinApplication(); + virtual ~DolphinApplication(); static DolphinApplication* app(); @@ -51,14 +51,11 @@ public: void refreshMainWindows(); protected: - /** - * called by the MainWindow to deregister - */ - void removeMainWindow( DolphinMainWindow* ); + /** Called by the DolphinMainWindow to deregister. */ + void removeMainWindow(DolphinMainWindow* mainWindow); private: QList<DolphinMainWindow*> m_mainWindows; }; - #endif |
