Changeset View
Changeset View
Standalone View
Standalone View
src/Application.h
Show All 19 Lines | |||||
20 | #ifndef APPLICATION_H | 20 | #ifndef APPLICATION_H | ||
21 | #define APPLICATION_H | 21 | #define APPLICATION_H | ||
22 | 22 | | |||
23 | // Qt | 23 | // Qt | ||
24 | #include <QCommandLineParser> | 24 | #include <QCommandLineParser> | ||
25 | 25 | | |||
26 | // Konsole | 26 | // Konsole | ||
27 | #include "Profile.h" | 27 | #include "Profile.h" | ||
28 | #include "ViewSplitter.h" | ||||
28 | 29 | | |||
29 | namespace Konsole { | 30 | namespace Konsole { | ||
30 | class MainWindow; | 31 | class MainWindow; | ||
31 | class Session; | 32 | class Session; | ||
32 | 33 | | |||
33 | /** | 34 | /** | ||
34 | * The Konsole Application. | 35 | * The Konsole Application. | ||
35 | * | 36 | * | ||
Show All 28 Lines | 50 | public: | |||
64 | * and newWindowRequest() signals to trigger creation of new sessions or | 65 | * and newWindowRequest() signals to trigger creation of new sessions or | ||
65 | * windows when then they are emitted. | 66 | * windows when then they are emitted. | ||
66 | */ | 67 | */ | ||
67 | MainWindow *newMainWindow(); | 68 | MainWindow *newMainWindow(); | ||
68 | 69 | | |||
69 | private Q_SLOTS: | 70 | private Q_SLOTS: | ||
70 | void createWindow(const Profile::Ptr &profile, const QString &directory); | 71 | void createWindow(const Profile::Ptr &profile, const QString &directory); | ||
71 | void detachView(Session *session); | 72 | void detachView(Session *session); | ||
73 | void detachTab(ViewSplitter *splitter, QHash<TerminalDisplay*, Session*> sessionsMap); | ||||
72 | 74 | | |||
73 | void toggleBackgroundInstance(); | 75 | void toggleBackgroundInstance(); | ||
74 | 76 | | |||
75 | public Q_SLOTS: | 77 | public Q_SLOTS: | ||
76 | void slotActivateRequested(QStringList args, const QString &workingDir); | 78 | void slotActivateRequested(QStringList args, const QString &workingDir); | ||
77 | 79 | | |||
78 | private: | 80 | private: | ||
79 | Q_DISABLE_COPY(Application) | 81 | Q_DISABLE_COPY(Application) | ||
Show All 18 Lines |