diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kolourpaint/kpcommandhistory.h | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/kpcommandhistory.h')
-rw-r--r-- | kolourpaint/kpcommandhistory.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kolourpaint/kpcommandhistory.h b/kolourpaint/kpcommandhistory.h index a1541512..c29d68fc 100644 --- a/kolourpaint/kpcommandhistory.h +++ b/kolourpaint/kpcommandhistory.h @@ -29,9 +29,9 @@ #ifndef KP_COMMAND_HISTORY_H #define KP_COMMAND_HISTORY_H -#include <qobject.h> -#include <qstring.h> -#include <qvaluelist.h> +#include <tqobject.h> +#include <tqstring.h> +#include <tqvaluelist.h> class KActionCollection; @@ -50,7 +50,7 @@ public: virtual ~kpCommand (); public: - virtual QString name () const = 0; + virtual TQString name () const = 0; // Returns the estimated size in bytes. // @@ -82,20 +82,20 @@ protected: class kpNamedCommand : public kpCommand { public: - kpNamedCommand (const QString &name, kpMainWindow *mainWindow); + kpNamedCommand (const TQString &name, kpMainWindow *mainWindow); virtual ~kpNamedCommand (); - virtual QString name () const; + virtual TQString name () const; protected: - QString m_name; + TQString m_name; }; class kpMacroCommand : public kpNamedCommand { public: - kpMacroCommand (const QString &name, kpMainWindow *mainWindow); + kpMacroCommand (const TQString &name, kpMainWindow *mainWindow); virtual ~kpMacroCommand (); @@ -116,7 +116,7 @@ public: void addCommand (kpCommand *command); protected: - QValueList <kpCommand *> m_commandList; + TQValueList <kpCommand *> m_commandList; private: class kpMacroCommandPrivate *d; @@ -176,11 +176,11 @@ public slots: virtual void redoUpToNumber (int which); protected: - QString undoActionText () const; - QString redoActionText () const; + TQString undoActionText () const; + TQString redoActionText () const; void trimCommandListsUpdateActions (); - void trimCommandList (QValueList <kpCommand *> *commandList); + void trimCommandList (TQValueList <kpCommand *> *commandList); void trimCommandLists (); void updateActions (); @@ -200,8 +200,8 @@ protected: KToolBarPopupAction *m_actionUndo, *m_actionRedo; // (Front element is the next one) - QValueList <kpCommand *> m_undoCommandList; - QValueList <kpCommand *> m_redoCommandList; + TQValueList <kpCommand *> m_undoCommandList; + TQValueList <kpCommand *> m_redoCommandList; int m_undoMinLimit, m_undoMaxLimit, m_undoMaxLimitSizeLimit; |