File indexing completed on 2025-01-19 12:45:19
0001 /* This file is part of the KDE project 0002 Copyright (c) 2001 David Faure <faure@kde.org> 0003 Copyright (c) 2001 Laurent Montel <lmontel@mandrakesoft.com> 0004 0005 This library is free software; you can redistribute it and/or 0006 modify it under the terms of the GNU Library General Public 0007 License version 2 as published by the Free Software Foundation. 0008 0009 This library is distributed in the hope that it will be useful, 0010 but WITHOUT ANY WARRANTY; without even the implied warranty of 0011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0012 Library General Public License for more details. 0013 0014 You should have received a copy of the GNU Library General Public License 0015 along with this library; see the file COPYING.LIB. If not, write to 0016 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0017 Boston, MA 02110-1301, USA. 0018 */ 0019 0020 #ifndef KFILESHAREPRIVATE_H 0021 #define KFILESHAREPRIVATE_H 0022 0023 #include <QObject> 0024 class KDirWatch; 0025 0026 /** 0027 * @internal 0028 * Do not use, ever. 0029 */ 0030 class KFileSharePrivate : public QObject 0031 { 0032 Q_OBJECT 0033 0034 public: 0035 KFileSharePrivate(); 0036 ~KFileSharePrivate() override; 0037 KDirWatch *m_watchFile; 0038 static KFileSharePrivate *self(); 0039 protected Q_SLOTS: // this is why this class needs to be in the .h 0040 void slotFileChange(const QString &); 0041 }; 0042 0043 #endif 0044