Changeset View
Changeset View
Standalone View
Standalone View
krusader/GUI/terminaldock.h
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Line(s) | |||||
44 | class TerminalDock : public QWidget | 44 | class TerminalDock : public QWidget | ||
45 | { | 45 | { | ||
46 | Q_OBJECT | 46 | Q_OBJECT | ||
47 | public: | 47 | public: | ||
48 | TerminalDock(QWidget* parent, KrMainWindow *mainWindow); | 48 | TerminalDock(QWidget* parent, KrMainWindow *mainWindow); | ||
49 | ~TerminalDock() override; | 49 | ~TerminalDock() override; | ||
50 | void sendInput(const QString& input, bool clearCommand=true); | 50 | void sendInput(const QString& input, bool clearCommand=true); | ||
51 | void sendCd(const QString& path); | 51 | void sendCd(const QString& path); | ||
52 | bool eventFilter(QObject * watched, QEvent * e) Q_DECL_OVERRIDE; | 52 | bool eventFilter(QObject * watched, QEvent * e) override; | ||
53 | bool isTerminalVisible() const; | 53 | bool isTerminalVisible() const; | ||
54 | bool isInitialised() const; | 54 | bool isInitialised() const; | ||
55 | bool initialise(); | 55 | bool initialise(); | ||
56 | void hideEvent(QHideEvent * e) Q_DECL_OVERRIDE; | 56 | void hideEvent(QHideEvent * e) override; | ||
57 | void showEvent(QShowEvent * e) Q_DECL_OVERRIDE; | 57 | void showEvent(QShowEvent * e) override; | ||
58 | inline KParts::Part* part() { | 58 | inline KParts::Part* part() { | ||
59 | return konsole_part; | 59 | return konsole_part; | ||
60 | } | 60 | } | ||
61 | private slots: | 61 | private slots: | ||
62 | void killTerminalEmulator(); | 62 | void killTerminalEmulator(); | ||
63 | private: | 63 | private: | ||
64 | KrMainWindow *_mainWindow; | 64 | KrMainWindow *_mainWindow; | ||
65 | QString lastPath; // path of the last sendCd | 65 | QString lastPath; // path of the last sendCd | ||
Show All 9 Lines |