diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-26 02:32:50 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-26 02:32:50 +0900 |
commit | 138bb80efac020c7e78871d3f05127eb37f18274 (patch) | |
tree | 511cf17073aacacc4e752395839e84c6bbcab3bb /interfaces/terminal | |
parent | 8d79c40791fa0bcac4d4ce1dc7385b19e523ba08 (diff) | |
download | tdelibs-138bb80efac020c7e78871d3f05127eb37f18274.tar.gz tdelibs-138bb80efac020c7e78871d3f05127eb37f18274.zip |
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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" ); |