diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 02:13:42 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 02:13:42 -0600 |
commit | 520c05ef06ce203ad32470730f68402bc7719157 (patch) | |
tree | 8d0bb18bbbecb4c837e232848905e5819db84b81 /examples/qmag | |
parent | b82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff) | |
download | tqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip |
Automated update from qt3
Diffstat (limited to 'examples/qmag')
-rw-r--r-- | examples/qmag/qmag.cpp | 6 |
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", |