summaryrefslogtreecommitdiffstats
path: root/examples/qwerty
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qwerty')
-rw-r--r--examples/qwerty/main.cpp4
-rw-r--r--examples/qwerty/qwerty.cpp6
2 files changed, 5 insertions, 5 deletions
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; i<argc; i++ ) {
diff --git a/examples/qwerty/qwerty.cpp b/examples/qwerty/qwerty.cpp
index 4d7911271..5f045448f 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 );