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
12
namespace
Lima
13
{
14
15
class
LimaFileSystemWatcherPrivate;
16
26
class
LIMA_COMMONTOOLS_EXPORT
LimaFileSystemWatcher
:
public
QObject
27
{
28
Q_OBJECT
29
public
:
30
LimaFileSystemWatcher
(QObject* parent = 0);
31
LimaFileSystemWatcher
(
const
LimaFileSystemWatcher
& other );
32
~LimaFileSystemWatcher
();
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
39
Q_SIGNALS:
41
void
fileChanged
(
const
QString & path );
42
43
private
:
44
class
LimaFileSystemWatcherPrivate
*
const
m_d;
45
Q_DECLARE_PRIVATE (
LimaFileSystemWatcher
)
46
};
47
48
}
// Lima
49
50
#endif
// LIMAFILESYSTEMWATCHER_H
LimaCommon.h
LIMA_COMMONTOOLS_EXPORT
#define LIMA_COMMONTOOLS_EXPORT
Definition
LimaCommon.h:134
Lima::LimaFileSystemWatcherPrivate
Definition
LimaFileSystemWatcher_p.h:19
Lima::LimaFileSystemWatcher
LimaFileSystemWatcher extends QFileSystemWatcher to work on replaced files
Definition
LimaFileSystemWatcher.h:27
Lima::LimaFileSystemWatcher::fileChanged
void fileChanged(const QString &path)
This signal is emited whenever path change, either modified, suppressed or recreated.
Lima
NAUTITIA.
Definition
AmosePluginsManager.h:15
lima_common
src
common
tools
LimaFileSystemWatcher.h
Generated by
1.9.8