Akonadi Contacts

addresstypedialog.h
1 /*
2  This file is part of Contact Editor.
3 
4  SPDX-FileCopyrightText: 2009 Tobias Koenig <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8 
9 #pragma once
10 
11 #include <KContacts/Address>
12 #include <QDialog>
13 
14 class QButtonGroup;
15 
16 namespace ContactEditor
17 {
18 /**
19  * Dialog for creating a new address types.
20  *
21  * @note This dialog is only used by AddressTypeCombo.
22  */
23 class AddressTypeDialog : public QDialog
24 {
25  Q_OBJECT
26 public:
28  ~AddressTypeDialog() override;
29 
30  KContacts::Address::Type type() const;
31 
32 private:
33  QButtonGroup *mGroup = nullptr;
34 
36 };
37 }
Q_OBJECTQ_OBJECT
Dialog for creating a new address types.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Apr 1 2023 04:09:04 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.