diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /kutils/tests/kreplacetest.h | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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; }; |