From 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 2 Jun 2024 23:07:22 +0900 Subject: Rename ntqwidget* related files to equivalent tqwidget* Signed-off-by: Michele Calgaro --- doc/html/simple-application-example.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'doc/html/simple-application-example.html') diff --git a/doc/html/simple-application-example.html b/doc/html/simple-application-example.html index 986be2d61..a40441fc4 100644 --- a/doc/html/simple-application-example.html +++ b/doc/html/simple-application-example.html @@ -204,7 +204,7 @@ private: file->insertSeparator(); - file->insertItem( "&Close", this, TQ_SLOT(close()), CTRL+Key_W ); + file->insertItem( "&Close", this, TQ_SLOT(close()), CTRL+Key_W ); file->insertItem( "&Quit", tqApp, TQ_SLOT( closeAllWindows() ), CTRL+Key_Q ); @@ -219,11 +219,11 @@ private: help->insertItem( "What's &This", this, TQ_SLOT(whatsThis()), SHIFT+Key_F1 ); e = new TQTextEdit( this, "editor" ); - e->setFocus(); + e->setFocus(); setCentralWidget( e ); statusBar()->message( "Ready", 2000 ); - resize( 450, 600 ); + resize( 450, 600 ); } @@ -237,8 +237,8 @@ ApplicationWindow::~ApplicationWindow() void ApplicationWindow::newDoc() { ApplicationWindow *ed = new ApplicationWindow; - ed->setCaption("TQt Example - Application"); - ed->show(); + ed->setCaption("TQt Example - Application"); + ed->show(); } void ApplicationWindow::choose() @@ -261,7 +261,7 @@ void ApplicationWindow::load( const TQTextStream ts( &f ); e->setText( ts.read() ); e->setModified( FALSE ); - setCaption( fileName ); + setCaption( fileName ); statusBar()->message( "Loaded document " + fileName, 2000 ); } @@ -287,7 +287,7 @@ void ApplicationWindow::save() e->setModified( FALSE ); - setCaption( filename ); + setCaption( filename ); statusBar()->message( TQString( "File %1 saved" ).arg( filename ), 2000 ); } @@ -347,7 +347,7 @@ void ApplicationWindow::print() } } -void ApplicationWindow::closeEvent( TQCloseEvent* ce ) +void ApplicationWindow::closeEvent( TQCloseEvent* ce ) { if ( !e->isModified() ) { ce->accept(); @@ -406,8 +406,8 @@ void ApplicationWindow::aboutTQt() int main( int argc, char ** argv ) { TQApplication a( argc, argv ); ApplicationWindow *mw = new ApplicationWindow(); - mw->setCaption( "TQt Example - Application" ); - mw->show(); + mw->setCaption( "TQt Example - Application" ); + mw->show(); a.connect( &a, TQ_SIGNAL(lastWindowClosed()), &a, TQ_SLOT(quit()) ); return a.exec(); } -- cgit v1.2.3