diff options
Diffstat (limited to 'lib/kotext/KoTextView.cpp')
-rw-r--r-- | lib/kotext/KoTextView.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kotext/KoTextView.cpp b/lib/kotext/KoTextView.cpp index 47d7004b..55c54e9d 100644 --- a/lib/kotext/KoTextView.cpp +++ b/lib/kotext/KoTextView.cpp @@ -175,14 +175,14 @@ void KoTextView::handleKeyPressEvent( TQKeyEvent * e, TQWidget *widget, const TQ }*/ bool clearUndoRedoInfo = TRUE; - if ( KShortcut( KKey( e ) ) == KStdAccel::deleteWordBack() ) + if ( TDEShortcut( KKey( e ) ) == TDEStdAccel::deleteWordBack() ) { if ( m_cursor->parag()->string()->isRightToLeft() ) deleteWordRight(); else deleteWordLeft(); clearUndoRedoInfo = TRUE; - } else if ( KShortcut( KKey( e ) ) == KStdAccel::deleteWordForward() ) + } else if ( TDEShortcut( KKey( e ) ) == TDEStdAccel::deleteWordForward() ) { if ( m_cursor->parag()->string()->isRightToLeft() ) deleteWordLeft(); @@ -355,7 +355,7 @@ void KoTextView::handleKeyPressEvent( TQKeyEvent * e, TQWidget *widget, const TQ removeToolTipCompletion(); } - // We should use KAccel instead, to make this configurable ! + // We should use TDEAccel instead, to make this configurable ! // Well, those are all alternate keys, for keys already configurable (KDE-wide) // and a kaccel makes it hard to else @@ -1087,7 +1087,7 @@ KoLinkVariable * KoTextView::linkVariable() return dynamic_cast<KoLinkVariable *>(variable()); } -TQPtrList<KAction> KoTextView::dataToolActionList(TDEInstance * instance, const TQString& word, bool & _singleWord ) +TQPtrList<TDEAction> KoTextView::dataToolActionList(TDEInstance * instance, const TQString& word, bool & _singleWord ) { m_singleWord = false; m_wordUnderCursor = TQString(); @@ -1118,7 +1118,7 @@ TQPtrList<KAction> KoTextView::dataToolActionList(TDEInstance * instance, const } if ( text.isEmpty() || textObject()->protectContent()) // Nothing to apply a tool to - return TQPtrList<KAction>(); + return TQPtrList<TDEAction>(); // Any tool that works on plain text is relevant TQValueList<KDataToolInfo> tools; |