summaryrefslogtreecommitdiffstats
path: root/sip/kresources
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:14:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:14:34 -0600
commit57e2ced52bf3ba886bb7710212167a86e20305e6 (patch)
treee08b1e82e83f5afa861dc9eeb833dc4bd593900b /sip/kresources
parentccad7a42d96879251c4971e51aac269f61a0ccf8 (diff)
downloadpytde-57e2ced52bf3ba886bb7710212167a86e20305e6.tar.gz
pytde-57e2ced52bf3ba886bb7710212167a86e20305e6.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'sip/kresources')
-rw-r--r--sip/kresources/configdialog.sip52
-rw-r--r--sip/kresources/configpage.sip48
-rw-r--r--sip/kresources/configwidget.sip56
-rw-r--r--sip/kresources/factory.sip54
-rw-r--r--sip/kresources/kresourcesmod.sip.in45
-rw-r--r--sip/kresources/resource.sip84
-rw-r--r--sip/kresources/selectdialog.sip132
7 files changed, 0 insertions, 471 deletions
diff --git a/sip/kresources/configdialog.sip b/sip/kresources/configdialog.sip
deleted file mode 100644
index d49cf85..0000000
--- a/sip/kresources/configdialog.sip
+++ /dev/null
@@ -1,52 +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 kresources 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 - )
-namespace KRES
-{
-
-class ConfigDialog : KDialogBase
-{
-%TypeHeaderCode
-#include <configdialog.h>
-%End
-
-
-public:
- ConfigDialog (TQWidget*, const TQString&, KRES::Resource*, const char* = 0);
- void setInEditMode (bool);
-
-protected slots:
- void accept ();
- void setReadOnly (bool);
- void slotNameChanged (const TQString&);
-
-}; // class ConfigDialog
-
-}; // namespace KRES
-
-%End
-
diff --git a/sip/kresources/configpage.sip b/sip/kresources/configpage.sip
deleted file mode 100644
index 5d7a1de..0000000
--- a/sip/kresources/configpage.sip
+++ /dev/null
@@ -1,48 +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 kresources 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 - )
-namespace KRES
-{
-
-class ResourcePageInfo : KShared
-{
-%TypeHeaderCode
-#include <configpage.h>
-%End
-
-
-public:
- ResourcePageInfo ();
-//ig Manager<Resource>* mManager;
- TDEConfig* mConfig;
-
-}; // class ResourcePageInfo
-
-}; // namespace KRES
-
-%End
-
diff --git a/sip/kresources/configwidget.sip b/sip/kresources/configwidget.sip
deleted file mode 100644
index 7a5f6f6..0000000
--- a/sip/kresources/configwidget.sip
+++ /dev/null
@@ -1,56 +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 kresources 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 - )
-namespace KRES
-{
-
-class ConfigWidget : TQWidget
-{
-%TypeHeaderCode
-#include <configwidget.h>
-%End
-
-
-public:
- ConfigWidget (TQWidget* = 0, const char* = 0);
- virtual void setInEditMode (bool);
-
-public slots:
- virtual void loadSettings (KRES::Resource*) = 0;
- virtual void saveSettings (KRES::Resource*) = 0;
-
-signals:
- void setReadOnly (bool);
-
-protected:
-
-}; // class ConfigWidget
-
-}; // namespace KRES
-
-%End
-
diff --git a/sip/kresources/factory.sip b/sip/kresources/factory.sip
deleted file mode 100644
index e6555c8..0000000
--- a/sip/kresources/factory.sip
+++ /dev/null
@@ -1,54 +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 kresources 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 - )
-namespace KRES
-{
-
-class Factory
-{
-%TypeHeaderCode
-#include <factory.h>
-%End
-
-
-public:
- static KRES::Factory* self (const TQString&);
- KRES::ConfigWidget* configWidget (const TQString&, TQWidget* = 0);
- KRES::Resource* resource (const TQString&, const TDEConfig*);
- TQStringList typeNames () const;
- TQString typeName (const TQString&) const;
- TQString typeDescription (const TQString&) const;
-
-protected:
- Factory (const TQString&);
-
-}; // class Factory
-
-}; // namespace KRES
-
-%End
-
diff --git a/sip/kresources/kresourcesmod.sip.in b/sip/kresources/kresourcesmod.sip.in
deleted file mode 100644
index 5df9d85..0000000
--- a/sip/kresources/kresourcesmod.sip.in
+++ /dev/null
@@ -1,45 +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 kresources 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 kresources
-
-%Import qt/qtmod.sip
-%Import qtxml/qtxmlmod.sip
-%Import dcopmod.sip
-%Import tdecoremod.sip
-%Import tdefxmod.sip
-%Import tdeuimod.sip
-%Import kiomod.sip
-
-%Include configdialog.sip
-%Include configpage.sip
-%Include configwidget.sip
-%Include factory.sip
-%Include resource.sip
-%Include selectdialog.sip
-@mark@
diff --git a/sip/kresources/resource.sip b/sip/kresources/resource.sip
deleted file mode 100644
index 231cee2..0000000
--- a/sip/kresources/resource.sip
+++ /dev/null
@@ -1,84 +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 kresources 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 - )
-namespace KRES
-{
-
-class Resource : TQObject
-{
-%TypeHeaderCode
-#include <kconfig.h>
-#include <resource.h>
-%End
-
-
-public:
- typedef TQValueList<KRES::Resource*> List;
- Resource (const TDEConfig*);
- virtual void writeConfig (TDEConfig*);
- bool open ();
- void close ();
- bool isOpen () const;
- TQString identifier () const;
- TQString type () const;
- virtual void setReadOnly (bool);
- virtual bool readOnly () const;
- virtual void setResourceName (const TQString&);
- virtual TQString resourceName () const;
- void setActive (bool);
- bool isActive () const;
- virtual void dump () const;
-
-protected:
- virtual bool doOpen ();
- virtual void doClose ();
- void setIdentifier (const TQString&);
- void setType (const TQString&);
-
-}; // class Resource
-
-
-class PluginFactoryBase : KLibFactory
-{
-%TypeHeaderCode
-#include <resource.h>
-%End
-
-
-public:
- virtual KRES::Resource* resource (const TDEConfig*) = 0;
- virtual KRES::ConfigWidget* configWidget (TQWidget*) = 0;
-
-protected:
- virtual TQObject* createObject (TQObject*, const char*, const char*, const TQStringList&);
-
-}; // class PluginFactoryBase
-
-}; // namespace KRES
-
-%End
-
diff --git a/sip/kresources/selectdialog.sip b/sip/kresources/selectdialog.sip
deleted file mode 100644
index fd81f67..0000000
--- a/sip/kresources/selectdialog.sip
+++ /dev/null
@@ -1,132 +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 kresources 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.
-
-%ModuleHeaderCode
-#include <tqwidget.h>
-%End
-
-
-%If ( KDE_3_2_0 - )
-namespace KRES
-{
-
-class SelectDialog
-{
-%TypeHeaderCode
-#include <selectdialog.h>
-%End
-
-
-public:
- SelectDialog (TQPtrList<KRES::Resource>, TQWidget* = 0, const char* = 0);
- KRES::Resource* resource ();
- static KRES::Resource* getResource (TQPtrList<KRES::Resource>, TQWidget* = 0);
-//force
-
-private:
- SelectDialog (const KRES::SelectDialog&);
-//end
-
-}; // class SelectDialog
-
-}; // namespace KRES
-
-%End
-
-
-
-%If (KDE_3_2_0 - )
-%MappedType TQPtrList<KRES::Resource>
-//converts a Python list of KRES::Resource
-{
-%TypeHeaderCode
-#include <tqptrlist.h>
-#include <resource.h>
-%End
-
-%ConvertFromTypeCode
- if (!sipCpp)
- return PyList_New (0);
-
- PyObject *pylist;
-
- // Create the list
-
- if ((pylist = PyList_New(0)) == NULL)
- return NULL;
-
- // Get it.
-
- TQPtrList<KRES::Resource> *cpplist = (TQPtrList<KRES::Resource> *)sipCpp;
- KRES::Resource *cpp;
- PyObject *inst;
-
- // the loop depends on the type of iterator the tmeplate makes available
- for(cpp = cpplist->first (); cpp != 0; cpp = cpplist->next () )
- {
- if (((inst = sipConvertFromInstance (cpp, sipClass_KRES_Resource, sipTransferObj)) == NULL)
- || PyList_Append (pylist, inst) < 0)
- {
- Py_DECREF (pylist);
- return NULL;
- }
- }
-
- return pylist;
-%End
-
-%ConvertToTypeCode
- if (sipIsErr == NULL)
- return PyList_Check(sipPy);
-
- TQPtrList<KRES::Resource> *cpplist = new TQPtrList<KRES::Resource>;
-
- PyObject *elem;
- KRES::Resource *cpp;
- int iserr = 0;
-
- for (int i = 0; i < PyList_Size (sipPy); i++)
- {
- elem = PyList_GET_ITEM (sipPy, i);
- cpp = (KRES::Resource *)sipForceConvertToType(elem, sipType_KRES_Resource, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- delete cpplist;
- return 0;
- }
-
- cpplist->append (cpp);
- }
-
- *sipCppPtr = cpplist;
-
- return 1;
-%End
-};
-%End
-
-