KIO
localdomainurifilter.cpp
31 if ((protocol.isEmpty() || !KProtocolInfo::isKnownProtocol(protocol)) && m_hostPortPattern.match(data.typedString()).hasMatch()) {
#define K_PLUGIN_CLASS_WITH_JSON(classname, jsonFile)
static bool isKnownProtocol(const QUrl &url)
Returns whether a protocol is installed that is able to handle url.
Definition kprotocolinfo.cpp:321
This class is a basic messaging class used to exchange filtering information between the filter plugi...
Definition kurifilter.h:153
QString typedString() const
The string as typed by the user, before any URL processing is done.
Definition kurifilter.cpp:221
QString defaultUrlScheme() const
Returns the default protocol to use when filtering potentially valid url inputs.
Definition kurifilter.cpp:294
This filter takes care of hostnames in the local search domain.
Definition localdomainurifilter.h:23
std::pair< bool, CatalogObject > resolveName(const QString &name)
NoError
HostInfoError error() const const
QRegularExpressionMatch match(QStringView subjectView, qsizetype offset, MatchType matchType, MatchOptions matchOptions) const const
bool hasMatch() const const
qsizetype indexOf(QChar ch, qsizetype from, Qt::CaseSensitivity cs) const const
bool isEmpty() const const
QString left(qsizetype n) const const
QString scheme() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.