kopete/kopete
kopeteaddrbookexport.cpp
Go to the documentation of this file.
38 KopeteAddressBookExport::KopeteAddressBookExport( QWidget *parent, Kopete::MetaContact *mc ) : QObject( parent ), Ui::AddressBookExportUI()
110 void KopeteAddressBookExport::fetchPhoneNumbers( K3ListBox * listBox, KABC::PhoneNumber::Type type, uint& counter )
146 populateIM( c, contactIcon, mMobilePhones, Kopete::Global::Properties::self()->privateMobilePhone() );
150 void KopeteAddressBookExport::populateIM( const Kopete::Contact *contact, const QPixmap &icon, QComboBox *combo, const Kopete::PropertyTmpl &property )
159 void KopeteAddressBookExport::populateIM( const Kopete::Contact *contact, const QPixmap &icon, K3ListBox *listBox, const Kopete::PropertyTmpl &property )
284 // need to iterate all items except those from KABC and check if selected and not same as the first
void exportData()
Export the data to KABC if changed, omitting any duplicates.
Definition: kopeteaddrbookexport.cpp:199
KABC::AddressBook * mAddressBook
Definition: kopeteaddrbookexport.h:96
bool newValue(QComboBox *combo)
Check the selected item is not the first (existing KABC) item, or the same as it. ...
Definition: kopeteaddrbookexport.cpp:273
KopeteAddressBookExport(QWidget *parent, Kopete::MetaContact *mc)
Definition: kopeteaddrbookexport.cpp:38
QString itemText(int index) const
void fetchPhoneNumbers(K3ListBox *listBox, KABC::PhoneNumber::Type type, uint &counter)
Populate a listbox with a given type of phone number.
Definition: kopeteaddrbookexport.cpp:110
void addItem(const QString &text, const QVariant &userData)
Definition: kopeteitembase.h:57
int count(const T &value) const
void append(const T &value)
void populateIM(const Kopete::Contact *contact, const QPixmap &icon, QComboBox *combo, const Kopete::PropertyTmpl &property)
Populate a combobox with a contact's IM data.
Definition: kopeteaddrbookexport.cpp:150
bool isEmpty() const
void initLabels()
Initialise the GUI labels with labels from KABC.
Definition: kopeteaddrbookexport.cpp:51
typedef Iterator
QStringList newValues(K3ListBox *listBox, uint counter)
Definition: kopeteaddrbookexport.cpp:281
iterator end()
Kopete::MetaContact * mMetaContact
Definition: kopeteaddrbookexport.h:95
~KopeteAddressBookExport()
Definition: kopeteaddrbookexport.cpp:46
currentIndex
void fetchIMData()
Populate the GUI with data from IM systems.
Definition: kopeteaddrbookexport.cpp:124
QObject * parent() const
iterator begin()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.