• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeutils API Reference
  • KDE Home
  • Contact Us
 

kgpg

Public Member Functions | Static Public Member Functions | List of all members
FolderCompressJob Class Reference

#include <foldercompressjob.h>

Inheritance diagram for FolderCompressJob:
Inheritance graph
[legend]

Public Member Functions

 FolderCompressJob (QObject *parent, const KUrl::List &sources, const KUrl &dest, KTemporaryFile *tempfile, const QStringList &keys, const QStringList &options, const KGpgEncrypt::EncryptOptions encOptions, const int archive)
 
virtual ~FolderCompressJob ()
 
virtual void start ()
 

Static Public Member Functions

static const QStringList & archiveNames ()
 
static QString extensionForArchive (const int archive)
 

Detailed Description

Create an encrypted archive of the given folders.

Author
Rolf Eike Beer

Definition at line 33 of file foldercompressjob.h.

Constructor & Destructor Documentation

FolderCompressJob::FolderCompressJob ( QObject *  parent,
const KUrl::List &  sources,
const KUrl &  dest,
KTemporaryFile *  tempfile,
const QStringList &  keys,
const QStringList &  options,
const KGpgEncrypt::EncryptOptions  encOptions,
const int  archive 
)

create a new KJob to compress and encrypt a folder

Parameters
parentobject owning this job
sourcesthe source directories to include
destthe name of the encrypted file
tempfilethe temporary file that should be used for archiving
keysthe public key ids to encrypt to
optionsspecial options to pass to the GnuPG process
encOptionsspecial options to pass to the GnuPG process
archivethe archive type to use

Definition at line 55 of file foldercompressjob.cpp.

FolderCompressJob::~FolderCompressJob ( )
virtual

FolderCompressJob destructor.

Definition at line 61 of file foldercompressjob.cpp.

Member Function Documentation

const QStringList & FolderCompressJob::archiveNames ( )
static

get list of supported archive names

Returns
list of archive names

Definition at line 172 of file foldercompressjob.cpp.

QString FolderCompressJob::extensionForArchive ( const int  archive)
static

query extension for archive type

Parameters
archivethe archive type
Returns
the extension including leading dot

Definition at line 151 of file foldercompressjob.cpp.

void FolderCompressJob::start ( )
virtual

shows the progress indicator

Definition at line 67 of file foldercompressjob.cpp.


The documentation for this class was generated from the following files:
  • foldercompressjob.h
  • foldercompressjob.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kgpg

Skip menu "kgpg"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal