rocs/RocsCore
IncludeManager.cpp
Go to the documentation of this file.
51 QString IncludeManager::include(const QString& script, const QString& actualPath, const QString &filename)
63 _actualDir = _tempPath.last(); // not disponible the path to saved file, use the first path from list
128 fileContent = QString("debug(\"%1\")").arg(i18n("Invalid include directive: %1. Cannot find file in directive.", arg1));
void clear()
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
QString cap(int nth) const
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
QString & prepend(QChar ch)
const T & at(int i) const
QString include(const QString &script, const QString &actualPath=QString(), const QString &filename=QString())
Definition: IncludeManager.cpp:51
QString join(const QString &separator) const
int lastIndexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
int count(const T &value) const
bool exists() const
void append(const T &value)
void initialize(const QStringList &tempPath=QStringList())
Definition: IncludeManager.cpp:41
QString path() const
void addPath(const QString &str)
insert additional path to seek files.
Definition: IncludeManager.cpp:155
bool isEmpty() const
bool isEmpty() const
QString trimmed() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
QString seekFile(const QString &arg1)
Try find the fileName in the paths' list.
Definition: IncludeManager.cpp:135
bool contains(const T &value) const
QString & replace(int position, int n, QChar after)
QString absolutePath() const
QString rootPath()
T & last()
QString absoluteFilePath(const QString &fileName) const
QString section(QChar sep, int start, int end, QFlags< QString::SectionFlag > flags) const
QString left(int n) const
bool checkIfWasIncluded(const QString &file)
check if the file was included before.
Definition: IncludeManager.h:46
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
void replace(int i, const T &value)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:18 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:16:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.