KNewStuff
#include <installation.h>
Public Types | |
enum | Policy { CheckNever, CheckIfPossible, CheckAlways } |
enum | Scope { ScopeUser, ScopeSystem } |
Public Member Functions | |
Installation () | |
~Installation () | |
QString | absoluteInstallPath () const |
Policy | checksumPolicy () const |
QString | command () const |
bool | customName () const |
QString | installPath () const |
bool | isRemote () const |
Scope | scope () const |
void | setAbsoluteInstallPath (const QString &dir) |
void | setChecksumPolicy (Policy policy) |
void | setCommand (const QString &command) |
void | setCustomName (bool customname) |
void | setInstallPath (const QString &dir) |
void | setScope (Scope scope) |
void | setSignaturePolicy (Policy policy) |
void | setStandardResourceDir (const QString &dir) |
void | setTargetDir (const QString &dir) |
void | setUncompression (const QString &uncompression) |
void | setUninstallCommand (const QString &command) |
Policy | signaturePolicy () const |
QString | standardResourceDir () const |
QString | targetDir () const |
QString | uncompression () const |
QString | uninstallCommand () const |
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.
Definition at line 44 of file knewstuff2/core/installation.h.
Member Enumeration Documentation
Enumerator | |
---|---|
CheckNever | |
CheckIfPossible | |
CheckAlways |
Definition at line 57 of file knewstuff2/core/installation.h.
Enumerator | |
---|---|
ScopeUser | |
ScopeSystem |
Definition at line 63 of file knewstuff2/core/installation.h.
Constructor & Destructor Documentation
Installation::Installation | ( | ) |
Constructor.
Definition at line 44 of file knewstuff2/core/installation.cpp.
Installation::~Installation | ( | ) |
Destructor.
Definition at line 49 of file knewstuff2/core/installation.cpp.
Member Function Documentation
QString Installation::absoluteInstallPath | ( | ) | const |
Definition at line 139 of file knewstuff2/core/installation.cpp.
Installation::Policy Installation::checksumPolicy | ( | ) | const |
Definition at line 153 of file knewstuff2/core/installation.cpp.
QString Installation::command | ( | ) | const |
Definition at line 114 of file knewstuff2/core/installation.cpp.
bool Installation::customName | ( | ) | const |
Definition at line 163 of file knewstuff2/core/installation.cpp.
QString Installation::installPath | ( | ) | const |
Definition at line 134 of file knewstuff2/core/installation.cpp.
bool Installation::isRemote | ( | ) | const |
Definition at line 144 of file knewstuff2/core/installation.cpp.
Installation::Scope Installation::scope | ( | ) | const |
Definition at line 168 of file knewstuff2/core/installation.cpp.
void Installation::setAbsoluteInstallPath | ( | const QString & | dir | ) |
Definition at line 84 of file knewstuff2/core/installation.cpp.
void Installation::setChecksumPolicy | ( | Policy | policy | ) |
Definition at line 89 of file knewstuff2/core/installation.cpp.
void Installation::setCommand | ( | const QString & | command | ) |
Definition at line 59 of file knewstuff2/core/installation.cpp.
void Installation::setCustomName | ( | bool | customname | ) |
Definition at line 104 of file knewstuff2/core/installation.cpp.
void Installation::setInstallPath | ( | const QString & | dir | ) |
Definition at line 79 of file knewstuff2/core/installation.cpp.
void Installation::setScope | ( | Scope | scope | ) |
Definition at line 99 of file knewstuff2/core/installation.cpp.
void Installation::setSignaturePolicy | ( | Policy | policy | ) |
Definition at line 94 of file knewstuff2/core/installation.cpp.
void Installation::setStandardResourceDir | ( | const QString & | dir | ) |
Definition at line 69 of file knewstuff2/core/installation.cpp.
void Installation::setTargetDir | ( | const QString & | dir | ) |
Definition at line 74 of file knewstuff2/core/installation.cpp.
void Installation::setUncompression | ( | const QString & | uncompression | ) |
Definition at line 54 of file knewstuff2/core/installation.cpp.
void Installation::setUninstallCommand | ( | const QString & | command | ) |
Definition at line 64 of file knewstuff2/core/installation.cpp.
Installation::Policy Installation::signaturePolicy | ( | ) | const |
Definition at line 158 of file knewstuff2/core/installation.cpp.
QString Installation::standardResourceDir | ( | ) | const |
Definition at line 124 of file knewstuff2/core/installation.cpp.
QString Installation::targetDir | ( | ) | const |
Definition at line 129 of file knewstuff2/core/installation.cpp.
QString Installation::uncompression | ( | ) | const |
Definition at line 109 of file knewstuff2/core/installation.cpp.
QString Installation::uninstallCommand | ( | ) | const |
Definition at line 119 of file knewstuff2/core/installation.cpp.
The documentation for this class was generated from the following files:
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.