diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:12:51 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:12:51 -0600 |
commit | 65eca7929c22f0f0bc64135c02d85d1243df376c (patch) | |
tree | 5b47361590fb6693a0f6258d6a8d725856ef2ad9 /kolourpaint/kpsinglekeytriggersaction.h | |
parent | cd6d514066c22206c388eddbb7fbec32648dbaeb (diff) | |
download | tdegraphics-65eca7929c22f0f0bc64135c02d85d1243df376c.tar.gz tdegraphics-65eca7929c22f0f0bc64135c02d85d1243df376c.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kolourpaint/kpsinglekeytriggersaction.h')
-rw-r--r-- | kolourpaint/kpsinglekeytriggersaction.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kolourpaint/kpsinglekeytriggersaction.h b/kolourpaint/kpsinglekeytriggersaction.h index 0e88ac8f..b041d250 100644 --- a/kolourpaint/kpsinglekeytriggersaction.h +++ b/kolourpaint/kpsinglekeytriggersaction.h @@ -41,22 +41,22 @@ public: bool singleKeyTriggersEnabled () const; void enableSingleKeyTriggers (bool enable = true); - // Avoid inheritance diamond by not deriving from KAction - // so you'll have to implement these by talking to your base KAction. + // Avoid inheritance diamond by not deriving from TDEAction + // so you'll have to implement these by talking to your base TDEAction. virtual const char *actionName () const { return 0; } - virtual KShortcut actionShortcut () const = 0; - virtual void actionSetShortcut (const KShortcut &shortcut) = 0; + virtual TDEShortcut actionShortcut () const = 0; + virtual void actionSetShortcut (const TDEShortcut &shortcut) = 0; protected: bool m_singleKeyTriggersEnabled; - KShortcut m_fullShortcut; + TDEShortcut m_fullShortcut; }; #include <kaction.h> -class kpSingleKeyTriggersAction : public KAction, +class kpSingleKeyTriggersAction : public TDEAction, public kpSingleKeyTriggersActionInterface { Q_OBJECT @@ -64,9 +64,9 @@ Q_OBJECT public: kpSingleKeyTriggersAction (const TQString &text, - const KShortcut &shortcut, + const TDEShortcut &shortcut, const TQObject *receiver, const char *slot, - KActionCollection *parent, const char *name); + TDEActionCollection *parent, const char *name); virtual ~kpSingleKeyTriggersAction (); @@ -75,8 +75,8 @@ public: // virtual const char *actionName () const; - virtual KShortcut actionShortcut () const; - virtual void actionSetShortcut (const KShortcut &shortcut); + virtual TDEShortcut actionShortcut () const; + virtual void actionSetShortcut (const TDEShortcut &shortcut); }; |