From e0ac8b61fb907ac19f9bebf01cb5be17d4c88ba8 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 8 Apr 2012 23:15:32 +0200 Subject: 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 --- src/settings/services/servicessettingspage.h | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/settings/services/servicessettingspage.h') 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 m_vcsPluginsMap; + ServiceModel* m_serviceModel; + QSortFilterProxyModel* m_sortModel; + QListView* m_listView; QStringList m_enabledVcsPlugins; }; -- cgit v1.3.1