Changeset View
Changeset View
Standalone View
Standalone View
libdiscover/UpdateModel/UpdateItem.cpp
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 41 | { | |||
---|---|---|---|---|---|
42 | return m_app; | 42 | return m_app; | ||
43 | } | 43 | } | ||
44 | 44 | | |||
45 | QString UpdateItem::name() const | 45 | QString UpdateItem::name() const | ||
46 | { | 46 | { | ||
47 | return m_app->name(); | 47 | return m_app->name(); | ||
48 | } | 48 | } | ||
49 | 49 | | |||
50 | // Deprecated; use availableVersion() instead | ||||
50 | QString UpdateItem::version() const | 51 | QString UpdateItem::version() const | ||
51 | { | 52 | { | ||
52 | return m_app->availableVersion(); | 53 | return m_app->availableVersion(); | ||
53 | } | 54 | } | ||
54 | 55 | | |||
56 | QString UpdateItem::availableVersion() const | ||||
57 | { | ||||
58 | return m_app->availableVersion(); | ||||
59 | } | ||||
60 | | ||||
61 | QString UpdateItem::installedVersion() const | ||||
62 | { | ||||
63 | return m_app->installedVersion(); | ||||
64 | } | ||||
65 | | ||||
55 | QVariant UpdateItem::icon() const | 66 | QVariant UpdateItem::icon() const | ||
56 | { | 67 | { | ||
57 | return m_app->icon(); | 68 | return m_app->icon(); | ||
58 | } | 69 | } | ||
59 | 70 | | |||
60 | qint64 UpdateItem::size() const | 71 | qint64 UpdateItem::size() const | ||
61 | { | 72 | { | ||
62 | return m_app->size(); | 73 | return m_app->size(); | ||
Show All 31 Lines |