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

List:       kde-devel
Subject:    Re: How does the program know which directories to look into?
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2007-08-25 12:35:46
Message-ID: 200708251435.53060.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Saturday 25 August 2007, Kelly wrote:
> Okay, after a huge search of kdecore, I'm still somewhat confused.  How
> does a program know that where its resources are, and its configuration?  I
> know this sounds stupid, but I've only seen the Windows way (put it either
> in the PATH or in the same folder as the program), and Unix-style systems
> seem to do it a different way.

They either use KStandardDirs or a class that does this internally, e.g. 
KConfig
 
http://api.kde.org/4.0-api/kdelibs-apidocs/kdecore/html/classKStandardDirs.html

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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