diff options
Diffstat (limited to 'src/gui/general/BaseTool.cpp')
-rw-r--r-- | src/gui/general/BaseTool.cpp | 18 |
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); |