Changeset View
Changeset View
Standalone View
Standalone View
src/akregator_part.cpp
Show First 20 Lines • Show All 117 Lines • ▼ Show 20 Line(s) | 91 | { | |||
---|---|---|---|---|---|
118 | 118 | | |||
119 | QDomElement linuxFeeds = doc.createElement(QStringLiteral("outline")); | 119 | QDomElement linuxFeeds = doc.createElement(QStringLiteral("outline")); | ||
120 | linuxFeeds.setAttribute(QStringLiteral("text"), i18n("Linux.com")); | 120 | linuxFeeds.setAttribute(QStringLiteral("text"), i18n("Linux.com")); | ||
121 | linuxFeeds.setAttribute(QStringLiteral("xmlUrl"), QStringLiteral("https://www.linux.com/feeds/rss")); | 121 | linuxFeeds.setAttribute(QStringLiteral("xmlUrl"), QStringLiteral("https://www.linux.com/feeds/rss")); | ||
122 | mainFolder.appendChild(linuxFeeds); | 122 | mainFolder.appendChild(linuxFeeds); | ||
123 | 123 | | |||
124 | QDomElement planetkde = doc.createElement(QStringLiteral("outline")); | 124 | QDomElement planetkde = doc.createElement(QStringLiteral("outline")); | ||
125 | planetkde.setAttribute(QStringLiteral("text"), i18n("Planet KDE")); | 125 | planetkde.setAttribute(QStringLiteral("text"), i18n("Planet KDE")); | ||
126 | planetkde.setAttribute(QStringLiteral("xmlUrl"), QStringLiteral("http://planetkde.org/rss20.xml")); | 126 | planetkde.setAttribute(QStringLiteral("xmlUrl"), QStringLiteral("https://planetkde.org/rss20.xml")); | ||
127 | mainFolder.appendChild(planetkde); | 127 | mainFolder.appendChild(planetkde); | ||
128 | 128 | | |||
129 | QDomElement apps = doc.createElement(QStringLiteral("outline")); | 129 | QDomElement apps = doc.createElement(QStringLiteral("outline")); | ||
130 | apps.setAttribute(QStringLiteral("text"), i18n("KDE Apps")); | 130 | apps.setAttribute(QStringLiteral("text"), i18n("KDE Apps")); | ||
131 | apps.setAttribute(QStringLiteral("xmlUrl"), QStringLiteral("https://store.kde.org/content.rdf")); | 131 | apps.setAttribute(QStringLiteral("xmlUrl"), QStringLiteral("https://store.kde.org/content.rdf")); | ||
132 | mainFolder.appendChild(apps); | 132 | mainFolder.appendChild(apps); | ||
133 | 133 | | |||
134 | // Brazilian Portuguese feeds | 134 | // Brazilian Portuguese feeds | ||
135 | QDomElement portugueuseFolder = doc.createElement(QStringLiteral("outline")); | 135 | QDomElement portugueuseFolder = doc.createElement(QStringLiteral("outline")); | ||
136 | portugueuseFolder.setAttribute(QStringLiteral("text"), i18n("Brazilian Portuguese feeds")); | 136 | portugueuseFolder.setAttribute(QStringLiteral("text"), i18n("Brazilian Portuguese feeds")); | ||
137 | mainFolder.appendChild(portugueuseFolder); | 137 | mainFolder.appendChild(portugueuseFolder); | ||
138 | 138 | | |||
139 | QDomElement portugueuseKde = doc.createElement(QStringLiteral("outline")); | 139 | QDomElement portugueuseKde = doc.createElement(QStringLiteral("outline")); | ||
140 | portugueuseKde.setAttribute(QStringLiteral("text"), i18n("Planet KDE Brazilian Portuguese")); | 140 | portugueuseKde.setAttribute(QStringLiteral("text"), i18n("Planet KDE Brazilian Portuguese")); | ||
141 | portugueuseKde.setAttribute(QStringLiteral("xmlUrl"), QStringLiteral("http://planetkde.org/pt-br/rss20.xml")); | 141 | portugueuseKde.setAttribute(QStringLiteral("xmlUrl"), QStringLiteral("https://planetkde.org/pt-br/rss20.xml")); | ||
142 | portugueuseFolder.appendChild(portugueuseKde); | 142 | portugueuseFolder.appendChild(portugueuseKde); | ||
143 | 143 | | |||
144 | // spanish feed(s) | 144 | // spanish feed(s) | ||
145 | QDomElement spanishFolder = doc.createElement(QStringLiteral("outline")); | 145 | QDomElement spanishFolder = doc.createElement(QStringLiteral("outline")); | ||
146 | spanishFolder.setAttribute(QStringLiteral("text"), i18n("Spanish feeds")); | 146 | spanishFolder.setAttribute(QStringLiteral("text"), i18n("Spanish feeds")); | ||
147 | mainFolder.appendChild(spanishFolder); | 147 | mainFolder.appendChild(spanishFolder); | ||
148 | 148 | | |||
149 | QDomElement spanishKde = doc.createElement(QStringLiteral("outline")); | 149 | QDomElement spanishKde = doc.createElement(QStringLiteral("outline")); | ||
150 | spanishKde.setAttribute(QStringLiteral("text"), i18n("Planet KDE España")); | 150 | spanishKde.setAttribute(QStringLiteral("text"), i18n("Planet KDE España")); | ||
151 | spanishKde.setAttribute(QStringLiteral("xmlUrl"), QStringLiteral("http://planet.kde-espana.org/atom.xml")); | 151 | spanishKde.setAttribute(QStringLiteral("xmlUrl"), QStringLiteral("https://planet.kde-espana.org/atom.xml")); | ||
152 | spanishFolder.appendChild(spanishKde); | 152 | spanishFolder.appendChild(spanishKde); | ||
153 | 153 | | |||
154 | return doc; | 154 | return doc; | ||
155 | } | 155 | } | ||
156 | } | 156 | } | ||
157 | 157 | | |||
158 | namespace Akregator { | 158 | namespace Akregator { | ||
159 | K_PLUGIN_FACTORY(AkregatorFactory, registerPlugin<Part>(); | 159 | K_PLUGIN_FACTORY(AkregatorFactory, registerPlugin<Part>(); | ||
▲ Show 20 Lines • Show All 671 Lines • Show Last 20 Lines |