summaryrefslogtreecommitdiffstats
path: root/examples/canvas/canvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/canvas/canvas.cpp')
-rw-r--r--examples/canvas/canvas.cpp8
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()