summaryrefslogtreecommitdiffstats
path: root/kio/tests/kdirwatchunittest.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kio/tests/kdirwatchunittest.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio/tests/kdirwatchunittest.h')
-rw-r--r--kio/tests/kdirwatchunittest.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kio/tests/kdirwatchunittest.h b/kio/tests/kdirwatchunittest.h
index 417cdf24e..053ab2882 100644
--- a/kio/tests/kdirwatchunittest.h
+++ b/kio/tests/kdirwatchunittest.h
@@ -14,7 +14,7 @@
#include <stdlib.h>
#include <stdio.h>
-#include <qobject.h>
+#include <tqobject.h>
#include "kdirwatch.h"
#include "kapplication.h"
@@ -38,9 +38,9 @@ public:
virtual void allTests();
private slots:
- void slotDirty (const QString& s) { m_signals[sigDirty]++; m_lastSignal = s; }
- void slotCreated (const QString& s) { m_signals[sigCreated]++; m_lastSignal = s; }
- void slotDeleted (const QString& s) { m_signals[sigDeleted]++; m_lastSignal = s; }
+ void slotDirty (const TQString& s) { m_signals[sigDirty]++; m_lastSignal = s; }
+ void slotCreated (const TQString& s) { m_signals[sigCreated]++; m_lastSignal = s; }
+ void slotDeleted (const TQString& s) { m_signals[sigDeleted]++; m_lastSignal = s; }
private:
unsigned m_signals[3];
@@ -48,18 +48,18 @@ private:
/* verify nothing happens */
void VERIFY_NOTHING();
/* verify that dirty got emitted */
- void VERIFY_DIRTY (const QString&);
+ void VERIFY_DIRTY (const TQString&);
/* verify that created got emitted */
- void VERIFY_CREATED (const QString&);
+ void VERIFY_CREATED (const TQString&);
/* verify that deleted got emitted */
- void VERIFY_DELETED (const QString&);
+ void VERIFY_DELETED (const TQString&);
- void touch_file (const QString& file);
- void remove_file (const QString& file);
- void rename_file (const QString& from, const QString& to);
+ void touch_file (const TQString& file);
+ void remove_file (const TQString& file);
+ void rename_file (const TQString& from, const TQString& to);
- QString m_lastSignal;
- QString m_workingDir;
+ TQString m_lastSignal;
+ TQString m_workingDir;
KDirWatch* d;
};