summaryrefslogtreecommitdiffstats
path: root/interfaces/terminal
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-12 11:17:33 +0900
committerMichele Calgaro <[email protected]>2024-01-15 11:09:32 +0900
commit7f03918f8df7479b0e1a88288066201a301e87bf (patch)
treeef42e0c7ecbd6d292ca5aa7f3aeca141dd65cdb1 /interfaces/terminal
parentccaaecf59c0e607be633c45ad3b7bb1ef29e981f (diff)
downloadtdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.tar.gz
tdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7)
Diffstat (limited to 'interfaces/terminal')
-rw-r--r--interfaces/terminal/kde_terminal_interface.h4
-rw-r--r--interfaces/terminal/test/main.cpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/interfaces/terminal/kde_terminal_interface.h b/interfaces/terminal/kde_terminal_interface.h
index 406fdf1ec..b0f2b9d5f 100644
--- a/interfaces/terminal/kde_terminal_interface.h
+++ b/interfaces/terminal/kde_terminal_interface.h
@@ -78,8 +78,8 @@ class TQStrList;
* // or connect to one of the signals. Connect to the Part object,
* // not to the TerminalInterface, since the latter is no TQObject,
* // and as such cannot have signals..:
- * // connect( p, TQT_SIGNAL( processExited( int ) ),
- * // this, TQT_SLOT( shellExited( int ) ) );
+ * // connect( p, TQ_SIGNAL( processExited( int ) ),
+ * // this, TQ_SLOT( shellExited( int ) ) );
* // etc.
*
* \endcode
diff --git a/interfaces/terminal/test/main.cpp b/interfaces/terminal/test/main.cpp
index 07e31bead..f0d51b259 100644
--- a/interfaces/terminal/test/main.cpp
+++ b/interfaces/terminal/test/main.cpp
@@ -26,8 +26,8 @@ Win::Win()
// l.append( "python" );
// t->startProgram( TQString::fromUtf8( "/usr/bin/python" ), l );
- connect( p, TQT_SIGNAL( processExited( int ) ),
- this, TQT_SLOT( pythonExited( int ) ) );
+ connect( p, TQ_SIGNAL( processExited( int ) ),
+ this, TQ_SLOT( pythonExited( int ) ) );
}
@@ -48,8 +48,8 @@ void Win::pythonExited()
std::cerr << "hee, " << p << std::endl;
std::cerr << ( ::tqt_cast<TerminalInterface>(p) ) << std::endl;
// KMessageBox::sorry( this, TQString::fromUtf8( "Exited, status was %1" ).arg( status ) );
- disconnect(p, TQT_SIGNAL( processExited() ),
- this, TQT_SLOT( pythonExited() ));
+ disconnect(p, TQ_SIGNAL( processExited() ),
+ this, TQ_SLOT( pythonExited() ));
TerminalInterface* t = ::tqt_cast<TerminalInterface*>( p );
TQStrList l;
l.append( "echo" );