kgpg
FolderCompressJob Class Reference
#include <foldercompressjob.h>
Inheritance diagram for FolderCompressJob:
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.
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
-
parent object owning this job sources the source directories to include dest the name of the encrypted file tempfile the temporary file that should be used for archiving keys the public key ids to encrypt to options special options to pass to the GnuPG process encOptions special options to pass to the GnuPG process archive the archive type to use
Definition at line 55 of file foldercompressjob.cpp.
|
virtual |
FolderCompressJob destructor.
Definition at line 61 of file foldercompressjob.cpp.
Member Function Documentation
|
static |
get list of supported archive names
- Returns
- list of archive names
Definition at line 172 of file foldercompressjob.cpp.
|
static |
query extension for archive type
- Parameters
-
archive the archive type
- Returns
- the extension including leading dot
Definition at line 151 of file foldercompressjob.cpp.
|
virtual |
shows the progress indicator
Definition at line 67 of file foldercompressjob.cpp.
The documentation for this class was generated from the following files:
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
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.