okular
sourcereference.cpp
Go to the documentation of this file.
60 bool Okular::extractLilyPondSourceReference( const QString &url, QString *file, int *row, int *col )
84 *file = QUrl::fromPercentEncoding( url.mid( 11, index_last != -1 ? index_last - 11 : -1 ).toUtf8() );
SourceReference(const QString &fileName, int row, int column=0)
Creates a reference to the row row and column column of the source fileName.
Definition: sourcereference.cpp:32
int column() const
Returns the column of the position in the source file.
Definition: sourcereference.cpp:55
const QChar * data() const
int count() const
int lastIndexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
QString sourceReferenceToolTip(const QString &source, int row, int col)
Definition: sourcereference.cpp:88
QString fromRawData(const QChar *unicode, int size)
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
QString fromPercentEncoding(const QByteArray &input)
QStringRef midRef(int position, int n) const
QString mid(int position, int n) const
bool extractLilyPondSourceReference(const QString &url, QString *file, int *row, int *col)
Definition: sourcereference.cpp:60
int row() const
Returns the row of the position in the source file.
Definition: sourcereference.cpp:50
QByteArray toUtf8() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:25 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.