summaryrefslogtreecommitdiffstats
path: root/sip/tdespell
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tdespell')
-rw-r--r--sip/tdespell/ksconfig.sip214
-rw-r--r--sip/tdespell/ksyntaxhighlighter.sip114
-rw-r--r--sip/tdespell/tdespell-kde320.diff1
-rw-r--r--sip/tdespell/tdespell-kde321.diff1
-rw-r--r--sip/tdespell/tdespell-kde322.diff1
-rw-r--r--sip/tdespell/tdespell-kde323.diff1
-rw-r--r--sip/tdespell/tdespell-kde330.diff1
-rw-r--r--sip/tdespell/tdespell-kde331.diff1
-rw-r--r--sip/tdespell/tdespell-kde332.diff1
-rw-r--r--sip/tdespell/tdespell-kde340.diff1
-rw-r--r--sip/tdespell/tdespell-kde341.diff1
-rw-r--r--sip/tdespell/tdespell-kde342.diff1
-rw-r--r--sip/tdespell/tdespell-kde343.diff1
-rw-r--r--sip/tdespell/tdespell-kde350.diff1
-rw-r--r--sip/tdespell/tdespell-kde351.diff3
-rw-r--r--sip/tdespell/tdespell-kde352.diff1
-rw-r--r--sip/tdespell/tdespell-kde353.diff1
-rw-r--r--sip/tdespell/tdespell.sip190
-rw-r--r--sip/tdespell/tdespelldlg.sip127
-rw-r--r--sip/tdespell/tdespellmod.sip.in42
20 files changed, 704 insertions, 0 deletions
diff --git a/sip/tdespell/ksconfig.sip b/sip/tdespell/ksconfig.sip
new file mode 100644
index 0000000..dc757a2
--- /dev/null
+++ b/sip/tdespell/ksconfig.sip
@@ -0,0 +1,214 @@
+//
+// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
+// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
+// may also apply
+
+
+// Generated by preSip
+// module tdespell version KDE 3.5.3
+
+
+// This software is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License as
+// published by the Free Software Foundation; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This software is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public
+// License along with this library; see the file COPYING.
+// If not, write to the Free Software Foundation, Inc.,
+// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+
+class KSpellConfig : TQWidget
+{
+%TypeHeaderCode
+#include <ksconfig.h>
+%End
+
+
+public:
+ KSpellConfig (TQWidget* /TransferThis/ = 0, const char* = 0, KSpellConfig* = 0, bool = 1);
+ KSpellConfig (const KSpellConfig&);
+
+%If ( KDE_3_2_0 - )
+ void fillDicts (TQComboBox*, TQStringList* = 0);
+%End
+
+ void setIgnoreList (TQStringList);
+
+%If ( KDE_3_1_0 - )
+ void setReplaceAllList (TQStringList);
+%End
+
+ void setNoRootAffix (bool);
+ void setRunTogether (bool);
+ void setDictionary (const TQString);
+ void setDictFromList (bool);
+ void setEncoding (int);
+ void setClient (int);
+ bool noRootAffix () const;
+ bool runTogether () const;
+ const TQString dictionary () const;
+ bool dictFromList () const;
+ int encoding () const;
+ TQStringList ignoreList () const;
+
+%If ( KDE_3_1_0 - )
+ TQStringList replaceAllList () const;
+%End
+
+ int client () const;
+ bool writeGlobalSettings ();
+
+%If ( KDE_3_2_0 - )
+ bool readGlobalSettings ();
+%End
+
+
+protected:
+ void fillInDialog ();
+ bool interpret (TQString&, TQString&, TQString&);
+
+public slots:
+ void activateHelp ();
+
+protected slots:
+ void sHelp ();
+ void sNoAff (bool);
+ void sRunTogether (bool);
+ void sDictionary (bool);
+ void sPathDictionary (bool);
+ void sSetDictionary (int);
+ void sChangeEncoding (int);
+ void sChangeClient (int);
+
+protected:
+
+signals:
+ void configChanged ();
+
+protected:
+
+%If ( - KDE_3_2_0 )
+ bool readGlobalSettings ();
+%End
+
+
+}; // class KSpellConfig
+
+
+%ModuleCode
+#include <ksconfig.h>
+%End
+
+%If ( KDE_3_1_4 - )
+
+enum Encoding
+{
+ KS_E_ASCII,
+ KS_E_LATIN1,
+ KS_E_LATIN2,
+ KS_E_LATIN3,
+ KS_E_LATIN4,
+ KS_E_LATIN5,
+ KS_E_LATIN7,
+ KS_E_LATIN8,
+ KS_E_LATIN9,
+ KS_E_LATIN13,
+ KS_E_LATIN15,
+ KS_E_UTF8,
+ KS_E_KOI8R,
+ KS_E_KOI8U,
+ KS_E_CP1251,
+ KS_E_CP1255
+};
+
+
+%If ( KDE_3_5_0 - )
+
+enum KSpellClients
+{
+ KS_CLIENT_ISPELL,
+ KS_CLIENT_ASPELL,
+ KS_CLIENT_HSPELL,
+ KS_CLIENT_ZEMBEREK
+};
+
+%End
+
+%End
+
+
+%If ( KDE_3_1_2 - KDE_3_5_0 )
+
+enum KSpellClients
+{
+ KS_CLIENT_ISPELL,
+ KS_CLIENT_ASPELL,
+ KS_CLIENT_HSPELL
+};
+
+%End
+
+
+%If ( KDE_3_0_3 - KDE_3_1_4 )
+
+enum Encoding
+{
+ KS_E_ASCII,
+ KS_E_LATIN1,
+ KS_E_LATIN2,
+ KS_E_LATIN3,
+ KS_E_LATIN4,
+ KS_E_LATIN5,
+ KS_E_LATIN7,
+ KS_E_LATIN8,
+ KS_E_LATIN9,
+ KS_E_LATIN13,
+ KS_E_LATIN15,
+ KS_E_UTF8,
+ KS_E_KOI8R,
+ KS_E_KOI8U,
+ KS_E_CP1251
+};
+
+%End
+
+
+%If ( - KDE_3_1_2 )
+
+enum KSpellClients
+{
+ KS_CLIENT_ISPELL,
+ KS_CLIENT_ASPELL
+};
+
+
+%If ( - KDE_3_0_3 )
+
+enum Encoding
+{
+ KS_E_ASCII,
+ KS_E_LATIN1,
+ KS_E_LATIN2,
+ KS_E_LATIN3,
+ KS_E_LATIN4,
+ KS_E_LATIN5,
+ KS_E_LATIN7,
+ KS_E_LATIN8,
+ KS_E_LATIN9,
+ KS_E_LATIN15,
+ KS_E_UTF8,
+ KS_E_KOI8R,
+ KS_E_KOI8U,
+ KS_E_CP1251,
+ KS_E_LATIN13
+};
+
+%End
+%End
diff --git a/sip/tdespell/ksyntaxhighlighter.sip b/sip/tdespell/ksyntaxhighlighter.sip
new file mode 100644
index 0000000..a1329b0
--- /dev/null
+++ b/sip/tdespell/ksyntaxhighlighter.sip
@@ -0,0 +1,114 @@
+//
+// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
+// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
+// may also apply
+
+
+// Generated by preSip
+// module tdespell version KDE 3.5.3
+
+
+// This software is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License as
+// published by the Free Software Foundation; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This software is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public
+// License along with this library; see the file COPYING.
+// If not, write to the Free Software Foundation, Inc.,
+// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+
+%If ( KDE_3_2_0 - )
+
+class KSyntaxHighlighter : TQSyntaxHighlighter
+{
+%TypeHeaderCode
+#include <ksyntaxhighlighter.h>
+%End
+
+
+public:
+
+ enum SyntaxMode
+ {
+ PlainTextMode,
+ RichTextMode
+ };
+
+ KSyntaxHighlighter (TQTextEdit*, bool = 0, const TQColor& = TQt ::black , const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), KSyntaxHighlighter::SyntaxMode = PlainTextMode );
+ int highlightParagraph (const TQString&, int);
+
+}; // class KSyntaxHighlighter
+
+%End
+
+
+%If ( KDE_3_2_0 - )
+
+class KSpellingHighlighter : KSyntaxHighlighter
+{
+%TypeHeaderCode
+#include <ksyntaxhighlighter.h>
+%End
+
+
+public:
+ KSpellingHighlighter (TQTextEdit*, const TQColor& = TQt ::red , bool = 0, const TQColor& = TQt ::black , const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), const TQColor& = TQColor (0x00 ,0x80 ,0x00 ));
+ virtual int highlightParagraph (const TQString&, int);
+ virtual bool isMisspelled (const TQString&) = 0;
+ bool intraWordEditing () const;
+ void setIntraWordEditing (bool);
+ static TQStringList personalWords ();
+
+}; // class KSpellingHighlighter
+
+%End
+
+
+%If ( KDE_3_2_0 - )
+
+class KDictSpellingHighlighter : TQObject, KSpellingHighlighter
+{
+%TypeHeaderCode
+#include <ksyntaxhighlighter.h>
+%End
+
+
+public:
+ KDictSpellingHighlighter (TQTextEdit*, bool = 1, bool = 1, const TQColor& = TQt ::red , bool = 0, const TQColor& = TQt ::black , const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), const TQColor& = TQColor (0x00 ,0x70 ,0x00 ), const TQColor& = TQColor (0x00 ,0x60 ,0x00 ), KSpellConfig* = 0);
+ virtual bool isMisspelled (const TQString&);
+ static void dictionaryChanged ();
+ void restartBackgroundSpellCheck ();
+ void setActive (bool);
+ bool isActive () const;
+ void setAutomatic (bool);
+ bool automatic () const;
+
+signals:
+ void activeChanged (const TQString&);
+ void newSuggestions (const TQString&, const TQStringList&, uint);
+
+protected:
+ TQString spellKey ();
+ bool eventFilter (TQObject*, TQEvent*);
+
+protected slots:
+ void slotMisspelling (const TQString&, const TQStringList&, uint);
+ void slotCorrected (const TQString&, const TQString&, uint);
+ void slotRehighlight ();
+ void slotDictionaryChanged ();
+ void slotSpellReady (KSpell*);
+ void slotAutoDetection ();
+ void slotLocalSpellConfigChanged ();
+ void slotKSpellNotResponding ();
+
+}; // class KDictSpellingHighlighter
+
+%End
+
diff --git a/sip/tdespell/tdespell-kde320.diff b/sip/tdespell/tdespell-kde320.diff
new file mode 100644
index 0000000..303f31f
--- /dev/null
+++ b/sip/tdespell/tdespell-kde320.diff
@@ -0,0 +1 @@
++ %Include ksyntaxhighlighter.sip
diff --git a/sip/tdespell/tdespell-kde321.diff b/sip/tdespell/tdespell-kde321.diff
new file mode 100644
index 0000000..303f31f
--- /dev/null
+++ b/sip/tdespell/tdespell-kde321.diff
@@ -0,0 +1 @@
++ %Include ksyntaxhighlighter.sip
diff --git a/sip/tdespell/tdespell-kde322.diff b/sip/tdespell/tdespell-kde322.diff
new file mode 100644
index 0000000..303f31f
--- /dev/null
+++ b/sip/tdespell/tdespell-kde322.diff
@@ -0,0 +1 @@
++ %Include ksyntaxhighlighter.sip
diff --git a/sip/tdespell/tdespell-kde323.diff b/sip/tdespell/tdespell-kde323.diff
new file mode 100644
index 0000000..5fa0372
--- /dev/null
+++ b/sip/tdespell/tdespell-kde323.diff
@@ -0,0 +1 @@
++ %Include ksyntaxhighlighter.sip
diff --git a/sip/tdespell/tdespell-kde330.diff b/sip/tdespell/tdespell-kde330.diff
new file mode 100644
index 0000000..5fa0372
--- /dev/null
+++ b/sip/tdespell/tdespell-kde330.diff
@@ -0,0 +1 @@
++ %Include ksyntaxhighlighter.sip
diff --git a/sip/tdespell/tdespell-kde331.diff b/sip/tdespell/tdespell-kde331.diff
new file mode 100644
index 0000000..5fa0372
--- /dev/null
+++ b/sip/tdespell/tdespell-kde331.diff
@@ -0,0 +1 @@
++ %Include ksyntaxhighlighter.sip
diff --git a/sip/tdespell/tdespell-kde332.diff b/sip/tdespell/tdespell-kde332.diff
new file mode 100644
index 0000000..5fa0372
--- /dev/null
+++ b/sip/tdespell/tdespell-kde332.diff
@@ -0,0 +1 @@
++ %Include ksyntaxhighlighter.sip
diff --git a/sip/tdespell/tdespell-kde340.diff b/sip/tdespell/tdespell-kde340.diff
new file mode 100644
index 0000000..5fa0372
--- /dev/null
+++ b/sip/tdespell/tdespell-kde340.diff
@@ -0,0 +1 @@
++ %Include ksyntaxhighlighter.sip
diff --git a/sip/tdespell/tdespell-kde341.diff b/sip/tdespell/tdespell-kde341.diff
new file mode 100644
index 0000000..5fa0372
--- /dev/null
+++ b/sip/tdespell/tdespell-kde341.diff
@@ -0,0 +1 @@
++ %Include ksyntaxhighlighter.sip
diff --git a/sip/tdespell/tdespell-kde342.diff b/sip/tdespell/tdespell-kde342.diff
new file mode 100644
index 0000000..5fa0372
--- /dev/null
+++ b/sip/tdespell/tdespell-kde342.diff
@@ -0,0 +1 @@
++ %Include ksyntaxhighlighter.sip
diff --git a/sip/tdespell/tdespell-kde343.diff b/sip/tdespell/tdespell-kde343.diff
new file mode 100644
index 0000000..5fa0372
--- /dev/null
+++ b/sip/tdespell/tdespell-kde343.diff
@@ -0,0 +1 @@
++ %Include ksyntaxhighlighter.sip
diff --git a/sip/tdespell/tdespell-kde350.diff b/sip/tdespell/tdespell-kde350.diff
new file mode 100644
index 0000000..5fa0372
--- /dev/null
+++ b/sip/tdespell/tdespell-kde350.diff
@@ -0,0 +1 @@
++ %Include ksyntaxhighlighter.sip
diff --git a/sip/tdespell/tdespell-kde351.diff b/sip/tdespell/tdespell-kde351.diff
new file mode 100644
index 0000000..a39d0ce
--- /dev/null
+++ b/sip/tdespell/tdespell-kde351.diff
@@ -0,0 +1,3 @@
+- %Include ksconfig.sip
+- %Include tdespell.sip
+- %Include tdespelldlg.sip
diff --git a/sip/tdespell/tdespell-kde352.diff b/sip/tdespell/tdespell-kde352.diff
new file mode 100644
index 0000000..5fa0372
--- /dev/null
+++ b/sip/tdespell/tdespell-kde352.diff
@@ -0,0 +1 @@
++ %Include ksyntaxhighlighter.sip
diff --git a/sip/tdespell/tdespell-kde353.diff b/sip/tdespell/tdespell-kde353.diff
new file mode 100644
index 0000000..5fa0372
--- /dev/null
+++ b/sip/tdespell/tdespell-kde353.diff
@@ -0,0 +1 @@
++ %Include ksyntaxhighlighter.sip
diff --git a/sip/tdespell/tdespell.sip b/sip/tdespell/tdespell.sip
new file mode 100644
index 0000000..5efdded
--- /dev/null
+++ b/sip/tdespell/tdespell.sip
@@ -0,0 +1,190 @@
+//
+// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
+// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
+// may also apply
+
+
+// Generated by preSip
+// module tdespell version KDE 3.5.3
+
+
+// This software is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License as
+// published by the Free Software Foundation; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This software is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public
+// License along with this library; see the file COPYING.
+// If not, write to the Free Software Foundation, Inc.,
+// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+
+class KSpell : TQObject
+{
+%TypeHeaderCode
+#include <tdespell.h>
+%End
+
+
+public:
+
+%If ( KDE_3_2_0 - )
+
+ enum spellStatus
+ {
+ Starting,
+ Running,
+ Cleaning,
+ Finished,
+ Error,
+ Crashed,
+ FinishedNoMisspellingsEncountered
+ };
+
+
+ enum SpellerType
+ {
+ Text,
+ HTML,
+ TeX,
+ Nroff
+ };
+
+%End
+
+ KSpell (TQWidget* /TransferThis/, const TQString&, TQObject*, const char*, KSpellConfig* = 0, bool = 1, bool = 0);
+
+%If ( KDE_3_2_0 - )
+ 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 TQString&, bool = 1);
+ int lastPosition ();
+ virtual bool checkList (TQStringList*, bool = 1);
+ virtual bool checkWord (const TQString&, bool = 0);
+
+%If ( KDE_3_2_0 - )
+ bool checkWord (const TQString&, bool, bool);
+%End
+
+ void hide ();
+ TQStringList suggestions () const;
+ int dlgResult ();
+ void moveDlg (int, int);
+ int heightDlg ();
+ int widthDlg ();
+ TQString intermediateBuffer () const;
+ virtual bool ignore (const TQString&);
+ virtual bool addPersonal (const TQString&);
+ KSpellConfig ksConfig () const;
+ void setProgressResolution (uint);
+ static int modalCheck (TQString&);
+ static int modalCheck (TQString&, KSpellConfig*);
+ void setIgnoreUpperWords (bool);
+ void setIgnoreTitleCase (bool);
+
+signals:
+ 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 TQString&, const TQString&);
+%End
+
+ void ready (KSpell*);
+ void progress (uint);
+ void done (const TQString&);
+ void done (bool);
+ void death ();
+
+protected slots:
+ void KSpell2 (KProcIO*);
+ void checkWord2 (KProcIO*);
+ void checkWord3 ();
+ void check2 (KProcIO*);
+ void checkList2 ();
+ void checkList3a (KProcIO*);
+ void checkListReplaceCurrent ();
+ void checkList4 ();
+ void dialog2 (int);
+ void check3 ();
+
+%If ( KDE_3_2_0 - )
+ void suggestWord (KProcIO*);
+%End
+
+ void slotStopCancel (int);
+ void ispellExit (TDEProcess*);
+ void emitDeath ();
+ void ispellErrors (TDEProcess*, char*, int);
+
+%If ( KDE_3_2_0 - )
+ void checkNext ();
+%End
+
+
+signals:
+ void dialog3 ();
+
+protected:
+ 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 TQString&, bool = 1);
+ bool cleanFputsWord (const TQString&, bool = 1);
+ void startIspell ();
+ bool writePersonalDictionary ();
+
+%If ( KDE_3_2_0 - )
+ void initialize (TQWidget*, const TQString&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KSpellConfig*, bool, bool, KSpell::SpellerType);
+%End
+
+
+public:
+
+%If ( - KDE_3_2_0 )
+
+ enum spellStatus
+ {
+ Starting,
+ Running,
+ Cleaning,
+ Finished,
+ Error,
+ Crashed
+ };
+
+
+//force
+%ConvertToSubClassCode
+ // The table of Python class objects indexed by their names. The table
+ // must be sorted by name.
+
+ static sipStringTypeClassMap map[] = {
+ {sipName_KSpell, &sipClass_KSpell},
+ {sipName_KSpellConfig, &sipClass_KSpellConfig},
+ {sipName_KSpellDlg, &sipClass_KSpellDlg},
+ };
+
+ sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0]));
+%End
+//end
+%End
+
+
+}; // class KSpell
+
diff --git a/sip/tdespell/tdespelldlg.sip b/sip/tdespell/tdespelldlg.sip
new file mode 100644
index 0000000..e4d5991
--- /dev/null
+++ b/sip/tdespell/tdespelldlg.sip
@@ -0,0 +1,127 @@
+//
+// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
+// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
+// may also apply
+
+
+// Generated by preSip
+// module tdespell version KDE 3.5.3
+
+
+// This software is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License as
+// published by the Free Software Foundation; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This software is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public
+// License along with this library; see the file COPYING.
+// If not, write to the Free Software Foundation, Inc.,
+// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+
+class KSpellDlg : KDialogBase
+{
+%TypeHeaderCode
+#include <tdespelldlg.h>
+%End
+
+
+public:
+ KSpellDlg (TQWidget* /TransferThis/, const char*, bool = 0, bool = 0);
+ TQString replacement ();
+ void init (const TQString&, TQStringList*);
+
+%If ( KDE_3_2_0 - )
+ void init (const TQString&, TQStringList*, const TQString&);
+%End
+
+ void standby ();
+
+public slots:
+ void slotProgress (uint);
+
+protected:
+ virtual void closeEvent (TQCloseEvent*);
+ void done (int);
+
+signals:
+ void command (int);
+ void ready (bool);
+
+protected slots:
+ void ignore ();
+ void add ();
+ void ignoreAll ();
+ void cancel ();
+ void replace ();
+ void replaceAll ();
+
+%If ( KDE_3_2_0 - )
+ void suggest ();
+%End
+
+ void stop ();
+
+%If ( KDE_3_2_0 - )
+ void slotConfigChanged ();
+%End
+
+ void textChanged (const TQString&);
+
+%If ( KDE_3_2_0 - )
+ void slotSelectionChanged (TQListViewItem*);
+%End
+
+
+protected slots:
+
+%If ( - KDE_3_2_0 )
+ void selected (int);
+ void highlighted (int);
+%End
+
+
+}; // class KSpellDlg
+
+
+%ModuleCode
+#include <tdespelldlg.h>
+%End
+
+%If ( KDE_3_2_0 - )
+
+enum KS_RESULT
+{
+ KS_CANCEL,
+ KS_REPLACE,
+ KS_REPLACEALL,
+ KS_IGNORE,
+ KS_IGNOREALL,
+ KS_ADD,
+ KS_STOP,
+ KS_SUGGEST,
+ KS_CONFIG
+};
+
+%End
+
+
+%If ( - KDE_3_2_0 )
+
+enum KS_RESULT
+{
+ KS_CANCEL,
+ KS_REPLACE,
+ KS_REPLACEALL,
+ KS_IGNORE,
+ KS_IGNOREALL,
+ KS_ADD,
+ KS_STOP
+};
+
+%End
diff --git a/sip/tdespell/tdespellmod.sip.in b/sip/tdespell/tdespellmod.sip.in
new file mode 100644
index 0000000..cc6d5c4
--- /dev/null
+++ b/sip/tdespell/tdespellmod.sip.in
@@ -0,0 +1,42 @@
+//
+// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
+// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
+// may also apply
+
+
+// Generated by preSip
+// module tdespell version KDE_3_5_2
+
+%Copying
+
+ This software is free software; you can redistribute it and/or
+ modify it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 2 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public
+ License along with this library; see the file COPYING.
+ If not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+%End
+
+%Module tdespell
+
+%Import qt/qtmod.sip
+%Import qtxml/qtxmlmod.sip
+%Import dcopmod.sip
+%Import tdecoremod.sip
+%Import tdefxmod.sip
+%Import tdeuimod.sip
+%Import kfilemod.sip
+
+%Include ksconfig.sip
+%Include tdespell.sip
+%Include tdespelldlg.sip
+@mark@