summaryrefslogtreecommitdiffstats
path: root/konqueror/konq_run.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:15:16 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:15:16 +0000
commitcc0ad49c75d6cf6b4e63eb8c6012afe55c1589f9 (patch)
tree2a29ccab4d3cea34b87bfcbc38e64a8e25d25bb0 /konqueror/konq_run.cc
parent107dd1f98367d07df7cbe2042786511e44706d3a (diff)
downloadtdebase-cc0ad49c75d6cf6b4e63eb8c6012afe55c1589f9.tar.gz
tdebase-cc0ad49c75d6cf6b4e63eb8c6012afe55c1589f9.zip
Allow kdebase to (mostly) function correctly with TQt for Qt4
Fix kicker tackbar handling under Classic mode (thanks to Ilya Chernykh for the patch) Fix a newly invalidated section of code under GCC 4.5.2 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47723#c6) git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1220927 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konqueror/konq_run.cc')
-rw-r--r--konqueror/konq_run.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/konqueror/konq_run.cc b/konqueror/konq_run.cc
index fbac4e65c..a23513bd0 100644
--- a/konqueror/konq_run.cc
+++ b/konqueror/konq_run.cc
@@ -148,7 +148,7 @@ void KonqRun::init()
KParts::BrowserRun::init();
// Maybe init went to the "let's try stat'ing" part. Then connect to info messages.
// (in case it goes to scanFile, this will be done below)
- KIO::StatJob *job = dynamic_cast<KIO::StatJob*>( m_job );
+ KIO::StatJob *job = tqt_dynamic_cast<KIO::StatJob*>( m_job );
if ( job && !job->error() && m_pView ) {
connect( job, TQT_SIGNAL( infoMessage( KIO::Job*, const TQString& ) ),
m_pView, TQT_SLOT( slotInfoMessage(KIO::Job*, const TQString& ) ) );
@@ -160,7 +160,7 @@ void KonqRun::scanFile()
KParts::BrowserRun::scanFile();
// could be a static cast as of now, but who would notify when
// BrowserRun changes
- KIO::TransferJob *job = dynamic_cast<KIO::TransferJob*>( m_job );
+ KIO::TransferJob *job = tqt_dynamic_cast<KIO::TransferJob*>( m_job );
if ( job && !job->error() ) {
connect( job, TQT_SIGNAL( redirection( KIO::Job *, const KURL& )),
TQT_SLOT( slotRedirection( KIO::Job *, const KURL& ) ));