Changeset View
Changeset View
Standalone View
Standalone View
libs/image/kis_idle_watcher.h
Context not available. | |||||
32 | { | 32 | { | ||
---|---|---|---|---|---|
33 | Q_OBJECT | 33 | Q_OBJECT | ||
34 | public: | 34 | public: | ||
35 | KisIdleWatcher(int delay); | 35 | KisIdleWatcher(int delay, QObject* parent = 0); | ||
36 | ~KisIdleWatcher(); | 36 | ~KisIdleWatcher(); | ||
37 | 37 | | |||
38 | bool isIdle() const; | 38 | bool isIdle() const; | ||
Context not available. | |||||
40 | void setTrackedImages(const QVector<KisImageSP> &images); | 40 | void setTrackedImages(const QVector<KisImageSP> &images); | ||
41 | void setTrackedImage(KisImageSP image); | 41 | void setTrackedImage(KisImageSP image); | ||
42 | 42 | | |||
43 | //Force to image modified state and start countdown to event | ||||
44 | void startCountdown(void) { slotImageModified(); } | ||||
43 | 45 | | |||
44 | Q_SIGNALS: | 46 | Q_SIGNALS: | ||
45 | void startedIdleMode(); | 47 | void startedIdleMode(); | ||
Context not available. |