34 #include <QRegularExpression>
35 #include <QStringList>
69 static const QRegularExpression re(
71 , QRegularExpression::DontCaptureOption);
73 if (
path.isEmpty() || !re.match(
path).hasMatch())
75 qDebug() <<
"Incorrect RSS Item path:" <<
path;
93 if (
path.isEmpty())
return result;
100 result <<
path.left(index);
static QString joinPath(const QString &path1, const QString &path2)
void pathChanged(Item *item=nullptr)
static const QChar PathSeparator
static QStringList expandPath(const QString &path)
static QString parentPath(const QString &path)
static QString relativeName(const QString &path)
Item(const QString &path)
void setPath(const QString &path)
static bool isValidPath(const QString &path)