Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/plugins/views/onlinejoboutbox/onlinejobmodel.h
- This file was moved from kmymoney/models/onlinejobmodel.h.
Context not available. | |||||
46 | ColValue | 46 | ColValue | ||
---|---|---|---|---|---|
47 | }; | 47 | }; | ||
48 | 48 | | |||
49 | /** Only @ref Models should be able to construct this class */ | ||||
50 | explicit onlineJobModel(QObject *parent = nullptr); | ||||
51 | friend class Models; | ||||
52 | | ||||
49 | int rowCount(const QModelIndex & parent = QModelIndex()) const; | 53 | int rowCount(const QModelIndex & parent = QModelIndex()) const; | ||
50 | int columnCount(const QModelIndex & parent = QModelIndex()) const; | 54 | int columnCount(const QModelIndex & parent = QModelIndex()) const; | ||
51 | QVariant data(const QModelIndex & index, int role = Qt::DisplayRole) const; | 55 | QVariant data(const QModelIndex & index, int role = Qt::DisplayRole) const; | ||
Context not available. | |||||
68 | void load(); | 72 | void load(); | ||
69 | void unload(); | 73 | void unload(); | ||
70 | 74 | | |||
71 | protected: | | |||
72 | /** Only @ref Models should be able to construct this class */ | | |||
73 | explicit onlineJobModel(QObject *parent = 0); | | |||
74 | friend class Models; | | |||
75 | | ||||
76 | private: | 75 | private: | ||
77 | QStringList m_jobIdList; | 76 | QStringList m_jobIdList; | ||
78 | 77 | | |||
Context not available. |