Torc
0.1
|
Send push notifications using the Pushbullet API. More...
#include <torcpushbulletnotifier.h>
Public Slots | |
void | RequestReady (TorcNetworkRequest *Request) |
void | ResetTimerTimeout (void) |
Public Slots inherited from TorcNotifier | |
Public Slots inherited from TorcDevice | |
virtual void | SetValue (double Value) |
virtual void | SetValid (bool Valid) |
bool | GetValid (void) |
double | GetValue (void) |
double | GetDefaultValue (void) |
QString | GetModelId (void) |
QString | GetUniqueId (void) |
QString | GetUserName (void) |
QString | GetUserDescription (void) |
Signals | |
void | StartResetTimer (int MSeconds) |
Signals inherited from TorcDevice | |
void | ValidChanged (bool Valid) |
void | ValueChanged (double Value) |
Public Member Functions | |
TorcPushbulletNotifier (const QVariantMap &Details) | |
~TorcPushbulletNotifier () | |
void | Notify (const QVariantMap &Notification) override |
QStringList | GetDescription (void) override |
Public Member Functions inherited from TorcReferenceCounter | |
TorcReferenceCounter (void) | |
virtual | ~TorcReferenceCounter (void)=default |
void | UpRef (void) |
virtual bool | DownRef (void) |
bool | IsShared (void) |
Additional Inherited Members | |
Static Public Member Functions inherited from TorcReferenceCounter | |
static void | EventLoopEnding (bool Ending) |
Protected Member Functions inherited from TorcNotifier | |
TorcNotifier (const QVariantMap &Details) | |
virtual | ~TorcNotifier ()=default |
Protected Member Functions inherited from TorcDevice | |
virtual | ~TorcDevice () |
Protected Attributes inherited from TorcDevice | |
double | value |
double | defaultValue |
QString | modelId |
QString | uniqueId |
QString | userName |
QString | userDescription |
QMutex | lock |
bool | wasInvalid |
Protected Attributes inherited from TorcReferenceCounter | |
QAtomicInt | m_refCount |
Static Protected Attributes inherited from TorcDevice | |
static QHash< QString, TorcDevice * > * | gDeviceList = new QHash<QString,TorcDevice*>() |
static QMutex * | gDeviceListLock = new QMutex(QMutex::Recursive) |
Static Protected Attributes inherited from TorcReferenceCounter | |
static bool | m_eventLoopEnding = false |
Properties inherited from TorcDevice | |
bool | valid |
Send push notifications using the Pushbullet API.
Details | Data required for the API (i.e. Acccess-Token) |
Definition at line 14 of file torcpushbulletnotifier.h.
|
explicit |
Definition at line 36 of file torcpushbulletnotifier.cpp.
TorcPushbulletNotifier::~TorcPushbulletNotifier | ( | ) |
Definition at line 61 of file torcpushbulletnotifier.cpp.
|
overridevirtual |
Reimplemented from TorcDevice.
Definition at line 75 of file torcpushbulletnotifier.cpp.
|
overridevirtual |
Implements TorcNotifier.
Definition at line 80 of file torcpushbulletnotifier.cpp.
|
slot |
Definition at line 118 of file torcpushbulletnotifier.cpp.
|
slot |
Definition at line 181 of file torcpushbulletnotifier.cpp.
|
signal |