Purpose

phabricatorrc.h
1/*
2 SPDX-FileCopyrightText: 2017 René J.V. Bertin <rjvbertin@gmail.com>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef PHABRICATORRC_H
8#define PHABRICATORRC_H
9
10#include <QObject>
11#include <QUrl>
12
13class PhabricatorRC : public QObject
14{
16 Q_PROPERTY(QUrl path READ path WRITE setPath NOTIFY dataChanged)
17public:
18 PhabricatorRC(QObject *parent = nullptr);
19
20 void setPath(const QUrl &path);
21
22 QUrl path() const
23 {
24 return m_path;
25 }
26
28 void dataChanged();
29
30private:
31 QUrl m_path;
32};
33
34#endif
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:09:06 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.