summaryrefslogtreecommitdiffstats
path: root/examples/process
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /examples/process
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 <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/process')
-rw-r--r--examples/process/process.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/process/process.cpp b/examples/process/process.cpp
index aceb71ccb..5c3c73c98 100644
--- a/examples/process/process.cpp
+++ b/examples/process/process.cpp
@@ -40,8 +40,8 @@ UicManager::UicManager()
// Layout
output = new TQTextView( this );
quitButton = new TQPushButton( tr("Quit"), this );
- connect( quitButton, SIGNAL(clicked()),
- tqApp, SLOT(quit()) );
+ connect( quitButton, TQ_SIGNAL(clicked()),
+ tqApp, TQ_SLOT(quit()) );
resize( 500, 500 );
// TQProcess related code
@@ -55,10 +55,10 @@ UicManager::UicManager()
proc->addArgument( "i18n" );
proc->addArgument( "small_dialog.ui" );
- connect( proc, SIGNAL(readyReadStdout()),
- this, SLOT(readFromStdout()) );
- connect( proc, SIGNAL(processExited()),
- this, SLOT(scrollToTop()) );
+ connect( proc, TQ_SIGNAL(readyReadStdout()),
+ this, TQ_SLOT(readFromStdout()) );
+ connect( proc, TQ_SIGNAL(processExited()),
+ this, TQ_SLOT(scrollToTop()) );
if ( !proc->start() ) {
// error handling