summaryrefslogtreecommitdiffhomepage
path: root/qfunctionconfigurator/functionconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'qfunctionconfigurator/functionconfig.h')
-rw-r--r--qfunctionconfigurator/functionconfig.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/qfunctionconfigurator/functionconfig.h b/qfunctionconfigurator/functionconfig.h
index 21e9e43e..f1310a8c 100644
--- a/qfunctionconfigurator/functionconfig.h
+++ b/qfunctionconfigurator/functionconfig.h
@@ -6,6 +6,8 @@
* notice appear in all copies.
*/
+#pragma once
+
#include <QList>
#include <QPointF>
#include <QString>
@@ -13,9 +15,6 @@
#include <QMutex>
#include "ftnoir_tracker_base/ftnoir_tracker_base.h"
-#ifndef FUNCTION_CONFIG_H
-#define FUNCTION_CONFIG_H
-
#define MEMOIZE_PRECISION 500
class FTNOIR_TRACKER_BASE_EXPORT FunctionConfig {
@@ -69,10 +68,6 @@ public:
void saveSettings(QSettings& settings);
void loadSettings(QSettings& settings);
- void setTrackingActive(bool blnActive) {
- _tracking_active = blnActive;
- }
+ void setTrackingActive(bool blnActive);
QString getTitle() { return _title; }
};
-
-#endif