From 9ee4144afedd77175dd068e60ef09399c684dcee Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 29 Jan 2011 00:07:20 +0000 Subject: Restored qt_cast() git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1217837 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- interfaces/kregexpeditor/kregexpeditorinterface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'interfaces/kregexpeditor') diff --git a/interfaces/kregexpeditor/kregexpeditorinterface.h b/interfaces/kregexpeditor/kregexpeditorinterface.h index c10b86ea9..01fab0fdf 100644 --- a/interfaces/kregexpeditor/kregexpeditorinterface.h +++ b/interfaces/kregexpeditor/kregexpeditorinterface.h @@ -25,7 +25,7 @@ * TQDialog *editorDialog = KParts::ComponentFactory::createInstanceFromQuery( "KRegExpEditor/KRegExpEditor" ); * if ( editorDialog ) { * // kdeutils was installed, so the dialog was found fetch the editor interface - * KRegExpEditorInterface *editor = static_cast( editorDialog->tqqt_cast( "KRegExpEditorInterface" ) ); + * KRegExpEditorInterface *editor = static_cast( editorDialog->qt_cast( "KRegExpEditorInterface" ) ); * Q_ASSERT( editor ); // This should not fail! * * // now use the editor. @@ -53,7 +53,7 @@ * "KRegExpEditor/KRegExpEditor", TQString::null, parent ); * if ( editorWidget ) { * // kdeutils was installed, so the widget was found fetch the editor interface - * KRegExpEditorInterface *editor = static_cast( editorWidget->tqqt_cast( "KRegExpEditorInterface" ) ); + * KRegExpEditorInterface *editor = static_cast( editorWidget->qt_cast( "KRegExpEditorInterface" ) ); * Q_ASSERT( editor ); // This should not fail! * * // now use the editor. -- cgit v1.2.1