Logo Search packages:      
Sourcecode: k4dirstat version File versions  Download package

void KDirTreeView::prepareReading (  ) [protected, slot]

Set up everything prior to reading: Cyclic update timer, display busy state, default sorting, stopwatch.

Definition at line 281 of file kdirtreeview.cpp.

References busyDisplay(), sendProgressInfo(), setSorting(), startingReading(), and updateSummary().

Referenced by createTree().

    // Prepare cyclic update

    if ( _updateTimer )
      delete _updateTimer;

    _updateTimer = new QTimer( this );

    if ( _updateTimer )
      _updateTimer->changeInterval( _updateInterval );
      connect( _updateTimer,  SIGNAL( timeout() ),
             this,      SLOT  ( updateSummary() ) );

      connect( _updateTimer, SIGNAL( timeout() ),
             this,      SLOT  ( sendProgressInfo() ) );

    // Change display to busy state

    setSorting( _totalSizeCol );
    emit startingReading();


Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index