diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:09:42 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:09:42 -0600 |
commit | 2df6bde18ab40472f2df8637cf6456cb80dc2329 (patch) | |
tree | 5a4362124ff46786fce835d2f1e7d583c92a5670 /sip | |
parent | be6cfa4b990910e65e8d2f4f212eba3f7da6ee72 (diff) | |
download | pytde-2df6bde18ab40472f2df8637cf6456cb80dc2329.tar.gz pytde-2df6bde18ab40472f2df8637cf6456cb80dc2329.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'sip')
75 files changed, 826 insertions, 826 deletions
diff --git a/sip/kio/kdatatool.sip b/sip/kio/kdatatool.sip index 46071ce..bbb0b0d 100644 --- a/sip/kio/kdatatool.sip +++ b/sip/kio/kdatatool.sip @@ -52,7 +52,7 @@ public: }; // class KDataToolInfo -class KDataToolAction : KAction +class KDataToolAction : TDEAction { %TypeHeaderCode #include <kdatatool.h> @@ -61,7 +61,7 @@ class KDataToolAction : KAction public: KDataToolAction (const TQString&, const KDataToolInfo&, const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); - static TQPtrList<KAction> dataToolActionList (const TQValueList<KDataToolInfo>&, const TQObject*, const char*); + static TQPtrList<TDEAction> dataToolActionList (const TQValueList<KDataToolInfo>&, const TQObject*, const char*); signals: void toolActivated (const KDataToolInfo&, const TQString&); diff --git a/sip/tdecore/kaccel.sip b/sip/tdecore/kaccel.sip index 36a1c81..dfce48f 100644 --- a/sip/tdecore/kaccel.sip +++ b/sip/tdecore/kaccel.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KAccel : TQAccel +class TDEAccel : TQAccel { %TypeHeaderCode #include <kaccel.h> @@ -32,24 +32,24 @@ class KAccel : TQAccel public: - KAccel (TQWidget* /TransferThis/, const char* = 0); - KAccel (TQWidget*, TQObject* /TransferThis/, const char* = 0); - KAccelActions& actions (); + TDEAccel (TQWidget* /TransferThis/, const char* = 0); + TDEAccel (TQWidget*, TQObject* /TransferThis/, const char* = 0); + TDEAccelActions& actions (); bool isEnabled (); void setEnabled (bool); bool setAutoUpdate (bool); %If ( KDE_3_1_4 - ) - KAccelAction* insert (const TQString&, const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, bool = 1); - KAccelAction* insert (const TQString&, const TQString&, const TQString&, const KShortcut&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, bool = 1); - KAccelAction* insert (const char*, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, bool = 1); - KAccelAction* insert (KStdAccel::StdAccel, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, bool = 1); + TDEAccelAction* insert (const TQString&, const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, bool = 1); + TDEAccelAction* insert (const TQString&, const TQString&, const TQString&, const TDEShortcut&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, bool = 1); + TDEAccelAction* insert (const char*, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, bool = 1); + TDEAccelAction* insert (TDEStdAccel::StdAccel, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, bool = 1); %End bool remove (const TQString&); bool updateConnections (); - const KShortcut& shortcut (const TQString&) const; - bool setShortcut (const TQString&, const KShortcut&); + const TDEShortcut& shortcut (const TQString&) const; + bool setShortcut (const TQString&, const TDEShortcut&); %If ( KDE_3_1_4 - ) bool setSlot (const TQString&, SIP_RXOBJ_CON, SIP_SLOT_CON ()); @@ -68,17 +68,17 @@ signals: public: bool insertItem (const TQString&, const TQString&, const char*, int = 0, TQPopupMenu* = 0, bool = 1); bool insertItem (const TQString&, const TQString&, int, int, TQPopupMenu*, bool = 1); - bool insertStdItem (KStdAccel::StdAccel, const TQString& = TQString ::null ); + bool insertStdItem (TDEStdAccel::StdAccel, const TQString& = TQString ::null ); %If ( KDE_3_1_4 - ) bool connectItem (const TQString&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1); - bool connectItem (KStdAccel::StdAccel, SIP_RXOBJ_CON, SIP_SLOT_CON ()); + bool connectItem (TDEStdAccel::StdAccel, SIP_RXOBJ_CON, SIP_SLOT_CON ()); %End bool removeItem (const TQString&); bool setItemEnabled (const TQString&, bool); void changeMenuAccel (TQPopupMenu*, int, const TQString&); - void changeMenuAccel (TQPopupMenu*, int, KStdAccel::StdAccel); + void changeMenuAccel (TQPopupMenu*, int, TDEStdAccel::StdAccel); static int stringToKey (const TQString&); int currentKey (const TQString&) const; TQString findKey (int) const; @@ -90,17 +90,17 @@ public: %If ( - KDE_3_2_0 ) //ig bool getAutoUpdate (); -//ig KAccelAction* insert (const TQString&, const TQString&); +//ig TDEAccelAction* insert (const TQString&, const TQString&); %End public: %If ( - KDE_3_1_4 ) - KAccelAction* insert (const TQString&, const TQString&, const TQString&, const KShortcut&, const TQObject*, const char*, bool = 1, bool = 1); - KAccelAction* insert (const TQString&, const TQString&, const TQString&, const KShortcut&, const KShortcut&, const TQObject*, const char*, bool = 1, bool = 1); - KAccelAction* insert (const char*, const KShortcut&, const TQObject*, const char*, bool = 1, bool = 1); - KAccelAction* insert (KStdAccel::StdAccel, const TQObject*, const char*, bool = 1, bool = 1); + TDEAccelAction* insert (const TQString&, const TQString&, const TQString&, const TDEShortcut&, const TQObject*, const char*, bool = 1, bool = 1); + TDEAccelAction* insert (const TQString&, const TQString&, const TQString&, const TDEShortcut&, const TDEShortcut&, const TQObject*, const char*, bool = 1, bool = 1); + TDEAccelAction* insert (const char*, const TDEShortcut&, const TQObject*, const char*, bool = 1, bool = 1); + TDEAccelAction* insert (TDEStdAccel::StdAccel, const TQObject*, const char*, bool = 1, bool = 1); bool setSlot (const TQString&, const TQObject*, const char*); %End @@ -109,7 +109,7 @@ public: %If ( - KDE_3_1_4 ) bool connectItem (const TQString&, const TQObject*, const char*, bool = 1); - bool connectItem (KStdAccel::StdAccel, const TQObject*, const char*); + bool connectItem (TDEStdAccel::StdAccel, const TQObject*, const char*); //force %ConvertToSubClassCode @@ -117,7 +117,7 @@ public: // must be sorted by name. static sipStringTypeClassMap map[] = { - {sipName_KAccel, &sipClass_KAccel}, + {sipName_TDEAccel, &sipClass_TDEAccel}, {sipName_TDEApplication, &sipClass_TDEApplication}, {sipName_KAsyncIO, &sipClass_KAsyncIO}, {sipName_KAudioPlayer, &sipClass_KAudioPlayer}, @@ -153,7 +153,7 @@ public: %End -}; // class KAccel +}; // class TDEAccel diff --git a/sip/tdecore/kaccelaction.sip b/sip/tdecore/kaccelaction.sip index 6bdace1..22e14ed 100644 --- a/sip/tdecore/kaccelaction.sip +++ b/sip/tdecore/kaccelaction.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KAccelAction +class TDEAccelAction { %TypeHeaderCode #include <kaccelaction.h> @@ -32,18 +32,18 @@ class KAccelAction public: - KAccelAction (); - KAccelAction (const KAccelAction&); - KAccelAction (const TQString&, const TQString&, const TQString&, const KShortcut&, const KShortcut&, const TQObject*, const char*, bool, bool); + TDEAccelAction (); + TDEAccelAction (const TDEAccelAction&); + TDEAccelAction (const TQString&, const TQString&, const TQString&, const TDEShortcut&, const TDEShortcut&, const TQObject*, const char*, bool, bool); void clear (); - bool init (const TQString&, const TQString&, const TQString&, const KShortcut&, const KShortcut&, const TQObject*, const char*, bool, bool); + bool init (const TQString&, const TQString&, const TQString&, const TDEShortcut&, const TDEShortcut&, const TQObject*, const char*, bool, bool); const TQString& name () const; const TQString& label () const; const TQString& whatsThis () const; - const KShortcut& shortcut () const; - const KShortcut& shortcutDefault () const; - const KShortcut& shortcutDefault3 () const; - const KShortcut& shortcutDefault4 () const; + const TDEShortcut& shortcut () const; + const TDEShortcut& shortcutDefault () const; + const TDEShortcut& shortcutDefault3 () const; + const TDEShortcut& shortcutDefault4 () const; const TQObject* objSlotPtr () const; const char* methodSlotPtr () const; bool isConfigurable () const; @@ -51,7 +51,7 @@ public: void setName (const TQString&); void setLabel (const TQString&); void setWhatsThis (const TQString&); - bool setShortcut (const KShortcut&); + bool setShortcut (const TDEShortcut&); void setSlot (const TQObject*, const char*); void setConfigurable (bool); void setEnabled (bool); @@ -70,10 +70,10 @@ protected: void incConnections (); void decConnections (); -}; // class KAccelAction +}; // class TDEAccelAction -class KAccelActions +class TDEAccelActions { %TypeHeaderCode #include <kaccelaction.h> @@ -81,29 +81,29 @@ class KAccelActions public: - KAccelActions (); - KAccelActions (const KAccelActions&); + TDEAccelActions (); + TDEAccelActions (const TDEAccelActions&); void clear (); - bool init (const KAccelActions&); + bool init (const TDEAccelActions&); bool init (TDEConfigBase&, const TQString&); - void updateShortcuts (KAccelActions&); + void updateShortcuts (TDEAccelActions&); int actionIndex (const TQString&) const; - KAccelAction* actionPtr (uint); - KAccelAction* actionPtr (const TQString&); - KAccelAction* actionPtr (KKeySequence); + TDEAccelAction* actionPtr (uint); + TDEAccelAction* actionPtr (const TQString&); + TDEAccelAction* actionPtr (KKeySequence); %If ( KDE_3_1_4 - ) - KAccelAction& operator [] (uint); + TDEAccelAction& operator [] (uint); %MethodCode -//returns (KAccelAction&) +//returns (TDEAccelAction&) //takes index | (uint) sipRes = &((*sipCpp) [a0]); %End %End - KAccelAction* insert (const TQString&, const TQString&, const TQString&, const KShortcut&, const KShortcut&, const TQObject* = 0, const char* = 0, bool = 1, bool = 1); - KAccelAction* insert (const TQString&, const TQString&); + TDEAccelAction* insert (const TQString&, const TQString&, const TQString&, const TDEShortcut&, const TDEShortcut&, const TQObject* = 0, const char* = 0, bool = 1, bool = 1); + TDEAccelAction* insert (const TQString&, const TQString&); bool remove (const TQString&); bool readActions (const TQString& = "Shortcuts", TDEConfigBase* = 0); bool writeActions (const TQString& = "Shortcuts", TDEConfigBase* = 0, bool = 0, bool = 0) const; @@ -112,11 +112,11 @@ public: protected: void resize (uint); - void insertPtr (KAccelAction*); + void insertPtr (TDEAccelAction*); private: - KAccelActions (KAccelBase*); - KAccelActions &operator=(const KAccelActions &); + TDEAccelActions (TDEAccelBase*); + TDEAccelActions &operator=(const TDEAccelActions &); -}; // class KAccelActions +}; // class TDEAccelActions diff --git a/sip/tdecore/kaccelbase.sip b/sip/tdecore/kaccelbase.sip index eb9e5e8..20139e5 100644 --- a/sip/tdecore/kaccelbase.sip +++ b/sip/tdecore/kaccelbase.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KAccelBase +class TDEAccelBase { %TypeHeaderCode #include <kaccelbase.h> @@ -45,39 +45,39 @@ public: KEYCODE_CHANGED }; - KAccelBase (int); + TDEAccelBase (int); uint actionCount () const; - KAccelActions& actions (); + TDEAccelActions& actions (); bool isEnabled (); - KAccelAction* actionPtr (const TQString&); - KAccelAction* actionPtr (const KKey&); - KAccelAction* actionPtr (const KKeyServer::Key&); + TDEAccelAction* actionPtr (const TQString&); + TDEAccelAction* actionPtr (const KKey&); + TDEAccelAction* actionPtr (const KKeyServer::Key&); const TQString& configGroup () const; void setConfigGroup (const TQString&); void setConfigGlobal (bool); virtual void setEnabled (bool) = 0; bool getAutoUpdate (); bool setAutoUpdate (bool); - KAccelAction* insert (const TQString&, const TQString&); - KAccelAction* insert (const TQString&, const TQString&, const TQString&, const KShortcut&, const KShortcut&, const TQObject*, const char*, bool = 1, bool = 1); + TDEAccelAction* insert (const TQString&, const TQString&); + TDEAccelAction* insert (const TQString&, const TQString&, const TQString&, const TDEShortcut&, const TDEShortcut&, const TQObject*, const char*, bool = 1, bool = 1); bool remove (const TQString&); bool setActionSlot (const TQString&, const TQObject*, const char*); bool updateConnections (); - bool setShortcut (const TQString&, const KShortcut&); + bool setShortcut (const TQString&, const TDEShortcut&); bool setActionEnabled (const TQString&, bool); void readSettings (TDEConfigBase* = 0); void writeSettings (TDEConfigBase* = 0) const; TQPopupMenu* createPopupMenu (TQWidget*, const KKeySequence&); protected: - void slotRemoveAction (KAccelAction*); + void slotRemoveAction (TDEAccelAction*); //ig void createKeyList (TQValueVector<structX>&); - bool insertConnection (KAccelAction*); - bool removeConnection (KAccelAction*); - virtual bool emitSignal (KAccelBase::Signal) = 0; - virtual bool connectKey (KAccelAction&, const KKeyServer::Key&) = 0; + bool insertConnection (TDEAccelAction*); + bool removeConnection (TDEAccelAction*); + virtual bool emitSignal (TDEAccelBase::Signal) = 0; + virtual bool connectKey (TDEAccelAction&, const KKeyServer::Key&) = 0; virtual bool connectKey (const KKeyServer::Key&) = 0; - virtual bool disconnectKey (KAccelAction&, const KKeyServer::Key&) = 0; + virtual bool disconnectKey (TDEAccelAction&, const KKeyServer::Key&) = 0; virtual bool disconnectKey (const KKeyServer::Key&) = 0; protected: @@ -89,7 +89,7 @@ protected: //ig class ActionInfo; -//ig typedef TQMap<KKeyServer::Key,KAccelBase::ActionInfo> KKeyToActionMap; +//ig typedef TQMap<KKeyServer::Key,TDEAccelBase::ActionInfo> KKeyToActionMap; protected: @@ -98,5 +98,5 @@ protected: %End -}; // class KAccelBase +}; // class TDEAccelBase diff --git a/sip/tdecore/kapplication.sip b/sip/tdecore/kapplication.sip index eaeb023..3ce2c9d 100644 --- a/sip/tdecore/kapplication.sip +++ b/sip/tdecore/kapplication.sip @@ -242,7 +242,7 @@ public: TQString geometryArgument () const; void installKDEPropertyMap (); bool authorize (const TQString&); - bool authorizeKAction (const char*); + bool authorizeTDEAction (const char*); %If ( KDE_3_1_0 - ) bool authorizeURLAction (const TQString&, const KURL&, const KURL&); diff --git a/sip/tdecore/kcompletion.sip b/sip/tdecore/kcompletion.sip index 8a67700..62013a6 100644 --- a/sip/tdecore/kcompletion.sip +++ b/sip/tdecore/kcompletion.sip @@ -115,7 +115,7 @@ public: SubstringCompletion }; - typedef TQMap<KCompletionBase::KeyBindingType,KShortcut> KeyBindingMap; + typedef TQMap<KCompletionBase::KeyBindingType,TDEShortcut> KeyBindingMap; KCompletionBase (); KCompletion* completionObject (bool = 1); virtual void setCompletionObject (KCompletion*, bool = 1); @@ -127,8 +127,8 @@ public: bool emitSignals () const; virtual void setCompletionMode (TDEGlobalSettings::Completion); TDEGlobalSettings::Completion completionMode () const; - bool setKeyBinding (KCompletionBase::KeyBindingType, const KShortcut&); - const KShortcut& getKeyBinding (KCompletionBase::KeyBindingType) const; + bool setKeyBinding (KCompletionBase::KeyBindingType, const TDEShortcut&); + const TDEShortcut& getKeyBinding (KCompletionBase::KeyBindingType) const; void useGlobalKeyBindings (); virtual void setCompletedText (const TQString&) = 0; virtual void setCompletedItems (const TQStringList&) = 0; @@ -148,7 +148,7 @@ protected: %MappedType KCompletionBase::KeyBindingMap -//converts a Python dict of int:KShortcut +//converts a Python dict of int:TDEShortcut { %TypeHeaderCode #include <kcompletion.h> @@ -167,8 +167,8 @@ protected: // Get it. - const TQMap<KCompletionBase::KeyBindingType,KShortcut> map = *sipCpp; - TQMap<KCompletionBase::KeyBindingType,KShortcut>::ConstIterator it; + const TQMap<KCompletionBase::KeyBindingType,TDEShortcut> map = *sipCpp; + TQMap<KCompletionBase::KeyBindingType,TDEShortcut>::ConstIterator it; PyObject *key; PyObject *value; @@ -176,7 +176,7 @@ protected: for (it = map.begin (); it != map.end (); ++it) { key = PyInt_FromLong ((int) it.key ()); - value = sipConvertFromInstance ((void *)&(it.data ()), sipClass_KShortcut, sipTransferObj); + value = sipConvertFromInstance ((void *)&(it.data ()), sipClass_TDEShortcut, sipTransferObj); if ((value == NULL) || (PyDict_SetItem (dict, key, value) < 0)) { Py_XDECREF (key); @@ -197,16 +197,16 @@ protected: if (sipIsErr == NULL) return PyDict_Check(sipPy); - TQMap<KCompletionBase::KeyBindingType,KShortcut> *kbmap = new TQMap<KCompletionBase::KeyBindingType,KShortcut>; + TQMap<KCompletionBase::KeyBindingType,TDEShortcut> *kbmap = new TQMap<KCompletionBase::KeyBindingType,TDEShortcut>; PyObject *key, *value; SIP_SSIZE_T pos = 0; - KShortcut *cValue; + TDEShortcut *cValue; int iserr; while (PyDict_Next(sipPy, &pos, &key, &value)) { - cValue = (KShortcut *)sipForceConvertToType(value, sipType_KShortcut, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr); + cValue = (TDEShortcut *)sipForceConvertToType(value, sipType_TDEShortcut, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr); if (iserr || !PyInt_Check (key)) { diff --git a/sip/tdecore/kdestyle.sip b/sip/tdecore/kdestyle.sip index 520818c..a528ed2 100644 --- a/sip/tdecore/kdestyle.sip +++ b/sip/tdecore/kdestyle.sip @@ -79,10 +79,10 @@ public: void drawArrow (TQPainter*, TQt::ArrowType, bool, int, int, int, int, const TQColorGroup&, bool = 1, const TQBrush* = 0); void drawSlider (TQPainter*, int, int, int, int, const TQColorGroup&, Orientation, bool, bool); void drawSliderMask (TQPainter*, int, int, int, int, Orientation, bool, bool); - void drawKToolBar (TQPainter*, int, int, int, int, const TQColorGroup&, KToolBarPos, TQBrush* = 0); - void drawKBarHandle (TQPainter*, int, int, int, int, const TQColorGroup&, KToolBarPos, TQBrush* = 0); + void drawTDEToolBar (TQPainter*, int, int, int, int, const TQColorGroup&, TDEToolBarPos, TQBrush* = 0); + void drawKBarHandle (TQPainter*, int, int, int, int, const TQColorGroup&, TDEToolBarPos, TQBrush* = 0); void drawKMenuBar (TQPainter*, int, int, int, int, const TQColorGroup&, bool, TQBrush* = 0); - void drawKToolBarButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 1, bool = 1, bool = 0, KToolButtonType = Icon, const TQString& = TQString::null, const TQPixmap* = 0, TQFont* = 0, TQWidget* = 0); + void drawTDEToolBarButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 1, bool = 1, bool = 0, TDEToolButtonType = Icon, const TQString& = TQString::null, const TQPixmap* = 0, TQFont* = 0, TQWidget* = 0); //ig void drawKMenuItem (TQPainter*, int, int, int, int, const TQColorGroup&, bool, TQMenuItem*, TQBrush* = 0); //ig void drawPopupMenuItem (TQPainter*, bool, int, int, TQMenuItem*, const TQPalette&, bool, bool, int, int, int, int); //ig int popupMenuItemHeight (bool, TQMenuItem*, const TQFontMetrics&); diff --git a/sip/tdecore/kglobalaccel.sip b/sip/tdecore/kglobalaccel.sip index 887d37b..794552f 100644 --- a/sip/tdecore/kglobalaccel.sip +++ b/sip/tdecore/kglobalaccel.sip @@ -35,16 +35,16 @@ public: TDEGlobalAccel (TQObject*, const char* = 0); bool isEnabled (); void setEnabled (bool); - KAccelAction* insert (const TQString&, const TQString&, const TQString&, const KShortcut&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, bool = 1); + TDEAccelAction* insert (const TQString&, const TQString&, const TQString&, const TDEShortcut&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), bool = 1, bool = 1); %If ( KDE_3_1_0 - ) bool remove (const TQString&); %End - KAccelAction* insert (const TQString&, const TQString&); + TDEAccelAction* insert (const TQString&, const TQString&); bool updateConnections (); - const KShortcut& shortcut (const TQString&) const; - bool setShortcut (const TQString&, const KShortcut&); + const TDEShortcut& shortcut (const TQString&) const; + bool setShortcut (const TQString&, const TDEShortcut&); bool setSlot (const TQString&, SIP_RXOBJ_CON, SIP_SLOT_CON ()); %If ( KDE_3_4_0 - ) diff --git a/sip/tdecore/kmanagerselection.sip b/sip/tdecore/kmanagerselection.sip index 765027c..8dad1fa 100644 --- a/sip/tdecore/kmanagerselection.sip +++ b/sip/tdecore/kmanagerselection.sip @@ -26,7 +26,7 @@ %If ( KDE_3_2_0 - ) -class KSelectionOwner : TQObject +class TDESelectionOwner : TQObject { %TypeHeaderCode #include <tqdockwindow.h> @@ -36,8 +36,8 @@ class KSelectionOwner : TQObject public: - KSelectionOwner (Atom, int = -1, TQObject* /TransferThis/ = 0); - KSelectionOwner (const char*, int = -1, TQObject* /TransferThis/ = 0); + TDESelectionOwner (Atom, int = -1, TQObject* /TransferThis/ = 0); + TDESelectionOwner (const char*, int = -1, TQObject* /TransferThis/ = 0); bool claim (bool, bool = 1); void release (); Window ownerWindow () const; @@ -56,14 +56,14 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KSelectionOwner +}; // class TDESelectionOwner %End %If ( KDE_3_2_0 - ) -class KSelectionWatcher : TQObject +class TDESelectionWatcher : TQObject { %TypeHeaderCode #include <tqdockwindow.h> @@ -73,8 +73,8 @@ class KSelectionWatcher : TQObject public: - KSelectionWatcher (Atom, int = -1, TQObject* /TransferThis/ = 0); - KSelectionWatcher (const char*, int = -1, TQObject* /TransferThis/ = 0); + TDESelectionWatcher (Atom, int = -1, TQObject* /TransferThis/ = 0); + TDESelectionWatcher (const char*, int = -1, TQObject* /TransferThis/ = 0); Window owner (); //ig void filterEvent (XEvent*); @@ -85,7 +85,7 @@ signals: protected: //igx virtual void virtual_hook (int, void*); -}; // class KSelectionWatcher +}; // class TDESelectionWatcher %End diff --git a/sip/tdecore/kshortcut.sip b/sip/tdecore/kshortcut.sip index 4f7ca1c..4eb2d03 100644 --- a/sip/tdecore/kshortcut.sip +++ b/sip/tdecore/kshortcut.sip @@ -182,7 +182,7 @@ public: }; // class KKeySequence -class KShortcut +class TDEShortcut { %TypeHeaderCode #include <kshortcut.h> @@ -196,31 +196,31 @@ public: MAX_SEQUENCES }; - KShortcut (); - KShortcut (int); - KShortcut (const TQKeySequence&); - KShortcut (const KKey&); - KShortcut (const KKeySequence&); - KShortcut (const KShortcut&); - KShortcut (const char*); - KShortcut (const TQString&); + TDEShortcut (); + TDEShortcut (int); + TDEShortcut (const TQKeySequence&); + TDEShortcut (const KKey&); + TDEShortcut (const KKeySequence&); + TDEShortcut (const TDEShortcut&); + TDEShortcut (const char*); + TDEShortcut (const TQString&); void clear (); bool init (int); bool init (const TQKeySequence&); bool init (const KKey&); bool init (const KKeySequence&); - bool init (const KShortcut&); + bool init (const TDEShortcut&); bool init (const TQString&); uint count () const; const KKeySequence& seq (uint) const; int keyCodeQt () const; bool isNull () const; - int compare (const KShortcut&) const; + int compare (const TDEShortcut&) const; %If ( KDE_3_1_4 - ) - bool operator == (const KShortcut&) const; - bool operator != (const KShortcut&) const; - bool operator < (const KShortcut&) const; + bool operator == (const TDEShortcut&) const; + bool operator != (const TDEShortcut&) const; + bool operator < (const TDEShortcut&) const; %End bool contains (const KKey&) const; @@ -236,7 +236,7 @@ public: %If ( KDE_3_2_0 - ) bool append (const KKey&); - bool append (const KShortcut&); + bool append (const TDEShortcut&); %End @@ -245,8 +245,8 @@ public: %End TQString toString () const; - TQString toStringInternal (const KShortcut* = 0) const; - static KShortcut& null (); + TQString toStringInternal (const TDEShortcut* = 0) const; + static TDEShortcut& null (); protected: @@ -257,5 +257,5 @@ public: %End -}; // class KShortcut +}; // class TDEShortcut diff --git a/sip/tdecore/kshortcutlist.sip b/sip/tdecore/kshortcutlist.sip index e5eca23..b1fb9bd 100644 --- a/sip/tdecore/kshortcutlist.sip +++ b/sip/tdecore/kshortcutlist.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KShortcutList +class TDEShortcutList { %TypeHeaderCode #include <tdeconfigbase.h> @@ -34,15 +34,15 @@ class KShortcutList public: - KShortcutList (); + TDEShortcutList (); virtual uint count () const = 0; virtual TQString name (uint) const = 0; virtual TQString label (uint) const = 0; virtual TQString whatsThis (uint) const = 0; - virtual const KShortcut& shortcut (uint) const = 0; - virtual const KShortcut& shortcutDefault (uint) const = 0; + virtual const TDEShortcut& shortcut (uint) const = 0; + virtual const TDEShortcut& shortcutDefault (uint) const = 0; virtual bool isConfigurable (uint) const = 0; - virtual bool setShortcut (uint, const KShortcut&) = 0; + virtual bool setShortcut (uint, const TDEShortcut&) = 0; virtual bool isGlobal (uint) const; virtual int index (const TQString&) const; virtual int index (const KKeySequence&) const; @@ -53,8 +53,8 @@ public: }; - virtual TQVariant getOther (KShortcutList::Other, uint) const = 0; - virtual bool setOther (KShortcutList::Other, uint, TQVariant) = 0; + virtual TQVariant getOther (TDEShortcutList::Other, uint) const = 0; + virtual bool setOther (TDEShortcutList::Other, uint, TQVariant) = 0; virtual bool save () const = 0; virtual bool readSettings (const TQString& = TQString ::null , TDEConfigBase* = 0); virtual bool writeSettings (const TQString& = TQString ::null , TDEConfigBase* = 0, bool = 0, bool = 0) const; @@ -62,10 +62,10 @@ public: protected: //igx virtual void virtual_hook (int, void*); -}; // class KShortcutList +}; // class TDEShortcutList -class KAccelShortcutList : KShortcutList +class TDEAccelShortcutList : TDEShortcutList { %TypeHeaderCode #include <tdeconfigbase.h> @@ -75,20 +75,20 @@ class KAccelShortcutList : KShortcutList public: - KAccelShortcutList (KAccel*); - KAccelShortcutList (TDEGlobalAccel*); - KAccelShortcutList (KAccelActions&, bool); + TDEAccelShortcutList (TDEAccel*); + TDEAccelShortcutList (TDEGlobalAccel*); + TDEAccelShortcutList (TDEAccelActions&, bool); virtual uint count () const; virtual TQString name (uint) const; virtual TQString label (uint) const; virtual TQString whatsThis (uint) const; - virtual const KShortcut& shortcut (uint) const; - virtual const KShortcut& shortcutDefault (uint) const; + virtual const TDEShortcut& shortcut (uint) const; + virtual const TDEShortcut& shortcutDefault (uint) const; virtual bool isConfigurable (uint) const; - virtual bool setShortcut (uint, const KShortcut&); + virtual bool setShortcut (uint, const TDEShortcut&); virtual bool isGlobal (uint) const; - virtual TQVariant getOther (KShortcutList::Other, uint) const; - virtual bool setOther (KShortcutList::Other, uint, TQVariant); + virtual TQVariant getOther (TDEShortcutList::Other, uint) const; + virtual bool setOther (TDEShortcutList::Other, uint, TQVariant); virtual bool save () const; protected: @@ -96,12 +96,12 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KAccelShortcutList +}; // class TDEAccelShortcutList -namespace KStdAccel +namespace TDEStdAccel { -class ShortcutList : KShortcutList +class ShortcutList : TDEShortcutList { %TypeHeaderCode #include <tdeconfigbase.h> @@ -116,12 +116,12 @@ public: virtual TQString name (uint) const; virtual TQString label (uint) const; virtual TQString whatsThis (uint) const; - virtual const KShortcut& shortcut (uint) const; - virtual const KShortcut& shortcutDefault (uint) const; + virtual const TDEShortcut& shortcut (uint) const; + virtual const TDEShortcut& shortcutDefault (uint) const; virtual bool isConfigurable (uint) const; - virtual bool setShortcut (uint, const KShortcut&); - virtual TQVariant getOther (KShortcutList::Other, uint) const; - virtual bool setOther (KShortcutList::Other, uint, TQVariant); + virtual bool setShortcut (uint, const TDEShortcut&); + virtual TQVariant getOther (TDEShortcutList::Other, uint) const; + virtual bool setOther (TDEShortcutList::Other, uint, TQVariant); virtual bool save () const; protected: @@ -129,5 +129,5 @@ protected: }; // class ShortcutList -}; // namespace KStdAccel +}; // namespace TDEStdAccel diff --git a/sip/tdecore/kstdaccel.sip b/sip/tdecore/kstdaccel.sip index c32d1fb..2af5526 100644 --- a/sip/tdecore/kstdaccel.sip +++ b/sip/tdecore/kstdaccel.sip @@ -27,7 +27,7 @@ #include <kstdaccel.h> %End -namespace KStdAccel +namespace TDEStdAccel { %If ( KDE_3_4_0 - ) @@ -89,83 +89,83 @@ enum StdAccel %End -const KShortcut& shortcut (KStdAccel::StdAccel); -TQString name (KStdAccel::StdAccel); -TQString label (KStdAccel::StdAccel); -TQString whatsThis (KStdAccel::StdAccel); -KStdAccel::StdAccel findStdAccel (const KKeySequence&); -KShortcut shortcutDefault (KStdAccel::StdAccel); -KShortcut shortcutDefault3 (KStdAccel::StdAccel); -KShortcut shortcutDefault4 (KStdAccel::StdAccel); -const KShortcut& open (); -const KShortcut& openNew (); -const KShortcut& close (); -const KShortcut& save (); -const KShortcut& print () /PyName=print_/; -const KShortcut& quit (); -const KShortcut& undo (); -const KShortcut& redo (); -const KShortcut& cut (); -const KShortcut& copy (); -const KShortcut& paste (); +const TDEShortcut& shortcut (TDEStdAccel::StdAccel); +TQString name (TDEStdAccel::StdAccel); +TQString label (TDEStdAccel::StdAccel); +TQString whatsThis (TDEStdAccel::StdAccel); +TDEStdAccel::StdAccel findStdAccel (const KKeySequence&); +TDEShortcut shortcutDefault (TDEStdAccel::StdAccel); +TDEShortcut shortcutDefault3 (TDEStdAccel::StdAccel); +TDEShortcut shortcutDefault4 (TDEStdAccel::StdAccel); +const TDEShortcut& open (); +const TDEShortcut& openNew (); +const TDEShortcut& close (); +const TDEShortcut& save (); +const TDEShortcut& print () /PyName=print_/; +const TDEShortcut& quit (); +const TDEShortcut& undo (); +const TDEShortcut& redo (); +const TDEShortcut& cut (); +const TDEShortcut& copy (); +const TDEShortcut& paste (); %If ( KDE_3_4_0 - ) -const KShortcut& pasteSelection (); +const TDEShortcut& pasteSelection (); %End -const KShortcut& selectAll (); -const KShortcut& deleteWordBack (); -const KShortcut& deleteWordForward (); -const KShortcut& find (); -const KShortcut& findNext (); -const KShortcut& findPrev (); -const KShortcut& replace (); -const KShortcut& zoomIn (); -const KShortcut& zoomOut (); -//ig const KShortcut& insert (); -const KShortcut& home (); -const KShortcut& end (); +const TDEShortcut& selectAll (); +const TDEShortcut& deleteWordBack (); +const TDEShortcut& deleteWordForward (); +const TDEShortcut& find (); +const TDEShortcut& findNext (); +const TDEShortcut& findPrev (); +const TDEShortcut& replace (); +const TDEShortcut& zoomIn (); +const TDEShortcut& zoomOut (); +//ig const TDEShortcut& insert (); +const TDEShortcut& home (); +const TDEShortcut& end (); %If ( KDE_3_3_0 - ) -const KShortcut& beginningOfLine (); -const KShortcut& endOfLine (); +const TDEShortcut& beginningOfLine (); +const TDEShortcut& endOfLine (); %End -const KShortcut& prior (); -const KShortcut& next (); -const KShortcut& gotoLine (); -const KShortcut& addBookmark (); +const TDEShortcut& prior (); +const TDEShortcut& next (); +const TDEShortcut& gotoLine (); +const TDEShortcut& addBookmark (); %If ( KDE_3_2_0 - ) -const KShortcut& tabNext (); -const KShortcut& tabPrev (); -const KShortcut& fullScreen (); +const TDEShortcut& tabNext (); +const TDEShortcut& tabPrev (); +const TDEShortcut& fullScreen (); %End -const KShortcut& help (); -const KShortcut& completion (); -const KShortcut& prevCompletion (); -const KShortcut& nextCompletion (); -const KShortcut& substringCompletion (); -const KShortcut& rotateUp (); -const KShortcut& rotateDown (); -const KShortcut& popupMenuContext (); -const KShortcut& whatsThis (); -const KShortcut& reload (); -const KShortcut& up (); -const KShortcut& back (); -const KShortcut& forward (); +const TDEShortcut& help (); +const TDEShortcut& completion (); +const TDEShortcut& prevCompletion (); +const TDEShortcut& nextCompletion (); +const TDEShortcut& substringCompletion (); +const TDEShortcut& rotateUp (); +const TDEShortcut& rotateDown (); +const TDEShortcut& popupMenuContext (); +const TDEShortcut& whatsThis (); +const TDEShortcut& reload (); +const TDEShortcut& up (); +const TDEShortcut& back (); +const TDEShortcut& forward (); %If ( KDE_3_3_0 - ) -const KShortcut& backwardWord (); -const KShortcut& forwardWord (); +const TDEShortcut& backwardWord (); +const TDEShortcut& forwardWord (); %End -const KShortcut& showMenubar (); -TQString action (KStdAccel::StdAccel); -TQString description (KStdAccel::StdAccel); -int key (KStdAccel::StdAccel); -int defaultKey (KStdAccel::StdAccel); +const TDEShortcut& showMenubar (); +TQString action (TDEStdAccel::StdAccel); +TQString description (TDEStdAccel::StdAccel); +int key (TDEStdAccel::StdAccel); +int defaultKey (TDEStdAccel::StdAccel); bool isEqual (const TQKeyEvent*, int); %If ( KDE_3_3_0 - KDE_3_4_0 ) @@ -437,5 +437,5 @@ enum StdAccel %End -}; // namespace KStdAccel +}; // namespace TDEStdAccel diff --git a/sip/tdefile/kcombiview.sip b/sip/tdefile/kcombiview.sip index e78209d..ab0f8a0 100644 --- a/sip/tdefile/kcombiview.sip +++ b/sip/tdefile/kcombiview.sip @@ -63,7 +63,7 @@ public: void ensureItemVisible (const KFileItem*); %If ( KDE_3_1_0 - ) - virtual KActionCollection* actionCollection () const; + virtual TDEActionCollection* actionCollection () const; %If ( KDE_3_2_0 - ) virtual void setAcceptDrops (bool); diff --git a/sip/tdefile/kdiroperator.sip b/sip/tdefile/kdiroperator.sip index 4fa74b2..e306b8c 100644 --- a/sip/tdefile/kdiroperator.sip +++ b/sip/tdefile/kdiroperator.sip @@ -85,7 +85,7 @@ public: int numFiles () const; KCompletion* completionObject () const; KCompletion* dirCompletionObject () const; - KActionCollection* actionCollection () const; + TDEActionCollection* actionCollection () const; %If ( KDE_3_1_0 - ) void setViewConfig (TDEConfig*, const TQString&); @@ -155,7 +155,7 @@ public slots: TQString makeDirCompletion (const TQString&); %If ( KDE_3_4_0 - ) - void trashSelected (KAction::ActivationReason, TQt::ButtonState); + void trashSelected (TDEAction::ActivationReason, TQt::ButtonState); %End diff --git a/sip/tdefile/knotifydialog.sip b/sip/tdefile/knotifydialog.sip index 4f20a13..eabcd84 100644 --- a/sip/tdefile/knotifydialog.sip +++ b/sip/tdefile/knotifydialog.sip @@ -152,7 +152,7 @@ class KNotifyWidget : KNotifyWidgetBase public: KNotifyWidget (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0); - KListView* eventsView (); + TDEListView* eventsView (); void addVisibleApp (KNotify::Application*); KNotify::Application* addApplicationEvents (const TQString&); void resetDefaults (bool); diff --git a/sip/tdefile/knotifywidgetbase.sip b/sip/tdefile/knotifywidgetbase.sip index d5ec44d..505c7fa 100644 --- a/sip/tdefile/knotifywidgetbase.sip +++ b/sip/tdefile/knotifywidgetbase.sip @@ -35,7 +35,7 @@ class KNotifyWidgetBase : TQWidget public: KNotifyWidgetBase (TQWidget*/TransferThis/ = 0, const char* = 0, WFlags = 0); - KListView* m_listview; + TDEListView* m_listview; TQGroupBox* m_actionsBox; KURLRequester* m_logfilePath; KURLRequester* m_soundPath; diff --git a/sip/tdefile/kopenwith.sip b/sip/tdefile/kopenwith.sip index a85e671..80618f2 100644 --- a/sip/tdefile/kopenwith.sip +++ b/sip/tdefile/kopenwith.sip @@ -101,7 +101,7 @@ protected: void init (const TQPixmap&, bool, bool, TQString, TQString); public: - KAppTreeListItem (KListView* /TransferThis/, const TQString&, const TQPixmap&, bool, bool, TQString, TQString); + KAppTreeListItem (TDEListView* /TransferThis/, const TQString&, const TQPixmap&, bool, bool, TQString, TQString); KAppTreeListItem (TQListViewItem* /TransferThis/, const TQString&, const TQPixmap&, bool, bool, TQString, TQString); bool isDirectory (); @@ -116,7 +116,7 @@ protected: %If ( - KDE_3_1_0 ) -class TDEApplicationTree : KListView +class TDEApplicationTree : TDEListView { %TypeHeaderCode #include <kopenwith.h> diff --git a/sip/tdefile/krecentdirs.sip b/sip/tdefile/krecentdirs.sip index ef79698..3022abd 100644 --- a/sip/tdefile/krecentdirs.sip +++ b/sip/tdefile/krecentdirs.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KRecentDirs +class TDERecentDirs { %TypeHeaderCode #include <krecentdirs.h> @@ -36,5 +36,5 @@ public: static TQString dir (const TQString&); static void add (const TQString&, const TQString&); -}; // class KRecentDirs +}; // class TDERecentDirs diff --git a/sip/tdefile/krecentdocument.sip b/sip/tdefile/krecentdocument.sip index c81a337..b8d1169 100644 --- a/sip/tdefile/krecentdocument.sip +++ b/sip/tdefile/krecentdocument.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KRecentDocument +class TDERecentDocument { %TypeHeaderCode #include <krecentdocument.h> @@ -40,5 +40,5 @@ public: static int maximumItems (); static TQString recentDocumentDirectory (); -}; // class KRecentDocument +}; // class TDERecentDocument diff --git a/sip/tdefile/kurlbar.sip b/sip/tdefile/kurlbar.sip index cbfc1c4..253a07b 100644 --- a/sip/tdefile/kurlbar.sip +++ b/sip/tdefile/kurlbar.sip @@ -148,7 +148,7 @@ protected: }; // class KURLBar -class KURLBarListBox : KListBox +class KURLBarListBox : TDEListBox { %TypeHeaderCode #include <kurlbar.h> diff --git a/sip/tdefile/tdefiledetailview.sip b/sip/tdefile/tdefiledetailview.sip index a75da9d..8453f86 100644 --- a/sip/tdefile/tdefiledetailview.sip +++ b/sip/tdefile/tdefiledetailview.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KFileListViewItem : KListViewItem +class KFileListViewItem : TDEListViewItem { %TypeHeaderCode #include <tdefiledetailview.h> @@ -52,7 +52,7 @@ public: }; // class KFileListViewItem -class KFileDetailView : KListView, KFileView +class KFileDetailView : TDEListView, KFileView { %TypeHeaderCode #include <tdefiledetailview.h> diff --git a/sip/tdefile/tdefiledialog.sip b/sip/tdefile/tdefiledialog.sip index c7142ee..c92585f 100644 --- a/sip/tdefile/tdefiledialog.sip +++ b/sip/tdefile/tdefiledialog.sip @@ -94,7 +94,7 @@ public: void setMode (uint); KFile::Mode mode () const; void setLocationLabel (const TQString&); - KToolBar* toolBar () const; + TDEToolBar* toolBar () const; KPushButton* okButton () const; KPushButton* cancelButton () const; @@ -102,7 +102,7 @@ public: KURLBar* speedBar (); %End - KActionCollection* actionCollection () const; + TDEActionCollection* actionCollection () const; %If ( KDE_3_1_0 - ) int pathComboIndex (); diff --git a/sip/tdefile/tdefilepreview.sip b/sip/tdefile/tdefilepreview.sip index d9301df..a77ea26 100644 --- a/sip/tdefile/tdefilepreview.sip +++ b/sip/tdefile/tdefilepreview.sip @@ -62,7 +62,7 @@ public: virtual void writeConfig (TDEConfig*, const TQString& = TQString ::null ); %End - virtual KActionCollection* actionCollection () const; + virtual TDEActionCollection* actionCollection () const; void ensureItemVisible (const KFileItem*); void setPreviewWidget (const TQWidget*, const KURL&); diff --git a/sip/tdefile/tdefiletreeview.sip b/sip/tdefile/tdefiletreeview.sip index 50296f5..80fceca 100644 --- a/sip/tdefile/tdefiletreeview.sip +++ b/sip/tdefile/tdefiletreeview.sip @@ -40,7 +40,7 @@ protected: }; // class KFileTreeViewToolTip -class KFileTreeView : KListView +class KFileTreeView : TDEListView { %TypeHeaderCode #include <tdefiletreeview.h> diff --git a/sip/tdefile/tdefiletreeviewitem.sip b/sip/tdefile/tdefiletreeviewitem.sip index ed330b2..7a2c7c1 100644 --- a/sip/tdefile/tdefiletreeviewitem.sip +++ b/sip/tdefile/tdefiletreeviewitem.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KFileTreeViewItem : KListViewItem +class KFileTreeViewItem : TDEListViewItem { %TypeHeaderCode #include <tdefiletreeviewitem.h> diff --git a/sip/tdefile/tdefileview.sip b/sip/tdefile/tdefileview.sip index 43b935f..a0feaf8 100644 --- a/sip/tdefile/tdefileview.sip +++ b/sip/tdefile/tdefileview.sip @@ -115,7 +115,7 @@ public: void setOnlyDoubleClickSelectsFiles (bool); bool onlyDoubleClickSelectsFiles () const; bool updateNumbers (const KFileItem*); - virtual KActionCollection* actionCollection () const; + virtual TDEActionCollection* actionCollection () const; KFileViewSignaler* signaler () const; virtual void readConfig (TDEConfig*, const TQString& = TQString ::null ); virtual void writeConfig (TDEConfig*, const TQString& = TQString ::null ); diff --git a/sip/tdemdi/tdemditaskbar.sip b/sip/tdemdi/tdemditaskbar.sip index bd54d7f..d68bfc4 100644 --- a/sip/tdemdi/tdemditaskbar.sip +++ b/sip/tdemdi/tdemditaskbar.sip @@ -57,7 +57,7 @@ protected: }; // class KMdiTaskBarButton -class KMdiTaskBar : KToolBar +class KMdiTaskBar : TDEToolBar { %TypeHeaderCode #include <tdemditaskbar.h> diff --git a/sip/tdeparts/mainwindow.sip b/sip/tdeparts/mainwindow.sip index 9fc9758..02c3512 100644 --- a/sip/tdeparts/mainwindow.sip +++ b/sip/tdeparts/mainwindow.sip @@ -26,7 +26,7 @@ namespace KParts { -class MainWindow : KMainWindow, KParts::PartBase +class MainWindow : TDEMainWindow, KParts::PartBase { %TypeHeaderCode #include <mainwindow.h> diff --git a/sip/tdeprint/kmjobmanager.sip b/sip/tdeprint/kmjobmanager.sip index c02829b..8382303 100644 --- a/sip/tdeprint/kmjobmanager.sip +++ b/sip/tdeprint/kmjobmanager.sip @@ -77,8 +77,8 @@ public: void addJob (KMJob*); //ig KMThreadJob* threadJob (); virtual int actions (); - virtual TQValueList<KAction*> createPluginActions (KActionCollection*); - virtual void validatePluginActions (KActionCollection*, const TQPtrList<KMJob>&); + virtual TQValueList<TDEAction*> createPluginActions (TDEActionCollection*); + virtual void validatePluginActions (TDEActionCollection*, const TQPtrList<KMJob>&); virtual bool doPluginAction (int, const TQPtrList<KMJob>&); protected: diff --git a/sip/tdeprint/kmmanager.sip b/sip/tdeprint/kmmanager.sip index cf908c2..5fc4b94 100644 --- a/sip/tdeprint/kmmanager.sip +++ b/sip/tdeprint/kmmanager.sip @@ -100,8 +100,8 @@ public: virtual bool restartServer (); virtual bool configureServer (TQWidget* /Transfer/ = 0); virtual TQStringList detectLocalPrinters (); - virtual void createPluginActions (KActionCollection*); - virtual void validatePluginActions (KActionCollection*, KMPrinter*); + virtual void createPluginActions (TDEActionCollection*); + virtual void validatePluginActions (TDEActionCollection*, KMPrinter*); %If ( KDE_3_1_0 - ) void checkUpdatePossible (); diff --git a/sip/tdeprint/kprintaction.sip b/sip/tdeprint/kprintaction.sip index 851f4e7..03799e1 100644 --- a/sip/tdeprint/kprintaction.sip +++ b/sip/tdeprint/kprintaction.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KPrintAction : KActionMenu +class KPrintAction : TDEActionMenu { %TypeHeaderCode #include <kprintaction.h> diff --git a/sip/tdeui/kaboutapplication.sip b/sip/tdeui/kaboutapplication.sip index b5fe91c..b00ba76 100644 --- a/sip/tdeui/kaboutapplication.sip +++ b/sip/tdeui/kaboutapplication.sip @@ -50,10 +50,10 @@ protected: {sipName_KAboutDialog, &sipClass_KAboutDialog}, {sipName_KAboutKDE, &sipClass_KAboutKDE}, {sipName_KAboutWidget, &sipClass_KAboutWidget}, - {sipName_KAction, &sipClass_KAction}, - {sipName_KActionCollection, &sipClass_KActionCollection}, - {sipName_KActionMenu, &sipClass_KActionMenu}, - {sipName_KActionSeparator, &sipClass_KActionSeparator}, + {sipName_TDEAction, &sipClass_TDEAction}, + {sipName_TDEActionCollection, &sipClass_TDEActionCollection}, + {sipName_TDEActionMenu, &sipClass_TDEActionMenu}, + {sipName_TDEActionSeparator, &sipClass_TDEActionSeparator}, {sipName_KActiveLabel, &sipClass_KActiveLabel}, {sipName_KAnimWidget, &sipClass_KAnimWidget}, {sipName_KArrowButton, &sipClass_KArrowButton}, @@ -110,11 +110,11 @@ protected: {sipName_KEditToolbar, &sipClass_KEditToolbar}, {sipName_KEditToolbarWidget, &sipClass_KEditToolbarWidget}, {sipName_KFloatValidator, &sipClass_KFloatValidator}, - {sipName_KFontAction, &sipClass_KFontAction}, - {sipName_KFontChooser, &sipClass_KFontChooser}, - {sipName_KFontCombo, &sipClass_KFontCombo}, - {sipName_KFontDialog, &sipClass_KFontDialog}, - {sipName_KFontSizeAction, &sipClass_KFontSizeAction}, + {sipName_TDEFontAction, &sipClass_TDEFontAction}, + {sipName_TDEFontChooser, &sipClass_TDEFontChooser}, + {sipName_TDEFontCombo, &sipClass_TDEFontCombo}, + {sipName_TDEFontDialog, &sipClass_TDEFontDialog}, + {sipName_TDEFontSizeAction, &sipClass_TDEFontSizeAction}, {sipName_KGradientSelector, &sipClass_KGradientSelector}, {sipName_KHSSelector, &sipClass_KHSSelector}, {sipName_KHelpMenu, &sipClass_KHelpMenu}, @@ -129,10 +129,10 @@ protected: {sipName_KLed, &sipClass_KLed}, {sipName_KLineEdit, &sipClass_KLineEdit}, {sipName_KLineEditDlg, &sipClass_KLineEditDlg}, - {sipName_KListAction, &sipClass_KListAction}, - {sipName_KListBox, &sipClass_KListBox}, - {sipName_KListView, &sipClass_KListView}, - {sipName_KMainWindow, &sipClass_KMainWindow}, + {sipName_TDEListAction, &sipClass_TDEListAction}, + {sipName_TDEListBox, &sipClass_TDEListBox}, + {sipName_TDEListView, &sipClass_TDEListView}, + {sipName_TDEMainWindow, &sipClass_TDEMainWindow}, {sipName_KMenuBar, &sipClass_KMenuBar}, {sipName_KMimeTypeValidator, &sipClass_KMimeTypeValidator}, {sipName_KNumInput, &sipClass_KNumInput}, @@ -146,20 +146,20 @@ protected: #endif {sipName_KPasswordDialog, &sipClass_KPasswordDialog}, {sipName_KPasswordEdit, &sipClass_KPasswordEdit}, - {sipName_KPopupFrame, &sipClass_KPopupFrame}, - {sipName_KPopupMenu, &sipClass_KPopupMenu}, - {sipName_KPopupTitle, &sipClass_KPopupTitle}, + {sipName_TDEPopupFrame, &sipClass_TDEPopupFrame}, + {sipName_TDEPopupMenu, &sipClass_TDEPopupMenu}, + {sipName_TDEPopupTitle, &sipClass_TDEPopupTitle}, {sipName_KProgress, &sipClass_KProgress}, {sipName_KProgressDialog, &sipClass_KProgressDialog}, {sipName_KPushButton, &sipClass_KPushButton}, - {sipName_KRadioAction, &sipClass_KRadioAction}, - {sipName_KRecentFilesAction, &sipClass_KRecentFilesAction}, + {sipName_TDERadioAction, &sipClass_TDERadioAction}, + {sipName_TDERecentFilesAction, &sipClass_TDERecentFilesAction}, {sipName_KRestrictedLine, &sipClass_KRestrictedLine}, {sipName_KRootPermsIcon, &sipClass_KRootPermsIcon}, {sipName_KRootPixmap, &sipClass_KRootPixmap}, {sipName_KRuler, &sipClass_KRuler}, - {sipName_KSelectAction, &sipClass_KSelectAction}, - {sipName_KSelector, &sipClass_KSelector}, + {sipName_TDESelectAction, &sipClass_TDESelectAction}, + {sipName_TDESelector, &sipClass_TDESelector}, {sipName_KSeparator, &sipClass_KSeparator}, // {sipName_TDESharedPixmap, &sipClass_TDESharedPixmap}, {sipName_KSqueezedTextLabel, &sipClass_KSqueezedTextLabel}, @@ -173,15 +173,15 @@ protected: {sipName_KTextEdit, &sipClass_KTextEdit}, #endif {sipName_KTipDialog, &sipClass_KTipDialog}, - {sipName_KToggleAction, &sipClass_KToggleAction}, + {sipName_TDEToggleAction, &sipClass_TDEToggleAction}, #if TDE_VERSION >= 0x030100 - {sipName_KToggleToolBarAction, &sipClass_KToggleToolBarAction}, + {sipName_TDEToggleToolBarAction, &sipClass_TDEToggleToolBarAction}, #endif - {sipName_KToolBar, &sipClass_KToolBar}, - {sipName_KToolBarButton, &sipClass_KToolBarButton}, - {sipName_KToolBarPopupAction, &sipClass_KToolBarPopupAction}, - {sipName_KToolBarRadioGroup, &sipClass_KToolBarRadioGroup}, - {sipName_KToolBarSeparator, &sipClass_KToolBarSeparator}, + {sipName_TDEToolBar, &sipClass_TDEToolBar}, + {sipName_TDEToolBarButton, &sipClass_TDEToolBarButton}, + {sipName_TDEToolBarPopupAction, &sipClass_TDEToolBarPopupAction}, + {sipName_TDEToolBarRadioGroup, &sipClass_TDEToolBarRadioGroup}, + {sipName_TDEToolBarSeparator, &sipClass_TDEToolBarSeparator}, {sipName_KURLLabel, &sipClass_KURLLabel}, {sipName_KValueSelector, &sipClass_KValueSelector}, #if TDE_VERSION >= 0x030100 diff --git a/sip/tdeui/kaccelmanager.sip b/sip/tdeui/kaccelmanager.sip index ce6c496..183f3d9 100644 --- a/sip/tdeui/kaccelmanager.sip +++ b/sip/tdeui/kaccelmanager.sip @@ -26,7 +26,7 @@ %If ( KDE_3_1_0 - ) -class KAcceleratorManager +class TDEAcceleratorManager { %TypeHeaderCode #include <kaccelmanager.h> @@ -37,7 +37,7 @@ public: static void manage (TQWidget*); static void manage (TQWidget*, bool); -}; // class KAcceleratorManager +}; // class TDEAcceleratorManager %End diff --git a/sip/tdeui/kaccelmenu.sip b/sip/tdeui/kaccelmenu.sip index 110632c..6477619 100644 --- a/sip/tdeui/kaccelmenu.sip +++ b/sip/tdeui/kaccelmenu.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KAccelMenu : KPopupMenu +class TDEAccelMenu : TDEPopupMenu { %TypeHeaderCode #include <kaccel.h> @@ -34,11 +34,11 @@ class KAccelMenu : KPopupMenu public: - KAccelMenu (KAccel*, TQWidget*/TransferThis/ = 0, const char* = 0); + TDEAccelMenu (TDEAccel*, TQWidget*/TransferThis/ = 0, const char* = 0); int insItem (const TQPixmap&, const char*, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), const char* = 0); int insItem (const char*, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), const char* = 0); - int insItem (const TQPixmap&, const char*, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), KStdAccel::StdAccel); - int insItem (const char*, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), KStdAccel::StdAccel); + int insItem (const TQPixmap&, const char*, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), TDEStdAccel::StdAccel); + int insItem (const char*, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), TDEStdAccel::StdAccel); protected: char* stripAnd (const char*); @@ -49,5 +49,5 @@ protected slots: void highl (int); void aboutTS (); -}; // class KAccelMenu +}; // class TDEAccelMenu diff --git a/sip/tdeui/kaction.sip b/sip/tdeui/kaction.sip index 14e8390..ff1d452 100644 --- a/sip/tdeui/kaction.sip +++ b/sip/tdeui/kaction.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KAction : TQObject +class TDEAction : TQObject { %TypeHeaderCode #include <kaction.h> @@ -32,19 +32,19 @@ class KAction : TQObject public: - KAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - KAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - KAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - KAction (const KGuiItem&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); - KAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDEAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /TransferThis/, const char*); + TDEAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /TransferThis/, const char*); + TDEAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /TransferThis/, const char*); + TDEAction (const KGuiItem&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /TransferThis/, const char*); + TDEAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEAction (TQObject* /TransferThis/ = 0, const char* = 0); virtual int plug (TQWidget*, int = -1); - virtual void plugAccel (KAccel*, bool = 1); + virtual void plugAccel (TDEAccel*, bool = 1); virtual void unplug (TQWidget*); virtual void unplugAccel (); virtual bool isPlugged () const; @@ -68,8 +68,8 @@ public: bool hasIconSet () const; virtual TQString plainText () const; virtual TQString text () const; - virtual const KShortcut& shortcut () const; - virtual const KShortcut& shortcutDefault () const; + virtual const TDEShortcut& shortcut () const; + virtual const TDEShortcut& shortcutDefault () const; TQString shortcutText () const; void setShortcutText (const TQString&); virtual bool isEnabled () const; @@ -80,7 +80,7 @@ public: virtual TQIconSet iconSet (KIcon::Group, int = 0) const; TQIconSet iconSet () const; virtual TQString icon () const; - KActionCollection* parentCollection () const; + TDEActionCollection* parentCollection () const; static int getToolButtonID (); void unplugAll (); @@ -100,7 +100,7 @@ public: public slots: virtual void setText (const TQString&); - virtual bool setShortcut (const KShortcut&); + virtual bool setShortcut (const TDEShortcut&); virtual void setGroup (const TQString&); virtual void setWhatsThis (const TQString&); virtual void setToolTip (const TQString&); @@ -127,7 +127,7 @@ protected slots: protected: - KToolBar* toolBar (int) const; + TDEToolBar* toolBar (int) const; TQPopupMenu* popupMenu (int) const; void removeContainer (int); int findContainer (const TQWidget*) const; @@ -163,7 +163,7 @@ signals: void activated (); %If ( KDE_3_4_0 - ) - void activated (KAction::ActivationReason, TQt::ButtonState); + void activated (TDEAction::ActivationReason, TQt::ButtonState); %End void enabled (bool); @@ -178,12 +178,12 @@ public: protected: //igx virtual void virtual_hook (int, void*); -}; // class KAction +}; // class TDEAction %If ( - KDE_3_2_0 ) -class KToggleAction : KAction +class TDEToggleAction : TDEAction { %TypeHeaderCode #include <kaction.h> @@ -191,13 +191,13 @@ class KToggleAction : KAction public: - KToggleAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KToggleAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KToggleAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KToggleAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDEToggleAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEToggleAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEToggleAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEToggleAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEToggleAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEToggleAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEToggleAction (TQObject* /TransferThis/ = 0, const char* = 0); virtual int plug (TQWidget*, int = -1); bool isChecked () const; TQString exclusiveGroup () const; @@ -218,14 +218,14 @@ signals: protected: //igx virtual void virtual_hook (int, void*); -}; // class KToggleAction +}; // class TDEToggleAction %End %If ( - KDE_3_2_0 ) -class KRadioAction : KToggleAction +class TDERadioAction : TDEToggleAction { %TypeHeaderCode #include <kaction.h> @@ -233,13 +233,13 @@ class KRadioAction : KToggleAction public: - KRadioAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KRadioAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KRadioAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KRadioAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDERadioAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDERadioAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDERadioAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDERadioAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDERadioAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDERadioAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDERadioAction (TQObject* /TransferThis/ = 0, const char* = 0); protected: virtual void slotActivated (); @@ -247,14 +247,14 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KRadioAction +}; // class TDERadioAction %End %If ( - KDE_3_2_0 ) -class KSelectAction : KAction +class TDESelectAction : TDEAction { %TypeHeaderCode #include <kaction.h> @@ -262,13 +262,13 @@ class KSelectAction : KAction public: - KSelectAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KSelectAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KSelectAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KSelectAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDESelectAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDESelectAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDESelectAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDESelectAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDESelectAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDESelectAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDESelectAction (TQObject* /TransferThis/ = 0, const char* = 0); virtual int plug (TQWidget*, int = -1); virtual bool isEditable () const; virtual TQStringList items () const; @@ -319,14 +319,14 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KSelectAction +}; // class TDESelectAction %End %If ( - KDE_3_2_0 ) -class KListAction : KSelectAction +class TDEListAction : TDESelectAction { %TypeHeaderCode #include <kaction.h> @@ -334,13 +334,13 @@ class KListAction : KSelectAction public: - KListAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KListAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KListAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KListAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KListAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KListAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KListAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDEListAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEListAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEListAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEListAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEListAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEListAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEListAction (TQObject* /TransferThis/ = 0, const char* = 0); virtual TQString currentText () const; virtual int currentItem () const; @@ -350,14 +350,14 @@ public slots: protected: //igx virtual void virtual_hook (int, void*); -}; // class KListAction +}; // class TDEListAction %End %If ( - KDE_3_2_0 ) -class KRecentFilesAction : KListAction +class TDERecentFilesAction : TDEListAction { %TypeHeaderCode #include <kaction.h> @@ -365,13 +365,13 @@ class KRecentFilesAction : KListAction public: - KRecentFilesAction (const TQString&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const TQString&, const TQIconSet&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const TQString&, const TQString&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (TQObject* /TransferThis/ = 0, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TDEShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TQIconSet&, const TDEShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TQString&, const TDEShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (TQObject* /TransferThis/ = 0, const char* = 0, uint = 10); uint maxItems () const; public slots: @@ -393,14 +393,14 @@ protected slots: protected: //igx virtual void virtual_hook (int, void*); -}; // class KRecentFilesAction +}; // class TDERecentFilesAction %End %If ( - KDE_3_2_0 ) -class KFontAction : KSelectAction +class TDEFontAction : TDESelectAction { %TypeHeaderCode #include <kaction.h> @@ -408,13 +408,13 @@ class KFontAction : KSelectAction public: - KFontAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KFontAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KFontAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KFontAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontAction (TQObject* /TransferThis/ = 0, const char* = 0); TQString font () const; int plug (TQWidget*, int = -1); @@ -424,14 +424,14 @@ public slots: protected: //igx virtual void virtual_hook (int, void*); -}; // class KFontAction +}; // class TDEFontAction %End %If ( - KDE_3_2_0 ) -class KFontSizeAction : KSelectAction +class TDEFontSizeAction : TDESelectAction { %TypeHeaderCode #include <kaction.h> @@ -439,13 +439,13 @@ class KFontSizeAction : KSelectAction public: - KFontSizeAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KFontSizeAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KFontSizeAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KFontSizeAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontSizeAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontSizeAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontSizeAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontSizeAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontSizeAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontSizeAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontSizeAction (TQObject* /TransferThis/ = 0, const char* = 0); virtual int fontSize () const; public slots: @@ -462,14 +462,14 @@ signals: protected: //igx virtual void virtual_hook (int, void*); -}; // class KFontSizeAction +}; // class TDEFontSizeAction %End %If ( - KDE_3_2_0 ) -class KActionMenu : KAction +class TDEActionMenu : TDEAction { %TypeHeaderCode #include <kaction.h> @@ -477,13 +477,13 @@ class KActionMenu : KAction public: - KActionMenu (const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (const TQString&, const TQIconSet&, TQObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (const TQString&, const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (TQObject* /TransferThis/ = 0, const char* = 0); - virtual void insert (KAction*, int = -1); - virtual void remove (KAction*); - KPopupMenu* popupMenu (); + TDEActionMenu (const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); + TDEActionMenu (const TQString&, const TQIconSet&, TQObject* /TransferThis/ = 0, const char* = 0); + TDEActionMenu (const TQString&, const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); + TDEActionMenu (TQObject* /TransferThis/ = 0, const char* = 0); + virtual void insert (TDEAction*, int = -1); + virtual void remove (TDEAction*); + TDEPopupMenu* popupMenu (); void popup (const TQPoint&); bool delayed () const; void setDelayed (bool); @@ -494,14 +494,14 @@ public: protected: //igx virtual void virtual_hook (int, void*); -}; // class KActionMenu +}; // class TDEActionMenu %End %If ( - KDE_3_2_0 ) -class KToolBarPopupAction : KAction +class TDEToolBarPopupAction : TDEAction { %TypeHeaderCode #include <kaction.h> @@ -509,11 +509,11 @@ class KToolBarPopupAction : KAction public: - KToolBarPopupAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KToolBarPopupAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/ = 0, const char* = 0); - KToolBarPopupAction (const KGuiItem&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); + TDEToolBarPopupAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEToolBarPopupAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEToolBarPopupAction (const KGuiItem&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /TransferThis/, const char*); virtual int plug (TQWidget*, int = -1); - KPopupMenu* popupMenu (); + TDEPopupMenu* popupMenu (); bool delayed () const; void setDelayed (bool); bool stickyMenu () const; @@ -522,14 +522,14 @@ public: protected: //igx virtual void virtual_hook (int, void*); -}; // class KToolBarPopupAction +}; // class TDEToolBarPopupAction %End %If ( KDE_3_1_0 - KDE_3_2_0 ) -class KToggleToolBarAction : KToggleAction +class TDEToggleToolBarAction : TDEToggleAction { %TypeHeaderCode #include <kaction.h> @@ -537,10 +537,10 @@ class KToggleToolBarAction : KToggleAction public: - KToggleToolBarAction (const char*, const TQString&, KActionCollection* /TransferThis/, const char*); - KToggleToolBarAction (KToolBar*, const TQString&, KActionCollection* /TransferThis/, const char*); + TDEToggleToolBarAction (const char*, const TQString&, TDEActionCollection* /TransferThis/, const char*); + TDEToggleToolBarAction (TDEToolBar*, const TQString&, TDEActionCollection* /TransferThis/, const char*); virtual int plug (TQWidget*, int = -1); - KToolBar* toolBar (); + TDEToolBar* toolBar (); public slots: virtual void setChecked (bool); @@ -548,14 +548,14 @@ public slots: protected: virtual void virtual_hook (int, void*); -}; // class KToggleToolBarAction +}; // class TDEToggleToolBarAction %End %If ( KDE_3_1_0 - KDE_3_2_0 ) -class KWidgetAction : KAction +class KWidgetAction : TDEAction { %TypeHeaderCode #include <kaction.h> @@ -563,7 +563,7 @@ class KWidgetAction : KAction public: - KWidgetAction (TQWidget*, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); + KWidgetAction (TQWidget*, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /TransferThis/, const char*); TQWidget* widget (); void setAutoSized (bool); virtual int plug (TQWidget*, int = -1); @@ -582,7 +582,7 @@ protected: %If ( - KDE_3_2_0 ) -class KActionSeparator : KAction +class TDEActionSeparator : TDEAction { %TypeHeaderCode #include <kaction.h> @@ -590,20 +590,20 @@ class KActionSeparator : KAction public: - KActionSeparator (TQObject* /TransferThis/ = 0, const char* = 0); + TDEActionSeparator (TQObject* /TransferThis/ = 0, const char* = 0); virtual int plug (TQWidget*, int = -1); protected: //igx virtual void virtual_hook (int, void*); -}; // class KActionSeparator +}; // class TDEActionSeparator %End %If ( - KDE_3_2_0 ) -class KActionCollection : TQObject +class TDEActionCollection : TQObject { %TypeHeaderCode #include <kaction.h> @@ -611,33 +611,33 @@ class KActionCollection : TQObject public: - KActionCollection (TQWidget* /TransferThis/, const char* = 0, TDEInstance* = 0); - KActionCollection (TQWidget*, TQObject* /TransferThis/, const char* = 0, TDEInstance* = 0); - KActionCollection (const KActionCollection&); + TDEActionCollection (TQWidget* /TransferThis/, const char* = 0, TDEInstance* = 0); + TDEActionCollection (TQWidget*, TQObject* /TransferThis/, const char* = 0, TDEInstance* = 0); + TDEActionCollection (const TDEActionCollection&); virtual void setWidget (TQWidget*); %If ( KDE_3_1_0 - ) void setAutoConnectShortcuts (bool); bool isAutoConnectShortcuts (); - bool addDocCollection (KActionCollection*); + bool addDocCollection (TDEActionCollection*); %End - virtual KAccel* accel (); + virtual TDEAccel* accel (); %If ( KDE_3_1_0 - ) - KAccel* kaccel (); - KAccel* builderKAccel () const; + TDEAccel* kaccel (); + TDEAccel* builderTDEAccel () const; %End virtual uint count () const; bool isEmpty () const; - virtual KAction* action (int) const; - virtual KAction* action (const char*, const char* = 0) const; + virtual TDEAction* action (int) const; + virtual TDEAction* action (const char*, const char* = 0) const; virtual TQStringList groups () const; %If ( KDE_3_1_5 - ) - virtual TQValueList<KAction*> actions (const TQString&) const; - virtual TQValueList<KAction*> actions () const; + virtual TQValueList<TDEAction*> actions (const TQString&) const; + virtual TQValueList<TDEAction*> actions () const; %End bool readShortcutSettings (const TQString& = TQString ::null , TDEConfigBase* = 0); @@ -648,26 +648,26 @@ public: const TQString& xmlFile () const; void setHighlightingEnabled (bool); bool highlightingEnabled () const; - void connectHighlight (TQWidget*, KAction*); - void disconnectHighlight (TQWidget*, KAction*); + void connectHighlight (TQWidget*, TDEAction*); + void disconnectHighlight (TQWidget*, TDEAction*); signals: - void inserted (KAction*); - void removed (KAction*); - void actionHighlighted (KAction*); - void actionHighlighted (KAction*, bool); + void inserted (TDEAction*); + void removed (TDEAction*); + void actionHighlighted (TDEAction*); + void actionHighlighted (TDEAction*, bool); void actionStatusText (const TQString&); void clearStatusText (); public: - KActionCollection (TQObject* /TransferThis/ = 0, const char* = 0, TDEInstance* = 0); - void insert (KAction*); - void remove (KAction*); - KAction* take (KAction*); + TDEActionCollection (TQObject* /TransferThis/ = 0, const char* = 0, TDEInstance* = 0); + void insert (TDEAction*); + void remove (TDEAction*); + TDEAction* take (TDEAction*); %If ( KDE_3_1_4 - ) - KActionCollection operator + (const KActionCollection&) const; - KActionCollection& operator += (const KActionCollection&); + TDEActionCollection operator + (const TDEActionCollection&) const; + TDEActionCollection& operator += (const TDEActionCollection&); %End @@ -677,23 +677,23 @@ public slots: protected: //igx virtual void virtual_hook (int, void*); -}; // class KActionCollection +}; // class TDEActionCollection %End %If ( - KDE_3_2_0 ) -//ig typedef TQValueList<KAction*> KActionPtrList; +//ig typedef TQValueList<TDEAction*> TDEActionPtrList; %End -%MappedType TQValueList<KAction*> -//converts a Python list of KAction +%MappedType TQValueList<TDEAction*> +//converts a Python list of TDEAction { %TypeHeaderCode #include <tqvaluelist.h> #include <kaction.h> -//typedef TQValueList<KAction*> KActionPtrList; +//typedef TQValueList<TDEAction*> TDEActionPtrList; %End %ConvertFromTypeCode @@ -705,14 +705,14 @@ protected: if ((pylist = PyList_New(0)) == NULL) return NULL; - TQValueList<KAction*> *cpplist = (TQValueList<KAction*> *)sipCpp; + TQValueList<TDEAction*> *cpplist = (TQValueList<TDEAction*> *)sipCpp; PyObject *inst; // Get it. - TQValueList<KAction*>::Iterator it; + TQValueList<TDEAction*>::Iterator it; for( it = cpplist->begin(); it != cpplist->end(); ++it ) { - if (((inst = sipConvertFromInstance (*it, sipClass_KAction, sipTransferObj)) == NULL) + if (((inst = sipConvertFromInstance (*it, sipClass_TDEAction, sipTransferObj)) == NULL) || PyList_Append (pylist, inst) < 0) { Py_DECREF (pylist); @@ -728,16 +728,16 @@ protected: if (sipIsErr == NULL) return PyList_Check(sipPy); - TQValueList<KAction*> *cpplist = new TQValueList<KAction*>; + TQValueList<TDEAction*> *cpplist = new TQValueList<TDEAction*>; PyObject *elem; - KAction* cpp; + TDEAction* cpp; int iserr = 0; for (int i = 0; i < PyList_Size (sipPy); i++) { elem = PyList_GET_ITEM (sipPy, i); - cpp = (KAction *)sipForceConvertToType(elem, sipType_KAction, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); + cpp = (TDEAction *)sipForceConvertToType(elem, sipType_TDEAction, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); if (iserr) { diff --git a/sip/tdeui/kactionclasses.sip b/sip/tdeui/kactionclasses.sip index 7858dbf..63cc6d6 100644 --- a/sip/tdeui/kactionclasses.sip +++ b/sip/tdeui/kactionclasses.sip @@ -26,7 +26,7 @@ %If ( KDE_3_2_0 - ) -class KToggleAction : KAction +class TDEToggleAction : TDEAction { %TypeHeaderCode #include <kactionclasses.h> @@ -34,13 +34,13 @@ class KToggleAction : KAction public: - KToggleAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KToggleAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KToggleAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KToggleAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KToggleAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDEToggleAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEToggleAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEToggleAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEToggleAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEToggleAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEToggleAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEToggleAction (TQObject* /TransferThis/ = 0, const char* = 0); virtual int plug (TQWidget*, int = -1); bool isChecked () const; TQString exclusiveGroup () const; @@ -67,14 +67,14 @@ signals: protected: //igx virtual void virtual_hook (int, void*); -}; // class KToggleAction +}; // class TDEToggleAction %End %If ( KDE_3_2_0 - ) -class KRadioAction : KToggleAction +class TDERadioAction : TDEToggleAction { %TypeHeaderCode #include <kactionclasses.h> @@ -82,13 +82,13 @@ class KRadioAction : KToggleAction public: - KRadioAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KRadioAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KRadioAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KRadioAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KRadioAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDERadioAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDERadioAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDERadioAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDERadioAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDERadioAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDERadioAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDERadioAction (TQObject* /TransferThis/ = 0, const char* = 0); protected: virtual void slotActivated (); @@ -96,14 +96,14 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KRadioAction +}; // class TDERadioAction %End %If ( KDE_3_2_0 - ) -class KSelectAction : KAction +class TDESelectAction : TDEAction { %TypeHeaderCode #include <kactionclasses.h> @@ -111,13 +111,13 @@ class KSelectAction : KAction public: - KSelectAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KSelectAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KSelectAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KSelectAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KSelectAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDESelectAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDESelectAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDESelectAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDESelectAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDESelectAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDESelectAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDESelectAction (TQObject* /TransferThis/ = 0, const char* = 0); virtual int plug (TQWidget*, int = -1); virtual bool isEditable () const; virtual TQStringList items () const; @@ -170,14 +170,14 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KSelectAction +}; // class TDESelectAction %End %If ( KDE_3_2_0 - ) -class KListAction : KSelectAction +class TDEListAction : TDESelectAction { %TypeHeaderCode #include <kactionclasses.h> @@ -185,13 +185,13 @@ class KListAction : KSelectAction public: - KListAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KListAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KListAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KListAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KListAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KListAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KListAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDEListAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEListAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEListAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEListAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEListAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEListAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEListAction (TQObject* /TransferThis/ = 0, const char* = 0); virtual TQString currentText () const; virtual int currentItem () const; @@ -201,14 +201,14 @@ public slots: protected: //igx virtual void virtual_hook (int, void*); -}; // class KListAction +}; // class TDEListAction %End %If ( KDE_3_2_0 - ) -class KRecentFilesAction : KListAction +class TDERecentFilesAction : TDEListAction { %TypeHeaderCode #include <kactionclasses.h> @@ -216,13 +216,13 @@ class KRecentFilesAction : KListAction public: - KRecentFilesAction (const TQString&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const TQString&, const TQIconSet&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const TQString&, const TQString&, const KShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); - KRecentFilesAction (TQObject* /TransferThis/ = 0, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TDEShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TQIconSet&, const TDEShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TQString&, const TDEShortcut&, TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0, uint = 10); + TDERecentFilesAction (TQObject* /TransferThis/ = 0, const char* = 0, uint = 10); virtual int plug (TQWidget*, int = -1); uint maxItems () const; @@ -260,14 +260,14 @@ protected slots: protected: //igx virtual void virtual_hook (int, void*); -}; // class KRecentFilesAction +}; // class TDERecentFilesAction %End %If ( KDE_3_2_0 - ) -class KFontAction : KSelectAction +class TDEFontAction : TDESelectAction { %TypeHeaderCode #include <kactionclasses.h> @@ -275,19 +275,19 @@ class KFontAction : KSelectAction public: - KFontAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KFontAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KFontAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); %If ( KDE_3_3_0 - ) - KFontAction (uint, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontAction (uint, const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontAction (uint, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontAction (uint, const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); %End - KFontAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontAction (TQObject* /TransferThis/ = 0, const char* = 0); TQString font () const; int plug (TQWidget*, int = -1); @@ -297,14 +297,14 @@ public slots: protected: //igx virtual void virtual_hook (int, void*); -}; // class KFontAction +}; // class TDEFontAction %End %If ( KDE_3_2_0 - ) -class KFontSizeAction : KSelectAction +class TDEFontSizeAction : TDESelectAction { %TypeHeaderCode #include <kactionclasses.h> @@ -312,13 +312,13 @@ class KFontSizeAction : KSelectAction public: - KFontSizeAction (const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KFontSizeAction (const TQString&, const TQIconSet&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KFontSizeAction (const TQString&, const TQIconSet&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KFontSizeAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); - KFontSizeAction (TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontSizeAction (const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontSizeAction (const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontSizeAction (const TQString&, const TQIconSet&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontSizeAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEFontSizeAction (const TQString&, const TQIconSet&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontSizeAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, const char* = 0); + TDEFontSizeAction (TQObject* /TransferThis/ = 0, const char* = 0); virtual int fontSize () const; public slots: @@ -335,14 +335,14 @@ signals: protected: //igx virtual void virtual_hook (int, void*); -}; // class KFontSizeAction +}; // class TDEFontSizeAction %End %If ( KDE_3_2_0 - ) -class KActionMenu : KAction +class TDEActionMenu : TDEAction { %TypeHeaderCode #include <kactionclasses.h> @@ -350,13 +350,13 @@ class KActionMenu : KAction public: - KActionMenu (const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (const TQString&, const TQIconSet&, TQObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (const TQString&, const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); - KActionMenu (TQObject* /TransferThis/ = 0, const char* = 0); - virtual void insert (KAction*, int = -1); - virtual void remove (KAction*); - KPopupMenu* popupMenu () const; + TDEActionMenu (const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); + TDEActionMenu (const TQString&, const TQIconSet&, TQObject* /TransferThis/ = 0, const char* = 0); + TDEActionMenu (const TQString&, const TQString&, TQObject* /TransferThis/ = 0, const char* = 0); + TDEActionMenu (TQObject* /TransferThis/ = 0, const char* = 0); + virtual void insert (TDEAction*, int = -1); + virtual void remove (TDEAction*); + TDEPopupMenu* popupMenu () const; void popup (const TQPoint&); bool delayed () const; void setDelayed (bool); @@ -367,14 +367,14 @@ public: protected: //igx virtual void virtual_hook (int, void*); -}; // class KActionMenu +}; // class TDEActionMenu %End %If ( KDE_3_2_0 - ) -class KToolBarPopupAction : KAction +class TDEToolBarPopupAction : TDEAction { %TypeHeaderCode #include <kactionclasses.h> @@ -382,11 +382,11 @@ class KToolBarPopupAction : KAction public: - KToolBarPopupAction (const TQString&, const TQString&, const KShortcut& = KShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); - KToolBarPopupAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/ = 0, const char* = 0); - KToolBarPopupAction (const KGuiItem&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); + TDEToolBarPopupAction (const TQString&, const TQString&, const TDEShortcut& = TDEShortcut (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEToolBarPopupAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEToolBarPopupAction (const KGuiItem&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /TransferThis/, const char*); virtual int plug (TQWidget*, int = -1); - KPopupMenu* popupMenu () const; + TDEPopupMenu* popupMenu () const; bool delayed () const; void setDelayed (bool); bool stickyMenu () const; @@ -395,14 +395,14 @@ public: protected: //igx virtual void virtual_hook (int, void*); -}; // class KToolBarPopupAction +}; // class TDEToolBarPopupAction %End %If ( KDE_3_2_0 - ) -class KToggleToolBarAction : KToggleAction +class TDEToggleToolBarAction : TDEToggleAction { %TypeHeaderCode #include <kactionclasses.h> @@ -410,10 +410,10 @@ class KToggleToolBarAction : KToggleAction public: - KToggleToolBarAction (const char*, const TQString&, KActionCollection* /TransferThis/, const char*); - KToggleToolBarAction (KToolBar*, const TQString&, KActionCollection* /TransferThis/, const char*); + TDEToggleToolBarAction (const char*, const TQString&, TDEActionCollection* /TransferThis/, const char*); + TDEToggleToolBarAction (TDEToolBar*, const TQString&, TDEActionCollection* /TransferThis/, const char*); virtual int plug (TQWidget*, int = -1); - KToolBar* toolBar (); + TDEToolBar* toolBar (); public slots: virtual void setChecked (bool); @@ -421,14 +421,14 @@ public slots: protected: //igx virtual void virtual_hook (int, void*); -}; // class KToggleToolBarAction +}; // class TDEToggleToolBarAction %End %If ( KDE_3_2_0 - ) -class KToggleFullScreenAction : KToggleAction +class TDEToggleFullScreenAction : TDEToggleAction { %TypeHeaderCode #include <kactionclasses.h> @@ -436,7 +436,7 @@ class KToggleFullScreenAction : KToggleAction public: - KToggleFullScreenAction (const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, TQWidget*, const char*); + TDEToggleFullScreenAction (const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/, TQWidget*, const char*); void setWindow (TQWidget*); public slots: @@ -448,14 +448,14 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KToggleFullScreenAction +}; // class TDEToggleFullScreenAction %End %If ( KDE_3_2_0 - ) -class KWidgetAction : KAction +class KWidgetAction : TDEAction { %TypeHeaderCode #include <kactionclasses.h> @@ -463,7 +463,7 @@ class KWidgetAction : KAction public: - KWidgetAction (TQWidget*, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /TransferThis/, const char*); + KWidgetAction (TQWidget*, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /TransferThis/, const char*); TQWidget* widget (); void setAutoSized (bool); virtual int plug (TQWidget*, int = -1); @@ -482,7 +482,7 @@ protected: %If ( KDE_3_2_0 - ) -class KActionSeparator : KAction +class TDEActionSeparator : TDEAction { %TypeHeaderCode #include <kactionclasses.h> @@ -490,20 +490,20 @@ class KActionSeparator : KAction public: - KActionSeparator (TQObject* /TransferThis/ = 0, const char* = 0); + TDEActionSeparator (TQObject* /TransferThis/ = 0, const char* = 0); virtual int plug (TQWidget*, int = -1); protected: //igx virtual void virtual_hook (int, void*); -}; // class KActionSeparator +}; // class TDEActionSeparator %End %If ( KDE_3_2_0 - ) -class KPasteTextAction : KAction +class TDEPasteTextAction : TDEAction { %TypeHeaderCode #include <kactionclasses.h> @@ -511,7 +511,7 @@ class KPasteTextAction : KAction public: - KPasteTextAction (const TQString&, const TQString&, const KShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/ = 0, const char* = 0); + TDEPasteTextAction (const TQString&, const TQString&, const TDEShortcut&, SIP_RXOBJ_CON, SIP_SLOT_CON (), TQObject* /TransferThis/ = 0, const char* = 0); void setMixedMode (bool); virtual int plug (TQWidget*, int = -1); @@ -523,7 +523,7 @@ protected slots: protected: //igx virtual void virtual_hook (int, void*); -}; // class KPasteTextAction +}; // class TDEPasteTextAction %End diff --git a/sip/tdeui/kactioncollection.sip b/sip/tdeui/kactioncollection.sip index a7c5e0e..c696bdd 100644 --- a/sip/tdeui/kactioncollection.sip +++ b/sip/tdeui/kactioncollection.sip @@ -26,7 +26,7 @@ %If ( KDE_3_2_0 - ) -class KActionCollection : TQObject +class TDEActionCollection : TQObject { %TypeHeaderCode #include <kactioncollection.h> @@ -34,23 +34,23 @@ class KActionCollection : TQObject public: - KActionCollection (TQWidget* /TransferThis/, const char* = 0, TDEInstance* = 0); - KActionCollection (TQWidget*, TQObject* /TransferThis/, const char* = 0, TDEInstance* = 0); - KActionCollection (const KActionCollection&); + TDEActionCollection (TQWidget* /TransferThis/, const char* = 0, TDEInstance* = 0); + TDEActionCollection (TQWidget*, TQObject* /TransferThis/, const char* = 0, TDEInstance* = 0); + TDEActionCollection (const TDEActionCollection&); virtual void setWidget (TQWidget*); void setAutoConnectShortcuts (bool); bool isAutoConnectShortcuts (); - bool addDocCollection (KActionCollection*); - virtual KAccel* accel (); - KAccel* kaccel (); - KAccel* builderKAccel () const; + bool addDocCollection (TDEActionCollection*); + virtual TDEAccel* accel (); + TDEAccel* kaccel (); + TDEAccel* builderTDEAccel () const; virtual uint count () const; bool isEmpty () const; - virtual KAction* action (int) const; - virtual KAction* action (const char*, const char* = 0) const; + virtual TDEAction* action (int) const; + virtual TDEAction* action (const char*, const char* = 0) const; virtual TQStringList groups () const; - virtual KActionPtrList actions (const TQString&) const; - virtual KActionPtrList actions () const; + virtual TDEActionPtrList actions (const TQString&) const; + virtual TDEActionPtrList actions () const; bool readShortcutSettings (const TQString& = TQString ::null , TDEConfigBase* = 0); bool writeShortcutSettings (const TQString& = TQString ::null , TDEConfigBase* = 0) const; void setInstance (TDEInstance*); @@ -59,8 +59,8 @@ public: const TQString& xmlFile () const; void setHighlightingEnabled (bool); bool highlightingEnabled () const; - void connectHighlight (TQWidget*, KAction*); - void disconnectHighlight (TQWidget*, KAction*); + void connectHighlight (TQWidget*, TDEAction*); + void disconnectHighlight (TQWidget*, TDEAction*); %If ( KDE_3_3_0 - ) const KXMLGUIClient* parentGUIClient () const; @@ -68,22 +68,22 @@ public: signals: - void inserted (KAction*); - void removed (KAction*); - void actionHighlighted (KAction*); - void actionHighlighted (KAction*, bool); + void inserted (TDEAction*); + void removed (TDEAction*); + void actionHighlighted (TDEAction*); + void actionHighlighted (TDEAction*, bool); void actionStatusText (const TQString&); void clearStatusText (); public: - KActionCollection (TQObject* /TransferThis/, const char* = 0, TDEInstance* = 0); + TDEActionCollection (TQObject* /TransferThis/, const char* = 0, TDEInstance* = 0); public: - void insert (KAction*); - void remove (KAction*); - KAction* take (KAction*); - KActionCollection operator + (const KActionCollection&) const; - KActionCollection& operator += (const KActionCollection&); + void insert (TDEAction*); + void remove (TDEAction*); + TDEAction* take (TDEAction*); + TDEActionCollection operator + (const TDEActionCollection&) const; + TDEActionCollection& operator += (const TDEActionCollection&); public slots: void clear (); @@ -94,7 +94,7 @@ protected: %If ( KDE_3_3_0 - ) private: - KActionCollection (const char*, const KXMLGUIClient* /TransferThis/); + TDEActionCollection (const char*, const KXMLGUIClient* /TransferThis/); %End @@ -103,23 +103,23 @@ public: %If ( - KDE_3_2_2 ) %If ( D_MANDRAKE ) - virtual TQValueList<KAction*> actions (const TQString&) const; - virtual TQValueList<KAction*> actions () const; + virtual TQValueList<TDEAction*> actions (const TQString&) const; + virtual TQValueList<TDEAction*> actions () const; %End %End -}; // class KActionCollection +}; // class TDEActionCollection %End %If ( KDE_3_2_0 - ) -typedef TQValueList<KAction*> KActionPtrList; +typedef TQValueList<TDEAction*> TDEActionPtrList; %End %If ( - KDE_3_2_2 ) -//ig typedef TQValueList<KAction*> KActionPtrList; +//ig typedef TQValueList<TDEAction*> TDEActionPtrList; %End diff --git a/sip/tdeui/kactionselector.sip b/sip/tdeui/kactionselector.sip index 87aa45a..717c2d3 100644 --- a/sip/tdeui/kactionselector.sip +++ b/sip/tdeui/kactionselector.sip @@ -26,7 +26,7 @@ %If ( KDE_3_3_0 - ) -class KActionSelector : TQWidget +class TDEActionSelector : TQWidget { %TypeHeaderCode #include <kactionselector.h> @@ -34,7 +34,7 @@ class KActionSelector : TQWidget public: - KActionSelector (TQWidget* /TransferThis/ = 0, const char* = 0); + TDEActionSelector (TQWidget* /TransferThis/ = 0, const char* = 0); TQListBox* availableListBox () const; TQListBox* selectedListBox () const; @@ -73,18 +73,18 @@ public: void setAvailableLabel (const TQString&); TQString selectedLabel () const; void setSelectedLabel (const TQString&); - KActionSelector::ButtonIconSize buttonIconSize () const; - void setButtonIconSize (KActionSelector::ButtonIconSize); - KActionSelector::InsertionPolicy availableInsertionPolicy () const; - void setAvailableInsertionPolicy (KActionSelector::InsertionPolicy); - KActionSelector::InsertionPolicy selectedInsertionPolicy () const; - void setSelectedInsertionPolicy (KActionSelector::InsertionPolicy); + TDEActionSelector::ButtonIconSize buttonIconSize () const; + void setButtonIconSize (TDEActionSelector::ButtonIconSize); + TDEActionSelector::InsertionPolicy availableInsertionPolicy () const; + void setAvailableInsertionPolicy (TDEActionSelector::InsertionPolicy); + TDEActionSelector::InsertionPolicy selectedInsertionPolicy () const; + void setSelectedInsertionPolicy (TDEActionSelector::InsertionPolicy); bool showUpDownButtons () const; void setShowUpDownButtons (bool); - void setButtonIcon (const TQString&, KActionSelector::MoveButton); - void setButtonIconSet (const TQIconSet&, KActionSelector::MoveButton); - void setButtonTooltip (const TQString&, KActionSelector::MoveButton); - void setButtonWhatsThis (const TQString&, KActionSelector::MoveButton); + void setButtonIcon (const TQString&, TDEActionSelector::MoveButton); + void setButtonIconSet (const TQIconSet&, TDEActionSelector::MoveButton); + void setButtonTooltip (const TQString&, TDEActionSelector::MoveButton); + void setButtonWhatsThis (const TQString&, TDEActionSelector::MoveButton); void setButtonsEnabled (); signals: @@ -100,7 +100,7 @@ protected: void keyPressEvent (TQKeyEvent*); bool eventFilter (TQObject*, TQEvent*); -}; // class KActionSelector +}; // class TDEActionSelector %End diff --git a/sip/tdeui/kactionshortcutlist.sip b/sip/tdeui/kactionshortcutlist.sip index 22a07a4..bd45aea 100644 --- a/sip/tdeui/kactionshortcutlist.sip +++ b/sip/tdeui/kactionshortcutlist.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KActionShortcutList : KShortcutList +class TDEActionShortcutList : TDEShortcutList { %TypeHeaderCode #include <tdeconfigbase.h> @@ -35,22 +35,22 @@ class KActionShortcutList : KShortcutList public: - KActionShortcutList (KActionCollection*); + TDEActionShortcutList (TDEActionCollection*); virtual uint count () const; virtual TQString name (uint) const; virtual TQString label (uint) const; virtual TQString whatsThis (uint) const; - virtual const KShortcut& shortcut (uint) const; - virtual const KShortcut& shortcutDefault (uint) const; + virtual const TDEShortcut& shortcut (uint) const; + virtual const TDEShortcut& shortcutDefault (uint) const; virtual bool isConfigurable (uint) const; - virtual bool setShortcut (uint, const KShortcut&); + virtual bool setShortcut (uint, const TDEShortcut&); virtual const TDEInstance* instance () const; virtual TQVariant getOther (Other, uint) const; virtual bool setOther (Other, uint, TQVariant); virtual bool save () const; %If ( KDE_3_3_0 - ) - const KAction* action (uint) const; + const TDEAction* action (uint) const; %End @@ -59,10 +59,10 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KActionShortcutList +}; // class TDEActionShortcutList -class KActionPtrShortcutList : KShortcutList +class TDEActionPtrShortcutList : TDEShortcutList { %TypeHeaderCode #include <tdeconfigbase.h> @@ -75,17 +75,17 @@ class KActionPtrShortcutList : KShortcutList public: %If ( KDE_3_2_0 - ) - KActionPtrShortcutList (KActionPtrList&); + TDEActionPtrShortcutList (TDEActionPtrList&); %End virtual uint count () const; virtual TQString name (uint) const; virtual TQString label (uint) const; virtual TQString whatsThis (uint) const; - virtual const KShortcut& shortcut (uint) const; - virtual const KShortcut& shortcutDefault (uint) const; + virtual const TDEShortcut& shortcut (uint) const; + virtual const TDEShortcut& shortcutDefault (uint) const; virtual bool isConfigurable (uint) const; - virtual bool setShortcut (uint, const KShortcut&); + virtual bool setShortcut (uint, const TDEShortcut&); virtual TQVariant getOther (Other, uint) const; virtual bool setOther (Other, uint, TQVariant); virtual bool save () const; @@ -98,9 +98,9 @@ protected: public: %If ( - KDE_3_2_0 ) - KActionPtrShortcutList (TQValueList<KAction*>&); + TDEActionPtrShortcutList (TQValueList<TDEAction*>&); %End -}; // class KActionPtrShortcutList +}; // class TDEActionPtrShortcutList diff --git a/sip/tdeui/kcolordialog.sip b/sip/tdeui/kcolordialog.sip index 803d03f..3e5fadc 100644 --- a/sip/tdeui/kcolordialog.sip +++ b/sip/tdeui/kcolordialog.sip @@ -45,7 +45,7 @@ protected: }; // class KHSSelector -class KValueSelector : KSelector +class KValueSelector : TDESelector { %TypeHeaderCode #include <kcolordialog.h> diff --git a/sip/tdeui/kcommand.sip b/sip/tdeui/kcommand.sip index 4a9d206..e552772 100644 --- a/sip/tdeui/kcommand.sip +++ b/sip/tdeui/kcommand.sip @@ -95,7 +95,7 @@ class KCommandHistory : TQObject public: KCommandHistory (); - KCommandHistory (KActionCollection*, bool = 1); + KCommandHistory (TDEActionCollection*, bool = 1); void clear (); void addCommand (KCommand*, bool = 1); int undoLimit () const; diff --git a/sip/tdeui/kcompletionbox.sip b/sip/tdeui/kcompletionbox.sip index ba1fd9c..69583d7 100644 --- a/sip/tdeui/kcompletionbox.sip +++ b/sip/tdeui/kcompletionbox.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KCompletionBox : KListBox +class KCompletionBox : TDEListBox { %TypeHeaderCode #include <kcompletionbox.h> diff --git a/sip/tdeui/kdatetbl.sip b/sip/tdeui/kdatetbl.sip index 3de37b7..67d8eff 100644 --- a/sip/tdeui/kdatetbl.sip +++ b/sip/tdeui/kdatetbl.sip @@ -158,7 +158,7 @@ public: }; // class KDateInternalYearSelector -class KPopupFrame : TQFrame +class TDEPopupFrame : TQFrame { %TypeHeaderCode #include <kdatetbl.h> @@ -181,7 +181,7 @@ public slots: public: - KPopupFrame (TQWidget* /TransferThis/ = 0, const char* = 0); + TDEPopupFrame (TQWidget* /TransferThis/ = 0, const char* = 0); void setMainWidget (TQWidget*); %If ( KDE_3_0_1 - ) @@ -209,7 +209,7 @@ public: %End -}; // class KPopupFrame +}; // class TDEPopupFrame class KDateValidator : TQValidator @@ -292,7 +292,7 @@ signals: void tableClicked (); %If ( KDE_3_2_0 - ) - void aboutToShowContextMenu (KPopupMenu*, const TQDate&); + void aboutToShowContextMenu (TDEPopupMenu*, const TQDate&); %End diff --git a/sip/tdeui/kdcopactionproxy.sip b/sip/tdeui/kdcopactionproxy.sip index 00bc89c..2afab10 100644 --- a/sip/tdeui/kdcopactionproxy.sip +++ b/sip/tdeui/kdcopactionproxy.sip @@ -32,14 +32,14 @@ class KDCOPActionProxy : DCOPObjectProxy public: - KDCOPActionProxy (KActionCollection*, DCOPObject* /TransferThis/); + KDCOPActionProxy (TDEActionCollection*, DCOPObject* /TransferThis/); KDCOPActionProxy (DCOPObject* /TransferThis/); - virtual TQValueList<KAction*> actions () const; - virtual KAction* action (const char*) const; + virtual TQValueList<TDEAction*> actions () const; + virtual TDEAction* action (const char*) const; virtual TQCString actionObjectId (const TQCString&) const; virtual TQMap<TQCString,DCOPRef> actionMap (const TQCString& = TQCString ()) const; virtual bool process (const TQCString&, const TQCString&, const TQByteArray&, TQCString&, TQByteArray&); - virtual bool processAction (const TQCString&, const TQCString&, const TQByteArray&, TQCString&, TQByteArray&, KAction*); + virtual bool processAction (const TQCString&, const TQCString&, const TQByteArray&, TQCString&, TQByteArray&, TDEAction*); protected: //igx virtual void virtual_hook (int, void*); diff --git a/sip/tdeui/kdockwidget.sip b/sip/tdeui/kdockwidget.sip index 9d29bfa..a9b3a1e 100644 --- a/sip/tdeui/kdockwidget.sip +++ b/sip/tdeui/kdockwidget.sip @@ -390,7 +390,7 @@ protected: }; // class KDockManager -class KDockMainWindow : KMainWindow +class KDockMainWindow : TDEMainWindow { %TypeHeaderCode #include <kdockwidget.h> diff --git a/sip/tdeui/kedittoolbar.sip b/sip/tdeui/kedittoolbar.sip index eea0afa..cbe4df6 100644 --- a/sip/tdeui/kedittoolbar.sip +++ b/sip/tdeui/kedittoolbar.sip @@ -32,10 +32,10 @@ class KEditToolbar : KDialogBase public: - KEditToolbar (KActionCollection*, const TQString& = TQString ::null , bool = 1, TQWidget* /TransferThis/ = 0, const char* = 0); + KEditToolbar (TDEActionCollection*, const TQString& = TQString ::null , bool = 1, TQWidget* /TransferThis/ = 0, const char* = 0); %If ( KDE_3_2_0 - ) - KEditToolbar (const TQString&, KActionCollection*, const TQString& = TQString ::null , bool = 1, TQWidget* /TransferThis/ = 0, const char* = 0); + KEditToolbar (const TQString&, TDEActionCollection*, const TQString& = TQString ::null , bool = 1, TQWidget* /TransferThis/ = 0, const char* = 0); %End KEditToolbar (KXMLGUIFactory*, TQWidget* /TransferThis/ = 0, const char* = 0); @@ -77,10 +77,10 @@ class KEditToolbarWidget : TQWidget, KXMLGUIClient public: - KEditToolbarWidget (KActionCollection*, const TQString& = TQString ::null , bool = 1, TQWidget* /TransferThis/ = 0); + KEditToolbarWidget (TDEActionCollection*, const TQString& = TQString ::null , bool = 1, TQWidget* /TransferThis/ = 0); %If ( KDE_3_2_0 - ) - KEditToolbarWidget (const TQString&, KActionCollection*, const TQString& = TQString ::null , bool = 1, TQWidget* /TransferThis/ = 0); + KEditToolbarWidget (const TQString&, TDEActionCollection*, const TQString& = TQString ::null , bool = 1, TQWidget* /TransferThis/ = 0); %End KEditToolbarWidget (KXMLGUIFactory*, TQWidget* /TransferThis/ = 0); @@ -91,7 +91,7 @@ public: %If ( KDE_3_1_0 - ) - virtual KActionCollection* actionCollection () const; + virtual TDEActionCollection* actionCollection () const; %End bool save (); @@ -110,7 +110,7 @@ protected slots: void slotActiveSelected (TQListViewItem*); %If ( KDE_3_3_0 - ) - void slotDropped (KListView*, TQDropEvent*, TQListViewItem*); + void slotDropped (TDEListView*, TQDropEvent*, TQListViewItem*); %End void slotInsertButton (); @@ -134,7 +134,7 @@ protected: %If ( KDE_3_2_0 - ) - void initNonKPart (KActionCollection*, const TQString&, bool); + void initNonKPart (TDEActionCollection*, const TQString&, bool); void initKPart (KXMLGUIFactory*); void loadToolbarCombo (const TQString& = TQString ::null ); %End diff --git a/sip/tdeui/kfontcombo.sip b/sip/tdeui/kfontcombo.sip index d19c5c2..96d2865 100644 --- a/sip/tdeui/kfontcombo.sip +++ b/sip/tdeui/kfontcombo.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KFontCombo : KComboBox +class TDEFontCombo : KComboBox { %TypeHeaderCode #include <kfontcombo.h> @@ -32,8 +32,8 @@ class KFontCombo : KComboBox public: - KFontCombo (TQWidget* /TransferThis/, const char* = 0); - KFontCombo (const TQStringList&, TQWidget* /TransferThis/, const char* = 0); + TDEFontCombo (TQWidget* /TransferThis/, const char* = 0); + TDEFontCombo (const TQStringList&, TQWidget* /TransferThis/, const char* = 0); void setFonts (const TQStringList&); void setCurrentFont (const TQString&); TQString currentFont () const; @@ -63,5 +63,5 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KFontCombo +}; // class TDEFontCombo diff --git a/sip/tdeui/kfontdialog.sip b/sip/tdeui/kfontdialog.sip index 109cac5..3fc4cb2 100644 --- a/sip/tdeui/kfontdialog.sip +++ b/sip/tdeui/kfontdialog.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KFontChooser : TQWidget +class TDEFontChooser : TQWidget { %TypeHeaderCode #include <tqbutton.h> @@ -53,12 +53,12 @@ public: FontDiffSize }; - KFontChooser (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, const TQStringList& = TQStringList (), bool = 1, int = 8, bool = 0, TQButton::ToggleState = TQButton ::Off ) [(TQWidget* = 0, const char* = 0, bool = 0, const TQStringList& = TQStringList (), bool = 1, int = 8, bool = 0, TQButton::ToggleState* = 0)]; + TDEFontChooser (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, const TQStringList& = TQStringList (), bool = 1, int = 8, bool = 0, TQButton::ToggleState = TQButton ::Off ) [(TQWidget* = 0, const char* = 0, bool = 0, const TQStringList& = TQStringList (), bool = 1, int = 8, bool = 0, TQButton::ToggleState* = 0)]; %MethodCode //takes parent | (TQWidget = 0) | name | (string = "") | onlyFixed | (bool = 0) | fontList | (TQStringList = TQStringList()) | makeFrame | (bool = 1) | visibleListSize | (int = 8) | diff | (bool = 0) | sizeIsRelativeState | (TQButton::ToggleState = 0) //returns Py_BEGIN_ALLOW_THREADS - sipCpp = (sipKFontChooser *) new KFontChooser (a0, a1, a2, *a3, a4, a5, a6, &a7); + sipCpp = (sipTDEFontChooser *) new TDEFontChooser (a0, a1, a2, *a3, a4, a5, a6, &a7); Py_END_ALLOW_THREADS %End @@ -112,10 +112,10 @@ public: %End -}; // class KFontChooser +}; // class TDEFontChooser -class KFontDialog : KDialogBase +class TDEFontDialog : KDialogBase { %TypeHeaderCode #include <kfontdialog.h> @@ -123,11 +123,11 @@ class KFontDialog : KDialogBase public: - KFontDialog (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 0, const TQStringList& = TQStringList (), bool = 1, bool = 0, TQButton::ToggleState = TQButton ::Off ) [(TQWidget* = 0, const char* = 0, bool = 0, bool = 0, const TQStringList& = TQStringList (), bool = 1, bool = 0, TQButton::ToggleState* = 0)]; + TDEFontDialog (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0, bool = 0, const TQStringList& = TQStringList (), bool = 1, bool = 0, TQButton::ToggleState = TQButton ::Off ) [(TQWidget* = 0, const char* = 0, bool = 0, bool = 0, const TQStringList& = TQStringList (), bool = 1, bool = 0, TQButton::ToggleState* = 0)]; %MethodCode //takes parent | (TQWidget = 0) | name | (string = "") | onlyFixed | (bool = 0) | modal | (bool = 0) | fontlist | (TQStringList = TQStringList()) | makeFrame | (bool = 1) | diff | (bool = 0) | sizeIsRelativeState | (TQButton::ToggleState = 0) Py_BEGIN_ALLOW_THREADS - sipCpp = (sipKFontDialog *)new KFontDialog (a0, a1, a2, a3, *a4, a5, a6, &a7); + sipCpp = (sipTDEFontDialog *)new TDEFontDialog (a0, a1, a2, a3, *a4, a5, a6, &a7); Py_END_ALLOW_THREADS %End @@ -141,7 +141,7 @@ public: //takes theFont | (TQFont) | onlyFixed | (bool = False) | parent | (TQWidget = 0) | makeFrame | (bool = True) | sizeIsRelative | (TQButton::ToggleState = TQButton.Off) int res; Py_BEGIN_ALLOW_THREADS - res = KFontDialog::getFont (*a0, a1, a2, a3, &a4); + res = TDEFontDialog::getFont (*a0, a1, a2, a3, &a4); Py_END_ALLOW_THREADS sipRes = Py_BuildValue ("ii", res, (int)a4); @@ -153,7 +153,7 @@ public: //takes theFont | (TQFont) | diffFlags | (int) | onlyFixed | (bool = False) | parent | (TQWidget = 0) | makeFrame | (bool = true) | sizeIsRelative | (TQButton::ToggleState = TQButton.Off) int res; Py_BEGIN_ALLOW_THREADS - res = KFontDialog::getFontDiff (*a0, a1, a2, a3, a4, &a5); + res = TDEFontDialog::getFontDiff (*a0, a1, a2, a3, a4, &a5); Py_END_ALLOW_THREADS sipRes = Py_BuildValue ("ii", res, (int)a5); @@ -165,7 +165,7 @@ public: //takes theFont | (TQFont) | theString | (TQString) | onlyFixed | (bool = False) | parent | (TQWidget = 0) | makeFrame | (bool = true) | sizeIsRelative | (TQButton::ToggleState = TQButton.Off) int res; Py_BEGIN_ALLOW_THREADS - res = KFontDialog::getFontAndText (*a0, *a1, a2, a3, a4, &a5); + res = TDEFontDialog::getFontAndText (*a0, *a1, a2, a3, a4, &a5); Py_END_ALLOW_THREADS sipRes = Py_BuildValue ("ii", res, (int)a5); @@ -180,5 +180,5 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KFontDialog +}; // class TDEFontDialog diff --git a/sip/tdeui/kfontrequester.sip b/sip/tdeui/kfontrequester.sip index efb13ac..9d84461 100644 --- a/sip/tdeui/kfontrequester.sip +++ b/sip/tdeui/kfontrequester.sip @@ -26,7 +26,7 @@ %If ( KDE_3_2_0 - ) -class KFontRequester : TQWidget +class TDEFontRequester : TQWidget { %TypeHeaderCode #include <kfontrequester.h> @@ -34,7 +34,7 @@ class KFontRequester : TQWidget public: - KFontRequester (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0); + TDEFontRequester (TQWidget* /TransferThis/ = 0, const char* = 0, bool = 0); TQFont font () const; bool isFixedOnly () const; TQString sampleText () const; @@ -57,7 +57,7 @@ protected slots: protected: -}; // class KFontRequester +}; // class TDEFontRequester %End diff --git a/sip/tdeui/khelpmenu.sip b/sip/tdeui/khelpmenu.sip index fd2d0e9..265c82e 100644 --- a/sip/tdeui/khelpmenu.sip +++ b/sip/tdeui/khelpmenu.sip @@ -43,8 +43,8 @@ public: }; KHelpMenu (TQWidget* /TransferThis/ = 0, const TQString& = TQString ::null , bool = 1); - KHelpMenu (TQWidget* /TransferThis/, const TDEAboutData*, bool = 1, KActionCollection* = 0); - KPopupMenu* menu (); + KHelpMenu (TQWidget* /TransferThis/, const TDEAboutData*, bool = 1, TDEActionCollection* = 0); + TDEPopupMenu* menu (); public slots: void appHelpActivated (); diff --git a/sip/tdeui/kkeybutton.sip b/sip/tdeui/kkeybutton.sip index fe8d00d..4b00d9f 100644 --- a/sip/tdeui/kkeybutton.sip +++ b/sip/tdeui/kkeybutton.sip @@ -34,17 +34,17 @@ class KKeyButton : TQPushButton public: KKeyButton (TQWidget* /TransferThis/ = 0, const char* = 0); - void setShortcut (const KShortcut&); + void setShortcut (const TDEShortcut&); %If ( KDE_3_1_0 - ) - void setShortcut (const KShortcut&, bool); + void setShortcut (const TDEShortcut&, bool); %End - const KShortcut& shortcut () const; + const TDEShortcut& shortcut () const; void setText (const TQString&); signals: - void capturedShortcut (const KShortcut&); + void capturedShortcut (const TDEShortcut&); public slots: void captureShortcut (); diff --git a/sip/tdeui/kkeydialog.sip b/sip/tdeui/kkeydialog.sip index 2a5d4ca..41d8b3a 100644 --- a/sip/tdeui/kkeydialog.sip +++ b/sip/tdeui/kkeydialog.sip @@ -42,14 +42,14 @@ public: }; KKeyChooser (TQWidget* /TransferThis/, KKeyChooser::ActionType = Application , bool = 1); - KKeyChooser (KActionCollection*, TQWidget* /TransferThis/, bool = 1); - KKeyChooser (KAccel*, TQWidget* /TransferThis/, bool = 1); + KKeyChooser (TDEActionCollection*, TQWidget* /TransferThis/, bool = 1); + KKeyChooser (TDEAccel*, TQWidget* /TransferThis/, bool = 1); KKeyChooser (TDEGlobalAccel*, TQWidget* /TransferThis/); - KKeyChooser (KShortcutList*, TQWidget* /TransferThis/, KKeyChooser::ActionType = Application , bool = 1); - bool insert (KActionCollection*); + KKeyChooser (TDEShortcutList*, TQWidget* /TransferThis/, KKeyChooser::ActionType = Application , bool = 1); + bool insert (TDEActionCollection*); %If ( KDE_3_1_0 - ) - bool insert (KActionCollection*, const TQString&); + bool insert (TDEActionCollection*, const TQString&); %End void syncToConfig (const TQString&, TDEConfigBase*, bool); @@ -57,8 +57,8 @@ public: void save (); %If ( KDE_3_2_0 - ) - static bool checkGlobalShortcutsConflict (const KShortcut&, bool, TQWidget* /Transfer/); - static bool checkStandardShortcutsConflict (const KShortcut&, bool, TQWidget* /Transfer/); + static bool checkGlobalShortcutsConflict (const TDEShortcut&, bool, TQWidget* /Transfer/); + static bool checkStandardShortcutsConflict (const TDEShortcut&, bool, TQWidget* /Transfer/); %End @@ -71,9 +71,9 @@ public slots: protected: void initGUI (KKeyChooser::ActionType, bool); - bool insert (KAccel*); + bool insert (TDEAccel*); bool insert (TDEGlobalAccel*); - bool insert (KShortcutList*); + bool insert (TDEShortcutList*); %If ( KDE_3_1_0 - ) void buildListView (uint, const TQString& = TQString ::null ); @@ -82,11 +82,11 @@ protected: void readGlobalKeys (); void updateButtons (); void fontChange (const TQFont&); - void setShortcut (const KShortcut&); - bool isKeyPresent (const KShortcut&, bool = 1); + void setShortcut (const TDEShortcut&); + bool isKeyPresent (const TDEShortcut&, bool = 1); %If ( KDE_3_1_0 - ) -//ig bool isKeyPresentLocally (const KShortcut&, KKeyChooserItem*, const TQString&); +//ig bool isKeyPresentLocally (const TDEShortcut&, KKeyChooserItem*, const TQString&); %End void _warning (const KKeySequence&, TQString, TQString); @@ -96,7 +96,7 @@ protected slots: void slotDefaultKey (); void slotCustomKey (); void slotListItemSelected (TQListViewItem*); - void capturedShortcut (const KShortcut&); + void capturedShortcut (const TDEShortcut&); %If ( KDE_3_1_0 - ) void slotSettingsChanged (int); @@ -111,7 +111,7 @@ protected slots: protected: public: - KKeyChooser (KAccel*, TQWidget* /TransferThis/, bool, bool, bool = 0); + KKeyChooser (TDEAccel*, TQWidget* /TransferThis/, bool, bool, bool = 0); KKeyChooser (TDEGlobalAccel*, TQWidget* /TransferThis/, bool, bool, bool = 0); public slots: @@ -139,27 +139,27 @@ class KKeyDialog : KDialogBase public: KKeyDialog (bool = 1, TQWidget* /TransferThis/ = 0, const char* = 0); - bool insert (KActionCollection*); + bool insert (TDEActionCollection*); %If ( KDE_3_1_0 - ) - bool insert (KActionCollection*, const TQString&); + bool insert (TDEActionCollection*, const TQString&); %End bool configure (bool = 1); void commitChanges (); - static int configure (KActionCollection*, TQWidget* /Transfer/ = 0, bool = 1); - static int configure (KAccel*, TQWidget* /Transfer/ = 0, bool = 1); + static int configure (TDEActionCollection*, TQWidget* /Transfer/ = 0, bool = 1); + static int configure (TDEAccel*, TQWidget* /Transfer/ = 0, bool = 1); static int configure (TDEGlobalAccel*, TQWidget* /Transfer/ = 0, bool = 1); %If ( KDE_3_1_0 - ) - static int configure (KActionCollection*, bool, TQWidget* /Transfer/ = 0, bool = 1); - static int configure (KAccel*, bool, TQWidget* /Transfer/ = 0, bool = 1); + static int configure (TDEActionCollection*, bool, TQWidget* /Transfer/ = 0, bool = 1); + static int configure (TDEAccel*, bool, TQWidget* /Transfer/ = 0, bool = 1); static int configure (TDEGlobalAccel*, bool, TQWidget* /Transfer/ = 0, bool = 1); %End - static int configureKeys (KAccel*, bool = 1, TQWidget* /Transfer/ = 0); + static int configureKeys (TDEAccel*, bool = 1, TQWidget* /Transfer/ = 0); static int configureKeys (TDEGlobalAccel*, bool = 1, TQWidget* /Transfer/ = 0); - static int configureKeys (KActionCollection*, const TQString&, bool = 1, TQWidget* /Transfer/ = 0); + static int configureKeys (TDEActionCollection*, const TQString&, bool = 1, TQWidget* /Transfer/ = 0); %If ( KDE_3_1_0 - ) diff --git a/sip/tdeui/klistbox.sip b/sip/tdeui/klistbox.sip index 41ed7b8..9c2c1c1 100644 --- a/sip/tdeui/klistbox.sip +++ b/sip/tdeui/klistbox.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KListBox : TQListBox +class TDEListBox : TQListBox { %TypeHeaderCode #include <klistbox.h> @@ -32,7 +32,7 @@ class KListBox : TQListBox public: - KListBox (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + TDEListBox (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); signals: void executed (TQListBoxItem*); @@ -56,5 +56,5 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KListBox +}; // class TDEListBox diff --git a/sip/tdeui/klistview.sip b/sip/tdeui/klistview.sip index 8e0ff5d..2af44b2 100644 --- a/sip/tdeui/klistview.sip +++ b/sip/tdeui/klistview.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KListView : TQListView +class TDEListView : TQListView { %TypeHeaderCode #include <klistview.h> @@ -42,7 +42,7 @@ public: FileManager }; - KListView (TQWidget* /TransferThis/ = 0, const char* = 0); + TDEListView (TQWidget* /TransferThis/ = 0, const char* = 0); virtual void setAcceptDrops (bool); virtual bool isExecuteArea (const TQPoint&); bool isExecuteArea (int); @@ -106,8 +106,8 @@ signals: void executed (TQListViewItem*); void executed (TQListViewItem*, const TQPoint&, int); void dropped (TQDropEvent*, TQListViewItem*); - void dropped (KListView*, TQDropEvent*, TQListViewItem*); - void dropped (KListView*, TQDropEvent*, TQListViewItem* /Transfer/, TQListViewItem*); + void dropped (TDEListView*, TQDropEvent*, TQListViewItem*); + void dropped (TDEListView*, TQDropEvent*, TQListViewItem* /Transfer/, TQListViewItem*); void dropped (TQDropEvent*, TQListViewItem* /Transfer/, TQListViewItem*); void moved (); void aboutToMove (); @@ -115,8 +115,8 @@ signals: void moved (TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&); void itemRenamed (TQListViewItem*, const TQString&, int); void itemRenamed (TQListViewItem*); - void menuShortCutPressed (KListView*, TQListViewItem*); - void contextMenu (KListView*, TQListViewItem*, const TQPoint&); + void menuShortCutPressed (TDEListView*, TQListViewItem*); + void contextMenu (TDEListView*, TQListViewItem*, const TQPoint&); %If ( KDE_3_3_0 - ) void itemAdded (TQListViewItem*); @@ -136,7 +136,7 @@ public slots: virtual void setTooltipColumn (int); virtual void setDropHighlighter (bool); virtual void setCreateChildren (bool); - void setSelectionModeExt (KListView::SelectionModeExt); + void setSelectionModeExt (TDEListView::SelectionModeExt); %If ( KDE_3_1_0 - ) void setTabOrderedRenaming (bool); @@ -192,7 +192,7 @@ protected slots: void cleanDropVisualizer (); void cleanItemHighlighter (); void emitContextMenu (TQListViewItem*, const TQPoint&, int); - void emitContextMenu (KListView*, TQListViewItem*); + void emitContextMenu (TDEListView*, TQListViewItem*); void slotOnItem (TQListViewItem*); void slotOnViewport (); void slotAutoSelect (); @@ -224,10 +224,10 @@ protected: virtual TQDragObject* dragObject (); //end -}; // class KListView +}; // class TDEListView -class KListViewItem : TQListViewItem +class TDEListViewItem : TQListViewItem { %TypeHeaderCode #include <klistview.h> @@ -235,14 +235,14 @@ class KListViewItem : TQListViewItem public: - KListViewItem (TQListView* /TransferThis/); - KListViewItem (TQListViewItem* /TransferThis/); - KListViewItem (TQListView* /TransferThis/, TQListViewItem*); - KListViewItem (TQListViewItem* /TransferThis/, TQListViewItem*); - KListViewItem (TQListView* /TransferThis/, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null ); - KListViewItem (TQListViewItem* /TransferThis/, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null ); - KListViewItem (TQListView* /TransferThis/, TQListViewItem*, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null ); - KListViewItem (TQListViewItem* /TransferThis/, TQListViewItem*, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null ); + TDEListViewItem (TQListView* /TransferThis/); + TDEListViewItem (TQListViewItem* /TransferThis/); + TDEListViewItem (TQListView* /TransferThis/, TQListViewItem*); + TDEListViewItem (TQListViewItem* /TransferThis/, TQListViewItem*); + TDEListViewItem (TQListView* /TransferThis/, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null ); + TDEListViewItem (TQListViewItem* /TransferThis/, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null ); + TDEListViewItem (TQListView* /TransferThis/, TQListViewItem*, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null ); + TDEListViewItem (TQListViewItem* /TransferThis/, TQListViewItem*, TQString, TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null , TQString = TQString ::null ); %If ( KDE_3_3_0 - ) virtual void insertItem (TQListViewItem*); @@ -258,7 +258,7 @@ public: virtual void paintCell (TQPainter*, const TQColorGroup&, int, int, int); -}; // class KListViewItem +}; // class TDEListViewItem diff --git a/sip/tdeui/klistviewlineedit.sip b/sip/tdeui/klistviewlineedit.sip index 6e2eeab..c5125f0 100644 --- a/sip/tdeui/klistviewlineedit.sip +++ b/sip/tdeui/klistviewlineedit.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KListViewLineEdit : KLineEdit +class TDEListViewLineEdit : KLineEdit { %TypeHeaderCode #include <klistviewlineedit.h> @@ -32,7 +32,7 @@ class KListViewLineEdit : KLineEdit public: - KListViewLineEdit (KListView*/TransferThis/); + TDEListViewLineEdit (TDEListView*/TransferThis/); signals: void done (TQListViewItem*, int); @@ -47,5 +47,5 @@ protected: virtual void paintEvent (TQPaintEvent*); void terminate (bool); -}; // class KListViewLineEdit +}; // class TDEListViewLineEdit diff --git a/sip/tdeui/klistviewsearchline.sip b/sip/tdeui/klistviewsearchline.sip index bf7164a..4c73477 100644 --- a/sip/tdeui/klistviewsearchline.sip +++ b/sip/tdeui/klistviewsearchline.sip @@ -26,7 +26,7 @@ %If ( KDE_3_3_0 - ) -class KListViewSearchLine : KLineEdit +class TDEListViewSearchLine : KLineEdit { %TypeHeaderCode #include <klistviewsearchline.h> @@ -34,19 +34,19 @@ class KListViewSearchLine : KLineEdit public: - KListViewSearchLine (TQWidget* /TransferThis/ = 0, KListView* = 0, const char* = 0); - KListViewSearchLine (TQWidget* /TransferThis/, const char*); + TDEListViewSearchLine (TQWidget* /TransferThis/ = 0, TDEListView* = 0, const char* = 0); + TDEListViewSearchLine (TQWidget* /TransferThis/, const char*); bool caseSensitive () const; TQValueList<int> searchColumns () const; bool keepParentsVisible () const; - KListView* listView () const; + TDEListView* listView () const; public slots: virtual void updateSearch (const TQString& = TQString ::null ); void setCaseSensitive (bool); void setKeepParentsVisible (bool); void setSearchColumns (const TQValueList<int>&); - void setListView (KListView*); + void setListView (TDEListView*); protected: virtual bool itemMatches (const TQListViewItem*, const TQString&) const; @@ -56,14 +56,14 @@ protected slots: void queueSearch (const TQString&); void activateSearch (); -}; // class KListViewSearchLine +}; // class TDEListViewSearchLine %End %If ( KDE_3_4_0 - ) -class KListViewSearchLineWidget : TQHBox +class TDEListViewSearchLineWidget : TQHBox { %TypeHeaderCode #include <klistviewsearchline.h> @@ -71,14 +71,14 @@ class KListViewSearchLineWidget : TQHBox public: - KListViewSearchLineWidget (KListView* = 0, TQWidget* /TransferThis/ = 0, const char* = 0); - virtual KListViewSearchLine* createSearchLine (KListView*); - KListViewSearchLine* searchLine () const; + TDEListViewSearchLineWidget (TDEListView* = 0, TQWidget* /TransferThis/ = 0, const char* = 0); + virtual TDEListViewSearchLine* createSearchLine (TDEListView*); + TDEListViewSearchLine* searchLine () const; protected slots: virtual void createWidgets (); -}; // class KListViewSearchLineWidget +}; // class TDEListViewSearchLineWidget %End 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) { diff --git a/sip/tdeui/kmainwindowiface.sip b/sip/tdeui/kmainwindowiface.sip index f0fd1a8..d872a0a 100644 --- a/sip/tdeui/kmainwindowiface.sip +++ b/sip/tdeui/kmainwindowiface.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KMainWindowInterface : DCOPObject +class TDEMainWindowInterface : DCOPObject { %TypeHeaderCode #include <kmainwindowiface.h> @@ -41,7 +41,7 @@ public: public: - KMainWindowInterface (KMainWindow*); + TDEMainWindowInterface (TDEMainWindow*); QCStringList functionsDynamic (); bool processDynamic (const TQCString&, const TQByteArray&, TQCString&, TQByteArray&); @@ -67,5 +67,5 @@ public: void restore (); void show (); -}; // class KMainWindowInterface +}; // class TDEMainWindowInterface diff --git a/sip/tdeui/kpanelmenu.sip b/sip/tdeui/kpanelmenu.sip index ea0da29..0a33ad2 100644 --- a/sip/tdeui/kpanelmenu.sip +++ b/sip/tdeui/kpanelmenu.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KPanelMenu : KPopupMenu +class KPanelMenu : TDEPopupMenu { %TypeHeaderCode #include <kpanelmenu.h> diff --git a/sip/tdeui/kpixmapregionselectorwidget.sip b/sip/tdeui/kpixmapregionselectorwidget.sip index 3148992..a4157bb 100644 --- a/sip/tdeui/kpixmapregionselectorwidget.sip +++ b/sip/tdeui/kpixmapregionselectorwidget.sip @@ -52,7 +52,7 @@ public slots: void rotateCounterclockwise (); protected: - virtual KPopupMenu* createPopupMenu (); + virtual TDEPopupMenu* createPopupMenu (); }; // class KPixmapRegionSelectorWidget diff --git a/sip/tdeui/kpopupmenu.sip b/sip/tdeui/kpopupmenu.sip index e7a8a6f..a4b523a 100644 --- a/sip/tdeui/kpopupmenu.sip +++ b/sip/tdeui/kpopupmenu.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KPopupTitle : TQWidget +class TDEPopupTitle : TQWidget { %TypeHeaderCode #include <kpopupmenu.h> @@ -32,9 +32,9 @@ class KPopupTitle : TQWidget public: - KPopupTitle (TQWidget* /TransferThis/ = 0, const char* = 0); - KPopupTitle (KPixmapEffect::GradientType, const TQColor&, const TQColor&, TQWidget* /TransferThis/ = 0, const char* = 0); - KPopupTitle (const KPixmap&, const TQColor&, const TQColor&, TQWidget* /TransferThis/ = 0, const char* = 0); + TDEPopupTitle (TQWidget* /TransferThis/ = 0, const char* = 0); + TDEPopupTitle (KPixmapEffect::GradientType, const TQColor&, const TQColor&, TQWidget* /TransferThis/ = 0, const char* = 0); + TDEPopupTitle (const KPixmap&, const TQColor&, const TQColor&, TQWidget* /TransferThis/ = 0, const char* = 0); void setTitle (const TQString&, const TQPixmap* = 0); TQString title (); TQPixmap icon (); @@ -59,10 +59,10 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KPopupTitle +}; // class TDEPopupTitle -class KPopupMenu : TQPopupMenu +class TDEPopupMenu : TQPopupMenu { %TypeHeaderCode #include <kpopupmenu.h> @@ -70,7 +70,7 @@ class KPopupMenu : TQPopupMenu public: - KPopupMenu (TQWidget* /TransferThis/ = 0, const char* = 0); + TDEPopupMenu (TQWidget* /TransferThis/ = 0, const char* = 0); int insertTitle (const TQString&, int = -1, int = -1); int insertTitle (const TQPixmap&, const TQString&, int = -1, int = -1); void changeTitle (int, const TQString&); @@ -83,13 +83,13 @@ public: void setKeyboardShortcutsExecute (bool); %End - KPopupMenu (const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0); + TDEPopupMenu (const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0); void setTitle (const TQString&); %If ( KDE_3_2_0 - ) TQPopupMenu* contextMenu (); void hideContextMenu (); - static KPopupMenu* contextMenuFocus (); + static TDEPopupMenu* contextMenuFocus (); static int contextMenuFocusItem (); %If ( KDE_3_4_0 - ) @@ -103,7 +103,7 @@ public: signals: %If ( KDE_3_2_0 - ) - void aboutToShowContextMenu (KPopupMenu*, int, TQPopupMenu*); + void aboutToShowContextMenu (TDEPopupMenu*, int, TQPopupMenu*); %End @@ -145,5 +145,5 @@ protected slots: %End -}; // class KPopupMenu +}; // class TDEPopupMenu diff --git a/sip/tdeui/kselect.sip b/sip/tdeui/kselect.sip index 9d3148a..7c88d8c 100644 --- a/sip/tdeui/kselect.sip +++ b/sip/tdeui/kselect.sip @@ -67,7 +67,7 @@ protected: }; // class KXYSelector -class KSelector : TQWidget, TQRangeControl +class TDESelector : TQWidget, TQRangeControl { %TypeHeaderCode #include <kselect.h> @@ -75,8 +75,8 @@ class KSelector : TQWidget, TQRangeControl public: - KSelector (TQWidget* /TransferThis/ = 0, const char* = 0); - KSelector (Orientation, TQWidget* /TransferThis/ = 0, const char* = 0); + TDESelector (TQWidget* /TransferThis/ = 0, const char* = 0); + TDESelector (Orientation, TQWidget* /TransferThis/ = 0, const char* = 0); Orientation orientation () const; TQRect contentsRect () const; void setIndent (bool); @@ -107,10 +107,10 @@ protected: protected: //igx virtual void virtual_hook (int, void*); -}; // class KSelector +}; // class TDESelector -class KGradientSelector : KSelector +class KGradientSelector : TDESelector { %TypeHeaderCode #include <kselect.h> diff --git a/sip/tdeui/kshortcutdialog.sip b/sip/tdeui/kshortcutdialog.sip index a244150..eb0d9c8 100644 --- a/sip/tdeui/kshortcutdialog.sip +++ b/sip/tdeui/kshortcutdialog.sip @@ -26,7 +26,7 @@ %If ( KDE_3_4_0 - ) -class KShortcutDialog : KDialogBase +class TDEShortcutDialog : KDialogBase { %TypeHeaderCode #include <kshortcutdialog.h> @@ -34,9 +34,9 @@ class KShortcutDialog : KDialogBase public: - KShortcutDialog (const KShortcut&, bool, TQWidget* /TransferThis/ = 0, const char* = 0); - void setShortcut (const KShortcut&); - const KShortcut& shortcut () const; + TDEShortcutDialog (const TDEShortcut&, bool, TQWidget* /TransferThis/ = 0, const char* = 0); + void setShortcut (const TDEShortcut&); + const TDEShortcut& shortcut () const; protected slots: void slotDetails (); @@ -47,7 +47,7 @@ protected slots: void slotClearAlternate (); void slotMultiKeyMode (bool); -}; // class KShortcutDialog +}; // class TDEShortcutDialog %End diff --git a/sip/tdeui/kstdaction.sip b/sip/tdeui/kstdaction.sip index a96be92..ca7ec2d 100644 --- a/sip/tdeui/kstdaction.sip +++ b/sip/tdeui/kstdaction.sip @@ -97,96 +97,96 @@ enum StdAction %End -KAction* create (KStdAction::StdAction, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/); +TDEAction* create (KStdAction::StdAction, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/); const char* name (KStdAction::StdAction); %If ( KDE_3_1_0 - ) TQStringList stdNames (); %End -KAction* openNew (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* open (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KRecentFilesAction* openRecent (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* save (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* saveAs (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* revert (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* close (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* print (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0) /PyName=print_/; -KAction* printPreview (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* mail (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* quit (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* undo (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* redo (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* cut (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* copy (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* paste (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); +TDEAction* openNew (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* open (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDERecentFilesAction* openRecent (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* save (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* saveAs (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* revert (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* close (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* print (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0) /PyName=print_/; +TDEAction* printPreview (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* mail (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* quit (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* undo (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* redo (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* cut (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* copy (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* paste (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); %If ( KDE_3_2_0 - ) -KAction* pasteText (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection*, const char* = 0); -KAction* clear (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection*, const char* = 0); +TDEAction* pasteText (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection*, const char* = 0); +TDEAction* clear (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection*, const char* = 0); %End -KAction* selectAll (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* deselect (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* find (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* findNext (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* findPrev (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* replace (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* actualSize (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* fitToPage (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* fitToWidth (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* fitToHeight (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* zoomIn (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* zoomOut (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* zoom (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* redisplay (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* up (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* back (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* forward (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* home (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* prior (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* next (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* goTo (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* gotoPage (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* gotoLine (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* firstPage (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* lastPage (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* addBookmark (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* editBookmarks (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* spelling (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KToggleAction* showMenubar (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KToggleAction* showToolbar (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); +TDEAction* selectAll (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* deselect (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* find (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* findNext (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* findPrev (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* replace (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* actualSize (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* fitToPage (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* fitToWidth (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* fitToHeight (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* zoomIn (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* zoomOut (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* zoom (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* redisplay (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* up (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* back (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* forward (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* home (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* prior (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* next (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* goTo (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* gotoPage (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* gotoLine (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* firstPage (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* lastPage (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* addBookmark (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* editBookmarks (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* spelling (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEToggleAction* showMenubar (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEToggleAction* showToolbar (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); %If ( KDE_3_1_0 - ) -KToggleToolBarAction* showToolbar (const char*, KActionCollection* /Transfer/, const char* = 0); +TDEToggleToolBarAction* showToolbar (const char*, TDEActionCollection* /Transfer/, const char* = 0); %End -KToggleAction* showStatusbar (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); +TDEToggleAction* showStatusbar (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); %If ( KDE_3_2_0 - ) -KToggleFullScreenAction* fullScreen (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection*, TQWidget*, const char* = 0); +TDEToggleFullScreenAction* fullScreen (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection*, TQWidget*, const char* = 0); %End -KAction* saveOptions (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* keyBindings (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* preferences (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* configureToolbars (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); +TDEAction* saveOptions (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* keyBindings (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* preferences (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* configureToolbars (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); %If ( KDE_3_1_0 - ) -KAction* configureNotifications (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); +TDEAction* configureNotifications (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); %End -KAction* help (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* helpContents (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* whatsThis (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); +TDEAction* help (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* helpContents (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* whatsThis (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); %If ( KDE_3_1_0 - ) -KAction* tipOfDay (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); +TDEAction* tipOfDay (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); %End -KAction* reportBug (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* aboutApp (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); -KAction* aboutKDE (SIP_RXOBJ_CON, SIP_SLOT_CON (), KActionCollection* /Transfer/, const char* = 0); +TDEAction* reportBug (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* aboutApp (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); +TDEAction* aboutKDE (SIP_RXOBJ_CON, SIP_SLOT_CON (), TDEActionCollection* /Transfer/, const char* = 0); %If ( KDE_3_1_0 - KDE_3_2_0 ) diff --git a/sip/tdeui/ksystemtray.sip b/sip/tdeui/ksystemtray.sip index a4ac3de..8570764 100644 --- a/sip/tdeui/ksystemtray.sip +++ b/sip/tdeui/ksystemtray.sip @@ -35,8 +35,8 @@ public: KSystemTray (TQWidget* /TransferThis/ = 0, const char* = 0); %If ( KDE_3_2_0 - ) - KPopupMenu* contextMenu () const; - KActionCollection* actionCollection (); + TDEPopupMenu* contextMenu () const; + TDEActionCollection* actionCollection (); %If ( KDE_3_4_0 - ) virtual void setPixmap (const TQPixmap&); @@ -66,7 +66,7 @@ public slots: protected: void mousePressEvent (TQMouseEvent*); void mouseReleaseEvent (TQMouseEvent*); - virtual void contextMenuAboutToShow (KPopupMenu*); + virtual void contextMenuAboutToShow (TDEPopupMenu*); void showEvent (TQShowEvent*); void enterEvent (TQEvent*); @@ -76,7 +76,7 @@ protected: protected: %If ( - KDE_3_2_0 ) - KPopupMenu* contextMenu (); + TDEPopupMenu* contextMenu (); %End diff --git a/sip/tdeui/kthemestyle.sip b/sip/tdeui/kthemestyle.sip index d554b06..9bcc65c 100644 --- a/sip/tdeui/kthemestyle.sip +++ b/sip/tdeui/kthemestyle.sip @@ -42,9 +42,9 @@ public: virtual void drawBaseMask (TQPainter*, int, int, int, int, bool); virtual void drawButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0); virtual void drawBevelButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, const TQBrush* = 0); - virtual void drawKToolBarButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 1, bool = 1, bool = 0, KToolButtonType = Icon, const TQString& = TQString::null, const TQPixmap* = 0, TQFont* = 0, TQWidget* = 0); - void drawKBarHandle (TQPainter*, int, int, int, int, const TQColorGroup&, KToolBarPos, TQBrush* = 0); - void drawKToolBar (TQPainter*, int, int, int, int, const TQColorGroup&, KToolBarPos, TQBrush* = 0); + virtual void drawTDEToolBarButton (TQPainter*, int, int, int, int, const TQColorGroup&, bool = 0, bool = 1, bool = 1, bool = 0, TDEToolButtonType = Icon, const TQString& = TQString::null, const TQPixmap* = 0, TQFont* = 0, TQWidget* = 0); + void drawKBarHandle (TQPainter*, int, int, int, int, const TQColorGroup&, TDEToolBarPos, TQBrush* = 0); + void drawTDEToolBar (TQPainter*, int, int, int, int, const TQColorGroup&, TDEToolBarPos, TQBrush* = 0); virtual TQRect buttonRect (int, int, int, int); virtual void drawArrow (TQPainter*, TQt::ArrowType, bool, int, int, int, int, const TQColorGroup&, bool = 1, const TQBrush* = 0); virtual TQSize exclusiveIndicatorSize () const; diff --git a/sip/tdeui/ktimezonewidget.sip b/sip/tdeui/ktimezonewidget.sip index 98e8023..5036690 100644 --- a/sip/tdeui/ktimezonewidget.sip +++ b/sip/tdeui/ktimezonewidget.sip @@ -26,7 +26,7 @@ %If ( KDE_3_5_0 - ) -class KTimezoneWidget : KListView +class KTimezoneWidget : TDEListView { %TypeHeaderCode #include <ktimezonewidget.h> diff --git a/sip/tdeui/ktmainwindow.sip b/sip/tdeui/ktmainwindow.sip index 8c6374e..37901ed 100644 --- a/sip/tdeui/ktmainwindow.sip +++ b/sip/tdeui/ktmainwindow.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KTMainWindow : KMainWindow +class KTMainWindow : TDEMainWindow { %TypeHeaderCode #include <ktmainwindow.h> @@ -36,10 +36,10 @@ public: void setView (TQWidget*, bool = 0); TQWidget* view () const; void enableStatusBar (KStatusBar::BarStatus = KStatusBar::Toggle); - void enableToolBar (KToolBar::BarStatus = KToolBar::Toggle, int = 0); - void setEnableToolBar (KToolBar::BarStatus = KToolBar::Toggle, const char* = "mainToolBar"); - int addToolBar (KToolBar*, int = -1); - KToolBar* toolBar (int = 0); + void enableToolBar (TDEToolBar::BarStatus = TDEToolBar::Toggle, int = 0); + void setEnableToolBar (TDEToolBar::BarStatus = TDEToolBar::Toggle, const char* = "mainToolBar"); + int addToolBar (TDEToolBar*, int = -1); + TDEToolBar* toolBar (int = 0); void setMenu (KMenuBar*); void setStatusBar (KStatusBar*); bool hasMenuBar (); diff --git a/sip/tdeui/ktoolbar.sip b/sip/tdeui/ktoolbar.sip index 5df7a7b..5317080 100644 --- a/sip/tdeui/ktoolbar.sip +++ b/sip/tdeui/ktoolbar.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KToolBarSeparator : TQFrame +class TDEToolBarSeparator : TQFrame { %TypeHeaderCode #include <ktoolbar.h> @@ -32,7 +32,7 @@ class KToolBarSeparator : TQFrame public: - KToolBarSeparator (Orientation, bool, TQToolBar* /TransferThis/, const char* = 0); + TDEToolBarSeparator (Orientation, bool, TQToolBar* /TransferThis/, const char* = 0); TQSize sizeHint () const; Orientation orientation () const; TQSizePolicy sizePolicy () const; @@ -49,10 +49,10 @@ protected: %End -}; // class KToolBarSeparator +}; // class TDEToolBarSeparator -class KToolBar : TQToolBar +class TDEToolBar : TQToolBar { %TypeHeaderCode #include <ktoolbar.h> @@ -89,9 +89,9 @@ public: Flat }; - KToolBar (TQWidget* /TransferThis/, const char* = 0, bool = 0, bool = 1); -//ig KToolBar (TQMainWindow*, TQMainWindow::ToolBarDock, bool = 0, const char* = 0, bool = 0, bool = 1); - KToolBar (TQMainWindow*, TQWidget*, bool = 0, const char* = 0, bool = 0, bool = 1); + TDEToolBar (TQWidget* /TransferThis/, const char* = 0, bool = 0, bool = 1); +//ig TDEToolBar (TQMainWindow*, TQMainWindow::ToolBarDock, bool = 0, const char* = 0, bool = 0, bool = 1); + TDEToolBar (TQMainWindow*, TQWidget*, bool = 0, const char* = 0, bool = 0, bool = 1); int insertButton (const TQString&, int, bool = 1, const TQString& = TQString ::null , int = -1, TDEInstance* = TDEGlobal ::instance ()); int insertButton (const TQString&, int, const char*, SIP_RXOBJ_CON, SIP_SLOT_CON (int), bool = 1, const TQString& = TQString ::null , int = -1, TDEInstance* = TDEGlobal ::instance ()); int insertButton (const TQPixmap&, int, bool = 1, const TQString& = TQString ::null , int = -1); @@ -132,7 +132,7 @@ public: TQString getComboItem (int, int = -1); KComboBox* getCombo (int); KLineEdit* getLined (int); - KToolBarButton* getButton (int); + TDEToolBarButton* getButton (int); void alignItemRight (int, bool = 1); TQWidget* getWidget (int); void setItemAutoSized (int, bool = 1); @@ -154,17 +154,17 @@ public: void setFullSize (bool = 1); bool fullSize () const; void enableMoving (bool = 1); - void setBarPos (KToolBar::BarPosition); + void setBarPos (TDEToolBar::BarPosition); BarPosition barPos () const; - bool enable (KToolBar::BarStatus); + bool enable (TDEToolBar::BarStatus); void setMaxHeight (int); int maxHeight (); void setMaxWidth (int); int maxWidth (); void setTitle (const TQString&); void enableFloating (bool); - void setIconText (KToolBar::IconText); - void setIconText (KToolBar::IconText, bool); + void setIconText (TDEToolBar::IconText); + void setIconText (TDEToolBar::IconText, bool); IconText iconText () const; void setIconSize (int); void setIconSize (int, bool); @@ -211,7 +211,7 @@ signals: void toggled (int); void highlighted (int, bool); void highlighted (int); - void moved (KToolBar::BarPosition); + void moved (TDEToolBar::BarPosition); void modechange (); %If ( KDE_3_1_0 - ) @@ -224,7 +224,7 @@ public: %If ( KDE_3_1_0 - ) static bool highlightSetting (); static bool transparentSetting (); - static KToolBar::IconText iconTextSetting (); + static TDEToolBar::IconText iconTextSetting (); %End @@ -259,5 +259,5 @@ signals: %End -}; // class KToolBar +}; // class TDEToolBar diff --git a/sip/tdeui/ktoolbarbutton.sip b/sip/tdeui/ktoolbarbutton.sip index 0ec8366..cb78fa7 100644 --- a/sip/tdeui/ktoolbarbutton.sip +++ b/sip/tdeui/ktoolbarbutton.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KToolBarButton : TQToolButton +class TDEToolBarButton : TQToolButton { %TypeHeaderCode #include <ktoolbarbutton.h> @@ -32,9 +32,9 @@ class KToolBarButton : TQToolButton public: - KToolBarButton (const TQString&, int, TQWidget* /TransferThis/, const char* = 0, const TQString& = TQString ::null , TDEInstance* = TDEGlobal ::instance ()); - KToolBarButton (const TQPixmap&, int, TQWidget* /TransferThis/, const char* = 0, const TQString& = TQString ::null ); - KToolBarButton (TQWidget* /TransferThis/ = 0, const char* = 0); + TDEToolBarButton (const TQString&, int, TQWidget* /TransferThis/, const char* = 0, const TQString& = TQString ::null , TDEInstance* = TDEGlobal ::instance ()); + TDEToolBarButton (const TQPixmap&, int, TQWidget* /TransferThis/, const char* = 0, const TQString& = TQString ::null ); + TDEToolBarButton (TQWidget* /TransferThis/ = 0, const char* = 0); virtual void setPixmap (const TQPixmap&); void setDefaultPixmap (const TQPixmap&); void setDisabledPixmap (const TQPixmap&); @@ -119,5 +119,5 @@ protected slots: protected: //igx virtual void virtual_hook (int, void*); -}; // class KToolBarButton +}; // class TDEToolBarButton diff --git a/sip/tdeui/ktoolbarlabelaction.sip b/sip/tdeui/ktoolbarlabelaction.sip index fe7c9dc..d3f06e8 100644 --- a/sip/tdeui/ktoolbarlabelaction.sip +++ b/sip/tdeui/ktoolbarlabelaction.sip @@ -26,7 +26,7 @@ %If ( KDE_3_4_0 - ) -class KToolBarLabelAction : KWidgetAction +class TDEToolBarLabelAction : KWidgetAction { %TypeHeaderCode #include <ktoolbarlabelaction.h> @@ -34,9 +34,9 @@ class KToolBarLabelAction : KWidgetAction public: - KToolBarLabelAction (const TQString&, const KShortcut&, const TQObject*, const char*, KActionCollection* /TransferThis/, const char*); - KToolBarLabelAction (TQWidget*, const TQString&, const KShortcut&, const TQObject*, const char*, KActionCollection* /TransferThis/, const char*); - KToolBarLabelAction (TQLabel*, const KShortcut&, const TQObject*, const char*, KActionCollection* /TransferThis/, const char*); + TDEToolBarLabelAction (const TQString&, const TDEShortcut&, const TQObject*, const char*, TDEActionCollection* /TransferThis/, const char*); + TDEToolBarLabelAction (TQWidget*, const TQString&, const TDEShortcut&, const TQObject*, const char*, TDEActionCollection* /TransferThis/, const char*); + TDEToolBarLabelAction (TQLabel*, const TDEShortcut&, const TQObject*, const char*, TDEActionCollection* /TransferThis/, const char*); virtual void setText (const TQString&); virtual void setBuddy (TQWidget*); TQWidget* buddy () const; @@ -45,7 +45,7 @@ public: protected: virtual void virtual_hook (int, void*); -}; // class KToolBarLabelAction +}; // class TDEToolBarLabelAction %End diff --git a/sip/tdeui/ktoolbarradiogroup.sip b/sip/tdeui/ktoolbarradiogroup.sip index 52f20d6..e6240e1 100644 --- a/sip/tdeui/ktoolbarradiogroup.sip +++ b/sip/tdeui/ktoolbarradiogroup.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KToolBarRadioGroup : TQObject +class TDEToolBarRadioGroup : TQObject { %TypeHeaderCode #include <ktoolbarradiogroup.h> @@ -32,12 +32,12 @@ class KToolBarRadioGroup : TQObject public: - KToolBarRadioGroup (KToolBar*, const char* = 0); + TDEToolBarRadioGroup (TDEToolBar*, const char* = 0); void addButton (int); void removeButton (int); public slots: void slotToggled (int); -}; // class KToolBarRadioGroup +}; // class TDEToolBarRadioGroup diff --git a/sip/tdeui/kxmlguiclient.sip b/sip/tdeui/kxmlguiclient.sip index 3ea9d70..f6b07df 100644 --- a/sip/tdeui/kxmlguiclient.sip +++ b/sip/tdeui/kxmlguiclient.sip @@ -34,9 +34,9 @@ class KXMLGUIClient public: KXMLGUIClient (); KXMLGUIClient (KXMLGUIClient* /TransferThis/); - KAction* action (const char*) const; - virtual KAction* action (const TQDomElement&) const; - virtual KActionCollection* actionCollection () const; + TDEAction* action (const char*) const; + virtual TDEAction* action (const TQDomElement&) const; + virtual TDEActionCollection* actionCollection () const; virtual TDEInstance* instance () const; virtual TQDomDocument domDocument () const; virtual TQString xmlFile () const; @@ -52,7 +52,7 @@ public: void setClientBuilder (KXMLGUIBuilder*); KXMLGUIBuilder* clientBuilder () const; void reloadXML (); - void plugActionList (const TQString&, const TQPtrList<KAction>&); + void plugActionList (const TQString&, const TQPtrList<TDEAction>&); void unplugActionList (const TQString&); static TQString findMostRecentXMLFile (const TQStringList&, TQString&); void addStateActionEnabled (const TQString&, const TQString&); diff --git a/sip/tdeui/kxmlguifactory.sip b/sip/tdeui/kxmlguifactory.sip index d9be213..af2cd5b 100644 --- a/sip/tdeui/kxmlguifactory.sip +++ b/sip/tdeui/kxmlguifactory.sip @@ -47,7 +47,7 @@ public: void addClient (KXMLGUIClient*); void removeClient (KXMLGUIClient*); - void plugActionList (KXMLGUIClient*, const TQString&, const TQPtrList<KAction>&); + void plugActionList (KXMLGUIClient*, const TQString&, const TQPtrList<TDEAction>&); void unplugActionList (KXMLGUIClient*, const TQString&); TQPtrList<KXMLGUIClient> clients () const; TQWidget* container (const TQString&, KXMLGUIClient*, bool = 0); @@ -72,10 +72,10 @@ protected: }; // class KXMLGUIFactory //force -TQPtrList<KAction> testKActionList (TQPtrList<KAction>); +TQPtrList<TDEAction> testTDEActionList (TQPtrList<TDEAction>); %MethodCode -//takes list | (TQPtrList<KAction>) -//returns (TQPtrList<KAction>) +//takes list | (TQPtrList<TDEAction>) +//returns (TQPtrList<TDEAction>) sipRes = a0; %End @@ -83,8 +83,8 @@ TQPtrList<KAction> testKActionList (TQPtrList<KAction>); //end -%MappedType TQPtrList<KAction> -//converts a Python list of KAction +%MappedType TQPtrList<TDEAction> +//converts a Python list of TDEAction { %TypeHeaderCode #include <tqptrlist.h> @@ -104,14 +104,14 @@ TQPtrList<KAction> testKActionList (TQPtrList<KAction>); // Get it. - TQPtrList<KAction> *cpplist = (TQPtrList<KAction> *)sipCpp; - KAction *cpp; + TQPtrList<TDEAction> *cpplist = (TQPtrList<TDEAction> *)sipCpp; + TDEAction *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_KAction, sipTransferObj)) == NULL) + if (((inst = sipConvertFromInstance (cpp, sipClass_TDEAction, sipTransferObj)) == NULL) || PyList_Append (pylist, inst) < 0) { Py_DECREF (pylist); @@ -126,16 +126,16 @@ TQPtrList<KAction> testKActionList (TQPtrList<KAction>); if (sipIsErr == NULL) return PyList_Check(sipPy); - TQPtrList<KAction> *cpplist = new TQPtrList<KAction>; + TQPtrList<TDEAction> *cpplist = new TQPtrList<TDEAction>; PyObject *elem; - KAction *cpp; + TDEAction *cpp; int iserr = 0; for (int i = 0; i < PyList_Size (sipPy); i++) { elem = PyList_GET_ITEM (sipPy, i); - cpp = (KAction *)sipForceConvertToType(elem, sipType_KAction, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); + cpp = (TDEAction *)sipForceConvertToType(elem, sipType_TDEAction, sipTransferObj, SIP_NO_CONVERTORS, NULL, &iserr); if (iserr) { diff --git a/sip/tdeui/twindowlistmenu.sip b/sip/tdeui/twindowlistmenu.sip index 5ca22ef..0e244e0 100644 --- a/sip/tdeui/twindowlistmenu.sip +++ b/sip/tdeui/twindowlistmenu.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KWindowListMenu : KPopupMenu +class KWindowListMenu : TDEPopupMenu { %TypeHeaderCode #include <twindowlistmenu.h> |