85
88
class KONSOLEPRIVATE_EXPORT SessionController : public ViewProperties , public KXMLGUIClient
91
94
* Constructs a new SessionController which operates on @p session and @p view.
93
96
SessionController(Session* session , TerminalDisplay* view, QObject* parent);
96
99
/** Returns the session associated with this controller */
97
100
QPointer<Session> session() { return _session; }
98
101
/** Returns the view associated with this controller */
99
102
QPointer<TerminalDisplay> view() { return _view; }
102
105
* Returns true if the controller is valid.
103
106
* A valid controller is one which has a non-null session() and view().