[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konsole-devel
Subject:    Re: [Konsole-devel] Konsole + DCOP + DBus
From:       "Robert Knight" <robertknight () gmail ! com>
Date:       2008-12-16 10:20:35
Message-ID: 13ed09c00812160220q4240a141j64178695f955276e () mail ! gmail ! com
[Download RAW message or body]

> 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 <lists@toell.net>:
> 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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic