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 #include "createdirectorydialog.h"
21 #include "ui_createdirectorydialog.h"
22 
CreateDirectoryDialog(QWidget * parent)23 CreateDirectoryDialog::CreateDirectoryDialog(QWidget *parent) :
24 	QDialog(parent),
25 	ui(new Ui::CreateDirectoryDialog)
26 {
27 	ui->setupUi(this);
28 }
29 
~CreateDirectoryDialog()30 CreateDirectoryDialog::~CreateDirectoryDialog()
31 {
32 	delete ui;
33 }
34 
name() const35 QString CreateDirectoryDialog::name() const
36 {
37 	return ui->lineEdit->text();
38 }
39