From konsole-devel Tue Dec 16 10:20:35 2008 From: "Robert Knight" Date: Tue, 16 Dec 2008 10:20:35 +0000 To: konsole-devel Subject: Re: [Konsole-devel] Konsole + DCOP + DBus Message-Id: <13ed09c00812160220q4240a141j64178695f955276e () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=konsole-devel&m=122942288322429 > What is a view anyway (e.g.: what is the difference between a session > and a view)? Using the model/view pattern, 'Session' is the model and 'TerminalDisplay' is the view. Session provides the terminal emulation (communication with the terminal and processing of the ouput from it) and TerminalDisplay draws the output of the session and handles mouse/keyboard input to it. The SessionController class mediates between the two and provides the menu actions for a terminal session (ie. the menu actions which are specific to a given tab) Regards, Robert. 2008/12/10 Arno Töll : > Robert Knight wrote: >> @Arno >> >> Thanks for that - I'll review as soon as I can. > > I'm changing the DBus interface pretty often currently, so it may not be > necessary to take a final review for now. > > But I'd be happy if you or someone else could answer me how I do create > and/or identify a session within the class hierarchy. Sessions aren't > countable as they had been in konsole for kde 3.5 right? I mean: There > is no way to say "this is session 3". I just have a session map > associated with a ViewManager? How do I identify a particular session > then? How to create a new one (may I just call > ViewManager::createView(new Session)?); > What is a view anyway (e.g.: what is the difference between a session > and a view)? > > > _______________________________________________ > konsole-devel mailing list > konsole-devel@kde.org > https://mail.kde.org/mailman/listinfo/konsole-devel > _______________________________________________ konsole-devel mailing list konsole-devel@kde.org https://mail.kde.org/mailman/listinfo/konsole-devel