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#include "phabricatorrc.h"
8
9PhabricatorRC::PhabricatorRC(QObject *parent)
10 : QObject(parent)
11{
12}
13
14void PhabricatorRC::setPath(const QUrl &filePath)
15{
16 if (filePath == m_path || !filePath.isLocalFile())
17 return;
18 m_path = filePath;
19
20 //.arcconfig files are JSON files
21 // TODO figure out the if/what/how of .arcconfig file contents
22 Q_EMIT dataChanged();
23}
24
25#include "moc_phabricatorrc.cpp"
26

source code of purpose/src/plugins/phabricator/quick/phabricatorrc.cpp