File indexing completed on 2025-02-16 04:59:36
0001 /* 0002 * SPDX-FileCopyrightText: 2014 Kevin Ottens <ervin@kde.org> 0003 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0004 */ 0005 0006 0007 #include "project.h" 0008 0009 using namespace Domain; 0010 0011 Project::Project(QObject *parent) 0012 : QObject(parent) 0013 { 0014 } 0015 0016 Project::~Project() 0017 { 0018 } 0019 0020 QString Project::name() const 0021 { 0022 return m_name; 0023 } 0024 0025 void Project::setName(const QString &name) 0026 { 0027 if (m_name == name) 0028 return; 0029 0030 m_name = name; 0031 emit nameChanged(name); 0032 } 0033 0034 #include "moc_project.cpp"