2014-11-13 01:04:59 +02:00
|
|
|
/* Private Header for class of KDirWatchPrivate
|
|
|
|
*
|
|
|
|
* this separate header file is needed for MOC processing
|
|
|
|
* because KDirWatchPrivate has signals and slots
|
|
|
|
*
|
|
|
|
* This file is part of the KDE libraries
|
|
|
|
* Copyright (C) 1998 Sven Radej <sven@lisa.exp.univie.ac.at>
|
|
|
|
* Copyright (C) 2006 Dirk Mueller <mueller@kde.org>
|
|
|
|
* Copyright (C) 2007 Flavio Castelli <flavio.castelli@gmail.com>
|
|
|
|
* Copyright (C) 2008 Jarosław Staniek <staniek@kde.org>
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License version 2 as published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public License
|
|
|
|
* along with this library; see the file COPYING.LIB. If not, write to
|
|
|
|
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
|
|
* Boston, MA 02110-1301, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef KDIRWATCH_P_H
|
|
|
|
#define KDIRWATCH_P_H
|
|
|
|
|
|
|
|
#include "kdirwatch.h"
|
2015-09-04 13:06:11 +00:00
|
|
|
#include <QtCore/qfilesystemwatcher.h>
|
2014-11-13 01:04:59 +02:00
|
|
|
|
|
|
|
/* KDirWatchPrivate is a singleton and does the watching
|
|
|
|
* for every KDirWatch instance in the application.
|
|
|
|
*/
|
2019-05-29 12:18:09 +00:00
|
|
|
class KDirWatchPrivate
|
2014-11-13 01:04:59 +02:00
|
|
|
{
|
|
|
|
public:
|
2019-05-29 12:18:09 +00:00
|
|
|
KDirWatchPrivate();
|
|
|
|
~KDirWatchPrivate();
|
2014-11-13 01:04:59 +02:00
|
|
|
|
|
|
|
public:
|
2019-05-29 12:18:09 +00:00
|
|
|
QFileSystemWatcher *watcher;
|
2014-11-13 01:04:59 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // KDIRWATCH_P_H
|
|
|
|
|