-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbutton.cpp
46 lines (36 loc) · 857 Bytes
/
button.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 "button.h"
Button::Button(QObject *parent)
: QAbstractItemModel(parent)
{
}
QVariant Button::headerData(int section, Qt::Orientation orientation, int role) const
{
// FIXME: Implement me!
}
QModelIndex Button::index(int row, int column, const QModelIndex &parent) const
{
// FIXME: Implement me!
}
QModelIndex Button::parent(const QModelIndex &index) const
{
// FIXME: Implement me!
}
int Button::rowCount(const QModelIndex &parent) const
{
if (!parent.isValid())
return 0;
// FIXME: Implement me!
}
int Button::columnCount(const QModelIndex &parent) const
{
if (!parent.isValid())
return 0;
// FIXME: Implement me!
}
QVariant Button::data(const QModelIndex &index, int role) const
{
if (!index.isValid())
return QVariant();
// FIXME: Implement me!
return QVariant();
}