diff options
| author | Peter Penz <[email protected]> | 2011-02-25 20:39:18 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2011-02-27 20:38:35 +0100 |
| commit | 1b2b63eb3a01025e03ff964f187adda52c62bcb3 (patch) | |
| tree | 9cd88bac9980ffda772878adada70e7a62cbddce /src/settings/general/previewssettingspage.h | |
| parent | 96c0153e96917e994b5a188a01bb021fc4832707 (diff) | |
Allow to configure thumbnail-plugins
Adjust the preview-settings to allow users to configure thumbnail-plugins. For consistency also the service-settings have been adjusted to use the ServiceModel and ServiceItemDelegate.
Diffstat (limited to 'src/settings/general/previewssettingspage.h')
| -rw-r--r-- | src/settings/general/previewssettingspage.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/settings/general/previewssettingspage.h b/src/settings/general/previewssettingspage.h index b14aa7ab4..ef3ad267e 100644 --- a/src/settings/general/previewssettingspage.h +++ b/src/settings/general/previewssettingspage.h @@ -22,8 +22,9 @@ #include <settings/settingspagebase.h> -class QListWidget; class KIntSpinBox; +class QListView; +class QModelIndex; /** * @brief Allows the configuration of file previews. @@ -50,14 +51,15 @@ protected: virtual void showEvent(QShowEvent* event); private slots: - void loadPreviewPlugins(); + void configureService(const QModelIndex& index); private: + void loadPreviewPlugins(); void loadSettings(); private: bool m_initialized; - QListWidget* m_previewPluginsList; + QListView *m_listView; QStringList m_enabledPreviewPlugins; KIntSpinBox* m_localFileSizeBox; KIntSpinBox* m_remoteFileSizeBox; |
