diff options
Diffstat (limited to 'sip/tdecore/kaccel.sip')
-rw-r--r-- | sip/tdecore/kaccel.sip | 42 |
1 files changed, 21 insertions, 21 deletions
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 |