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 }
19 m_path = filePath;
20
21 //.arcconfig files are JSON files
22 // TODO figure out the if/what/how of .arcconfig file contents
23 Q_EMIT dataChanged();
24}
25
26#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 Fri Nov 22 2024 12:08:47 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.