diff options
| author | Holger Freyther <[email protected]> | 2006-11-29 00:02:19 +0000 |
|---|---|---|
| committer | Holger Freyther <[email protected]> | 2006-11-29 00:02:19 +0000 |
| commit | f31a541925033c2ef5e27b85c099d47791b50121 (patch) | |
| tree | 11cc728aa7d247ca5b075776c438be0f381be765 /src/generalsettingspage.h | |
| parent | 68e81f7280c810e26cabf6cd2897b9dc8466f458 (diff) | |
Make it (almost) possible to have more than one Dolphin KMainWindow
Create a DolphinApplication, holding DolphinMainWindows and update
the code to use the DolphinView to get the MainWindow, or get a ptr
to the MainWindow directly. Or if all windows are effected go through
the DolphinApplication to update every mainwindow.
The UndowManager and ProgressIndicator have a rather strange relationship
and will need some more attention but as UndoManager will be killed
anyway I have skipped this.
More cleanup, debugging and thinking is needed.
svn path=/trunk/playground/utils/dolphin/; revision=608945
Diffstat (limited to 'src/generalsettingspage.h')
| -rw-r--r-- | src/generalsettingspage.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/generalsettingspage.h b/src/generalsettingspage.h index 246b150ed..f5e952b2f 100644 --- a/src/generalsettingspage.h +++ b/src/generalsettingspage.h @@ -24,6 +24,7 @@ class QLineEdit; class QRadioButton; class QCheckBox; +class DolphinMainWindow; /** * @brief Page for the 'General' settings of the Dolphin settings dialog. @@ -38,7 +39,7 @@ class GeneralSettingsPage : public SettingsPageBase Q_OBJECT public: - GeneralSettingsPage(QWidget* parent); + GeneralSettingsPage(DolphinMainWindow* mainWindow, QWidget* parent); virtual ~GeneralSettingsPage(); @@ -51,6 +52,7 @@ private slots: void useDefaulLocation(); private: + DolphinMainWindow *m_mainWindow; QLineEdit* m_homeUrl; QRadioButton* m_iconsView; QRadioButton* m_detailsView; |
