KAddressBookImportExport::KAddressBookImportExportPluginInterface Class Reference

#include <kaddressbookimportexportplugininterface.h>

Inherits AbstractGenericPluginInterface.

Public Types

enum  ImportExportAction { Import = 0, Export = 1 }

Public Member Functions

 KAddressBookImportExportPluginInterface (QObject *parent=nullptr)
virtual bool canImportData () const
virtual bool canImportFileType (const QUrl &url)
Akonadi::Collection defaultCollection () const
QList< QAction * > exportActions () const
QList< QAction * > importActions () const
virtual void importData (const QByteArray &data)
ImportExportAction importExportAction () const
virtual void importFile (const QUrl &url)
QItemSelectionModelitemSelectionModel () const
void setDefaultCollection (const Akonadi::Collection &defaultCollection)
void setExportActions (const QList< QAction * > &exportAction)
void setImportActions (const QList< QAction * > &importAction)
void setImportExportAction (ImportExportAction importExportAction)
void setItemSelectionModel (QItemSelectionModel *itemSelectionModel)
void setSelectionModel (QItemSelectionModel *model)

Protected Attributes

Akonadi::Collection mDefaultCollection
QList< QAction * > mExportActions
QList< QAction * > mImportActions
ImportExportAction mImportExportAction
QItemSelectionModelmItemSelectionModel = nullptr

Detailed Description

Import/export plugin interface.

Definition at line 31 of file kaddressbookimportexportplugininterface.h.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Aug 2 2020 23:17:41 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.