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

ark

  • sources
  • kde-4.14
  • kdeutils
  • ark
  • kerfuffle
extractiondialog.h
Go to the documentation of this file.
1 /*
2  * ark -- archiver for the KDE project
3  *
4  * Copyright (C) 2007 Henrique Pinto <henrique.pinto@kdemail.net>
5  * Copyright (C) 2008 Harald Hvaal <haraldhv@stud.ntnu.no>
6  *
7  * Redistribution and use in source and binary forms, with or without
8  * modification, are permitted provided that the following conditions
9  * are met:
10  *
11  * 1. Redistributions of source code must retain the above copyright
12  * notice, this list of conditions and the following disclaimer.
13  * 2. Redistributions in binary form must reproduce the above copyright
14  * notice, this list of conditions and the following disclaimer in the
15  * documentation and/or other materials provided with the distribution.
16  *
17  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ( INCLUDING, BUT
22  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION ) HOWEVER CAUSED AND ON ANY
24  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25  * ( INCLUDING NEGLIGENCE OR OTHERWISE ) ARISING IN ANY WAY OUT OF THE USE OF
26  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27  */
28 
29 #ifndef EXTRACTIONDIALOG_H
30 #define EXTRACTIONDIALOG_H
31 
32 #include "kerfuffle_export.h"
33 
34 #include <KDirSelectDialog>
35 
36 #include <KDialog>
37 
38 namespace Kerfuffle
39 {
40 class KERFUFFLE_EXPORT ExtractionDialog : public KDirSelectDialog
41 {
42  Q_OBJECT
43 public:
44  ExtractionDialog(QWidget *parent = 0);
45  virtual ~ExtractionDialog();
46 
47  void setShowSelectedFiles(bool);
48  void setSingleFolderArchive(bool);
49  void setPreservePaths(bool);
50  void batchModeOption();
51  void setOpenDestinationFolderAfterExtraction(bool);
52  void setCloseAfterExtraction(bool);
53  void setAutoSubfolder(bool value);
54 
55  bool extractAllFiles() const;
56  bool openDestinationAfterExtraction() const;
57  bool closeAfterExtraction() const;
58  bool extractToSubfolder() const;
59  bool autoSubfolders() const;
60  bool preservePaths() const;
61  KUrl destinationDirectory() const;
62  QString subfolder() const;
63  virtual void accept();
64 
65 public Q_SLOTS:
66  void setSubfolder(const QString& subfolder);
67 
68 private Q_SLOTS:
69  void writeSettings();
70 
71 private:
72  void loadSettings();
73 
74  class ExtractionDialogUI *m_ui;
75 };
76 }
77 
78 #endif // EXTRACTIONDIALOG_H
QWidget
kerfuffle_export.h
Kerfuffle::ExtractionDialog
Definition: extractiondialog.h:40
QString
KERFUFFLE_EXPORT
#define KERFUFFLE_EXPORT
Definition: kerfuffle_export.h:41
KDirSelectDialog
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:37 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ark

Skip menu "ark"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

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