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/itemeditor.h | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'src/itemeditor.h') diff --git a/src/itemeditor.h b/src/itemeditor.h index b6b9e33..cc58f58 100644 --- a/src/itemeditor.h +++ b/src/itemeditor.h @@ -24,26 +24,25 @@ * along with DrumGizmo; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#ifndef __DRUMGIZMO_ITEMEDITOR_H__ -#define __DRUMGIZMO_ITEMEDITOR_H__ +#pragma once #include #include #include -class ItemEditor : public QLineEdit { -Q_OBJECT +class ItemEditor + : public QLineEdit +{ + Q_OBJECT public: - ItemEditor(QListWidgetItem *i, QString v); + ItemEditor(QListWidgetItem* i, QString v); protected: - void focusOutEvent(QFocusEvent *); + void focusOutEvent(QFocusEvent* ); signals: - void updateItem(QListWidgetItem *i, QString v); + void updateItem(QListWidgetItem* i, QString v); private: - QListWidgetItem *i; + QListWidgetItem* i; }; - -#endif/*__DRUMGIZMO_ITEMEDITOR_H__*/ -- cgit v1.2.3