From fb401a891f1b426e9419c0cb16403df407138611 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro --- examples/helpdemo/helpdemo.cpp | 10 +++++----- examples/helpdemo/main.cpp | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'examples/helpdemo') diff --git a/examples/helpdemo/helpdemo.cpp b/examples/helpdemo/helpdemo.cpp index 4ca9039ef..88ed7cb94 100644 --- a/examples/helpdemo/helpdemo.cpp +++ b/examples/helpdemo/helpdemo.cpp @@ -28,11 +28,11 @@ HelpDemo::HelpDemo( TQWidget *parent, const char *name ) TQAction *helpAction = new TQAction( "Show Help", TQKeySequence(tr("F1")), this ); helpAction->addTo( menu ); - connect( helpAction, SIGNAL(activated()), this, SLOT(showHelp()) ); - connect( assistant, SIGNAL(assistantOpened()), this, SLOT(assistantOpened()) ); - connect( assistant, SIGNAL(assistantClosed()), this, SLOT(assistantClosed())); - connect( assistant, SIGNAL(error(const TQString&)), - this, SLOT(showAssistantErrors(const TQString&)) ); + connect( helpAction, TQ_SIGNAL(activated()), this, TQ_SLOT(showHelp()) ); + connect( assistant, TQ_SIGNAL(assistantOpened()), this, TQ_SLOT(assistantOpened()) ); + connect( assistant, TQ_SIGNAL(assistantClosed()), this, TQ_SLOT(assistantClosed())); + connect( assistant, TQ_SIGNAL(error(const TQString&)), + this, TQ_SLOT(showAssistantErrors(const TQString&)) ); closeTQAButton->setEnabled(FALSE); } diff --git a/examples/helpdemo/main.cpp b/examples/helpdemo/main.cpp index acf769b6e..f632cfc28 100644 --- a/examples/helpdemo/main.cpp +++ b/examples/helpdemo/main.cpp @@ -6,6 +6,6 @@ int main( int argc, char ** argv ) TQApplication a( argc, argv ); HelpDemo help; help.show(); - a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) ); + a.connect( &a, TQ_SIGNAL( lastWindowClosed() ), &a, TQ_SLOT( quit() ) ); return a.exec(); } -- cgit v1.2.1