Purpose

phabricatorrc.cpp
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"
Q_EMITQ_EMIT
bool isLocalFile() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:14:05 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.