summaryrefslogtreecommitdiffstats
path: root/kdbg/prefdebugger.h
blob: 35ecf2f128270e59f5422196ee2ccb6d7e04d40a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
 * Copyright Johannes Sixt
 * This file is licensed under the GNU General Public License Version 2.
 * See the file COPYING in the toplevel directory of the source directory.
 */

#ifndef PREFDEBUGGER_H
#define PREFDEBUGGER_H

#include <ntqlayout.h>
#include <ntqlineedit.h>
#include <ntqlabel.h>

class PrefDebugger : public TQWidget
{
public:
    PrefDebugger(TQWidget* parent);

    TQGridLayout m_grid;

    // --- the hint about defaults
protected:
    TQLabel m_defaultHint;

    // --- the debugger command
protected:
    TQLabel m_debuggerCCppLabel;
    TQLineEdit m_debuggerCCpp;
public:
    TQString debuggerCmd() const { return m_debuggerCCpp.text(); }
    void setDebuggerCmd(const TQString& cmd) { m_debuggerCCpp.setText(cmd); }

    // --- the output terminal
protected:
    TQLabel m_terminalHint;
    TQLabel m_terminalLabel;
    TQLineEdit m_terminal;
public:
    TQString terminal() const { return m_terminal.text(); }
    void setTerminal(const TQString& t) { m_terminal.setText(t); }
};

#endif // PREFDEBUGGER_H