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

List:       kde-devel
Subject:    class KStartParams
From:       Michael Koch <m_koch () bigfoot ! de>
Date:       1999-06-07 13:47:18
[Download RAW message or body]

Hi developers,


I've written a clas for easy working with command-line arguments. Currently it
is in the CVS under koffice/kimage. I want to check it into kdebase/kdecore. I
think that (nearly) every app can use this class.

We can make it a part of KApplication or KGlobal, too. This way we have
an easy use of command-line arguments in each application. 

I want to make KoApplication in KOffice-libs using KStartParams. There we have
the command-line options "-s" and "--server" for starting an app as server.
This feature has every KO-app. each implements this feature for itself. Why
don't make this in KoApplication?

In KO we can also use this class to load all files given on the command-line.
Now in KO each app implements its own loading-code. Why not simplify the code?


Any suggestions ?

--
Michael Koch

KDE fan, enthusiast and developer
projects: Katabase and KImageShop
writing documentation of KOM/OP

student of computer science at
university of applied sciences
Darmstadt, Germany

m_koch@bigfoot.de and mkoch@mail.riednet.wh.tu-darmstadt
http://www.riednet.wh.tu-darmstadt/~mkoch

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

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