/***************************************************************************
- * Copyright (C) 2006 by Peter Penz <peter.penz@gmx.at> *
+ * Copyright (C) 2006 by Peter Penz <peter.penz19@gmail.com> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
#include <settings/settingspagebase.h>
-class QListWidget;
class KIntSpinBox;
+class QListView;
+class QModelIndex;
/**
* @brief Allows the configuration of file previews.
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;
};