diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 00:40:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-27 00:40:29 +0000 |
commit | 7a741e43ff09e70396a918956219b8316c48e522 (patch) | |
tree | 3d0f60eccd59786cea7236db2d5c4c1f25874515 /src/undomanager.h | |
parent | a48487ef0c329434b58b6f920111bb0999f1109e (diff) | |
download | dolphin-7a741e43ff09e70396a918956219b8316c48e522.tar.gz dolphin-7a741e43ff09e70396a918956219b8316c48e522.zip |
TQt4 port Dolphin
This enables compilation under Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/dolphin@1229359 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/undomanager.h')
-rw-r--r-- | src/undomanager.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/undomanager.h b/src/undomanager.h index fb6f14e..ed98ce5 100644 --- a/src/undomanager.h +++ b/src/undomanager.h @@ -21,8 +21,8 @@ #ifndef UNDOMANAGER_H #define UNDOMANAGER_H -#include <qobject.h> -#include <qvaluelist.h> +#include <tqobject.h> +#include <tqvaluelist.h> #include <kurl.h> #include <kio/jobclasses.h> @@ -80,9 +80,10 @@ private: * * @author Peter Penz <[email protected]> */ -class UndoManager : public QObject +class UndoManager : public TQObject { Q_OBJECT + TQ_OBJECT public: static UndoManager& instance(); @@ -139,7 +140,7 @@ signals: * undo operation changes * (e. g. from 'Undo: Delete' to 'Undo: Copy') */ - void undoTextChanged(const QString& text); + void undoTextChanged(const TQString& text); /** * Is emitted if whenever the availability state @@ -152,12 +153,12 @@ signals: * redo operation changes * (e. g. from 'Redo: Delete' to 'Redo: Copy') */ - void redoTextChanged(const QString& text); + void redoTextChanged(const TQString& text); protected: UndoManager(); virtual ~UndoManager(); - QString commandText(const DolphinCommand& command) const; + TQString commandText(const DolphinCommand& command) const; private slots: /** @@ -177,7 +178,7 @@ private: bool m_recordMacro; int m_historyIndex; int m_macroCounter; - QValueList<DolphinCommand> m_history; + TQValueList<DolphinCommand> m_history; ProgressIndicator* m_progressIndicator; /** |