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/kptool.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/kptool.h')
-rw-r--r-- | kolourpaint/kptool.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kolourpaint/kptool.h b/kolourpaint/kptool.h index f1fc22bb..2a630144 100644 --- a/kolourpaint/kptool.h +++ b/kolourpaint/kptool.h @@ -41,7 +41,7 @@ class TQIconSet; class TQPixmap; class KKeySequence; -class KShortcut; +class TDEShortcut; class kpColor; class kpColorToolBar; @@ -89,7 +89,7 @@ public: void setText (const TQString &text); static TQString toolTipForTextAndShortcut (const TQString &text, - const KShortcut &shortcut); + const TDEShortcut &shortcut); TQString toolTip () const; TQString description () const; @@ -101,13 +101,13 @@ public: // Given a single <key>, returns a shortcut with <key> // (disabled when the user is editing text) and as an alternate, // <some modifiers>+<key>. - static KShortcut shortcutForKey (int key); - KShortcut shortcut () const; + static TDEShortcut shortcutForKey (int key); + TDEShortcut shortcut () const; static bool keyIsText (int key); static bool containsSingleKeyTrigger (const KKeySequence &seq); - static bool containsSingleKeyTrigger (const KShortcut &shortcut, - KShortcut *shortcutWithoutSingleKeyTriggers); + static bool containsSingleKeyTrigger (const TDEShortcut &shortcut, + TDEShortcut *shortcutWithoutSingleKeyTriggers); bool singleKeyTriggersEnabled () const; void enableSingleKeyTriggers (bool enable = true); |