File indexing completed on 2024-06-23 05:49:21

0001 /*
0002     This file is part of the Kasten Framework, made within the KDE community.
0003 
0004     SPDX-FileCopyrightText: 2007-2009 Friedrich W. H. Kossebau <kossebau@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007 */
0008 
0009 #include "abstractmodelsynchronizer.hpp"
0010 #include "abstractmodelsynchronizer_p.hpp"
0011 
0012 namespace Kasten {
0013 
0014 AbstractModelSynchronizer::AbstractModelSynchronizer(AbstractModelSynchronizerPrivate* d)
0015     : d_ptr(d)
0016 {
0017 }
0018 
0019 AbstractModelSynchronizer::AbstractModelSynchronizer()
0020     : d_ptr(new AbstractModelSynchronizerPrivate(this))
0021 {
0022 }
0023 
0024 AbstractModelSynchronizer::~AbstractModelSynchronizer() = default;
0025 
0026 QUrl AbstractModelSynchronizer::url() const
0027 {
0028     Q_D(const AbstractModelSynchronizer);
0029 
0030     return d->url();
0031 }
0032 
0033 void AbstractModelSynchronizer::setUrl(const QUrl& url)
0034 {
0035     Q_D(AbstractModelSynchronizer);
0036 
0037     d->setUrl(url);
0038 }
0039 
0040 }
0041 
0042 #include "moc_abstractmodelsynchronizer.cpp"