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