Akonadi

collectionpropertiespage.cpp
1/*
2 SPDX-FileCopyrightText: 2008 Volker Krause <vkrause@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#include "collectionpropertiespage.h"
8
9using namespace Akonadi;
10
11/// @cond PRIVATE
12
13/**
14 * @internal
15 */
16class Akonadi::CollectionPropertiesPagePrivate
17{
18public:
19 QString title;
20};
21
22/// @endcond
23
25 : QWidget(parent)
26 , d(new CollectionPropertiesPagePrivate)
27{
28}
29
31
33{
34 Q_UNUSED(collection)
35 return true;
36}
37
39{
40 return d->title;
41}
42
44{
45 d->title = title;
46}
47
51
52#include "moc_collectionpropertiespage.cpp"
virtual ~CollectionPropertiesPageFactory()
Destroys the collection properties page factory.
void setPageTitle(const QString &title)
Sets the page title.
CollectionPropertiesPage(QWidget *parent=nullptr)
Creates a new collection properties page.
~CollectionPropertiesPage() override
Destroys the collection properties page.
QString pageTitle() const
Returns the page title.
virtual bool canHandle(const Collection &collection) const
Checks if this page can actually handle the given collection.
Represents a collection of PIM items.
Definition collection.h:62
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:30 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.