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/tools/kptoolaction.cpp | |
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/tools/kptoolaction.cpp')
-rw-r--r-- | kolourpaint/tools/kptoolaction.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kolourpaint/tools/kptoolaction.cpp b/kolourpaint/tools/kptoolaction.cpp index d45acb30..6d005981 100644 --- a/kolourpaint/tools/kptoolaction.cpp +++ b/kolourpaint/tools/kptoolaction.cpp @@ -32,10 +32,10 @@ kpToolAction::kpToolAction (const TQString &text, - const TQString &pic, const KShortcut &shortcut, + const TQString &pic, const TDEShortcut &shortcut, const TQObject *receiver, const char *slot, TQObject *parent, const char *name) - : KToggleAction (text, + : TDEToggleAction (text, pic, shortcut, receiver, slot, parent, name) @@ -62,27 +62,27 @@ void kpToolAction::updateToolTip () // -// KToggleAction interface +// TDEToggleAction interface // -// public slot virtual [base KAction] +// public slot virtual [base TDEAction] void kpToolAction::setText (const TQString &text) { - KToggleAction::setText (text); + TDEToggleAction::setText (text); updateToolTip (); } -// public slot virtual [base KAction] -bool kpToolAction::setShortcut (const KShortcut &shortcut) +// public slot virtual [base TDEAction] +bool kpToolAction::setShortcut (const TDEShortcut &shortcut) { - bool ret = KToggleAction::setShortcut (shortcut); + bool ret = TDEToggleAction::setShortcut (shortcut); updateToolTip (); return ret; } // -// KToggleAction implements kpSingleKeyTriggersActionInterface +// TDEToggleAction implements kpSingleKeyTriggersActionInterface // // public virtual [base kpSingleKeyTriggersActionInterface] @@ -92,13 +92,13 @@ const char *kpToolAction::actionName () const } // public virtual [base kpSingleKeyTriggersActionInterface] -KShortcut kpToolAction::actionShortcut () const +TDEShortcut kpToolAction::actionShortcut () const { return shortcut (); } // public virtual [base kpSingleKeyTriggersActionInterface] -void kpToolAction::actionSetShortcut (const KShortcut &shortcut) +void kpToolAction::actionSetShortcut (const TDEShortcut &shortcut) { setShortcut (shortcut); } |