QTfrontend/model/hats.h
changeset 6616 f77bb02b669f
parent 6061 15b4b485a1c5
child 6700 e04da46ee43c
--- a/QTfrontend/model/hats.h	Mon Jan 30 23:20:28 2012 +0100
+++ b/QTfrontend/model/hats.h	Mon Jan 30 17:32:18 2012 -0500
@@ -27,18 +27,18 @@
 
 class HatsModel : public QAbstractListModel
 {
-    Q_OBJECT
+        Q_OBJECT
 
-public:
-    HatsModel(QObject *parent = 0);
+    public:
+        HatsModel(QObject *parent = 0);
 
-    QVariant headerData(int section, Qt::Orientation orientation, int role) const;
-    int rowCount(const QModelIndex & parent) const;
-    //int columnCount(const QModelIndex & parent) const;
+        QVariant headerData(int section, Qt::Orientation orientation, int role) const;
+        int rowCount(const QModelIndex & parent) const;
+        //int columnCount(const QModelIndex & parent) const;
 
-    QVariant data(const QModelIndex &index, int role) const;
-protected:
-    QVector<QPair<QString, QIcon> > hats;
+        QVariant data(const QModelIndex &index, int role) const;
+    protected:
+        QVector<QPair<QString, QIcon> > hats;
 };
 
 #endif // _HATS_INCLUDED