diff options
| author | Peter Penz <[email protected]> | 2012-04-08 23:15:32 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-04-08 23:18:20 +0200 |
| commit | e0ac8b61fb907ac19f9bebf01cb5be17d4c88ba8 (patch) | |
| tree | 3774c1753847d346879590c9339d9459e2e8863c /src/settings/services/servicessettingspage.h | |
| parent | 05082aed16cdf7e511d9c97d0cf07e270af493e5 (diff) | |
Layout improvements for settings
- Handle 'Context Menu' settings as part of the services
- Handle 'Version Control' settings as part of the services
- Move the confirmations-settings into own tab
- Use combobox for view-property settings
- A lot of minor spacing cleanups
Diffstat (limited to 'src/settings/services/servicessettingspage.h')
| -rw-r--r-- | src/settings/services/servicessettingspage.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/settings/services/servicessettingspage.h b/src/settings/services/servicessettingspage.h index d2eecaefe..80af42f88 100644 --- a/src/settings/services/servicessettingspage.h +++ b/src/settings/services/servicessettingspage.h @@ -27,6 +27,8 @@ class QCheckBox; class QGroupBox; class QListView; +class QSortFilterProxyModel; +class ServiceModel; /** * @brief Page for the 'Services' settings of the Dolphin settings dialog. @@ -62,11 +64,19 @@ private: bool isInServicesList(const QString& service) const; + /** + * Adds a row to the model of m_listView. + */ + void addRow(const QString& icon, + const QString& text, + const QString& value, + bool checked); + private: bool m_initialized; - QListView *m_listView; - QGroupBox* m_vcsGroupBox; - QMap<QString, QCheckBox*> m_vcsPluginsMap; + ServiceModel* m_serviceModel; + QSortFilterProxyModel* m_sortModel; + QListView* m_listView; QStringList m_enabledVcsPlugins; }; |
