diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /lib/kotext/KoSpell.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kotext/KoSpell.h')
-rw-r--r-- | lib/kotext/KoSpell.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/kotext/KoSpell.h b/lib/kotext/KoSpell.h index b359b1aa..4c1ee72c 100644 --- a/lib/kotext/KoSpell.h +++ b/lib/kotext/KoSpell.h @@ -19,9 +19,9 @@ #ifndef KOSPELL_H #define KOSPELL_H -#include <qobject.h> -#include <qstringlist.h> -#include <qstring.h> +#include <tqobject.h> +#include <tqstringlist.h> +#include <tqstring.h> #include <kspell2/backgroundchecker.h> #include <koffice_export.h> @@ -45,9 +45,10 @@ namespace KSpell2 class KOTEXT_EXPORT KoSpell : public KSpell2::BackgroundChecker { Q_OBJECT + TQ_OBJECT public: - KoSpell( const KSpell2::Broker::Ptr& broker, QObject *parent =0, + KoSpell( const KSpell2::Broker::Ptr& broker, TQObject *tqparent =0, const char *name =0 ); /** * The destructor instructs ISpell/ASpell to write out the personal @@ -70,7 +71,7 @@ public: virtual bool check( KoTextIterator *itr, bool dialog = false ); virtual bool check( KoTextParag *parag ); virtual bool checkWordInParagraph( KoTextParag *parag, int pos, - QString& word, int& start ); + TQString& word, int& start ); KoTextParag *currentParag() const; KoTextObject *currentTextObject() const; @@ -95,7 +96,7 @@ signals: void aboutToFeedText(); protected: - virtual QString getMoreText(); + virtual TQString getMoreText(); virtual void finishedCurrentFeed(); private: |