diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/general/BaseToolBox.cpp | |
parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
download | rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip |
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/general/BaseToolBox.cpp')
-rw-r--r-- | src/gui/general/BaseToolBox.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/general/BaseToolBox.cpp b/src/gui/general/BaseToolBox.cpp index 9e2fda9..e4c2a5f 100644 --- a/src/gui/general/BaseToolBox.cpp +++ b/src/gui/general/BaseToolBox.cpp @@ -26,30 +26,30 @@ #include "BaseToolBox.h" #include "BaseTool.h" -#include <qobject.h> -#include <qstring.h> -#include <qwidget.h> +#include <tqobject.h> +#include <tqstring.h> +#include <tqwidget.h> namespace Rosegarden { -BaseToolBox::BaseToolBox(QWidget* parent) - : QObject(parent), +BaseToolBox::BaseToolBox(TQWidget* parent) + : TQObject(parent), m_tools(17, // default size, from the Qt docs false) // but we want it to be case insensitive { //m_tools.setAutoDelete(true); } -BaseTool* BaseToolBox::getTool(const QString& toolName) +BaseTool* BaseToolBox::getTool(const TQString& toolName) { BaseTool* tool = m_tools[toolName]; if (!tool) tool = createTool(toolName); - connect(tool, SIGNAL(showContextHelp(const QString &)), - this, SIGNAL(showContextHelp(const QString &))); + connect(tool, TQT_SIGNAL(showContextHelp(const TQString &)), + this, TQT_SIGNAL(showContextHelp(const TQString &))); return tool; } |