#include <installation.h>
KNewStuff entry installation.
The installation class stores all information related to an entry's installation.
- Author
- Josef Spillner (spill.nosp@m.ner@.nosp@m.kde.o.nosp@m.rg)
Definition at line 45 of file knewstuff3/core/installation.h.
Installation::Installation |
( |
QObject * |
parent = 0 | ) |
|
Downloads a payload file.
The payload file matching most closely the current user language preferences will be downloaded. The file will not be installed set, for this install must be called.
- Parameters
-
entry | Entry to download payload file for |
- See also
- signalPayloadLoaded
-
signalPayloadFailed
Definition at line 154 of file knewstuff3/core/installation.cpp.
Installs an entry's payload file.
This includes verification, if necessary, as well as decompression and other steps according to the application's *.knsrc file. Note that this method is asynchronous and thus the return value will only report the successful start of the installation.
- Parameters
-
entry | Entry to be installed |
- Returns
- Whether or not installation was started successfully
- See also
- signalInstallationFinished
-
signalInstallationFailed
Definition at line 149 of file knewstuff3/core/installation.cpp.
bool Installation::isRemote |
( |
| ) |
const |
void KNS3::Installation::signalInstallationFailed |
( |
const QString & |
message | ) |
|
|
signal |
void KNS3::Installation::signalInstallationFinished |
( |
| ) |
|
|
signal |
void KNS3::Installation::signalPayloadLoaded |
( |
KUrl |
payload | ) |
|
|
signal |
void Installation::slotInstallationVerification |
( |
int |
result | ) |
|
|
slot |
void Installation::slotPayloadResult |
( |
KJob * |
job | ) |
|
|
slot |
Uninstalls an entry.
It reverses the steps which were performed during the installation.
- Parameters
-
entry | The entry to deinstall |
- Returns
- Whether or not deinstallation was successful
- Note
- FIXME: I don't believe this works yet :)
Definition at line 526 of file knewstuff3/core/installation.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:49 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.