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 /kspell2/threadevents.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 'kspell2/threadevents.h')
-rw-r--r-- | kspell2/threadevents.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kspell2/threadevents.h b/kspell2/threadevents.h index 50b5938d6..e6b52293e 100644 --- a/kspell2/threadevents.h +++ b/kspell2/threadevents.h @@ -21,8 +21,8 @@ #ifndef KSPELL_THREADEVENTS_H #define KSPELL_THREADEVENTS_H -#include <qevent.h> -#include <qstring.h> +#include <tqevent.h> +#include <tqstring.h> namespace KSpell2 { @@ -33,27 +33,27 @@ namespace KSpell2 class MisspellingEvent : public QCustomEvent { public: - MisspellingEvent( const QString& word, + MisspellingEvent( const TQString& word, int pos ) - : QCustomEvent( FoundMisspelling ), m_word( word ), + : TQCustomEvent( FoundMisspelling ), m_word( word ), m_position( pos ) {} - QString word() const { + TQString word() const { return m_word; } int position() const { return m_position; } private: - QString m_word; + TQString m_word; int m_position; }; class FinishedCheckingEvent : public QCustomEvent { public: FinishedCheckingEvent() - : QCustomEvent( FinishedChecking ) + : TQCustomEvent( FinishedChecking ) {} }; |