Akonadi

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

KDE's Doxygen guidelines are available online.