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/backgroundchecker.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/backgroundchecker.h')
-rw-r--r-- | kspell2/backgroundchecker.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kspell2/backgroundchecker.h b/kspell2/backgroundchecker.h index 3c25d3749..c3f2cbc1b 100644 --- a/kspell2/backgroundchecker.h +++ b/kspell2/backgroundchecker.h @@ -50,7 +50,7 @@ namespace KSpell2 { Q_OBJECT public: - BackgroundChecker( const Broker::Ptr& broker, QObject *parent =0, + BackgroundChecker( const Broker::Ptr& broker, TQObject *parent =0, const char *name =0 ); ~BackgroundChecker(); @@ -60,16 +60,16 @@ namespace KSpell2 * * Use getMoreText() with start() to spell check a stream. */ - void checkText( const QString& ); + void checkText( const TQString& ); Filter *filter() const; Broker *broker() const; - void changeLanguage( const QString& lang ); + void changeLanguage( const TQString& lang ); - bool checkWord( const QString& word ); - QStringList suggest( const QString& ) const; - bool addWord( const QString& word ); + bool checkWord( const TQString& word ); + TQStringList suggest( const TQString& ) const; + bool addWord( const TQString& word ); public slots: virtual void setFilter( KSpell2::Filter *filter ); virtual void start(); @@ -86,7 +86,7 @@ namespace KSpell2 /** * Emitted whenever a misspelled word is found */ - void misspelling( const QString& word, int start ); + void misspelling( const TQString& word, int start ); /** * Emitted after the whole text has been spell checked. @@ -96,13 +96,13 @@ namespace KSpell2 protected: /** * This function is called to get the text to spell check. - * It will be called continuesly until it returns QString::null + * It will be called continuesly until it returns TQString::null * in which case the done() singnal is emitted. * Note: the start parameter in mispelling() is not a combined * position but a position in the last string returned * by getMoreText. You need to store the state in the derivatives. */ - virtual QString getMoreText(); + virtual TQString getMoreText(); /** * This function will be called whenever the background checker @@ -113,7 +113,7 @@ namespace KSpell2 protected slots: void slotEngineDone(); protected: - //void customEvent( QCustomEvent *event ); + //void customEvent( TQCustomEvent *event ); private: class Private; Private *d; |