Changeset View
Changeset View
Standalone View
Standalone View
src/widgetfactory.cpp
Show First 20 Lines • Show All 314 Lines • ▼ Show 20 Line(s) | |||||
315 | void WidgetFactory::slotLinkActivated(const QString& url) | 315 | void WidgetFactory::slotLinkActivated(const QString& url) | ||
316 | { | 316 | { | ||
317 | emit urlActivated(QUrl::fromUserInput(url)); | 317 | emit urlActivated(QUrl::fromUserInput(url)); | ||
318 | } | 318 | } | ||
319 | 319 | | |||
320 | void WidgetFactory::slotTagClicked(const QString& tag) | 320 | void WidgetFactory::slotTagClicked(const QString& tag) | ||
321 | { | 321 | { | ||
322 | QUrl url; | 322 | QUrl url; | ||
323 | url.setScheme("tags"); | 323 | url.setScheme(QStringLiteral("tags")); | ||
324 | url.setPath(tag); | 324 | url.setPath(tag); | ||
325 | 325 | | |||
326 | emit urlActivated(url); | 326 | emit urlActivated(url); | ||
327 | } | 327 | } | ||
328 | 328 | | |||
329 | 329 | | |||
330 | // | 330 | // | ||
331 | // Accessor Methods | 331 | // Accessor Methods | ||
Show All 26 Lines |