From 0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 24 Jul 2024 19:37:05 +0900 Subject: Rename text class nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/popup-example.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/html/popup-example.html') diff --git a/doc/html/popup-example.html b/doc/html/popup-example.html index 949f29a33..7d7c14d32 100644 --- a/doc/html/popup-example.html +++ b/doc/html/popup-example.html @@ -53,11 +53,11 @@ pop up. #ifndef POPUP_H #define POPUP_H -#include <ntqlabel.h> +#include <tqlabel.h> #include <ntqpushbutton.h> #include <ntqlineedit.h> -class FancyPopup : public TQLabel +class FancyPopup : public TQLabel { TQ_OBJECT public: @@ -115,9 +115,9 @@ private: #include <ntqlayout.h> FancyPopup::FancyPopup( TQWidget* parent, const char* name ): - TQLabel( parent, name, WType_Popup ){ + TQLabel( parent, name, WType_Popup ){ setFrameStyle( WinPanel|Raised ); - setAlignment( AlignCenter ); + setAlignment( AlignCenter ); resize(150,100); moves = 0; setMouseTracking( TRUE ); @@ -129,7 +129,7 @@ private: s.sprintf("%d/%d", e->pos().x(), e->pos().y()); if (e->state() & TQMouseEvent::LeftButton) s += " (down)"; - setText(s); + setText(s); } void FancyPopup::mouseReleaseEvent( TQMouseEvent * e){ -- cgit v1.2.1