summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-04 23:32:15 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 20:47:24 +0900
commit9e55e6ee9cb2292bcb7ec9ed0201eaa66362e410 (patch)
treeb400b81aa76489816f2cd61809d98ef240aada94
parenta2dacecf905d9cc88d751b5261d53f65b9a758ee (diff)
downloadk9copy-9e55e6ee.tar.gz
k9copy-9e55e6ee.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9f36a8ff1a8728b927f8b503e531c3543c1938b6)
-rw-r--r--k9author/k9menueditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/k9author/k9menueditor.cpp b/k9author/k9menueditor.cpp
index 0099a51..e382651 100644
--- a/k9author/k9menueditor.cpp
+++ b/k9author/k9menueditor.cpp
@@ -144,7 +144,7 @@ void k9MenuEditor::updateCursor(TQMouseEvent *e) {
void k9MenuEditor::contentsMouseMoveEvent(TQMouseEvent* e) {
updateCursor(e);
- if ( moving && (e->state() & Qt::LeftButton ==Qt::LeftButton) ) {
+ if ( moving && (e->state() & TQt::LeftButton ==TQt::LeftButton) ) {
if (moving->rtti() !=TQCanvasItem::Rtti_Text || moving==m_menu->getText()) {
TQPoint p = inverseWorldMatrix().map(e->pos());
int offsetX=p.x() - moving_start.x();
@@ -173,7 +173,7 @@ void k9MenuEditor::contentsMouseMoveEvent(TQMouseEvent* e) {
emit m_menu->updateTextPos(TQPoint(moving->x(),moving->y()));
canvas()->update();
}
- } else if ((e->state() & Qt::LeftButton) ==Qt::LeftButton ) {
+ } else if ((e->state() & TQt::LeftButton) ==TQt::LeftButton ) {
m_canvasSelection->hide();
canvas()->update();
TQPoint p = inverseWorldMatrix().map(e->pos());