diff options
Diffstat (limited to 'lib/koproperty/editor.cpp')
-rw-r--r-- | lib/koproperty/editor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/koproperty/editor.cpp b/lib/koproperty/editor.cpp index c6ebe14f..2a72fdbe 100644 --- a/lib/koproperty/editor.cpp +++ b/lib/koproperty/editor.cpp @@ -931,7 +931,7 @@ Editor::handleKeyPress(TQKeyEvent* ev) //selection moving TQListViewItem *item = 0; - if ( ((s == Qt::NoButton) && (k == Key_Up)) || (k==Key_BackTab) ) { + if ( ((s == TQt::NoButton) && (k == Key_Up)) || (k==Key_BackTab) ) { //find prev visible item = selectedItem() ? selectedItem()->itemAbove() : 0; while (item && (!item->isSelectable() || !item->isVisible())) @@ -939,7 +939,7 @@ Editor::handleKeyPress(TQKeyEvent* ev) if (!item) return true; } - else if( (s == Qt::NoButton) && ((k == Key_Down) || (k == Key_Tab)) ) { + else if( (s == TQt::NoButton) && ((k == Key_Down) || (k == Key_Tab)) ) { //find next visible item = selectedItem() ? selectedItem()->itemBelow() : 0; while (item && (!item->isSelectable() || !item->isVisible())) @@ -947,7 +947,7 @@ Editor::handleKeyPress(TQKeyEvent* ev) if (!item) return true; } - else if( (s==Qt::NoButton) && (k==Key_Home) ) { + else if( (s==TQt::NoButton) && (k==Key_Home) ) { if (d->currentWidget && d->currentWidget->hasFocus()) return false; //find 1st visible @@ -955,7 +955,7 @@ Editor::handleKeyPress(TQKeyEvent* ev) while (item && (!item->isSelectable() || !item->isVisible())) item = item->itemBelow(); } - else if( (s==Qt::NoButton) && (k==Key_End) ) { + else if( (s==TQt::NoButton) && (k==Key_End) ) { if (d->currentWidget && d->currentWidget->hasFocus()) return false; //find last visible |