CCIMXDesktop
 
Loading...
Searching...
No Matches
DirentSizeWorker Class Reference

The DirentSizeWorker class really counts the dirent below size and, this is asyncronous, so, sizeCountFinish signals will brings everytings. More...

#include <DirentSizeCounter.h>

Inheritance diagram for DirentSizeWorker:

Signals

void sizeCountFinish (QPersistentModelIndex index, qint64 size)
 sizeCountFinish signals the finish of the count
 

Public Member Functions

 DirentSizeWorker (QObject *object=nullptr)
 Construct a new Dirent Size Worker object.
 
void depatch_sizeCount_task (const QPersistentModelIndex &index, const QString &path)
 functions depatch an asyncronous count issues,
 

Detailed Description

The DirentSizeWorker class really counts the dirent below size and, this is asyncronous, so, sizeCountFinish signals will brings everytings.

Constructor & Destructor Documentation

◆ DirentSizeWorker()

DirentSizeWorker::DirentSizeWorker ( QObject *  object = nullptr)
inlineexplicit

Construct a new Dirent Size Worker object.

Parameters
object

Member Function Documentation

◆ depatch_sizeCount_task()

void DirentSizeWorker::depatch_sizeCount_task ( const QPersistentModelIndex &  index,
const QString &  path 
)

functions depatch an asyncronous count issues,

Parameters
indexthe model index where we start the count
paththe path to the directory

◆ sizeCountFinish

void DirentSizeWorker::sizeCountFinish ( QPersistentModelIndex  index,
qint64  size 
)
signal

sizeCountFinish signals the finish of the count

Parameters
indexthe model index where we start the count
sizethe size of the directory

The documentation for this class was generated from the following files: