2015-02-07 00:32:25 +00:00
|
|
|
/*************************************************************************
|
|
|
|
* Copyright (C) 2009, 2010 by Volker Lanz <vl@fidra.de> *
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or *
|
|
|
|
* modify it under the terms of the GNU General Public License as *
|
|
|
|
* published by the Free Software Foundation; either version 3 of *
|
|
|
|
* the License, or (at your option) any later version. *
|
|
|
|
* *
|
|
|
|
* This program is distributed in the hope that it will be useful, *
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
|
|
* GNU General Public License for more details. *
|
|
|
|
* *
|
|
|
|
* You should have received a copy of the GNU General Public License *
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.*
|
|
|
|
*************************************************************************/
|
2010-01-15 18:08:01 +00:00
|
|
|
|
2010-01-16 20:21:42 +00:00
|
|
|
#if !defined(EDITMOUNTPOINTDIALOG__H)
|
2010-01-15 18:08:01 +00:00
|
|
|
|
2010-01-16 20:21:42 +00:00
|
|
|
#define EDITMOUNTPOINTDIALOG__H
|
2010-01-15 18:08:01 +00:00
|
|
|
|
2014-05-17 03:06:58 +01:00
|
|
|
#include <QDialog>
|
2010-01-15 18:08:01 +00:00
|
|
|
|
|
|
|
class EditMountPointDialogWidget;
|
|
|
|
class Partition;
|
|
|
|
|
|
|
|
class QWidget;
|
|
|
|
class QString;
|
|
|
|
|
2014-05-17 03:06:58 +01:00
|
|
|
class EditMountPointDialog : public QDialog
|
2010-01-15 18:08:01 +00:00
|
|
|
{
|
2015-07-13 15:17:41 +01:00
|
|
|
Q_OBJECT
|
2010-01-15 18:08:01 +00:00
|
|
|
|
2015-07-13 15:17:41 +01:00
|
|
|
public:
|
|
|
|
EditMountPointDialog(QWidget* parent, Partition& p);
|
|
|
|
~EditMountPointDialog();
|
2010-01-15 18:08:01 +00:00
|
|
|
|
2015-07-13 15:17:41 +01:00
|
|
|
protected:
|
|
|
|
EditMountPointDialogWidget& widget() {
|
|
|
|
return *m_DialogWidget;
|
|
|
|
}
|
2010-01-15 18:08:01 +00:00
|
|
|
|
2015-07-13 15:17:41 +01:00
|
|
|
protected Q_SLOTS:
|
|
|
|
void accept();
|
2010-01-15 18:08:01 +00:00
|
|
|
|
2015-07-13 15:17:41 +01:00
|
|
|
private:
|
|
|
|
Partition& partition() {
|
|
|
|
return m_Partition;
|
|
|
|
}
|
2010-01-15 18:08:01 +00:00
|
|
|
|
2015-07-13 15:17:41 +01:00
|
|
|
private:
|
|
|
|
Partition& m_Partition;
|
|
|
|
EditMountPointDialogWidget* m_DialogWidget;
|
2010-01-15 18:08:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|