Warning, file /utilities/okteta/kasten/gui/liboktetawidgets/addresscombobox.cpp was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 This file is part of the Okteta Kasten module, made within the KDE community. 0003 0004 SPDX-FileCopyrightText: 2009 Friedrich W. H. Kossebau <kossebau@kde.org> 0005 0006 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0007 */ 0008 0009 #include "addresscombobox.hpp" 0010 #include "addresscombobox_p.hpp" 0011 0012 namespace Okteta { 0013 0014 AddressComboBox::AddressComboBox(QWidget* parent) 0015 : QWidget(parent) 0016 , d_ptr(new AddressComboBoxPrivate(this)) 0017 { 0018 Q_D(AddressComboBox); 0019 0020 d->init(); 0021 } 0022 0023 AddressComboBox::~AddressComboBox() = default; 0024 0025 Address AddressComboBox::address() const 0026 { 0027 Q_D(const AddressComboBox); 0028 0029 return d->address(); 0030 } 0031 0032 int AddressComboBox::addressType() const 0033 { 0034 Q_D(const AddressComboBox); 0035 0036 return d->addressType(); 0037 } 0038 0039 int AddressComboBox::format() const 0040 { 0041 Q_D(const AddressComboBox); 0042 0043 return d->format(); 0044 } 0045 0046 void AddressComboBox::setFormat(AddressComboBox::Coding codingId) 0047 { 0048 Q_D(AddressComboBox); 0049 0050 d->setFormat(codingId); 0051 } 0052 0053 void AddressComboBox::rememberCurrentAddress() 0054 { 0055 Q_D(AddressComboBox); 0056 0057 d->rememberCurrentAddress(); 0058 } 0059 0060 } 0061 0062 #include "moc_addresscombobox.cpp"