1 /***************************************************************************** 2 * Copyright (C) 2000 Shie Erlich <krusader@users.sourceforge.net> * 3 * Copyright (C) 2000 Rafi Yanai <krusader@users.sourceforge.net> * 4 * Copyright (C) 2004-2019 Krusader Krew [https://krusader.org] * 5 * * 6 * This file is part of Krusader [https://krusader.org]. * 7 * * 8 * Krusader is free software: you can redistribute it and/or modify * 9 * it under the terms of the GNU General Public License as published by * 10 * the Free Software Foundation, either version 2 of the License, or * 11 * (at your option) any later version. * 12 * * 13 * Krusader is distributed in the hope that it will be useful, * 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 16 * GNU General Public License for more details. * 17 * * 18 * You should have received a copy of the GNU General Public License * 19 * along with Krusader. If not, see [http://www.gnu.org/licenses/]. * 20 *****************************************************************************/ 21 22 #ifndef PACKGUI_H 23 #define PACKGUI_H 24 25 #include "packguibase.h" 26 27 class PackGUI : public PackGUIBase 28 { 29 Q_OBJECT 30 public: 31 PackGUI(QString defaultName, QString defaultPath, int noOfFiles, QString filename = ""); 32 33 public slots: 34 void browse() Q_DECL_OVERRIDE; 35 36 protected slots: 37 void accept() Q_DECL_OVERRIDE; 38 void reject() Q_DECL_OVERRIDE; 39 40 public: 41 static QString filename, destination, type; 42 static QMap<QString, QString> extraProps; 43 }; 44 45 #endif 46