summaryrefslogtreecommitdiffstats
path: root/akregator/src/tabwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /akregator/src/tabwidget.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'akregator/src/tabwidget.cpp')
-rw-r--r--akregator/src/tabwidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/akregator/src/tabwidget.cpp b/akregator/src/tabwidget.cpp
index df969aacc..3f86fa1d1 100644
--- a/akregator/src/tabwidget.cpp
+++ b/akregator/src/tabwidget.cpp
@@ -166,8 +166,8 @@ void TabWidget::removeFrame(Frame *f)
uint TabWidget::tabBarWidthForMaxChars( uint maxLength )
{
int hframe, overlap;
- hframe = tabBar()->style().pixelMetric( TQStyle::PM_TabBarTabHSpace, this );
- overlap = tabBar()->style().pixelMetric( TQStyle::PM_TabBarTabOverlap, this );
+ hframe = tabBar()->style().tqpixelMetric( TQStyle::PM_TabBarTabHSpace, this );
+ overlap = tabBar()->style().tqpixelMetric( TQStyle::PM_TabBarTabOverlap, this );
TQFontMetrics fm = tabBar()->fontMetrics();
int x = 0;
@@ -198,7 +198,7 @@ void TabWidget::setTitle( const TQString &title , TQWidget* sender)
removeTabToolTip( sender );
uint lcw=0, rcw=0;
- int tabBarHeight = tabBar()->sizeHint().height();
+ int tabBarHeight = tabBar()->tqsizeHint().height();
if ( cornerWidget( TopLeft ) && cornerWidget( TopLeft )->isVisible() )
lcw = QMAX( cornerWidget( TopLeft )->width(), tabBarHeight );
if ( cornerWidget( TopRight ) && cornerWidget( TopRight )->isVisible() )
@@ -218,7 +218,7 @@ void TabWidget::setTitle( const TQString &title , TQWidget* sender)
newTitle = newTitle.left( newMaxLength-3 ) + "...";
}
- newTitle.replace( '&', "&&" );
+ newTitle.tqreplace( '&', "&&" );
if ( tabLabel( sender ) != newTitle )
changeTab( sender, newTitle );
@@ -235,7 +235,7 @@ void TabWidget::setTitle( const TQString &title , TQWidget* sender)
newTitle = newTitle.left( newMaxLength-3 ) + "...";
}
- newTitle.replace( '&', "&&" );
+ newTitle.tqreplace( '&', "&&" );
if ( newTitle != tabLabel( page( i ) ) )
changeTab( page( i ), newTitle );
}