summaryrefslogtreecommitdiffstats
path: root/kutils/tests/kreplacetest.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kutils/tests/kreplacetest.h
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kutils/tests/kreplacetest.h')
-rw-r--r--kutils/tests/kreplacetest.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/kutils/tests/kreplacetest.h b/kutils/tests/kreplacetest.h
index ff85ca34b..4a4252849 100644
--- a/kutils/tests/kreplacetest.h
+++ b/kutils/tests/kreplacetest.h
@@ -25,26 +25,26 @@
class KReplace;
-class KReplaceTest : public QObject
+class KReplaceTest : public TQObject
{
Q_OBJECT
public:
KReplaceTest( const TQStringList& text, int button )
- : TQObject( 0L ), m_text( text ), m_replace( 0 ), m_button( button ) {}
+ : TQObject( 0L ), m_text( text ), m_tqreplace( 0 ), m_button( button ) {}
- void replace( const TQString &pattern, const TQString &replacement, long options );
+ void tqreplace( const TQString &pattern, const TQString &tqreplacement, long options );
void print();
const TQStringList& textLines() const { return m_text; }
public slots:
void slotHighlight( const TQString &, int, int );
void slotReplaceNext();
- void slotReplace(const TQString &text, int replacementIndex, int replacedLength, int matchedLength);
+ void slotReplace(const TQString &text, int tqreplacementIndex, int tqreplacedLength, int matchedLength);
private:
TQStringList::Iterator m_currentPos;
TQStringList m_text;
- KReplace* m_replace;
+ KReplace* m_tqreplace;
bool m_needEventLoop;
int m_button;
};