summaryrefslogtreecommitdiffstats
path: root/examples/textedit
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-27 02:13:42 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-27 02:13:42 -0600
commit520c05ef06ce203ad32470730f68402bc7719157 (patch)
tree8d0bb18bbbecb4c837e232848905e5819db84b81 /examples/textedit
parentb82553bf90cb5311cfe8e673b07cf6cffc95fd3c (diff)
downloadtqt3-520c05ef06ce203ad32470730f68402bc7719157.tar.gz
tqt3-520c05ef06ce203ad32470730f68402bc7719157.zip
Automated update from qt3
Diffstat (limited to 'examples/textedit')
-rw-r--r--examples/textedit/textedit.cpp8
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()