summaryrefslogtreecommitdiffstats
path: root/tdenewstuff
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-21 11:50:23 +0900
committerMichele Calgaro <[email protected]>2023-12-21 12:48:57 +0900
commitd5688771d8a6837975be512ee37f61bad7dbd345 (patch)
treeb8ef261c559484b01e3a035333561e5226042b4e /tdenewstuff
parent44e712a770ad0ab59d33790a80b5f6235cff6921 (diff)
downloadtdelibs-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.cpp6
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() ) );
}