#include <kis_idle_watcher.h>
Definition at line 18 of file kis_idle_watcher.h.
◆ KisIdleWatcher()
| KisIdleWatcher::KisIdleWatcher |
( |
int | delay = 200, |
|
|
QObject * | parent = 0 ) |
◆ ~KisIdleWatcher()
| KisIdleWatcher::~KisIdleWatcher |
( |
| ) |
|
|
override |
◆ forceImageModified()
| void KisIdleWatcher::forceImageModified |
( |
| ) |
|
|
inline |
◆ imageModified
| void KisIdleWatcher::imageModified |
( |
| ) |
|
|
signal |
◆ isCounting()
| bool KisIdleWatcher::isCounting |
( |
| ) |
const |
◆ isIdle()
| bool KisIdleWatcher::isIdle |
( |
| ) |
const |
Definition at line 55 of file kis_idle_watcher.cpp.
56{
57 bool idle = true;
58
60 if (!image) continue;
61
63 idle = false;
64 break;
65 }
66 }
67
68 return idle;
69}
bool isIdle(bool allowLocked=false)
References KisImage::isIdle(), and m_d.
◆ restartCountdown()
| void KisIdleWatcher::restartCountdown |
( |
| ) |
|
◆ setTrackedImage()
◆ setTrackedImages()
Definition at line 76 of file kis_idle_watcher.cpp.
77{
78 m_d->connectionsStore.clear();
79 m_d->trackedImages.clear();
80
82 if (image) {
83 m_d->trackedImages << image;
84 m_d->connectionsStore.addConnection(image, SIGNAL(sigImageModified()),
86
87 m_d->connectionsStore.addConnection(image, SIGNAL(sigIsolatedModeChanged()),
89 }
90 }
91}
References m_d, and slotImageModified().
◆ slotIdleCheckTick
| void KisIdleWatcher::slotIdleCheckTick |
( |
| ) |
|
|
privateslot |
◆ slotImageModified
| void KisIdleWatcher::slotImageModified |
( |
| ) |
|
|
privateslot |
◆ startedIdleMode
| void KisIdleWatcher::startedIdleMode |
( |
| ) |
|
|
signal |
◆ startIdleCheck
| void KisIdleWatcher::startIdleCheck |
( |
| ) |
|
|
privateslot |
◆ stopIdleCheck
| void KisIdleWatcher::stopIdleCheck |
( |
| ) |
|
|
privateslot |
◆ triggerCountdownNoDelay()
| void KisIdleWatcher::triggerCountdownNoDelay |
( |
| ) |
|
◆ m_d
| const QScopedPointer<Private> KisIdleWatcher::m_d |
|
private |
The documentation for this class was generated from the following files: