14namespace LinguisticProcessing {
22 AbstractResourceBasePrivate(
const AbstractResourceBasePrivate&) {}
24 LimaFileSystemWatcher m_resourceFileWatcher;
52 for(QString resPath : resourcesPaths)
54 file = resPath +
"/" + paramName;
55 if (QFileInfo::exists(file))
67 return m_d->m_resourceFileWatcher;
#define LIMA_PATH_SEPARATOR
LimaFileSystemWatcher extends QFileSystemWatcher to work on replaced files
void addPath(const QString &path)
void fileChanged(const QString &path)
This signal is emited whenever path change, either modified, suppressed or recreated.
LimaFileSystemWatcher & resourceFileWatcher()
Accessor to the file watcher used to register resource files to be watched for changes.
void resourceFileChanged(const QString &path)
Signal triggered whenever one of the registered files changes on disk.
QString getResourceFileName(const QString ¶mName)
virtual ~AbstractResourceBase()
AbstractResourceBasePrivate * m_d
AbstractResourceBase(QObject *parent=0)
static const MediaticData & single()
const singleton accessor