diff options
Diffstat (limited to 'kutils/tests/kreplacetest.h')
-rw-r--r-- | kutils/tests/kreplacetest.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kutils/tests/kreplacetest.h b/kutils/tests/kreplacetest.h index 4a4252849..ff85ca34b 100644 --- a/kutils/tests/kreplacetest.h +++ b/kutils/tests/kreplacetest.h @@ -25,26 +25,26 @@ class KReplace; -class KReplaceTest : public TQObject +class KReplaceTest : public QObject { Q_OBJECT public: KReplaceTest( const TQStringList& text, int button ) - : TQObject( 0L ), m_text( text ), m_tqreplace( 0 ), m_button( button ) {} + : TQObject( 0L ), m_text( text ), m_replace( 0 ), m_button( button ) {} - void tqreplace( const TQString &pattern, const TQString &tqreplacement, long options ); + void replace( const TQString &pattern, const TQString &replacement, 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 tqreplacementIndex, int tqreplacedLength, int matchedLength); + void slotReplace(const TQString &text, int replacementIndex, int replacedLength, int matchedLength); private: TQStringList::Iterator m_currentPos; TQStringList m_text; - KReplace* m_tqreplace; + KReplace* m_replace; bool m_needEventLoop; int m_button; }; |