Extend copyright to 2018.
[kdbg.git] / kdbg / pgmsettings.h
blobae0ccadc64b5bb56bab8772b98338a1f55c6953b
1 /*
2 * Copyright Johannes Sixt
3 * This file is licensed under the GNU General Public License Version 2.
4 * See the file COPYING in the toplevel directory of the source directory.
5 */
7 #ifndef PGMSETTINGS_H
8 #define PGMSETTINGS_H
10 #include <KPageDialog>
12 class QButtonGroup;
13 class QLineEdit;
16 class ChooseDriver : public QWidget
18 public:
19 ChooseDriver(QWidget* parent);
20 void setDebuggerCmd(const QString& cmd);
21 QString debuggerCmd() const;
22 protected:
23 QLineEdit* m_debuggerCmd;
27 class OutputSettings : public QWidget
29 Q_OBJECT
30 public:
31 OutputSettings(QWidget* parent);
32 void setTTYLevel(int l);
33 int ttyLevel() const { return m_ttyLevel; }
34 protected:
35 int m_ttyLevel;
36 QButtonGroup* m_group;
37 protected slots:
38 void slotLevelChanged(int);
42 class ProgramSettings : public KPageDialog
44 Q_OBJECT
45 public:
46 ProgramSettings(QWidget* parent, QString exeName);
48 public:
49 ChooseDriver m_chooseDriver;
50 OutputSettings m_output;
53 #endif