summaryrefslogtreecommitdiffstats
path: root/examples/qwerty/qwerty.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qwerty/qwerty.cpp')
-rw-r--r--examples/qwerty/qwerty.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/qwerty/qwerty.cpp b/examples/qwerty/qwerty.cpp
index 4d791127..5f045448 100644
--- a/examples/qwerty/qwerty.cpp
+++ b/examples/qwerty/qwerty.cpp
@@ -52,7 +52,7 @@ Editor::Editor( TQWidget * parent , const char * name )
#endif
file->insertSeparator();
file->insertItem( "&Close", this, SLOT(close()),ALT+Key_W );
- file->insertItem( "&Quit", qApp, SLOT(closeAllWindows()), ALT+Key_Q );
+ file->insertItem( "&Quit", tqApp, SLOT(closeAllWindows()), ALT+Key_Q );
connect( save_as, SIGNAL(activated(int)), this, SLOT(saveAsEncoding(int)) );
connect( open_as, SIGNAL(activated(int)), this, SLOT(openAsEncoding(int)) );
@@ -130,8 +130,8 @@ void Editor::rebuildCodecList()
void Editor::newDoc()
{
Editor *ed = new Editor;
- if ( qApp->desktop()->size().width() < 450
- || qApp->desktop()->size().height() < 450 ) {
+ if ( tqApp->desktop()->size().width() < 450
+ || tqApp->desktop()->size().height() < 450 ) {
ed->showMaximized();
} else {
ed->resize( 400, 400 );