Changeset View
Changeset View
Standalone View
Standalone View
src/MainWindow.h
Show All 23 Lines | |||||
24 | #include <QPointer> | 24 | #include <QPointer> | ||
25 | #include <QUrl> | 25 | #include <QUrl> | ||
26 | 26 | | |||
27 | // KDE | 27 | // KDE | ||
28 | #include <KXmlGuiWindow> | 28 | #include <KXmlGuiWindow> | ||
29 | 29 | | |||
30 | // Konsole | 30 | // Konsole | ||
31 | #include "Profile.h" | 31 | #include "Profile.h" | ||
32 | #include "ViewSplitter.h" | ||||
32 | 33 | | |||
33 | class QAction; | 34 | class QAction; | ||
34 | class KActionMenu; | 35 | class KActionMenu; | ||
35 | class KToggleAction; | 36 | class KToggleAction; | ||
36 | 37 | | |||
37 | namespace Konsole { | 38 | namespace Konsole { | ||
38 | class IncrementalSearchBar; | 39 | class IncrementalSearchBar; | ||
39 | class ViewManager; | 40 | class ViewManager; | ||
▲ Show 20 Lines • Show All 81 Lines • ▼ Show 20 Line(s) | 112 | Q_SIGNALS: | |||
121 | * be used. | 122 | * be used. | ||
122 | */ | 123 | */ | ||
123 | void newWindowRequest(const Profile::Ptr &profile, const QString &directory); | 124 | void newWindowRequest(const Profile::Ptr &profile, const QString &directory); | ||
124 | 125 | | |||
125 | /** | 126 | /** | ||
126 | * Emitted when a view for one session is detached from this window | 127 | * Emitted when a view for one session is detached from this window | ||
127 | */ | 128 | */ | ||
128 | void viewDetached(Session *session); | 129 | void viewDetached(Session *session); | ||
130 | void tabDetached(ViewSplitter *splitter, QHash<TerminalDisplay*, Session*> sessionsMap); | ||||
129 | 131 | | |||
130 | protected: | 132 | protected: | ||
131 | // Reimplemented for internal reasons. | 133 | // Reimplemented for internal reasons. | ||
132 | void showEvent(QShowEvent *event) Q_DECL_OVERRIDE; | 134 | void showEvent(QShowEvent *event) Q_DECL_OVERRIDE; | ||
133 | bool eventFilter(QObject *obj, QEvent *event) Q_DECL_OVERRIDE; | 135 | bool eventFilter(QObject *obj, QEvent *event) Q_DECL_OVERRIDE; | ||
134 | 136 | | |||
135 | // reimplemented from KMainWindow | 137 | // reimplemented from KMainWindow | ||
136 | bool queryClose() Q_DECL_OVERRIDE; | 138 | bool queryClose() Q_DECL_OVERRIDE; | ||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |