File indexing completed on 2025-02-02 14:20:50
0001 /* 0002 SPDX-FileCopyrightText: 2018 Aleksander Morgado <aleksander@aleksander.es> 0003 0004 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0005 */ 0006 0007 #ifndef MODEMMANAGER_CALL_P_H 0008 #define MODEMMANAGER_CALL_P_H 0009 0010 #include "call.h" 0011 #include "dbus/callinterface.h" 0012 0013 namespace ModemManager 0014 { 0015 class CallPrivate : public QObject 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit CallPrivate(const QString &path, Call *q); 0020 OrgFreedesktopModemManager1CallInterface callIface; 0021 0022 QString uni; 0023 MMCallState state; 0024 MMCallStateReason stateReason; 0025 MMCallDirection direction; 0026 QString number; 0027 0028 Q_DECLARE_PUBLIC(Call) 0029 Call *q_ptr; 0030 private Q_SLOTS: 0031 void onPropertiesChanged(const QString &interface, const QVariantMap &properties, const QStringList &invalidatedProps); 0032 void onStateChanged(int oldState, int newState, uint reason); 0033 void onDtmfReceived(const QString &dtmf); 0034 }; 0035 0036 } // namespace ModemManager 0037 0038 #endif