From 9fc074fcb2225e6303bf7cec6dc4cc85d6b5edb7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 26 Nov 2023 02:32:50 +0900 Subject: Replaced various '#define' with actual strings - part 4 Signed-off-by: Michele Calgaro (cherry picked from commit 138bb80efac020c7e78871d3f05127eb37f18274) --- interfaces/terminal/kde_terminal_interface.h | 2 +- interfaces/terminal/test/main.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'interfaces/terminal') 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( p ); + * TerminalInterface* t = ::tqt_cast( 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( p ); + TerminalInterface* t = ::tqt_cast( 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(p) ) << std::endl; + std::cerr << ( ::tqt_cast(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( p ); + TerminalInterface* t = ::tqt_cast( p ); TQStrList l; l.append( "echo" ); l.append( "hello world" ); -- cgit v1.2.1