Convert from Qt 3 to Qt 4 using qt3to4.
[kdbg.git] / kdbg / prefdebugger.h
blob29be687d5d786a37949f7f9af05b0ee88b9e9735
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 PREFDEBUGGER_H
8 #define PREFDEBUGGER_H
10 #include <qlayout.h>
11 #include <qlineedit.h>
12 #include <qlabel.h>
13 #include <Q3GridLayout>
15 class PrefDebugger : public QWidget
17 public:
18 PrefDebugger(QWidget* parent);
20 Q3GridLayout m_grid;
22 // --- the hint about defaults
23 protected:
24 QLabel m_defaultHint;
26 // --- the debugger command
27 protected:
28 QLabel m_debuggerCCppLabel;
29 QLineEdit m_debuggerCCpp;
30 public:
31 QString debuggerCmd() const { return m_debuggerCCpp.text(); }
32 void setDebuggerCmd(const QString& cmd) { m_debuggerCCpp.setText(cmd); }
34 // --- the output terminal
35 protected:
36 QLabel m_terminalHint;
37 QLabel m_terminalLabel;
38 QLineEdit m_terminal;
39 public:
40 QString terminal() const { return m_terminal.text(); }
41 void setTerminal(const QString& t) { m_terminal.setText(t); }
44 #endif // PREFDEBUGGER_H