kaddressbook
csv_xxport.cpp
Go to the documentation of this file.
42 bool CsvXXPort::exportContacts(const ContactList &contacts , VCardExportSelectionWidget::ExportFields ) const
51 PimCommon::RenameFileDialog::RenameFileDialogResult result = PimCommon::RenameFileDialog::RENAMEFILE_IGNORE;
52 PimCommon::RenameFileDialog *dialog = new PimCommon::RenameFileDialog(url, false, parentWidget());
137 content = ContactFields::value( fields.at( j ), contact ).replace( QLatin1Char('\n'), QLatin1String("\\n") );
bool exportContacts(const ContactList &contacts, VCardExportSelectionWidget::ExportFields) const
Exports the list of contacts.
Definition: csv_xxport.cpp:42
Definition: contactfields.h:34
QString toString(Qt::DateFormat format) const
QWidget * parentWidget() const
Returns the parent widget that can be used as parent for GUI components.
Definition: xxport.cpp:41
QTextCodec * codecForLocale()
Definition: contactfields.h:44
Definition: contactlist.h:27
void setAddressList(const KABC::Addressee::List &value)
Definition: contactlist.cpp:69
void remove(int i)
static QString label(Field field)
Returns the i18n label for the field.
Definition: contactfields.cpp:25
QDateTime fromString(const QString &string, Qt::DateFormat format)
bool isValid() const
QString & replace(int position, int n, QChar after)
const T & at(int i) const
QDate date() const
const QChar at(int position) const
int count(const T &value) const
Definition: csvimportdialog.h:40
static QString value(Field field, const KABC::Addressee &contact)
Returns the value for the field of the contact.
Definition: contactfields.cpp:480
Definition: contactfields.h:45
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.