diff options
Diffstat (limited to 'umbrello/umbrello/worktoolbar.h')
-rw-r--r-- | umbrello/umbrello/worktoolbar.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/umbrello/umbrello/worktoolbar.h b/umbrello/umbrello/worktoolbar.h index 92012dde..f5af5b2d 100644 --- a/umbrello/umbrello/worktoolbar.h +++ b/umbrello/umbrello/worktoolbar.h @@ -12,9 +12,9 @@ #ifndef WORKTOOLBAR_H #define WORKTOOLBAR_H -#include <qmap.h> -#include <qpixmap.h> -#include <qcursor.h> +#include <tqmap.h> +#include <tqpixmap.h> +#include <tqcursor.h> #include <ktoolbar.h> #include "umlnamespace.h" @@ -48,7 +48,7 @@ public: * * @param parentWindow The parent of the toolbar. */ - WorkToolBar(QMainWindow *parentWindow, const char *name); + WorkToolBar(TQMainWindow *parentWindow, const char *name); /** * Standard deconstructor. @@ -123,22 +123,22 @@ public: private: - typedef QMap<Uml::Diagram_Type,ToolBar_Buttons> OldToolMap; + typedef TQMap<Uml::Diagram_Type,ToolBar_Buttons> OldToolMap; /** * This inner class holds label, symbol, and cursor of a tool button. */ class ToolButton { public: - QString Label; - QPixmap Symbol; - QCursor Cursor; - ToolButton() : Label(QString("?")), Symbol(QPixmap()), Cursor(QCursor()) { } - ToolButton(const QString& lbl, const QPixmap& smb, const QCursor& cur) : + TQString Label; + TQPixmap Symbol; + TQCursor Cursor; + ToolButton() : Label(TQString("?")), Symbol(TQPixmap()), Cursor(TQCursor()) { } + ToolButton(const TQString& lbl, const TQPixmap& smb, const TQCursor& cur) : Label(lbl), Symbol(smb), Cursor(cur) { } }; - typedef QMap<ToolBar_Buttons, ToolButton> ToolButtonMap; + typedef TQMap<ToolBar_Buttons, ToolButton> ToolButtonMap; ToolBar_Buttons m_CurrentButtonID; OldToolMap m_map; @@ -148,7 +148,7 @@ private: /** * Loads a pixmap from file */ - QPixmap load(const QString &fileName); + TQPixmap load(const TQString &fileName); /** * Loads toolbar icon and mouse cursor images from disk @@ -158,7 +158,7 @@ private: /** * Returns the current cursor depending on m_CurrentButtonID */ - QCursor currentCursor(); + TQCursor currentCursor(); /** * Inserts the button corresponding to the tbb value given |