diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 02:13:42 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-27 02:13:42 -0600 |
commit | 520c05ef06ce203ad32470730f68402bc7719157 (patch) | |
tree | 8d0bb18bbbecb4c837e232848905e5819db84b81 /examples/textedit | |
parent | b82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff) | |
download | tqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip |
Automated update from qt3
Diffstat (limited to 'examples/textedit')
-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() |