summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-07 19:07:56 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-07 19:07:56 -0600
commit473aa7b12a41fb8c3765e6f8821ab09870eae007 (patch)
tree375baf84a40cd8a9976cba039db204062ea663e6
parent9e7608eef5bc6d209610bf4509cf6a655c054ec8 (diff)
downloadtdebindings-473aa7b12a41fb8c3765e6f8821ab09870eae007.tar.gz
tdebindings-473aa7b12a41fb8c3765e6f8821ab09870eae007.zip
Rename KDEHOME and KDEDIR
-rw-r--r--dcopperl/Makefile.PL2
-rw-r--r--kalyptus/kalyptus.spec.in2
-rw-r--r--kdejava/koala/org/kde/koala/KAudioPlayer.java2
-rw-r--r--kdejava/koala/org/kde/koala/KMimeMagic.java2
-rw-r--r--kdejava/koala/org/kde/koala/KNotifyClient.java2
-rw-r--r--kdejava/koala/org/kde/koala/KPanelExtension.java2
-rw-r--r--kdejava/koala/org/kde/koala/KPanelMenu.java2
-rw-r--r--kdejava/koala/org/kde/koala/KService.java2
-rw-r--r--kdejava/koala/org/kde/koala/KServiceType.java2
-rw-r--r--kdejava/koala/org/kde/koala/KStandardDirs.java18
-rw-r--r--kdejava/koala/org/kde/koala/KSycoca.java2
-rw-r--r--kdejava/koala/org/kde/koala/KTempDir.java2
-rw-r--r--kdejava/koala/org/kde/koala/KTempFile.java2
-rw-r--r--kdejava/koala/org/kde/koala/Plugin.java2
-rw-r--r--kdejava/koala/test/dcop/README2
-rw-r--r--kjsembed/docs/embedding/simple-embed/README2
-rw-r--r--kjsembed/docs/examples/envelopemaker/README2
-rw-r--r--kjsembed/jsbuiltin_imp.cpp4
-rw-r--r--korundum/rubylib/templates/annotated/menuapp3.rb4
-rw-r--r--qtruby/rubylib/examples/base/kicons.rb4
-rw-r--r--smoke/kde/generate.pl.in4
-rw-r--r--smoke/qt/generate.pl.in2
22 files changed, 34 insertions, 34 deletions
diff --git a/dcopperl/Makefile.PL b/dcopperl/Makefile.PL
index fbab8952..66121e65 100644
--- a/dcopperl/Makefile.PL
+++ b/dcopperl/Makefile.PL
@@ -4,7 +4,7 @@ use Config;
# the contents of the Makefile that is written.
print "Trying to find some configuration information...\n";
-my $kde_dirs = $ENV{KDEDIRS} || '/usr/local/kde';
+my $kde_dirs = $ENV{TDEDIRS} || '/usr/local/kde';
my $qt_dir = $ENV{QTDIR} || '/usr/lib/qt';
my $kde_inc = "$kde_dirs/include";
my $kde_lib = "$kde_dirs/lib";
diff --git a/kalyptus/kalyptus.spec.in b/kalyptus/kalyptus.spec.in
index a258aada..65481310 100644
--- a/kalyptus/kalyptus.spec.in
+++ b/kalyptus/kalyptus.spec.in
@@ -24,7 +24,7 @@ rm -rf $RPM_BUILD_ROOT
make -f Makefile.cvs
%build
-export KDEDIR=%{prefix} QTDIR=%{qtdir}
+export TDEDIR=%{prefix} QTDIR=%{qtdir}
CXXFLAGS="$RPM_OPT_FLAGS -I%{prefix}/include/kde" ./configure \
--prefix=%{prefix}
make CXXFLAGS="$RPM_OPT_FLAGS -DNO_DEBUG -DNDEBUG"
diff --git a/kdejava/koala/org/kde/koala/KAudioPlayer.java b/kdejava/koala/org/kde/koala/KAudioPlayer.java
index 9ec50df9..5e9369b5 100644
--- a/kdejava/koala/org/kde/koala/KAudioPlayer.java
+++ b/kdejava/koala/org/kde/koala/KAudioPlayer.java
@@ -63,7 +63,7 @@ public class KAudioPlayer extends TQObject {
/**
Static play function.
@param filename Absolute path to the filename of the sound file to play.
- if not absolute, goes off KDEDIR/share/sounds/ (preferred)
+ if not absolute, goes off TDEDIR/share/sounds/ (preferred)
@short Static play function.
*/
public static native void play(String filename);
diff --git a/kdejava/koala/org/kde/koala/KMimeMagic.java b/kdejava/koala/org/kde/koala/KMimeMagic.java
index a98724a5..b3408dc9 100644
--- a/kdejava/koala/org/kde/koala/KMimeMagic.java
+++ b/kdejava/koala/org/kde/koala/KMimeMagic.java
@@ -10,7 +10,7 @@ import org.kde.qt.QtSupport;
Determine auto-magically the type of file,
not only by using its extension, but also by reading its contents.
Unless specified otherwise, KMimeMagic uses
- $KDEDIR/share/mimelnk/magic for this purpose.
+ $TDEDIR/share/mimelnk/magic for this purpose.
To make KMimeMagic restore the 'atime' of a file after it opened it,
add its directory in kmimemagicrc like:
[Settings]
diff --git a/kdejava/koala/org/kde/koala/KNotifyClient.java b/kdejava/koala/org/kde/koala/KNotifyClient.java
index 97711ccc..e79acb39 100644
--- a/kdejava/koala/org/kde/koala/KNotifyClient.java
+++ b/kdejava/koala/org/kde/koala/KNotifyClient.java
@@ -9,7 +9,7 @@ import org.kde.qt.QtSupport;
This namespace provides a method for issuing events to a KNotifyServer
call KNotifyClient.event("eventname"); to issue it.
On installation, there should be a file called
- $KDEDIR/share/apps/appname/eventsrc which contains the events.
+ $TDEDIR/share/apps/appname/eventsrc which contains the events.
The file looks like this:
<pre>
[!Global!]
diff --git a/kdejava/koala/org/kde/koala/KPanelExtension.java b/kdejava/koala/org/kde/koala/KPanelExtension.java
index 45dec6a8..bb64f64e 100644
--- a/kdejava/koala/org/kde/koala/KPanelExtension.java
+++ b/kdejava/koala/org/kde/koala/KPanelExtension.java
@@ -24,7 +24,7 @@ import org.kde.qt.TQFrame;
untrusted third party extensions directly into its namespace but via an
external wrapper process.
The panel locates available extensions by searching for extension desktop
- files in (ALL_KDEDIRS)/share/apps/kicker/extensions. Every panel extension should
+ files in (ALL_TDEDIRS)/share/apps/kicker/extensions. Every panel extension should
install a desktop file there to be recognized by the panel.
Besides standard keys like "Name", "Comment" and "Icon" there are
two panel extension specific keys:
diff --git a/kdejava/koala/org/kde/koala/KPanelMenu.java b/kdejava/koala/org/kde/koala/KPanelMenu.java
index 8167596d..d4b77f47 100644
--- a/kdejava/koala/org/kde/koala/KPanelMenu.java
+++ b/kdejava/koala/org/kde/koala/KPanelMenu.java
@@ -18,7 +18,7 @@ import org.kde.qt.TQWidget;
Finally, you also have to provide a desktop file describing your dynamic menu. The
relevant entries are: Name, Comment, Icon and X-KDE-Library (which contains the
library name without any extension). This desktop file has to be installed in
- $KDEDIR/share/apps/kicker/menuext/.
+ $TDEDIR/share/apps/kicker/menuext/.
@author The kicker maintainers, Michael Goffioul <tdeprint@swing.be>
@short Base class to build dynamically loaded menu entries for the K-menu, or the panel.
diff --git a/kdejava/koala/org/kde/koala/KService.java b/kdejava/koala/org/kde/koala/KService.java
index 6af7642d..04bc7302 100644
--- a/kdejava/koala/org/kde/koala/KService.java
+++ b/kdejava/koala/org/kde/koala/KService.java
@@ -197,7 +197,7 @@ public class KService extends KSycocaEntry {
Returns the path to the location where the service desktop entry
is stored.
This is a relative path if the desktop entry was found in any
- of the locations pointed to by $KDEDIRS (e.g. "Internet/kppp.desktop")
+ of the locations pointed to by $TDEDIRS (e.g. "Internet/kppp.desktop")
It is a full path if the desktop entry originates from another
location.
@return the path of the service's desktop file,
diff --git a/kdejava/koala/org/kde/koala/KServiceType.java b/kdejava/koala/org/kde/koala/KServiceType.java
index 3594633f..50a0e0e0 100644
--- a/kdejava/koala/org/kde/koala/KServiceType.java
+++ b/kdejava/koala/org/kde/koala/KServiceType.java
@@ -13,7 +13,7 @@ import org.kde.qt.TQVariant;
instead of a type of file.
For instance, KOfficeFilter is a service type.
It is associated to services according to the user profile (kuserprofile.h).
- Service types are stored as desktop files in $KDEHOME/share/servicetypes.
+ Service types are stored as desktop files in $TDEHOME/share/servicetypes.
@short A service type is the generic notion for a mimetype, a type of service instead of a type of file.
@see KService
diff --git a/kdejava/koala/org/kde/koala/KStandardDirs.java b/kdejava/koala/org/kde/koala/KStandardDirs.java
index 1e64aeed..e94dc5a3 100644
--- a/kdejava/koala/org/kde/koala/KStandardDirs.java
+++ b/kdejava/koala/org/kde/koala/KStandardDirs.java
@@ -138,26 +138,26 @@ import java.util.ArrayList;
<b>KStandardDirs supports the following environment variables:</b>
<li>
- KDEDIRS: This may set an additional number of directory prefixes to
+ TDEDIRS: This may set an additional number of directory prefixes to
search for resources. The directories should be separated
by ':'. The directories are searched in the order they are
specified.
</li>
<li>
- KDEDIR: Used for backwards compatibility. As KDEDIRS but only a single
- directory may be specified. If KDEDIRS is set KDEDIR is
+ TDEDIR: Used for backwards compatibility. As TDEDIRS but only a single
+ directory may be specified. If TDEDIRS is set TDEDIR is
ignored.
</li>
<li>
- KDEHOME: The directory where changes are saved to. This directory is
- used to search for resources first. If KDEHOME is not
+ TDEHOME: The directory where changes are saved to. This directory is
+ used to search for resources first. If TDEHOME is not
specified it defaults to "$HOME/.kde"
</li>
<li>
- KDEROOTHOME: Like KDEHOME, but used for the root user.
+ KDEROOTHOME: Like TDEHOME, 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".
Note that the setting of $HOME is ignored in this case.
@@ -189,7 +189,7 @@ public class KStandardDirs implements QtSupport {
</li>
<li>
- KDEDIRS or KDEDIR is taking into account
+ TDEDIRS or TDEDIR is taking into account
</li>
<li>
@@ -264,7 +264,7 @@ public class KStandardDirs implements QtSupport {
for resources. So is a way to get the path to libtdecore.la
to findResource("lib", "libtdecore.la"). KStandardDirs will
then look into the subdir lib of all elements of all prefixes
- ($KDEDIRS) for a file libtdecore.la and return the path to
+ ($TDEDIRS) for a file libtdecore.la and return the path to
the first one it finds (e.g. /opt/kde/lib/libtdecore.la)
@param type The type of the wanted resource
@param filename A relative filename of the resource.
@@ -280,7 +280,7 @@ public class KStandardDirs implements QtSupport {
specific files in the resource are ignored.
E.g. by restricting the "wallpaper" resource, only system-wide
installed wallpapers will be found by this class. Wallpapers
- installed under the $KDEHOME directory will be ignored.
+ installed under the $TDEHOME directory will be ignored.
@param type The type of the resource to check
@param relPath A relative path in the resource.
@return True if the resource is restricted.
diff --git a/kdejava/koala/org/kde/koala/KSycoca.java b/kdejava/koala/org/kde/koala/KSycoca.java
index 722178cd..ea1317c1 100644
--- a/kdejava/koala/org/kde/koala/KSycoca.java
+++ b/kdejava/koala/org/kde/koala/KSycoca.java
@@ -54,7 +54,7 @@ public class KSycoca extends TQObject implements DCOPObjectInterface {
public native int timeStamp();
/**
Signature that keeps track of changes to
- $KDEDIR/share/services/update_ksycoca
+ $TDEDIR/share/services/update_ksycoca
Touching this file causes the database to be recreated
from scratch.
@short
diff --git a/kdejava/koala/org/kde/koala/KTempDir.java b/kdejava/koala/org/kde/koala/KTempDir.java
index 6c5c1c5d..1b9900ca 100644
--- a/kdejava/koala/org/kde/koala/KTempDir.java
+++ b/kdejava/koala/org/kde/koala/KTempDir.java
@@ -32,7 +32,7 @@ public class KTempDir implements QtSupport {
/**
Creates a temporary directory with the name:
\p \<directoryPrefix\>\<six letters\>
- The default <pre>directoryPrefix</pre> is "$KDEHOME/tmp-$HOST/appname"
+ The default <pre>directoryPrefix</pre> is "$TDEHOME/tmp-$HOST/appname"
@param directoryPrefix the prefix of the file name, or
null for the default value
@param mode the file permissions,
diff --git a/kdejava/koala/org/kde/koala/KTempFile.java b/kdejava/koala/org/kde/koala/KTempFile.java
index 74b7fa5a..e642f567 100644
--- a/kdejava/koala/org/kde/koala/KTempFile.java
+++ b/kdejava/koala/org/kde/koala/KTempFile.java
@@ -34,7 +34,7 @@ public class KTempFile implements QtSupport {
/**
Creates a temporary file with the name:
\<filePrefix>\<six letters>\<fileExtension>
- The default <code>filePrefix</code> is "$KDEHOME/tmp-$HOST/appname/"
+ The default <code>filePrefix</code> is "$TDEHOME/tmp-$HOST/appname/"
The default <code>fileExtension</code> is ".tmp"
@param filePrefix the prefix of the file name, or null
for the default value
diff --git a/kdejava/koala/org/kde/koala/Plugin.java b/kdejava/koala/org/kde/koala/Plugin.java
index 84253dd3..63d973bb 100644
--- a/kdejava/koala/org/kde/koala/Plugin.java
+++ b/kdejava/koala/org/kde/koala/Plugin.java
@@ -20,7 +20,7 @@ import org.kde.qt.TQObject;
the plugin.
If you want this plugin to be used by a part, you need to
install the rc file under the directory
- "data" (KDEDIR/share/apps usually)+"/instancename/kpartplugins/"
+ "data" (TDEDIR/share/apps usually)+"/instancename/kpartplugins/"
where instancename is the name of the part's instance.
You should also install a "plugin info" .desktop file with the same name.
\see PluginInfo
diff --git a/kdejava/koala/test/dcop/README b/kdejava/koala/test/dcop/README
index 3143c6ea..1fb7fac7 100644
--- a/kdejava/koala/test/dcop/README
+++ b/kdejava/koala/test/dcop/README
@@ -7,7 +7,7 @@ The test app is in Test.java
To test it, you should do the following:
set your CLASSPATH (qtjava.jar & koala.jar)
-set your LD_LIBRARY_PATH (${KDEDIR}/lib
+set your LD_LIBRARY_PATH (${TDEDIR}/lib
compile it (javac *.java)
$javac *.java
diff --git a/kjsembed/docs/embedding/simple-embed/README b/kjsembed/docs/embedding/simple-embed/README
index 9f4bbff5..1c25cabd 100644
--- a/kjsembed/docs/embedding/simple-embed/README
+++ b/kjsembed/docs/embedding/simple-embed/README
@@ -69,7 +69,7 @@ http://developer.kde.org/documentation/tutorials/dot/dcopiface/dcop-interface.ht
http://public.kde.planetmirror.com/pub/kde/devel/gettext-kde/
2. Install that gettext in ~/bin/
3. cd ~/yourproject, export PATH=~/bin:$PATH, export
-KDEDIR=/where_your_KDE3_is
+TDEDIR=/where_your_KDE3_is
4. make -f admin/Makefile.common package-messages
5. make package-messages
6. Translate the po files (not the pot!!) with kbabel or xemacs
diff --git a/kjsembed/docs/examples/envelopemaker/README b/kjsembed/docs/examples/envelopemaker/README
index 3df8d4fd..230488e4 100644
--- a/kjsembed/docs/examples/envelopemaker/README
+++ b/kjsembed/docs/examples/envelopemaker/README
@@ -1,5 +1,5 @@
#To install
->unshar -d $YOURKDEDIR envelopemaker.sh
+>unshar -d $YOURTDEDIR envelopemaker.sh
#To package
>sh -x package.sh
diff --git a/kjsembed/jsbuiltin_imp.cpp b/kjsembed/jsbuiltin_imp.cpp
index ddcb3dd2..7cf96082 100644
--- a/kjsembed/jsbuiltin_imp.cpp
+++ b/kjsembed/jsbuiltin_imp.cpp
@@ -239,8 +239,8 @@ KJS::Value JSBuiltInImp::call( KJS::ExecState *exec, KJS::Object &self, const KJ
else if ( id == MethodImport ) {
#ifndef QT_ONLY
- // Scan $KDEDIRS/share/apps/$APPNAME/
- // Scan $KDEDIRS/share/apps/kjsembed/
+ // Scan $TDEDIRS/share/apps/$APPNAME/
+ // Scan $TDEDIRS/share/apps/kjsembed/
KGlobal::dirs()->addResourceType("kjsembed", KStandardDirs::kde_default("data") +"/kjsembed/");
TQString fname = KGlobal::dirs ()->findResource ("kjsembed", TQString(arg0));
diff --git a/korundum/rubylib/templates/annotated/menuapp3.rb b/korundum/rubylib/templates/annotated/menuapp3.rb
index bd701d43..c5ccccfc 100644
--- a/korundum/rubylib/templates/annotated/menuapp3.rb
+++ b/korundum/rubylib/templates/annotated/menuapp3.rb
@@ -58,7 +58,7 @@ class MainWin < KDE::MainWindow
# menuapp2.rb. Otherwise, the menuapp2 and menuapp3
# are identical 'createGUI' expects to find 'menuapp3ui.rc'
# either in the directory menuapp3.rb is run from, or
- # in $KDEDIR/apps/menuapp3/
+ # in $TDEDIR/apps/menuapp3/
createGUI()
# Create the status bar
@@ -83,7 +83,7 @@ class MainWin < KDE::MainWindow
# The standard actions only need to specify the slot
# where the code for the action is located
- # Because the XMLGUI mechanism parses $KDEDIR/config/ui/ui_standards.rc
+ # Because the XMLGUI mechanism parses $TDEDIR/config/ui/ui_standards.rc
# before parsing and merging menuapp3ui.rc, it actually isn't
# necessary to list KDE::StdAction actions in menuapp3.rc. THE XMLGUI
# code will create menu/toolbar items and place them *automatically*
diff --git a/qtruby/rubylib/examples/base/kicons.rb b/qtruby/rubylib/examples/base/kicons.rb
index 1922d70e..fb172b51 100644
--- a/qtruby/rubylib/examples/base/kicons.rb
+++ b/qtruby/rubylib/examples/base/kicons.rb
@@ -15,7 +15,7 @@ class KIconCollection
"32x32"
end
def kdedir
- ENV["KDEDIR"]
+ ENV["TDEDIR"]
end
def get_icon_path(icon_type)
info = @icon_info[icon_type]
@@ -51,4 +51,4 @@ icon_collections = {
}
}
$kIcons = KIconCollection.new(icon_collections)
-print "Using KDEDIR == ", $kIcons.kdedir, "\n"
+print "Using TDEDIR == ", $kIcons.kdedir, "\n"
diff --git a/smoke/kde/generate.pl.in b/smoke/kde/generate.pl.in
index 04ef4f90..bb124871 100644
--- a/smoke/kde/generate.pl.in
+++ b/smoke/kde/generate.pl.in
@@ -73,7 +73,7 @@ my %excludes = (
'qwindowsxpstyle.h' => 1 # play on the safe side
);
-# Some systems have a QTDIR = KDEDIR = PREFIX
+# Some systems have a QTDIR = TDEDIR = PREFIX
# We need a complete list
my %includes;
@@ -117,7 +117,7 @@ my %kdeexcludes = (
'knotifywidgetbase.h' => 1,
);
-# Some systems have a QTDIR = KDEDIR = PREFIX
+# Some systems have a QTDIR = TDEDIR = PREFIX
# We need a complete list
my %kdeincludes;
diff --git a/smoke/qt/generate.pl.in b/smoke/qt/generate.pl.in
index b2f511b4..26517ac1 100644
--- a/smoke/qt/generate.pl.in
+++ b/smoke/qt/generate.pl.in
@@ -80,7 +80,7 @@ my %excludes = (
'qwindowsxpstyle.h' => 1 # play on the safe side
);
-# Some systems have a QTDIR = KDEDIR = PREFIX
+# Some systems have a QTDIR = TDEDIR = PREFIX
# We need a complete list
my %includes;