diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 11:50:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-26 18:42:01 +0900 |
commit | 2a3a62bb995b73481a8a64658266adf22e523f7b (patch) | |
tree | 17e63d11e590bd93137dee185ff1342873f4ddea /tdenewstuff | |
parent | af8caeadf368a17dabd9f53d4c661213c840eebd (diff) | |
download | tdelibs-2a3a62bb995b73481a8a64658266adf22e523f7b.tar.gz tdelibs-2a3a62bb995b73481a8a64658266adf22e523f7b.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d5688771d8a6837975be512ee37f61bad7dbd345)
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() ) ); } |