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/canvas/canvas.cpp | |
parent | b82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff) | |
download | tqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip |
Automated update from qt3
Diffstat (limited to 'examples/canvas/canvas.cpp')
-rw-r--r-- | examples/canvas/canvas.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/canvas/canvas.cpp b/examples/canvas/canvas.cpp index 47bc9b6af..86405b51f 100644 --- a/examples/canvas/canvas.cpp +++ b/examples/canvas/canvas.cpp @@ -79,7 +79,7 @@ bool ImageItem::hit( const TQPoint &p ) const if ( !image.valid( ix , iy ) ) return FALSE; TQRgb pixel = image.pixel( ix, iy ); - return qAlpha( pixel ) != 0; + return tqAlpha( pixel ) != 0; } class NodeItem: public TQCanvasEllipse @@ -319,7 +319,7 @@ Main::Main(TQCanvas& c, TQWidget* parent, const char* name, WFlags f) : file->insertSeparator(); file->insertItem("&Print...", this, SLOT(print()), CTRL+Key_P); file->insertSeparator(); - file->insertItem("E&xit", qApp, SLOT(quit()), CTRL+Key_Q); + file->insertItem("E&xit", tqApp, SLOT(quit()), CTRL+Key_Q); menu->insertItem("&File", file); TQPopupMenu* edit = new TQPopupMenu( menu ); @@ -409,9 +409,9 @@ void Main::newView() { // Open a new view... have it delete when closed. Main *m = new Main(canvas, 0, 0, WDestructiveClose); - qApp->setMainWidget(m); + tqApp->setMainWidget(m); m->show(); - qApp->setMainWidget(0); + tqApp->setMainWidget(0); } void Main::clear() |