-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday, 30. July 2002 19:05, nakedmind@softhome.net wrote: > Hello everybody, > > My application has some html files which are to be rendered by a > KHTMLPart object. To install them at $KDEDIR/share/apps/myapp/HTML_DIR, > I just used the file properties macros within kdevelop. In my case > $KDEDIR is /opt/kde3, and hence to render these files, I just define > the exact KURL used by the KHTMLPart object. However, I want to share > my application among many others who may have their kde3 in other > source dir :-) > > 1) I want to know how to tell the KHTMLPart object how to obtain such a > path on the most possible transparent way. #include QString filePath =3D locate("appdata", "HTML_DIR/"+filename); See KStandardDirs doc for details. hth, kevin - --=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Kevin Krammer Developer at the Kmud Project http://www.kmud.de/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9Rs7wnKMhG6pzZJIRAnThAJ42XhYo44Z1eQlbTHhT3yyUZ79lqgCfSwUH tl9M48cxpZttBxVtBVtsEX0=3D =3Dg2iv -----END PGP SIGNATURE----- >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<