diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:09:42 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:09:42 -0600 |
commit | 2df6bde18ab40472f2df8637cf6456cb80dc2329 (patch) | |
tree | 5a4362124ff46786fce835d2f1e7d583c92a5670 /sip/tdeui/kactionshortcutlist.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/tdeui/kactionshortcutlist.sip')
-rw-r--r-- | sip/tdeui/kactionshortcutlist.sip | 28 |
1 files changed, 14 insertions, 14 deletions
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 |