From 520c05ef06ce203ad32470730f68402bc7719157 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 27 Feb 2012 02:13:42 -0600 Subject: Automated update from qt3 --- examples/qwerty/main.cpp | 4 ++-- examples/qwerty/qwerty.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/qwerty') diff --git a/examples/qwerty/main.cpp b/examples/qwerty/main.cpp index 01ab2a47d..c5b29d70a 100644 --- a/examples/qwerty/main.cpp +++ b/examples/qwerty/main.cpp @@ -16,8 +16,8 @@ int main( int argc, char **argv ) TQApplication a( argc, argv ); - bool isSmall = qApp->desktop()->size().width() < 450 - || qApp->desktop()->size().height() < 450; + bool isSmall = tqApp->desktop()->size().width() < 450 + || tqApp->desktop()->size().height() < 450; int i; for ( i= argc <= 1 ? 0 : 1; iinsertSeparator(); 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 ); -- cgit v1.2.1