KIdleTime
kidletime.cpp
146 const bool isFound = std::any_of(d->associations.cbegin(), d->associations.cend(), [msec](int i) {
182 const QDir pluginDir(path + QStringLiteral("/kf" QT_STRINGIFY(QT_VERSION_MAJOR) "/org.kde.kidletime.platforms"));
201 const QJsonArray platforms = metadata.value(QStringLiteral("MetaData")).toObject().value(QStringLiteral("platforms")).toArray();
202 return std::any_of(platforms.begin(), platforms.end(), [&platformName](const QJsonValue &value) {
QVector< QStaticPlugin > staticPlugins()
QJsonObject toObject() const const
QHash< int, int > idleTimeouts() const
Returns the list of timeout identifiers associated with their duration, in milliseconds,...
Definition: kidletime.cpp:319
platformName
int idleTime() const
Retrieves the idle time of the system, in milliseconds.
Definition: kidletime.cpp:310
Files
QMetaObject::Connection connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
bool isLibrary(const QString &fileName)
Q_GLOBAL_STATIC(Internal::StaticControl, s_instance) class ControlPrivate
QStringList libraryPaths()
void reserve(int alloc)
int size() const const
void removeIdleTimeout(int identifier)
Stops catching the idle timeout identified by the token identifier, if it was registered earlier with...
Definition: kidletime.cpp:133
QJsonArray::iterator begin()
QJsonValue value(const QString &key) const const
QJsonArray toArray() const const
QJsonArray::iterator end()
Definition: kidletime.h:36
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jun 27 2022 03:56:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jun 27 2022 03:56:15 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.