kleopatra
path-helper.cpp
Go to the documentation of this file.
59 return QString( s1.data(), std::mismatch( s1.data(), s1.data() + std::min( s1.size(), s2.size() ), s2.data() ).first - s1.data() );
QString heuristicBaseDirectory(const QStringList &files)
Definition: path-helper.cpp:71
QString relativeFilePath(const QString &fileName) const
void push_back(const T &value)
bool remove()
QString errorString() const
int size() const
QString filePath(const QString &fileName) const
static QString longestCommonPrefix(const QStringList &sl)
Definition: path-helper.cpp:62
int lastIndexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
QStringList makeRelativeTo(const QDir &dir, const QStringList &files)
Definition: path-helper.cpp:90
bool rmdir(const QString &dirName) const
bool empty() const
static QString commonPrefix(const QString &s1, const QString &s2)
Definition: path-helper.cpp:58
bool isDir() const
QString fileName() const
bool isEmpty() const
T & front()
void recursivelyRemovePath(const QString &path)
Definition: path-helper.cpp:96
bool cdUp()
QStringList entryList(QFlags< QDir::Filter > filters, QFlags< QDir::SortFlag > sort) const
QString left(int n) const
QChar * data()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:11 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:33:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.