File indexing completed on 2025-01-05 04:47:08

0001 /*
0002     SPDX-FileCopyrightText: 2008 Volker Krause <vkrause@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.0-or-later
0005 */
0006 
0007 #include "collectionpropertiespage.h"
0008 
0009 using namespace Akonadi;
0010 
0011 /// @cond PRIVATE
0012 
0013 /**
0014  * @internal
0015  */
0016 class Akonadi::CollectionPropertiesPagePrivate
0017 {
0018 public:
0019     QString title;
0020 };
0021 
0022 /// @endcond
0023 
0024 CollectionPropertiesPage::CollectionPropertiesPage(QWidget *parent)
0025     : QWidget(parent)
0026     , d(new CollectionPropertiesPagePrivate)
0027 {
0028 }
0029 
0030 CollectionPropertiesPage::~CollectionPropertiesPage() = default;
0031 
0032 bool CollectionPropertiesPage::canHandle(const Collection &collection) const
0033 {
0034     Q_UNUSED(collection)
0035     return true;
0036 }
0037 
0038 QString Akonadi::CollectionPropertiesPage::pageTitle() const
0039 {
0040     return d->title;
0041 }
0042 
0043 void CollectionPropertiesPage::setPageTitle(const QString &title)
0044 {
0045     d->title = title;
0046 }
0047 
0048 CollectionPropertiesPageFactory::~CollectionPropertiesPageFactory()
0049 {
0050 }
0051 
0052 #include "moc_collectionpropertiespage.cpp"