From 57f4d38841c40cad3c206abdd16eebaed753aa1c Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sun, 18 Mar 2018 18:18:57 +0100 Subject: Update all fiels to adhere to style-guide --- src/selectioneditor.h | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) (limited to 'src/selectioneditor.h') 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 #include #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__*/ -- cgit v1.2.3