summaryrefslogtreecommitdiffstats
path: root/kview
diff options
context:
space:
mode:
Diffstat (limited to 'kview')
-rw-r--r--kview/kimageviewer/canvas.h2
-rw-r--r--kview/kviewviewer/kviewviewer.cpp4
-rw-r--r--kview/modules/presenter/kviewpresenter.cpp2
3 files changed, 4 insertions, 4 deletions
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
*
* <pre>
TQWidget * widget = KParts::ComponentFactory::createInstanceFromQuery<TQWidget>( "KImageViewer/Canvas", TQString(), this );
- m_canvas = static_cast<KImageViewer::Canvas *>( widget->qt_cast( "KImageViewer::Canvas" ) );
+ m_canvas = static_cast<KImageViewer::Canvas *>( 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<TQWidget>(
"KImageViewer/Canvas", TQString(), TQT_TQOBJECT(m_pParentWidget) );
- m_pCanvas = static_cast<KImageViewer::Canvas *>( widget->qt_cast( "KImageViewer::Canvas" ) );
+ m_pCanvas = static_cast<KImageViewer::Canvas *>( 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<KImageViewer::Canvas*>( o->qt_cast( "KImageViewer::Canvas" ) );
+ KImageViewer::Canvas * canvas = static_cast<KImageViewer::Canvas*>( 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<KXMLGUIClient*>( parent->qt_cast( "KXMLGUIClient" ) );
+ KXMLGUIClient * parentClient = static_cast<KXMLGUIClient*>( parent->tqt_cast( "KXMLGUIClient" ) );
if( parentClient )
{
m_paFileOpen = parentClient->actionCollection()->action( "file_open" );