summaryrefslogtreecommitdiffstats
path: root/libtdepim/kfoldertree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/kfoldertree.cpp')
-rw-r--r--libtdepim/kfoldertree.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libtdepim/kfoldertree.cpp b/libtdepim/kfoldertree.cpp
index 64859199a..79ad6aa9c 100644
--- a/libtdepim/kfoldertree.cpp
+++ b/libtdepim/kfoldertree.cpp
@@ -198,7 +198,7 @@ void KFolderTreeItem::setFolderSize( TQ_INT64 aSize )
TQ_INT64 recursiveSize = recursiveFolderSize();
if ( recursiveSize != mSize ) {
if ( mType != Root )
- size += TQString::tqfromLatin1(" + %1").tqarg( KIO::convertSize( recursiveSize - mSize ) );
+ size += TQString::fromLatin1(" + %1").arg( KIO::convertSize( recursiveSize - mSize ) );
else
size = KIO::convertSize( recursiveSize );
}
@@ -351,7 +351,7 @@ void KFolderTreeItem::setFolderIsCloseToQuota( bool v )
{
if ( mFolderIsCloseToQuota != v) {
mFolderIsCloseToQuota = v;
- tqrepaint();
+ repaint();
}
}
@@ -391,9 +391,9 @@ void KFolderTree::setStyleDependantFrameWidth()
// set the width of the frame to a reasonable value for the current GUI style
int frameWidth;
if( tqstyle().isA("KeramikStyle") )
- frameWidth = tqstyle().tqpixelMetric( TQStyle::PM_DefaultFrameWidth ) - 1;
+ frameWidth = tqstyle().pixelMetric( TQStyle::PM_DefaultFrameWidth ) - 1;
else
- frameWidth = tqstyle().tqpixelMetric( TQStyle::PM_DefaultFrameWidth );
+ frameWidth = tqstyle().pixelMetric( TQStyle::PM_DefaultFrameWidth );
if ( frameWidth < 0 )
frameWidth = 0;
if ( frameWidth != lineWidth() )
@@ -535,7 +535,7 @@ void KFolderTree::setFullWidth( bool fullWidth )
//-----------------------------------------------------------------------------
void KFolderTree::slotSizeChanged( int section, int, int newSize )
{
- viewport()->tqrepaint(
+ viewport()->repaint(
header()->sectionPos(section), 0, newSize, visibleHeight(), false );
}