1 /***************************************************************************** 2 * Copyright (C) 2004 Csaba Karai <krusader@users.sourceforge.net> * 3 * Copyright (C) 2004-2019 Krusader Krew [https://krusader.org] * 4 * * 5 * This file is part of Krusader [https://krusader.org]. * 6 * * 7 * Krusader is free software: you can redistribute it and/or modify * 8 * it under the terms of the GNU General Public License as published by * 9 * the Free Software Foundation, either version 2 of the License, or * 10 * (at your option) any later version. * 11 * * 12 * Krusader is distributed in the hope that it will be useful, * 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 15 * GNU General Public License for more details. * 16 * * 17 * You should have received a copy of the GNU General Public License * 18 * along with Krusader. If not, see [http://www.gnu.org/licenses/]. * 19 *****************************************************************************/ 20 21 #ifndef KGDEPENDENCIES_H 22 #define KGDEPENDENCIES_H 23 24 // QtWidgets 25 #include <QGridLayout> 26 27 #include "konfiguratorpage.h" 28 29 class QTabWidget; 30 31 32 class KgDependencies : public KonfiguratorPage 33 { 34 Q_OBJECT 35 36 public: 37 explicit KgDependencies(bool first, QWidget* parent = 0); 38 39 virtual int activeSubPage() Q_DECL_OVERRIDE; 40 41 private: 42 void addApplication(QString name, QGridLayout *grid, int row, QWidget *parent, int page, QString additionalList = QString()); 43 44 public slots: 45 void slotApply(QObject *obj, QString configGroup, QString name); 46 47 private: 48 QTabWidget *tabWidget; 49 }; 50 51 #endif /* __KGDEPENDENCIES_H__ */ 52