From kde-devel Tue Nov 11 22:45:49 2003 From: Christian Nitschkowski Date: Tue, 11 Nov 2003 22:45:49 +0000 To: kde-devel Subject: Adding resource-dirs X-MARC-Message: https://marc.info/?l=kde-devel&m=106859111911509 -----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 :-- - --: 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 <<