Changeset View
Changeset View
Standalone View
Standalone View
debuggers/gdb/gdboutputwidget.h
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | |||||
46 | class GDBController; | 46 | class GDBController; | ||
47 | class CppDebuggerPlugin; | 47 | class CppDebuggerPlugin; | ||
48 | 48 | | |||
49 | class GDBOutputWidget : public QWidget | 49 | class GDBOutputWidget : public QWidget | ||
50 | { | 50 | { | ||
51 | Q_OBJECT | 51 | Q_OBJECT | ||
52 | 52 | | |||
53 | public: | 53 | public: | ||
54 | GDBOutputWidget(CppDebuggerPlugin* plugin, QWidget *parent=nullptr ); | 54 | explicit GDBOutputWidget(CppDebuggerPlugin* plugin, QWidget *parent=nullptr ); | ||
55 | ~GDBOutputWidget() override; | 55 | ~GDBOutputWidget() override; | ||
56 | 56 | | |||
57 | void savePartialProjectSession(); | 57 | void savePartialProjectSession(); | ||
58 | void restorePartialProjectSession(); | 58 | void restorePartialProjectSession(); | ||
59 | 59 | | |||
60 | bool showInternalCommands() const; | 60 | bool showInternalCommands() const; | ||
61 | 61 | | |||
62 | public Q_SLOTS: | 62 | public Q_SLOTS: | ||
▲ Show 20 Lines • Show All 76 Lines • ▼ Show 20 Line(s) | 90 | private: | |||
139 | QColor errorColor_; | 139 | QColor errorColor_; | ||
140 | }; | 140 | }; | ||
141 | 141 | | |||
142 | class OutputTextEdit : public QTextEdit | 142 | class OutputTextEdit : public QTextEdit | ||
143 | { | 143 | { | ||
144 | Q_OBJECT | 144 | Q_OBJECT | ||
145 | 145 | | |||
146 | public: | 146 | public: | ||
147 | OutputTextEdit(GDBOutputWidget* parent); | 147 | explicit OutputTextEdit(GDBOutputWidget* parent); | ||
148 | 148 | | |||
149 | protected: | 149 | protected: | ||
150 | void contextMenuEvent(QContextMenuEvent* event) override; | 150 | void contextMenuEvent(QContextMenuEvent* event) override; | ||
151 | }; | 151 | }; | ||
152 | 152 | | |||
153 | } // end of namespace GDB | 153 | } // end of namespace GDB | ||
154 | } // end of namespace KDevMI | 154 | } // end of namespace KDevMI | ||
155 | 155 | | |||
156 | #endif | 156 | #endif |