summaryrefslogtreecommitdiffstats
path: root/examples/helpdemo
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-27 19:25:43 +0900
committerMichele Calgaro <[email protected]>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /examples/helpdemo
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz
tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'examples/helpdemo')
-rw-r--r--examples/helpdemo/helpdemo.cpp10
-rw-r--r--examples/helpdemo/main.cpp2
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();
}