KNewStuff
downloadmanager.cpp
Go to the documentation of this file.
80 q->connect(engine, SIGNAL(signalUpdateableEntriesLoaded(KNS3::EntryInternal::List)), q, SLOT(_k_slotEntriesLoaded(KNS3::EntryInternal::List)));
81 q->connect(engine, SIGNAL(signalEntriesLoaded(KNS3::EntryInternal::List)), q, SLOT(_k_slotEntriesLoaded(KNS3::EntryInternal::List)));
82 q->connect(engine, SIGNAL(signalEntryChanged(KNS3::EntryInternal)), q, SLOT(_k_slotEntryStatusChanged(KNS3::EntryInternal)));
QString componentName() const
void search(int page=0, int pageSize=100)
Search for a list of entries.
Definition downloadmanager.cpp:141
DownloadManager(QObject *parent=0)
Create a DownloadManager It will try to find a appname.knsrc file (using KComponentData).
Definition downloadmanager.cpp:61
void installEntry(const KNS3::Entry &entry)
Installs or updates an entry.
Definition downloadmanager.cpp:125
void setSearchTerm(const QString &searchTerm)
Sets the search term to filter the results on the server.
Definition downloadmanager.cpp:171
void setSearchOrder(SortOrder order)
Set the sort order of the results.
Definition downloadmanager.cpp:153
void uninstallEntry(const KNS3::Entry &entry)
Uninstalls the given entry.
Definition downloadmanager.cpp:133
void requestData(int page, int pageSize)
Definition knewstuff3/core/engine.cpp:372
void install(KNS3::EntryInternal entry, int linkId=1)
Installs an entry's payload file.
Definition knewstuff3/core/engine.cpp:390
void setSearchTerm(const QString &searchString)
Definition knewstuff3/core/engine.cpp:343
void uninstall(KNS3::EntryInternal entry)
Uninstalls an entry.
Definition knewstuff3/core/engine.cpp:432
void setSortMode(Provider::SortMode mode)
Definition knewstuff3/core/engine.cpp:334
static KNS3::EntryInternal fromEntry(const KNS3::Entry &entry)
Definition entryinternal.cpp:581
#define kDebug
KComponentData activeComponent()
Definition atticaprovider.cpp:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.