From d9060c4bbe25bf86e5cf615bd255d5d6d7b83dad Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 7 Mar 2012 21:17:03 -0600 Subject: Rename additional members for tqt3 --- kpovmodeler/pmdockwidget.cpp | 4 ++-- kview/kimageviewer/canvas.h | 2 +- kview/kviewviewer/kviewviewer.cpp | 4 ++-- kview/modules/presenter/kviewpresenter.cpp | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kpovmodeler/pmdockwidget.cpp b/kpovmodeler/pmdockwidget.cpp index 1412e441..9d2185d5 100644 --- a/kpovmodeler/pmdockwidget.cpp +++ b/kpovmodeler/pmdockwidget.cpp @@ -1464,8 +1464,8 @@ PMDockWidget* PMDockManager::findDockWidgetAt( const TQPoint& pos ) } w = p; } - if ( qt_find_obj_child( TQT_TQOBJECT(w), "PMDockSplitter", "_dock_split_" ) ) return 0L; - if ( qt_find_obj_child( TQT_TQOBJECT(w), "PMDockTabGroup", "_dock_tab" ) ) return 0L; + if ( tqt_find_obj_child( TQT_TQOBJECT(w), "PMDockSplitter", "_dock_split_" ) ) return 0L; + if ( tqt_find_obj_child( TQT_TQOBJECT(w), "PMDockTabGroup", "_dock_tab" ) ) return 0L; if (!childDockWidgetList) return 0L; if ( childDockWidgetList->find(w) != -1 ) return 0L; if ( currentDragWidget->isGroup && ((PMDockWidget*)w)->parentDockTabGroup() ) return 0L; diff --git a/kview/kimageviewer/canvas.h b/kview/kimageviewer/canvas.h index cbc4b029..2495f372 100644 --- a/kview/kimageviewer/canvas.h +++ b/kview/kimageviewer/canvas.h @@ -48,7 +48,7 @@ namespace KImageViewer * *
    TQWidget * widget = KParts::ComponentFactory::createInstanceFromQuery( "KImageViewer/Canvas", TQString(), this );
-   m_canvas = static_cast( widget->qt_cast( "KImageViewer::Canvas" ) );
+   m_canvas = static_cast( widget->tqt_cast( "KImageViewer::Canvas" ) );
    if( ! ( widget && m_canvas ) )
    {
      KMessageBox::error( this, "Could not find the Canvas!" );
diff --git a/kview/kviewviewer/kviewviewer.cpp b/kview/kviewviewer/kviewviewer.cpp
index 65513b12..afe381ae 100644
--- a/kview/kviewviewer/kviewviewer.cpp
+++ b/kview/kviewviewer/kviewviewer.cpp
@@ -70,7 +70,7 @@ KViewViewer::KViewViewer( TQWidget *parentWidget, const char * /*widgetName*/,
 
 	TQWidget * widget =  KParts::ComponentFactory::createInstanceFromQuery(
 			"KImageViewer/Canvas", TQString(), TQT_TQOBJECT(m_pParentWidget) );
-	m_pCanvas = static_cast( widget->qt_cast( "KImageViewer::Canvas" ) );
+	m_pCanvas = static_cast( widget->tqt_cast( "KImageViewer::Canvas" ) );
 	kdDebug( 4610 ) << "KImageViewer::Canvas at " << m_pCanvas << endl;
 	if( ! ( widget && m_pCanvas ) )
 	{
@@ -318,7 +318,7 @@ void KViewViewer::reload()
 
 bool KViewViewer::eventFilter( TQObject * o, TQEvent * e )
 {
-	KImageViewer::Canvas * canvas = static_cast( o->qt_cast( "KImageViewer::Canvas" ) );
+	KImageViewer::Canvas * canvas = static_cast( o->tqt_cast( "KImageViewer::Canvas" ) );
 	if( canvas )
 	{
 		// intercept drops onto the Canvas
diff --git a/kview/modules/presenter/kviewpresenter.cpp b/kview/modules/presenter/kviewpresenter.cpp
index dfe2263d..fcd2cf4f 100644
--- a/kview/modules/presenter/kviewpresenter.cpp
+++ b/kview/modules/presenter/kviewpresenter.cpp
@@ -82,7 +82,7 @@ KViewPresenter::KViewPresenter( TQObject* parent, const char* name, const TQStri
 		connect( m_pImageList->m_pSlideshow, TQT_SIGNAL( toggled( bool ) ), m_paSlideshow, TQT_SLOT( setChecked( bool ) ) );
 
 		// search for file_open action
-		KXMLGUIClient * parentClient = static_cast( parent->qt_cast( "KXMLGUIClient" ) );
+		KXMLGUIClient * parentClient = static_cast( parent->tqt_cast( "KXMLGUIClient" ) );
 		if( parentClient )
 		{
 			m_paFileOpen = parentClient->actionCollection()->action( "file_open" );
-- 
cgit v1.2.1