diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-26 13:14:34 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-26 13:14:34 -0600 |
commit | 57e2ced52bf3ba886bb7710212167a86e20305e6 (patch) | |
tree | e08b1e82e83f5afa861dc9eeb833dc4bd593900b /sip/kutils | |
parent | ccad7a42d96879251c4971e51aac269f61a0ccf8 (diff) | |
download | pytde-57e2ced52bf3ba886bb7710212167a86e20305e6.tar.gz pytde-57e2ced52bf3ba886bb7710212167a86e20305e6.zip |
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'sip/kutils')
-rw-r--r-- | sip/kutils/kcmultidialog.sip | 86 | ||||
-rw-r--r-- | sip/kutils/kfind.sip | 83 | ||||
-rw-r--r-- | sip/kutils/kfinddialog.sip | 86 | ||||
-rw-r--r-- | sip/kutils/kmultitabbar.sip | 167 | ||||
-rw-r--r-- | sip/kutils/kplugininfo.sip | 148 | ||||
-rw-r--r-- | sip/kutils/kpluginselector.sip | 53 | ||||
-rw-r--r-- | sip/kutils/kreplace.sip | 60 | ||||
-rw-r--r-- | sip/kutils/kreplacedialog.sip | 59 | ||||
-rw-r--r-- | sip/kutils/kutils-kde340.diff | 1 | ||||
-rw-r--r-- | sip/kutils/kutils-kde341.diff | 1 | ||||
-rw-r--r-- | sip/kutils/kutilsmod.sip.in | 50 | ||||
-rw-r--r-- | sip/kutils/tdecmoduleinfo.sip | 91 | ||||
-rw-r--r-- | sip/kutils/tdecmoduleloader.sip | 67 | ||||
-rw-r--r-- | sip/kutils/tdecmoduleproxy.sip | 104 |
14 files changed, 0 insertions, 1056 deletions
diff --git a/sip/kutils/kcmultidialog.sip b/sip/kutils/kcmultidialog.sip deleted file mode 100644 index 3a1f511..0000000 --- a/sip/kutils/kcmultidialog.sip +++ /dev/null @@ -1,86 +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 kutils 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_3_0 - ) - -class KCMultiDialog : KDialogBase -{ -%TypeHeaderCode -#include <kcmultidialog.h> -%End - - -public: - KCMultiDialog (TQWidget* = 0, const char* = 0, bool = 0); - KCMultiDialog (int, const TQString&, TQWidget* = 0, const char* = 0, bool = 0); - KCMultiDialog (int, const KGuiItem&, const KGuiItem& = KGuiItem (), int = User2 , const TQString& = i18n ("Configure" ), TQWidget* = 0, const char* = 0, bool = 0); - void addModule (const TQString&, bool = 1) /ReleaseGIL/; - void addModule (const TDECModuleInfo&, TQStringList = TQStringList (), bool = 0); - void removeAllModules (); - void show (); - -signals: - void configCommitted (); - void configCommitted (const TQCString&); - -protected slots: - virtual void slotDefault (); - virtual void slotUser1 (); - virtual void slotApply (); - virtual void slotOk (); - virtual void slotHelp (); -//force - -private: - void apply (); - -//force -%ConvertToSubClassCode -// The table of Python class objects indexed by their names. The table -// must be sorted by name. - -static sipStringTypeClassMap map[] = { -{sipName_TDECModuleProxy, &sipClass_TDECModuleProxy}, -{sipName_KCMultiDialog, &sipClass_KCMultiDialog}, -{sipName_KFind, &sipClass_KFind}, -{sipName_KFindDialog, &sipClass_KFindDialog}, -{sipName_KMultiTabBar, &sipClass_KMultiTabBar}, -{sipName_KMultiTabBarButton, &sipClass_KMultiTabBarButton}, -{sipName_KMultiTabBar, &sipClass_KMultiTabBar}, -{sipName_KPluginSelector, &sipClass_KPluginSelector}, -{sipName_KReplace, &sipClass_KReplace}, -{sipName_KReplaceDialog, &sipClass_KReplaceDialog}, -}; - -sipClass = sipMapStringToClass(sipCpp -> className(),map,sizeof (map)/sizeof (map[0])); -%End -//end -//end - -}; // class KCMultiDialog - -%End - diff --git a/sip/kutils/kfind.sip b/sip/kutils/kfind.sip deleted file mode 100644 index 57c33b4..0000000 --- a/sip/kutils/kfind.sip +++ /dev/null @@ -1,83 +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 kutils 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_3_0 - ) - -class KFind : TQObject -{ -%TypeHeaderCode -#include <kfind.h> -%End - - -public: - KFind (const TQString&, long, TQWidget*); - KFind (const TQString&, long, TQWidget*, TQWidget*); - - enum Result - { - NoMatch, - Match - }; - - bool needData () const; - void setData (const TQString&, int = -1); - void setData (int, const TQString&, int = -1); - KFind::Result find (); - long options () const; - virtual void setOptions (long); - TQString pattern () const; - void setPattern (const TQString&); - int numMatches () const; - virtual void resetCounts (); - virtual bool validateMatch (const TQString&, int, int); - virtual bool shouldRestart (bool = 0, bool = 1) const; - static int find (const TQString&, const TQString&, int, long, int*); - static int find (const TQString&, const TQRegExp&, int, long, int*); - virtual void displayFinalDialog () const; - KDialogBase* findNextDialog (bool = 0); - void closeFindNextDialog (); - int index () const; - -signals: - void highlight (const TQString&, int, int); - void highlight (int, int, int); - void findNext (); - void optionsChanged (); - void dialogClosed (); - -protected: - TQWidget* parentWidget () const; - TQWidget* dialogsParent () const; - -protected slots: - void slotFindNext (); - void slotDialogClosed (); - -}; // class KFind - -%End - diff --git a/sip/kutils/kfinddialog.sip b/sip/kutils/kfinddialog.sip deleted file mode 100644 index f3624fa..0000000 --- a/sip/kutils/kfinddialog.sip +++ /dev/null @@ -1,86 +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 kutils 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_3_0 - ) - -class KFindDialog : KDialogBase -{ -%TypeHeaderCode -#include <kfinddialog.h> -%End - - -public: - - enum Options - { - WholeWordsOnly, - FromCursor, - SelectedText, - CaseSensitive, - FindBackwards, - RegularExpression, - FindIncremental, - MinimumUserOption - }; - - KFindDialog (TQWidget* = 0, const char* = 0, long = 0, const TQStringList& = TQStringList (), bool = 0); - KFindDialog (bool, TQWidget* = 0, const char* = 0, long = 0, const TQStringList& = TQStringList (), bool = 0); - void setFindHistory (const TQStringList&); - TQStringList findHistory () const; - void setHasSelection (bool); - void setHasCursor (bool); - -%If ( KDE_3_4_0 - ) - void setSupportsBackwardsFind (bool); - void setSupportsCaseSensitiveFind (bool); - void setSupportsWholeWordsFind (bool); - void setSupportsRegularExpressionFind (bool); -%End - - void setOptions (long); - long options () const; - TQString pattern () const; - void setPattern (const TQString&); - TQWidget* findExtension (); - -protected slots: - void slotOk (); - void slotSelectedTextToggled (bool); - void showPatterns (); - void showPlaceholders (); - void textSearchChanged (const TQString&); - -protected: - virtual void showEvent (TQShowEvent*); - -private: - KFindDialog (TQWidget*, const char*, bool); - -}; // class KFindDialog - -%End - diff --git a/sip/kutils/kmultitabbar.sip b/sip/kutils/kmultitabbar.sip deleted file mode 100644 index 68f77f5..0000000 --- a/sip/kutils/kmultitabbar.sip +++ /dev/null @@ -1,167 +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 kutils 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_3_0 - ) - -class KMultiTabBar : TQWidget -{ -%TypeHeaderCode -#include <kmultitabbar.h> -%End - - -public: - - enum KMultiTabBarMode - { - Horizontal, - Vertical - }; - - - enum KMultiTabBarPosition - { - Left, - Right, - Top, - Bottom - }; - - - enum KMultiTabBarStyle - { - VSNET, - KDEV3, - KONQSBC, - KDEV3ICON, - STYLELAST - }; - - KMultiTabBar (KMultiTabBar::KMultiTabBarMode, TQWidget* = 0, const char* = 0); - int appendButton (const TQPixmap&, int = -1, TQPopupMenu* = 0, const TQString& = TQString ::null ); - void removeButton (int); - int appendTab (const TQPixmap&, int = -1, const TQString& = TQString ::null ); - void removeTab (int); - void setTab (int, bool); - bool isTabRaised (int) const; - KMultiTabBarButton* button (int) const; - KMultiTabBarTab* tab (int) const; - void setPosition (KMultiTabBar::KMultiTabBarPosition); - -%If ( KDE_3_5_0 - ) - KMultiTabBar::KMultiTabBarPosition position () const; -%End - - void setStyle (KMultiTabBar::KMultiTabBarStyle); - -%If ( KDE_3_5_0 - ) - KMultiTabBar::KMultiTabBarStyle tabStyle () const; -%End - -//ig TQPtrList<KMultiTabBarTab>* tabs (); -//ig TQPtrList<KMultiTabBarButton>* buttons (); - void showActiveTabTexts (bool = 1); - -protected: - virtual void fontChange (const TQFont&); - void updateSeparator (); - -}; // class KMultiTabBar - -%End - - -%If ( KDE_3_3_0 - ) - -class KMultiTabBarButton : TQPushButton -{ -%TypeHeaderCode -#include <kmultitabbar.h> -%End - - -public: - KMultiTabBarButton (const TQPixmap&, const TQString&, TQPopupMenu*, int, TQWidget*, KMultiTabBar::KMultiTabBarPosition, KMultiTabBar::KMultiTabBarStyle); - KMultiTabBarButton (const TQString&, TQPopupMenu*, int, TQWidget*, KMultiTabBar::KMultiTabBarPosition, KMultiTabBar::KMultiTabBarStyle); - int id () const; - -public slots: - void setPosition (KMultiTabBar::KMultiTabBarPosition); - void setStyle (KMultiTabBar::KMultiTabBarStyle); - void setText (const TQString&); - TQSize sizeHint () const; - -protected: - virtual void hideEvent (TQHideEvent*); - virtual void showEvent (TQShowEvent*); - -signals: - void clicked (int); - -protected slots: - virtual void slotClicked (); - -}; // class KMultiTabBarButton - -%End - - -%If ( KDE_3_3_0 - ) - -class KMultiTabBarTab : KMultiTabBarButton -{ -%TypeHeaderCode -#include <kmultitabbar.h> -%End - - -public: - KMultiTabBarTab (const TQPixmap&, const TQString&, int, TQWidget*, KMultiTabBar::KMultiTabBarPosition, KMultiTabBar::KMultiTabBarStyle); - void setState (bool); - void showActiveTabText (bool); - void resize (); - -protected: - void setSize (int); - int neededSize (); - void updateState (); - virtual void drawButton (TQPainter*); - virtual void drawButtonLabel (TQPainter*); - void drawButtonStyled (TQPainter*); - void drawButtonClassic (TQPainter*); - -protected slots: - virtual void slotClicked (); - void setTabsPosition (KMultiTabBar::KMultiTabBarPosition); - -public slots: - virtual void setIcon (const TQString&); - virtual void setIcon (const TQPixmap&); - -}; // class KMultiTabBarTab - -%End - diff --git a/sip/kutils/kplugininfo.sip b/sip/kutils/kplugininfo.sip deleted file mode 100644 index c2ef478..0000000 --- a/sip/kutils/kplugininfo.sip +++ /dev/null @@ -1,148 +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 kutils 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_3_0 - ) - -class KPluginInfo -{ -%TypeHeaderCode -#include <kplugininfo.h> -%End - - -public: - typedef TQValueList<KPluginInfo*> List; - KPluginInfo (const TQString&, const char* = 0); - KPluginInfo (const KService::Ptr); - static KPluginInfo::List fromServices (const KService::List&, TDEConfig* = 0, const TQString& = TQString ::null ); - static KPluginInfo::List fromFiles (const TQStringList&, TDEConfig* = 0, const TQString& = TQString ::null ); - static KPluginInfo::List fromKPartsInstanceName (const TQString&, TDEConfig* = 0, const TQString& = TQString ::null ); - bool isHidden () const; - virtual void setPluginEnabled (bool); - virtual bool isPluginEnabled () const; - bool isPluginEnabledByDefault () const; - TQVariant property (const TQString&) const; -//ig TQVariant operator [] (const TQString&) const; - const TQString& name () const; - const TQString& comment () const; - const TQString& icon () const; - const TQString& specfile () const; - const TQString& author () const; - const TQString& email () const; - const TQString& category () const; - const TQString& pluginName () const; - const TQString& version () const; - const TQString& website () const; - const TQString& license () const; - const TQStringList& dependencies () const; - KService::Ptr service () const; -//ig const TQValueList<KService::Ptr>& kcmServices () const; - void setConfig (TDEConfig*, const TQString&); - TDEConfig* config () const; - const TQString& configgroup () const; - virtual void save (TDEConfigGroup* = 0); - virtual void load (TDEConfigGroup* = 0); - virtual void defaults (); - -private: - KPluginInfo (const KPluginInfo&); - -}; // class KPluginInfo - -%End - - - -%If (KDE_3_3_0 - ) -%MappedType KPluginInfo::List -//converts a Python list of KPluginInfo -{ -%TypeHeaderCode -#include <tqvaluelist.h> -#include <kplugininfo.h> -%End - -%ConvertFromTypeCode - if (!sipCpp) - return PyList_New(0); - - // Create the list - PyObject *pylist; - if ((pylist = PyList_New(0)) == NULL) - return NULL; - - TQValueList<KPluginInfo *> *cpplist = (TQValueList<KPluginInfo *> *)sipCpp; - PyObject *inst; - - // Get it. - TQValueList<KPluginInfo *>::Iterator it; - for( it = cpplist->begin(); it != cpplist->end(); ++it ) - { - if (((inst = sipConvertFromInstance ((KPluginInfo *)(*it), sipClass_KPluginInfo, sipTransferObj)) == NULL) - || PyList_Append (pylist, inst) < 0) - { - Py_DECREF (pylist); - return NULL; - } - } - - return pylist; -%End - - -%ConvertToTypeCode - if (sipIsErr == NULL) - return PyList_Check(sipPy); - - TQValueList<KPluginInfo *> *cpplist = new TQValueList<KPluginInfo *>; - - PyObject *elem; - KPluginInfo *cpp; - int iserr = 0; - - for (int i = 0; i < PyList_Size (sipPy); i++) - { - elem = PyList_GET_ITEM (sipPy, i); - cpp = (KPluginInfo *)sipForceConvertToType(elem, sipType_KPluginInfo, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); - - if (iserr) - { - *sipIsErr = 1; - delete cpplist; - return 0; - } - - cpplist->append (cpp); - } - - *sipCppPtr = cpplist; - - return 1; -%End -}; -%End - - diff --git a/sip/kutils/kpluginselector.sip b/sip/kutils/kpluginselector.sip deleted file mode 100644 index c53f1c4..0000000 --- a/sip/kutils/kpluginselector.sip +++ /dev/null @@ -1,53 +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 kutils 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_3_0 - ) - -class KPluginSelector : TQWidget -{ -%TypeHeaderCode -#include <kpluginselector.h> -%End - - -public: - KPluginSelector (TQWidget*, const char* = 0); - void addPlugins (const TQString&, const TQString& = TQString ::null , const TQString& = TQString ::null , TDEConfig* = 0); - void addPlugins (const TDEInstance*, const TQString& = TQString ::null , const TQString& = TQString ::null , TDEConfig* = 0); -//ig void addPlugins (const TQValueList<KPluginInfo*>&, const TQString& = TQString ::null , const TQString& = TQString ::null , TDEConfig* = 0); - void setShowEmptyConfigPage (bool); - void load (); - void save (); - void defaults (); - -signals: - void changed (bool); - void configCommitted (const TQCString&); - -}; // class KPluginSelector - -%End - diff --git a/sip/kutils/kreplace.sip b/sip/kutils/kreplace.sip deleted file mode 100644 index e692923..0000000 --- a/sip/kutils/kreplace.sip +++ /dev/null @@ -1,60 +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 kutils 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_3_0 - ) - -class KReplace : KFind -{ -%TypeHeaderCode -#include <kreplace.h> -%End - - -public: - KReplace (const TQString&, const TQString&, long, TQWidget* = 0); - KReplace (const TQString&, const TQString&, long, TQWidget*, TQWidget*); - int numReplacements () const; - virtual void resetCounts (); - Result replace (); - KDialogBase* replaceNextDialog (bool = 0); - void closeReplaceNextDialog (); - static int replace (TQString&, const TQString&, const TQString&, int, long, int*); - static int replace (TQString&, const TQRegExp&, const TQString&, int, long, int*); - virtual bool shouldRestart (bool = 0, bool = 1) const; - virtual void displayFinalDialog () const; - -signals: - void replace (const TQString&, int, int, int); - -protected slots: - void slotSkip (); - void slotReplace (); - void slotReplaceAll (); - -}; // class KReplace - -%End - diff --git a/sip/kutils/kreplacedialog.sip b/sip/kutils/kreplacedialog.sip deleted file mode 100644 index 79b58e4..0000000 --- a/sip/kutils/kreplacedialog.sip +++ /dev/null @@ -1,59 +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 kutils 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_3_0 - ) - -class KReplaceDialog : KFindDialog -{ -%TypeHeaderCode -#include <kreplacedialog.h> -%End - - -public: - - enum Options - { - PromptOnReplace, - BackReference - }; - - KReplaceDialog (TQWidget* = 0, const char* = 0, long = 0, const TQStringList& = TQStringList (), const TQStringList& = TQStringList (), bool = 1); - void setReplacementHistory (const TQStringList&); - TQStringList replacementHistory () const; - void setOptions (long); - long options () const; - TQString replacement () const; - TQWidget* replaceExtension (); - -protected slots: - void slotOk (); - virtual void showEvent (TQShowEvent*); - -}; // class KReplaceDialog - -%End - diff --git a/sip/kutils/kutils-kde340.diff b/sip/kutils/kutils-kde340.diff deleted file mode 100644 index 0805f47..0000000 --- a/sip/kutils/kutils-kde340.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include tdecmodulecontainer.sip diff --git a/sip/kutils/kutils-kde341.diff b/sip/kutils/kutils-kde341.diff deleted file mode 100644 index 0805f47..0000000 --- a/sip/kutils/kutils-kde341.diff +++ /dev/null @@ -1 +0,0 @@ -+ %Include tdecmodulecontainer.sip diff --git a/sip/kutils/kutilsmod.sip.in b/sip/kutils/kutilsmod.sip.in deleted file mode 100644 index ebd8f69..0000000 --- a/sip/kutils/kutilsmod.sip.in +++ /dev/null @@ -1,50 +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 kutils 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 kutils - -%Import qt/qtmod.sip -%Import dcopmod.sip -%Import tdecoremod.sip -%Import qtxml/qtxmlmod.sip -%Import tdefxmod.sip -%Import tdeuimod.sip -%Import kiomod.sip - -%Include tdecmoduleinfo.sip -%Include tdecmoduleloader.sip -%Include tdecmoduleproxy.sip -%Include kcmultidialog.sip -%Include kfind.sip -%Include kfinddialog.sip -%Include kmultitabbar.sip -%Include kplugininfo.sip -%Include kpluginselector.sip -%Include kreplace.sip -%Include kreplacedialog.sip -@mark@ diff --git a/sip/kutils/tdecmoduleinfo.sip b/sip/kutils/tdecmoduleinfo.sip deleted file mode 100644 index 2adda6c..0000000 --- a/sip/kutils/tdecmoduleinfo.sip +++ /dev/null @@ -1,91 +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 kutils 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_3_0 - ) - -class TDECModuleInfo -{ -%TypeHeaderCode -#include <tdecmoduleinfo.h> -%End - - -public: - TDECModuleInfo (const TQString&); - TDECModuleInfo (KService::Ptr); - TDECModuleInfo (const TDECModuleInfo&); - -%If ( KDE_3_4_0 - ) - TDECModuleInfo (); -%End - - bool operator == (const TDECModuleInfo&) const; - bool operator != (const TDECModuleInfo&) const; - TQString fileName () const; - const TQStringList& keywords () const; - -%If ( KDE_3_4_0 - ) - TQString factoryName () const; -%End - - TQString moduleName () const; - KService::Ptr service () const; - TQString comment () const; - TQString icon () const; - TQString docPath () const; - TQString library () const; - TQString handle () const; - int weight () const; - bool needsRootPrivileges () const; - bool isHiddenByDefault () const; - -%If ( KDE_3_4_0 - ) - bool needsTest () const; -%End - - -protected: - void setKeywords (const TQStringList&); - void setName (const TQString&); - void setComment (const TQString&); - void setIcon (const TQString&); - void setLibrary (const TQString&); - void setHandle (const TQString&); - void setWeight (int); - -%If ( KDE_3_4_0 - ) - void setNeedsTest (bool); -%End - - void setNeedsRootPrivileges (bool); - void setIsHiddenByDefault (bool); - void setDocPath (const TQString&); - void loadAll (); - -}; // class TDECModuleInfo - -%End - diff --git a/sip/kutils/tdecmoduleloader.sip b/sip/kutils/tdecmoduleloader.sip deleted file mode 100644 index 9d87854..0000000 --- a/sip/kutils/tdecmoduleloader.sip +++ /dev/null @@ -1,67 +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 kutils 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_3_0 - ) - -class TDECModuleLoader -{ -%TypeHeaderCode -#include <tdecmoduleloader.h> -%End - - -public: - static TDECModule* loadModule (const TDECModuleInfo&, bool = 1, TQWidget* = 0, const char* = 0, const TQStringList& = TQStringList ()); - static TDECModule* loadModule (const TQString&, TQWidget* = 0, const char* = 0, const TQStringList& = TQStringList ()); - -%If ( KDE_3_4_0 - ) - - enum ErrorReporting - { - None, - Inline, - Dialog, - Both - }; - - static TDECModule* loadModule (const TDECModuleInfo&, TDECModuleLoader::ErrorReporting, bool = 1, TQWidget* = 0, const char* = 0, const TQStringList& = TQStringList ()); - static TDECModule* loadModule (const TQString&, TDECModuleLoader::ErrorReporting, TQWidget* = 0, const char* = 0, const TQStringList& = TQStringList ()); -%End - - static void unloadModule (const TDECModuleInfo&); - static void showLastLoaderError (TQWidget*); - -%If ( KDE_3_4_0 - ) - static bool testModule (const TQString&); - static bool testModule (const TDECModuleInfo&); - static TDECModule* reportError (TDECModuleLoader::ErrorReporting, const TQString&, TQString, TQWidget*); -%End - - -}; // class TDECModuleLoader - -%End - diff --git a/sip/kutils/tdecmoduleproxy.sip b/sip/kutils/tdecmoduleproxy.sip deleted file mode 100644 index 6e65ce9..0000000 --- a/sip/kutils/tdecmoduleproxy.sip +++ /dev/null @@ -1,104 +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 kutils 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_3_0 - ) - -class TDECModuleProxy : TQWidget -{ -%TypeHeaderCode -#include <tdecmoduleproxy.h> -%End - - -public: - TDECModuleProxy (const TDECModuleInfo&, bool = 0, TQWidget* = 0, const char* = 0, const TQStringList& = TQStringList ()); - -%If ( KDE_3_4_0 - ) - TDECModuleProxy (const TQString&, bool = 1, TQWidget* = 0, const char* = 0, const TQStringList& = TQStringList ()); - TDECModuleProxy (const KService::Ptr&, bool = 1, TQWidget* = 0, const char* = 0, const TQStringList& = TQStringList ()); -%End - - void load (); - void save (); - TQString quickHelp () const; - const TDEAboutData* aboutData () const; - int buttons () const; - TQString rootOnlyMsg () const; - bool useRootOnlyMsg () const; - TDEInstance* instance () const; - bool changed () const; - -%If ( KDE_3_4_0 - ) - bool rootMode () const; -%End - - TDECModule* realModule () const; - const TDECModuleInfo& moduleInfo () const; - -%If ( KDE_3_4_0 - ) - TQCString dcopName () const; -%End - - -public slots: - -%If ( KDE_3_4_0 - ) - void runAsRoot (); - void defaults (); - void deleteClient (); -%End - - -signals: - void changed (bool); - -%If ( KDE_3_4_0 - ) - void changed (TDECModuleProxy*); - void childClosed (); - void quickHelpChanged (); -%End - - -protected: - void showEvent (TQShowEvent*); - -%If ( KDE_3_4_0 - ) - void init (const TDECModuleInfo&); - void emitQuickHelpChanged (); -%End - - -public: - -%If ( - KDE_3_4_0 ) - void defaults (); -%End - - -}; // class TDECModuleProxy - -%End - |