diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:54:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-16 23:40:13 +0900 |
commit | c8c5e11f05f023849896d09cf06917e9a2c016ca (patch) | |
tree | a62f00b0249b967528e115e2123b56d40633c17a /lib/koproperty/editor.cpp | |
parent | c9973bfbf1091ef91f30b5ab456015676123aa47 (diff) | |
download | koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.tar.gz koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
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 c6ebe14f1..2a72fdbe6 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 |