summaryrefslogtreecommitdiffstats
path: root/sigtools/PluginTree.h
diff options
context:
space:
mode:
Diffstat (limited to 'sigtools/PluginTree.h')
-rw-r--r--sigtools/PluginTree.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/sigtools/PluginTree.h b/sigtools/PluginTree.h
index e941469e..1fed430e 100644
--- a/sigtools/PluginTree.h
+++ b/sigtools/PluginTree.h
@@ -21,27 +21,25 @@
// Sigtools includes
#include "Global.h"
-// KDE includes
-#include <KService>
-
// Qt includes
-#include <QtGui/QTreeView>
+#include <QtGui/QWidget>
namespace Sigtools
{
-// Forward declarations
-class PluginTreeModel;
-
-class SIGTOOLS_EXPORT PluginTree : public QTreeView
+class SIGTOOLS_EXPORT PluginTree : public QWidget
{
Q_OBJECT
public:
PluginTree(const QStringList& types, QWidget* parent);
+
+ QString currentType() const;
+ QString currentName() const;
private:
void loadServiceType(const QString& type);
- PluginTreeModel* m_model;
+ class Private;
+ Private* const d;
};
}