KPublicTransport
notesutil.cpp
22 if (!note.contains(QLatin1String("href"))) { // only mess with rich text if this isn't marked up already
23 static const QRegularExpression linkRegExp(u"(?:https?://)?(?:[a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,}(:?/[^ \"<>]+)?"_s);
27 + (match.capturedView().startsWith(QLatin1String("http")) ? QString() : QStringLiteral("https://"))
KCOREADDONS_EXPORT Result match(QStringView pattern, QStringView str)
Query operations and data types for accessing realtime public transport information from online servi...
Definition attribution.cpp:16
iterator begin()
iterator end()
bool isEmpty() const const
void push_back(parameter_type value)
qsizetype size() const const
bool contains(QChar ch, Qt::CaseSensitivity cs) const const
bool isEmpty() const const
QString & replace(QChar before, QChar after, Qt::CaseSensitivity cs)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:07:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.