Rename kde libraries to tde

pull/1/head
Timothy Pearson 13 years ago
parent b1de72ca42
commit 3ab52cc770

@ -261,11 +261,11 @@ public class KStandardDirs implements QtSupport {
All absolute paths (most recent first). All absolute paths (most recent first).
</li> </li>
The filename should be a filename relative to the base dir The filename should be a filename relative to the base dir
for resources. So is a way to get the path to libkdecore.la for resources. So is a way to get the path to libtdecore.la
to findResource("lib", "libkdecore.la"). KStandardDirs will to findResource("lib", "libtdecore.la"). KStandardDirs will
then look into the subdir lib of all elements of all prefixes then look into the subdir lib of all elements of all prefixes
($KDEDIRS) for a file libkdecore.la and return the path to ($KDEDIRS) for a file libtdecore.la and return the path to
the first one it finds (e.g. /opt/kde/lib/libkdecore.la) the first one it finds (e.g. /opt/kde/lib/libtdecore.la)
@param type The type of the wanted resource @param type The type of the wanted resource
@param filename A relative filename of the resource. @param filename A relative filename of the resource.
@return A full path to the filename specified in the second @return A full path to the filename specified in the second
@ -331,8 +331,8 @@ public class KStandardDirs implements QtSupport {
This way the application can access a couple of files This way the application can access a couple of files
that have been installed into the same directory without that have been installed into the same directory without
having to look for each file. having to look for each file.
findResourceDir("lib", "libkdecore.la") would return the findResourceDir("lib", "libtdecore.la") would return the
path of the subdir libkdecore.la is found first in path of the subdir libtdecore.la is found first in
(e.g. /opt/kde/lib/) (e.g. /opt/kde/lib/)
@param type The type of the wanted resource @param type The type of the wanted resource
@param filename A relative filename of the resource. @param filename A relative filename of the resource.

@ -5,7 +5,7 @@ ClassName=ExamplePrefsBase
# #
# Inherits=KConfigSkeleton # Inherits=KConfigSkeleton
# #
# IncludeFiles=libkdepim/kpimprefs.h # IncludeFiles=libtdepim/kpimprefs.h
# #
# MemberVariables=public # MemberVariables=public
# #

@ -5,7 +5,7 @@ ClassName=Test1
# #
# Inherits=KConfigSkeleton # Inherits=KConfigSkeleton
# #
# IncludeFiles=libkdepim/kpimprefs.h # IncludeFiles=libtdepim/kpimprefs.h
# #
# MemberVariables=public # MemberVariables=public
# #

Loading…
Cancel
Save