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 <KDialog> 00025 #include "ui_extractiondialog.h" 00026 00027 class ExtractionDialogUI: public QFrame, public Ui::ExtractionDialog 00028 { 00029 Q_OBJECT 00030 public: 00031 ExtractionDialogUI( QWidget *parent = 0 ); 00032 }; 00033 00034 class ExtractionDialog: public KDialog 00035 { 00036 Q_OBJECT 00037 public: 00038 ExtractionDialog( QWidget *parent = 0 ); 00039 ~ExtractionDialog(); 00040 00041 void showSelectedFilesOption(); 00042 00043 bool extractAllFiles(); 00044 bool openDestinationAfterExtraction(); 00045 KUrl destinationDirectory(); 00046 00047 private: 00048 ExtractionDialogUI *m_ui; 00049 }; 00050 00051 #endif // EXTRACTIONDIALOG_H
KDE 4.0 API Reference