diff options
author | Michele Calgaro <[email protected]> | 2023-11-26 02:32:50 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-26 17:45:23 +0900 |
commit | 9fc074fcb2225e6303bf7cec6dc4cc85d6b5edb7 (patch) | |
tree | 656280d10f1f0acceacc67bf6544ae4d19812642 /interfaces/terminal | |
parent | 4c9f3f02c0e1a9be5567649f5c97d6638033f74f (diff) | |
download | tdelibs-9fc074fcb2225e6303bf7cec6dc4cc85d6b5edb7.tar.gz tdelibs-9fc074fcb2225e6303bf7cec6dc4cc85d6b5edb7.zip |
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 138bb80efac020c7e78871d3f05127eb37f18274)
Diffstat (limited to 'interfaces/terminal')
-rw-r--r-- | interfaces/terminal/kde_terminal_interface.h | 2 | ||||
-rw-r--r-- | interfaces/terminal/test/main.cpp | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/interfaces/terminal/kde_terminal_interface.h b/interfaces/terminal/kde_terminal_interface.h index 67edaea3e..406fdf1ec 100644 --- a/interfaces/terminal/kde_terminal_interface.h +++ b/interfaces/terminal/kde_terminal_interface.h @@ -59,7 +59,7 @@ class TQStrList; * setCentralWidget( p->widget() ); * * // cast the part to the TerminalInterface.. - * TerminalInterface* t = ::tqqt_cast<TerminalInterface*>( p ); + * TerminalInterface* t = ::tqt_cast<TerminalInterface*>( p ); * if( ! t ) * { * // This probably happens because the konsole that is installed diff --git a/interfaces/terminal/test/main.cpp b/interfaces/terminal/test/main.cpp index bdf5b6764..07e31bead 100644 --- a/interfaces/terminal/test/main.cpp +++ b/interfaces/terminal/test/main.cpp @@ -20,7 +20,7 @@ Win::Win() KParts::Part* p = factory->create( this, "tralala", "TQObject", "KParts::ReadOnlyPart" ) ; setCentralWidget( p->widget() ); - TerminalInterface* t = ::tqqt_cast<TerminalInterface*>( p ); + TerminalInterface* t = ::tqt_cast<TerminalInterface*>( p ); t->showShellInDir( TQDir::home().path() ); // TQStrList l; // l.append( "python" ); @@ -46,11 +46,11 @@ int main( int argc, char** argv ) void Win::pythonExited() { std::cerr << "hee, " << p << std::endl; - std::cerr << ( ::tqqt_cast<TerminalInterface>(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() )); - TerminalInterface* t = ::tqqt_cast<TerminalInterface*>( p ); + TerminalInterface* t = ::tqt_cast<TerminalInterface*>( p ); TQStrList l; l.append( "echo" ); l.append( "hello world" ); |