File indexing completed on 2024-04-14 14:19:22

0001 // krazy:excludeall=qclasses
0002 /*
0003     SPDX-FileCopyrightText: 2006 Dirk Stoecker <kde@dstoecker.de>
0004 
0005     SPDX-License-Identifier: LGPL-2.0-only
0006 */
0007 
0008 #ifndef KDIRWATCHTEST_GUI_H
0009 #define KDIRWATCHTEST_GUI_H
0010 
0011 #include <QDialog>
0012 
0013 class QTextBrowser;
0014 
0015 class KDirWatchTest_GUI : public QWidget
0016 {
0017     Q_OBJECT
0018 public:
0019     KDirWatchTest_GUI();
0020 protected Q_SLOTS:
0021     void slotNewClicked();
0022     void slotDeleteClicked();
0023     void slotDir1(const QString &path);
0024     void slotDir2(const QString &path);
0025     void slotDir3(const QString &path);
0026     void slotDirty(const QString &);
0027     void slotCreated(const QString &);
0028     void slotDeleted(const QString &);
0029 
0030 private:
0031     class QLineEdit *d;
0032     QString file, dir;
0033     class KDirWatch *w1;
0034     class KDirWatch *w2;
0035     class KDirWatch *w3;
0036     class QLineEdit *l1, *l2, *l3;
0037     QTextBrowser *m_eventBrowser;
0038 };
0039 
0040 #endif