summaryrefslogtreecommitdiffstats
path: root/kutils/tests/kreplacetest.h
diff options
context:
space:
mode:
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;
};