LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
LimaFileSystemWatcher.h
Go to the documentation of this file.
1// Copyright 2015 CEA LIST
2// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3//
4// SPDX-License-Identifier: MIT
5
6#ifndef LIMAFILESYSTEMWATCHER_H
7#define LIMAFILESYSTEMWATCHER_H
8
9#include "common/LimaCommon.h"
10#include <QObject>
11
12namespace Lima
13{
14
15class LimaFileSystemWatcherPrivate;
16
27{
28 Q_OBJECT
29public:
30 LimaFileSystemWatcher(QObject* parent = 0);
33 LimaFileSystemWatcher& operator= ( const LimaFileSystemWatcher& other );
34 bool operator== ( const LimaFileSystemWatcher& other );
35
36 void addPath ( const QString & path );
37 void removePath ( const QString & path );
38
39Q_SIGNALS:
41 void fileChanged ( const QString & path );
42
43private:
44 class LimaFileSystemWatcherPrivate* const m_d;
45 Q_DECLARE_PRIVATE ( LimaFileSystemWatcher )
46};
47
48} // Lima
49
50#endif // LIMAFILESYSTEMWATCHER_H
#define LIMA_COMMONTOOLS_EXPORT
Definition LimaCommon.h:134
LimaFileSystemWatcher extends QFileSystemWatcher to work on replaced files
void fileChanged(const QString &path)
This signal is emited whenever path change, either modified, suppressed or recreated.
NAUTITIA.