diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 11:05:29 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 18:19:31 +0900 |
| commit | 8f9e8c882373f01e38599281c1c4e0d667b1f2f2 (patch) | |
| tree | 648b0c69b1a4fb37277df76134b6f27287de8a05 /amor/amorwidget.cpp | |
| parent | 76679027e6f0d3eb77f5f5dc3dd9378e01c1bf94 (diff) | |
| download | tdetoys-8f9e8c88.tar.gz tdetoys-8f9e8c88.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ebce9b53863b1ccf1cc2f84eb556d50ec28beeaf)
Diffstat (limited to 'amor/amorwidget.cpp')
| -rw-r--r-- | amor/amorwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/amor/amorwidget.cpp b/amor/amorwidget.cpp index 38dd0d3..c60cd5d 100644 --- a/amor/amorwidget.cpp +++ b/amor/amorwidget.cpp @@ -98,7 +98,7 @@ void AmorWidget::mousePressEvent(TQMouseEvent *me) // void AmorWidget::mouseMoveEvent(TQMouseEvent *me) { - if ( me->state() == Qt::LeftButton ) { + if ( me->state() == TQt::LeftButton ) { if ( !dragging && (clickPos-me->globalPos()).manhattanLength() > 3 ) dragging = true; if ( dragging ) { @@ -116,7 +116,7 @@ void AmorWidget::mouseReleaseEvent(TQMouseEvent *me) { if ( dragging ) emit dragged( me->globalPos() - clickPos, true ); - else if ( me->state() == Qt::RightButton ) + else if ( me->state() == TQt::RightButton ) emit mouseClicked(clickPos); clickPos = TQPoint(); |
