summaryrefslogtreecommitdiffstats
path: root/sigtools/PluginTreeModel.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-03-26 05:57:16 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-03-26 05:57:16 -0400
commit5922861e94e44eb311d17b4d0c017036230fd1db (patch)
tree7cf161277e6dee06347c8d765bed07caf7ea5ba8 /sigtools/PluginTreeModel.cpp
parent92530cb716baf7d978832f47321eb8f74a79da58 (diff)
downloadsigen-5922861e94e44eb311d17b4d0c017036230fd1db.tar.gz
sigen-5922861e94e44eb311d17b4d0c017036230fd1db.tar.xz
sigen-5922861e94e44eb311d17b4d0c017036230fd1db.zip
Split Model ctor
Diffstat (limited to 'sigtools/PluginTreeModel.cpp')
-rw-r--r--sigtools/PluginTreeModel.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/sigtools/PluginTreeModel.cpp b/sigtools/PluginTreeModel.cpp
index 6a291b45..d0529c66 100644
--- a/sigtools/PluginTreeModel.cpp
+++ b/sigtools/PluginTreeModel.cpp
@@ -35,9 +35,13 @@
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)
{
const QStringList names = PluginLoader::availablePlugins(type);