27 #ifndef OFONOVOICECALLMANAGER_H
28 #define OFONOVOICECALLMANAGER_H
30 #include <QtCore/QObject>
31 #include <QStringList>
33 #include <QDBusObjectPath>
35 #include "ofonomodeminterface.h"
36 #include "libofono-qt_global.h"
40 QVariantMap properties;
42 typedef QList<OfonoVoiceCallManagerStruct> OfonoVoiceCallManagerList;
45 Q_DECLARE_METATYPE(OfonoVoiceCallManagerList)
56 Q_PROPERTY(QStringList emergencyNumbers READ emergencyNumbers NOTIFY emergencyNumbersChanged)
63 QStringList emergencyNumbers()
const;
65 Q_INVOKABLE QStringList getCalls()
const;
68 QDBusObjectPath dial(
const QString &number,
const QString &callerid_hide,
bool &success);
70 void sendTones(
const QString &tonestring);
73 void releaseAndAnswer();
75 void privateChat(
const QString &path);
76 QList<QDBusObjectPath> createMultiparty();
77 void hangupMultiparty();
80 void emergencyNumbersChanged(
const QStringList &numbers);
81 void callAdded(
const QString &call,
const QVariantMap &values);
82 void callRemoved(
const QString &call);
83 void hangupAllComplete(
const bool status);
84 void sendTonesComplete(
const bool status);
85 void transferComplete(
const bool status);
86 void swapCallsComplete(
const bool status);
87 void releaseAndAnswerComplete(
const bool status);
88 void holdAndAnswerComplete(
const bool status);
89 void privateChatComplete(
const bool status,
const QStringList& calls);
90 void createMultipartyComplete(
const bool status,
const QStringList& calls);
91 void hangupMultipartyComplete(
const bool status);
93 void barringActive(
const QString &type);
94 void forwarded(
const QString &type);
97 void validityChanged(
bool);
98 void pathChanged(
const QString& path);
99 void propertyChanged(
const QString &property,
const QVariant &value);
100 void callAddedChanged(
const QDBusObjectPath &call,
const QVariantMap &values);
101 void callRemovedChanged(
const QDBusObjectPath &call);
102 void hangupAllResp();
103 void hangupAllErr(
const QDBusError &error);
104 void sendTonesResp();
105 void sendTonesErr(
const QDBusError &error);
107 void transferErr(
const QDBusError &error);
108 void swapCallsResp();
109 void swapCallsErr(
const QDBusError &error);
110 void releaseAndAnswerResp();
111 void releaseAndAnswerErr(
const QDBusError &error);
112 void holdAndAnswerResp();
113 void holdAndAnswerErr(
const QDBusError &error);
114 void privateChatResp(
const QList<QDBusObjectPath> &paths);
115 void privateChatErr(
const QDBusError &error);
116 void createMultipartyResp(
const QList<QDBusObjectPath> &paths);
117 void createMultipartyErr(
const QDBusError &error);
118 void hangupMultipartyResp();
119 void hangupMultipartyErr(
const QDBusError &error);
122 QStringList getCallList();
123 void connectDbusSignals(
const QString& path);
125 QStringList m_calllist;