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/BaseTool.h | |
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/BaseTool.h')
-rw-r--r-- | src/gui/general/BaseTool.h | 20 |
1 files changed, 10 insertions, 10 deletions
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 <qobject.h> -#include <qstring.h> +#include <tqobject.h> +#include <tqstring.h> -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; }; |