From 5922861e94e44eb311d17b4d0c017036230fd1db Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 26 Mar 2009 05:57:16 -0400 Subject: Split Model ctor --- sigtools/PluginTreeModel.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sigtools/PluginTreeModel.cpp') diff --git a/sigtools/PluginTreeModel.cpp b/sigtools/PluginTreeModel.cpp index 6a291b45..d0529c66 100644 --- a/sigtools/PluginTreeModel.cpp +++ b/sigtools/PluginTreeModel.cpp @@ -35,8 +35,12 @@ using namespace Sigencore::Interfaces; using namespace Sigtools; -PluginTreeModel::PluginTreeModel(const QStringList& types, PluginTree* tree) : +PluginTreeModel::PluginTreeModel(PluginTree* tree) : QAbstractListModel(tree) +{ +} + +void PluginTreeModel::setTypes(const QStringList& types) { foreach (const QString& type, types) { -- cgit