From kde-devel Mon Jun 07 13:47:18 1999 From: Michael Koch Date: Mon, 07 Jun 1999 13:47:18 +0000 To: kde-devel Subject: class KStartParams X-MARC-Message: https://marc.info/?l=kde-devel&m=92876366721599 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