<br><div><span class="gmail_quote">On 3/11/06, <b class="gmail_sendername">Pradeepto Bhattacharya</b> <<a href="mailto:pradeeptob@gmail.com">pradeeptob@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>On 3/11/06, Aditya Mooley <<a href="mailto:aditya.ml@gmail.com">aditya.ml@gmail.com</a>> wrote:<br>> While developing the Koppermine application, I am creating a file called<br>> albumList.xml in the application directory
i.e. HOME/.kde/apps/koppermine to<br>> store the list of albums.<br>> But the directory apps/koppermine is not getting created by default when I<br>> install the application.<br><br> Aditya, the correct directory to do this is ~/.kde/share/apps/$APPNAME.
</blockquote><div><br>
Yes. Typing mistake by me.<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">><br>> My question is, Do I need to create this directory through my program or it
<br>> gets created automatically?<br><br> You can check this at the startof application if the directory<br>is present or not. Also you might consider looking at KStandardDirs<br>API [1]. You would be using "data" resource. Should be helpful to ya.
<br><br><br> [1] <a href="http://developer.kde.org/documentation/library/3.5-api/kdelibs-apidocs/kdecore/html/classKStandardDirs.html">http://developer.kde.org/documentation/library/3.5-api/kdelibs-apidocs/kdecore/html/classKStandardDirs.html
</a></blockquote><div><br>
Thanks for the link. Helped me a lot to solve my problem. <br>
</div><br>
Regards,<br></div><br>-- <br>Aditya Mooley<br>=============================================================<br>PHP Applications for E-Biz: <a href="http://www.sanisoft.com">http://www.sanisoft.com</a><br>Coppermine Picture Gallery:
<a href="http://coppermine.sf.net">http://coppermine.sf.net</a><br>=============================================================