Akonadi Contacts

attributeregistrar.cpp
1/*
2 This file is part of Akonadi Contact.
3
4 SPDX-FileCopyrightText: 2009 Constantin Berzan <exit3219@gmail.com>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8
9#include "attributes/contactmetadataattribute_p.h"
10
11#include <Akonadi/AttributeFactory>
12
13namespace
14{
15// Anonymous namespace; function is invisible outside this file.
16bool dummy()
17{
18 using namespace Akonadi;
19 AttributeFactory::registerAttribute<ContactMetaDataAttribute>();
20 return true;
21}
22
23// Called when this library is loaded.
24const bool registered = dummy();
25} // namespace
A widget for editing the display name of a contact.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.