ModemManagerQt
7#ifndef MODEMMANAGERQT_FAKE_MODEM_MODEM_MESSAGING_H
8#define MODEMMANAGERQT_FAKE_MODEM_MODEM_MESSAGING_H
10#include "generictypes.h"
13#include <QDBusAbstractAdaptor>
14#include <QDBusObjectPath>
19 Q_CLASSINFO(
"D-Bus Interface",
"org.kde.fakemodem.Modem.Messaging")
22 ~ModemMessaging() override;
24 Q_PROPERTY(uint DefaultStorage READ defaultStorage)
25 Q_PROPERTY(QList<QDBusObjectPath> Messages READ messages)
26 Q_PROPERTY(ModemManager::UIntList SupportedStorages READ supportedStorages)
28 uint defaultStorage() const;
29 QList<QDBusObjectPath> messages() const;
30 ModemManager::UIntList supportedStorages() const;
33 void addMessage(Sms *sms);
34 void setModemPath(const QString &path);
35 void setEnableNotifications(
bool enable);
36 void setDefaultStorage(uint defaultStorage);
37 void setSupportedStorages(const ModemManager::UIntList &supportedStorages);
39 QVariantMap toMap() const;
42 Q_SCRIPTABLE QDBusObjectPath Create(const QVariantMap &properties);
43 Q_SCRIPTABLE
void Delete(const QDBusObjectPath &path);
44 Q_SCRIPTABLE QList<QDBusObjectPath> List();
47 Q_SCRIPTABLE
void Added(const QDBusObjectPath &path,
bool received);
48 Q_SCRIPTABLE
void Deleted(const QDBusObjectPath &path);
52 bool m_enabledNotifications;
54 uint m_defaultStorage;
55 QMap<QDBusObjectPath, Sms *> m_messages;
56 ModemManager::UIntList m_supportedStorages;
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:23 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.