summaryrefslogtreecommitdiffstats
path: root/python/pykde/sip/kdeui/kstdguiitem.sip
diff options
context:
space:
mode:
Diffstat (limited to 'python/pykde/sip/kdeui/kstdguiitem.sip')
-rw-r--r--python/pykde/sip/kdeui/kstdguiitem.sip352
1 files changed, 0 insertions, 352 deletions
diff --git a/python/pykde/sip/kdeui/kstdguiitem.sip b/python/pykde/sip/kdeui/kstdguiitem.sip
deleted file mode 100644
index 3d9a3fba..00000000
--- a/python/pykde/sip/kdeui/kstdguiitem.sip
+++ /dev/null
@@ -1,352 +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 kdeui 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 KStdGuiItem
-{
-%TypeHeaderCode
-#include <kstdguiitem.h>
-%End
-
-
-public:
-
- enum BidiMode
- {
- UseRTL,
- IgnoreRTL
- };
-
-
-%If ( KDE_3_5_0 - )
-
- enum StdItem
- {
- Ok,
- Cancel,
- Yes,
- No,
- Discard,
- Save,
- DontSave,
- SaveAs,
- Apply,
- Clear,
- Help,
- Defaults,
- Close,
- Back,
- Forward,
- Print,
- Continue,
- Open,
- Quit,
- AdminMode,
- Reset,
- Delete,
- Insert,
- Configure,
- Find,
- Stop,
- Add,
- Remove,
- Test,
- Properties,
- Overwrite
- };
-
-%End
-
- static KGuiItem guiItem (KStdGuiItem::StdItem);
- static QString stdItem (KStdGuiItem::StdItem);
- static KGuiItem ok ();
- static KGuiItem cancel ();
- static KGuiItem yes ();
- static KGuiItem no ();
-
-%If ( KDE_3_3_0 - )
- static KGuiItem insert ();
-%End
-
- static KGuiItem discard ();
- static KGuiItem save ();
- static KGuiItem help ();
- static KGuiItem dontSave ();
- static KGuiItem saveAs ();
- static KGuiItem apply ();
- static KGuiItem clear ();
- static KGuiItem defaults ();
- static KGuiItem close ();
- static KGuiItem print () /PyName=print_/;
-
-%If ( KDE_3_4_0 - )
- static KGuiItem properties ();
-%End
-
-
-%If ( KDE_3_3_0 - )
- static KGuiItem reset ();
-
-%If ( KDE_3_5_0 - )
- static KGuiItem overwrite ();
-%End
-
- static KGuiItem adminMode ();
-%End
-
- static KGuiItem cont ();
-
-%If ( KDE_3_3_0 - )
- static KGuiItem del ();
-%End
-
-
-%If ( KDE_3_2_0 - )
- static KGuiItem open ();
-%End
-
- static KGuiItem back (KStdGuiItem::BidiMode = IgnoreRTL );
- static KGuiItem forward (KStdGuiItem::BidiMode = IgnoreRTL );
-
-%If ( KDE_3_4_0 - )
- static KGuiItem configure ();
-%End
-
- static QPair<KGuiItem,KGuiItem> backAndForward ();
-
-%If ( KDE_3_2_0 - )
- static KGuiItem quit ();
-
-%If ( KDE_3_4_0 - )
- static KGuiItem find ();
- static KGuiItem stop ();
- static KGuiItem add ();
- static KGuiItem remove ();
- static KGuiItem test ();
-%End
-
-%End
-
-
-public:
-
-%If ( KDE_3_4_0 - KDE_3_5_0 )
-
- enum StdItem
- {
- Ok,
- Cancel,
- Yes,
- No,
- Discard,
- Save,
- DontSave,
- SaveAs,
- Apply,
- Clear,
- Help,
- Defaults,
- Close,
- Back,
- Forward,
- Print,
- Continue,
- Open,
- Quit,
- AdminMode,
- Reset,
- Delete,
- Insert,
- Configure,
- Find,
- Stop,
- Add,
- Remove,
- Test,
- Properties
- };
-
-%End
-
-
-public:
-
-%If ( KDE_3_3_0 - KDE_3_4_0 )
-
- enum StdItem
- {
- Ok,
- Cancel,
- Yes,
- No,
- Discard,
- Save,
- DontSave,
- SaveAs,
- Apply,
- Clear,
- Help,
- Defaults,
- Close,
- Back,
- Forward,
- Print,
- Continue,
- Open,
- Quit,
- AdminMode,
- Reset,
- Delete,
- Insert
- };
-
-%End
-
-
-public:
-
-%If ( KDE_3_2_0 - KDE_3_3_0 )
-
- enum StdItem
- {
- Ok,
- Cancel,
- Yes,
- No,
- Discard,
- Save,
- DontSave,
- SaveAs,
- Apply,
- Clear,
- Help,
- Defaults,
- Close,
- Back,
- Forward,
- Print,
- Continue,
- Open,
- Quit
- };
-
-%End
-
-
-public:
-
-%If ( - KDE_3_2_0 )
-
- enum StdItem
- {
- Ok,
- Cancel,
- Yes,
- No,
- Discard,
- Save,
- DontSave,
- SaveAs,
- Apply,
- Clear,
- Help,
- Defaults,
- Close,
- Back,
- Forward,
- Print,
- Continue
- };
-
-%End
-
-
-}; // class KStdGuiItem
-
-
-
-%MappedType QPair<KGuiItem,KGuiItem>
-//converts a Python tuple (KGuiItem,KGuiItem)
-{
-%TypeHeaderCode
-#include <kguiitem.h>
-#include <sipkdeuiKGuiItem.h>
-%End
-
-%ConvertFromTypeCode
- if (!sipCpp)
- return PyTuple_New(0);
-
- // Create the tuple
- PyObject *pytuple;
- if ((pytuple = PyTuple_New(0)) == NULL)
- return NULL;
-
- QPair<KGuiItem,KGuiItem> *cpp = (QPair<KGuiItem,KGuiItem> *)sipCpp;
- PyObject *inst = NULL;
-
- // Get it.
- KGuiItem g1 = (*cpp).first;
- KGuiItem g2 = (*cpp).second;
- PyObject *pyg1 = sipBuildResult (NULL, "N", new KGuiItem (g1), sipClass_KGuiItem);
- PyObject *pyg2 = sipBuildResult (NULL, "N", new KGuiItem (g2), sipClass_KGuiItem);
- if ((pyg1 == NULL) || (pyg2 == NULL) || ((inst = Py_BuildValue ("NN", pyg1, pyg2)) == NULL))
- {
- Py_XDECREF (inst);
- Py_XDECREF (pyg1);
- Py_XDECREF (pyg2);
- return NULL;
- }
-
- return inst;
-%End
-
-
-%ConvertToTypeCode
- if (sipIsErr == NULL)
- return PyTuple_Check(sipPy);
-
- KGuiItem g1, g2;
- int iserr = 0;
-
- PyObject *pyg1 = PyTuple_GET_ITEM (sipPy, 0);
- PyObject *pyg2 = PyTuple_GET_ITEM (sipPy, 1);
- g1 = *(KGuiItem *)sipForceConvertTo_KGuiItem (pyg1, &iserr);
- g2 = *(KGuiItem *)sipForceConvertTo_KGuiItem (pyg2, &iserr);
-
- if (iserr)
- {
- *sipIsErr = 1;
- return 0;
- }
-
-
- *sipCppPtr = new QPair<KGuiItem, KGuiItem> (g1, g2);
-
- return 1;
-%End
-};
-
-