digiKam
akonadiiface.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of digiKam project
4  * https://www.digikam.org
5  *
6  * Date : 2009-02-15
7  * Description : Plasma Address Book contacts interface
8  *
9  * Copyright (C) 2010-2022 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option)
15  * any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * ============================================================ */
23 
24 #ifndef DIGIKAM_AKONADI_IFACE_H
25 #define DIGIKAM_AKONADI_IFACE_H
26 
27 // Qt includes
28 
29 #include <QObject>
30 #include <QMenu>
31 #include <QAction>
32 
33 // Local includes
34 
35 #include "digikam_export.h"
36 #include "digikam_config.h"
37 
38 class KJob;
39 
40 namespace Digikam
41 {
42 
43 class DIGIKAM_EXPORT AkonadiIface : public QObject
44 {
45  Q_OBJECT
46 
47 public:
48 
49  explicit AkonadiIface(QMenu* const parent);
50  virtual ~AkonadiIface();
51 
52 Q_SIGNALS:
53 
54  void signalContactTriggered(const QString&);
55 
56 private Q_SLOTS:
57 
58  void slotABCSearchResult(KJob*);
59  void slotABCMenuTriggered(QAction*);
60 
61 private:
62 
63  QMenu* m_parent;
64  QMenu* m_ABCmenu;
65 };
66 
67 } // namespace Digikam
68 
69 #endif // DIGIKAM_AKONADI_IFACE_H
Definition: akonadiiface.h:44
void signalContactTriggered(const QString &)
Definition: datefolderview.cpp:43