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