Installation Class Reference
from PyKDE4.knewstuff import *
Namespace: KNS
Detailed Description
KNewStuff entry installation.
The installation class stores all information related to an entry's
installation. However, the installation itself is performed by the
engine.
- Author:
- Josef Spillner (spillner@kde.org)
- Internal:
-
Enumerations |
Policy | { CheckNever, CheckIfPossible, CheckAlways } |
Scope | { ScopeUser, ScopeSystem } |
Methods |
| __init__ (self) |
| __init__ (self, KNS.Installation a0) |
QString | absoluteInstallPath (self) |
KNS.Installation.Policy | checksumPolicy (self) |
QString | command (self) |
bool | customName (self) |
QString | installPath (self) |
bool | isRemote (self) |
KNS.Installation.Scope | scope (self) |
| setAbsoluteInstallPath (self, QString dir) |
| setChecksumPolicy (self, KNS.Installation.Policy policy) |
| setCommand (self, QString command) |
| setCustomName (self, bool customname) |
| setInstallPath (self, QString dir) |
| setScope (self, KNS.Installation.Scope scope) |
| setSignaturePolicy (self, KNS.Installation.Policy policy) |
| setStandardResourceDir (self, QString dir) |
| setTargetDir (self, QString dir) |
| setUncompression (self, QString uncompression) |
| setUninstallCommand (self, QString command) |
KNS.Installation.Policy | signaturePolicy (self) |
QString | standardResourceDir (self) |
QString | targetDir (self) |
QString | uncompression (self) |
QString | uninstallCommand (self) |
Method Documentation
QString absoluteInstallPath |
( |
|
self ) |
|
KNS.Installation.Policy checksumPolicy |
( |
|
self ) |
|
KNS.Installation.Scope scope |
( |
|
self ) |
|
setAbsoluteInstallPath |
( |
self, |
|
|
|
QString |
dir |
|
) |
|
|
|
setChecksumPolicy |
( |
self, |
|
|
|
KNS.Installation.Policy |
policy |
|
) |
|
|
|
setCommand |
( |
self, |
|
|
|
QString |
command |
|
) |
|
|
|
setCustomName |
( |
self, |
|
|
|
bool |
customname |
|
) |
|
|
|
setInstallPath |
( |
self, |
|
|
|
QString |
dir |
|
) |
|
|
|
setScope |
( |
self, |
|
|
|
KNS.Installation.Scope |
scope |
|
) |
|
|
|
setSignaturePolicy |
( |
self, |
|
|
|
KNS.Installation.Policy |
policy |
|
) |
|
|
|
setStandardResourceDir |
( |
self, |
|
|
|
QString |
dir |
|
) |
|
|
|
setUncompression |
( |
self, |
|
|
|
QString |
uncompression |
|
) |
|
|
|
setUninstallCommand |
( |
self, |
|
|
|
QString |
command |
|
) |
|
|
|
KNS.Installation.Policy signaturePolicy |
( |
|
self ) |
|
QString standardResourceDir |
( |
|
self ) |
|
Enumeration Documentation
- Enumerator:
-
CheckNever | |
CheckIfPossible | |
CheckAlways | |