1 /* 2 This file is part of Android File Transfer For Linux. 3 Copyright (C) 2015-2020 Vladimir Menshakov 4 5 This library is free software; you can redistribute it and/or modify it 6 under the terms of the GNU Lesser General Public License as published by 7 the Free Software Foundation; either version 2.1 of the License, 8 or (at your option) any later version. 9 10 This library is distributed in the hope that it will be useful, but 11 WITHOUT ANY WARRANTY; without even the implied warranty of 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 Lesser General Public License for more details. 14 15 You should have received a copy of the GNU Lesser General Public License 16 along with this library; if not, write to the Free Software Foundation, 17 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 */ 19 20 #ifndef AFTL_QT_RENAMEDIALOG_H 21 #define AFTL_QT_RENAMEDIALOG_H 22 23 #include <QDialog> 24 25 namespace Ui { 26 class RenameDialog; 27 } 28 29 class RenameDialog : public QDialog 30 { 31 Q_OBJECT 32 33 public: 34 explicit RenameDialog(QString name, QWidget *parent = 0); 35 ~RenameDialog(); 36 37 QString name() const; 38 39 private: 40 Ui::RenameDialog *ui; 41 }; 42 43 #endif // RENAMEDIALOG_H 44