Changeset View
Changeset View
Standalone View
Standalone View
plugins/sms/conversationsdbusinterface.h
- This file was moved from plugins/telephony/conversationsdbusinterface.h.
Show All 30 Lines | |||||
31 | #include <QPointer> | 31 | #include <QPointer> | ||
32 | 32 | | |||
33 | #include "interfaces/conversationmessage.h" | 33 | #include "interfaces/conversationmessage.h" | ||
34 | #include "interfaces/dbusinterfaces.h" | 34 | #include "interfaces/dbusinterfaces.h" | ||
35 | 35 | | |||
36 | class KdeConnectPlugin; | 36 | class KdeConnectPlugin; | ||
37 | class Device; | 37 | class Device; | ||
38 | 38 | | |||
39 | Q_DECLARE_LOGGING_CATEGORY(KDECONNECT_CONVERSATIONS) | ||||
40 | | ||||
39 | class ConversationsDbusInterface | 41 | class ConversationsDbusInterface | ||
40 | : public QDBusAbstractAdaptor | 42 | : public QDBusAbstractAdaptor | ||
41 | { | 43 | { | ||
42 | Q_OBJECT | 44 | Q_OBJECT | ||
43 | Q_CLASSINFO("D-Bus Interface", "org.kde.kdeconnect.device.conversations") | 45 | Q_CLASSINFO("D-Bus Interface", "org.kde.kdeconnect.device.conversations") | ||
44 | 46 | | |||
45 | public: | 47 | public: | ||
46 | explicit ConversationsDbusInterface(KdeConnectPlugin* plugin); | 48 | explicit ConversationsDbusInterface(KdeConnectPlugin* plugin); | ||
▲ Show 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | 81 | private /*attributes*/: | |||
90 | 92 | | |||
91 | /** | 93 | /** | ||
92 | * Mapping of threadID to the set of uIDs known in the corresponding conversation | 94 | * Mapping of threadID to the set of uIDs known in the corresponding conversation | ||
93 | */ | 95 | */ | ||
94 | QHash<QString, QSet<qint32>> m_known_messages; | 96 | QHash<QString, QSet<qint32>> m_known_messages; | ||
95 | 97 | | |||
96 | int m_lastId; | 98 | int m_lastId; | ||
97 | 99 | | |||
98 | TelephonyDbusInterface m_telephonyInterface; | 100 | SmsDbusInterface m_smsInterface; | ||
sredman: We should probably change the name of this variable too (for instance, to m_smsInterface) | |||||
99 | }; | 101 | }; | ||
100 | 102 | | |||
101 | #endif // CONVERSATIONSDBUSINTERFACE_H | 103 | #endif // CONVERSATIONSDBUSINTERFACE_H |
We should probably change the name of this variable too (for instance, to m_smsInterface)