calamares/src/modules/partition/PartitionPage.h

51 lines
1.4 KiB
C++

/* === This file is part of Calamares - <http://github.com/calamares> ===
*
* Copyright 2014, Aurélien Gâteau <agateau@kde.org>
*
* Calamares 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.
*
* Calamares 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 Calamares. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef PARTITIONPAGE_H
#define PARTITIONPAGE_H
#include "viewpages/AbstractPage.h"
#include <QScopedPointer>
class PartitionCoreModule;
class Ui_PartitionPage;
class DeviceModel;
class PartitionPage : public Calamares::AbstractPage
{
Q_OBJECT
public:
explicit PartitionPage( PartitionCoreModule* core, QWidget* parent = 0 );
~PartitionPage();
Q_SIGNALS:
public Q_SLOTS:
private:
QScopedPointer< Ui_PartitionPage > m_ui;
PartitionCoreModule* m_core;
void updateButtons();
void onCreateClicked();
void onDeleteClicked();
};
#endif // PARTITIONPAGE_H