Notify

Search for usage in LXR

#include <notify.h>

Inheritance diagram for Notify:

Properties

QQmlListProperty< NotifyAction > actions
 
QString componentName
 
NotifyAction * defaultAction
 
QString eventId
 
QString iconName
 
QUrl imageSource
 
QString message
 
QString title
 
QList< QUrlurls
 
- Properties inherited from QObject
 objectName
 

Signals

void componentNameChanged (QString)
 
void defaulActionChanged ()
 
void iconNameChanged (QString)
 
void imageSourceChanged (QUrl)
 
void messageChanged (QString)
 
void titleChanged (QString)
 
void urlsChanged (QList< QUrl >)
 

Public Slots

void send ()
 

Public Member Functions

 Notify (QObject *parent=nullptr)
 
NotifyAction * action (int) const
 
QQmlListProperty< NotifyAction > actions ()
 
int actionsCount () const
 
void appendAction (NotifyAction *)
 
void clearActions ()
 
const QStringcomponentName () const
 
NotifyAction * defaultAction () const
 
const QStringeventId () const
 
const QStringiconName () const
 
const QUrlimageSource () const
 
const QStringmessage () const
 
void removeLastAction ()
 
void replaceAction (int, NotifyAction *)
 
void setComponentName (const QString &newComponentName)
 
void setDefaultAction (NotifyAction *newDefaultAction)
 
void setEventId (const QString &newEventId)
 
void setIconName (const QString &newIconName)
 
void setImageSource (const QUrl &newImageSource)
 
void setMessage (const QString &newMessage)
 
void setTitle (const QString &newTitle)
 
void setUrls (const QList< QUrl > &newUrls)
 
const QStringtitle () const
 
const QList< QUrl > & urls () const
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
QBindable< QStringbindableObjectName ()
 
bool blockSignals (bool block)
 
const QObjectListchildren () const const
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method) const const
 
bool disconnect (const QObject *receiver, const char *method) const const
 
void dumpObjectInfo () const const
 
void dumpObjectTree () const const
 
QList< QByteArraydynamicPropertyNames () const const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
findChild (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const
 
QList< T > findChildren (const QString &name, Qt::FindChildOptions options) const const
 
QList< T > findChildren (Qt::FindChildOptions options) const const
 
bool inherits (const char *className) const const
 
void installEventFilter (QObject *filterObj)
 
bool isQuickItemType () const const
 
bool isWidgetType () const const
 
bool isWindowType () const const
 
void killTimer (int id)
 
virtual const QMetaObjectmetaObject () const const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const const
 
void objectNameChanged (const QString &objectName)
 
QObjectparent () const const
 
QVariant property (const char *name) const const
 
 Q_CLASSINFO (Name, Value)
 
 Q_EMIT Q_EMIT
 
 Q_ENUM (...)
 
 Q_ENUM_NS (...)
 
 Q_ENUMS (...)
 
 Q_FLAG (...)
 
 Q_FLAG_NS (...)
 
 Q_FLAGS (...)
 
 Q_GADGET Q_GADGET
 
 Q_GADGET_EXPORT (EXPORT_MACRO)
 
 Q_INTERFACES (...)
 
 Q_INVOKABLE Q_INVOKABLE
 
 Q_MOC_INCLUDE Q_MOC_INCLUDE
 
 Q_NAMESPACE Q_NAMESPACE
 
 Q_NAMESPACE_EXPORT (EXPORT_MACRO)
 
 Q_OBJECT Q_OBJECT
 
 Q_PROPERTY (...)
 
 Q_REVISION Q_REVISION
 
 Q_SET_OBJECT_NAME (Object)
 
 Q_SIGNAL Q_SIGNAL
 
 Q_SIGNALS Q_SIGNALS
 
 Q_SLOT Q_SLOT
 
 Q_SLOTS Q_SLOTS
 
qobject_cast (const QObject *object)
 
qobject_cast (QObject *object)
 
 QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT
 
void removeEventFilter (QObject *obj)
 
void setObjectName (const QString &name)
 
void setObjectName (QAnyStringView name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool setProperty (const char *name, QVariant &&value)
 
bool signalsBlocked () const const
 
int startTimer (int interval, Qt::TimerType timerType)
 
int startTimer (std::chrono::milliseconds interval, Qt::TimerType timerType)
 
QThreadthread () const const
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
- Public Attributes inherited from QObject
typedef QObjectList
 
- Protected Member Functions inherited from QObject
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
bool isSignalConnected (const QMetaMethod &signal) const const
 
int receivers (const char *signal) const const
 
QObjectsender () const const
 
int senderSignalIndex () const const
 
virtual void timerEvent (QTimerEvent *event)
 

Detailed Description

Todo
write docs

Definition at line 51 of file notify.h.

Property Documentation

◆ actions

QQmlListProperty< NotifyAction > Notify::actions
read

Definition at line 63 of file notify.h.

◆ componentName

QString Notify::componentName
readwrite

Definition at line 56 of file notify.h.

◆ defaultAction

NotifyAction * Notify::defaultAction
readwrite

Definition at line 64 of file notify.h.

◆ eventId

QString Notify::eventId
readwrite

Definition at line 57 of file notify.h.

◆ iconName

QString Notify::iconName
readwrite

Definition at line 60 of file notify.h.

◆ imageSource

QUrl Notify::imageSource
readwrite

Definition at line 62 of file notify.h.

◆ message

QString Notify::message
readwrite

Definition at line 59 of file notify.h.

◆ title

QString Notify::title
readwrite

Definition at line 58 of file notify.h.

◆ urls

QList<QUrl> Notify::urls
readwrite

Definition at line 65 of file notify.h.

Constructor & Destructor Documentation

◆ Notify()

Notify::Notify ( QObject * parent = nullptr)

Definition at line 44 of file notify.cpp.

Member Function Documentation

◆ action()

NotifyAction * Notify::action ( int index) const

Definition at line 71 of file notify.cpp.

◆ actionsCount()

int Notify::actionsCount ( ) const

Definition at line 66 of file notify.cpp.

◆ appendAction()

void Notify::appendAction ( NotifyAction * action)

Definition at line 61 of file notify.cpp.

◆ clearActions()

void Notify::clearActions ( )

Definition at line 76 of file notify.cpp.

◆ componentName()

const QString & Notify::componentName ( ) const

Definition at line 167 of file notify.cpp.

◆ defaultAction()

NotifyAction * Notify::defaultAction ( ) const

Definition at line 256 of file notify.cpp.

◆ eventId()

const QString & Notify::eventId ( ) const

Definition at line 194 of file notify.cpp.

◆ iconName()

const QString & Notify::iconName ( ) const

Definition at line 230 of file notify.cpp.

◆ imageSource()

const QUrl & Notify::imageSource ( ) const

Definition at line 243 of file notify.cpp.

◆ message()

const QString & Notify::message ( ) const

Definition at line 217 of file notify.cpp.

◆ removeLastAction()

void Notify::removeLastAction ( )

Definition at line 86 of file notify.cpp.

◆ replaceAction()

void Notify::replaceAction ( int index,
NotifyAction * action )

Definition at line 81 of file notify.cpp.

◆ send

void Notify::send ( )
slot

Definition at line 121 of file notify.cpp.

◆ setComponentName()

void Notify::setComponentName ( const QString & newComponentName)

Definition at line 172 of file notify.cpp.

◆ setDefaultAction()

void Notify::setDefaultAction ( NotifyAction * newDefaultAction)

Definition at line 261 of file notify.cpp.

◆ setEventId()

void Notify::setEventId ( const QString & newEventId)

Definition at line 199 of file notify.cpp.

◆ setIconName()

void Notify::setIconName ( const QString & newIconName)

Definition at line 235 of file notify.cpp.

◆ setImageSource()

void Notify::setImageSource ( const QUrl & newImageSource)

Definition at line 248 of file notify.cpp.

◆ setMessage()

void Notify::setMessage ( const QString & newMessage)

Definition at line 222 of file notify.cpp.

◆ setTitle()

void Notify::setTitle ( const QString & newTitle)

Definition at line 209 of file notify.cpp.

◆ setUrls()

void Notify::setUrls ( const QList< QUrl > & newUrls)

Definition at line 274 of file notify.cpp.

◆ title()

const QString & Notify::title ( ) const

Definition at line 204 of file notify.cpp.

◆ urls()

const QList< QUrl > & Notify::urls ( ) const

Definition at line 269 of file notify.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:16:19 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.