summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/editor.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-05 11:54:26 +0900
committerMichele Calgaro <[email protected]>2023-11-16 23:37:57 +0900
commitef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch)
tree03df826633e4ba084d133ca977c4fc37c74f21ac /lib/koproperty/editor.cpp
parent895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff)
downloadkoffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz
koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'lib/koproperty/editor.cpp')
-rw-r--r--lib/koproperty/editor.cpp8
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