Some checks failed
Docker. / Ubuntu (push) Has been cancelled
User-agent updater. / User-agent (push) Failing after 15s
Lock Threads / lock (push) Failing after 10s
Waiting for answer. / waiting-for-answer (push) Failing after 22s
Close stale issues and PRs / stale (push) Successful in 13s
Needs user action. / needs-user-action (push) Failing after 8s
Can't reproduce. / cant-reproduce (push) Failing after 8s
41 lines
856 B
C++
41 lines
856 B
C++
// krazy:excludeall=qclasses
|
|
/*
|
|
SPDX-FileCopyrightText: 2006 Dirk Stoecker <kde@dstoecker.de>
|
|
|
|
SPDX-License-Identifier: LGPL-2.0-only
|
|
*/
|
|
|
|
#ifndef KDIRWATCHTEST_GUI_H
|
|
#define KDIRWATCHTEST_GUI_H
|
|
|
|
#include <QDialog>
|
|
|
|
class QTextBrowser;
|
|
|
|
class KDirWatchTest_GUI : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
KDirWatchTest_GUI();
|
|
protected Q_SLOTS:
|
|
void slotNewClicked();
|
|
void slotDeleteClicked();
|
|
void slotDir1(const QString &path);
|
|
void slotDir2(const QString &path);
|
|
void slotDir3(const QString &path);
|
|
void slotDirty(const QString &);
|
|
void slotCreated(const QString &);
|
|
void slotDeleted(const QString &);
|
|
|
|
private:
|
|
class QLineEdit *d;
|
|
QString file, dir;
|
|
class KDirWatch *w1;
|
|
class KDirWatch *w2;
|
|
class KDirWatch *w3;
|
|
class QLineEdit *l1, *l2, *l3;
|
|
QTextBrowser *m_eventBrowser;
|
|
};
|
|
|
|
#endif
|