summaryrefslogtreecommitdiffstats
path: root/examples/tutorials/modelview/1_readonly/mymodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tutorials/modelview/1_readonly/mymodel.h')
-rwxr-xr-xexamples/tutorials/modelview/1_readonly/mymodel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/tutorials/modelview/1_readonly/mymodel.h b/examples/tutorials/modelview/1_readonly/mymodel.h
index c0ddf4ac6..6065f6e 100755
--- a/examples/tutorials/modelview/1_readonly/mymodel.h
+++ b/examples/tutorials/modelview/1_readonly/mymodel.h
@@ -38,10 +38,11 @@
**
****************************************************************************/
-//! [Quoting ModelView Tutorial]
#ifndef MYMODEL_H
#define MYMODEL_H
+//! [Quoting ModelView Tutorial]
+// mymodel.h
#include <QAbstractTableModel>
class MyModel : public QAbstractTableModel
@@ -53,6 +54,6 @@ public:
int columnCount(const QModelIndex &parent = QModelIndex()) const;
QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
};
+//! [Quoting ModelView Tutorial]
#endif // MYMODEL_H
-//! [Quoting ModelView Tutorial] \ No newline at end of file