summaryrefslogtreecommitdiffstats
path: root/amor
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 11:05:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 18:02:03 +0900
commitebce9b53863b1ccf1cc2f84eb556d50ec28beeaf (patch)
tree085cc3e369c38c74d5200933bb503d3170b58495 /amor
parenta876313d64876005fc672d1362a2032c2b28dd21 (diff)
downloadtdetoys-ebce9b53863b1ccf1cc2f84eb556d50ec28beeaf.tar.gz
tdetoys-ebce9b53863b1ccf1cc2f84eb556d50ec28beeaf.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'amor')
-rw-r--r--amor/amordialog.cpp2
-rw-r--r--amor/amorwidget.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/amor/amordialog.cpp b/amor/amordialog.cpp
index 5abb0e3..53d4d7a 100644
--- a/amor/amordialog.cpp
+++ b/amor/amordialog.cpp
@@ -74,7 +74,7 @@ AmorDialog::AmorDialog()
label = new TQLabel(i18n("Offset:"), offsetBox);
TQSlider *slider = new TQSlider(-40, 40, 5, mConfig.mOffset,
- Qt::Vertical, offsetBox);
+ TQt::Vertical, offsetBox);
connect(slider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotOffset(int)));
// Always on top
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();