Now linking with -Wl,--no-undefined! Moved find_package KF5 from the root CMakeLists.txt to the partitioning module where it belongs. KF5 deps should be limited to plugins. Lots of random fixage to make stuff link. Removed CalamaresApplication reference from Settings. Removed the use of AbstractPage, we don't need it right now.
50 lines
1.3 KiB
C++
50 lines
1.3 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 <QWidget>
|
|
#include <QScopedPointer>
|
|
|
|
class PartitionCoreModule;
|
|
class Ui_PartitionPage;
|
|
|
|
class DeviceModel;
|
|
|
|
class PartitionPage : public QWidget
|
|
{
|
|
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
|