diff options
author | Michele Calgaro <[email protected]> | 2023-12-21 11:50:23 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-21 12:48:57 +0900 |
commit | d5688771d8a6837975be512ee37f61bad7dbd345 (patch) | |
tree | b8ef261c559484b01e3a035333561e5226042b4e /tdenewstuff | |
parent | 44e712a770ad0ab59d33790a80b5f6235cff6921 (diff) | |
download | tdelibs-d5688771d8a6837975be512ee37f61bad7dbd345.tar.gz tdelibs-d5688771d8a6837975be512ee37f61bad7dbd345.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
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() ) ); } |