aboutsummaryrefslogtreecommitdiff
path: root/src/sensor.h
diff options
context:
space:
mode:
authorMageJohn <MageJohn@users.noreply.github.com>2019-02-21 00:41:14 +0000
committerGitHub <noreply@github.com>2019-02-21 00:41:14 +0000
commit8c2557eab38ba0d2222ec03fc6022b189e070f8d (patch)
tree917c5708af4c152677fa29a014bae8bfd62c6adc /src/sensor.h
parent7e9c4e1b9bfa3966cca992256b885f75c8660753 (diff)
parent2321c26ccd7d1243f8abfac62fea4790402f301a (diff)
downloadlead-8c2557eab38ba0d2222ec03fc6022b189e070f8d.tar
lead-8c2557eab38ba0d2222ec03fc6022b189e070f8d.tar.gz
lead-8c2557eab38ba0d2222ec03fc6022b189e070f8d.zip
Merge pull request #2 from Almamu/master
Merge more improvements from Almamu
Diffstat (limited to 'src/sensor.h')
-rw-r--r--src/sensor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sensor.h b/src/sensor.h
index bc4857b..4b86690 100644
--- a/src/sensor.h
+++ b/src/sensor.h
@@ -41,7 +41,7 @@ class Sensor : public QWidget
Q_OBJECT
public:
- explicit Sensor(int x, int y, int w, int h, QString enterAction, QString exitAction, int enterInterval, int exitInterval);
+ explicit Sensor(int x, int y, int w, int h, QString enterAction, QString exitAction, int enterInterval, int exitInterval, bool debugMode);
~Sensor();
protected:
@@ -56,6 +56,7 @@ private:
int enterInterval;
int exitInterval;
bool canTriggerExit;
+ bool debugMode;
public slots:
void activateEnter();