3 #include <TDatabaseContextThread>
17 bool isSingleShot()
const;
18 void setSingleShot(
bool singleShot);
23 virtual void job() = 0;
24 void rollbackTransaction();
25 void publish(
const QString &topic,
const QString &text);
26 void publish(
const QString &topic,
const QByteArray &binary);
36 QTimer *_timer {
nullptr};
37 bool _rollback {
false};
38 bool _autoDelete {
false};
The TJobScheduler class provides functionality for job scheduler.
Definition: tjobscheduler.h:7
void setAutoDelete(bool autoDelete)
Definition: tjobscheduler.h:20
void startTimer(int msec)
bool autoDelete() const
Definition: tjobscheduler.h:19
#define T_CORE_EXPORT
Definition: tdeclexport.h:28
#define T_DISABLE_COPY(Class)
Definition: tdeclexport.h:37
#define T_DISABLE_MOVE(Class)
Definition: tdeclexport.h:41