25 #include <Akonadi/Item>
28 namespace GrantleeTheme {
29 class GrantleeThemeManager;
34 class ContactGroupViewer;
36 class ContactsFilterProxyModel;
37 class EntityMimeTypeFilterModel;
40 class StandardContactActionManager;
41 class EntityTreeModel;
44 namespace KAddressBookGrantlee {
45 class GrantleeContactFormatter;
46 class GrantleeContactGroupFormatter;
50 class KActionCollection;
73 void updateQuickSearchText();
82 void slotSearchDuplicateContacts();
84 void handleCommandLine();
89 void itemSelected(
const Akonadi::Item &item );
91 void selectFirstItem();
93 void setViewMode(
QAction *action );
94 void setQRCodeShow(
bool on );
99 void slotGrantleeThemeSelected();
100 void slotGrantleeThemesUpdated();
101 void slotCheckNewCalendar(
const QModelIndex &parent,
int begin,
int end);
107 void slotDebugBaloo();
108 void slotSendVcards();
109 void slotSendVcardsError(
const QString &error);
112 void initGrantleeThemeName();
114 void setupActions( KActionCollection * );
116 void setViewMode(
int mode );
117 void saveSplitterStates()
const;
118 void restoreSplitterStates();
127 Akonadi::Collection currentAddressBook()
const;
129 Akonadi::EntityMimeTypeFilterModel *mCollectionTree;
130 Akonadi::EntityMimeTypeFilterModel *mItemTree;
131 Akonadi::EntityMimeTypeFilterModel *mAllContactsModel;
132 Akonadi::ContactsFilterProxyModel *mContactsFilterModel;
136 Akonadi::EntityTreeView *mCollectionView;
137 Akonadi::EntityTreeView *mItemView;
146 Akonadi::ContactViewer *mContactDetails;
147 Akonadi::ContactGroupViewer *mContactGroupDetails;
149 Akonadi::StandardContactActionManager *mActionManager;
156 KXMLGUIClient *mXmlGuiClient;
157 KAddressBookGrantlee::GrantleeContactFormatter *mFormatter;
158 KAddressBookGrantlee::GrantleeContactGroupFormatter *mGroupFormatter;
159 GrantleeTheme::GrantleeThemeManager *mGrantleeThemeManager;
160 Akonadi::EntityTreeModel *entityTreeModel()
const;
161 KAction *mQuickSearchAction;
#define KADDRESSBOOK_EXPORT
A proxy model to filter contacts by categories (tags).
The class that manages import and export of contacts.
A manager for the contacts model columns.