From 04913ce7a46fd027856e83a96205fdc388742a19 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 23 May 2024 14:04:45 +0900 Subject: Rename ntqobject*.h and qobject*.cpp to tqobject* Signed-off-by: Michele Calgaro --- doc/html/qaction-application-example.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/html/qaction-application-example.html') diff --git a/doc/html/qaction-application-example.html b/doc/html/qaction-application-example.html index 107e2775d..3da2205d4 100644 --- a/doc/html/qaction-application-example.html +++ b/doc/html/qaction-application-example.html @@ -141,12 +141,12 @@ private: TQAction * fileCloseAction, * fileQuitAction; fileNewAction = new TQAction( "&New", CTRL+Key_N, this, "new" ); - connect( fileNewAction, TQ_SIGNAL( activated() ) , this, + connect( fileNewAction, TQ_SIGNAL( activated() ) , this, TQ_SLOT( newDoc() ) ); fileOpenAction = new TQAction( TQPixmap( fileopen ), "&Open...", CTRL+Key_O, this, "open" ); - connect( fileOpenAction, TQ_SIGNAL( activated() ) , this, TQ_SLOT( choose() ) ); + connect( fileOpenAction, TQ_SIGNAL( activated() ) , this, TQ_SLOT( choose() ) ); const char * fileOpenText = "<p><img source=\"fileopen\"> " "Click this button to open a <em>new file</em>. <br>" @@ -158,7 +158,7 @@ private: fileSaveAction = new TQAction( TQPixmap( filesave ), "&Save", CTRL+Key_S, this, "save" ); - connect( fileSaveAction, TQ_SIGNAL( activated() ) , this, TQ_SLOT( save() ) ); + connect( fileSaveAction, TQ_SIGNAL( activated() ) , this, TQ_SLOT( save() ) ); const char * fileSaveText = "<p>Click this button to save the file you " "are editing. You will be prompted for a file name.\n" @@ -168,13 +168,13 @@ private: fileSaveAsAction = new TQAction( "Save File As", "Save &As...", 0, this, "save as" ); - connect( fileSaveAsAction, TQ_SIGNAL( activated() ) , this, + connect( fileSaveAsAction, TQ_SIGNAL( activated() ) , this, TQ_SLOT( saveAs() ) ); fileSaveAsAction->setWhatsThis( fileSaveText ); filePrintAction = new TQAction( "Print File", TQPixmap( fileprint ), "&Print...", CTRL+Key_P, this, "print" ); - connect( filePrintAction, TQ_SIGNAL( activated() ) , this, + connect( filePrintAction, TQ_SIGNAL( activated() ) , this, TQ_SLOT( print() ) ); const char * filePrintText = "Click this button to print the file you " @@ -184,12 +184,12 @@ private: fileCloseAction = new TQAction( "Close", "&Close", CTRL+Key_W, this, "close" ); - connect( fileCloseAction, TQ_SIGNAL( activated() ) , this, + connect( fileCloseAction, TQ_SIGNAL( activated() ) , this, TQ_SLOT( close() ) ); fileQuitAction = new TQAction( "Quit", "&Quit", CTRL+Key_Q, this, "quit" ); - connect( fileQuitAction, TQ_SIGNAL( activated() ) , tqApp, + connect( fileQuitAction, TQ_SIGNAL( activated() ) , tqApp, TQ_SLOT( closeAllWindows() ) ); // populate a tool bar with some actions @@ -421,7 +421,7 @@ int main( int argc, char ** argv ) { ApplicationWindow * mw = new ApplicationWindow(); mw->setCaption( "Document 1" ); mw->show(); - a.connect( &a, TQ_SIGNAL(lastWindowClosed()), &a, TQ_SLOT(quit()) ); + a.connect( &a, TQ_SIGNAL(lastWindowClosed()), &a, TQ_SLOT(quit()) ); return a.exec(); } -- cgit v1.2.3