Changeset View
Changeset View
Standalone View
Standalone View
klipper/historyitem.h
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Line(s) | 37 | public: | |||
---|---|---|---|---|---|
95 | 95 | | |||
96 | /** | 96 | /** | ||
97 | * next item's uuid | 97 | * next item's uuid | ||
98 | * TODO: drop, only used in unit test now | 98 | * TODO: drop, only used in unit test now | ||
99 | */ | 99 | */ | ||
100 | QByteArray next_uuid() const; | 100 | QByteArray next_uuid() const; | ||
101 | 101 | | |||
102 | void setModel(HistoryModel *model); | 102 | void setModel(HistoryModel *model); | ||
103 | | ||||
104 | protected: | ||||
105 | HistoryModel *m_model; | ||||
106 | | ||||
103 | private: | 107 | private: | ||
104 | QByteArray m_uuid; | 108 | QByteArray m_uuid; | ||
105 | HistoryModel *m_model; | | |||
106 | }; | 109 | }; | ||
107 | 110 | | |||
108 | inline | 111 | inline | ||
109 | const QPixmap& HistoryItem::image() const { | 112 | const QPixmap& HistoryItem::image() const { | ||
110 | static QPixmap nullPixmap; | 113 | static QPixmap nullPixmap; | ||
111 | return nullPixmap; | 114 | return nullPixmap; | ||
112 | } | 115 | } | ||
113 | 116 | | |||
Show All 14 Lines |