diff options
Diffstat (limited to 'qtjava/javalib/examples/textedit/TextEdit.java')
-rw-r--r-- | qtjava/javalib/examples/textedit/TextEdit.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qtjava/javalib/examples/textedit/TextEdit.java b/qtjava/javalib/examples/textedit/TextEdit.java index 7135f0e6..560ebc32 100644 --- a/qtjava/javalib/examples/textedit/TextEdit.java +++ b/qtjava/javalib/examples/textedit/TextEdit.java @@ -48,11 +48,11 @@ TextEdit( TQWidget parent, String name ) this, SLOT(" editorChanged( TQWidget )") ); setCentralWidget( tabWidget ); - if ( qApp().args().length == 0 ) { + if ( tqApp().args().length == 0 ) { load( "example.html" ); } else { - for ( int i = 0; i < qApp().args().length; ++i ) - load( qApp().args()[ i ] ); + for ( int i = 0; i < tqApp().args().length; ++i ) + load( tqApp().args()[ i ] ); } } @@ -332,7 +332,7 @@ void fileClose() void fileExit() { - qApp().quit(); + tqApp().quit(); } void editUndo() |