summaryrefslogtreecommitdiffstats
path: root/python/pykde/sip/kspell
diff options
context:
space:
mode:
Diffstat (limited to 'python/pykde/sip/kspell')
-rw-r--r--python/pykde/sip/kspell/ksconfig.sip210
-rw-r--r--python/pykde/sip/kspell/kspell-kde320.diff1
-rw-r--r--python/pykde/sip/kspell/kspell-kde321.diff1
-rw-r--r--python/pykde/sip/kspell/kspell-kde322.diff1
-rw-r--r--python/pykde/sip/kspell/kspell-kde323.diff1
-rw-r--r--python/pykde/sip/kspell/kspell-kde330.diff1
-rw-r--r--python/pykde/sip/kspell/kspell-kde331.diff1
-rw-r--r--python/pykde/sip/kspell/kspell-kde332.diff1
-rw-r--r--python/pykde/sip/kspell/kspell-kde340.diff1
-rw-r--r--python/pykde/sip/kspell/kspell-kde341.diff1
-rw-r--r--python/pykde/sip/kspell/kspell-kde342.diff1
-rw-r--r--python/pykde/sip/kspell/kspell-kde343.diff1
-rw-r--r--python/pykde/sip/kspell/kspell-kde350.diff1
-rw-r--r--python/pykde/sip/kspell/kspell-kde351.diff3
-rw-r--r--python/pykde/sip/kspell/kspell-kde352.diff1
-rw-r--r--python/pykde/sip/kspell/kspell-kde353.diff1
-rw-r--r--python/pykde/sip/kspell/kspell.sip190
-rw-r--r--python/pykde/sip/kspell/kspelldlg.sip123
-rw-r--r--python/pykde/sip/kspell/kspellmod.sip.in42
-rw-r--r--python/pykde/sip/kspell/ksyntaxhighlighter.sip114
20 files changed, 0 insertions, 696 deletions
diff --git a/python/pykde/sip/kspell/ksconfig.sip b/python/pykde/sip/kspell/ksconfig.sip
deleted file mode 100644
index b660ea74..00000000
--- a/python/pykde/sip/kspell/ksconfig.sip
+++ /dev/null
@@ -1,210 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kspell 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 : QWidget
-{
-%TypeHeaderCode
-#include <ksconfig.h>
-%End
-
-
-public:
- KSpellConfig (QWidget* /TransferThis/ = 0, const char* = 0, KSpellConfig* = 0, bool = 1);
- KSpellConfig (const KSpellConfig&);
-
-%If ( KDE_3_2_0 - )
- void fillDicts (QComboBox*, QStringList* = 0);
-%End
-
- void setIgnoreList (QStringList);
-
-%If ( KDE_3_1_0 - )
- void setReplaceAllList (QStringList);
-%End
-
- void setNoRootAffix (bool);
- void setRunTogether (bool);
- void setDictionary (const QString);
- void setDictFromList (bool);
- void setEncoding (int);
- void setClient (int);
- bool noRootAffix () const;
- bool runTogether () const;
- const QString dictionary () const;
- bool dictFromList () const;
- int encoding () const;
- QStringList ignoreList () const;
-
-%If ( KDE_3_1_0 - )
- QStringList replaceAllList () const;
-%End
-
- int client () const;
- bool writeGlobalSettings ();
-
-%If ( KDE_3_2_0 - )
- bool readGlobalSettings ();
-%End
-
-
-protected:
- void fillInDialog ();
- bool interpret (QString&, QString&, QString&);
-
-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
-
-
-%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/python/pykde/sip/kspell/kspell-kde320.diff b/python/pykde/sip/kspell/kspell-kde320.diff
deleted file mode 100644
index 303f31f5..00000000
--- a/python/pykde/sip/kspell/kspell-kde320.diff
+++ /dev/null
@@ -1 +0,0 @@
-+ %Include ksyntaxhighlighter.sip
diff --git a/python/pykde/sip/kspell/kspell-kde321.diff b/python/pykde/sip/kspell/kspell-kde321.diff
deleted file mode 100644
index 303f31f5..00000000
--- a/python/pykde/sip/kspell/kspell-kde321.diff
+++ /dev/null
@@ -1 +0,0 @@
-+ %Include ksyntaxhighlighter.sip
diff --git a/python/pykde/sip/kspell/kspell-kde322.diff b/python/pykde/sip/kspell/kspell-kde322.diff
deleted file mode 100644
index 303f31f5..00000000
--- a/python/pykde/sip/kspell/kspell-kde322.diff
+++ /dev/null
@@ -1 +0,0 @@
-+ %Include ksyntaxhighlighter.sip
diff --git a/python/pykde/sip/kspell/kspell-kde323.diff b/python/pykde/sip/kspell/kspell-kde323.diff
deleted file mode 100644
index 5fa0372a..00000000
--- a/python/pykde/sip/kspell/kspell-kde323.diff
+++ /dev/null
@@ -1 +0,0 @@
-+ %Include ksyntaxhighlighter.sip
diff --git a/python/pykde/sip/kspell/kspell-kde330.diff b/python/pykde/sip/kspell/kspell-kde330.diff
deleted file mode 100644
index 5fa0372a..00000000
--- a/python/pykde/sip/kspell/kspell-kde330.diff
+++ /dev/null
@@ -1 +0,0 @@
-+ %Include ksyntaxhighlighter.sip
diff --git a/python/pykde/sip/kspell/kspell-kde331.diff b/python/pykde/sip/kspell/kspell-kde331.diff
deleted file mode 100644
index 5fa0372a..00000000
--- a/python/pykde/sip/kspell/kspell-kde331.diff
+++ /dev/null
@@ -1 +0,0 @@
-+ %Include ksyntaxhighlighter.sip
diff --git a/python/pykde/sip/kspell/kspell-kde332.diff b/python/pykde/sip/kspell/kspell-kde332.diff
deleted file mode 100644
index 5fa0372a..00000000
--- a/python/pykde/sip/kspell/kspell-kde332.diff
+++ /dev/null
@@ -1 +0,0 @@
-+ %Include ksyntaxhighlighter.sip
diff --git a/python/pykde/sip/kspell/kspell-kde340.diff b/python/pykde/sip/kspell/kspell-kde340.diff
deleted file mode 100644
index 5fa0372a..00000000
--- a/python/pykde/sip/kspell/kspell-kde340.diff
+++ /dev/null
@@ -1 +0,0 @@
-+ %Include ksyntaxhighlighter.sip
diff --git a/python/pykde/sip/kspell/kspell-kde341.diff b/python/pykde/sip/kspell/kspell-kde341.diff
deleted file mode 100644
index 5fa0372a..00000000
--- a/python/pykde/sip/kspell/kspell-kde341.diff
+++ /dev/null
@@ -1 +0,0 @@
-+ %Include ksyntaxhighlighter.sip
diff --git a/python/pykde/sip/kspell/kspell-kde342.diff b/python/pykde/sip/kspell/kspell-kde342.diff
deleted file mode 100644
index 5fa0372a..00000000
--- a/python/pykde/sip/kspell/kspell-kde342.diff
+++ /dev/null
@@ -1 +0,0 @@
-+ %Include ksyntaxhighlighter.sip
diff --git a/python/pykde/sip/kspell/kspell-kde343.diff b/python/pykde/sip/kspell/kspell-kde343.diff
deleted file mode 100644
index 5fa0372a..00000000
--- a/python/pykde/sip/kspell/kspell-kde343.diff
+++ /dev/null
@@ -1 +0,0 @@
-+ %Include ksyntaxhighlighter.sip
diff --git a/python/pykde/sip/kspell/kspell-kde350.diff b/python/pykde/sip/kspell/kspell-kde350.diff
deleted file mode 100644
index 5fa0372a..00000000
--- a/python/pykde/sip/kspell/kspell-kde350.diff
+++ /dev/null
@@ -1 +0,0 @@
-+ %Include ksyntaxhighlighter.sip
diff --git a/python/pykde/sip/kspell/kspell-kde351.diff b/python/pykde/sip/kspell/kspell-kde351.diff
deleted file mode 100644
index 1aa2b6c5..00000000
--- a/python/pykde/sip/kspell/kspell-kde351.diff
+++ /dev/null
@@ -1,3 +0,0 @@
-- %Include ksconfig.sip
-- %Include kspell.sip
-- %Include kspelldlg.sip
diff --git a/python/pykde/sip/kspell/kspell-kde352.diff b/python/pykde/sip/kspell/kspell-kde352.diff
deleted file mode 100644
index 5fa0372a..00000000
--- a/python/pykde/sip/kspell/kspell-kde352.diff
+++ /dev/null
@@ -1 +0,0 @@
-+ %Include ksyntaxhighlighter.sip
diff --git a/python/pykde/sip/kspell/kspell-kde353.diff b/python/pykde/sip/kspell/kspell-kde353.diff
deleted file mode 100644
index 5fa0372a..00000000
--- a/python/pykde/sip/kspell/kspell-kde353.diff
+++ /dev/null
@@ -1 +0,0 @@
-+ %Include ksyntaxhighlighter.sip
diff --git a/python/pykde/sip/kspell/kspell.sip b/python/pykde/sip/kspell/kspell.sip
deleted file mode 100644
index 8ecf4eab..00000000
--- a/python/pykde/sip/kspell/kspell.sip
+++ /dev/null
@@ -1,190 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kspell 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 : QObject
-{
-%TypeHeaderCode
-#include <kspell.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 (QWidget* /TransferThis/, const QString&, QObject*, 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);
-%End
-
- spellStatus status ();
- virtual void cleanUp ();
- void setAutoDelete (bool);
- virtual bool check (const QString&, bool = 1);
- int lastPosition ();
- virtual bool checkList (QStringList*, bool = 1);
- virtual bool checkWord (const QString&, bool = 0);
-
-%If ( KDE_3_2_0 - )
- bool checkWord (const QString&, bool, bool);
-%End
-
- void hide ();
- QStringList 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&);
- KSpellConfig ksConfig () const;
- void setProgressResolution (uint);
- static int modalCheck (QString&);
- static int modalCheck (QString&, 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&);
-
-%If ( KDE_3_1_0 - )
- void replaceall (const QString&, const QString&);
-%End
-
- void ready (KSpell*);
- void progress (uint);
- void done (const QString&);
- 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 (KProcess*);
- void emitDeath ();
- void ispellErrors (KProcess*, char*, int);
-
-%If ( KDE_3_2_0 - )
- void checkNext ();
-%End
-
-
-signals:
- void dialog3 ();
-
-protected:
- int parseOneResponse (const QString&, QString&, QStringList&);
- QString funnyWord (const QString&);
- void dialog (const QString&, QStringList&, const char*);
- QString replacement ();
- void setUpDialog (bool = 1);
- void emitProgress ();
- bool cleanFputs (const QString&, bool = 1);
- bool cleanFputsWord (const QString&, 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);
-%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/python/pykde/sip/kspell/kspelldlg.sip b/python/pykde/sip/kspell/kspelldlg.sip
deleted file mode 100644
index 6cc3530a..00000000
--- a/python/pykde/sip/kspell/kspelldlg.sip
+++ /dev/null
@@ -1,123 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kspell 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 <kspelldlg.h>
-%End
-
-
-public:
- KSpellDlg (QWidget* /TransferThis/, const char*, bool = 0, bool = 0);
- QString replacement ();
- void init (const QString&, QStringList*);
-
-%If ( KDE_3_2_0 - )
- void init (const QString&, QStringList*, const QString&);
-%End
-
- void standby ();
-
-public slots:
- void slotProgress (uint);
-
-protected:
- virtual void closeEvent (QCloseEvent*);
- 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 QString&);
-
-%If ( KDE_3_2_0 - )
- void slotSelectionChanged (QListViewItem*);
-%End
-
-
-protected slots:
-
-%If ( - KDE_3_2_0 )
- void selected (int);
- void highlighted (int);
-%End
-
-
-}; // class KSpellDlg
-
-
-%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/python/pykde/sip/kspell/kspellmod.sip.in b/python/pykde/sip/kspell/kspellmod.sip.in
deleted file mode 100644
index added3d7..00000000
--- a/python/pykde/sip/kspell/kspellmod.sip.in
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kspell 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 kspell
-
-%Import qt/qtmod.sip
-%Import qtxml/qtxmlmod.sip
-%Import dcopmod.sip
-%Import kdecoremod.sip
-%Import kdefxmod.sip
-%Import kdeuimod.sip
-%Import kfilemod.sip
-
-%Include ksconfig.sip
-%Include kspell.sip
-%Include kspelldlg.sip
-@mark@
diff --git a/python/pykde/sip/kspell/ksyntaxhighlighter.sip b/python/pykde/sip/kspell/ksyntaxhighlighter.sip
deleted file mode 100644
index 55d5b8e2..00000000
--- a/python/pykde/sip/kspell/ksyntaxhighlighter.sip
+++ /dev/null
@@ -1,114 +0,0 @@
-//
-// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kspell 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 : QSyntaxHighlighter
-{
-%TypeHeaderCode
-#include <ksyntaxhighlighter.h>
-%End
-
-
-public:
-
- enum SyntaxMode
- {
- PlainTextMode,
- RichTextMode
- };
-
- KSyntaxHighlighter (QTextEdit*, bool = 0, const QColor& = Qt ::black , const QColor& = QColor (0x00 ,0x80 ,0x00 ), const QColor& = QColor (0x00 ,0x80 ,0x00 ), const QColor& = QColor (0x00 ,0x80 ,0x00 ), KSyntaxHighlighter::SyntaxMode = PlainTextMode );
- int highlightParagraph (const QString&, int);
-
-}; // class KSyntaxHighlighter
-
-%End
-
-
-%If ( KDE_3_2_0 - )
-
-class KSpellingHighlighter : KSyntaxHighlighter
-{
-%TypeHeaderCode
-#include <ksyntaxhighlighter.h>
-%End
-
-
-public:
- KSpellingHighlighter (QTextEdit*, const QColor& = Qt ::red , bool = 0, const QColor& = Qt ::black , const QColor& = QColor (0x00 ,0x80 ,0x00 ), const QColor& = QColor (0x00 ,0x80 ,0x00 ), const QColor& = QColor (0x00 ,0x80 ,0x00 ));
- virtual int highlightParagraph (const QString&, int);
- virtual bool isMisspelled (const QString&) = 0;
- bool intraWordEditing () const;
- void setIntraWordEditing (bool);
- static QStringList personalWords ();
-
-}; // class KSpellingHighlighter
-
-%End
-
-
-%If ( KDE_3_2_0 - )
-
-class KDictSpellingHighlighter : QObject, KSpellingHighlighter
-{
-%TypeHeaderCode
-#include <ksyntaxhighlighter.h>
-%End
-
-
-public:
- KDictSpellingHighlighter (QTextEdit*, bool = 1, bool = 1, const QColor& = Qt ::red , bool = 0, const QColor& = Qt ::black , const QColor& = QColor (0x00 ,0x80 ,0x00 ), const QColor& = QColor (0x00 ,0x70 ,0x00 ), const QColor& = QColor (0x00 ,0x60 ,0x00 ), KSpellConfig* = 0);
- virtual bool isMisspelled (const QString&);
- static void dictionaryChanged ();
- void restartBackgroundSpellCheck ();
- void setActive (bool);
- bool isActive () const;
- void setAutomatic (bool);
- bool automatic () const;
-
-signals:
- void activeChanged (const QString&);
- void newSuggestions (const QString&, const QStringList&, uint);
-
-protected:
- QString spellKey ();
- bool eventFilter (QObject*, QEvent*);
-
-protected slots:
- void slotMisspelling (const QString&, const QStringList&, uint);
- void slotCorrected (const QString&, const QString&, uint);
- void slotRehighlight ();
- void slotDictionaryChanged ();
- void slotSpellReady (KSpell*);
- void slotAutoDetection ();
- void slotLocalSpellConfigChanged ();
- void slotKSpellNotResponding ();
-
-}; // class KDictSpellingHighlighter
-
-%End
-