summaryrefslogtreecommitdiffstats
path: root/kmdi/kmdidockcontainer.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:11:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-15 19:11:41 +0000
commit374d939d8af431477ce2601815f0ba121b66871c (patch)
treead878478dcc0bedf51e3cffb2ed611ada422b290 /kmdi/kmdidockcontainer.cpp
parentf9279733bf71e446933b46f40cbe9c9b9f57b778 (diff)
downloadtdelibs-374d939d8af431477ce2601815f0ba121b66871c.tar.gz
tdelibs-374d939d8af431477ce2601815f0ba121b66871c.zip
Allow kdelibs to function correctly with TQt for Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1220926 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmdi/kmdidockcontainer.cpp')
-rw-r--r--kmdi/kmdidockcontainer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmdi/kmdidockcontainer.cpp b/kmdi/kmdidockcontainer.cpp
index 8198541fe..9720c5214 100644
--- a/kmdi/kmdidockcontainer.cpp
+++ b/kmdi/kmdidockcontainer.cpp
@@ -252,7 +252,7 @@ bool KMdiDockContainer::eventFilter( TQObject *obj, TQEvent *event )
{
case TQEvent::MouseButtonPress:
{
- KMultiTabBarTab* kmtbTab = dynamic_cast<KMultiTabBarTab*>( obj );
+ KMultiTabBarTab* kmtbTab = tqt_dynamic_cast<KMultiTabBarTab*>( obj );
if ( !kmtbTab )
{
kdDebug(760) << k_funcinfo << "Got a mouse button press but we have no tab" << endl;
@@ -332,7 +332,7 @@ void KMdiDockContainer::showWidget( KDockWidget *w )
void KMdiDockContainer::changeOverlapMode()
{
- const KDockButton_Private * btn = dynamic_cast<const KDockButton_Private*>( sender() );
+ const KDockButton_Private * btn = tqt_dynamic_cast<const KDockButton_Private*>( sender() );
if ( !btn )
return ;
@@ -794,7 +794,7 @@ void KMdiDockContainer::toggle()
kdDebug( 760 ) << k_funcinfo << "lowering tab" << endl;
m_tb->setTab( oldtab, false );
tabClicked( oldtab );
- KMdiMainFrm *mainFrm = dynamic_cast<KMdiMainFrm*>( m_mainWin );
+ KMdiMainFrm *mainFrm = tqt_dynamic_cast<KMdiMainFrm*>( m_mainWin );
if ( mainFrm && mainFrm->activeWindow() )
mainFrm->activeWindow()->setFocus();
}
@@ -826,7 +826,7 @@ void KMdiDockContainer::prevToolView()
if ( pos < 0 )
pos = tabs->count() - 1;
- KMultiTabBarTab *tab = tabs->at( pos );
+ KMultiTabBarTab *tab = tabs->tqat( pos );
if ( !tab )
return ; //can never happen here, but who knows
@@ -847,7 +847,7 @@ void KMdiDockContainer::nextToolView()
if ( pos >= ( int ) tabs->count() )
pos = 0;
- KMultiTabBarTab *tab = tabs->at( pos );
+ KMultiTabBarTab *tab = tabs->tqat( pos );
if ( !tab )
return ; //can never happen here, but who knows