summaryrefslogtreecommitdiffstats
path: root/src/gui/general/BaseTool.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/general/BaseTool.cpp
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-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/BaseTool.cpp')
-rw-r--r--src/gui/general/BaseTool.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/general/BaseTool.cpp b/src/gui/general/BaseTool.cpp
index 4c33610..75202ac 100644
--- a/src/gui/general/BaseTool.cpp
+++ b/src/gui/general/BaseTool.cpp
@@ -27,17 +27,17 @@
#include "misc/Debug.h"
#include <kxmlguifactory.h>
-#include <qcursor.h>
-#include <qobject.h>
-#include <qpopupmenu.h>
-#include <qstring.h>
+#include <tqcursor.h>
+#include <tqobject.h>
+#include <tqpopupmenu.h>
+#include <tqstring.h>
namespace Rosegarden
{
-BaseTool::BaseTool(const QString& menuName, KXMLGUIFactory* factory, QObject* parent)
- : QObject(parent),
+BaseTool::BaseTool(const TQString& menuName, KXMLGUIFactory* factory, TQObject* parent)
+ : TQObject(parent),
m_menuName(menuName),
m_menu(0),
m_parentFactory(factory)
@@ -67,17 +67,17 @@ void BaseTool::showMenu()
createMenu();
if (m_menu)
- m_menu->exec(QCursor::pos());
+ m_menu->exec(TQCursor::pos());
else
RG_DEBUG << "BaseTool::showMenu() : no menu to show\n";
}
-QString BaseTool::getCurrentContextHelp() const
+TQString BaseTool::getCurrentContextHelp() const
{
return m_contextHelp;
}
-void BaseTool::setContextHelp(const QString &help)
+void BaseTool::setContextHelp(const TQString &help)
{
m_contextHelp = help;
emit showContextHelp(m_contextHelp);