diff options
Diffstat (limited to 'examples/textedit/textedit.cpp')
-rw-r--r-- | examples/textedit/textedit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/textedit/textedit.cpp b/examples/textedit/textedit.cpp index e3441c858..66a3a4972 100644 --- a/examples/textedit/textedit.cpp +++ b/examples/textedit/textedit.cpp @@ -40,11 +40,11 @@ TextEdit::TextEdit( TQWidget *parent, const char *name ) this, SLOT( editorChanged( TQWidget * ) ) ); setCentralWidget( tabWidget ); - if ( qApp->argc() == 1 ) { + if ( tqApp->argc() == 1 ) { load( "example.html" ); } else { - for ( int i = 1; i < qApp->argc(); ++i ) - load( qApp->argv()[ i ] ); + for ( int i = 1; i < tqApp->argc(); ++i ) + load( tqApp->argv()[ i ] ); } } @@ -315,7 +315,7 @@ void TextEdit::fileClose() void TextEdit::fileExit() { - qApp->quit(); + tqApp->quit(); } void TextEdit::editUndo() |