diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:16:03 +0900 |
| commit | ecca365daf06c711cf30f93f4c773dabf5642790 (patch) | |
| tree | 0b2f6780f60fd7eb35c84cc899e7d51db189d67d /examples/helpdemo | |
| parent | 1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff) | |
| download | tqt-ecca365d.tar.gz tqt-ecca365d.zip | |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'examples/helpdemo')
| -rw-r--r-- | examples/helpdemo/helpdemo.cpp | 10 | ||||
| -rw-r--r-- | examples/helpdemo/main.cpp | 2 |
2 files changed, 6 insertions, 6 deletions
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(); } |
