From 65eca7929c22f0f0bc64135c02d85d1243df376c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:12:51 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kolourpaint/kptool.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kolourpaint/kptool.h') 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 , returns a shortcut with // (disabled when the user is editing text) and as an alternate, // +. - 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); -- cgit v1.2.1