diff options
Diffstat (limited to 'sip/kspell/kspell.sip')
-rw-r--r-- | sip/kspell/kspell.sip | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/sip/kspell/kspell.sip b/sip/kspell/kspell.sip index 8ecf4ea..62c1058 100644 --- a/sip/kspell/kspell.sip +++ b/sip/kspell/kspell.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KSpell : QObject +class KSpell : TQObject { %TypeHeaderCode #include <kspell.h> @@ -57,54 +57,54 @@ public: %End - KSpell (QWidget* /TransferThis/, const QString&, QObject*, const char*, KSpellConfig* = 0, bool = 1, bool = 0); + KSpell (TQWidget* /TransferThis/, const TQString&, TQObject*, const char*, KSpellConfig* = 0, bool = 1, bool = 0); %If ( KDE_3_2_0 - ) - KSpell (QWidget* /TransferThis/, const QString&, QObject*, const char*, KSpellConfig*, bool, bool, KSpell::SpellerType); + KSpell (TQWidget* /TransferThis/, const TQString&, TQObject*, const char*, KSpellConfig*, bool, bool, KSpell::SpellerType); %End spellStatus status (); virtual void cleanUp (); void setAutoDelete (bool); - virtual bool check (const QString&, bool = 1); + virtual bool check (const TQString&, bool = 1); int lastPosition (); - virtual bool checkList (QStringList*, bool = 1); - virtual bool checkWord (const QString&, bool = 0); + virtual bool checkList (TQStringList*, bool = 1); + virtual bool checkWord (const TQString&, bool = 0); %If ( KDE_3_2_0 - ) - bool checkWord (const QString&, bool, bool); + bool checkWord (const TQString&, bool, bool); %End void hide (); - QStringList suggestions () const; + TQStringList suggestions () const; int dlgResult (); void moveDlg (int, int); int heightDlg (); int widthDlg (); - QString intermediateBuffer () const; - virtual bool ignore (const QString&); - virtual bool addPersonal (const QString&); + TQString intermediateBuffer () const; + virtual bool ignore (const TQString&); + virtual bool addPersonal (const TQString&); KSpellConfig ksConfig () const; void setProgressResolution (uint); - static int modalCheck (QString&); - static int modalCheck (QString&, KSpellConfig*); + static int modalCheck (TQString&); + static int modalCheck (TQString&, KSpellConfig*); void setIgnoreUpperWords (bool); void setIgnoreTitleCase (bool); signals: - void misspelling (const QString&, const QStringList&, uint); - void corrected (const QString&, const QString&, uint); - void ignoreall (const QString&); - void ignoreword (const QString&); - void addword (const QString&); + void misspelling (const TQString&, const TQStringList&, uint); + void corrected (const TQString&, const TQString&, uint); + void ignoreall (const TQString&); + void ignoreword (const TQString&); + void addword (const TQString&); %If ( KDE_3_1_0 - ) - void replaceall (const QString&, const QString&); + void replaceall (const TQString&, const TQString&); %End void ready (KSpell*); void progress (uint); - void done (const QString&); + void done (const TQString&); void done (bool); void death (); @@ -138,19 +138,19 @@ signals: void dialog3 (); protected: - int parseOneResponse (const QString&, QString&, QStringList&); - QString funnyWord (const QString&); - void dialog (const QString&, QStringList&, const char*); - QString replacement (); + int parseOneResponse (const TQString&, TQString&, TQStringList&); + TQString funnyWord (const TQString&); + void dialog (const TQString&, TQStringList&, const char*); + TQString replacement (); void setUpDialog (bool = 1); void emitProgress (); - bool cleanFputs (const QString&, bool = 1); - bool cleanFputsWord (const QString&, bool = 1); + bool cleanFputs (const TQString&, bool = 1); + bool cleanFputsWord (const TQString&, bool = 1); void startIspell (); bool writePersonalDictionary (); %If ( KDE_3_2_0 - ) - void initialize (QWidget*, const QString&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KSpellConfig*, bool, bool, KSpell::SpellerType); + void initialize (TQWidget*, const TQString&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KSpellConfig*, bool, bool, KSpell::SpellerType); %End |