From 0917fbb5387978eb7b2e2fd68bcb6beaa8c46505 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 25 Aug 2024 15:36:25 +0900 Subject: Rename remaining ntq[a-c]* related files to equivalent tq* (except ntqapplication.h and ntqconfig.h) Signed-off-by: Michele Calgaro --- doc/html/menu-example.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/html/menu-example.html') diff --git a/doc/html/menu-example.html b/doc/html/menu-example.html index da154dbd0..adf64a938 100644 --- a/doc/html/menu-example.html +++ b/doc/html/menu-example.html @@ -86,7 +86,7 @@ signals: void explain( const TQString& ); private: - void contextMenuEvent ( TQContextMenuEvent * ); + void contextMenuEvent ( TQContextMenuEvent * ); TQMenuBar *menu; @@ -113,7 +113,7 @@ private: *****************************************************************************/ #include "menu.h" -#include <ntqcursor.h> +#include <tqcursor.h> #include <tqpopupmenu.h> #include <ntqapplication.h> #include <ntqmessagebox.h> @@ -195,7 +195,7 @@ static const char * p3_xpm[] = { fonts. Used for the "bold" and "underline" menu items in the options menu. */ -class MyMenuItem : public TQCustomMenuItem +class MyMenuItem : public TQCustomMenuItem { public: MyMenuItem( const TQString& s, const TQFont& f ) @@ -314,7 +314,7 @@ private: } -void MenuExample::contextMenuEvent( TQContextMenuEvent * ) +void MenuExample::contextMenuEvent( TQContextMenuEvent * ) { TQPopupMenu* contextMenu = new TQPopupMenu( this ); TQ_CHECK_PTR( contextMenu ); @@ -331,7 +331,7 @@ private: submenu->insertItem( "Print to &file", this, TQ_SLOT(file()) ); submenu->insertItem( "Print to fa&x", this, TQ_SLOT(fax()) ); contextMenu->insertItem( "&Print", submenu ); - contextMenu->exec( TQCursor::pos() ); + contextMenu->exec( TQCursor::pos() ); delete contextMenu; } -- cgit v1.2.3