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

List:       kde-devel
Subject:    Adding resource-dirs
From:       Christian Nitschkowski <segfault_ii () web ! de>
Date:       2003-11-11 22:45:49
[Download RAW message or body]

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

Hi!

I've got a question about resource-dirs and KService in KDE 3.1.

I found that KService::serviceByDesktopName( "bla" ); will only search in
$KDEDIRS/share/applnk and $KDEDIRS/share/services for a file "bla.desktop".

Is there any way I could add a new path where KService should look at?
I'd like to add $KDEDIRS/share/app/myapp/templates as another directory where 
KService will look for "bla.desktop".
Is this possible?
Could it perhaps be done with KStandardDirs::addResourceDir(const char*, 
QString&); ?

Regards
Christian Nitschkowski

- -- 
- --: Christian Nitschkowski <segfault_ii@web.de> :--
- --: Jabber: segfault_ii@a-message.de :--
- --: ICQ#: 66190597 :--

Go where the silence is and say something
- - Chumbawamba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/sWae119BwfrC2gIRAtJCAKDk7sz/R5F0gSNTnUVxBCIllbgZcgCfbmr7
4kxI3lMPKXiWVPvVEDv3cYo=
=X0cZ
-----END 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