summaryrefslogtreecommitdiffstats
path: root/interfaces
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-26 02:32:50 +0900
committerMichele Calgaro <[email protected]>2023-11-26 02:32:50 +0900
commit138bb80efac020c7e78871d3f05127eb37f18274 (patch)
tree511cf17073aacacc4e752395839e84c6bbcab3bb /interfaces
parent8d79c40791fa0bcac4d4ce1dc7385b19e523ba08 (diff)
downloadtdelibs-138bb80efac020c7e78871d3f05127eb37f18274.tar.gz
tdelibs-138bb80efac020c7e78871d3f05127eb37f18274.zip
Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'interfaces')
-rw-r--r--interfaces/khexedit/clipboardinterface.h2
-rw-r--r--interfaces/khexedit/zoominterface.h2
-rw-r--r--interfaces/kregexpeditor/kregexpeditorinterface.h4
-rw-r--r--interfaces/terminal/kde_terminal_interface.h2
-rw-r--r--interfaces/terminal/test/main.cpp6
5 files changed, 8 insertions, 8 deletions
diff --git a/interfaces/khexedit/clipboardinterface.h b/interfaces/khexedit/clipboardinterface.h
index c63c5a88e..ca69baf8c 100644
--- a/interfaces/khexedit/clipboardinterface.h
+++ b/interfaces/khexedit/clipboardinterface.h
@@ -78,7 +78,7 @@ ClipboardInterface *clipboardInterface( T *t )
if( !t )
return 0;
- return ::tqqt_cast<KHE::ClipboardInterface*>( t );
+ return ::tqt_cast<KHE::ClipboardInterface*>( t );
}
}
diff --git a/interfaces/khexedit/zoominterface.h b/interfaces/khexedit/zoominterface.h
index 9c6f0f677..21145cb9a 100644
--- a/interfaces/khexedit/zoominterface.h
+++ b/interfaces/khexedit/zoominterface.h
@@ -71,7 +71,7 @@ ZoomInterface *zoomInterface( T *t )
if( !t )
return 0;
- return ::tqqt_cast<KHE::ZoomInterface*>( t );
+ return ::tqt_cast<KHE::ZoomInterface*>( t );
}
}
diff --git a/interfaces/kregexpeditor/kregexpeditorinterface.h b/interfaces/kregexpeditor/kregexpeditorinterface.h
index 4124849d6..c58ab7dc9 100644
--- a/interfaces/kregexpeditor/kregexpeditorinterface.h
+++ b/interfaces/kregexpeditor/kregexpeditorinterface.h
@@ -25,7 +25,7 @@
* TQDialog *editorDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor" );
* if ( editorDialog ) {
* // tdeutils was installed, so the dialog was found fetch the editor interface
- * KRegExpEditorInterface *editor = ::tqqt_cast<KRegExpEditorInterface *>( editorDialog );
+ * KRegExpEditorInterface *editor = ::tqt_cast<KRegExpEditorInterface *>( editorDialog );
* Q_ASSERT( editor ); // This should not fail!
*
* // now use the editor.
@@ -53,7 +53,7 @@
* "KRegExpEditor/KRegExpEditor", TQString::null, parent );
* if ( editorWidget ) {
* // tdeutils was installed, so the widget was found fetch the editor interface
- * KRegExpEditorInterface *editor = ::tqqt_cast<KRegExpEditorInterface *>( editorWidget );
+ * KRegExpEditorInterface *editor = ::tqt_cast<KRegExpEditorInterface *>( editorWidget );
* Q_ASSERT( editor ); // This should not fail!
*
* // now use the editor.
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" );