6#include <QtCore/QString>
9#include <QtCore/QDebug>
43 "ftp://anonymous:anonymous@",
77QUrl QNdefNfcUriRecord::uri()
const
100 for (
int i = 1;
i < abbrevs; ++
i) {
void setUri(const QUrl &uri)
Sets the URI of this URI record to uri.
void setPayload(const QByteArray &payload)
Sets the payload of the NDEF record to payload.
QByteArray payload() const
Returns the payload of the NDEF record.
bool startsWith(const QString &s, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
Returns true if the string starts with s; otherwise returns false.
static QString fromUtf8(QByteArrayView utf8)
This is an overloaded member function, provided for convenience. It differs from the above function o...
QString mid(qsizetype position, qsizetype n=-1) const
Returns a string that contains n characters of this string, starting at the specified position index.
const QChar at(qsizetype i) const
Returns the character at the given index position in the string.
QString & insert(qsizetype i, QChar c)
QString & remove(qsizetype i, qsizetype len)
Removes n characters from the string, starting at the given position index, and returns a reference t...
QByteArray toUtf8() const &
QString toString(FormattingOptions options=FormattingOptions(PrettyDecoded)) const
Returns a string representation of the URL.
Combined button and popup list for selecting options.
size_t qstrlen(const char *str)
static const char *const abbreviations[]
QLatin1StringView QLatin1String