Baloo
kio_timeline.cpp
50KIO::UDSEntry createDateFolderUDSEntry(const QString& name, const QString& displayName, const QDate& date)
114 listEntry(createDateFolderUDSEntry(QStringLiteral("today"), i18n("Today"), QDate::currentDate()));
115 listEntry(createDateFolderUDSEntry(QStringLiteral("calendar"), i18n("Calendar"), QDate::currentDate()));
192 statEntry(createDateFolderUDSEntry(QStringLiteral("calendar"), i18n("Calendar"), QDate::currentDate()));
The Query class is the central class to query to search for files from the Index.
Definition query.h:54
void reserve(int size)
void fastInsert(uint field, const QString &value)
UDS_CREATION_TIME
UDS_MIME_TYPE
UDS_FILE_TYPE
UDS_MODIFICATION_TIME
UDS_DISPLAY_NAME
UDS_NAME
UDS_USER
UDS_ACCESS
int count() const
void redirection(const QUrl &_url)
void statEntry(const UDSEntry &_entry)
void listEntry(const UDSEntry &entry)
static WorkerResult pass()
static WorkerResult fail(int _error=KIO::ERR_UNKNOWN, const QString &_errorString=QString())
QString i18nc(const char *context, const char *text, const TYPE &arg...)
QString i18n(const char *text, const TYPE &arg...)
std::optional< QSqlQuery > query(const QString &queryStatement)
Implements storage for docIds without any associated data Instantiated for:
Definition coding.cpp:11
TimelineFolderType parseTimelineUrl(const QUrl &url, QDate *date, QString *filename=nullptr)
Parse a timeline URL like timeline:/today and return the type of folder it represents.
Definition timelinetools.cpp:72
QUrl canonicalizeTimelineUrl(const QUrl &url)
Remove any double slashes, remove any trailing slashes, and add an initial slash after the scheme.
Definition timelinetools.cpp:53
QDate currentDate()
int day() const const
int daysInMonth() const const
int month() const const
QString toString(QStringView format, QCalendar cal) const const
int year() const const
LongFormat
Q_OBJECTQ_OBJECT
bool isEmpty() const const
QString toString(FormattingOptions options) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:56:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.