summaryrefslogtreecommitdiffstats
path: root/k9author/k9menueditor.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-04 23:32:15 +0900
committerMichele Calgaro <[email protected]>2023-11-04 23:32:15 +0900
commit9f36a8ff1a8728b927f8b503e531c3543c1938b6 (patch)
treeb312381bbbe689b7cd806466617a6246f82720c2 /k9author/k9menueditor.cpp
parent8efa9efcb334e19ad201f81c47561e1e411e46cd (diff)
downloadk9copy-9f36a8ff1a8728b927f8b503e531c3543c1938b6.tar.gz
k9copy-9f36a8ff1a8728b927f8b503e531c3543c1938b6.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'k9author/k9menueditor.cpp')
-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());