summaryrefslogtreecommitdiffstats
path: root/sip/tdeui/kmainwindow.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tdeui/kmainwindow.sip')
-rw-r--r--sip/tdeui/kmainwindow.sip40
1 files changed, 20 insertions, 20 deletions
diff --git a/sip/tdeui/kmainwindow.sip b/sip/tdeui/kmainwindow.sip
index 89567ff..b056361 100644
--- a/sip/tdeui/kmainwindow.sip
+++ b/sip/tdeui/kmainwindow.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMainWindow : TQMainWindow, KXMLGUIBuilder, KXMLGUIClient
+class TDEMainWindow : TQMainWindow, KXMLGUIBuilder, KXMLGUIClient
{
%TypeHeaderCode
#include <kmainwindow.h>
@@ -32,7 +32,7 @@ class KMainWindow : TQMainWindow, KXMLGUIBuilder, KXMLGUIClient
public:
- KMainWindow (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose );
+ TDEMainWindow (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose );
%If ( KDE_3_2_0 - )
@@ -41,11 +41,11 @@ public:
NoDCOPObject
};
- KMainWindow (int, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose );
+ TDEMainWindow (int, TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = WType_TopLevel |WDestructiveClose );
%End
- KPopupMenu* helpMenu (const TQString& = TQString ::null , bool = 1);
- KPopupMenu* customHelpMenu (bool = 1);
+ TDEPopupMenu* helpMenu (const TQString& = TQString ::null , bool = 1);
+ TDEPopupMenu* customHelpMenu (bool = 1);
static bool canBeRestored (int);
static const TQString classNameOfToplevel (int);
@@ -66,15 +66,15 @@ public:
KMenuBar* menuBar ();
KStatusBar* statusBar ();
- TQPtrList<KMainWindow>* memberList;
+ TQPtrList<TDEMainWindow>* memberList;
%If ( KDE_3_4_0 - )
- static TQPtrList<KMainWindow>* getMemberList ();
+ static TQPtrList<TDEMainWindow>* getMemberList ();
%End
- KToolBar* toolBar (const char* = 0);
-//ig TQPtrListIterator<KToolBar> toolBarIterator ();
- KAccel* accel ();
+ TDEToolBar* toolBar (const char* = 0);
+//ig TQPtrListIterator<TDEToolBar> toolBarIterator ();
+ TDEAccel* accel ();
void setFrameBorderWidth (int);
void setAutoSaveSettings (const TQString& = TQString ::fromLatin1 ("MainWindow" ), bool = 1);
void resetAutoSaveSettings ();
@@ -120,7 +120,7 @@ public:
%End
- KAction* toolBarMenuAction ();
+ TDEAction* toolBarMenuAction ();
%If ( KDE_3_3_1 - )
void setupToolbarMenuActions ();
@@ -196,12 +196,12 @@ protected slots:
protected:
//igx virtual void virtual_hook (int, void*);
-}; // class KMainWindow
+}; // class TDEMainWindow
-%MappedType TQPtrList<KMainWindow>
-//converts a Python list of KMainWindow
+%MappedType TQPtrList<TDEMainWindow>
+//converts a Python list of TDEMainWindow
{
%TypeHeaderCode
#include <tqptrlist.h>
@@ -221,14 +221,14 @@ protected:
// Get it.
- TQPtrList<KMainWindow> *cpplist = (TQPtrList<KMainWindow> *)sipCpp;
- KMainWindow *cpp;
+ TQPtrList<TDEMainWindow> *cpplist = (TQPtrList<TDEMainWindow> *)sipCpp;
+ TDEMainWindow *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_KMainWindow, sipTransferObj)) == NULL)
+ if (((inst = sipConvertFromInstance (cpp, sipClass_TDEMainWindow, sipTransferObj)) == NULL)
|| PyList_Append (pylist, inst) < 0)
{
Py_DECREF (pylist);
@@ -243,16 +243,16 @@ protected:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- TQPtrList<KMainWindow> *cpplist = new TQPtrList<KMainWindow>;
+ TQPtrList<TDEMainWindow> *cpplist = new TQPtrList<TDEMainWindow>;
PyObject *elem;
- KMainWindow *cpp;
+ TDEMainWindow *cpp;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
{
elem = PyList_GET_ITEM (sipPy, i);
- cpp = (KMainWindow *)sipForceConvertToType(elem, sipType_KMainWindow, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
+ cpp = (TDEMainWindow *)sipForceConvertToType(elem, sipType_TDEMainWindow, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{