The DirentSizeWorker class really counts the dirent below size and, this is asyncronous, so, sizeCountFinish signals will brings everytings.
More...
#include <DirentSizeCounter.h>
|
void | sizeCountFinish (QPersistentModelIndex index, qint64 size) |
| sizeCountFinish signals the finish of the count
|
|
|
| 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,
|
|
The DirentSizeWorker class really counts the dirent below size and, this is asyncronous, so, sizeCountFinish signals will brings everytings.
◆ DirentSizeWorker()
DirentSizeWorker::DirentSizeWorker |
( |
QObject * |
object = nullptr | ) |
|
|
inlineexplicit |
Construct a new Dirent Size Worker object.
- Parameters
-
◆ depatch_sizeCount_task()
void DirentSizeWorker::depatch_sizeCount_task |
( |
const QPersistentModelIndex & |
index, |
|
|
const QString & |
path |
|
) |
| |
functions depatch an asyncronous count issues,
- Parameters
-
index | the model index where we start the count |
path | the path to the directory |
◆ sizeCountFinish
void DirentSizeWorker::sizeCountFinish |
( |
QPersistentModelIndex |
index, |
|
|
qint64 |
size |
|
) |
| |
|
signal |
sizeCountFinish signals the finish of the count
- Parameters
-
index | the model index where we start the count |
size | the size of the directory |
The documentation for this class was generated from the following files:
- extern_app/FileRamber/Core/DirentSizeCounter.h
- extern_app/FileRamber/Core/DirentSizeCounter.cpp