QXRD
0.11.16
|
#include <qxrdfilebrowsermodelupdater.h>
Public Slots | |
void | changeRoot (const QString &path) |
void | changeContents (const QString &path) |
void | updateTimeout () |
void | needUpdate () |
void | updateContents () |
void | generateFileUpdates (int doIt) |
Public Slots inherited from QcepObject | |
virtual void | printLine (QString line) |
virtual void | printMessage (QString msg, QDateTime dt=QDateTime::currentDateTime()) const |
virtual void | criticalMessage (QString msg, QDateTime ts=QDateTime::currentDateTime()) const |
virtual void | statusMessage (QString msg, QDateTime ts=QDateTime::currentDateTime()) const |
virtual QString | settingsScript () |
QString | scriptValueLiteral (QVariant v) |
Public Member Functions | |
QxrdFileBrowserModelUpdater (QxrdFileBrowserModelWPtr browser, QcepObject *parent) | |
virtual | ~QxrdFileBrowserModelUpdater () |
bool | updateNeeded () |
Public Member Functions inherited from QcepObject | |
QcepObject (QString name, QcepObject *parent) | |
virtual | ~QcepObject () |
virtual void | writeSettings (QSettings *set, QString section) |
virtual void | readSettings (QSettings *set, QString section) |
QString | get_Name () const |
void | set_Name (QString name) |
Private Attributes | |
QxrdFileBrowserModelWPtr | m_BrowserModel |
QString | m_RootPath |
QFileSystemWatcher * | m_FileSystemWatcher |
QAtomicInt | m_UpdateNeeded |
QTimer | m_UpdateTimer |
int | m_UpdateInterval |
QVector< QFileInfo > | m_Directories |
QVector< QFileInfo > | m_Files |
QDateTime | m_PreviousUpdate |
QAtomicInt | m_GenerateUpdates |
Additional Inherited Members | |
Static Public Member Functions inherited from QcepObject | |
static int | allocatedObjects () |
static int | deletedObjects () |
static QSet< QcepObject * > | allocatedObjectsSet () |
static QString | addSlashes (QString str) |
Properties inherited from QcepObject | |
QString | name |
Definition at line 13 of file qxrdfilebrowsermodelupdater.h.
|
explicit |
Definition at line 10 of file qxrdfilebrowsermodelupdater.cpp.
References changeContents(), changeRoot(), DEBUG_BROWSER, g_Application, m_BrowserModel, m_FileSystemWatcher, m_UpdateInterval, m_UpdateTimer, QcepApplication::printMessage(), qcepDebug(), QxrdFileBrowserModel::rootChanged(), and updateTimeout().
|
virtual |
Definition at line 43 of file qxrdfilebrowsermodelupdater.cpp.
References DEBUG_APP, DEBUG_CONSTRUCTORS, QcepObject::printMessage(), and qcepDebug().
|
slot |
Definition at line 81 of file qxrdfilebrowsermodelupdater.cpp.
References DEBUG_BROWSER, g_Application, m_UpdateNeeded, QcepApplication::printMessage(), and qcepDebug().
Referenced by QxrdFileBrowserModelUpdater().
|
slot |
Definition at line 58 of file qxrdfilebrowsermodelupdater.cpp.
References DEBUG_BROWSER, g_Application, m_FileSystemWatcher, m_RootPath, QcepApplication::printMessage(), and qcepDebug().
Referenced by QxrdFileBrowserModelUpdater().
|
slot |
Definition at line 317 of file qxrdfilebrowsermodelupdater.cpp.
References m_GenerateUpdates, and m_PreviousUpdate.
|
slot |
Definition at line 76 of file qxrdfilebrowsermodelupdater.cpp.
References m_UpdateNeeded.
|
slot |
Definition at line 167 of file qxrdfilebrowsermodelupdater.cpp.
References DEBUG_BROWSER, fileDateGreaterThan(), fileDateLessThan(), fileNameGreaterThan(), fileNameLessThan(), fileSizeGreaterThan(), fileSizeLessThan(), g_Application, m_BrowserModel, m_Directories, m_Files, m_GenerateUpdates, m_PreviousUpdate, m_RootPath, m_UpdateNeeded, mod(), QcepApplication::printMessage(), and qcepDebug().
Referenced by updateTimeout().
bool QxrdFileBrowserModelUpdater::updateNeeded | ( | ) |
Definition at line 103 of file qxrdfilebrowsermodelupdater.cpp.
References m_UpdateNeeded.
|
slot |
Definition at line 90 of file qxrdfilebrowsermodelupdater.cpp.
References DEBUG_BROWSER, g_Application, m_RootPath, m_UpdateInterval, m_UpdateNeeded, m_UpdateTimer, QcepApplication::printMessage(), qcepDebug(), and updateContents().
Referenced by QxrdFileBrowserModelUpdater().
|
private |
Definition at line 32 of file qxrdfilebrowsermodelupdater.h.
Referenced by QxrdFileBrowserModelUpdater(), and updateContents().
|
private |
Definition at line 38 of file qxrdfilebrowsermodelupdater.h.
Referenced by updateContents().
|
private |
Definition at line 39 of file qxrdfilebrowsermodelupdater.h.
Referenced by updateContents().
|
private |
Definition at line 34 of file qxrdfilebrowsermodelupdater.h.
Referenced by changeRoot(), and QxrdFileBrowserModelUpdater().
|
private |
Definition at line 41 of file qxrdfilebrowsermodelupdater.h.
Referenced by generateFileUpdates(), and updateContents().
|
private |
Definition at line 40 of file qxrdfilebrowsermodelupdater.h.
Referenced by generateFileUpdates(), and updateContents().
|
private |
Definition at line 33 of file qxrdfilebrowsermodelupdater.h.
Referenced by changeRoot(), updateContents(), and updateTimeout().
|
private |
Definition at line 37 of file qxrdfilebrowsermodelupdater.h.
Referenced by QxrdFileBrowserModelUpdater(), and updateTimeout().
|
private |
Definition at line 35 of file qxrdfilebrowsermodelupdater.h.
Referenced by changeContents(), needUpdate(), updateContents(), updateNeeded(), and updateTimeout().
|
private |
Definition at line 36 of file qxrdfilebrowsermodelupdater.h.
Referenced by QxrdFileBrowserModelUpdater(), and updateTimeout().