summaryrefslogtreecommitdiffstats
path: root/examples/showimg
diff options
context:
space:
mode:
Diffstat (limited to 'examples/showimg')
-rw-r--r--examples/showimg/main.cpp2
-rw-r--r--examples/showimg/showimg.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/showimg/main.cpp b/examples/showimg/main.cpp
index 2b985a419..1d68c04b3 100644
--- a/examples/showimg/main.cpp
+++ b/examples/showimg/main.cpp
@@ -50,7 +50,7 @@ int main( int argc, char **argv )
}
}
- TQObject::connect(qApp, SIGNAL(lastWindowClosed()), qApp, SLOT(quit()));
+ TQObject::connect(tqApp, SIGNAL(lastWindowClosed()), tqApp, SLOT(quit()));
return a.exec();
}
diff --git a/examples/showimg/showimg.cpp b/examples/showimg/showimg.cpp
index 526d0debb..579dbb514 100644
--- a/examples/showimg/showimg.cpp
+++ b/examples/showimg/showimg.cpp
@@ -57,7 +57,7 @@ ImageViewer::ImageViewer( TQWidget *parent, const char *name, int wFlags )
si = file->insertItem( "Save image", saveimage );
sp = file->insertItem( "Save pixmap", savepixmap );
file->insertSeparator();
- file->insertItem( "E&xit", qApp, SLOT(quit()), CTRL+Key_Q );
+ file->insertItem( "E&xit", tqApp, SLOT(quit()), CTRL+Key_Q );
edit = new TQPopupMenu( menubar );
menubar->insertItem( "&Edit", edit );