summaryrefslogtreecommitdiffstats
path: root/python/pykde/sip/kspell2
diff options
context:
space:
mode:
Diffstat (limited to 'python/pykde/sip/kspell2')
-rw-r--r--python/pykde/sip/kspell2/backgroundchecker.sip68
-rw-r--r--python/pykde/sip/kspell2/broker.sip62
-rw-r--r--python/pykde/sip/kspell2/configdialog.sip49
-rw-r--r--python/pykde/sip/kspell2/configwidget.sip54
-rw-r--r--python/pykde/sip/kspell2/defaultdictionary.sip60
-rw-r--r--python/pykde/sip/kspell2/dialog.sip61
-rw-r--r--python/pykde/sip/kspell2/dictionary.sip57
-rw-r--r--python/pykde/sip/kspell2/filter.sip87
-rw-r--r--python/pykde/sip/kspell2/highlighter.sip54
-rw-r--r--python/pykde/sip/kspell2/kspell2mod.sip.in48
-rw-r--r--python/pykde/sip/kspell2/settings.sip63
11 files changed, 0 insertions, 663 deletions
diff --git a/python/pykde/sip/kspell2/backgroundchecker.sip b/python/pykde/sip/kspell2/backgroundchecker.sip
deleted file mode 100644
index 8efd997c..00000000
--- a/python/pykde/sip/kspell2/backgroundchecker.sip
+++ /dev/null
@@ -1,68 +0,0 @@
-//
-// Copyright 2004 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kspell2 version KDE_3_3_0
-
-
-// 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_3_0 - )
-namespace KSpell2
-{
-
-class BackgroundChecker : QObject
-{
-%TypeHeaderCode
-#include <backgroundchecker.h>
-%End
-
-public:
- BackgroundChecker (const Broker::Ptr&, QObject* = 0, const char* = 0);
- void checkText (const QString&);
- KSpell2::Filter* filter () const;
- KSpell2::Broker* broker () const;
- void changeLanguage (const QString&);
- bool checkWord (const QString&);
- QStringList suggest (const QString&) const;
-
-public slots:
- virtual void setFilter (KSpell2::Filter*);
- virtual void start ();
- virtual void stop ();
- virtual void continueChecking ();
-
-signals:
- void misspelling (const QString&, int);
- void done ();
-
-protected:
- virtual QString getMoreText ();
- virtual void finishedCurrentFeed ();
-
-protected slots:
- void slotEngineDone ();
-
-}; // class BackgroundChecker
-
-}; // namespace KSpell2
-
-%End
-
diff --git a/python/pykde/sip/kspell2/broker.sip b/python/pykde/sip/kspell2/broker.sip
deleted file mode 100644
index 4f880e14..00000000
--- a/python/pykde/sip/kspell2/broker.sip
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-// Copyright 2004 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kspell2 version KDE_3_3_0
-
-
-// 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_3_0 - )
-namespace KSpell2
-{
-
-class Broker : QObject, KShared
-{
-%TypeHeaderCode
-#include <broker.h>
-%End
-
-public:
- typedef KSharedPtr<Broker> Ptr;
- static KSpell2::Broker* openBroker (KSharedConfig* = 0);
-
-public:
- KSpell2::DefaultDictionary* defaultDictionary () const;
- KSpell2::Dictionary* dictionary (const QString& = QString ::null , const QString& = QString ::null ) const;
- QStringList clients () const;
- QStringList languages () const;
- KSpell2::Settings* settings () const;
-
-signals:
- void configurationChanged ();
-
-protected:
- void changed ();
-
-private:
- Broker (KSharedConfig*);
-
-}; // class Broker
-
-}; // namespace KSpell2
-
-%End
-
diff --git a/python/pykde/sip/kspell2/configdialog.sip b/python/pykde/sip/kspell2/configdialog.sip
deleted file mode 100644
index 19ed07e5..00000000
--- a/python/pykde/sip/kspell2/configdialog.sip
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-// Copyright 2004 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kspell2 version KDE_3_3_0
-
-
-// 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_3_0 - )
-namespace KSpell2
-{
-
-class ConfigDialog : KDialogBase
-{
-%TypeHeaderCode
-#include <configdialog.h>
-%End
-
-public:
- ConfigDialog (KSpell2::Broker*, QWidget*);
-
-protected slots:
- virtual void slotOk ();
- virtual void slotApply ();
-
-}; // class ConfigDialog
-
-}; // namespace KSpell2
-
-%End
-
diff --git a/python/pykde/sip/kspell2/configwidget.sip b/python/pykde/sip/kspell2/configwidget.sip
deleted file mode 100644
index 402f63bf..00000000
--- a/python/pykde/sip/kspell2/configwidget.sip
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-// Copyright 2004 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kspell2 version KDE_3_3_0
-
-
-// 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_3_0 - )
-namespace KSpell2
-{
-
-class ConfigWidget : QWidget
-{
-%TypeHeaderCode
-#include <configwidget.h>
-%End
-
-public:
- ConfigWidget (KSpell2::Broker*, QWidget*, const char* = 0);
- bool backgroundCheckingButtonShown () const;
-
-public slots:
- void save ();
- void setBackgroundCheckingButtonShown (bool);
- void slotDefault ();
-
-protected slots:
- void slotChanged ();
-
-}; // class ConfigWidget
-
-}; // namespace KSpell2
-
-%End
-
diff --git a/python/pykde/sip/kspell2/defaultdictionary.sip b/python/pykde/sip/kspell2/defaultdictionary.sip
deleted file mode 100644
index 4d70d8b8..00000000
--- a/python/pykde/sip/kspell2/defaultdictionary.sip
+++ /dev/null
@@ -1,60 +0,0 @@
-//
-// Copyright 2004 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kspell2 version KDE_3_3_0
-
-
-// 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_3_0 - )
-namespace KSpell2
-{
-
-class DefaultDictionary : QObject, KSpell2::Dictionary
-{
-%TypeHeaderCode
-#include <defaultdictionary.h>
-%End
-
-public:
- DefaultDictionary (const QString&, KSpell2::Broker*);
-
-public:
- bool isValid () const;
- virtual bool check (const QString&);
- virtual QStringList suggest (const QString&);
- virtual bool checkAndSuggest (const QString&, QStringList&);
- virtual bool storeReplacement (const QString&, const QString&);
- virtual bool addToPersonal (const QString&);
- virtual bool addToSession (const QString&);
-
-signals:
- void changed ();
-
-protected slots:
- void defaultConfigurationChanged ();
-
-}; // class DefaultDictionary
-
-}; // namespace KSpell2
-
-%End
-
diff --git a/python/pykde/sip/kspell2/dialog.sip b/python/pykde/sip/kspell2/dialog.sip
deleted file mode 100644
index 4444f811..00000000
--- a/python/pykde/sip/kspell2/dialog.sip
+++ /dev/null
@@ -1,61 +0,0 @@
-//
-// Copyright 2004 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kspell2 version KDE_3_3_0
-
-
-// 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_3_0 - )
-namespace KSpell2
-{
-
-class Dialog : KDialogBase
-{
-%TypeHeaderCode
-#include <dialog.h>
-%End
-
-public:
- Dialog (KSpell2::BackgroundChecker*, QWidget*, const char* = 0);
- QString originalBuffer () const;
- QString buffer () const;
- void show ();
- void activeAutoCorrect (bool);
-
-public slots:
- void setBuffer (const QString&);
- void setFilter (KSpell2::Filter*);
-
-signals:
- void done (const QString&);
- void misspelling (const QString&, int);
- void replace (const QString&, int, const QString&);
- void stop ();
- void cancel ();
- void autoCorrect (const QString&, const QString&);
-
-}; // class Dialog
-
-}; // namespace KSpell2
-
-%End
-
diff --git a/python/pykde/sip/kspell2/dictionary.sip b/python/pykde/sip/kspell2/dictionary.sip
deleted file mode 100644
index 0f33b56f..00000000
--- a/python/pykde/sip/kspell2/dictionary.sip
+++ /dev/null
@@ -1,57 +0,0 @@
-//
-// Copyright 2004 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kspell2 version KDE_3_3_0
-
-
-// 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_3_0 - )
-namespace KSpell2
-{
-
-class Dictionary
-{
-%TypeHeaderCode
-#include <dictionary.h>
-%End
-
-public:
- virtual bool check (const QString&) = 0;
- virtual QStringList suggest (const QString&) = 0;
- virtual bool checkAndSuggest (const QString&, QStringList&) = 0;
- virtual bool storeReplacement (const QString&, const QString&) = 0;
- virtual bool addToPersonal (const QString&) = 0;
- virtual bool addToSession (const QString&) = 0;
- QString language () const;
- bool isDefault () const;
-
-protected:
- Dictionary (const QString&, bool = 0);
-
-protected:
-
-}; // class Dictionary
-
-}; // namespace KSpell2
-
-%End
-
diff --git a/python/pykde/sip/kspell2/filter.sip b/python/pykde/sip/kspell2/filter.sip
deleted file mode 100644
index 863d3556..00000000
--- a/python/pykde/sip/kspell2/filter.sip
+++ /dev/null
@@ -1,87 +0,0 @@
-//
-// Copyright 2004 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kspell2 version KDE_3_3_0
-
-
-// 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_3_0 - )
-namespace KSpell2
-{
-
-class Word
-{
-%TypeHeaderCode
-#include <filter.h>
-%End
-
-public:
- Word ();
- Word (const QString&, int, bool = 0);
- Word (const KSpell2::Word&);
- QString word;
- uint start;
- bool end;
-
-}; // class Word
-
-
-class Filter
-{
-%TypeHeaderCode
-#include <filter.h>
-%End
-
-public:
- static KSpell2::Filter* defaultFilter ();
-
-public:
- Filter ();
- static KSpell2::Word end ();
- void setSettings (KSpell2::Settings*);
- KSpell2::Settings* settings () const;
- bool atEnd () const;
- void setBuffer (const QString&);
- QString buffer () const;
- void restart ();
- virtual KSpell2::Word nextWord () const;
- virtual KSpell2::Word previousWord () const;
- virtual KSpell2::Word wordAtPosition (uint) const;
- virtual void setCurrentPosition (int);
- virtual int currentPosition () const;
- virtual void replace (const KSpell2::Word&, const QString&);
- virtual QString context () const;
-
-protected:
- bool trySkipLinks () const;
- bool ignore (const QString&) const;
- QChar skipToLetter (uint&) const;
- bool shouldBeSkipped (bool, bool, const QString&) const;
-
-protected:
-
-}; // class Filter
-
-}; // namespace KSpell2
-
-%End
-
diff --git a/python/pykde/sip/kspell2/highlighter.sip b/python/pykde/sip/kspell2/highlighter.sip
deleted file mode 100644
index 0e7ea2d0..00000000
--- a/python/pykde/sip/kspell2/highlighter.sip
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-// Copyright 2004 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kspell2 version KDE_3_3_0
-
-
-// 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_3_0 - )
-namespace KSpell2
-{
-
-class Highlighter : QSyntaxHighlighter
-{
-%TypeHeaderCode
-#include <highlighter.h>
-%End
-
-public:
- Highlighter (QTextEdit*, const QString& = QString ::null , KSpell2::Filter* = Filter ::defaultFilter ());
- virtual int highlightParagraph (const QString&, int);
- KSpell2::Filter* currentFilter () const;
- void setCurrentFilter (KSpell2::Filter*);
- QString currentLanguage () const;
- void setCurrentLanguage (const QString&);
-
-protected:
- virtual void setMisspelled (int, int);
- virtual void unsetMisspelled (int, int);
-
-}; // class Highlighter
-
-}; // namespace KSpell2
-
-%End
-
diff --git a/python/pykde/sip/kspell2/kspell2mod.sip.in b/python/pykde/sip/kspell2/kspell2mod.sip.in
deleted file mode 100644
index 4517fe73..00000000
--- a/python/pykde/sip/kspell2/kspell2mod.sip.in
+++ /dev/null
@@ -1,48 +0,0 @@
-//
-// Copyright 2004 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kspell2 version KDE_3_3_0
-
-%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 kspell2
-
-%Import qt/qtmod.sip
-%Import qtxml/qtxmlmod.sip
-%Import dcopmod.sip
-%Import kdecoremod.sip
-%Import kdefxmod.sip
-%Import kdeuimod.sip
-
-%Include backgroundchecker.sip
-%Include broker.sip
-%Include configdialog.sip
-%Include configwidget.sip
-%Include defaultdictionary.sip
-%Include dialog.sip
-%Include dictionary.sip
-%Include filter.sip
-%Include highlighter.sip
-%Include settings.sip
-@mark@
diff --git a/python/pykde/sip/kspell2/settings.sip b/python/pykde/sip/kspell2/settings.sip
deleted file mode 100644
index 6b4f0305..00000000
--- a/python/pykde/sip/kspell2/settings.sip
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// Copyright 2004 Jim Bublitz <jbublitz@nwinternet.com>
-// Earlier copyrights 1998 - 2003 Jim Bublitz and/or Phil Thompson
-// may also apply
-
-
-// Generated by preSip
-// module kspell2 version KDE_3_3_0
-
-
-// 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_3_0 - )
-namespace KSpell2
-{
-
-class Settings
-{
-%TypeHeaderCode
-#include <settings.h>
-%End
-
-public:
- void setDefaultLanguage (const QString&);
- QString defaultLanguage () const;
- void setDefaultClient (const QString&);
- QString defaultClient () const;
- void setCheckUppercase (bool);
- bool checkUppercase () const;
- void setSkipRunTogether (bool);
- bool skipRunTogether () const;
- void setBackgroundCheckerEnabled (bool);
- bool backgroundCheckerEnabled () const;
- void setCurrentIgnoreList (const QStringList&);
- void addWordToIgnore (const QString&);
- QStringList currentIgnoreList () const;
- bool ignore (const QString&);
- void save ();
- KSharedConfig* sharedConfig () const;
-
-private:
- Settings (KSpell2::Broker*, KSharedConfig*);
-
-}; // class Settings
-
-}; // namespace KSpell2
-
-%End
-