Compare commits

...

73 Commits

Author SHA1 Message Date
TDE Gitea ea77727a65 Reset submodule main/applications/kdirstat/cmake to latest HEAD 3 months ago
TDE Gitea aa0ca7909f Reset submodule main/applications/kdirstat/cmake to latest HEAD 4 months ago
TDE Gitea c514530a65 Reset submodule main/applications/kdirstat/cmake to latest HEAD 4 months ago
TDE Gitea b72b27b465 Reset submodule main/applications/kdirstat/admin to latest HEAD 4 months ago
TDE Gitea 02b9db95c3 Reset submodule main/applications/kdirstat/cmake to latest HEAD 4 months ago
TDE Gitea 8fdb4d0de5 Reset submodule main/applications/kdirstat/cmake to latest HEAD 5 months ago
TDE Gitea 008f29835f Reset submodule main/applications/kdirstat/admin to latest HEAD 5 months ago
TDE Gitea 49e8b9a187 Reset submodule main/applications/kdirstat/cmake to latest HEAD 7 months ago
TDE Gitea 9815183833 Reset submodule main/applications/kdirstat/admin to latest HEAD 7 months ago
TDE Gitea 7dac86e4bc Reset submodule main/applications/kdirstat/cmake to latest HEAD 8 months ago
TDE Gitea fa109f1d8e Reset submodule main/applications/kdirstat/admin to latest HEAD 8 months ago
TDE Gitea 96b1f02485 Reset submodule main/applications/kdirstat/cmake to latest HEAD 8 months ago
TDE Gitea f6003df9b8 Reset submodule main/applications/kdirstat/admin to latest HEAD 8 months ago
TDE Gitea 235ed91cec Reset submodule main/applications/kdirstat/cmake to latest HEAD 10 months ago
TDE Gitea b2c368b8ef Reset submodule main/applications/kdirstat/cmake to latest HEAD 11 months ago
TDE Gitea 85d42c846b Reset submodule main/applications/kdirstat/cmake to latest HEAD 11 months ago
TDE Gitea 785543bcac Reset submodule main/applications/kdirstat/admin to latest HEAD 11 months ago
TDE Gitea a598d73219 Reset submodule main/applications/kdirstat/cmake to latest HEAD 11 months ago
TDE Gitea 9114a0533a Reset submodule main/applications/kdirstat/cmake to latest HEAD 11 months ago
TDE Gitea 2922e7a20d Reset submodule main/applications/kdirstat/cmake to latest HEAD 11 months ago
TDE Gitea 0531284bf4 Reset submodule main/applications/kdirstat/cmake to latest HEAD 11 months ago
TDE Gitea b793a6de0a Reset submodule main/applications/kdirstat/admin to latest HEAD 11 months ago
TDE Gitea f6c0658c35 Reset submodule main/applications/kdirstat/cmake to latest HEAD 12 months ago
TDE Gitea 20c3fe6c49 Reset submodule main/applications/kdirstat/cmake to latest HEAD 1 year ago
TDE Gitea 99df6d5f5b Reset submodule main/applications/kdirstat/cmake to latest HEAD 1 year ago
TDE Gitea 44e3467400 Reset submodule main/applications/kdirstat/cmake to latest HEAD 1 year ago
TDE Gitea 45792a650d Reset submodule main/applications/kdirstat/cmake to latest HEAD 1 year ago
TDE Gitea 66cfc10247 Reset submodule main/applications/kdirstat/cmake to latest HEAD 1 year ago
TDE Gitea 2ea80ffb47 Reset submodule main/applications/kdirstat/cmake to latest HEAD 1 year ago
TDE Gitea 1ce3ac5a15 Reset submodule main/applications/kdirstat/cmake to latest HEAD 1 year ago
TDE Gitea 64d3cf6f93 Reset submodule main/applications/kdirstat/cmake to latest HEAD 1 year ago
Slávek Banko 442722139a
Switch all submodules to https. 1 year ago
TDE Gitea bf3672ef8d Reset submodule main/applications/kdirstat/cmake to latest HEAD 2 years ago
TDE Gitea 9d2b655f47 Reset submodule main/applications/kdirstat/cmake to latest HEAD 2 years ago
TDE Gitea a568872266 Reset submodule main/applications/kdirstat/cmake to latest HEAD 2 years ago
TDE Gitea d5d27f9114 Reset submodule main/applications/kdirstat/cmake to latest HEAD 2 years ago
TDE Gitea 16a080e4ff Reset submodule main/applications/kdirstat/admin to latest HEAD 2 years ago
TDE Gitea fb23efd342 Reset submodule main/applications/kdirstat/cmake to latest HEAD 2 years ago
TDE Gitea 1943e05543 Reset submodule main/applications/kdirstat/cmake to latest HEAD 2 years ago
TDE Gitea fd1a289c94 Reset submodule main/applications/kdirstat/cmake to latest HEAD 2 years ago
TDE Gitea 38f78e2f48 Reset submodule main/applications/kdirstat/cmake to latest HEAD 2 years ago
TDE Gitea 89ea777670 Reset submodule main/applications/kdirstat/cmake to latest HEAD 2 years ago
TDE Gitea 42522dee03 Reset submodule main/applications/kdirstat/cmake to latest HEAD 2 years ago
TDE Gitea 881decbacb Reset submodule main/applications/kdirstat/admin to latest HEAD 2 years ago
TDE Gitea 9cd1b4cfb0 Reset submodule main/applications/kdirstat/cmake to latest HEAD 2 years ago
TDE Gitea 4c3417de14 Reset submodule main/applications/kdirstat/cmake to latest HEAD 2 years ago
TDE Gitea 260cddbe7b Reset submodule main/applications/kdirstat/admin to latest HEAD 3 years ago
Slávek Banko 7177f958a5 Reset submodule main/applications/kdirstat/admin to latest HEAD 3 years ago
Slávek Banko f7b3d3cf23 Reset submodule main/applications/kdirstat/admin to latest HEAD 3 years ago
Slávek Banko 3be22f8587 Reset submodule main/applications/kdirstat/admin to latest HEAD 3 years ago
Slávek Banko ead1cfe778 Reset submodule main/applications/kdirstat/cmake to latest HEAD 4 years ago
Slávek Banko 43d33740e2 Reset submodule main/applications/kdirstat/admin to latest HEAD 5 years ago
Slávek Banko 2b60afdec6 Reset submodule main/applications/kdirstat/cmake to latest HEAD 5 years ago
Slávek Banko f889612aef Reset submodule main/applications/kdirstat/admin to latest HEAD 5 years ago
Slávek Banko 37cf3496ac Reset submodule main/applications/kdirstat/admin to latest HEAD 8 years ago
Slávek Banko 9d2b7a5220 Reset submodule main/applications/kdirstat/admin to latest HEAD 8 years ago
Slávek Banko 9d4b4baa43 Reset submodule main/applications/kdirstat/cmake to latest HEAD 8 years ago
Slávek Banko fbef85bf45 Reset submodule main/applications/kdirstat/cmake to latest HEAD 8 years ago
Darrell Anderson 4272c9afab Fix inadvertent tqt changes. 9 years ago
Darrell Anderson 18372bf78d Fix inadvertent tq changes. 9 years ago
Slávek Banko c9765df7fb Reset submodule main/applications/kdirstat/cmake to latest HEAD 9 years ago
Slávek Banko 4356eae9ec Reset submodule main/applications/kdirstat/cmake to latest HEAD 9 years ago
Slávek Banko 690629ec49 Reset submodule main/applications/kdirstat/admin to latest HEAD 9 years ago
Slávek Banko d49f1382a4 Reset submodule main/applications/kdirstat/cmake to latest HEAD 9 years ago
Slávek Banko 091615e07a Reset submodule main/applications/kdirstat/cmake to latest HEAD 9 years ago
Slávek Banko 9c31ff3434 Reset submodule main/applications/kdirstat/admin to latest HEAD 9 years ago
Slávek Banko 4554f5849e Update final HTML install path so all modules are consistent. 9 years ago
Darrell Anderson 870273cc61 Update HTML install path references. 9 years ago
Darrell Anderson 72c08cb4a9 Fix typos. 9 years ago
Timothy Pearson f7a7a270c9 Rename obsolete tq methods to standard names 10 years ago
Timothy Pearson 2210b12765 Remove additional unneeded tq method conversions 10 years ago
Timothy Pearson ec72741c06 Rename old tq methods that no longer need a unique name 10 years ago
Slávek Banko eeb44fd557 Add common directories 9 years ago
  1. 6
      .gitmodules
  2. 4
      acinclude.m4
  3. 1
      admin
  4. 1
      cmake
  5. 2
      doc/en/index.docbook
  6. 2
      kdirstat.kdevprj
  7. 2
      kdirstat.spec
  8. 6
      kdirstat/kcleanup.cpp
  9. 4
      kdirstat/kcleanupcollection.cpp
  10. 4
      kdirstat/kdirstatapp.cpp
  11. 76
      kdirstat/kdirstatsettings.cpp
  12. 6
      kdirstat/kdirstatsettings.h
  13. 34
      kdirstat/kdirtree.cpp
  14. 64
      kdirstat/kdirtree.h
  15. 48
      kdirstat/kdirtreeiterators.cpp
  16. 46
      kdirstat/kdirtreeiterators.h
  17. 100
      kdirstat/kdirtreeview.cpp
  18. 18
      kdirstat/kdirtreeview.h
  19. 10
      kdirstat/kfeedback.cpp
  20. 12
      kdirstat/kpacman.cpp
  21. 2
      kdirstat/kpacman.h
  22. 10
      kdirstat/ktreemaptile.cpp
  23. 20
      kdirstat/ktreemaptile.h
  24. 4
      kdirstat/ktreemapview.cpp
  25. 2
      kdirstat/ktreemapview.h

6
.gitmodules

@ -0,0 +1,6 @@
[submodule "admin"]
path = admin
url = https://system@scm.trinitydesktop.org/scm/git/tde-common-admin
[submodule "cmake"]
path = cmake
url = https://system@scm.trinitydesktop.org/scm/git/tde-common-cmake

4
acinclude.m4

@ -428,7 +428,7 @@ AC_DEFUN([KDE_SET_DEFAULT_PATHS],
if test "$1" = "default"; then
if test -z "$kde_htmldir"; then
kde_htmldir='\${datadir}/doc/HTML'
kde_htmldir='\${datadir}/doc/tde/HTML'
fi
if test -z "$kde_appsdir"; then
kde_appsdir='\${datadir}/applnk'
@ -4555,7 +4555,7 @@ AC_DEFUN([KDE_SET_PREFIX_CORE],
fi
# And delete superfluous '/' to make compares easier
prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
kde_libs_htmldir=$prefix/share/doc/HTML/
kde_libs_htmldir=$prefix/share/doc/tde/HTML/
exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
AC_SUBST(kde_libs_htmldir)
KDE_FAST_CONFIGURE

1
admin

@ -0,0 +1 @@
Subproject commit 5bf424d9d8a3a8c3a894d6540ae164a42d2c25a5

1
cmake

@ -0,0 +1 @@
Subproject commit e5cb6a51b3811021a23f0aaaac083f94c903281a

2
doc/en/index.docbook

@ -860,7 +860,7 @@ This opens a terminal window in the directory of the selected item.
Use this to issue a few shell commands in that directory, then simply close
that shell window. You can easily open a new one in a different directory if
you need one, so you might want not to bother to repeatedly type
<userinput>cd</userinput> with lenghty paths - simply close that shell and open
<userinput>cd</userinput> with lengthy paths - simply close that shell and open
a new one at the new location (type <keycap>Ctrl</keycap>-<keysym>T</keysym>.
</para>
<para>

2
kdirstat.kdevprj

@ -61,7 +61,7 @@ install=false
install_location=
type=DATA
[Workspace_1]
browser_file=file:/opt/kde2/share/doc/HTML/default/kdevelop/kde_libref/index.html
browser_file=file:/opt/kde2/share/doc/tde/HTML/default/kdevelop/kde_libref/index.html
cpp_file=/work/home/sh/kde2/kdirstat/kdirstat/kdirstat.cpp
header_file=/work/home/sh/kde2/kdirstat/AUTHORS
openfiles=Untitled.h,Untitled.cpp,/work/home/sh/kde2/kdirstat/kdirstat/kdirstat.h,/work/home/sh/kde2/kdirstat/COPYING,/work/home/sh/kde2/kdirstat/COPYING.LIB,/work/home/sh/kde2/kdirstat/AUTHORS,/work/home/sh/kde2/kdirstat/kdirstat/kdirstat.cpp,/work/home/sh/kde2/kdirstat/kdirstat/kdirtree.cpp

2
kdirstat.spec

@ -56,7 +56,7 @@ make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
/opt/trinity/bin/kdirstat
/opt/trinity/share/apps/kdirstat
/opt/trinity/share/appl*/*/kdirstat*
/opt/trinity/share/doc/HTML/*/kdirstat/
/opt/trinity/share/doc/tde/HTML/*/kdirstat/
%dir /opt/trinity/share/icons/hicolor/16x16
%dir /opt/trinity/share/icons/hicolor/16x16/apps
%dir /opt/trinity/share/icons/hicolor/32x32

6
kdirstat/kcleanup.cpp

@ -166,11 +166,11 @@ KCleanup::confirmation( KFileInfo * item )
if ( item->isDir() || item->isDotEntry() )
{
msg = i18n( "%1\nin directory %2" ).tqarg( cleanTitle() ).tqarg( item->url() );
msg = i18n( "%1\nin directory %2" ).arg( cleanTitle() ).arg( item->url() );
}
else
{
msg = i18n( "%1\nfor file %2" ).tqarg( cleanTitle() ).tqarg( item->url() );
msg = i18n( "%1\nfor file %2" ).arg( cleanTitle() ).arg( item->url() );
}
if ( KMessageBox::warningContinueCancel( 0, // parentWidget
@ -252,7 +252,7 @@ KCleanup::executeRecursive( KFileInfo *item )
{
/**
* Recursively execute in this subdirectory, but only if it
* really is a directory: File tqchildren might have been
* really is a directory: File children might have been
* reparented to the directory (normally, they reside in
* the dot entry) if there are no real subdirectories on
* this directory level.

4
kdirstat/kcleanupcollection.cpp

@ -228,10 +228,10 @@ KCleanupCollection::addUserCleanups( int number )
if ( _nextUserCleanupNo <= 9 )
// Provide a keyboard shortcut for cleanup #0..#9
title=i18n( "User Defined Cleanup #&%1" ).tqarg(_nextUserCleanupNo);
title=i18n( "User Defined Cleanup #&%1" ).arg(_nextUserCleanupNo);
else
// No keyboard shortcuts for cleanups #10.. - they would be duplicates
title=i18n( "User Defined Cleanup #%1" ).tqarg(_nextUserCleanupNo);
title=i18n( "User Defined Cleanup #%1" ).arg(_nextUserCleanupNo);
_nextUserCleanupNo++;

4
kdirstat/kdirstatapp.cpp

@ -348,7 +348,7 @@ void KDirStatApp::readMainWinConfig()
KConfig * config = kapp->config();
config->setGroup( "General Options" );
// tqStatus settings of the various bars and views
// Status settings of the various bars and views
_showToolBar->setChecked( config->readBoolEntry( "Show Toolbar", true ) );
toggleToolBar();
@ -824,7 +824,7 @@ KDirStatApp::createTreemapView()
_activityTracker, TQT_SLOT ( trackActivity( int ) ) );
}
_treemapView->show(); // TQSplitter needs explicit show() for new tqchildren
_treemapView->show(); // TQSplitter needs explicit show() for new children
updateActions();
}

76
kdirstat/kdirstatsettings.cpp

@ -44,21 +44,21 @@ KSettingsDialog::KSettingsDialog( KDirStatApp *mainWin )
{
/**
* This may seem like overkill, but I didn't find any other way to get
* tqgeometry management right with KDialogBase, yet maintain a modular and
* geometry management right with KDialogBase, yet maintain a modular and
* object-oriented design:
*
* Each individual settings page is added with 'addVBoxPage()' to get some
* initial tqgeometry management. Only then can some generic widget be added
* initial geometry management. Only then can some generic widget be added
* into this - and I WANT my settings pages to be generic widgets. I want
* them to be self-sufficient - no monolithic mess of widget creation in my
* code, intermixed with all kinds of tqlayout objects.
* code, intermixed with all kinds of layout objects.
*
* The ordinary KDialogBase::addPage() just creates a TQFrame which is too
* dumb for any kind of tqgeometry management - it cannot even handle one
* dumb for any kind of geometry management - it cannot even handle one
* single child right. So, let's have KDialogBase create something more
* intelligent: A TQVBox (which is derived from TQFrame anyway). This TQVBox
* gets only one child - the KSettingsPage. This KSettingsPage handles its
* own tqlayout.
* own layout.
**/
TQWidget * page;
@ -79,7 +79,7 @@ KSettingsDialog::KSettingsDialog( KDirStatApp *mainWin )
_generalSettingsPageIndex = pageIndex( page );
new KGeneralSettingsPage( this, page, _mainWin );
// resize( tqsizeHint() );
// resize( sizeHint() );
}
@ -166,14 +166,14 @@ KTreeColorsPage::KTreeColorsPage( KSettingsDialog * dialog,
, _treeView( mainWin->treeView() )
, _maxButtons( KDirStatSettingsMaxColorButton )
{
// Outer tqlayout box
// Outer layout box
TQHBoxLayout * outerBox = new TQHBoxLayout( this,
0, // border
dialog->spacingHint() );
// Inner tqlayout box with a column of color buttons
// Inner layout box with a column of color buttons
TQGridLayout *grid = new TQGridLayout( _maxButtons, // rows
_maxButtons + 1, // cols
@ -190,7 +190,7 @@ KTreeColorsPage::KTreeColorsPage( KSettingsDialog * dialog,
{
TQString labelText;
labelText=i18n( "Tree Level %1" ).tqarg(i+1);
labelText=i18n( "Tree Level %1" ).arg(i+1);
_colorLabel[i] = new TQLabel( labelText, this );
grid->addWidget( _colorLabel [i], i, 0 );
@ -284,9 +284,9 @@ KCleanupPage::KCleanupPage( KSettingsDialog * dialog,
_workCleanupCollection = *mainWin->cleanupCollection();
// Create tqlayout and widgets.
// Create layout and widgets.
TQHBoxLayout * tqlayout = new TQHBoxLayout( this,
TQHBoxLayout * layout = new TQHBoxLayout( this,
0, // border
dialog->spacingHint() ); // spacing
_listBox = new KCleanupListBox( this );
@ -302,17 +302,17 @@ KCleanupPage::KCleanupPage( KSettingsDialog * dialog,
this, TQT_SLOT ( changeCleanup( KCleanup * ) ) );
// Fill list box so it can determine a reasonable startup tqgeometry - that
// Fill list box so it can determine a reasonable startup geometry - that
// doesn't work if it happens only later.
setup();
// Now that _listBox will (hopefully) have determined a reasonable
// default tqgeometry, add the widgets to the tqlayout.
// default geometry, add the widgets to the layout.
tqlayout->addWidget( _listBox, 0 );
tqlayout->addWidget( _props , 1 );
tqlayout->activate();
layout->addWidget( _listBox, 0 );
layout->addWidget( _props , 1 );
layout->activate();
}
@ -370,7 +370,7 @@ KCleanupPage::setup()
// (Re-) Initialize list box.
// _listBox->resize( _listBox->tqsizeHint() );
// _listBox->resize( _listBox->sizeHint() );
_listBox->setSelected( 0, true );
}
@ -437,13 +437,13 @@ KCleanupListBox::KCleanupListBox( TQWidget *parent )
TQSize
KCleanupListBox::tqsizeHint() const
KCleanupListBox::sizeHint() const
{
// FIXME: Is this still needed with TQt 2.x?
if ( count() < 1 )
{
// As long as the list is empty, tqsizeHint() would default to
// As long as the list is empty, sizeHint() would default to
// (0,0) which is ALWAYS just a pain in the ass. We'd rather
// have an absolutely random value than this.
return TQSize( 100, 100 );
@ -544,7 +544,7 @@ KCleanupPropertiesPage::KCleanupPropertiesPage( TQWidget * parent,
TQVBoxLayout *fieldsBox = new TQVBoxLayout( _fields );
// Grid tqlayout for the edit fields, their labels, some
// Grid layout for the edit fields, their labels, some
// explanatory text and the "recurse?" check box.
TQGridLayout *grid = new TQGridLayout( 7, // rows
@ -611,7 +611,7 @@ KCleanupPropertiesPage::KCleanupPropertiesPage( TQWidget * parent,
_worksForProtocols->insertItem( i18n( "Network Transparent (ftp, smb, tar, ...)" ) );
// Grid tqlayout for combo boxes at the bottom
// Grid layout for combo boxes at the bottom
grid = new TQGridLayout( 1, // rows
2, // cols
@ -646,7 +646,7 @@ KCleanupPropertiesPage::KCleanupPropertiesPage( TQWidget * parent,
outerBox->activate();
setMinimumSize( tqsizeHint() );
setMinimumSize( sizeHint() );
}
@ -707,13 +707,13 @@ KGeneralSettingsPage::KGeneralSettingsPage( KSettingsDialog * dialog,
, _treeView( mainWin->treeView() )
{
// Create tqlayout and widgets.
// Create layout and widgets.
TQVBoxLayout * tqlayout = new TQVBoxLayout( this, 5, // border
TQVBoxLayout * layout = new TQVBoxLayout( this, 5, // border
dialog->spacingHint() ); // spacing
TQVGroupBox * gbox = new TQVGroupBox( i18n( "Directory Reading" ), this );
tqlayout->addWidget( gbox );
layout->addWidget( gbox );
_crossFileSystems = new TQCheckBox( i18n( "Cross &File System Boundaries" ), gbox );
_enableLocalDirReader = new TQCheckBox( i18n( "Use Optimized &Local Directory Read Methods" ), gbox );
@ -721,10 +721,10 @@ KGeneralSettingsPage::KGeneralSettingsPage( KSettingsDialog * dialog,
connect( _enableLocalDirReader, TQT_SIGNAL( stateChanged( int ) ),
this, TQT_SLOT ( checkEnabledState() ) );
tqlayout->addSpacing( 10 );
layout->addSpacing( 10 );
gbox = new TQVGroupBox( i18n( "Animation" ), this );
tqlayout->addWidget( gbox );
layout->addWidget( gbox );
_enableToolBarAnimation = new TQCheckBox( i18n( "P@cM@n Animation in Tool &Bar" ), gbox );
_enableTreeViewAnimation = new TQCheckBox( i18n( "P@cM@n Animation in Directory &Tree" ), gbox );
@ -800,11 +800,11 @@ KTreemapPage::KTreemapPage( KSettingsDialog * dialog,
{
// kdDebug() << k_funcinfo << endl;
TQVBoxLayout * tqlayout = new TQVBoxLayout( this, 0, 0 ); // parent, border, spacing
TQVBoxLayout * layout = new TQVBoxLayout( this, 0, 0 ); // parent, border, spacing
TQVBox * vbox = new TQVBox( this );
vbox->setSpacing( dialog->spacingHint() );
tqlayout->addWidget( vbox );
layout->addWidget( vbox );
_squarify = new TQCheckBox( i18n( "S&quarify Treemap" ), vbox );
_doCushionShading = new TQCheckBox( i18n( "Use C&ushion Shading" ), vbox );
@ -815,7 +815,7 @@ KTreemapPage::KTreemapPage( KSettingsDialog * dialog,
TQVGroupBox * gbox = new TQVGroupBox( i18n( "Cushion Parameters" ), vbox );
_cushionParams = gbox;
gbox->addSpace( 7 );
gbox->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding ) );
gbox->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding ) );
TQLabel * label = new TQLabel( i18n( "Ambient &Light" ), gbox );
TQHBox * hbox = new TQHBox( gbox );
@ -823,7 +823,7 @@ KTreemapPage::KTreemapPage( KSettingsDialog * dialog,
DefaultAmbientLight,Qt::Horizontal, hbox );
_ambientLightSB = new TQSpinBox( MinAmbientLight, MaxAmbientLight, 1, // min, max, step
hbox );
_ambientLightSB->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ) );
_ambientLightSB->setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ) );
label->setBuddy( _ambientLightSB );
gbox->addSpace( 7 );
@ -833,7 +833,7 @@ KTreemapPage::KTreemapPage( KSettingsDialog * dialog,
DefaultHeightScalePercent,Qt::Horizontal, hbox );
_heightScalePercentSB = new TQSpinBox( MinHeightScalePercent, MaxHeightScalePercent, 1, // min, max, step
hbox );
_heightScalePercentSB->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ) );
_heightScalePercentSB->setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ) );
label->setBuddy( _heightScalePercentSB );
gbox->addSpace( 10 );
@ -847,7 +847,7 @@ KTreemapPage::KTreemapPage( KSettingsDialog * dialog,
_cushionGridColorL = new TQLabel( " " + i18n( "Gr&id Color: " ), hbox );
_cushionGridColor = new KColorButton( hbox );
_cushionGridColorL->setBuddy( _cushionGridColor );
_cushionGridColorL->tqsetAlignment( AlignRight | AlignVCenter );
_cushionGridColorL->setAlignment( AlignRight | AlignVCenter );
// addVStretch( vbox );
@ -860,17 +860,17 @@ KTreemapPage::KTreemapPage( KSettingsDialog * dialog,
label = new TQLabel( i18n( "&Files: " ), _plainTileParams );
_fileFillColor = new KColorButton( _plainTileParams );
label->setBuddy( _fileFillColor );
label->tqsetAlignment( AlignRight | AlignVCenter );
label->setAlignment( AlignRight | AlignVCenter );
label = new TQLabel( " " + i18n( "&Directories: " ), _plainTileParams );
_dirFillColor = new KColorButton( _plainTileParams );
label->setBuddy( _dirFillColor );
label->tqsetAlignment( AlignRight | AlignVCenter );
label->setAlignment( AlignRight | AlignVCenter );
label = new TQLabel( i18n( "Gr&id: " ), _plainTileParams );
_outlineColor = new KColorButton( _plainTileParams );
label->setBuddy( _outlineColor );
label->tqsetAlignment( AlignRight | AlignVCenter );
label->setAlignment( AlignRight | AlignVCenter );
// Misc
@ -1035,7 +1035,7 @@ void
addHStretch( TQWidget * parent )
{
TQWidget * stretch = new TQWidget( parent );
stretch->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, // hor
stretch->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, // hor
TQSizePolicy::Minimum, // vert
1, // hstretch
0 ) ); // vstretch
@ -1046,7 +1046,7 @@ void
addVStretch( TQWidget * parent )
{
TQWidget * stretch = new TQWidget( parent );
stretch->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, // hor
stretch->setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, // hor
TQSizePolicy::Expanding, // vert
0, // hstretch
1 ) ); // vstretch

6
kdirstat/kdirstatsettings.h

@ -396,9 +396,9 @@ namespace KDirStat
*
* This is meant as a substitute for a tabbed dialog inside the tabbed
* dialog which would be much too wide and possibly confusing. Plus, this
* list box is supposed to take care of its own tqgeometry - the normal
* list box is supposed to take care of its own geometry - the normal
* dumbass list box obviously cannot do that. It just uses some random
* tqgeometry, relying on scroll bars for everything else. But in this
* geometry, relying on scroll bars for everything else. But in this
* special case we want all items to be visible at all times without scroll
* bars.
*
@ -426,7 +426,7 @@ namespace KDirStat
* without scrolling. In fact, we never want to see a scroll bar with
* this kind of list box.
**/
virtual TQSize tqsizeHint() const;
virtual TQSize sizeHint() const;
/**
* Insert an entry for a cleanup action into the list box. Uses the

34
kdirstat/kdirtree.cpp

@ -151,7 +151,7 @@ KFileInfo::~KFileInfo()
/**
* The destructor should also take care about unlinking this object from
* its parent's tqchildren list, but regrettably that just doesn't work: At
* its parent's children list, but regrettably that just doesn't work: At
* this point (within the destructor) parts of the object are already
* destroyed, e.g., the virtual table - virtual methods don't work any
* more. Thus, somebody from outside must call deletingChild() just prior
@ -296,11 +296,11 @@ KFileInfo::locate( TQString url, bool findDotEntries )
{
if ( _name.right(1) != "/" && // and this is not the root directory
! isDotEntry() ) // or a dot entry:
return 0; // This can't be any of our tqchildren.
return 0; // This can't be any of our children.
}
// Search all tqchildren
// Search all children
KFileInfo *child = firstChild();
@ -323,8 +323,8 @@ KFileInfo::locate( TQString url, bool findDotEntries )
// Search the dot entry if there is one - but only if there is no more
// path delimiter left in the URL. The dot entry contains files only,
// and their names may not contain the path delimiter, nor can they
// have tqchildren. This check is not strictly necessary, but it may
// speed up things a bit if we don't search the non-directory tqchildren
// have children. This check is not strictly necessary, but it may
// speed up things a bit if we don't search the non-directory children
// if the rest of the URL consists of several pathname components.
if ( dotEntry() &&
@ -415,7 +415,7 @@ KDirInfo::~KDirInfo()
KFileInfo *child = _firstChild;
// Recursively delete all tqchildren.
// Recursively delete all children.
while ( child )
{
@ -585,7 +585,7 @@ KDirInfo::insertChild( KFileInfo *newChild )
* unless something went terribly wrong, e.g. there is no dot entry to use.
* If this is a dot entry, store everything it gets directly within it.
*
* In any of those cases, insert the new child in the tqchildren list.
* In any of those cases, insert the new child in the children list.
*
* We don't bother with this list's order - it's explicitly declared to
* be unordered, so be warned! We simply insert this new child at the
@ -652,7 +652,7 @@ void
KDirInfo::deletingChild( KFileInfo *deletedChild )
{
/**
* When tqchildren are deleted, things go downhill: Marking the summary
* When children are deleted, things go downhill: Marking the summary
* fields as dirty (i.e. outdated) is the only thing that can be done here.
*
* The accumulated sizes could be updated (by subtracting this deleted
@ -672,9 +672,9 @@ KDirInfo::deletingChild( KFileInfo *deletedChild )
if ( ! _beingDestroyed && deletedChild->parent() == this )
{
/**
* Unlink the child from the tqchildren's list - but only if this doesn't
* Unlink the child from the children's list - but only if this doesn't
* happen recursively in the destructor of this object: No use
* bothering about the validity of the tqchildren's list if this will all
* bothering about the validity of the children's list if this will all
* be history anyway in a moment.
**/
@ -689,7 +689,7 @@ KDirInfo::unlinkChild( KFileInfo *deletedChild )
if ( deletedChild->parent() != this )
{
kdError() << deletedChild << " is not a child of " << this
<< " - cannot unlink from tqchildren list!" << endl;
<< " - cannot unlink from children list!" << endl;
return;
}
@ -716,7 +716,7 @@ KDirInfo::unlinkChild( KFileInfo *deletedChild )
}
kdError() << "Couldn't unlink " << deletedChild << " from "
<< this << " tqchildren list" << endl;
<< this << " children list" << endl;
}
@ -773,14 +773,14 @@ KDirInfo::cleanupDotEntries()
if ( ! _dotEntry || _isDotEntry )
return;
// Reparent dot entry tqchildren if there are no subdirectories on this level
// Reparent dot entry children if there are no subdirectories on this level
if ( ! _firstChild )
{
// kdDebug() << "Removing solo dot entry " << this << " " << endl;
KFileInfo *child = _dotEntry->firstChild();
_firstChild = child; // Move the entire tqchildren chain here.
_firstChild = child; // Move the entire children chain here.
_dotEntry->setFirstChild( 0 ); // _dotEntry will be deleted below.
while ( child )
@ -791,7 +791,7 @@ KDirInfo::cleanupDotEntries()
}
// Delete dot entries without any tqchildren
// Delete dot entries without any children
if ( ! _dotEntry->firstChild() )
{
@ -1301,7 +1301,7 @@ KDirTree::refresh( KFileInfo *subtree )
/**
* This may sound stupid, but the parent must be told to unlink its
* child from the tqchildren list. The child cannot simply do this by
* child from the children list. The child cannot simply do this by
* itself in its destructor since at this point important parts of the
* object may already be destroyed, e.g., the virtual table -
* i.e. virtual methods won't work any more.
@ -1449,7 +1449,7 @@ KDirTree::deleteSubtree( KFileInfo *subtree )
if ( parent )
{
// Give the parent of the child to be deleted a chance to unlink the
// child from its tqchildren list and take care of internal summary
// child from its children list and take care of internal summary
// fields
parent->deletingChild( subtree );
}

64
kdirstat/kdirtree.h

@ -51,7 +51,7 @@ namespace KDirStat
/**
* tqStatus of a directory read job.
* Status of a directory read job.
**/
typedef enum
{
@ -93,8 +93,8 @@ namespace KDirStat
* easily has 150,000+ file system objects, and at least one entry of this
* sort is required for each of them.
*
* This class provides stubs for tqchildren management, yet those stubs all
* are default implementations that don't really deal with tqchildren.
* This class provides stubs for children management, yet those stubs all
* are default implementations that don't really deal with children.
* Derived classes need to take care of that.
*
* @short Basic file information (like obtained by the lstat() sys call)
@ -250,39 +250,39 @@ namespace KDirStat
/**
* Returns the total size in bytes of this subtree.
* Derived classes that have tqchildren should overwrite this.
* Derived classes that have children should overwrite this.
**/
virtual KFileSize totalSize() { return size(); }
/**
* Returns the total size in blocks of this subtree.
* Derived classes that have tqchildren should overwrite this.
* Derived classes that have children should overwrite this.
**/
virtual KFileSize totalBlocks() { return _blocks; }
/**
* Returns the total number of tqchildren in this subtree, excluding this item.
* Derived classes that have tqchildren should overwrite this.
* Returns the total number of children in this subtree, excluding this item.
* Derived classes that have children should overwrite this.
**/
virtual int totalItems() { return 0; }
/**
* Returns the total number of subdirectories in this subtree,
* excluding this item. Dot entries and "." or ".." are not counted.
* Derived classes that have tqchildren should overwrite this.
* Derived classes that have children should overwrite this.
**/
virtual int totalSubDirs() { return 0; }
/**
* Returns the total number of plain file tqchildren in this subtree,
* Returns the total number of plain file children in this subtree,
* excluding this item.
* Derived classes that have tqchildren should overwrite this.
* Derived classes that have children should overwrite this.
**/
virtual int totalFiles() { return 0; }
/**
* Returns the latest modification time of this subtree.
* Derived classes that have tqchildren should overwrite this.
* Derived classes that have children should overwrite this.
**/
virtual time_t latestMtime() { return _mtime; }
@ -322,7 +322,7 @@ namespace KDirStat
/**
* Returns the number of pending read jobs in this subtree. When this
* number reaches zero, the entire subtree is done.
* Derived classes that have tqchildren should overwrite this.
* Derived classes that have children should overwrite this.
**/
virtual int pendingReadJobs() { return 0; }
@ -377,7 +377,7 @@ namespace KDirStat
{ NOT_USED( newFirstChild ); }
/**
* Returns true if this entry has any tqchildren.
* Returns true if this entry has any children.
**/
virtual bool hasChildren() const;
@ -396,7 +396,7 @@ namespace KDirStat
*
* Derived classes might or might not wish to overwrite this method;
* it's only advisable to do so if a derived class comes up with a
* different method than brute-force search all tqchildren.
* different method than brute-force search all children.
*
* 'findDotEntries' specifies if locating "dot entries" (".../<Files>")
* is desired.
@ -404,9 +404,9 @@ namespace KDirStat
virtual KFileInfo * locate( TQString url, bool findDotEntries = false );
/**
* Insert a child into the tqchildren list.
* Insert a child into the children list.
*
* The order of tqchildren in this list is absolutely undefined;
* The order of children in this list is absolutely undefined;
* don't rely on any implementation-specific order.
*
* This default implementation does nothing.
@ -416,7 +416,7 @@ namespace KDirStat
/**
* Return the "Dot Entry" for this node if there is one (or 0
* otherwise): This is a pseudo entry that directory nodes use to store
* non-directory tqchildren separately from directories. This way the end
* non-directory children separately from directories. This way the end
* user can easily tell which summary fields belong to the directory
* itself and which are the accumulated values of the entire subtree.
*
@ -456,7 +456,7 @@ namespace KDirStat
virtual void childAdded( KFileInfo *newChild ) { NOT_USED( newChild ); }
/**
* Remove a child from the tqchildren list.
* Remove a child from the children list.
*
* IMPORTANT: This MUST be called just prior to deleting an object of
* this class. Regrettably, this cannot simply be moved to the
@ -464,7 +464,7 @@ namespace KDirStat
* (e.g., the virtual table - no more virtual methods).
*
* This default implementation does nothing.
* Derived classes that can handle tqchildren should overwrite this.
* Derived classes that can handle children should overwrite this.
**/
virtual void unlinkChild( KFileInfo *deletedChild ) { NOT_USED( deletedChild ); }
@ -580,7 +580,7 @@ namespace KDirStat
/**
* A more specialized version of @ref KFileInfo: This class can actually
* manage tqchildren. The base class (@ref KFileInfo) has only stubs for the
* manage children. The base class (@ref KFileInfo) has only stubs for the
* respective methods to integrate seamlessly with the abstraction of a
* file / directory tree; this class fills those stubs with life.
*
@ -594,7 +594,7 @@ namespace KDirStat
*
* If "asDotEntry" is set, this will be used as the parent's
* "dot entry", i.e. the pseudo directory that holds all the parent's
* non-directory tqchildren. This is the only way to create a "dot
* non-directory children. This is the only way to create a "dot
* entry"!
**/
KDirInfo( KDirTree * tree,
@ -637,7 +637,7 @@ namespace KDirStat
virtual KFileSize totalBlocks();
/**
* Returns the total number of tqchildren in this subtree, excluding this item.
* Returns the total number of children in this subtree, excluding this item.
*
* Reimplemented - inherited from @ref KFileInfo.
**/
@ -652,7 +652,7 @@ namespace KDirStat
virtual int totalSubDirs();
/**
* Returns the total number of plain file tqchildren in this subtree,
* Returns the total number of plain file children in this subtree,
* excluding this item.
*
* Reimplemented - inherited from @ref KFileInfo.
@ -723,9 +723,9 @@ namespace KDirStat
{ _firstChild = newfirstChild; }
/**
* Insert a child into the tqchildren list.
* Insert a child into the children list.
*
* The order of tqchildren in this list is absolutely undefined;
* The order of children in this list is absolutely undefined;
* don't rely on any implementation-specific order.
**/
virtual void insertChild( KFileInfo *newChild );
@ -733,7 +733,7 @@ namespace KDirStat
/**
* Get the "Dot Entry" for this node if there is one (or 0 otherwise):
* This is a pseudo entry that directory nodes use to store
* non-directory tqchildren separately from directories. This way the end
* non-directory children separately from directories. This way the end
* user can easily tell which summary fields belong to the directory
* itself and which are the accumulated values of the entire subtree.
**/
@ -760,7 +760,7 @@ namespace KDirStat
virtual void childAdded( KFileInfo *newChild );
/**
* Remove a child from the tqchildren list.
* Remove a child from the children list.
*
* IMPORTANT: This MUST be called just prior to deleting an object of
* this class. Regrettably, this cannot simply be moved to the
@ -848,8 +848,8 @@ namespace KDirStat
/**
* Clean up unneeded / undesired dot entries:
* Delete dot entries that don't have any tqchildren,
* reparent dot entry tqchildren to the "real" (parent) directory if
* Delete dot entries that don't have any children,
* reparent dot entry children to the "real" (parent) directory if
* there are not subdirectory siblings at the level of the dot entry.
**/
void cleanupDotEntries();
@ -862,7 +862,7 @@ namespace KDirStat
// Children management
KFileInfo * _firstChild; // pointer to the first child
KFileInfo * _dotEntry; // pseudo entry to hold non-dir tqchildren
KFileInfo * _dotEntry; // pseudo entry to hold non-dir children
// Some cached values
@ -1252,10 +1252,10 @@ namespace KDirStat
virtual void deletingChildNotify( KFileInfo *deletedChild );
/**
* Notification that one or more tqchildren have been deleted.
* Notification that one or more children have been deleted.
*
* Directory read jobs are required to call this when one or more
* tqchildren are deleted so the tree can emit the corresponding @ref
* children are deleted so the tree can emit the corresponding @ref
* deletingChild() signal. For multiple deletions (e.g. entire
* subtrees) this should only happen once at the end.
**/

48
kdirstat/kdirtreeiterators.cpp

@ -60,7 +60,7 @@ void KFileInfoIterator::next()
{
if ( ! _directChildrenProcessed )
{
// Process direct tqchildren
// Process direct children
_current = _current ? _current->next() : _parent->firstChild();
@ -98,7 +98,7 @@ void KFileInfoIterator::next()
{
if ( _policy == KDotEntryTransparent )
{
// Process dot entry tqchildren
// Process dot entry children
_current = _current ?
_current->next() :
@ -129,7 +129,7 @@ KFileInfoIterator::count()
{
int cnt = 0;
// Count direct tqchildren
// Count direct children
KFileInfo *child = _parent->firstChild();
@ -144,7 +144,7 @@ KFileInfoIterator::count()
switch ( _policy )
{
case KDotEntryTransparent: // Count the dot entry's tqchildren as well.
case KDotEntryTransparent: // Count the dot entry's children as well.
if ( _parent->dotEntry() )
{
child = _parent->dotEntry()->firstChild();
@ -183,7 +183,7 @@ KFileInfoSortedIterator::KFileInfoSortedIterator( KFileInfo * parent,
_sortOrder = sortOrder;
_ascending = ascending;
_initComplete = false;
_tqchildrenList = 0;
_childrenList = 0;
_current = 0;
}
@ -191,8 +191,8 @@ KFileInfoSortedIterator::KFileInfoSortedIterator( KFileInfo * parent,
void
KFileInfoSortedIterator::delayedInit()
{
_tqchildrenList = new KFileInfoList( _sortOrder, _ascending );
CHECK_PTR( _tqchildrenList );
_childrenList = new KFileInfoList( _sortOrder, _ascending );
CHECK_PTR( _childrenList );
if ( _sortOrder == KSortByName )
{
@ -203,45 +203,45 @@ KFileInfoSortedIterator::delayedInit()
makeChildrenList();
}
_current = _tqchildrenList->first();
_current = _childrenList->first();
_initComplete = true;
}
KFileInfoSortedIterator::~KFileInfoSortedIterator()
{
if ( _tqchildrenList )
delete _tqchildrenList;
if ( _childrenList )
delete _childrenList;
}
void KFileInfoSortedIterator::makeDefaultOrderChildrenList()
{
// Fill tqchildren list with direct tqchildren
// Fill children list with direct children
KFileInfo *child = _parent->firstChild();
while ( child )
{
_tqchildrenList->append( child );
_childrenList->append( child );
child = child->next();
}
_tqchildrenList->sort();
_childrenList->sort();
if ( _policy == KDotEntryAsSubDir && _parent->dotEntry() )
{
// Append dot entry to the tqchildren list
// Append dot entry to the children list
_tqchildrenList->append( _parent->dotEntry() );
_childrenList->append( _parent->dotEntry() );
}
// Append the dot entry's tqchildren to the tqchildren list
// Append the dot entry's children to the children list
if ( _policy == KDotEntryTransparent && _parent->dotEntry() )
{
// Create a temporary list for the dot entry tqchildren
// Create a temporary list for the dot entry children
KFileInfoList dotEntryChildrenList( _sortOrder, _ascending );
child = _parent->dotEntry()->firstChild();
@ -255,13 +255,13 @@ void KFileInfoSortedIterator::makeDefaultOrderChildrenList()
dotEntryChildrenList.sort();
// Now append all of this dot entry tqchildren list to the tqchildren list
// Now append all of this dot entry children list to the children list
child = dotEntryChildrenList.first();
while ( child )
{
_tqchildrenList->append( child );
_childrenList->append( child );
child = dotEntryChildrenList.next();
}
}
@ -275,11 +275,11 @@ KFileInfoSortedIterator::makeChildrenList()
while ( *it )
{
_tqchildrenList->append( *it );
_childrenList->append( *it );
++it;
}
_tqchildrenList->sort();
_childrenList->sort();
}
@ -298,7 +298,7 @@ void KFileInfoSortedIterator::next()
if ( ! _initComplete )
delayedInit();
_current = _tqchildrenList->next();
_current = _childrenList->next();
}
@ -334,12 +334,12 @@ KFileInfoSortedBySizeIterator::makeChildrenList()
while ( *it )
{
if ( (*it)->totalSize() >= _minSize )
_tqchildrenList->append( *it );
_childrenList->append( *it );
++it;
}
_tqchildrenList->sort();
_childrenList->sort();
}

46
kdirstat/kdirtreeiterators.h

@ -27,9 +27,9 @@ namespace KDirStat
**/
typedef enum
{
KDotEntryTransparent, // Flatten hierarchy - move dot entry tqchildren up
KDotEntryTransparent, // Flatten hierarchy - move dot entry children up
KDotEntryAsSubDir, // Treat dot entry as ordinary subdirectory
KDotEntryIgnore // Ignore dot entry and its tqchildren completely
KDotEntryIgnore // Ignore dot entry and its children completely
} KDotEntryPolicy;
@ -47,8 +47,8 @@ namespace KDirStat
/**
* Iterator class for tqchildren of a @ref KFileInfo object. For optimum
* performance, this iterator class does NOT return tqchildren in any
* Iterator class for children of a @ref KFileInfo object. For optimum
* performance, this iterator class does NOT return children in any
* specific sort order. If you need that, use @ref KFileInfoSortedIterator
* instead.
*
@ -66,37 +66,37 @@ namespace KDirStat
* subdirectory child and each (direct) file child of 'node'.
* Notice: This does not recurse into subdirectories!
*
* @short (unsorted) iterator for @ref KFileInfo tqchildren.
* @short (unsorted) iterator for @ref KFileInfo children.
**/
class KFileInfoIterator
{
public:
/**
* Constructor: Initialize an iterator object to iterate over the
* tqchildren of 'parent' (unsorted!), depending on 'dotEntryPolicy':
* children of 'parent' (unsorted!), depending on 'dotEntryPolicy':
*
* KDotEntryTransparent (default):
*
* Treat the dot entry as if it wasn't there - pretend to move all its
* tqchildren up to the real parent. This makes a directory look very
* children up to the real parent. This makes a directory look very
* much like the directory on disk, without the dot entry. 'current()'
* or 'operator*()' will never return the dot entry, but all of its
* tqchildren. Subdirectories will be processed before any file tqchildren.
* children. Subdirectories will be processed before any file children.
*
* KDotEntryIsSubDir:
*
* Treat the dot entry just like any other subdirectory. Don't iterate
* over its tqchildren, too (unlike KDotEntryTransparent above).
* over its children, too (unlike KDotEntryTransparent above).
* 'current()' or 'operator*()' will return the dot entry, but none of
* its tqchildren (unless, of course, you create an iterator with the dot
* its children (unless, of course, you create an iterator with the dot
* entry as the parent).
*
* KDotEntryIgnore:
*
* Ignore the dot entry and its tqchildren completely. Useful if tqchildren
* Ignore the dot entry and its children completely. Useful if children
* other than subdirectories are not interesting anyway. 'current()'
* or 'operator*()' will never return the dot entry nor any of its
* tqchildren.
* children.
*
**/
KFileInfoIterator( KFileInfo * parent,
@ -187,13 +187,13 @@ namespace KDirStat
/**
* Iterator class for tqchildren of a @ref KFileInfo object. This iterator
* returns tqchildren sorted by name: Subdirectories first, then the dot
* entry (if desired - depending on policy), then file tqchildren (if
* Iterator class for children of a @ref KFileInfo object. This iterator
* returns children sorted by name: Subdirectories first, then the dot
* entry (if desired - depending on policy), then file children (if
* desired). Note: If you don't need the sorting feature, you might want to
* use @ref KFileItemIterator instead which has better performance.
*
* @short sorted iterator for @ref KFileInfo tqchildren.
* @short sorted iterator for @ref KFileInfo children.
**/
class KFileInfoSortedIterator: public KFileInfoIterator
{
@ -248,15 +248,15 @@ namespace KDirStat
void delayedInit();
/**
* Make a 'default order' tqchildren list:
* Make a 'default order' children list:
* First all subdirectories sorted by name,
* then the dot entry (depending on policy),
* then the dot entry's tqchildren (depending on policy).
* then the dot entry's children (depending on policy).
**/
virtual void makeDefaultOrderChildrenList();
/**
* Make a sorted tqchildren list according to the current sort
* Make a sorted children list according to the current sort
* criteria - unless KSortByName is requested, in which case
* makeDefaultOrderChildrenList() above is used.
**/
@ -265,7 +265,7 @@ namespace KDirStat
// Data members
KFileInfoList * _tqchildrenList;
KFileInfoList * _childrenList;
KFileInfoSortOrder _sortOrder;
bool _ascending;
bool _initComplete;
@ -276,8 +276,8 @@ namespace KDirStat
/**
* Specialized KFileInfo iterator that sorts by (total) size, yet
* disregards tqchildren below a minimum size. This can considerably improve
* performance if the number of tqchildren that need to be sorted decreases
* disregards children below a minimum size. This can considerably improve
* performance if the number of children that need to be sorted decreases
* dramatically.
*
* For example, treemaps can only display a limited portion of large
@ -307,7 +307,7 @@ namespace KDirStat
protected:
/**
* Create the (sorted) tqchildren list. Disregard tqchildren below minSize.
* Create the (sorted) children list. Disregard children below minSize.
* Reimplemented from KFileInfoSortedIterator.
**/
virtual void makeChildrenList();

100
kdirstat/kdirtreeview.cpp

@ -433,7 +433,7 @@ void
KDirTreeView::slotFinished()
{
emit progressInfo( i18n( "Finished. Elapsed time: %1" )
.tqarg( formatTime( _stopWatch.elapsed(), true ) ) );
.arg( formatTime( _stopWatch.elapsed(), true ) ) );
if ( _updateTimer )
{
@ -463,7 +463,7 @@ void
KDirTreeView::slotAborted()
{
emit progressInfo( i18n( "Aborted. Elapsed time: %1" )
.tqarg( formatTime( _stopWatch.elapsed(), true ) ) );
.arg( formatTime( _stopWatch.elapsed(), true ) ) );
if ( _updateTimer )
{
@ -499,11 +499,11 @@ KDirTreeView::sendProgressInfo( const TQString & newCurrentDir )
#if VERBOSE_PROGRESS_INFO
emit progressInfo( i18n( "Elapsed time: %1 reading directory %2" )
.tqarg( formatTime( _stopWatch.elapsed() ) )
.tqarg( _currentDir ) );
.arg( formatTime( _stopWatch.elapsed() ) )
.arg( _currentDir ) );
#else
emit progressInfo( i18n( "Elapsed time: %1" )
.tqarg( formatTime( _stopWatch.elapsed() ) ) );
.arg( formatTime( _stopWatch.elapsed() ) ) );
#endif
}
@ -719,14 +719,14 @@ KDirTreeView::setTreeBackground( const TQColor &color )
void