Changeset View
Changeset View
Standalone View
Standalone View
libdiscover/backends/DummyBackend/DummyResource.cpp
Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Line(s) | 70 | { | |||
---|---|---|---|---|---|
71 | return m_size; | 71 | return m_size; | ||
72 | } | 72 | } | ||
73 | 73 | | |||
74 | QUrl DummyResource::homepage() | 74 | QUrl DummyResource::homepage() | ||
75 | { | 75 | { | ||
76 | return QUrl(QStringLiteral("http://kde.org")); | 76 | return QUrl(QStringLiteral("http://kde.org")); | ||
77 | } | 77 | } | ||
78 | 78 | | |||
79 | QUrl DummyResource::helpURL() | ||||
80 | { | ||||
81 | return QUrl(QStringLiteral("http://very-very-excellent-docs.lol")); | ||||
82 | } | ||||
83 | | ||||
84 | QUrl DummyResource::bugURL() | ||||
85 | { | ||||
86 | return QUrl(QStringLiteral("file:///dev/null")); | ||||
87 | } | ||||
88 | | ||||
89 | QUrl DummyResource::donationURL() | ||||
90 | { | ||||
91 | return QUrl(QStringLiteral("https://youtu.be/0o8XMlL8rqY")); | ||||
92 | } | ||||
93 | | ||||
79 | QVariant DummyResource::icon() const | 94 | QVariant DummyResource::icon() const | ||
80 | { | 95 | { | ||
81 | return isTechnical() ? QStringLiteral("kalarm") : m_iconName; | 96 | return isTechnical() ? QStringLiteral("kalarm") : m_iconName; | ||
82 | } | 97 | } | ||
83 | 98 | | |||
84 | QString DummyResource::installedVersion() const | 99 | QString DummyResource::installedVersion() const | ||
85 | { | 100 | { | ||
86 | return QStringLiteral("2.3"); | 101 | return QStringLiteral("2.3"); | ||
▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines |