diff options
Diffstat (limited to 'tdenewstuff')
-rw-r--r-- | tdenewstuff/provider.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdenewstuff/provider.cpp b/tdenewstuff/provider.cpp index 022570b01..862f31ef0 100644 --- a/tdenewstuff/provider.cpp +++ b/tdenewstuff/provider.cpp @@ -389,7 +389,7 @@ void ProviderLoader::slotJobData( TDEIO::Job *, const TQByteArray &data ) void ProviderLoader::slotJobResult( TDEIO::Job *job ) { if ( job->error() ) { - job->showErrorDialog( TQT_TQWIDGET(parent()) ); + job->showErrorDialog( static_cast<TQWidget*>(parent()) ); emit error(); return; } @@ -399,7 +399,7 @@ void ProviderLoader::slotJobResult( TDEIO::Job *job ) TQDomDocument doc; if ( !doc.setContent( mJobData ) ) { - KMessageBox::error( TQT_TQWIDGET(parent()), i18n("Error parsing providers list.") ); + KMessageBox::error( static_cast<TQWidget*>(parent()), i18n("Error parsing providers list.") ); emit error(); return; } @@ -417,7 +417,7 @@ void ProviderLoader::slotJobResult( TDEIO::Job *job ) TQDomElement p = n.toElement(); if ( p.tagName() == "provider" ) { - Provider* prov = new Provider( p, mContentType, TQT_TQWIDGET(parent()) ); + Provider* prov = new Provider( p, mContentType, static_cast<TQWidget*>(parent()) ); mProviders.append( prov ); connect( prov, TQT_SIGNAL( providerLoaded() ), this, TQT_SLOT( providerLoaded() ) ); } |