From 8ac0e970e4464d9f8f73c0fb34a178ff135be8c3 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 2 Jun 2024 23:07:22 +0900 Subject: Rename ntqwidget* related files to equivalent tqwidget* Signed-off-by: Michele Calgaro --- doc/html/dclock-example.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/html/dclock-example.html') diff --git a/doc/html/dclock-example.html b/doc/html/dclock-example.html index b232d75c8..e162bc9f0 100644 --- a/doc/html/dclock-example.html +++ b/doc/html/dclock-example.html @@ -57,7 +57,7 @@ class DigitalClock : public TQLCDNumber { TQ_OBJECT public: - DigitalClock( TQWidget *parent=0, const char *name=0 ); + DigitalClock( TQWidget *parent=0, const char *name=0 ); protected: // event handlers void timerEvent( TQTimerEvent * ); @@ -99,7 +99,7 @@ private: // internal data // Constructs a DigitalClock widget with a parent and a name. // -DigitalClock::DigitalClock( TQWidget *parent, const char *name ) +DigitalClock::DigitalClock( TQWidget *parent, const char *name ) : TQLCDNumber( parent, name ) { showingColon = FALSE; @@ -131,7 +131,7 @@ private: // internal data // Enters date mode when the left mouse button is pressed. // -void DigitalClock::mousePressEvent( TQMouseEvent *e ) +void DigitalClock::mousePressEvent( TQMouseEvent *e ) { if ( e->button() == TQMouseEvent::LeftButton ) // left button pressed showDate(); @@ -201,10 +201,10 @@ int main( int argc, char **argv ) { TQApplication a( argc, argv ); DigitalClock *clock = new DigitalClock; - clock->resize( 170, 80 ); + clock->resize( 170, 80 ); a.setMainWidget( clock ); - clock->setCaption("TQt Example - Digital Clock"); - clock->show(); + clock->setCaption("TQt Example - Digital Clock"); + clock->show(); return a.exec(); } -- cgit v1.2.3