defuze.me
Client
|
This class is used to store informations about one of the database file. More...
#include <location.hpp>
Public Member Functions | |
Location (const QString path) | |
QString | filePath () const |
QDir | dirPath () const |
bool | exists () const |
QDateTime | lastModified () const |
Return file last modification date. | |
int | age () const |
Return number of seconds since last modification. | |
bool & | open () |
Return if this location is the current database. | |
void | reload () |
void | mkPath () const |
Create all folders contained in the path. |
This class is used to store informations about one of the database file.
We will have one instance per replication path.
Definition at line 25 of file location.hpp.