summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-09-27 16:03:56 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-09-27 16:03:56 +0900
commita615469e90c89c23000bd7c2f2905744123ac728 (patch)
treee3db27e2ce51ea6c9cfb0bb7dc2256bf4f8e60f0 /scripts
parentfe4b336173b34957c0ebaecaba3d8781623acb68 (diff)
downloadtdesdk-a615469e90c89c23000bd7c2f2905744123ac728.tar.gz
tdesdk-a615469e90c89c23000bd7c2f2905744123ac728.zip
qt -> tqt conversion:
QTDIR -> TQTDIR QTDOC -> TQTDOC INCDIR_QT -> INCDIR_TQT LIBDIR_QT -> LIBDIR_TQT QT_INC -> TQT_INC QT_LIB -> TQT_LIB Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/kde-build16
-rw-r--r--scripts/kde-buildrc2
-rw-r--r--scripts/kde-devel-vim.vim4
-rw-r--r--scripts/kde-emacs/kde-emacs-utils.el6
-rwxr-xr-xscripts/qtdoc10
-rwxr-xr-xscripts/tdesvn-build6
6 files changed, 22 insertions, 22 deletions
diff --git a/scripts/kde-build b/scripts/kde-build
index de6f6c3b..666e763e 100755
--- a/scripts/kde-build
+++ b/scripts/kde-build
@@ -51,7 +51,7 @@ err_install_fail="5"
#
err_inv_kdesrcdir="6"
-# The $QTDIR variable wasn't set, points to a non-existant directory or
+# The $TQTDIR variable wasn't set, points to a non-existant directory or
# doesn't contain a bin/, lib/, or include/ subdirectory.
#
err_inv_qtdir="7"
@@ -370,7 +370,7 @@ if [ "$dousage" -eq 1 ]; then
fi
# Expand ~
-QTDIR=`echo "$QTDIR" | sed -e "s,^\~/,$HOME/,"`
+TQTDIR=`echo "$TQTDIR" | sed -e "s,^\~/,$HOME/,"`
KDESRCDIR=`echo "$KDESRCDIR" | sed -e "s,^\~/,$HOME/,"`
KDEBUILDDIR=`echo "$KDEBUILDDIR" |sed -e "s,^\~/,$HOME/,"`
TDEDIRS=`echo "$TDEDIRS" |sed -e "s,^\~/,$HOME/,"`
@@ -378,9 +378,9 @@ KDELOGDIR=`echo "$KDELOGDIR" |sed -e "s,^\~/,$HOME/,"`
# Make sure some paths are according to the rc file. Note that there are AFAIK
# UNIX flavors which don't support LD_LIBRARY_PATH
-PATH=$QTDIR/bin:$TDEDIRS/bin:$PATH
-MANPATH=$QTDIR/doc/man:$MANPATH
-LD_LIBRARY_PATH=$TDEDIRS/lib:$QTDIR/lib:$LD_LIBRARY_PATH
+PATH=$TQTDIR/bin:$TDEDIRS/bin:$PATH
+MANPATH=$TQTDIR/doc/man:$MANPATH
+LD_LIBRARY_PATH=$TDEDIRS/lib:$TQTDIR/lib:$LD_LIBRARY_PATH
if [ -n "$USE_UNSERMAKE" ]; then
if [ -n "$MAKE" ]; then
@@ -445,7 +445,7 @@ fi
if [ ! -d "$KDESRCDIR" ]; then
echo "ERROR: Invalid source directory specified!"; exit $err_inv_kdesrcdir
fi
-if [ ! -d "$QTDIR" -o ! -d "$QTDIR/lib" -o ! -d "$QTDIR/bin" -o ! -d "$QTDIR/include" ]; then
+if [ ! -d "$TQTDIR" -o ! -d "$TQTDIR/lib" -o ! -d "$TQTDIR/bin" -o ! -d "$TQTDIR/include" ]; then
echo "ERROR: Invalid Qt directory specified!"; exit $err_inv_qtdir
fi
@@ -678,9 +678,9 @@ for module in $modules; do
echo -n " Configuring..."
set_title "Configuring module $module..."
if [ -n "$KDEBUILDDIR" ]; then
- cmd_configure="$KDESRCDIR/$module/configure $CONFIGUREFLAGS --with-qt-dir=$QTDIR"
+ cmd_configure="$KDESRCDIR/$module/configure $CONFIGUREFLAGS --with-qt-dir=$TQTDIR"
else
- cmd_configure="./configure $CONFIGUREFLAGS --with-qt-dir=$QTDIR"
+ cmd_configure="./configure $CONFIGUREFLAGS --with-qt-dir=$TQTDIR"
fi
if echo $CONFIGUREFLAGS | grep -v -- "--prefix=" 2>/dev/null >/dev/null; then
cmd_configure="$cmd_configure --prefix=$TDEDIRS"
diff --git a/scripts/kde-buildrc b/scripts/kde-buildrc
index 24553e01..6d83a924 100644
--- a/scripts/kde-buildrc
+++ b/scripts/kde-buildrc
@@ -18,7 +18,7 @@ TDEDIRS="/opt/kde"
# Where is your Qt 3.3.x?
#
-QTDIR="/usr/lib/qt3"
+TQTDIR="/usr/lib/qt3"
# Should kppp be used to connect to the internet?
#
diff --git a/scripts/kde-devel-vim.vim b/scripts/kde-devel-vim.vim
index d59069ed..f58164af 100644
--- a/scripts/kde-devel-vim.vim
+++ b/scripts/kde-devel-vim.vim
@@ -13,8 +13,8 @@ set suffixes+=.lo,.o,.moc,.la,.closure,.loT
" Search for headers here
set path=.,/usr/include,/usr/local/include,
-if $QTDIR != ''
- let &path = &path . $QTDIR . '/include/,'
+if $TQTDIR != ''
+ let &path = &path . $TQTDIR . '/include/,'
endif
if $TDEDIR != ''
let &path = &path . $TDEDIR . '/include/,'
diff --git a/scripts/kde-emacs/kde-emacs-utils.el b/scripts/kde-emacs/kde-emacs-utils.el
index 37cc8977..d983ae30 100644
--- a/scripts/kde-emacs/kde-emacs-utils.el
+++ b/scripts/kde-emacs/kde-emacs-utils.el
@@ -865,14 +865,14 @@ This function does not do any hidden buffer changes."
(defun qt-open-header ()
"Open the Qt header file for the class under point"
(interactive)
- (let* ((qtinc (concat (getenv "QTDIR") "/include/"))
+ (let* ((qtinc (concat (getenv "TQTDIR") "/include/"))
(class (thing-at-point 'word))
(f nil)
(file nil)
(files nil)
)
(save-excursion
- ; The Qt3 case: the includes are directly in $QTDIR/include/, lowercased
+ ; The Qt3 case: the includes are directly in $TQTDIR/include/, lowercased
(set f (concat qtinc (downcase class) ".h" ))
(if (file-readable-p f)
(set file f)
@@ -880,7 +880,7 @@ This function does not do any hidden buffer changes."
(set f (concat qtinc (downcase class) "_qws.h" ))
(if (file-readable-p f)
(set file f)
- ; The Qt4 case: the includes are in $QTDIR/include/QSomething/, in original case
+ ; The Qt4 case: the includes are in $TQTDIR/include/QSomething/, in original case
(set files (directory-files qtinc t nil "dirsonly"))
(dolist (f files nil)
(if (file-readable-p (concat f "/" class) )
diff --git a/scripts/qtdoc b/scripts/qtdoc
index 6250f7a9..f20fe2b2 100755
--- a/scripts/qtdoc
+++ b/scripts/qtdoc
@@ -1,7 +1,7 @@
#!/bin/sh
-if [ -z "$QTDIR" ]; then
- QTDIR=/usr/share/qt3
+if [ -z "$TQTDIR" ]; then
+ TQTDIR=/usr/share/qt3
fi
# Run from command line, to open a qt help page in kfm/konqueror
@@ -10,8 +10,8 @@ fi
if [ $# = 1 ]; then
fname=`echo $1 | tr '[A-Z]' '[a-z]'`
- if [ -f $QTDIR/doc/html/$fname.html ]; then
- tdeinit_wrapper kfmclient openProfile webbrowsing file:$QTDIR/doc/html/$fname.html
+ if [ -f $TQTDIR/doc/html/$fname.html ]; then
+ tdeinit_wrapper kfmclient openProfile webbrowsing file:$TQTDIR/doc/html/$fname.html
else
if [ -f /usr/doc/qt2/html/$fname.html ]; then
tdeinit_wrapper kfmclient openProfile webbrowsing file:/usr/doc/qt2/html/$fname.html
@@ -20,5 +20,5 @@ if [ $# = 1 ]; then
fi
fi
else
- kfmclient openURL file:$QTDIR/doc/html/index.html
+ kfmclient openURL file:$TQTDIR/doc/html/index.html
fi
diff --git a/scripts/tdesvn-build b/scripts/tdesvn-build
index ec48e3e9..525909c1 100755
--- a/scripts/tdesvn-build
+++ b/scripts/tdesvn-build
@@ -3434,7 +3434,7 @@ sub update_module_environment
# Set up the children's environment. We use setenv since it
# won't set an environment variable to nothing. (e.g, setting
- # QTDIR to a blank string might confuse Qt or KDE.
+ # TQTDIR to a blank string might confuse Qt or KDE.
# Remove leading and trailing colons, just in case.
# Also remove more than one colon.
@@ -3462,7 +3462,7 @@ sub update_module_environment
setenv ('LD_LIBRARY_PATH', $libdir);
setenv ('PATH', $path);
setenv ('TDEDIR', $tdedir);
- setenv ('QTDIR', $qtdir);
+ setenv ('TQTDIR', $qtdir);
# Qt has several defines of its own. Special case qt-copy for this
# reason.
@@ -3579,7 +3579,7 @@ sub build_module
$qtpath =~ s/$ENV{HOME}/~/;
warning <<EOF;
-b[y[!!] You're building qt-copy, but QTDIR isn't set to use qt-copy!
+b[y[!!] You're building qt-copy, but TQTDIR isn't set to use qt-copy!
b[y[!!] Please set your qtdir variable in the global section of your
b[y[!!] $rcfile to g[$qtpath]