summaryrefslogtreecommitdiffstats
path: root/knewstuff/provider.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-14 01:31:16 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-14 01:31:16 +0000
commit7d7b2c04e147670ed65c5be42de7b7b131122856 (patch)
tree22b58114e71ac6a0e30730eccce10aa4d21e807a /knewstuff/provider.cpp
parenta46e33728580cacf68994d5b5d3780a5bcb58e8b (diff)
downloadtdelibs-7d7b2c04e147670ed65c5be42de7b7b131122856.tar.gz
tdelibs-7d7b2c04e147670ed65c5be42de7b7b131122856.zip
Fix kdelibs FTBFS under Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1246982 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knewstuff/provider.cpp')
-rw-r--r--knewstuff/provider.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/knewstuff/provider.cpp b/knewstuff/provider.cpp
index c1d12853c..3c4018a13 100644
--- a/knewstuff/provider.cpp
+++ b/knewstuff/provider.cpp
@@ -259,7 +259,7 @@ void ProviderLoader::slotJobData( KIO::Job *, const TQByteArray &data )
void ProviderLoader::slotJobResult( KIO::Job *job )
{
if ( job->error() ) {
- job->showErrorDialog( static_cast<TQWidget *>(parent()) );
+ job->showErrorDialog( TQT_TQWIDGET(parent()) );
}
kdDebug() << "--PROVIDERS-START--" << endl << mJobData << "--PROV_END--"
@@ -267,7 +267,7 @@ void ProviderLoader::slotJobResult( KIO::Job *job )
TQDomDocument doc;
if ( !doc.setContent( mJobData ) ) {
- KMessageBox::error( static_cast<TQWidget *>(parent()), i18n("Error parsing providers list.") );
+ KMessageBox::error( TQT_TQWIDGET(parent()), i18n("Error parsing providers list.") );
return;
}