diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kutils/tests/kfindtest.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-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/kfindtest.h')
-rw-r--r-- | kutils/tests/kfindtest.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kutils/tests/kfindtest.h b/kutils/tests/kfindtest.h index 2cb60ed76..b3be84a8b 100644 --- a/kutils/tests/kfindtest.h +++ b/kutils/tests/kfindtest.h @@ -20,8 +20,8 @@ #ifndef KFINDTEST_H #define KFINDTEST_H -#include <qobject.h> -#include <qstringlist.h> +#include <tqobject.h> +#include <tqstringlist.h> class KFind; @@ -30,30 +30,30 @@ class KFindTest : public QObject Q_OBJECT public: - KFindTest(const QStringList &text) : - QObject(0), + KFindTest(const TQStringList &text) : + TQObject(0), m_find(0), m_text(text), m_line(0) {} - void find(const QString &pattern, long options = 0); - void findNext(const QString &pattern = QString::null); + void find(const TQString &pattern, long options = 0); + void findNext(const TQString &pattern = TQString::null); - void changeText(uint line, const QString &text); + void changeText(uint line, const TQString &text); - const QStringList &hits() const { return m_hits; } + const TQStringList &hits() const { return m_hits; } void clearHits() { m_hits.clear(); } public slots: - void slotHighlight(const QString &text, int index, int matchedLength); + void slotHighlight(const TQString &text, int index, int matchedLength); void slotHighlight(int id, int index, int matchedLengthlength); private: KFind *m_find; - QStringList m_text; + TQStringList m_text; uint m_line; - QStringList m_hits; + TQStringList m_hits; }; #endif |