|
|
|
@ -23,7 +23,7 @@ import java.util.ArrayList;
|
|
|
|
|
The main idea behind KStandardDirs is that there are several
|
|
|
|
|
toplevel prefixes below which the files lie. One of these prefixes is
|
|
|
|
|
the one where the user installed kdelibs, one is where the
|
|
|
|
|
application was installed, and one is $HOME/.kde, but there
|
|
|
|
|
application was installed, and one is $HOME/.trinity, but there
|
|
|
|
|
may be even more. Under these prefixes there are several well
|
|
|
|
|
defined suffixes where specific resource types are to be found.
|
|
|
|
|
For example, for the resource type "html" the suffixes could be
|
|
|
|
@ -33,7 +33,7 @@ import java.util.ArrayList;
|
|
|
|
|
To make the thing even more complex, it's also possible to register
|
|
|
|
|
absolute paths that KStandardDirs looks up after not finding anything
|
|
|
|
|
in the former steps. They can be useful if the user wants to provide
|
|
|
|
|
specific directories that aren't in his $HOME/.kde directory for,
|
|
|
|
|
specific directories that aren't in his $HOME/.trinity directory for,
|
|
|
|
|
for example, icons.
|
|
|
|
|
<li><b>Standard resources that kdelibs allocates are:</b></li>
|
|
|
|
|
|
|
|
|
@ -153,13 +153,13 @@ import java.util.ArrayList;
|
|
|
|
|
<li>
|
|
|
|
|
KDEHOME: The directory where changes are saved to. This directory is
|
|
|
|
|
used to search for resources first. If KDEHOME is not
|
|
|
|
|
specified it defaults to "$HOME/.kde"
|
|
|
|
|
specified it defaults to "$HOME/.trinity"
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
KDEROOTHOME: Like KDEHOME, but used for the root user.
|
|
|
|
|
If KDEROOTHOME is not set it defaults to the .kde directory in the
|
|
|
|
|
home directory of root, usually "/root/.kde".
|
|
|
|
|
home directory of root, usually "/root/.trinity".
|
|
|
|
|
Note that the setting of $HOME is ignored in this case.
|
|
|
|
|
</li>
|
|
|
|
|
@author Stephan Kulow <coolo@kde.org> and Sirtaj Singh Kang <taj@kde.org>
|
|
|
|
@ -312,7 +312,7 @@ public class KStandardDirs implements QtSupport {
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
<li>
|
|
|
|
|
/home/joe/.kde/share/applnk/Settings/
|
|
|
|
|
/home/joe/.trinity/share/applnk/Settings/
|
|
|
|
|
</li>
|
|
|
|
|
Note that it appends / to the end of the directories,
|
|
|
|
|
so you can use this right away as directory names.
|
|
|
|
@ -478,7 +478,7 @@ public class KStandardDirs implements QtSupport {
|
|
|
|
|
public native String kfsstnd_xdg_data_prefixes();
|
|
|
|
|
/**
|
|
|
|
|
Returns the toplevel directory in which KStandardDirs
|
|
|
|
|
will store things. Most likely $HOME/.kde
|
|
|
|
|
will store things. Most likely $HOME/.trinity
|
|
|
|
|
Don't use this function if you can use locateLocal
|
|
|
|
|
@return the toplevel directory
|
|
|
|
|
|
|
|
|
|