NotificationManager::Job
NotificationManager::Job Class Reference
#include <job.h>
Inheritance diagram for NotificationManager::Job:

Properties | |
QString | applicationIconName |
QString | applicationName |
QString | descriptionLabel1 |
QString | descriptionLabel2 |
QUrl | descriptionUrl |
QString | descriptionValue1 |
QString | descriptionValue2 |
QString | desktopEntry |
QUrl | destUrl |
QUrl | effectiveDestUrl |
qulonglong | elapsedTime |
int | error |
bool | hasDetails |
bool | killable |
int | percentage |
qulonglong | processedBytes |
qulonglong | processedDirectories |
qulonglong | processedFiles |
qulonglong | processedItems |
qulonglong | speed |
Notifications::JobState | state |
QML_ELEMENTQString | summary |
bool | suspendable |
QString | text |
qulonglong | totalBytes |
qulonglong | totalDirectories |
qulonglong | totalFiles |
qulonglong | totalItems |
![]() | |
objectName | |
Signals | |
void | descriptionLabel1Changed () |
void | descriptionLabel2Changed () |
void | descriptionUrlChanged () |
void | descriptionValue1Changed () |
void | descriptionValue2Changed () |
void | destUrlChanged () |
void | dismissedChanged () |
void | effectiveDestUrlChanged () |
void | elapsedTimeChanged () |
void | errorChanged (int error) |
void | errorTextChanged (const QString &errorText) |
void | expiredChanged () |
void | hasDetailsChanged () |
void | percentageChanged (int percentage) |
void | processedAmountChanged () |
void | processedBytesChanged () |
void | processedDirectoriesChanged () |
void | processedFilesChanged () |
void | processedItemsChanged () |
void | speedChanged () |
void | stateChanged (Notifications::JobState jobState) |
void | summaryChanged () |
void | textChanged () |
void | totalAmountChanged () |
void | totalBytesChanged () |
void | totalDirectoriesChanged () |
void | totalFilesChanged () |
void | totalItemsChanged () |
void | updatedChanged () |
Public Member Functions | |
Job (uint id, QObject *parent=nullptr) | |
QString | applicationIconName () const |
QString | applicationName () const |
QDateTime | created () const |
QString | descriptionLabel1 () const |
QString | descriptionLabel2 () const |
QUrl | descriptionUrl () const |
QString | descriptionValue1 () const |
QString | descriptionValue2 () const |
QString | desktopEntry () const |
QUrl | destUrl () const |
bool | dismissed () const |
QUrl | effectiveDestUrl () const |
qint64 | elapsedTime () const |
int | error () const |
QString | errorText () const |
bool | expired () const |
bool | hasDetails () const |
uint | id () const |
Q_INVOKABLE void | kill () |
bool | killable () const |
int | percentage () const |
qulonglong | processedBytes () const |
qulonglong | processedDirectories () const |
qulonglong | processedFiles () const |
qulonglong | processedItems () const |
void | resetUpdated () |
Q_INVOKABLE void | resume () |
void | setApplicationIconName (const QString &applicationIconName) |
void | setApplicationName (const QString &applicationName) |
void | setDesktopEntry (const QString &desktopEntry) |
void | setDismissed (bool dismissed) |
void | setError (int error) |
void | setErrorText (const QString &errorText) |
void | setExpired (bool expired) |
void | setKillable (bool killable) |
void | setState (Notifications::JobState jobState) |
void | setSuspendable (bool suspendable) |
void | setTransient (bool transient) |
qulonglong | speed () const |
Notifications::JobState | state () const |
QString | summary () const |
Q_INVOKABLE void | suspend () |
bool | suspendable () const |
QString | text () const |
qulonglong | totalBytes () const |
qulonglong | totalDirectories () const |
qulonglong | totalFiles () const |
qulonglong | totalItems () const |
bool | transient () const |
QDateTime | updated () const |
![]() | |
QObject (QObject *parent) | |
QBindable< QString > | bindableObjectName () |
bool | blockSignals (bool block) |
const QObjectList & | children () 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< QByteArray > | dynamicPropertyNames () const const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | 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 QMetaObject * | metaObject () const const |
void | moveToThread (QThread *targetThread) |
QString | objectName () const const |
void | objectNameChanged (const QString &objectName) |
QObject * | parent () 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 | |
T | qobject_cast (const QObject *object) |
T | 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) |
QThread * | thread () const const |
Additional Inherited Members | |
![]() | |
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) |
![]() | |
typedef | QObjectList |
![]() | |
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 |
QObject * | sender () const const |
int | senderSignalIndex () const const |
virtual void | timerEvent (QTimerEvent *event) |
Detailed Description
Represents a single job.
A Job represents a special notification that has some progress information and in some cases can be suspended or killed.
Property Documentation
◆ applicationIconName
|
read |
◆ applicationName
|
read |
◆ descriptionLabel1
◆ descriptionLabel2
◆ descriptionUrl
|
read |
◆ descriptionValue1
◆ descriptionValue2
◆ desktopEntry
|
read |
◆ destUrl
|
read |
◆ effectiveDestUrl
|
read |
◆ elapsedTime
◆ error
|
read |
◆ hasDetails
|
read |
◆ killable
|
read |
◆ percentage
|
read |
◆ processedBytes
◆ processedDirectories
|
read |
◆ processedFiles
◆ processedItems
◆ speed
|
read |
◆ state
|
read |
◆ summary
|
read |
◆ suspendable
|
read |
Whether the job can be suspended.
◆ text
|
read |
◆ totalBytes
◆ totalDirectories
◆ totalFiles
◆ totalItems
Constructor & Destructor Documentation
◆ Job()
Member Function Documentation
◆ applicationIconName()
◆ applicationName()
◆ created()
◆ descriptionLabel1()
◆ descriptionLabel2()
◆ descriptionUrl()
◆ descriptionValue1()
◆ descriptionValue2()
◆ desktopEntry()
◆ destUrl()
◆ dismissed()
◆ effectiveDestUrl()
◆ elapsedTime()
◆ error()
◆ errorText()
◆ expired()
◆ hasDetails()
◆ id()
◆ kill()
◆ killable()
◆ percentage()
◆ processedBytes()
◆ processedDirectories()
◆ processedFiles()
◆ processedItems()
◆ resetUpdated()
◆ resume()
◆ setApplicationIconName()
◆ setApplicationName()
◆ setDesktopEntry()
◆ setDismissed()
◆ setError()
◆ setErrorText()
◆ setExpired()
◆ setKillable()
◆ setState()
◆ setSuspendable()
◆ setTransient()
◆ speed()
◆ state()
◆ summary()
◆ suspend()
◆ suspendable()
◆ text()
◆ totalBytes()
◆ totalDirectories()
◆ totalFiles()
◆ totalItems()
◆ transient()
◆ updated()
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 11 2025 11:52:44 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Apr 11 2025 11:52:44 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.