summaryrefslogtreecommitdiff
path: root/src/selectioneditor.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-03-18 18:18:57 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2018-03-18 18:18:57 +0100
commit57f4d38841c40cad3c206abdd16eebaed753aa1c (patch)
treec7e5a40b457845b2fb296563add9599d2e81384e /src/selectioneditor.h
parent9364b9bb84f607d8603f60b86f965b77e03d8c70 (diff)
Update all fiels to adhere to style-guide
Diffstat (limited to 'src/selectioneditor.h')
-rw-r--r--src/selectioneditor.h41
1 files changed, 20 insertions, 21 deletions
diff --git a/src/selectioneditor.h b/src/selectioneditor.h
index 55d8e33..feb9200 100644
--- a/src/selectioneditor.h
+++ b/src/selectioneditor.h
@@ -24,40 +24,39 @@
* along with DrumGizmo; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
-#ifndef __DRUMGIZMO_SELECTIONEDITOR_H__
-#define __DRUMGIZMO_SELECTIONEDITOR_H__
+#pragma once
#include <QWidget>
#include <QLineEdit>
#include "selection.h"
-class SelectionEditor : public QWidget {
-Q_OBJECT
+class SelectionEditor
+ : public QWidget
+{
+ Q_OBJECT
public:
- SelectionEditor(Selections &selections);
+ SelectionEditor(Selections& selections);
public slots:
- void added(sel_id_t id);
- void updated(sel_id_t id);
- void removed(sel_id_t id);
- void activeChanged(sel_id_t id);
+ void added(sel_id_t id);
+ void updated(sel_id_t id);
+ void removed(sel_id_t id);
+ void activeChanged(sel_id_t id);
private slots:
- void update();
- void updateSelection();
+ void update();
+ void updateSelection();
private:
- Selections &selections;
+ Selections& selections;
- sel_id_t cur;
+ sel_id_t cur;
- QLineEdit *from;
- QLineEdit *to;
- QLineEdit *fadein;
- QLineEdit *fadeout;
- QLineEdit *energy;
- QLineEdit *name;
+ QLineEdit* from;
+ QLineEdit* to;
+ QLineEdit* fadein;
+ QLineEdit* fadeout;
+ QLineEdit* energy;
+ QLineEdit* name;
};
-
-#endif/*__DRUMGIZMO_SELECTIONEDITOR_H__*/