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 | |
9 | PhabricatorRC::PhabricatorRC(QObject *parent) |
10 | : QObject(parent) |
11 | { |
12 | } |
13 | |
14 | void 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 | |