2015-02-07 00:32:25 +00:00
|
|
|
/*************************************************************************
|
|
|
|
* Copyright (C) 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-06-02 15:35:02 +01:00
|
|
|
|
|
|
|
#if !defined(ADVANCEDPAGEWIDGET__H)
|
|
|
|
|
|
|
|
#define ADVANCEDPAGEWIDGET__H
|
|
|
|
|
|
|
|
#include "ui_configurepageadvanced.h"
|
|
|
|
|
2015-06-04 01:51:56 +01:00
|
|
|
#include <kpmcore/fs/filesystem.h>
|
2010-06-02 15:35:02 +01:00
|
|
|
|
|
|
|
#include <QWidget>
|
|
|
|
|
|
|
|
class QString;
|
2014-05-14 01:01:34 +01:00
|
|
|
class QComboBox;
|
2010-06-02 15:35:02 +01:00
|
|
|
|
|
|
|
class AdvancedPageWidget : public QWidget, public Ui::ConfigurePageAdvanced
|
|
|
|
{
|
2015-07-13 15:17:41 +01:00
|
|
|
public:
|
|
|
|
AdvancedPageWidget(QWidget* parent);
|
|
|
|
|
|
|
|
public:
|
|
|
|
QComboBox& comboBackend() {
|
|
|
|
return *m_ComboBackend;
|
|
|
|
}
|
|
|
|
const QComboBox& comboBackend() const {
|
|
|
|
return *m_ComboBackend;
|
|
|
|
}
|
|
|
|
|
|
|
|
QString backend() const;
|
|
|
|
void setBackend(const QString& name);
|
|
|
|
|
|
|
|
private:
|
|
|
|
void setupDialog();
|
2010-06-02 15:35:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|