|
|
|
@ -88,7 +88,7 @@ KDirTreeView::KDirTreeView( TQWidget * parent )
|
|
|
|
|
setSorting( _totalSizeCol );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define loadIcon(ICON) KGlobal::iconLoader()->loadIcon( (ICON), KIcon::Small )
|
|
|
|
|
#define loadIcon(ICON) TDEGlobal::iconLoader()->loadIcon( (ICON), KIcon::Small )
|
|
|
|
|
|
|
|
|
|
_openDirIcon = loadIcon( "folder_open" );
|
|
|
|
|
_closedDirIcon = loadIcon( "folder" );
|
|
|
|
@ -734,7 +734,7 @@ KDirTreeView::ensureContrast()
|
|
|
|
|
void
|
|
|
|
|
KDirTreeView::paletteChanged()
|
|
|
|
|
{
|
|
|
|
|
setTreeBackground( KGlobalSettings::baseColor() );
|
|
|
|
|
setTreeBackground( TDEGlobalSettings::baseColor() );
|
|
|
|
|
ensureContrast();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1764,7 +1764,7 @@ KDirStat::formatSizeLong( KFileSize size )
|
|
|
|
|
|
|
|
|
|
if ( ++count == 3 && size > 0 )
|
|
|
|
|
{
|
|
|
|
|
sizeText = KGlobal::locale()->thousandsSeparator() + sizeText;
|
|
|
|
|
sizeText = TDEGlobal::locale()->thousandsSeparator() + sizeText;
|
|
|
|
|
count = 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -1912,8 +1912,8 @@ KDirStat::localeTimeDate( time_t rawTime )
|
|
|
|
|
TQDateTime timeDate;
|
|
|
|
|
timeDate.setTime_t( rawTime );
|
|
|
|
|
TQString timeDateString =
|
|
|
|
|
KGlobal::locale()->formatDate( timeDate.date(), true ) + " " + // short format
|
|
|
|
|
KGlobal::locale()->formatTime( timeDate.time(), true ); // include seconds
|
|
|
|
|
TDEGlobal::locale()->formatDate( timeDate.date(), true ) + " " + // short format
|
|
|
|
|
TDEGlobal::locale()->formatTime( timeDate.time(), true ); // include seconds
|
|
|
|
|
|
|
|
|
|
return timeDateString;
|
|
|
|
|
}
|
|
|
|
|