summaryrefslogtreecommitdiffstats
path: root/src/undomanager.h
diff options
context:
space:
mode:
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 <peter.penz@gmx.at>
*/
-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;
/**