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

ark

extractiondialog.h

Go to the documentation of this file.
00001 /*
00002  * ark -- archiver for the KDE project
00003  *
00004  * Copyright (C) 2007 Henrique Pinto <henrique.pinto@kdemail.net>
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00019  *
00020  */
00021 #ifndef EXTRACTIONDIALOG_H
00022 #define EXTRACTIONDIALOG_H
00023 
00024 #include "kerfuffle_export.h"
00025 
00026 #include <KDirSelectDialog>
00027 
00028 #include <KDialog>
00029 
00030 namespace Kerfuffle
00031 {
00032     class KERFUFFLE_EXPORT ExtractionDialog: public KDirSelectDialog
00033     {
00034         Q_OBJECT
00035         public:
00036             ExtractionDialog( QWidget *parent = 0 );
00037             ~ExtractionDialog();
00038 
00039             void setShowSelectedFiles(bool);
00040             void setSingleFolderArchive(bool);
00041             void setPreservePaths(bool);
00042             void batchModeOption();
00043             void setOpenDestinationFolderAfterExtraction(bool);
00044             void setAutoSubfolder(bool value);
00045 
00046             bool extractAllFiles();
00047             bool openDestinationAfterExtraction();
00048             bool extractToSubfolder();
00049             bool autoSubfolders();
00050             bool preservePaths();
00051             KUrl destinationDirectory();
00052             QString subfolder() const;
00053 
00054         public Q_SLOTS:
00055             void setCurrentUrl(const QString& url);
00056             void setSubfolder(QString subfolder);
00057 
00058         private:
00059             class ExtractionDialogUI *m_ui;
00060 
00061     };
00062 }
00063 
00064 #endif // EXTRACTIONDIALOG_H

ark

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

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • okteta
  • printer-applet
  • superkaramba
  • sweeper
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal