summaryrefslogtreecommitdiff
path: root/src/itemeditor.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/itemeditor.h
parent9364b9bb84f607d8603f60b86f965b77e03d8c70 (diff)
Update all fiels to adhere to style-guide
Diffstat (limited to 'src/itemeditor.h')
-rw-r--r--src/itemeditor.h19
1 files changed, 9 insertions, 10 deletions
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 <QLineEdit>
#include <QString>
#include <QListWidgetItem>
-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__*/