Akonadi Contacts
12#include <KContacts/Address>
25class AddressLocationWidget :
public QWidget
35 ~AddressLocationWidget()
override;
37 void setAddress(
const KContacts::Address &address);
38 [[nodiscard]] KContacts::Address address()
const;
40 void slotModifyAddress(
const KContacts::Address &address,
int currentIndex);
44 void setReadOnly(
bool readOnly);
46 [[nodiscard]]
bool wasChanged()
const;
48 void addNewAddress(
const KContacts::Address &address);
49 void updateAddress(
const KContacts::Address &address,
int index);
50 void updateAddressCanceled();
51 void removeAddress(
int index);
55 void slotAddAddress();
56 void slotUpdateAddress();
57 void slotRemoveAddress();
58 void slotCancelModifyAddress();
59 void fillCountryCombo();
62 KContacts::Address mAddress;
63 QCheckBox *mPreferredCheckBox =
nullptr;
64 KLineEdit *mPOBoxEdit =
nullptr;
65 KLineEdit *mLocalityEdit =
nullptr;
66 KLineEdit *mRegionEdit =
nullptr;
67 KLineEdit *mPostalCodeEdit =
nullptr;
68 KLineEdit *mStreetEdit =
nullptr;
69 QComboBox *mCountryCombo =
nullptr;
70 QPushButton *mAddAddress =
nullptr;
71 QPushButton *mRemoveAddress =
nullptr;
72 QPushButton *mModifyAddress =
nullptr;
73 QPushButton *mCancelAddress =
nullptr;
74 QStackedWidget *mButtonStack =
nullptr;
75 SelectAddressTypeComboBox *mTypeCombo =
nullptr;
76 int mCurrentAddress = -1;
78 bool mWasChanged =
false;
A widget for selecting the type of an address.
A widget for editing the display name of a contact.
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:33 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.