forked from So1fong/Gantt-Chart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwindow.cpp
46 lines (36 loc) · 903 Bytes
/
window.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#include "window.h"
window::window(QObject *parent)
: QAbstractItemModel(parent)
{
}
QVariant window::headerData(int section, Qt::Orientation orientation, int role) const
{
// FIXME: Implement me!
}
QModelIndex window::index(int row, int column, const QModelIndex &parent) const
{
// FIXME: Implement me!
}
QModelIndex window::parent(const QModelIndex &index) const
{
// FIXME: Implement me!
}
int window::rowCount(const QModelIndex &parent) const
{
if (!parent.isValid())
return 0;
// FIXME: Implement me!
}
int window::columnCount(const QModelIndex &parent) const
{
if (!parent.isValid())
return 0;
// FIXME: Implement me!
}
QVariant window::data(const QModelIndex &index, int role) const
{
if (!index.isValid())
return QVariant();
// FIXME: Implement me!
return QVariant();
}