From 397b7afa8e3f32268c4454bf4783ac2a5a799658 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 15 Oct 2024 13:05:33 +0900 Subject: Rename ntqapplication, ntqconfig and ntqmodules files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/extension-dialog-example.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/html/extension-dialog-example.html') diff --git a/doc/html/extension-dialog-example.html b/doc/html/extension-dialog-example.html index 663e39138..4a7526a55 100644 --- a/doc/html/extension-dialog-example.html +++ b/doc/html/extension-dialog-example.html @@ -66,7 +66,7 @@ DBFILE = extension.db *****************************************************************************/ #include "dialogform.h" #include "extension.h" -#include <ntqapplication.h> +#include <tqapplication.h> #include <tqcheckbox.h> #include <tqlineedit.h> @@ -101,7 +101,7 @@ void MainForm::optionsDlg() void MainForm::quit() { - TQApplication::exit( 0 ); + TQApplication::exit( 0 ); } @@ -142,16 +142,16 @@ void DialogForm::toggleDetails()


Main: -

#include <ntqapplication.h>
+

#include <tqapplication.h>
 #include "mainform.h"
 
 int main( int argc, char ** argv )
 {
-    TQApplication a( argc, argv );
+    TQApplication a( argc, argv );
     MainForm *w = new MainForm;
     w->show();
-    a.connect( &a, TQ_SIGNAL( lastWindowClosed() ), w, TQ_SLOT( quit() ) );
-    return a.exec();
+    a.connect( &a, TQ_SIGNAL( lastWindowClosed() ), w, TQ_SLOT( quit() ) );
+    return a.exec();
 }
 
-- cgit v1.2.3