Akonadi
collectionpathresolver.cpp
114 qCWarning(AKONADICORE_LOG) << "No such collection" << currentPart << "with parent" << mCurrentNode.id();
149 CollectionPathResolver::CollectionPathResolver(const QString &path, const Collection &parentCollection, QObject *parent)
void append(const T &value)
Collection::Id collection() const
Returns the collection id.
bool isEmpty() const const
void doStart() override
This method must be reimplemented in the concrete jobs.
int size() const const
void result(KJob *job)
QCA_EXPORT void init()
~CollectionPathResolver() override
Destroys the collection path resolver.
KIOFILEWIDGETS_EXPORT QStringList list(const QString &fileClass)
const QList< QKeySequence > & begin()
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
Job that fetches collections from the Akonadi storage.
Definition: collectionfetchjob.h:39
QString i18n(const char *text, const TYPE &arg...)
CollectionPathResolver(const QString &path, QObject *parent=nullptr)
Creates a new collection path resolver to convert a path into a id.
bool isEmpty() const const
static QString pathDelimiter()
Returns the path delimiter for collections.
const T & at(int i) const const
@ FirstLevel
Only list direct sub-collections of the base collection.
Definition: collectionfetchjob.h:49
QString & replace(int position, int n, QChar after)
Collection parentCollection() const
Returns the parent collection of this object.
Definition: collection.cpp:187
QString left(int n) const const
QString right(int n) const const
void emitResult()
int error() const
QString mid(int position, int n) const const
Q_D(Todo)
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Jun 25 2022 06:00:31 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Jun 25 2022 06:00:31 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.