File indexing completed on 2025-02-02 03:54:12

0001 /*
0002     SPDX-FileCopyrightText: 2017 René J.V. Bertin <rjvbertin@gmail.com>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "phabricatorrc.h"
0008 
0009 PhabricatorRC::PhabricatorRC(QObject *parent)
0010     : QObject(parent)
0011 {
0012 }
0013 
0014 void PhabricatorRC::setPath(const QUrl &filePath)
0015 {
0016     if (filePath == m_path || !filePath.isLocalFile())
0017         return;
0018     m_path = filePath;
0019 
0020     //.arcconfig files are JSON files
0021     // TODO figure out the if/what/how of .arcconfig file contents
0022     Q_EMIT dataChanged();
0023 }
0024 
0025 #include "moc_phabricatorrc.cpp"