summaryrefslogtreecommitdiffstats
path: root/examples/qmag
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qmag')
-rw-r--r--examples/qmag/qmag.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/qmag/qmag.cpp b/examples/qmag/qmag.cpp
index 34504300c..9753748e7 100644
--- a/examples/qmag/qmag.cpp
+++ b/examples/qmag/qmag.cpp
@@ -128,7 +128,7 @@ MagWidget::MagWidget( TQWidget *parent, const char *name )
quitButton = new TQPushButton( this );
TQ_CHECK_PTR(quitButton);
- connect( quitButton, SIGNAL(clicked()), qApp, SLOT(quit()) );
+ connect( quitButton, SIGNAL(clicked()), tqApp, SLOT(quit()) );
quitButton->setText( "Quit" );
quitButton->setGeometry( multiSaveButton->geometry().right() + 2, 2,
10+quitButton->fontMetrics().width("Quit"), 20 );
@@ -334,8 +334,8 @@ void MagWidget::mouseMoveEvent( TQMouseEvent *e )
{
TQRgb px = image.pixel(x,y);
pixelinfo.sprintf(" %3d,%3d,%3d #%02x%02x%02x",
- qRed(px), qGreen(px), qBlue(px),
- qRed(px), qGreen(px), qBlue(px));
+ tqRed(px), tqGreen(px), tqBlue(px),
+ tqRed(px), tqGreen(px), tqBlue(px));
}
TQString label;
label.sprintf( "x=%d, y=%d %s",