summaryrefslogtreecommitdiff
path: root/src/itemeditor.h
diff options
context:
space:
mode:
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__*/