summaryrefslogtreecommitdiffstats
path: root/kutils/tests/kreplacetest.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 /kutils/tests/kreplacetest.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 'kutils/tests/kreplacetest.h')
-rw-r--r--kutils/tests/kreplacetest.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/kutils/tests/kreplacetest.h b/kutils/tests/kreplacetest.h
index a60563e77..ff85ca34b 100644
--- a/kutils/tests/kreplacetest.h
+++ b/kutils/tests/kreplacetest.h
@@ -20,8 +20,8 @@
#ifndef KREPLACETEST_H
#define KREPLACETEST_H
-#include <qobject.h>
-#include <qstringlist.h>
+#include <tqobject.h>
+#include <tqstringlist.h>
class KReplace;
@@ -29,21 +29,21 @@ class KReplaceTest : public QObject
{
Q_OBJECT
public:
- KReplaceTest( const QStringList& text, int button )
- : QObject( 0L ), m_text( text ), m_replace( 0 ), m_button( button ) {}
+ KReplaceTest( const TQStringList& text, int button )
+ : TQObject( 0L ), m_text( text ), m_replace( 0 ), m_button( button ) {}
- void replace( const QString &pattern, const QString &replacement, long options );
+ void replace( const TQString &pattern, const TQString &replacement, long options );
void print();
- const QStringList& textLines() const { return m_text; }
+ const TQStringList& textLines() const { return m_text; }
public slots:
- void slotHighlight( const QString &, int, int );
+ void slotHighlight( const TQString &, int, int );
void slotReplaceNext();
- void slotReplace(const QString &text, int replacementIndex, int replacedLength, int matchedLength);
+ void slotReplace(const TQString &text, int replacementIndex, int replacedLength, int matchedLength);
private:
- QStringList::Iterator m_currentPos;
- QStringList m_text;
+ TQStringList::Iterator m_currentPos;
+ TQStringList m_text;
KReplace* m_replace;
bool m_needEventLoop;
int m_button;