working in a generated project by KDevelop

Pupeno pupeno at pupeno.com.ar
Sun Nov 18 23:53:48 GMT 2001


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm making a program to create statistics based on traceroute and pings.
I decied to make it mdi, so I generated the project with KDevelop, a KDE mdi 
application.
My application is called KRStat, so, I have three classes KRStatApp, 
KRStatDoc and KRStatView.
I'm trying to understand this 'document-model' while programming.
So, KRStatView is the class designed to generate the interface for the user 
and KRStatDoc the class designed to do the hard work, right ?
I writed in the constructor of KRStatView the code to generate the interface 
(one label, one textbox, one button and a table by now).
So, when the button is presed, the traceroute should be made using the ip 
written in the textbox and the results should be shown in the table.
My questions is, should I write the code to traceroute in the Doc class ? 
should I write another class ?
If I create another class, let's call it TraceRoute, I create an object of 
that class and I run a function called trace in there, it traceroutes and 
stores the information somewhere, should it write directly to the table, 
should the View class fetch the information and write it directly to the 
table, or the Doc class ?
Sorry for such a basic question, I'm a bit lost here. If you can spot me any 
documentation I can read to understand this and use it, it will be welcome.
Thank you!
Carpe diem!
- -- 
Pupeno: pupeno at pupeno.com.ar
http://www.pupeno.com.ar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7+EoPWhjnmGRO4vQRAu6PAJ9wbIOI5DAG65yDam4p9gkuNJyphQCfcC28
TwP++tzUrfQNbCSG0qz/h7U=
=O7fv
-----END PGP SIGNATURE-----

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list