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

List:       kde-devel
Subject:    Re: Tutorials?
From:       Gary Meyer <gary () meyer ! net>
Date:       1999-11-19 8:55:21
[Download RAW message or body]

Frerich Raabe wrote:

>
>         - What the heck do you guys mean when you talk about the "Doc View"
> model? I know that it's some technique to seperate the "core" document object
> and the view which displays the contents if a Doc object but how do I use it
> effectively??

In KCron (See kdeadmin/kcron in CVS or http://24.8.19.113/kcron.html) I have very
strong separation between my document layer (CT-prefixed classes) and my view
layer (KT-prefixed classes).  Notice the fundamental differences as to what is
#include'd in the types of files.  It provides a good example of how and why to
separte these two layers of a simple GUI application.  It is also writting in
KDevelop, initially based off the sample wizard KDE application.

Consider reviewing as a simple, but non trivial, example.

-- Gary

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

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