Initial TDE conversion

pull/1/head
Slávek Banko 12 years ago
parent cf4f444abb
commit 338a4464b5

@ -107,7 +107,7 @@
- Removed the Authors tab from the About dialog - Removed the Authors tab from the About dialog
- Setup: Fast compilation is now enabled by default (--enable-final) - Setup: Fast compilation is now enabled by default (--enable-final)
- Updated documentation - Updated documentation
- Setup: "kdesu" instead of "su" (works on both Fedora and Kubuntu) - Setup: "tdesu" instead of "su" (works on both Fedora and Kubuntu)
2005/10/18 0.7.1 Beta 2005/10/18 0.7.1 Beta
- NEW: Ability to execute a specified action when selected application exit - NEW: Ability to execute a specified action when selected application exit
@ -119,13 +119,13 @@
- Updated Handbook - Updated Handbook
- Removed obsolete FAQ - Removed obsolete FAQ
- Removed "locolor" icon - Removed "locolor" icon
- RPM .spec: Removed "kdebase" dependency - RPM .spec: Removed "tdebase" dependency
- Removed deprecated Wizard and Scheduler functions - Removed deprecated Wizard and Scheduler functions
- NEW: "Shut Down" and "Reboot" commands are now disabled if KDM is not running. - NEW: "Shut Down" and "Reboot" commands are now disabled if TDM is not running.
To enable these commands go to "Settings" -> "Configure KShutDown" -> "Actions", To enable these commands go to "Settings" -> "Configure KShutDown" -> "Actions",
and set methods to "/sbin/...", "poweroff" or "reboot". and set methods to "/sbin/...", "poweroff" or "reboot".
- NEW: Balloon popup messages based on the "kdialog" program - NEW: Balloon popup messages based on the "kdialog" program
- QListView* -> KListView* - QListView* -> TDEListView*
- Improved and fixed KDE Kiosk support - Improved and fixed KDE Kiosk support
- FIXED: System tray icon hidding option - FIXED: System tray icon hidding option
- FIXED: Confirmation message box position - FIXED: Confirmation message box position

12
Setup

@ -13,7 +13,7 @@ META_VERSION="`cat VERSION`"
#fi #fi
# installation dirs # installation dirs
DEFAULT_DIR=`kde-config --prefix` DEFAULT_DIR=`tde-config --prefix`
if [ -z "$DEFAULT_DIR" ]; then if [ -z "$DEFAULT_DIR" ]; then
DEFAULT_DIR="/usr" DEFAULT_DIR="/usr"
fi fi
@ -47,7 +47,7 @@ I18N_COMP_FAILED="Compilation failed!"
I18N_CONF_FAILED="Configuration failed!" I18N_CONF_FAILED="Configuration failed!"
I18N_COMP_START="Compiling..." I18N_COMP_START="Compiling..."
I18N_MINU=" This may take a few minutes." I18N_MINU=" This may take a few minutes."
I18N_MISSING_DEPEN1="Make sure you have installed the 'kdelibs-devel' package" I18N_MISSING_DEPEN1="Make sure you have installed the 'tdelibs-devel' package"
I18N_MISSING_DEPEN2=" which is required to compile any KDE application." I18N_MISSING_DEPEN2=" which is required to compile any KDE application."
I18N_ENTER_DIR="Enter a new prefix" I18N_ENTER_DIR="Enter a new prefix"
I18N_SETUP="Setup" I18N_SETUP="Setup"
@ -73,7 +73,7 @@ if [[ ("$LANG" == "pl_PL.UTF-8") || ("$LANG" == "pl_PL") || ("$LANG" == "pl") ]]
I18N_CONF_FAILED="Konfiguracja nie powiodla sie!" I18N_CONF_FAILED="Konfiguracja nie powiodla sie!"
I18N_COMP_START="Kompilowanie..." I18N_COMP_START="Kompilowanie..."
I18N_MINU=" To moze potrwac kilka minut." I18N_MINU=" To moze potrwac kilka minut."
I18N_MISSING_DEPEN1="Upewnij sie, ze masz zainstalowana paczke 'kdelibs-devel'," I18N_MISSING_DEPEN1="Upewnij sie, ze masz zainstalowana paczke 'tdelibs-devel',"
I18N_MISSING_DEPEN2=" ktora jest wymagana do kompilacji jakiejkolwiek aplikacji KDE." I18N_MISSING_DEPEN2=" ktora jest wymagana do kompilacji jakiejkolwiek aplikacji KDE."
I18N_ENTER_DIR="Wprowadz nowy prefix" I18N_ENTER_DIR="Wprowadz nowy prefix"
I18N_SETUP="Instalator" I18N_SETUP="Instalator"
@ -100,7 +100,7 @@ if [[ ("$LANG" == "it_IT.UTF-8") || ("$LANG" == "it_IT") || ("$LANG" == "it") ]]
I18N_CONF_FAILED="Configurazione fallita!" I18N_CONF_FAILED="Configurazione fallita!"
I18N_COMP_START="Compilazione..." I18N_COMP_START="Compilazione..."
I18N_MINU=" Per questo potrebbero volerci alcuni minuti." I18N_MINU=" Per questo potrebbero volerci alcuni minuti."
I18N_MISSING_DEPEN1="Assicurati di aver installato il pacchetto 'kdelibs-devel'" I18N_MISSING_DEPEN1="Assicurati di aver installato il pacchetto 'tdelibs-devel'"
I18N_MISSING_DEPEN2=" che è necessario per compilare ogni applicazione KDE." I18N_MISSING_DEPEN2=" che è necessario per compilare ogni applicazione KDE."
I18N_ENTER_DIR="Inserisci una nuova destinazione" I18N_ENTER_DIR="Inserisci una nuova destinazione"
I18N_SETUP="Installazione" I18N_SETUP="Installazione"
@ -157,7 +157,7 @@ ks_show_menu()
echo echo
echo echo
echo -e " ${KEY_C}${I18N_TITLE_SETUP}${DEF_C}" echo -e " ${KEY_C}${I18N_TITLE_SETUP}${DEF_C}"
echo -e " [${KEY_C}i${DEF_C}] $I18N_INSTALL (./configure --prefix=${INSTALL_DIR}, make, kdesu -c \"make install\")" echo -e " [${KEY_C}i${DEF_C}] $I18N_INSTALL (./configure --prefix=${INSTALL_DIR}, make, tdesu -c \"make install\")"
echo -e " [${KEY_C}p${DEF_C}] $I18N_CHANGE_DIR" echo -e " [${KEY_C}p${DEF_C}] $I18N_CHANGE_DIR"
if [ -n "$FAST_COMPILATION" ]; then if [ -n "$FAST_COMPILATION" ]; then
echo -e " [${KEY_C}f${DEF_C}] $I18N_DISABLE_FAST"; echo -e " [${KEY_C}f${DEF_C}] $I18N_DISABLE_FAST";
@ -207,7 +207,7 @@ while [ 1 ]; do
ks_kill "$I18N_INST_FAILED" ks_kill "$I18N_INST_FAILED"
fi fi
else else
if kdesu -c "make install"; then if tdesu -c "make install"; then
ks_show_finish_info ks_show_finish_info
ks_quit ks_quit
else else

@ -23,8 +23,8 @@ dnl IMPORTANT NOTE:
dnl Please do not modify this file unless you expect your modifications to be dnl Please do not modify this file unless you expect your modifications to be
dnl carried into every other module in the repository. dnl carried into every other module in the repository.
dnl dnl
dnl Single-module modifications are best placed in configure.in for kdelibs dnl Single-module modifications are best placed in configure.in for tdelibs
dnl and kdebase or configure.in.in if present. dnl and tdebase or configure.in.in if present.
# KDE_PATH_X_DIRECT # KDE_PATH_X_DIRECT
dnl Internal subroutine of AC_PATH_X. dnl Internal subroutine of AC_PATH_X.
@ -103,41 +103,41 @@ ac_x_libraries=],
[LIBS="$ac_save_LIBS" [LIBS="$ac_save_LIBS"
# First see if replacing the include by lib works. # First see if replacing the include by lib works.
# Check X11 before X11Rn because it is often a symlink to the current release. # Check X11 before X11Rn because it is often a symlink to the current release.
for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${kdelibsuff}/` \ for ac_dir in `echo "$ac_x_includes" | sed s/include/lib${tdelibsuff}/` \
/usr/X11/lib${kdelibsuff} \ /usr/X11/lib${tdelibsuff} \
/usr/X11R6/lib${kdelibsuff} \ /usr/X11R6/lib${tdelibsuff} \
/usr/X11R5/lib${kdelibsuff} \ /usr/X11R5/lib${tdelibsuff} \
/usr/X11R4/lib${kdelibsuff} \ /usr/X11R4/lib${tdelibsuff} \
\ \
/usr/lib${kdelibsuff}/X11 \ /usr/lib${tdelibsuff}/X11 \
/usr/lib${kdelibsuff}/X11R6 \ /usr/lib${tdelibsuff}/X11R6 \
/usr/lib${kdelibsuff}/X11R5 \ /usr/lib${tdelibsuff}/X11R5 \
/usr/lib${kdelibsuff}/X11R4 \ /usr/lib${tdelibsuff}/X11R4 \
\ \
/usr/local/X11/lib${kdelibsuff} \ /usr/local/X11/lib${tdelibsuff} \
/usr/local/X11R6/lib${kdelibsuff} \ /usr/local/X11R6/lib${tdelibsuff} \
/usr/local/X11R5/lib${kdelibsuff} \ /usr/local/X11R5/lib${tdelibsuff} \
/usr/local/X11R4/lib${kdelibsuff} \ /usr/local/X11R4/lib${tdelibsuff} \
\ \
/usr/local/lib${kdelibsuff}/X11 \ /usr/local/lib${tdelibsuff}/X11 \
/usr/local/lib${kdelibsuff}/X11R6 \ /usr/local/lib${tdelibsuff}/X11R6 \
/usr/local/lib${kdelibsuff}/X11R5 \ /usr/local/lib${tdelibsuff}/X11R5 \
/usr/local/lib${kdelibsuff}/X11R4 \ /usr/local/lib${tdelibsuff}/X11R4 \
\ \
/usr/X386/lib${kdelibsuff} \ /usr/X386/lib${tdelibsuff} \
/usr/x386/lib${kdelibsuff} \ /usr/x386/lib${tdelibsuff} \
/usr/XFree86/lib${kdelibsuff}/X11 \ /usr/XFree86/lib${tdelibsuff}/X11 \
\ \
/usr/lib${kdelibsuff} \ /usr/lib${tdelibsuff} \
/usr/local/lib${kdelibsuff} \ /usr/local/lib${tdelibsuff} \
/usr/unsupported/lib${kdelibsuff} \ /usr/unsupported/lib${tdelibsuff} \
/usr/athena/lib${kdelibsuff} \ /usr/athena/lib${tdelibsuff} \
/usr/local/x11r5/lib${kdelibsuff} \ /usr/local/x11r5/lib${tdelibsuff} \
/usr/lpp/Xamples/lib${kdelibsuff} \ /usr/lpp/Xamples/lib${tdelibsuff} \
/lib/usr/lib${kdelibsuff}/X11 \ /lib/usr/lib${tdelibsuff}/X11 \
\ \
/usr/openwin/lib${kdelibsuff} \ /usr/openwin/lib${tdelibsuff} \
/usr/openwin/share/lib${kdelibsuff} \ /usr/openwin/share/lib${tdelibsuff} \
; \ ; \
do do
dnl Don't even attempt the hair of trying to link an X program! dnl Don't even attempt the hair of trying to link an X program!
@ -371,24 +371,24 @@ AC_DEFUN([KDE_1_CHECK_PATHS],
fi fi
AC_MSG_CHECKING([for KDE libraries installed]) AC_MSG_CHECKING([for KDE libraries installed])
ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -lkdecore $LIBQT $KDE_TEST_RPATH 1>&5' ac_link='$LIBTOOL_SHELL --silent --mode=link ${CXX-g++} -o conftest $CXXFLAGS $all_includes $CPPFLAGS $LDFLAGS $all_libraries conftest.$ac_ext $LIBS -ltdecore $LIBQT $KDE_TEST_RPATH 1>&5'
if AC_TRY_EVAL(ac_link) && test -s conftest; then if AC_TRY_EVAL(ac_link) && test -s conftest; then
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
else else
AC_MSG_ERROR([your system fails at linking a small KDE application! AC_MSG_ERROR([your system fails at linking a small KDE application!
Check, if your compiler is installed correctly and if you have used the Check, if your compiler is installed correctly and if you have used the
same compiler to compile Qt and kdelibs as you did use now. same compiler to compile Qt and tdelibs as you did use now.
For more details about this problem, look at the end of config.log.]) For more details about this problem, look at the end of config.log.])
fi fi
if eval `KDEDIR= ./conftest 2>&5`; then if eval `TDEDIR= ./conftest 2>&5`; then
kde_result=done kde_result=done
else else
kde_result=problems kde_result=problems
fi fi
KDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log TDEDIR= ./conftest 2> /dev/null >&5 # make an echo for config.log
kde_have_all_paths=yes kde_have_all_paths=yes
KDE_SET_PATHS($kde_result) KDE_SET_PATHS($kde_result)
@ -547,11 +547,11 @@ Please check whether you installed aRts correctly or use
AC_DEFUN([KDE_SET_DEFAULT_BINDIRS], AC_DEFUN([KDE_SET_DEFAULT_BINDIRS],
[ [
kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin" kde_default_bindirs="/usr/bin /usr/local/bin /opt/local/bin /usr/X11R6/bin /opt/kde/bin /opt/kde3/bin /usr/kde/bin /usr/local/kde/bin"
test -n "$KDEDIR" && kde_default_bindirs="$KDEDIR/bin $kde_default_bindirs" test -n "$TDEDIR" && kde_default_bindirs="$TDEDIR/bin $kde_default_bindirs"
if test -n "$KDEDIRS"; then if test -n "$TDEDIRS"; then
kde_save_IFS=$IFS kde_save_IFS=$IFS
IFS=: IFS=:
for dir in $KDEDIRS; do for dir in $TDEDIRS; do
kde_default_bindirs="$dir/bin $kde_default_bindirs " kde_default_bindirs="$dir/bin $kde_default_bindirs "
done done
IFS=$kde_save_IFS IFS=$kde_save_IFS
@ -602,18 +602,18 @@ AC_DEFUN([KDE_SUBST_PROGRAMS],
fi fi
if test -n "$kde32ornewer"; then if test -n "$kde32ornewer"; then
KDE_FIND_PATH(kconfig_compiler, KCONFIG_COMPILER, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kconfig_compiler)]) KDE_FIND_PATH(tdeconfig_compiler, KCONFIG_COMPILER, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(tdeconfig_compiler)])
KDE_FIND_PATH(dcopidlng, DCOPIDLNG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidlng)]) KDE_FIND_PATH(dcopidlng, DCOPIDLNG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(dcopidlng)])
fi fi
if test -n "$kde33ornewer"; then if test -n "$kde33ornewer"; then
KDE_FIND_PATH(makekdewidgets, MAKEKDEWIDGETS, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(makekdewidgets)]) KDE_FIND_PATH(maketdewidgets, MAKEKDEWIDGETS, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(maketdewidgets)])
AC_SUBST(MAKEKDEWIDGETS) AC_SUBST(MAKEKDEWIDGETS)
fi fi
KDE_FIND_PATH(xmllint, XMLLINT, [${prefix}/bin ${exec_prefix}/bin], [XMLLINT=""]) KDE_FIND_PATH(xmllint, XMLLINT, [${prefix}/bin ${exec_prefix}/bin], [XMLLINT=""])
if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then if test -n "$MEINPROC" -a "$MEINPROC" != "compiled"; then
kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share" kde_sharedirs="/usr/share/kde /usr/local/share /usr/share /opt/kde3/share /opt/kde/share $prefix/share"
test -n "$KDEDIR" && kde_sharedirs="$KDEDIR/share $kde_sharedirs" test -n "$TDEDIR" && kde_sharedirs="$TDEDIR/share $kde_sharedirs"
AC_FIND_FILE(apps/ksgmltools2/customization/kde-chunk.xsl, $kde_sharedirs, KDE_XSL_STYLESHEET) AC_FIND_FILE(apps/ksgmltools2/customization/kde-chunk.xsl, $kde_sharedirs, KDE_XSL_STYLESHEET)
if test "$KDE_XSL_STYLESHEET" = "NO"; then if test "$KDE_XSL_STYLESHEET" = "NO"; then
KDE_XSL_STYLESHEET="" KDE_XSL_STYLESHEET=""
@ -710,7 +710,7 @@ AC_SUBST(kde_templatesdir)
AC_SUBST(kde_servicesdir) AC_SUBST(kde_servicesdir)
AC_SUBST(kde_servicetypesdir) AC_SUBST(kde_servicetypesdir)
AC_SUBST(kde_moduledir) AC_SUBST(kde_moduledir)
AC_SUBST(kdeinitdir, '$(kde_moduledir)') AC_SUBST(tdeinitdir, '$(kde_moduledir)')
AC_SUBST(kde_styledir) AC_SUBST(kde_styledir)
AC_SUBST(kde_widgetdir) AC_SUBST(kde_widgetdir)
if test "$kde_qtver" = 1; then if test "$kde_qtver" = 1; then
@ -937,7 +937,7 @@ mips-sgi-irix6*)
ac_x_includes="." ac_x_includes="."
fi fi
if test -z "$ac_x_libraries"; then if test -z "$ac_x_libraries"; then
ac_x_libraries="/usr/lib${kdelibsuff}" ac_x_libraries="/usr/lib${tdelibsuff}"
fi fi
esac esac
#from now on we use our own again #from now on we use our own again
@ -1418,7 +1418,7 @@ qt_includes=""
AC_ARG_WITH(qt-dir, AC_ARG_WITH(qt-dir,
AC_HELP_STRING([--with-qt-dir=DIR],[where the root of Qt is installed ]), AC_HELP_STRING([--with-qt-dir=DIR],[where the root of Qt is installed ]),
[ ac_qt_includes="$withval"/include [ ac_qt_includes="$withval"/include
ac_qt_libraries="$withval"/lib${kdelibsuff} ac_qt_libraries="$withval"/lib${tdelibsuff}
ac_qt_bindir="$withval"/bin ac_qt_bindir="$withval"/bin
]) ])
@ -1459,7 +1459,7 @@ ac_qt_includes="$qt_incdir"
qt_libdirs="" qt_libdirs=""
for dir in $kde_qt_dirs; do for dir in $kde_qt_dirs; do
qt_libdirs="$qt_libdirs $dir/lib${kdelibsuff} $dir" qt_libdirs="$qt_libdirs $dir/lib${tdelibsuff} $dir"
done done
qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries" qt_libdirs="$QTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries"
if test ! "$ac_qt_libraries" = "NO"; then if test ! "$ac_qt_libraries" = "NO"; then
@ -1644,11 +1644,11 @@ rm -f actest.ui actest.cpp
AC_MSG_RESULT([$kde_cv_uic_plugins]) AC_MSG_RESULT([$kde_cv_uic_plugins])
if test "$kde_cv_uic_plugins" != yes; then if test "$kde_cv_uic_plugins" != yes; then
AC_MSG_ERROR([ AC_MSG_ERROR([
you need to install kdelibs first. you need to install tdelibs first.
If you did install kdelibs, then the Qt version that is picked up by If you did install tdelibs, then the Qt version that is picked up by
this configure is not the same version you used to compile kdelibs. this configure is not the same version you used to compile tdelibs.
The Qt Plugin installed by kdelibs is *ONLY* loadable if it is the The Qt Plugin installed by tdelibs is *ONLY* loadable if it is the
_same Qt version_, compiled with the _same compiler_ and the same Qt _same Qt version_, compiled with the _same compiler_ and the same Qt
configuration settings. configuration settings.
]) ])
@ -1785,16 +1785,16 @@ AC_CACHE_VAL(ac_cv_have_kde,
if test "$kde_qtver" = 1; then if test "$kde_qtver" = 1; then
kde_check_header="ksock.h" kde_check_header="ksock.h"
kde_check_lib="libkdecore.la" kde_check_lib="libtdecore.la"
else else
kde_check_header="ksharedptr.h" kde_check_header="ksharedptr.h"
kde_check_lib="libkio.la" kde_check_lib="libtdeio.la"
fi fi
if test -z "$1"; then if test -z "$1"; then
kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes" kde_incdirs="$kde_libs_prefix/include /usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/tde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs" test -n "$TDEDIR" && kde_incdirs="$TDEDIR/include $TDEDIR/include/tde $TDEDIR $kde_incdirs"
kde_incdirs="$ac_kde_includes $kde_incdirs" kde_incdirs="$ac_kde_includes $kde_incdirs"
AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir) AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir)
ac_kde_includes="$kde_incdir" ac_kde_includes="$kde_incdir"
@ -1805,8 +1805,8 @@ in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!]) So, check this please and use another prefix!])
fi fi
kde_libdirs="$kde_libs_prefix/lib${kdelibsuff} /usr/lib/kde/lib${kdelibsuff} /usr/local/kde/lib${kdelibsuff} /usr/kde/lib${kdelibsuff} /usr/lib${kdelibsuff}/kde /usr/lib${kdelibsuff}/kde3 /usr/lib${kdelibsuff} /usr/X11R6/lib${kdelibsuff} /usr/local/lib${kdelibsuff} /opt/kde3/lib${kdelibsuff} /opt/kde/lib${kdelibsuff} /usr/X11R6/kde/lib${kdelibsuff}" kde_libdirs="$kde_libs_prefix/lib${tdelibsuff} /usr/lib/kde/lib${tdelibsuff} /usr/local/kde/lib${tdelibsuff} /usr/kde/lib${tdelibsuff} /usr/lib${tdelibsuff}/kde /usr/lib${tdelibsuff}/kde3 /usr/lib${tdelibsuff} /usr/X11R6/lib${tdelibsuff} /usr/local/lib${tdelibsuff} /opt/kde3/lib${tdelibsuff} /opt/kde/lib${tdelibsuff} /usr/X11R6/kde/lib${tdelibsuff}"
test -n "$KDEDIR" && kde_libdirs="$KDEDIR/lib${kdelibsuff} $KDEDIR $kde_libdirs" test -n "$TDEDIR" && kde_libdirs="$TDEDIR/lib${tdelibsuff} $TDEDIR $kde_libdirs"
kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs" kde_libdirs="$ac_kde_libraries $libdir $kde_libdirs"
AC_FIND_FILE($kde_check_lib, $kde_libdirs, kde_libdir) AC_FIND_FILE($kde_check_lib, $kde_libdirs, kde_libdir)
ac_kde_libraries="$kde_libdir" ac_kde_libraries="$kde_libdir"
@ -1824,7 +1824,7 @@ fi
if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then if test -n "$kde_widgetdir" && test ! -r "$kde_widgetdir/kde3/plugins/designer/kdewidgets.la"; then
AC_MSG_ERROR([ AC_MSG_ERROR([
I can't find the designer plugins. These are required and should have been installed I can't find the designer plugins. These are required and should have been installed
by kdelibs]) by tdelibs])
fi fi
if test -n "$kde_widgetdir"; then if test -n "$kde_widgetdir"; then
@ -1839,7 +1839,7 @@ else
ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries" ac_kde_includes=$ac_kde_includes ac_kde_libraries=$ac_kde_libraries"
fi fi
else dnl test -z $1, e.g. from kdelibs else dnl test -z $1, e.g. from tdelibs
ac_cv_have_kde="have_kde=no" ac_cv_have_kde="have_kde=no"
@ -1979,20 +1979,20 @@ cat > conftest.$ac_ext <<EOF
#include <kapp.h> #include <kapp.h>
int main() { int main() {
printf("kde_htmldir=\\"%s\\"\n", KApplication::kde_htmldir().data()); printf("kde_htmldir=\\"%s\\"\n", TDEApplication::kde_htmldir().data());
printf("kde_appsdir=\\"%s\\"\n", KApplication::kde_appsdir().data()); printf("kde_appsdir=\\"%s\\"\n", TDEApplication::kde_appsdir().data());
printf("kde_icondir=\\"%s\\"\n", KApplication::kde_icondir().data()); printf("kde_icondir=\\"%s\\"\n", TDEApplication::kde_icondir().data());
printf("kde_sounddir=\\"%s\\"\n", KApplication::kde_sounddir().data()); printf("kde_sounddir=\\"%s\\"\n", TDEApplication::kde_sounddir().data());
printf("kde_datadir=\\"%s\\"\n", KApplication::kde_datadir().data()); printf("kde_datadir=\\"%s\\"\n", TDEApplication::kde_datadir().data());
printf("kde_locale=\\"%s\\"\n", KApplication::kde_localedir().data()); printf("kde_locale=\\"%s\\"\n", TDEApplication::kde_localedir().data());
printf("kde_cgidir=\\"%s\\"\n", KApplication::kde_cgidir().data()); printf("kde_cgidir=\\"%s\\"\n", TDEApplication::kde_cgidir().data());
printf("kde_confdir=\\"%s\\"\n", KApplication::kde_configdir().data()); printf("kde_confdir=\\"%s\\"\n", TDEApplication::kde_configdir().data());
printf("kde_mimedir=\\"%s\\"\n", KApplication::kde_mimedir().data()); printf("kde_mimedir=\\"%s\\"\n", TDEApplication::kde_mimedir().data());
printf("kde_toolbardir=\\"%s\\"\n", KApplication::kde_toolbardir().data()); printf("kde_toolbardir=\\"%s\\"\n", TDEApplication::kde_toolbardir().data());
printf("kde_wallpaperdir=\\"%s\\"\n", printf("kde_wallpaperdir=\\"%s\\"\n",
KApplication::kde_wallpaperdir().data()); TDEApplication::kde_wallpaperdir().data());
printf("kde_bindir=\\"%s\\"\n", KApplication::kde_bindir().data()); printf("kde_bindir=\\"%s\\"\n", TDEApplication::kde_bindir().data());
printf("kde_partsdir=\\"%s\\"\n", KApplication::kde_partsdir().data()); printf("kde_partsdir=\\"%s\\"\n", TDEApplication::kde_partsdir().data());
printf("kde_servicesdir=\\"/tmp/dummy\\"\n"); printf("kde_servicesdir=\\"/tmp/dummy\\"\n");
printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n"); printf("kde_servicetypesdir=\\"/tmp/dummy\\"\n");
printf("kde_moduledir=\\"/tmp/dummy\\"\n"); printf("kde_moduledir=\\"/tmp/dummy\\"\n");
@ -2030,7 +2030,7 @@ AC_CACHE_VAL(kde_cv_have_kdeqtaddon,
kde_cxxflags_safe="$CXXFLAGS" kde_cxxflags_safe="$CXXFLAGS"
LIBS="-lkde-qt-addon $LIBQT $LIBS" LIBS="-lkde-qt-addon $LIBQT $LIBS"
CXXFLAGS="$CXXFLAGS -I$prefix/include -I$prefix/include/kde $all_includes" CXXFLAGS="$CXXFLAGS -I$prefix/include -I$prefix/include/tde $all_includes"
LDFLAGS="$LDFLAGS $all_libraries $USER_LDFLAGS" LDFLAGS="$LDFLAGS $all_libraries $USER_LDFLAGS"
AC_TRY_LINK([ AC_TRY_LINK([
@ -2064,48 +2064,48 @@ AC_DEFUN([KDE_CREATE_LIBS_ALIASES],
if test $kde_qtver = 3; then if test $kde_qtver = 3; then
case $host in case $host in
*cygwin*) lib_kded="-lkdeinit_kded" ;; *cygwin*) lib_kded="-ltdeinit_kded" ;;
*) lib_kded="" ;; *) lib_kded="" ;;
esac esac
AC_SUBST(LIB_KDED, $lib_kded) AC_SUBST(LIB_KDED, $lib_kded)
AC_SUBST(LIB_KDECORE, "-lkdecore") AC_SUBST(LIB_TDECORE, "-ltdecore")
AC_SUBST(LIB_KDEUI, "-lkdeui") AC_SUBST(LIB_TDEUI, "-ltdeui")
AC_SUBST(LIB_KIO, "-lkio") AC_SUBST(LIB_KIO, "-ltdeio")
AC_SUBST(LIB_KJS, "-lkjs") AC_SUBST(LIB_KJS, "-lkjs")
AC_SUBST(LIB_SMB, "-lsmb") AC_SUBST(LIB_SMB, "-lsmb")
AC_SUBST(LIB_KAB, "-lkab") AC_SUBST(LIB_KAB, "-lkab")
AC_SUBST(LIB_KABC, "-lkabc") AC_SUBST(LIB_KABC, "-ltdeabc")
AC_SUBST(LIB_KHTML, "-lkhtml") AC_SUBST(LIB_TDEHTML, "-ltdehtml")
AC_SUBST(LIB_KSPELL, "-lkspell") AC_SUBST(LIB_KSPELL, "-ltdespell")
AC_SUBST(LIB_KPARTS, "-lkparts") AC_SUBST(LIB_KPARTS, "-ltdeparts")
AC_SUBST(LIB_KDEPRINT, "-lkdeprint") AC_SUBST(LIB_TDEPRINT, "-ltdeprint")
AC_SUBST(LIB_KUTILS, "-lkutils") AC_SUBST(LIB_KUTILS, "-ltdeutils")
AC_SUBST(LIB_KDEPIM, "-lkdepim") AC_SUBST(LIB_TDEPIM, "-ltdepim")
AC_SUBST(LIB_KIMPROXY, "-lkimproxy") AC_SUBST(LIB_KIMPROXY, "-ltdeimproxy")
AC_SUBST(LIB_KNEWSTUFF, "-lknewstuff") AC_SUBST(LIB_KNEWSTUFF, "-lknewstuff")
AC_SUBST(LIB_KDNSSD, "-lkdnssd") AC_SUBST(LIB_KDNSSD, "-ltdednssd")
AC_SUBST(LIB_KUNITTEST, "-lkunittest") AC_SUBST(LIB_KUNITTEST, "-ltdeunittest")
# these are for backward compatibility # these are for backward compatibility
AC_SUBST(LIB_KSYCOCA, "-lkio") AC_SUBST(LIB_KSYCOCA, "-ltdeio")
AC_SUBST(LIB_KFILE, "-lkio") AC_SUBST(LIB_KFILE, "-ltdeio")
elif test $kde_qtver = 2; then elif test $kde_qtver = 2; then
AC_SUBST(LIB_KDECORE, "-lkdecore") AC_SUBST(LIB_TDECORE, "-ltdecore")
AC_SUBST(LIB_KDEUI, "-lkdeui") AC_SUBST(LIB_TDEUI, "-ltdeui")
AC_SUBST(LIB_KIO, "-lkio") AC_SUBST(LIB_KIO, "-ltdeio")
AC_SUBST(LIB_KSYCOCA, "-lksycoca") AC_SUBST(LIB_KSYCOCA, "-ltdesycoca")
AC_SUBST(LIB_SMB, "-lsmb") AC_SUBST(LIB_SMB, "-lsmb")
AC_SUBST(LIB_KFILE, "-lkfile") AC_SUBST(LIB_KFILE, "-ltdefile")
AC_SUBST(LIB_KAB, "-lkab") AC_SUBST(LIB_KAB, "-lkab")
AC_SUBST(LIB_KHTML, "-lkhtml") AC_SUBST(LIB_TDEHTML, "-ltdehtml")
AC_SUBST(LIB_KSPELL, "-lkspell") AC_SUBST(LIB_KSPELL, "-ltdespell")
AC_SUBST(LIB_KPARTS, "-lkparts") AC_SUBST(LIB_KPARTS, "-ltdeparts")
AC_SUBST(LIB_KDEPRINT, "-lkdeprint") AC_SUBST(LIB_TDEPRINT, "-ltdeprint")
else else
AC_SUBST(LIB_KDECORE, "-lkdecore -lXext $(LIB_QT)") AC_SUBST(LIB_TDECORE, "-ltdecore -lXext $(LIB_QT)")
AC_SUBST(LIB_KDEUI, "-lkdeui $(LIB_KDECORE)") AC_SUBST(LIB_TDEUI, "-ltdeui $(LIB_TDECORE)")
AC_SUBST(LIB_KFM, "-lkfm $(LIB_KDECORE)") AC_SUBST(LIB_KFM, "-lkfm $(LIB_TDECORE)")
AC_SUBST(LIB_KFILE, "-lkfile $(LIB_KFM) $(LIB_KDEUI)") AC_SUBST(LIB_KFILE, "-ltdefile $(LIB_KFM) $(LIB_TDEUI)")
AC_SUBST(LIB_KAB, "-lkab $(LIB_KIMGIO) $(LIB_KDECORE)") AC_SUBST(LIB_KAB, "-lkab $(LIB_KIMGIO) $(LIB_TDECORE)")
fi fi
]) ])
@ -2170,7 +2170,7 @@ if test "x$kde_cv_func_$1" = xyes; then
else else
case "$1" in case "$1" in
setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat) setenv|unsetenv|usleep|random|srandom|seteuid|mkstemps|mkstemp|revoke|vsnprintf|strlcpy|strlcat)
kde_cv_proto_$1="yes - in libkdefakes" kde_cv_proto_$1="yes - in libtdefakes"
;; ;;
*) *)
kde_cv_proto_$1=unknown kde_cv_proto_$1=unknown
@ -2489,7 +2489,7 @@ if eval "test \"`echo $ac_cv_lib_gif`\" = yes"; then
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
AC_DEFINE_UNQUOTED(HAVE_LIBGIF, 1, [Define if you have libgif]) AC_DEFINE_UNQUOTED(HAVE_LIBGIF, 1, [Define if you have libgif])
else else
AC_MSG_ERROR(You need giflib30. Please install the kdesupport package) AC_MSG_ERROR(You need giflib30. Please install the tdesupport package)
fi fi
]) ])
@ -2547,7 +2547,7 @@ AC_FIND_FILE(jpeglib.h, $jpeg_incdirs, jpeg_incdir)
test "x$jpeg_incdir" = xNO && jpeg_incdir= test "x$jpeg_incdir" = xNO && jpeg_incdir=
dnl if headers _and_ libraries are missing, this is no error, and we dnl if headers _and_ libraries are missing, this is no error, and we
dnl continue with a warning (the user will get no jpeg support in khtml) dnl continue with a warning (the user will get no jpeg support in tdehtml)
dnl if only one is missing, it means a configuration error, but we still dnl if only one is missing, it means a configuration error, but we still
dnl only warn dnl only warn
if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then if test -n "$jpeg_incdir" && test -n "$LIBJPEG" ; then
@ -3447,7 +3447,7 @@ LIBTOOL_SHELL="/bin/sh ./libtool"
KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)" KDE_PLUGIN="-avoid-version -module -no-undefined \$(KDE_NO_UNDEFINED) \$(KDE_RPATH) \$(KDE_MT_LDFLAGS)"
AC_SUBST(KDE_PLUGIN) AC_SUBST(KDE_PLUGIN)
# This hack ensures that libtool creates shared libs for kunittest plugins. By default check_LTLIBRARIES makes static libs. # This hack ensures that libtool creates shared libs for tdeunittest plugins. By default check_LTLIBRARIES makes static libs.
KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)" KDE_CHECK_PLUGIN="\$(KDE_PLUGIN) -rpath \$(libdir)"
AC_SUBST(KDE_CHECK_PLUGIN) AC_SUBST(KDE_CHECK_PLUGIN)
@ -3457,29 +3457,29 @@ AC_SUBST(AUTOCONF,'$(SHELL) $(top_srcdir)/admin/cvs.sh configure || touch config
AC_DEFUN([KDE_CHECK_LIB64], AC_DEFUN([KDE_CHECK_LIB64],
[ [
kdelibsuff="$kde_libs_suffix" tdelibsuff="$kde_libs_suffix"
if test -z "$kdelibsuff"; then if test -z "$tdelibsuff"; then
kdelibsuff=no tdelibsuff=no
fi fi
AC_ARG_ENABLE(libsuffix, AC_ARG_ENABLE(libsuffix,
AC_HELP_STRING([--enable-libsuffix], AC_HELP_STRING([--enable-libsuffix],
[/lib directory suffix (64,32,none[=default])]), [/lib directory suffix (64,32,none[=default])]),
kdelibsuff=$enableval) tdelibsuff=$enableval)
# TODO: add an auto case that compiles a little C app to check # TODO: add an auto case that compiles a little C app to check
# where the glibc is # where the glibc is
if test "$kdelibsuff" = "no"; then if test "$tdelibsuff" = "no"; then
kdelibsuff= tdelibsuff=
fi fi
if test -z "$kdelibsuff"; then if test -z "$tdelibsuff"; then
AC_MSG_RESULT([not using lib directory suffix]) AC_MSG_RESULT([not using lib directory suffix])
AC_DEFINE(KDELIBSUFF, [""], Suffix for lib directories) AC_DEFINE(KDELIBSUFF, [""], Suffix for lib directories)
else else
if test "$libdir" = '${exec_prefix}/lib'; then if test "$libdir" = '${exec_prefix}/lib'; then
libdir="$libdir${kdelibsuff}" libdir="$libdir${tdelibsuff}"
AC_SUBST([libdir], ["$libdir"]) dnl ugly hack for lib64 platforms AC_SUBST([libdir], ["$libdir"]) dnl ugly hack for lib64 platforms
fi fi
AC_DEFINE_UNQUOTED(KDELIBSUFF, ["${kdelibsuff}"], Suffix for lib directories) AC_DEFINE_UNQUOTED(KDELIBSUFF, ["${tdelibsuff}"], Suffix for lib directories)
AC_MSG_RESULT([using lib directory suffix $kdelibsuff]) AC_MSG_RESULT([using lib directory suffix $tdelibsuff])
fi fi
]) ])
@ -3497,7 +3497,7 @@ AC_CANONICAL_SYSTEM
AC_ARG_PROGRAM AC_ARG_PROGRAM
AM_INIT_AUTOMAKE($1, $2) AM_INIT_AUTOMAKE($1, $2)
AM_DISABLE_LIBRARIES AM_DISABLE_LIBRARIES
AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde}) AC_PREFIX_DEFAULT(${TDEDIR:-/usr/local/kde})
AC_CHECK_COMPILERS AC_CHECK_COMPILERS
KDE_PROG_LIBTOOL KDE_PROG_LIBTOOL
AM_KDE_WITH_NLS AM_KDE_WITH_NLS
@ -4504,7 +4504,7 @@ fi
PYTHONINC=-I$python_incdir PYTHONINC=-I$python_incdir
python_libdirs="$ac_python_dir/lib$kdelibsuff /usr/lib$kdelibsuff /usr/local /usr/lib$kdelibsuff $kde_extra_libs" python_libdirs="$ac_python_dir/lib$tdelibsuff /usr/lib$tdelibsuff /usr/local /usr/lib$tdelibsuff $kde_extra_libs"
AC_FIND_FILE(libpython$version.so, $python_libdirs, python_libdir) AC_FIND_FILE(libpython$version.so, $python_libdirs, python_libdir)
if test ! -r $python_libdir/libpython$version.so; then if test ! -r $python_libdir/libpython$version.so; then
AC_FIND_FILE(libpython$version.a, $python_libdirs, python_libdir) AC_FIND_FILE(libpython$version.a, $python_libdirs, python_libdir)
@ -4892,14 +4892,14 @@ AC_DEFUN([KDE_CONF_FILES],
AC_SUBST(CONF_FILES) AC_SUBST(CONF_FILES)
])dnl ])dnl
dnl This sets the prefix, for arts and kdelibs dnl This sets the prefix, for arts and tdelibs
dnl Do NOT use in any other module. dnl Do NOT use in any other module.
dnl It only looks at --prefix, KDEDIR and falls back to /usr/local/kde dnl It only looks at --prefix, TDEDIR and falls back to /usr/local/kde
AC_DEFUN([KDE_SET_PREFIX_CORE], AC_DEFUN([KDE_SET_PREFIX_CORE],
[ [
unset CDPATH unset CDPATH
dnl make $KDEDIR the default for the installation dnl make $TDEDIR the default for the installation
AC_PREFIX_DEFAULT(${KDEDIR:-/usr/local/kde}) AC_PREFIX_DEFAULT(${TDEDIR:-/usr/local/kde})
if test "x$prefix" = "xNONE"; then if test "x$prefix" = "xNONE"; then
prefix=$ac_default_prefix prefix=$ac_default_prefix
@ -4923,25 +4923,25 @@ AC_DEFUN([KDE_SET_PREFIX],
unset CDPATH unset CDPATH
dnl We can't give real code to that macro, only a value. dnl We can't give real code to that macro, only a value.
dnl It only matters for --help, since we set the prefix in this function anyway. dnl It only matters for --help, since we set the prefix in this function anyway.
AC_PREFIX_DEFAULT(${KDEDIR:-the kde prefix}) AC_PREFIX_DEFAULT(${TDEDIR:-the kde prefix})
KDE_SET_DEFAULT_BINDIRS KDE_SET_DEFAULT_BINDIRS
if test "x$prefix" = "xNONE"; then if test "x$prefix" = "xNONE"; then
dnl no prefix given: look for kde-config in the PATH and deduce the prefix from it dnl no prefix given: look for tde-config in the PATH and deduce the prefix from it
KDE_FIND_PATH(kde-config, KDECONFIG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kde-config)], [], prepend) KDE_FIND_PATH(tde-config, KDECONFIG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(tde-config)], [], prepend)
else else
dnl prefix given: look for kde-config, preferrably in prefix, otherwise in PATH dnl prefix given: look for tde-config, preferrably in prefix, otherwise in PATH
kde_save_PATH="$PATH" kde_save_PATH="$PATH"
PATH="$exec_prefix/bin:$prefix/bin:$PATH" PATH="$exec_prefix/bin:$prefix/bin:$PATH"
KDE_FIND_PATH(kde-config, KDECONFIG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(kde-config)], [], prepend) KDE_FIND_PATH(tde-config, KDECONFIG, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(tde-config)], [], prepend)
PATH="$kde_save_PATH" PATH="$kde_save_PATH"
fi fi
kde_libs_prefix=`$KDECONFIG --prefix` kde_libs_prefix=`$KDECONFIG --prefix`
if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then if test -z "$kde_libs_prefix" || test ! -x "$kde_libs_prefix"; then
AC_MSG_ERROR([$KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for kdelibs. AC_MSG_ERROR([$KDECONFIG --prefix outputed the non existant prefix '$kde_libs_prefix' for tdelibs.
This means it has been moved since you installed it. This means it has been moved since you installed it.
This won't work. Please recompile kdelibs for the new prefix. This won't work. Please recompile tdelibs for the new prefix.
]) ])
fi fi
kde_libs_htmldir=`$KDECONFIG --install html --expandvars` kde_libs_htmldir=`$KDECONFIG --install html --expandvars`
@ -4950,7 +4950,7 @@ AC_DEFUN([KDE_SET_PREFIX],
AC_MSG_CHECKING([where to install]) AC_MSG_CHECKING([where to install])
if test "x$prefix" = "xNONE"; then if test "x$prefix" = "xNONE"; then
prefix=$kde_libs_prefix prefix=$kde_libs_prefix
AC_MSG_RESULT([$prefix (as returned by kde-config)]) AC_MSG_RESULT([$prefix (as returned by tde-config)])
else else
dnl --prefix was given. Compare prefixes and warn (in configure.in.bot.end) if different dnl --prefix was given. Compare prefixes and warn (in configure.in.bot.end) if different
given_prefix=$prefix given_prefix=$prefix
@ -5607,7 +5607,7 @@ ssl_includes=""
AC_ARG_WITH(ssl-dir, AC_ARG_WITH(ssl-dir,
AC_HELP_STRING([--with-ssl-dir=DIR],[where the root of OpenSSL is installed]), AC_HELP_STRING([--with-ssl-dir=DIR],[where the root of OpenSSL is installed]),
[ ac_ssl_includes="$withval"/include [ ac_ssl_includes="$withval"/include
ac_ssl_libraries="$withval"/lib$kdelibsuff ac_ssl_libraries="$withval"/lib$tdelibsuff
]) ])
want_ssl=yes want_ssl=yes
@ -5627,7 +5627,7 @@ AC_CACHE_VAL(ac_cv_have_ssl,
AC_FIND_FILE(openssl/ssl.h, $ssl_incdirs, ssl_incdir) AC_FIND_FILE(openssl/ssl.h, $ssl_incdirs, ssl_incdir)
ac_ssl_includes="$ssl_incdir" ac_ssl_includes="$ssl_incdir"
ssl_libdirs="/usr/lib$kdelibsuff /usr/local/lib$kdelibsuff /usr/ssl/lib$kdelibsuff /usr/local/ssl/lib$kdelibsuff $libdir $prefix/lib$kdelibsuff $exec_prefix/lib$kdelibsuff $kde_extra_libs" ssl_libdirs="/usr/lib$tdelibsuff /usr/local/lib$tdelibsuff /usr/ssl/lib$tdelibsuff /usr/local/ssl/lib$tdelibsuff $libdir $prefix/lib$tdelibsuff $exec_prefix/lib$tdelibsuff $kde_extra_libs"
if test ! "$ac_ssl_libraries" = "NO"; then if test ! "$ac_ssl_libraries" = "NO"; then
ssl_libdirs="$ac_ssl_libraries $ssl_libdirs" ssl_libdirs="$ac_ssl_libraries $ssl_libdirs"
fi fi
@ -5864,9 +5864,9 @@ dnl defines KSTUFF_LIBS, KSTUFF_CFLAGS, see pkg-config man page
dnl also defines KSTUFF_PKG_ERRORS on error dnl also defines KSTUFF_PKG_ERRORS on error
AC_DEFUN([KDE_PKG_CHECK_MODULES], [ AC_DEFUN([KDE_PKG_CHECK_MODULES], [
PKG_CONFIG_PATH="$prefix/lib${kdelibsuff}/pkgconfig:$PKG_CONFIG_PATH" PKG_CONFIG_PATH="$prefix/lib${tdelibsuff}/pkgconfig:$PKG_CONFIG_PATH"
if test "$prefix" != "$kde_libs_prefix"; then if test "$prefix" != "$kde_libs_prefix"; then
PKG_CONFIG_PATH="$kde_libs_prefix/lib${kdelibsuff}/pkgconfig:$PKG_CONFIG_PATH" PKG_CONFIG_PATH="$kde_libs_prefix/lib${tdelibsuff}/pkgconfig:$PKG_CONFIG_PATH"
fi fi
export PKG_CONFIG_PATH export PKG_CONFIG_PATH
PKG_CHECK_MODULES($1,$2,$3,$4) PKG_CHECK_MODULES($1,$2,$3,$4)

@ -67,12 +67,12 @@ dnl =======================================================
dnl PACKAGE set before dnl PACKAGE set before
dnl CXXFLAGS="$NOOPT_CXXFLAGS" dnl __kdevelop[noopt]__ dnl CXXFLAGS="$NOOPT_CXXFLAGS" dnl __tdevelop[noopt]__
dnl CFLAGS="$NOOPT_CFLAGS" dnl __kdevelop[noopt]__ dnl CFLAGS="$NOOPT_CFLAGS" dnl __tdevelop[noopt]__
dnl CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS" dnl __kdevelop[exc]__ dnl CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS" dnl __tdevelop[exc]__
dnl KDE_NEED_FLEX dnl __kdevelop__ dnl KDE_NEED_FLEX dnl __tdevelop__
dnl AC_PROG_YACC dnl __kdevelop__ dnl AC_PROG_YACC dnl __tdevelop__
KDE_CREATE_SUBDIRSLIST KDE_CREATE_SUBDIRSLIST
AC_CONFIG_FILES([ Makefile ]) AC_CONFIG_FILES([ Makefile ])
AC_CONFIG_FILES([ doc/Makefile ]) AC_CONFIG_FILES([ doc/Makefile ])
@ -94,13 +94,13 @@ if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
# And if so, warn when they don't match # And if so, warn when they don't match
if test "$kde_libs_prefix" != "$given_prefix"; then if test "$kde_libs_prefix" != "$given_prefix"; then
# And if kde doesn't know about the prefix yet # And if kde doesn't know about the prefix yet
echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null echo ":"`tde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
if test $? -ne 0; then if test $? -ne 0; then
echo "" echo ""
echo "Warning: you chose to install this package in $given_prefix," echo "Warning: you chose to install this package in $given_prefix,"
echo "but KDE was found in $kde_libs_prefix." echo "but KDE was found in $kde_libs_prefix."
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring" echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix" echo "that TDEDIRS contains it, e.g. export TDEDIRS=$given_prefix:$kde_libs_prefix"
echo "Then restart KDE." echo "Then restart KDE."
echo "" echo ""
fi fi

@ -2,9 +2,9 @@
AM_INIT_AUTOMAKE(kshutdown,1.0.4) AM_INIT_AUTOMAKE(kshutdown,1.0.4)
dnl CXXFLAGS="$NOOPT_CXXFLAGS" dnl __kdevelop[noopt]__ dnl CXXFLAGS="$NOOPT_CXXFLAGS" dnl __tdevelop[noopt]__
dnl CFLAGS="$NOOPT_CFLAGS" dnl __kdevelop[noopt]__ dnl CFLAGS="$NOOPT_CFLAGS" dnl __tdevelop[noopt]__
dnl CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS" dnl __kdevelop[exc]__ dnl CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS" dnl __tdevelop[exc]__
dnl KDE_NEED_FLEX dnl __kdevelop__ dnl KDE_NEED_FLEX dnl __tdevelop__
dnl AC_PROG_YACC dnl __kdevelop__ dnl AC_PROG_YACC dnl __tdevelop__

@ -12,6 +12,6 @@ StartupNotify=true
Terminal=false Terminal=false
Type=Application Type=Application
X-DCOP-ServiceType= X-DCOP-ServiceType=
X-KDE-SubstituteUID=false X-TDE-SubstituteUID=false
X-KDE-Username= X-TDE-Username=
X-Ubuntu-Gettext-Domain=desktop_kdebase X-Ubuntu-Gettext-Domain=desktop_tdebase

@ -15,5 +15,5 @@ StartupNotify=true
Terminal=false Terminal=false
Type=Application Type=Application
X-DCOP-ServiceType= X-DCOP-ServiceType=
X-KDE-SubstituteUID=false X-TDE-SubstituteUID=false
X-KDE-Username= X-TDE-Username=

@ -16,5 +16,5 @@ StartupNotify=true
Terminal=false Terminal=false
Type=Application Type=Application
X-DCOP-ServiceType= X-DCOP-ServiceType=
X-KDE-SubstituteUID=false X-TDE-SubstituteUID=false
X-KDE-Username= X-TDE-Username=

@ -14,6 +14,6 @@ StartupNotify=true
Terminal=false Terminal=false
Type=Application Type=Application
X-DCOP-ServiceType= X-DCOP-ServiceType=
X-KDE-SubstituteUID=false X-TDE-SubstituteUID=false
X-KDE-Username= X-TDE-Username=
X-Ubuntu-Gettext-Domain=desktop_kdebase X-Ubuntu-Gettext-Domain=desktop_tdebase

@ -16,5 +16,5 @@ StartupNotify=true
Terminal=false Terminal=false
Type=Application Type=Application
X-DCOP-ServiceType= X-DCOP-ServiceType=
X-KDE-SubstituteUID=false X-TDE-SubstituteUID=false
X-KDE-Username= X-TDE-Username=

@ -14,5 +14,5 @@ StartupNotify=true
Terminal=false Terminal=false
Type=Application Type=Application
X-DCOP-ServiceType= X-DCOP-ServiceType=
X-KDE-SubstituteUID=false X-TDE-SubstituteUID=false
X-KDE-Username= X-TDE-Username=

@ -15,5 +15,5 @@ StartupNotify=true
Terminal=false Terminal=false
Type=Application Type=Application
X-DCOP-ServiceType= X-DCOP-ServiceType=
X-KDE-SubstituteUID=false X-TDE-SubstituteUID=false
X-KDE-Username= X-TDE-Username=

@ -15,5 +15,5 @@ StartupNotify=true
Terminal=false Terminal=false
Type=Application Type=Application
X-DCOP-ServiceType= X-DCOP-ServiceType=
X-KDE-SubstituteUID=false X-TDE-SubstituteUID=false
X-KDE-Username= X-TDE-Username=

@ -16,5 +16,5 @@ Terminal=true
TerminalOptions=\s--noclose TerminalOptions=\s--noclose
Type=Application Type=Application
X-DCOP-ServiceType=none X-DCOP-ServiceType=none
X-KDE-SubstituteUID=false X-TDE-SubstituteUID=false
X-KDE-Username= X-TDE-Username=

@ -15,5 +15,5 @@ StartupNotify=true
Terminal=false Terminal=false
Type=Application Type=Application
X-DCOP-ServiceType= X-DCOP-ServiceType=
X-KDE-SubstituteUID=false X-TDE-SubstituteUID=false
X-KDE-Username= X-TDE-Username=

@ -15,5 +15,5 @@ StartupNotify=true
Terminal=false Terminal=false
Type=Application Type=Application
X-DCOP-ServiceType= X-DCOP-ServiceType=
X-KDE-SubstituteUID=false X-TDE-SubstituteUID=false
X-KDE-Username= X-TDE-Username=

@ -11,7 +11,7 @@ Distribution: mdk
Prefix: /usr Prefix: /usr
Url: http://kshutdown.sourceforge.net Url: http://kshutdown.sourceforge.net
Provides: kshutdown Provides: kshutdown
Requires: kdelibs >= 3.3.0 Requires: tdelibs >= 3.3.0
%description %description
KShutDown is an advanced shut down utility for KDE. KShutDown is an advanced shut down utility for KDE.
@ -80,7 +80,7 @@ rm -rf $RPM_BUILD_DIR/file.list.%{name}.dirs
- updated description - updated description
* Mon Aug 1 2005 Konrad Twardowski * Mon Aug 1 2005 Konrad Twardowski
- removed "kdebase" from "Requires" - removed "tdebase" from "Requires"
* Sat Jun 19 2004 Zdenko Podobný <zdpo@mailbox.sk> 0.1.8-1mdk * Sat Jun 19 2004 Zdenko Podobný <zdpo@mailbox.sk> 0.1.8-1mdk
- initial version - initial version

@ -9,8 +9,8 @@ Group: System/Management
URL: http://kshutdown.sf.net/ URL: http://kshutdown.sf.net/
Source0: http://mesh.dl.sourceforge.net/sourceforge/kshutdown/kshutdown-%{version}.tar.bz2 Source0: http://mesh.dl.sourceforge.net/sourceforge/kshutdown/kshutdown-%{version}.tar.bz2
BuildRoot: %{_tmppath}/kshutdown-%{version}-%{release}-root BuildRoot: %{_tmppath}/kshutdown-%{version}-%{release}-root
Requires: kdelibs3 >= 3.3.0 Requires: tdelibs3 >= 3.3.0
BuildRequires: kdelibs3-devel kdebase3-devel BuildRequires: tdelibs3-devel tdebase3-devel
BuildRequires: gcc-c++ libstdc++ libstdc++-devel BuildRequires: gcc-c++ libstdc++ libstdc++-devel
BuildRequires: autoconf automake libtool BuildRequires: autoconf automake libtool
@ -88,7 +88,7 @@ rm -fr ../file.list.kshutdown
- updated description - updated description
* Mon Aug 1 2005 Konrad Twardowski <kdtonline@poczta.onet.pl> * Mon Aug 1 2005 Konrad Twardowski <kdtonline@poczta.onet.pl>
- removed "kdebase" from "Requires" - removed "tdebase" from "Requires"
* Mon Apr 4 2005 Konrad Twardowski <kdtonline@poczta.onet.pl> * Mon Apr 4 2005 Konrad Twardowski <kdtonline@poczta.onet.pl>
- Test RPM - Test RPM

@ -1,5 +1,5 @@
<!DOCTYPE kdevelop> <!DOCTYPE tdevelop>
<kdevelop> <tdevelop>
<general> <general>
<author>Konrad Twardowski</author> <author>Konrad Twardowski</author>
<email>kdtonline@poczta.onet.pl</email> <email>kdtonline@poczta.onet.pl</email>
@ -74,7 +74,7 @@
</run> </run>
<configurations> <configurations>
<default> <default>
<configargs>--prefix=`kde-config --prefix` --enable-debug=full</configargs> <configargs>--prefix=`tde-config --prefix` --enable-debug=full</configargs>
<builddir/> <builddir/>
<topsourcedir/> <topsourcedir/>
<cppflags/> <cppflags/>
@ -318,4 +318,4 @@
<graphicFilter>-f0</graphicFilter> <graphicFilter>-f0</graphicFilter>
<scaling>-1</scaling> <scaling>-1</scaling>
</kdevvisualadvance> </kdevvisualadvance>
</kdevelop> </tdevelop>

@ -8,8 +8,8 @@ URL: http://kshutdown.sf.net/
Packager: Konrad Twardowski <kdtonline@poczta.onet.pl> Packager: Konrad Twardowski <kdtonline@poczta.onet.pl>
Source0: kshutdown-%version.tar.bz2 Source0: kshutdown-%version.tar.bz2
Buildroot: %_tmppath/kshutdown-%version-%release-root Buildroot: %_tmppath/kshutdown-%version-%release-root
Requires: kdelibs >= 3.3.0 Requires: tdelibs >= 3.3.0
BuildRequires: kdelibs-devel BuildRequires: tdelibs-devel
%description %description
KShutDown is an advanced shut down utility for KDE. KShutDown is an advanced shut down utility for KDE.
@ -59,7 +59,7 @@ rm -fr ../file.list.kshutdown
- updated description - updated description
* Mon Aug 1 2005 Konrad Twardowski <kdtonline@poczta.onet.pl> * Mon Aug 1 2005 Konrad Twardowski <kdtonline@poczta.onet.pl>
- removed "kdebase" from "Requires" - removed "tdebase" from "Requires"
* Mon Apr 4 2005 Konrad Twardowski <kdtonline@poczta.onet.pl> * Mon Apr 4 2005 Konrad Twardowski <kdtonline@poczta.onet.pl>
- Test RPM - Test RPM

@ -20,7 +20,7 @@ kshutdown_SOURCES = \
progressbar.cpp \ progressbar.cpp \
systemconfig.cpp systemconfig.cpp
kshutdown_LDADD = $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KFILE) $(LIB_KIO) $(LIB_QT) -lDCOP -lkdefx kshutdown_LDADD = $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_KFILE) $(LIB_KIO) $(LIB_QT) -lDCOP -ltdefx
kshutdown_LDFLAGS = $(all_libraries) $(KDE_RPATH) kshutdown_LDFLAGS = $(all_libraries) $(KDE_RPATH)
EXTRA_DIST = \ EXTRA_DIST = \
@ -31,8 +31,8 @@ EXTRA_DIST = \
appdir = $(prefix)/share/applications appdir = $(prefix)/share/applications
app_DATA = kshutdown.desktop app_DATA = kshutdown.desktop
kconfdir = $(kde_datadir)/kconf_update tdeconfdir = $(kde_datadir)/tdeconf_update
kconf_DATA = kshutdown.upd tdeconf_DATA = kshutdown.upd
INCLUDES = $(all_includes) INCLUDES = $(all_includes)
METASOURCES = AUTO METASOURCES = AUTO

@ -33,8 +33,8 @@
#include <kdebug.h> #include <kdebug.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kimageeffect.h> #include <kimageeffect.h>
#include <klocale.h> #include <tdelocale.h>
#include <kmessagebox.h> #include <tdemessagebox.h>
Action *Action::_instance = 0; Action *Action::_instance = 0;
@ -56,7 +56,7 @@ TQString Action::actionToConfigGroup(const Type action) const
// TODO: 2.0: GDM support // TODO: 2.0: GDM support
// TODO: 2.0: force application exit (without asking for data save) // TODO: 2.0: force application exit (without asking for data save)
bool Action::endSession(const KApplication::ShutdownType type, const Type action) bool Action::endSession(const TDEApplication::ShutdownType type, const Type action)
{ {
_totalExit = false; _totalExit = false;
@ -73,9 +73,9 @@ bool Action::endSession(const KApplication::ShutdownType type, const Type action
_totalExit = true; _totalExit = true;
if ( if (
!kapp->requestShutDown( !kapp->requestShutDown(
KApplication::ShutdownConfirmNo, TDEApplication::ShutdownConfirmNo,
type, type,
KApplication::ShutdownModeForceNow TDEApplication::ShutdownModeForceNow
) )
) )
{ {
@ -123,7 +123,7 @@ bool Action::exec(const Type action, const bool stopTimer)
MiscUtils::runCommandBeforeAction("Shut Down"); MiscUtils::runCommandBeforeAction("Shut Down");
if (method == Method_KDE) if (method == Method_KDE)
return endSession(KApplication::ShutdownTypeHalt, action); return endSession(TDEApplication::ShutdownTypeHalt, action);
break; break;
@ -135,7 +135,7 @@ bool Action::exec(const Type action, const bool stopTimer)
MiscUtils::runCommandBeforeAction("Reboot"); MiscUtils::runCommandBeforeAction("Reboot");
if (method == Method_KDE) if (method == Method_KDE)
return endSession(KApplication::ShutdownTypeReboot, action); return endSession(TDEApplication::ShutdownTypeReboot, action);
break; break;
@ -150,7 +150,7 @@ bool Action::exec(const Type action, const bool stopTimer)
MiscUtils::runCommandBeforeAction("Logout"); MiscUtils::runCommandBeforeAction("Logout");
if (method == Method_KDE) if (method == Method_KDE)
return endSession(KApplication::ShutdownTypeNone, action); return endSession(TDEApplication::ShutdownTypeNone, action);
break; break;
@ -268,7 +268,7 @@ TQString Action::getMethod(const Action::Type action, Method &method, TQString &
defaultCommand = TQString::null; defaultCommand = TQString::null;
} }
KConfig *conf = kshutdownrc->config(); TDEConfig *conf = kshutdownrc->config();
if (!conf->hasGroup(group)) if (!conf->hasGroup(group))
{ {
method = Method_KDE; method = Method_KDE;
@ -305,7 +305,7 @@ TQString Action::getMethod(const Action::Type action, Method &method, TQString &
void Action::setMethod(const TQString &group, const Method method, const TQString &command) const void Action::setMethod(const TQString &group, const Method method, const TQString &command) const
{ {
KConfig *conf = kshutdownrc->config(); TDEConfig *conf = kshutdownrc->config();
conf->setGroup(group); conf->setGroup(group);
if (method == Method_UserCommand) if (method == Method_UserCommand)
conf->writeEntry("Command", command); conf->writeEntry("Command", command);

@ -20,7 +20,7 @@
#ifndef __ACTIONS_H__ #ifndef __ACTIONS_H__
#define __ACTIONS_H__ #define __ACTIONS_H__
#include <kapplication.h> #include <tdeapplication.h>
// default external commands // default external commands
const TQString const TQString
@ -44,7 +44,7 @@ public:
* Methods. Don't change these values! * Methods. Don't change these values!
*/ */
enum Method { enum Method {
Method_KDE = 0, /**< Standard KDE/KDM method. (default) */ Method_KDE = 0, /**< Standard KDE/TDM method. (default) */
Method_DefaultCommand = 1, /**< Default external command. (e.g. /sbin/reboot) */ Method_DefaultCommand = 1, /**< Default external command. (e.g. /sbin/reboot) */
Method_UserCommand = 2 /**< User command. Any command that can be executed by @c KRun::run. */ Method_UserCommand = 2 /**< User command. Any command that can be executed by @c KRun::run. */
}; };
@ -94,7 +94,7 @@ public:
* @param action An action to execute * @param action An action to execute
* @return @c true if successful; otherwise @c false * @return @c true if successful; otherwise @c false
*/ */
bool endSession(const KApplication::ShutdownType type, const Type action); bool endSession(const TDEApplication::ShutdownType type, const Type action);
/** /**
* Executes an action. * Executes an action.

@ -33,8 +33,8 @@
#include <kdebug.h> #include <kdebug.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <klocale.h> #include <tdelocale.h>
#include <kmessagebox.h> #include <tdemessagebox.h>
#include <kpushbutton.h> #include <kpushbutton.h>
// TODO: 2.0: bigger combo box list // TODO: 2.0: bigger combo box list

@ -20,7 +20,7 @@
#ifndef __CONFIGURATION_H__ #ifndef __CONFIGURATION_H__
#define __CONFIGURATION_H__ #define __CONFIGURATION_H__
#include <kconfigskeleton.h> #include <tdeconfigskeleton.h>
#define kshutdownrc Config::getInstance()->getInstance() #define kshutdownrc Config::getInstance()->getInstance()
@ -31,7 +31,7 @@
* @short A configuration reader/writer. * @short A configuration reader/writer.
* Use the @c kshutdownrc macro to access these members. * Use the @c kshutdownrc macro to access these members.
*/ */
class Config: public KConfigSkeleton class Config: public TDEConfigSkeleton
{ {
public: public:
// automation // automation

@ -25,9 +25,9 @@
#include <dcopclient.h> #include <dcopclient.h>
#include <kdialogbase.h> #include <kdialogbase.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <klocale.h> #include <tdelocale.h>
#include <kmessagebox.h> #include <tdemessagebox.h>
#include <kwin.h> #include <twin.h>
// public // public

@ -28,10 +28,10 @@
#include <kdebug.h> #include <kdebug.h>
#include <kdesktopfile.h> #include <kdesktopfile.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <klocale.h> #include <tdelocale.h>
#include <kmessagebox.h> #include <tdemessagebox.h>
#include <kmimetype.h> #include <kmimetype.h>
#include <kpopupmenu.h> #include <tdepopupmenu.h>
#include <kpushbutton.h> #include <kpushbutton.h>
#include <krun.h> #include <krun.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
@ -107,13 +107,13 @@ Extras::Extras()
: TQObject(ks_main, "Extras"), : TQObject(ks_main, "Extras"),
_idToFileMap(0) // initialized in getIdToFileMap() _idToFileMap(0) // initialized in getIdToFileMap()
{ {
_menu = new KPopupMenu(0, "KPopupMenu::_menu"); _menu = new TDEPopupMenu(0, "TDEPopupMenu::_menu");
connect(_menu, SIGNAL(aboutToShow()), SLOT(slotShowMenu())); connect(_menu, SIGNAL(aboutToShow()), SLOT(slotShowMenu()));
connect(_menu, SIGNAL(activated(int)), SLOT(slotActivated(int))); connect(_menu, SIGNAL(activated(int)), SLOT(slotActivated(int)));
} }
// TODO: 2.0: recent items // TODO: 2.0: recent items
void Extras::buildMenu(KPopupMenu *parentMenu, const TQString &subdir) void Extras::buildMenu(TDEPopupMenu *parentMenu, const TQString &subdir)
{ {
int id; int id;
TQDir d(subdir); TQDir d(subdir);
@ -138,11 +138,11 @@ void Extras::buildMenu(KPopupMenu *parentMenu, const TQString &subdir)
// dir // dir
if (fi.isDir()) if (fi.isDir())
{ {
KPopupMenu *submenu = new KPopupMenu(parentMenu, "KPopupMenu::submenu"); TDEPopupMenu *submenu = new TDEPopupMenu(parentMenu, "TDEPopupMenu::submenu");
connect(submenu, SIGNAL(activated(int)), SLOT(slotActivated(int))); connect(submenu, SIGNAL(activated(int)), SLOT(slotActivated(int)));
KDesktopFile *desktopFile = new KDesktopFile(path + "/.directory", true); KDesktopFile *desktopFile = new KDesktopFile(path + "/.directory", true);
if (desktopFile->getConfigState() != KConfigBase::NoAccess) if (desktopFile->getConfigState() != TDEConfigBase::NoAccess)
{ {
icon = desktopFile->readIcon(); icon = desktopFile->readIcon();
if (icon.isEmpty()) if (icon.isEmpty())
@ -191,7 +191,7 @@ void Extras::buildMenu(KPopupMenu *parentMenu, const TQString &subdir)
// application/x-desktop // application/x-desktop
KDesktopFile *desktopFile = new KDesktopFile(path, true); KDesktopFile *desktopFile = new KDesktopFile(path, true);
if (desktopFile->getConfigState() != KConfigBase::NoAccess) if (desktopFile->getConfigState() != TDEConfigBase::NoAccess)
{ {
name = desktopFile->readName(); name = desktopFile->readName();
if (name.isEmpty()) if (name.isEmpty())
@ -268,7 +268,7 @@ void Extras::slotModify()
); );
// launch Konqueror as an item editor // launch Konqueror as an item editor
MiscUtils::runCommand("konqueror \"" + KGlobal::dirs()->saveLocation("data", "kshutdown/extras") + "\""); MiscUtils::runCommand("konqueror \"" + TDEGlobal::dirs()->saveLocation("data", "kshutdown/extras") + "\"");
} }
// private slots // private slots
@ -296,7 +296,7 @@ void Extras::slotShowMenu()
setAction(TQString::null, TQString::null); setAction(TQString::null, TQString::null);
_menu->clear(); // reset menu _menu->clear(); // reset menu
getIdToFileMap()->clear(); // reset map getIdToFileMap()->clear(); // reset map
TQStringList extrasDirs(KGlobal::dirs()->findDirs("data", "kshutdown/extras")); TQStringList extrasDirs(TDEGlobal::dirs()->findDirs("data", "kshutdown/extras"));
TQStringList::ConstIterator TQStringList::ConstIterator
begin = extrasDirs.begin(), begin = extrasDirs.begin(),
end = extrasDirs.end(); end = extrasDirs.end();

@ -23,7 +23,7 @@
#include <ntqobject.h> #include <ntqobject.h>
#include <ntqiconset.h> #include <ntqiconset.h>
class KPopupMenu; class TDEPopupMenu;
class KPushButton; class KPushButton;
#define ks_extras Extras::getInstance() #define ks_extras Extras::getInstance()
@ -80,7 +80,7 @@ public:
void setAction(const TQString &fileToExecute, const TQString &description, TQIconSet *icon = 0); void setAction(const TQString &fileToExecute, const TQString &description, TQIconSet *icon = 0);
private: private:
static Extras *_instance; static Extras *_instance;
KPopupMenu *_menu; TDEPopupMenu *_menu;
KPushButton *_button; KPushButton *_button;
TQMap<int, TQString> *_idToFileMap; TQMap<int, TQString> *_idToFileMap;
TQString TQString
@ -93,7 +93,7 @@ private:
* @param parentMenu A parent menu * @param parentMenu A parent menu
* @param subdir A subdirectory * @param subdir A subdirectory
*/ */
void buildMenu(KPopupMenu *parentMenu, const TQString &subdir); void buildMenu(TDEPopupMenu *parentMenu, const TQString &subdir);
bool execFile() const; bool execFile() const;
TQMap<int, TQString> *getIdToFileMap(); TQMap<int, TQString> *getIdToFileMap();

@ -3,17 +3,17 @@
Name=KShutDown Name=KShutDown
Exec=kshutdown Exec=kshutdown
Icon=kshutdown Icon=kshutdown
Comment=A Shut Down Utility for KDE Comment=A Shut Down Utility for TDE
Comment[cs]=Vypínací utilita pro KDE Comment[cs]=Vypínací utilita pro TDE
Comment[de]=Erweitertes Herunterfahren für KDE Comment[de]=Erweitertes Herunterfahren für TDE
Comment[el]=Ένα εργαλείο τερματισμού για το KDE Comment[el]=Ένα εργαλείο τερματισμού για το TDE
Comment[fr]=Utilitaire de gestion d'arrêt pour KDE Comment[fr]=Utilitaire de gestion d'arrêt pour TDE
Comment[it]=Una utilit<69>KDE per lo spegnimento del sistema Comment[it]=Una utilit<69>TDE per lo spegnimento del sistema
Comment[pl]=Narzędzie do zamykania systemu dla KDE Comment[pl]=Narzędzie do zamykania systemu dla TDE
GenericName=System Shut Down Utility GenericName=System Shut Down Utility
GenericName[fr]=Gestionnaire d'arrêt du système GenericName[fr]=Gestionnaire d'arrêt du système
GenericName[cs]=Časované vypnutí GenericName[cs]=Časované vypnutí
GenericName[pl]=Narzędzie do zamykania systemu GenericName[pl]=Narzędzie do zamykania systemu
DocPath=kshutdown/index.html DocPath=kshutdown/index.html
Type=Application Type=Application
Categories=KDE;Utility; Categories=TDE;Utility;

@ -25,12 +25,12 @@
#include <ntqfile.h> #include <ntqfile.h>
#include <ntqlabel.h> #include <ntqlabel.h>
#include <kapplication.h> #include <tdeapplication.h>
#include <kdesktopfile.h> #include <kdesktopfile.h>
#include <kglobalsettings.h> #include <tdeglobalsettings.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <klocale.h> #include <tdelocale.h>
#include <kmessagebox.h> #include <tdemessagebox.h>
#include <kpushbutton.h> #include <kpushbutton.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
@ -127,7 +127,7 @@ TQString Links::getCurrentLocationPath() const
switch (cb_location->currentItem()) switch (cb_location->currentItem())
{ {
case 0: case 0:
path = KGlobalSettings::desktopPath() + "/"; path = TDEGlobalSettings::desktopPath() + "/";
break; break;
case 1: case 1:
path = locateLocal("apps", "") + "/"; path = locateLocal("apps", "") + "/";

@ -32,7 +32,7 @@
#include <ntqwhatsthis.h> #include <ntqwhatsthis.h>
#include <klineedit.h> #include <klineedit.h>
#include <klocale.h> #include <tdelocale.h>
#include <knuminput.h> #include <knuminput.h>
#include <kpushbutton.h> #include <kpushbutton.h>
@ -108,8 +108,8 @@ MActionEditDialog::MActionEditDialog(TQWidget *parent, Action::Type action)
MiscUtils::HTML( MiscUtils::HTML(
i18n("In most cases you need privileges to shut down system (e.g. run /sbin/shutdown)") + "<br>" \ i18n("In most cases you need privileges to shut down system (e.g. run /sbin/shutdown)") + "<br>" \
"<ul>" \ "<ul>" \
"<li>" + i18n("If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set all methods to <i>KDE</i>") + "</li>" \ "<li>" + i18n("If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set all methods to <i>KDE</i>") + "</li>" \
"<li>" + i18n("If you are using <b>KDE</b> and display manager different than <b>KDM</b>, then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/sbin/...</i>") + "</li>" \ "<li>" + i18n("If you are using <b>KDE</b> and display manager different than <b>TDM</b>, then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/sbin/...</i>") + "</li>" \
"</ul>" + "</ul>" +
i18n("Manuals:") + i18n("Manuals:") +
"<ul>" \ "<ul>" \
@ -139,7 +139,7 @@ MActionEditDialog::MActionEditDialog(TQWidget *parent, Action::Type action)
setMethod(m); setMethod(m);
// command before action // command before action
KConfig *conf = kshutdownrc->config(); TDEConfig *conf = kshutdownrc->config();
conf->setGroup(group); conf->setGroup(group);
c_runCommandBeforeAction->setChecked(conf->readBoolEntry("RunCommandBeforeAction", false)); c_runCommandBeforeAction->setChecked(conf->readBoolEntry("RunCommandBeforeAction", false));
i_commandBeforeAction->setText(conf->readEntry("CommandBeforeAction", "")); i_commandBeforeAction->setText(conf->readEntry("CommandBeforeAction", ""));
@ -208,7 +208,7 @@ void MActionEditDialog::slotOKClicked()
ks_actions->setMethod(group, m, c); ks_actions->setMethod(group, m, c);
// command before action // command before action
KConfig *conf = kshutdownrc->config(); TDEConfig *conf = kshutdownrc->config();
conf->setGroup(group); conf->setGroup(group);
conf->writeEntry("RunCommandBeforeAction", c_runCommandBeforeAction->isChecked()); conf->writeEntry("RunCommandBeforeAction", c_runCommandBeforeAction->isChecked());
conf->writeEntry("CommandBeforeAction", i_commandBeforeAction->text()); conf->writeEntry("CommandBeforeAction", i_commandBeforeAction->text());
@ -219,7 +219,7 @@ void MActionEditDialog::slotTestCommandBeforeAction()
{ {
MiscUtils::runShellCommand( MiscUtils::runShellCommand(
i_commandBeforeAction->text(), i_commandBeforeAction->text(),
KProcess::DontCare, TDEProcess::DontCare,
i_commandBeforeActionPause->value() i_commandBeforeActionPause->value()
); );
} }

@ -26,29 +26,29 @@
#include <ntqfileinfo.h> #include <ntqfileinfo.h>
#include <kaboutdata.h> #include <tdeaboutdata.h>
#include <kcmdlineargs.h> #include <tdecmdlineargs.h>
#include <klocale.h> #include <tdelocale.h>
#include <kmessagebox.h> #include <tdemessagebox.h>
#include <kuniqueapplication.h> #include <kuniqueapplication.h>
// 0.1.x, 0.3.x, etc - Unstable, Beta // 0.1.x, 0.3.x, etc - Unstable, Beta
// 0.2.x, 0.4.x, etc - Stable // 0.2.x, 0.4.x, etc - Stable
TQString version = "1.0.4"; TQString version = "1.0.4";
KAboutData aboutData( TDEAboutData aboutData(
"kshutdown", // internal name "kshutdown", // internal name
"KShutDown", // full name "KShutDown", // full name
version, version,
I18N_NOOP("A Shut Down Utility for KDE"), // description I18N_NOOP("A Shut Down Utility for KDE"), // description
KAboutData::License_GPL_V2, // license TDEAboutData::License_GPL_V2, // license
"(C) 2003-3000 Konrad Twardowski", // copyright "(C) 2003-3000 Konrad Twardowski", // copyright
"", // text "", // text
"http://kshutdown.sourceforge.net/", // project page "http://kshutdown.sourceforge.net/", // project page
"kdtonline@poczta.onet.pl" // bugs "kdtonline@poczta.onet.pl" // bugs
); );
static KCmdLineOptions options[] = static TDECmdLineOptions options[] =
{ {
{ "s", 0, 0 }, { "s", 0, 0 },
{ "shutdown", I18N_NOOP("Turn off computer"), 0 }, { "shutdown", I18N_NOOP("Turn off computer"), 0 },
@ -71,7 +71,7 @@ static KCmdLineOptions options[] =
{ "default", I18N_NOOP("Disable test mode"), 0 }, { "default", I18N_NOOP("Disable test mode"), 0 },
{ "+[time]", I18N_NOOP("Time; Examples: 01:30 - absolute time (HH:MM); " \ { "+[time]", I18N_NOOP("Time; Examples: 01:30 - absolute time (HH:MM); " \
"10 - number of minutes to wait from now"), 0 }, "10 - number of minutes to wait from now"), 0 },
KCmdLineLastOption TDECmdLineLastOption
}; };
/** @short KShutDown application. */ /** @short KShutDown application. */
@ -109,7 +109,7 @@ private:
timeArgIsValid; timeArgIsValid;
TQString timeArg; TQString timeArg;
int doExecAction(const Action::Type action); int doExecAction(const Action::Type action);
int doProcessArgs(const KCmdLineArgs *args); int doProcessArgs(const TDECmdLineArgs *args);
}; };
// public // public
@ -118,7 +118,7 @@ int KShutDownApplication::newInstance()
{ {
// autostart // autostart
if (kapp->isRestored()) { if (kapp->isRestored()) {
KConfig *config = kapp->config(); TDEConfig *config = kapp->config();
config->setGroup("KShutDown"); config->setGroup("KShutDown");
if (!config->readBoolEntry("Autostart", false)) { if (!config->readBoolEntry("Autostart", false)) {
quit(); quit();
@ -140,7 +140,7 @@ int KShutDownApplication::newInstance()
} }
// check command line args // check command line args
KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
int retval = doProcessArgs(args); int retval = doProcessArgs(args);
args->clear(); args->clear();
@ -198,7 +198,7 @@ int KShutDownApplication::doExecAction(const Action::Type action) {
return Mode_Error; return Mode_Error;
} }
int KShutDownApplication::doProcessArgs(const KCmdLineArgs *args) { int KShutDownApplication::doProcessArgs(const TDECmdLineArgs *args) {
if (!ks_main) if (!ks_main)
return Mode_Error; return Mode_Error;
@ -270,9 +270,9 @@ int KShutDownApplication::doProcessArgs(const KCmdLineArgs *args) {
// standard logout dialog // standard logout dialog
if (args->isSet("standard")) { if (args->isSet("standard")) {
kapp->requestShutDown( kapp->requestShutDown(
KApplication::ShutdownConfirmYes, TDEApplication::ShutdownConfirmYes,
KApplication::ShutdownTypeDefault, TDEApplication::ShutdownTypeDefault,
KApplication::ShutdownModeDefault TDEApplication::ShutdownModeDefault
); );
return Mode_Ok; return Mode_Ok;
@ -379,8 +379,8 @@ int main(int argc, char **argv)
aboutData.addCredit("SourceForge.net", "", "", "http://www.sourceforge.net/"); aboutData.addCredit("SourceForge.net", "", "", "http://www.sourceforge.net/");
// init command line // init command line
KCmdLineArgs::init(argc, argv, &aboutData); TDECmdLineArgs::init(argc, argv, &aboutData);
KCmdLineArgs::addCmdLineOptions(options); TDECmdLineArgs::addCmdLineOptions(options);
if (!KUniqueApplication::start()) if (!KUniqueApplication::start())
return 0; return 0;

@ -28,23 +28,23 @@
#include <ntqtooltip.h> #include <ntqtooltip.h>
#include <ntqwhatsthis.h> #include <ntqwhatsthis.h>
#include <kaction.h> #include <tdeaction.h>
#include <kdebug.h> #include <kdebug.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <klocale.h> #include <tdelocale.h>
#include <kmessagebox.h> #include <tdemessagebox.h>
#include <knotifyclient.h> #include <knotifyclient.h>
#include <kpassivepopup.h> #include <kpassivepopup.h>
#include <kpushbutton.h> #include <kpushbutton.h>
#include <krun.h> #include <krun.h>
#include <kwindowinfo.h> #include <twindowinfo.h>
// public // public
void MiscUtils::closeCDTray() void MiscUtils::closeCDTray()
{ {
if (kshutdownrc->cdTrayClose) if (kshutdownrc->cdTrayClose)
runShellCommand(kshutdownrc->cdTrayCloseCommand, KProcess::Block); runShellCommand(kshutdownrc->cdTrayCloseCommand, TDEProcess::Block);
} }
void MiscUtils::customMessage(const TQString &text, const TQString &testCommand) void MiscUtils::customMessage(const TQString &text, const TQString &testCommand)
@ -86,7 +86,7 @@ TQString MiscUtils::formatDateTime(const TQDateTime &dt)
return return
dt.toString( dt.toString(
KGlobal::locale()->use12Clock() TDEGlobal::locale()->use12Clock()
? "hh:mm ap, dddd" ? "hh:mm ap, dddd"
: "hh:mm, dddd" : "hh:mm, dddd"
) + ) +
@ -134,7 +134,7 @@ void MiscUtils::passiveMessage(const TQString &text, TQWidget *parent) {
popup->move(0, 0); popup->move(0, 0);
} }
void MiscUtils::plug(const KAction *action, KPushButton *pushButton) { void MiscUtils::plug(const TDEAction *action, KPushButton *pushButton) {
pushButton->disconnect(); // disconnect all pushButton->disconnect(); // disconnect all
pushButton->connect(pushButton, SIGNAL(clicked()), action, SLOT(activate())); pushButton->connect(pushButton, SIGNAL(clicked()), action, SLOT(activate()));
pushButton->setIconSet(action->iconSet()); pushButton->setIconSet(action->iconSet());
@ -158,7 +158,7 @@ bool MiscUtils::runCommand(const TQString &command)
void MiscUtils::runCommandBeforeAction(const TQString &configEntry) void MiscUtils::runCommandBeforeAction(const TQString &configEntry)
{ {
KConfig *conf = kshutdownrc->config(); TDEConfig *conf = kshutdownrc->config();
if (!conf->hasGroup(configEntry)) if (!conf->hasGroup(configEntry))
return; return;
@ -172,15 +172,15 @@ void MiscUtils::runCommandBeforeAction(const TQString &configEntry)
int pause = conf->readNumEntry("CommandBeforeActionPause", 10); int pause = conf->readNumEntry("CommandBeforeActionPause", 10);
if ((pause < 0) || (pause > 300)) if ((pause < 0) || (pause > 300))
pause = 10; pause = 10;
runShellCommand(command, KProcess::DontCare, pause); runShellCommand(command, TDEProcess::DontCare, pause);
} }
bool MiscUtils::runShellCommand(const TQString &command, const KProcess::RunMode mode, const int pause) bool MiscUtils::runShellCommand(const TQString &command, const TDEProcess::RunMode mode, const int pause)
{ {
if (command.isEmpty()) if (command.isEmpty())
return false; return false;
KProcess *p = new KProcess(); TDEProcess *p = new TDEProcess();
if (!p) if (!p)
{ {
showRunErrorMessage(command); showRunErrorMessage(command);
@ -210,7 +210,7 @@ bool MiscUtils::runShellCommand(const TQString &command, const KProcess::RunMode
} }
void MiscUtils::setAutostart(const bool yes) { void MiscUtils::setAutostart(const bool yes) {
KConfig *config = kapp->config(); TDEConfig *config = kapp->config();
config->setGroup("KShutDown"); config->setGroup("KShutDown");
config->writeEntry("Autostart", yes); config->writeEntry("Autostart", yes);
} }

@ -24,7 +24,7 @@
#include <kprocess.h> #include <kprocess.h>
class KAction; class TDEAction;
class KPushButton; class KPushButton;
/** @short Misc functions. */ /** @short Misc functions. */
@ -85,7 +85,7 @@ public:
static void passiveMessage(const TQString &text, TQWidget *parent = 0); static void passiveMessage(const TQString &text, TQWidget *parent = 0);
static void plug(const KAction *action, KPushButton *pushButton); static void plug(const TDEAction *action, KPushButton *pushButton);
/** /**
* Executes a command. * Executes a command.
@ -103,11 +103,11 @@ public:
/** /**
* Executes a shell command. * Executes a shell command.
* @param command A shell command to execute * @param command A shell command to execute
* @param mode A run mode (@c KProcess::DontCare by default) * @param mode A run mode (@c TDEProcess::DontCare by default)
* @param pause A timeout in seconds (no timeout by default) * @param pause A timeout in seconds (no timeout by default)
* @return @c true if successfull; otherwise @c false * @return @c true if successfull; otherwise @c false
*/ */
static bool runShellCommand(const TQString &command, const KProcess::RunMode mode = KProcess::DontCare, const int pause = -1); static bool runShellCommand(const TQString &command, const TDEProcess::RunMode mode = TDEProcess::DontCare, const int pause = -1);
static void setAutostart(const bool yes); static void setAutostart(const bool yes);

@ -41,18 +41,18 @@
#include <ntqwhatsthis.h> #include <ntqwhatsthis.h>
#include <dcopclient.h> #include <dcopclient.h>
#include <kaction.h> #include <tdeaction.h>
#include <kdebug.h> #include <kdebug.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kglobalaccel.h> #include <kglobalaccel.h>
#include <kkeydialog.h> #include <kkeydialog.h>
#include <klocale.h> #include <tdelocale.h>
#include <kmenubar.h> #include <tdemenubar.h>
#include <kmessagebox.h> #include <tdemessagebox.h>
#include <knotifydialog.h> #include <knotifydialog.h>
#include <kpopupmenu.h> #include <tdepopupmenu.h>
#include <kpushbutton.h> #include <kpushbutton.h>
#include <kwin.h> #include <twin.h>
#include <kdesktopfile.h> #include <kdesktopfile.h>
#include <kmimetype.h> #include <kmimetype.h>
@ -61,7 +61,7 @@ MMainWindow *MMainWindow::_instance = 0;
MMainWindow::MMainWindow() MMainWindow::MMainWindow()
// Iface // Iface
: DCOPObject("KShutdownIface"), : DCOPObject("KShutdownIface"),
KMainWindow(0, "MMainWindow", WStyle_ContextHelp), TDEMainWindow(0, "MMainWindow", WStyle_ContextHelp),
_showMinimizeInfo(true), _showMinimizeInfo(true),
_oldSec(-1), _oldSec(-1),
_delayType(DelayType_Now) _delayType(DelayType_Now)
@ -87,7 +87,7 @@ MMainWindow::MMainWindow()
client->registerAs(kapp->name(), false); client->registerAs(kapp->name(), false);
client->setDefaultObject(objId()); // KShutdownIface client->setDefaultObject(objId()); // KShutdownIface
KConfig *config = kapp->config(); TDEConfig *config = kapp->config();
config->setGroup("Extras"); config->setGroup("Extras");
TQString extrasCommand = config->readEntry("Command", TQString::null); TQString extrasCommand = config->readEntry("Command", TQString::null);
TQString extrasDescription = config->readEntry("Description", TQString::null); TQString extrasDescription = config->readEntry("Description", TQString::null);
@ -102,7 +102,7 @@ MMainWindow::MMainWindow()
else { else {
// application/x-desktop // application/x-desktop
KDesktopFile *desktopFile = new KDesktopFile(extrasCommand, true); KDesktopFile *desktopFile = new KDesktopFile(extrasCommand, true);
if (desktopFile->getConfigState() != KConfigBase::NoAccess) if (desktopFile->getConfigState() != TDEConfigBase::NoAccess)
extrasIcon = TQIconSet(SmallIcon(desktopFile->readIcon())); extrasIcon = TQIconSet(SmallIcon(desktopFile->readIcon()));
delete desktopFile; delete desktopFile;
} }
@ -123,7 +123,7 @@ MMainWindow::MMainWindow()
MMainWindow::~MMainWindow() MMainWindow::~MMainWindow()
{ {
KConfig *config = kapp->config(); TDEConfig *config = kapp->config();
config->setGroup("Extras"); config->setGroup("Extras");
config->writeEntry("Command", ks_extras->fileToExecute()); config->writeEntry("Command", ks_extras->fileToExecute());
config->writeEntry("Description", ks_extras->getActionDescription()); config->writeEntry("Description", ks_extras->getActionDescription());
@ -175,7 +175,7 @@ void MMainWindow::setDelayType(const DelayType value)
_dateTimeEdit->dateEdit()->setEnabled(true); _dateTimeEdit->dateEdit()->setEnabled(true);
_dateTimeEdit->timeEdit()->setEnabled(true); _dateTimeEdit->timeEdit()->setEnabled(true);
_dateTimeEdit->timeEdit()->setDisplay( _dateTimeEdit->timeEdit()->setDisplay(
KGlobal::locale()->use12Clock() TDEGlobal::locale()->use12Clock()
? (TQTimeEdit::Hours | TQTimeEdit::Minutes | TQTimeEdit::AMPM) ? (TQTimeEdit::Hours | TQTimeEdit::Minutes | TQTimeEdit::AMPM)
: (TQTimeEdit::Hours | TQTimeEdit::Minutes) : (TQTimeEdit::Hours | TQTimeEdit::Minutes)
); );
@ -292,8 +292,8 @@ void MMainWindow::start(const bool confirmation) {
if ((_delayType != DelayType_OnAppExit) && (dt_end < dt_start)) if ((_delayType != DelayType_OnAppExit) && (dt_end < dt_start))
{ {
TQString selDT = i18n("Selected date/time: %1").arg("<b>" + KGlobal::locale()->formatDateTime(dt_end, false, true)+ "</b>"); TQString selDT = i18n("Selected date/time: %1").arg("<b>" + TDEGlobal::locale()->formatDateTime(dt_end, false, true)+ "</b>");
TQString curDT = i18n("Current date/time: %1").arg("<b>" + KGlobal::locale()->formatDateTime(dt_start, false, true) + "</b>"); TQString curDT = i18n("Current date/time: %1").arg("<b>" + TDEGlobal::locale()->formatDateTime(dt_start, false, true) + "</b>");
cancel(); cancel();
KMessageBox::error( KMessageBox::error(
@ -470,7 +470,7 @@ void MMainWindow::initMainMenu()
KMenuBar *mainMenu = menuBar(); KMenuBar *mainMenu = menuBar();
// file // file
KPopupMenu *pm_file = new KPopupMenu(this); TDEPopupMenu *pm_file = new TDEPopupMenu(this);
_statisticsAction->plug(pm_file); _statisticsAction->plug(pm_file);
pm_file->insertSeparator(); pm_file->insertSeparator();
if (MiscUtils::isRestricted("tab_stats")) if (MiscUtils::isRestricted("tab_stats"))
@ -481,7 +481,7 @@ void MMainWindow::initMainMenu()
mainMenu->insertItem(i18n("&File"), pm_file); mainMenu->insertItem(i18n("&File"), pm_file);
// actions // actions
KPopupMenu *pm_actions = new KPopupMenu(this); TDEPopupMenu *pm_actions = new TDEPopupMenu(this);
pm_actions->insertTitle(SmallIcon("messagebox_warning"), i18n("No Delay")); pm_actions->insertTitle(SmallIcon("messagebox_warning"), i18n("No Delay"));
_shutDownAction->plug(pm_actions); _shutDownAction->plug(pm_actions);
_rebootAction->plug(pm_actions); _rebootAction->plug(pm_actions);
@ -492,7 +492,7 @@ void MMainWindow::initMainMenu()
mainMenu->insertItem(i18n("&Actions"), pm_actions); mainMenu->insertItem(i18n("&Actions"), pm_actions);
// settings // settings
KPopupMenu *pm_settings = new KPopupMenu(this); TDEPopupMenu *pm_settings = new TDEPopupMenu(this);
_checkSystemConfigurationAction->plug(pm_settings); _checkSystemConfigurationAction->plug(pm_settings);
pm_settings->insertSeparator(); pm_settings->insertSeparator();
pm_settings->insertItem(SmallIcon("configure_shortcuts"), i18n("Configure Global Shortcuts..."), this, SLOT(slotConfigureGlobalShortcuts())); pm_settings->insertItem(SmallIcon("configure_shortcuts"), i18n("Configure Global Shortcuts..."), this, SLOT(slotConfigureGlobalShortcuts()));
@ -510,66 +510,66 @@ void MMainWindow::initActions()
{ {
// shut down actions // shut down actions
ac_shutDown = new KActionCollection(this, this); ac_shutDown = new TDEActionCollection(this, this);
_lockScreenAction = new KAction( _lockScreenAction = new TDEAction(
ks_actions->getName(Action::LockScreen), ks_actions->getName(Action::LockScreen),
ks_actions->getIcon(Action::LockScreen), KShortcut(), ks_actions->getIcon(Action::LockScreen), TDEShortcut(),
ks_actions, SLOT(slotLockScreen()), ks_actions, SLOT(slotLockScreen()),
ac_shutDown, "kshutdown_lockscreen" ac_shutDown, "kshutdown_lockscreen"
); );
_logoutAction = new KAction( _logoutAction = new TDEAction(
ks_actions->getName(Action::Logout), ks_actions->getName(Action::Logout),
ks_actions->getIcon(Action::Logout), KShortcut(), ks_actions->getIcon(Action::Logout), TDEShortcut(),
ks_actions, SLOT(slotLogout()), ks_actions, SLOT(slotLogout()),
ac_shutDown, "kshutdown_logout" ac_shutDown, "kshutdown_logout"
); );
_rebootAction = new KAction( _rebootAction = new TDEAction(
ks_actions->getName(Action::Reboot), ks_actions->getName(Action::Reboot),
ks_actions->getIcon(Action::Reboot), KShortcut(), ks_actions->getIcon(Action::Reboot), TDEShortcut(),
ks_actions, SLOT(slotReboot()), ks_actions, SLOT(slotReboot()),
ac_shutDown, "kshutdown_reboot" ac_shutDown, "kshutdown_reboot"
); );
_shutDownAction = new KAction( _shutDownAction = new TDEAction(
ks_actions->getName(Action::ShutDown), ks_actions->getName(Action::ShutDown),
ks_actions->getIcon(Action::ShutDown), KShortcut(), ks_actions->getIcon(Action::ShutDown), TDEShortcut(),
ks_actions, SLOT(slotShutDown()), ks_actions, SLOT(slotShutDown()),
ac_shutDown, "kshutdown_shutdown" ac_shutDown, "kshutdown_shutdown"
); );
// standard actions // standard actions
_cancelAction = new KAction( _cancelAction = new TDEAction(
i18n("C&ancel"), i18n("C&ancel"),
"cancel", KShortcut(Key_Escape), "cancel", TDEShortcut(Key_Escape),
this, SLOT(slotCancel()), this, SLOT(slotCancel()),
actionCollection(), "kshutdown_cancelaction" actionCollection(), "kshutdown_cancelaction"
); );
_cancelAction->setEnabled(false); _cancelAction->setEnabled(false);
_checkSystemConfigurationAction = new KAction( _checkSystemConfigurationAction = new TDEAction(
i18n("Check &System Configuration"), i18n("Check &System Configuration"),
"button_ok", KShortcut(), "button_ok", TDEShortcut(),
this, SLOT(slotCheckSystemConfig()), this, SLOT(slotCheckSystemConfig()),
actionCollection(), "kshutdown_checksystemconfiguration" actionCollection(), "kshutdown_checksystemconfiguration"
); );
_configureKShutDownAction = KStdAction::preferences(this, SLOT(slotConfigureKShutDown()), actionCollection()); _configureKShutDownAction = KStdAction::preferences(this, SLOT(slotConfigureKShutDown()), actionCollection());
_startAction = new KAction( _startAction = new TDEAction(
i18n("&Start"), i18n("&Start"),
"button_ok", KShortcut(Key_Return), "button_ok", TDEShortcut(Key_Return),
this, SLOT(slotStart()), this, SLOT(slotStart()),
actionCollection(), "kshutdown_startaction" actionCollection(), "kshutdown_startaction"
); );
MiscUtils::plug(_startAction, b_startStop); MiscUtils::plug(_startAction, b_startStop);
_statisticsAction = new KAction( _statisticsAction = new TDEAction(
i18n("&Statistics"), i18n("&Statistics"),
KShortcut(Key_F2), TDEShortcut(Key_F2),
this, SLOT(slotStats()), this, SLOT(slotStats()),
actionCollection(), "kshutdown_statistics" actionCollection(), "kshutdown_statistics"
); );
@ -578,7 +578,7 @@ void MMainWindow::initActions()
ac_shutDown->readShortcutSettings(); ac_shutDown->readShortcutSettings();
// init global actions/shortcuts // init global actions/shortcuts
_globalAccel = new KGlobalAccel(this); _globalAccel = new TDEGlobalAccel(this);
_globalAccel->insert( _globalAccel->insert(
"kshutdown_shutdown", "kshutdown_shutdown",
ks_actions->getName(Action::ShutDown), ks_actions->getName(Action::ShutDown),
@ -735,7 +735,7 @@ void MMainWindow::updateTimeInfo(const int secs)
{ {
setCaptions( setCaptions(
MiscUtils::formatDateTime(secs), MiscUtils::formatDateTime(secs),
KGlobal::locale()->formatDateTime(dt_end, true, true) TDEGlobal::locale()->formatDateTime(dt_end, true, true)
); );
// update progress bar // update progress bar

@ -25,20 +25,20 @@
#include <ntqdatetime.h> #include <ntqdatetime.h>
#include <kmainwindow.h> #include <tdemainwindow.h>
class AppObserver; class AppObserver;
class TQDateTimeEdit; class TQDateTimeEdit;
class TQLabel; class TQLabel;
class KGlobalAccel; class TDEGlobalAccel;
class KPushButton; class KPushButton;
#define ks_main MMainWindow::getInstance() #define ks_main MMainWindow::getInstance()
/** @short The main window. */ /** @short The main window. */
class MMainWindow: public KMainWindow, virtual public KShutdownIface class MMainWindow: public TDEMainWindow, virtual public KShutdownIface
{ {
Q_OBJECT Q_OBJECT
public: public:
@ -80,14 +80,14 @@ public:
void start(const bool confirmation = true); void start(const bool confirmation = true);
// actions // actions
inline KAction *cancelAction() const { return _cancelAction; } inline TDEAction *cancelAction() const { return _cancelAction; }
inline KAction *checkSystemConfigurationAction() const { return _checkSystemConfigurationAction; } inline TDEAction *checkSystemConfigurationAction() const { return _checkSystemConfigurationAction; }
inline KAction *configureKShutDownAction() const { return _configureKShutDownAction; } inline TDEAction *configureKShutDownAction() const { return _configureKShutDownAction; }
inline KAction *lockScreenAction() const { return _lockScreenAction; } inline TDEAction *lockScreenAction() const { return _lockScreenAction; }
inline KAction *logoutAction() const { return _logoutAction; } inline TDEAction *logoutAction() const { return _logoutAction; }
inline KAction *rebootAction() const { return _rebootAction; } inline TDEAction *rebootAction() const { return _rebootAction; }
inline KAction *shutDownAction() const { return _shutDownAction; } inline TDEAction *shutDownAction() const { return _shutDownAction; }
inline KAction *statisticsAction() const { return _statisticsAction; } inline TDEAction *statisticsAction() const { return _statisticsAction; }
// DCOP: // DCOP:
// general: // general:
@ -106,7 +106,7 @@ public:
private: private:
bool _showMinimizeInfo; bool _showMinimizeInfo;
// actions // actions
KAction TDEAction
*_cancelAction, *_cancelAction,
*_checkSystemConfigurationAction, *_checkSystemConfigurationAction,
*_configureKShutDownAction, *_configureKShutDownAction,
@ -116,8 +116,8 @@ private:
*_shutDownAction, *_shutDownAction,
*_startAction, *_startAction,
*_statisticsAction; *_statisticsAction;
KActionCollection *ac_shutDown; TDEActionCollection *ac_shutDown;
KGlobalAccel *_globalAccel; TDEGlobalAccel *_globalAccel;
int _oldSec; int _oldSec;
AppObserver *_appObserver; AppObserver *_appObserver;

@ -30,10 +30,10 @@
#include <kdebug.h> #include <kdebug.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <klocale.h> #include <tdelocale.h>
#include <kpopupmenu.h> #include <tdepopupmenu.h>
#include <kpushbutton.h> #include <kpushbutton.h>
#include <kwin.h> #include <twin.h>
// public // public

@ -40,13 +40,13 @@
#include <ntqvgroupbox.h> #include <ntqvgroupbox.h>
#include <ntqwhatsthis.h> #include <ntqwhatsthis.h>
#include <kconfigdialogmanager.h> #include <tdeconfigdialogmanager.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <klineedit.h> #include <klineedit.h>
#include <klistview.h> #include <tdelistview.h>
#include <klocale.h> #include <tdelocale.h>
#include <kmessagebox.h> #include <tdemessagebox.h>
#include <kpopupmenu.h> #include <tdepopupmenu.h>
#include <knuminput.h> #include <knuminput.h>
#include <kpushbutton.h> #include <kpushbutton.h>
#include <kstandarddirs.h> #include <kstandarddirs.h>
@ -77,7 +77,7 @@ MSettingsDialog::MSettingsDialog(TQWidget *parent)
initActionsPage(); initActionsPage();
initAdvancedPage(); initAdvancedPage();
_configDialogManager = new KConfigDialogManager(this, kshutdownrc); _configDialogManager = new TDEConfigDialogManager(this, kshutdownrc);
_configDialogManager->updateWidgets(); _configDialogManager->updateWidgets();
connect(_configDialogManager, SIGNAL(widgetModified()), SLOT(slotConfigChanged())); connect(_configDialogManager, SIGNAL(widgetModified()), SLOT(slotConfigChanged()));
@ -85,7 +85,7 @@ MSettingsDialog::MSettingsDialog(TQWidget *parent)
connect(this, SIGNAL(okClicked()), SLOT(slotOKClicked())); connect(this, SIGNAL(okClicked()), SLOT(slotOKClicked()));
// lock after login // lock after login
c_autoLock->setChecked(TQFile::exists(KGlobalSettings::autostartPath() + "/kshutdown-autolock.desktop")); c_autoLock->setChecked(TQFile::exists(TDEGlobalSettings::autostartPath() + "/kshutdown-autolock.desktop"));
setInitialSize(configDialogSize("Settings Dialog")); setInitialSize(configDialogSize("Settings Dialog"));
showPage(_lastPage); // restore last page showPage(_lastPage); // restore last page
@ -134,7 +134,7 @@ void MSettingsDialog::initActionsPage()
TQVGroupBox *gb_general = new TQVGroupBox(i18n("Actions"), _actionsPage); TQVGroupBox *gb_general = new TQVGroupBox(i18n("Actions"), _actionsPage);
_actions = new KListView(gb_general, "KListView::_actions"); _actions = new TDEListView(gb_general, "TDEListView::_actions");
_actions->setAllColumnsShowFocus(true); _actions->setAllColumnsShowFocus(true);
_actions->setItemMargin(5); _actions->setItemMargin(5);
_actions->setMaximumHeight(200); _actions->setMaximumHeight(200);
@ -144,16 +144,16 @@ void MSettingsDialog::initActionsPage()
_actions->addColumn(i18n("Command before action")); _actions->addColumn(i18n("Command before action"));
_actions->header()->setClickEnabled(false); _actions->header()->setClickEnabled(false);
_logoutItem = new KListViewItem(_actions, ks_actions->getName(Action::Logout)); _logoutItem = new TDEListViewItem(_actions, ks_actions->getName(Action::Logout));
_logoutItem->setPixmap(0, ks_actions->getIcon(Action::Logout)); _logoutItem->setPixmap(0, ks_actions->getIcon(Action::Logout));
_lockScreenItem = new KListViewItem(_actions, ks_actions->getName(Action::LockScreen)); _lockScreenItem = new TDEListViewItem(_actions, ks_actions->getName(Action::LockScreen));
_lockScreenItem->setPixmap(0, ks_actions->getIcon(Action::LockScreen)); _lockScreenItem->setPixmap(0, ks_actions->getIcon(Action::LockScreen));
_rebootItem = new KListViewItem(_actions, ks_actions->getName(Action::Reboot)); _rebootItem = new TDEListViewItem(_actions, ks_actions->getName(Action::Reboot));
_rebootItem->setPixmap(0, ks_actions->getIcon(Action::Reboot)); _rebootItem->setPixmap(0, ks_actions->getIcon(Action::Reboot));
_shutDownItem = new KListViewItem(_actions, ks_actions->getName(Action::ShutDown)); _shutDownItem = new TDEListViewItem(_actions, ks_actions->getName(Action::ShutDown));
_shutDownItem->setPixmap(0, ks_actions->getIcon(Action::ShutDown)); _shutDownItem->setPixmap(0, ks_actions->getIcon(Action::ShutDown));
connect(_actions, SIGNAL(doubleClicked(TQListViewItem *, const TQPoint &, int)), SLOT(slotEditAction())); connect(_actions, SIGNAL(doubleClicked(TQListViewItem *, const TQPoint &, int)), SLOT(slotEditAction()));
@ -331,7 +331,7 @@ void MSettingsDialog::initMessagesPage()
l_customMessageCommand->setBuddy(in_customMessageCommand); l_customMessageCommand->setBuddy(in_customMessageCommand);
KPushButton *b_customMessagePresets = new KPushButton(i18n("Presets"), w_customMessage, "KPushButton::b_customMessagePresets"); KPushButton *b_customMessagePresets = new KPushButton(i18n("Presets"), w_customMessage, "KPushButton::b_customMessagePresets");
KPopupMenu *pm_customMessagePresets = new KPopupMenu(b_customMessagePresets); TDEPopupMenu *pm_customMessagePresets = new TDEPopupMenu(b_customMessagePresets);
pm_customMessagePresets->insertItem("KDialog", this, SLOT(slotSetKDialogCustomMessage())); pm_customMessagePresets->insertItem("KDialog", this, SLOT(slotSetKDialogCustomMessage()));
pm_customMessagePresets->insertItem("Amor", this, SLOT(slotSetAmorCustomMessage())); pm_customMessagePresets->insertItem("Amor", this, SLOT(slotSetAmorCustomMessage()));
b_customMessagePresets->setPopup(pm_customMessagePresets); b_customMessagePresets->setPopup(pm_customMessagePresets);
@ -383,7 +383,7 @@ void MSettingsDialog::initMessagesPage()
b_testCustomMessage, SLOT(setEnabled(bool))); b_testCustomMessage, SLOT(setEnabled(bool)));
} }
Action::Type MSettingsDialog::itemToActionType(const KListViewItem *item) const Action::Type MSettingsDialog::itemToActionType(const TDEListViewItem *item) const
{ {
if (!item) if (!item)
return Action::Nothing; return Action::Nothing;
@ -412,7 +412,7 @@ void MSettingsDialog::updateActions()
_actions->setCurrentItem(_shutDownItem); _actions->setCurrentItem(_shutDownItem);
} }
void MSettingsDialog::updateItem(KListViewItem *item) void MSettingsDialog::updateItem(TDEListViewItem *item)
{ {
Action::Type action = itemToActionType(item); Action::Type action = itemToActionType(item);
@ -435,7 +435,7 @@ void MSettingsDialog::updateItem(KListViewItem *item)
// command before action // command before action
if (!group.isNull()) if (!group.isNull())
{ {
KConfig *conf = kshutdownrc->config(); TDEConfig *conf = kshutdownrc->config();
conf->setGroup(group); conf->setGroup(group);
if (conf->readBoolEntry("RunCommandBeforeAction", false)) if (conf->readBoolEntry("RunCommandBeforeAction", false))
{ {
@ -473,7 +473,7 @@ void MSettingsDialog::slotCustomMessageTest()
void MSettingsDialog::slotEditAction() void MSettingsDialog::slotEditAction()
{ {
KListViewItem *item = static_cast<KListViewItem *>(_actions->currentItem()); TDEListViewItem *item = static_cast<TDEListViewItem *>(_actions->currentItem());
if (!item) if (!item)
return; return;
@ -495,7 +495,7 @@ void MSettingsDialog::slotEnableAllMessages()
void MSettingsDialog::slotKDESettings() void MSettingsDialog::slotKDESettings()
{ {
MiscUtils::runCommand("kcmshell screensaver kcmsmserver kdm"); MiscUtils::runCommand("tdecmshell screensaver kcmsmserver tdm");
} }
void MSettingsDialog::slotOKClicked() void MSettingsDialog::slotOKClicked()
@ -509,7 +509,7 @@ void MSettingsDialog::slotOKClicked()
if (c_autoLock->isChecked()) if (c_autoLock->isChecked())
{ {
Links::createLink( Links::createLink(
KGlobalSettings::autostartPath() + "/kshutdown-autolock.desktop", TDEGlobalSettings::autostartPath() + "/kshutdown-autolock.desktop",
"kshutdown --init --lock", "kshutdown --init --lock",
"kshutdown", "kshutdown",
"KShutDown", "KShutDown",
@ -518,7 +518,7 @@ void MSettingsDialog::slotOKClicked()
} }
else else
{ {
Links::removeLink(KGlobalSettings::autostartPath() + "/kshutdown-autolock.desktop"); Links::removeLink(TDEGlobalSettings::autostartPath() + "/kshutdown-autolock.desktop");
} }
int id = gb_systemTray->selectedId(); int id = gb_systemTray->selectedId();
@ -598,7 +598,7 @@ void MSettingsDialog::slotDefault()
) )
return; return;
KConfig *conf = kshutdownrc->config(); TDEConfig *conf = kshutdownrc->config();
conf->deleteGroup("Shut Down"); conf->deleteGroup("Shut Down");
conf->deleteGroup("Reboot"); conf->deleteGroup("Reboot");
conf->deleteGroup("Lock Screen"); conf->deleteGroup("Lock Screen");

@ -27,11 +27,11 @@
class TQCheckBox; class TQCheckBox;
class TQHButtonGroup; class TQHButtonGroup;
class KConfigDialogManager; class TDEConfigDialogManager;
class KIntNumInput; class KIntNumInput;
class KLineEdit; class KLineEdit;
class KListView; class TDEListView;
class KListViewItem; class TDEListViewItem;
class KPushButton; class KPushButton;
/** @short A settings dialog. */ /** @short A settings dialog. */
@ -69,11 +69,11 @@ public:
private: private:
static int _lastPage; static int _lastPage;
static MSettingsDialog *_instance; static MSettingsDialog *_instance;
KConfigDialogManager *_configDialogManager; TDEConfigDialogManager *_configDialogManager;
KIntNumInput *in_warningMessageDelay; KIntNumInput *in_warningMessageDelay;
KLineEdit *in_customMessageCommand; KLineEdit *in_customMessageCommand;
KListView *_actions; TDEListView *_actions;
KListViewItem TDEListViewItem
*_lockScreenItem, *_lockScreenItem,
*_logoutItem, *_logoutItem,
*_rebootItem, *_rebootItem,
@ -101,9 +101,9 @@ private:
void initAdvancedPage(); void initAdvancedPage();
void initGeneralPage(); void initGeneralPage();
void initMessagesPage(); void initMessagesPage();
Action::Type itemToActionType(const KListViewItem *item) const; Action::Type itemToActionType(const TDEListViewItem *item) const;
void updateActions(); void updateActions();
void updateItem(KListViewItem *item); void updateItem(TDEListViewItem *item);
private slots: private slots:
void slotCheckSystemConfig(); void slotCheckSystemConfig();
void slotConfigChanged(); void slotConfigChanged();

@ -31,7 +31,7 @@
#include <ntqwhatsthis.h> #include <ntqwhatsthis.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <klocale.h> #include <tdelocale.h>
#include <kpushbutton.h> #include <kpushbutton.h>
// public // public
@ -159,7 +159,7 @@ void MStatsTab::slotProcessExit() {
KS_WARNING("sudo") KS_WARNING("sudo")
KS_WARNING("telnet") KS_WARNING("telnet")
_buf.prepend("<pre style=\"font-family: " + KGlobalSettings::fixedFont().family() + "\"><b>"); _buf.prepend("<pre style=\"font-family: " + TDEGlobalSettings::fixedFont().family() + "\"><b>");
_buf.append("</b></pre>"); _buf.append("</b></pre>");
te_output->setText(MiscUtils::HTML(_buf)); te_output->setText(MiscUtils::HTML(_buf));

@ -24,14 +24,14 @@
#include <ntqtimer.h> #include <ntqtimer.h>
#include <kaction.h> #include <tdeaction.h>
#include <kdebug.h> #include <kdebug.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <klocale.h> #include <tdelocale.h>
#include <kpixmap.h> #include <kpixmap.h>
#include <kpixmapeffect.h> #include <kpixmapeffect.h>
#include <kpopupmenu.h> #include <tdepopupmenu.h>
#include <kwin.h> #include <twin.h>
const double const double
KS_TRAY_FADE_CHANGE = 0.05f, KS_TRAY_FADE_CHANGE = 0.05f,
@ -134,7 +134,7 @@ MSystemTray::MSystemTray()
_flashCount(0), _flashCount(0),
_saveIcon(0) _saveIcon(0)
{ {
setPixmap(SmallIcon("exit", KIcon::SizeSmallMedium)); // 22x22 setPixmap(SmallIcon("exit", TDEIcon::SizeSmallMedium)); // 22x22
// TODO: 2.0: mouse wheel: decrease/increase end time by 5min. (?) // TODO: 2.0: mouse wheel: decrease/increase end time by 5min. (?)
@ -147,13 +147,13 @@ MSystemTray::MSystemTray()
connect(_flashTimer, SIGNAL(timeout()), SLOT(slotFlashTimeout())); connect(_flashTimer, SIGNAL(timeout()), SLOT(slotFlashTimeout()));
// init icons // init icons
KPixmap pm(SmallIcon("exit", KIcon::SizeSmallMedium)); KPixmap pm(SmallIcon("exit", TDEIcon::SizeSmallMedium));
_flashIcon = new KPixmap(KPixmapEffect::fade(pm, 0.7f, white)); _flashIcon = new KPixmap(KPixmapEffect::fade(pm, 0.7f, white));
show(); show();
// add some items to the context menu // add some items to the context menu
KPopupMenu *pm_systemTrayMenu = contextMenu(); TDEPopupMenu *pm_systemTrayMenu = contextMenu();
pm_systemTrayMenu->setCaption("KShutDown"); pm_systemTrayMenu->setCaption("KShutDown");
// id 0 = title // id 0 = title
ks_main->shutDownAction()->plug(pm_systemTrayMenu, 1); ks_main->shutDownAction()->plug(pm_systemTrayMenu, 1);
@ -194,7 +194,7 @@ void MSystemTray::slotFade()
_fadeValue = 0.0f; _fadeValue = 0.0f;
} }
} }
KPixmap p(SmallIcon("exit", KIcon::SizeSmallMedium)); KPixmap p(SmallIcon("exit", TDEIcon::SizeSmallMedium));
setPixmap(KPixmapEffect::fade(p, _fadeValue, KS_TRAY_FADE_COLOR)); setPixmap(KPixmapEffect::fade(p, _fadeValue, KS_TRAY_FADE_COLOR));
} }

@ -86,5 +86,5 @@ void MTip::setTipType(const TipType value)
TQString MTip::getIconPath(const TQString &name) const TQString MTip::getIconPath(const TQString &name) const
{ {
return KGlobal::iconLoader()->iconPath(name, KIcon::NoGroup, KIcon::SizeLarge); return TDEGlobal::iconLoader()->iconPath(name, TDEIcon::NoGroup, TDEIcon::SizeLarge);
} }

@ -21,10 +21,10 @@
#include <ntqdesktopwidget.h> #include <ntqdesktopwidget.h>
#include <ntqpainter.h> #include <ntqpainter.h>
#include <kapplication.h> #include <tdeapplication.h>
#include <kdebug.h> #include <kdebug.h>
#include <klocale.h> #include <tdelocale.h>
#include <kpopupmenu.h> #include <tdepopupmenu.h>
#include "configuration.h" #include "configuration.h"
#include "progressbar.h" #include "progressbar.h"
@ -94,7 +94,7 @@ void ProgressBar::mousePressEvent(TQMouseEvent *e) {
// TODO: 2.0: color configuration // TODO: 2.0: color configuration
// TODO: 2.0: size configuration // TODO: 2.0: size configuration
// show popup menu // show popup menu
KPopupMenu *popup = new KPopupMenu(this); TDEPopupMenu *popup = new TDEPopupMenu(this);
popup->insertTitle(kapp->miniIcon(), "KShutDown"); popup->insertTitle(kapp->miniIcon(), "KShutDown");
popup->insertItem(i18n("Hide"), this, SLOT(hide())); popup->insertItem(i18n("Hide"), this, SLOT(hide()));
popup->insertTitle("Position"); popup->insertTitle("Position");

@ -25,10 +25,10 @@
#include <ntqfileinfo.h> #include <ntqfileinfo.h>
#include <ntqheader.h> #include <ntqheader.h>
#include <kapplication.h> #include <tdeapplication.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <klistview.h> #include <tdelistview.h>
#include <klocale.h> #include <tdelocale.h>
// http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417301 // http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=417301
#include <cstdlib> #include <cstdlib>
@ -77,7 +77,7 @@ SystemConfig::SystemConfig(TQWidget *parent)
), ),
_problems(0) _problems(0)
{ {
_messages = new KListView(this, "KListView::_messages"); _messages = new TDEListView(this, "TDEListView::_messages");
_messages->setAllColumnsShowFocus(true); _messages->setAllColumnsShowFocus(true);
_messages->setItemMargin(5); _messages->setItemMargin(5);
_messages->setSorting(-1); // no sort _messages->setSorting(-1); // no sort
@ -100,9 +100,9 @@ SystemConfig::SystemConfig(TQWidget *parent)
add(OK, i18n("No problems were found.")); add(OK, i18n("No problems were found."));
} }
KListViewItem *SystemConfig::add(const Type type, const TQString &message) TDEListViewItem *SystemConfig::add(const Type type, const TQString &message)
{ {
KListViewItem *item = new KListViewItem(_messages); TDEListViewItem *item = new TDEListViewItem(_messages);
item->setMultiLinesEnabled(true); item->setMultiLinesEnabled(true);
switch (type) switch (type)
{ {
@ -148,7 +148,7 @@ void SystemConfig::checkKDE()
} }
} }
/* TODO: 2.0: KDM configurator /* TODO: 2.0: TDM configurator
From old FAQ: From old FAQ:
- Do it as root! - Do it as root!
- Make sure you first create backup of the "/etc/sysconfig/desktop" file - Make sure you first create backup of the "/etc/sysconfig/desktop" file
@ -162,7 +162,7 @@ void SystemConfig::checkKDM()
{ {
// TODO: 2.0: auto configuration // TODO: 2.0: auto configuration
add(Info, i18n("Tip: You can customize Actions to work with GDM.\n(Settings -> Configure KShutDown... -> Actions)")); add(Info, i18n("Tip: You can customize Actions to work with GDM.\n(Settings -> Configure KShutDown... -> Actions)"));
_kdmNotDetected = add(Warning, i18n("KDE Display Manager is not running,\nor the shut down/reboot function is disabled.\n\nClick here to configure KDM.")); _tdmNotDetected = add(Warning, i18n("KDE Display Manager is not running,\nor the shut down/reboot function is disabled.\n\nClick here to configure TDM."));
} }
} }
@ -173,9 +173,9 @@ void SystemConfig::slotExecuted(TQListViewItem *item)
if (!item) if (!item)
return; return;
if (item == _kdmNotDetected) if (item == _tdmNotDetected)
{ {
MiscUtils::runShellCommand("kdesu -c \"kcmshell kdm\" -i \"exit\""); MiscUtils::runShellCommand("tdesu -c \"tdecmshell tdm\" -i \"exit\"");
return; return;
} }

@ -22,8 +22,8 @@
#include <kdialogbase.h> #include <kdialogbase.h>
class KListView; class TDEListView;
class KListViewItem; class TDEListViewItem;
/** @short A system configuration manager. */ /** @short A system configuration manager. */
class SystemConfig: KDialogBase class SystemConfig: KDialogBase
@ -44,12 +44,12 @@ private:
enum Type { Info, OK, Warning }; enum Type { Info, OK, Warning };
static int _canShutDown; static int _canShutDown;
int _problems; int _problems;
KListView *_messages; TDEListView *_messages;
KListViewItem TDEListViewItem
*_kdmNotDetected, *_tdmNotDetected,
*_shutdownAllowItem; *_shutdownAllowItem;
SystemConfig(TQWidget *parent); SystemConfig(TQWidget *parent);
KListViewItem *add(const Type type, const TQString &message); TDEListViewItem *add(const Type type, const TQString &message);
void checkFile(const TQString &file); void checkFile(const TQString &file);
void checkKDE(); void checkKDE();
void checkKDM(); void checkKDM();

@ -4,7 +4,7 @@ METASOURCES = AUTO
kde_module_LTLIBRARIES = kshutdownlockout_panelapplet.la kde_module_LTLIBRARIES = kshutdownlockout_panelapplet.la
kshutdownlockout_panelapplet_la_SOURCES = lockout.cpp kshutdownlockout_panelapplet_la_SOURCES = lockout.cpp
kshutdownlockout_panelapplet_la_LDFLAGS = -module $(KDE_PLUGIN) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_QT) -lDCOP $(all_libraries) kshutdownlockout_panelapplet_la_LDFLAGS = -module $(KDE_PLUGIN) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_QT) -lDCOP $(all_libraries)
kshutdownlockout_panelapplet_la_LIBADD = $(LIB_KSYCOCA) kshutdownlockout_panelapplet_la_LIBADD = $(LIB_KSYCOCA)
noinst_HEADERS = lockout.h noinst_HEADERS = lockout.h

@ -43,7 +43,7 @@ Comment[nn]=Panelknappar for skjermlås/utlogging
Comment[nso]=Ditobetswa tsa Notlelo/Etswa tsa panel Comment[nso]=Ditobetswa tsa Notlelo/Etswa tsa panel
Comment[pa]=ਪੈਨਲ ਲਈ ਤਾਲਾ/ਬਾਹਰੀ ਦਰ ਐਪਲਿਟ Comment[pa]=ਪੈਨਲ ਲਈ ਤਾਲਾ/ਬਾਹਰੀ ਦਰ ਐਪਲਿਟ
Comment[pl]=Przyciski blokowania i wylogowania dla panelu Comment[pl]=Przyciski blokowania i wylogowania dla panelu
Comment[pt]=Os botões para trancar o ecrã e sair do KDE para o painel Comment[pt]=Os botões para trancar o ecrã e sair do TDE para o painel
Comment[pt_BR]=Botões de Travar/Sair para o Painel Comment[pt_BR]=Botões de Travar/Sair para o Painel
Comment[ro]=Butoane de ieşire şi de blocare ecran, pentru panou Comment[ro]=Butoane de ieşire şi de blocare ecran, pentru panou
Comment[ru]=Кнопки выхода/запирания экрана на панели Comment[ru]=Кнопки выхода/запирания экрана на панели
@ -68,4 +68,4 @@ Comment[zh_TW]=在面板上顯示「螢幕鎖定/登出」按鈕
Comment[zu]=Izinkinobho Zokukhiya/Ukuphumela ngaphandle zewindi lemininingwane Comment[zu]=Izinkinobho Zokukhiya/Ukuphumela ngaphandle zewindi lemininingwane
# DUPLICATE: Comment[el]=Κουμπιά κλειδώματος/αποσύνδεσης για τον πίνακα # DUPLICATE: Comment[el]=Κουμπιά κλειδώματος/αποσύνδεσης για τον πίνακα
Icon=kshutdown Icon=kshutdown
X-KDE-Library=kshutdownlockout_panelapplet X-TDE-Library=kshutdownlockout_panelapplet

@ -38,13 +38,13 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <ntqtooltip.h> #include <ntqtooltip.h>
#include <dcopclient.h> #include <dcopclient.h>
#include <kaction.h> #include <tdeaction.h>
#include <kapplication.h> #include <tdeapplication.h>
#include <kglobal.h> #include <tdeglobal.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <klocale.h> #include <tdelocale.h>
#include <kmessagebox.h> #include <tdemessagebox.h>
#include <kpopupmenu.h> #include <tdepopupmenu.h>
#include <kprocess.h> #include <kprocess.h>
#include <krun.h> #include <krun.h>
@ -60,7 +60,7 @@ extern "C"
KDE_EXPORT KPanelApplet *init(TQWidget *parent, const TQString& configFile) KDE_EXPORT KPanelApplet *init(TQWidget *parent, const TQString& configFile)
{ {
// share i18n with KShutDown // share i18n with KShutDown
KGlobal::locale()->insertCatalogue("kshutdown"); TDEGlobal::locale()->insertCatalogue("kshutdown");
return new Lockout(configFile, parent); return new Lockout(configFile, parent);
} }
@ -82,7 +82,7 @@ Lockout::Lockout(const TQString& configFile, TQWidget *parent)
initActions(); initActions();
KPopupMenu *pm_actions = new KPopupMenu(this); TDEPopupMenu *pm_actions = new TDEPopupMenu(this);
pm_actions->insertTitle(SmallIcon("messagebox_warning"), i18n("No Delay")); pm_actions->insertTitle(SmallIcon("messagebox_warning"), i18n("No Delay"));
_shutDownAction->plug(pm_actions); _shutDownAction->plug(pm_actions);
_rebootAction->plug(pm_actions); _rebootAction->plug(pm_actions);
@ -105,7 +105,7 @@ Lockout::Lockout(const TQString& configFile, TQWidget *parent)
layout->addWidget(button); layout->addWidget(button);
/* // read configuration /* // read configuration
KConfig *config = this->config(); TDEConfig *config = this->config();
config->setGroup("kshutdownlockout"); config->setGroup("kshutdownlockout");
_transparent = config->readBoolEntry("Transparent", true); _transparent = config->readBoolEntry("Transparent", true);
*/ */
@ -124,7 +124,7 @@ Lockout::Lockout(const TQString& configFile, TQWidget *parent)
Lockout::~Lockout() Lockout::~Lockout()
{ {
KGlobal::locale()->removeCatalogue("kshutdown"); TDEGlobal::locale()->removeCatalogue("kshutdown");
} }
int Lockout::heightForWidth(int/* width*/) const int Lockout::heightForWidth(int/* width*/) const
@ -143,7 +143,7 @@ void Lockout::callKShutDown(const TQCString &function) {
DCOPClient *client = kapp->dcopClient(); DCOPClient *client = kapp->dcopClient();
if (!client->isApplicationRegistered("kshutdown")) { if (!client->isApplicationRegistered("kshutdown")) {
// run KShutDown // run KShutDown
KProcess *p = new KProcess(); TDEProcess *p = new TDEProcess();
if (!p) { if (!p) {
KMessageBox::error(0, i18n("Could not run KShutDown!")); KMessageBox::error(0, i18n("Could not run KShutDown!"));
@ -151,7 +151,7 @@ void Lockout::callKShutDown(const TQCString &function) {
} }
*p << "kshutdown"; *p << "kshutdown";
*p << "--init"; *p << "--init";
if (!p->start(KProcess::Block)) if (!p->start(TDEProcess::Block))
KMessageBox::error(0, i18n("Could not run KShutDown!")); KMessageBox::error(0, i18n("Could not run KShutDown!"));
delete p; delete p;
} }
@ -159,36 +159,36 @@ void Lockout::callKShutDown(const TQCString &function) {
} }
void Lockout::initActions() { void Lockout::initActions() {
KActionCollection *ac_shutDown = new KActionCollection(this, this); TDEActionCollection *ac_shutDown = new TDEActionCollection(this, this);
_lockScreenAction = new KAction( _lockScreenAction = new TDEAction(
i18n("Lock Screen"), "lock", KShortcut(), i18n("Lock Screen"), "lock", TDEShortcut(),
this, SLOT(slotLockScreen()), this, SLOT(slotLockScreen()),
ac_shutDown, "kshutdown_lockscreen" ac_shutDown, "kshutdown_lockscreen"
); );
_logoutAction = new KAction( _logoutAction = new TDEAction(
i18n("End Current Session"), "undo", KShortcut(), i18n("End Current Session"), "undo", TDEShortcut(),
this, SLOT(slotLogout()), this, SLOT(slotLogout()),
ac_shutDown, "kshutdown_logout" ac_shutDown, "kshutdown_logout"
); );
_rebootAction = new KAction( _rebootAction = new TDEAction(
i18n("Restart Computer"), "reload", KShortcut(), i18n("Restart Computer"), "reload", TDEShortcut(),
this, SLOT(slotReboot()), this, SLOT(slotReboot()),
ac_shutDown, "kshutdown_reboot" ac_shutDown, "kshutdown_reboot"
); );
_shutDownAction = new KAction( _shutDownAction = new TDEAction(
i18n("Turn Off Computer"), "exit", KShortcut(), i18n("Turn Off Computer"), "exit", TDEShortcut(),
this, SLOT(slotShutDown()), this, SLOT(slotShutDown()),
ac_shutDown, "kshutdown_shutdown" ac_shutDown, "kshutdown_shutdown"
); );
// standard actions // standard actions
_configureKShutDownAction = new KAction( _configureKShutDownAction = new TDEAction(
i18n("&Configure KShutDown..."), "configure", KShortcut(), i18n("&Configure KShutDown..."), "configure", TDEShortcut(),
this, SLOT(slotConfigureKShutDown()), this, SLOT(slotConfigureKShutDown()),
ac_shutDown, "options_configure" ac_shutDown, "options_configure"
); );

@ -3,7 +3,7 @@
#include <kpanelapplet.h> #include <kpanelapplet.h>
class KAction; class TDEAction;
/** /**
* @short A KShutDown panel applet. * @short A KShutDown panel applet.
@ -36,7 +36,7 @@ public:
int widthForHeight(int height) const; int widthForHeight(int height) const;
private: private:
bool _transparent; bool _transparent;
KAction TDEAction
*_configureKShutDownAction, *_configureKShutDownAction,
*_lockScreenAction, *_lockScreenAction,
*_logoutAction, *_logoutAction,

@ -698,12 +698,12 @@ msgid ""
"KDE Display Manager is not running,\n" "KDE Display Manager is not running,\n"
"or the shut down/reboot function is disabled.\n" "or the shut down/reboot function is disabled.\n"
"\n" "\n"
"Click here to configure KDM." "Click here to configure TDM."
msgstr "" msgstr ""
"KDM غير مشتغل،\n" "TDM غير مشتغل،\n"
"أو وظيفة الإيقاف وإعادة التشغيل معطلة.\n" "أو وظيفة الإيقاف وإعادة التشغيل معطلة.\n"
"\n" "\n"
"انقر هنا لإعداد KDM." "انقر هنا لإعداد TDM."
#: ../kshutdown/mactioneditdialog.cpp:72 #: ../kshutdown/mactioneditdialog.cpp:72
msgid "Select a method:" msgid "Select a method:"
@ -730,12 +730,12 @@ msgid "In most cases you need privileges to shut down system (e.g. run /sbin/shu
msgstr "تتطلب في أغلب الحالات صلاحيات خاصة استعمال أمر /sbin/shutdown قصد إيقافه." msgstr "تتطلب في أغلب الحالات صلاحيات خاصة استعمال أمر /sbin/shutdown قصد إيقافه."
#: ../kshutdown/mactioneditdialog.cpp:113 #: ../kshutdown/mactioneditdialog.cpp:113
msgid "If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set all methods to <i>KDE</i>" msgid "If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set all methods to <i>KDE</i>"
msgstr "إذا كنت تستعمل <b>KDE</b> و<b>KDM</b>، استعمل <i>KDE</i> قي كل الوظائف." msgstr "إذا كنت تستعمل <b>KDE</b> و<b>TDM</b>، استعمل <i>KDE</i> قي كل الوظائف."
#: ../kshutdown/mactioneditdialog.cpp:114 #: ../kshutdown/mactioneditdialog.cpp:114
msgid "If you are using <b>KDE</b> and display manager different than <b>KDM</b>, then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/sbin/...</i>" msgid "If you are using <b>KDE</b> and display manager different than <b>TDM</b>, then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/sbin/...</i>"
msgstr "إذا كنت تستعمل <b>KDE</b> ومدير جلسات غير <b>KDM</b>، اكتب <i>/sbin</i> في خانات <i>إغلاق الحاسوب</i> و<أعد تشغيل الحاسوب</i>" msgstr "إذا كنت تستعمل <b>KDE</b> ومدير جلسات غير <b>TDM</b>، اكتب <i>/sbin</i> في خانات <i>إغلاق الحاسوب</i> و<أعد تشغيل الحاسوب</i>"
#: ../kshutdown/mactioneditdialog.cpp:116 #: ../kshutdown/mactioneditdialog.cpp:116
msgid "Manuals:" msgid "Manuals:"

@ -679,12 +679,12 @@ msgid ""
"KDE Display Manager is not running,\n" "KDE Display Manager is not running,\n"
"or the shut down/reboot function is disabled.\n" "or the shut down/reboot function is disabled.\n"
"\n" "\n"
"Click here to configure KDM." "Click here to configure TDM."
msgstr "" msgstr ""
"KDM не работи\n" "TDM не работи\n"
"или опцията \"изключване/рестартиране\" е изключена.\n" "или опцията \"изключване/рестартиране\" е изключена.\n"
"\n" "\n"
"Конфигуриране на KDM." "Конфигуриране на TDM."
#: ../kshutdown/mactioneditdialog.cpp:72 #: ../kshutdown/mactioneditdialog.cpp:72
msgid "Select a method:" msgid "Select a method:"
@ -716,17 +716,17 @@ msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:113 #: ../kshutdown/mactioneditdialog.cpp:113
msgid "" msgid ""
"If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set " "If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set "
"all methods to <i>KDE</i>" "all methods to <i>KDE</i>"
msgstr "Ако използвате <b>KDE</b> и <b>KDM</b> (KDE Display Manager), тогава настройте всички методи на <i>KDE</i>" msgstr "Ако използвате <b>KDE</b> и <b>TDM</b> (KDE Display Manager), тогава настройте всички методи на <i>KDE</i>"
#: ../kshutdown/mactioneditdialog.cpp:114 #: ../kshutdown/mactioneditdialog.cpp:114
msgid "" msgid ""
"If you are using <b>KDE</b> and display manager different than <b>KDM</b>, " "If you are using <b>KDE</b> and display manager different than <b>TDM</b>, "
"then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/" "then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/"
"sbin/...</i>" "sbin/...</i>"
msgstr "" msgstr ""
"Ако използвате <b>KDE</b> и мениджърът не е <b>KDM</b>, тогава настройте методите за <i>Изключване на компютъра</i> и <i>Рестартиране на компютъра</i> на <i>/" "Ако използвате <b>KDE</b> и мениджърът не е <b>TDM</b>, тогава настройте методите за <i>Изключване на компютъра</i> и <i>Рестартиране на компютъра</i> на <i>/"
"sbin/...</i>" "sbin/...</i>"
#: ../kshutdown/mactioneditdialog.cpp:116 #: ../kshutdown/mactioneditdialog.cpp:116

@ -250,19 +250,19 @@ msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:111 #: ../kshutdown/mactioneditdialog.cpp:111
msgid "" msgid ""
"If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set " "If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set "
"all methods to <i>KDE</i>" "all methods to <i>KDE</i>"
msgstr "" msgstr ""
"Používáte-li <b>KDE</b> a <b>KDM</b> (správce sezení KDE), nastavte všechny " "Používáte-li <b>KDE</b> a <b>TDM</b> (správce sezení KDE), nastavte všechny "
"metody na <i>KDE</i>." "metody na <i>KDE</i>."
#: ../kshutdown/mactioneditdialog.cpp:112 #: ../kshutdown/mactioneditdialog.cpp:112
msgid "" msgid ""
"If you are using <b>KDE</b> and display manager different than <b>KDM</b>, " "If you are using <b>KDE</b> and display manager different than <b>TDM</b>, "
"then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/" "then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/"
"sbin/...</i>" "sbin/...</i>"
msgstr "" msgstr ""
"Používáte-li <b>KDE</b> a jiného správce sezení než <b>KDM</b>, nastavte " "Používáte-li <b>KDE</b> a jiného správce sezení než <b>TDM</b>, nastavte "
"metody <i>Vypnout počítač</i> a <i>Restartovat počítač</i> na <i>/sbin/...</" "metody <i>Vypnout počítač</i> a <i>Restartovat počítač</i> na <i>/sbin/...</"
"i>." "i>."
@ -758,12 +758,12 @@ msgid ""
"KDE Display Manager is not running,\n" "KDE Display Manager is not running,\n"
"or the shut down/reboot function is disabled.\n" "or the shut down/reboot function is disabled.\n"
"\n" "\n"
"Click here to configure KDM." "Click here to configure TDM."
msgstr "" msgstr ""
"Není spuštěn Správce přihlášení KDE (KDM)\n" "Není spuštěn Správce přihlášení KDE (TDM)\n"
"nebo není povolena funkce vypnout/restartovat.\n" "nebo není povolena funkce vypnout/restartovat.\n"
"\n" "\n"
"Kliknutím sem můžete KDM nastavit." "Kliknutím sem můžete TDM nastavit."
#: ../kshutdown/_translatorinfo.cpp:1 _translatorinfo.cpp:1 #: ../kshutdown/_translatorinfo.cpp:1 _translatorinfo.cpp:1
msgid "" msgid ""

@ -694,12 +694,12 @@ msgid ""
"KDE Display Manager is not running,\n" "KDE Display Manager is not running,\n"
"or the shut down/reboot function is disabled.\n" "or the shut down/reboot function is disabled.\n"
"\n" "\n"
"Click here to configure KDM." "Click here to configure TDM."
msgstr "" msgstr ""
"KDM läuft nicht oder die Herunterfahren/Neustarten-\n" "TDM läuft nicht oder die Herunterfahren/Neustarten-\n"
"Funktion ist deaktiviert.\n" "Funktion ist deaktiviert.\n"
"\n" "\n"
"Hier klicken um KDM einzurichten." "Hier klicken um TDM einzurichten."
#: ../kshutdown/mactioneditdialog.cpp:72 #: ../kshutdown/mactioneditdialog.cpp:72
msgid "Select a method:" msgid "Select a method:"
@ -731,19 +731,19 @@ msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:113 #: ../kshutdown/mactioneditdialog.cpp:113
msgid "" msgid ""
"If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set " "If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set "
"all methods to <i>KDE</i>" "all methods to <i>KDE</i>"
msgstr "" msgstr ""
"Falls Sie <b>KDE</b> und <b>KDM</b> (KDE Display Manager) benutzen, stellen " "Falls Sie <b>KDE</b> und <b>TDM</b> (KDE Display Manager) benutzen, stellen "
"Sie alle Methoden auf <i>KDE</i>" "Sie alle Methoden auf <i>KDE</i>"
#: ../kshutdown/mactioneditdialog.cpp:114 #: ../kshutdown/mactioneditdialog.cpp:114
msgid "" msgid ""
"If you are using <b>KDE</b> and display manager different than <b>KDM</b>, " "If you are using <b>KDE</b> and display manager different than <b>TDM</b>, "
"then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/" "then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/"
"sbin/...</i>" "sbin/...</i>"
msgstr "" msgstr ""
"Falls Sie <b>KDE</b> und einen anderen Displaymanager als <b>KDM</b> " "Falls Sie <b>KDE</b> und einen anderen Displaymanager als <b>TDM</b> "
"verwenden, dann setzen sie die Methoden für<i>Herunterfahren</i> und " "verwenden, dann setzen sie die Methoden für<i>Herunterfahren</i> und "
"<i>Neustarten</i> auf <i>/sbin/...</i>" "<i>Neustarten</i> auf <i>/sbin/...</i>"

@ -698,12 +698,12 @@ msgid ""
"KDE Display Manager is not running,\n" "KDE Display Manager is not running,\n"
"or the shut down/reboot function is disabled.\n" "or the shut down/reboot function is disabled.\n"
"\n" "\n"
"Click here to configure KDM." "Click here to configure TDM."
msgstr "" msgstr ""
"Ο διαχειριστής συνεδρίας του KDE δεν εκτελείται,\n" "Ο διαχειριστής συνεδρίας του KDE δεν εκτελείται,\n"
"ή η ενέργεια κλείσιμο/επανεκκίνηση είναι απενεργοποιημένη.\n" "ή η ενέργεια κλείσιμο/επανεκκίνηση είναι απενεργοποιημένη.\n"
"\n" "\n"
"Κάντε κλικ εδώ για να ρυθμίσετε το KDM." "Κάντε κλικ εδώ για να ρυθμίσετε το TDM."
#: ../kshutdown/mactioneditdialog.cpp:72 #: ../kshutdown/mactioneditdialog.cpp:72
msgid "Select a method:" msgid "Select a method:"
@ -736,20 +736,20 @@ msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:113 #: ../kshutdown/mactioneditdialog.cpp:113
msgid "" msgid ""
"If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set " "If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set "
"all methods to <i>KDE</i>" "all methods to <i>KDE</i>"
msgstr "" msgstr ""
"Αν χρησιμοποιείτε το <b>KDE</b> και το <b>KDM</b> (Διαχειριστής συνεδρίας " "Αν χρησιμοποιείτε το <b>KDE</b> και το <b>TDM</b> (Διαχειριστής συνεδρίας "
"του KDE), ορίστε όλες τις μεθόδους σε <i>KDE</i>" "του KDE), ορίστε όλες τις μεθόδους σε <i>KDE</i>"
#: ../kshutdown/mactioneditdialog.cpp:114 #: ../kshutdown/mactioneditdialog.cpp:114
msgid "" msgid ""
"If you are using <b>KDE</b> and display manager different than <b>KDM</b>, " "If you are using <b>KDE</b> and display manager different than <b>TDM</b>, "
"then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/" "then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/"
"sbin/...</i>" "sbin/...</i>"
msgstr "" msgstr ""
"Αν χρησιμοποιείτε το <b>KDE</b> και διαχειριστή συνεδρίας διαφορετικό του " "Αν χρησιμοποιείτε το <b>KDE</b> και διαχειριστή συνεδρίας διαφορετικό του "
"<b>KDM</b>, ορίστε τις μεθόδους <i>Κλείσιμο υπολογιστή</i> και " "<b>TDM</b>, ορίστε τις μεθόδους <i>Κλείσιμο υπολογιστή</i> και "
"<i>Επανεκκίνηση υπολογιστή</i> σε <i>/sbin/...</i>" "<i>Επανεκκίνηση υπολογιστή</i> σε <i>/sbin/...</i>"
#: ../kshutdown/mactioneditdialog.cpp:116 #: ../kshutdown/mactioneditdialog.cpp:116

@ -175,19 +175,19 @@ msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:110 #: ../kshutdown/mactioneditdialog.cpp:110
msgid "" msgid ""
"If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set " "If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set "
"all methods to <i>KDE</i>" "all methods to <i>KDE</i>"
msgstr "" msgstr ""
"Si está usando <b>KDE</b> y <b>KDM</b> (Gestor de Sesiones de KDE), " "Si está usando <b>KDE</b> y <b>TDM</b> (Gestor de Sesiones de KDE), "
"establezca todos los métodos a <i>KDE</i>" "establezca todos los métodos a <i>KDE</i>"
#: ../kshutdown/mactioneditdialog.cpp:111 #: ../kshutdown/mactioneditdialog.cpp:111
msgid "" msgid ""
"If you are using <b>KDE</b> and display manager different than <b>KDM</b>, " "If you are using <b>KDE</b> and display manager different than <b>TDM</b>, "
"then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/" "then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/"
"sbin/...</i>" "sbin/...</i>"
msgstr "" msgstr ""
"Si está usando <b>KDE</b> y un gestor de sesiones diferente a <b>KDM</b>, " "Si está usando <b>KDE</b> y un gestor de sesiones diferente a <b>TDM</b>, "
"establezca los métodos <i>Apagar el equipo</i> y <i>Reiniciar el equipo</i> " "establezca los métodos <i>Apagar el equipo</i> y <i>Reiniciar el equipo</i> "
"a <i>/sbin/...</i>" "a <i>/sbin/...</i>"
@ -695,12 +695,12 @@ msgid ""
"KDE Display Manager is not running,\n" "KDE Display Manager is not running,\n"
"or the shut down/reboot function is disabled.\n" "or the shut down/reboot function is disabled.\n"
"\n" "\n"
"Click here to configure KDM." "Click here to configure TDM."
msgstr "" msgstr ""
"El gestor de sesiones de KDE no está en funcionamiento,\n" "El gestor de sesiones de KDE no está en funcionamiento,\n"
"o la función de apagar/reiniciar está deshabilitada.\n" "o la función de apagar/reiniciar está deshabilitada.\n"
"\n" "\n"
"Pulse aquí para configurar KDM." "Pulse aquí para configurar TDM."
#: ../kshutdown/actions.cpp:66 #: ../kshutdown/actions.cpp:66
msgid "Please wait..." msgid "Please wait..."

@ -686,7 +686,7 @@ msgid ""
"KDE Display Manager is not running,\n" "KDE Display Manager is not running,\n"
"or the shut down/reboot function is disabled.\n" "or the shut down/reboot function is disabled.\n"
"\n" "\n"
"Click here to configure KDM." "Click here to configure TDM."
msgstr "" msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:72 #: ../kshutdown/mactioneditdialog.cpp:72
@ -714,12 +714,12 @@ msgid "In most cases you need privileges to shut down system (e.g. run /sbin/shu
msgstr "Dans la plupart des cas vous devez avoir des privilèges pour pouvoir éteindre le système (e.g. exécuter /sbin/shutdown)" msgstr "Dans la plupart des cas vous devez avoir des privilèges pour pouvoir éteindre le système (e.g. exécuter /sbin/shutdown)"
#: ../kshutdown/mactioneditdialog.cpp:113 #: ../kshutdown/mactioneditdialog.cpp:113
msgid "If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set all methods to <i>KDE</i>" msgid "If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set all methods to <i>KDE</i>"
msgstr "" msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:114 #: ../kshutdown/mactioneditdialog.cpp:114
msgid "If you are using <b>KDE</b> and display manager different than <b>KDM</b>, then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/sbin/...</i>" msgid "If you are using <b>KDE</b> and display manager different than <b>TDM</b>, then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/sbin/...</i>"
msgstr "Si vous utilisez <b>KDE</b> et un gestionnaire d'affichage différent de <b>KDM</b>, alors configurez <i>Éteindre l'ordinateur</i> et <i>Redémarrer l'ordinateur</i> pour utiliser <i>/sbin/...</i>" msgstr "Si vous utilisez <b>KDE</b> et un gestionnaire d'affichage différent de <b>TDM</b>, alors configurez <i>Éteindre l'ordinateur</i> et <i>Redémarrer l'ordinateur</i> pour utiliser <i>/sbin/...</i>"
#: ../kshutdown/mactioneditdialog.cpp:116 #: ../kshutdown/mactioneditdialog.cpp:116
msgid "Manuals:" msgid "Manuals:"

@ -726,7 +726,7 @@ msgid ""
"KDE Display Manager is not running,\n" "KDE Display Manager is not running,\n"
"or the shut down/reboot function is disabled.\n" "or the shut down/reboot function is disabled.\n"
"\n" "\n"
"Click here to configure KDM." "Click here to configure TDM."
msgstr "" msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:72 #: ../kshutdown/mactioneditdialog.cpp:72
@ -763,19 +763,19 @@ msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:113 #: ../kshutdown/mactioneditdialog.cpp:113
msgid "" msgid ""
"If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set " "If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set "
"all methods to <i>KDE</i>" "all methods to <i>KDE</i>"
msgstr "" msgstr ""
"Ha te <b>KDE</b> és <b>KDM</b>-et (KDE Display Manager) használsz akkor " "Ha te <b>KDE</b> és <b>TDM</b>-et (KDE Display Manager) használsz akkor "
"állitsad be az összes módot a <i>KDE</i>-hez" "állitsad be az összes módot a <i>KDE</i>-hez"
#: ../kshutdown/mactioneditdialog.cpp:114 #: ../kshutdown/mactioneditdialog.cpp:114
msgid "" msgid ""
"If you are using <b>KDE</b> and display manager different than <b>KDM</b>, " "If you are using <b>KDE</b> and display manager different than <b>TDM</b>, "
"then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/" "then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/"
"sbin/...</i>" "sbin/...</i>"
msgstr "" msgstr ""
"Ha KDE vagy KDM-től különböző ablakkezelőt használsz be kell állítanod a " "Ha KDE vagy TDM-től különböző ablakkezelőt használsz be kell állítanod a "
"<i>Shut Down</i> és <i>Reboot</i> módot <i>/sbin/...</i>-ben" "<i>Shut Down</i> és <i>Reboot</i> módot <i>/sbin/...</i>-ben"
#: ../kshutdown/mactioneditdialog.cpp:116 #: ../kshutdown/mactioneditdialog.cpp:116

@ -253,19 +253,19 @@ msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:111 #: ../kshutdown/mactioneditdialog.cpp:111
msgid "" msgid ""
"If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set " "If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set "
"all methods to <i>KDE</i>" "all methods to <i>KDE</i>"
msgstr "" msgstr ""
"Se stai usando <b>KDE</b> e <b>KDM</b> (Gestore Display di KDE), " "Se stai usando <b>KDE</b> e <b>TDM</b> (Gestore Display di KDE), "
"allora imposta tutti i metodi a <i>KDE</i>" "allora imposta tutti i metodi a <i>KDE</i>"
#: ../kshutdown/mactioneditdialog.cpp:112 #: ../kshutdown/mactioneditdialog.cpp:112
msgid "" msgid ""
"If you are using <b>KDE</b> and display manager different than <b>KDM</b>, " "If you are using <b>KDE</b> and display manager different than <b>TDM</b>, "
"then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/" "then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/"
"sbin/...</i>" "sbin/...</i>"
msgstr "" msgstr ""
"Se stai usando <b>KDE</b> e gestori di visulizzazione diversi da <b>KDM</b>, " "Se stai usando <b>KDE</b> e gestori di visulizzazione diversi da <b>TDM</b>, "
"allora imposta i metodi <i>Spegni computer</i> e <i>Riavvia computer</i> a " "allora imposta i metodi <i>Spegni computer</i> e <i>Riavvia computer</i> a "
"<i>/sbin/...</i>" "<i>/sbin/...</i>"
@ -761,12 +761,12 @@ msgid ""
"KDE Display Manager is not running,\n" "KDE Display Manager is not running,\n"
"or the shut down/reboot function is disabled.\n" "or the shut down/reboot function is disabled.\n"
"\n" "\n"
"Click here to configure KDM." "Click here to configure TDM."
msgstr "" msgstr ""
"Il Display Manager KDE no è avviato,\n" "Il Display Manager KDE no è avviato,\n"
"oppure la funzione arresto/riavvia è stata disabilitata,\n" "oppure la funzione arresto/riavvia è stata disabilitata,\n"
"\n" "\n"
"Clicca qui per configurare KDM" "Clicca qui per configurare TDM"
#: ../kshutdown/_translatorinfo.cpp:1 _translatorinfo.cpp:1 #: ../kshutdown/_translatorinfo.cpp:1 _translatorinfo.cpp:1
msgid "" msgid ""

@ -11,7 +11,7 @@ msgstr ""
"POT-Creation-Date: 2006-04-22 18:03+0200\n" "POT-Creation-Date: 2006-04-22 18:03+0200\n"
"PO-Revision-Date: 2004-04-21 22:47+0000\n" "PO-Revision-Date: 2004-04-21 22:47+0000\n"
"Last-Translator: Bram Schoenmakers <bram_s@softhome.net>\n" "Last-Translator: Bram Schoenmakers <bram_s@softhome.net>\n"
"Language-Team: Nederlands <kde-i18n-nl@kde.nl>\n" "Language-Team: Nederlands <tde-i18n-nl@kde.nl>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
@ -724,7 +724,7 @@ msgid ""
"KDE Display Manager is not running,\n" "KDE Display Manager is not running,\n"
"or the shut down/reboot function is disabled.\n" "or the shut down/reboot function is disabled.\n"
"\n" "\n"
"Click here to configure KDM." "Click here to configure TDM."
msgstr "" msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:72 #: ../kshutdown/mactioneditdialog.cpp:72
@ -764,21 +764,21 @@ msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:113 #: ../kshutdown/mactioneditdialog.cpp:113
#, fuzzy #, fuzzy
msgid "" msgid ""
"If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set " "If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set "
"all methods to <i>KDE</i>" "all methods to <i>KDE</i>"
msgstr "" msgstr ""
"Wanneer u gebruik maakt van <b>KDE</b> en <b>KDM</b> (KDE Display Manager), " "Wanneer u gebruik maakt van <b>KDE</b> en <b>TDM</b> (KDE Display Manager), "
"zet dan alle methoden op <i>KDE</i>" "zet dan alle methoden op <i>KDE</i>"
#: ../kshutdown/mactioneditdialog.cpp:114 #: ../kshutdown/mactioneditdialog.cpp:114
#, fuzzy #, fuzzy
msgid "" msgid ""
"If you are using <b>KDE</b> and display manager different than <b>KDM</b>, " "If you are using <b>KDE</b> and display manager different than <b>TDM</b>, "
"then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/" "then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/"
"sbin/...</i>" "sbin/...</i>"
msgstr "" msgstr ""
"Wanneer u gebruik maakt van <b>KDE</b> en een andere display beheerder dan " "Wanneer u gebruik maakt van <b>KDE</b> en een andere display beheerder dan "
"<b>KDM</b>, zet dan de methoden voor <i>Uitschakelen</i> en <i>Herstarten " "<b>TDM</b>, zet dan de methoden voor <i>Uitschakelen</i> en <i>Herstarten "
"op</i> op <i>/sbin/...</i>" "op</i> op <i>/sbin/...</i>"
#: ../kshutdown/mactioneditdialog.cpp:116 #: ../kshutdown/mactioneditdialog.cpp:116

@ -251,19 +251,19 @@ msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:111 #: ../kshutdown/mactioneditdialog.cpp:111
msgid "" msgid ""
"If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set " "If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set "
"all methods to <i>KDE</i>" "all methods to <i>KDE</i>"
msgstr "" msgstr ""
"Jeśli używasz <b>KDE</b> i <b>KDM</b> (KDE Display Manager), ustaw wszystkie " "Jeśli używasz <b>KDE</b> i <b>TDM</b> (KDE Display Manager), ustaw wszystkie "
"metody na <i>KDE</i>" "metody na <i>KDE</i>"
#: ../kshutdown/mactioneditdialog.cpp:112 #: ../kshutdown/mactioneditdialog.cpp:112
msgid "" msgid ""
"If you are using <b>KDE</b> and display manager different than <b>KDM</b>, " "If you are using <b>KDE</b> and display manager different than <b>TDM</b>, "
"then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/" "then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/"
"sbin/...</i>" "sbin/...</i>"
msgstr "" msgstr ""
"Jeśli używasz <b>KDE</b> i menedżera logowania innego niż <b>KDM</b>, ustaw " "Jeśli używasz <b>KDE</b> i menedżera logowania innego niż <b>TDM</b>, ustaw "
"metody poleceń <i>Wyłącz komputer</i> i <i>Uruchom ponownie</i> na <i>/" "metody poleceń <i>Wyłącz komputer</i> i <i>Uruchom ponownie</i> na <i>/"
"sbin/...</i>" "sbin/...</i>"
@ -760,12 +760,12 @@ msgid ""
"KDE Display Manager is not running,\n" "KDE Display Manager is not running,\n"
"or the shut down/reboot function is disabled.\n" "or the shut down/reboot function is disabled.\n"
"\n" "\n"
"Click here to configure KDM." "Click here to configure TDM."
msgstr "" msgstr ""
"Menedżer logowania KDE nie jest uruchomiony,\n" "Menedżer logowania KDE nie jest uruchomiony,\n"
"lub funkcja zamykania/restartu jest wyłączona.\n" "lub funkcja zamykania/restartu jest wyłączona.\n"
"\n" "\n"
"Kliknij tutaj, aby skonfigurować KDM." "Kliknij tutaj, aby skonfigurować TDM."
#: ../kshutdown/_translatorinfo.cpp:1 _translatorinfo.cpp:1 #: ../kshutdown/_translatorinfo.cpp:1 _translatorinfo.cpp:1
msgid "" msgid ""

@ -686,12 +686,12 @@ msgid ""
"KDE Display Manager is not running,\n" "KDE Display Manager is not running,\n"
"or the shut down/reboot function is disabled.\n" "or the shut down/reboot function is disabled.\n"
"\n" "\n"
"Click here to configure KDM." "Click here to configure TDM."
msgstr "" msgstr ""
"O KDE Display Manager não está executando,\n" "O KDE Display Manager não está executando,\n"
"ou oa função de desligar/reiniciar está desabilitada.\n" "ou oa função de desligar/reiniciar está desabilitada.\n"
"\n" "\n"
"Clique aqui para configurar o KDM." "Clique aqui para configurar o TDM."
#: ../kshutdown/mactioneditdialog.cpp:72 #: ../kshutdown/mactioneditdialog.cpp:72
msgid "Select a method:" msgid "Select a method:"
@ -723,20 +723,20 @@ msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:113 #: ../kshutdown/mactioneditdialog.cpp:113
msgid "" msgid ""
"If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set " "If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set "
"all methods to <i>KDE</i>" "all methods to <i>KDE</i>"
msgstr "" msgstr ""
"Se você estiver usando o<b>KDE</b> e o <b>KDM</b> (KDE Display Manager), entăo " "Se você estiver usando o<b>KDE</b> e o <b>TDM</b> (KDE Display Manager), entăo "
"coloque todos os métodos para <i>KDE</i>" "coloque todos os métodos para <i>KDE</i>"
#: ../kshutdown/mactioneditdialog.cpp:114 #: ../kshutdown/mactioneditdialog.cpp:114
msgid "" msgid ""
"If you are using <b>KDE</b> and display manager different than <b>KDM</b>, " "If you are using <b>KDE</b> and display manager different than <b>TDM</b>, "
"then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/" "then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/"
"sbin/...</i>" "sbin/...</i>"
msgstr "" msgstr ""
"Se vocę estiver usando <b>KDE</b> e um display manager diferente que o " "Se vocę estiver usando <b>KDE</b> e um display manager diferente que o "
"<b>KDM</b>, entăo coloque <i>Desligar Computador</i> e <i>Reiniciar o " "<b>TDM</b>, entăo coloque <i>Desligar Computador</i> e <i>Reiniciar o "
"Computador</i> métodos para <i>/sbin/...</i>" "Computador</i> métodos para <i>/sbin/...</i>"
#: ../kshutdown/mactioneditdialog.cpp:116 #: ../kshutdown/mactioneditdialog.cpp:116

@ -725,7 +725,7 @@ msgid ""
"KDE Display Manager is not running,\n" "KDE Display Manager is not running,\n"
"or the shut down/reboot function is disabled.\n" "or the shut down/reboot function is disabled.\n"
"\n" "\n"
"Click here to configure KDM." "Click here to configure TDM."
msgstr "" msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:72 #: ../kshutdown/mactioneditdialog.cpp:72
@ -762,15 +762,15 @@ msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:113 #: ../kshutdown/mactioneditdialog.cpp:113
msgid "" msgid ""
"If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set " "If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set "
"all methods to <i>KDE</i>" "all methods to <i>KDE</i>"
msgstr "" msgstr ""
"Если вы используете <b>KDE</b> и <b>KDM</b> (KDE Display Manager), то " "Если вы используете <b>KDE</b> и <b>TDM</b> (KDE Display Manager), то "
"используйте все методы для <i>KDE</i>" "используйте все методы для <i>KDE</i>"
#: ../kshutdown/mactioneditdialog.cpp:114 #: ../kshutdown/mactioneditdialog.cpp:114
msgid "" msgid ""
"If you are using <b>KDE</b> and display manager different than <b>KDM</b>, " "If you are using <b>KDE</b> and display manager different than <b>TDM</b>, "
"then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/" "then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/"
"sbin/...</i>" "sbin/...</i>"
msgstr "" msgstr ""

@ -680,12 +680,12 @@ msgid ""
"KDE Display Manager is not running,\n" "KDE Display Manager is not running,\n"
"or the shut down/reboot function is disabled.\n" "or the shut down/reboot function is disabled.\n"
"\n" "\n"
"Click here to configure KDM." "Click here to configure TDM."
msgstr "" msgstr ""
"KDE Display Manager nie je spustený,\n" "KDE Display Manager nie je spustený,\n"
"alebo je vypnutá funkcia vypnutia/reštartu.\n" "alebo je vypnutá funkcia vypnutia/reštartu.\n"
"\n" "\n"
"Kliknite sem pre nastavenie KDM." "Kliknite sem pre nastavenie TDM."
#: ../kshutdown/mactioneditdialog.cpp:72 #: ../kshutdown/mactioneditdialog.cpp:72
msgid "Select a method:" msgid "Select a method:"
@ -717,19 +717,19 @@ msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:113 #: ../kshutdown/mactioneditdialog.cpp:113
msgid "" msgid ""
"If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set " "If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set "
"all methods to <i>KDE</i>" "all methods to <i>KDE</i>"
msgstr "" msgstr ""
"Ak používate <b>KDE</b> a <b>KDM</b> (správca sedení KDE), nastavte všetky " "Ak používate <b>KDE</b> a <b>TDM</b> (správca sedení KDE), nastavte všetky "
"metódy na <i>KDE</i>" "metódy na <i>KDE</i>"
#: ../kshutdown/mactioneditdialog.cpp:114 #: ../kshutdown/mactioneditdialog.cpp:114
msgid "" msgid ""
"If you are using <b>KDE</b> and display manager different than <b>KDM</b>, " "If you are using <b>KDE</b> and display manager different than <b>TDM</b>, "
"then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/" "then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/"
"sbin/...</i>" "sbin/...</i>"
msgstr "" msgstr ""
"Ak používate <b>KDE</b> a správcu sedení iný než <b>KDM</b>, nastavte metódy " "Ak používate <b>KDE</b> a správcu sedení iný než <b>TDM</b>, nastavte metódy "
"<i>Vypnúť</i> a <i>Reštartovať</i> na <i>/sbin/...</i>" "<i>Vypnúť</i> a <i>Reštartovať</i> na <i>/sbin/...</i>"
#: ../kshutdown/mactioneditdialog.cpp:116 #: ../kshutdown/mactioneditdialog.cpp:116

@ -697,12 +697,12 @@ msgid ""
"KDE Display Manager is not running,\n" "KDE Display Manager is not running,\n"
"or the shut down/reboot function is disabled.\n" "or the shut down/reboot function is disabled.\n"
"\n" "\n"
"Click here to configure KDM." "Click here to configure TDM."
msgstr "" msgstr ""
"Fönsterhanteraren KDE körs inte eller\n" "Fönsterhanteraren KDE körs inte eller\n"
"så är avstängning/omstartsfunktionen avstängd.\n" "så är avstängning/omstartsfunktionen avstängd.\n"
"\n" "\n"
"Klicka här för att konfigurera KDM." "Klicka här för att konfigurera TDM."
#: ../kshutdown/mactioneditdialog.cpp:72 #: ../kshutdown/mactioneditdialog.cpp:72
msgid "Select a method:" msgid "Select a method:"
@ -734,19 +734,19 @@ msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:113 #: ../kshutdown/mactioneditdialog.cpp:113
msgid "" msgid ""
"If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set " "If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set "
"all methods to <i>KDE</i>" "all methods to <i>KDE</i>"
msgstr "" msgstr ""
"Om du använder <b>KDE</b> och <b>KDM</b> (KDE Skärmhanterare) så sätt alla " "Om du använder <b>KDE</b> och <b>TDM</b> (KDE Skärmhanterare) så sätt alla "
"metoder till <i>KDE</i>" "metoder till <i>KDE</i>"
#: ../kshutdown/mactioneditdialog.cpp:114 #: ../kshutdown/mactioneditdialog.cpp:114
msgid "" msgid ""
"If you are using <b>KDE</b> and display manager different than <b>KDM</b>, " "If you are using <b>KDE</b> and display manager different than <b>TDM</b>, "
"then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/" "then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/"
"sbin/...</i>" "sbin/...</i>"
msgstr "" msgstr ""
"Om du kör <b>KDE</b> och skärmhanteraren är en annan än <b>KDM</b> så sätt " "Om du kör <b>KDE</b> och skärmhanteraren är en annan än <b>TDM</b> så sätt "
"metoderna för <i>Stäng av datorn</i> och <i>Starta om datorn</i> till <i>/" "metoderna för <i>Stäng av datorn</i> och <i>Starta om datorn</i> till <i>/"
"sbin/...</i>" "sbin/...</i>"

@ -249,19 +249,19 @@ msgstr ""
#: ../kshutdown/mactioneditdialog.cpp:111 #: ../kshutdown/mactioneditdialog.cpp:111
msgid "" msgid ""
"If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set " "If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set "
"all methods to <i>KDE</i>" "all methods to <i>KDE</i>"
msgstr "" msgstr ""
"Eğer <b>KDE</b> ve <b>KDM</b> kullanıyorsanız tüm yöntemleri <i>KDE</i> " "Eğer <b>KDE</b> ve <b>TDM</b> kullanıyorsanız tüm yöntemleri <i>KDE</i> "
"olarak seçin" "olarak seçin"
#: ../kshutdown/mactioneditdialog.cpp:112 #: ../kshutdown/mactioneditdialog.cpp:112
msgid "" msgid ""
"If you are using <b>KDE</b> and display manager different than <b>KDM</b>, " "If you are using <b>KDE</b> and display manager different than <b>TDM</b>, "
"then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/" "then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/"
"sbin/...</i>" "sbin/...</i>"
msgstr "" msgstr ""
"Eğer <b>KDE</b> kullanıyorsanız ve <b>KDM</b>'dan farklı bir görüntü " "Eğer <b>KDE</b> kullanıyorsanız ve <b>TDM</b>'dan farklı bir görüntü "
"yönetici kullanıyorsanız <i>Bilgisayarı Kapat</i> ve <i>Bilgisayarı Yeniden " "yönetici kullanıyorsanız <i>Bilgisayarı Kapat</i> ve <i>Bilgisayarı Yeniden "
"Başlat</i> yöntemlerini <i>/sbin/...</i> şeklinde ayarlayın." "Başlat</i> yöntemlerini <i>/sbin/...</i> şeklinde ayarlayın."
@ -756,12 +756,12 @@ msgid ""
"KDE Display Manager is not running,\n" "KDE Display Manager is not running,\n"
"or the shut down/reboot function is disabled.\n" "or the shut down/reboot function is disabled.\n"
"\n" "\n"
"Click here to configure KDM." "Click here to configure TDM."
msgstr "" msgstr ""
"KDM çalışmıyor ya da\n" "TDM çalışmıyor ya da\n"
"bilgisayarı kapat/yeniden başlat işlevleri pasifleştirilmiş.\n" "bilgisayarı kapat/yeniden başlat işlevleri pasifleştirilmiş.\n"
"\n" "\n"
"KDM'ı ayarlamak için buraya tıklayın." "TDM'ı ayarlamak için buraya tıklayın."
#: ../kshutdown/_translatorinfo.cpp:1 _translatorinfo.cpp:1 #: ../kshutdown/_translatorinfo.cpp:1 _translatorinfo.cpp:1
msgid "" msgid ""

@ -695,12 +695,12 @@ msgid ""
"KDE Display Manager is not running,\n" "KDE Display Manager is not running,\n"
"or the shut down/reboot function is disabled.\n" "or the shut down/reboot function is disabled.\n"
"\n" "\n"
"Click here to configure KDM." "Click here to configure TDM."
msgstr "" msgstr ""
"KDE显示管理器没有运行\n" "KDE显示管理器没有运行\n"
"或者关闭/重启功能被取消.\n" "或者关闭/重启功能被取消.\n"
"\n" "\n"
"点击\"这里\"设置KDM" "点击\"这里\"设置TDM"
#: ../kshutdown/mactioneditdialog.cpp:72 #: ../kshutdown/mactioneditdialog.cpp:72
msgid "Select a method:" msgid "Select a method:"
@ -730,19 +730,19 @@ msgstr "多数情况下您需要有特权才能关闭系统(例如运行 /sbin
#: ../kshutdown/mactioneditdialog.cpp:113 #: ../kshutdown/mactioneditdialog.cpp:113
msgid "" msgid ""
"If you are using <b>KDE</b> and <b>KDM</b> (KDE Display Manager), then set " "If you are using <b>KDE</b> and <b>TDM</b> (KDE Display Manager), then set "
"all methods to <i>KDE</i>" "all methods to <i>KDE</i>"
msgstr "" msgstr ""
"如果您正在使用<b>KDE</b> 和 <b>KDM</b> (KDE显示管理器),设置所有模式为" "如果您正在使用<b>KDE</b> 和 <b>TDM</b> (KDE显示管理器),设置所有模式为"
"<i>KDE</i>" "<i>KDE</i>"
#: ../kshutdown/mactioneditdialog.cpp:114 #: ../kshutdown/mactioneditdialog.cpp:114
msgid "" msgid ""
"If you are using <b>KDE</b> and display manager different than <b>KDM</b>, " "If you are using <b>KDE</b> and display manager different than <b>TDM</b>, "
"then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/" "then set <i>Turn Off Computer</i> and <i>Restart Computer</i> methods to <i>/"
"sbin/...</i>" "sbin/...</i>"
msgstr "" msgstr ""
"如果您正在使用<b>KDE</b>,显示管理器与<b>KDM</b>不同,则设置<i>关闭计算机</i> " "如果您正在使用<b>KDE</b>,显示管理器与<b>TDM</b>不同,则设置<i>关闭计算机</i> "
"和 <i>重启计算机</i> 方式为 <i>/sbin/...</i>" "和 <i>重启计算机</i> 方式为 <i>/sbin/...</i>"
#: ../kshutdown/mactioneditdialog.cpp:116 #: ../kshutdown/mactioneditdialog.cpp:116

Loading…
Cancel
Save