KNewStuff
quickengine.h
44 Q_PROPERTY(QStringList categoriesFilter READ categoriesFilter WRITE setCategoriesFilter RESET resetCategoriesFilter NOTIFY categoriesFilterChanged)
47 Q_PROPERTY(QString searchTerm READ searchTerm WRITE setSearchTerm RESET resetSearchTerm NOTIFY searchTermChanged)
50 Q_PROPERTY(QQmlListProperty<KNSCore::EntryWrapper> changedEntries READ changedEntries NOTIFY changedEntriesChanged)
59 KNEWSTUFFQUICK_DEPRECATED_VERSION(5, 81, "Use KNewStuffQuick::Settings::allowedByKiosk() instead")
152 * need those you have to listen to the signals of the KNSCore::Engine instance of the engine property.
176 * @param metadata Any additional data which might be hepful to further work out the details of the error (see KNSCore::EntryInternal::ErrorCode for the
181 void errorCode(const Engine::ErrorCode &errorCode, const QString &message, const QVariant &metadata);
Q_OBJECTQ_OBJECT
void errorCode(const Engine::ErrorCode &errorCode, const QString &message, const QVariant &metadata)
Fires in the case of any critical or serious errors, such as network or API problems.
Q_PROPERTY(...)
Q_ENUM(...)
@ DetailsLoadedEvent
Used when more details have been added to an existing entry (such as the full description),...
Definition: entryinternal.h:93
void entryEvent(KNSCore::EntryWrapper *entry, EntryEvent event)
This is fired for events related directly to a single EntryInternal instance The intermediate states ...
Q_SIGNALQ_SIGNAL
bool isLoading
Whether or not the engine is performing its initial loading operations.
Definition: quickengine.h:40
ErrorCode
Registering the error codes from KNSCore to allow them to be used easily in QtQuick.
Definition: quickengine.h:76
Wraps a KNSCore::EntryInternal in a QObject for passing through Qt Quick.
Definition: entrywrapper.h:38
@ StatusChangedEvent
Used when an event's status is set (use EntryInternal::status() to get the new status)
Definition: entryinternal.h:91
virtual bool event(QEvent *e)
Q_INVOKABLEQ_INVOKABLE
Q_SIGNALSQ_SIGNALS
QObject * parent() const const
@ AdoptedEvent
Used when an entry has been successfully adopted (use this to determine whether a call to Engine::ado...
Definition: entryinternal.h:92
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Sep 22 2023 04:12:35 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Fri Sep 22 2023 04:12:35 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.