# class Installation

###

Module | knewstuff
Namespace | KNS
Class | Installation
Inherits |

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

### enums

- Policy { CheckNever, CheckIfPossible, CheckAlways }
- Scope { ScopeUser, ScopeSystem }

enum details

### methods

- Installation ( )

  returns ctor

  Constructor.

- Installation (a0)

  returns ctor
  Not implemented

  Argument | Type | Default
  --- | --- | ---
  a0 | KNS.Installation |

- absoluteInstallPath ( )

  returns QString

- checksumPolicy ( )

  returns KNS::Installation.Policy

- command ( )

  returns QString

- customName ( )

  returns bool

- installPath ( )

  returns QString

- isRemote ( )

  returns bool

- scope ( )

  returns KNS::Installation.Scope

- setAbsoluteInstallPath (dir)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  dir | QString |

- setChecksumPolicy (policy)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  policy | KNS::Installation.Policy |

- setCommand (command)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  command | QString |

- setCustomName (customname)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  customname | bool |

- setInstallPath (dir)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  dir | QString |

- setScope (scope)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  scope | KNS::Installation.Scope |

- setSignaturePolicy (policy)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  policy | KNS::Installation.Policy |

- setStandardResourceDir (dir)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  dir | QString |

- setTargetDir (dir)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  dir | QString |

- setUncompression (uncompression)

  returns Nothing

  Argument | Type | Default
  --- | --- | ---
  uncompression | QString |

- signaturePolicy ( )

  returns KNS::Installation.Policy

- standardResourceDir ( )

  returns QString

- targetDir ( )

  returns QString

- uncompression ( )

  returns QString

### enums - detail

- Policy { CheckNever, CheckIfPossible, CheckAlways }

  | CheckNever | - | - |
  | CheckIfPossible | - | - |
  | CheckAlways | - | - |

- Scope { ScopeUser, ScopeSystem }

  | ScopeUser | - | - |
  | ScopeSystem | - | - |