kaddressbook
ldif_xxport.cpp
Go to the documentation of this file.
55 KABC::LDIFConverter::addresseeAndContactGroupToLDIF( list.addressList(), list.contactGroupList(), data );
70 const QString fileName = KFileDialog::getOpenFileName( QDir::homePath(), QLatin1String("text/x-ldif"), 0 );
96 bool LDIFXXPort::exportContacts( const ContactList &list, VCardExportSelectionWidget::ExportFields ) const
99 KFileDialog::getSaveUrl( KUrl( QDir::homePath() + QLatin1String("/addressbook.ldif") ), QLatin1String("text/x-ldif") );
121 PimCommon::RenameFileDialog::RenameFileDialogResult result = PimCommon::RenameFileDialog::RENAMEFILE_IGNORE;
122 PimCommon::RenameFileDialog *dialog = new PimCommon::RenameFileDialog(url, false, parentWidget());
void setCodec(QTextCodec *codec)
QWidget * parentWidget() const
Returns the parent widget that can be used as parent for GUI components.
Definition: xxport.cpp:41
QString homePath()
bool exportContacts(const ContactList &contacts, VCardExportSelectionWidget::ExportFields) const
Exports the list of contacts.
Definition: ldif_xxport.cpp:96
Definition: contactlist.h:27
void setAddressList(const KABC::Addressee::List &value)
Definition: contactlist.cpp:69
bool isEmpty() const
void setContactGroupList(const KABC::ContactGroup::List &value)
Definition: contactlist.cpp:59
QDateTime lastModified() const
virtual bool open(QFlags< QIODevice::OpenModeFlag > mode)
virtual void close()
KABC::ContactGroup::List contactGroupList() const
Definition: contactlist.cpp:54
QString readAll()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:34 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:32:34 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.