Changeset View
Changeset View
Standalone View
Standalone View
src/ViewManager.h
Show All 21 Lines | |||||
22 | 22 | | |||
23 | // Qt | 23 | // Qt | ||
24 | #include <QHash> | 24 | #include <QHash> | ||
25 | #include <QObject> | 25 | #include <QObject> | ||
26 | #include <QPointer> | 26 | #include <QPointer> | ||
27 | 27 | | |||
28 | // Konsole | 28 | // Konsole | ||
29 | #include "Profile.h" | 29 | #include "Profile.h" | ||
30 | #include "ProfileList.h" | ||||
30 | 31 | | |||
31 | class KActionCollection; | 32 | class KActionCollection; | ||
32 | class KConfigGroup; | 33 | class KConfigGroup; | ||
33 | 34 | | |||
34 | namespace Konsole { | 35 | namespace Konsole { | ||
35 | class ColorScheme; | 36 | class ColorScheme; | ||
36 | class Session; | 37 | class Session; | ||
37 | class TerminalDisplay; | 38 | class TerminalDisplay; | ||
▲ Show 20 Lines • Show All 63 Lines • ▼ Show 20 Line(s) | 69 | public: | |||
101 | * Returns the list of view properties for views in the active container. | 102 | * Returns the list of view properties for views in the active container. | ||
102 | * Each view widget is associated with a ViewProperties instance which | 103 | * Each view widget is associated with a ViewProperties instance which | ||
103 | * provides access to basic information about the session being | 104 | * provides access to basic information about the session being | ||
104 | * displayed in the view, such as title, current directory and | 105 | * displayed in the view, such as title, current directory and | ||
105 | * associated icon. | 106 | * associated icon. | ||
106 | */ | 107 | */ | ||
107 | QList<ViewProperties *> viewProperties() const; | 108 | QList<ViewProperties *> viewProperties() const; | ||
108 | 109 | | |||
110 | ProfileList *getProfileList(); | ||||
111 | | ||||
109 | /** | 112 | /** | ||
110 | * This enum describes the available types of navigation widget | 113 | * This enum describes the available types of navigation widget | ||
111 | * which newly created containers can provide to allow navigation | 114 | * which newly created containers can provide to allow navigation | ||
112 | * between open sessions. | 115 | * between open sessions. | ||
113 | */ | 116 | */ | ||
114 | enum NavigationMethod { | 117 | enum NavigationMethod { | ||
115 | /** | 118 | /** | ||
116 | * Each container has a row of tabs (one per session) which the user | 119 | * Each container has a row of tabs (one per session) which the user | ||
▲ Show 20 Lines • Show All 304 Lines • ▼ Show 20 Line(s) | 419 | private: | |||
421 | 424 | | |||
422 | KActionCollection *_actionCollection; | 425 | KActionCollection *_actionCollection; | ||
423 | 426 | | |||
424 | NavigationMethod _navigationMethod; | 427 | NavigationMethod _navigationMethod; | ||
425 | NavigationVisibility _navigationVisibility; | 428 | NavigationVisibility _navigationVisibility; | ||
426 | NewTabBehavior _newTabBehavior; | 429 | NewTabBehavior _newTabBehavior; | ||
427 | int _managerId; | 430 | int _managerId; | ||
428 | static int lastManagerId; | 431 | static int lastManagerId; | ||
432 | ProfileList *_profileList; | ||||
429 | }; | 433 | }; | ||
430 | } | 434 | } | ||
431 | 435 | | |||
432 | #endif | 436 | #endif |