From 11f31c37e5fa4889d9989f10272f44845449cb7b Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 6 Sep 2010 20:59:29 +0000 Subject: Initial TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/general/BaseTool.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/gui/general/BaseTool.h') diff --git a/src/gui/general/BaseTool.h b/src/gui/general/BaseTool.h index 71e6410..6dd6820 100644 --- a/src/gui/general/BaseTool.h +++ b/src/gui/general/BaseTool.h @@ -26,11 +26,11 @@ #ifndef _RG_BASETOOL_H_ #define _RG_BASETOOL_H_ -#include -#include +#include +#include -class QPopupMenu; +class TQPopupMenu; class KXMLGUIFactory; @@ -76,10 +76,10 @@ public: /** * Retrieve current status-line type help for the tool, if any */ - virtual QString getCurrentContextHelp() const; + virtual TQString getCurrentContextHelp() const; signals: - void showContextHelp(const QString &); + void showContextHelp(const TQString &); protected: /** @@ -87,22 +87,22 @@ protected: * * \a menuName : the name of the menu defined in the XML rc file */ - BaseTool(const QString& menuName, KXMLGUIFactory*, QObject* parent); + BaseTool(const TQString& menuName, KXMLGUIFactory*, TQObject* parent); virtual void createMenu() = 0; virtual bool hasMenu() { return false; } - virtual void setContextHelp(const QString &help); + virtual void setContextHelp(const TQString &help); virtual void clearContextHelp() { setContextHelp(""); } //--------------- Data members --------------------------------- - QString m_menuName; - QPopupMenu* m_menu; + TQString m_menuName; + TQPopupMenu* m_menu; KXMLGUIFactory* m_parentFactory; - QString m_contextHelp; + TQString m_contextHelp; }; -- cgit v1.2.1