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

kgpg

  • sources
  • kde-4.14
  • kdeutils
  • kgpg
foldercompressjob.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2011,2012,2013 Rolf Eike Beer <kde@opensource.sf-tec.de>
3  */
4 
5 /***************************************************************************
6  * *
7  * This program is free software; you can redistribute it and/or modify *
8  * it under the terms of the GNU General Public License as published by *
9  * the Free Software Foundation; either version 2 of the License, or *
10  * (at your option) any later version. *
11  * *
12  ***************************************************************************/
13 
14 #ifndef FOLDERCOMPRESSJOB_H
15 #define FOLDERCOMPRESSJOB_H
16 
17 #include <KJob>
18 #include <KUrl>
19 
20 class KTemporaryFile;
21 class QString;
22 class QStringList;
23 
24 #include "transactions/kgpgencrypt.h"
25 
26 class FolderCompressJobPrivate;
27 
33 class FolderCompressJob : public KJob {
34  Q_OBJECT
35 
36  Q_DISABLE_COPY(FolderCompressJob)
37  FolderCompressJob(); // = delete C++0x
38 
39  FolderCompressJobPrivate * const d_ptr;
40  Q_DECLARE_PRIVATE(FolderCompressJob)
41 
42 public:
54  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);
55 
59  virtual ~FolderCompressJob();
60 
64  virtual void start();
65 
71  static QString extensionForArchive(const int archive);
72 
77  static const QStringList &archiveNames();
78 
79 private slots:
80  void doWork();
81  void slotEncryptionDone(int result);
82 };
83 
84 #endif /* FOLDERCOMPRESSJOB_H */
QObject
kgpgencrypt.h
FolderCompressJob::archiveNames
static const QStringList & archiveNames()
get list of supported archive names
Definition: foldercompressjob.cpp:172
QString
FolderCompressJob::~FolderCompressJob
virtual ~FolderCompressJob()
FolderCompressJob destructor.
Definition: foldercompressjob.cpp:61
QStringList
FolderCompressJob::extensionForArchive
static QString extensionForArchive(const int archive)
query extension for archive type
Definition: foldercompressjob.cpp:151
FolderCompressJob
Create an encrypted archive of the given folders.
Definition: foldercompressjob.h:33
FolderCompressJob::start
virtual void start()
shows the progress indicator
Definition: foldercompressjob.cpp:67
KJob
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