From 7552c6d73043b1040139033f6864db48ae5446cf Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 2 Jul 2024 21:37:22 +0900 Subject: Rename main window nt* related files to equivalent tq*. The file "ntqsession.h" was totally unnecessary and has been removed. Signed-off-by: Michele Calgaro --- doc/html/i18n-example.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'doc/html/i18n-example.html') diff --git a/doc/html/i18n-example.html b/doc/html/i18n-example.html index 5f976c919..95b03b597 100644 --- a/doc/html/i18n-example.html +++ b/doc/html/i18n-example.html @@ -52,10 +52,10 @@ This example shows how to internationalize applications. Start it with #ifndef MYWIDGET_H #define MYWIDGET_H -#include <ntqmainwindow.h> +#include <tqmainwindow.h> #include <tqstring.h> -class MyWidget : public TQMainWindow +class MyWidget : public TQMainWindow { TQ_OBJECT @@ -96,30 +96,30 @@ private: #include <ntqhbox.h> #include <ntqvbox.h> #include <ntqaccel.h> -#include <ntqpopupmenu.h> -#include <ntqmenubar.h> -#include <ntqstatusbar.h> +#include <tqpopupmenu.h> +#include <tqmenubar.h> +#include <tqstatusbar.h> #include <ntqapplication.h> #include "mywidget.h" MyWidget::MyWidget( TQWidget* parent, const char* name ) - : TQMainWindow( parent, name ) + : TQMainWindow( parent, name ) { TQVBox* central = new TQVBox(this); central->setMargin( 5 ); central->setSpacing( 5 ); - setCentralWidget(central); + setCentralWidget(central); - TQPopupMenu* file = new TQPopupMenu(this); - file->insertItem( tr("E&xit"), tqApp, TQ_SLOT(quit()), + TQPopupMenu* file = new TQPopupMenu(this); + file->insertItem( tr("E&xit"), tqApp, TQ_SLOT(quit()), TQAccel::stringToKey(tr("Ctrl+Q")) ); - menuBar()->insertItem( tr("&File"), file ); + menuBar()->insertItem( tr("&File"), file ); setCaption( tr( "Internationalization Example" ) ); TQString l; - statusBar()->message( tr("Language: English") ); + statusBar()->message( tr("Language: English") ); ( void )new TQLabel( tr( "The Main Window" ), central ); -- cgit v1.2.1