diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-03-26 07:30:07 -0400 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-03-26 07:30:07 -0400 |
commit | 95e1988336bf273f8237e0301d0a8ff33d901a1b (patch) | |
tree | 8fd84c4e9fb4d34170acfefbd5638c1b7fa4c3b8 /sigtools | |
parent | ef69b64492c2fb751d457ca3d4741ee823a01205 (diff) | |
download | sigen-95e1988336bf273f8237e0301d0a8ff33d901a1b.tar.gz sigen-95e1988336bf273f8237e0301d0a8ff33d901a1b.tar.xz sigen-95e1988336bf273f8237e0301d0a8ff33d901a1b.zip |
Switch from the Interfaces to Plugins namespace
Diffstat (limited to 'sigtools')
-rw-r--r-- | sigtools/PluginLoader.cpp | 4 | ||||
-rw-r--r-- | sigtools/PluginLoader.h | 6 | ||||
-rw-r--r-- | sigtools/PluginTreeModel.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sigtools/PluginLoader.cpp b/sigtools/PluginLoader.cpp index d655d14f..d6f039e9 100644 --- a/sigtools/PluginLoader.cpp +++ b/sigtools/PluginLoader.cpp @@ -19,7 +19,7 @@ #include "PluginLoader.h" #include "PluginLoader_p.h" -// Sigencore interface includes +// Sigencore plugin includes #include <sigencore/plugins/ArenaPlugin.h> #include <sigencore/plugins/CanvasPlugin.h> @@ -29,7 +29,7 @@ using namespace Sigscript; using namespace Sigencore; -using namespace Sigencore::Interfaces; +using namespace Sigencore::Plugins; using namespace Sigtools; K_GLOBAL_STATIC(PluginLoader::Private, loader) diff --git a/sigtools/PluginLoader.h b/sigtools/PluginLoader.h index ccd14169..c5d96cb5 100644 --- a/sigtools/PluginLoader.h +++ b/sigtools/PluginLoader.h @@ -30,7 +30,7 @@ namespace Sigencore { class Arena; class Canvas; -namespace Interfaces +namespace Plugins { class ArenaPlugin; class CanvasPlugin; @@ -49,8 +49,8 @@ namespace PluginLoader SIGTOOLS_EXPORT QStringList availablePlugins(const QString& type, const bool forceLookup = false); SIGTOOLS_EXPORT KService::Ptr service(const QString& type, const QString& name); - SIGTOOLS_EXPORT Sigencore::Interfaces::ArenaPlugin* pluginForArena(const QString& arena); - SIGTOOLS_EXPORT Sigencore::Interfaces::CanvasPlugin* pluginForCanvas(const QString& canvas); + SIGTOOLS_EXPORT Sigencore::Plugins::ArenaPlugin* pluginForArena(const QString& arena); + SIGTOOLS_EXPORT Sigencore::Plugins::CanvasPlugin* pluginForCanvas(const QString& canvas); SIGTOOLS_EXPORT Sigencore::Arena* loadArena(const QString& arena, Sigscript::GameWrapper* game, Sigscript::Config* parent); SIGTOOLS_EXPORT Sigencore::Canvas* loadCanvas(const QString& canvas, Sigscript::GameWrapper* game, Sigscript::Config* parent); diff --git a/sigtools/PluginTreeModel.cpp b/sigtools/PluginTreeModel.cpp index d0529c66..ad544e93 100644 --- a/sigtools/PluginTreeModel.cpp +++ b/sigtools/PluginTreeModel.cpp @@ -32,7 +32,7 @@ // Qt includes #include <QtGui/QIcon> -using namespace Sigencore::Interfaces; +using namespace Sigencore::Plugins; using namespace Sigtools; PluginTreeModel::PluginTreeModel(PluginTree* tree) : |