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/scribble-example.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/html/scribble-example.html') diff --git a/doc/html/scribble-example.html b/doc/html/scribble-example.html index 3c5ec5689..a82937778 100644 --- a/doc/html/scribble-example.html +++ b/doc/html/scribble-example.html @@ -140,7 +140,7 @@ protected slots: #include "scribble.h" -#include <ntqapplication.h> +#include <tqapplication.h> #include <tqevent.h> #include <tqpainter.h> #include <tqtoolbar.h> @@ -164,7 +164,7 @@ const bool no_writing = FALSE; mousePressed( FALSE ), buffer( width(), height() ) { - if ((tqApp->argc() > 0) && !buffer.load(tqApp->argv()[1])) + if ((tqApp->argc() > 0) && !buffer.load(tqApp->argv()[1])) buffer.fill( colorGroup().base() ); setBackgroundMode( TQWidget::PaletteBase ); #ifndef TQT_NO_CURSOR @@ -331,24 +331,24 @@ void Scribble::slotClear() *****************************************************************************/ #include "scribble.h" -#include <ntqapplication.h> +#include <tqapplication.h> int main( int argc, char **argv ) { - TQApplication a( argc, argv ); + TQApplication a( argc, argv ); Scribble scribble; scribble.resize( 500, 350 ); scribble.setCaption("TQt Example - Scribble"); - a.setMainWidget( &scribble ); - if ( TQApplication::desktop()->width() > 550 - && TQApplication::desktop()->height() > 366 ) + a.setMainWidget( &scribble ); + if ( TQApplication::desktop()->width() > 550 + && TQApplication::desktop()->height() > 366 ) scribble.show(); else scribble.showMaximized(); - return a.exec(); + return a.exec(); } -- cgit v1.2.3