summaryrefslogtreecommitdiffstats
path: root/src/undomanager.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-27 00:40:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-27 00:40:29 +0000
commit7a741e43ff09e70396a918956219b8316c48e522 (patch)
tree3d0f60eccd59786cea7236db2d5c4c1f25874515 /src/undomanager.h
parenta48487ef0c329434b58b6f920111bb0999f1109e (diff)
downloaddolphin-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.h15
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;
/**