summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-10-21 19:27:55 +0200
committerFrancois Andriot <francois.andriot@free.fr>2012-10-21 19:27:55 +0200
commiteebed6b614c52895321754908c05b5082f531b85 (patch)
tree56bf0c5f54512c2fd8ed02cbe16d1da83b723461 /redhat
parent59daf455b483742c6c47099652117074df37889a (diff)
downloadtde-packaging-eebed6b614c52895321754908c05b5082f531b85.tar.gz
tde-packaging-eebed6b614c52895321754908c05b5082f531b85.zip
RHEL/Fedora/MGA/MDV/Suse: update main and libraries for TDE 3.5.13.1
Diffstat (limited to 'redhat')
-rw-r--r--redhat/kde-i18n/trinity-i18n-3.5.13.1.spec1273
-rw-r--r--redhat/kdeaccessibility/trinity-kdeaccessibility-3.5.13.1.spec525
-rw-r--r--redhat/kdeaddons/trinity-kdeaddons-3.5.13.1.spec728
-rw-r--r--redhat/kdeaddons/trinity-kdeaddons-3.5.13.spec7
-rw-r--r--redhat/kdeadmin/trinity-kdeadmin-3.5.13.1.spec482
-rw-r--r--redhat/kdeartwork/kdeartwork-3.5.13.1-fix_locolor_theme_name.patch.gzbin0 -> 555259 bytes
-rw-r--r--redhat/kdeartwork/trinity-kdeartwork-3.5.13.1.spec701
-rw-r--r--redhat/kdebase/kdebase-3.5.13-add_disable_composite_option.patch81
-rw-r--r--redhat/kdebase/kdebase-3.5.13-build_without_consolekit.patch22
-rw-r--r--redhat/kdebase/kdebase-3.5.13-build_without_dbustqt.patch97
-rw-r--r--redhat/kdebase/kdebase-3.5.13-disable_tsak_dialog_if_not_built.patch50
-rw-r--r--redhat/kdebase/kdebase-3.5.13-do_not_require_dbustqt_if_no_tsak.patch37
-rw-r--r--redhat/kdebase/kdebase-3.5.13-fix_dbus_include.patch10
-rw-r--r--redhat/kdebase/kdebase-3.5.13-fix_lib_detection.patch102
-rw-r--r--redhat/kdebase/kdebase-3.5.13-fix_rhel4_compilation.patch152
-rw-r--r--redhat/kdebase/kdebase-3.5.13-fix_tsak_ftbfs.patch12
-rw-r--r--redhat/kdebase/kdebase-3.5.13-genkdmconf_Xsession_location_xdm.patch11
-rw-r--r--redhat/kdebase/kdebase-3.5.13-prevent_tooltip_over_lockscreen.patch137
-rw-r--r--redhat/kdebase/kdebase-3.5.13-sru-20120806.patch36954
-rw-r--r--redhat/kdebase/kdebase-3.5.13-sru-20120912.patch37439
-rw-r--r--redhat/kdebase/kdebase-3.5.13-support_hal_04.patch1033
-rw-r--r--redhat/kdebase/kdebase-3.5.13.1-fix_displayconfig_icon.patch20
-rw-r--r--redhat/kdebase/kdebase-bp126-553923b2.diff135
-rw-r--r--redhat/kdebase/kdebase-bp127-57f5c069.diff159
-rw-r--r--redhat/kdebase/kdebase-bp128-1f33dc8f.diff58
-rw-r--r--redhat/kdebase/pamd.kcheckpass-trinity.el411
-rw-r--r--redhat/kdebase/pamd.kcheckpass-trinity.opensuse12205
-rw-r--r--redhat/kdebase/pamd.kdm-trinity-np.el49
-rw-r--r--redhat/kdebase/pamd.kdm-trinity.el411
-rw-r--r--redhat/kdebase/pamd.kscreensaver-trinity.el411
-rw-r--r--redhat/kdebase/trinity-kdebase-3.5.13.1.spec (renamed from redhat/kdebase/trinity-kdebase-3.5.13-sru.spec)436
-rw-r--r--redhat/kdebase/trinity-kdebase-3.5.13.spec303
-rw-r--r--redhat/kdebindings/kdebindings-3.5.13.1-detect_ruby_pkg.patch86
-rw-r--r--redhat/kdebindings/kdebindings-3.5.13.1-fallback_to_ruby19_pc_file.patch34
-rw-r--r--redhat/kdebindings/kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch11
-rw-r--r--redhat/kdebindings/kdebindings-3.5.13.1-fix_ftbfs_on_x86.patch82
-rw-r--r--redhat/kdebindings/kdebindings-3.5.13.1-fix_ftbfs_ruby18.patch56
-rw-r--r--redhat/kdebindings/kdebindings-3.5.13.1-fix_ftbfs_ruby19.patch683
-rw-r--r--redhat/kdebindings/kdebindings-3.5.13.1-fix_rhel5_ftbfs.patch31
-rw-r--r--redhat/kdebindings/kdebindings-3.5.13.1-fix_ruby_detect_when_pc_file_is_19.patch55
-rw-r--r--redhat/kdebindings/kdebindings-3.5.13.1-set_have_ruby19.patch30
-rw-r--r--redhat/kdebindings/kdebindings-3.5.13.1-use_cflags_from_pc_file.patch78
-rw-r--r--redhat/kdebindings/trinity-kdebindings-3.5.13.1.spec1100
-rw-r--r--redhat/kdeedu/trinity-kdeedu-3.5.13.1.spec1400
-rw-r--r--redhat/kdegames/trinity-kdegames-3.5.13.1.spec1604
-rw-r--r--redhat/kdegames/trinity-kdegames-3.5.13.spec16
-rw-r--r--redhat/kdegraphics/kdegraphics-3.5.13.1-fix_poppler_pkgconfig.patch12
-rw-r--r--redhat/kdegraphics/kdegraphics-3.5.13.1-fix_rhel4_libraries.patch38
-rw-r--r--redhat/kdegraphics/trinity-kdegraphics-3.5.13.1.spec1312
-rw-r--r--redhat/kdelibs/kdelibs-3.5.13-add_ability_to_set_kled_off_color.patch100
-rw-r--r--redhat/kdelibs/kdelibs-3.5.13-fix_xrender_libdir.patch987
-rwxr-xr-xredhat/kdelibs/trinity-kdelibs-3.5.13.1.spec (renamed from redhat/kdelibs/trinity-kdelibs-3.5.13-sru.spec)154
-rwxr-xr-xredhat/kdelibs/trinity-kdelibs-3.5.13.spec75
-rw-r--r--redhat/kdemultimedia/trinity-kdemultimedia-3.5.13.1.spec1185
-rw-r--r--redhat/kdenetwork/kdenetwork-3.5.13.1-fix_rhel4_libraries.patch9
-rw-r--r--redhat/kdenetwork/kdenetwork-3.5.13.1-fix_smsclient_ftbfs.patch58
-rw-r--r--redhat/kdenetwork/trinity-kdenetwork-3.5.13.1.spec1186
-rw-r--r--redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch44
-rw-r--r--redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch15
-rw-r--r--redhat/kdepim/kdepim-3.5.13.1-kmime_utils_quotes.patch41
-rw-r--r--redhat/kdepim/trinity-kdepim-3.5.13.1.spec2157
-rw-r--r--redhat/kdesdk/kdesdk-3.5.13.1-add_missing_files.patch309
-rw-r--r--redhat/kdesdk/kdesdk-3.5.13.1-fix_cmake_macros.patch17
-rw-r--r--redhat/kdesdk/kdesdk-3.5.13.1-fix_kdecachegrind_ftbfs.patch.gzbin0 -> 500738 bytes
-rw-r--r--redhat/kdesdk/kdesdk-3.5.13.1-fix_xkcachegrind_installation.patch13
-rw-r--r--redhat/kdesdk/kdesdk-3.5.13.1-use_flex_instead_of_lex.patch11
-rw-r--r--redhat/kdesdk/trinity-kdesdk-3.5.13.1.spec1161
-rw-r--r--redhat/kdesdk/trinity-kdesdk-3.5.13.spec2
-rw-r--r--redhat/kdetoys/trinity-kdetoys-3.5.13.1.spec450
-rwxr-xr-xredhat/kdeutils/trinity-kdeutils-3.5.13.1.spec1038
-rw-r--r--redhat/kdevelop/trinity-kdevelop-3.5.13.1.spec636
-rw-r--r--redhat/kdevelop/trinity-kdevelop-3.5.13.spec2
-rw-r--r--redhat/kdewebdev/trinity-kdewebdev-3.5.13.1.spec566
-rw-r--r--redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.1.spec166
-rw-r--r--redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.spec (renamed from redhat/libraries/libkdcraw/trinity-libkdcraw.spec)0
-rw-r--r--redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.1.spec150
-rw-r--r--redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.spec (renamed from redhat/libraries/libkexiv2/trinity-libkexiv2.spec)0
-rw-r--r--redhat/libraries/libkipi/trinity-libkipi-3.5.13.1.spec172
-rw-r--r--redhat/libraries/libkipi/trinity-libkipi-3.5.13.spec (renamed from redhat/libraries/libkipi/trinity-libkipi.spec)0
-rw-r--r--redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.1.spec442
-rw-r--r--redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.spec (renamed from redhat/libraries/libksquirrel/trinity-libksquirrel.spec)0
-rw-r--r--redhat/libraries/pykdeextensions/pykdeextensions-3.5.13-fix_include_dir.patch11
-rw-r--r--redhat/libraries/pykdeextensions/pykdeextensions-3.5.13.1-fix_extra_module_dir.patch18
-rw-r--r--redhat/libraries/pykdeextensions/pykdeextensions-3.5.13.1-fix_libgcc_detection.patch62
-rw-r--r--redhat/libraries/pykdeextensions/trinity-pykdeextensions-3.5.13.1.spec209
-rw-r--r--redhat/libraries/pykdeextensions/trinity-pykdeextensions-3.5.13.spec (renamed from redhat/libraries/pykdeextensions/trinity-pykdeextensions.spec)3
-rw-r--r--redhat/libraries/python-trinity/python-trinity-3.5.13.1-add_include_directory.patch10
-rw-r--r--redhat/libraries/python-trinity/python-trinity-3.5.13.1.spec183
-rw-r--r--redhat/libraries/python-trinity/python-trinity-3.5.13.spec (renamed from redhat/libraries/python-trinity/python-trinity.spec)1
89 files changed, 98949 insertions, 333 deletions
diff --git a/redhat/kde-i18n/trinity-i18n-3.5.13.1.spec b/redhat/kde-i18n/trinity-i18n-3.5.13.1.spec
new file mode 100644
index 000000000..6e0990de2
--- /dev/null
+++ b/redhat/kde-i18n/trinity-i18n-3.5.13.1.spec
@@ -0,0 +1,1273 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+BuildRequires: autoconf automake libtool m4
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdedocdir %{tde_docdir}/tde
+
+# Builds all supported languages (not unsupported ones)
+%if "%{?KDE_LANGS}" == ""
+%define KDE_LANGS ar bg bn ca cs da de el en_GB es et fi fr he hi hu is it ja lt nl nb nn pa pl pt pt_BR ro ru sk sl sr sv ta tr uk zh_CN zh_TW
+%endif
+
+
+Name: trinity-i18n
+Summary: Internationalization support for Trinity
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+# GFDL, with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+License: GFDL
+Group: User Interface/Desktops
+BuildArch: noarch
+
+# Speed build options
+%define debug_package %{nil}
+%define __spec_install_post %{nil}
+AutoReq: no
+
+Source0: kde-i18n-%{version}.tar.gz
+
+# TDE 3.5.12: Translate 'kdesu' message was modified in 'kdebase' package
+Patch0: kde-i18n-kdesu.patch
+
+# TDE 3.5.12: Translate 'Open Terminal Here' desktop shortcut
+Patch1: trinity-kde-i18n-fr-openterminalhere.patch
+
+# TDE 3.5.13: French translations for new features
+Patch2: kde-i18n-3.5.13-add_french_translations.patch
+
+# TDE 3.5.13: Updated translations for zh_TW, thanks to Wei-Lun Chao !
+Patch3: kde-i18n-zh_TW-3.5.10.patch.gz
+
+BuildRequires: findutils
+BuildRequires: gettext
+BuildRequires: trinity-arts-devel >= 3.5.13.1
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.1
+
+%description
+%{summary}.
+
+%package Afrikaans
+Summary: Afrikaans(af) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-af = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Afrikaans < %{version}-%{release}
+Provides: trinity-kde-i18n-Afrikaans = %{version}-%{release}
+%description Afrikaans
+%{summary}.
+
+%package Arabic
+Summary: Arabic(ar) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ar = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release}
+Provides: trinity-kde-i18n-Arabic = %{version}-%{release}
+%description Arabic
+%{summary}.
+
+%package Azerbaijani
+Summary: Azerbaijani(az) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-az = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Arabic < %{version}-%{release}
+Provides: trinity-kde-i18n-Arabic = %{version}-%{release}
+%description Azerbaijani
+%{summary}.
+
+%package Belarusian
+Summary: Belarusian(be) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-be = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Belarusian < %{version}-%{release}
+Provides: trinity-kde-i18n-Belarusian = %{version}-%{release}
+%description Belarusian
+%{summary}.
+
+%package Bulgarian
+Summary: Bulgarian(bg) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-bg = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Bulgarian < %{version}-%{release}
+Provides: trinity-kde-i18n-Bulgarian = %{version}-%{release}
+%description Bulgarian
+%{summary}.
+
+%package Bengali
+Summary: Bengali(bn) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-bn = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Bengali < %{version}-%{release}
+Provides: trinity-kde-i18n-Bengali = %{version}-%{release}
+%description Bengali
+%{summary}.
+
+%package Tibetan
+Summary: Tibetan(bo) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-bo = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Tibetan < %{version}-%{release}
+Provides: trinity-kde-i18n-Tibetan = %{version}-%{release}
+%description Tibetan
+%{summary}.
+
+%package Breton
+Summary: Breton(br) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-br = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Breton < %{version}-%{release}
+Provides: trinity-kde-i18n-Breton = %{version}-%{release}
+%description Breton
+%{summary}.
+
+%package Bosnian
+Summary: Bosnian(bs) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-bs = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Bosnian < %{version}-%{release}
+Provides: trinity-kde-i18n-Bosnian = %{version}-%{release}
+%description Bosnian
+%{summary}.
+
+%package Catalan
+Summary: Catalan(ca) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ca = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Catalan < %{version}-%{release}
+Provides: trinity-kde-i18n-Catalan = %{version}-%{release}
+%description Catalan
+%{summary}.
+
+%package Czech
+Summary: Czech(cs) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-cs = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Czech < %{version}-%{release}
+Provides: trinity-kde-i18n-Czech = %{version}-%{release}
+%description Czech
+%{summary}.
+
+%package Cymraeg
+Summary: Cymraeg language support for TDE
+Group: User Interface/Desktops
+Obsoletes: trinity-kde-i18n-Cymraeg < %{version}-%{release}
+Provides: trinity-kde-i18n-Cymraeg = %{version}-%{release}
+%description Cymraeg
+%{summary}.
+
+%package Welsh
+Summary: Welsh(cy) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-cy = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Welsh < %{version}-%{release}
+Provides: trinity-kde-i18n-Welsh = %{version}-%{release}
+%description Welsh
+%{summary}.
+
+%package Danish
+Summary: Danish(da) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-da = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Danish < %{version}-%{release}
+Provides: trinity-kde-i18n-Danish = %{version}-%{release}
+%description Danish
+%{summary}.
+
+%package German
+Summary: German(de) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-de = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-German < %{version}-%{release}
+Provides: trinity-kde-i18n-German = %{version}-%{release}
+%description German
+%{summary}.
+
+%package Greek
+Summary: Greek(el) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-el = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Greek < %{version}-%{release}
+Provides: trinity-kde-i18n-Greek = %{version}-%{release}
+%description Greek
+%{summary}.
+
+%package British
+Summary: British(en_GB) English support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-en_GB = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-British < %{version}-%{release}
+Provides: trinity-kde-i18n-British = %{version}-%{release}
+%description British
+%{summary}.
+
+%package Esperanto
+Summary: Esperanto(eo) support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-eo = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Esperanto < %{version}-%{release}
+Provides: trinity-kde-i18n-Esperanto = %{version}-%{release}
+%description Esperanto
+%{summary}.
+
+%package Spanish
+Summary: Spanish(es) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-es = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Spanish < %{version}-%{release}
+Provides: trinity-kde-i18n-Spanish = %{version}-%{release}
+%description Spanish
+%{summary}.
+
+%package Estonian
+Summary: Estonian(et) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-et = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Estonian < %{version}-%{release}
+Provides: trinity-kde-i18n-Estonian = %{version}-%{release}
+%description Estonian
+%{summary}.
+
+%package Basque
+Summary: Basque(eu) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-eu = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Basque < %{version}-%{release}
+Provides: trinity-kde-i18n-Basque = %{version}-%{release}
+%description Basque
+%{summary}.
+
+%package Farsi
+Summary: Farsi(fa) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fa = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Farsi < %{version}-%{release}
+Provides: trinity-kde-i18n-Farsi = %{version}-%{release}
+%description Farsi
+%{summary}.
+
+%package Finnish
+Summary: Finnish(fi) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fi = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Finnish < %{version}-%{release}
+Provides: trinity-kde-i18n-Finnish = %{version}-%{release}
+%description Finnish
+%{summary}.
+
+%package Faroese
+Summary: Faroese(fo) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fo = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Faroese < %{version}-%{release}
+Provides: trinity-kde-i18n-Faroese = %{version}-%{release}
+%description Faroese
+%{summary}.
+
+%package French
+Summary: French(fr) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fr = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-French < %{version}-%{release}
+Provides: trinity-kde-i18n-French = %{version}-%{release}
+%description French
+%{summary}.
+
+%package Frisian
+Summary: Frisian(fy) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-fy = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Frisian < %{version}-%{release}
+Provides: trinity-kde-i18n-Frisian = %{version}-%{release}
+%description Frisian
+%{summary}.
+
+%package Irish
+Summary: Irish(ga) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ga = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Irish < %{version}-%{release}
+Provides: trinity-kde-i18n-Irish = %{version}-%{release}
+%description Irish
+%{summary}.
+
+%package Galician
+Summary: Galician(gl) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-gl = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Galician < %{version}-%{release}
+Provides: trinity-kde-i18n-Galician = %{version}-%{release}
+%description Galician
+%{summary}.
+
+%package Hebrew
+Summary: Hebrew(he) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-he = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Hebrew < %{version}-%{release}
+Provides: trinity-kde-i18n-Hebrew = %{version}-%{release}
+%description Hebrew
+%{summary}.
+
+%package Hindi
+Summary: Hindi(hi) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-hi = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Hindi < %{version}-%{release}
+Provides: trinity-kde-i18n-Hindi = %{version}-%{release}
+%description Hindi
+%{summary}.
+
+%package Croatian
+Summary: Croatian(hr) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-hr = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Croatian < %{version}-%{release}
+Provides: trinity-kde-i18n-Croatian = %{version}-%{release}
+%description Croatian
+%{summary}.
+
+%package Hungarian
+Summary: Hungarian(hu) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-hu = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Hungarian < %{version}-%{release}
+Provides: trinity-kde-i18n-Hungarian = %{version}-%{release}
+%description Hungarian
+%{summary}.
+
+%package Indonesian
+Summary: Indonesian(id) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-id = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Indonesian < %{version}-%{release}
+Provides: trinity-kde-i18n-Indonesian = %{version}-%{release}
+%description Indonesian
+%{summary}.
+
+%package Icelandic
+Summary: Icelandic(is) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-is = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Icelandic < %{version}-%{release}
+Provides: trinity-kde-i18n-Icelandic = %{version}-%{release}
+%description Icelandic
+%{summary}.
+
+%package Italian
+Summary: Italian(it) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-it = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Italian < %{version}-%{release}
+Provides: trinity-kde-i18n-Italian = %{version}-%{release}
+%description Italian
+%{summary}.
+
+%package Japanese
+Summary: Japanese(ja) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ja = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Japanese < %{version}-%{release}
+Provides: trinity-kde-i18n-Japanese = %{version}-%{release}
+%description Japanese
+%{summary}.
+
+%package Korean
+Summary: Korean(ko) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ko = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Korean < %{version}-%{release}
+Provides: trinity-kde-i18n-Korean = %{version}-%{release}
+%description Korean
+%{summary}.
+
+%package Kurdish
+Summary: Kurdish(ku) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ku = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Kurdish < %{version}-%{release}
+Provides: trinity-kde-i18n-Kurdish = %{version}-%{release}
+%description Kurdish
+%{summary}.
+
+%package Lao
+Summary: Lao(lo) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-lo = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Lao < %{version}-%{release}
+Provides: trinity-kde-i18n-Lao = %{version}-%{release}
+%description Lao
+%{summary}.
+
+%package Lithuanian
+Summary: Lithuanian(lt) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-lt = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Lithuanian < %{version}-%{release}
+Provides: trinity-kde-i18n-Lithuanian = %{version}-%{release}
+%description Lithuanian
+%{summary}.
+
+%package Latvian
+Summary: Latvian(lv) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-lv = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Latvian < %{version}-%{release}
+Provides: trinity-kde-i18n-Latvian = %{version}-%{release}
+%description Latvian
+%{summary}.
+
+%package Maori
+Summary: Maori(mi) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-mi = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Maori < %{version}-%{release}
+Provides: trinity-kde-i18n-Maori = %{version}-%{release}
+%description Maori
+%{summary}.
+
+%package Macedonian
+Summary: Macedonian(mk) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-mk = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Macedonian < %{version}-%{release}
+Provides: trinity-kde-i18n-Macedonian = %{version}-%{release}
+%description Macedonian
+%{summary}.
+
+%package Maltese
+Summary: Maltese(mt) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-mt = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Maltese < %{version}-%{release}
+Provides: trinity-kde-i18n-Maltese = %{version}-%{release}
+%description Maltese
+%{summary}.
+
+%package Dutch
+Summary: Dutch(nl) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-nl = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Dutch < %{version}-%{release}
+Provides: trinity-kde-i18n-Dutch = %{version}-%{release}
+%description Dutch
+%{summary}.
+
+%package Norwegian
+Summary: Norwegian(no) (Bokmaal) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-no = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Norwegian < %{version}-%{release}
+Provides: trinity-kde-i18n-Norwegian = %{version}-%{release}
+%description Norwegian
+%{summary}.
+
+%package Norwegian-Nynorsk
+Summary: Norwegian(nn) (Nynorsk) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-nn = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Norwegian-Nynorsk < %{version}-%{release}
+Provides: trinity-kde-i18n-Norwegian-Nynorsk = %{version}-%{release}
+%description Norwegian-Nynorsk
+%{summary}.
+
+%package Occitan
+Summary: Occitan(oc) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-oc = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Occitan < %{version}-%{release}
+Provides: trinity-kde-i18n-Occitan = %{version}-%{release}
+%description Occitan
+%{summary}.
+
+%package Polish
+Summary: Polish(pl) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-pl = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Polish < %{version}-%{release}
+Provides: trinity-kde-i18n-Polish = %{version}-%{release}
+%description Polish
+%{summary}.
+
+%package Portuguese
+Summary: Portuguese(pt) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-pt = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Portuguese < %{version}-%{release}
+Provides: trinity-kde-i18n-Portuguese = %{version}-%{release}
+%description Portuguese
+%{summary}.
+
+%package Punjabi
+Summary: Punjabi(pa) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-pa = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Punjabi < %{version}-%{release}
+Provides: trinity-kde-i18n-Punjabi = %{version}-%{release}
+%description Punjabi
+%{summary}.
+
+%package Brazil
+Summary: Brazil(pt_BR) Portuguese language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-pt_BR = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Brazil < %{version}-%{release}
+Provides: trinity-kde-i18n-Brazil = %{version}-%{release}
+%description Brazil
+%{summary}.
+
+%package Romanian
+Summary: Romanian(ro) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ro = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Romanian < %{version}-%{release}
+Provides: trinity-kde-i18n-Romanian = %{version}-%{release}
+%description Romanian
+%{summary}.
+
+%package Russian
+Summary: Russian(ru) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ru = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Russian < %{version}-%{release}
+Provides: trinity-kde-i18n-Russian = %{version}-%{release}
+%description Russian
+%{summary}.
+
+%package Slovak
+Summary: Slovak(sk) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-sk = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Slovak < %{version}-%{release}
+Provides: trinity-kde-i18n-Slovak = %{version}-%{release}
+%description Slovak
+%{summary}.
+
+%package Slovenian
+Summary: Slovenian(sl) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-sl = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Slovenian < %{version}-%{release}
+Provides: trinity-kde-i18n-Slovenian = %{version}-%{release}
+%description Slovenian
+%{summary}.
+
+%package Serbian
+Summary: Serbian(sr) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-sr = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Serbian < %{version}-%{release}
+Provides: trinity-kde-i18n-Serbian = %{version}-%{release}
+%description Serbian
+%{summary}.
+
+%package Swedish
+Summary: Swedish(sv) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-sv = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Swedish < %{version}-%{release}
+Provides: trinity-kde-i18n-Swedish = %{version}-%{release}
+%description Swedish
+%{summary}.
+
+%package Tamil
+Summary: Tamil(ta) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ta = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Tamil < %{version}-%{release}
+Provides: trinity-kde-i18n-Tamil = %{version}-%{release}
+%description Tamil
+%{summary}.
+
+%package Tajik
+Summary: Tajik(tg) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-tg = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Tajik < %{version}-%{release}
+Provides: trinity-kde-i18n-Tajik = %{version}-%{release}
+%description Tajik
+%{summary}.
+
+%package Thai
+Summary: Thai(th) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-th = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Thai < %{version}-%{release}
+Provides: trinity-kde-i18n-Thai = %{version}-%{release}
+%description Thai
+%{summary}.
+
+%package Turkish
+Summary: Turkish(tr) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-tr = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Turkish < %{version}-%{release}
+Provides: trinity-kde-i18n-Turkish = %{version}-%{release}
+%description Turkish
+%{summary}.
+
+%package Ukrainian
+Summary: Ukrainian(uk) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-uk = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Ukrainian < %{version}-%{release}
+Provides: trinity-kde-i18n-Ukrainian = %{version}-%{release}
+%description Ukrainian
+%{summary}.
+
+%package Venda
+Summary: Venda(ven) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-ven = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Venda < %{version}-%{release}
+Provides: trinity-kde-i18n-Venda = %{version}-%{release}
+%description Venda
+%{summary}.
+
+%package Vietnamese
+Summary: Vietnamese(vi) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-vi = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Vietnamese < %{version}-%{release}
+Provides: trinity-kde-i18n-Vietnamese = %{version}-%{release}
+%description Vietnamese
+%{summary}.
+
+%package Walloon
+Summary: Walloon(wa) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-wa = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Walloon < %{version}-%{release}
+Provides: trinity-kde-i18n-Walloon = %{version}-%{release}
+%description Walloon
+%{summary}.
+
+%package Xhosa
+Summary: Xhosa(xh) (a Bantu language) support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-xh = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Xhosa < %{version}-%{release}
+Provides: trinity-kde-i18n-Xhosa = %{version}-%{release}
+%description Xhosa
+%{summary}.
+
+%package Chinese
+Summary: Chinese(zh_CN) (Simplified Chinese) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-zh_CN = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Chinese < %{version}-%{release}
+Provides: trinity-kde-i18n-Chinese = %{version}-%{release}
+%description Chinese
+%{summary}.
+
+%package Chinese-Big5
+Summary: Chinese(zh_TW) (Big5) language support for TDE
+Group: User Interface/Desktops
+Provides: %{name}-tz_TW = %{version}-%{release}
+Obsoletes: trinity-kde-i18n-Chinese-Big5 < %{version}-%{release}
+Provides: trinity-kde-i18n-Chinese-Big5 = %{version}-%{release}
+%description Chinese-Big5
+%{summary}.
+
+
+
+%prep
+%setup -q -n kde-i18n-3.5.13.1
+
+# Patches for French translations
+pushd tde-i18n-fr
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+popd
+
+# Patches for Chinese (zh_TW) translations
+pushd tde-i18n-zh_TW
+%patch3 -p1
+popd
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i admin/acinclude.m4.in \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+
+
+%build
+unset QTDIR; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+export kde_htmldir="%{tde_tdedocdir}/HTML"
+
+for l in %{KDE_LANGS}; do
+ for f in tde-i18n-${l}/; do
+ if [ -d "${f}" ]; then
+ pushd ${f}
+ autoreconf -fiv
+ %__make -f ../admin/Makefile.common
+ %configure \
+ --prefix=%{tde_prefix} \
+ --datadir=%{tde_datadir} \
+ --docdir=%{tde_tdedocdir}
+ %__make %{?_smp_mflags}
+ popd
+ fi
+ done
+done
+
+%install
+%__rm -rf %{?buildroot}
+export PATH="%{tde_bindir}:${PATH}"
+
+for l in %{KDE_LANGS}; do
+ for f in tde-i18n-${l}/; do
+ if [ -d "${f}" ] && [ -r "${f}/Makefile" ] ; then
+ %__make install DESTDIR="%{?buildroot}" -C "${f}"
+ fi
+ done
+done
+
+# make symlinks relative
+%if "%{tde_prefix}" == "/usr"
+pushd "%{buildroot}%{tde_tdedocdir}/HTML"
+for lang in *; do
+ if [ -d "$lang" ]; then
+ pushd "$lang"
+ for i in */*/*; do
+ if [ -d $i -a -L $i/common ]; then
+ rm -f $i/common
+ ln -sf ../../../docs/common $i
+ fi
+ done
+
+ for i in */*; do
+ if [ -d $i -a -L $i/common ]; then
+ rm -f $i/common
+ ln -sf ../../docs/common $i
+ fi
+ done
+
+ for i in *; do
+ if [ -d $i -a -L $i/common ]; then
+ rm -f $i/common
+ ln -sf ../docs/common $i
+ fi
+ done
+
+ popd
+ fi
+done
+popd
+%endif
+
+# remove zero-length file
+find "%{buildroot}%{tde_tdedocdir}/HTML" -size 0 -exec rm -f {} \;
+
+# See http://fedoraproject.org/wiki/Languages (???)
+%__rm -f %{buildroot}%{tde_datadir}/locale/*/flag.png
+
+# Removes conflict with KDE4
+%if "%{?tde_prefix}" == "/usr"
+%__rm -f %{buildroot}%{tde_datadir}/locale/*/entry.desktop
+%endif
+
+# remove obsolete KDE 3 application data translations
+%__rm -rf "%{buildroot}%{tde_datadir}/apps"
+
+%clean
+%__rm -rf %{buildroot}
+
+%if "%( grep -w af <<< '%{KDE_LANGS}' )" != ""
+%files Afrikaans
+%defattr(-,root,root,-)
+%lang(af) %{tde_datadir}/locale/af/*
+%lang(af) %{tde_tdedocdir}/HTML/af/
+%endif
+
+%if "%( grep -w ar <<< '%{KDE_LANGS}' )" != ""
+%files Arabic
+%defattr(-,root,root,-)
+%lang(ar) %{tde_datadir}/locale/ar/*
+%endif
+
+%if "%( grep -w az <<< '%{KDE_LANGS}' )" != ""
+%files Azerbaijani
+%defattr(-,root,root,-)
+%lang(az) %{tde_datadir}/locale/az/*
+%endif
+
+%if "%( grep -w be <<< '%{KDE_LANGS}' )" != ""
+%files Belarusian
+%defattr(-,root,root,-)
+%lang(be) %{tde_datadir}/locale/be/*
+%endif
+
+%if "%( grep -w bg <<< '%{KDE_LANGS}' )" != ""
+%files Bulgarian
+%defattr(-,root,root,-)
+%lang(bg) %{tde_datadir}/locale/bg/*
+%endif
+
+%if "%( grep -w bn <<< '%{KDE_LANGS}' )" != ""
+%files Bengali
+%defattr(-,root,root,-)
+%lang(bn) %{tde_datadir}/locale/bn/*
+%endif
+
+%if "%( grep -w bo <<< '%{KDE_LANGS}' )" != ""
+%files Tibetan
+%defattr(-,root,root,-)
+%lang(bo) %{tde_datadir}/locale/bo/*
+%endif
+
+%if "%( grep -w br <<< '%{KDE_LANGS}' )" != ""
+%files Breton
+%defattr(-,root,root,-)
+%lang(br) %{tde_datadir}/locale/br/*
+%endif
+
+%if "%( grep -w bs <<< '%{KDE_LANGS}' )" != ""
+%files Bosnian
+%defattr(-,root,root,-)
+%lang(bs) %{tde_datadir}/locale/bs/*
+%endif
+
+%if "%( grep -w ca <<< '%{KDE_LANGS}' )" != ""
+%files Catalan
+%defattr(-,root,root,-)
+%lang(ca) %{tde_datadir}/locale/ca/*
+%lang(ca) %{tde_tdedocdir}/HTML/ca/
+%endif
+
+%if "%( grep -w cs <<< '%{KDE_LANGS}' )" != ""
+%files Czech
+%defattr(-,root,root,-)
+%lang(cs) %{tde_datadir}/locale/cs/*
+%lang(cs) %{tde_tdedocdir}/HTML/cs/
+%endif
+
+%if "%( grep -w cy <<< '%{KDE_LANGS}' )" != ""
+%files Welsh
+%defattr(-,root,root,-)
+%lang(cy) %{tde_datadir}/locale/cy/*
+%endif
+
+%if "%( grep -w da <<< '%{KDE_LANGS}' )" != ""
+%files Danish
+%defattr(-,root,root,-)
+%lang(da) %{tde_datadir}/locale/da/*
+%lang(da) %{tde_tdedocdir}/HTML/da/
+%endif
+
+%if "%( grep -w de <<< '%{KDE_LANGS}' )" != ""
+%files German
+%defattr(-,root,root,-)
+%lang(de) %{tde_datadir}/locale/de/*
+%lang(de) %{tde_tdedocdir}/HTML/de/
+%endif
+
+%if "%( grep -w el <<< '%{KDE_LANGS}' )" != ""
+%files Greek
+%defattr(-,root,root,-)
+%lang(el) %{tde_datadir}/locale/el/*
+%endif
+
+%if "%( grep -w en_GB <<< '%{KDE_LANGS}' )" != ""
+%files British
+%defattr(-,root,root,-)
+%lang(en_GB) %{tde_datadir}/locale/en_GB/*
+%lang(en_GB) %{tde_tdedocdir}/HTML/en_GB/
+%endif
+
+%if "%( grep -w eo <<< '%{KDE_LANGS}' )" != ""
+%files Esperanto
+%defattr(-,root,root,-)
+%lang(eo) %{tde_datadir}/locale/eo/*
+%endif
+
+%if "%( grep -w es <<< '%{KDE_LANGS}' )" != ""
+%files Spanish
+%defattr(-,root,root,-)
+%lang(es) %{tde_datadir}/locale/es/*
+%lang(es) %{tde_tdedocdir}/HTML/es/
+%endif
+
+%if "%( grep -w et <<< '%{KDE_LANGS}' )" != ""
+%files Estonian
+%defattr(-,root,root,-)
+%lang(et) %{tde_datadir}/locale/et/*
+%lang(et) %{tde_tdedocdir}/HTML/et/
+%endif
+
+%if "%( grep -w eu <<< '%{KDE_LANGS}' )" != ""
+%files Basque
+%defattr(-,root,root,-)
+%lang(eu) %{tde_datadir}/locale/eu/*
+%endif
+
+%if "%( grep -w fa <<< '%{KDE_LANGS}' )" != ""
+%files Farsi
+%defattr(-,root,root,-)
+%lang(fa) %{tde_datadir}/locale/fa/*
+%endif
+
+%if "%( grep -w fi <<< '%{KDE_LANGS}' )" != ""
+%files Finnish
+%defattr(-,root,root,-)
+%lang(fi) %{tde_datadir}/locale/fi/*
+%lang(fi) %{tde_tdedocdir}/HTML/fi/
+%endif
+
+%if "%( grep -w fo <<< '%{KDE_LANGS}' )" != ""
+%files Faroese
+%defattr(-,root,root,-)
+%lang(fo) %{tde_datadir}/locale/fo/*
+%endif
+
+%if "%( grep -w fr <<< '%{KDE_LANGS}' )" != ""
+%files French
+%defattr(-,root,root,-)
+%lang(fr) %{tde_datadir}/locale/fr/*
+%lang(fr) %{tde_tdedocdir}/HTML/fr/
+%endif
+
+%if "%( grep -w fy <<< '%{KDE_LANGS}' )" != ""
+%files Frisian
+%defattr(-,root,root,-)
+%lang(fy) %{tde_datadir}/locale/fy/*
+%endif
+
+%if "%( grep -w ga <<< '%{KDE_LANGS}' )" != ""
+%files Irish
+%defattr(-,root,root,-)
+%lang(ga) %{tde_datadir}/locale/ga/*
+%endif
+
+%if "%( grep -w gl <<< '%{KDE_LANGS}' )" != ""
+%files Galician
+%defattr(-,root,root,-)
+%lang(gl) %{tde_datadir}/locale/gl/*
+%endif
+
+%if "%( grep -w he <<< '%{KDE_LANGS}' )" != ""
+%files Hebrew
+%defattr(-,root,root,-)
+%lang(he) %{tde_datadir}/locale/he/*
+%lang(he) %{tde_tdedocdir}/HTML/he/
+%endif
+
+%if "%( grep -w hi <<< '%{KDE_LANGS}' )" != ""
+%files Hindi
+%defattr(-,root,root,-)
+%lang(hi) %{tde_datadir}/locale/hi/*
+%endif
+
+%if "%( grep -w hr <<< '%{KDE_LANGS}' )" != ""
+%files Croatian
+%defattr(-,root,root,-)
+%lang(hr) %{tde_datadir}/locale/hr/*
+%lang(hr) %{tde_tdedocdir}/HTML/hr/
+%endif
+
+%if "%( grep -w hu <<< '%{KDE_LANGS}' )" != ""
+%files Hungarian
+%defattr(-,root,root,-)
+%lang(hu) %{tde_datadir}/locale/hu/*
+%lang(hu) %{tde_tdedocdir}/HTML/hu/
+%endif
+
+%if "%( grep -w id <<< '%{KDE_LANGS}' )" != ""
+%files Indonesian
+%defattr(-,root,root,-)
+%lang(id) %{tde_datadir}/locale/id/*
+%lang(id) %{tde_tdedocdir}/HTML/id/
+%endif
+
+%if "%( grep -w is <<< '%{KDE_LANGS}' )" != ""
+%files Icelandic
+%defattr(-,root,root,-)
+%lang(is) %{tde_datadir}/locale/is/*
+%endif
+
+%if "%( grep -w it <<< '%{KDE_LANGS}' )" != ""
+%files Italian
+%defattr(-,root,root,-)
+%lang(it) %{tde_datadir}/locale/it/*
+%lang(it) %{tde_tdedocdir}/HTML/it/
+%endif
+
+%if "%( grep -w ja <<< '%{KDE_LANGS}' )" != ""
+%files Japanese
+%defattr(-,root,root,-)
+%lang(ja) %{tde_datadir}/locale/ja/*
+%lang(ja) %{tde_tdedocdir}/HTML/ja/
+%endif
+
+%if "%( grep -w ko <<< '%{KDE_LANGS}' )" != ""
+%files Korean
+%defattr(-,root,root,-)
+%lang(ko) %{tde_datadir}/locale/ko/*
+%lang(ko) %{tde_tdedocdir}/HTML/ko/
+%endif
+
+%if "%( grep -w ku <<< '%{KDE_LANGS}' )" != ""
+%files Kurdish
+%defattr(-,root,root,-)
+%lang(ku) %{tde_datadir}/locale/ku/*
+%lang(ku) %{tde_tdedocdir}/HTML/ku/
+%endif
+
+%if "%( grep -w lao <<< '%{KDE_LANGS}' )" != ""
+%files Lao
+%defattr(-,root,root,-)
+%lang(lo) %{tde_datadir}/locale/lo/*
+%lang(lo) %{tde_tdedocdir}/HTML/lo/
+%endif
+
+%if "%( grep -w lt <<< '%{KDE_LANGS}' )" != ""
+%files Lithuanian
+%defattr(-,root,root,-)
+%lang(lt) %{tde_datadir}/locale/lt/*
+%endif
+
+%if "%( grep -w lv <<< '%{KDE_LANGS}' )" != ""
+%files Latvian
+%defattr(-,root,root,-)
+%lang(lv) %{tde_datadir}/locale/lv/*
+%endif
+
+%if "%( grep -w mi <<< '%{KDE_LANGS}' )" != ""
+%files Maori
+%defattr(-,root,root,-)
+%lang(mi) %{tde_datadir}/locale/mi/*
+%endif
+
+%if "%( grep -w mk <<< '%{KDE_LANGS}' )" != ""
+%files Macedonian
+%defattr(-,root,root,-)
+%lang(mk) %{tde_datadir}/locale/mk/*
+%endif
+
+%if "%( grep -w mt <<< '%{KDE_LANGS}' )" != ""
+%files Maltese
+%defattr(-,root,root,-)
+%lang(mt) %{tde_datadir}/locale/mt/*
+%endif
+
+%if "%( grep -w nl <<< '%{KDE_LANGS}' )" != ""
+%files Dutch
+%defattr(-,root,root,-)
+%lang(nl) %{tde_datadir}/locale/nl/*
+%lang(nl) %{tde_tdedocdir}/HTML/nl/
+%endif
+
+%if "%( grep -w nb <<< '%{KDE_LANGS}' )" != ""
+%files Norwegian
+%defattr(-,root,root,-)
+%lang(nb) %{tde_datadir}/locale/nb/*
+#%lang(nb) %{tde_tdedocdir}/HTML/nb/
+%endif
+
+%if "%( grep -w nn <<< '%{KDE_LANGS}' )" != ""
+%files Norwegian-Nynorsk
+%defattr(-,root,root,-)
+%lang(nn) %{tde_datadir}/locale/nn/*
+#%lang(nn) %{tde_tdedocdir}/HTML/nn/
+%endif
+
+%if "%( grep -w oc <<< '%{KDE_LANGS}' )" != ""
+%files Occitan
+%defattr(-,root,root,-)
+%lang(oc) %{tde_datadir}/locale/oc/*
+%endif
+
+%if "%( grep -w pa <<< '%{KDE_LANGS}' )" != ""
+%files Punjabi
+%defattr(-,root,root,-)
+%lang(pa) %{tde_datadir}/locale/pa/*
+%endif
+
+%if "%( grep -w pl <<< '%{KDE_LANGS}' )" != ""
+%files Polish
+%defattr(-,root,root,-)
+%lang(pl) %{tde_datadir}/locale/pl/*
+%lang(pl) %{tde_tdedocdir}/HTML/pl/
+%endif
+
+%if "%( grep -w pt <<< '%{KDE_LANGS}' )" != ""
+%files Portuguese
+%defattr(-,root,root,-)
+%lang(pt) %{tde_datadir}/locale/pt/*
+%lang(pt) %{tde_tdedocdir}/HTML/pt/
+%endif
+
+%if "%( grep -w pt_BR <<< '%{KDE_LANGS}' )" != ""
+%files Brazil
+%defattr(-,root,root,-)
+%lang(pt_BR) %{tde_datadir}/locale/pt_BR/*
+%lang(pt_BR) %{tde_tdedocdir}/HTML/pt_BR/
+%endif
+
+%if "%( grep -w ro <<< '%{KDE_LANGS}' )" != ""
+%files Romanian
+%defattr(-,root,root,-)
+%lang(ro) %{tde_datadir}/locale/ro/*
+%lang(ro) %{tde_tdedocdir}/HTML/ro/
+%endif
+
+%if "%( grep -w ru <<< '%{KDE_LANGS}' )" != ""
+%files Russian
+%defattr(-,root,root,-)
+%lang(ru) %{tde_datadir}/locale/ru/*
+%lang(ru) %{tde_tdedocdir}/HTML/ru/
+%endif
+
+%if "%( grep -w sk <<< '%{KDE_LANGS}' )" != ""
+%files Slovak
+%defattr(-,root,root,-)
+%lang(sk) %{tde_datadir}/locale/sk/*
+%lang(sk) %{tde_tdedocdir}/HTML/sk/
+%endif
+
+%if "%( grep -w sl <<< '%{KDE_LANGS}' )" != ""
+%files Slovenian
+%defattr(-,root,root,-)
+%lang(sl) %{tde_datadir}/locale/sl/*
+%lang(sl) %{tde_tdedocdir}/HTML/sl/
+%endif
+
+%if "%( grep -w sr <<< '%{KDE_LANGS}' )" != ""
+%files Serbian
+%defattr(-,root,root,-)
+%lang(sr) %{tde_datadir}/locale/sr/*
+%lang(sr) %{tde_tdedocdir}/HTML/sr/
+%endif
+
+%if "%( grep -w sv <<< '%{KDE_LANGS}' )" != ""
+%files Swedish
+%defattr(-,root,root,-)
+%lang(sv) %{tde_datadir}/locale/sv/*
+%lang(sv) %{tde_tdedocdir}/HTML/sv/
+%endif
+
+%if "%( grep -w ta <<< '%{KDE_LANGS}' )" != ""
+%files Tamil
+%defattr(-,root,root,-)
+%lang(ta) %{tde_datadir}/locale/ta/*
+%endif
+
+%if "%( grep -w tg <<< '%{KDE_LANGS}' )" != ""
+%files Tajik
+%defattr(-,root,root,-)
+%lang(tg) %{tde_datadir}/locale/tg/*
+%endif
+
+%if "%( grep -w th <<< '%{KDE_LANGS}' )" != ""
+%files Thai
+%defattr(-,root,root,-)
+%lang(th) %{tde_datadir}/locale/th/*
+%endif
+
+%if "%( grep -w tr <<< '%{KDE_LANGS}' )" != ""
+%files Turkish
+%defattr(-,root,root,-)
+%lang(tr) %{tde_datadir}/locale/tr/*
+%lang(tr) %{tde_tdedocdir}/HTML/tr/
+%endif
+
+%if "%( grep -w uk <<< '%{KDE_LANGS}' )" != ""
+%files Ukrainian
+%defattr(-,root,root,-)
+%lang(uk) %{tde_tdedocdir}/HTML/uk/
+%lang(uk) %{tde_datadir}/locale/uk/*
+%endif
+
+%if "%( grep -w ven <<< '%{KDE_LANGS}' )" != ""
+%files Venda
+%defattr(-,root,root,-)
+%lang(ven) %{tde_datadir}/locale/ven/*
+%endif
+
+%if "%( grep -w vi <<< '%{KDE_LANGS}' )" != ""
+%files Vietnamese
+%defattr(-,root,root,-)
+%lang(vi) %{tde_datadir}/locale/vi/*
+%endif
+
+%if "%( grep -w wa <<< '%{KDE_LANGS}' )" != ""
+%files Walloon
+%defattr(-,root,root,-)
+%lang(wa) %{tde_datadir}/locale/wa/*
+%endif
+
+%if "%( grep -w xh <<< '%{KDE_LANGS}' )" != ""
+%files Xhosa
+%defattr(-,root,root,-)
+%lang(xh) %{tde_datadir}/locale/xh/*
+%lang(xh) %{tde_tdedocdir}/HTML/xh/
+%endif
+
+%if "%( grep -w zh_CN <<< '%{KDE_LANGS}' )" != ""
+%files Chinese
+%defattr(-,root,root,-)
+%lang(zh_CN) %{tde_datadir}/locale/zh_CN/*
+%lang(zh_CN) %{tde_tdedocdir}/HTML/zh_CN/
+%endif
+
+%if "%( grep -w zh_TW <<< '%{KDE_LANGS}' )" != ""
+%files Chinese-Big5
+%defattr(-,root,root,-)
+%lang(zh_TW) %{tde_datadir}/locale/zh_TW/*
+%lang(zh_TW) %{tde_tdedocdir}/HTML/zh_TW/
+%endif
+
+%changelog
+* Wed Oct 03 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
+
+* Wed Aug 15 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-7
+- Renames to 'trinity-i18n'
+- Updates 'zh_TW' translations
+
+* Sun Dec 18 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-6
+- Updates French translations (mostly Kickoff Menu related)
+
+* Sun Dec 04 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-5
+- Removes 'kde-filesystem" dependancy
+
+* Fri Nov 26 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-4
+- Fix HTML directory location
+
+* Fri Nov 11 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-3
+- Re-adds missing files 'entry.desktop'
+- Updates zh_TW translation, thanks to Wei-Lun Chao
+
+* Tue Nov 01 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-2
+- Add missing french translations for TDE 3.5.13
+
+* Sun Oct 30 2011 Francois Andriot <francois.andriot@free.fr> - 3.5.13-1
+- Initial release for RHEL 6, RHEL 5 and Fedora 15
+
+* Sun Dec 19 2010 Francois Andriot <francois.andriot@free.fr> - 3.5.13-0
+- Initial version (French language only)
+- Based on RHEL SPEC file 'kde-i18n'
+- Add 'patch0' to reflect modifications in 'kdesu' from 'kdebase' package
+- Import to GIT
diff --git a/redhat/kdeaccessibility/trinity-kdeaccessibility-3.5.13.1.spec b/redhat/kdeaccessibility/trinity-kdeaccessibility-3.5.13.1.spec
new file mode 100644
index 000000000..114e3b1a0
--- /dev/null
+++ b/redhat/kdeaccessibility/trinity-kdeaccessibility-3.5.13.1.spec
@@ -0,0 +1,525 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Summary: Trinity Desktop Environment - Accessibility
+Name: trinity-tdeaccessibility
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2
+Group: User Interface/Desktops
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Source0: kdeaccessibility-3.5.13.1.tar.gz
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: desktop-file-utils
+BuildRequires: trinity-akode-devel
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tdemultimedia-devel >= %{version}
+
+BuildRequires: alsa-lib-devel
+
+# X11 Libraries
+%if 0%{?fedora} > 4 || 0%{?rhel} > 4
+BuildRequires: libXtst-devel
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xi-devel
+BuildRequires: %{_lib}xext%{?mgaversion:6}-devel
+BuildRequires: %{_lib}x11%{?mgaversion:_6}-devel
+BuildRequires: %{_lib}xcb-devel
+BuildRequires: %{_lib}xau%{?mgaversion:6}-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: libXi-devel
+BuildRequires: libXext-devel
+BuildRequires: libX11-devel
+%if 0%{?rhel} >= 6 || 0%{?fedora}
+BuildRequires: libxcb-devel
+%endif
+BuildRequires: libXau-devel
+%endif
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+%endif
+
+# Mageia only: Special packages were built for missing '.la' files on Mageia 2 !!!
+%if 0%{?mgaversion}
+BuildRequires: %{_lib}xi-devel-libtool
+BuildRequires: %{_lib}xext6-devel-libtool
+BuildRequires: %{_lib}x11_6-devel-libtool
+BuildRequires: %{_lib}xcb-devel-libtool
+BuildRequires: %{_lib}xau6-devel-libtool
+%endif
+
+Obsoletes: trinity-kdeaccessibility < %{version}-%{release}
+Provides: trinity-kdeaccessibility = %{version}-%{release}
+Obsoletes: trinity-kdeaccessibility-libs < %{version}-%{release}
+Provides: trinity-kdeaccessibility-libs = %{version}-%{release}
+
+Requires: trinity-kde-icons-mono = %{version}-%{release}
+Requires: trinity-kbstate = %{version}-%{release}
+Requires: trinity-kmag = %{version}-%{release}
+Requires: trinity-kmousetool = %{version}-%{release}
+Requires: trinity-kmouth = %{version}-%{release}
+Requires: trinity-ksayit = %{version}-%{release}
+Requires: trinity-kttsd = %{version}-%{release}
+Requires: trinity-kttsd-contrib-plugins = %{version}-%{release}
+
+%description
+Included with this package are:
+* kmag, a screen magnifier,
+* kmousetool, a program for people whom it hurts to click the mouse,
+* kmouth, program that allows people who have lost their voice
+ to let their computer speak for them.
+
+%files
+
+##########
+
+%package -n trinity-kde-icons-mono
+Summary: A monochromatic icons theme for TDE
+Group: User Interface/Desktops
+
+%description -n trinity-kde-icons-mono
+A monochromatic icon theme for TDE, designed for accessibility purposes.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-kde-icons-mono
+%defattr(-,root,root,-)
+%{tde_datadir}/icons/mono/index.theme
+%{tde_datadir}/icons/mono/scalable/*/*.svgz
+
+##########
+
+%package -n trinity-kbstate
+Summary: a keyboard status applet for TDE
+Group: User Interface/Desktops
+
+%description -n trinity-kbstate
+A panel applet that displays the keyboard status.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-kbstate
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kbstate_panelapplet.la
+%{tde_tdelibdir}/kbstate_panelapplet.so
+%{tde_datadir}/apps/kbstateapplet/
+%{tde_datadir}/apps/kicker/applets/kbstateapplet.desktop
+
+##########
+
+%package -n trinity-kmag
+Summary: A screen magnifier for TDE
+Group: User Interface/Desktops
+
+%description -n trinity-kmag
+KDE's screen magnifier tool.
+
+You can use KMagnifier to magnify a part of the screen just as you would use
+a lens to magnify a newspaper fine-print or a photograph. This application is
+useful for a variety of people: from researchers to artists to web-designers to
+people with low vision.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-kmag
+%defattr(-,root,root,-)
+%{tde_bindir}/kmag
+%{tde_datadir}/applnk/Applications/kmag.desktop
+%{tde_datadir}/apps/kmag/
+%{tde_datadir}/icons/hicolor/*/apps/kmag.png
+%{tde_datadir}/icons/locolor/*/apps/kmag.png
+%{tde_tdedocdir}/HTML/en/kmag/
+
+%post -n trinity-kmag
+/sbin/ldconfig ||:
+for icon_theme in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+%postun -n trinity-kmag
+/sbin/ldconfig ||:
+for icon_theme in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-kmousetool
+Summary: TDE mouse manipulation tool for the disabled
+Group: User Interface/Desktops
+
+%description -n trinity-kmousetool
+KMouseTool clicks the mouse whenever the mouse cursor pauses briefly. It was
+designed to help those with repetitive strain injuries, for whom pressing
+buttons hurts.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-kmousetool
+%defattr(-,root,root,-)
+%{tde_bindir}/kmousetool
+%{tde_datadir}/applnk/Applications/kmousetool.desktop
+%{tde_datadir}/apps/kmousetool/
+%{tde_datadir}/icons/hicolor/*/apps/kmousetool.png
+%{tde_tdedocdir}/HTML/en/kmousetool/
+
+%post -n trinity-kmousetool
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+%postun -n trinity-kmousetool
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-kmouth
+Summary: A type-and-say KDE frontend for speech synthesizers
+Group: User Interface/Desktops
+
+%description -n trinity-kmouth
+KDE's type-and-say frontend for speech synthesizers.
+
+It includes a history of spoken sentences from which the user can select
+sentences to be re-spoken.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-kmouth
+%defattr(-,root,root,-)
+%{tde_datadir}/config/kmouthrc
+%{tde_bindir}/kmouth
+%{tde_datadir}/applnk/Applications/kmouth.desktop
+%{tde_datadir}/apps/kmouth/
+%{tde_datadir}/icons/hicolor/*/actions/speak.png
+%{tde_datadir}/icons/hicolor/*/actions/nospeak.png
+%{tde_datadir}/icons/hicolor/*/apps/kmouth.png
+%{tde_datadir}/icons/locolor/*/actions/speak.png
+%{tde_datadir}/icons/locolor/*/apps/kmouth.png
+%{tde_tdedocdir}/HTML/en/kmouth/
+
+%post -n trinity-kmouth
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+%postun -n trinity-kmouth
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-ksayit
+Summary: A frontend for the TDE Text-to-Speech system
+Group: User Interface/Desktops
+
+%description -n trinity-ksayit
+Text-to-speech front-end to kttsd.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-ksayit
+%defattr(-,root,root,-)
+%{tde_bindir}/ksayit
+%{tde_tdeincludedir}/ksayit_fxplugin.h
+%{tde_tdelibdir}/libFreeverb_plugin.la
+%{tde_tdelibdir}/libFreeverb_plugin.so
+%{tde_libdir}/libKTTSD_Lib.so.*
+%{tde_tdeappdir}/ksayit.desktop
+%{tde_datadir}/apps/ksayit/
+%{tde_datadir}/icons/hicolor/*/apps/ksayit.png
+%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_clipempty.png
+%{tde_datadir}/icons/hicolor/32x32/apps/ksayit_talking.png
+%{tde_datadir}/services/ksayit_libFreeverb.desktop
+%{tde_datadir}/servicetypes/ksayit_libFreeverb_service.desktop
+
+%post -n trinity-ksayit
+/sbin/ldconfig ||:
+for icon_theme in mono hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksayit
+/sbin/ldconfig ||:
+for icon_theme in mono hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kttsd
+Summary: A Text-to-Speech system for TDE
+Group: User Interface/Desktops
+
+%description -n trinity-kttsd
+The KDE Text-to-Speech system is a plugin based service that allows any KDE
+(or non-KDE) application to speak using the DCOP interface.
+
+ksayit and kmouth are useful front-ends for this capability, while one of
+festival, flite, and epos are essential back-ends.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+Homepage: http://accessibility.kde.org/developer/kttsd
+
+%files -n trinity-kttsd
+%defattr(-,root,root,-)
+%{tde_bindir}/kttsd
+%{tde_bindir}/kttsmgr
+%{tde_tdelibdir}/kcm_kttsd.la
+%{tde_tdelibdir}/kcm_kttsd.so
+%{tde_tdelibdir}/ktexteditor_kttsd.la
+%{tde_tdelibdir}/ktexteditor_kttsd.so
+%{tde_tdelibdir}/libkttsd_akodeplugin.la
+%{tde_tdelibdir}/libkttsd_akodeplugin.so
+%{tde_tdelibdir}/libkttsd_alsaplugin.la
+%{tde_tdelibdir}/libkttsd_alsaplugin.so
+%{tde_tdelibdir}/libkttsd_artsplugin.la
+%{tde_tdelibdir}/libkttsd_artsplugin.so
+%{tde_tdelibdir}/libkttsd_commandplugin.la
+%{tde_tdelibdir}/libkttsd_commandplugin.so
+%{tde_tdelibdir}/libkttsd_eposplugin.la
+%{tde_tdelibdir}/libkttsd_eposplugin.so
+%{tde_tdelibdir}/libkttsd_festivalintplugin.la
+%{tde_tdelibdir}/libkttsd_festivalintplugin.so
+%{tde_tdelibdir}/libkttsd_fliteplugin.la
+%{tde_tdelibdir}/libkttsd_fliteplugin.so
+%{tde_tdelibdir}/libkttsd_sbdplugin.la
+%{tde_tdelibdir}/libkttsd_sbdplugin.so
+%{tde_tdelibdir}/libkttsd_stringreplacerplugin.la
+%{tde_tdelibdir}/libkttsd_stringreplacerplugin.so
+%{tde_tdelibdir}/libkttsd_talkerchooserplugin.la
+%{tde_tdelibdir}/libkttsd_talkerchooserplugin.so
+%{tde_tdelibdir}/libkttsd_xmltransformerplugin.la
+%{tde_tdelibdir}/libkttsd_xmltransformerplugin.so
+%{tde_tdelibdir}/libkttsjobmgrpart.la
+%{tde_tdelibdir}/libkttsjobmgrpart.so
+%{tde_libdir}/libkttsd.so.*
+%{tde_tdeappdir}/kcmkttsd.desktop
+%{tde_tdeappdir}/kttsmgr.desktop
+%{tde_datadir}/apps/ktexteditor_kttsd/ktexteditor_kttsdui.rc
+%exclude %{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl
+%{tde_datadir}/apps/kttsd/
+%{tde_datadir}/icons/hicolor/16x16/actions/female.png
+%{tde_datadir}/icons/hicolor/16x16/actions/male.png
+%{tde_datadir}/services/ktexteditor_kttsd.desktop
+%{tde_datadir}/services/kttsd.desktop
+%{tde_datadir}/services/kttsd_akodeplugin.desktop
+%{tde_datadir}/services/kttsd_alsaplugin.desktop
+%{tde_datadir}/services/kttsd_artsplugin.desktop
+%{tde_datadir}/services/kttsd_commandplugin.desktop
+%{tde_datadir}/services/kttsd_eposplugin.desktop
+%{tde_datadir}/services/kttsd_festivalintplugin.desktop
+%{tde_datadir}/services/kttsd_fliteplugin.desktop
+%{tde_datadir}/services/kttsd_sbdplugin.desktop
+%{tde_datadir}/services/kttsd_stringreplacerplugin.desktop
+%{tde_datadir}/services/kttsd_talkerchooserplugin.desktop
+%{tde_datadir}/services/kttsd_xmltransformerplugin.desktop
+%{tde_datadir}/services/kttsjobmgr.desktop
+%{tde_datadir}/servicetypes/kttsd_audioplugin.desktop
+%{tde_datadir}/servicetypes/kttsd_filterplugin.desktop
+%{tde_datadir}/servicetypes/kttsd_synthplugin.desktop
+%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kttsd.svgz
+%{tde_tdedocdir}/HTML/en/kttsd/
+
+%post -n trinity-kttsd
+/sbin/ldconfig ||:
+for icon_theme in crystalsvg hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kttsd
+/sbin/ldconfig ||:
+for icon_theme in crystalsvg hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kttsd-contrib-plugins
+Summary: the TDE Text-to-Speech system
+Group: User Interface/Desktops
+Requires: trinity-kttsd = %{version}-%{release}
+
+%description -n trinity-kttsd-contrib-plugins
+kttsd synthetizer plugins that depends on non-free software :
+* FreeTTS plugin.
+* Hadifix (mbrola/txt2pho) plugin.
+Those plugins will require manual installation of third party,
+non free software to work.
+
+This package is part of Trinity, as a component of the TDE accessibility module.
+
+%files -n trinity-kttsd-contrib-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/libkttsd_freettsplugin.la
+%{tde_tdelibdir}/libkttsd_freettsplugin.so
+%{tde_tdelibdir}/libkttsd_hadifixplugin.la
+%{tde_tdelibdir}/libkttsd_hadifixplugin.so
+%{tde_datadir}/apps/kttsd/hadifix/xslt/SSMLtoTxt2pho.xsl
+%{tde_datadir}/services/kttsd_freettsplugin.desktop
+%{tde_datadir}/services/kttsd_hadifixplugin.desktop
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tdelibs-devel >= %{version}
+
+Obsoletes: trinity-kdeaccessibility-devel < %{version}-%{release}
+Provides: trinity-kdeaccessibility-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkttsd.la
+%{tde_libdir}/libkttsd.so
+%{tde_libdir}/libKTTSD_Lib.la
+%{tde_libdir}/libKTTSD_Lib.so
+
+%post devel
+/sbin/ldconfig ||:
+
+%postun devel
+/sbin/ldconfig ||:
+
+##########
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n kdeaccessibility-3.5.13.1
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i admin/acinclude.m4.in \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+# Avoids conflict with KDE4, if installed
+# see file: '/etc/profile.d/kde.sh' from package 'kde-settings'
+export KDEDIRS=%{tde_prefix}
+export KDEDIR=%{tde_prefix}
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --enable-new-ldflags \
+ --enable-closure \
+ --disable-debug --disable-warnings \
+ --enable-final \
+ --enable-ksayit-audio-plugins \
+ --with-akode \
+ --with-extra-includes=%{tde_includedir}:%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# file lists for locale
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}/$HTML_DIR ]; then
+ for lang_dir in %{buildroot}/$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+ done
+fi
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%changelog
+* Sun Sep 30 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/kdeaddons/trinity-kdeaddons-3.5.13.1.spec b/redhat/kdeaddons/trinity-kdeaddons-3.5.13.1.spec
new file mode 100644
index 000000000..d57629f4b
--- /dev/null
+++ b/redhat/kdeaddons/trinity-kdeaddons-3.5.13.1.spec
@@ -0,0 +1,728 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-tdeaddons
+Summary: Trinity Desktop Environment - Plugins
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2
+Group: User Interface/Desktops
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Obsoletes: trinity-kdeaddons < %{version}-%{release}
+Provides: trinity-kdeaddons = %{version}-%{release}
+Obsoletes: trinity-kdeaddons-extras < %{version}-%{release}
+Provides: trinity-kdeaddons-extras = %{version}-%{release}
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: kdeaddons-3.5.13.1.tar.gz
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tdebase-devel >= %{version}
+BuildRequires: trinity-tdegames-devel >= %{version}
+BuildRequires: trinity-tdemultimedia-devel >= %{version}
+BuildRequires: trinity-tdepim-devel >= %{version}
+
+BuildRequires: SDL-devel
+BuildRequires: alsa-lib-devel
+BuildRequires: openssl-devel
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: db4-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libdb-4_8-devel
+%endif
+
+%if 0%{?fedora}
+BuildRequires: xmms-devel
+%endif
+
+#Requires: which
+
+Requires: trinity-atlantikdesigner = %{version}-%{release}
+Requires: trinity-kaddressbook-plugins = %{version}-%{release}
+Requires: trinity-kate-plugins = %{version}-%{release}
+Requires: trinity-tdeaddons-kfile-plugins = %{version}-%{release}
+Requires: trinity-kicker-applets = %{version}-%{release}
+Requires: trinity-knewsticker-scripts = %{version}-%{release}
+Requires: trinity-konq-plugins = %{version}-%{release}
+Requires: trinity-ksig = %{version}-%{release}
+Requires: trinity-noatun-plugins = %{version}-%{release}
+
+
+%description
+A collection of TDE Addons/Plugins, including:
+* atlantikdesigner: game board designer
+* konq-plugins: akregator, babelfish, domtreeviewer, imagerotation, validators, webarchiver
+* kate (plugins)
+* kicker-applets: kbinaryclock, kolourpicker, ktimemon, mediacontrol
+* knewsticker-scripts
+* noatun-plugins
+
+%files
+%defattr(-,root,root,-)
+
+##########
+
+%package -n trinity-atlantikdesigner
+Summary: Game board designer for Atlantik
+Group: Applications/Games
+#Requires: trinity-atlantik
+Requires: trinity-tdegames
+
+%description -n trinity-atlantikdesigner
+Atlantik Designer is a game board designer for the game Atlantik.
+
+Atlantik is a TDE client for playing Monopoly-like board games on the
+monopd network. It can play any board supported by the network
+server, including the classic Monopoly game as well as the Atlantik
+game in which the properties include several major cities in North
+America and Europe.
+
+%files -n trinity-atlantikdesigner
+%defattr(-,root,root,-)
+%doc README atlantikdesigner/TODO
+%{tde_bindir}/atlantikdesigner
+%{tde_datadir}/apps/atlantikdesigner
+%{tde_tdeappdir}/atlantikdesigner.desktop
+%{tde_datadir}/icons/hicolor/*/apps/atlantikdesigner.png
+
+%post -n trinity-atlantikdesigner
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-atlantikdesigner
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kaddressbook-plugins
+Summary: Plugins for KAddressBook, the Trinity address book
+Group: Applications/Utilities
+Requires: trinity-kaddressbook
+
+%description -n trinity-kaddressbook-plugins
+This package contains a variety of useful plugins for the KDE address
+book. These plugins can be loaded through the TDE address book settings.
+
+Highlights include exporting postal addresses as flags in KWorldClock,
+as well as importing and exporting contacts in the native format used
+by the German freemail provider GMX.
+
+%files -n trinity-kaddressbook-plugins
+%defattr(-,root,root,-)
+%doc README
+%{tde_tdelibdir}/libkaddrbk_geo_xxport.la
+%{tde_tdelibdir}/libkaddrbk_geo_xxport.so
+%{tde_tdelibdir}/libkaddrbk_gmx_xxport.la
+%{tde_tdelibdir}/libkaddrbk_gmx_xxport.so
+%{tde_datadir}/apps/kaddressbook
+%{tde_datadir}/services/kaddressbook
+
+##########
+
+%package -n trinity-kate-plugins
+Summary: Plugins for Kate, the TDE Advanced Text Editor
+Group: Applications/Utilities
+Requires: trinity-kate
+Requires: tidy
+
+%description -n trinity-kate-plugins
+This package contains a variety of useful plugins for Kate, the KDE
+Advanced Text Editor. These plugins can be loaded through the plugin
+manager in Kate settings.
+
+Highlights include spell checking, text filtering, HTML/XML construction
+and validation, vim/emacs modeline handling, templates for new files
+and text snippets, opening of C/C++ headers, extraction of C/C++ symbols,
+a tab bar, a Python browser and even more.
+
+%files -n trinity-kate-plugins
+%defattr(-,root,root,-)
+%doc kate/xmltools/ChangeLog kate/xmltools/README
+%{tde_tdelibdir}/katecppsymbolviewerplugin.la
+%{tde_tdelibdir}/katecppsymbolviewerplugin.so
+%{tde_tdelibdir}/katefiletemplates.la
+%{tde_tdelibdir}/katefiletemplates.so
+%{tde_tdelibdir}/katefll_plugin.la
+%{tde_tdelibdir}/katefll_plugin.so
+%{tde_tdelibdir}/katehelloworldplugin.la
+%{tde_tdelibdir}/katehelloworldplugin.so
+%{tde_tdelibdir}/katehtmltoolsplugin.la
+%{tde_tdelibdir}/katehtmltoolsplugin.so
+%{tde_tdelibdir}/kateinsertcommandplugin.la
+%{tde_tdelibdir}/kateinsertcommandplugin.so
+%{tde_tdelibdir}/katemakeplugin.la
+%{tde_tdelibdir}/katemakeplugin.so
+%{tde_tdelibdir}/katemodelineplugin.la
+%{tde_tdelibdir}/katemodelineplugin.so
+%{tde_tdelibdir}/kateopenheaderplugin.la
+%{tde_tdelibdir}/kateopenheaderplugin.so
+%{tde_tdelibdir}/katepybrowseplugin.la
+%{tde_tdelibdir}/katepybrowseplugin.so
+%{tde_tdelibdir}/katesnippetsplugin.la
+%{tde_tdelibdir}/katesnippetsplugin.so
+%{tde_tdelibdir}/katetextfilterplugin.la
+%{tde_tdelibdir}/katetextfilterplugin.so
+%{tde_tdelibdir}/katexmlcheckplugin.la
+%{tde_tdelibdir}/katexmlcheckplugin.so
+%{tde_tdelibdir}/katexmltoolsplugin.la
+%{tde_tdelibdir}/katexmltoolsplugin.so
+%{tde_tdelibdir}/libkatetabbarextensionplugin.la
+%{tde_tdelibdir}/libkatetabbarextensionplugin.so
+%{tde_datadir}/applnk/.hidden/katefll.desktop
+%{tde_datadir}/apps/kate
+%{tde_datadir}/apps/katepart
+%{tde_datadir}/apps/katexmltools
+%{tde_datadir}/services/katecppsymbolviewer.desktop
+%{tde_datadir}/services/katefiletemplates.desktop
+%{tde_datadir}/services/katefll_plugin.desktop
+%{tde_datadir}/services/katehelloworld.desktop
+%{tde_datadir}/services/katehtmltools.desktop
+%{tde_datadir}/services/kateinsertcommand.desktop
+%{tde_datadir}/services/katemake.desktop
+%{tde_datadir}/services/katemodeline.desktop
+%{tde_datadir}/services/kateopenheader.desktop
+%{tde_datadir}/services/katepybrowse.desktop
+%{tde_datadir}/services/katesnippets.desktop
+%{tde_datadir}/services/katetabbarextension.desktop
+%{tde_datadir}/services/katetextfilter.desktop
+%{tde_datadir}/services/katexmlcheck.desktop
+%{tde_datadir}/services/katexmltools.desktop
+%{tde_tdedocdir}/HTML/en/kate-plugins/
+
+##########
+
+%package kfile-plugins
+Summary: Trinity file dialog plugins for text files and folders
+Group: Applications/Utilities
+
+%description kfile-plugins
+This is a collection of plugins for the TDE file dialog. These plugins
+extend the file dialog to offer advanced meta-information for text,
+HTML and desktop files, as well as for folders, Windows .lnk files,
+MIME archives and X.509 certificates.
+
+This package also includes plugins for the KDE file rename dialog,
+allowing a user to more easily decide what to do when faced with a
+decision regarding conflicting filenames. Rename dialog plugins are
+provided for audio and image files.
+
+%files kfile-plugins
+%defattr(-,root,root,-)
+%doc kfile-plugins/lnk/README
+%{tde_bindir}/lnkforward
+%{tde_tdelibdir}/kfile_cert.la
+%{tde_tdelibdir}/kfile_cert.so
+%{tde_tdelibdir}/kfile_desktop.la
+%{tde_tdelibdir}/kfile_desktop.so
+%{tde_tdelibdir}/kfile_folder.la
+%{tde_tdelibdir}/kfile_folder.so
+%{tde_tdelibdir}/kfile_html.la
+%{tde_tdelibdir}/kfile_html.so
+%{tde_tdelibdir}/kfile_lnk.la
+%{tde_tdelibdir}/kfile_lnk.so
+%{tde_tdelibdir}/kfile_mhtml.la
+%{tde_tdelibdir}/kfile_mhtml.so
+%{tde_tdelibdir}/kfile_txt.la
+%{tde_tdelibdir}/kfile_txt.so
+%{tde_tdelibdir}/librenaudioplugin.la
+%{tde_tdelibdir}/librenaudioplugin.so
+%{tde_tdelibdir}/librenimageplugin.la
+%{tde_tdelibdir}/librenimageplugin.so
+%{tde_datadir}/applnk/.hidden/lnkforward.desktop
+%{tde_datadir}/mimelnk/application/x-win-lnk.desktop
+%{tde_datadir}/services/kfile_cert.desktop
+%{tde_datadir}/services/kfile_desktop.desktop
+%{tde_datadir}/services/kfile_folder.desktop
+%{tde_datadir}/services/kfile_html.desktop
+%{tde_datadir}/services/kfile_lnk.desktop
+%{tde_datadir}/services/kfile_mhtml.desktop
+%{tde_datadir}/services/kfile_txt.desktop
+%{tde_datadir}/services/renaudiodlg.desktop
+%{tde_datadir}/services/renimagedlg.desktop
+
+##########
+
+%package -n trinity-kicker-applets
+Summary: Applets for Kicker, the Trinity panel
+Group: Applications/Utilities
+Requires: trinity-kicker
+
+%description -n trinity-kicker-applets
+This package contains a variety of applets for Kicker, the KDE panel.
+These applets will appear in the panel's Add--Applet menu.
+
+Included are a system monitor, a colour picker, a media player controller,
+a mathematical evaluator and a binary clock.
+
+The media control applet does not support XMMS, as this would force all
+kicker-applets users to install XMMS. If you want a kicker applet that
+controls XMMS, install the xmms-kde-trinity package.
+
+%files -n trinity-kicker-applets
+%defattr(-,root,root,-)
+%doc README
+%{tde_tdelibdir}/kolourpicker_panelapplet.la
+%{tde_tdelibdir}/kolourpicker_panelapplet.so
+%{tde_tdelibdir}/ktimemon_panelapplet.la
+%{tde_tdelibdir}/ktimemon_panelapplet.so
+%{tde_tdelibdir}/math_panelapplet.la
+%{tde_tdelibdir}/math_panelapplet.so
+%{tde_tdelibdir}/mediacontrol_panelapplet.la
+%{tde_tdelibdir}/mediacontrol_panelapplet.so
+%{tde_tdelibdir}/kbinaryclock_panelapplet.la
+%{tde_tdelibdir}/kbinaryclock_panelapplet.so
+%{tde_datadir}/apps/kicker/applets
+%{tde_datadir}/apps/mediacontrol
+%{tde_datadir}/config.kcfg/kbinaryclock.kcfg
+%{tde_datadir}/icons/locolor/*/apps/ktimemon.png
+%{tde_datadir}/icons/crystalsvg/*/apps/ktimemon.png
+%{tde_tdedocdir}/HTML/en/kicker-applets/
+
+%post -n trinity-kicker-applets
+for f in crystalsvg locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+%postun -n trinity-kicker-applets
+for f in crystalsvg locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-knewsticker-scripts
+Summary: scripts for KNewsTicker, the Trinity news ticker
+Group: Applications/Utilities
+Requires: perl
+Requires: python
+#Requires: libfinance-quote-perl
+#Requires: libmime-perl
+#Requires: libnews-nntpclient-perl
+Requires: perl-libwww-perl
+Requires: trinity-knewsticker
+
+%description -n trinity-knewsticker-scripts
+This package contains a variety of scripts that provide additional news
+sources for KNewsTicker, the news ticker applet for the TDE panel.
+
+Highlights include newsgroup handling, stock data retrieval, sports scores
+and various local news sources.
+
+%files -n trinity-knewsticker-scripts
+%defattr(-,root,root,-)
+%doc README
+%{tde_datadir}/apps/knewsticker/
+
+##########
+
+%package -n trinity-konq-plugins
+Summary: plugins for Konqueror, the Trinity file/web/doc browser
+Group: Applications/Utilities
+%if 0%{?mgaversion} || 0%{?mdkversion}
+Requires: %{_lib}jpeg8
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+Requires: libjpeg
+%endif
+%if 0%{?suse_version}
+Requires: libjpeg62
+%endif
+Requires: python
+Requires: rsync
+#Requires: unison
+Requires: trinity-konqueror
+%if 0%{?fedora}
+Requires: python-exif
+%endif
+
+%description -n trinity-konq-plugins
+This package contains a variety of useful plugins for Konqueror, the
+file manager, web browser and document viewer for TDE. Many of these
+plugins will appear in Konqueror's Tools menu.
+
+Highlights for web browsing include web page translation, web page archiving,
+auto-refreshing, HTML and CSS structural analysis, a search toolbar, a
+sidebar news ticker, fast access to common options, bookmarklets, a crash
+monitor, a microformat availability indicator, a del.icio.us bookmarks
+sidebar, and integration with the aKregator RSS feed reader.
+
+Highlights for directory browsing include directory filters, image gallery
+creation, archive compression and extraction, quick copy/move, a sidebar
+media player, a file information metabar/sidebar, a media folder helper, a
+graphical disk usage viewer and image conversions and transformations.
+
+%files -n trinity-konq-plugins
+%defattr(-,root,root,-)
+%doc konq-plugins/README
+%{tde_datadir}/config/translaterc
+%{tde_bindir}/fsview
+%{tde_bindir}/jpegorient
+%{tde_bindir}/kio_media_realfolder
+%{tde_tdelibdir}/konq_sidebarnews.la
+%{tde_tdelibdir}/konq_sidebarnews.so
+%{tde_tdelibdir}/konqsidebar_delicious.la
+%{tde_tdelibdir}/konqsidebar_delicious.so
+%{tde_tdelibdir}/konqsidebar_mediaplayer.la
+%{tde_tdelibdir}/konqsidebar_mediaplayer.so
+%{tde_tdelibdir}/konqsidebar_metabar.la
+%{tde_tdelibdir}/konqsidebar_metabar.so
+%{tde_tdelibdir}/libakregatorkonqfeedicon.la
+%{tde_tdelibdir}/libakregatorkonqfeedicon.so
+%{tde_tdelibdir}/libakregatorkonqplugin.la
+%{tde_tdelibdir}/libakregatorkonqplugin.so
+%{tde_tdelibdir}/libarkplugin.la
+%{tde_tdelibdir}/libarkplugin.so
+%{tde_tdelibdir}/libautorefresh.la
+%{tde_tdelibdir}/libautorefresh.so
+%{tde_tdelibdir}/libbabelfishplugin.la
+%{tde_tdelibdir}/libbabelfishplugin.so
+%{tde_tdelibdir}/libcrashesplugin.la
+%{tde_tdelibdir}/libcrashesplugin.so
+%{tde_tdelibdir}/libdirfilterplugin.la
+%{tde_tdelibdir}/libdirfilterplugin.so
+%{tde_tdelibdir}/librsyncplugin.la
+%{tde_tdelibdir}/librsyncplugin.so
+%{tde_tdelibdir}/libdomtreeviewerplugin.la
+%{tde_tdelibdir}/libdomtreeviewerplugin.so
+%{tde_tdelibdir}/libfsviewpart.la
+%{tde_tdelibdir}/libfsviewpart.so
+%{tde_tdelibdir}/libkhtmlsettingsplugin.la
+%{tde_tdelibdir}/libkhtmlsettingsplugin.so
+%{tde_tdelibdir}/kcm_kuick.la
+%{tde_tdelibdir}/kcm_kuick.so
+%{tde_tdelibdir}/libkimgallery.la
+%{tde_tdelibdir}/libkimgallery.so
+%{tde_tdelibdir}/libkuickplugin.la
+%{tde_tdelibdir}/libkuickplugin.so
+%{tde_tdelibdir}/libmfkonqmficon.la
+%{tde_tdelibdir}/libmfkonqmficon.so
+%{tde_tdelibdir}/libminitoolsplugin.la
+%{tde_tdelibdir}/libminitoolsplugin.so
+%{tde_tdelibdir}/librellinksplugin.la
+%{tde_tdelibdir}/librellinksplugin.so
+%{tde_tdelibdir}/libsearchbarplugin.la
+%{tde_tdelibdir}/libsearchbarplugin.so
+%{tde_tdelibdir}/libuachangerplugin.la
+%{tde_tdelibdir}/libuachangerplugin.so
+%{tde_tdelibdir}/libvalidatorsplugin.la
+%{tde_tdelibdir}/libvalidatorsplugin.so
+%{tde_tdelibdir}/libwebarchiverplugin.la
+%{tde_tdelibdir}/libwebarchiverplugin.so
+%{tde_tdelibdir}/webarchivethumbnail.la
+%{tde_tdelibdir}/webarchivethumbnail.so
+%{tde_datadir}/applnk/.hidden/arkplugin.desktop
+%{tde_datadir}/applnk/.hidden/kcmkuick.desktop
+%{tde_datadir}/applnk/.hidden/kuickplugin.desktop
+%{tde_datadir}/applnk/.hidden/mediaplayerplugin.desktop
+%{tde_datadir}/applnk/.hidden/crashesplugin.desktop
+%{tde_datadir}/applnk/.hidden/dirfilterplugin.desktop
+%{tde_datadir}/applnk/.hidden/rsyncplugin.desktop
+%{tde_datadir}/applnk/.hidden/fsview.desktop
+%{tde_datadir}/applnk/.hidden/khtmlsettingsplugin.desktop
+%{tde_datadir}/applnk/.hidden/kimgalleryplugin.desktop
+%{tde_datadir}/applnk/.hidden/plugin_babelfish.desktop
+%{tde_datadir}/applnk/.hidden/plugin_domtreeviewer.desktop
+%{tde_datadir}/applnk/.hidden/plugin_validators.desktop
+%{tde_datadir}/applnk/.hidden/plugin_webarchiver.desktop
+%{tde_datadir}/applnk/.hidden/uachangerplugin.desktop
+%{tde_datadir}/apps/akregator
+%{tde_datadir}/apps/domtreeviewer
+%{tde_datadir}/apps/fsview
+%{tde_datadir}/apps/imagerotation/orient.py*
+%{tde_datadir}/apps/imagerotation/exif.py*
+%{tde_datadir}/apps/khtml/kpartplugins
+%{tde_datadir}/apps/konqiconview
+%{tde_datadir}/apps/konqlistview
+%{tde_datadir}/apps/konqsidebartng
+%{tde_datadir}/apps/konqueror/icons
+%{tde_datadir}/apps/konqueror/kpartplugins
+%{tde_datadir}/apps/konqueror/servicemenus
+%{tde_datadir}/apps/metabar/iconsrc
+%{tde_datadir}/apps/metabar/themes/default/default.css
+%{tde_datadir}/apps/metabar/themes/default/layout.html
+%{tde_datadir}/apps/microformat/pics/microformat.png
+%{tde_datadir}/config.kcfg/konq_sidebarnews.kcfg
+%{tde_datadir}/icons/locolor/16x16/apps/autorefresh.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/babelfish.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/cssvalidator.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/domtreeviewer.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/htmlvalidator.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/imagegallery.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesync.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/remotesyncconfig.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/minitools.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/validators.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/webarchiver.png
+%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_delicious.png
+%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_mediaplayer.png
+%{tde_datadir}/icons/crystalsvg/16x16/apps/konqsidebar_news.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/babelfish.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/cssvalidator.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/domtreeviewer.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/htmlvalidator.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/imagegallery.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesync.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/remotesyncconfig.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/minitools.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/validators.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/webarchiver.png
+%{tde_datadir}/icons/crystalsvg/22x22/apps/konqsidebar_mediaplayer.png
+%{tde_datadir}/icons/crystalsvg/32x32/actions/minitools.png
+%{tde_datadir}/icons/crystalsvg/32x32/apps/konqsidebar_mediaplayer.png
+%{tde_datadir}/icons/crystalsvg/48x48/actions/minitools.png
+%{tde_datadir}/icons/crystalsvg/48x48/apps/konqsidebar_mediaplayer.png
+%{tde_datadir}/icons/hicolor/16x16/apps/metabar.png
+%{tde_datadir}/icons/hicolor/22x22/apps/fsview.png
+%{tde_datadir}/icons/hicolor/32x32/apps/fsview.png
+%{tde_datadir}/icons/hicolor/32x32/apps/metabar.png
+%{tde_datadir}/icons/hicolor/48x48/apps/metabar.png
+%{tde_datadir}/icons/hicolor/64x64/apps/metabar.png
+%{tde_datadir}/icons/hicolor/scalable/apps/metabar.svgz
+%{tde_datadir}/icons/hicolor/128x128/apps/metabar.png
+%{tde_datadir}/icons/locolor/32x32/apps/konqsidebar_mediaplayer.png
+%{tde_datadir}/services/akregator_konqplugin.desktop
+%{tde_datadir}/services/ark_plugin.desktop
+%{tde_datadir}/services/fsview_part.desktop
+%{tde_datadir}/services/kuick_plugin.desktop
+%{tde_datadir}/services/webarchivethumbnail.desktop
+%{tde_tdelibdir}/libadblock.la
+%{tde_tdelibdir}/libadblock.so
+%{tde_tdedocdir}/HTML/en/konq-plugins/
+
+%post -n trinity-konq-plugins
+for f in crystalsvg hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+%postun -n trinity-konq-plugins
+for f in crystalsvg hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-ksig
+Summary: Graphical tool for managing multiple email signatures
+Group: Applications/Utilities
+Requires: trinity-kmail
+
+%description -n trinity-ksig
+KSig is a graphical tool for keeping track of many different email
+signatures. The signatures themselves can be edited through KSig's
+graphical user interface. A command-line interface is then available
+for generating random or daily signatures from this list.
+
+The command-line interface makes a suitable plugin for generating
+signatures in external mail clients such as KMail.
+
+%files -n trinity-ksig
+%defattr(-,root,root,-)
+%doc README
+%{tde_bindir}/ksig
+%{tde_tdeappdir}/ksig.desktop
+%{tde_datadir}/apps/ksig/ksigui.rc
+%{tde_datadir}/icons/hicolor/*/apps/ksig.png
+%{tde_tdedocdir}/HTML/en/ksig/
+
+%post -n trinity-ksig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-noatun-plugins
+Summary: plugins for Noatun, the Trinity media player
+Group: Applications/Utilities
+Requires: trinity-noatun
+
+%description -n trinity-noatun-plugins
+This package contains a variety of useful plugins for Noatun, the audio and
+video media player for TDE. These plugins can be loaded through the plugin
+manager in Noatun settings.
+
+Highlights include an alarm clock, guessing tags from filenames, adjustable
+playback speed, capture to wave file and displaying lyrics, plus a variety
+of user interfaces, playlists and visualisation plugins.
+
+%files -n trinity-noatun-plugins
+%defattr(-,root,root,-)
+%doc README
+%{tde_bindir}/noatunsynaescope.bin
+%{tde_bindir}/noatuntippecanoe.bin
+%{tde_bindir}/noatuntyler.bin
+%{tde_tdelibdir}/noatunalsaplayer.la
+%{tde_tdelibdir}/noatunalsaplayer.so
+%{tde_tdelibdir}/noatunblurscope.la
+%{tde_tdelibdir}/noatunblurscope.so
+%{tde_tdelibdir}/noatuncharlatan.la
+%{tde_tdelibdir}/noatuncharlatan.so
+%{tde_tdelibdir}/noatundub.la
+%{tde_tdelibdir}/noatundub.so
+%{tde_tdelibdir}/noatun_ffrs.la
+%{tde_tdelibdir}/noatun_ffrs.so
+%{tde_tdelibdir}/noatunluckytag.la
+%{tde_tdelibdir}/noatunluckytag.so
+%{tde_tdelibdir}/noatunlyrics.la
+%{tde_tdelibdir}/noatunlyrics.so
+%{tde_tdelibdir}/noatunmadness.la
+%{tde_tdelibdir}/noatunmadness.so
+%{tde_tdelibdir}/noatun_oblique.la
+%{tde_tdelibdir}/noatun_oblique.so
+%{tde_tdelibdir}/noatunpitchablespeed.la
+%{tde_tdelibdir}/noatunpitchablespeed.so
+%{tde_tdelibdir}/noatunsynaescope.la
+%{tde_tdelibdir}/noatunsynaescope.so
+%{tde_tdelibdir}/noatuntippecanoe.la
+%{tde_tdelibdir}/noatuntippecanoe.so
+%{tde_tdelibdir}/noatuntyler.la
+%{tde_tdelibdir}/noatuntyler.so
+%{tde_tdelibdir}/noatunwakeup.la
+%{tde_tdelibdir}/noatunwakeup.so
+%{tde_tdelibdir}/noatunwavecapture.la
+%{tde_tdelibdir}/noatunwavecapture.so
+%{tde_datadir}/apps/noatun/*
+%{tde_datadir}/icons/crystalsvg/16x16/apps/synaescope.png
+
+%post -n trinity-noatun-plugins
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+%postun -n trinity-noatun-plugins
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+##########
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
+
+
+%prep
+%setup -q -n kdeaddons-3.5.13.1
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i admin/acinclude.m4.in \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --enable-new-ldflags \
+ --enable-closure \
+ --disable-debug --disable-warnings \
+ --disable-dependency-tracking --enable-final \
+ --with-extra-includes=%{tde_includedir}/tqt:%{_includedir}/db4:%{tde_includedir}/arts:%{tde_includedir} \
+ --without-xmms \
+ --with-sdl \
+ --with-berkeley-db
+
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# File lists for locale
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}/$HTML_DIR ]; then
+ for lang_dir in %{buildroot}/$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
+ done
+ popd
+ fi
+ done
+fi
+
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+
+%changelog
+* Sun Sep 30 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/kdeaddons/trinity-kdeaddons-3.5.13.spec b/redhat/kdeaddons/trinity-kdeaddons-3.5.13.spec
index 1437f680d..6f24499b2 100644
--- a/redhat/kdeaddons/trinity-kdeaddons-3.5.13.spec
+++ b/redhat/kdeaddons/trinity-kdeaddons-3.5.13.spec
@@ -55,7 +55,12 @@ BuildRequires: trinity-tdepim-devel
BuildRequires: SDL-devel
BuildRequires: alsa-lib-devel
BuildRequires: openssl-devel
+%if 0%{?rhel} || 0%{?fedora}
BuildRequires: db4-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libdb-4_8-devel
+%endif
%if 0%{?fedora}
BuildRequires: xmms-devel
@@ -663,7 +668,7 @@ done
%build
-unset QTDIR || : ; . /etc/profile.d/qt.sh
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
#export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
diff --git a/redhat/kdeadmin/trinity-kdeadmin-3.5.13.1.spec b/redhat/kdeadmin/trinity-kdeadmin-3.5.13.1.spec
new file mode 100644
index 000000000..fa49e5d49
--- /dev/null
+++ b/redhat/kdeadmin/trinity-kdeadmin-3.5.13.1.spec
@@ -0,0 +1,482 @@
+# Avoids relinking, which breaks consolehelper
+%define dont_relink 1
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_sbindir %{tde_prefix}/sbin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-tdeadmin
+Summary: Administrative tools for TDE
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2
+Group: User Interface/Desktops
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+
+Obsoletes: trinity-kdeadmin < %{version}-%{release}
+Provides: trinity-kdeadmin = %{version}-%{release}
+
+Source0: kdeadmin-%{version}.tar.gz
+Source1: kuser.pam
+Source2: kuser.pamd
+Source5: kpackagerc
+Source6: ksysvrc
+Source7: kuserrc
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: rpm-devel
+BuildRequires: pam-devel
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+BuildRequires: lilo
+%endif
+
+Requires: trinity-tdeadmin = %{version}-%{release}
+Requires: trinity-kcron = %{version}-%{release}
+Requires: trinity-kdat = %{version}-%{release}
+Requires: %{name}-kfile-plugins = %{version}-%{release}
+Requires: trinity-knetworkconf = %{version}-%{release}
+Requires: trinity-kpackage = %{version}-%{release}
+Requires: trinity-ksysv = %{version}-%{release}
+Requires: trinity-kuser = %{version}-%{release}
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+Requires: trinity-lilo-config = %{version}-%{release}
+%endif
+
+
+%description
+The tdeadmin package includes administrative tools for the Trinity Desktop
+Environment (TDE) including:
+kcron, kdat, knetworkconf, kpackage, ksysv, kuser.
+
+%files
+%defattr(-,root,root,-)
+# LILO is not provided in RHEL or Fedora
+%if 0%{?rhel} || 0%{?fedora}
+%exclude %{tde_tdedocdir}/HTML/en/lilo-config/
+%endif
+
+##########
+
+%package -n trinity-kcron
+Summary: The Trinity crontab editor
+Group: Applications/Utilities
+
+%description -n trinity-kcron
+KCron is an application for scheduling programs to run in the background.
+It is a graphical user interface to cron, the UNIX system scheduler.
+
+%files -n trinity-kcron
+%defattr(-,root,root,-)
+%{tde_bindir}/kcron
+%{tde_tdeappdir}/kcron.desktop
+%{tde_datadir}/apps/kcron/kcronui.rc
+%{tde_datadir}/icons/hicolor/*/apps/kcron.png
+%{tde_tdedocdir}/HTML/en/kcron/
+
+%post -n trinity-kcron
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kcron
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kdat
+Summary: A Trinity tape backup tool
+Group: Applications/Utilities
+
+%description -n trinity-kdat
+KDat is a tar-based tape archiver. It is designed to work with multiple
+archives on a single tape.
+
+Main features are:
+* Simple graphical interface to local filesystem and tape contents.
+* Multiple archives on the same physical tape.
+* Complete index of archives and files is stored on local hard disk.
+* Selective restore of files from an archive.
+* Backup profiles for frequently used backups.
+
+%files -n trinity-kdat
+%defattr(-,root,root,-)
+%doc rpmdocs/kdat/*
+%{tde_bindir}/kdat
+%{tde_tdeappdir}/kdat.desktop
+%{tde_datadir}/apps/kdat/
+%{tde_datadir}/icons/hicolor/*/apps/kdat.png
+%{tde_datadir}/icons/locolor/*/apps/kdat.png
+%{tde_tdedocdir}/HTML/en/kdat/
+
+%post -n trinity-kdat
+for icon_theme in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kdat
+for icon_theme in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package kfile-plugins
+Summary: Trinity file metainfo plugins for deb and rpm files
+Group: Environment/Libraries
+
+%description kfile-plugins
+File metainfo plugins for deb and rpm package files.
+
+%files kfile-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kfile_deb.la
+%{tde_tdelibdir}/kfile_deb.so
+%{tde_tdelibdir}/kfile_rpm.la
+%{tde_tdelibdir}/kfile_rpm.so
+%{tde_datadir}/services/kfile_deb.desktop
+%{tde_datadir}/services/kfile_rpm.desktop
+
+##########
+
+%package -n trinity-knetworkconf
+Summary: Trinity network configuration tool
+Group: Applications/Utilities
+
+%description -n trinity-knetworkconf
+This is a TDE control center module to configure TCP/IP settings. It
+can be used to manage network devices and settings for each device.
+
+%files -n trinity-knetworkconf
+%defattr(-,root,root,-)
+%doc rpmdocs/knetworkconf/*
+%{tde_datadir}/icons/hicolor/*/apps/knetworkconf.png
+%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_wlan.png
+%{tde_datadir}/icons/hicolor/22x22/actions/network_connected_lan_knc.png
+%{tde_datadir}/icons/hicolor/22x22/actions/network_disconnected_lan.png
+%{tde_datadir}/icons/hicolor/22x22/actions/network_traffic_wlan.png
+%{tde_datadir}/apps/knetworkconf/
+%{tde_tdeappdir}/kcm_knetworkconfmodule.desktop
+%{tde_tdelibdir}/kcm_knetworkconfmodule.so
+%{tde_tdelibdir}/kcm_knetworkconfmodule.la
+%{tde_tdedocdir}/HTML/en/knetworkconf/
+
+%post -n trinity-knetworkconf
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+%postun -n trinity-knetworkconf
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-kpackage
+Summary: Trinity package management tool
+Group: Applications/Utilities
+
+%description -n trinity-kpackage
+This is a frontend to both .rpm and .deb package formats. It allows you
+to view currently installed packages, browse available packages, and
+install/remove them.
+
+%files -n trinity-kpackage
+%defattr(-,root,root,-)
+%doc rpmdocs/kpackage/*
+%{tde_bindir}/kpackage
+%{tde_tdeappdir}/kpackage.desktop
+%{tde_datadir}/apps/kpackage/
+%{tde_datadir}/config/kpackagerc
+%{tde_datadir}/icons/hicolor/*/apps/kpackage.png
+%{tde_tdedocdir}/HTML/en/kpackage/
+
+%post -n trinity-kpackage
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kpackage
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksysv
+Summary: Trinity SysV-style init configuration editor
+Group: Applications/Utilities
+
+%description -n trinity-ksysv
+This program allows you to edit your start and stop scripts using a
+drag and drop GUI.
+
+%files -n trinity-ksysv
+%defattr(-,root,root,-)
+%doc rpmdocs/ksysv/*
+%{tde_bindir}/ksysv
+%{tde_tdeappdir}/ksysv.desktop
+%{tde_datadir}/apps/ksysv/
+%{tde_datadir}/config/ksysvrc
+%{tde_datadir}/icons/crystalsvg/16x16/actions/toggle_log.png
+%{tde_datadir}/icons/hicolor/*/apps/ksysv.png
+%{tde_datadir}/mimelnk/application/x-ksysv.desktop
+%{tde_datadir}/mimelnk/text/x-ksysv-log.desktop
+%{tde_tdedocdir}/HTML/en/ksysv/
+
+%post -n trinity-ksysv
+for icon_theme in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksysv
+for icon_theme in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kuser
+Summary: Trinity user/group administration tool
+Group: Applications/Utilities
+# package 'usermode' provides '/usr/bin/consolehelper-gtk'
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+Requires: usermode-gtk
+%else
+Requires: usermode
+%endif
+
+%description -n trinity-kuser
+A user/group administration tool for TDE.
+
+%files -n trinity-kuser
+%defattr(-,root,root,-)
+%doc rpmdocs/kuser/*
+%{_sbindir}/kuser
+%{tde_bindir}/kuser
+%{tde_sbindir}/kuser
+%{tde_tdeappdir}/kuser.desktop
+%{tde_datadir}/apps/kuser/
+%{tde_datadir}/config/kuserrc
+%{tde_datadir}/config.kcfg/kuser.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kuser.png
+%{tde_tdedocdir}/HTML/en/kuser/
+%config(noreplace) /etc/pam.d/kuser
+%config(noreplace) /etc/security/console.apps/kuser
+
+%post -n trinity-kuser
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kuser
+for icon_theme in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${icon_theme} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%package -n trinity-lilo-config
+Summary: Trinity frontend for lilo configuration
+Group: Applications/Utilities
+Requires: trinity-kcontrol
+Requires: trinity-tdebase-bin
+#Requires: lilo
+
+%description -n trinity-lilo-config
+lilo-config is a TDE based frontend to the lilo boot manager configuration.
+It runs out of the TDE Control Center.
+
+If you want to use the menu entry to launch lilo-config, you need to install
+tdebase-bin since it uses the tdesu command to gain root privileges.
+
+%files -n trinity-lilo-config
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcm_lilo.la
+%{tde_tdelibdir}/kcm_lilo.so
+%{tde_tdeappdir}/lilo.desktop
+%{tde_tdedocdir}/HTML/en/lilo-config/
+
+%post -n trinity-lilo-config
+touch /etc/lilo.conf
+%endif
+
+##########
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n kdeadmin-3.5.13.1
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i admin/acinclude.m4.in \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+# Do not build against any "/usr" installed KDE
+export KDEDIR=%{tde_prefix}
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --sbindir=%{tde_sbindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --enable-new-ldflags \
+ --disable-dependency-tracking \
+ --disable-rpath \
+ --with-rpm \
+ --with-pam=kde \
+ --with-shadow \
+ --with-private-groups \
+ --enable-final \
+ --enable-closure \
+ --with-private-groups \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+comps="kcron kdat knetworkconf kpackage ksysv kuser"
+%__mkdir_p %{buildroot}%{tde_datadir}/config \
+ %{buildroot}%{_sysconfdir}/security/console.apps \
+ %{buildroot}%{_sysconfdir}/pam.d \
+ %{buildroot}%{tde_sbindir} \
+ %{buildroot}%{_sbindir}
+
+%__install -p -m644 %{SOURCE5} %{SOURCE6} %{SOURCE7} %{buildroot}%{tde_datadir}/config/
+
+# Run kuser through consolehelper
+%__install -p -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/security/console.apps/kuser
+%__install -p -m644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/kuser
+%__mv %{buildroot}%{tde_bindir}/kuser %{buildroot}%{tde_sbindir}
+%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kuser
+%if "%{tde_prefix}" != "/usr"
+%__ln_s %{tde_sbindir}/kuser %{?buildroot}%{_sbindir}/kuser
+%endif
+
+# locale's
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}/$HTML_DIR ]; then
+for lang_dir in %{buildroot}/$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# rpmdocs
+for dir in $comps ; do
+ for file in AUTHORS ChangeLog README TODO ; do
+ test -s "$dir/$file" && install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
+ done
+done
+
+# The following files are not installed in any binary package.
+# This is deliberate.
+
+# - This file serves no purpose that we can see, and conflicts
+# with GNOME system tools, so be sure to leave it out.
+%__rm -f %{?buildroot}%{tde_libdir}/pkgconfig/*.pc
+
+# Extract from changelog:
+# tdeadmin (4:3.5.5-2) unstable; urgency=low
+# +++ Changes by Ana Beatriz Guerrero Lopez:
+# * Removed useless program secpolicy. (Closes: #399426)
+%__rm -f %{?buildroot}%{tde_bindir}/secpolicy
+
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%changelog
+* Sun Sep 30 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/kdeartwork/kdeartwork-3.5.13.1-fix_locolor_theme_name.patch.gz b/redhat/kdeartwork/kdeartwork-3.5.13.1-fix_locolor_theme_name.patch.gz
new file mode 100644
index 000000000..8bbe3ca51
--- /dev/null
+++ b/redhat/kdeartwork/kdeartwork-3.5.13.1-fix_locolor_theme_name.patch.gz
Binary files differ
diff --git a/redhat/kdeartwork/trinity-kdeartwork-3.5.13.1.spec b/redhat/kdeartwork/trinity-kdeartwork-3.5.13.1.spec
new file mode 100644
index 000000000..0be49cb09
--- /dev/null
+++ b/redhat/kdeartwork/trinity-kdeartwork-3.5.13.1.spec
@@ -0,0 +1,701 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-tdeartwork
+Summary: Additional artwork (themes, sound themes, ...) for TDE
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2
+Group: User Interface/Desktops
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+Url: http://www.trinitydesktop.org/
+
+Source: kdeartwork-3.5.13.1.tar.gz
+
+# [kdeartwork] Renames theme 'Locolor' to 'locolor'
+Patch1: kdeartwork-3.5.13.1-fix_locolor_theme_name.patch.gz
+
+BuildRequires: cmake >= 2.8
+BuildRequires: trinity-tdebase-devel >= %{version}
+
+BuildRequires: gettext
+BuildRequires: esound-devel
+
+# kdeartwork specific settings
+
+# OpenGL support
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-Mesa-libGLU
+%endif
+
+# NAS support
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: nas-devel
+%endif
+
+# LIBART support
+# On RHEL, libart is too old !
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_libart 1
+BuildRequires: libart_lgpl-devel
+%endif
+
+# XSCREENSAVER support
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
+%define with_xscreensaver 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
+BuildRequires: xscreensaver
+BuildRequires: xscreensaver-base
+BuildRequires: xscreensaver-extrusion
+BuildRequires: xscreensaver-gl
+%endif
+%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version}
+BuildRequires: libXScrnSaver-devel
+%endif
+
+%if 0%{?fedora} || 0%{?rhel} >= 6
+# Provides '/usr/share/xscreensaver/config/deco.xml'
+BuildRequires: xscreensaver-extras
+%endif
+%if 0%{?suse_version}
+BuildRequires: xscreensaver-data-extra
+%endif
+
+# Opensuse does not provide 'webcollage' screensaver
+%if 0%{?suse_version} == 0
+%define with_webcollage 1
+%endif
+
+%endif
+
+# JACK support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}jack-devel
+%endif
+%if 0%{?fedora} || 0%{?rhel} >= 5
+BuildRequires: jack-audio-connection-kit-devel
+%endif
+
+
+Obsoletes: trinity-kdeartwork < %{version}-%{release}
+Provides: trinity-kdeartwork = %{version}-%{release}
+
+# Metapackage
+Requires: %{name}-emoticons = %{version}-%{release}
+Requires: %{name}-misc = %{version}-%{release}
+Requires: %{name}-style = %{version}-%{release}
+Requires: %{name}-theme-icon = %{version}-%{release}
+Requires: %{name}-theme-window = %{version}-%{release}
+Requires: trinity-kdewallpapers = %{version}-%{release}
+Requires: trinity-kscreensaver = %{version}-%{release}
+
+%if 0%{?with_xscreensaver}
+Requires: trinity-kscreensaver-xsavers = %{version}-%{release}
+Requires: trinity-kscreensaver-xsavers-extra = %{version}-%{release}
+%if 0%{?with_webcollage}
+Requires: trinity-kscreensaver-xsavers-webcollage = %{version}-%{release}
+%endif
+%endif
+
+
+%description
+TDE (the Trinity Desktop Environment) is a powerful Open Source graphical
+desktop environment for Unix workstations. It combines ease of use,
+contemporary functionality, and outstanding graphical design with the
+technological superiority of the Unix operating system.
+
+This metapackage includes a collection of artistic extras (themes, widget
+styles, screen savers, wallpaper, icons, emoticons and so on) provided
+with the official release of KDE.
+
+Homepage: http://artist.kde.org
+
+%files
+
+##########
+
+%package emoticons
+Summary: emoticon collections for tDE chat clients
+Group: User Interface/Desktops
+
+%description emoticons
+This package contains several collections of emoticons used by official
+and unofficial KDE chat clients, such as Kopete and Konversation.
+
+This package is part of KDE, and a component of the KDE artwork module.
+
+%files emoticons
+%defattr(-,root,root,-)
+%{tde_datadir}/emoticons/
+
+##########
+
+%package misc
+Summary: various multimedia goodies released with TDE
+Group: User Interface/Desktops
+
+%description misc
+This package contains miscellaneous multimedia goodies for KDE.
+Included are additional TDE sounds and kworldclock themes.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files misc
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kworldclock/
+%{tde_datadir}/sounds/KDE_Logout_new.wav
+%{tde_datadir}/sounds/KDE_Startup_new.wav
+
+##########
+
+%package style
+Summary: widget styles released with Trinity
+Group: User Interface/Desktops
+
+%description style
+This package contains additional widget styles for Trinity. Widget styles
+can be used to customise the look and feel of interface components such
+as buttons, scrollbars and so on. They can be applied using the style
+manager in the TDE Control Centre.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files style
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/plugins/styles/
+%{tde_tdelibdir}/kstyle_phase_config.la
+%{tde_tdelibdir}/kstyle_phase_config.so
+%{tde_datadir}/apps/kstyle/
+
+##########
+
+%package theme-icon
+Summary: icon themes released with Trinity
+Group: User Interface/Desktops
+
+Obsoletes: trinity-kdeartwork-icons < %{version}-%{release}
+Provides: trinity-kdeartwork-icons = %{version}-%{release}
+
+%description theme-icon
+This package contains additional icon themes for Trinity. Icon themes can be
+used to customise the appearance of standard icons throughout KDE. They
+can be applied using the icon manager in the Trinity Control Centre.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files theme-icon
+%defattr(-,root,root,-)
+%{tde_datadir}/icons/*/*
+
+%post theme-icon
+for i in locolor ikons kdeclassic kids slick ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+
+%postun theme-icon
+for i in locolor ikons kdeclassic kids slick ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+
+##########
+
+%package theme-window
+Summary: window decoration themes released with Trinity
+Group: User Interface/Desktops
+
+%description theme-window
+This package contains additional window decoration themes for Trinity. Window
+decoration themes can be used to customise the look of window borders and
+buttons, and can be applied using the window decoration manager in the Trinity
+Control Center.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files theme-window
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/[kt]win*
+%{tde_datadir}/apps/[kt]win/
+
+##########
+
+%package -n trinity-kdewallpapers
+Summary: wallpapers released with Trinity
+Group: User Interface/Desktops
+
+%description -n trinity-kdewallpapers
+This package contains additional wallpapers for Trinity. Wallpapers can be
+applied using the background manager in the TDE Control Centre.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-kdewallpapers
+%defattr(-,root,root,-)
+%{tde_datadir}/wallpapers/
+
+##########
+
+%package -n trinity-kscreensaver
+Summary: additional screen savers released with Trinity
+Group: User Interface/Desktops
+
+%description -n trinity-kscreensaver
+This package contains the screen savers for Trinity. They can be tested and
+selected within the Appearance and Themes section of the Trinity Control
+Center.
+
+The hooks for the standard xscreensavers are no longer part of this
+package. To select and/or configure the standard xscreensavers through
+the TDE Control Center, install the separate package kscreensaver-xsavers.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-kscreensaver
+%defattr(-,root,root,-)
+%{tde_bindir}/kslideshow.kss
+%{tde_bindir}/kpolygon.kss
+%{tde_bindir}/krotation.kss
+%{tde_bindir}/ksolarwinds.kss
+%{tde_bindir}/klorenz.kss
+%{tde_bindir}/kvm.kss
+%{tde_bindir}/kflux.kss
+%{tde_bindir}/kscience.kss
+%{tde_bindir}/kbanner.kss
+%{tde_bindir}/kclock.kss
+%{tde_bindir}/kfiresaver.kss
+%{tde_bindir}/keuphoria.kss
+%{tde_bindir}/kfountain.kss
+%{tde_bindir}/kgravity.kss
+%{tde_bindir}/kpartsaver.kss
+%{tde_bindir}/kpendulum.kss
+%{tde_bindir}/kblob.kss
+%{tde_bindir}/klines.kss
+%{tde_bindir}/kwave.kss
+%{tde_datadir}/applnk/System/ScreenSavers/KBanner.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KBlob.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KClock.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KEuphoria.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KFiresaver.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KFlux.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KFountain.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KGravity.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KLines-saver.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KLorenz.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KPendulum.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KPolygon.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KRotation.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KScience.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KSlideshow.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KSolarWinds.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KVm.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KWave.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/kpartsaver.desktop
+%{tde_datadir}/apps/kfiresaver/
+%{tde_datadir}/apps/kscreensaver/
+
+%if 0%{?with_xscreensaver}
+%{tde_bindir}/kspace.kss
+%{tde_bindir}/kswarm.kss
+%{tde_datadir}/applnk/System/ScreenSavers/KSpace.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/KSwarm.desktop
+%endif
+
+##########
+
+%if 0%{?with_xscreensaver}
+
+%package -n trinity-kscreensaver-xsavers
+Summary: Trinity hooks for standard xscreensavers
+Group: User Interface/Desktops
+Requires: trinity-tdebase-bin >= 3.5.13
+Requires: xscreensaver
+
+%description -n trinity-kscreensaver-xsavers
+This package allows a smooth integration of the standard xscreensavers
+into Trinity. With this package installed you can select and/or configure
+the standard xscreensavers through the Appearances and Themes section of
+the Trinity Control Centre.
+
+Note that this package does not actually contain any screensavers itself.
+For the additional screensavers shipped with Trinity, see the separate package
+kscreensaver-trinity. This package does depend on the xscreensaver package, and
+recommend the xscreensaver-gl package, as well as contain the necessary
+files to integrate these packages into Trinity.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-kscreensaver-xsavers
+%defattr(-,root,root,-)
+#%{tde_bindir}/xscreensaver-getimage-file
+#%{tde_bindir}/xscreensaver-getimage
+%{tde_bindir}/kxsconfig
+%{tde_bindir}/kxsrun
+%{tde_datadir}/applnk/System/ScreenSavers/antinspect.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/antspotlight.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/atunnel.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/blinkbox.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/braid.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/bubble3d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/circuit.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cubestorm.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/deco.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/distort.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/endgame.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/engine.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fiberlamp.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flipflop.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flipscreen3d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flyingtoasters.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fuzzyflakes.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/galaxy.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/gears.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/gflux.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glblur.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/gleidescope.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glknots.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glslideshow.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glsnake.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/gltext.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/hypertorus.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/jigglypuff.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lavalite.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/metaballs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/mirrorblob.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/moebius.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/molecule.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/morph3d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/penrose.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pipes.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/polyhedra.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/polytopes.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/popsquares.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pulsar.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/queens.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/ripples.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/shadebobs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/sierpinski3d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/slidescreen.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/sonar.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/spheremonics.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/stonerview.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/superquadrics.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/swirl.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xlyap.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/m6502.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glschool.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/moebiusgears.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glcells.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/abstractile.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lockward.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cwaves.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/topblock.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/voronoi.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cubicgrid.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/hypnowheel.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lcdscrub.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/photopile.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/skytentacles.desktop
+
+# These screensavers do not exist on Mageia 2
+%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0
+%{tde_datadir}/applnk/System/ScreenSavers/glmatrix.desktop
+%endif
+
+##########
+
+%if 0%{?with_webcollage}
+
+%package -n trinity-kscreensaver-xsavers-webcollage
+Summary: webcollage screensaver Trinity hook
+Group: User Interface/Desktops
+Requires: trinity-kscreensaver-xsavers-extra = %{version}-%{release}
+Requires: netpbm
+
+%description -n trinity-kscreensaver-xsavers-webcollage
+This package give access to the webcollage screensaver through the Trinity
+screensaver configuration.
+
+This screensaver downloads random pictures from the internet and creates
+a collage as screensaver.
+
+IMPORTANT NOTICE: The internet contains all kinds of pictures, some of which
+you might find inappropriate and offensive.
+You are specially discouraged to install this package if you are using
+your computer in a working environment or in an environment with children.
+
+If you still want to install this package, please read the file
+/usr/share/doc/kscreensaver-xsavers-webcollage/README.Debian after the
+installation.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-kscreensaver-xsavers-webcollage
+%defattr(-,root,root,-)
+%{tde_datadir}/applnk/System/ScreenSavers/webcollage.desktop
+
+%endif
+
+##########
+
+%package -n trinity-kscreensaver-xsavers-extra
+Summary: Trinity hooks for standard xscreensavers
+Group: User Interface/Desktops
+Requires: trinity-kscreensaver-xsavers = %{version}-%{release}
+
+%description -n trinity-kscreensaver-xsavers-extra
+This package allows a smooth integration of the universe xscreensavers
+into Trinity. With this package installed you can select and/or configure
+the universe xscreensavers through the Appearances and Themes section of
+the Trinity Control Centre.
+
+Note that this package does not actually contain any screensavers itself.
+For the additional screensavers shipped with TDE, see the separate package
+kscreensaver.
+
+This package is part of Trinity, and a component of the TDE artwork module.
+
+%files -n trinity-kscreensaver-xsavers-extra
+%defattr(-,root,root,-)
+%{tde_datadir}/applnk/System/ScreenSavers/anemone.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/anemotaxis.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/antmaze.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/apollonian.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/apple2.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/atlantis.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/attraction.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/barcode.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/blaster.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/blitspin.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/blocktube.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/boing.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/bouboule.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/bouncingcow.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/boxed.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/boxfit.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/bsod.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/bumps.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cage.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/carousel.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/ccurve.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/celtic.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cloudlife.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/compass.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/coral.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/crackberg.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/crystal.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cube21.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cubenetic.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/cynosure.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/dangerball.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/decayscreen.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/deluxe.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/demon.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/discrete.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/drift.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/epicycle.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/eruption.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/euler2d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/extrusion.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fadeplot.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fireworkx.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flame.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fliptext.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flow.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fluidballs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/flurry.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/fontglide.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glhanoi.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/glplanet.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/goop.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/grav.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/greynetic.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/halftone.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/halo.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/helix.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/hopalong.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/ifs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/imsmap.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/interaggregate.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/interference.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/intermomentary.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/jigsaw.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/juggler3d.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/julia.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/kaleidescope.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/klein.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/kumppa.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/lament.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/loop.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/maze.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/memscroller.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/menger.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/moire.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/moire2.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/mountain.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/munch.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/nerverot.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/noof.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/noseguy.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pacman.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pedal.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/penetrate.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/petri.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/phosphor.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/piecewise.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pinion.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/polyominoes.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pong.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/providence.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/pyro.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/qix.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/rd-bomb.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/rocks.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/rorschach.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/rotzoomer.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/rubik.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/sballs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/sierpinski.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/slip.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/speedmine.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/spotlight.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/sproingies.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/squiral.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/stairs.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/starfish.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/starwars.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/strange.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/substrate.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/tangram.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/thornbird.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/timetunnel.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/triangle.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/truchet.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/twang.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/vermiculate.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/wander.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/whirlwindwarp.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/wormhole.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xanalogtv.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xflame.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xrayswarm.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xspirograph.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/zoom.desktop
+
+# These screensavers do not exist on OpenSuse 12.2
+%if 0%{?suse_version} == 0
+%{tde_datadir}/applnk/System/ScreenSavers/vidwhacker.desktop
+%endif
+
+# These screensavers do not exist on Mageia 2 and Mandriva 2011
+%if 0%{?mgaversion} == 0 && 0%{?mdkversion} == 0
+%{tde_datadir}/applnk/System/ScreenSavers/xjack.desktop
+%{tde_datadir}/applnk/System/ScreenSavers/xmatrix.desktop
+%endif
+
+%endif
+
+##########
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n kdeartwork-3.5.13.1
+%patch1 -p0
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+export LD_LIBRARY_PATH="%{tde_libdir}"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ %{!?with_xscreensaver:-DWITH_XSCREENSAVER=OFF} \
+ %{!?with_libart}:-DWITH_LIBART=OFF} \
+ -DWITH_OPENGL=ON \
+ -DWITH_ARTS=ON \
+ -DBUILD_ALL=ON \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install -C build DESTDIR=%{buildroot}
+
+# webcollage -root -directory /usr/share/backgrounds/images #227683
+
+# File lists
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# Duplicate with trinity-kbabel (from tdesdk)
+%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/16x16/apps/kbabel.png
+%__rm -f %{?buildroot}%{tde_datadir}/icons/locolor/32x32/apps/kbabel.png
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Sun Sep 30 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/kdebase/kdebase-3.5.13-add_disable_composite_option.patch b/redhat/kdebase/kdebase-3.5.13-add_disable_composite_option.patch
new file mode 100644
index 000000000..3fc57b6de
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-add_disable_composite_option.patch
@@ -0,0 +1,81 @@
+--- kdebase/kdesktop/bgmanager.cc.ORI 2012-09-06 17:20:49.564915154 -0400
++++ kdebase/kdesktop/bgmanager.cc 2012-09-06 17:21:01.969682348 -0400
+@@ -1013,13 +1013,13 @@
+ slotChangeDesktop(0);
+ }
+
+-#ifdef COMPOSITE
+ void KBackgroundManager::slotCmBackgroundChanged( bool )
+ {
++#ifdef COMPOSITE
+ m_tPixmap->fill(TQColor(0, 0x0));
+ m_Hash = 0;
+ slotChangeDesktop(0);
+-}
+ #endif
++}
+
+ #include "bgmanager.moc"
+--- kdebase/kdesktop/main.cc.ORI 2012-09-07 20:33:09.716283507 +0200
++++ kdebase/kdesktop/main.cc 2012-09-07 20:33:31.683842727 +0200
+@@ -43,7 +43,7 @@
+ #include <fcntl.h>
+ #include <stdlib.h>
+
+-#if defined(Q_WS_X11) && defined(HAVE_XRENDER) && QT_VERSION >= 0x030300
++#if defined(WITH_COMPOSITE) && defined(Q_WS_X11) && defined(HAVE_XRENDER) && QT_VERSION >= 0x030300
+ #define COMPOSITE
+ #endif
+
+--- kdebase/kdesktop/bgmanager.h.ORI 2012-09-07 20:36:28.196299160 +0200
++++ kdebase/kdesktop/bgmanager.h 2012-09-07 20:36:52.420812591 +0200
+@@ -15,7 +15,7 @@
+
+ #include <KBackgroundIface.h>
+
+-#if defined(Q_WS_X11) && defined(HAVE_XRENDER) && QT_VERSION >= 0x030300
++#if defined(WITH_COMPOSITE) && defined(Q_WS_X11) && defined(HAVE_XRENDER) && QT_VERSION >= 0x030300
+ #define COMPOSITE
+ #endif
+
+--- kdebase/kdesktop/kdesktopapp.h.ORI 2012-09-07 20:37:14.677365503 +0200
++++ kdebase/kdesktop/kdesktopapp.h 2012-09-07 20:37:25.194154223 +0200
+@@ -23,7 +23,7 @@
+ #include <config.h>
+ #include <kuniqueapplication.h>
+
+-#if defined(Q_WS_X11) && defined(HAVE_XRENDER) && QT_VERSION >= 0x030300
++#if defined(WITH_COMPOSITE) && defined(Q_WS_X11) && defined(HAVE_XRENDER) && QT_VERSION >= 0x030300
+ #define COMPOSITE
+ #endif
+
+--- kdebase/konsole/konsole/main.cpp.ORI 2012-09-07 20:37:37.749901966 +0200
++++ kdebase/konsole/konsole/main.cpp 2012-09-07 20:37:46.683722469 +0200
+@@ -46,7 +46,7 @@
+
+ #include "konsole.h"
+
+-#if defined(Q_WS_X11) && defined(HAVE_XRENDER) && QT_VERSION >= 0x030300
++#if defined(WITH_COMPOSITE) && defined(Q_WS_X11) && defined(HAVE_XRENDER) && QT_VERSION >= 0x030300
+ #define COMPOSITE
+ #endif
+
+--- kdebase/CMakeLists.txt.ORI 2012-09-07 20:41:11.142612361 +0200
++++ kdebase/CMakeLists.txt 2012-09-07 20:42:40.138822080 +0200
+@@ -78,6 +78,7 @@
+ option( WITH_ARTS "Enable aRts support" OFF )
+ option( WITH_I8K "Enable Dell laptop support (ksysguard)" OFF )
+ option( WITH_HAL "Enable HAL support" OFF )
++option( WITH_COMPOSITE "Enable COMPOSITE support" OFF )
+
+
+ ##### user requested modules ####################
+--- kdebase/config.h.cmake.composite 2012-09-07 20:44:49.980208832 +0200
++++ kdebase/config.h.cmake 2012-09-07 20:44:56.929068934 +0200
+@@ -177,3 +177,6 @@
+
+ // tsak
+ #cmakedefine BUILD_TSAK "@BUILD_TSAK@"
++
++ // kdesktop, konsole
++ #cmakedefine WITH_COMPOSITE "@WITH_COMPOSITE@"
diff --git a/redhat/kdebase/kdebase-3.5.13-build_without_consolekit.patch b/redhat/kdebase/kdebase-3.5.13-build_without_consolekit.patch
new file mode 100644
index 000000000..42a4f7747
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-build_without_consolekit.patch
@@ -0,0 +1,22 @@
+--- kdebase/kdm/backend/CMakeLists.txt.ORI 2012-09-06 22:17:30.134745111 +0200
++++ kdebase/kdm/backend/CMakeLists.txt 2012-09-06 22:17:34.329664333 +0200
+@@ -37,7 +37,7 @@
+
+ tde_add_executable( kdm
+ SOURCES
+- access.c auth.c bootman.c choose.c client.c consolekit.c
++ access.c auth.c bootman.c choose.c client.c
+ ctrl.c daemon.c dm.c dpylist.c error.c genauth.c
+ inifile.c krb5auth.c mitauth.c netaddr.c policy.c
+ process.c protodpy.c reset.c resource.c rpcauth.c
+--- kdebase/kdm/backend/dm.h.ORI 2012-09-06 17:33:31.284704186 -0400
++++ kdebase/kdm/backend/dm.h 2012-09-06 17:33:40.415522219 -0400
+@@ -37,8 +37,6 @@
+ #ifndef _DM_H_
+ #define _DM_H_ 1
+
+-#define WITH_CONSOLE_KIT
+-
+ #include "greet.h"
+ #include <config.ci>
+
diff --git a/redhat/kdebase/kdebase-3.5.13-build_without_dbustqt.patch b/redhat/kdebase/kdebase-3.5.13-build_without_dbustqt.patch
new file mode 100644
index 000000000..2e17a0db9
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-build_without_dbustqt.patch
@@ -0,0 +1,97 @@
+--- kdebase/kdm/backend/CMakeLists.txt.ORI 2012-09-06 22:11:08.422091268 +0200
++++ kdebase/kdm/backend/CMakeLists.txt 2012-09-06 22:11:21.280843938 +0200
+@@ -14,11 +14,11 @@
+ include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+- ${DBUS_TQT_INCLUDE_DIRS}
++ ${DBUS_INCLUDE_DIRS}
+ )
+
+ link_directories(
+- ${DBUS_TQT_LIBRARY_DIRS}
++ ${DBUS_LIBRARY_DIRS}
+ )
+
+ ##### kdm (executable) ##########################
+@@ -43,6 +43,6 @@
+ process.c protodpy.c reset.c resource.c rpcauth.c
+ server.c session.c sessreg.c socket.c streams.c
+ util.c xdmauth.c xdmcp.c
+- LINK X11 ${XAU_LIBRARIES} ${DBUS_TQT_LIBRARIES} ${CRYPT_LIBRARY} ${PAM_LIBRARY} ${XDMCP_LIBRARIES}
++ LINK X11 ${XAU_LIBRARIES} ${DBUS_LIBRARIES} ${CRYPT_LIBRARY} ${PAM_LIBRARY} ${XDMCP_LIBRARIES}
+ DESTINATION ${BIN_INSTALL_DIR}
+ )
+--- kdebase/ksmserver/CMakeLists.txt.ORI 2012-09-06 17:22:59.990317001 -0400
++++ kdebase/ksmserver/CMakeLists.txt 2012-09-06 17:23:16.340989494 -0400
+@@ -19,13 +19,13 @@
+ ${CMAKE_SOURCE_DIR}/kdmlib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+- ${DBUS_TQT_INCLUDE_DIRS}
++ ${DBUS_INCLUDE_DIRS}
+ ${HAL_INCLUDE_DIRS}
+ )
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
+- ${DBUS_TQT_LIBRARY_DIRS}
++ ${DBUS_LIBRARY_DIRS}
+ )
+
+
+@@ -43,5 +43,5 @@
+ main.cpp server.cpp shutdowndlg.cpp startupdlg.cpp
+ legacy.cpp startup.cpp shutdown.cpp client.cpp
+ KSMServerInterface.skel server.skel timed.ui
+- LINK dmctl-static kdeui-shared krsync-shared ${HAL_LIBRARIES} ${DBUS_TQT_LIBRARIES}
++ LINK dmctl-static kdeui-shared krsync-shared ${HAL_LIBRARIES} ${DBUS_LIBRARIES}
+ )
+--- kdebase/kioslave/media/mediamanager/CMakeLists.txt.ORI 2012-09-07 23:57:56.858227336 +0200
++++ kdebase/kioslave/media/mediamanager/CMakeLists.txt 2012-09-07 23:58:54.948097583 +0200
+@@ -20,12 +20,12 @@
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${HAL_INCLUDE_DIRS}
+- ${DBUS_TQT_INCLUDE_DIRS}
++ ${DBUS_INCLUDE_DIRS}
+ )
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
+- ${DBUS_TQT_LIBRARY_DIRS}
++ ${DBUS_LIBRARY_DIRS}
+ )
+
+
+@@ -48,7 +48,7 @@
+
+ tde_add_kpart( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+- LINK mediacommon-static kdeinit_kded-shared ${HAL_LIBRARIES} -lhal-storage ${DBUS_TQT_LIBRARIES}
++ LINK mediacommon-static kdeinit_kded-shared ${HAL_LIBRARIES} -lhal-storage ${DBUS_LIBRARIES} -ldbus-qt-1
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+ else( )
+--- kdebase-3.5.13.1/ConfigureChecks.cmake.ORI 2012-10-08 22:57:40.751052066 +0200
++++ kdebase-3.5.13.1/ConfigureChecks.cmake 2012-10-08 22:57:49.226885124 +0200
+@@ -254,19 +254,4 @@
+ tde_message_fatal( "dbus-1 is required, but was not found on your system" )
+ endif( )
+
+- # check for dbus-tqt
+- pkg_check_modules( DBUS_TQT REQUIRED dbus-tqt )
+- tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
+- set( CMAKE_REQUIRED_INCLUDES ${DBUS_TQT_INCLUDE_DIRS} ${TQT_INCLUDE_DIRS} ${QT_INCLUDE_DIRS})
+- set( CMAKE_REQUIRED_LIBRARIES ${DBUS_TQT_LDFLAGS} ${TQT_LDFLAGS} ${QT_LDFLAGS} )
+- check_cxx_source_compiles("
+- #include <tqt.h>
+- #include <dbus/connection.h>
+- int main(int, char**) { return 0; } "
+- HAVE_DBUS_QT3_07 )
+- tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
+- if( NOT HAVE_DBUS_QT3_07 )
+- tde_message_fatal( "dbus-tqt is required, but was not found on your system" )
+- endif( )
+-
+ endif( )
diff --git a/redhat/kdebase/kdebase-3.5.13-disable_tsak_dialog_if_not_built.patch b/redhat/kdebase/kdebase-3.5.13-disable_tsak_dialog_if_not_built.patch
new file mode 100644
index 000000000..4c0a822cd
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-disable_tsak_dialog_if_not_built.patch
@@ -0,0 +1,50 @@
+--- kdebase/config.h.cmake.ORI 2012-08-20 11:19:03.411461759 +0200
++++ kdebase/config.h.cmake 2012-08-20 11:19:40.587461736 +0200
+@@ -174,3 +174,6 @@
+
+ // kdm, kcontrol
+ #cmakedefine WITH_XRANDR "@WITH_XRANDR@"
++
++// tsak
++#cmakedefine BUILD_TSAK "@BUILD_TSAK@"
+--- kdebase/kdesktop/lock/main.cc.tsak 2012-08-20 13:55:47.265335687 +0200
++++ kdebase/kdesktop/lock/main.cc 2012-08-20 13:56:31.594856008 +0200
+@@ -207,8 +207,11 @@
+ struct stat st;
+ KSimpleConfig* tdmconfig;
+ OPEN_TDMCONFIG_AND_SET_GROUP
++#ifdef BUILD_TSAK
+ trinity_desktop_lock_use_sak = tdmconfig->readBoolEntry("UseSAK", true);
+-
++#else
++ trinity_desktop_lock_use_sak = false;
++#endif
+ LockProcess process;
+
+ // Start loading core functions, such as the desktop wallpaper interface
+@@ -272,7 +275,11 @@
+ trinity_desktop_lock_use_system_modal_dialogs = !KDesktopSettings::useUnmanagedLockWindows();
+ trinity_desktop_lock_delay_screensaver_start = KDesktopSettings::delaySaverStart();
+ if (trinity_desktop_lock_use_system_modal_dialogs) {
++#ifdef BUILD_TSAK
+ trinity_desktop_lock_use_sak = tdmconfig->readBoolEntry("UseSAK", true);
++#else
++ trinity_desktop_lock_use_sak = false;
++#endif
+ }
+ else {
+ trinity_desktop_lock_use_sak = false; // If SAK is enabled with unmanaged windows, the SAK dialog will never close and will "burn in" the screen
+--- kdebase/kdm/kfrontend/kgapp.cpp.tsak 2012-08-20 14:00:44.387336567 +0200
++++ kdebase/kdm/kfrontend/kgapp.cpp 2012-08-20 14:01:26.280461134 +0200
+@@ -195,7 +195,11 @@
+ KProcess *dcop = 0;
+ KProcess *kwin = 0;
+
++#ifdef BUILD_TSAK
+ trinity_desktop_lock_use_sak = _useSAK;
++#else
++ trinity_desktop_lock_use_sak = false;
++#endif
+ if (trinity_desktop_lock_use_sak) {
+ tsak = new KProcess;
+ *tsak << TQCString( argv0, strrchr( argv0, '/' ) - argv0 + 2 ) + "tsak";
diff --git a/redhat/kdebase/kdebase-3.5.13-do_not_require_dbustqt_if_no_tsak.patch b/redhat/kdebase/kdebase-3.5.13-do_not_require_dbustqt_if_no_tsak.patch
new file mode 100644
index 000000000..7808af3d9
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-do_not_require_dbustqt_if_no_tsak.patch
@@ -0,0 +1,37 @@
+--- kdebase/ConfigureChecks.cmake.afterlibdetect.ORI 2012-09-06 20:46:34.705339175 +0200
++++ kdebase/ConfigureChecks.cmake 2012-09-06 20:47:12.331548001 +0200
+@@ -229,19 +229,21 @@
+ tde_message_fatal( "dbus-1 is required, but was not found on your system" )
+ endif( )
+
+- # check for dbus-tqt
+- pkg_check_modules( DBUS_TQT REQUIRED dbus-tqt )
+- tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
+- set( CMAKE_REQUIRED_INCLUDES ${DBUS_TQT_INCLUDE_DIRS} ${TQT_INCLUDE_DIRS} ${QT_INCLUDE_DIRS})
+- set( CMAKE_REQUIRED_LIBRARIES ${DBUS_TQT_LDFLAGS} ${TQT_LDFLAGS} ${QT_LDFLAGS} )
+- check_cxx_source_compiles("
+- #include <tqt.h>
+- #include <dbus/connection.h>
+- int main(int, char**) { return 0; } "
+- HAVE_DBUS_QT3_07 )
+- tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
+- if( NOT HAVE_DBUS_QT3_07 )
+- tde_message_fatal( "dbus-tqt is required, but was not found on your system" )
++ if( BUILD_TSAK )
++ # check for dbus-tqt
++ pkg_check_modules( DBUS_TQT REQUIRED dbus-tqt )
++ tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
++ set( CMAKE_REQUIRED_INCLUDES ${DBUS_TQT_INCLUDE_DIRS} ${TQT_INCLUDE_DIRS} ${QT_INCLUDE_DIRS})
++ set( CMAKE_REQUIRED_LIBRARIES ${DBUS_TQT_LDFLAGS} ${TQT_LDFLAGS} ${QT_LDFLAGS} )
++ check_cxx_source_compiles("
++ #include <tqt.h>
++ #include <dbus/connection.h>
++ int main(int, char**) { return 0; } "
++ HAVE_DBUS_QT3_07 )
++ tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
++ if( NOT HAVE_DBUS_QT3_07 )
++ tde_message_fatal( "dbus-tqt is required, but was not found on your system" )
++ endif( )
+ endif( )
+
+ endif( )
diff --git a/redhat/kdebase/kdebase-3.5.13-fix_dbus_include.patch b/redhat/kdebase/kdebase-3.5.13-fix_dbus_include.patch
new file mode 100644
index 000000000..19574bad0
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-fix_dbus_include.patch
@@ -0,0 +1,10 @@
+--- kdebase/kdm/backend/CMakeLists.txt.ORI 2012-09-19 21:39:48.505001985 +0200
++++ kdebase/kdm/backend/CMakeLists.txt 2012-09-19 21:40:08.951005360 +0200
+@@ -14,6 +14,7 @@
+ include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
++ ${DBUS_INCLUDE_DIRS}
+ ${DBUS_TQT_INCLUDE_DIRS}
+ )
+
diff --git a/redhat/kdebase/kdebase-3.5.13-fix_lib_detection.patch b/redhat/kdebase/kdebase-3.5.13-fix_lib_detection.patch
new file mode 100644
index 000000000..15092a8c4
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-fix_lib_detection.patch
@@ -0,0 +1,102 @@
+--- kdebase/ConfigureChecks.cmake.libdetect 2012-09-06 20:55:39.679897201 +0200
++++ kdebase/ConfigureChecks.cmake 2012-09-06 21:06:41.454048511 +0200
+@@ -100,22 +100,26 @@
+ # xext (kwin/kompmgr)
+ if( WITH_XEXT )
+ pkg_search_module( XEXT xext )
+- if( XEXT_FOUND )
+- set( HAVE_XEXT 1 )
+- else( XEXT_FOUND )
+- tde_message_fatal( "xext is requested, but was not found on your system" )
++ if( NOT XEXT_FOUND )
++ find_path( XEXT_INCLUDE_DIR "X11/extensions/Xext.h" )
++ if ( NOT XEXT_INCLUDE_DIR )
++ tde_message_fatal( "xext is requested, but was not found on your system" )
++ endif( )
+ endif( )
++ set( HAVE_XEXT 1 )
+ endif( )
+
+
+ # xtest (kxkb)
+ if( WITH_XTEST )
+ pkg_search_module( XTEST xtst )
+- if( XTEST_FOUND )
+- set( HAVE_XTEST 1 )
+- else( XTEST_FOUND )
+- tde_message_fatal( "xtest is requested, but was not found on your system" )
++ if( NOT XTEST_FOUND )
++ find_path ( XTEST_INCLUDE_DIR "X11/extensions/XTest.h" )
++ if( NOT XTEST_INCLUDE_DIR )
++ tde_message_fatal( "xtest is requested, but was not found on your system" )
++ endif( )
+ endif( )
++ set( HAVE_XTEST 1 )
+ endif( )
+
+
+@@ -125,12 +129,20 @@
+ if( HAVE_XSSLIB )
+ pkg_search_module( XSS xscrnsaver )
+ else( )
+- check_library_exists( Xext XScreenSaverQueryInfo "" HAVE_XSSLIB )
+- if( HAVE_XSSLIB )
+- pkg_search_module( XSS xext )
++ find_path( XSS_LIBRARY_DIR "libXss.so" )
++ if( XSS_LIBRARY_DIR )
++ set( HAVE_XSSLIB 1 )
++ else( )
++ check_library_exists( Xext XScreenSaverQueryInfo "" HAVE_XSSLIB )
++ if( HAVE_XSSLIB )
++ pkg_search_module( XSS xext )
++ endif( )
+ endif( )
+ endif( )
+- check_include_file( X11/extensions/scrnsaver.h HAVE_XSCREENSAVER_H )
++ find_path( XSCREENSAVER_INCLUDE_DIR "X11/extensions/scrnsaver.h" )
++ if( XSCREENSAVER_INCLUDE_DIR )
++ set( HAVE_XSCREENSAVER_H 1 )
++ endif( )
+ if( HAVE_XSSLIB AND HAVE_XSCREENSAVER_H )
+ set( HAVE_XSCREENSAVER 1 )
+ else( )
+--- kdebase/kcontrol/ConfigureChecks.cmake.ORI 2012-09-06 21:14:07.070747861 +0200
++++ kdebase/kcontrol/ConfigureChecks.cmake 2012-09-06 21:18:33.159501490 +0200
+@@ -59,10 +59,13 @@
+
+ if( WITH_LIBUSB )
+ pkg_search_module( LIBUSB libusb )
+- if( LIBUSB_FOUND )
+- set( HAVE_LIBUSB 1 CACHE INTERNAL "" FORCE )
+- else( )
+- tde_message_fatal( "libusb are requested, but not found on your system" )
++ if( NOT LIBUSB_FOUND )
++ find_path( LIBUSB_LIBRARY_DIR libusb.so )
++ if( LIBUSB_LIBRARY_DIR )
++ set( HAVE_LIBUSB 1 CACHE INTERNAL "" FORCE )
++ else( )
++ #tde_message_fatal( "libusb are requested, but not found on your system" )
++ endif( )
+ endif( )
+ endif( )
+
+--- kdebase/kdm/ConfigureChecks.cmake.ORI 2012-09-06 21:43:53.814013510 +0200
++++ kdebase/kdm/ConfigureChecks.cmake 2012-09-06 21:44:10.768708628 +0200
+@@ -112,7 +112,7 @@
+ # Xau
+ pkg_search_module( XAU xau )
+ if( NOT XAU_FOUND )
+- tde_message_fatal( "Xau are required, but not found on your system" )
++ set( XAU_LIBRARIES "-lXau" )
+ endif()
+
+
+@@ -122,7 +122,7 @@
+ if( XDMCP_FOUND )
+ set( XDMCP 1 CACHE INTERNAL "" FORCE )
+ else()
+- tde_message_fatal( "xdmcp is requested, but was not found on your system" )
++ set( XDMCP_LIBRARIES "-lXdmcp" )
+ endif()
+ endif()
+
diff --git a/redhat/kdebase/kdebase-3.5.13-fix_rhel4_compilation.patch b/redhat/kdebase/kdebase-3.5.13-fix_rhel4_compilation.patch
new file mode 100644
index 000000000..21ee6a4bf
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-fix_rhel4_compilation.patch
@@ -0,0 +1,152 @@
+--- kdebase/kwin/kompmgr/kompmgr.c.rhel4 2012-09-06 22:02:37.201586743 +0200
++++ kdebase/kwin/kompmgr/kompmgr.c 2012-09-06 22:04:39.529337359 +0200
+@@ -89,6 +89,8 @@
+ #include <pwd.h>
+ #endif
+
++#define ShapeInput 2
++
+ typedef enum {
+ WINTYPE_DESKTOP,
+ WINTYPE_DOCK,
+@@ -403,6 +405,70 @@
+ #endif
+ }
+
++void
++loadConfig(char *filename){
++ FILE *file = NULL;
++ char line[ 1024 ];
++ size_t length = 0;
++ Bool wasNull = False;
++ Bool section = False;
++
++ if( filename == NULL ){
++#ifdef USE_ENV_HOME
++ const char *home = getenv("HOME");
++#else
++ const char *home;
++ struct passwd *p;
++ p = getpwuid(getuid());
++ if (p)
++ home = p->pw_dir;
++ else
++ home = getenv("HOME");
++#endif
++ const char *configfile = "/.xcompmgrrc";
++ int n = strlen(home)+strlen(configfile)+1;
++ filename = (char*)malloc(n*sizeof(char));
++ memset(filename,0,n);
++ wasNull = True;
++
++ strcat(filename, home);
++ strcat(filename, configfile);
++ }
++
++ printf("trying '%s' as configfile\n\n", filename);
++
++ if( (file = fopen(filename, "r")) == NULL ){
++ printf("failed to open config file. does it exist?\n");
++ if( wasNull ){
++ free(filename);
++ filename = NULL;
++ }
++ return;
++ }
++
++ /*find section*/
++ while( !section && fgets(line, 1023, file) != NULL ){
++ if( strcmp(line, "[xcompmgr]\n") == 0 )
++ section = True;
++ }
++ /*read and set values*/
++ while( section && fgets(line, 1023, file) != NULL ){
++ int ret = strlen( line );
++ if( ret > 1 ){
++ if( *line == '[' )/*found new section - maybe check for '\n'?*/
++ break;
++ *(line+ret-1) = '\0';
++ setParameter(line);
++ }
++ }
++ printf("\nfinished parsing the config file\n");
++ fclose(file);
++ if( wasNull ){
++ free(filename);
++ filename = NULL;
++ }
++}
++
+ void handle_siguser (int sig)
+ {
+ int uidnum;
+@@ -2992,69 +3058,6 @@
+ return 0;
+ }
+
+-void
+-loadConfig(char *filename){
+- FILE *file = NULL;
+- char line[ 1024 ];
+- size_t length = 0;
+- Bool wasNull = False;
+- Bool section = False;
+-
+- if( filename == NULL ){
+-#ifdef USE_ENV_HOME
+- const char *home = getenv("HOME");
+-#else
+- const char *home;
+- struct passwd *p;
+- p = getpwuid(getuid());
+- if (p)
+- home = p->pw_dir;
+- else
+- home = getenv("HOME");
+-#endif
+- const char *configfile = "/.xcompmgrrc";
+- int n = strlen(home)+strlen(configfile)+1;
+- filename = (char*)malloc(n*sizeof(char));
+- memset(filename,0,n);
+- wasNull = True;
+-
+- strcat(filename, home);
+- strcat(filename, configfile);
+- }
+-
+- printf("trying '%s' as configfile\n\n", filename);
+-
+- if( (file = fopen(filename, "r")) == NULL ){
+- printf("failed to open config file. does it exist?\n");
+- if( wasNull ){
+- free(filename);
+- filename = NULL;
+- }
+- return;
+- }
+-
+- /*find section*/
+- while( !section && fgets(line, 1023, file) != NULL ){
+- if( strcmp(line, "[xcompmgr]\n") == 0 )
+- section = True;
+- }
+- /*read and set values*/
+- while( section && fgets(line, 1023, file) != NULL ){
+- int ret = strlen( line );
+- if( ret > 1 ){
+- if( *line == '[' )/*found new section - maybe check for '\n'?*/
+- break;
+- *(line+ret-1) = '\0';
+- setParameter(line);
+- }
+- }
+- printf("\nfinished parsing the config file\n");
+- fclose(file);
+- if( wasNull ){
+- free(filename);
+- filename = NULL;
+- }
+-}
+
+ void
+ usage (char *program)
diff --git a/redhat/kdebase/kdebase-3.5.13-fix_tsak_ftbfs.patch b/redhat/kdebase/kdebase-3.5.13-fix_tsak_ftbfs.patch
new file mode 100644
index 000000000..d5b978458
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-fix_tsak_ftbfs.patch
@@ -0,0 +1,12 @@
+--- kdebase/tsak/main.cpp.tsak 2012-08-20 18:12:34.000000000 -0400
++++ kdebase/tsak/main.cpp 2012-08-20 18:13:16.748272246 -0400
+@@ -35,7 +35,9 @@
+ #include <sys/time.h>
+ #include <termios.h>
+ #include <signal.h>
++extern "C" {
+ #include <libudev.h>
++}
+ #include <libgen.h>
+
+ #define FIFO_DIR "/tmp/ksocket-global"
diff --git a/redhat/kdebase/kdebase-3.5.13-genkdmconf_Xsession_location_xdm.patch b/redhat/kdebase/kdebase-3.5.13-genkdmconf_Xsession_location_xdm.patch
new file mode 100644
index 000000000..82b9c0d89
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-genkdmconf_Xsession_location_xdm.patch
@@ -0,0 +1,11 @@
+--- kdebase/kdm/kfrontend/genkdmconf.c.ORI 2011-11-01 21:59:14.450046357 +0100
++++ kdebase/kdm/kfrontend/genkdmconf.c 2011-11-01 21:59:34.449045801 +0100
+@@ -676,7 +676,7 @@
+ " ;;\n"
+ "esac\n"
+ "# invoke global X session script\n"
+-". /etc/X11/Xsession\n";
++". /etc/X11/xdm/Xsession\n";
+
+ static const char def_background[] =
+ "[Desktop0]\n"
diff --git a/redhat/kdebase/kdebase-3.5.13-prevent_tooltip_over_lockscreen.patch b/redhat/kdebase/kdebase-3.5.13-prevent_tooltip_over_lockscreen.patch
new file mode 100644
index 000000000..57e72137f
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-prevent_tooltip_over_lockscreen.patch
@@ -0,0 +1,137 @@
+From 553923b25dc41e2c17ba9038eb225cd3bb9b1770 Mon Sep 17 00:00:00 2001
+From: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: Fri, 21 Sep 2012 23:27:59 +0000
+Subject: Forcibly prevent transient override redirect windows from showing up over the lock screen
+
+This closes Bug 1079
+---
+diff --git a/kdesktop/lock/lockdlg.cc b/kdesktop/lock/lockdlg.cc
+index 236bf8a..005ac99 100644
+--- a/kdesktop/lock/lockdlg.cc
++++ b/kdesktop/lock/lockdlg.cc
+@@ -573,9 +573,19 @@ void PasswordDlg::gplugActivity()
+
+ void PasswordDlg::gplugMsgBox( TQMessageBox::Icon type, const TQString &text )
+ {
+- TQDialog dialog( this, 0, true, (WFlags)WX11BypassWM );
++ TQDialog dialog( this, 0, true, (trinity_desktop_lock_use_system_modal_dialogs?((WFlags)WStyle_StaysOnTop):((WFlags)WX11BypassWM)) );
++ if (trinity_desktop_lock_use_system_modal_dialogs) {
++ // Signal that we do not want any window controls to be shown at all
++ Atom kde_wm_system_modal_notification;
++ kde_wm_system_modal_notification = XInternAtom(tqt_xdisplay(), "_KDE_WM_MODAL_SYS_NOTIFICATION", False);
++ XChangeProperty(tqt_xdisplay(), dialog.winId(), kde_wm_system_modal_notification, XA_INTEGER, 32, PropModeReplace, (unsigned char *) "TRUE", 1L);
++ }
++ dialog.setCaption(i18n("Authentication Subsystem Notice"));
+ TQFrame *winFrame = new TQFrame( &dialog );
+- winFrame->setFrameStyle( TQFrame::WinPanel | TQFrame::Raised );
++ if (trinity_desktop_lock_use_system_modal_dialogs)
++ winFrame->setFrameStyle( TQFrame::NoFrame );
++ else
++ winFrame->setFrameStyle( TQFrame::WinPanel | TQFrame::Raised );
+ winFrame->setLineWidth( 2 );
+ TQVBoxLayout *vbox = new TQVBoxLayout( &dialog );
+ vbox->addWidget( winFrame );
+diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc
+index 2ce7507..5265bc6 100644
+--- a/kdesktop/lock/lockprocess.cc
++++ b/kdesktop/lock/lockprocess.cc
+@@ -960,6 +960,27 @@ void LockProcess::createSaverWindow()
+
+ setGeometry(0, 0, mRootWidth, mRootHeight);
+
++ // HACK
++ // Close all tooltips and notification windows
++ {
++ Window rootWindow = RootWindow(x11Display(), x11Screen());
++ Window parent;
++ Window* children = NULL;
++ unsigned int noOfChildren = 0;
++ XWindowAttributes childAttr;
++ Window childTransient;
++
++ if (XQueryTree(x11Display(), rootWindow, &rootWindow, &parent, &children, &noOfChildren) && noOfChildren>0 ) {
++ for (unsigned int i=0; i<noOfChildren; i++) {
++ if (XGetWindowAttributes(x11Display(), children[i], &childAttr) && XGetTransientForHint(x11Display(), children[i], &childTransient)) {
++ if ((childAttr.map_state == IsViewable) && (childAttr.override_redirect) && (childTransient)) {
++ XUnmapWindow(x11Display(), children[i]);
++ }
++ }
++ }
++ }
++ }
++
+ kdDebug(1204) << "Saver window Id: " << winId() << endl;
+ }
+
+@@ -2162,9 +2183,19 @@ void LockProcess::unlockXF86()
+
+ void LockProcess::msgBox( TQMessageBox::Icon type, const TQString &txt )
+ {
+- TQDialog box( 0, "messagebox", true, (WFlags)WX11BypassWM );
++ TQDialog box( 0, "messagebox", true, (trinity_desktop_lock_use_system_modal_dialogs?((WFlags)WStyle_StaysOnTop):((WFlags)WX11BypassWM)) );
++ if (trinity_desktop_lock_use_system_modal_dialogs) {
++ // Signal that we do not want any window controls to be shown at all
++ Atom kde_wm_system_modal_notification;
++ kde_wm_system_modal_notification = XInternAtom(tqt_xdisplay(), "_KDE_WM_MODAL_SYS_NOTIFICATION", False);
++ XChangeProperty(tqt_xdisplay(), box.winId(), kde_wm_system_modal_notification, XA_INTEGER, 32, PropModeReplace, (unsigned char *) "TRUE", 1L);
++ }
++ box.setCaption(i18n("Authentication Subsystem Notice"));
+ TQFrame *winFrame = new TQFrame( &box );
+- winFrame->setFrameStyle( TQFrame::WinPanel | TQFrame::Raised );
++ if (trinity_desktop_lock_use_system_modal_dialogs)
++ winFrame->setFrameStyle( TQFrame::NoFrame );
++ else
++ winFrame->setFrameStyle( TQFrame::WinPanel | TQFrame::Raised );
+ winFrame->setLineWidth( 2 );
+ TQLabel *label1 = new TQLabel( winFrame );
+ label1->setPixmap( TQMessageBox::standardIcon( type ) );
+@@ -2264,8 +2295,10 @@ void LockProcess::windowAdded( WId w, bool managed )
+ int y = XDisplayHeight( tqt_xdisplay(), tqt_xscreen()) - attr_geom.height;
+ if( managed ) {
+ XSetWindowAttributes attr;
+- attr.override_redirect = True;
+- XChangeWindowAttributes( tqt_xdisplay(), w, CWOverrideRedirect, &attr );
++ if (!trinity_desktop_lock_use_system_modal_dialogs) {
++ attr.override_redirect = True;
++ XChangeWindowAttributes( tqt_xdisplay(), w, CWOverrideRedirect, &attr );
++ }
+ XReparentWindow( tqt_xdisplay(), w, tqt_xrootwin(), x, y );
+ XMapWindow( tqt_xdisplay(), w );
+ }
+diff --git a/kdesktop/lock/main.cc b/kdesktop/lock/main.cc
+index 56b4b5f..e74d9f9 100644
+--- a/kdesktop/lock/main.cc
++++ b/kdesktop/lock/main.cc
+@@ -76,6 +76,30 @@ bool MyApp::x11EventFilter( XEvent *ev )
+ emit activity();
+ }
+ }
++ else if (ev->type == MapNotify) {
++ // HACK
++ // Close all tooltips and notification windows
++ XMapEvent map_event = ev->xmap;
++ XWindowAttributes childAttr;
++ Window childTransient;
++ if (XGetWindowAttributes(map_event.display, map_event.window, &childAttr) && XGetTransientForHint(map_event.display, map_event.window, &childTransient)) {
++ if((childAttr.map_state == IsViewable) && (childAttr.override_redirect) && (childTransient)) {
++ XUnmapWindow(map_event.display, map_event.window);
++ }
++ }
++ }
++ else if (ev->type == CreateNotify) {
++ // HACK
++ // Close all tooltips and notification windows
++ XCreateWindowEvent create_event = ev->xcreatewindow;
++ XWindowAttributes childAttr;
++ Window childTransient;
++ if (XGetWindowAttributes(create_event.display, create_event.window, &childAttr) && XGetTransientForHint(create_event.display, create_event.window, &childTransient)) {
++ if ((childAttr.override_redirect) && (childTransient)) {
++ XDestroyWindow(create_event.display, create_event.window);
++ }
++ }
++ }
+ return KApplication::x11EventFilter( ev );
+ }
+
+--
+cgit v0.9.0.2-39-g756e
diff --git a/redhat/kdebase/kdebase-3.5.13-sru-20120806.patch b/redhat/kdebase/kdebase-3.5.13-sru-20120806.patch
new file mode 100644
index 000000000..b1c1ba2d5
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-sru-20120806.patch
@@ -0,0 +1,36954 @@
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/applnk/kde-settings.menu v3.5.13-sru/applnk/kde-settings.menu
+--- /tmp/stable//kdebase/applnk/kde-settings.menu 2010-08-12 05:28:24.000000000 +0200
++++ v3.5.13-sru/applnk/kde-settings.menu 2012-07-31 17:17:50.000000000 +0200
+@@ -46,12 +46,19 @@
+ </Menu>
+ </Menu>
+ <Menu>
+- <Name>Peripherals</Name>
+- <Directory>kde-settings-peripherals.directory</Directory><!-- Rename KDE4? -->
++ <Name>Hardware</Name>
++ <Directory>kde-settings-hardware.directory</Directory>
+ <Include>
+- <Category>X-KDE-settings-peripherals</Category><!-- Remove KDE4 -->
++ <Category>X-KDE-settings-peripherals</Category>
+ <Category>X-KDE-settings-hardware</Category>
+ </Include>
++ <Menu>
++ <Name>Information</Name>
++ <Directory>kde-settings-information.directory</Directory>
++ <Include>
++ <Category>X-KDE-settings-information</Category>
++ </Include>
++ </Menu>
+ </Menu>
+ <Menu>
+ <Name>PowerControl</Name>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/CMakeLists.txt v3.5.13-sru/CMakeLists.txt
+--- /tmp/stable//kdebase/CMakeLists.txt 2011-10-24 02:08:24.000000000 +0200
++++ v3.5.13-sru/CMakeLists.txt 2012-07-31 17:17:50.000000000 +0200
+@@ -27,6 +27,7 @@
+ include( CheckLibraryExists )
+ include( CheckFunctionExists )
+ include( CheckStructHasMember )
++include( CheckTypeSize )
+
+
+ ##### include our cmake modules #################
+@@ -65,6 +66,9 @@
+ option( WITH_XRENDER "Enable xrender support" OFF )
+ option( WITH_XDAMAGE "Enable xdamage support" OFF )
+ option( WITH_XEXT "Enable xext support" OFF )
++option( WITH_XTEST "Enable xext support" OFF )
++option( WITH_XSCREENSAVER "Enable xscreensaver support" OFF )
++option( WITH_LIBART "Enable libart support (for SVG icons and wallpapers)" OFF )
+ option( WITH_LIBUSB "Enable control of some mouse models through libusb" OFF )
+ option( WITH_LIBRAW1394 "Enable visualization of ieee1394 devices through libraw1394" OFF )
+ option( WITH_SUDO_KDESU_BACKEND "Use sudo as backend for kdesu (default is su)" OFF )
+@@ -149,6 +153,8 @@
+ set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
+ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
+
++check_type_size( "long long" LONG_LONG )
++
+
+ ##### kdebase directories #######################
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/config.h.cmake v3.5.13-sru/config.h.cmake
+--- /tmp/stable//kdebase/config.h.cmake 2011-10-29 23:02:15.000000000 +0200
++++ v3.5.13-sru/config.h.cmake 2012-07-31 17:17:50.000000000 +0200
+@@ -1,5 +1,8 @@
+ #define VERSION "@VERSION@"
+
++// Defined if compiler supports long long type.
++#cmakedefine HAVE_LONG_LONG 1
++
+ // konsole
+ #cmakedefine HAVE_PROC_CWD 1
+
+@@ -15,6 +18,15 @@
+ // konsole, kdm, kxkb
+ #cmakedefine HAVE_XKB 1
+
++// kxkb
++#cmakedefine HAVE_XTEST 1
++
++// xscreensaver
++#cmakedefine HAVE_XSCREENSAVER 1
++
++// libart
++#cmakedefine HAVE_LIBART 1
++
+ // kdm, kioslave
+ #cmakedefine HAVE_TERMIOS_H 1
+
+@@ -114,6 +126,7 @@
+ #cmakedefine HAVE_SYSINFO 1
+ #cmakedefine HAVE_STRNLEN 1
+ #cmakedefine HAVE_GETIFADDRS 1
++#cmakedefine HAVE_CRYPT 1
+
+ #cmakedefine HAVE_SETUSERCONTEXT 1
+ #cmakedefine HAVE_GETUSERSHELL 1
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ConfigureChecks.cmake v3.5.13-sru/ConfigureChecks.cmake
+--- /tmp/stable//kdebase/ConfigureChecks.cmake 2011-09-08 04:06:01.000000000 +0200
++++ v3.5.13-sru/ConfigureChecks.cmake 2012-07-31 17:17:50.000000000 +0200
+@@ -9,6 +9,8 @@
+ #
+ #################################################
+
++tde_setup_architecture_flags( )
++
+ # termios.h (kdm, kioslave)
+ if( BUILD_KDM OR BUILD_KIOSLAVES )
+ check_include_file( termios.h HAVE_TERMIOS_H )
+@@ -44,6 +46,15 @@
+ endif( )
+
+
++# udev (tsak)
++if( BUILD_TSAK )
++ pkg_search_module( UDEV libudev )
++ if( NOT UDEV_FOUND )
++ tde_message_fatal( "udev is required, but was not found on your system" )
++ endif( )
++endif( )
++
++
+ # xrender (kdesktop, konsole, kcontrol, kicker, kwin)
+ if( WITH_XRENDER OR BUILD_KDESKTOP OR BUILD_KONSOLE OR BUILD_KCONTROL OR BUILD_KICKER )
+ pkg_search_module( XRENDER xrender )
+@@ -100,12 +111,45 @@
+ # xext (kwin/kompmgr)
+ if( WITH_XEXT )
+ pkg_search_module( XEXT xext )
+- if( NOT XEXT_FOUND )
++ if( XEXT_FOUND )
++ set( HAVE_XEXT 1 )
++ else( XEXT_FOUND )
+ tde_message_fatal( "xext is requested, but was not found on your system" )
+ endif( )
+ endif( )
+
+
++# xtest (kxkb)
++if( WITH_XTEST )
++ pkg_search_module( XTEST xtst )
++ if( XTEST_FOUND )
++ set( HAVE_XTEST 1 )
++ else( XTEST_FOUND )
++ tde_message_fatal( "xtest is requested, but was not found on your system" )
++ endif( )
++endif( )
++
++
++# xscreensaver ()
++if( WITH_XSCREENSAVER )
++ check_library_exists( Xss XScreenSaverQueryInfo "" HAVE_XSSLIB )
++ if( HAVE_XSSLIB )
++ pkg_search_module( XSS xscrnsaver )
++ else( )
++ check_library_exists( Xext XScreenSaverQueryInfo "" HAVE_XSSLIB )
++ if( HAVE_XSSLIB )
++ pkg_search_module( XSS xext )
++ endif( )
++ endif( )
++ check_include_file( X11/extensions/scrnsaver.h HAVE_XSCREENSAVER_H )
++ if( HAVE_XSSLIB AND HAVE_XSCREENSAVER_H )
++ set( HAVE_XSCREENSAVER 1 )
++ else( )
++ tde_message_fatal( "xscreensaver is requested, but was not found on your system" )
++ endif( )
++endif( )
++
++
+ # GL
+ if( BUILD_KDESKTOP OR BUILD_KCONTROL OR BUILD_KSCREENSAVER )
+ check_library_exists( GL glXChooseVisual "" HAVE_GLXCHOOSEVISUAL )
+@@ -173,6 +217,16 @@
+ set( WITHOUT_ARTS 1 )
+ endif( )
+
++# libart
++
++if( WITH_LIBART )
++ pkg_search_module( LIBART libart-2.0 )
++ if( NOT LIBART_FOUND )
++ message(FATAL_ERROR "\nlibart-2.0 support are requested, but not found on your system" )
++ endif( NOT LIBART_FOUND )
++ set( HAVE_LIBART 1 )
++endif( WITH_LIBART )
++
+
+ # required stuff
+ find_package( TQt )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/doc/kcontrol/kcmaccess/index.docbook v3.5.13-sru/doc/kcontrol/kcmaccess/index.docbook
+--- /tmp/stable//kdebase/doc/kcontrol/kcmaccess/index.docbook 2010-08-12 05:29:46.000000000 +0200
++++ v3.5.13-sru/doc/kcontrol/kcmaccess/index.docbook 2012-07-31 17:17:50.000000000 +0200
+@@ -103,8 +103,8 @@
+ If this option is enabled, you can press and release the &Shift;,
+ &Alt; or &Ctrl; keys, and then press another key to get a key combo
+ (example: <keycombo action="simul">&Ctrl; &Alt;
+-<keycap>Del</keycap></keycombo> could be done with &Ctrl; then &Alt;
+-then <keycap>Del</keycap>).
++<keycap>Delete</keycap></keycombo> could be done with &Ctrl; then &Alt;
++then <keycap>Delete</keycap>).
+ </para>
+
+ <para>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/doc/kdm/index.docbook v3.5.13-sru/doc/kdm/index.docbook
+--- /tmp/stable//kdebase/doc/kdm/index.docbook 2011-08-21 09:08:15.000000000 +0200
++++ v3.5.13-sru/doc/kdm/index.docbook 2012-07-31 17:17:50.000000000 +0200
+@@ -18,9 +18,9 @@
+ <title>The &kdm; Handbook</title>
+
+ <authorgroup>
+-<author>
+-&Oswald.Buddenhagen; &Oswald.Buddenhagen.mail;
+-</author><!--
++<corpauthor>
++The &kde; Documentation Team
++</corpauthor><!--
+ <othercredit role="developer">
+ &Oswald.Buddenhagen; &Oswald.Buddenhagen.mail;
+ <contrib>Developer</contrib>
+@@ -49,16 +49,21 @@
+ <holder>&Lauri.Watts;</holder>
+ </copyright>
+
+-<date>2003-03-01</date>
+-<releaseinfo>0.05.02</releaseinfo>
++<copyright>
++<year>2011</year>
++<holder>The TDE Documentation Team</holder>
++</copyright>
++
++<date>2011-11-01</date>
++<releaseinfo>3.5.13</releaseinfo>
+
+ <abstract>
+-<para>This document describes &kdm; the &kde; Display Manager. &kdm;
++<para>This document describes &kdm;, the &kde; Display Manager. &kdm;
+ is also known as the <quote>Login Manager</quote>.</para>
+ </abstract>
+
+ <keywordset>
+-<keyword>KDE</keyword>
++<keyword>TDE</keyword>
+ <keyword>kdm</keyword>
+ <keyword>xdm</keyword>
+ <keyword>display manager</keyword>
+@@ -72,13 +77,13 @@
+
+ <para>&kdm; provides a graphical interface that allows you to log in to a
+ system. It prompts for login (username) and password, authenticates the user
+-and starts a <quote>session</quote>. &kdm; is superior to &xdm;, the X
++and starts a <quote>session</quote>. &kdm; is superior to &xdm;, the X
+ Display Manager, in a number of ways.</para>
+
+ </chapter>
+
+ <!-- Chapters to write -->
+-<!-- * Just enough config to get it to run and login to KDE
++<!-- * Just enough config to get it to run and login to TDE
+ * Adding more session types (GNOME, etc)
+ * Adding other customizations to XSession (ssh/gpg-agent, etc)
+ * Further customization to KDM (via the kcontrol module, and by
+@@ -136,7 +141,7 @@
+ </procedure>
+
+ <para>At this point, typing <userinput><command>startx</command></userinput>
+-on the commandline should start X, with a &kde; session. The next task is
++on the commandline should start X, with a &kde; session. The next task is
+ to try &kdm;.</para>
+
+ <para>As <systemitem class="username">root</systemitem>, type
+@@ -153,9 +158,9 @@
+ above for each of them.</para>
+
+ <note>
+-<para>This is a quick guide to getting up and running only. You probably
++<para>This is a quick guide to getting up and running only. You probably
+ will want to customize &kdm; further, for example, to hide the names of the
+-system accounts, to allow further sessions, and much more. Please read
++system accounts, to allow further sessions, and much more. Please read
+ through the rest of this manual to find out how to do these things.</para>
+ </note>
+
+@@ -164,8 +169,15 @@
+ <chapter id="login">
+ <title>The Login Window</title>
+
+-<para> The user interface to &kdm; consists of two dialog boxes. The main
+-dialog box has these controls:</para>
++<para>The &kdm; interface consists of two dialog boxes: a login dialog
++and a shutdown dialog.</para>
++
++<note><para>The &kdm; interface might be protected by the Trinity Secure Access
++Key (SAK) mechanism. When the SAK is enabled, users are prompted to press
++<keycombo action="simul">&Ctrl; &Alt;<keycap>Delete</keycap></keycombo>
++to obtain access to the &kdm; interface.</para></note>
++
++<para>The main login dialog box has these controls:</para>
+
+ <itemizedlist>
+ <listitem>
+@@ -296,43 +308,41 @@
+ <para>This chapter assumes that &kdm; is already up and running on your
+ system, and that you simply want to change its behavior in some way.</para>
+
+-<para>When &kdm; starts up, it reads its configuration from the folder
++<para>Upon starting, &kdm; reads its configuration from the folder
+ <filename class="directory">$KDEDIR/share/config/kdm/</filename> (this may
+ be <filename class="directory">/etc/trinity/kdm/</filename> or something else
+ on your system).</para>
+
+ <para>The main configuration file is &kdmrc;; all other files are
+ referenced from there and could be stored under any name anywhere on
+-the system - but usually that would not make much sense for obvious
++the system. Usually that would not make much sense for obvious
+ reasons (one particular exception is referencing configuration files
+-of an already installed &xdm; - however when a new &kdm; is installed,
++of an already installed &xdm;. However, when a new &kdm; is installed,
+ it will import settings from those files if it finds an already installed
+ &xdm;).</para>
+
+ <para>Since &kdm; must run before any user is logged in, it is not
+ associated with any particular user. Therefore, it is not possible to have
+-user-specific configuration files; all users share the common &kdmrc;. It
++user-specific configuration files; all users share the common &kdmrc;. It
+ follows from this that the configuration of &kdm; can only be altered by
+-those users that have write access to
++those users who have write access to
+ <filename>$<envar>KDEDIR</envar>/share/config/kdm/kdmrc</filename> (normally
+ restricted to system administrators logged in as <systemitem
+ class="username">root</systemitem>).</para>
+
+ <para>You can view the &kdmrc; file currently in use on your system, and you
+-can configure &kdm; by editing this file. Alternatively, you can use the
++can configure &kdm; by editing that file. Alternately, you can use the
+ graphical configuration tool provided by the &kcontrolcenter; (under
+ <menuchoice><guisubmenu>System Administration</guisubmenu><guimenuitem>Login
+-Manager</guimenuitem></menuchoice>), which is described in <ulink
+-url="help:/kcontrol/login-manager.html">the &kcontrolcenter; help files</ulink>.
++Manager</guimenuitem></menuchoice>), which is described in the next section.
+ </para>
+
+-<para>The remainder of this chapter describes configuration of &kdm;
+-via the &kcontrolcenter; module, and the <link linkend="kdm-files">next
++<para>The remainder of this chapter describes configuring &kdm;
++using the &kcontrolcenter; module, and the <link linkend="kdm-files">next
+ chapter</link> describes the options available in &kdmrc; itself. If
+ you only need to configure for local users, the &kcontrolcenter; module
+-should be sufficient for your needs. If you need to configure remote
+-logins, or have multiple &kdm; sessions running, you will need to read
+-on.</para>
++should be sufficient for your needs. If you need to configure remote
++logins, or have multiple &kdm; sessions running, you will need to continue reading.</para>
+
+ <sect1 id="kdm-kcontrol-module">
+ <sect1info>
+@@ -346,14 +356,15 @@
+ <title>The Login Manager &kcontrolcenter; Module</title>
+
+ <para>Using this module, you can configure the &kde; graphical login
+-manager, &kdm;. You can change how the login screen looks, who has
++manager, &kdm;. You can change how the login screen looks, who has
+ access using the login manager and who can shutdown the
+ computer.</para>
+
+ <note><para>All settings will be written to the configuration file
+ &kdmrc;, which in its original state has many comments to help you
+-configure &kdm;. Using this &kcontrolcenter; module will strip these
+-comments from the file. All available options in &kdmrc; are covered
++configure &kdm;. Using this &kcontrolcenter; module will strip these
++comments from the file. Consider making a backup of &kdmrc; before
++making changes. All available options in &kdmrc; are covered
+ in <xref linkend="kdm-files"/>.</para>
+
+ <para>The options listed in this chapter are cross referenced with
+@@ -376,8 +387,8 @@
+ the window.</para>
+
+ <note><para>If you are not currently logged in as a superuser, you
+-will need to click the <guibutton>Administrator Mode...</guibutton>
+-Button. You will then be asked for a superuser password. Entering a
++will need to select the <guibutton>Administrator Mode...</guibutton>
++Button. You will then be asked for a superuser password. Entering a
+ correct password will allow you to modify the settings of this
+ module.</para></note>
+
+@@ -388,15 +399,15 @@
+ &kde;'s graphical login manager.</para>
+
+ <para>The <guilabel>Greeting:</guilabel> is the title of the login
+- screen. Setting this is especially useful if you have many servers users
+- may log in to. You may use various placeholders, which are described
++ screen. Setting this is especially useful if you have many servers users
++ may log in to. You may use various placeholders, which are described
+ along with the corresponding key
+ <link linkend="option-greetstring"><option>GreetString</option></link>
+ in &kdmrc;.
+ </para>
+
+ <para>You can then choose to show either the current system time, a logo or
+-nothing special in the login box. Make your choice in the radio buttons
++nothing special in the login box. Make your choice in the radio buttons
+ labeled <guilabel>Logo area:</guilabel>. This corresponds to <link
+ linkend="option-logoarea"><option>LogoArea</option></link> in &kdmrc;</para>
+
+@@ -417,9 +428,9 @@
+ <filename>$<envar>KDEDIR</envar>/share/apps/kdm/pics/kdelogo.xpm</filename>
+ will be displayed.</para>
+
+-<para>Normally the login box is centered on the screen. Use the
++<para>Normally the login box is centered on the screen. Use the
+ <guilabel>Position:</guilabel> options if you want it to appear
+-elsewhere on the screen. You can specify the relative position
++elsewhere on the screen. You can specify the relative position
+ (percentage of the screen size) for the center of the login window,
+ relative to the top left of the display, in the fields labeled
+ <guilabel>X:</guilabel> and <guilabel>Y:</guilabel> respectively.
+@@ -439,18 +450,61 @@
+ your login box, corresponding to setting <option>Language</option> in
+ &kdmrc;.</para>
+
++<para>In this same section &kdm; can be configured to use a <guilabel>Secure
++Attention Key</guilabel> (SAK). A Secure Attention Key is a special key press
++to which only certain privileged applications are able to respond, such as the
++login and screen unlock dialogs. This mechanism prevents a malevolent user
++from creating an exact copy of the login screen to "sniff" or "phish" passwords
++or other sensitive information. The unprivileged copy is unable to detect the
++SAK key press, thereby providing a visible difference in operation to the
++user.</para>
++
++<para>When the Trinity SAK is enabled, users are prompted to press
++<keycombo action="simul">&Ctrl; &Alt;<keycap>Delete</keycap></keycombo>
++before sensitive information is requested.
++
++<screenshot>
++<screeninfo>The Trinity Secure Attention Key dialog</screeninfo>
++<mediaobject>
++<imageobject>
++<imagedata fileref="tsak.png" format="PNG"/>
++</imageobject>
++<textobject><phrase>The Trinity Secure Attention Key dialog</phrase>
++</textobject>
++</mediaobject>
++</screenshot>
++</para>
++
++<para>When SAK is enabled, and the
++<keycombo action="simul">&Ctrl; &Alt;<keycap>Delete</keycap></keycombo>
++dialog does not appear before sensitive information is requested, someone might
++be attempting to "phish" for that information. A prudent course of action would
++be to terminate the active X11 session via <keycombo action="simul">&Ctrl; &Alt;
++<keycap>Backspace</keycap></keycombo> or any other distribution-specific key press
++for this action, thereby restoring control to the kernel and base system.</para>
++
++<para>Generally, using the Trinity SAK is a good idea when supporting many
++graphical login accounts on a machine. For example, in enterprise environments
++or computer laboratories. When only one graphical login account is used, or
++only a few accounts in a controlled environment, such as with a home computer,
++Trinity SAK will not provide tangible benefits over the standard login
++methods.</para>
++
++<note><para>Trinity SAK requires evdev to be running and the Linux uinput kernel
++module to be loaded.</para></note>
++
+ </sect2>
+
+ <sect2 id="kdmconfig-font">
+ <title>Font</title>
+
+ <para>From this section of the module you can change the fonts used in the
+-login window. Only fonts available to all users are available here, not
++login window. Only fonts available to all users are available here, not
+ fonts you have installed on a per user basis.</para>
+
+ <para>You can select three different font styles from the drop down box
+ (<guilabel>General:</guilabel>, <guilabel>Failures:</guilabel>,
+-<guilabel>Greeting:</guilabel>). When you click on the
++<guilabel>Greeting:</guilabel>). When you click on the
+ <guibutton>Choose...</guibutton> button a dialog appears from which you can
+ select the new characteristics for the font style.</para>
+
+@@ -492,8 +546,8 @@
+ the color buttons and select a new color.</para>
+
+ <para>The drop down box above the color buttons provides you with several
+-different blend effects. Choose one from the list, and it will be
+-previewed on the small monitor at the top of the window. Your choices
++different blend effects. Choose one from the list, and it will be
++previewed on the small monitor at the top of the window. Your choices
+ are:</para>
+
+ <variablelist>
+@@ -507,24 +561,24 @@
+ <term>Pattern</term>
+ <listitem><para>By choosing this mode, you select two colors (using both color
+ buttons). </para> <para>You then select a pattern by clicking
+-<guilabel>Setup</guilabel>. This opens a new dialog window, which gives you
+-the opportunity to select a pattern. Simply click once on the pattern of your
++<guilabel>Setup</guilabel>. This opens a new dialog window, which gives you
++the opportunity to select a pattern. Simply click once on the pattern of your
+ choice, then click on <guilabel>OK</guilabel>, and &kde; will render the pattern
+-you selected using the two colors you selected. For more on patterns, see the
++you selected using the two colors you selected. For more on patterns, see the
+ section <ulink url="help:/kcontrol/background/index.html#bkgnd-patterns">Background: Adding, Removing and Modifying
+ Patterns</ulink>.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Background Program</term>
+ <listitem><para>By selecting this option, you can have &kde; use an external
+-program to determine the background. This can be any program of your choosing.
++program to determine the background. This can be any program of your choosing.
+ For more information on this option, see the section entitled <ulink
+ url="help:/kcontrol/background/index.html#bkgnd-programs">Background: Using an external program</ulink>.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Horizontal Gradient</term>
+ <listitem><para>By choosing this mode, you select two colors (using both color
+-buttons). &kde; will then start with the color selected by <guilabel>Color
++buttons). &kde; will then start with the color selected by <guilabel>Color
+ 1</guilabel> on the left edge of the screen, and slowly transform into the
+ color selected by <guilabel>Color 2</guilabel> by the time it gets to the
+ right edge of the screen.</para></listitem>
+@@ -532,7 +586,7 @@
+ <varlistentry>
+ <term>Vertical Gradient</term>
+ <listitem><para>By choosing this mode, you select two colors (using both color
+-buttons). &kde; will then start with the color selected by <guilabel>Color
++buttons). &kde; will then start with the color selected by <guilabel>Color
+ 1</guilabel> on the top edge of the screen, and slowly transform into the color
+ selected by <guilabel>Color 2</guilabel> as it moves to the bottom of the
+ screen.</para></listitem>
+@@ -540,7 +594,7 @@
+ <varlistentry>
+ <term>Pyramid Gradient</term>
+ <listitem><para>By choosing this mode, you select two colors (using both color
+-buttons). &kde; will then start with the color selected by <guilabel>Color
++buttons). &kde; will then start with the color selected by <guilabel>Color
+ 1</guilabel> in each corner of the screen, and slowly transform into the color
+ selected by <guilabel>Color 2</guilabel> as it moves to the center of the
+ screen.</para></listitem>
+@@ -548,7 +602,7 @@
+ <varlistentry>
+ <term>Pipecross Gradient</term>
+ <listitem><para>By choosing this mode, you select two colors (using both color
+-buttons). &kde; will then start with the color selected by <guilabel>Color
++buttons). &kde; will then start with the color selected by <guilabel>Color
+ 1</guilabel> in each corner of the screen, and slowly transform into the color
+ selected by <guilabel>Color 2</guilabel> as it moves to the center of the
+ screen. The <quote>shape</quote> of this gradient is different then the pyramid
+@@ -557,7 +611,7 @@
+ <varlistentry>
+ <term>Elliptic Gradient</term>
+ <listitem><para>By choosing this mode, you select two colors (using both color
+-buttons). &kde; will then start with the color selected by <guilabel>Color
++buttons). &kde; will then start with the color selected by <guilabel>Color
+ 2</guilabel> in the center of the screen, and slowly transform into the color
+ selected by <guilabel>Color 1</guilabel> as it moves to the edges, in an
+ elliptical pattern.</para></listitem>
+@@ -565,7 +619,7 @@
+ </variablelist>
+
+ <para>The setup button is only needed for if you select <guilabel>Background
+-program</guilabel> or <guilabel>Patterns</guilabel>. In these instances,
++program</guilabel> or <guilabel>Patterns</guilabel>. In these instances,
+ another window will appear to configure the specifics.</para>
+ <para><emphasis>Wallpaper</emphasis></para>
+ <para>To select a new background image first, click on the
+@@ -577,11 +631,11 @@
+ <variablelist>
+ <varlistentry>
+ <term>No wallpaper</term>
+-<listitem><para>No image is displayed. Just the background colors.</para>
++<listitem><para>No image is displayed. Just the background colors.</para>
+ </listitem></varlistentry>
+ <varlistentry>
+ <term>Centered</term>
+-<listitem><para>The image will be centered on the screen. The background colors
++<listitem><para>The image will be centered on the screen. The background colors
+ will be present anywhere the image does not cover.</para> </listitem>
+ </varlistentry>
+ <varlistentry>
+@@ -598,14 +652,14 @@
+ </varlistentry>
+ <varlistentry>
+ <term>Centered Maxpect</term>
+-<listitem><para>The image will be placed in the center of the screen. It will
++<listitem><para>The image will be placed in the center of the screen. It will
+ be scaled to fit the desktop, but it will not change the aspect ratio of the
+-original image. This will provide you with an image that is not distorted.
++original image. This will provide you with an image that is not distorted.
+ </para> </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Scaled</term>
+-<listitem><para>The image will be scaled to fit the desktop. It will be
++<listitem><para>The image will be scaled to fit the desktop. It will be
+ stretched to fit all four corners.</para> </listitem>
+ </varlistentry>
+ </variablelist>
+@@ -620,7 +674,7 @@
+ <itemizedlist>
+ <listitem>
+ <para><guilabel>Nobody</guilabel>: No one can shutdown the computer using
+-&kdm;. You must be logged in, and execute a command.</para>
++&kdm;. You must be logged in, and execute a command.</para>
+ </listitem>
+ <listitem>
+ <para><guilabel>Everybody</guilabel>: Everyone can shutdown the computer using
+@@ -639,14 +693,14 @@
+ define the exact shutdown command.</para> <para>The
+ <guilabel>Halt:</guilabel> command defaults to <!-- Are these defaults still
+ correct? they disagree with what's in --> <!-- kdmrc -->
+-<command>/sbin/halt</command>. The <guilabel>Restart:</guilabel> command
++<command>/sbin/halt</command>. The <guilabel>Restart:</guilabel> command
+ defaults to
+ <command>/sbin/reboot</command>.</para>
+
+ <para>When <guilabel>Show boot options</guilabel> is enabled, &kdm;
+ will on reboot offer you options for the lilo boot manager. For this
+ feature to work, you will need to supply the correct paths to your
+-<command>lilo</command> command and to lilo's map file. Note that this
++<command>lilo</command> command and to lilo's map file. Note that this
+ option is not available on all operating systems.</para>
+
+ </sect2>
+@@ -658,7 +712,7 @@
+ login window.</para>
+
+ <para>You may disable the user list in &kdm; entirely in the
+-<guilabel>Show Users</guilabel> section. You can choose from:</para>
++<guilabel>Show Users</guilabel> section. You can choose from:</para>
+
+ <variablelist>
+ <varlistentry>
+@@ -685,18 +739,18 @@
+
+ <para>Independently of the users you specify by name, you can use the
+ <guilabel>System UIDs</guilabel> to specify a range of valid
+-<acronym>UID</acronym>s that are shown in the list. By default user
++<acronym>UID</acronym>s that are shown in the list. By default user
+ id's under 1000, which are often system or daemon users, and user id's
+ over 65000, are not shown.</para>
+
+ <para>You can also enable the <guilabel>Sort users</guilabel>
+-checkbox, to have the user list sorted alphabetically. If this is
++checkbox, to have the user list sorted alphabetically. If this is
+ disabled, users will appear in the order they are listed in the
+-password file. &kdm; will also autocomplete user names if you enable the
++password file. &kdm; will also autocomplete user names if you enable the
+ <guilabel>Autocompletion</guilabel> option.</para>
+
+ <para>If you choose to show users, then the login window will show
+-images (which you select), of a list of users. When someone is ready
++images (which you select), of a list of users. When someone is ready
+ to login, they may select their user name/image, enter their password,
+ and they are granted access.</para>
+
+@@ -704,12 +758,12 @@
+ for those images.</para>
+
+ <para>You can configure the admin picture here, for each user on the
+-system. Depending on the order selected above, users may be able to
++system. Depending on the order selected above, users may be able to
+ override your selection.</para>
+
+ <para>If you choose not to show users, then the login window will be
+-more traditional. Users will need to type their username and password
+-to gain entrance. This is the preferred way if you have many users on
++more traditional. Users will need to type their username and password
++to gain entrance. This is the preferred way if you have many users on
+ this terminal.</para>
+
+ </sect2>
+@@ -725,13 +779,13 @@
+ options. Every option in the <guilabel>Convenience</guilabel> tab is
+ well-suited to seriously compromise your system security. Practically,
+ these options are only to be used in a completely non-critical
+-environment, &eg; a private computer at home. </para></important>
++environment, &eg; a private computer at home. </para></important>
+
+ <sect3 id="loginmanager-convenience-autologin">
+ <title>Automatic Login</title>
+
+ <para>Automatic login will give anyone access to a certain account on
+-your system without doing any authentication. You can enable it using
++your system without doing any authentication. You can enable it using
+ the option <guilabel>Enable Auto-login</guilabel>.</para>
+
+ <para>You can choose the account to be used for automatic login from
+@@ -748,7 +802,7 @@
+
+ <para>Below this option you'll see a list of users on the system.
+ Enable password-less login for specific users by checking the checkbox
+-next to the login names. By default, this feature is disabled for
++next to the login names. By default, this feature is disabled for
+ all users.</para>
+
+ <important><para>Again, this option should only be used in a safe
+@@ -762,7 +816,7 @@
+ can choose <guilabel>Previous</guilabel> to have &kdm; default to the
+ last successfully logged in user, or you can
+ <guilabel>Specify</guilabel> a particular user to always be selected
+-from the list. You can also have &kdm; set the focus to the password
++from the list. You can also have &kdm; set the focus to the password
+ field, so that when you reach the &kdm; login screen, you can type the
+ password immediately.</para>
+
+@@ -793,7 +847,7 @@
+
+ <para>The fundamental thing that controls whether your computer boots to a
+ terminal prompt (console mode) or a graphical login prompt is the default
+-runlevel. The runlevel is set by the program <application> <ulink
++runlevel. The runlevel is set by the program <application> <ulink
+ url="man:init">/sbin/init</ulink></application> under the control of the
+ configuration file <filename>/etc/inittab</filename>. The default runlevels
+ used by different &UNIX; systems (and different &Linux; distributions) vary,
+@@ -860,7 +914,7 @@
+ </screen>
+
+ <para>If you get a &kdm; login dialog and you are able to log in,
+-things are going well. The main thing that can go wrong here is that
++things are going well. The main thing that can go wrong here is that
+ the run-time linker might not find the shared &Qt; or &kde; libraries.
+ If you have a binary distribution of the &kde; libraries, make sure
+ &kdm; is installed where the libraries believe &kde; is installed and
+@@ -954,7 +1008,7 @@
+
+ <para>If this step is unsuccessful the most likely problem is that the
+ environment used at boot time differs from the environment that you used for
+-testing at the command line. If you are trying to get two versions of &kde;
++testing at the command line. If you are trying to get two versions of &kde;
+ to co-exist, be particularly careful that the settings you use for your
+ <envar>PATH</envar> and <envar>LD_LIBRARY_PATH</envar> environment variables
+ are consistent, and that the startup scripts are not over-riding them in
+@@ -968,7 +1022,7 @@
+ <title>Supporting multiple window managers</title>
+
+ <para>&kdm; detects most available window manager and desktop environments when
+-it is run. Installing a new one should make it automatically available in
++it is run. Installing a new one should make it automatically available in
+ the &kdm; main dialog <guilabel>Session Type:</guilabel>.</para>
+
+ <para>If you have a very new window manager, or something that &kdm; does
+@@ -1031,9 +1085,9 @@
+ <para>To override a session type, copy the .desktop file from the data dir
+ to the config dir and edit it at will. Removing the shipped session types
+ can be accomplished by <quote>shadowing</quote> them with .desktop files
+-containing Hidden=true. For the magic session types no .desktop files exist
++containing Hidden=true. For the magic session types no .desktop files exist
+ by default, but &kdm; pretends they would, so you can override them like any
+-other type. I guess you already know how to add a new session type by
++other type. I guess you already know how to add a new session type by
+ now. ;-)</para>
+
+ </chapter>
+@@ -1042,20 +1096,20 @@
+ <title>Using &kdm; for Remote Logins (&XDMCP;)</title>
+
+ <para>&XDMCP; is the Open Group standard, the <quote>X Display Manager
+-Control Protocol</quote>. This is used to set up connections between
++Control Protocol</quote>. This is used to set up connections between
+ remote systems over the network.</para>
+
+ <para>&XDMCP; is useful in multiuser situations where there are users
+ with workstations and a more powerful server that can provide the
+-resources to run multiple X sessions. For example, &XDMCP; is a good
++resources to run multiple X sessions. For example, &XDMCP; is a good
+ way to reuse old computers - a Pentium or even 486 computer with 16 Mb
+ RAM is sufficient to run X itself, and using &XDMCP; such a computer can
+-run a full modern &kde; session from a server. For the server part,
++run a full modern &kde; session from a server. For the server part,
+ once a single &kde; (or other environment) session is running, running
+ another one requires very few extra resources.</para>
+
+ <para>However, allowing another method of login to your machine
+-obviously has security implications. You should run this service only
++obviously has security implications. You should run this service only
+ if you need to allow remote X Servers to start login sessions on your
+ system. Users with a single &UNIX; computer should not need to run
+ this.</para>
+@@ -1079,8 +1133,8 @@
+ <literal>rw-rw-rw-</literal> (0666). This is because some systems don't care
+ for the file permission of the socket files.</para>
+
+-<para>There are two types of sockets: the global one (dmctl) and the
+-per-display ones (dmctl-&lt;display&gt;).</para>
++<para>There are two types of sockets: the global one (kdmctl) and the
++per-display ones (kdmctl-&lt;display&gt;).</para>
+
+ <para>The global one's subdir is owned by root, the subdirs of the per-display
+ ones' are owned by the user currently owning the session (root or the
+@@ -1201,9 +1255,9 @@
+ <term><command>list</command> [<parameter>all</parameter> |
+ <parameter>alllocal</parameter>]</term>
+ <listitem>
+-<para>Return a list of running sessions. By default all active sessions are
+-listed. if <parameter>all</parameter> is specified, passive sessions are
+-listed as well. If <parameter>alllocal</parameter> is specified, passive
++<para>Return a list of running sessions. By default all active sessions are
++listed. if <parameter>all</parameter> is specified, passive sessions are
++listed as well. If <parameter>alllocal</parameter> is specified, passive
+ sessions are listed as well, but all incoming remote sessions are
+ skipped.</para>
+ <para>Each session entry is a comma separated tuple of:</para>
+@@ -1272,14 +1326,14 @@
+ <para>An OS choice for the next boot may be specified from the list returned
+ by <command>listbootoptions</command></para>
+ <para>Shutdowns requested from per-display sockets are executed when the
+-current sessino on that display exits. Such a request may pop up a dialog
++current sessino on that display exits. Such a request may pop up a dialog
+ asking for confirmation and/or authentication</para>
+ <para><parameter>start</parameter> is the time for which the shutdown is
+-scheduled. If it starts with a plus-sign, the current time is added. Zero
++scheduled. If it starts with a plus-sign, the current time is added. Zero
+ means immediately.</para>
+ <para><parameter>end</parameter> is the latest time at which the shutdown
+-should be performed if active sessions are still running. If it starts with
+-a plus-sign, the start time is added. -1 means wait infinitely. If end is
++should be performed if active sessions are still running. If it starts with
++a plus-sign, the start time is added. -1 means wait infinitely. If end is
+ through and active sessions are still running, &kdm; can do one of the
+ following:</para>
+ <itemizedlist>
+@@ -1288,7 +1342,7 @@
+ <listitem><para><parameter>force</parameter> - shut down
+ nonetheless</para></listitem>
+ <listitem><para><parameter>forcemy</parameter> - shut down nonetheless if
+-all active sessions belong to the requesting user. Only for per-display sockets.</para></listitem>
++all active sessions belong to the requesting user. Only for per-display sockets.</para></listitem>
+ </itemizedlist>
+ <para><parameter>start</parameter> and <parameter>end</parameter> are
+ specified in seconds since the &UNIX; epoch.</para>
+@@ -1297,7 +1351,7 @@
+ force</parameter> and <parameter>schedule</parameter> for <parameter>0
+ -1</parameter>.</para>
+ <para><parameter>ask</parameter> attempts an immediate shutdown and
+-interacts with the user if active sessions are still running. Only for
++interacts with the user if active sessions are still running. Only for
+ per-display sockets.</para>
+ </listitem>
+ </varlistentry>
+@@ -1378,9 +1432,9 @@
+ <sect1 id="dm-themes">
+ <title>Themes</title>
+
+-&kdm; has limited support for desktop manager themes. You may enable them
++&kdm; has limited support for desktop manager themes. You may enable them
+ by adding <userinput>UseTheme=true</userinput> to <filename>kdmrc</filename>
+-and <userinput>Theme=/path/to/theme.xml</userinput>.
++and <userinput>Theme=/path/to/theme.xml</userinput>.
+ </sect1>
+ -->
+ </chapter>
+@@ -1405,8 +1459,8 @@
+ <para>&kdm; is derived from, and includes code from,
+ &xdm; (C) Keith Packard, MIT X Consortium.</para>
+
+-<para>&kdm; 0.1 was written by &Matthias.Ettrich;. Later versions till &kde;
+-2.0.x were written by &Steffen.Hansen;. Some new features for &kde; 2.1.x and
++<para>&kdm; 0.1 was written by &Matthias.Ettrich;. Later versions till &kde;
++2.0.x were written by &Steffen.Hansen;. Some new features for &kde; 2.1.x and
+ a major rewrite for &kde; 2.2.x made by &Oswald.Buddenhagen;.</para>
+
+ <para>Other parts of the &kdm; code are copyright by the authors, and
+@@ -1428,7 +1482,7 @@
+
+ <listitem><para>Documentation revised for &kde; 2 by &Neal.Crook; &Neal.Crook.mail;. Last update August 6, 2000</para></listitem>
+
+-<listitem><para>Documentation extended and revised for &kde; 2.2 by &Oswald.Buddenhagen; &Oswald.Buddenhagen.mail;. Last update August,
++<listitem><para>Documentation extended and revised for &kde; 2.2 by &Oswald.Buddenhagen; &Oswald.Buddenhagen.mail;. Last update August,
+ 2001</para></listitem>
+
+ </itemizedlist></para>
+@@ -1457,7 +1511,7 @@
+ <glossentry>
+ <glossterm id="gloss-entropy">entropy</glossterm>
+ <glossdef><para>The entropy of a system is the measure of its
+-unpredictability. This is used during the generation of random numbers.</para></glossdef>
++unpredictability. This is used during the generation of random numbers.</para></glossdef>
+ </glossentry>
+
+ </glossary>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/doc/kdm/tsak.png v3.5.13-sru/doc/kdm/tsak.png
+--- /tmp/stable//kdebase/doc/kdm/tsak.png 1970-01-01 01:00:00.000000000 +0100
++++ v3.5.13-sru/doc/kdm/tsak.png 2012-07-31 17:17:50.000000000 +0200
+@@ -0,0 +1,69 @@
++‰PNG
++
++
++2
++A$+0ØtBЦ#‚üëI§£MGù÷ƒãtAçÇé‚ ÎCê8=g¬‘nœÚS¸è6iÝç”Aä߉Թ— SzÝ'¯Ï^‰
++Èc9¼|p­@ÉJÆÛ·Oï˜Þ–mРkµ\
++VÆ^>x*Ö€ÜÕ¿ŒÙu*wn/Ë6ÏAÄ^> ]ú2M¿ÌåÛ+‡¾_u2šWµï7¨OU_WŸBÃëžù1œÈR¾UMÁ ¿¿zxÔÊ1àÙqà ÓCV6n»Ê.ôq‘j¼zT-
++ ·Úä‡@Þô)Ë5R­&EAÄa²fô¥–U
++e,æF¬ŠÈSC
++Ó§¬6£ÔÒAlç½<»u±pÙ¿ÍßP½Zùz•K ð”ƒ>:ê]DÄջξã]}s©@¦äÔ¦þº«]“êµJçcµ‰—Ïž˜ûçÍ}kª
++Ë™B!Ï]R¢
++f”Dîê‘K$:oáB} ê›>ðåÕð‰'£d~Å€(!f¥X*A ¬«»¯ÕM,H(‚x¹R¤²7%‚ ˆ½|RŸ“¶EÔ(âUµT?wYJRÒógÏOŸ>»ýì#ÆÍß×C!Sºà(A$3|Rßuï"_®<}h©F«Q§ð<% +Wºªü º«Ü¹«‹B–3<s ‚ü[qø¼É•§pJR@cø"adJw¹ϘEÉ,éÆéÉñ1Ÿ HV®4;÷D¯IÒk¬'FADpóô1½M;/%9>f|˼Ÿ\AÄqfí{mjÖÍ5 ‚ ÿ^Ц#‚8hÓAœ´é‚ ÎÚtAçm:‚ ˆó€6AÄy@›Ž â< MGqЦ#‚8²Œ“Xpôü‡ û#ï<JPkyBR=¹ ˆpj/Í%$505 !©O’zÖLj¸õĆ¼ÀUÁ”Rµý&­
++~YÓ
++„
++@ 69õš
++O9
++<&ÍRÂ
++„!„a%8NG1Çîq:€`VI‚–7mIÒsY;nNÑèŒq„NSð,a Ž6AÄ »çÓ)†"c“ÓϽ¨5ÔÃEž…’iu|ŠšRƒM7ŽÖ !À§#‚XÁî¹
++öÓ†0 “¢5ÙdHÁMåvá=\ŒJü®šßÃ(õÅÇ Œñµ#
++—î}Q½Žûáÿ2yÜ…Ûþ®Sšæßq#æØزAª×±:>%Þ4+9è9Z£œÿG±ÞŠ¾µsçóRQ.rf\óÂc7ßû¨ç NæÓy 2BC¨íaz™à†Rêr'"\J2cnÓKÏAŸ¹xꬑ?/u,[‘‚ŒB™ÜÝÃ+ ê_}ݵsH%›UÅI‘DJ£ey;8€DL¨t2¯rÿr‚ÚäLì§ „aa‰VŸz’‹ðQñÓ´r–t®äÛ¦¬·‹œ™väMtlú×>)h9hVÊ«w?9CÌ,´^ÏÇ&¨µ:BŒfO?Ÿþ¯ž{¹{ôϧ­{œ¨™¥PJ96>:êNtÔë[Öï´äç6e¼2~òSñiÚq2PmDpä=R†! Ëêô&(õ¢¿,î£rI—§‹œ
++(üEŸ~ìì T¿wÕ╻ϼˆV•(ß}ȈŽÕÍŠ“¨]¥²õñÁ/c#í{aÃ2zJ goQšúò>F±öÔ›™ŠÀíW ÷¾ÖpLêÑéæûdô
++ÛôfÖ y'_ Oo_ž6´¿ãÎÓ† RµËQ©Kìó1Mˆð&'QÈÀ–—O G£„ã Fa
++Ãó P(C©ŒBóeÕ̳ña<
++ÿùœpQ{Lmr6òEŸúÂŇ+g A”›Ýó{“\ /Îöì¹Üø®ðýãƒ^¥óà{ÿ¸vñÈs»w.WÍW
++±Ä>›`xçÈEΰBX Œ°g¥DÁ©W
++€?Ͻ~›"ç)áyà)áxBÓÓ %:=ÏñÀqÀóÀéañ_/8žzºÉë–ñâbRø˜dªÖ " : cˆa4‹šÀˆÜ­Ô’ ë¯_:rõäö•#Kdü
++‘)U¥«×_¼n`®"_tí?xÉÏm­šøêx—é
++ÒNnœK!c8žî¹‘È1üQa;y:#Ì z
++:t<hyPë^½Hºxÿ
++ðum\³ào›n&&P†‚á8F4ö§Wr·û\É/ÜÓ•”Þlå@:ÞEú”tÝw?E¯Žþ{ó»‘]]“ßí9­
++±ÄÎùôÔí†r–qa‰ k>K.Ÿ¤W°DÎ9 Ã
++
++÷r–ŒQwñOK¯IøG¸¹/13HÔ<_R^|¡á➬;ÿ¶è⧉
++<¥²c/cæ í-ËP˜.ý·˜{`Ûz^J
++׬2Ÿeé•=å
++jXÖ4‡#¬x x}ýÊy
++vœÒ>ÐÊ[…”Ò£«ç]=ß4ÐÅ'xV]© ˜á¡»™Ù
++­ôürDQÏù ]•»u‡¬x7ÒáæÊn¤k—½ˆ||»ç^(
++Ç/ã
++-WC¸Ž¾¿eòÃb©­vèµ`qïÚÖ7³;rë5¬FMm_Ê,DîVpÎúI™Üן…´ ýÚx]ãG+Ç¿8†cÍ•íHÖ.{ùø.v`
++A¹=Ú•‹Ý÷
++QÂÜ ðœñÚ7ÐcáØêÇ/{qãçüÁõ`óÈÖóo
++<<­NŸW–غªWÛº•åé_c©T&°Y™È½×t`xm•Þ8%PJ ï9­«ýUº#Å a¯ü¹„Aä߈#¾ë(
++ø½x£'Ê|…‹…´ì0¢ÓgÚ®€ È¿æ^¥Âq»„ãAÏ`,´9ì~—憳•uzþ÷=÷žé=™|ÇõGåüaX›fVxÕžÛ\ø¨Wê~|ú¹¾ßämbxü÷­G&ÒiÚî x
++–o‡Éî1ñj³ÜöEDs>ùËC’ÝrÏ;ž4xú±û?¬Ü±1BMyê{FÆÓÒ
++<,,,1¹Èðpåiºóµï?‹a=Giê\˜¬¶¸0îb4κ€é8=;ü!‚üÛ±sîE0»”€œ%„PÐÊOAFgË,O³.Xsáí"ÆÍóÅëx_7
++yî9ùòñ«×/abÜ¢bðOgò>¿éær“Ó íÂàà‚"¸7O·w1Ý…LÆ̯jX¹$tAK9ï%¸´OpiŸ,AÉ$vžŸŽ ‚ä`Ц#‚8hÓAœ´é‚ ÎÚtAçÁ¾}/Fí‚ 9œÿ¦³ûlú³Aþ-àÜ ‚ ˆó€6AÄy@›Ž â< MGqЦ#‚8hÓAœ´é‚ ÎÚtAçm:‚ ˆó€6AÄy@›Ž â< MGqìöGjz4#Ã0r¥‹o@PH».c»ÔÈRÁáþ™°„_¹ó<6QãîX±zÍžºUÏë*Ä>8¾dņ9+׊g"TPúie¼îCíÚ]bõ<«ÈuúÌo–XÍJbéfÏ
++B®îù
++–hñmç­*JÜj-ì•DzΙ!›²Eÿ™§ó<¯II~óüÞúù¡ý7=É*™ãÌòÐ6#~;tþ·¸$=§‹zu2l{߶=¶=N4é?3,âe–—uuY¬ž
++IÉá8hÓïD„߉¿uéใ«'u­
++!¬\îP UŸVõ(
++
++iD¢ÌÐ
++G¨…™¨ÒÑ%ß[™$s)8²°'
++óÙUZ+¶ÔŠ~þàÜ•W.ŸÙ~{í”é#,2£sQk7¢OÌ9+ÓF© ‘{:N»;d@÷f¢Sêf¢JçÏ•­†ß^~
++§#ŸV0pü¤ã?·âÔà8AÄy@›Ž â< MGqЦ#‚8hÓAœ´é‚ ÎÚtAçm:‚ ˆó€6AÄy@›Ž â< MGqЦ#‚8hÓAœ´é‚ ÎÚtAçm:‚ ˆó€6AÄy°ÏÏQ™à†¶¢îD„— nx'"ÜÖƒ¶¢œÇê›…­ô_kð;Ø_HVaŸM7U;»´õAä€s/‚ ÎCÛô‹»×wëØ­r2Á ËVm±øÔ[!ÜtÒæå©õÁUCÊ7,_³M»3Ÿ%YͪLpÃgǶ~Û²}¹ªMt³ùÜ[Ó¨ËÛ–7 i]®z³]V
++OŽoëúíw«5­÷í¨µ'^™fõêÂþ=zW®Ñ¤q×q«ÝMuvOŽ]*UoZ¯ýÈu'_g(¤DáEšB¤P)u—.€)çÖüoÀò –n+JDSR>®Ö|•Yàåi½{0de«,çôŒ!VûÚ,¥mÙhøÆ¥Úv®X-¤RvGÌÿ'N+DØÕ¿ë4¹Ÿ¢h"ÊÕèøNG…[]òÝŠ_È°v–Uxs)¬_—î«5ú²iÿÙ[#¬¶§ˆœ Þ6ÞÞvÎPQ‘HÛôAK¯·zêä¡;áç¶_þ}?Ë4­¾ßÜkîú;áWOl×"×ؾólåÖv➦£§_¾°oå ·ðÇ‹4…¹G3oÓ¦+á«'þÐ
++‘B¥Ô]º
++oW;KTT$§‘Å6½ÿª©mj•P)
++‘B¥Ô]º
++{”¿y± kgV…ð êÏÚ¬B>9«(Y½éï3jت»-9ÅúѶÂÛÕÎÉid±MïRÀ=Ã4¿¶:™ô"lï‘Óÿ<Nä¨HÊßä6^ûWî÷x‡ñ¶c «iÊ­¯’VòMK\¥[Bäázã³Ä!UýŒQ.¾õþ9þ³p½áYâˆþÆ(¿r]ãŸíRºð¶šB¤PSlÕ]º
++z­å…Á 11¯ÿ(\¿Ðp¦Q¦<×p¿ldB#.¤tám5…H¡¦Øª»t®nž¹8ªÖܺëdž¿™Û0O†¥‹ &Ò¦°Êü#rº—Ò©”«LŸühÁ ÿÓŽ„(‘>Ǭ¯-±%[ÌÝ}ßõ_Î(Q¶xáâ%¾5³kÎÝ…(»ú×-°eò»É
++˜$–¹²U5[rŠt–ˆÂ‹c&¤DEErYlÓ¥ÀÈ|'N™
++o )…‚„ºg(À†Ñõ
++àï¼>††íò.ÑÀÞÚ@ß2ÞK.§5uô­-ÖÑL‘ÎQx3ÄÛY¢¢"9Ï`ÓÇ6j9çÀõxµ
++
++ãƒ"Þ„%zCi(%[VÄ®þ26£]îÈË7|rô®í;W¬Þ¬n»‘ë/~¼hSÇ6ËW 1k3Dj!%C‘¦3ÁºFYÖ×4Ûú ¯/îíÕ±kÅjMj·ôë®›¶> Y'pH-âÞ–xÒ+hŠ˜ÚöÇm—Óm{ÍQö‘©qúˆpñ”ÚNÜ3lÖôuŠ¾¾v|ÔÈìæ-‚ ÝFîѬ޴©°KâùÇ.êÐöǹÓWVÉÿæÖé†bÖnî^D5±©÷ÌóQK¿6÷þÒÈÛ±¹¯ÒVz!Y‡I'˜<q^Å®ryr}“ïû ½¼ßLZáúЯóèµIÿ„oÐw^ÃŒ|{Zbµ ¼/¸ü·¥¥óy«cßÛ¾hH¿ç¶}gWcZz=ô¡ËªS)ÓÌcîni?éĤ³×TÌùÏñQ£ò«6÷)éiµaMó7½½ºnÊ›FÝ„k‘Ƽ!‡.˜µ´¬ÿ“+GG¶é Y[M-Þ‰f‘Ø_–Íh–xëu[òpþÜEÁAª N4b°WÑj‹®¨PÀû•Iû›!^ 2´Š-ÿ ÚÒϤ7GÚþ6vÁÌs?¹txÄ÷c¬>.]'ÅÁ*"!Q<‘
++šaKyâŸînõÃÞ‘ÓÇΫYBÿáÑ/ßÿ42qÁ‚ö„§$Ú¨ «/QȬ"{÷2JwmË¡m™Ý®þvÌøÔÁ·¾ßB$½ÀwËB›W-â*'®®E°UˆwcéØòRm—;c«Dßüs£ª{³T§w")ݲ8J¶¬ˆÃý%Ý9
++>fá"é€7dC&ÖJº£döî-àpëÙ"Ë}1[m:’¨6¦ô+íµòfŒñöÃu›Ý*1sA¤#¤‹g/fÊ#Ý7dÂ?û'&³6=Ÿ‚9ñ*1éí«±Ò‹;´­öCó½ÂN‘˜^Š´5;æþXÄ»±H†âiÄ.wÆF4±W—Ý.»¸o%Ë(‘Æ”î Y¤^8J¶$óÞ½k=2ï‹YŠŽ‰h”Dµ1¥ÁŒ~§œöO¤ŽÓ?¹zlÐ÷'lM•HÌÜFééâIÄ–òˆø㶫Ž9Êwfç^¦÷®3üÛo@yóœE”î˜XÜ¡­*_§€ˆŸÊúHL/EZ‰Îšs,âÝX$CñÆ4b—;c#«ÏÜv?nÛ²tÂ65‘Æ”î Y¤^8J¶$óÞ½k=SES¤è˜ˆFITSÜëï˜ôÓÏã'<Žr(Ôfø¬‡ófYM)1sA¤#¤‹'[Ê#âÛ®::¬ÙáM7}L£ó_ùW KºU£Íáˆ#6§>/9\¼ÏŽ™é1© ȧ¤uí&ó\‹IÖåÞ?¿3Ìôš;|n¡ÒÈáâåpð¼ùϱzɨ©K–7õ"ACý kÑyÌ¢¶>·Piäpñr8ÙhÓqâAr&~B~[’qºÏD/‡ƒs/‚ ÎÚtAçm:‚ ˆó€6AÄy@›Ž â< MGqЦ#‚8hÓAœ´é‚ ÎÚtAçm:‚ ˆó€6AÄyH;ÃËÍÓgÖ¾L99DA>1nžé¼QÊDâA›õòñç•AÉ<
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/doc/konqueror/filemanager.docbook v3.5.13-sru/doc/konqueror/filemanager.docbook
+--- /tmp/stable//kdebase/doc/konqueror/filemanager.docbook 2010-08-12 05:29:49.000000000 +0200
++++ v3.5.13-sru/doc/konqueror/filemanager.docbook 2012-07-31 17:17:50.000000000 +0200
+@@ -355,9 +355,9 @@
+ <quote><guimenuitem>Move to Trash</guimenuitem></quote> and
+ <quote><guimenuitem>Delete</guimenuitem></quote> options.</para>
+
+-<para><keycap>Del</keycap> will move the selected item or items to Trash.</para>
++<para><keycap>Delete</keycap> will move the selected item or items to Trash.</para>
+
+-<para><keycombo action="simul">&Shift;<keycap>Del</keycap></keycombo>
++<para><keycombo action="simul">&Shift;<keycap>Delete</keycap></keycombo>
+ will really, truly and irrevocably delete the selected item or
+ items.</para>
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/drkonqi/backtrace.cpp v3.5.13-sru/drkonqi/backtrace.cpp
+--- /tmp/stable//kdebase/drkonqi/backtrace.cpp 2011-08-11 07:25:54.000000000 +0200
++++ v3.5.13-sru/drkonqi/backtrace.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -42,7 +42,7 @@
+ BackTrace::BackTrace(const KrashConfig *krashconf, TQObject *parent,
+ const char *name)
+ : TQObject(parent, name),
+- m_krashconf(krashconf), m_temp(0)
++ m_krashconf(krashconf), m_temp(NULL), m_temp_cmd(NULL)
+ {
+ m_proc = new KProcess;
+ }
+@@ -64,6 +64,7 @@
+ }
+
+ delete m_temp;
++ delete m_temp_cmd;
+ }
+
+ void BackTrace::start()
+@@ -92,14 +93,45 @@
+ ::write(handle, "\n", 1);
+ ::fsync(handle);
+
++ // build the debugger command
++ TQString str = m_krashconf->debuggerBatch();
++ m_krashconf->expandString(str, true, m_temp->name());
++
++ // write the debugger command
++ m_temp_cmd = new KTempFile(TQString::null, TQString::null, 0700);
++ m_temp_cmd->setAutoDelete(TRUE);
++ handle = m_temp_cmd->handle();
++ const char* dbgcommand = str.latin1();
++ ::write(handle, dbgcommand, strlen(dbgcommand)); // the command to execute the debugger
++ ::write(handle, "\n", 1);
++ ::fsync(handle);
++ m_temp_cmd->close();
++
++ // determine if yama has been used to prevent ptrace as normal user
++ bool need_root_access = false;
++ TQFile yamactl("/proc/sys/kernel/yama/ptrace_scope");
++ if (yamactl.exists()) {
++ if (yamactl.open(IO_ReadOnly)) {
++ TQTextStream stream(&yamactl);
++ TQString line;
++ line = stream.readLine();
++ if (line.toInt() != 0) {
++ need_root_access = true;
++ }
++ yamactl.close();
++ }
++ }
++
+ // start the debugger
+ m_proc = new KProcess;
+ m_proc->setUseShell(true);
+
+- TQString str = m_krashconf->debuggerBatch();
+- m_krashconf->expandString(str, true, m_temp->name());
+-
+- *m_proc << str;
++ if (need_root_access == false) {
++ *m_proc << m_temp_cmd->name();
++ }
++ else {
++ *m_proc << "kdesu -t --comment \"" << i18n("Administrative access is required to generate a backtrace") << "\" -c \"" << m_temp_cmd->name() << "\"";
++ }
+
+ connect(m_proc, TQT_SIGNAL(receivedStdout(KProcess*, char*, int)),
+ TQT_SLOT(slotReadInput(KProcess*, char*, int)));
+@@ -112,9 +144,16 @@
+ void BackTrace::slotReadInput(KProcess *, char* buf, int buflen)
+ {
+ TQString newstr = TQString::fromLocal8Bit(buf, buflen);
+- m_strBt.append(newstr);
+-
+- emit append(newstr);
++ newstr.replace("\n\n", "\n");
++ if (m_strBt.isEmpty()) {
++ if (newstr == "\n") {
++ newstr = "";
++ }
++ }
++ if (!newstr.startsWith(": ")) {
++ m_strBt.append(newstr);
++ emit append(newstr);
++ }
+ }
+
+ void BackTrace::slotProcessExited(KProcess *proc)
+@@ -175,7 +214,7 @@
+ --len;
+ }
+ m_strBt.remove( pos, len );
+- m_strBt.insert( pos, TQString::tqfromLatin1( "[KCrash handler]\n" ));
++ m_strBt.insert( pos, TQString::fromLatin1( "[KCrash handler]\n" ));
+ }
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/drkonqi/backtrace.h v3.5.13-sru/drkonqi/backtrace.h
+--- /tmp/stable//kdebase/drkonqi/backtrace.h 2011-03-12 07:58:20.000000000 +0100
++++ v3.5.13-sru/drkonqi/backtrace.h 2012-07-31 17:17:50.000000000 +0200
+@@ -61,6 +61,7 @@
+ KProcess *m_proc;
+ const KrashConfig *m_krashconf;
+ KTempFile *m_temp;
++ KTempFile *m_temp_cmd;
+ TQString m_strBt;
+ };
+ #endif
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/drkonqi/debugger.cpp v3.5.13-sru/drkonqi/debugger.cpp
+--- /tmp/stable//kdebase/drkonqi/debugger.cpp 2011-08-11 07:25:54.000000000 +0200
++++ v3.5.13-sru/drkonqi/debugger.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -60,9 +60,9 @@
+ TQWidget *w = new TQWidget( this );
+ ( new TQHBoxLayout( w, 0, KDialog::marginHint() ) )->setAutoAdd( true );
+ m_status = new TQLabel( w );
+- m_status->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred ) );
++ m_status->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred ) );
+ //m_copyButton = new KPushButton( KStdGuiItem::copy(), w );
+- KGuiItem item( i18n( "C&opy" ), TQString::tqfromLatin1( "editcopy" ) );
++ KGuiItem item( i18n( "C&opy" ), TQString::fromLatin1( "editcopy" ) );
+ m_copyButton = new KPushButton( item, w );
+ connect( m_copyButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotCopy() ) );
+ m_copyButton->setEnabled( false );
+@@ -109,7 +109,7 @@
+ }
+ else
+ {
+- TQString defname = m_krashconf->execName() + TQString::tqfromLatin1( ".kcrash" );
++ TQString defname = m_krashconf->execName() + TQString::fromLatin1( ".kcrash" );
+ if( defname.contains( '/' ))
+ defname = defname.mid( defname.findRev( '/' ) + 1 );
+ TQString filename = KFileDialog::getSaveFileName(defname, TQString::null, this, i18n("Select Filename"));
+@@ -208,7 +208,7 @@
+ bool KrashDebugger::performChecks( TQString* msg )
+ {
+ bool ret = true;
+- KConfig kdedcfg( TQString::tqfromLatin1( "kdedrc" ), true );
++ KConfig kdedcfg( TQString::fromLatin1( "kdedrc" ), true );
+ kdedcfg.setGroup( "General" );
+ if( kdedcfg.readBoolEntry( "DelayedCheck", false ))
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/drkonqi/krashconf.cpp v3.5.13-sru/drkonqi/krashconf.cpp
+--- /tmp/stable//kdebase/drkonqi/krashconf.cpp 2011-03-12 07:58:20.000000000 +0100
++++ v3.5.13-sru/drkonqi/krashconf.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -93,12 +93,12 @@
+
+ // maybe we should check if it's relative?
+ TQString configname = config->readEntry("ConfigName",
+- TQString::tqfromLatin1("enduser"));
++ TQString::fromLatin1("enduser"));
+
+ TQString debuggername = config->readEntry("Debugger",
+- TQString::tqfromLatin1("gdb"));
++ TQString::fromLatin1("gdb"));
+
+- KConfig debuggers(TQString::tqfromLatin1("debuggers/%1rc").arg(debuggername),
++ KConfig debuggers(TQString::fromLatin1("debuggers/%1rc").arg(debuggername),
+ true, false, "appdata");
+
+ debuggers.setGroup("General");
+@@ -112,7 +112,7 @@
+ m_neededInValidBacktraceRegExp = debuggers.readEntry("NeededInValidBacktraceRegExp");
+ m_kcrashRegExp = debuggers.readEntry("KCrashRegExp");
+
+- KConfig preset(TQString::tqfromLatin1("presets/%1rc").arg(configname),
++ KConfig preset(TQString::fromLatin1("presets/%1rc").arg(configname),
+ true, false, "appdata");
+
+ preset.setGroup("ErrorDescription");
+@@ -138,7 +138,7 @@
+ TQString str = TQString::number(m_signalnum);
+ // use group unknown if signal not found
+ if (!preset.hasGroup(str))
+- str = TQString::tqfromLatin1("unknown");
++ str = TQString::fromLatin1("unknown");
+ preset.setGroup(str);
+ m_signalName = preset.readEntry("Name");
+ if (b)
+@@ -149,13 +149,13 @@
+ void KrashConfig :: expandString(TQString &str, bool shell, const TQString &tempFile) const
+ {
+ TQMap<TQString,TQString> map;
+- map[TQString::tqfromLatin1("appname")] = TQString::tqfromLatin1(appName());
+- map[TQString::tqfromLatin1("execname")] = startedByKdeinit() ? TQString::tqfromLatin1("kdeinit") : m_execname;
+- map[TQString::tqfromLatin1("signum")] = TQString::number(signalNumber());
+- map[TQString::tqfromLatin1("signame")] = signalName();
+- map[TQString::tqfromLatin1("progname")] = programName();
+- map[TQString::tqfromLatin1("pid")] = TQString::number(pid());
+- map[TQString::tqfromLatin1("tempfile")] = tempFile;
++ map[TQString::fromLatin1("appname")] = TQString::fromLatin1(appName());
++ map[TQString::fromLatin1("execname")] = startedByKdeinit() ? TQString::fromLatin1("kdeinit") : m_execname;
++ map[TQString::fromLatin1("signum")] = TQString::number(signalNumber());
++ map[TQString::fromLatin1("signame")] = signalName();
++ map[TQString::fromLatin1("progname")] = programName();
++ map[TQString::fromLatin1("pid")] = TQString::number(pid());
++ map[TQString::fromLatin1("tempfile")] = tempFile;
+ if (shell)
+ str = KMacroExpander::expandMacrosShellQuote( str, map );
+ else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/drkonqi/toplevel.cpp v3.5.13-sru/drkonqi/toplevel.cpp
+--- /tmp/stable//kdebase/drkonqi/toplevel.cpp 2011-03-12 07:58:20.000000000 +0100
++++ v3.5.13-sru/drkonqi/toplevel.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -67,12 +67,12 @@
+ // picture of konqi
+ TQLabel *lab = new TQLabel(page);
+ lab->setFrameStyle(TQFrame::Panel | TQFrame::Sunken);
+- TQPixmap pix(locate("appdata", TQString::tqfromLatin1("pics/konqi.png")));
++ TQPixmap pix(locate("appdata", TQString::fromLatin1("pics/konqi.png")));
+ lab->setPixmap(pix);
+- lab->setFixedSize( lab->tqsizeHint() );
++ lab->setFixedSize( lab->sizeHint() );
+
+ TQLabel * info = new TQLabel(generateText(), page);
+- info->setMinimumSize(info->tqsizeHint());
++ info->setMinimumSize(info->sizeHint());
+
+ if (m_krashconf->showBacktrace())
+ {
+@@ -196,7 +196,7 @@
+ void Toplevel :: slotBacktraceDone(const TQString &str)
+ {
+ // Do not translate.. This will be included in the _MAIL_.
+- TQString buf = TQString::tqfromLatin1
++ TQString buf = TQString::fromLatin1
+ ("\n\n\nHere is a backtrace generated by DrKonqi:\n") + str;
+
+ m_bugreport->setText(buf);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/.gitmodules v3.5.13-sru/.gitmodules
+--- /tmp/stable//kdebase/.gitmodules 1970-01-01 01:00:00.000000000 +0100
++++ v3.5.13-sru/.gitmodules 2012-07-31 17:17:50.000000000 +0200
+@@ -0,0 +1,6 @@
++[submodule "admin"]
++ path = admin
++ url = http://system@scm.trinitydesktop.org/scm/git/tde-common-admin
++[submodule "cmake"]
++ path = cmake
++ url = http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/HOW.TO.BUILD v3.5.13-sru/HOW.TO.BUILD
+--- /tmp/stable//kdebase/HOW.TO.BUILD 2011-10-30 08:44:27.000000000 +0100
++++ v3.5.13-sru/HOW.TO.BUILD 1970-01-01 01:00:00.000000000 +0100
+@@ -1,2 +0,0 @@
+-FOR BUILD INSTRUCTIONS PLEASE VISIT
+-http://trinity.pearsoncomputing.net/wiki/bin/view/Developers/HowToBuild
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kappfinder/toplevel.cpp v3.5.13-sru/kappfinder/toplevel.cpp
+--- /tmp/stable//kdebase/kappfinder/toplevel.cpp 2011-08-11 07:25:38.000000000 +0200
++++ v3.5.13-sru/kappfinder/toplevel.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -54,7 +54,7 @@
+ "applications on your system and adds "
+ "them to the KDE menu system. "
+ "Click 'Scan' to begin, select the desired applications and then click 'Apply'."), this);
+- label->tqsetAlignment( AlignAuto | WordBreak );
++ label->setAlignment( AlignAuto | WordBreak );
+ layout->addWidget( label );
+
+ layout->addSpacing( 5 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kateconfigdialog.cpp v3.5.13-sru/kate/app/kateconfigdialog.cpp
+--- /tmp/stable//kdebase/kate/app/kateconfigdialog.cpp 2011-07-09 08:16:52.000000000 +0200
++++ v3.5.13-sru/kate/app/kateconfigdialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -112,11 +112,32 @@
+ TQWhatsThis::add(cb_fullPath,i18n("If this option is checked, the full document path will be shown in the window caption."));
+ connect( cb_fullPath, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotChanged() ) );
+
++ // sort filelist if desired
++ cb_sortFiles = new TQCheckBox(bgStartup);
++ cb_sortFiles->setText(i18n("Sort &files alphabetically in the file list"));
++ cb_sortFiles->setChecked(parent->filelist->sortType() == KateFileList::sortByName);
++ TQWhatsThis::add( cb_sortFiles, i18n(
++ "If this is checked, the files in the file list will be sorted alphabetically.") );
++ connect( cb_sortFiles, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotChanged() ) );
+
+ // GROUP with the one below: "Behavior"
+ bgStartup = new TQButtonGroup( 1, Qt::Horizontal, i18n("&Behavior"), frGeneral );
+ lo->addWidget( bgStartup );
+
++ // number of recent files
++ TQHBox *hbNrf = new TQHBox( bgStartup );
++ TQLabel *lNrf = new TQLabel( i18n("&Number of recent files:"), hbNrf );
++ sb_numRecentFiles = new TQSpinBox( 0, 1000, 1, hbNrf );
++ sb_numRecentFiles->setValue( mainWindow->fileOpenRecent->maxItems() );
++ lNrf->setBuddy( sb_numRecentFiles );
++ TQString numRecentFileHelpString ( i18n(
++ "<qt>Sets the number of recent files remembered by Kate.<p><strong>NOTE: </strong>"
++ "If you set this lower than the current value, the list will be truncated and "
++ "some items forgotten.</qt>") );
++ TQWhatsThis::add( lNrf, numRecentFileHelpString );
++ TQWhatsThis::add( sb_numRecentFiles, numRecentFileHelpString );
++ connect( sb_numRecentFiles, TQT_SIGNAL( valueChanged ( int ) ), this, TQT_SLOT( slotChanged() ) );
++
+ // sync the konsole ?
+ cb_syncKonsole = new TQCheckBox(bgStartup);
+ cb_syncKonsole->setText(i18n("Sync &terminal emulator with active document"));
+@@ -332,12 +353,12 @@
+
+ for (uint i=0; i<pluginPages.count(); i++)
+ {
+- if ( pluginPages.tqat(i)->plugin == plugin )
++ if ( pluginPages.at(i)->plugin == plugin )
+ {
+- TQWidget *w = pluginPages.tqat(i)->page->parentWidget();
+- delete pluginPages.tqat(i)->page;
++ TQWidget *w = pluginPages.at(i)->page->parentWidget();
++ delete pluginPages.at(i)->page;
+ delete w;
+- pluginPages.remove(pluginPages.tqat(i));
++ pluginPages.remove(pluginPages.at(i));
+ i--;
+ }
+ }
+@@ -388,6 +409,10 @@
+ mainWindow->modNotification = cb_modNotifications->isChecked();
+
+ mainWindow->syncKonsole = cb_syncKonsole->isChecked();
++ mainWindow->filelist->setSortType(cb_sortFiles->isChecked() ? KateFileList::sortByName : KateFileList::sortByID);
++
++ config->writeEntry( "Number of recent files", sb_numRecentFiles->value() );
++ mainWindow->fileOpenRecent->setMaxItems( sb_numRecentFiles->value() );
+
+ fileSelConfigPage->apply();
+
+@@ -415,7 +440,7 @@
+ //
+ for (uint i=0; i<editorPages.count(); i++)
+ {
+- editorPages.tqat(i)->apply();
++ editorPages.at(i)->apply();
+ }
+
+ v->getDoc()->writeConfig(config);
+@@ -425,7 +450,7 @@
+ //
+ for (uint i=0; i<pluginPages.count(); i++)
+ {
+- pluginPages.tqat(i)->page->apply();
++ pluginPages.at(i)->page->apply();
+ }
+
+ config->sync();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kateconfigdialog.h v3.5.13-sru/kate/app/kateconfigdialog.h
+--- /tmp/stable//kdebase/kate/app/kateconfigdialog.h 2010-08-13 00:35:39.000000000 +0200
++++ v3.5.13-sru/kate/app/kateconfigdialog.h 2012-07-31 17:17:50.000000000 +0200
+@@ -66,6 +66,8 @@
+
+ TQCheckBox *cb_fullPath;
+ TQCheckBox *cb_syncKonsole;
++ TQCheckBox *cb_sortFiles;
++ TQSpinBox *sb_numRecentFiles;
+ TQCheckBox *cb_modNotifications;
+ TQCheckBox *cb_saveMetaInfos;
+ TQSpinBox *sb_daysMetaInfos;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kateconsole.cpp v3.5.13-sru/kate/app/kateconsole.cpp
+--- /tmp/stable//kdebase/kate/app/kateconsole.cpp 2011-07-09 08:16:51.000000000 +0200
++++ v3.5.13-sru/kate/app/kateconsole.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -57,8 +57,8 @@
+ {
+ if (m_part) return;
+
+- if (!tqtopLevelWidget() || !parentWidget()) return;
+- if (!tqtopLevelWidget() || !isVisibleTo(tqtopLevelWidget())) return;
++ if (!topLevelWidget() || !parentWidget()) return;
++ if (!topLevelWidget() || !isVisibleTo(topLevelWidget())) return;
+
+ KLibFactory *factory = KLibLoader::self()->factory("libkonsolepart");
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katedocmanager.cpp v3.5.13-sru/kate/app/katedocmanager.cpp
+--- /tmp/stable//kdebase/kate/app/katedocmanager.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kate/app/katedocmanager.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -69,7 +69,7 @@
+ {
+ // save config
+ if (!m_docList.isEmpty())
+- m_docList.tqat(0)->writeConfig(KateApp::self()->config());
++ m_docList.at(0)->writeConfig(KateApp::self()->config());
+
+ if (m_saveMetaInfos)
+ {
+@@ -86,7 +86,7 @@
+ {
+ m_metaInfos->setGroup(*it);
+ TQDateTime last = m_metaInfos->readDateTimeEntry("Time", def);
+- if (last.daysTo(TQDateTime::tqcurrentDateTime()) > m_daysMetaInfos)
++ if (last.daysTo(TQDateTime::currentDateTime()) > m_daysMetaInfos)
+ m_metaInfos->deleteGroup(*it);
+ }
+ delete def;
+@@ -150,7 +150,7 @@
+
+ Kate::Document *KateDocManager::document (uint n)
+ {
+- return m_docList.tqat(n);
++ return m_docList.at(n);
+ }
+
+ Kate::Document *KateDocManager::activeDocument ()
+@@ -234,7 +234,7 @@
+ Kate::Document *KateDocManager::openURL (const KURL& url,const TQString &encoding, uint *id, bool isTempFile)
+ {
+ // special handling if still only the first initial doc is there
+- if (!documentList().isEmpty() && (documentList().count() == 1) && (!documentList().tqat(0)->isModified() && documentList().tqat(0)->url().isEmpty()))
++ if (!documentList().isEmpty() && (documentList().count() == 1) && (!documentList().at(0)->isModified() && documentList().at(0)->url().isEmpty()))
+ {
+ Kate::Document* doc = documentList().getFirst();
+
+@@ -354,7 +354,7 @@
+ }
+
+ while (!docs.isEmpty() && res)
+- if (! closeDocument(docs.tqat(0),closeURL) )
++ if (! closeDocument(docs.at(0),closeURL) )
+ res = false;
+ else
+ docs.remove ((uint)0);
+@@ -364,7 +364,7 @@
+ KateApp::self()->mainWindow(i)->viewManager()->setViewActivationBlocked(false);
+
+ for (uint s=0; s < KateApp::self()->mainWindow(i)->viewManager()->containers()->count(); s++)
+- KateApp::self()->mainWindow(i)->viewManager()->containers()->tqat(s)->activateView (m_docList.tqat(0)->documentNumber());
++ KateApp::self()->mainWindow(i)->viewManager()->containers()->at(s)->activateView (m_docList.at(0)->documentNumber());
+ }
+
+ return res;
+@@ -583,7 +583,7 @@
+ m_metaInfos->setGroup(doc->url().prettyURL());
+ doc->writeSessionConfig(m_metaInfos);
+ m_metaInfos->writeEntry("MD5", (const char *)md5);
+- m_metaInfos->writeEntry("Time", TQDateTime::tqcurrentDateTime());
++ m_metaInfos->writeEntry("Time", TQDateTime::currentDateTime());
+ m_metaInfos->sync();
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kateexternaltools.cpp v3.5.13-sru/kate/app/kateexternaltools.cpp
+--- /tmp/stable//kdebase/kate/app/kateexternaltools.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kate/app/kateexternaltools.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -191,7 +191,7 @@
+ // kdDebug(13001)<<"KateExternalToolsCommand::exec: Could not get view widget"<<endl;
+ return false;
+ }
+- KateMDI::MainWindow *dmw=tqt_dynamic_cast<KateMDI::MainWindow*>(wv->tqtopLevelWidget());
++ KateMDI::MainWindow *dmw=tqt_dynamic_cast<KateMDI::MainWindow*>(wv->topLevelWidget());
+ if (!dmw) {
+ // kdDebug(13001)<<"KateExternalToolsCommand::exec: Could not get main window"<<endl;
+ return false;
+@@ -439,7 +439,7 @@
+ leName = new TQLineEdit( w );
+ lo->addWidget( leName, 1, 2 );
+ l = new TQLabel( leName, i18n("&Label:"), w );
+- l->tqsetAlignment( l->tqalignment()|Qt::AlignRight );
++ l->setAlignment( l->alignment()|Qt::AlignRight );
+ lo->addWidget( l, 1, 1 );
+ if ( tool ) leName->setText( tool->name );
+ TQWhatsThis::add( leName, i18n(
+@@ -454,7 +454,7 @@
+ teCommand = new TQTextEdit( w );
+ lo->addMultiCellWidget( teCommand, 2, 2, 2, 3 );
+ l = new TQLabel( teCommand, i18n("S&cript:"), w );
+- l->tqsetAlignment( Qt::AlignTop|Qt::AlignRight );
++ l->setAlignment( Qt::AlignTop|Qt::AlignRight );
+ lo->addWidget( l, 2, 1 );
+ if ( tool ) teCommand->setText( tool->command );
+ TQWhatsThis::add( teCommand, i18n(
+@@ -477,7 +477,7 @@
+ leExecutable = new TQLineEdit( w );
+ lo->addMultiCellWidget( leExecutable, 3, 3, 2, 3 );
+ l = new TQLabel( leExecutable, i18n("&Executable:"), w );
+- l->tqsetAlignment( l->tqalignment()|Qt::AlignRight );
++ l->setAlignment( l->alignment()|Qt::AlignRight );
+ lo->addWidget( l, 3, 1 );
+ if ( tool ) leExecutable->setText( tool->tryexec );
+ TQWhatsThis::add( leExecutable, i18n(
+@@ -488,7 +488,7 @@
+ leMimetypes = new TQLineEdit( w );
+ lo->addWidget( leMimetypes, 4, 2 );
+ l = new TQLabel( leMimetypes, i18n("&Mime types:"), w );
+- l->tqsetAlignment( l->tqalignment()|Qt::AlignRight );
++ l->setAlignment( l->alignment()|Qt::AlignRight );
+ lo->addWidget( l, 4, 1 );
+ if ( tool ) leMimetypes->setText( tool->mimetypes.join("; ") );
+ TQWhatsThis::add( leMimetypes, i18n(
+@@ -506,7 +506,7 @@
+ cmbSave = new TQComboBox(w);
+ lo->addMultiCellWidget( cmbSave, 5, 5, 2, 3 );
+ l = new TQLabel( cmbSave, i18n("&Save:"), w );
+- l->tqsetAlignment( l->tqalignment()|Qt::AlignRight );
++ l->setAlignment( l->alignment()|Qt::AlignRight );
+ lo->addWidget( l, 5, 1 );
+ TQStringList sl;
+ sl << i18n("None") << i18n("Current Document") << i18n("All Documents");
+@@ -521,7 +521,7 @@
+ leCmdLine = new TQLineEdit( w );
+ lo->addMultiCellWidget( leCmdLine, 6, 6, 2, 3 );
+ l = new TQLabel( leCmdLine, i18n("&Command line name:"), w );
+- l->tqsetAlignment( l->tqalignment()|Qt::AlignRight );
++ l->setAlignment( l->alignment()|Qt::AlignRight );
+ lo->addWidget( l, 6, 1 );
+ if ( tool ) leCmdLine->setText( tool->cmdname );
+ TQWhatsThis::add( leCmdLine, i18n(
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katefilelist.cpp v3.5.13-sru/kate/app/katefilelist.cpp
+--- /tmp/stable//kdebase/kate/app/katefilelist.cpp 2011-07-08 00:00:30.000000000 +0200
++++ v3.5.13-sru/kate/app/katefilelist.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -69,7 +69,7 @@
+ KateFileListItem *item = ((KateFileListItem*)i);
+ if ( ! item ) return;
+
+- tip( m_listView->tqitemRect( i ), m_listView->tooltip( item, 0 ) );
++ tip( m_listView->itemRect( i ), m_listView->tooltip( item, 0 ) );
+
+ }
+
+@@ -272,8 +272,8 @@
+
+ for ( uint i=0; i < m_editHistory.count(); i++ )
+ {
+- m_editHistory.tqat( i )->setEditHistPos( i+1 );
+- repaintItem( m_editHistory.tqat( i ) );
++ m_editHistory.at( i )->setEditHistPos( i+1 );
++ repaintItem( m_editHistory.at( i ) );
+ }
+ }
+ else
+@@ -334,7 +334,7 @@
+ // int p = 0;
+ // if ( m_viewHistory.count() )
+ // {
+-// int p = m_viewHistory.findRef( item ); // only tqrepaint items that needs it
++// int p = m_viewHistory.findRef( item ); // only repaint items that needs it
+ // }
+
+ m_viewHistory.removeRef( item );
+@@ -342,8 +342,8 @@
+
+ for ( uint i=0; i < m_viewHistory.count(); i++ )
+ {
+- m_viewHistory.tqat( i )->setViewHistPos( i+1 );
+- repaintItem( m_viewHistory.tqat( i ) );
++ m_viewHistory.at( i )->setViewHistPos( i+1 );
++ repaintItem( m_viewHistory.at( i ) );
+ }
+
+ }
+@@ -616,7 +616,7 @@
+ m_filelist->m_editShade = kcbEditShade->color();
+ m_filelist->m_enableBgShading = cbEnableShading->isChecked();
+ m_filelist->setSortType( cmbSort->currentItem() );
+- // tqrepaint the affected items
++ // repaint the affected items
+ m_filelist->triggerUpdate();
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katefileselector.cpp v3.5.13-sru/kate/app/katefileselector.cpp
+--- /tmp/stable//kdebase/kate/app/katefileselector.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kate/app/katefileselector.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -96,7 +96,7 @@
+ {
+ if (m_tb)
+ {
+- setMinimumHeight(m_tb->tqsizeHint().height());
++ setMinimumHeight(m_tb->sizeHint().height());
+ m_tb->resize(width(),height());
+ }
+ }
+@@ -123,7 +123,7 @@
+ tqInstallMsgHandler( oldHandler );
+
+ cmbPath = new KURLComboBox( KURLComboBox::Directories, true, this, "path combo" );
+- cmbPath->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
++ cmbPath->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
+ KURLCompletion* cmpl = new KURLCompletion(KURLCompletion::DirCompletion);
+ cmbPath->setCompletionObject( cmpl );
+ cmbPath->setAutoDeleteCompletionObject( true );
+@@ -157,7 +157,7 @@
+ btnFilter->setIconSet( SmallIconSet("filter" ) );
+ btnFilter->setToggleButton( true );
+ filter = new KHistoryCombo( true, filterBox, "filter");
+- filter->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
++ filter->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
+ filterBox->setStretchFactor(filter, 2);
+ connect( btnFilter, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnFilterClick() ) );
+
+@@ -354,7 +354,7 @@
+ newurl.setPath(pathstr);
+
+ if ( !kateFileSelectorIsReadable ( newurl ) )
+- newurl.cd(TQString::tqfromLatin1(".."));
++ newurl.cd(TQString::fromLatin1(".."));
+
+ if ( !kateFileSelectorIsReadable (newurl) )
+ newurl.setPath( TQDir::homeDirPath() );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kategrepdialog.cpp v3.5.13-sru/kate/app/kategrepdialog.cpp
+--- /tmp/stable//kdebase/kate/app/kategrepdialog.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kate/app/kategrepdialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -100,7 +100,7 @@
+ loInput->setColStretch(1, 20);
+
+ TQLabel *lPattern = new TQLabel(i18n("Pattern:"), this);
+- lPattern->setFixedSize(lPattern->tqsizeHint());
++ lPattern->setFixedSize(lPattern->sizeHint());
+ loInput->addWidget(lPattern, 0, 0, Qt::AlignRight | Qt::AlignVCenter);
+
+ TQBoxLayout *loPattern = new TQHBoxLayout( 4 );
+@@ -112,22 +112,22 @@
+ cmbPattern->setInsertionPolicy(TQComboBox::NoInsertion);
+ lPattern->setBuddy(cmbPattern);
+ cmbPattern->setFocus();
+- cmbPattern->setMinimumSize(cmbPattern->tqsizeHint());
++ cmbPattern->setMinimumSize(cmbPattern->sizeHint());
+ loPattern->addWidget( cmbPattern );
+
+ cbCasesensitive = new TQCheckBox(i18n("Case sensitive"), this);
+- cbCasesensitive->setMinimumWidth(cbCasesensitive->tqsizeHint().width());
++ cbCasesensitive->setMinimumWidth(cbCasesensitive->sizeHint().width());
+ cbCasesensitive->setChecked(config->readBoolEntry("CaseSensitive", true));
+ loPattern->addWidget(cbCasesensitive);
+
+ cbRegex = new TQCheckBox( i18n("Regular expression"), this );
+- cbRegex->setMinimumWidth( cbRegex->tqsizeHint().width() );
++ cbRegex->setMinimumWidth( cbRegex->sizeHint().width() );
+ cbRegex->setChecked( config->readBoolEntry( "Regex", true ) );
+ loPattern->addWidget( cbRegex );
+ loPattern->setStretchFactor( cmbPattern, 100 );
+
+ TQLabel *lTemplate = new TQLabel(i18n("Template:"), this);
+- lTemplate->setFixedSize(lTemplate->tqsizeHint());
++ lTemplate->setFixedSize(lTemplate->sizeHint());
+ loInput->addWidget(lTemplate, 1, 0, Qt::AlignRight | Qt::AlignVCenter);
+
+ TQBoxLayout *loTemplate = new TQHBoxLayout(4);
+@@ -136,7 +136,7 @@
+ leTemplate = new KLineEdit(this);
+ lTemplate->setBuddy(leTemplate);
+ leTemplate->setText(strTemplate[0]);
+- leTemplate->setMinimumSize(leTemplate->tqsizeHint());
++ leTemplate->setMinimumSize(leTemplate->sizeHint());
+ loTemplate->addWidget(leTemplate);
+
+ KComboBox *cmbTemplate = new KComboBox(false, this);
+@@ -146,19 +146,19 @@
+ loTemplate->addWidget(cmbTemplate);
+
+ TQLabel *lFiles = new TQLabel(i18n("Files:"), this);
+- lFiles->setFixedSize(lFiles->tqsizeHint());
++ lFiles->setFixedSize(lFiles->sizeHint());
+ loInput->addWidget(lFiles, 2, 0, Qt::AlignRight | Qt::AlignVCenter);
+
+ cmbFiles = new KComboBox(true, this);
+ lFiles->setBuddy(TQT_TQWIDGET(cmbFiles->focusProxy()));
+- cmbFiles->setMinimumSize(cmbFiles->tqsizeHint());
++ cmbFiles->setMinimumSize(cmbFiles->sizeHint());
+ cmbFiles->setInsertionPolicy(TQComboBox::NoInsertion);
+ cmbFiles->setDuplicatesEnabled(false);
+ cmbFiles->insertStringList(lastSearchFiles);
+ loInput->addWidget(cmbFiles, 2, 1);
+
+ TQLabel *lDir = new TQLabel(i18n("Folder:"), this);
+- lDir->setFixedSize(lDir->tqsizeHint());
++ lDir->setFixedSize(lDir->sizeHint());
+ loInput->addWidget(lDir, 3, 0, Qt::AlignRight | Qt::AlignVCenter);
+
+ TQBoxLayout *loDir = new TQHBoxLayout(3);
+@@ -176,7 +176,7 @@
+ lDir->setBuddy(cmbDir);
+
+ cbRecursive = new TQCheckBox(i18n("Recursive"), this);
+- cbRecursive->setMinimumWidth(cbRecursive->tqsizeHint().width());
++ cbRecursive->setMinimumWidth(cbRecursive->sizeHint().width());
+ cbRecursive->setChecked(config->readBoolEntry("Recursive", true));
+ loDir->addWidget(cbRecursive);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katemailfilesdialog.cpp v3.5.13-sru/kate/app/katemailfilesdialog.cpp
+--- /tmp/stable//kdebase/kate/app/katemailfilesdialog.cpp 2011-03-12 07:57:34.000000000 +0100
++++ v3.5.13-sru/kate/app/katemailfilesdialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -78,7 +78,7 @@
+ }
+ list->hide();
+ connect( this, TQT_SIGNAL(user1Clicked()), this, TQT_SLOT(slotShowButton()) );
+- mw->setMinimumSize( lInfo->tqsizeHint() );
++ mw->setMinimumSize( lInfo->sizeHint() );
+ }
+
+ TQPtrList<Kate::Document> KateMailDialog::selectedDocs()
+@@ -105,8 +105,8 @@
+ lInfo->setText( i18n("Press <strong>Mail...</strong> to send selected documents") );
+
+ }
+- mw->setMinimumSize( TQSize( lInfo->tqsizeHint().width(), mw->tqsizeHint().height()) );
+- setMinimumSize( calculateSize( mw->tqminimumSize().width(), mw->tqsizeHint().height() ) );
++ mw->setMinimumSize( TQSize( lInfo->sizeHint().width(), mw->sizeHint().height()) );
++ setMinimumSize( calculateSize( mw->minimumSize().width(), mw->sizeHint().height() ) );
+ resize( width(), minimumHeight() );
+ }
+ #include "katemailfilesdialog.moc"
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katemain.cpp v3.5.13-sru/kate/app/katemain.cpp
+--- /tmp/stable//kdebase/kate/app/katemain.cpp 2011-03-12 07:57:34.000000000 +0100
++++ v3.5.13-sru/kate/app/katemain.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -231,7 +231,24 @@
+ else
+ wRef.call("restore");
+ }
++ // The --use parameter forces Kate to use a single session window to host
++ // all opened files. Generally, that parameter works. Yet when a file is
++ // opened into Kate externally, such as from Konqueror, Kate will pop
++ // forward (raise) but not grab the focus (show). The following snippet
++ // resolves that problem. For whatever reason the hide call is needed
++ // before the raise and show otherwise the snippet fails. Some extra glue
++ // might be needed. With Kate open:
++ // "Right-click" on the title bar
++ // Select Advanced
++ // Select Special Application Settings (Not Special Window Settings)
++ // Select the Workarounds tab
++ // Enable the Focus stealing prevention check box
++ // Select the Force option
++ // Select the None option
++
++ wRef.call( "hide" );
+ wRef.call( "raise" );
++ wRef.call( "show" );
+
+ // stop startup notification
+ KStartupInfo::appStarted( );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katemainwindow.cpp v3.5.13-sru/kate/app/katemainwindow.cpp
+--- /tmp/stable//kdebase/kate/app/katemainwindow.cpp 2011-07-09 08:16:52.000000000 +0200
++++ v3.5.13-sru/kate/app/katemainwindow.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -110,8 +110,8 @@
+ if (sconfig)
+ {
+ sconfig->setGroup (sgroup);
+- size.setWidth (sconfig->readNumEntry( TQString::tqfromLatin1("Width %1").arg(desk.width()), 0 ));
+- size.setHeight (sconfig->readNumEntry( TQString::tqfromLatin1("Height %1").arg(desk.height()), 0 ));
++ size.setWidth (sconfig->readNumEntry( TQString::fromLatin1("Width %1").arg(desk.width()), 0 ));
++ size.setHeight (sconfig->readNumEntry( TQString::fromLatin1("Height %1").arg(desk.height()), 0 ));
+ }
+
+ // if thats fails, try to reuse size
+@@ -131,8 +131,8 @@
+ {
+ // first try global app config
+ KateApp::self()->config()->setGroup ("MainWindow");
+- size.setWidth (KateApp::self()->config()->readNumEntry( TQString::tqfromLatin1("Width %1").arg(desk.width()), 0 ));
+- size.setHeight (KateApp::self()->config()->readNumEntry( TQString::tqfromLatin1("Height %1").arg(desk.height()), 0 ));
++ size.setWidth (KateApp::self()->config()->readNumEntry( TQString::fromLatin1("Width %1").arg(desk.width()), 0 ));
++ size.setHeight (KateApp::self()->config()->readNumEntry( TQString::fromLatin1("Height %1").arg(desk.height()), 0 ));
+
+ if (size.isEmpty())
+ size = TQSize (kMin (700, desk.width()), kMin(480, desk.height()));
+@@ -412,6 +412,7 @@
+
+ m_viewManager->setShowFullPath(config->readBoolEntry("Show Full Path in Title", false));
+
++ fileOpenRecent->setMaxItems( config->readNumEntry("Number of recent files", fileOpenRecent->maxItems() ) );
+ fileOpenRecent->loadEntries(config, "Recent Files");
+
+ fileselector->readConfig(config, "fileselector");
+@@ -544,10 +545,10 @@
+ TQPtrList<Kate::Document> l=KateDocManager::self()->documentList();
+ for (uint i=0;i<l.count();i++) {
+ // kdDebug(13001)<<"reloading Keysettings for document "<<i<<endl;
+- l.tqat(i)->reloadXML();
+- TQPtrList<class KTextEditor::View> l1=l.tqat(i)->views ();//KTextEditor::Document
++ l.at(i)->reloadXML();
++ TQPtrList<class KTextEditor::View> l1=l.at(i)->views ();//KTextEditor::Document
+ for (uint i1=0;i1<l1.count();i1++) {
+- l1.tqat(i1)->reloadXML();
++ l1.at(i1)->reloadXML();
+ // kdDebug(13001)<<"reloading Keysettings for view "<<i<<"/"<<i1<<endl;
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katemdi.cpp v3.5.13-sru/kate/app/katemdi.cpp
+--- /tmp/stable//kdebase/kate/app/katemdi.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kate/app/katemdi.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -128,7 +128,7 @@
+
+ if ( domDocument().documentElement().isNull() )
+ {
+- TQString completeDescription = TQString::tqfromLatin1( guiDescription )
++ TQString completeDescription = TQString::fromLatin1( guiDescription )
+ .arg( actionListName );
+
+ setXML( completeDescription, false /*merge*/ );
+@@ -239,7 +239,7 @@
+ m_mainWin->toolViewDeleted (this);
+ }
+
+-void ToolView::tqsetVisible (bool vis)
++void ToolView::setVisible (bool vis)
+ {
+ if (m_visible == vis)
+ return;
+@@ -380,7 +380,7 @@
+ {
+ it.current()->hide();
+ setTab (it.currentKey(), false);
+- it.current()->tqsetVisible(false);
++ it.current()->setVisible(false);
+ }
+
+ setTab (m_widgetToId[widget], true);
+@@ -388,7 +388,7 @@
+ m_ownSplit->show ();
+ widget->show ();
+
+- widget->tqsetVisible (true);
++ widget->setVisible (true);
+
+ return true;
+ }
+@@ -420,7 +420,7 @@
+ if (!anyVis)
+ m_ownSplit->hide ();
+
+- widget->tqsetVisible (false);
++ widget->setVisible (false);
+
+ return true;
+ }
+@@ -618,7 +618,7 @@
+ ToolView *tv = m_toolviews[i];
+
+ tv->persistent = config->readBoolEntry (TQString ("Kate-MDI-ToolView-%1-Persistent").arg(tv->id), false);
+- tv->tqsetVisible (config->readBoolEntry (TQString ("Kate-MDI-ToolView-%1-Visible").arg(tv->id), false));
++ tv->setVisible (config->readBoolEntry (TQString ("Kate-MDI-ToolView-%1-Visible").arg(tv->id), false));
+
+ if (!anyVis)
+ anyVis = tv->visible();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katemdi.h v3.5.13-sru/kate/app/katemdi.h
+--- /tmp/stable//kdebase/kate/app/katemdi.h 2011-07-09 08:16:52.000000000 +0200
++++ v3.5.13-sru/kate/app/katemdi.h 2012-07-31 17:17:50.000000000 +0200
+@@ -146,7 +146,7 @@
+
+ Sidebar *sidebar () { return m_sidebar; }
+
+- void tqsetVisible (bool vis);
++ void setVisible (bool vis);
+
+ public:
+ bool visible () const;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katesavemodifieddialog.cpp v3.5.13-sru/kate/app/katesavemodifieddialog.cpp
+--- /tmp/stable//kdebase/kate/app/katesavemodifieddialog.cpp 2011-03-12 07:57:34.000000000 +0100
++++ v3.5.13-sru/kate/app/katesavemodifieddialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -152,7 +152,7 @@
+ m_documentRoot=new TQListViewItem(m_list,i18n("Documents"));
+ const uint docCnt=documents.count();
+ for (uint i=0;i<docCnt;i++) {
+- new KateSaveModifiedDocumentCheckListItem(m_documentRoot,documents.tqat(i));
++ new KateSaveModifiedDocumentCheckListItem(m_documentRoot,documents.at(i));
+ }
+ m_documentRoot->setOpen(true);
+ } else m_documentRoot=0;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katetabwidget.cpp v3.5.13-sru/kate/app/katetabwidget.cpp
+--- /tmp/stable//kdebase/kate/app/katetabwidget.cpp 2011-03-12 07:57:34.000000000 +0100
++++ v3.5.13-sru/kate/app/katetabwidget.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -70,7 +70,7 @@
+ KTabWidget::insertTab(child,label,index);
+ showPage(child);
+ maybeShow();
+- tabBar()->tqrepaint();
++ tabBar()->repaint();
+ }
+
+ void KateTabWidget::insertTab ( TQWidget * child, const TQIconSet & iconset, const TQString & label, int index )
+@@ -78,7 +78,7 @@
+ KTabWidget::insertTab(child,iconset,label,index);
+ showPage(child);
+ maybeShow();
+- tabBar()->tqrepaint();
++ tabBar()->repaint();
+ }
+
+ void KateTabWidget::insertTab ( TQWidget * child, TQTab * tab, int index)
+@@ -86,7 +86,7 @@
+ KTabWidget::insertTab(child,tab,index);
+ showPage(child);
+ maybeShow();
+- tabBar()->tqrepaint();
++ tabBar()->repaint();
+ }
+
+ void KateTabWidget::removePage ( TQWidget * w )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kateviewmanager.cpp v3.5.13-sru/kate/app/kateviewmanager.cpp
+--- /tmp/stable//kdebase/kate/app/kateviewmanager.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kate/app/kateviewmanager.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -316,7 +316,7 @@
+ {
+ uint viewCount=0;
+ for (uint i=0;i<m_viewSpaceContainerList.count();i++) {
+- viewCount+=m_viewSpaceContainerList.tqat(i)->viewCount();
++ viewCount+=m_viewSpaceContainerList.at(i)->viewCount();
+ }
+ return viewCount;
+
+@@ -326,7 +326,7 @@
+ {
+ uint viewSpaceCount=0;
+ for (uint i=0;i<m_viewSpaceContainerList.count();i++) {
+- viewSpaceCount+=m_viewSpaceContainerList.tqat(i)->viewSpaceCount();
++ viewSpaceCount+=m_viewSpaceContainerList.at(i)->viewSpaceCount();
+ }
+ return viewSpaceCount;
+ }
+@@ -334,7 +334,7 @@
+ void KateViewManager::setViewActivationBlocked (bool block)
+ {
+ for (uint i=0;i<m_viewSpaceContainerList.count();i++)
+- m_viewSpaceContainerList.tqat(i)->m_blockViewCreationAndActivation=block;
++ m_viewSpaceContainerList.at(i)->m_blockViewCreationAndActivation=block;
+ }
+
+ void KateViewManager::activateNextView()
+@@ -354,7 +354,7 @@
+ void KateViewManager::closeViews(uint documentNumber)
+ {
+ for (uint i=0;i<m_viewSpaceContainerList.count();i++) {
+- m_viewSpaceContainerList.tqat(i)->closeViews(documentNumber);
++ m_viewSpaceContainerList.at(i)->closeViews(documentNumber);
+ }
+ tabChanged(m_currentContainer);
+ }
+@@ -454,7 +454,7 @@
+ {
+ showFullPath=enable;
+ for (uint i=0;i<m_viewSpaceContainerList.count();i++) {
+- m_viewSpaceContainerList.tqat(i)->setShowFullPath(enable);
++ m_viewSpaceContainerList.at(i)->setShowFullPath(enable);
+ }
+ m_mainWindow->slotWindowActivated ();
+ }
+@@ -477,7 +477,7 @@
+ config->writeEntry("ViewSpaceContainers",m_viewSpaceContainerList.count());
+ config->writeEntry("Active ViewSpaceContainer", m_mainWindow->tabWidget()->currentPageIndex());
+ for (uint i=0;i<m_viewSpaceContainerList.count();i++) {
+- m_viewSpaceContainerList.tqat(i)->saveViewConfiguration(config,group+TQString(":ViewSpaceContainer-%1:").arg(i));
++ m_viewSpaceContainerList.at(i)->saveViewConfiguration(config,group+TQString(":ViewSpaceContainer-%1:").arg(i));
+ }
+ }
+
+@@ -495,10 +495,10 @@
+ uint tabCount=config->readNumEntry("ViewSpaceContainers",0);
+ int activeOne=config->readNumEntry("Active ViewSpaceContainer",0);
+ if (tabCount==0) return;
+- m_viewSpaceContainerList.tqat(0)->restoreViewConfiguration(config,group+TQString(":ViewSpaceContainer-0:"));
++ m_viewSpaceContainerList.at(0)->restoreViewConfiguration(config,group+TQString(":ViewSpaceContainer-0:"));
+ for (uint i=1;i<tabCount;i++) {
+ slotNewTab();
+- m_viewSpaceContainerList.tqat(i)->restoreViewConfiguration(config,group+TQString(":ViewSpaceContainer-%1:").arg(i));
++ m_viewSpaceContainerList.at(i)->restoreViewConfiguration(config,group+TQString(":ViewSpaceContainer-%1:").arg(i));
+ }
+
+ if (activeOne != m_mainWindow->tabWidget()->currentPageIndex())
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kateviewspacecontainer.cpp v3.5.13-sru/kate/app/kateviewspacecontainer.cpp
+--- /tmp/stable//kdebase/kate/app/kateviewspacecontainer.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kate/app/kateviewspacecontainer.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -277,7 +277,7 @@
+ setActiveView (view);
+ m_viewList.findRef (view);
+
+- mainWindow()->toolBar ()->tqsetUpdatesEnabled (false);
++ mainWindow()->toolBar ()->setUpdatesEnabled (false);
+
+ if (m_viewManager->guiMergedView)
+ mainWindow()->guiFactory()->removeClient (m_viewManager->guiMergedView );
+@@ -287,7 +287,7 @@
+ if (!m_blockViewCreationAndActivation)
+ mainWindow()->guiFactory ()->addClient( view );
+
+- mainWindow()->toolBar ()->tqsetUpdatesEnabled (true);
++ mainWindow()->toolBar ()->setUpdatesEnabled (true);
+
+ statusMsg();
+
+@@ -342,8 +342,8 @@
+ if (i >= m_viewSpaceList.count())
+ i=0;
+
+- setActiveSpace (m_viewSpaceList.tqat(i));
+- activateView(m_viewSpaceList.tqat(i)->currentView());
++ setActiveSpace (m_viewSpaceList.at(i));
++ activateView(m_viewSpaceList.at(i)->currentView());
+ }
+
+ void KateViewSpaceContainer::activatePrevView()
+@@ -353,8 +353,8 @@
+ if (i < 0)
+ i=m_viewSpaceList.count()-1;
+
+- setActiveSpace (m_viewSpaceList.tqat(i));
+- activateView(m_viewSpaceList.tqat(i)->currentView());
++ setActiveSpace (m_viewSpaceList.at(i));
++ activateView(m_viewSpaceList.at(i)->currentView());
+ }
+
+ void KateViewSpaceContainer::closeViews(uint documentNumber)
+@@ -363,7 +363,7 @@
+
+ for (uint z=0 ; z < m_viewList.count(); z++)
+ {
+- Kate::View* current = m_viewList.tqat(z);
++ Kate::View* current = m_viewList.at(z);
+ if ( current->getDoc()->documentNumber() == documentNumber )
+ {
+ closeList.append (current);
+@@ -644,7 +644,7 @@
+ {
+ // send all views + their gui to **** ;)
+ for (uint i=0; i < m_viewList.count(); i++)
+- mainWindow()->guiFactory ()->removeClient (m_viewList.tqat(i));
++ mainWindow()->guiFactory ()->removeClient (m_viewList.at(i));
+
+ m_viewList.clear ();
+
+@@ -658,7 +658,7 @@
+ // finally, make the correct view active.
+ config->setGroup (group);
+ /*
+- KateViewSpace *vs = m_viewSpaceList.tqat( config->readNumEntry("Active ViewSpace") );
++ KateViewSpace *vs = m_viewSpaceList.at( config->readNumEntry("Active ViewSpace") );
+ if ( vs )
+ activateSpace( vs->currentView() );
+ */
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kateviewspace.cpp v3.5.13-sru/kate/app/kateviewspace.cpp
+--- /tmp/stable//kdebase/kate/app/kateviewspace.cpp 2011-07-09 08:16:52.000000000 +0200
++++ v3.5.13-sru/kate/app/kateviewspace.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -67,9 +67,9 @@
+ void paintEvent( TQPaintEvent *e )
+ {
+ TQPainter p( this );
+- p.setPen( tqcolorGroup().shadow() );
++ p.setPen( colorGroup().shadow() );
+ p.drawLine( e->rect().left(), 0, e->rect().right(), 0 );
+- p.setPen( ((KateViewSpace*)parentWidget())->isActiveSpace() ? tqcolorGroup().light() : tqcolorGroup().midlight() );
++ p.setPen( ((KateViewSpace*)parentWidget())->isActiveSpace() ? colorGroup().light() : colorGroup().midlight() );
+ p.drawLine( e->rect().left(), 1, e->rect().right(), 1 );
+ }
+ };
+@@ -309,29 +309,29 @@
+ {
+ m_lineColLabel = new TQLabel( this );
+ addWidget( m_lineColLabel, 0, false );
+- m_lineColLabel->tqsetAlignment( Qt::AlignCenter );
++ m_lineColLabel->setAlignment( Qt::AlignCenter );
+ m_lineColLabel->installEventFilter( this );
+
+ m_modifiedLabel = new TQLabel( TQString(" "), this );
+ addWidget( m_modifiedLabel, 0, false );
+- m_modifiedLabel->tqsetAlignment( Qt::AlignCenter );
++ m_modifiedLabel->setAlignment( Qt::AlignCenter );
+ m_modifiedLabel->installEventFilter( this );
+
+ m_insertModeLabel = new TQLabel( i18n(" INS "), this );
+ addWidget( m_insertModeLabel, 0, false );
+- m_insertModeLabel->tqsetAlignment( Qt::AlignCenter );
++ m_insertModeLabel->setAlignment( Qt::AlignCenter );
+ m_insertModeLabel->installEventFilter( this );
+
+ m_selectModeLabel = new TQLabel( i18n(" NORM "), this );
+ addWidget( m_selectModeLabel, 0, false );
+- m_selectModeLabel->tqsetAlignment( Qt::AlignCenter );
++ m_selectModeLabel->setAlignment( Qt::AlignCenter );
+ m_selectModeLabel->installEventFilter( this );
+
+ m_fileNameLabel=new KSqueezedTextLabel( this );
+ addWidget( m_fileNameLabel, 1, true );
+ m_fileNameLabel->setMinimumSize( 0, 0 );
+- m_fileNameLabel->tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Fixed ));
+- m_fileNameLabel->tqsetAlignment( /*Qt::AlignRight*/Qt::AlignLeft );
++ m_fileNameLabel->setSizePolicy(TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Fixed ));
++ m_fileNameLabel->setAlignment( /*Qt::AlignRight*/Qt::AlignLeft );
+ m_fileNameLabel->installEventFilter( this );
+
+ installEventFilter( this );
+@@ -396,7 +396,7 @@
+
+ void KateVSStatusBar::showMenu()
+ {
+- KMainWindow* mainWindow = static_cast<KMainWindow*>( tqtopLevelWidget() );
++ KMainWindow* mainWindow = static_cast<KMainWindow*>( topLevelWidget() );
+ TQPopupMenu* menu = static_cast<TQPopupMenu*>( mainWindow->factory()->container("viewspace_popup", mainWindow ) );
+
+ if (menu)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kwritemain.cpp v3.5.13-sru/kate/app/kwritemain.cpp
+--- /tmp/stable//kdebase/kate/app/kwritemain.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kate/app/kwritemain.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -112,7 +112,7 @@
+
+ // init with more usefull size, stolen from konq :)
+ if (!initialGeometrySet())
+- resize( TQSize(700, 480).expandedTo(tqminimumSizeHint()));
++ resize( TQSize(700, 480).expandedTo(minimumSizeHint()));
+
+ // call it as last thing, must be sure everything is already set up ;)
+ setAutoSaveSettings ();
+@@ -474,7 +474,7 @@
+ TQString buf = TQString("Document %1").arg(z);
+ config->setGroup(buf);
+
+- KTextEditor::Document *doc = docList.tqat(z - 1);
++ KTextEditor::Document *doc = docList.at(z - 1);
+
+ if (KTextEditor::configInterface(doc))
+ KTextEditor::configInterface(doc)->writeSessionConfig(config);
+@@ -485,7 +485,7 @@
+ TQString buf = TQString("Window %1").arg(z);
+ config->setGroup(buf);
+
+- config->writeEntry("DocumentNumber",docList.find(winList.tqat(z-1)->view()->document()) + 1);
++ config->writeEntry("DocumentNumber",docList.find(winList.at(z-1)->view()->document()) + 1);
+ }
+ }
+
+@@ -521,7 +521,7 @@
+ {
+ buf = TQString("Window %1").arg(z);
+ config->setGroup(buf);
+- t = new KWrite(docList.tqat(config->readNumEntry("DocumentNumber") - 1));
++ t = new KWrite(docList.at(config->readNumEntry("DocumentNumber") - 1));
+ t->restore(config,z);
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/utils/dockviewbase.cpp v3.5.13-sru/kate/utils/dockviewbase.cpp
+--- /tmp/stable//kdebase/kate/utils/dockviewbase.cpp 2011-03-12 07:57:34.000000000 +0100
++++ v3.5.13-sru/kate/utils/dockviewbase.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -87,7 +87,7 @@
+ {
+ setSpacing( 4 );
+ d->header = new TQWidget( this );
+- d->header->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed, true ) );
++ d->header->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed, true ) );
+ TQHBoxLayout *lo = new TQHBoxLayout( d->header );
+ lo->setSpacing( 6 );
+ lo->insertSpacing( 0, 6 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/access/kaccess.cpp v3.5.13-sru/kcontrol/access/kaccess.cpp
+--- /tmp/stable//kdebase/kcontrol/access/kaccess.cpp 2011-03-12 07:57:40.000000000 +0100
++++ v3.5.13-sru/kcontrol/access/kaccess.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -585,7 +585,7 @@
+ TQVBoxLayout * vlay = new TQVBoxLayout(lay);
+
+ featuresLabel = new TQLabel( "", contents );
+- featuresLabel->tqsetAlignment( WordBreak|AlignVCenter );
++ featuresLabel->setAlignment( WordBreak|AlignVCenter );
+ vlay->addWidget( featuresLabel );
+ vlay->addStretch();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/access/kcmaccess.cpp v3.5.13-sru/kcontrol/access/kcmaccess.cpp
+--- /tmp/stable//kdebase/kcontrol/access/kcmaccess.cpp 2011-03-12 07:57:40.000000000 +0100
++++ v3.5.13-sru/kcontrol/access/kcmaccess.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -248,7 +248,7 @@
+ grp->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(grp);
+
+- TQVBoxLayout *vvbox = new TQVBoxLayout(grp->tqlayout(),
++ TQVBoxLayout *vvbox = new TQVBoxLayout(grp->layout(),
+ KDialogBase::spacingHint());
+
+ systemBell = new TQCheckBox(i18n("Use &system bell"), grp);
+@@ -291,7 +291,7 @@
+ grp->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(grp);
+
+- vvbox = new TQVBoxLayout(grp->tqlayout(), KDialog::spacingHint());
++ vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
+
+ visibleBell = new TQCheckBox(i18n("&Use visible bell"), grp);
+ vvbox->addWidget(visibleBell);
+@@ -311,7 +311,7 @@
+ TQWhatsThis::add( flashScreen, i18n("The screen will turn to a custom color for the amount of time specified below.") );
+ hbox->addSpacing(12);
+ colorButton = new KColorButton(grp);
+- colorButton->setFixedWidth(colorButton->tqsizeHint().height()*2);
++ colorButton->setFixedWidth(colorButton->sizeHint().height()*2);
+ hbox->addWidget(colorButton);
+ hbox->addStretch();
+ TQWhatsThis::add( colorButton, i18n("Click here to choose the color used for the \"flash screen\" visible bell.") );
+@@ -353,7 +353,7 @@
+ grp->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(grp);
+
+- vvbox = new TQVBoxLayout(grp->tqlayout(), KDialog::spacingHint());
++ vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
+
+ stickyKeys = new TQCheckBox(i18n("Use &sticky keys"), grp);
+ vvbox->addWidget(stickyKeys);
+@@ -377,7 +377,7 @@
+ grp->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(grp);
+
+- vvbox = new TQVBoxLayout(grp->tqlayout(), KDialog::spacingHint());
++ vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
+
+ toggleKeysBeep = new TQCheckBox(i18n("Use system bell whenever a locking key gets activated or deactivated"), grp);
+ vvbox->addWidget(toggleKeysBeep);
+@@ -388,7 +388,7 @@
+ hbox = new TQHBoxLayout(vvbox, KDialog::spacingHint());
+ hbox->addStretch(1);
+ kNotifyModifiersButton = new TQPushButton(i18n("Configure System Notification..."), grp);
+- kNotifyModifiersButton->tqsetSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed);
++ kNotifyModifiersButton->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed);
+ hbox->addWidget(kNotifyModifiersButton);
+
+ connect(stickyKeys, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged()));
+@@ -415,7 +415,7 @@
+ grp->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(grp);
+
+- vvbox = new TQVBoxLayout(grp->tqlayout(), KDialog::spacingHint());
++ vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
+
+ slowKeys = new TQCheckBox(i18n("&Use slow keys"), grp);
+ vvbox->addWidget(slowKeys);
+@@ -447,7 +447,7 @@
+ grp->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(grp);
+
+- vvbox = new TQVBoxLayout(grp->tqlayout(), KDialog::spacingHint());
++ vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
+
+ bounceKeys = new TQCheckBox(i18n("Use bou&nce keys"), grp);
+ vvbox->addWidget(bounceKeys);
+@@ -491,7 +491,7 @@
+ grp->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(grp);
+
+- vvbox = new TQVBoxLayout(grp->tqlayout(), KDialog::spacingHint());
++ vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
+
+ gestures = new TQCheckBox(i18n("Use gestures for activating sticky keys and slow keys"), grp);
+ vvbox->addWidget(gestures);
+@@ -521,7 +521,7 @@
+ grp->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(grp);
+
+- vvbox = new TQVBoxLayout(grp->tqlayout(), KDialog::spacingHint());
++ vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
+
+ accessxBeep = new TQCheckBox(i18n("Use the system bell whenever a gesture is used to turn an accessibility feature on or off"), grp);
+ vvbox->addWidget(accessxBeep);
+@@ -536,7 +536,7 @@
+ hbox = new TQHBoxLayout(vvbox, KDialog::spacingHint());
+ hbox->addStretch(1);
+ kNotifyAccessXButton = new TQPushButton(i18n("Configure System Notification..."), grp);
+- kNotifyAccessXButton->tqsetSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed);
++ kNotifyAccessXButton->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed);
+ hbox->addWidget(kNotifyAccessXButton);
+
+ connect(gestures, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged()));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/accessibility/accessibilityconfigwidget.ui v3.5.13-sru/kcontrol/accessibility/accessibilityconfigwidget.ui
+--- /tmp/stable//kdebase/kcontrol/accessibility/accessibilityconfigwidget.ui 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/accessibility/accessibilityconfigwidget.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -95,7 +95,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -244,7 +244,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -338,7 +338,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>15</height>
+@@ -363,7 +363,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -420,7 +420,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -534,7 +534,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -625,7 +625,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -683,7 +683,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>61</height>
+@@ -789,7 +789,7 @@
+ <property name="text">
+ <string>Ma&amp;ximum speed:</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="buddy" stdset="0">
+@@ -806,7 +806,7 @@
+ <property name="text">
+ <string>Acceleration &amp;time:</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="buddy" stdset="0">
+@@ -895,7 +895,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -944,7 +944,7 @@
+ <property name="text">
+ <string>&amp;Repeat interval:</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="buddy" stdset="0">
+@@ -992,7 +992,7 @@
+ <property name="text">
+ <string>Acceleration &amp;profile:</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="buddy" stdset="0">
+@@ -1087,7 +1087,7 @@
+ <property name="text">
+ <string>&amp;Acceleration delay:</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="buddy" stdset="0">
+@@ -1108,7 +1108,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>1</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/arts/arts.cpp v3.5.13-sru/kcontrol/arts/arts.cpp
+--- /tmp/stable//kdebase/kcontrol/arts/arts.cpp 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/arts/arts.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -297,7 +297,7 @@
+ {
+ if(a->name == audioIO) // first item: "autodetect"
+ {
+- hardware->audioIO->setCurrentItem(audioIOList.tqat() + 1);
++ hardware->audioIO->setCurrentItem(audioIOList.at() + 1);
+ break;
+ }
+
+@@ -334,7 +334,7 @@
+ int item = hardware->audioIO->currentItem() - 1; // first item: "default"
+
+ if (item >= 0) {
+- audioIO = audioIOList.tqat(item)->name;
++ audioIO = audioIOList.at(item)->name;
+ }
+
+ TQString dev = customDevice->isChecked() ? deviceName->text() : TQString::null;
+@@ -498,8 +498,8 @@
+ int item = hardware->audioIO->currentItem() - 1; // first item: "default"
+ if (item >= 0)
+ {
+- audioIO = audioIOList.tqat(item)->name;
+- bool jack = (audioIO == TQString::tqfromLatin1("jack"));
++ audioIO = audioIOList.at(item)->name;
++ bool jack = (audioIO == TQString::fromLatin1("jack"));
+ if(jack)
+ {
+ customRate->setChecked(false);
+@@ -620,39 +620,39 @@
+ TQString args;
+
+ if(fragmentCount)
+- args += TQString::tqfromLatin1(" -F %1").arg(fragmentCount);
++ args += TQString::fromLatin1(" -F %1").arg(fragmentCount);
+
+ if(fragmentSize)
+- args += TQString::tqfromLatin1(" -S %1").arg(fragmentSize);
++ args += TQString::fromLatin1(" -S %1").arg(fragmentSize);
+
+ if (!audioIO.isEmpty())
+- args += TQString::tqfromLatin1(" -a %1").arg(audioIO);
++ args += TQString::fromLatin1(" -a %1").arg(audioIO);
+
+ if (duplex)
+- args += TQString::tqfromLatin1(" -d");
++ args += TQString::fromLatin1(" -d");
+
+ if (netTrans)
+- args += TQString::tqfromLatin1(" -n");
++ args += TQString::fromLatin1(" -n");
+
+ if (!deviceName.isEmpty())
+- args += TQString::tqfromLatin1(" -D ") + deviceName;
++ args += TQString::fromLatin1(" -D ") + deviceName;
+
+ if (rate)
+- args += TQString::tqfromLatin1(" -r %1").arg(rate);
++ args += TQString::fromLatin1(" -r %1").arg(rate);
+
+ if (bits)
+- args += TQString::tqfromLatin1(" -b %1").arg(bits);
++ args += TQString::fromLatin1(" -b %1").arg(bits);
+
+ if (autoSuspend && suspendTime)
+- args += TQString::tqfromLatin1(" -s %1").arg(suspendTime);
++ args += TQString::fromLatin1(" -s %1").arg(suspendTime);
+
+ if (!addOptions.isEmpty())
+ args += TQChar(' ') + addOptions;
+
+- args += TQString::tqfromLatin1(" -m artsmessage");
+- args += TQString::tqfromLatin1(" -c drkonqi");
+- args += TQString::tqfromLatin1(" -l 3");
+- args += TQString::tqfromLatin1(" -f");
++ args += TQString::fromLatin1(" -m artsmessage");
++ args += TQString::fromLatin1(" -c drkonqi");
++ args += TQString::fromLatin1(" -l 3");
++ args += TQString::fromLatin1(" -f");
+
+ return args;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/arts/generaltab.ui v3.5.13-sru/kcontrol/arts/generaltab.ui
+--- /tmp/stable//kdebase/kcontrol/arts/generaltab.ui 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/arts/generaltab.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -12,7 +12,7 @@
+ <height>613</height>
+ </rect>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>450</height>
+@@ -227,7 +227,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>173</width>
+ <height>20</height>
+@@ -256,7 +256,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -289,7 +289,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -308,7 +308,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/arts/hardwaretab.ui v3.5.13-sru/kcontrol/arts/hardwaretab.ui
+--- /tmp/stable//kdebase/kcontrol/arts/hardwaretab.ui 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/arts/hardwaretab.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -133,7 +133,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -189,7 +189,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -252,7 +252,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -345,7 +345,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>60</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/arts/krichtextlabel.cpp v3.5.13-sru/kcontrol/arts/krichtextlabel.cpp
+--- /tmp/stable//kdebase/kcontrol/arts/krichtextlabel.cpp 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/arts/krichtextlabel.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -41,14 +41,14 @@
+ KRichTextLabel::KRichTextLabel( const TQString &text , TQWidget *parent, const char *name )
+ : TQLabel ( parent, name ) {
+ m_defaultWidth = TQMIN(500, KGlobalSettings::desktopGeometry(this).width()*3/5);
+- tqsetAlignment( TQt::WordBreak );
++ setAlignment( TQt::WordBreak );
+ setText(text);
+ }
+
+ KRichTextLabel::KRichTextLabel( TQWidget *parent, const char *name )
+ : TQLabel ( parent, name ) {
+ m_defaultWidth = TQMIN(500, KGlobalSettings::desktopGeometry(this).width()*3/5);
+- tqsetAlignment( TQt::WordBreak );
++ setAlignment( TQt::WordBreak );
+ }
+
+ void KRichTextLabel::setDefaultWidth(int defaultWidth)
+@@ -62,7 +62,7 @@
+ return TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Minimum, false);
+ }
+
+-TQSize KRichTextLabel::tqminimumSizeHint() const
++TQSize KRichTextLabel::minimumSizeHint() const
+ {
+ TQString qt_text = qrichtextify( text() );
+ int pref_width = 0;
+@@ -97,9 +97,9 @@
+ return TQSize(pref_width, rt.height());
+ }
+
+-TQSize KRichTextLabel::tqsizeHint() const
++TQSize KRichTextLabel::sizeHint() const
+ {
+- return tqminimumSizeHint();
++ return minimumSizeHint();
+ }
+
+ void KRichTextLabel::setText( const TQString &text ) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/arts/krichtextlabel.h v3.5.13-sru/kcontrol/arts/krichtextlabel.h
+--- /tmp/stable//kdebase/kcontrol/arts/krichtextlabel.h 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/arts/krichtextlabel.h 2012-07-31 17:17:50.000000000 +0200
+@@ -45,8 +45,8 @@
+ int defaultWidth() const { return m_defaultWidth; }
+ void setDefaultWidth(int defaultWidth);
+
+- virtual TQSize tqminimumSizeHint() const;
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize minimumSizeHint() const;
++ virtual TQSize sizeHint() const;
+ TQSizePolicy sizePolicy() const;
+
+ public slots:
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bgadvanced.cpp v3.5.13-sru/kcontrol/background/bgadvanced.cpp
+--- /tmp/stable//kdebase/kcontrol/background/bgadvanced.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kcontrol/background/bgadvanced.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -432,7 +432,7 @@
+ m_RefreshEdit->setRange(5, 60);
+ m_RefreshEdit->setSteps(5, 10);
+ m_RefreshEdit->setSuffix(i18n(" min"));
+- m_RefreshEdit->setFixedSize(m_RefreshEdit->tqsizeHint());
++ m_RefreshEdit->setFixedSize(m_RefreshEdit->sizeHint());
+ lbl->setBuddy(m_RefreshEdit);
+ grid->addWidget(m_RefreshEdit, 5, 1, Qt::AlignLeft);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bgadvanced_ui.ui v3.5.13-sru/kcontrol/background/bgadvanced_ui.ui
+--- /tmp/stable//kdebase/kcontrol/background/bgadvanced_ui.ui 2011-03-12 07:57:36.000000000 +0100
++++ v3.5.13-sru/kcontrol/background/bgadvanced_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -91,7 +91,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -138,7 +138,7 @@
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>400</width>
+ <height>0</height>
+@@ -223,7 +223,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>220</width>
+ <height>20</height>
+@@ -376,7 +376,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -395,7 +395,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bgdialog.cpp v3.5.13-sru/kcontrol/background/bgdialog.cpp
+--- /tmp/stable//kdebase/kcontrol/background/bgdialog.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kcontrol/background/bgdialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -142,7 +142,7 @@
+ }
+
+ // background image settings
+- TQIconSet iconSet = SmallIconSet(TQString::tqfromLatin1("fileopen"));
++ TQIconSet iconSet = SmallIconSet(TQString::fromLatin1("fileopen"));
+ TQPixmap pixMap = iconSet.pixmap( TQIconSet::Small, TQIconSet::Normal );
+ m_urlWallpaperButton->setIconSet( iconSet );
+ m_urlWallpaperButton->setFixedSize( pixMap.width()+8, pixMap.height()+8 );
+@@ -414,14 +414,14 @@
+ screenLabel->setFrameStyle(TQFrame::Panel);
+ screenLabel->setFrameShadow(TQFrame::Plain);
+
+- screenLabel->tqsetAlignment(Qt::AlignCenter);
++ screenLabel->setAlignment(Qt::AlignCenter);
+ screenLabel->setNum(int(s + 1));
+ // BUGLET: we should not allow the identification to be entered again
+ // until the timer fires.
+ TQTimer::singleShot(1500, screenLabel, TQT_SLOT(close()));
+
+ TQPoint screenCenter(TQApplication::desktop()->screenGeometry(s).center());
+- TQRect targetGeometry(TQPoint(0,0),screenLabel->tqsizeHint());
++ TQRect targetGeometry(TQPoint(0,0),screenLabel->sizeHint());
+ targetGeometry.moveCenter(screenCenter);
+
+ screenLabel->setGeometry(targetGeometry);
+@@ -441,14 +441,14 @@
+ else {
+ for (unsigned i = 0; i < (m_numDesks/m_numViewports); ++i) {
+ for (unsigned j = 0; j < m_numViewports; ++j) {
+- m_comboDesktop->insertItem(i18n("Desktop %1 Viewport %2").tqarg(i+1).tqarg(j+1));
++ m_comboDesktop->insertItem(i18n("Desktop %1 Viewport %2").arg(i+1).arg(j+1));
+ }
+ }
+ }
+
+ // Screens
+ for (unsigned i = 0; i < m_numScreens; ++i)
+- m_comboScreen->insertItem( i18n("Screen %1").tqarg(TQString::number(i+1)) );
++ m_comboScreen->insertItem( i18n("Screen %1").arg(TQString::number(i+1)) );
+
+ // Patterns
+ m_comboPattern->insertItem(i18n("Single Color"));
+@@ -1004,7 +1004,7 @@
+ {
+ KBackgroundRenderer *r = eRenderer();
+
+- BGMultiWallpaperDialog dlg(r, tqtopLevelWidget());
++ BGMultiWallpaperDialog dlg(r, topLevelWidget());
+ if (dlg.exec() == TQDialog::Accepted) {
+ r->stop();
+ m_slideShowRandom = r->multiWallpaperMode();
+@@ -1182,7 +1182,7 @@
+ KBackgroundRenderer *r = eRenderer();
+
+ m_previewUpdates = false;
+- BGAdvancedDialog dlg(r, tqtopLevelWidget(), m_multidesktop);
++ BGAdvancedDialog dlg(r, topLevelWidget(), m_multidesktop);
+
+ if (!m_pMonitorArrangement->isEnabled()) {
+ dlg.makeReadOnly();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bgdialog_ui.ui v3.5.13-sru/kcontrol/background/bgdialog_ui.ui
+--- /tmp/stable//kdebase/kcontrol/background/bgdialog_ui.ui 2011-03-12 07:57:36.000000000 +0100
++++ v3.5.13-sru/kcontrol/background/bgdialog_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -105,7 +105,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>0</height>
+@@ -132,7 +132,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>100</width>
+ <height>0</height>
+@@ -161,7 +161,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>4</width>
+ <height>20</height>
+@@ -197,7 +197,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>4</width>
+ <height>20</height>
+@@ -219,7 +219,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>4</width>
+ <height>20</height>
+@@ -255,7 +255,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>4</width>
+ <height>20</height>
+@@ -277,7 +277,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>4</width>
+ <height>20</height>
+@@ -313,7 +313,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>4</width>
+ <height>20</height>
+@@ -333,7 +333,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -522,7 +522,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>120</width>
+ <height>10</height>
+@@ -539,7 +539,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>130</width>
+ <height>10</height>
+@@ -613,7 +613,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>260</width>
+ <height>20</height>
+@@ -641,7 +641,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>110</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bghash.h v3.5.13-sru/kcontrol/background/bghash.h
+--- /tmp/stable//kdebase/kcontrol/background/bghash.h 2011-03-12 07:57:36.000000000 +0100
++++ v3.5.13-sru/kcontrol/background/bghash.h 2012-07-31 17:17:50.000000000 +0200
+@@ -8,7 +8,7 @@
+ static int TQHash(TQString key)
+ {
+ int g, h = 0;
+- const TQChar *p = key.tqunicode();
++ const TQChar *p = key.unicode();
+ for (unsigned i=0; i < key.length(); i++) {
+ h = (h << 4) + p[i].cell();
+ if ((g = (h & 0xf0000000)))
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bgmonitor.cpp v3.5.13-sru/kcontrol/background/bgmonitor.cpp
+--- /tmp/stable//kdebase/kcontrol/background/bgmonitor.cpp 2011-03-12 07:57:36.000000000 +0100
++++ v3.5.13-sru/kcontrol/background/bgmonitor.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -157,7 +157,7 @@
+ BGMonitorLabel::BGMonitorLabel(TQWidget *parent, const char *name)
+ : TQLabel(parent, name)
+ {
+- tqsetAlignment(AlignCenter);
++ setAlignment(AlignCenter);
+ setScaledContents(true);
+ setPixmap( TQPixmap( locate("data", "kcontrol/pics/monitor.png") ) );
+ m_pBGMonitor = new BGMonitor(this);
+@@ -168,8 +168,8 @@
+
+ void BGMonitorLabel::updateMonitorGeometry()
+ {
+- double scaleX = double(width()) / double(tqsizeHint().width());
+- double scaleY = double(height()) / double(tqsizeHint().height());
++ double scaleX = double(width()) / double(sizeHint().width());
++ double scaleY = double(height()) / double(sizeHint().height());
+
+ kdDebug() << k_funcinfo << " Setting geometry to " << TQRect( int(23*scaleX), int(14*scaleY), int(151*scaleX), int(115*scaleY) ) << endl;
+ m_pBGMonitor->setGeometry( int(23*scaleX), int(14*scaleY), int(151*scaleX), int(115*scaleY) );
+@@ -189,7 +189,7 @@
+ BGMonitor::BGMonitor(TQWidget *parent, const char *name)
+ : TQLabel(parent, name)
+ {
+- tqsetAlignment(AlignCenter);
++ setAlignment(AlignCenter);
+ setScaledContents(true);
+ setAcceptDrops(true);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bgrender.cpp v3.5.13-sru/kcontrol/background/bgrender.cpp
+--- /tmp/stable//kdebase/kcontrol/background/bgrender.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kcontrol/background/bgrender.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -129,7 +129,7 @@
+ if (pos == (int) (cmd.length() - 1))
+ break;
+
+- switch (cmd.tqat(pos+1).latin1()) {
++ switch (cmd.at(pos+1).latin1()) {
+ case 'f':
+ createTempFile();
+ cmd.replace(pos, 2, KShellProcess::quote(m_Tempfile->name()));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bgsettings.cpp v3.5.13-sru/kcontrol/background/bgsettings.cpp
+--- /tmp/stable//kdebase/kcontrol/background/bgsettings.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kcontrol/background/bgsettings.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -148,7 +148,7 @@
+ if (m_Pattern.isEmpty())
+ return false;
+ TQString file = m_Pattern;
+- if (file.tqat(0) != '/')
++ if (file.at(0) != '/')
+ file = m_pDirs->findResource("dtop_pattern", file);
+ TQFileInfo fi(file);
+ return (fi.exists());
+@@ -895,7 +895,7 @@
+ tmpList.pop_front();
+ while(tmpList.count())
+ {
+- randomList.insert(randomList.tqat(
++ randomList.insert(randomList.at(
+ rseq.getLong(randomList.count()+1)),
+ 1, tmpList.front());
+
+@@ -985,7 +985,7 @@
+ {
+ return false;
+ }
+- m_WallpaperFiles.remove(m_WallpaperFiles.tqat(m_CurrentWallpaper));
++ m_WallpaperFiles.remove(m_WallpaperFiles.at(m_CurrentWallpaper));
+ --m_CurrentWallpaper;
+ changeWallpaper();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bgwallpaper_ui.ui v3.5.13-sru/kcontrol/background/bgwallpaper_ui.ui
+--- /tmp/stable//kdebase/kcontrol/background/bgwallpaper_ui.ui 2011-03-12 07:57:36.000000000 +0100
++++ v3.5.13-sru/kcontrol/background/bgwallpaper_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -69,7 +69,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -98,7 +98,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>300</width>
+ <height>100</height>
+@@ -123,7 +123,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/CMakeLists.txt v3.5.13-sru/kcontrol/background/CMakeLists.txt
+--- /tmp/stable//kdebase/kcontrol/background/CMakeLists.txt 2011-03-12 07:57:36.000000000 +0100
++++ v3.5.13-sru/kcontrol/background/CMakeLists.txt 2012-07-31 17:17:50.000000000 +0200
+@@ -18,6 +18,7 @@
+ ${CMAKE_SOURCE_DIR}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
++ ${LIBART_INCLUDE_DIRS}
+ )
+
+ link_directories(
+@@ -28,6 +29,7 @@
+
+ tde_add_library( bgnd STATIC_PIC AUTOMOC
+ SOURCES bgrender.cpp bgsettings.cpp
++ LINK ${LIBART_LIBRARIES}
+ )
+
+ endif( )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/bell/bell.cpp v3.5.13-sru/kcontrol/bell/bell.cpp
+--- /tmp/stable//kdebase/kcontrol/bell/bell.cpp 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/bell/bell.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -74,7 +74,7 @@
+ box->setColumnLayout( 0, Qt::Horizontal );
+ layout->addWidget(box);
+ layout->addStretch();
+- TQGridLayout *grid = new TQGridLayout(box->tqlayout(), KDialog::spacingHint());
++ TQGridLayout *grid = new TQGridLayout(box->layout(), KDialog::spacingHint());
+ grid->setColStretch(0, 0);
+ grid->setColStretch(1, 1);
+ grid->addColSpacing(0, 30);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/clock/dtime.cpp v3.5.13-sru/kcontrol/clock/dtime.cpp
+--- /tmp/stable//kdebase/kcontrol/clock/dtime.cpp 2011-08-11 07:25:30.000000000 +0200
++++ v3.5.13-sru/kcontrol/clock/dtime.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -89,7 +89,7 @@
+ TQVBoxLayout *l1 = new TQVBoxLayout( dateBox, KDialog::spacingHint() );
+
+ cal = new KDatePicker( dateBox );
+- cal->setMinimumSize(cal->tqsizeHint());
++ cal->setMinimumSize(cal->sizeHint());
+ l1->addWidget( cal );
+ TQWhatsThis::add( cal, i18n("Here you can change the system date's day of the month, month and year.") );
+
+@@ -120,7 +120,7 @@
+
+ TQLabel *dots1 = new TQLabel(":", timeBox);
+ dots1->setMinimumWidth( 7 );
+- dots1->tqsetAlignment( TQLabel::AlignCenter );
++ dots1->setAlignment( TQLabel::AlignCenter );
+ v3->addMultiCellWidget(dots1, 0, 1, 3, 3 );
+
+ minute = new HMSTimeWidget( timeBox );
+@@ -132,7 +132,7 @@
+
+ TQLabel *dots2 = new TQLabel(":", timeBox);
+ dots2->setMinimumWidth( 7 );
+- dots2->tqsetAlignment( TQLabel::AlignCenter );
++ dots2->setAlignment( TQLabel::AlignCenter );
+ v3->addMultiCellWidget(dots2, 0, 1, 5, 5 );
+
+ second = new HMSTimeWidget( timeBox );
+@@ -293,7 +293,7 @@
+ proc << ntpUtility << timeServer;
+ proc.start( KProcess::Block );
+ if( proc.exitStatus() != 0 ){
+- KMessageBox::error( this, i18n(TQString("Unable to contact time server: %1.").tqarg(timeServer).latin1()));
++ KMessageBox::error( this, i18n(TQString("Unable to contact time server: %1.").arg(timeServer).latin1()));
+ setDateTimeAuto->setChecked( false );
+ }
+ else {
+@@ -368,7 +368,7 @@
+ void Kclock::setTime(const TQTime &time)
+ {
+ this->time = time;
+- tqrepaint();
++ repaint();
+ }
+
+ void Kclock::paintEvent( TQPaintEvent * )
+@@ -382,8 +382,8 @@
+ TQPointArray pts;
+ TQPoint cp = rect().center();
+ int d = QMIN(width(),height());
+- TQColor hands = tqcolorGroup().dark();
+- TQColor shadow = tqcolorGroup().text();
++ TQColor hands = colorGroup().dark();
++ TQColor shadow = colorGroup().text();
+ paint.setPen( shadow );
+ paint.setBrush( shadow );
+ paint.setViewport(4,4,width(),height());
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/clock/tzone.cpp v3.5.13-sru/kcontrol/clock/tzone.cpp
+--- /tmp/stable//kdebase/kcontrol/clock/tzone.cpp 2011-08-11 07:25:30.000000000 +0200
++++ v3.5.13-sru/kcontrol/clock/tzone.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -77,7 +77,7 @@
+ time_t now = time(0);
+ tzset();
+ strftime(result.data(), result.size(), "%Z", localtime(&now));
+- m_local->setText(localZone.tqarg(KTimezoneWidget::displayName(m_zoneDb.local())).tqarg(static_cast<const char *>(result)));
++ m_local->setText(localZone.arg(KTimezoneWidget::displayName(m_zoneDb.local())).arg(static_cast<const char *>(result)));
+ }
+
+ // FIXME: Does the logic in this routine actually work correctly? For example,
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/colors/colorscm.cpp v3.5.13-sru/kcontrol/colors/colorscm.cpp
+--- /tmp/stable//kdebase/kcontrol/colors/colorscm.cpp 2011-08-21 09:08:14.000000000 +0200
++++ v3.5.13-sru/kcontrol/colors/colorscm.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -440,7 +440,7 @@
+
+ void KColorScheme::slotSave( )
+ {
+- KColorSchemeEntry *entry = mSchemeList->tqat(sList->currentItem()-nSysSchemes);
++ KColorSchemeEntry *entry = mSchemeList->at(sList->currentItem()-nSysSchemes);
+ if (!entry) return;
+ sCurrentScheme = entry->path;
+ KSimpleConfig *config = new KSimpleConfig(sCurrentScheme );
+@@ -482,7 +482,7 @@
+ void KColorScheme::slotRemove()
+ {
+ uint ind = sList->currentItem();
+- KColorSchemeEntry *entry = mSchemeList->tqat(ind-nSysSchemes);
++ KColorSchemeEntry *entry = mSchemeList->at(ind-nSysSchemes);
+ if (!entry) return;
+
+ if (unlink(TQFile::encodeName(entry->path).data())) {
+@@ -497,7 +497,7 @@
+ mSchemeList->remove(entry);
+
+ ind = sList->currentItem();
+- entry = mSchemeList->tqat(ind-nSysSchemes);
++ entry = mSchemeList->at(ind-nSysSchemes);
+ if (!entry) return;
+ removeBt->setEnabled(entry ? entry->local : false);
+ }
+@@ -795,7 +795,7 @@
+ config->setGroup("General");
+ } else {
+ // Open scheme file
+- KColorSchemeEntry *entry = mSchemeList->tqat(sList->currentItem()-nSysSchemes);
++ KColorSchemeEntry *entry = mSchemeList->at(sList->currentItem()-nSysSchemes);
+ if (!entry) return;
+ sCurrentScheme = entry->path;
+ config = new KSimpleConfig(sCurrentScheme, true);
+@@ -941,7 +941,7 @@
+ removeBt->setEnabled(false);
+ else
+ {
+- KColorSchemeEntry *entry = mSchemeList->tqat(indx-nSysSchemes);
++ KColorSchemeEntry *entry = mSchemeList->at(indx-nSysSchemes);
+ removeBt->setEnabled(entry ? entry->local : false);
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/colors/widgetcanvas.cpp v3.5.13-sru/kcontrol/colors/widgetcanvas.cpp
+--- /tmp/stable//kdebase/kcontrol/colors/widgetcanvas.cpp 2011-08-11 07:25:31.000000000 +0200
++++ v3.5.13-sru/kcontrol/colors/widgetcanvas.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -327,7 +327,7 @@
+ #ifndef __osf__
+ TQPainter::redirect( vertScrollBar, &pm );
+ #endif
+- vertScrollBar->tqrepaint();
++ vertScrollBar->repaint();
+ TQPainter::redirect( vertScrollBar, 0 );
+ vertScrollBar->hide();
+
+@@ -338,7 +338,7 @@
+
+ smplw.resize(width(), height());
+ //smplw.fill( parentWidget()->back() );
+- smplw.fill( parentWidget()->tqcolorGroup().mid() );
++ smplw.fill( parentWidget()->colorGroup().mid() );
+
+ // Actually start painting in
+
+@@ -435,7 +435,7 @@
+ // Menu bar
+
+ //qDrawShadePanel ( &paint, 25, 55, width()-52, 28, cg, FALSE, 2, &brush);
+- kapp->tqstyle().tqdrawPrimitive(TQStyle::PE_PanelMenuBar, &paint,
++ kapp->style().tqdrawPrimitive(TQStyle::PE_PanelMenuBar, &paint,
+ TQRect(TQPoint(25, 55), TQSize(width()-52, 28)), cg);
+
+ paint.setFont( menuFont );
+@@ -443,7 +443,7 @@
+ TQString file = i18n("File");
+ textLen = paint.fontMetrics().width( file );
+ //qDrawShadePanel ( &paint, 30, 59, textLen + 10, 21, cg, FALSE, 2, &brush);
+- kapp->tqstyle().tqdrawPrimitive(TQStyle::PE_Panel, &paint,
++ kapp->style().tqdrawPrimitive(TQStyle::PE_Panel, &paint,
+ TQRect(30, 59, textLen + 10, 21), cg);
+ paint.drawText( 35, 74, file );
+
+@@ -528,7 +528,7 @@
+ cg2.setColor(TQColorGroup::Button, button);
+ cg2.setColor(TQColorGroup::Background, window);
+ //qDrawWinButton(&paint, xpos, ypos, textLen+32, 28, cg, false, &brush);
+- kapp->tqstyle().tqdrawPrimitive(TQStyle::PE_ButtonCommand, &paint,
++ kapp->style().tqdrawPrimitive(TQStyle::PE_ButtonCommand, &paint,
+ TQRect(xpos, ypos, textLen+32, 28), cg2, TQStyle::Style_Enabled | TQStyle::Style_Raised);
+ paint.setPen(buttonTxt);
+ paint.drawText(xpos, ypos, textLen+32, 28, AlignCenter,
+@@ -567,9 +567,9 @@
+ popup->setItemEnabled( id, false );
+
+ // HACK: Force Layouting
+- //Sad Eagle: tqsizeHint() forces layouting too, and it's a lot less visible
+- //popup->tqsizeHint(); // Breaks with Qt 3.3
+- popup->resize(popup->tqsizeHint());
++ //Sad Eagle: sizeHint() forces layouting too, and it's a lot less visible
++ //popup->sizeHint(); // Breaks with Qt 3.3
++ popup->resize(popup->sizeHint());
+
+ pm = TQPixmap::grabWidget( popup );
+ delete popup;
+@@ -585,12 +585,12 @@
+ // Valance
+
+ qDrawWinPanel ( &paint, 0, 0, width(), height(),
+- parentWidget()->tqcolorGroup(), TRUE, 0);
++ parentWidget()->colorGroup(), TRUE, 0);
+
+ // Stop the painting
+
+ hotspots[ spot++ ] =
+ HotSpot( TQRect( 0, 0, width(), height() ), CSM_Background ); // ?
+
+- tqrepaint( FALSE );
++ repaint( FALSE );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/componentchooser/browserconfig_ui.ui v3.5.13-sru/kcontrol/componentchooser/browserconfig_ui.ui
+--- /tmp/stable//kdebase/kcontrol/componentchooser/browserconfig_ui.ui 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/componentchooser/browserconfig_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -86,7 +86,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -134,7 +134,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/componentchooser/componentchooser.cpp v3.5.13-sru/kcontrol/componentchooser/componentchooser.cpp
+--- /tmp/stable//kdebase/kcontrol/componentchooser/componentchooser.cpp 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/componentchooser/componentchooser.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -147,7 +147,7 @@
+ kmailCB->setChecked(useKMail);
+ otherCB->setChecked(!useKMail);
+ txtEMailClient->setText(emailClient);
+- txtEMailClient->setFixedHeight(txtEMailClient->tqsizeHint().height());
++ txtEMailClient->setFixedHeight(txtEMailClient->sizeHint().height());
+ chkRunTerminal->setChecked((pSettings->getSetting(KEMailSettings::ClientTerminal) == "true"));
+
+ emit changed(false);
+@@ -169,9 +169,9 @@
+ TQString client = dlg.text();
+
+ // get the preferred Terminal Application
+- KConfigGroup confGroup( KGlobal::config(), TQString::tqfromLatin1("General") );
+- TQString preferredTerminal = confGroup.readPathEntry("TerminalApplication", TQString::tqfromLatin1("konsole"));
+- preferredTerminal += TQString::tqfromLatin1(" -e ");
++ KConfigGroup confGroup( KGlobal::config(), TQString::fromLatin1("General") );
++ TQString preferredTerminal = confGroup.readPathEntry("TerminalApplication", TQString::fromLatin1("konsole"));
++ preferredTerminal += TQString::fromLatin1(" -e ");
+
+ int len = preferredTerminal.length();
+ bool b = client.left(len) == preferredTerminal;
+@@ -393,7 +393,7 @@
+ ServiceChooser->insertItem(new MyListBoxItem(cfg.readEntry("Name",i18n("Unknown")),(*it)));
+
+ }
+- ServiceChooser->setFixedWidth(ServiceChooser->tqsizeHint().width());
++ ServiceChooser->setFixedWidth(ServiceChooser->sizeHint().width());
+ ServiceChooser->sort();
+ connect(ServiceChooser,TQT_SIGNAL(highlighted(TQListBoxItem*)),this,TQT_SLOT(slotServiceSelected(TQListBoxItem*)));
+ ServiceChooser->setSelected(0,true);
+@@ -410,7 +410,7 @@
+ KSimpleConfig cfg(static_cast<MyListBoxItem*>(it)->File);
+
+ ComponentDescription->setText(cfg.readEntry("Comment",i18n("No description available")));
+- ComponentDescription->setMinimumSize(ComponentDescription->tqsizeHint());
++ ComponentDescription->setMinimumSize(ComponentDescription->sizeHint());
+
+
+ TQString cfgType=cfg.readEntry("configurationType");
+@@ -461,7 +461,7 @@
+ delete configWidget;
+ configWidget=newConfigWidget;
+ connect(configWidget,TQT_SIGNAL(changed(bool)),this,TQT_SLOT(emitChanged(bool)));
+- configContainer->setMinimumSize(configWidget->tqsizeHint());
++ configContainer->setMinimumSize(configWidget->sizeHint());
+ }
+
+ if (configWidget)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/componentchooser/componentchooser_ui.ui v3.5.13-sru/kcontrol/componentchooser/componentchooser_ui.ui
+--- /tmp/stable//kdebase/kcontrol/componentchooser/componentchooser_ui.ui 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/componentchooser/componentchooser_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -91,7 +91,7 @@
+ <property name="text">
+ <string></string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop</set>
+ </property>
+ </widget>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/componentchooser/componentconfig_ui.ui v3.5.13-sru/kcontrol/componentchooser/componentconfig_ui.ui
+--- /tmp/stable//kdebase/kcontrol/componentchooser/componentconfig_ui.ui 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/componentchooser/componentconfig_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -26,7 +26,7 @@
+ <property name="text">
+ <string></string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+@@ -45,7 +45,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>91</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/componentchooser/emailclientconfig_ui.ui v3.5.13-sru/kcontrol/componentchooser/emailclientconfig_ui.ui
+--- /tmp/stable//kdebase/kcontrol/componentchooser/emailclientconfig_ui.ui 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/componentchooser/emailclientconfig_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -73,7 +73,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+@@ -126,7 +126,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>16</height>
+@@ -165,7 +165,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>16</height>
+@@ -182,7 +182,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/componentchooser/terminalemulatorconfig_ui.ui v3.5.13-sru/kcontrol/componentchooser/terminalemulatorconfig_ui.ui
+--- /tmp/stable//kdebase/kcontrol/componentchooser/terminalemulatorconfig_ui.ui 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/componentchooser/terminalemulatorconfig_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -57,7 +57,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>87</height>
+@@ -82,7 +82,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>31</width>
+ <height>20</height>
+@@ -120,7 +120,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/crypto/crypto.cpp v3.5.13-sru/kcontrol/crypto/crypto.cpp
+--- /tmp/stable//kdebase/kcontrol/crypto/crypto.cpp 2011-10-10 08:55:56.000000000 +0200
++++ v3.5.13-sru/kcontrol/crypto/crypto.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -842,7 +842,7 @@
+ tabs->addTab(tabSSLCOpts, i18n("Validation Options"));
+ #endif
+
+- tabs->resize(tabs->tqsizeHint());
++ tabs->resize(tabs->sizeHint());
+ load();
+ }
+
+@@ -1500,7 +1500,7 @@
+ TQPalette cspl;
+ iss = cert->getIssuer();
+ cspl = validFrom->palette();
+- if (TQDateTime::tqcurrentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {
++ if (TQDateTime::currentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
+ } else {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
+@@ -1508,7 +1508,7 @@
+ validFrom->setPalette(cspl);
+
+ cspl = validUntil->palette();
+- if (TQDateTime::tqcurrentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
++ if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
+ } else {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
+@@ -1518,7 +1518,7 @@
+ validFrom->setText(cert->getNotBefore());
+ validUntil->setText(cert->getNotAfter());
+ untilDate->setText(x ? KGlobal::locale()->formatDateTime(x->getExpires())
+- : KGlobal::locale()->formatDateTime(TQDateTime::tqcurrentDateTime(Qt::UTC)));
++ : KGlobal::locale()->formatDateTime(TQDateTime::currentDateTime(Qt::UTC)));
+ untilDate->setEnabled(x && !x->isPermanent());
+ pHash->setText(cert->getMD5DigestText());
+ delete cert;
+@@ -1738,7 +1738,7 @@
+ TQPalette cspl;
+ KSSLCertificate *cert = pkcs->getCertificate();
+ cspl = yValidFrom->palette();
+- if (TQDateTime::tqcurrentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {
++ if (TQDateTime::currentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
+ } else {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
+@@ -1746,7 +1746,7 @@
+ yValidFrom->setPalette(cspl);
+
+ cspl = yValidUntil->palette();
+- if (TQDateTime::tqcurrentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
++ if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
+ } else {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
+@@ -1778,7 +1778,7 @@
+ KSSLCertificate *cert = pkcs->getCertificate();
+ iss = cert->getIssuer();
+ cspl = yValidFrom->palette();
+- if (TQDateTime::tqcurrentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {
++ if (TQDateTime::currentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
+ } else {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
+@@ -1786,7 +1786,7 @@
+ yValidFrom->setPalette(cspl);
+
+ cspl = yValidUntil->palette();
+- if (TQDateTime::tqcurrentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
++ if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
+ } else {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/css/cssconfig.ui v3.5.13-sru/kcontrol/css/cssconfig.ui
+--- /tmp/stable//kdebase/kcontrol/css/cssconfig.ui 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/css/cssconfig.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -103,7 +103,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+@@ -157,7 +157,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+@@ -185,7 +185,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>451</width>
+ <height>20</height>
+@@ -206,7 +206,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>50</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/css/csscustom.ui v3.5.13-sru/kcontrol/css/csscustom.ui
+--- /tmp/stable//kdebase/kcontrol/css/csscustom.ui 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/css/csscustom.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -243,7 +243,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -273,7 +273,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -315,7 +315,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -412,7 +412,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -429,7 +429,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>20</height>
+@@ -446,7 +446,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -463,7 +463,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/css/preview.ui v3.5.13-sru/kcontrol/css/preview.ui
+--- /tmp/stable//kdebase/kcontrol/css/preview.ui 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/css/preview.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -37,7 +37,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/displayconfig/displayconfigbase.ui v3.5.13-sru/kcontrol/displayconfig/displayconfigbase.ui
+--- /tmp/stable//kdebase/kcontrol/displayconfig/displayconfigbase.ui 2011-10-10 03:40:45.000000000 +0200
++++ v3.5.13-sru/kcontrol/displayconfig/displayconfigbase.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -65,7 +65,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -310,7 +310,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -403,7 +403,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -420,7 +420,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -597,7 +597,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -649,7 +649,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -749,7 +749,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/displayconfig/displayconfig.cpp v3.5.13-sru/kcontrol/displayconfig/displayconfig.cpp
+--- /tmp/stable//kdebase/kcontrol/displayconfig/displayconfig.cpp 2011-10-10 03:40:45.000000000 +0200
++++ v3.5.13-sru/kcontrol/displayconfig/displayconfig.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -743,7 +743,7 @@
+ m_randrsimple = new KRandrSimpleAPI();
+
+ TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+- systemconfig = new KSimpleConfig( TQString::tqfromLatin1( KDE_CONFDIR "/kdisplay/kdisplayconfigrc" ));
++ systemconfig = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/kdisplay/kdisplayconfigrc" ));
+ systemconfig->setFileWriteMode(0644);
+
+ KAboutData *about =
+@@ -1219,10 +1219,10 @@
+ screendata->gamma_blue = floorf(screendata->gamma_blue * 10 + 0.5) / 10;
+
+ // Set the labels
+- base->gammaAllLabel->setText(TQString("%1").tqarg(((float)base->gammaAllSlider->value())/10.0, 0, 'f', 1));
+- base->gammaRedLabel->setText(TQString("%1").tqarg(((float)base->gammaRedSlider->value())/10.0, 0, 'f', 1));
+- base->gammaGreenLabel->setText(TQString("%1").tqarg(((float)base->gammaGreenSlider->value())/10.0, 0, 'f', 1));
+- base->gammaBlueLabel->setText(TQString("%1").tqarg(((float)base->gammaBlueSlider->value())/10.0, 0, 'f', 1));
++ base->gammaAllLabel->setText(TQString("%1").arg(((float)base->gammaAllSlider->value())/10.0, 0, 'f', 1));
++ base->gammaRedLabel->setText(TQString("%1").arg(((float)base->gammaRedSlider->value())/10.0, 0, 'f', 1));
++ base->gammaGreenLabel->setText(TQString("%1").arg(((float)base->gammaGreenSlider->value())/10.0, 0, 'f', 1));
++ base->gammaBlueLabel->setText(TQString("%1").arg(((float)base->gammaBlueSlider->value())/10.0, 0, 'f', 1));
+ }
+
+ void KDisplayConfig::gammaSetAverageAllSlider() {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/displayconfig/displayconfig.desktop v3.5.13-sru/kcontrol/displayconfig/displayconfig.desktop
+--- /tmp/stable//kdebase/kcontrol/displayconfig/displayconfig.desktop 2011-08-24 18:35:15.000000000 +0200
++++ v3.5.13-sru/kcontrol/displayconfig/displayconfig.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -1,23 +1,25 @@
+ [Desktop Entry]
+-Exec=kcmshell displayconfig
+-Icon=background
+-Type=Application
+-DocPath=kcontrol/displayconfig/index.html
+-
+-X-KDE-Library=displayconfig
+-X-KDE-ParentApp=kcontrol
+-X-KDE-RootOnly=true
+-X-KDE-SubstituteUID=true
+-
+-Categories=Qt;KDE;X-KDE-settings-peripherals;
++Categories=Qt;KDE;X-KDE-settings-system;
+ Comment=Configure display
+ Comment[en_US]=Configure display
+ DocPath=kcontrol/displayconfig.html
++Exec[$e]=kcmshell displayconfig
+ GenericName=
+ GenericName[en_US]=
++Icon=background
+ Keywords=monitor,resolution,display
+ MimeType=
+-Name=Monitor and Display
+-Name[en_US]=Monitor and Display
+-
+-NoDisplay=false
+\ Pas de fin de ligne à la fin du fichier
++Name=Monitor & Display
++Name[en_US]=Monitor & Display
++NoDisplay=false
++Path[$e]=
++StartupNotify=true
++Terminal=false
++TerminalOptions=
++Type=Application
++X-DCOP-ServiceType=
++X-KDE-Library=displayconfig
++X-KDE-ParentApp=kcontrol
++X-KDE-RootOnly=true
++X-KDE-SubstituteUID=true
++X-KDE-Username=
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/dnssd/configdialog.ui v3.5.13-sru/kcontrol/dnssd/configdialog.ui
+--- /tmp/stable//kdebase/kcontrol/dnssd/configdialog.ui 2011-03-12 07:57:49.000000000 +0100
++++ v3.5.13-sru/kcontrol/dnssd/configdialog.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -20,7 +20,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+@@ -204,7 +204,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>130</width>
+ <height>21</height>
+@@ -264,7 +264,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>90</width>
+ <height>20</height>
+@@ -281,7 +281,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>90</width>
+ <height>21</height>
+@@ -300,7 +300,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>50</width>
+ <height>110</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/dnssd/kcmdnssd.cpp v3.5.13-sru/kcontrol/dnssd/kcmdnssd.cpp
+--- /tmp/stable//kdebase/kcontrol/dnssd/kcmdnssd.cpp 2011-03-12 07:57:49.000000000 +0100
++++ v3.5.13-sru/kcontrol/dnssd/kcmdnssd.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -65,7 +65,7 @@
+ else if (getenv("KDESU_USER")!=0) tabs->removePage(tab);
+ addConfig(DNSSD::Configuration::self(),this);
+ // it is host-wide setting so it has to be in global config file
+- domain = new KSimpleConfig( TQString::tqfromLatin1( KDE_CONFDIR "/kdnssdrc" ));
++ domain = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/kdnssdrc" ));
+ domain->setGroup("publishing");
+ load();
+ connect(hostedit,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SLOT(wdchanged()));
+@@ -124,7 +124,7 @@
+ while (avahiStatus.isRunning()) {
+ kapp->processEvents();
+ }
+- int exitStatus = avahiStatus.exitqStatus();
++ int exitStatus = avahiStatus.exitStatus();
+ if (exitStatus == 0) { // disabled
+ enableZeroconf->setChecked(false);
+ } else if (exitStatus == 1) { // enabled
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/ebrowsing/plugins/ikws/ikwsopts_ui.ui v3.5.13-sru/kcontrol/ebrowsing/plugins/ikws/ikwsopts_ui.ui
+--- /tmp/stable//kdebase/kcontrol/ebrowsing/plugins/ikws/ikwsopts_ui.ui 2011-03-12 07:57:39.000000000 +0100
++++ v3.5.13-sru/kcontrol/ebrowsing/plugins/ikws/ikwsopts_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -161,7 +161,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>170</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp v3.5.13-sru/kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp
+--- /tmp/stable//kdebase/kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp 2011-08-11 07:25:27.000000000 +0200
++++ v3.5.13-sru/kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -41,7 +41,7 @@
+ : KURIFilterPlugin( parent, name ? name : "localdomainurifilter", 1.0 ),
+ DCOPObject( "LocalDomainURIFilterIface" ),
+ last_time( 0 ),
+- m_hostPortPattern( TQString::tqfromLatin1(HOSTPORT_PATTERN) )
++ m_hostPortPattern( TQString::fromLatin1(HOSTPORT_PATTERN) )
+ {
+ configure();
+ }
+@@ -56,7 +56,7 @@
+ if( m_hostPortPattern.exactMatch( cmd ) &&
+ isLocalDomainHost( cmd ) )
+ {
+- cmd.prepend( TQString::tqfromLatin1("http://") );
++ cmd.prepend( TQString::fromLatin1("http://") );
+ setFilteredURI( data, KURL( cmd ) );
+ setURIType( data, KURIFilterData::NET_PROTOCOL );
+
+@@ -76,7 +76,7 @@
+
+ if( !(host == last_host && last_time > time( NULL ) - 5 ) ) {
+
+- TQString helper = KStandardDirs::findExe(TQString::tqfromLatin1( "klocaldomainurifilterhelper" ));
++ TQString helper = KStandardDirs::findExe(TQString::fromLatin1( "klocaldomainurifilterhelper" ));
+ if( helper.isEmpty())
+ return last_result = false;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/ebrowsing/plugins/shorturi/kshorturifilter.cpp v3.5.13-sru/kcontrol/ebrowsing/plugins/shorturi/kshorturifilter.cpp
+--- /tmp/stable//kdebase/kcontrol/ebrowsing/plugins/shorturi/kshorturifilter.cpp 2011-10-16 21:40:20.000000000 +0200
++++ v3.5.13-sru/kcontrol/ebrowsing/plugins/shorturi/kshorturifilter.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -43,7 +43,7 @@
+ #define IPv6_PATTERN "^\\[.*\\]"
+ #define ENV_VAR_PATTERN "\\$[a-zA-Z_][a-zA-Z0-9_]*"
+
+-#define QFL1(x) TQString::tqfromLatin1(x)
++#define QFL1(x) TQString::fromLatin1(x)
+
+ /**
+ * IMPORTANT:
+@@ -164,13 +164,13 @@
+
+ if (!isMalformed &&
+ (url.protocol().length() == 4) &&
+- (url.protocol() != TQString::tqfromLatin1("http")) &&
++ (url.protocol() != TQString::fromLatin1("http")) &&
+ (url.protocol()[0]=='h') &&
+ (url.protocol()[1]==url.protocol()[2]) &&
+ (url.protocol()[3]=='p'))
+ {
+ // Handle "encrypted" URLs like: h++p://www.kde.org
+- url.setProtocol( TQString::tqfromLatin1("http"));
++ url.setProtocol( TQString::fromLatin1("http"));
+ setFilteredURI( data, url);
+ setURIType( data, KURIFilterData::NET_PROTOCOL );
+ return true;
+@@ -210,11 +210,11 @@
+ }
+
+ // Detect UNC style (aka windows SMB) URLs
+- if ( cmd.startsWith( TQString::tqfromLatin1( "\\\\") ) )
++ if ( cmd.startsWith( TQString::fromLatin1( "\\\\") ) )
+ {
+ // make sure path is unix style
+ cmd.replace('\\', '/');
+- cmd.prepend( TQString::tqfromLatin1( "smb:" ) );
++ cmd.prepend( TQString::fromLatin1( "smb:" ) );
+ setFilteredURI( data, KURL( cmd ));
+ setURIType( data, KURIFilterData::NET_PROTOCOL );
+ return true;
+@@ -379,7 +379,7 @@
+ u.setRef(ref);
+ u.setQuery(query);
+
+- if (kapp && !kapp->authorizeURLAction( TQString::tqfromLatin1("open"), KURL(), u))
++ if (kapp && !kapp->authorizeURLAction( TQString::fromLatin1("open"), KURL(), u))
+ {
+ // No authorisation, we pretend it's a file will get
+ // an access denied error later on.
+@@ -514,7 +514,7 @@
+ u.setPath(path);
+ u.setRef(ref);
+
+- if (kapp && !kapp->authorizeURLAction( TQString::tqfromLatin1("open"), KURL(), u))
++ if (kapp && !kapp->authorizeURLAction( TQString::fromLatin1("open"), KURL(), u))
+ {
+ // No authorisation, we pretend it exists and will get
+ // an access denied error later on.
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/filetypes/filetypedetails.cpp v3.5.13-sru/kcontrol/filetypes/filetypedetails.cpp
+--- /tmp/stable//kdebase/kcontrol/filetypes/filetypedetails.cpp 2011-03-12 07:57:40.000000000 +0100
++++ v3.5.13-sru/kcontrol/filetypes/filetypedetails.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -100,7 +100,7 @@
+ m_autoEmbed->layout()->setSpacing( KDialog::spacingHint() );
+ secondLayout->addWidget( m_autoEmbed, 1 );
+
+- m_autoEmbed->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, m_autoEmbed->sizePolicy().hasHeightForWidth() ) );
++ m_autoEmbed->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, m_autoEmbed->sizePolicy().hasHeightForWidth() ) );
+
+ // The order of those three items is very important. If you change it, fix typeslistitem.cpp !
+ new TQRadioButton( i18n("Show file in embedded viewer"), m_autoEmbed );
+@@ -120,7 +120,7 @@
+ secondLayout->addSpacing(10);
+
+ embedServiceListWidget = new KServiceListWidget( KServiceListWidget::SERVICELIST_SERVICES, secondWidget );
+- embedServiceListWidget->setMinimumHeight( serviceListWidget->tqsizeHint().height() );
++ embedServiceListWidget->setMinimumHeight( serviceListWidget->sizeHint().height() );
+ connect( embedServiceListWidget, TQT_SIGNAL(changed(bool)), this, TQT_SIGNAL(changed(bool)));
+ secondLayout->addWidget(embedServiceListWidget, 3);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/filetypes/filetypesview.cpp v3.5.13-sru/kcontrol/filetypes/filetypesview.cpp
+--- /tmp/stable//kdebase/kcontrol/filetypes/filetypesview.cpp 2011-08-11 07:25:27.000000000 +0200
++++ v3.5.13-sru/kcontrol/filetypes/filetypesview.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -126,7 +126,7 @@
+
+ // Widget shown on startup
+ m_emptyWidget = new TQLabel( i18n("Select a file type by name or by extension"), m_widgetStack);
+- m_emptyWidget->tqsetAlignment(AlignCenter);
++ m_emptyWidget->setAlignment(AlignCenter);
+
+ m_widgetStack->addWidget( m_emptyWidget, 3 /*id*/ );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/filetypes/typeslistitem.cpp v3.5.13-sru/kcontrol/filetypes/typeslistitem.cpp
+--- /tmp/stable//kdebase/kcontrol/filetypes/typeslistitem.cpp 2011-08-11 07:25:27.000000000 +0200
++++ v3.5.13-sru/kcontrol/filetypes/typeslistitem.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -69,7 +69,7 @@
+ KSharedConfig::Ptr config = KSharedConfig::openConfig("konquerorrc", false, false);
+ config->setGroup("EmbedSettings");
+ bool defaultValue = defaultEmbeddingSetting( major );
+- m_autoEmbed = config->readBoolEntry( TQString::tqfromLatin1("embed-")+m_major, defaultValue ) ? 0 : 1;
++ m_autoEmbed = config->readBoolEntry( TQString::fromLatin1("embed-")+m_major, defaultValue ) ? 0 : 1;
+ }
+
+ bool TypesListItem::defaultEmbeddingSetting( const TQString& major )
+@@ -230,7 +230,7 @@
+ KSharedConfig::Ptr config = KSharedConfig::openConfig("konquerorrc", false, false);
+ config->setGroup("EmbedSettings");
+ bool defaultValue = defaultEmbeddingSetting(m_major);
+- unsigned int oldAutoEmbed = config->readBoolEntry( TQString::tqfromLatin1("embed-")+m_major, defaultValue ) ? 0 : 1;
++ unsigned int oldAutoEmbed = config->readBoolEntry( TQString::fromLatin1("embed-")+m_major, defaultValue ) ? 0 : 1;
+ if ( m_autoEmbed != oldAutoEmbed )
+ return true;
+ }
+@@ -249,7 +249,7 @@
+ {
+ KSharedConfig::Ptr config = KSharedConfig::openConfig("konquerorrc", false, false);
+ config->setGroup("EmbedSettings");
+- config->writeEntry( TQString::tqfromLatin1("embed-")+m_major, m_autoEmbed == 0 );
++ config->writeEntry( TQString::fromLatin1("embed-")+m_major, m_autoEmbed == 0 );
+ return;
+ }
+
+@@ -286,9 +286,9 @@
+ config.writeEntry("Hidden", false);
+
+ if ( m_autoEmbed == 2 )
+- config.deleteEntry( TQString::tqfromLatin1("X-KDE-AutoEmbed"), false );
++ config.deleteEntry( TQString::fromLatin1("X-KDE-AutoEmbed"), false );
+ else
+- config.writeEntry( TQString::tqfromLatin1("X-KDE-AutoEmbed"), m_autoEmbed == 0 );
++ config.writeEntry( TQString::fromLatin1("X-KDE-AutoEmbed"), m_autoEmbed == 0 );
+
+ m_bNewItem = false;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/fonts/fonts.cpp v3.5.13-sru/kcontrol/fonts/fonts.cpp
+--- /tmp/stable//kdebase/kcontrol/fonts/fonts.cpp 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/fonts/fonts.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -688,7 +688,7 @@
+ void KFonts::load( bool useDefaults )
+ {
+ for ( uint i = 0; i < fontUseList.count(); i++ )
+- fontUseList.tqat( i )->readFont( useDefaults );
++ fontUseList.at( i )->readFont( useDefaults );
+
+ useAA_original = useAA = aaSettings->load( useDefaults ) ? AAEnabled : AADisabled;
+ cbAA->setCurrentItem( useAA );
+@@ -779,7 +779,7 @@
+ if (ret == KDialog::Accepted && fontDiffFlags)
+ {
+ for ( int i = 0; i < (int) fontUseList.count(); i++ )
+- fontUseList.tqat( i )->applyFontDiff( font,fontDiffFlags );
++ fontUseList.at( i )->applyFontDiff( font,fontDiffFlags );
+ emit changed(true);
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/fonts/kxftconfig.cpp v3.5.13-sru/kcontrol/fonts/kxftconfig.cpp
+--- /tmp/stable//kdebase/kcontrol/fonts/kxftconfig.cpp 2011-08-16 01:07:50.000000000 +0200
++++ v3.5.13-sru/kcontrol/fonts/kxftconfig.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -52,7 +52,7 @@
+ unsigned int len = home.length();
+
+ if(path.length() == len || path[len] == '/')
+- return path.replace(0, len, TQString::tqfromLatin1("~"));
++ return path.replace(0, len, TQString::fromLatin1("~"));
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/iccconfig/iccconfigbase.ui v3.5.13-sru/kcontrol/iccconfig/iccconfigbase.ui
+--- /tmp/stable//kdebase/kcontrol/iccconfig/iccconfigbase.ui 2011-07-05 21:59:37.000000000 +0200
++++ v3.5.13-sru/kcontrol/iccconfig/iccconfigbase.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -168,7 +168,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/iccconfig/iccconfig.cpp v3.5.13-sru/kcontrol/iccconfig/iccconfig.cpp
+--- /tmp/stable//kdebase/kcontrol/iccconfig/iccconfig.cpp 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/iccconfig/iccconfig.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -65,8 +65,8 @@
+ {
+
+ TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+- config = new KSimpleConfig( TQString::tqfromLatin1( "kiccconfigrc" ));
+- systemconfig = new KSimpleConfig( TQString::tqfromLatin1( KDE_CONFDIR "/kicc/kiccconfigrc" ));
++ config = new KSimpleConfig( TQString::fromLatin1( "kiccconfigrc" ));
++ systemconfig = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/kicc/kiccconfigrc" ));
+
+ KAboutData *about =
+ new KAboutData(I18N_NOOP("kcmiccconfig"), I18N_NOOP("KDE ICC Profile Control Module"),
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/iccconfig/iccconfig.desktop v3.5.13-sru/kcontrol/iccconfig/iccconfig.desktop
+--- /tmp/stable//kdebase/kcontrol/iccconfig/iccconfig.desktop 2010-08-12 05:28:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/iccconfig/iccconfig.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -9,7 +9,7 @@
+ X-KDE-RootOnly=true
+ X-KDE-SubstituteUID=true
+
+-Categories=Qt;KDE;X-KDE-settings-peripherals;
++Categories=Qt;KDE;X-KDE-settings-hardware;
+ Comment=Configure display ICC profile
+ Comment[en_US]=Configure display ICC profile
+ DocPath=kcontrol/iccconfig.html
+@@ -18,4 +18,6 @@
+ Keywords=ICC,display,color,profile
+ MimeType=
+ Name=ICC Color Profile
+-Name[en_US]=ICC Color Profile
+\ Pas de fin de ligne à la fin du fichier
++Name[en_US]=ICC Color Profile
++
++NoDisplay=false
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/icons/CMakeLists.txt v3.5.13-sru/kcontrol/icons/CMakeLists.txt
+--- /tmp/stable//kdebase/kcontrol/icons/CMakeLists.txt 2011-03-12 07:57:49.000000000 +0100
++++ v3.5.13-sru/kcontrol/icons/CMakeLists.txt 2012-07-31 17:17:50.000000000 +0200
+@@ -14,6 +14,7 @@
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
++ ${LIBART_INCLUDE_DIRS}
+ )
+
+ link_directories(
+@@ -30,6 +31,6 @@
+
+ tde_add_kpart( kcm_icons AUTOMOC
+ SOURCES iconthemes.cpp icons.cpp main.cpp
+- LINK kio-shared
++ LINK kio-shared ${LIBART_LIBRARIES}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/icons/icons.cpp v3.5.13-sru/kcontrol/icons/icons.cpp
+--- /tmp/stable//kdebase/kcontrol/icons/icons.cpp 2011-08-11 07:25:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/icons/icons.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -80,7 +80,7 @@
+
+ // Size
+ TQLabel *lbl = new TQLabel(i18n("Size:"), m_pTab1);
+- lbl->setFixedSize(lbl->tqsizeHint());
++ lbl->setFixedSize(lbl->sizeHint());
+ grid->addWidget(lbl, 0, 0, Qt::AlignLeft);
+ mpSizeBox = new TQComboBox(m_pTab1);
+ connect(mpSizeBox, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSize(int)));
+@@ -105,8 +105,8 @@
+
+ top->activate();
+
+- mpSystrayConfig = new KSimpleConfig( TQString::tqfromLatin1( "systemtray_panelappletrc" ));
+- mpKickerConfig = new KSimpleConfig( TQString::tqfromLatin1( "kickerrc" ));
++ mpSystrayConfig = new KSimpleConfig( TQString::fromLatin1( "systemtray_panelappletrc" ));
++ mpKickerConfig = new KSimpleConfig( TQString::fromLatin1( "kickerrc" ));
+
+ init();
+ read();
+@@ -125,7 +125,7 @@
+ TQLabel *lab = new TQLabel(str, parent);
+ lay->addWidget(lab, 1, i, Qt::AlignCenter);
+ mpPreview[i] = new TQLabel(parent);
+- mpPreview[i]->tqsetAlignment(AlignCenter);
++ mpPreview[i]->setAlignment(AlignCenter);
+ mpPreview[i]->setMinimumSize(105, 105);
+ lay->addWidget(mpPreview[i], 2, i);
+ TQPushButton *push = new TQPushButton(i18n("Set Effect..."), parent);
+@@ -302,12 +302,12 @@
+
+ if (mpUsageList->currentText() == i18n("Panel Buttons")) {
+ mpSizeBox->clear();
+- mpSizeBox->insertItem(TQString().tqsetNum(16));
+- mpSizeBox->insertItem(TQString().tqsetNum(22));
+- mpSizeBox->insertItem(TQString().tqsetNum(32));
+- mpSizeBox->insertItem(TQString().tqsetNum(48));
+- mpSizeBox->insertItem(TQString().tqsetNum(64));
+- mpSizeBox->insertItem(TQString().tqsetNum(128));
++ mpSizeBox->insertItem(TQString().setNum(16));
++ mpSizeBox->insertItem(TQString().setNum(22));
++ mpSizeBox->insertItem(TQString().setNum(32));
++ mpSizeBox->insertItem(TQString().setNum(48));
++ mpSizeBox->insertItem(TQString().setNum(64));
++ mpSizeBox->insertItem(TQString().setNum(128));
+ for (i=0;i<(mpSizeBox->count());i++) {
+ if (mpSizeBox->text(i) == TQString().setNum(mQuickLaunchSize)) {
+ mpSizeBox->setCurrentItem(i);
+@@ -316,12 +316,12 @@
+ }
+ else if (mpUsageList->currentText() == i18n("System Tray Icons")) {
+ mpSizeBox->clear();
+- mpSizeBox->insertItem(TQString().tqsetNum(16));
+- mpSizeBox->insertItem(TQString().tqsetNum(22));
+- mpSizeBox->insertItem(TQString().tqsetNum(32));
+- mpSizeBox->insertItem(TQString().tqsetNum(48));
+- mpSizeBox->insertItem(TQString().tqsetNum(64));
+- mpSizeBox->insertItem(TQString().tqsetNum(128));
++ mpSizeBox->insertItem(TQString().setNum(16));
++ mpSizeBox->insertItem(TQString().setNum(22));
++ mpSizeBox->insertItem(TQString().setNum(32));
++ mpSizeBox->insertItem(TQString().setNum(48));
++ mpSizeBox->insertItem(TQString().setNum(64));
++ mpSizeBox->insertItem(TQString().setNum(128));
+ for (i=0;i<(mpSizeBox->count());i++) {
+ if (mpSizeBox->text(i) == TQString().setNum(mSysTraySize)) {
+ mpSizeBox->setCurrentItem(i);
+@@ -335,7 +335,7 @@
+ if (mUsage < KIcon::LastGroup) {
+ for (it=mAvSizes[mUsage].begin(), i=0; it!=mAvSizes[mUsage].end(); ++it, i++)
+ {
+- mpSizeBox->insertItem(TQString().tqsetNum(*it));
++ mpSizeBox->insertItem(TQString().setNum(*it));
+ dw = abs(mSizes[mUsage] - *it);
+ if (dw < delta)
+ {
+@@ -688,7 +688,7 @@
+ top->setRowStretch(1,1);
+
+ lbl = new TQLabel(i18n("&Effect:"), page);
+- lbl->setFixedSize(lbl->tqsizeHint());
++ lbl->setFixedSize(lbl->sizeHint());
+ top->addWidget(lbl, 0, 0, Qt::AlignLeft);
+ mpEffectBox = new TQListBox(page);
+ mpEffectBox->insertItem(i18n("No Effect"));
+@@ -713,7 +713,7 @@
+ grid->setRowStretch(1, 1);
+
+ mpPreview = new TQLabel(frame);
+- mpPreview->tqsetAlignment(AlignCenter);
++ mpPreview->setAlignment(AlignCenter);
+ mpPreview->setMinimumSize(105, 105);
+ grid->addWidget(mpPreview, 1, 0);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/cdinfo.desktop v3.5.13-sru/kcontrol/info/cdinfo.desktop
+--- /tmp/stable//kdebase/kcontrol/info/cdinfo.desktop 2010-08-12 05:28:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/cdinfo.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -163,4 +163,4 @@
+ Keywords[vi]=Thông tin đĩa CD-ROM,CD-ROM,CD, ổ đĩa CD, Khả năng ổ ghi
+ Keywords[wa]=Informåcion do CD-ROM,CD-ROM,CD,léjheu d' CD,Usteyes di scrijhaedje
+
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/devices.desktop v3.5.13-sru/kcontrol/info/devices.desktop
+--- /tmp/stable//kdebase/kcontrol/info/devices.desktop 2010-08-12 05:28:33.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/devices.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -3,7 +3,7 @@
+ Icon=kcmdevices
+ Type=Application
+ DocPath=kinfocenter/devices/index.html
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+
+ X-KDE-Library=info
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/dma.desktop v3.5.13-sru/kcontrol/info/dma.desktop
+--- /tmp/stable//kdebase/kcontrol/info/dma.desktop 2010-08-12 05:28:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/dma.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -3,7 +3,7 @@
+ Icon=kcmmemory
+ Type=Application
+ DocPath=kinfocenter/dma/index.html
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+
+ X-KDE-Library=info
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/info.cpp v3.5.13-sru/kcontrol/info/info.cpp
+--- /tmp/stable//kdebase/kcontrol/info/info.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/info/info.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -80,7 +80,7 @@
+ {
+ TQString hexstr;
+ int i;
+- hexstr = TQString::tqfromLatin1("0x%1").arg(val, digits, 16/*=HEX*/);
++ hexstr = TQString::fromLatin1("0x%1").arg(val, digits, 16/*=HEX*/);
+ for (i=hexstr.length()-1; i>0; --i)
+ if (hexstr[i]==' ')
+ hexstr[i] = '0';
+@@ -167,7 +167,7 @@
+ for (i = 0; i < ndepths; i++) {
+ txt = txt + Value(depths[i]);
+ if (i < ndepths - 1)
+- txt = txt + TQString::tqfromLatin1(", ");
++ txt = txt + TQString::fromLatin1(", ");
+ }
+
+ last = new TQListViewItem(item, last, i18n("Depths (%1)").arg(ndepths,-1), txt);
+@@ -204,7 +204,7 @@
+ &width, &height);
+ last = new TQListViewItem(item, last, i18n("Largest Cursor"),
+ (width == 65535 && height == 65535)
+- ? i18n("unlimited") : TQString::tqfromLatin1("%1 x %2").arg(width).arg(height));
++ ? i18n("unlimited") : TQString::fromLatin1("%1 x %2").arg(width).arg(height));
+
+ last = new TQListViewItem(item, last, i18n("Current Input Event Mask"),
+ HexStr((unsigned long)EventMaskOfScreen(s),HEXDIGITS));
+@@ -272,12 +272,12 @@
+ last = new TQListViewItem(next, i18n("Name of the Display"),
+ DisplayString(dpy));
+
+- last = new TQListViewItem(next, last, i18n("Vendor String"), TQString::tqfromLatin1(ServerVendor(dpy)));
++ last = new TQListViewItem(next, last, i18n("Vendor String"), TQString::fromLatin1(ServerVendor(dpy)));
+ last = new TQListViewItem(next, last, i18n("Vendor Release Number"),
+ Value((int)VendorRelease(dpy)));
+
+ last = new TQListViewItem(next, last, i18n("Version Number"),
+- TQString::tqfromLatin1("%1.%2").arg((int)ProtocolVersion(dpy))
++ TQString::fromLatin1("%1.%2").arg((int)ProtocolVersion(dpy))
+ .arg((int)ProtocolRevision(dpy)));
+
+ last = item = new TQListViewItem(next, last, i18n("Available Screens"));
+@@ -294,7 +294,7 @@
+ int extCount;
+ char **extensions = XListExtensions( dpy, &extCount );
+ for ( i = 0; i < extCount; i++ ) {
+- item = new TQListViewItem( last, item, TQString::tqfromLatin1( extensions[i] ) );
++ item = new TQListViewItem( last, item, TQString::fromLatin1( extensions[i] ) );
+ }
+ XFreeExtensionList( extensions );
+
+@@ -356,7 +356,7 @@
+ retrieve-function. If the function wants the widget to show
+ another string, then it change *GetInfo_ErrorString ! */
+ ErrorString = i18n("No information available about %1.").arg(title)
+- + TQString::tqfromLatin1("\n\n") + DEFAULT_ERRORSTRING;
++ + TQString::fromLatin1("\n\n") + DEFAULT_ERRORSTRING;
+ GetInfo_ErrorString = &ErrorString; /* save the address of ErrorString */
+
+ sorting_allowed = true; /* the functions may set that */
+@@ -425,7 +425,7 @@
+ TQWhatsThis::add( lBox, i18n( "This list displays system information on the selected category." ) );
+ NoInfoText = new TQLabel(widgetStack);
+ widgetStack->addWidget(NoInfoText, 1);
+- NoInfoText->tqsetAlignment(AlignCenter | WordBreak);
++ NoInfoText->setAlignment(AlignCenter | WordBreak);
+ widgetStack->raiseWidget(NoInfoText);
+ load();
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/info_netbsd.cpp v3.5.13-sru/kcontrol/info/info_netbsd.cpp
+--- /tmp/stable//kdebase/kcontrol/info/info_netbsd.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/info_netbsd.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -296,18 +296,18 @@
+
+ // convert to strings
+ vv[0] = KIO::convertSize(big[0]);
+- vv[1] = TQString::tqfromLatin1("%1 (%2%%)")
++ vv[1] = TQString::fromLatin1("%1 (%2%%)")
+ .arg(KIO::convertSize(big[1]))
+ .arg(mnt->f_blocks ? mnt->f_bavail*100/mnt->f_blocks : 0);
+
+ // FIXME: these two are large enough to punctuate
+ vv[2] = TQString::number(mnt->f_files);
+- vv[3] = TQString::tqfromLatin1("%1 (%2%%) ")
++ vv[3] = TQString::fromLatin1("%1 (%2%%) ")
+ .arg(mnt->f_ffree)
+ .arg(mnt->f_files ? mnt->f_ffree*100/mnt->f_files : 0);
+
+ vv[4] = TQString::null;
+-#define MNTF(x) if (mnt->f_flags & MNT_##x) vv[4] += TQString::tqfromLatin1(#x " ");
++#define MNTF(x) if (mnt->f_flags & MNT_##x) vv[4] += TQString::fromLatin1(#x " ");
+ MNTF(ASYNC)
+ MNTF(DEFEXPORTED)
+ MNTF(EXKERB)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/info_solaris.cpp v3.5.13-sru/kcontrol/info/info_solaris.cpp
+--- /tmp/stable//kdebase/kcontrol/info/info_solaris.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/info/info_solaris.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -184,10 +184,10 @@
+ lBox->addColumn( i18n( "Mount Point" ));
+ lBox->addColumn( i18n( "FS Type" ));
+ lBox->addColumn( i18n( "Total Size" ));
+- // XXX: FIXME: how do I set column tqalignment correctly?
++ // XXX: FIXME: how do I set column alignment correctly?
+ lBox->setColumnAlignment( 3, 2 );
+ lBox->addColumn( i18n( "Free Size" ));
+- // XXX: FIXME: how do I set column tqalignment correctly?
++ // XXX: FIXME: how do I set column alignment correctly?
+ lBox->setColumnAlignment( 4, 2 );
+ lBox->addColumn( i18n( "Mount Time" ));
+ lBox->addColumn( i18n( "Mount Options" ));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/interrupts.desktop v3.5.13-sru/kcontrol/info/interrupts.desktop
+--- /tmp/stable//kdebase/kcontrol/info/interrupts.desktop 2010-08-12 05:28:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/interrupts.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -3,7 +3,7 @@
+ Icon=kcmmemory
+ Type=Application
+ DocPath=kinfocenter/interrupts/index.html
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+
+ X-KDE-Library=info
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/ioports.desktop v3.5.13-sru/kcontrol/info/ioports.desktop
+--- /tmp/stable//kdebase/kcontrol/info/ioports.desktop 2010-08-12 05:28:33.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/ioports.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -3,7 +3,7 @@
+ Icon=kcmmemory
+ Type=Application
+ DocPath=kinfocenter/ioports/index.html
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+
+ X-KDE-Library=info
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/memory.cpp v3.5.13-sru/kcontrol/info/memory.cpp
+--- /tmp/stable//kdebase/kcontrol/info/memory.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/info/memory.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -163,7 +163,7 @@
+ break;
+ };
+ Widget = new TQLabel(title, this);
+- Widget->tqsetAlignment(AlignLeft);
++ Widget->setAlignment(AlignLeft);
+ vbox->addWidget(Widget, 1);
+ }
+
+@@ -174,7 +174,7 @@
+ if (i == SWAP_MEM)
+ vbox->addSpacing(SPACING);
+ Widget = new TQLabel(this);
+- Widget->tqsetAlignment(AlignRight);
++ Widget->setAlignment(AlignRight);
+ MemSizeLabel[i][j] = Widget;
+ vbox->addWidget(Widget, 1);
+ }
+@@ -228,7 +228,7 @@
+ hint = "<qt>" + hint + "</qt>";
+
+ Widget = new TQLabel("<b>" + title + "</b>", this);
+- Widget->tqsetAlignment(AlignCenter);
++ Widget->setAlignment(AlignCenter);
+ TQToolTip::add(Widget, hint);
+ vbox->addWidget(Widget);
+ vbox->addSpacing(SPACING / 2);
+@@ -243,7 +243,7 @@
+ vbox->addSpacing(SPACING / 2);
+
+ Widget = new TQLabel(this); /* xx MB used. */
+- Widget->tqsetAlignment(AlignCenter);
++ Widget->setAlignment(AlignCenter);
+ TQToolTip::add(Widget, hint);
+ GraphLabel[i] = Widget;
+ vbox->addWidget(Widget);
+@@ -288,7 +288,7 @@
+ TQPixmap pm(width, height);
+ TQPainter paint;
+
+- paint.tqbegin(&pm, this);
++ paint.begin(&pm, this);
+
+ TQPen pen(TQColor(0, 0, 0));
+
+@@ -342,7 +342,7 @@
+ /* draw surrounding box */
+ paint.setPen(pen);
+ TQRect r = graph->rect();
+- qDrawShadePanel(&paint, r.x(), r.y(), r.width(), r.height(), tqpalette().active(), true, 1);
++ qDrawShadePanel(&paint, r.x(), r.y(), r.width(), r.height(), palette().active(), true, 1);
+ paint.end();
+ bitBlt(graph, 0, 0, &pm);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/memory.desktop v3.5.13-sru/kcontrol/info/memory.desktop
+--- /tmp/stable//kdebase/kcontrol/info/memory.desktop 2010-08-12 05:28:33.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/memory.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -245,5 +245,5 @@
+ Keywords[zh_CN]=Memory,RAM,Virtual memory,Physical memory,Shared memory,Swap,System Information,内存,虚拟存储,物ç†å­˜å‚¨,共享内存,交æ¢,系统信æ¯
+ Keywords[zh_TW]=Memory,RAM,Virtual memory,Physical memory,Shared memory,Swap,System Information,記憶體,虛擬記憶體,實體記憶體,共享記憶體,系統資訊
+ Keywords[zu]=Inkumbulo,RAM,Inkumbulo yamanga,Inkumbulo siqu,Inkumbulo yokwabelana,Shintshanisa,Ulwazi Lwesistimu
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/opengl.cpp v3.5.13-sru/kcontrol/info/opengl.cpp
+--- /tmp/stable//kdebase/kcontrol/info/opengl.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/opengl.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -194,7 +194,7 @@
+
+ if (!ext || !ext[0])
+ return;
+- TQString qext = TQString::tqfromLatin1(ext);
++ TQString qext = TQString::fromLatin1(ext);
+ TQListViewItem *l2 = NULL;
+
+ i = j = 0;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/opengl.desktop v3.5.13-sru/kcontrol/info/opengl.desktop
+--- /tmp/stable//kdebase/kcontrol/info/opengl.desktop 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/info/opengl.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -8,7 +8,7 @@
+
+ X-KDE-Library=info
+ X-KDE-FactoryName=opengl
+-X-KDE-ParentApp=kinfocenter
++X-KDE-ParentApp=kcontrol
+
+ Name=OpenGL
+ Name[bn]=ওপেন-জি-à¦à¦²
+@@ -145,5 +145,5 @@
+ Keywords[zh_CN]=OpenGL,DRI,GLX,3D,VideoCard,Hardware Acceleration,Graphics,X,X11,Xserver,X-Server,XFree86,Display,显å¡,硬件加速,图形,X æœåŠ¡å™¨,显示
+ Keywords[zh_TW]=OpenGL,DRI,GLX,3D,VideoCard,Hardware Acceleration,Graphics,X,X11,Xserver,X-Server,XFree86,Display,顯示å¡,硬體加速,圖形,顯示
+
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/partitions.desktop v3.5.13-sru/kcontrol/info/partitions.desktop
+--- /tmp/stable//kdebase/kcontrol/info/partitions.desktop 2010-08-12 05:28:33.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/partitions.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -243,5 +243,5 @@
+ Keywords[zh_TW]=Partitions,Harddrive,HD,System Information,ç£ç¢Ÿåˆ†å‰²å€,硬å¼ç£ç¢Ÿæ©Ÿ,硬碟,系統資訊
+ Keywords[zu]=Izahluko,Harddrive,HD,Ulwazi Lwesistimu
+
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/pci.desktop v3.5.13-sru/kcontrol/info/pci.desktop
+--- /tmp/stable//kdebase/kcontrol/info/pci.desktop 2010-08-12 05:28:33.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/pci.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -177,5 +177,5 @@
+ Keywords[zh_CN]=PCI,PCI-Devices,PCI-Bus,System Information,PCI 设备,PCI 总线,系统信æ¯
+ Keywords[zh_TW]=PCI,PCI-Devices,PCI-Bus,System Information,PCI 設備,PCI 匯æµæŽ’,系統資訊
+ Keywords[zu]=PCI,Amathuluzi-PCI,Ibhasi-PCI,Ulwaz Lwesistimu
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/processor.desktop v3.5.13-sru/kcontrol/info/processor.desktop
+--- /tmp/stable//kdebase/kcontrol/info/processor.desktop 2010-08-12 05:28:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/processor.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -246,5 +246,5 @@
+ Keywords[zh_CN]=Processor,CPU,FPU,MHz,System Information,处ç†å™¨,系统信æ¯
+ Keywords[zh_TW]=Processor,CPU,FPU,MHz,System Information,處ç†å™¨,中央處ç†å™¨,浮點é‹ç®—器,系統資訊
+ Keywords[zu]=Umqhubekisi,CPU,FPU,MHz,Ulwazi Lwesistimu
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/scsi.desktop v3.5.13-sru/kcontrol/info/scsi.desktop
+--- /tmp/stable//kdebase/kcontrol/info/scsi.desktop 2010-08-12 05:28:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/scsi.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -174,5 +174,5 @@
+ Keywords[zh_CN]=SCSI,SCSI-Bus,System Information,SCSI 总线,系统信æ¯
+ Keywords[zh_TW]=SCSI,SCSI-Bus,System Information,系統資訊
+ Keywords[zu]=SCSI,Ibhasi-SCSI,Ulwazi Lwesistimu
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/sound.desktop v3.5.13-sru/kcontrol/info/sound.desktop
+--- /tmp/stable//kdebase/kcontrol/info/sound.desktop 2010-08-12 05:28:33.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/sound.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -240,5 +240,5 @@
+ Keywords[wa]=Son,Audiocåte son,MIDI,OSS,informåcion do sistinme
+ Keywords[zh_CN]=Sound,Audio,Soundcard,MIDI,OSS,System Information,音频,音å“,声å¡,系统信æ¯
+ Keywords[zh_TW]=Sound,Audio,Soundcard,Midi,OSS,系統資訊
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/xserver.desktop v3.5.13-sru/kcontrol/info/xserver.desktop
+--- /tmp/stable//kdebase/kcontrol/info/xserver.desktop 2010-08-12 05:28:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/xserver.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -224,4 +224,4 @@
+ Keywords[zh_CN]=X,X-Server,XServer,XFree86,Display,VideoCard,System InformationX æœåŠ¡å™¨,显示器,显å¡,系统信æ¯
+ Keywords[zh_TW]=X,X-Server,XServer,XFree86,Display,VideoCard,System Information,X 伺æœå™¨,X伺æœå™¨,顯示器,顯示å¡,系統資訊
+
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/input/kmousedlg.ui v3.5.13-sru/kcontrol/input/kmousedlg.ui
+--- /tmp/stable//kdebase/kcontrol/input/kmousedlg.ui 2011-03-12 07:57:40.000000000 +0100
++++ v3.5.13-sru/kcontrol/input/kmousedlg.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -57,7 +57,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -74,7 +74,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -112,7 +112,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>150</width>
+ <height>115</height>
+@@ -181,10 +181,10 @@
+ </widget>
+ <widget class="TQCheckBox" row="2" column="1" rowspan="1" colspan="2">
+ <property name="name">
+- <cstring>cb_pointertqshape</cstring>
++ <cstring>cb_pointershape</cstring>
+ </property>
+ <property name="text">
+- <string>Cha&amp;nge pointer tqshape over icons</string>
++ <string>Cha&amp;nge pointer shape over icons</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+@@ -208,7 +208,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>60</height>
+@@ -235,7 +235,7 @@
+ <property name="name">
+ <cstring>slAutoSelect</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>250</width>
+ <height>0</height>
+@@ -258,7 +258,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>230</width>
+ <height>20</height>
+@@ -283,7 +283,7 @@
+ <property name="text">
+ <string>Long</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="hAlign" stdset="0">
+@@ -301,7 +301,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>21</height>
+@@ -331,7 +331,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+@@ -344,7 +344,7 @@
+ <connection>
+ <sender>singleClick</sender>
+ <signal>toggled(bool)</signal>
+- <receiver>cb_pointertqshape</receiver>
++ <receiver>cb_pointershape</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+@@ -364,7 +364,7 @@
+ <tabstop>rightHanded</tabstop>
+ <tabstop>leftHanded</tabstop>
+ <tabstop>singleClick</tabstop>
+- <tabstop>cb_pointertqshape</tabstop>
++ <tabstop>cb_pointershape</tabstop>
+ <tabstop>cbAutoSelect</tabstop>
+ <tabstop>slAutoSelect</tabstop>
+ <tabstop>doubleClick</tabstop>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/input/logitechmouse_base.ui v3.5.13-sru/kcontrol/input/logitechmouse_base.ui
+--- /tmp/stable//kdebase/kcontrol/input/logitechmouse_base.ui 2011-03-12 07:57:40.000000000 +0100
++++ v3.5.13-sru/kcontrol/input/logitechmouse_base.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -31,7 +31,7 @@
+ <property name="text">
+ <string>You have a Logitech Mouse connected, and libusb was found at compile time, but it was not possible to access this mouse. This is probably caused by a permissions problem - you should consult the manual on how to fix this.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/input/mouse.cpp v3.5.13-sru/kcontrol/input/mouse.cpp
+--- /tmp/stable//kdebase/kcontrol/input/mouse.cpp 2011-03-12 07:57:40.000000000 +0100
++++ v3.5.13-sru/kcontrol/input/mouse.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -150,7 +150,7 @@
+ connect(tab1->slAutoSelect, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed()));
+ connect(tab1->cbVisualActivate, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed()));
+
+- connect(tab1->cb_pointertqshape, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed()));
++ connect(tab1->cb_pointershape, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed()));
+
+ connect(tab1->singleClick, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed()));
+ connect(tab1->singleClick, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClick()));
+@@ -291,7 +291,7 @@
+ TQBoxLayout *vbox = new TQVBoxLayout(mouse, KDialog::marginHint(),
+ KDialog::spacingHint());
+
+- TQVBoxLayout *vvbox = new TQVBoxLayout(mouse->tqlayout(), KDialog::spacingHint());
++ TQVBoxLayout *vvbox = new TQVBoxLayout(mouse->layout(), KDialog::spacingHint());
+
+ mouseKeys = new TQCheckBox(i18n("&Move pointer with keyboard (using the num pad)"), mouse);
+ vvbox->addWidget(mouseKeys);
+@@ -506,7 +506,7 @@
+
+ tab1->singleClick->setChecked( settings->singleClick );
+ tab1->doubleClick->setChecked(!settings->singleClick);
+- tab1->cb_pointertqshape->setChecked(settings->changeCursor);
++ tab1->cb_pointershape->setChecked(settings->changeCursor);
+ tab1->cbAutoSelect->setChecked( settings->autoSelectDelay >= 0 );
+ if ( settings->autoSelectDelay < 0 )
+ tab1->slAutoSelect->setValue( 0 );
+@@ -564,7 +564,7 @@
+ settings->autoSelectDelay = tab1->cbAutoSelect->isChecked()? tab1->slAutoSelect->value():-1;
+ settings->visualActivate = tab1->cbVisualActivate->isChecked();
+ // settings->changeCursor = tab1->singleClick->isChecked();
+- settings->changeCursor = tab1->cb_pointertqshape->isChecked();
++ settings->changeCursor = tab1->cb_pointershape->isChecked();
+ settings->reverseScrollPolarity = tab1->cbScrollPolarity->isChecked();
+
+ settings->apply();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/input/xcursor/previewwidget.cpp v3.5.13-sru/kcontrol/input/xcursor/previewwidget.cpp
+--- /tmp/stable//kdebase/kcontrol/input/xcursor/previewwidget.cpp 2011-03-12 07:57:40.000000000 +0100
++++ v3.5.13-sru/kcontrol/input/xcursor/previewwidget.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -286,7 +286,7 @@
+
+ void PreviewWidget::setTheme( const TQString &theme )
+ {
+- tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+
+ int minHeight = previewSize + 20; // Minimum height of the preview widget
+ int maxHeight = height(); // Tallest cursor height
+@@ -302,8 +302,8 @@
+
+ current = -1;
+ setFixedSize( ( maxWidth + cursorSpacing ) * numCursors, kMax( maxHeight, minHeight ) );
+- tqsetUpdatesEnabled( true );
+- tqrepaint( false );
++ setUpdatesEnabled( true );
++ repaint( false );
+ }
+
+
+@@ -311,7 +311,7 @@
+ {
+ TQPixmap buffer( size() );
+ TQPainter p( &buffer );
+- p.fillRect( rect(), tqcolorGroup().brush( TQColorGroup::Background ) );
++ p.fillRect( rect(), colorGroup().brush( TQColorGroup::Background ) );
+ Picture dest;
+
+ if ( !qt_has_xft || !qt_use_xrender ) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/joystick/caldialog.cpp v3.5.13-sru/kcontrol/joystick/caldialog.cpp
+--- /tmp/stable//kdebase/kcontrol/joystick/caldialog.cpp 2011-03-12 07:57:46.000000000 +0100
++++ v3.5.13-sru/kcontrol/joystick/caldialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -65,7 +65,7 @@
+
+ do
+ {
+- tqApp->tqprocessEvents(2000);
++ tqApp->processEvents(2000);
+ }
+ while ( ti.isActive() && (result() != TQDialog::Rejected) );
+
+@@ -165,7 +165,7 @@
+ // loop until the user presses a button on the device or on the dialog
+ do
+ {
+- tqApp->tqprocessEvents(100);
++ tqApp->processEvents(100);
+
+ if ( joydev->getEvent(type, number, value) )
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/joystick/joystick.cpp v3.5.13-sru/kcontrol/joystick/joystick.cpp
+--- /tmp/stable//kdebase/kcontrol/joystick/joystick.cpp 2011-03-12 07:57:46.000000000 +0100
++++ v3.5.13-sru/kcontrol/joystick/joystick.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -95,7 +95,7 @@
+
+ joyWidget = new JoyWidget(this);
+
+- setMinimumSize(joyWidget->tqminimumSize());
++ setMinimumSize(joyWidget->minimumSize());
+
+ setButtons(KCModule::Default);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/joystick/joywidget.cpp v3.5.13-sru/kcontrol/joystick/joywidget.cpp
+--- /tmp/stable//kdebase/kcontrol/joystick/joywidget.cpp 2011-08-11 07:25:30.000000000 +0200
++++ v3.5.13-sru/kcontrol/joystick/joywidget.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -56,7 +56,7 @@
+ TQLabel *icon = new TQLabel(messageBox);
+ icon->setPixmap(KGlobal::iconLoader()->loadIcon("messagebox_warning", KIcon::NoGroup,
+ KIcon::SizeMedium, KIcon::DefaultState, 0, true));
+- icon->setFixedSize(icon->tqsizeHint());
++ icon->setFixedSize(icon->sizeHint());
+ message = new TQLabel(messageBox);
+ messageBox->hide();
+ }
+@@ -170,7 +170,7 @@
+
+ // we found one
+
+- device->insertItem(TQString("%1 (%2)").tqarg(joy->text()).tqarg(joy->device()));
++ device->insertItem(TQString("%1 (%2)").arg(joy->text()).arg(joy->device()));
+
+ // display values for first device
+ if ( first )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/aboutwidget.cpp v3.5.13-sru/kcontrol/kcontrol/aboutwidget.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/aboutwidget.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/kcontrol/aboutwidget.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -82,7 +82,7 @@
+ // set qwhatsthis help
+ TQWhatsThis::add(this, i18n(intro_text));
+ _viewer = new KHTMLPart( this, "_viewer" );
+- _viewer->widget()->tqsetSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Ignored );
++ _viewer->widget()->setSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Ignored );
+ connect( _viewer->browserExtension(),
+ TQT_SIGNAL(openURLRequest(const KURL&, const KParts::URLArgs&)),
+ this, TQT_SLOT(slotModuleLinkClicked(const KURL&)) );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/dockcontainer.cpp v3.5.13-sru/kcontrol/kcontrol/dockcontainer.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/dockcontainer.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/kcontrol/dockcontainer.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -131,7 +131,7 @@
+ , _module(0L)
+ {
+ _busyw = new TQLabel(i18n("<big><b>Loading...</b></big>"), this);
+- _busyw->tqsetAlignment(AlignCenter);
++ _busyw->setAlignment(AlignCenter);
+ _busyw->setTextFormat(RichText);
+ _busyw->setGeometry(0,0, width(), height());
+ addWidget( _busyw );
+@@ -221,7 +221,7 @@
+
+ ProxyWidget *widget = loadModule( module );
+
+- KCGlobal::repairAccels( tqtopLevelWidget() );
++ KCGlobal::repairAccels( topLevelWidget() );
+ return ( widget!=0 );
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/global.cpp v3.5.13-sru/kcontrol/kcontrol/global.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/global.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/kcontrol/global.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -91,12 +91,12 @@
+ if (_infocenter)
+ {
+ kdWarning() << "No K menu group with X-KDE-BaseGroup=info found ! Defaulting to Settings/Information/" << endl;
+- _baseGroup = TQString::tqfromLatin1("Settings/Information/");
++ _baseGroup = TQString::fromLatin1("Settings/Information/");
+ }
+ else
+ {
+ kdWarning() << "No K menu group with X-KDE-BaseGroup=settings found ! Defaulting to Settings/" << endl;
+- _baseGroup = TQString::tqfromLatin1("Settings/");
++ _baseGroup = TQString::fromLatin1("Settings/");
+ }
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/helpwidget.cpp v3.5.13-sru/kcontrol/kcontrol/helpwidget.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/helpwidget.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/kcontrol/helpwidget.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -42,7 +42,7 @@
+ helptext = text;
+ else
+ helptext = (text + i18n("<p>Use the \"What's This?\" (Shift+F1) to get help on specific options.</p><p>To read the full manual click <a href=\"%1\">here</a>.</p>")
+- .tqarg(static_cast<const char *>(docPath.local8Bit())));
++ .arg(static_cast<const char *>(docPath.local8Bit())));
+ }
+
+ void HelpWidget::setBaseText()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/kcrootonly.cpp v3.5.13-sru/kcontrol/kcontrol/kcrootonly.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/kcrootonly.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/kcontrol/kcrootonly.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -30,9 +30,9 @@
+ TQLabel *label = new TQLabel(i18n("<big>You need super user privileges to run this control module.</big><br>"
+ "Click on the \"Administrator Mode\" button below."), this);
+ layout->addWidget(label);
+- label->tqsetAlignment(AlignCenter);
++ label->setAlignment(AlignCenter);
+ label->setTextFormat(RichText);
+- label->setMinimumSize(label->tqsizeHint());
++ label->setMinimumSize(label->sizeHint());
+ }
+
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/main.cpp v3.5.13-sru/kcontrol/kcontrol/main.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/main.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/kcontrol/main.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -77,9 +77,9 @@
+ int fontSize = toplevel->fontInfo().pointSize();
+ if (fontSize == 0)
+ fontSize = (toplevel->fontInfo().pixelSize() * 72) / pdm.logicalDpiX();
+- int x = config->readNumEntry(TQString::tqfromLatin1("InitialWidth %1").arg(desk.width()),
++ int x = config->readNumEntry(TQString::fromLatin1("InitialWidth %1").arg(desk.width()),
+ QMIN( desk.width(), 368 + (6*pdm.logicalDpiX()*fontSize)/12 ) );
+- int y = config->readNumEntry(TQString::tqfromLatin1("InitialHeight %1").arg(desk.height()),
++ int y = config->readNumEntry(TQString::fromLatin1("InitialHeight %1").arg(desk.height()),
+ QMIN( desk.height(), 312 + (4*pdm.logicalDpiX()*fontSize)/12 ) );
+ toplevel->resize(x,y);
+ }
+@@ -91,8 +91,8 @@
+ KConfig *config = KGlobal::config();
+ config->setGroup("General");
+ TQWidget *desk = TQT_TQWIDGET(TQApplication::desktop());
+- config->writeEntry(TQString::tqfromLatin1("InitialWidth %1").arg(desk->width()), toplevel->width());
+- config->writeEntry(TQString::tqfromLatin1("InitialHeight %1").arg(desk->height()), toplevel->height());
++ config->writeEntry(TQString::fromLatin1("InitialWidth %1").arg(desk->width()), toplevel->width());
++ config->writeEntry(TQString::fromLatin1("InitialHeight %1").arg(desk->height()), toplevel->height());
+ config->sync();
+ }
+ delete toplevel;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/modules.cpp v3.5.13-sru/kcontrol/kcontrol/modules.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/modules.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/kcontrol/modules.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -147,7 +147,7 @@
+ _embedFrame->setFrameStyle( TQFrame::Box | TQFrame::Raised );
+ TQPalette pal( red );
+ pal.setColor( TQColorGroup::Background,
+- _module->parentWidget()->tqcolorGroup().background() );
++ _module->parentWidget()->colorGroup().background() );
+ _embedFrame->setPalette( pal );
+ _embedFrame->setLineWidth( 2 );
+ _embedFrame->setMidLineWidth( 2 );
+@@ -158,7 +158,7 @@
+ _module->hide();
+ _embedFrame->show();
+ TQLabel *_busy = new TQLabel(i18n("<big>Loading...</big>"), _embedStack);
+- _busy->tqsetAlignment(AlignCenter);
++ _busy->setAlignment(AlignCenter);
+ _busy->setTextFormat(RichText);
+ _busy->setGeometry(0,0, _module->width(), _module->height());
+ _busy->show();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/moduletreeview.cpp v3.5.13-sru/kcontrol/kcontrol/moduletreeview.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/moduletreeview.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/kcontrol/moduletreeview.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -133,10 +133,10 @@
+
+
+
+-TQSize ModuleTreeView::tqsizeHint() const
++TQSize ModuleTreeView::sizeHint() const
+ {
+- return TQListView::tqsizeHint().boundedTo(
+- TQSize( fontMetrics().maxWidth()*35, QWIDGETSIZE_MAX) );
++ return TQListView::sizeHint().boundedTo(
++ TQSize( fontMetrics().maxWidth()*35, TQWIDGETSIZE_MAX) );
+ }
+
+ void ModuleTreeView::makeSelected(ConfigModule *module)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/moduletreeview.h v3.5.13-sru/kcontrol/kcontrol/moduletreeview.h
+--- /tmp/stable//kdebase/kcontrol/kcontrol/moduletreeview.h 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/kcontrol/moduletreeview.h 2012-07-31 17:17:50.000000000 +0200
+@@ -74,7 +74,7 @@
+ void makeSelected(ConfigModule* module);
+ void makeVisible(ConfigModule *module);
+ void fill();
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+
+ signals:
+ void moduleSelected(ConfigModule*);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/proxywidget.cpp v3.5.13-sru/kcontrol/kcontrol/proxywidget.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/proxywidget.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/kcontrol/proxywidget.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -120,7 +120,7 @@
+ ~ProxyContentWidget(){}
+
+ // this should be really done by qscrollview in AutoOneFit mode!
+- TQSize tqsizeHint() const { return tqminimumSizeHint(); }
++ TQSize sizeHint() const { return minimumSizeHint(); }
+ };
+
+
+@@ -144,7 +144,7 @@
+ }
+ client->reparent(contentWidget,0,TQPoint(0,0),true);
+ vbox->addWidget( client );
+- vbox->activate(); // make sure we have a proper tqminimumSizeHint
++ vbox->activate(); // make sure we have a proper minimumSizeHint
+ addChild(contentWidget);
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/toplevel.cpp v3.5.13-sru/kcontrol/kcontrol/toplevel.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/toplevel.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/kcontrol/toplevel.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -142,7 +142,7 @@
+ // help widget
+ _help = new HelpWidget(_dock);
+
+- _stack->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding ) );
++ _stack->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding ) );
+
+ // Restore sizes
+ config->setGroup("General");
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kded/kcmkded.cpp v3.5.13-sru/kcontrol/kded/kcmkded.cpp
+--- /tmp/stable//kdebase/kcontrol/kded/kcmkded.cpp 2011-08-11 07:25:27.000000000 +0200
++++ v3.5.13-sru/kcontrol/kded/kcmkded.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -149,7 +149,7 @@
+
+ TQStringList files;
+ KGlobal::dirs()->findAllResources( "services",
+- TQString::tqfromLatin1( "kded/*.desktop" ),
++ TQString::fromLatin1( "kded/*.desktop" ),
+ true, true, files );
+
+ TQListViewItem* item = 0L;
+@@ -187,7 +187,7 @@
+
+ TQStringList files;
+ KGlobal::dirs()->findAllResources( "services",
+- TQString::tqfromLatin1( "kded/*.desktop" ),
++ TQString::fromLatin1( "kded/*.desktop" ),
+ true, true, files );
+
+ KConfig kdedrc("kdedrc", false, false);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kdm/kdm-appear.cpp v3.5.13-sru/kcontrol/kdm/kdm-appear.cpp
+--- /tmp/stable//kdebase/kcontrol/kdm/kdm-appear.cpp 2011-09-16 07:40:51.000000000 +0200
++++ v3.5.13-sru/kcontrol/kdm/kdm-appear.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -21,7 +21,9 @@
+
+ #include <unistd.h>
+ #include <sys/types.h>
+-
++#include <stdlib.h>
++#include <sys/types.h>
++#include <signal.h>
+
+ #include <tqbuttongroup.h>
+ #include <tqlabel.h>
+@@ -47,11 +49,14 @@
+ #include "kdm-appear.h"
+ #include "kbackedcombobox.h"
+
++#include "config.h"
++
+ extern KSimpleConfig *config;
+
++#define TSAK_LOCKFILE "/tmp/ksocket-global/tsak.lock"
+
+ KDMAppearanceWidget::KDMAppearanceWidget(TQWidget *parent, const char *name)
+- : TQWidget(parent, name)
++ : TQWidget(parent, name), sakwarning(0)
+ {
+ TQString wtstr;
+
+@@ -228,7 +233,7 @@
+ loadLanguageList(langcombo);
+ connect(langcombo, TQT_SIGNAL(activated(const TQString &)), TQT_SLOT(changed()));
+ label = new TQLabel(langcombo, i18n("Languag&e:"), group);
+- TQGridLayout *hbox = new TQGridLayout( group->tqlayout(), 2, 2, KDialog::spacingHint() );
++ TQGridLayout *hbox = new TQGridLayout( group->layout(), 2, 2, KDialog::spacingHint() );
+ hbox->setColStretch(1, 1);
+ hbox->addWidget(label, 1, 0);
+ hbox->addWidget(langcombo, 1, 1);
+@@ -244,9 +249,16 @@
+
+ sakbox = new TQCheckBox( i18n("Enable Secure Attention Key"), group );
+ connect( sakbox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()) );
+- TQGridLayout *hbox2 = new TQGridLayout( group->tqlayout(), 2, 2, KDialog::spacingHint() );
++ TQGridLayout *hbox2 = new TQGridLayout( group->layout(), 2, 2, KDialog::spacingHint() );
+ hbox2->setColStretch(1, 1);
+ hbox2->addWidget(sakbox, 1, 0);
++ if (getuid() == 0 && config->checkConfigFilesWritable( true )) {
++ if (system(KDE_BINDIR "/tsak checkdeps") != 0) {
++ sakbox->setEnabled(false);
++ sakwarning = new TQLabel( i18n("Secure Attention Key support is not available on your system. Please check for the presence of evdev and uinput."), group );
++ hbox2->addWidget(sakwarning, 2, 0);
++ }
++ }
+ wtstr = i18n("Here you can enable or disable the Secure Attention Key [SAK] anti-spoofing measure.");
+ TQWhatsThis::add( sakbox, wtstr );
+
+@@ -277,7 +289,7 @@
+ void KDMAppearanceWidget::loadLanguageList(KLanguageButton *combo)
+ {
+ TQStringList langlist = KGlobal::dirs()->findAllResources("locale",
+- TQString::tqfromLatin1("*/entry.desktop"));
++ TQString::fromLatin1("*/entry.desktop"));
+ langlist.sort();
+ for ( TQStringList::ConstIterator it = langlist.begin();
+ it != langlist.end(); ++it )
+@@ -287,9 +299,9 @@
+ TQString nid = fpath.mid(index + 1);
+
+ KSimpleConfig entry(*it);
+- entry.setGroup(TQString::tqfromLatin1("KCM Locale"));
+- TQString name = entry.readEntry(TQString::tqfromLatin1("Name"), i18n("without name"));
+- combo->insertLanguage(nid, name, TQString::tqfromLatin1("l10n/"), TQString::null);
++ entry.setGroup(TQString::fromLatin1("KCM Locale"));
++ TQString name = entry.readEntry(TQString::fromLatin1("Name"), i18n("without name"));
++ combo->insertLanguage(nid, name, TQString::fromLatin1("l10n/"), TQString::null);
+ }
+ }
+
+@@ -343,7 +355,7 @@
+ bool KDMAppearanceWidget::setLogo(TQString logo)
+ {
+ TQString flogo = logo.isEmpty() ?
+- locate("data", TQString::tqfromLatin1("kdm/pics/kdelogo.png") ) :
++ locate("data", TQString::fromLatin1("kdm/pics/kdelogo.png") ) :
+ logo;
+ TQImage p(flogo);
+ if (p.isNull())
+@@ -351,7 +363,7 @@
+ if (p.width() > 100 || p.height() > 100)
+ p = p.smoothScale(100, 100, TQ_ScaleMin);
+ logobutton->setPixmap(p);
+- uint bd = tqstyle().tqpixelMetric( TQStyle::PM_ButtonMargin ) * 2;
++ uint bd = style().pixelMetric( TQStyle::PM_ButtonMargin ) * 2;
+ logobutton->setFixedSize(p.width() + bd, p.height() + bd);
+ logopath = logo;
+ return true;
+@@ -361,7 +373,7 @@
+ void KDMAppearanceWidget::slotLogoButtonClicked()
+ {
+ KImageIO::registerFormats();
+- KFileDialog dialogue(locate("data", TQString::tqfromLatin1("kdm/pics/")),
++ KFileDialog dialogue(locate("data", TQString::fromLatin1("kdm/pics/")),
+ KImageIO::pattern( KImageIO::Reading ),
+ this, 0, true);
+ dialogue.setOperationMode( KFileDialog::Opening );
+@@ -464,7 +476,24 @@
+
+ config->writeEntry("Language", langcombo->current());
+
+- config->writeEntry("UseSAK", sakbox->isChecked());
++ if (!sakwarning) {
++ config->writeEntry("UseSAK", sakbox->isChecked());
++ }
++
++ // Enable/disable tsak as needed
++ if (sakbox->isChecked()) {
++ system(KDE_BINDIR "/tsak");
++ }
++ else {
++ // Get PID
++ TQFile file(TSAK_LOCKFILE);
++ if (file.open(IO_ReadOnly)) {
++ TQTextStream stream(&file);
++ unsigned long tsakpid = stream.readLine().toULong();
++ file.close();
++ kill(tsakpid, SIGTERM);
++ }
++ }
+ }
+
+
+@@ -473,7 +502,7 @@
+ config->setGroup("X-*-Greeter");
+
+ // Read the greeting string
+- greetstr_lined->setText(config->readEntry("GreetString", i18n("Welcome to Kubuntu at %n")));
++ greetstr_lined->setText(config->readEntry("GreetString", i18n("Welcome to %n")));
+
+ // Regular logo or clock
+ TQString logoArea = config->readEntry("LogoArea", "Logo" );
+@@ -516,13 +545,18 @@
+ langcombo->setCurrentItem(config->readEntry("Language", "C"));
+
+ // See if the SAK is enabled
+- sakbox->setChecked(config->readBoolEntry("UseSAK", true));
++ if (!sakwarning) {
++ sakbox->setChecked(config->readBoolEntry("UseSAK", true));
++ }
++ else {
++ sakbox->setChecked(false);
++ }
+ }
+
+
+ void KDMAppearanceWidget::defaults()
+ {
+- greetstr_lined->setText( i18n("Welcome to Kubuntu at %n") );
++ greetstr_lined->setText( i18n("Welcome to %n") );
+ logoRadio->setChecked( true );
+ slotAreaRadioClicked( KdmLogo );
+ setLogo( "" );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kdm/kdm-appear.h v3.5.13-sru/kcontrol/kdm/kdm-appear.h
+--- /tmp/stable//kdebase/kcontrol/kdm/kdm-appear.h 2011-09-16 07:40:51.000000000 +0200
++++ v3.5.13-sru/kcontrol/kdm/kdm-appear.h 2012-07-31 17:17:50.000000000 +0200
+@@ -91,6 +91,7 @@
+ KBackedComboBox *echocombo;
+ KLanguageButton *langcombo;
+ TQCheckBox *sakbox;
++ TQLabel *sakwarning;
+
+ };
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kdm/kdm-conv.cpp v3.5.13-sru/kcontrol/kdm/kdm-conv.cpp
+--- /tmp/stable//kdebase/kcontrol/kdm/kdm-conv.cpp 2011-08-11 07:25:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/kdm/kdm-conv.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -50,7 +50,7 @@
+
+ alGroup = new TQVGroupBox( i18n("Enable Au&to-Login"), this );
+ alGroup->setCheckable( true );
+- alGroup->tqsetSizePolicy( vpref );
++ alGroup->setSizePolicy( vpref );
+
+ TQWhatsThis::add( alGroup, i18n("Turn on the auto-login feature."
+ " This applies only to KDM's graphical login."
+@@ -92,7 +92,7 @@
+
+
+ puGroup = new TQVButtonGroup(i18n("Preselect User"), this );
+- puGroup->tqsetSizePolicy( vpref );
++ puGroup->setSizePolicy( vpref );
+
+ connect(puGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotPresChanged()));
+ connect(puGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotChanged()));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kdm/kdm-users.cpp v3.5.13-sru/kcontrol/kdm/kdm-users.cpp
+--- /tmp/stable//kdebase/kcontrol/kdm/kdm-users.cpp 2011-08-11 07:25:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/kdm/kdm-users.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -94,14 +94,14 @@
+ TQLabel *minlab = new TQLabel( i18n("Below:"), minGroup );
+ leminuid = new KLineEdit( minGroup );
+ minlab->setBuddy( leminuid );
+- leminuid->tqsetSizePolicy( sp_ign_fix );
++ leminuid->setSizePolicy( sp_ign_fix );
+ leminuid->setValidator( valid );
+ connect( leminuid, TQT_SIGNAL(textChanged( const TQString & )), TQT_SLOT(slotChanged()) );
+ connect( leminuid, TQT_SIGNAL(textChanged( const TQString & )), TQT_SLOT(slotMinMaxChanged()) );
+ TQLabel *maxlab = new TQLabel( i18n("Above:"), minGroup );
+ lemaxuid = new KLineEdit( minGroup );
+ maxlab->setBuddy( lemaxuid );
+- lemaxuid->tqsetSizePolicy( sp_ign_fix );
++ lemaxuid->setSizePolicy( sp_ign_fix );
+ lemaxuid->setValidator( valid );
+ connect(lemaxuid, TQT_SIGNAL(textChanged( const TQString & )), TQT_SLOT(slotChanged()) );
+ connect(lemaxuid, TQT_SIGNAL(textChanged( const TQString & )), TQT_SLOT(slotMinMaxChanged()) );
+@@ -168,7 +168,7 @@
+ userbutton = new TQPushButton( hlpw );
+ userbutton->setAcceptDrops( true );
+ userbutton->installEventFilter( this ); // for drag and drop
+- uint sz = tqstyle().tqpixelMetric( TQStyle::PM_ButtonMargin ) * 2 + 48;
++ uint sz = style().pixelMetric( TQStyle::PM_ButtonMargin ) * 2 + 48;
+ userbutton->setFixedSize( sz, sz );
+ connect( userbutton, TQT_SIGNAL(clicked()),
+ TQT_SLOT(slotUserButtonClicked()) );
+@@ -457,11 +457,11 @@
+ cbusrsrt->setChecked(config->readBoolEntry("SortUsers", true));
+
+ TQString ps = config->readEntry( "FaceSource" );
+- if (ps == TQString::tqfromLatin1("UserOnly"))
++ if (ps == TQString::fromLatin1("UserOnly"))
+ rbusronly->setChecked(true);
+- else if (ps == TQString::tqfromLatin1("PreferUser"))
++ else if (ps == TQString::fromLatin1("PreferUser"))
+ rbprefusr->setChecked(true);
+- else if (ps == TQString::tqfromLatin1("PreferAdmin"))
++ else if (ps == TQString::fromLatin1("PreferAdmin"))
+ rbprefadm->setChecked(true);
+ else
+ rbadmonly->setChecked(true);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kdm/main.cpp v3.5.13-sru/kcontrol/kdm/main.cpp
+--- /tmp/stable//kdebase/kcontrol/kdm/main.cpp 2011-09-19 03:46:39.000000000 +0200
++++ v3.5.13-sru/kcontrol/kdm/main.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -175,10 +175,10 @@
+
+ struct stat st;
+ if( stat( KDE_CONFDIR "/kdm/kdmdistrc" ,&st ) == 0) {
+- config = new KSimpleConfig( TQString::tqfromLatin1( KDE_CONFDIR "/kdm/kdmdistrc" ));
++ config = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/kdm/kdmdistrc" ));
+ }
+ else {
+- config = new KSimpleConfig( TQString::tqfromLatin1( KDE_CONFDIR "/kdm/kdmrc" ));
++ config = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/kdm/kdmrc" ));
+ }
+
+ TQVBoxLayout *top = new TQVBoxLayout(this);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/keys/commandShortcuts.cpp v3.5.13-sru/kcontrol/keys/commandShortcuts.cpp
+--- /tmp/stable//kdebase/kcontrol/keys/commandShortcuts.cpp 2011-08-11 07:25:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/keys/commandShortcuts.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -83,13 +83,13 @@
+ label->setText(i18n("<qt>Below is a list of known commands which you may assign keyboard shortcuts to. "
+ "To edit, add or remove entries from this list use the "
+ "<a href=\"launchMenuEditor\">KDE menu editor</a>.</qt>"));
+- label->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Minimum);
++ label->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Minimum);
+ disconnect(label, TQT_SIGNAL(linkClicked(const TQString &)), label, TQT_SLOT(openLink(const TQString &)));
+ connect(label, TQT_SIGNAL(linkClicked(const TQString &)), this, TQT_SLOT(launchMenuEditor()));
+ mainLayout->addWidget(label);
+
+ m_tree = new AppTreeView(this, "appTreeView");
+- m_tree->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding);
++ m_tree->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding);
+ mainLayout->setStretchFactor(m_tree, 10);
+ mainLayout->addWidget(m_tree);
+ TQWhatsThis::add(m_tree,
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/keys/keyconfig.cpp v3.5.13-sru/kcontrol/keys/keyconfig.cpp
+--- /tmp/stable//kdebase/kcontrol/keys/keyconfig.cpp 2011-08-21 09:08:14.000000000 +0200
++++ v3.5.13-sru/kcontrol/keys/keyconfig.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -170,7 +170,7 @@
+ topLayout->addRowSpacing(3, 15);
+ topLayout->addMultiCellWidget(kc, 5, 5, 0, 1);
+
+- setMinimumSize(topLayout->tqsizeHint());
++ setMinimumSize(topLayout->sizeHint());
+ }
+
+ KKeyModule::~KKeyModule (){
+@@ -238,7 +238,7 @@
+
+ uint ind = sList->currentItem();
+
+- if ( !d.remove( *sFileList->tqat( ind ) ) ) {
++ if ( !d.remove( *sFileList->at( ind ) ) ) {
+ KMessageBox::sorry( 0,
+ i18n("This key scheme could not be removed.\n"
+ "Perhaps you do not have permission to alter the file "
+@@ -247,7 +247,7 @@
+ }
+
+ sList->removeItem( ind );
+- sFileList->remove( sFileList->tqat(ind) );
++ sFileList->remove( sFileList->at(ind) );
+ }*/
+
+ void KKeyModule::slotKeyChange()
+@@ -258,7 +258,7 @@
+
+ /*void KKeyModule::slotSave( )
+ {
+- KSimpleConfig config(*sFileList->tqat( sList->currentItem() ) );
++ KSimpleConfig config(*sFileList->at( sList->currentItem() ) );
+ // global=true is necessary in order to
+ // let both 'Global Shortcuts' and 'Shortcut Sequences' be
+ // written to the same scheme file.
+@@ -281,7 +281,7 @@
+ else {
+ KConfigBase* config = 0;
+ if( index == 0 ) config = new KConfig( "kdeglobals" );
+- //else config = new KSimpleConfig( *sFileList->tqat( index ), true );
++ //else config = new KSimpleConfig( *sFileList->at( index ), true );
+
+ actions.readActions( (index == 0) ? KeySet : KeyScheme, config );
+ kc->listSync();
+@@ -416,8 +416,8 @@
+ // Set various appropriate for the scheme
+
+ if ( indx < nSysSchemes ||
+- (*sFileList->tqat(indx)).contains( "/global-" ) ||
+- (*sFileList->tqat(indx)).contains( "/app-" ) ) {
++ (*sFileList->at(indx)).contains( "/global-" ) ||
++ (*sFileList->at(indx)).contains( "/app-" ) ) {
+ removeBt->setEnabled( FALSE );
+ } else {
+ removeBt->setEnabled( TRUE );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/keys/shortcuts.cpp v3.5.13-sru/kcontrol/keys/shortcuts.cpp
+--- /tmp/stable//kdebase/kcontrol/keys/shortcuts.cpp 2011-08-21 09:08:14.000000000 +0200
++++ v3.5.13-sru/kcontrol/keys/shortcuts.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -145,7 +145,7 @@
+
+ m_pcbSchemes = new KComboBox( this );
+ m_pcbSchemes->setMinimumWidth( 100 );
+- m_pcbSchemes->tqsetSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Fixed );
++ m_pcbSchemes->setSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Fixed );
+ connect( m_pcbSchemes, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSelectScheme(int)) );
+ pHLayout->addWidget( m_pcbSchemes );
+
+@@ -190,10 +190,10 @@
+ m_pListGeneral = new KAccelShortcutList( m_actionsGeneral, true );
+
+ m_pkcGeneral = new KKeyChooser( m_pListGeneral, this, KKeyChooser::Global, false );
+- m_pkcGeneral->resize (m_pkcGeneral->tqsizeHint() );
++ m_pkcGeneral->resize (m_pkcGeneral->sizeHint() );
+ if (system("xmodmap 1> /dev/null 2> /dev/null") == 0) {
+ m_useRmWinKeys = new TQCheckBox( i18n("Use Win key as modifier (uncheck to bind Win key to Menu)"), this );
+- m_useRmWinKeys->resize( m_useRmWinKeys->tqsizeHint() );
++ m_useRmWinKeys->resize( m_useRmWinKeys->sizeHint() );
+ m_useRmWinKeys->setChecked( m_bUseRmWinKeys );
+ pVLayout->addWidget( m_useRmWinKeys, 1, 0 );
+ connect( m_useRmWinKeys, TQT_SIGNAL(clicked()), TQT_SLOT(slotUseRmWinKeysClicked()) );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KCmFontInst.cpp v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KCmFontInst.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KCmFontInst.cpp 2011-08-11 07:25:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KCmFontInst.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 26/04/2003
+-// Version : $Revision: 1246075 $ $Date: 2011-08-10 01:08:18 -0500 (Wed, 10 Aug 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+@@ -114,7 +114,7 @@
+ itsSplitter=new TQSplitter(this);
+ fontsFrame=new TQFrame(itsSplitter),
+ itsPreview=(KParts::ReadOnlyPart *)factory->create(TQT_TQOBJECT(itsSplitter), "kcmfontinst", "KParts::ReadOnlyPart");
+- itsSplitter->tqsetSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
++ itsSplitter->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
+
+ TQValueList<int> sizes(itsConfig.readIntListEntry(CFG_SPLITTER_SIZES));
+
+@@ -130,7 +130,7 @@
+ {
+ #endif
+ fontsFrame=new TQFrame(this);
+- fontsFrame->tqsetSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
++ fontsFrame->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
+ #ifdef HAVE_XFT
+ }
+ #endif
+@@ -141,7 +141,7 @@
+ bool showBitmap(itsConfig.readBoolEntry(CFG_SHOW_BITMAP, false));
+
+ fontsFrame->setLineWidth(0);
+- toolbar->tqsetSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Minimum);
++ toolbar->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Minimum);
+ toolbar->setMovingEnabled(false);
+
+ TQString previousPath=itsConfig.readEntry(CFG_PATH);
+@@ -152,12 +152,12 @@
+ itsDirOp->setMinimumSize(TQSize(96, 64));
+ setMimeTypes(showBitmap);
+ itsDirOp->dirLister()->setMainWindow(this);
+- itsDirOp->tqsetSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
++ itsDirOp->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
+ fontsLayout->addMultiCellWidget(itsDirOp, 0, 0, 0, 1);
+
+ KPushButton *button=new KPushButton(KGuiItem(i18n("Add Fonts..."), "newfont"), fontsFrame);
+ connect(button, TQT_SIGNAL(clicked()), TQT_SLOT(addFonts()));
+- button->tqsetSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum);
++ button->setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum);
+ fontsLayout->addWidget(button, 1, 0);
+ TQT_TQLAYOUT(fontsLayout)->addItem(new TQSpacerItem(4, 4, TQSizePolicy::Expanding, TQSizePolicy::Minimum));
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KCmFontInst.h v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KCmFontInst.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KCmFontInst.h 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KCmFontInst.h 2012-07-31 17:17:50.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 26/04/2003
+-// Version : $Revision: 1212480 $ $Date: 2011-01-06 22:10:07 -0600 (Thu, 06 Jan 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KFileFontIconView.cpp v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KFileFontIconView.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KFileFontIconView.cpp 2010-08-13 00:36:05.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KFileFontIconView.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 31/05/2003
+-// Version : $Revision: 1157639 $ $Date: 2010-07-31 14:33:34 -0500 (Sat, 31 Jul 2010) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KFileFontIconView.h v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KFileFontIconView.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KFileFontIconView.h 2010-08-13 00:36:05.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KFileFontIconView.h 2012-07-31 17:17:50.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 01/08/2003
+-// Version : $Revision: 1157639 $ $Date: 2010-07-31 14:33:34 -0500 (Sat, 31 Jul 2010) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp 2010-08-13 00:36:05.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 31/05/2003
+-// Version : $Revision: 1157639 $ $Date: 2010-07-31 14:33:34 -0500 (Sat, 31 Jul 2010) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KFileFontView.h v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KFileFontView.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KFileFontView.h 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KFileFontView.h 2012-07-31 17:17:50.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 31/05/2003
+-// Version : $Revision: 1215552 $ $Date: 2011-01-18 19:42:14 -0600 (Tue, 18 Jan 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+@@ -88,7 +88,7 @@
+
+ TQRect rect() const
+ {
+- TQRect r = listView()->tqitemRect(this);
++ TQRect r = listView()->itemRect(this);
+
+ return TQRect(listView()->viewportToContents(r.topLeft()), TQSize(r.width(), r.height()));
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kfile-plugin/KFileFont.cpp v3.5.13-sru/kcontrol/kfontinst/kfile-plugin/KFileFont.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kfile-plugin/KFileFont.cpp 2011-08-11 07:25:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kfile-plugin/KFileFont.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 20/03/2003
+-// Version : $Revision: 1246075 $ $Date: 2011-08-10 01:08:18 -0500 (Wed, 10 Aug 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kfile-plugin/KFileFont.h v3.5.13-sru/kcontrol/kfontinst/kfile-plugin/KFileFont.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kfile-plugin/KFileFont.h 2010-08-13 00:36:06.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kfile-plugin/KFileFont.h 2012-07-31 17:17:50.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 20/03/2003
+-// Version : $Revision: 1157639 $ $Date: 2010-07-31 14:33:34 -0500 (Sat, 31 Jul 2010) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kfontinst/FontEngine.cpp v3.5.13-sru/kcontrol/kfontinst/kfontinst/FontEngine.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kfontinst/FontEngine.cpp 2011-08-11 07:25:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kfontinst/FontEngine.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -163,7 +163,7 @@
+ TQChar space(' ');
+
+ for(int c=0; c<len; ++c)
+- if(str[c].tqunicode()<0x20 || str[c].tqunicode()>0x7E)
++ if(str[c].unicode()<0x20 || str[c].unicode()>0x7E)
+ str[c]=space;
+
+ str=str.simplifyWhiteSpace();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kfontinst/Main.cpp v3.5.13-sru/kcontrol/kfontinst/kfontinst/Main.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kfontinst/Main.cpp 2011-08-11 07:25:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kfontinst/Main.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 20/03/2003
+-// Version : $Revision: 1246075 $ $Date: 2011-08-10 01:08:18 -0500 (Wed, 10 Aug 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kio/KioFonts.cpp v3.5.13-sru/kcontrol/kfontinst/kio/KioFonts.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kio/KioFonts.cpp 2011-08-11 07:25:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kio/KioFonts.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 05/03/2003
+-// Version : $Revision: 1246075 $ $Date: 2011-08-10 01:08:18 -0500 (Wed, 10 Aug 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+@@ -136,7 +136,7 @@
+ TQString fname(url.fileName());
+ int pos;
+
+- if(-1!=(pos=fname.findRev(TQString::tqfromLatin1(constMultipleExtension))))
++ if(-1!=(pos=fname.findRev(TQString::fromLatin1(constMultipleExtension))))
+ fname=fname.left(pos);
+
+ return fname;
+@@ -292,7 +292,7 @@
+ ? KFI_KIO_FONTS_PROTOCOL"/system-folder"
+ : KFI_KIO_FONTS_PROTOCOL"/folder");
+ addAtom(entry, KIO::UDS_GUESSED_MIME_TYPE, 0, "application/octet-stream");
+- TQString url(KFI_KIO_FONTS_PROTOCOL+TQString::tqfromLatin1(":/"));
++ TQString url(KFI_KIO_FONTS_PROTOCOL+TQString::fromLatin1(":/"));
+ return true;
+ }
+ else if (sys && !Misc::root()) // Default system fonts folder does not actually exist yet!
+@@ -393,15 +393,15 @@
+ addAtom(entry, KIO::UDS_MIME_TYPE, 0, KMimeType::findByPath(path, 0, true)->name());
+ addAtom(entry, KIO::UDS_GUESSED_MIME_TYPE, 0, "application/octet-stream");
+
+- TQString url(KFI_KIO_FONTS_PROTOCOL+TQString::tqfromLatin1(":/"));
++ TQString url(KFI_KIO_FONTS_PROTOCOL+TQString::fromLatin1(":/"));
+
+ if(!Misc::root())
+ {
+ url+=sys ? i18n(KFI_KIO_FONTS_SYS) : i18n(KFI_KIO_FONTS_USER);
+- url+=TQString::tqfromLatin1("/");
++ url+=TQString::fromLatin1("/");
+ }
+ if(multiple)
+- url+=name+TQString::tqfromLatin1(constMultipleExtension);
++ url+=name+TQString::fromLatin1(constMultipleExtension);
+ else
+ url+=Misc::getFile(path);
+ addAtom(entry, KIO::UDS_URL, 0, url);
+@@ -1185,7 +1185,7 @@
+
+ if (markPartial)
+ {
+- TQString destPart(destOrig+TQString::tqfromLatin1(".part"));
++ TQString destPart(destOrig+TQString::fromLatin1(".part"));
+ TQCString destPartC(TQFile::encodeName(destPart));
+
+ dest = destPart;
+@@ -2385,8 +2385,8 @@
+
+ if(ds==TQString(TQChar('/')+i18n(KFI_KIO_FONTS_USER)+TQChar('/')) ||
+ ds==TQString(TQChar('/')+i18n(KFI_KIO_FONTS_SYS)+TQChar('/')) ||
+- ds==TQString(TQChar('/')+TQString::tqfromLatin1(KFI_KIO_FONTS_USER)+TQChar('/')) ||
+- ds==TQString(TQChar('/')+TQString::tqfromLatin1(KFI_KIO_FONTS_SYS)+TQChar('/')))
++ ds==TQString(TQChar('/')+TQString::fromLatin1(KFI_KIO_FONTS_USER)+TQChar('/')) ||
++ ds==TQString(TQChar('/')+TQString::fromLatin1(KFI_KIO_FONTS_SYS)+TQChar('/')))
+ {
+ error(KIO::ERR_SLAVE_DEFINED, i18n("Sorry, you cannot rename, move, copy, or delete either \"%1\" or \"%2\".")
+ .arg(i18n(KFI_KIO_FONTS_USER)).arg(i18n(KFI_KIO_FONTS_SYS))); \
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kio/KioFonts.h v3.5.13-sru/kcontrol/kfontinst/kio/KioFonts.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kio/KioFonts.h 2011-08-11 07:25:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kio/KioFonts.h 2012-07-31 17:17:50.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 05/03/2003
+-// Version : $Revision: 1246075 $ $Date: 2011-08-10 01:08:18 -0500 (Wed, 10 Aug 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/lib/FcEngine.cpp v3.5.13-sru/kcontrol/kfontinst/lib/FcEngine.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/lib/FcEngine.cpp 2011-08-11 07:25:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/lib/FcEngine.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -439,7 +439,7 @@
+ ch;
+
+ for(ch=0; ch<slen; ++ch)
+- if(!FcCharSetHasChar(font->charset, str[ch].tqunicode()))
++ if(!FcCharSetHasChar(font->charset, str[ch].unicode()))
+ return false;
+ return true;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/thumbnail/FontThumbnail.cpp v3.5.13-sru/kcontrol/kfontinst/thumbnail/FontThumbnail.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/thumbnail/FontThumbnail.cpp 2010-08-13 00:36:06.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/thumbnail/FontThumbnail.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 02/08/2003
+-// Version : $Revision: 1157639 $ $Date: 2010-07-31 14:33:34 -0500 (Sat, 31 Jul 2010) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontPreview.cpp v3.5.13-sru/kcontrol/kfontinst/viewpart/FontPreview.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontPreview.cpp 2011-03-12 07:57:43.000000000 +0100
++++ v3.5.13-sru/kcontrol/kfontinst/viewpart/FontPreview.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 04/11/2001
+-// Version : $Revision: 1215552 $ $Date: 2011-01-18 19:42:14 -0600 (Tue, 18 Jan 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+@@ -88,7 +88,7 @@
+ {
+ if(!itsCurrentUrl.isEmpty())
+ {
+- paint.setPen(kapp->tqpalette().active().text());
++ paint.setPen(kapp->palette().active().text());
+ paint.drawText(rect(), AlignCenter, i18n(" No preview available"));
+ }
+ }
+@@ -103,12 +103,12 @@
+ }
+ }
+
+-TQSize CFontPreview::tqsizeHint() const
++TQSize CFontPreview::sizeHint() const
+ {
+ return TQSize(132, 132);
+ }
+
+-TQSize CFontPreview::tqminimumSizeHint() const
++TQSize CFontPreview::minimumSizeHint() const
+ {
+ return TQSize(32, 32);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontPreview.h v3.5.13-sru/kcontrol/kfontinst/viewpart/FontPreview.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontPreview.h 2011-03-12 07:57:43.000000000 +0100
++++ v3.5.13-sru/kcontrol/kfontinst/viewpart/FontPreview.h 2012-07-31 17:17:50.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 04/11/2001
+-// Version : $Revision: 1215552 $ $Date: 2011-01-18 19:42:14 -0600 (Tue, 18 Jan 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+@@ -50,8 +50,8 @@
+ virtual ~CFontPreview() {}
+
+ void paintEvent(TQPaintEvent *);
+- TQSize tqsizeHint() const;
+- TQSize tqminimumSizeHint() const;
++ TQSize sizeHint() const;
++ TQSize minimumSizeHint() const;
+
+ void showFont(const KURL &url);
+ void showFont();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewerApp.cpp v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewerApp.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewerApp.cpp 2011-03-12 07:57:43.000000000 +0100
++++ v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewerApp.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer (kfontinst-kcontrol)
+ // Creation Date : 30/04/2004
+-// Version : $Revision: 1215552 $ $Date: 2011-01-18 19:42:14 -0600 (Tue, 18 Jan 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewerApp.h v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewerApp.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewerApp.h 2010-08-12 05:28:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewerApp.h 2012-07-31 17:17:50.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer (kfontinst-kcontrol)
+ // Creation Date : 30/04/2004
+-// Version : $Revision: 465343 $ $Date: 2005-09-29 08:24:25 -0500 (Thu, 29 Sep 2005) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewPart.cpp v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewPart.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewPart.cpp 2011-07-09 08:16:52.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewPart.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 03/08/2002
+-// Version : $Revision: 1240522 $ $Date: 2011-07-08 21:23:29 -0500 (Fri, 08 Jul 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+@@ -88,7 +88,7 @@
+ setInstance(new KInstance("kfontview"));
+
+ itsPreview=new CFontPreview(previewFrame, "FontViewPart::Preview");
+- itsPreview->tqsetSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
++ itsPreview->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
+ itsFaceLabel=new TQLabel(i18n("Face:"), itsToolsFrame);
+ itsFaceSelector=new KIntNumInput(1, itsToolsFrame);
+ itsInstallButton=new TQPushButton(i18n("Install..."), itsToolsFrame, "button");
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewPartFactory.cpp v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewPartFactory.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewPartFactory.cpp 2010-08-13 00:36:05.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewPartFactory.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 03/08/2002
+-// Version : $Revision: 1157639 $ $Date: 2010-07-31 14:33:34 -0500 (Sat, 31 Jul 2010) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewPartFactory.h v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewPartFactory.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewPartFactory.h 2011-04-03 01:50:11.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewPartFactory.h 2012-07-31 17:17:50.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 03/08/2002
+-// Version : $Revision: 1226910 $ $Date: 2011-04-02 18:45:34 -0500 (Sat, 02 Apr 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewPart.h v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewPart.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewPart.h 2011-03-12 07:57:43.000000000 +0100
++++ v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewPart.h 2012-07-31 17:17:50.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer (kfontinst-kcontrol)
+ // Creation Date : 03/08/2002
+-// Version : $Revision: 1212480 $ $Date: 2011-01-06 22:10:07 -0600 (Thu, 06 Jan 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/advancedDialog.cpp v3.5.13-sru/kcontrol/kicker/advancedDialog.cpp
+--- /tmp/stable//kdebase/kcontrol/kicker/advancedDialog.cpp 2011-08-26 01:00:16.000000000 +0200
++++ v3.5.13-sru/kcontrol/kicker/advancedDialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -51,7 +51,7 @@
+ layout->addWidget(m_advancedWidget);
+ layout->addStretch();
+
+- setMinimumSize( tqsizeHint() );
++ setMinimumSize( sizeHint() );
+
+ connect(m_advancedWidget->handles, TQT_SIGNAL(clicked(int)),
+ this, TQT_SLOT(changed()));
+@@ -92,7 +92,7 @@
+
+ int defaultHideButtonSize = c.readNumEntry("HideButtonSize", 14);
+ m_advancedWidget->hideButtonSize->setValue(defaultHideButtonSize);
+- TQColor color = c.readColorEntry( "TintColor", &tqcolorGroup().mid() );
++ TQColor color = c.readColorEntry( "TintColor", &colorGroup().mid() );
+ m_advancedWidget->tintColorB->setColor( color );
+ int tintValue = c.readNumEntry( "TintValue", 33 );
+ m_advancedWidget->tintSlider->setValue( tintValue );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/advancedOptions.ui v3.5.13-sru/kcontrol/kicker/advancedOptions.ui
+--- /tmp/stable//kdebase/kcontrol/kicker/advancedOptions.ui 2011-08-26 01:00:16.000000000 +0200
++++ v3.5.13-sru/kcontrol/kicker/advancedOptions.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -71,7 +71,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>101</width>
+ <height>20</height>
+@@ -145,7 +145,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>20</height>
+@@ -194,7 +194,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>21</height>
+@@ -208,7 +208,7 @@
+ <property name="text">
+ <string>Min</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignLeft</set>
+ </property>
+ <property name="whatsThis" stdset="0">
+@@ -225,7 +225,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>81</width>
+ <height>20</height>
+@@ -250,7 +250,7 @@
+ <property name="text">
+ <string>Max</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="whatsThis" stdset="0">
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/applettab.ui v3.5.13-sru/kcontrol/kicker/applettab.ui
+--- /tmp/stable//kdebase/kcontrol/kicker/applettab.ui 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/kicker/applettab.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -112,7 +112,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -123,7 +123,7 @@
+ <property name="name">
+ <cstring>pb_add</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+@@ -143,7 +143,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -162,7 +162,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+@@ -182,7 +182,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/extensionInfo.cpp v3.5.13-sru/kcontrol/kicker/extensionInfo.cpp
+--- /tmp/stable//kdebase/kcontrol/kicker/extensionInfo.cpp 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/kicker/extensionInfo.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -125,7 +125,7 @@
+ c.setGroup("General");
+
+ _position = c.readNumEntry ("Position", _position);
+- _tqalignment = c.readNumEntry ("Alignment", _tqalignment);
++ _alignment = c.readNumEntry ("Alignment", _alignment);
+ _xineramaScreen = c.readNumEntry ("XineramaScreen", _xineramaScreen);
+ _showLeftHB = c.readBoolEntry("ShowLeftHideButton", _showLeftHB);
+ _showRightHB = c.readBoolEntry("ShowRightHideButton", _showRightHB);
+@@ -147,7 +147,7 @@
+ }
+
+ _orig_position = _position;
+- _orig_tqalignment = _tqalignment;
++ _orig_alignment = _alignment;
+ _orig_size = _size;
+ _orig_customSize = _customSize;
+
+@@ -170,10 +170,10 @@
+ _orig_position = _position = position;
+ }
+
+- int tqalignment = c.readNumEntry ("Alignment", TQApplication::reverseLayout() ? 2 : 0);
+- if (tqalignment != _tqalignment && tqalignment != _orig_tqalignment)
++ int alignment = c.readNumEntry ("Alignment", TQApplication::reverseLayout() ? 2 : 0);
++ if (alignment != _alignment && alignment != _orig_alignment)
+ {
+- _orig_tqalignment = _tqalignment = tqalignment;
++ _orig_alignment = _alignment = alignment;
+ }
+
+ if (_resizeable)
+@@ -197,7 +197,7 @@
+ {
+ // defaults
+ _position = 3;
+- _tqalignment = TQApplication::reverseLayout() ? 2 : 0;
++ _alignment = TQApplication::reverseLayout() ? 2 : 0;
+ _xineramaScreen = TQApplication::desktop()->primaryScreen();
+ _size = 2;
+ _showLeftHB = false;
+@@ -225,7 +225,7 @@
+ c.setGroup("General");
+
+ c.writeEntry("Position", _position);
+- c.writeEntry("Alignment", _tqalignment);
++ c.writeEntry("Alignment", _alignment);
+ c.writeEntry("XineramaScreen", _xineramaScreen);
+ c.writeEntry("ShowLeftHideButton", _showLeftHB);
+ c.writeEntry("ShowRightHideButton", _showRightHB);
+@@ -251,7 +251,7 @@
+ }
+
+ _orig_position = _position;
+- _orig_tqalignment = _tqalignment;
++ _orig_alignment = _alignment;
+ _orig_size = _size;
+ _orig_customSize = _customSize;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/extensionInfo.h v3.5.13-sru/kcontrol/kicker/extensionInfo.h
+--- /tmp/stable//kdebase/kcontrol/kicker/extensionInfo.h 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/kicker/extensionInfo.h 2012-07-31 17:17:50.000000000 +0200
+@@ -47,7 +47,7 @@
+ // Configuration settings
+ TQString _name;
+ int _position;
+- int _tqalignment;
++ int _alignment;
+ int _xineramaScreen;
+ int _size;
+ int _customSize;
+@@ -67,7 +67,7 @@
+ // Original settings to ensure that we can figure out
+ // what has changed externally to the panel vs within the panel
+ int _orig_position;
+- int _orig_tqalignment;
++ int _orig_alignment;
+ int _orig_size;
+ int _orig_customSize;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/hidingtab.ui v3.5.13-sru/kcontrol/kicker/hidingtab.ui
+--- /tmp/stable//kdebase/kcontrol/kicker/hidingtab.ui 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/kicker/hidingtab.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -62,7 +62,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>342</width>
+ <height>20</height>
+@@ -92,7 +92,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>20</height>
+@@ -179,7 +179,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -299,7 +299,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -332,7 +332,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>50</width>
+ <height>10</height>
+@@ -401,7 +401,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -439,7 +439,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -467,7 +467,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>20</height>
+@@ -532,7 +532,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -557,7 +557,7 @@
+ <property name="text">
+ <string>Fast</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="hAlign" stdset="0">
+@@ -573,7 +573,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -598,7 +598,7 @@
+ <property name="text">
+ <string>Medium</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ <property name="hAlign" stdset="0">
+@@ -637,7 +637,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/lookandfeeltab.ui v3.5.13-sru/kcontrol/kicker/lookandfeeltab.ui
+--- /tmp/stable//kdebase/kcontrol/kicker/lookandfeeltab.ui 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/kicker/lookandfeeltab.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -359,7 +359,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>66</width>
+ <height>130</height>
+@@ -389,7 +389,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -428,13 +428,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>50</width>
+ <height>50</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>50</width>
+ <height>50</height>
+@@ -449,7 +449,7 @@
+ <property name="scaledContents">
+ <bool>true</bool>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ <property name="hAlign" stdset="0">
+@@ -527,7 +527,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>289</width>
+ <height>20</height>
+@@ -546,7 +546,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/menutab_impl.cpp v3.5.13-sru/kcontrol/kicker/menutab_impl.cpp
+--- /tmp/stable//kdebase/kcontrol/kicker/menutab_impl.cpp 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/kicker/menutab_impl.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -93,9 +93,9 @@
+ btnCustomKMenuIcon->setPixmap(kmenu_icon);
+
+ KConfig *config;
+- config = new KConfig(TQString::tqfromLatin1("kdeglobals"), false, false);
+- config->setGroup(TQString::tqfromLatin1("RecentDocuments"));
+- maxrecentdocs->setValue(config->readNumEntry(TQString::tqfromLatin1("MaxEntries"), 10));
++ config = new KConfig(TQString::fromLatin1("kdeglobals"), false, false);
++ config->setGroup(TQString::fromLatin1("RecentDocuments"));
++ maxrecentdocs->setValue(config->readNumEntry(TQString::fromLatin1("MaxEntries"), 10));
+
+ m_browserGroupLayout->setColStretch( 1, 1 );
+ m_pRecentOrderGroupLayout->setColStretch( 1, 1 );
+@@ -247,8 +247,8 @@
+
+ // Save recent documents
+ KConfig *config;
+- config = new KConfig(TQString::tqfromLatin1("kdeglobals"), false, false);
+- config->setGroup(TQString::tqfromLatin1("RecentDocuments"));
++ config = new KConfig(TQString::fromLatin1("kdeglobals"), false, false);
++ config->setGroup(TQString::fromLatin1("RecentDocuments"));
+ config->writeEntry("MaxEntries", maxrecentdocs->value());
+ config->sync();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/menutab.ui v3.5.13-sru/kcontrol/kicker/menutab.ui
+--- /tmp/stable//kdebase/kcontrol/kicker/menutab.ui 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/kicker/menutab.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -63,7 +63,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -197,7 +197,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -261,13 +261,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>26</width>
+ <height>26</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>26</width>
+ <height>26</height>
+@@ -327,7 +327,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -345,7 +345,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -389,7 +389,7 @@
+ <verstretch>1</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+@@ -487,7 +487,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -558,7 +558,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -654,7 +654,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -698,7 +698,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/positiontab_impl.cpp v3.5.13-sru/kcontrol/kicker/positiontab_impl.cpp
+--- /tmp/stable//kdebase/kcontrol/kicker/positiontab_impl.cpp 2011-08-11 07:25:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kicker/positiontab_impl.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -60,7 +60,7 @@
+ {
+ TQPixmap monitor(locate("data", "kcontrol/pics/monitor.png"));
+ m_monitorImage->setPixmap(monitor);
+- m_monitorImage->setFixedSize(m_monitorImage->tqsizeHint());
++ m_monitorImage->setFixedSize(m_monitorImage->sizeHint());
+
+ m_pretendDesktop = new TQWidget(m_monitorImage, "pretendBG");
+ m_pretendDesktop->setGeometry(offsetX, offsetY, maxX, maxY);
+@@ -558,7 +558,7 @@
+ m_customSpinbox->setValue(m_panelInfo->_customSize);
+ m_sizeGroup->setEnabled(m_panelInfo->_resizeable);
+ m_panelPos = m_panelInfo->_position;
+- m_panelAlign = m_panelInfo->_tqalignment;
++ m_panelAlign = m_panelInfo->_alignment;
+ if(m_panelInfo->_xineramaScreen >= 0 && m_panelInfo->_xineramaScreen < TQApplication::desktop()->numScreens())
+ m_xineramaScreenComboBox->setCurrentItem(m_panelInfo->_xineramaScreen);
+ else if(m_panelInfo->_xineramaScreen == -2) /* the All Screens option: qt uses -1 for default, so -2 for all */
+@@ -672,7 +672,7 @@
+ }
+
+ m_panelInfo->_position = m_panelPos;
+- m_panelInfo->_tqalignment = m_panelAlign;
++ m_panelInfo->_alignment = m_panelAlign;
+ if(m_xineramaScreenComboBox->currentItem() == m_xineramaScreenComboBox->count()-1)
+ m_panelInfo->_xineramaScreen = -2; /* all screens */
+ else
+@@ -696,14 +696,14 @@
+ screenLabel->setFrameStyle(TQFrame::Panel);
+ screenLabel->setFrameShadow(TQFrame::Plain);
+
+- screenLabel->tqsetAlignment(Qt::AlignCenter);
++ screenLabel->setAlignment(Qt::AlignCenter);
+ screenLabel->setNum(s + 1);
+ // BUGLET: we should not allow the identification to be entered again
+ // until the timer fires.
+ TQTimer::singleShot(1500, screenLabel, TQT_SLOT(close()));
+
+ TQPoint screenCenter(TQApplication::desktop()->screenGeometry(s).center());
+- TQRect targetGeometry(TQPoint(0,0),screenLabel->tqsizeHint());
++ TQRect targetGeometry(TQPoint(0,0),screenLabel->sizeHint());
+ targetGeometry.moveCenter(screenCenter);
+
+ screenLabel->setGeometry(targetGeometry);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/positiontab.ui v3.5.13-sru/kcontrol/kicker/positiontab.ui
+--- /tmp/stable//kdebase/kcontrol/kicker/positiontab.ui 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/kicker/positiontab.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -66,7 +66,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>342</width>
+ <height>20</height>
+@@ -104,7 +104,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -123,7 +123,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>151</width>
+ <height>115</height>
+@@ -132,7 +132,7 @@
+ <property name="scaledContents">
+ <bool>true</bool>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ <property name="whatsThis" stdset="0">
+@@ -149,7 +149,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -176,7 +176,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -235,7 +235,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>101</height>
+@@ -357,7 +357,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>16</height>
+@@ -426,7 +426,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>40</height>
+@@ -538,7 +538,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -555,7 +555,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>0</height>
+@@ -590,13 +590,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+@@ -624,13 +624,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+@@ -658,13 +658,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+@@ -702,13 +702,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+@@ -736,13 +736,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+@@ -770,13 +770,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+@@ -814,13 +814,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+@@ -848,13 +848,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+@@ -882,13 +882,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+@@ -926,13 +926,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+@@ -960,13 +960,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+@@ -994,13 +994,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/cache_ui.ui v3.5.13-sru/kcontrol/kio/cache_ui.ui
+--- /tmp/stable//kdebase/kcontrol/kio/cache_ui.ui 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/cache_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -29,7 +29,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>21</height>
+@@ -88,7 +88,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>21</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/fakeuaprovider.cpp v3.5.13-sru/kcontrol/kio/fakeuaprovider.cpp
+--- /tmp/stable//kdebase/kcontrol/kio/fakeuaprovider.cpp 2011-08-11 07:25:29.000000000 +0200
++++ v3.5.13-sru/kcontrol/kio/fakeuaprovider.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -27,7 +27,7 @@
+ #include "fakeuaprovider.h"
+
+ #define UA_PTOS(x) (*it)->property(x).toString()
+-#define QFL(x) TQString::tqfromLatin1(x)
++#define QFL(x) TQString::fromLatin1(x)
+
+ FakeUASProvider::FakeUASProvider()
+ {
+@@ -97,13 +97,13 @@
+ TQStringList languageList = KGlobal::locale()->languageList();
+ if ( languageList.count() )
+ {
+- TQStringList::Iterator it = languageList.find( TQString::tqfromLatin1("C") );
++ TQStringList::Iterator it = languageList.find( TQString::fromLatin1("C") );
+ if( it != languageList.end() )
+ {
+- if( languageList.contains( TQString::tqfromLatin1("en") ) > 0 )
++ if( languageList.contains( TQString::fromLatin1("en") ) > 0 )
+ languageList.remove( it );
+ else
+- (*it) = TQString::tqfromLatin1("en");
++ (*it) = TQString::fromLatin1("en");
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/kcookiesmanagementdlg_ui.ui v3.5.13-sru/kcontrol/kio/kcookiesmanagementdlg_ui.ui
+--- /tmp/stable//kdebase/kcontrol/kio/kcookiesmanagementdlg_ui.ui 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/kcookiesmanagementdlg_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -119,7 +119,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>62</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/kcookiespolicies.cpp v3.5.13-sru/kcontrol/kio/kcookiespolicies.cpp
+--- /tmp/stable//kdebase/kcontrol/kio/kcookiespolicies.cpp 2011-08-11 07:25:29.000000000 +0200
++++ v3.5.13-sru/kcontrol/kio/kcookiespolicies.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -392,7 +392,7 @@
+
+ while( at )
+ {
+- domainConfig.append(TQString::tqfromLatin1("%1:%2").arg(KIDNA::toAscii(at->text(0))).arg(m_pDomainPolicy[at]));
++ domainConfig.append(TQString::fromLatin1("%1:%2").arg(KIDNA::toAscii(at->text(0))).arg(m_pDomainPolicy[at]));
+ at = at->nextSibling();
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/kcookiespoliciesdlg_ui.ui v3.5.13-sru/kcontrol/kio/kcookiespoliciesdlg_ui.ui
+--- /tmp/stable//kdebase/kcontrol/kio/kcookiespoliciesdlg_ui.ui 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/kcookiespoliciesdlg_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -161,7 +161,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/kenvvarproxydlg.cpp v3.5.13-sru/kcontrol/kio/kenvvarproxydlg.cpp
+--- /tmp/stable//kdebase/kcontrol/kio/kenvvarproxydlg.cpp 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/kenvvarproxydlg.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -163,16 +163,16 @@
+ setHighLight (mDlg->lbNoProxy, false);
+
+ // Detect HTTP proxy settings...
+- found |= autoDetectProxySetting (TQString::tqfromLatin1(ENV_HTTP_PROXY), mEnvVarsMap["http"]);
++ found |= autoDetectProxySetting (TQString::fromLatin1(ENV_HTTP_PROXY), mEnvVarsMap["http"]);
+
+ // Detect HTTPS proxy settings...
+- found |= autoDetectProxySetting (TQString::tqfromLatin1(ENV_HTTPS_PROXY), mEnvVarsMap["https"]);
++ found |= autoDetectProxySetting (TQString::fromLatin1(ENV_HTTPS_PROXY), mEnvVarsMap["https"]);
+
+ // Detect FTP proxy settings...
+- found |= autoDetectProxySetting (TQString::tqfromLatin1(ENV_FTP_PROXY), mEnvVarsMap["ftp"]);
++ found |= autoDetectProxySetting (TQString::fromLatin1(ENV_FTP_PROXY), mEnvVarsMap["ftp"]);
+
+ // Detect the NO_PROXY settings...
+- found |= autoDetectProxySetting (TQString::tqfromLatin1(NO_PROXY), mEnvVarsMap["noProxy"]);
++ found |= autoDetectProxySetting (TQString::fromLatin1(NO_PROXY), mEnvVarsMap["noProxy"]);
+
+ if ( !found )
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/kmanualproxydlg.cpp v3.5.13-sru/kcontrol/kio/kmanualproxydlg.cpp
+--- /tmp/stable//kdebase/kcontrol/kio/kmanualproxydlg.cpp 2011-08-11 07:25:29.000000000 +0200
++++ v3.5.13-sru/kcontrol/kio/kmanualproxydlg.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -52,7 +52,7 @@
+ mDlg->pbCopyDown->setPixmap( BarIcon("down", KIcon::SizeSmall) );
+ TQSizePolicy sizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed,
+ mDlg->pbCopyDown->sizePolicy().hasHeightForWidth() );
+- mDlg->pbCopyDown->tqsetSizePolicy( sizePolicy );
++ mDlg->pbCopyDown->setSizePolicy( sizePolicy );
+
+ init();
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/kproxydlg_ui.ui v3.5.13-sru/kcontrol/kio/kproxydlg_ui.ui
+--- /tmp/stable//kdebase/kcontrol/kio/kproxydlg_ui.ui 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/kproxydlg_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -115,7 +115,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+@@ -300,7 +300,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/manualproxy_ui.ui v3.5.13-sru/kcontrol/kio/manualproxy_ui.ui
+--- /tmp/stable//kdebase/kcontrol/kio/manualproxy_ui.ui 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/manualproxy_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -137,7 +137,7 @@
+ <property name="name">
+ <cstring>sbHttp</cstring>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+@@ -160,7 +160,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>51</width>
+ <height>20</height>
+@@ -280,7 +280,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>114</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/policydlg.cpp v3.5.13-sru/kcontrol/kio/policydlg.cpp
+--- /tmp/stable//kdebase/kcontrol/kio/policydlg.cpp 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/policydlg.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -70,7 +70,7 @@
+ connect(m_dlgUI->leDomain, TQT_SIGNAL(textChanged(const TQString&)),
+ TQT_SLOT(slotTextChanged(const TQString&)));
+
+- setFixedSize (tqsizeHint());
++ setFixedSize (sizeHint());
+ m_dlgUI->leDomain->setFocus ();
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/policydlg.h v3.5.13-sru/kcontrol/kio/policydlg.h
+--- /tmp/stable//kdebase/kcontrol/kio/policydlg.h 2011-08-11 07:25:29.000000000 +0200
++++ v3.5.13-sru/kcontrol/kio/policydlg.h 2012-07-31 17:17:50.000000000 +0200
+@@ -52,11 +52,11 @@
+ if (advice.isEmpty())
+ return KCookieAdvice::Dunno;
+
+- if (advice.find (TQString::tqfromLatin1("accept"), 0, false) == 0)
++ if (advice.find (TQString::fromLatin1("accept"), 0, false) == 0)
+ return KCookieAdvice::Accept;
+- else if (advice.find (TQString::tqfromLatin1("reject"), 0, false) == 0)
++ else if (advice.find (TQString::fromLatin1("reject"), 0, false) == 0)
+ return KCookieAdvice::Reject;
+- else if (advice.find (TQString::tqfromLatin1("ask"), 0, false) == 0)
++ else if (advice.find (TQString::fromLatin1("ask"), 0, false) == 0)
+ return KCookieAdvice::Ask;
+
+ return KCookieAdvice::Dunno;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/smbrodlg.cpp v3.5.13-sru/kcontrol/kio/smbrodlg.cpp
+--- /tmp/stable//kdebase/kcontrol/kio/smbrodlg.cpp 2011-08-11 07:25:29.000000000 +0200
++++ v3.5.13-sru/kcontrol/kio/smbrodlg.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -140,7 +140,7 @@
+ for (uint i=0; i<password.length(); i++)
+ {
+ TQChar c = password[i];
+- unsigned int num = (c.tqunicode() ^ 173) + 17;
++ unsigned int num = (c.unicode() ^ 173) + 17;
+ unsigned int a1 = (num & 0xFC00) >> 10;
+ unsigned int a2 = (num & 0x3E0) >> 5;
+ unsigned int a3 = (num & 0x1F);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/socksbase.ui v3.5.13-sru/kcontrol/kio/socksbase.ui
+--- /tmp/stable//kdebase/kcontrol/kio/socksbase.ui 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/socksbase.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -127,7 +127,7 @@
+ <property name="name">
+ <cstring>_c_customPath</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -211,7 +211,7 @@
+ <property name="name">
+ <cstring>_c_newPath</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>25</height>
+@@ -236,7 +236,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -281,7 +281,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/uagentproviderdlg.cpp v3.5.13-sru/kcontrol/kio/uagentproviderdlg.cpp
+--- /tmp/stable//kdebase/kcontrol/kio/uagentproviderdlg.cpp 2011-08-11 07:25:29.000000000 +0200
++++ v3.5.13-sru/kcontrol/kio/uagentproviderdlg.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -47,7 +47,7 @@
+ TQString keycode = e->text();
+ if ( (key >= Qt::Key_Escape && key <= Qt::Key_Help) || key == Qt::Key_Period ||
+ (cursorPosition() > 0 && key == Qt::Key_Minus) ||
+- (!keycode.isEmpty() && keycode.tqunicode()->isLetterOrNumber()) )
++ (!keycode.isEmpty() && keycode.unicode()->isLetterOrNumber()) )
+ {
+ KLineEdit::keyPressEvent(e);
+ return;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/uagentproviderdlg_ui.ui v3.5.13-sru/kcontrol/kio/uagentproviderdlg_ui.ui
+--- /tmp/stable//kdebase/kcontrol/kio/uagentproviderdlg_ui.ui 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/uagentproviderdlg_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -117,7 +117,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>16</height>
+@@ -142,7 +142,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>29</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/useragentdlg_ui.ui v3.5.13-sru/kcontrol/kio/useragentdlg_ui.ui
+--- /tmp/stable//kdebase/kcontrol/kio/useragentdlg_ui.ui 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/useragentdlg_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -117,7 +117,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+@@ -310,7 +310,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/knotify/playersettings.ui v3.5.13-sru/kcontrol/knotify/playersettings.ui
+--- /tmp/stable//kdebase/kcontrol/knotify/playersettings.ui 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/knotify/playersettings.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -84,7 +84,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -109,7 +109,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -140,7 +140,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>233</width>
+ <height>20</height>
+@@ -205,7 +205,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -265,7 +265,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konq/behaviour.cpp v3.5.13-sru/kcontrol/konq/behaviour.cpp
+--- /tmp/stable//kdebase/kcontrol/konq/behaviour.cpp 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/konq/behaviour.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -58,7 +58,7 @@
+ winPixmap->setFrameStyle( TQFrame::StyledPanel | TQFrame::Sunken );
+ winPixmap->setPixmap(TQPixmap(locate("data",
+ "kcontrol/pics/onlyone.png")));
+- winPixmap->setFixedSize( winPixmap->tqsizeHint() );
++ winPixmap->setFixedSize( winPixmap->sizeHint() );
+
+
+ // ----
+@@ -103,7 +103,7 @@
+ TQHBox *hboxpreview = new TQHBox(vbox);
+ TQWidget* spacer = new TQWidget( hboxpreview );
+ spacer->setMinimumSize( 20, 0 );
+- spacer->tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum );
++ spacer->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum );
+
+ cbShowPreviewsInTips = new TQCheckBox( i18n( "Show &previews in file tips" ), hboxpreview );
+ connect(cbShowPreviewsInTips, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed()));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konq/desktopbehavior_impl.cpp v3.5.13-sru/kcontrol/konq/desktopbehavior_impl.cpp
+--- /tmp/stable//kdebase/kcontrol/konq/desktopbehavior_impl.cpp 2011-08-11 07:25:27.000000000 +0200
++++ v3.5.13-sru/kcontrol/konq/desktopbehavior_impl.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -124,7 +124,7 @@
+ */
+ bool leftHandedMouse = ( KGlobalSettings::mouseSettings().handed == KGlobalSettings::KMouseSettings::LeftHanded);
+
+- m_bHasMedia = KProtocolInfo::isKnownProtocol(TQString::tqfromLatin1("media"));
++ m_bHasMedia = KProtocolInfo::isKnownProtocol(TQString::fromLatin1("media"));
+
+ connect(desktopMenuGroup, TQT_SIGNAL(clicked(int)), this, TQT_SIGNAL(changed()));
+ connect(iconsEnabledBox, TQT_SIGNAL(clicked()), this, TQT_SLOT(enableChanged()));
+@@ -241,9 +241,9 @@
+ it; it=static_cast<DesktopBehaviorMediaItem *>(it->nextSibling()))
+ {
+ if (it->mimeType().startsWith("media/builtin-") == false)
+- it->tqsetVisible(enabled);
++ it->setVisible(enabled);
+ else
+- it->tqsetVisible(TRUE);
++ it->setVisible(TRUE);
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konq/desktopbehavior_impl.h v3.5.13-sru/kcontrol/konq/desktopbehavior_impl.h
+--- /tmp/stable//kdebase/kcontrol/konq/desktopbehavior_impl.h 2010-09-24 19:35:33.000000000 +0200
++++ v3.5.13-sru/kcontrol/konq/desktopbehavior_impl.h 2012-07-31 17:17:50.000000000 +0200
+@@ -22,6 +22,7 @@
+ #define desktopbehavior_h
+
+ #include "desktopbehavior.h"
++#include "tqlistview.h"
+ #include <kconfig.h>
+ #include <kcmodule.h>
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konq/desktopbehavior.ui v3.5.13-sru/kcontrol/konq/desktopbehavior.ui
+--- /tmp/stable//kdebase/kcontrol/konq/desktopbehavior.ui 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/konq/desktopbehavior.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -74,7 +74,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -268,7 +268,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>191</width>
+ <height>80</height>
+@@ -287,7 +287,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konqhtml/advancedTabOptions.ui v3.5.13-sru/kcontrol/konqhtml/advancedTabOptions.ui
+--- /tmp/stable//kdebase/kcontrol/konqhtml/advancedTabOptions.ui 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/konqhtml/advancedTabOptions.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -138,7 +138,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konqhtml/appearance.cpp v3.5.13-sru/kcontrol/konqhtml/appearance.cpp
+--- /tmp/stable//kdebase/kcontrol/konqhtml/appearance.cpp 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/konqhtml/appearance.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -231,7 +231,7 @@
+
+ TQFontDatabase db;
+
+- m_families = db.tqfamilies();
++ m_families = db.families();
+
+ m_pFonts[0]->setFonts( m_families );
+ m_pFonts[1]->setFonts( m_families );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konqhtml/domainlistview.cpp v3.5.13-sru/kcontrol/konqhtml/domainlistview.cpp
+--- /tmp/stable//kdebase/kcontrol/konqhtml/domainlistview.cpp 2011-08-11 07:25:30.000000000 +0200
++++ v3.5.13-sru/kcontrol/konqhtml/domainlistview.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -38,8 +38,8 @@
+ setColumnLayout(0, Qt::Vertical);
+ layout()->setSpacing(0);
+ layout()->setMargin(0);
+- TQGridLayout* thisLayout = new TQGridLayout(tqlayout());
+- thisLayout->tqsetAlignment(Qt::AlignTop);
++ TQGridLayout* thisLayout = new TQGridLayout(layout());
++ thisLayout->setAlignment(Qt::AlignTop);
+ thisLayout->setSpacing(KDialog::spacingHint());
+ thisLayout->setMargin(KDialog::marginHint());
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konqhtml/htmlopts.cpp v3.5.13-sru/kcontrol/konqhtml/htmlopts.cpp
+--- /tmp/stable//kdebase/kcontrol/konqhtml/htmlopts.cpp 2011-10-24 00:25:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/konqhtml/htmlopts.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -82,7 +82,7 @@
+ // Tabbed Browsing
+
+ TQGroupBox *bgTabbedBrowsing = new TQGroupBox( 0, Qt::Vertical, i18n("Tabbed Browsing"), this );
+- TQVBoxLayout *laygroup = new TQVBoxLayout(bgTabbedBrowsing->tqlayout(), KDialog::spacingHint() );
++ TQVBoxLayout *laygroup = new TQVBoxLayout(bgTabbedBrowsing->layout(), KDialog::spacingHint() );
+
+ m_pShowMMBInTabs = new TQCheckBox( i18n( "Open &links in new tab instead of in new window" ), bgTabbedBrowsing );
+ TQWhatsThis::add( m_pShowMMBInTabs, i18n("This will open a new tab instead of a new window in various situations, "
+@@ -109,7 +109,7 @@
+ TQVGroupBox *bgMouse = new TQVGroupBox( i18n("Mouse Beha&vior"), this );
+
+ m_cbCursor = new TQCheckBox(i18n("Chan&ge cursor over links"), bgMouse );
+- TQWhatsThis::add( m_cbCursor, i18n("If this option is set, the tqshape of the cursor will change "
++ TQWhatsThis::add( m_cbCursor, i18n("If this option is set, the shape of the cursor will change "
+ "(usually to a hand) if it is moved over a hyperlink.") );
+ connect(m_cbCursor, TQT_SIGNAL(clicked()), TQT_SLOT(slotChanged()));
+
+@@ -299,7 +299,7 @@
+ KConfig kdeglobals("kdeglobals", true, false);
+ kdeglobals.setReadDefaults( useDefaults );
+ kdeglobals.setGroup("KDE");
+- bool smoothScrolling = kdeglobals.readBoolEntry("SmoothScroll", DEFAULT_SMOOTHSCROLL);
++ bool smoothScrolling = kdeglobals.readBoolEntry("SmoothScrolling", DEFAULT_SMOOTHSCROLL);
+ if (smoothScrolling)
+ m_pSmoothScrollingCombo->setCurrentItem( SmoothScrollingAlways );
+ else
+@@ -374,13 +374,13 @@
+ switch(m_pSmoothScrollingCombo->currentItem())
+ {
+ case SmoothScrollingAlways:
+- kdeglobals.writeEntry( "SmoothScroll", true );
++ kdeglobals.writeEntry( "SmoothScrolling", true );
+ break;
+ case SmoothScrollingNever:
+- kdeglobals.writeEntry( "SmoothScroll", false );
++ kdeglobals.writeEntry( "SmoothScrolling", false );
+ break;
+ // case SmoothScrollingWhenEfficient:
+- // kdeglobals.writeEntry( "SmoothScroll", somethingelse );
++ // kdeglobals.writeEntry( "SmoothScrolling", somethingelse );
+ // break;
+ }
+ kdeglobals.sync();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konqhtml/jspolicies.cpp v3.5.13-sru/kcontrol/konqhtml/jspolicies.cpp
+--- /tmp/stable//kdebase/kcontrol/konqhtml/jspolicies.cpp 2011-08-11 07:25:30.000000000 +0200
++++ v3.5.13-sru/kcontrol/konqhtml/jspolicies.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -135,8 +135,8 @@
+ setColumnLayout(0, Qt::Vertical);
+ layout()->setSpacing(0);
+ layout()->setMargin(0);
+- TQGridLayout *this_layout = new TQGridLayout(tqlayout(),5,10+is_per_domain*2);
+- this_layout->tqsetAlignment(Qt::AlignTop);
++ TQGridLayout *this_layout = new TQGridLayout(layout(),5,10+is_per_domain*2);
++ this_layout->setAlignment(Qt::AlignTop);
+ this_layout->setSpacing(3);
+ this_layout->setMargin(11);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konqhtml/nsconfigwidget.ui v3.5.13-sru/kcontrol/konqhtml/nsconfigwidget.ui
+--- /tmp/stable//kdebase/kcontrol/konqhtml/nsconfigwidget.ui 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/konqhtml/nsconfigwidget.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -72,7 +72,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -96,7 +96,7 @@
+ <property name="name">
+ <cstring>GroupBox1</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>300</width>
+ <height>0</height>
+@@ -184,7 +184,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konqhtml/pluginopts.cpp v3.5.13-sru/kcontrol/konqhtml/pluginopts.cpp
+--- /tmp/stable//kdebase/kcontrol/konqhtml/pluginopts.cpp 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/konqhtml/pluginopts.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -72,14 +72,14 @@
+
+ TQFrame *hrule = new TQFrame(globalGB);
+ hrule->setFrameStyle(TQFrame::HLine | TQFrame::Sunken);
+- hrule->tqsetSizePolicy(TQSizePolicy::MinimumExpanding,TQSizePolicy::Fixed);
++ hrule->setSizePolicy(TQSizePolicy::MinimumExpanding,TQSizePolicy::Fixed);
+
+ /**************************************************************************
+ ********************* Domain-specific Settings ***************************
+ *************************************************************************/
+ TQPushButton *domainSpecPB = new TQPushButton(i18n("Domain-Specific Settin&gs"),
+ globalGB);
+- domainSpecPB->tqsetSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Fixed);
++ domainSpecPB->setSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Fixed);
+ connect(domainSpecPB,TQT_SIGNAL(clicked()),TQT_SLOT(slotShowDomainDlg()));
+
+ domainSpecificDlg = new KDialogBase(KDialogBase::Swallow,
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konsole/kcmkonsoledialog.ui v3.5.13-sru/kcontrol/konsole/kcmkonsoledialog.ui
+--- /tmp/stable//kdebase/kcontrol/konsole/kcmkonsoledialog.ui 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/konsole/kcmkonsoledialog.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -55,7 +55,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -184,7 +184,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -282,7 +282,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konsole/schemadialog.ui v3.5.13-sru/kcontrol/konsole/schemadialog.ui
+--- /tmp/stable//kdebase/kcontrol/konsole/schemadialog.ui 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/konsole/schemadialog.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -108,7 +108,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -158,7 +158,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -357,7 +357,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -389,7 +389,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -498,13 +498,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>180</width>
+ <height>120</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>180</width>
+ <height>120</height>
+@@ -540,7 +540,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konsole/schemaeditor.cpp v3.5.13-sru/kcontrol/konsole/schemaeditor.cpp
+--- /tmp/stable//kdebase/kcontrol/konsole/schemaeditor.cpp 2011-08-11 07:25:31.000000000 +0200
++++ v3.5.13-sru/kcontrol/konsole/schemaeditor.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -666,7 +666,7 @@
+ continue;
+ if (!(0 <= bo && bo <= 1))
+ continue;
+- color[fi] = kapp->tqpalette().active().text();
++ color[fi] = kapp->palette().active().text();
+ transparent[fi] = tr;
+ bold[fi] = bo;
+ type[fi] = 1;
+@@ -681,7 +681,7 @@
+ continue;
+ if (!(0 <= bo && bo <= 1))
+ continue;
+- color[fi] = kapp->tqpalette().active().base();
++ color[fi] = kapp->palette().active().base();
+ transparent[fi] = tr;
+ bold[fi] = bo;
+ type[fi] = 2;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konsole/sessiondialog.ui v3.5.13-sru/kcontrol/konsole/sessiondialog.ui
+--- /tmp/stable//kdebase/kcontrol/konsole/sessiondialog.ui 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/konsole/sessiondialog.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -184,13 +184,13 @@
+ <property name="name">
+ <cstring>previewIcon</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>100</width>
+ <height>100</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>100</width>
+ <height>100</height>
+@@ -212,7 +212,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>90</width>
+ <height>100</height>
+@@ -221,7 +221,7 @@
+ <property name="text">
+ <string>&amp;Icon:</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignTop|AlignLeft</set>
+ </property>
+ <property name="buddy" stdset="0">
+@@ -280,7 +280,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konsole/sessioneditor.cpp v3.5.13-sru/kcontrol/konsole/sessioneditor.cpp
+--- /tmp/stable//kdebase/kcontrol/konsole/sessioneditor.cpp 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/konsole/sessioneditor.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -340,8 +340,8 @@
+ else
+ co->writeEntry("Font",fontCombo->currentItem()-1);
+ co->writeEntry("Term",termLine->text());
+- co->writeEntry("KeyTab",*keytabFilename.tqat(keytabCombo->currentItem()));
+- co->writeEntry("Schema",*schemaFilename.tqat(schemaCombo->currentItem()));
++ co->writeEntry("KeyTab",*keytabFilename.at(keytabCombo->currentItem()));
++ co->writeEntry("Schema",*schemaFilename.at(schemaCombo->currentItem()));
+ co->sync();
+ delete co;
+ sesMod=false;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/krdb/krdb.cpp v3.5.13-sru/kcontrol/krdb/krdb.cpp
+--- /tmp/stable//kdebase/kcontrol/krdb/krdb.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kcontrol/krdb/krdb.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -80,7 +80,7 @@
+ TQStringList list = TQStringList::split(':', TQFile::decodeName(gtkrc));
+ if (list.count() == 0)
+ {
+- list.append(TQString::tqfromLatin1(sysGtkrc(version)));
++ list.append(TQString::fromLatin1(sysGtkrc(version)));
+ list.append(TQDir::homeDirPath()+userGtkrc(version));
+ }
+ list.remove(gtkkde);
+@@ -347,7 +347,7 @@
+ "# Appearance & Themes -> Colors in the Control Center and disable the checkbox\n"
+ "# \"Apply colors to non-KDE applications\"\n"
+ "#\n"
+- "#\n").arg(TQDateTime::tqcurrentDateTime().toString());
++ "#\n").arg(TQDateTime::currentDateTime().toString());
+
+ t << "style \"default\"" << endl;
+ t << "{" << endl;
+@@ -590,7 +590,7 @@
+ // Qt-only apps without adversely affecting ourselves.
+
+ // Cheat and use the current timestamp, since we just saved to qtrc.
+- TQDateTime settingsstamp = TQDateTime::tqcurrentDateTime();
++ TQDateTime settingsstamp = TQDateTime::currentDateTime();
+
+ static Atom qt_settings_timestamp = 0;
+ if (!qt_settings_timestamp) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kthememanager/ktheme.cpp v3.5.13-sru/kcontrol/kthememanager/ktheme.cpp
+--- /tmp/stable//kdebase/kcontrol/kthememanager/ktheme.cpp 2011-08-11 07:25:31.000000000 +0200
++++ v3.5.13-sru/kcontrol/kthememanager/ktheme.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -720,7 +720,7 @@
+ else
+ {
+ kdWarning() << TQString( "No such property found: %1->%2->%3" )
+- .tqarg( parent.tagName() ).tqarg( tag ).tqarg( attr ) << endl;
++ .arg( parent.tagName() ).arg( tag ).arg( attr ) << endl;
+ return TQString::null;
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kthememanager/kthemedlg.ui v3.5.13-sru/kcontrol/kthememanager/kthemedlg.ui
+--- /tmp/stable//kdebase/kcontrol/kthememanager/kthemedlg.ui 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/kthememanager/kthemedlg.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -60,7 +60,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>170</width>
+ <height>20</height>
+@@ -109,7 +109,7 @@
+ <property name="frameShape">
+ <enum>Box</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ </widget>
+@@ -211,13 +211,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>80</width>
+ <height>60</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>60</height>
+@@ -251,13 +251,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>80</width>
+ <height>60</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>60</height>
+@@ -291,13 +291,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>80</width>
+ <height>60</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>60</height>
+@@ -331,13 +331,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>80</width>
+ <height>60</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>60</height>
+@@ -371,13 +371,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>80</width>
+ <height>60</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>60</height>
+@@ -411,13 +411,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>80</width>
+ <height>60</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>60</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kthememanager/newthemewidget.ui v3.5.13-sru/kcontrol/kthememanager/newthemewidget.ui
+--- /tmp/stable//kdebase/kcontrol/kthememanager/newthemewidget.ui 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/kthememanager/newthemewidget.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -88,7 +88,7 @@
+ <property name="text">
+ <string>Co&amp;mment:</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignTop</set>
+ </property>
+ <property name="buddy" stdset="0">
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/launch/kcmlaunch.cpp v3.5.13-sru/kcontrol/launch/kcmlaunch.cpp
+--- /tmp/stable//kdebase/kcontrol/launch/kcmlaunch.cpp 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/launch/kcmlaunch.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -57,10 +57,10 @@
+ "given in the section 'Startup indication timeout'"));
+
+ GroupBox1->setColumnLayout(0, Qt::Vertical );
+- GroupBox1->tqlayout()->setSpacing( 0 );
+- GroupBox1->tqlayout()->setMargin( 0 );
++ GroupBox1->layout()->setSpacing( 0 );
++ GroupBox1->layout()->setMargin( 0 );
+ Form1Layout->addWidget( GroupBox1 );
+- TQGridLayout* GroupBox1Layout = new TQGridLayout( GroupBox1->tqlayout(), 3, 2 );
++ TQGridLayout* GroupBox1Layout = new TQGridLayout( GroupBox1->layout(), 3, 2 );
+ GroupBox1Layout->setSpacing( 6 );
+ GroupBox1Layout->setMargin( 11 );
+ GroupBox1Layout->setColStretch( 1, 1 );
+@@ -97,10 +97,10 @@
+ "given in the section 'Startup indication timeout'"));
+
+ GroupBox2->setColumnLayout( 0, Qt::Vertical );
+- GroupBox2->tqlayout()->setSpacing( 0 );
+- GroupBox2->tqlayout()->setMargin( 0 );
++ GroupBox2->layout()->setSpacing( 0 );
++ GroupBox2->layout()->setMargin( 0 );
+ Form1Layout->addWidget( GroupBox2 );
+- TQGridLayout* GroupBox2Layout = new TQGridLayout( GroupBox2->tqlayout(), 2, 2 );
++ TQGridLayout* GroupBox2Layout = new TQGridLayout( GroupBox2->layout(), 2, 2 );
+ GroupBox2Layout->setSpacing( 6 );
+ GroupBox2Layout->setMargin( 11 );
+ GroupBox2Layout->setColStretch( 1, 1 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/locale/kcmlocale.cpp v3.5.13-sru/kcontrol/locale/kcmlocale.cpp
+--- /tmp/stable//kdebase/kcontrol/locale/kcmlocale.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/locale/kcmlocale.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -59,7 +59,7 @@
+ this, TQT_SLOT(changedCountry(const TQString &)) );
+
+ m_labLang = new TQLabel(this, I18N_NOOP("Languages:"));
+- m_labLang->tqsetAlignment( AlignTop );
++ m_labLang->setAlignment( AlignTop );
+
+ m_languages = new TQListBox(this);
+ connect(m_languages, TQT_SIGNAL(selectionChanged()),
+@@ -174,12 +174,12 @@
+ // If it's already in list, just move it (delete the old, then insert a new)
+ int oldPos = languageList.findIndex( code );
+ if ( oldPos != -1 )
+- languageList.remove( languageList.tqat(oldPos) );
++ languageList.remove( languageList.at(oldPos) );
+
+ if ( oldPos != -1 && oldPos < pos )
+ --pos;
+
+- TQStringList::Iterator it = languageList.tqat( pos );
++ TQStringList::Iterator it = languageList.at( pos );
+
+ languageList.insert( it, code );
+
+@@ -195,7 +195,7 @@
+ TQStringList languageList = m_locale->languageList();
+ int pos = m_languages->currentItem();
+
+- TQStringList::Iterator it = languageList.tqat( pos );
++ TQStringList::Iterator it = languageList.at( pos );
+
+ if ( it != languageList.end() )
+ {
+@@ -214,8 +214,8 @@
+ TQStringList languageList = m_locale->languageList();
+ int pos = m_languages->currentItem();
+
+- TQStringList::Iterator it1 = languageList.tqat( pos - 1 );
+- TQStringList::Iterator it2 = languageList.tqat( pos );
++ TQStringList::Iterator it1 = languageList.at( pos - 1 );
++ TQStringList::Iterator it2 = languageList.at( pos );
+
+ if ( it1 != languageList.end() && it2 != languageList.end() )
+ {
+@@ -236,8 +236,8 @@
+ TQStringList languageList = m_locale->languageList();
+ int pos = m_languages->currentItem();
+
+- TQStringList::Iterator it1 = languageList.tqat( pos );
+- TQStringList::Iterator it2 = languageList.tqat( pos + 1 );
++ TQStringList::Iterator it1 = languageList.at( pos );
++ TQStringList::Iterator it2 = languageList.at( pos + 1 );
+
+ if ( it1 != languageList.end() && it2 != languageList.end() )
+ {
+@@ -270,7 +270,7 @@
+ it != first.end();
+ ++it )
+ {
+- TQString str = locate("locale", TQString::tqfromLatin1("%1/entry.desktop")
++ TQString str = locate("locale", TQString::fromLatin1("%1/entry.desktop")
+ .arg(*it));
+ if (!str.isNull())
+ prilang << str;
+@@ -278,7 +278,7 @@
+
+ // add all languages to the list
+ TQStringList alllang = KGlobal::dirs()->findAllResources("locale",
+- TQString::tqfromLatin1("*/entry.desktop"),
++ TQString::fromLatin1("*/entry.desktop"),
+ false, true);
+ TQStringList langlist = prilang;
+ if (langlist.count() > 0)
+@@ -293,7 +293,7 @@
+ if ((*it).isNull())
+ {
+ m_addLanguage->insertSeparator();
+- submenu = TQString::tqfromLatin1("other");
++ submenu = TQString::fromLatin1("other");
+ m_addLanguage->insertSubmenu(m_locale->translate("Other"),
+ submenu, TQString::null, -1);
+ menu_index = -2; // first entries should _not_ be sorted
+@@ -322,13 +322,13 @@
+ KLocale *lsave = KGlobal::_locale;
+ KGlobal::_locale = m_locale;
+
+- TQString sub = TQString::tqfromLatin1("l10n/");
++ TQString sub = TQString::fromLatin1("l10n/");
+
+ // clear the list
+ m_comboCountry->clear();
+
+ TQStringList regionlist = KGlobal::dirs()->findAllResources("locale",
+- sub + TQString::tqfromLatin1("*.desktop"),
++ sub + TQString::fromLatin1("*.desktop"),
+ false, true );
+
+ for ( TQStringList::ConstIterator it = regionlist.begin();
+@@ -352,7 +352,7 @@
+ m_locale->translate("without name"));
+
+ TQString map( locate( "locale",
+- TQString::tqfromLatin1( "l10n/%1.png" )
++ TQString::fromLatin1( "l10n/%1.png" )
+ .arg(tag) ) );
+ TQIconSet icon;
+ if ( !map.isNull() )
+@@ -362,7 +362,7 @@
+
+ // add all languages to the list
+ TQStringList countrylist = KGlobal::dirs()->findAllResources
+- ("locale", sub + TQString::tqfromLatin1("*/entry.desktop"), false, true);
++ ("locale", sub + TQString::fromLatin1("*/entry.desktop"), false, true);
+
+ for ( TQStringList::ConstIterator it = countrylist.begin();
+ it != countrylist.end(); ++it )
+@@ -381,7 +381,7 @@
+ int menu_index = submenu.isEmpty() ? -1 : -2;
+
+ TQString flag( locate( "locale",
+- TQString::tqfromLatin1( "l10n/%1/flag.png" )
++ TQString::fromLatin1( "l10n/%1/flag.png" )
+ .arg(tag) ) );
+ TQIconSet icon( KGlobal::iconLoader()->loadIconSet(flag, KIcon::Small) );
+ m_comboCountry->insertItem( icon, name, tag, submenu, menu_index );
+@@ -399,7 +399,7 @@
+ KGlobal::_locale = m_locale;
+
+ // read the name
+- TQString filepath = TQString::tqfromLatin1("%1%2/entry.desktop")
++ TQString filepath = TQString::fromLatin1("%1%2/entry.desktop")
+ .arg(sub)
+ .arg(path);
+
+@@ -419,7 +419,7 @@
+
+ config->writeEntry("Country", m_locale->country(), true, true);
+ if ( m_locale->languageList().isEmpty() )
+- config->writeEntry("Language", TQString::tqfromLatin1(""), true, true);
++ config->writeEntry("Language", TQString::fromLatin1(""), true, true);
+ else
+ config->writeEntry("Language",
+ m_locale->languageList(), ':', true, true);
+@@ -502,7 +502,7 @@
+ TQStringList KLocaleConfig::languageList() const
+ {
+ TQString fileName = locate("locale",
+- TQString::tqfromLatin1("l10n/%1/entry.desktop")
++ TQString::fromLatin1("l10n/%1/entry.desktop")
+ .arg(m_locale->country()));
+
+ KSimpleConfig entry(fileName);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/locale/klocalesample.cpp v3.5.13-sru/kcontrol/locale/klocalesample.cpp
+--- /tmp/stable//kdebase/kcontrol/locale/klocalesample.cpp 2011-03-12 07:57:39.000000000 +0100
++++ v3.5.13-sru/kcontrol/locale/klocalesample.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -45,7 +45,7 @@
+ lay->setAutoAdd(TRUE);
+
+ // Whatever the color scheme is, we want black text
+- TQColorGroup a = tqpalette().active();
++ TQColorGroup a = palette().active();
+ a.setColor(TQColorGroup::Foreground, Qt::black);
+ TQPalette pal(a, a, a);
+
+@@ -88,7 +88,7 @@
+
+ void KLocaleSample::slotUpdateTime()
+ {
+- TQDateTime dt = TQDateTime::tqcurrentDateTime();
++ TQDateTime dt = TQDateTime::currentDateTime();
+
+ m_dateSample->setText(m_locale->formatDate(TQT_TQDATE_OBJECT(dt.date()), false));
+ m_dateShortSample->setText(m_locale->formatDate(TQT_TQDATE_OBJECT(dt.date()), true));
+@@ -98,11 +98,11 @@
+ void KLocaleSample::slotLocaleChanged()
+ {
+ m_numberSample->setText(m_locale->formatNumber(1234567.89) +
+- TQString::tqfromLatin1(" / ") +
++ TQString::fromLatin1(" / ") +
+ m_locale->formatNumber(-1234567.89));
+
+ m_moneySample->setText(m_locale->formatMoney(123456789.00) +
+- TQString::tqfromLatin1(" / ") +
++ TQString::fromLatin1(" / ") +
+ m_locale->formatMoney(-123456789.00));
+
+ slotUpdateTime();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/locale/localemon.cpp v3.5.13-sru/kcontrol/locale/localemon.cpp
+--- /tmp/stable//kdebase/kcontrol/locale/localemon.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/locale/localemon.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -131,7 +131,7 @@
+ KConfigGroupSaver saver(config, "Locale");
+
+ KSimpleConfig ent(locate("locale",
+- TQString::tqfromLatin1("l10n/%1/entry.desktop")
++ TQString::fromLatin1("l10n/%1/entry.desktop")
+ .arg(m_locale->country())), true);
+ ent.setGroup("KCM Locale");
+
+@@ -139,25 +139,25 @@
+ int i;
+ bool b;
+
+- str = ent.readEntry("CurrencySymbol", TQString::tqfromLatin1("$"));
++ str = ent.readEntry("CurrencySymbol", TQString::fromLatin1("$"));
+ config->deleteEntry("CurrencySymbol", false, true);
+ if (str != m_locale->currencySymbol())
+ config->writeEntry("CurrencySymbol",
+ m_locale->currencySymbol(), true, true);
+
+- str = ent.readEntry("MonetaryDecimalSymbol", TQString::tqfromLatin1("."));
++ str = ent.readEntry("MonetaryDecimalSymbol", TQString::fromLatin1("."));
+ config->deleteEntry("MonetaryDecimalSymbol", false, true);
+ if (str != m_locale->monetaryDecimalSymbol())
+ config->writeEntry("MonetaryDecimalSymbol",
+ m_locale->monetaryDecimalSymbol(), true, true);
+
+- str = ent.readEntry("MonetaryThousandsSeparator", TQString::tqfromLatin1(","));
+- str.replace(TQString::tqfromLatin1("$0"), TQString());
++ str = ent.readEntry("MonetaryThousandsSeparator", TQString::fromLatin1(","));
++ str.replace(TQString::fromLatin1("$0"), TQString());
+ config->deleteEntry("MonetaryThousandsSeparator", false, true);
+ if (str != m_locale->monetaryThousandsSeparator())
+ config->writeEntry("MonetaryThousandsSeparator",
+- TQString::tqfromLatin1("$0%1$0")
+- .tqarg(m_locale->monetaryThousandsSeparator()),
++ TQString::fromLatin1("$0%1$0")
++ .arg(m_locale->monetaryThousandsSeparator()),
+ true, true);
+
+ i = ent.readNumEntry("FracDigits", 2);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/locale/localenum.cpp v3.5.13-sru/kcontrol/locale/localenum.cpp
+--- /tmp/stable//kdebase/kcontrol/locale/localenum.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/locale/localenum.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -89,34 +89,34 @@
+ KConfigGroupSaver saver(config, "Locale");
+
+ KSimpleConfig ent(locate("locale",
+- TQString::tqfromLatin1("l10n/%1/entry.desktop")
++ TQString::fromLatin1("l10n/%1/entry.desktop")
+ .arg(m_locale->country())), true);
+ ent.setGroup("KCM Locale");
+
+ TQString str;
+
+ str = ent.readEntry("DecimalSymbol",
+- TQString::tqfromLatin1("."));
++ TQString::fromLatin1("."));
+ config->deleteEntry("DecimalSymbol", false, true);
+ if (str != m_locale->decimalSymbol())
+ config->writeEntry("DecimalSymbol",
+ m_locale->decimalSymbol(), true, true);
+
+ str = ent.readEntry("ThousandsSeparator",
+- TQString::tqfromLatin1(","));
++ TQString::fromLatin1(","));
+ config->deleteEntry("ThousandsSeparator", false, true);
+- str.replace(TQString::tqfromLatin1("$0"), TQString());
++ str.replace(TQString::fromLatin1("$0"), TQString());
+ if (str != m_locale->thousandsSeparator())
+ config->writeEntry("ThousandsSeparator",
+- TQString::tqfromLatin1("$0%1$0")
+- .tqarg(m_locale->thousandsSeparator()), true, true);
++ TQString::fromLatin1("$0%1$0")
++ .arg(m_locale->thousandsSeparator()), true, true);
+
+ str = ent.readEntry("PositiveSign");
+ config->deleteEntry("PositiveSign", false, true);
+ if (str != m_locale->positiveSign())
+ config->writeEntry("PositiveSign", m_locale->positiveSign(), true, true);
+
+- str = ent.readEntry("NegativeSign", TQString::tqfromLatin1("-"));
++ str = ent.readEntry("NegativeSign", TQString::fromLatin1("-"));
+ config->deleteEntry("NegativeSign", false, true);
+ if (str != m_locale->negativeSign())
+ config->writeEntry("NegativeSign", m_locale->negativeSign(), true, true);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/locale/localeother.cpp v3.5.13-sru/kcontrol/locale/localeother.cpp
+--- /tmp/stable//kdebase/kcontrol/locale/localeother.cpp 2011-03-12 07:57:39.000000000 +0100
++++ v3.5.13-sru/kcontrol/locale/localeother.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -80,7 +80,7 @@
+ KConfigGroupSaver saver(config, "Locale");
+
+ KSimpleConfig ent(locate("locale",
+- TQString::tqfromLatin1("l10n/%1/entry.desktop")
++ TQString::fromLatin1("l10n/%1/entry.desktop")
+ .arg(m_locale->country())), true);
+ ent.setGroup("KCM Locale");
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/locale/localetime.cpp v3.5.13-sru/kcontrol/locale/localetime.cpp
+--- /tmp/stable//kdebase/kcontrol/locale/localetime.cpp 2011-03-12 07:57:39.000000000 +0100
++++ v3.5.13-sru/kcontrol/locale/localetime.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -150,7 +150,7 @@
+
+ if ( !bFound )
+ {
+- TQChar c = userFormat.tqat( pos );
++ TQChar c = userFormat.at( pos );
+ if ( c == '%' )
+ result += c;
+
+@@ -169,7 +169,7 @@
+ bool escaped = false;
+ for ( uint pos = 0; pos < storeFormat.length(); ++pos )
+ {
+- TQChar c = storeFormat.tqat(pos);
++ TQChar c = storeFormat.at(pos);
+ if ( escaped )
+ {
+ StringPair it = StringPair::find( list, c );
+@@ -253,28 +253,28 @@
+ KConfigGroupSaver saver(config, "Locale");
+
+ KSimpleConfig ent(locate("locale",
+- TQString::tqfromLatin1("l10n/%1/entry.desktop")
++ TQString::fromLatin1("l10n/%1/entry.desktop")
+ .arg(m_locale->country())), true);
+ ent.setGroup("KCM Locale");
+
+ TQString str;
+
+- str = ent.readEntry("CalendarSystem", TQString::tqfromLatin1("gregorian"));
++ str = ent.readEntry("CalendarSystem", TQString::fromLatin1("gregorian"));
+ config->deleteEntry("CalendarSystem", false, true);
+ if (str != m_locale->calendarType())
+ config->writeEntry("CalendarSystem", m_locale->calendarType(), true, true);
+
+- str = ent.readEntry("TimeFormat", TQString::tqfromLatin1("%H:%M:%S"));
++ str = ent.readEntry("TimeFormat", TQString::fromLatin1("%H:%M:%S"));
+ config->deleteEntry("TimeFormat", false, true);
+ if (str != m_locale->timeFormat())
+ config->writeEntry("TimeFormat", m_locale->timeFormat(), true, true);
+
+- str = ent.readEntry("DateFormat", TQString::tqfromLatin1("%A %d %B %Y"));
++ str = ent.readEntry("DateFormat", TQString::fromLatin1("%A %d %B %Y"));
+ config->deleteEntry("DateFormat", false, true);
+ if (str != m_locale->dateFormat())
+ config->writeEntry("DateFormat", m_locale->dateFormat(), true, true);
+
+- str = ent.readEntry("DateFormatShort", TQString::tqfromLatin1("%Y-%m-%d"));
++ str = ent.readEntry("DateFormatShort", TQString::fromLatin1("%Y-%m-%d"));
+ config->deleteEntry("DateFormatShort", false, true);
+ if (str != m_locale->dateFormatShort())
+ config->writeEntry("DateFormatShort",
+@@ -323,7 +323,7 @@
+
+ TQString calendarType;
+ bool ok;
+- calendarType = calendars.tqat(calendarSystem, &ok);
++ calendarType = calendars.at(calendarSystem, &ok);
+ if ( !ok )
+ calendarType = calendars.first();
+
+@@ -371,7 +371,7 @@
+ kdDebug(173) << storeToUser(timeMap(),
+ m_locale->timeFormat()) << endl;
+ kdDebug(173) << userToStore(timeMap(),
+- TQString::tqfromLatin1("HH:MM:SS AMPM test")) << endl;
++ TQString::fromLatin1("HH:MM:SS AMPM test")) << endl;
+
+ }
+
+@@ -416,7 +416,7 @@
+ {
+ TQString str;
+
+- TQString sep = TQString::tqfromLatin1("\n");
++ TQString sep = TQString::fromLatin1("\n");
+
+ TQString old;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/locale/toplevel.cpp v3.5.13-sru/kcontrol/locale/toplevel.cpp
+--- /tmp/stable//kdebase/kcontrol/locale/toplevel.cpp 2011-03-12 07:57:39.000000000 +0100
++++ v3.5.13-sru/kcontrol/locale/toplevel.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -62,7 +62,7 @@
+ m_nullConfig = new KConfig(TQString::null, false, false);
+ m_globalConfig = new KConfig(TQString::null, false, true);
+
+- m_locale = new KLocale(TQString::tqfromLatin1("kcmlocale"), m_nullConfig);
++ m_locale = new KLocale(TQString::fromLatin1("kcmlocale"), m_nullConfig);
+ TQVBoxLayout *l = new TQVBoxLayout(this, 0, KDialog::spacingHint());
+ l->setAutoAdd(TRUE);
+
+@@ -162,7 +162,7 @@
+ {
+ m_globalConfig->setReadDefaults( useDefaults );
+ m_globalConfig->reparseConfiguration();
+- *m_locale = KLocale(TQString::tqfromLatin1("kcmlocale"), m_globalConfig);
++ *m_locale = KLocale(TQString::fromLatin1("kcmlocale"), m_globalConfig);
+
+ emit localeChanged();
+ emit languageChanged();
+@@ -180,7 +180,7 @@
+ "language of all programs, you will have to "
+ "logout first."),
+ m_locale->translate("Applying Language Settings"),
+- TQString::tqfromLatin1("LanguageChangesApplyOnlyToNewlyStartedPrograms"));
++ TQString::fromLatin1("LanguageChangesApplyOnlyToNewlyStartedPrograms"));
+ // restore the old global locale
+ KGlobal::_locale = lsave;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/nics/nic.cpp v3.5.13-sru/kcontrol/nics/nic.cpp
+--- /tmp/stable//kdebase/kcontrol/nics/nic.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/nics/nic.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -298,21 +298,21 @@
+
+ if (flags & IFF_BROADCAST) {
+ if (tmp.length()) {
+- tmp += TQString::tqfromLatin1(", ");
++ tmp += TQString::fromLatin1(", ");
+ }
+ tmp += i18n("Broadcast");
+ }
+
+ if (flags & IFF_MULTICAST) {
+ if (tmp.length()) {
+- tmp += TQString::tqfromLatin1(", ");
++ tmp += TQString::fromLatin1(", ");
+ }
+ tmp += i18n("Multicast");
+ }
+
+ if (flags & IFF_LOOPBACK) {
+ if (tmp.length()) {
+- tmp += TQString::tqfromLatin1(", ");
++ tmp += TQString::fromLatin1(", ");
+ }
+ tmp += i18n("Loopback");
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/nics/nic.desktop v3.5.13-sru/kcontrol/nics/nic.desktop
+--- /tmp/stable//kdebase/kcontrol/nics/nic.desktop 2010-08-12 05:28:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/nics/nic.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -170,5 +170,5 @@
+ Comment[zh_TW]=網路界é¢è³‡è¨Š
+ Comment[zu]=Ulwazi lomxhumanisi woxhumano olusakazekile
+
+-Categories=Qt;KDE;X-KDE-settings-network;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/performance/konqueror_ui.ui v3.5.13-sru/kcontrol/performance/konqueror_ui.ui
+--- /tmp/stable//kdebase/kcontrol/performance/konqueror_ui.ui 2011-03-12 07:57:47.000000000 +0100
++++ v3.5.13-sru/kcontrol/performance/konqueror_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -101,7 +101,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -138,7 +138,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>160</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/performance/system_ui.ui v3.5.13-sru/kcontrol/performance/system_ui.ui
+--- /tmp/stable//kdebase/kcontrol/performance/system_ui.ui 2011-03-12 07:57:47.000000000 +0100
++++ v3.5.13-sru/kcontrol/performance/system_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -55,7 +55,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>40</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/privacy/kcmprivacydialog.ui v3.5.13-sru/kcontrol/privacy/kcmprivacydialog.ui
+--- /tmp/stable//kdebase/kcontrol/privacy/kcmprivacydialog.ui 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/privacy/kcmprivacydialog.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -79,13 +79,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>50</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>200</height>
+@@ -114,13 +114,13 @@
+ <property name="name">
+ <cstring>selectAllButton</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>80</width>
+ <height>0</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+@@ -134,13 +134,13 @@
+ <property name="name">
+ <cstring>selectNoneButton</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>80</width>
+ <height>0</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+@@ -160,7 +160,7 @@
+ <property name="sizeType">
+ <enum>Maximum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>80</width>
+ <height>20</height>
+@@ -179,7 +179,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/randr/configdialog.cpp v3.5.13-sru/kcontrol/randr/configdialog.cpp
+--- /tmp/stable//kdebase/kcontrol/randr/configdialog.cpp 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/randr/configdialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -60,7 +60,7 @@
+ {
+ if ( !isVisible() ) {
+ KWinModule module(0, KWinModule::INFO_DESKTOP);
+- TQSize s1 = tqsizeHint();
++ TQSize s1 = sizeHint();
+ TQSize s2 = module.workArea().size();
+ int w = s1.width();
+ int h = s1.height();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/randr/configdialog.h v3.5.13-sru/kcontrol/randr/configdialog.h
+--- /tmp/stable//kdebase/kcontrol/randr/configdialog.h 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/randr/configdialog.h 2012-07-31 17:17:50.000000000 +0200
+@@ -62,11 +62,11 @@
+ ListView( ConfigDialog* configWidget, TQWidget *parent, const char *name )
+ : KListView( parent, name ), _configWidget( configWidget ),
+ _regExpEditor(0L) {}
+- // TQListView has a weird idea of a tqsizeHint...
+- virtual TQSize tqsizeHint () const {
+- int w = tqminimumSizeHint().width();
++ // TQListView has a weird idea of a sizeHint...
++ virtual TQSize sizeHint () const {
++ int w = minimumSizeHint().width();
+ int h = header()->height();
+- h += viewport()->tqsizeHint().height();
++ h += viewport()->sizeHint().height();
+ h += horizontalScrollBar()->height();
+
+ TQListViewItem *item = firstChild();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/randr/krandrapp.cpp v3.5.13-sru/kcontrol/randr/krandrapp.cpp
+--- /tmp/stable//kdebase/kcontrol/randr/krandrapp.cpp 2010-08-12 05:28:34.000000000 +0200
++++ v3.5.13-sru/kcontrol/randr/krandrapp.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -28,13 +28,20 @@
+ KRandRApp::KRandRApp()
+ : m_tray(new KRandRSystemTray(0L, "RANDRTray"))
+ {
++ connect(&m_eventMergingTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(handleX11ConfigChangeEvent()));
+ m_tray->show();
+ }
+
++void KRandRApp::handleX11ConfigChangeEvent()
++{
++ m_eventMergingTimer.stop();
++ m_tray->configChanged();
++}
++
+ bool KRandRApp::x11EventFilter(XEvent* e)
+ {
+ if (e->type == m_tray->screenChangeNotifyEvent()) {
+- m_tray->configChanged();
++ m_eventMergingTimer.start(1000, TRUE);
+ }
+ return KApplication::x11EventFilter( e );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/randr/krandrapp.h v3.5.13-sru/kcontrol/randr/krandrapp.h
+--- /tmp/stable//kdebase/kcontrol/randr/krandrapp.h 2010-08-12 05:28:34.000000000 +0200
++++ v3.5.13-sru/kcontrol/randr/krandrapp.h 2012-07-31 17:17:50.000000000 +0200
+@@ -19,6 +19,7 @@
+ #ifndef KRANDRAPP_H
+ #define KRANDRAPP_H
+
++#include <tqtimer.h>
+ #include <kuniqueapplication.h>
+
+ class KRandRSystemTray;
+@@ -32,8 +33,12 @@
+
+ virtual bool x11EventFilter(XEvent * e);
+
++private slots:
++ void handleX11ConfigChangeEvent();
++
+ private:
+ KRandRSystemTray* m_tray;
++ TQTimer m_eventMergingTimer;
+ };
+
+ #endif
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/randr/krandrmodule.cpp v3.5.13-sru/kcontrol/randr/krandrmodule.cpp
+--- /tmp/stable//kdebase/kcontrol/randr/krandrmodule.cpp 2011-08-11 07:25:31.000000000 +0200
++++ v3.5.13-sru/kcontrol/randr/krandrmodule.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -93,7 +93,7 @@
+ m_screenSelector = new KComboBox(screenBox);
+
+ for (int s = 0; s < numScreens(); s++) {
+- m_screenSelector->insertItem(i18n("Screen %1").tqarg(s+1));
++ m_screenSelector->insertItem(i18n("Screen %1").arg(s+1));
+ }
+
+ m_screenSelector->setCurrentItem(currentScreenIndex());
+@@ -172,7 +172,7 @@
+
+ // Add new resolutions
+ for (int i = 0; i < currentScreen()->numSizes(); i++) {
+- m_sizeCombo->insertItem(i18n("%1 x %2").tqarg(currentScreen()->pixelSize(i).width()).tqarg(currentScreen()->pixelSize(i).height()));
++ m_sizeCombo->insertItem(i18n("%1 x %2").arg(currentScreen()->pixelSize(i).width()).arg(currentScreen()->pixelSize(i).height()));
+
+ // Aspect ratio
+ /* , aspect ratio %5)*/
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/randr/krandrtray.cpp v3.5.13-sru/kcontrol/randr/krandrtray.cpp
+--- /tmp/stable//kdebase/kcontrol/randr/krandrtray.cpp 2011-08-24 18:35:15.000000000 +0200
++++ v3.5.13-sru/kcontrol/randr/krandrtray.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -54,7 +54,7 @@
+ , m_help(new KHelpMenu(this, KGlobal::instance()->aboutData(), false, actionCollection()))
+ {
+ setPixmap(KSystemTray::loadSizedIcon("randr", width()));
+- tqsetAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
++ setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
+ connect(this, TQT_SIGNAL(quitSelected()), this, TQT_SLOT(_quit()));
+ TQToolTip::add(this, i18n("Screen resize & rotate"));
+ my_parent = parent;
+@@ -205,7 +205,7 @@
+ /*lastIndex = menu->insertItem(i18n("Screen %1").arg(s+1));
+ menu->setItemEnabled(lastIndex, false);*/
+ } else {
+- KPopupMenu* subMenu = new KPopupMenu(menu, TQString("screen%1").tqarg(s+1).latin1());
++ KPopupMenu* subMenu = new KPopupMenu(menu, TQString("screen%1").arg(s+1).latin1());
+ m_screenPopups.append(subMenu);
+ populateMenu(subMenu);
+ lastIndex = menu->insertItem(i18n("Screen %1").arg(s+1), subMenu);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/samba/kcmsambalog.cpp v3.5.13-sru/kcontrol/samba/kcmsambalog.cpp
+--- /tmp/stable//kdebase/kcontrol/samba/kcmsambalog.cpp 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/samba/kcmsambalog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -116,14 +116,14 @@
+ connect(&updateButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(updateList()));
+ emit contentsChanged(&viewHistory,0,0);
+
+- label.setMinimumSize(label.tqsizeHint());
+- logFileName.setMinimumSize(250,logFileName.tqsizeHint().height());
++ label.setMinimumSize(label.sizeHint());
++ logFileName.setMinimumSize(250,logFileName.sizeHint().height());
+ viewHistory.setMinimumSize(425,200);
+- showConnOpen.setMinimumSize(showConnOpen.tqsizeHint());
+- showConnClose.setMinimumSize(showConnClose.tqsizeHint());
+- showFileOpen.setMinimumSize(showFileOpen.tqsizeHint());
+- showFileClose.setMinimumSize(showFileClose.tqsizeHint());
+- updateButton.setFixedSize(updateButton.tqsizeHint());
++ showConnOpen.setMinimumSize(showConnOpen.sizeHint());
++ showConnClose.setMinimumSize(showConnClose.sizeHint());
++ showFileOpen.setMinimumSize(showFileOpen.sizeHint());
++ showFileClose.setMinimumSize(showFileClose.sizeHint());
++ updateButton.setFixedSize(updateButton.sizeHint());
+ }
+
+ void LogView::loadSettings()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/samba/kcmsambastatistics.cpp v3.5.13-sru/kcontrol/samba/kcmsambastatistics.cpp
+--- /tmp/stable//kdebase/kcontrol/samba/kcmsambastatistics.cpp 2011-08-11 07:25:30.000000000 +0200
++++ v3.5.13-sru/kcontrol/samba/kcmsambastatistics.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -80,18 +80,18 @@
+ hostLe->setText("*");
+
+ viewStatistics->setMinimumSize(375,200);
+- connectionsL->setMinimumSize(connectionsL->tqsizeHint());
+- filesL->setMinimumSize(filesL->tqsizeHint());
+- eventL->setMinimumSize(eventL->tqsizeHint());
+- eventCb->setMinimumSize(eventCb->tqsizeHint());
+- hostL->setMinimumSize(hostL->tqsizeHint());
+- hostLe->setMinimumSize(120,hostLe->tqsizeHint().height());
+- serviceL->setMinimumSize(serviceL->tqsizeHint());
+- serviceLe->setMinimumSize(120,serviceLe->tqsizeHint().height());
+- calcButton->setMinimumSize(calcButton->tqsizeHint());
+- clearButton->setMinimumSize(clearButton->tqsizeHint());
+- expandedInfoCb->setMinimumSize(expandedInfoCb->tqsizeHint());
+- expandedUserCb->setMinimumSize(expandedUserCb->tqsizeHint());
++ connectionsL->setMinimumSize(connectionsL->sizeHint());
++ filesL->setMinimumSize(filesL->sizeHint());
++ eventL->setMinimumSize(eventL->sizeHint());
++ eventCb->setMinimumSize(eventCb->sizeHint());
++ hostL->setMinimumSize(hostL->sizeHint());
++ hostLe->setMinimumSize(120,hostLe->sizeHint().height());
++ serviceL->setMinimumSize(serviceL->sizeHint());
++ serviceLe->setMinimumSize(120,serviceLe->sizeHint().height());
++ calcButton->setMinimumSize(calcButton->sizeHint());
++ clearButton->setMinimumSize(clearButton->sizeHint());
++ expandedInfoCb->setMinimumSize(expandedInfoCb->sizeHint());
++ expandedUserCb->setMinimumSize(expandedUserCb->sizeHint());
+
+ TQVBoxLayout *topLayout=new TQVBoxLayout(this, KDialog::marginHint(),
+ KDialog::spacingHint());
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/samba/smbstatus.desktop v3.5.13-sru/kcontrol/samba/smbstatus.desktop
+--- /tmp/stable//kdebase/kcontrol/samba/smbstatus.desktop 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/samba/smbstatus.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -7,7 +7,7 @@
+
+ X-KDE-Library=samba
+ X-KDE-FactoryName=samba
+-X-KDE-ParentApp=kinfocenter
++X-KDE-ParentApp=kcontrol
+
+ Name=Samba Status
+ Name[ar]=حالة Samba
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/screensaver/advanceddialogimpl.ui v3.5.13-sru/kcontrol/screensaver/advanceddialogimpl.ui
+--- /tmp/stable//kdebase/kcontrol/screensaver/advanceddialogimpl.ui 2011-03-12 07:57:43.000000000 +0100
++++ v3.5.13-sru/kcontrol/screensaver/advanceddialogimpl.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -69,7 +69,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>31</width>
+ <height>20</height>
+@@ -153,7 +153,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>41</width>
+ <height>20</height>
+@@ -256,7 +256,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -321,7 +321,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>20</height>
+@@ -346,7 +346,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>31</width>
+ <height>20</height>
+@@ -365,7 +365,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -382,7 +382,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/screensaver/scrnsave.cpp v3.5.13-sru/kcontrol/screensaver/scrnsave.cpp
+--- /tmp/stable//kdebase/kcontrol/screensaver/scrnsave.cpp 2011-08-11 07:25:29.000000000 +0200
++++ v3.5.13-sru/kcontrol/screensaver/scrnsave.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -133,12 +133,12 @@
+ mSaverGroup->setColumnLayout( 0, Qt::Horizontal );
+ vLayout->addWidget(mSaverGroup);
+ vLayout->setStretchFactor( mSaverGroup, 10 );
+- TQBoxLayout *groupLayout = new TQVBoxLayout( mSaverGroup->tqlayout(),
++ TQBoxLayout *groupLayout = new TQVBoxLayout( mSaverGroup->layout(),
+ KDialog::spacingHint() );
+
+ mSaverListView = new TQListView( mSaverGroup );
+ mSaverListView->setMinimumHeight( 120 );
+- mSaverListView->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding);
++ mSaverListView->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding);
+ mSaverListView->addColumn("");
+ mSaverListView->header()->hide();
+ mSelected = -1;
+@@ -162,7 +162,7 @@
+ mSettingsGroup = new TQGroupBox( i18n("Settings"), this );
+ mSettingsGroup->setColumnLayout( 0, Qt::Vertical );
+ leftColumnLayout->addWidget( mSettingsGroup );
+- groupLayout = new TQVBoxLayout( mSettingsGroup->tqlayout(),
++ groupLayout = new TQVBoxLayout( mSettingsGroup->layout(),
+ KDialog::spacingHint() );
+
+ mEnabledCheckBox = new TQCheckBox(i18n(
+@@ -221,14 +221,14 @@
+ mWaitLockEdit->setSuffix(i18n(" sec"));
+ mWaitLockEdit->setValue(mLockTimeout/1000);
+ mWaitLockEdit->setEnabled(mEnabled && mLock);
+- if ( mWaitLockEdit->tqsizeHint().width() <
+- mWaitEdit->tqsizeHint().width() ) {
+- mWaitLockEdit->setFixedWidth( mWaitEdit->tqsizeHint().width() );
+- mWaitEdit->setFixedWidth( mWaitEdit->tqsizeHint().width() );
++ if ( mWaitLockEdit->sizeHint().width() <
++ mWaitEdit->sizeHint().width() ) {
++ mWaitLockEdit->setFixedWidth( mWaitEdit->sizeHint().width() );
++ mWaitEdit->setFixedWidth( mWaitEdit->sizeHint().width() );
+ }
+ else {
+- mWaitEdit->setFixedWidth( mWaitLockEdit->tqsizeHint().width() );
+- mWaitLockEdit->setFixedWidth( mWaitLockEdit->tqsizeHint().width() );
++ mWaitEdit->setFixedWidth( mWaitLockEdit->sizeHint().width() );
++ mWaitLockEdit->setFixedWidth( mWaitLockEdit->sizeHint().width() );
+ }
+ connect(mWaitLockEdit, TQT_SIGNAL(valueChanged(int)),
+ this, TQT_SLOT(slotLockTimeoutChanged(int)));
+@@ -246,7 +246,7 @@
+ new TQVBoxLayout(topLayout, KDialog::spacingHint());
+
+ mMonitorLabel = new TQLabel( this );
+- mMonitorLabel->tqsetAlignment( AlignCenter );
++ mMonitorLabel->setAlignment( AlignCenter );
+ mMonitorLabel->setPixmap( TQPixmap(locate("data",
+ "kcontrol/pics/monitor.png")));
+ rightColumnLayout->addWidget(mMonitorLabel, 0);
+@@ -256,7 +256,7 @@
+ advancedLayout->addWidget( new TQWidget( this ) );
+ TQPushButton* advancedBt = new TQPushButton(
+ i18n( "Advanced &Options" ), this, "advancedBtn" );
+- advancedBt->tqsetSizePolicy( TQSizePolicy(
++ advancedBt->setSizePolicy( TQSizePolicy(
+ TQSizePolicy::Fixed, TQSizePolicy::Fixed) );
+ connect( advancedBt, TQT_SIGNAL( clicked() ),
+ this, TQT_SLOT( slotAdvanced() ) );
+@@ -537,7 +537,7 @@
+ mSaverListView->setSelected(selectedItem, true);
+ mSaverListView->setCurrentItem(selectedItem);
+ mSaverListView->ensureItemVisible(selectedItem);
+- mSetupBt->setEnabled(!mSaverList.tqat(mSelected)->setup().isEmpty());
++ mSetupBt->setEnabled(!mSaverList.at(mSelected)->setup().isEmpty());
+ mTestBt->setEnabled(true);
+ }
+
+@@ -587,7 +587,7 @@
+ if (mSelected >= 0) {
+ mPreviewProc->clearArguments();
+
+- TQString saver = mSaverList.tqat(mSelected)->saver();
++ TQString saver = mSaverList.at(mSelected)->saver();
+ TQTextStream ts(&saver, IO_ReadOnly);
+
+ TQString word;
+@@ -665,9 +665,9 @@
+ bool bChanged = (indx != mSelected);
+
+ if (!mSetupProc->isRunning())
+- mSetupBt->setEnabled(!mSaverList.tqat(indx)->setup().isEmpty());
++ mSetupBt->setEnabled(!mSaverList.at(indx)->setup().isEmpty());
+ mTestBt->setEnabled(true);
+- mSaver = mSaverList.tqat(indx)->file();
++ mSaver = mSaverList.at(indx)->file();
+
+ mSelected = indx;
+ setMonitor();
+@@ -690,7 +690,7 @@
+
+ mSetupProc->clearArguments();
+
+- TQString saver = mSaverList.tqat(mSelected)->setup();
++ TQString saver = mSaverList.at(mSelected)->setup();
+ if( saver.isEmpty())
+ return;
+ TQTextStream ts(&saver, IO_ReadOnly);
+@@ -708,7 +708,7 @@
+ if (!kxsconfig) {
+ word = "-caption";
+ (*mSetupProc) << word;
+- word = mSaverList.tqat(mSelected)->name();
++ word = mSaverList.at(mSelected)->name();
+ (*mSetupProc) << word;
+ word = "-icon";
+ (*mSetupProc) << word;
+@@ -724,7 +724,7 @@
+
+ // Pass translated name to kxsconfig
+ if (kxsconfig) {
+- word = mSaverList.tqat(mSelected)->name();
++ word = mSaverList.at(mSelected)->name();
+ (*mSetupProc) << word;
+ }
+
+@@ -739,7 +739,7 @@
+ //
+ void KScreenSaver::slotAdvanced()
+ {
+- KScreenSaverAdvancedDialog dlg( tqtopLevelWidget() );
++ KScreenSaverAdvancedDialog dlg( topLevelWidget() );
+ if ( dlg.exec() ) {
+ mChanged = true;
+ emit changed(true);
+@@ -758,7 +758,7 @@
+ }
+
+ mTestProc->clearArguments();
+- TQString saver = mSaverList.tqat(mSelected)->saver();
++ TQString saver = mSaverList.at(mSelected)->saver();
+ TQTextStream ts(&saver, IO_ReadOnly);
+
+ TQString word;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/smartcard/nosmartcardbase.ui v3.5.13-sru/kcontrol/smartcard/nosmartcardbase.ui
+--- /tmp/stable//kdebase/kcontrol/smartcard/nosmartcardbase.ui 2011-03-12 07:57:36.000000000 +0100
++++ v3.5.13-sru/kcontrol/smartcard/nosmartcardbase.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -23,7 +23,7 @@
+ <property name="text">
+ <string>&lt;b&gt;Unable to contact the KDE smartcard service.&lt;/b&gt;</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+@@ -48,7 +48,7 @@
+
+ 2) You don't appear to have smartcard support in the KDE libraries. You will need to recompile the kdelibs package with libpcsclite installed.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+@@ -64,7 +64,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/smartcard/smartcardbase.ui v3.5.13-sru/kcontrol/smartcard/smartcardbase.ui
+--- /tmp/stable//kdebase/kcontrol/smartcard/smartcardbase.ui 2011-03-12 07:57:36.000000000 +0100
++++ v3.5.13-sru/kcontrol/smartcard/smartcardbase.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -74,7 +74,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>15</width>
+ <height>20</height>
+@@ -118,7 +118,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -250,7 +250,7 @@
+ <property name="text">
+ <string>To add new readers you have to modify /etc/readers.conf file and re-start pcscd</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/smserver/kcmsmserver.cpp v3.5.13-sru/kcontrol/smserver/kcmsmserver.cpp
+--- /tmp/stable//kdebase/kcontrol/smserver/kcmsmserver.cpp 2010-08-13 00:36:01.000000000 +0200
++++ v3.5.13-sru/kcontrol/smserver/kcmsmserver.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -92,6 +92,9 @@
+ }
+ dialog->excludeLineedit->setText( c->readEntry("excludeApps"));
+
++ c->setGroup("Logout");
++ dialog->showLogoutStatusDialog->setChecked(c->readBoolEntry("showLogoutStatusDlg", true));
++
+ delete c;
+
+ emit changed(useDefaults);
+@@ -103,6 +106,7 @@
+ c->setGroup("General");
+ c->writeEntry( "confirmLogout", dialog->confirmLogoutCheck->isChecked());
+ c->writeEntry( "offerShutdown", dialog->offerShutdownCheck->isChecked());
++
+ TQString s = "restorePreviousLogout";
+ if ( dialog->emptySessionRadio->isChecked() )
+ s = "default";
+@@ -117,6 +121,8 @@
+ int(KApplication::ShutdownTypeReboot) :
+ int(KApplication::ShutdownTypeNone));
+ c->writeEntry("excludeApps", dialog->excludeLineedit->text());
++ c->setGroup("Logout");
++ c->writeEntry( "showLogoutStatusDlg", dialog->showLogoutStatusDialog->isChecked());
+ c->sync();
+ delete c;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/smserver/smserverconfigdlg.ui v3.5.13-sru/kcontrol/smserver/smserverconfigdlg.ui
+--- /tmp/stable//kdebase/kcontrol/smserver/smserverconfigdlg.ui 2011-03-12 07:57:40.000000000 +0100
++++ v3.5.13-sru/kcontrol/smserver/smserverconfigdlg.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -62,6 +62,17 @@
+ <string>O&amp;ffer shutdown options</string>
+ </property>
+ </widget>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>showLogoutStatusDialog</cstring>
++ </property>
++ <property name="text">
++ <string>Show logout stat&amp;us dialog</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Check this option if you want to see a dialog box showing the logout status.</string>
++ </property>
++ </widget>
+ </vbox>
+ </widget>
+ <widget class="TQButtonGroup">
+@@ -190,7 +201,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>130</height>
+@@ -205,6 +216,12 @@
+ <signal>toggled(bool)</signal>
+ <receiver>SMServerConfigDlg</receiver>
+ <slot>configChanged()</slot>
++ </connection>
++ <connection>
++ <sender>showLogoutStatusDialog</sender>
++ <signal>toggled(bool)</signal>
++ <receiver>SMServerConfigDlg</receiver>
++ <slot>configChanged()</slot>
+ </connection>
+ <connection>
+ <sender>loginGroup</sender>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/style/kcmstyle.cpp v3.5.13-sru/kcontrol/style/kcmstyle.cpp
+--- /tmp/stable//kdebase/kcontrol/style/kcmstyle.cpp 2011-08-11 07:25:31.000000000 +0200
++++ v3.5.13-sru/kcontrol/style/kcmstyle.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -160,8 +160,8 @@
+ gbWidgetStyle->layout()->setMargin( KDialog::marginHint() );
+ gbWidgetStyle->layout()->setSpacing( KDialog::spacingHint() );
+
+- gbWidgetStyleLayout = new TQVBoxLayout( gbWidgetStyle->tqlayout() );
+- gbWidgetStyleLayout->tqsetAlignment( Qt::AlignTop );
++ gbWidgetStyleLayout = new TQVBoxLayout( gbWidgetStyle->layout() );
++ gbWidgetStyleLayout->setAlignment( Qt::AlignTop );
+ hbLayout = new TQHBoxLayout( KDialog::spacingHint(), "hbLayout" );
+
+ cbStyle = new KComboBox( gbWidgetStyle, "cbStyle" );
+@@ -169,7 +169,7 @@
+ hbLayout->addWidget( cbStyle );
+
+ pbConfigStyle = new TQPushButton( i18n("Con&figure..."), gbWidgetStyle );
+- pbConfigStyle->tqsetSizePolicy( TQSizePolicy::Maximum, TQSizePolicy::Minimum );
++ pbConfigStyle->setSizePolicy( TQSizePolicy::Maximum, TQSizePolicy::Minimum );
+ pbConfigStyle->setEnabled( FALSE );
+ hbLayout->addWidget( pbConfigStyle );
+
+@@ -195,7 +195,7 @@
+ gbPreview->layout()->setSpacing( KDialog::spacingHint() );
+ gbPreview->setFlat( true );
+ stylePreview = new StylePreview( gbPreview );
+- gbPreview->tqlayout()->add( stylePreview );
++ gbPreview->layout()->add( stylePreview );
+
+ page1Layout->addWidget( gbWidgetStyle );
+ page1Layout->addWidget( gbPreview );
+@@ -296,16 +296,16 @@
+ box1->setSpacing( KDialog::spacingHint() );
+ box1->setMargin( 0 );
+ TQLabel* lbl = new TQLabel( i18n("0%"), box1 );
+- lbl->tqsetAlignment( AlignLeft );
++ lbl->setAlignment( AlignLeft );
+ lbl = new TQLabel( i18n("50%"), box1 );
+- lbl->tqsetAlignment( AlignHCenter );
++ lbl->setAlignment( AlignHCenter );
+ lbl = new TQLabel( i18n("100%"), box1 );
+- lbl->tqsetAlignment( AlignRight );
++ lbl->setAlignment( AlignRight );
+
+ lblMenuEffectType = new TQLabel( comboMenuEffectType, i18n("Menu trans&lucency type:"), menuContainer );
+- lblMenuEffectType->tqsetAlignment( AlignBottom | AlignLeft );
++ lblMenuEffectType->setAlignment( AlignBottom | AlignLeft );
+ lblMenuOpacity = new TQLabel( slOpacity, i18n("Menu &opacity:"), menuContainer );
+- lblMenuOpacity->tqsetAlignment( AlignBottom | AlignLeft );
++ lblMenuOpacity->setAlignment( AlignBottom | AlignLeft );
+
+ menuContainerLayout->addWidget( lblMenuEffectType, 0, 0 );
+ menuContainerLayout->addWidget( comboMenuEffectType, 1, 0 );
+@@ -804,7 +804,7 @@
+ break;
+ else if ( id.contains( cfgStyle ) )
+ break;
+- else if ( id.contains( TQApplication::tqstyle().className() ) )
++ else if ( id.contains( TQApplication::style().className() ) )
+ break;
+ item = 0;
+ }
+@@ -844,7 +844,7 @@
+ setStyleRecursive( stylePreview, style );
+
+ // this flickers, but reliably draws the widgets correctly.
+- stylePreview->resize( stylePreview->tqsizeHint() );
++ stylePreview->resize( stylePreview->sizeHint() );
+
+ delete appliedStyle;
+ appliedStyle = style;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/style/menupreview.cpp v3.5.13-sru/kcontrol/style/menupreview.cpp
+--- /tmp/stable//kdebase/kcontrol/style/menupreview.cpp 2011-03-12 07:57:46.000000000 +0100
++++ v3.5.13-sru/kcontrol/style/menupreview.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -68,7 +68,7 @@
+ if (pixBlended)
+ pixBlended->resize( w, h );
+
+- TQColorGroup cg = tqcolorGroup();
++ TQColorGroup cg = colorGroup();
+ TQColor c1 = cg.background();
+ TQColor c2 = cg.mid();
+
+@@ -96,7 +96,7 @@
+
+ void MenuPreview::blendPixmaps()
+ {
+- // Rebuild pixmaps, and tqrepaint
++ // Rebuild pixmaps, and repaint
+ if (pixBlended && pixBackground)
+ {
+ if (mode == Blend && pixOverlay) {
+@@ -105,7 +105,7 @@
+ KImageEffect::blend(src, dst, menuOpacity);
+ pixBlended->convertFromImage( dst );
+ } else if (mode == Tint) {
+- TQColor clr = tqcolorGroup().button();
++ TQColor clr = colorGroup().button();
+ TQImage dst = pixBackground->convertToImage();
+ KImageEffect::blend(clr, dst, menuOpacity);
+ pixBlended->convertFromImage( dst );
+@@ -121,7 +121,7 @@
+ if ((int)(menuOpacity*100) != opacity) {
+ menuOpacity = opacity/100.0;
+ blendPixmaps();
+- tqrepaint( false );
++ repaint( false );
+ }
+ }
+
+@@ -130,14 +130,14 @@
+ if (mode != pvm) {
+ mode = pvm;
+ blendPixmaps();
+- tqrepaint( false );
++ repaint( false );
+ }
+ }
+
+ void MenuPreview::paintEvent( TQPaintEvent* /* pe */ )
+ {
+ // Paint the frame and blended pixmap
+- TQColorGroup cg = tqcolorGroup();
++ TQColorGroup cg = colorGroup();
+ int x2 = width()-1;
+ int y2 = height()-1;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/style/stylepreview.ui v3.5.13-sru/kcontrol/style/stylepreview.ui
+--- /tmp/stable//kdebase/kcontrol/style/stylepreview.ui 2011-03-12 07:57:46.000000000 +0100
++++ v3.5.13-sru/kcontrol/style/stylepreview.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -29,7 +29,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>50</height>
+@@ -177,7 +177,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -196,13 +196,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>200</width>
+ <height>32767</height>
+@@ -224,13 +224,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>200</width>
+ <height>32767</height>
+@@ -250,7 +250,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/taskbar/kcmtaskbarui.ui v3.5.13-sru/kcontrol/taskbar/kcmtaskbarui.ui
+--- /tmp/stable//kdebase/kcontrol/taskbar/kcmtaskbarui.ui 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/taskbar/kcmtaskbarui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -209,7 +209,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>191</width>
+ <height>20</height>
+@@ -234,7 +234,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>191</width>
+ <height>20</height>
+@@ -300,7 +300,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>191</width>
+ <height>20</height>
+@@ -319,7 +319,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -434,7 +434,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/usbview/kcmusb.cpp v3.5.13-sru/kcontrol/usbview/kcmusb.cpp
+--- /tmp/stable//kdebase/kcontrol/usbview/kcmusb.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kcontrol/usbview/kcmusb.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -39,7 +39,7 @@
+ gbox->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(gbox);
+
+- TQVBoxLayout *vvbox = new TQVBoxLayout(gbox->tqlayout(), KDialog::spacingHint());
++ TQVBoxLayout *vvbox = new TQVBoxLayout(gbox->layout(), KDialog::spacingHint());
+
+ TQSplitter *splitter = new TQSplitter(gbox);
+ vvbox->addWidget(splitter);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/usbview/kcmusb.desktop v3.5.13-sru/kcontrol/usbview/kcmusb.desktop
+--- /tmp/stable//kdebase/kcontrol/usbview/kcmusb.desktop 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/usbview/kcmusb.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -237,4 +237,4 @@
+ Keywords[zh_TW]=USB,devices,viewer,control,è£ç½®,檢視器,控制
+ Keywords[zu]=USB,amathukuzi ananjongo,umbukisi,lawula
+
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/usbview/usbdevices.cpp v3.5.13-sru/kcontrol/usbview/usbdevices.cpp
+--- /tmp/stable//kdebase/kcontrol/usbview/usbdevices.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kcontrol/usbview/usbdevices.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -226,9 +226,9 @@
+ r += i18n("<tr><td><i>Power Consumption</i></td><td>%1 mA</td></tr>").arg(_power);
+ else
+ r += i18n("<tr><td><i>Power Consumption</i></td><td>self powered</td></tr>");
+- r += i18n("<tr><td><i>Attached Devicenodes</i></td><td>%1</td></tr>").arg(*_devnodes.tqat(0));
++ r += i18n("<tr><td><i>Attached Devicenodes</i></td><td>%1</td></tr>").arg(*_devnodes.at(0));
+ if ( _devnodes.count() > 1 )
+- for ( TQStringList::Iterator it = _devnodes.tqat(1); it != _devnodes.end(); ++it )
++ for ( TQStringList::Iterator it = _devnodes.at(1); it != _devnodes.end(); ++it )
+ r += "<tr><td></td><td>" + *it + "</td></tr>";
+ #else
+ r += i18n("<tr><td><i>Max. Packet Size</i></td><td>%1</td></tr>").arg(_maxPacketSize);
+@@ -332,10 +332,10 @@
+
+ _bus = di.udi_bus;
+ _device = di.udi_addr;
+- _product = TQString::tqfromLatin1(di.udi_product);
++ _product = TQString::fromLatin1(di.udi_product);
+ if ( _device == 1 )
+ _product += " " + TQString::number( _bus );
+- _manufacturer = TQString::tqfromLatin1(di.udi_vendor);
++ _manufacturer = TQString::fromLatin1(di.udi_vendor);
+ _prodID = di.udi_productNo;
+ _vendorID = di.udi_vendorNo;
+ _class = di.udi_class;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/usbview/usb.ids v3.5.13-sru/kcontrol/usbview/usb.ids
+--- /tmp/stable//kdebase/kcontrol/usbview/usb.ids 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/usbview/usb.ids 2012-07-31 17:17:50.000000000 +0200
+@@ -7,7 +7,7 @@
+ # The latest version can be obtained from
+ # http://www.linux-usb.org/usb.ids
+ #
+-# $Id: usb.ids 1212480 2011-01-07 04:10:07Z tpearson $
++# $Id$
+ #
+
+ # Vendors, devices and interfaces. Please keep sorted.
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/view1394/kcmview1394.desktop v3.5.13-sru/kcontrol/view1394/kcmview1394.desktop
+--- /tmp/stable//kdebase/kcontrol/view1394/kcmview1394.desktop 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/view1394/kcmview1394.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -216,5 +216,5 @@
+ Keywords[zh_CN]=1394,Firewire,devices,viewer,control,设备,查看器,控制,ç«çº¿
+ Keywords[zh_TW]=1394,Firewire,devices,viewer,control,è£ç½®,檢視器,控制
+
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/view1394/view1394widget.ui v3.5.13-sru/kcontrol/view1394/view1394widget.ui
+--- /tmp/stable//kdebase/kcontrol/view1394/view1394widget.ui 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/view1394/view1394widget.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -163,7 +163,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/xinerama/kcmxinerama.cpp v3.5.13-sru/kcontrol/xinerama/kcmxinerama.cpp
+--- /tmp/stable//kdebase/kcontrol/xinerama/kcmxinerama.cpp 2011-03-12 07:57:47.000000000 +0100
++++ v3.5.13-sru/kcontrol/xinerama/kcmxinerama.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -223,10 +223,10 @@
+ si->setFont(fnt);
+ si->setFrameStyle(TQFrame::Panel);
+ si->setFrameShadow(TQFrame::Plain);
+- si->tqsetAlignment(Qt::AlignCenter);
++ si->setAlignment(Qt::AlignCenter);
+
+ TQPoint screenCenter(TQApplication::desktop()->screenGeometry(dpy).center());
+- TQRect targetGeometry(TQPoint(0,0), si->tqsizeHint());
++ TQRect targetGeometry(TQPoint(0,0), si->sizeHint());
+ targetGeometry.moveCenter(screenCenter);
+ si->setGeometry(targetGeometry);
+ si->show();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/xinerama/xineramawidget.ui v3.5.13-sru/kcontrol/xinerama/xineramawidget.ui
+--- /tmp/stable//kdebase/kcontrol/xinerama/xineramawidget.ui 2011-03-12 07:57:47.000000000 +0100
++++ v3.5.13-sru/kcontrol/xinerama/xineramawidget.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -156,7 +156,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>431</width>
+ <height>21</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdcop/kdcopview.ui v3.5.13-sru/kdcop/kdcopview.ui
+--- /tmp/stable//kdebase/kdcop/kdcopview.ui 2011-03-12 07:58:02.000000000 +0100
++++ v3.5.13-sru/kdcop/kdcopview.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -98,7 +98,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdcop/kdcopwindow.cpp v3.5.13-sru/kdcop/kdcopwindow.cpp
+--- /tmp/stable//kdebase/kdcop/kdcopwindow.cpp 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/kdcop/kdcopwindow.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -114,7 +114,7 @@
+ {
+ setExpandable(true);
+ setText(0, TQString::fromUtf8(app_));
+- setPixmap(0, KGlobal::iconLoader()->loadIcon( TQString::tqfromLatin1( "exec" ), KIcon::Small ));
++ setPixmap(0, KGlobal::iconLoader()->loadIcon( TQString::fromLatin1( "exec" ), KIcon::Small ));
+
+
+ /* Get the icon: we use the icon from a mainwindow in that class.
+@@ -674,7 +674,7 @@
+ }
+
+ if (!wl.isEmpty())
+- wl.tqat(0)->setFocus();
++ wl.at(0)->setFocus();
+
+ i++;
+
+@@ -693,104 +693,104 @@
+
+ if ( type == "int" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text().toInt();
+ }
+ else if ( type == "unsigned" || type == "uint" || type == "unsigned int"
+ || type == "TQ_UINT32" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text().toUInt();
+ }
+ else if( type == "long" || type == "long int" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text().toLong();
+ }
+ else if( type == "ulong" || type == "unsigned long" || type == "unsigned long int" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text().toULong();
+ }
+ else if( type == "short" || type == "short int" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text().toShort();
+ }
+ else if( type == "ushort" || type == "unsigned short" || type == "unsigned short int" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text().toUShort();
+ }
+ else if ( type == "TQ_UINT64" )
+ {
+- KLineEdit* e = ( KLineEdit* )wl.tqat( i );
++ KLineEdit* e = ( KLineEdit* )wl.at( i );
+ arg << e->text().toULongLong();
+ }
+ else if( type == "float" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text().toFloat();
+ }
+ else if( type == "double" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text().toDouble();
+ }
+ else if( type == "bool" )
+ {
+- TQCheckBox* c = (TQCheckBox*)wl.tqat( i );
++ TQCheckBox* c = (TQCheckBox*)wl.at( i );
+ arg << c->isChecked();
+ }
+ else if( type == "TQCString" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << TQCString( e->text().local8Bit() );
+ }
+ else if( type == "TQString" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text();
+ }
+ else if( type == "TQStringList" )
+ {
+- KEditListBox* e = (KEditListBox*)wl.tqat( i );
++ KEditListBox* e = (KEditListBox*)wl.at( i );
+ arg << e->items();
+ }
+ else if( type == "TQValueList<TQCString>" )
+ {
+- KEditListBox* e = (KEditListBox*)wl.tqat( i );
++ KEditListBox* e = (KEditListBox*)wl.at( i );
+ for (int i = 0; i < e->count(); i++)
+ arg << TQCString( e->text(i).local8Bit() );
+ }
+ else if( type == "KURL" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << KURL( e->text() );
+ }
+ else if( type == "TQColor" )
+ {
+- KColorButton* e = (KColorButton*)wl.tqat( i );
++ KColorButton* e = (KColorButton*)wl.at( i );
+ arg << e->color();
+ }
+ else if( type == "TQSize" )
+ {
+- KMultiIntEdit* e = (KMultiIntEdit*)wl.tqat( i );
++ KMultiIntEdit* e = (KMultiIntEdit*)wl.at( i );
+ arg << TQSize(e->field(1) , e->field(2)) ;
+ }
+ else if( type == "TQPoint" )
+ {
+- KMultiIntEdit* e = (KMultiIntEdit*)wl.tqat( i );
++ KMultiIntEdit* e = (KMultiIntEdit*)wl.at( i );
+ arg << TQPoint(e->field(1) , e->field(2)) ;
+ }
+ else if( type == "TQRect" )
+ {
+- KMultiIntEdit* e = (KMultiIntEdit*)wl.tqat( i );
++ KMultiIntEdit* e = (KMultiIntEdit*)wl.at( i );
+ arg << TQRect(e->field(1) , e->field(2) , e->field(3) , e->field(4)) ;
+ }
+ else if( type == "TQPixmap" )
+ {
+- KURLRequester* e= (KURLRequester*)wl.tqat( i );
++ KURLRequester* e= (KURLRequester*)wl.at( i );
+ arg << TQPixmap(e->url());
+ }
+ else
+@@ -1053,7 +1053,7 @@
+ TQCursor r;
+ reply >> r;
+ //theList->insertItem(r, 1);
+- ret << "Cursor #" + TQString::number(r.tqshape());
++ ret << "Cursor #" + TQString::number(r.shape());
+ }
+ else if (replyType == "TQPixmap")
+ {
+@@ -1211,7 +1211,7 @@
+ // below list view. If there is nothing selected from
+ // the below menu then tell the tree to copy its current
+ // selection as text.
+- TQClipboard *clipboard = TQApplication::tqclipboard();
++ TQClipboard *clipboard = TQApplication::clipboard();
+ if (mainView->lb_replyData->count()!= 0)
+ {
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdebugdialog/kabstractdebugdialog.cpp v3.5.13-sru/kdebugdialog/kabstractdebugdialog.cpp
+--- /tmp/stable//kdebase/kdebugdialog/kabstractdebugdialog.cpp 2011-03-12 07:57:32.000000000 +0100
++++ v3.5.13-sru/kdebugdialog/kabstractdebugdialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -52,11 +52,11 @@
+ pCancelButton = new KPushButton( KStdGuiItem::cancel(), this );
+ hbox->addWidget( pCancelButton );
+
+- int w1 = pHelpButton->tqsizeHint().width();
+- int w2 = pOKButton->tqsizeHint().width();
+- int w3 = pCancelButton->tqsizeHint().width();
++ int w1 = pHelpButton->sizeHint().width();
++ int w2 = pOKButton->sizeHint().width();
++ int w3 = pCancelButton->sizeHint().width();
+ int w4 = QMAX( w1, QMAX( w2, w3 ) );
+- int w5 = pApplyButton->tqsizeHint().width();
++ int w5 = pApplyButton->sizeHint().width();
+ w4 = QMAX(w4, w5);
+
+ pHelpButton->setFixedWidth( w4 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdebugdialog/kdebugdialog.cpp v3.5.13-sru/kdebugdialog/kdebugdialog.cpp
+--- /tmp/stable//kdebase/kdebugdialog/kdebugdialog.cpp 2011-08-11 07:25:24.000000000 +0200
++++ v3.5.13-sru/kdebugdialog/kdebugdialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -54,7 +54,7 @@
+
+ // Build combo of debug areas
+ pDebugAreas = new TQComboBox( false, this );
+- pDebugAreas->setFixedHeight( pDebugAreas->tqsizeHint().height() );
++ pDebugAreas->setFixedHeight( pDebugAreas->sizeHint().height() );
+ pDebugAreas->insertStringList( areaList );
+ topLayout->addWidget( pDebugAreas );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdebugdialog/klistdebugdialog.cpp v3.5.13-sru/kdebugdialog/klistdebugdialog.cpp
+--- /tmp/stable//kdebase/kdebugdialog/klistdebugdialog.cpp 2011-08-11 07:25:24.000000000 +0200
++++ v3.5.13-sru/kdebugdialog/klistdebugdialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -182,7 +182,7 @@
+ for ( ; it.current() ; ++it )
+ {
+ if ( area == (*it)->name() // debug area code = cb's name
+- || (*it)->text().find( TQString::tqfromLatin1(area) ) != -1 ) // area name included in cb text
++ || (*it)->text().find( TQString::fromLatin1(area) ) != -1 ) // area name included in cb text
+ {
+ (*it)->setChecked( activate );
+ return;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdepasswd/kcm/main.cpp v3.5.13-sru/kdepasswd/kcm/main.cpp
+--- /tmp/stable//kdebase/kdepasswd/kcm/main.cpp 2011-03-12 07:58:06.000000000 +0100
++++ v3.5.13-sru/kdepasswd/kcm/main.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -150,11 +150,11 @@
+ KGlobal::dirs()->resourceDirs("data").last() + "kdm/faces/";
+
+ TQString fs = KCFGUserAccount::faceSource();
+- if (fs == TQString::tqfromLatin1("UserOnly"))
++ if (fs == TQString::fromLatin1("UserOnly"))
+ _facePerm = userOnly;
+- else if (fs == TQString::tqfromLatin1("PreferUser"))
++ else if (fs == TQString::fromLatin1("PreferUser"))
+ _facePerm = userFirst;
+- else if (fs == TQString::tqfromLatin1("PreferAdmin"))
++ else if (fs == TQString::fromLatin1("PreferAdmin"))
+ _facePerm = adminFirst;
+ else
+ _facePerm = adminOnly; // Admin Only
+@@ -169,13 +169,13 @@
+ _mw->btnChangeFace->setPixmap( _facePixmap );
+ }
+
+- if ( _facePerm >= userFirst )
++ if ( _facePerm == userFirst )
+ {
+ // If the user's choice takes preference
+ _facePixmap = TQPixmap( KCFGUserAccount::faceFile() );
+
+ // The user has no face, should we check for the admin's setting?
+- if ( _facePixmap.isNull() && _facePerm == userFirst )
++ if ( _facePixmap.isNull() )
+ _facePixmap = TQPixmap( _userPicsDir + _ku->loginName() + ".face.icon" );
+
+ if ( _facePixmap.isNull() )
+@@ -183,7 +183,7 @@
+
+ _mw->btnChangeFace->setPixmap( _facePixmap );
+ }
+- else if ( _facePerm <= adminOnly )
++ else if ( _facePerm == adminOnly )
+ {
+ // Admin only
+ _facePixmap = TQPixmap( _userPicsDir + _ku->loginName() + ".face.icon" );
+@@ -249,7 +249,7 @@
+
+ void KCMUserAccount::changeFace(const TQPixmap &pix)
+ {
+- if ( _facePerm < userFirst )
++ if ( _facePerm != userFirst )
+ return; // If the user isn't allowed to change their face, don't!
+
+ if ( pix.isNull() ) {
+@@ -264,7 +264,7 @@
+
+ void KCMUserAccount::slotFaceButtonClicked()
+ {
+- if ( _facePerm < userFirst )
++ if ( _facePerm != userFirst )
+ {
+ KMessageBox::sorry( this, i18n("Your administrator has disallowed changing your image.") );
+ return;
+@@ -295,10 +295,9 @@
+
+ if (e->type() == TQEvent::Drop)
+ {
+- if ( _facePerm < userFirst )
++ if ( _facePerm != userFirst )
+ {
+- KMessageBox::sorry( this, i18n("Your administrator "
+- "has disallowed changing your image.") );
++ KMessageBox::sorry( this, i18n("Your administrator has disallowed changing your image.") );
+ return true;
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdepasswd/kcm/main_widget.ui v3.5.13-sru/kdepasswd/kcm/main_widget.ui
+--- /tmp/stable//kdebase/kdepasswd/kcm/main_widget.ui 2011-03-12 07:58:06.000000000 +0100
++++ v3.5.13-sru/kdepasswd/kcm/main_widget.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -32,13 +32,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>74</width>
+ <height>74</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>74</width>
+ <height>74</height>
+@@ -154,7 +154,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+@@ -182,7 +182,7 @@
+ <property name="text">
+ <string></string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter</set>
+ </property>
+ </widget>
+@@ -193,7 +193,7 @@
+ <property name="text">
+ <string>&lt;i&gt;(Click the button to change your image)&lt;/i&gt;</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter</set>
+ </property>
+ </widget>
+@@ -217,7 +217,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>111</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdepasswd/kdepasswd.cpp v3.5.13-sru/kdepasswd/kdepasswd.cpp
+--- /tmp/stable//kdebase/kdepasswd/kdepasswd.cpp 2010-08-13 00:35:42.000000000 +0200
++++ v3.5.13-sru/kdepasswd/kdepasswd.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -1,6 +1,6 @@
+ /* vi: ts=8 sts=4 sw=4
+ *
+- * $Id: kdepasswd.cpp 1157639 2010-07-31 19:33:34Z tpearson $
++ * $Id$
+ *
+ * This file is part of the KDE project, module kdesu.
+ * Copyright (C) 2000 Geert Jansen <jansen@kde.org>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdepasswd/passwd.cpp v3.5.13-sru/kdepasswd/passwd.cpp
+--- /tmp/stable//kdebase/kdepasswd/passwd.cpp 2011-08-11 07:25:44.000000000 +0200
++++ v3.5.13-sru/kdepasswd/passwd.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -1,6 +1,6 @@
+ /* vi: ts=8 sts=4 sw=4
+ *
+- * $Id: passwd.cpp 1246075 2011-08-10 06:08:18Z tpearson $
++ * $Id$
+ *
+ * This file is part of the KDE project, module kdesu.
+ * Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdepasswd/passwddlg.cpp v3.5.13-sru/kdepasswd/passwddlg.cpp
+--- /tmp/stable//kdebase/kdepasswd/passwddlg.cpp 2011-03-12 07:58:06.000000000 +0100
++++ v3.5.13-sru/kdepasswd/passwddlg.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -1,6 +1,6 @@
+ /* vi: ts=8 sts=4 sw=4
+ *
+- * $Id: passwddlg.cpp 1215552 2011-01-19 01:42:14Z tpearson $
++ * $Id$
+ *
+ * This file is part of the KDE project, module kdesu.
+ * Copyright (C) 2000 Geert Jansen <jansen@kde.org>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdepasswd/passwddlg.h v3.5.13-sru/kdepasswd/passwddlg.h
+--- /tmp/stable//kdebase/kdepasswd/passwddlg.h 2010-08-13 00:35:42.000000000 +0200
++++ v3.5.13-sru/kdepasswd/passwddlg.h 2012-07-31 17:17:50.000000000 +0200
+@@ -1,6 +1,6 @@
+ /* vi: ts=8 sts=4 sw=4
+ *
+- * $Id: passwddlg.h 1157639 2010-07-31 19:33:34Z tpearson $
++ * $Id$
+ *
+ * This file is part of the KDE project, module kdesu.
+ * Copyright (C) 2000 Geert Jansen <jansen@kde.org>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdepasswd/passwd.h v3.5.13-sru/kdepasswd/passwd.h
+--- /tmp/stable//kdebase/kdepasswd/passwd.h 2010-08-13 00:35:42.000000000 +0200
++++ v3.5.13-sru/kdepasswd/passwd.h 2012-07-31 17:17:50.000000000 +0200
+@@ -1,6 +1,6 @@
+ /* vi: ts=8 sts=4 sw=4
+ *
+- * $Id: passwd.h 1157639 2010-07-31 19:33:34Z tpearson $
++ * $Id$
+ *
+ * This file is part of the KDE project, module kdesu.
+ * Copyright (C) 2000 Geert Jansen <jansen@kde.org>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdeprint/kdeprintfax/faxctrl.cpp v3.5.13-sru/kdeprint/kdeprintfax/faxctrl.cpp
+--- /tmp/stable//kdebase/kdeprint/kdeprintfax/faxctrl.cpp 2011-08-11 07:25:50.000000000 +0200
++++ v3.5.13-sru/kdeprint/kdeprintfax/faxctrl.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -291,7 +291,7 @@
+ if (v.isEmpty())
+ v = getenv("FAXSERVER");
+ if (v.isEmpty())
+- v = TQString::tqfromLatin1("localhost");
++ v = TQString::fromLatin1("localhost");
+ v = processTag( match, v );
+ }
+ else if (isTag( match, "%page" ))
+@@ -491,7 +491,7 @@
+ m_tempfiles.append(tmp);
+ m_process->clearArguments();
+ *m_process << locate("data","kdeprintfax/anytops") << "-m" << KProcess::quote(locate("data","kdeprintfax/faxfilters"))
+- << TQString::tqfromLatin1("--mime=%1").arg(mimeType)
++ << TQString::fromLatin1("--mime=%1").arg(mimeType)
+ << "-p" << pageSize()
+ << KProcess::quote(m_files[0]) << KProcess::quote(tmp);
+ if (!m_process->start(KProcess::NotifyOnExit, KProcess::AllOutput))
+@@ -617,7 +617,7 @@
+ KPrinter printer;
+ printer.setDocName( i18n( "Fax log" ) );
+ printer.setDocFileName( "faxlog" );
+- if ( printer.setup( m_logview->tqtopLevelWidget(), i18n( "Fax Log" ) ) )
++ if ( printer.setup( m_logview->topLevelWidget(), i18n( "Fax Log" ) ) )
+ {
+ TQPainter painter( &printer );
+ TQPaintDeviceMetrics metric( &printer );
+@@ -634,7 +634,7 @@
+ richText.setWidth( &painter, body.width() );
+ do
+ {
+- richText.draw( &painter, body.left(), body.top(), view, m_logview->tqcolorGroup() );
++ richText.draw( &painter, body.left(), body.top(), view, m_logview->colorGroup() );
+ view.moveBy( 0, body.height() );
+ painter.translate( 0, -body.height() );
+ if ( view.top() >= richText.height() )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdeprint/kdeprintfax/kdeprintfax.cpp v3.5.13-sru/kdeprint/kdeprintfax/kdeprintfax.cpp
+--- /tmp/stable//kdebase/kdeprint/kdeprintfax/kdeprintfax.cpp 2011-08-11 07:25:50.000000000 +0200
++++ v3.5.13-sru/kdeprint/kdeprintfax/kdeprintfax.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -429,14 +429,14 @@
+ if ( !m_cover->isEnabled() )
+ m_cover->setChecked(false);
+ m_comment->setEnabled(cmd.find("%comment") != -1 && m_cover->isChecked());
+- //m_comment->setPaper(m_comment->isEnabled() ? tqcolorGroup().brush(TQColorGroup::Base) : tqcolorGroup().brush(TQColorGroup::Background));
++ //m_comment->setPaper(m_comment->isEnabled() ? colorGroup().brush(TQColorGroup::Base) : colorGroup().brush(TQColorGroup::Background));
+ if (!m_comment->isEnabled())
+ {
+ m_comment->setText("");
+- m_comment->setPaper( tqcolorGroup().background() );
++ m_comment->setPaper( colorGroup().background() );
+ }
+ else
+- m_comment->setPaper( tqcolorGroup().base() );
++ m_comment->setPaper( colorGroup().base() );
+ /*
+ m_enterprise->setEnabled(cmd.find("%enterprise") != -1);
+ if (!m_enterprise->isEnabled())
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdeprint/kdeprintfax/kdeprintfax.desktop v3.5.13-sru/kdeprint/kdeprintfax/kdeprintfax.desktop
+--- /tmp/stable//kdebase/kdeprint/kdeprintfax/kdeprintfax.desktop 2010-08-12 05:29:41.000000000 +0200
++++ v3.5.13-sru/kdeprint/kdeprintfax/kdeprintfax.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -94,4 +94,4 @@
+ Icon=kdeprintfax
+ Terminal=false
+ X-DCOP-ServiceType=Multi
+-Categories=Qt;KDE;Utility;X-KDE-Utilities-Peripherals;
++Categories=Qt;KDE;Utility
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdeprint/kjobviewer/kjobviewer.cpp v3.5.13-sru/kdeprint/kjobviewer/kjobviewer.cpp
+--- /tmp/stable//kdebase/kdeprint/kjobviewer/kjobviewer.cpp 2011-08-11 07:25:50.000000000 +0200
++++ v3.5.13-sru/kdeprint/kjobviewer/kjobviewer.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -77,7 +77,7 @@
+ int choice = menu.exec(mapToGlobal(e->pos()));
+ if (choice != -1)
+ {
+- KMJobViewer *view = list.tqat(choice);
++ KMJobViewer *view = list.at(choice);
+ if (view->isVisible())
+ KWin::activateWindow(view->winId());
+ else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdeprint/kjobviewer/kjobviewer.desktop v3.5.13-sru/kdeprint/kjobviewer/kjobviewer.desktop
+--- /tmp/stable//kdebase/kdeprint/kjobviewer/kjobviewer.desktop 2010-08-12 05:29:41.000000000 +0200
++++ v3.5.13-sru/kdeprint/kjobviewer/kjobviewer.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -89,4 +89,4 @@
+ GenericName[zh_TW]=列å°å·¥ä½œ
+
+ X-DCOP-ServiceType=Unique
+-Categories=Qt;KDE;Utility;X-KDE-Utilities-Peripherals;
++Categories=Qt;KDE;Utility
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdeprint/kprinter/printwrapper.cpp v3.5.13-sru/kdeprint/kprinter/printwrapper.cpp
+--- /tmp/stable//kdebase/kdeprint/kprinter/printwrapper.cpp 2011-03-12 07:58:15.000000000 +0100
++++ v3.5.13-sru/kdeprint/kprinter/printwrapper.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -66,7 +66,7 @@
+
+ void showmsgconsole(const TQString& msg, int type = 0)
+ {
+- TQString errmsg = TQString::tqfromLatin1("%1 : ").arg((type == 0 ? i18n("Print info") : (type == 1 ? i18n("Print warning") : i18n("Print error"))));
++ TQString errmsg = TQString::fromLatin1("%1 : ").arg((type == 0 ? i18n("Print info") : (type == 1 ? i18n("Print warning") : i18n("Print error"))));
+ kdDebug() << errmsg << msg << endl;
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdeprint/slave/kio_print.cpp v3.5.13-sru/kdeprint/slave/kio_print.cpp
+--- /tmp/stable//kdebase/kdeprint/slave/kio_print.cpp 2011-08-11 07:25:50.000000000 +0200
++++ v3.5.13-sru/kdeprint/slave/kio_print.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -635,7 +635,7 @@
+ mimeType("text/html");
+
+ TQString content;
+- if (!loadTemplate(TQString::tqfromLatin1("printer.template"), content))
++ if (!loadTemplate(TQString::fromLatin1("printer.template"), content))
+ {
+ error(KIO::ERR_INTERNAL, i18n("Unable to load template %1").arg("printer.template"));
+ return;
+@@ -676,7 +676,7 @@
+ mimeType("text/html");
+
+ TQString content;
+- if (!loadTemplate(TQString::tqfromLatin1("class.template"), content))
++ if (!loadTemplate(TQString::fromLatin1("class.template"), content))
+ {
+ error(KIO::ERR_INTERNAL, i18n("Unable to load template %1").arg("class.template"));
+ return;
+@@ -686,7 +686,7 @@
+ TQStringList members(printer->members());
+ for (TQStringList::ConstIterator it=members.begin(); it!=members.end(); ++it)
+ {
+- memberContent.append(TQString::tqfromLatin1("<li><a href=\"print:/printers/%1\">%2</a></li>\n").arg(*it).arg(*it));
++ memberContent.append(TQString::fromLatin1("<li><a href=\"print:/printers/%1\">%2</a></li>\n").arg(*it).arg(*it));
+ }
+ memberContent.append("</ul>\n");
+
+@@ -719,7 +719,7 @@
+ mimeType("text/html");
+
+ TQString content;
+- if (!loadTemplate(TQString::tqfromLatin1("pseudo.template"), content))
++ if (!loadTemplate(TQString::fromLatin1("pseudo.template"), content))
+ {
+ error(KIO::ERR_INTERNAL, i18n("Unable to load template %1").arg("pseudo.template"));
+ return;
+@@ -755,7 +755,7 @@
+
+ bool KIO_Print::loadTemplate(const TQString& filename, TQString& buffer)
+ {
+- TQFile f(locate("data", TQString::tqfromLatin1("kdeprint/template/")+filename));
++ TQFile f(locate("data", TQString::fromLatin1("kdeprint/template/")+filename));
+ if (f.exists() && f.open(IO_ReadOnly))
+ {
+ TQTextStream t(&f);
+@@ -820,7 +820,7 @@
+ }
+
+ TQString content;
+- if (!loadTemplate(TQString::tqfromLatin1("jobs.template"), content))
++ if (!loadTemplate(TQString::fromLatin1("jobs.template"), content))
+ {
+ error(KIO::ERR_INTERNAL, i18n("Unable to load template %1").arg("pseudo.template"));
+ return;
+@@ -891,7 +891,7 @@
+ mimeType("text/html");
+
+ TQString content;
+- if (!loadTemplate(TQString::tqfromLatin1("driver.template"), content))
++ if (!loadTemplate(TQString::fromLatin1("driver.template"), content))
+ {
+ error(KIO::ERR_INTERNAL, i18n("Unable to load template %1").arg("pseudo.template"));
+ return;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/bgmanager.cc v3.5.13-sru/kdesktop/bgmanager.cc
+--- /tmp/stable//kdebase/kdesktop/bgmanager.cc 2011-07-09 08:16:54.000000000 +0200
++++ v3.5.13-sru/kdesktop/bgmanager.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -125,7 +125,7 @@
+ if (m_numberOfViewports < 1) {
+ m_numberOfViewports = 1;
+ }
+- for (unsigned j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
++ for (signed j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
+ renderBackground(j);
+ }
+ }
+@@ -250,7 +250,7 @@
+ if (m_numberOfViewports < 1) {
+ m_numberOfViewports = 1;
+ }
+- for (unsigned j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
++ for (signed j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
+ renderBackground(j);
+ }
+ }
+@@ -350,7 +350,7 @@
+ desk--;
+
+ // Lazy initialisation of # of desktops
+- if ((m_pKwinmodule->numberOfDesktops() * m_numberOfViewports) >= m_Renderer.size())
++ if ((unsigned)(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports) >= m_Renderer.size())
+ slotChangeNumberOfDesktops( m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);
+
+ int edesk = effectiveDesktop();
+@@ -410,7 +410,7 @@
+ desk--;
+
+ // Lazy initialisation of # of desktops
+- if ((m_pKwinmodule->numberOfDesktops() * m_numberOfViewports) >= m_Renderer.size())
++ if ((unsigned)(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports) >= m_Renderer.size())
+ slotChangeNumberOfDesktops( m_pKwinmodule->numberOfDesktops() * m_numberOfViewports );
+
+ int edesk = effectiveDesktop();
+@@ -518,11 +518,11 @@
+ {
+ TQScrollView* sv = dynamic_cast<TQScrollView*>( m_pDesktop );
+ if ( sv ) {
+- // Qt eats tqrepaint events in this case :-((
++ // Qt eats repaint events in this case :-((
+ sv->viewport()->update();
+ }
+ m_pDesktop->setErasePixmap(*ep);
+- m_pDesktop->tqrepaint();
++ m_pDesktop->repaint();
+ static bool root_cleared = false;
+ if( !root_cleared )
+ { // clear the root window pixmap set by kdm
+@@ -923,7 +923,7 @@
+ void KBackgroundManager::repaintBackground()
+ {
+ if (m_pDesktop)
+- m_pDesktop->tqrepaint();
++ m_pDesktop->repaint();
+ else
+ TQT_TQWIDGET(KApplication::desktop()->screen())->erase();
+ }
+@@ -963,7 +963,7 @@
+ if (m_numberOfViewports < 1) {
+ m_numberOfViewports = 1;
+ }
+- for (unsigned j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
++ for (signed j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
+ renderBackground(j);
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/CMakeLists.txt v3.5.13-sru/kdesktop/CMakeLists.txt
+--- /tmp/stable//kdebase/kdesktop/CMakeLists.txt 2011-03-26 00:02:18.000000000 +0100
++++ v3.5.13-sru/kdesktop/CMakeLists.txt 2012-07-31 17:17:50.000000000 +0200
+@@ -48,7 +48,9 @@
+
+ ##### other data ################################
+
+-install( FILES kdesktop.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
++configure_file( kdesktop.desktop.cmake kdesktop.desktop @ONLY )
++
++install( FILES ${CMAKE_CURRENT_BINARY_DIR}/kdesktop.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
+ install( FILES kdesktop_custom_menu1 kdesktop_custom_menu2 DESTINATION ${CONFIG_INSTALL_DIR} )
+ install( FILES kdesktopSetAsBackground.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus )
+ install( FILES kdesktop.kcfg klaunch.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+@@ -92,6 +94,7 @@
+ kdesktopsettings-static bgnd-static dmctl-static
+ konq-shared kutils-shared
+ ${XRENDER_LIBRARIES} ${XCURSOR_LIBRARIES} Xext dl
++ ${XSS_LIBRARIES}
+ )
+
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/desktop.cc v3.5.13-sru/kdesktop/desktop.cc
+--- /tmp/stable//kdebase/kdesktop/desktop.cc 2011-08-11 07:25:39.000000000 +0200
++++ v3.5.13-sru/kdesktop/desktop.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -135,8 +135,8 @@
+ const char* KDesktop::m_wheelDirectionStrings[2] = { "Forward", "Reverse" };
+
+ KDesktop::KDesktop( bool x_root_hack, bool wait_for_kded ) :
+- KDesktopIface(),
+ TQWidget( 0L, "desktop", (WFlags)(WResizeNoErase | ( x_root_hack ? (WStyle_Customize | WStyle_NoBorder) : 0)) ),
++ KDesktopIface(),
+ // those two WStyle_ break kdesktop when the root-hack isn't used (no Dnd)
+ startup_id( NULL ), m_waitForKicker(0)
+ {
+@@ -159,7 +159,7 @@
+ kapp->dcopClient()->connectDCOPSignal(kicker_name, kicker_name, "desktopIconsAreaChanged(TQRect, int)",
+ "KDesktopIface", "desktopIconsAreaChanged(TQRect, int)", false);
+
+- // Dont tqrepaint on configuration changes during construction
++ // Dont repaint on configuration changes during construction
+ m_bInit = true;
+
+ // It's the child widget that gets the focus, not us
+@@ -1179,7 +1179,7 @@
+
+ void KDesktop::removeIcon(const TQString &_url)
+ {
+- if (_url.tqat(0) != '/') {
++ if (_url.at(0) != '/') {
+ qDebug("removeIcon with relative path not supported for now");
+ return;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/init/My_Documents v3.5.13-sru/kdesktop/init/My_Documents
+--- /tmp/stable//kdebase/kdesktop/init/My_Documents 2011-10-24 00:31:04.000000000 +0200
++++ v3.5.13-sru/kdesktop/init/My_Documents 2012-07-31 17:17:50.000000000 +0200
+@@ -3,12 +3,10 @@
+ Icon=folder_wordprocessing
+ Name=My Documents
+ Name[af]=Dokument Gids
+-Name[ar]=مستنداتي
++Name[ar]=مستنداتي
+ Name[be]=âÑÂчúð ôûѠôðúуüõýтðў
+ Name[bg]=Ãâ€Ã¸Ñ€ÃµÃºÑ‚þрøѠѠôþúуüõýтø
+ Name[bn]=ডকà§Âমেনà§Âট ফোলà§Âডার
+-Name[br]=Renkell an teulioù
+-Name[ar]=مستنداتي
+ Name[br]=Renkell an teulioù
+ Name[bs]=Direktorij dokumenata
+ Name[ca]=Carpeta de documents
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/kdesktop.desktop v3.5.13-sru/kdesktop/kdesktop.desktop
+--- /tmp/stable//kdebase/kdesktop/kdesktop.desktop 2010-08-12 05:29:22.000000000 +0200
++++ v3.5.13-sru/kdesktop/kdesktop.desktop 1970-01-01 01:00:00.000000000 +0100
+@@ -1,85 +0,0 @@
+-[Desktop Entry]
+-Exec=kdesktop
+-X-DCOP-ServiceType=wait
+-Name=KDE Desktop
+-Name[af]=KDE Werkskerm
+-Name[ar]=سطح المكتب KDE
+-Name[az]=KDE Masa üstü
+-Name[be]=Працоўны Ñтол KDE
+-Name[bn]=কে.ডি.ই. ডেসà§à¦•à¦Ÿà¦ª
+-Name[br]=Burev KDE
+-Name[bs]=KDE radna površina
+-Name[ca]=Escriptori KDE
+-Name[cs]=Pracovní plocha KDE
+-Name[csb]=Pùlt KDE
+-Name[cy]=Penbwrdd KDE
+-Name[da]=KDE-desktop
+-Name[de]=KDE-Arbeitsfläche
+-Name[el]=Επιφάνεια εÏγασίας του KDE
+-Name[eo]=KDE Labortablo
+-Name[es]=Escritorio de KDE
+-Name[et]=KDE töölaud
+-Name[eu]=KDE mahaigaina
+-Name[fa]=رومیزی KDE
+-Name[fi]=KDE-työpöytä
+-Name[fr]=Bureau de KDE
+-Name[fy]=KDE Buroblêd
+-Name[ga]=Deasc KDE
+-Name[gl]=Escritório de KDE
+-Name[he]=שולחן העבודה של KDE
+-Name[hi]=केडीई डेसà¥à¤•à¤Ÿà¥‰à¤ª
+-Name[hr]=KDE radna površina
+-Name[hu]=Munkaasztal
+-Name[id]=Desktop KDE
+-Name[is]=KDE skjáborð
+-Name[it]=Desktop KDE
+-Name[ja]=KDE デスクトップ
+-Name[ka]=KDE სáƒáƒ›áƒ£áƒ¨áƒáƒ დáƒáƒ¤áƒ
+-Name[kk]=KDE Ò¯Ñтелі
+-Name[km]=ផ្ទៃážáž» KDE
+-Name[ko]=ë°ìŠ¤í¬í†±
+-Name[lo]=ພື້ນທີ່ທຳງານ KDE
+-Name[lt]=KDE Darbastalis
+-Name[lv]=KDE Darbvirsma
+-Name[mk]=KDE ДеÑктоп
+-Name[mn]=КДЭ-Ðжлын тавцан
+-Name[ms]=Desktop KDE
+-Name[mt]=Desktop KDE
+-Name[nb]=KDE Skrivebord
+-Name[nds]=KDE-Schriefdisch
+-Name[ne]=KDE डेसà¥à¤•à¤Ÿà¤ª
+-Name[nl]=KDE Bureaublad
+-Name[nn]=KDE-skrivebord
+-Name[nso]=Desktop ya KDE
+-Name[pa]=KDE ਵੇਹੜਾ
+-Name[pl]=Pulpit KDE
+-Name[pt]=Ecrã do KDE
+-Name[pt_BR]=Ãrea de Trabalho KDE
+-Name[ro]=Ecran KDE
+-Name[ru]=Рабочий Ñтол KDE
+-Name[rw]=KDE Ibiro
+-Name[se]=KDE-Äallinbeavdi
+-Name[sk]=Pracovná plocha
+-Name[sl]=Namizje KDE
+-Name[sr]=KDE радна површина
+-Name[sr@Latn]=KDE radna površina
+-Name[sv]=KDE-skrivbord
+-Name[ta]=KDE மேலà¯à®®à¯‡à®šà¯ˆ
+-Name[te]=కెడిఈ à°°à°‚à°—à°¸à±à°¥à°²à°‚
+-Name[tg]=Мизи Кории KDE
+-Name[th]=พื้นที่ทำงาน KDE
+-Name[tr]=KDE Masaüstü
+-Name[tt]=KDE Östäl
+-Name[uk]=Ð¡Ñ‚Ñ–Ð»ÑŒÐ½Ð¸Ñ†Ñ KDE
+-Name[uz]=KDE ish stoli
+-Name[uz@cyrillic]=KDE иш Ñтоли
+-Name[ven]=Desikithopo ya KDE
+-Name[vi]=Môi trÆ°á»ng KDE
+-Name[wa]=Sicribanne KDE
+-Name[zh_CN]=KDE æ¡Œé¢
+-Name[zh_TW]=KDE æ¡Œé¢
+-Name[zu]=I-Desktop ye-KDE
+-Type=Service
+-X-KDE-StartupNotify=false
+-OnlyShowIn=KDE;
+-X-KDE-autostart-phase=0
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/kdesktop.desktop.cmake v3.5.13-sru/kdesktop/kdesktop.desktop.cmake
+--- /tmp/stable//kdebase/kdesktop/kdesktop.desktop.cmake 1970-01-01 01:00:00.000000000 +0100
++++ v3.5.13-sru/kdesktop/kdesktop.desktop.cmake 2012-07-31 17:17:50.000000000 +0200
+@@ -0,0 +1,85 @@
++[Desktop Entry]
++Exec=@TDE_BIN_DIR@/kdesktop
++X-DCOP-ServiceType=wait
++Name=KDE Desktop
++Name[af]=KDE Werkskerm
++Name[ar]=سطح المكتب KDE
++Name[az]=KDE Masa üstü
++Name[be]=Працоўны Ñтол KDE
++Name[bn]=কে.ডি.ই. ডেসà§à¦•à¦Ÿà¦ª
++Name[br]=Burev KDE
++Name[bs]=KDE radna površina
++Name[ca]=Escriptori KDE
++Name[cs]=Pracovní plocha KDE
++Name[csb]=Pùlt KDE
++Name[cy]=Penbwrdd KDE
++Name[da]=KDE-desktop
++Name[de]=KDE-Arbeitsfläche
++Name[el]=Επιφάνεια εÏγασίας του KDE
++Name[eo]=KDE Labortablo
++Name[es]=Escritorio de KDE
++Name[et]=KDE töölaud
++Name[eu]=KDE mahaigaina
++Name[fa]=رومیزی KDE
++Name[fi]=KDE-työpöytä
++Name[fr]=Bureau de KDE
++Name[fy]=KDE Buroblêd
++Name[ga]=Deasc KDE
++Name[gl]=Escritório de KDE
++Name[he]=שולחן העבודה של KDE
++Name[hi]=केडीई डेसà¥à¤•à¤Ÿà¥‰à¤ª
++Name[hr]=KDE radna površina
++Name[hu]=Munkaasztal
++Name[id]=Desktop KDE
++Name[is]=KDE skjáborð
++Name[it]=Desktop KDE
++Name[ja]=KDE デスクトップ
++Name[ka]=KDE სáƒáƒ›áƒ£áƒ¨áƒáƒ დáƒáƒ¤áƒ
++Name[kk]=KDE Ò¯Ñтелі
++Name[km]=ផ្ទៃážáž» KDE
++Name[ko]=ë°ìŠ¤í¬í†±
++Name[lo]=ພື້ນທີ່ທຳງານ KDE
++Name[lt]=KDE Darbastalis
++Name[lv]=KDE Darbvirsma
++Name[mk]=KDE ДеÑктоп
++Name[mn]=КДЭ-Ðжлын тавцан
++Name[ms]=Desktop KDE
++Name[mt]=Desktop KDE
++Name[nb]=KDE Skrivebord
++Name[nds]=KDE-Schriefdisch
++Name[ne]=KDE डेसà¥à¤•à¤Ÿà¤ª
++Name[nl]=KDE Bureaublad
++Name[nn]=KDE-skrivebord
++Name[nso]=Desktop ya KDE
++Name[pa]=KDE ਵੇਹੜਾ
++Name[pl]=Pulpit KDE
++Name[pt]=Ecrã do KDE
++Name[pt_BR]=Ãrea de Trabalho KDE
++Name[ro]=Ecran KDE
++Name[ru]=Рабочий Ñтол KDE
++Name[rw]=KDE Ibiro
++Name[se]=KDE-Äallinbeavdi
++Name[sk]=Pracovná plocha
++Name[sl]=Namizje KDE
++Name[sr]=KDE радна површина
++Name[sr@Latn]=KDE radna površina
++Name[sv]=KDE-skrivbord
++Name[ta]=KDE மேலà¯à®®à¯‡à®šà¯ˆ
++Name[te]=కెడిఈ à°°à°‚à°—à°¸à±à°¥à°²à°‚
++Name[tg]=Мизи Кории KDE
++Name[th]=พื้นที่ทำงาน KDE
++Name[tr]=KDE Masaüstü
++Name[tt]=KDE Östäl
++Name[uk]=Ð¡Ñ‚Ñ–Ð»ÑŒÐ½Ð¸Ñ†Ñ KDE
++Name[uz]=KDE ish stoli
++Name[uz@cyrillic]=KDE иш Ñтоли
++Name[ven]=Desikithopo ya KDE
++Name[vi]=Môi trÆ°á»ng KDE
++Name[wa]=Sicribanne KDE
++Name[zh_CN]=KDE æ¡Œé¢
++Name[zh_TW]=KDE æ¡Œé¢
++Name[zu]=I-Desktop ye-KDE
++Type=Service
++X-KDE-StartupNotify=false
++OnlyShowIn=KDE;
++X-KDE-autostart-phase=0
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/kdesktop.kcfg v3.5.13-sru/kdesktop/kdesktop.kcfg
+--- /tmp/stable//kdebase/kdesktop/kdesktop.kcfg 2011-10-26 21:06:48.000000000 +0200
++++ v3.5.13-sru/kdesktop/kdesktop.kcfg 2012-07-31 17:17:50.000000000 +0200
+@@ -207,7 +207,7 @@
+ <label>Device Types to exclude</label>
+ <whatsthis>The device types which you do not want to see on the desktop.</whatsthis>
+ <!-- kdiconview.cc:261 -->
+- <!-- QString tmpList=config->readEntry("exclude","media/hdd_mounted,media/hdd_unmounted,media/floppy_unmounted,media/cdrom_unmounted,media/floppy5_unmounted"); -->
++ <!-- TQString tmpList=config->readEntry("exclude","media/hdd_mounted,media/hdd_unmounted,media/floppy_unmounted,media/cdrom_unmounted,media/floppy5_unmounted"); -->
+ </entry>
+ </group>
+ <group name="KDE">
+@@ -307,28 +307,21 @@
+ <entry key="UseUnmanagedLockWindows" type="Bool">
+ <default>false</default>
+ <label></label>
+- <whatsthis></whatsthis>
++ <whatsthis>When enabled this restores the old style unmanaged window behavior of desktop locking.</whatsthis>
+ <!-- /home/paco/cvsroot/kdebase/kdesktop/lock/lockprocess.cc:336 -->
+ <!-- mSaver = config.readEntry("UseUnmanagedLockWindows"); -->
+ </entry>
+- <entry key="UseTDESAK" type="Bool">
+- <default>true</default>
+- <label></label>
+- <whatsthis>Set to true to enable usage of the Trinity SAK anti-spoofing system</whatsthis>
+- <!-- /home/paco/cvsroot/kdebase/kdesktop/lock/lockprocess.cc:336 -->
+- <!-- mSaver = config.readEntry("UseTDESAK"); -->
+- </entry>
+ <entry key="ShowLockDateTime" type="Bool">
+ <default>true</default>
+ <label></label>
+- <whatsthis>Set to true to enable display of the date and time of desktop lock as an additional intrusion detection measure</whatsthis>
++ <whatsthis>When enabled the date and time when the desktop was locked is displayed as an additional intrusion detection measure.</whatsthis>
+ <!-- /home/paco/cvsroot/kdebase/kdesktop/lock/lockprocess.cc:336 -->
+ <!-- mSaver = config.readEntry("ShowLockDateTime"); -->
+ </entry>
+ <entry key="DelaySaverStart" type="Bool">
+ <default>true</default>
+ <label></label>
+- <whatsthis></whatsthis>
++ <whatsthis>When disabled the screensaver starts immediately when locking the desktop.</whatsthis>
+ <!-- /home/paco/cvsroot/kdebase/kdesktop/lock/lockprocess.cc:336 -->
+ <!-- mSaver = config.readEntry("UseUnmanagedLockWindows"); -->
+ </entry>
+@@ -353,7 +346,7 @@
+ <label></label>
+ <whatsthis></whatsthis>
+ <!-- minicli.cpp:191 -->
+- <!-- QStringList histList = config->readPathListEntry("History"); -->
++ <!-- TQStringList histList = config->readPathListEntry("History"); -->
+ <!-- minicli.cpp:242 -->
+ <!-- config->writePathEntry( "History", m_dlg->cbCommand->historyItems() ); -->
+ </entry>
+@@ -406,7 +399,7 @@
+ <label></label>
+ <whatsthis></whatsthis>
+ <!-- minicli.cpp:204 -->
+- <!-- QStringList compList = config->readPathListEntry("CompletionItems"); -->
++ <!-- TQStringList compList = config->readPathListEntry("CompletionItems"); -->
+ <!-- minicli.cpp:244 -->
+ <!-- config->writePathEntry( "CompletionItems", m_dlg->cbCommand->completionObject()->items() ); -->
+ </entry>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/kdiconview.cc v3.5.13-sru/kdesktop/kdiconview.cc
+--- /tmp/stable//kdebase/kdesktop/kdiconview.cc 2011-08-11 07:25:39.000000000 +0200
++++ v3.5.13-sru/kdesktop/kdiconview.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -159,7 +159,7 @@
+ // Initialize media handler
+ mMediaListView = new TQListView();
+
+- connect( TQApplication::tqclipboard(), TQT_SIGNAL(dataChanged()),
++ connect( TQApplication::clipboard(), TQT_SIGNAL(dataChanged()),
+ this, TQT_SLOT(slotClipboardDataChanged()) );
+
+ setURL( desktopURL() ); // sets m_url
+@@ -296,7 +296,7 @@
+ m_bSortDirectoriesFirst = KDesktopSettings::directoriesFirst();
+ m_itemsAlwaysFirst = KDesktopSettings::alwaysFirstItems(); // Distributor plug-in
+
+- if (KProtocolInfo::isKnownProtocol(TQString::tqfromLatin1("media")))
++ if (KProtocolInfo::isKnownProtocol(TQString::fromLatin1("media")))
+ m_enableMedia=KDesktopSettings::mediaEnabled();
+ else
+ m_enableMedia=false;
+@@ -960,20 +960,20 @@
+ return false;
+
+ // return true if desktop file
+- return ( (_item->mimetype() == TQString::tqfromLatin1("application/x-desktop"))
+- || (_item->mimetype() == TQString::tqfromLatin1("media/builtin-mydocuments"))
+- || (_item->mimetype() == TQString::tqfromLatin1("media/builtin-mycomputer"))
+- || (_item->mimetype() == TQString::tqfromLatin1("media/builtin-mynetworkplaces"))
+- || (_item->mimetype() == TQString::tqfromLatin1("media/builtin-printers"))
+- || (_item->mimetype() == TQString::tqfromLatin1("media/builtin-trash"))
+- || (_item->mimetype() == TQString::tqfromLatin1("media/builtin-webbrowser")) );
++ return ( (_item->mimetype() == TQString::fromLatin1("application/x-desktop"))
++ || (_item->mimetype() == TQString::fromLatin1("media/builtin-mydocuments"))
++ || (_item->mimetype() == TQString::fromLatin1("media/builtin-mycomputer"))
++ || (_item->mimetype() == TQString::fromLatin1("media/builtin-mynetworkplaces"))
++ || (_item->mimetype() == TQString::fromLatin1("media/builtin-printers"))
++ || (_item->mimetype() == TQString::fromLatin1("media/builtin-trash"))
++ || (_item->mimetype() == TQString::fromLatin1("media/builtin-webbrowser")) );
+ }
+
+ TQString KDIconView::stripDesktopExtension( const TQString & text )
+ {
+- if (text.right(7) == TQString::tqfromLatin1(".kdelnk"))
++ if (text.right(7) == TQString::fromLatin1(".kdelnk"))
+ return text.left(text.length() - 7);
+- else if (text.right(8) == TQString::tqfromLatin1(".desktop"))
++ else if (text.right(8) == TQString::fromLatin1(".desktop"))
+ return text.left(text.length() - 8);
+ return text;
+ }
+@@ -1047,7 +1047,7 @@
+ bool firstRun = (count() == 0); // no icons yet, this seems to be the initial loading
+
+ // delay updates until all new items have been created
+- tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+ TQRect area = iconArea();
+ setIconArea( TQRect( 0, 0, -1, -1 ) );
+
+@@ -1055,7 +1055,7 @@
+ KURL desktop_URL = desktopURL();
+ if (desktop_URL.isLocalFile())
+ desktopPath = desktop_URL.path();
+- // We have new items, so we'll need to tqrepaint in slotCompleted
++ // We have new items, so we'll need to repaint in slotCompleted
+ m_bNeedRepaint = true;
+ kdDebug(1214) << "KDIconView::slotNewItems count=" << entries.count() << endl;
+ KFileItemListIterator it(entries);
+@@ -1141,6 +1141,15 @@
+ kdDebug(1214)<<"Using saved position"<<endl;
+ }
+ }
++ else
++ {
++ // Not found, we'll need to save the new pos
++ kdDebug(1214)<<"slotNewItems(): New item without position information, try to find a sane location"<<endl;
++
++ moveToFreePosition(fileIVI);
++
++ m_bNeedSave = true;
++ }
+ }
+ }
+
+@@ -1150,7 +1159,7 @@
+ if ( m_autoAlign )
+ lineupIcons();
+
+- tqsetUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ }
+
+ // -----------------------------------------------------------------------------
+@@ -1198,7 +1207,7 @@
+ }
+ else
+ {
+- // In case we replace a big icon with a small one, need to tqrepaint.
++ // In case we replace a big icon with a small one, need to repaint.
+ updateContents();
+ // Can't do that with m_bNeedRepaint since slotCompleted isn't called
+ m_bNeedRepaint = false;
+@@ -1305,7 +1314,7 @@
+ if (!m_hasExistingPos)
+ rearrangeIcons();
+
+-// kdDebug(1204) << "KDIconView::slotCompleted save:" << m_bNeedSave << " tqrepaint:" << m_bNeedRepaint << endl;
++// kdDebug(1204) << "KDIconView::slotCompleted save:" << m_bNeedSave << " repaint:" << m_bNeedRepaint << endl;
+ if ( m_bNeedSave )
+ {
+ // Done here because we want to align icons only once initially, and each time new icons appear.
+@@ -1317,7 +1326,7 @@
+ }
+ if ( m_bNeedRepaint )
+ {
+- viewport()->tqrepaint();
++ viewport()->repaint();
+ m_bNeedRepaint = false;
+ }
+ }
+@@ -1327,7 +1336,7 @@
+ // This is very related to KonqDirPart::slotClipboardDataChanged
+
+ KURL::List lst;
+- TQMimeSource *data = TQApplication::tqclipboard()->data();
++ TQMimeSource *data = TQApplication::clipboard()->data();
+ if ( data->provides( "application/x-kde-cutselection" ) && data->provides( "text/uri-list" ) )
+ if ( KonqDrag::decodeIsCutSelection( data ) )
+ (void) KURLDrag::decode( data, lst );
+@@ -1471,7 +1480,7 @@
+ bool isImmutable = KGlobal::config()->isImmutable();
+
+ if ( (isColorDrag || isImageDrag) && !isUrlDrag ) {
+- // Hack to clear the drag tqshape
++ // Hack to clear the drag shape
+ bool bMovable = itemsMovable();
+ bool bSignals = signalsBlocked();
+ setItemsMovable(false);
+@@ -1519,7 +1528,7 @@
+ if( adjustedAnyItems )
+ {
+ // Make sure the viewport isn't unnecessarily resized by now,
+- // then schedule a tqrepaint to remove any garbage pixels.
++ // then schedule a repaint to remove any garbage pixels.
+ resizeContents( width(), height() );
+ viewport()->update();
+ }
+@@ -1541,7 +1550,7 @@
+ {
+ m_gotIconsArea = true; // now we have it!
+
+- if (( iconArea() == wr ) && (m_needDesktopAlign == false)) return; // nothing changed; avoid tqrepaint/saveIconPosition ...
++ if (( iconArea() == wr ) && (m_needDesktopAlign == false)) return; // nothing changed; avoid repaint/saveIconPosition ...
+
+ TQRect oldArea = iconArea();
+ setIconArea( wr );
+@@ -1551,8 +1560,9 @@
+ kdDebug(1204) << " oldArea: " << oldArea.x() << "," << oldArea.y()
+ << " " << oldArea.width() << "x" << oldArea.height() << endl;
+
+- if ( m_autoAlign )
+- int dummy = 0; //lineupIcons();
++ if ( m_autoAlign ) {
++ //lineupIcons();
++ }
+ else {
+ bool needRepaint = false;
+ TQIconViewItem* item;
+@@ -1593,8 +1603,8 @@
+ }
+ }
+ if ( needRepaint ) {
+- viewport()->tqrepaint( FALSE );
+- tqrepaint( FALSE );
++ viewport()->repaint( FALSE );
++ repaint( FALSE );
+ saveIconPositions();
+ }
+ }
+@@ -1718,7 +1728,7 @@
+ TQRect rect=item->rect();
+ if (m_bVertAlign)
+ {
+- kdDebug(1214)<<"moveToFreePosition for vertical tqalignment"<<endl;
++ kdDebug(1214)<<"moveToFreePosition for vertical alignment"<<endl;
+
+ rect.moveTopLeft(TQPoint(spacing(),spacing()));
+ do
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/kfileividesktop.cpp v3.5.13-sru/kdesktop/kfileividesktop.cpp
+--- /tmp/stable//kdebase/kdesktop/kfileividesktop.cpp 2011-03-12 07:57:59.000000000 +0100
++++ v3.5.13-sru/kdesktop/kfileividesktop.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -73,15 +73,15 @@
+
+ int spread = shadowThickness();
+ TQRect itemTextRect = textRect();
+- TQRect tqitemRect = rect();
++ TQRect itemRect = rect();
+
+ itemTextRect.setBottom( itemTextRect.bottom() + spread );
+ itemTextRect.setRight( itemTextRect.right() + spread );
+- tqitemRect.setBottom( tqitemRect.bottom() + spread );
+- tqitemRect.setRight( tqitemRect.right() + spread );
++ itemRect.setBottom( itemRect.bottom() + spread );
++ itemRect.setRight( itemRect.right() + spread );
+
+ setTextRect( itemTextRect );
+- setItemRect( tqitemRect );
++ setItemRect( itemRect );
+ }
+
+ void KFileIVIDesktop::paintItem( TQPainter *p, const TQColorGroup &cg)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/kfileividesktop.h v3.5.13-sru/kdesktop/kfileividesktop.h
+--- /tmp/stable//kdebase/kdesktop/kfileividesktop.h 2011-03-12 07:57:59.000000000 +0100
++++ v3.5.13-sru/kdesktop/kfileividesktop.h 2012-07-31 17:17:50.000000000 +0200
+@@ -91,7 +91,7 @@
+ * Builds the shadow. As the algorithm is pretty slow (at pixel level),
+ * This method is triggered only if the configuration has changed.
+ * @param p the painter for drawing the item
+- * @param align the shadow tqalignment
++ * @param align the shadow alignment
+ * @param shadowColor the shadow color
+ */
+ virtual TQImage *buildShadow(TQPainter *p, const int align, TQColor &shadowColor);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/krootwm.cc v3.5.13-sru/kdesktop/krootwm.cc
+--- /tmp/stable//kdebase/kdesktop/krootwm.cc 2011-07-09 08:16:54.000000000 +0200
++++ v3.5.13-sru/kdesktop/krootwm.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -243,9 +243,9 @@
+ if (s == s_choices[c])
+ { rightButtonChoice = (menuChoice) c; break; }
+
+- // Read configuration for icons tqalignment
++ // Read configuration for icons alignment
+ if ( m_bDesktopEnabled ) {
+- bool startup = true; m_pDesktop->iconView()->setAutoAlign( KDesktopSettings::autoLineUpIcons() );
++ m_pDesktop->iconView()->setAutoAlign( KDesktopSettings::autoLineUpIcons() );
+ if ( kapp->authorize( "editable_desktop_icons" ) ) {
+ m_pDesktop->iconView()->setItemsMovable( !KDesktopSettings::lockIcons() );
+ KToggleAction *aLockIcons = static_cast<KToggleAction*>(m_actionCollection->action("lock_icons"));
+@@ -636,8 +636,8 @@
+ windowListMenu->init();
+ disconnect( windowListMenu, TQT_SIGNAL( aboutToShow() ),
+ this, TQT_SLOT( slotWindowListAboutToShow() ) ); // avoid calling init() twice
+- // windowListMenu->rect() is not valid before showing, use tqsizeHint()
+- windowListMenu->popup(r.center() - TQRect( TQPoint( 0, 0 ), windowListMenu->tqsizeHint()).center());
++ // windowListMenu->rect() is not valid before showing, use sizeHint()
++ windowListMenu->popup(r.center() - TQRect( TQPoint( 0, 0 ), windowListMenu->sizeHint()).center());
+ windowListMenu->selectActiveWindow(); // make the popup more useful
+ connect( windowListMenu, TQT_SIGNAL( aboutToShow() ),
+ this, TQT_SLOT( slotWindowListAboutToShow() ) );
+@@ -656,7 +656,7 @@
+ slotPopulateSessions();
+ disconnect( sessionsMenu, TQT_SIGNAL( aboutToShow() ),
+ this, TQT_SLOT( slotPopulateSessions() ) ); // avoid calling init() twice
+- sessionsMenu->popup(r.center() - TQRect( TQPoint( 0, 0 ), sessionsMenu->tqsizeHint()).center());
++ sessionsMenu->popup(r.center() - TQRect( TQPoint( 0, 0 ), sessionsMenu->sizeHint()).center());
+ connect( sessionsMenu, TQT_SIGNAL( aboutToShow() ),
+ TQT_SLOT( slotPopulateSessions() ) );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/kxdglauncher.cpp v3.5.13-sru/kdesktop/kxdglauncher.cpp
+--- /tmp/stable//kdebase/kdesktop/kxdglauncher.cpp 2011-08-11 07:25:39.000000000 +0200
++++ v3.5.13-sru/kdesktop/kxdglauncher.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -103,7 +103,7 @@
+ TQDir myqdir;
+ if (myqdir.exists(getDocumentPath(), TRUE) == true) {
+ if (args->isSet( "getpath" ) == true) {
+- printf("%s\n\r", getDocumentPath().ascii());
++ printf("%s\n\r", (const char *)getDocumentPath().local8Bit());
+ return 0;
+ }
+ else {
+@@ -140,7 +140,7 @@
+ config.writeEntry("XDG_DOCUMENTS_DIR", TQString("\"") + xdgModifiedDirectory + TQString("\""), true);
+ config.sync();
+ if (args->isSet( "getpath" ) == true) {
+- printf("%s\n\r", getDocumentPath().ascii());
++ printf("%s\n\r", (const char *)getDocumentPath().local8Bit());
+ return 0;
+ }
+ else {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/autologout.cc v3.5.13-sru/kdesktop/lock/autologout.cc
+--- /tmp/stable//kdebase/kdesktop/lock/autologout.cc 2011-09-14 07:31:14.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/autologout.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -55,7 +55,7 @@
+ TQLabel *infoLabel = new TQLabel(i18n("<qt>To prevent being logged out, resume using this session by moving the mouse or pressing a key.</qt>"), frame);
+
+ mStatusLabel = new TQLabel("<b> </b>", frame);
+- mStatusLabel->tqsetAlignment(TQLabel::AlignCenter);
++ mStatusLabel->setAlignment(TQLabel::AlignCenter);
+
+ TQLabel *mProgressLabel = new TQLabel("Time Remaining:", frame);
+ mProgressRemaining = new TQProgressBar(frame);
+@@ -82,6 +82,8 @@
+ mCountdownTimerId = startTimer(1000/25);
+
+ connect(tqApp, TQT_SIGNAL(activity()), TQT_SLOT(slotActivity()));
++
++ setFixedSize( sizeHint() );
+ }
+
+ AutoLogout::~AutoLogout()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/CMakeLists.txt v3.5.13-sru/kdesktop/lock/CMakeLists.txt
+--- /tmp/stable//kdebase/kdesktop/lock/CMakeLists.txt 2011-10-26 21:54:40.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/CMakeLists.txt 2012-07-31 17:17:50.000000000 +0200
+@@ -2,6 +2,8 @@
+ #
+ # (C) 2010-2011 Serghei Amelian
+ # serghei (DOT) amelian (AT) gmail.com
++# (C) 2012 Timothy Pearson
++# kb9vqf (AT) pearsoncomputing.net
+ #
+ # Improvements and feedback are welcome
+ #
+@@ -35,6 +37,6 @@
+
+ tde_add_executable( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+- LINK kdesktopsettings-static dmctl-static kio-shared Xext ${GL_LIBRARY}
++ LINK kdesktopsettings-static dmctl-static kio-shared Xext ${GL_LIBRARY} "${LINKER_IMMEDIATE_BINDING_FLAGS}"
+ DESTINATION ${BIN_INSTALL_DIR}
+ )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/infodlg.cc v3.5.13-sru/kdesktop/lock/infodlg.cc
+--- /tmp/stable//kdebase/kdesktop/lock/infodlg.cc 2011-09-14 07:31:14.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/infodlg.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -86,7 +86,7 @@
+ KUser user;
+
+ mStatusLabel = new TQLabel( "<b> </b>", frame );
+- mStatusLabel->tqsetAlignment( TQLabel::AlignCenter );
++ mStatusLabel->setAlignment( TQLabel::AlignCenter );
+
+ TQVBoxLayout *unlockDialogLayout = new TQVBoxLayout( this );
+ unlockDialogLayout->addWidget( frame );
+@@ -99,6 +99,7 @@
+ frameLayout->addLayout( layStatus, 1, 1 );
+
+ installEventFilter(this);
++ setFixedSize( sizeHint() );
+ }
+
+ InfoDlg::~InfoDlg()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/lockdlg.cc v3.5.13-sru/kdesktop/lock/lockdlg.cc
+--- /tmp/stable//kdebase/kdesktop/lock/lockdlg.cc 2011-10-16 21:40:20.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/lockdlg.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -115,7 +115,7 @@
+ frame->setFrameStyle( TQFrame::Panel | TQFrame::Raised );
+ frame->setLineWidth( 2 );
+
+- TQLabel *pixLabel;
++ TQLabel *pixLabel = NULL;
+ if (!trinity_desktop_lock_use_system_modal_dialogs) {
+ pixLabel = new TQLabel( frame, "pixlabel" );
+ pixLabel->setPixmap(DesktopIcon("lock"));
+@@ -134,13 +134,13 @@
+ i18n("<nobr><b>The session was locked by %1</b><br>").arg( user.fullName() ), frame );
+ }
+
+- TQLabel *lockDTLabel;
++ TQLabel *lockDTLabel = NULL;
+ if ((trinity_desktop_lock_use_system_modal_dialogs) && (!m_lockStartDT.isNull())) {
+ lockDTLabel = new TQLabel(i18n("This session has been locked since %1").arg(m_lockStartDT.toString()), frame);
+ }
+
+ mStatusLabel = new TQLabel( "<b> </b>", frame );
+- mStatusLabel->tqsetAlignment( TQLabel::AlignCenter );
++ mStatusLabel->setAlignment( TQLabel::AlignCenter );
+
+ mLayoutButton = new TQPushButton( frame );
+ mLayoutButton->setFlat( true );
+@@ -215,6 +215,7 @@
+ mNewSessButton->hide();
+
+ installEventFilter(this);
++ setFixedSize( sizeHint() );
+
+ mFailedTimerId = 0;
+ mTimeoutTimerId = startTimer(PASSDLG_HIDE_TIMEOUT);
+@@ -224,8 +225,15 @@
+
+ DCOPRef kxkb("kxkb", "kxkb");
+ if( !kxkb.isNull() ) {
+- layoutsList = kxkb.call("getLayoutsList");
+- TQString currentLayout = kxkb.call("getCurrentLayout");
++ DCOPReply reply = kxkb.call("getLayoutsList");
++ if (reply.isValid()) {
++ layoutsList = reply;
++ }
++ reply = kxkb.call("getCurrentLayout");
++ TQString currentLayout;
++ if (reply.isValid()) {
++ reply.get(currentLayout);
++ }
+ if( !currentLayout.isEmpty() && layoutsList.count() > 1 ) {
+ currLayout = layoutsList.find(currentLayout);
+ if (currLayout == layoutsList.end())
+@@ -268,7 +276,7 @@
+ {
+ mLayoutButton->setText( txt );
+ TQSize sz = mLayoutButton->fontMetrics().size( 0, txt );
+- int mrg = mLayoutButton->tqstyle().tqpixelMetric( TQStyle::PM_ButtonMargin ) * 2;
++ int mrg = mLayoutButton->style().pixelMetric( TQStyle::PM_ButtonMargin ) * 2;
+ mLayoutButton->setFixedSize( sz.width() + mrg, sz.height() + mrg );
+ }
+
+@@ -577,7 +585,7 @@
+ TQLabel *label2 = new TQLabel( text, winFrame );
+ KPushButton *button = new KPushButton( KStdGuiItem::ok(), winFrame );
+ button->setDefault( true );
+- button->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred ) );
++ button->setSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred ) );
+ connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( accept() ) );
+
+ TQGridLayout *grid = new TQGridLayout( winFrame, 2, 2, 10 );
+@@ -598,6 +606,7 @@
+ {
+ TQDialog::show();
+ TQApplication::flushX();
++ setFixedSize( sizeHint() );
+ }
+
+ void PasswordDlg::slotStartNewSession()
+@@ -788,9 +797,9 @@
+ ns++;
+ }
+ int fw = lv->frameWidth() * 2;
+- TQSize hds( lv->header()->tqsizeHint() );
++ TQSize hds( lv->header()->sizeHint() );
+ lv->setMinimumWidth( fw + hds.width() +
+- (ns > 10 ? tqstyle().tqpixelMetric(TQStyle::PM_ScrollBarExtent) : 0 ) );
++ (ns > 10 ? style().pixelMetric(TQStyle::PM_ScrollBarExtent) : 0 ) );
+ lv->setFixedHeight( fw + hds.height() +
+ itm->height() * (ns < 6 ? 6 : ns > 10 ? 10 : ns) );
+ lv->header()->adjustHeaderSize();
+@@ -818,6 +827,8 @@
+ connect( btn, TQT_SIGNAL(clicked()), &dialog, TQT_SLOT(reject()) );
+ vbox2->addWidget( btn );
+
++ dialog.setFixedSize( dialog.sizeHint() );
++
+ int ret = static_cast< LockProcess* >(parent())->execDialog( &dialog );
+ if (ret != TQDialog::Rejected) {
+ TQDialog::reject();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/lockprocess.cc v3.5.13-sru/kdesktop/lock/lockprocess.cc
+--- /tmp/stable//kdebase/kdesktop/lock/lockprocess.cc 2011-10-23 21:47:02.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/lockprocess.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -4,7 +4,7 @@
+ //
+ // Copyright (c) 1999 Martin R. Jones <mjones@kde.org>
+ // Copyright (c) 2003 Oswald Buddenhagen <ossi@kde.org>
+-// Copyright (c) 2010-2011 Timothy Pearson <kb9vqf@pearsoncomputing.net>
++// Copyright (c) 2010-2012 Timothy Pearson <kb9vqf@pearsoncomputing.net>
+ //
+
+ //kdesktop keeps running and checks user inactivity
+@@ -111,6 +111,10 @@
+ #define LOCK_GRACE_DEFAULT 5000
+ #define AUTOLOGOUT_DEFAULT 600
+
++// Setting this define is INSECURE
++// Use it for debugging purposes ONLY
++// #define KEEP_MOUSE_UNGRABBED 1
++
+ // These lines are taken on 10/2009 from X.org (X11/XF86keysym.h), defining some special multimedia keys
+ #define XF86XK_AudioMute 0x1008FF12
+ #define XF86XK_AudioRaiseVolume 0x1008FF13
+@@ -137,26 +141,27 @@
+ bool trinity_desktop_lock_autohide_lockdlg = TRUE;
+ bool trinity_desktop_lock_closing_windows = FALSE;
+ bool trinity_desktop_lock_in_sec_dlg = FALSE;
++bool trinity_desktop_hack_active = FALSE;
+
+ #define ENABLE_CONTINUOUS_LOCKDLG_DISPLAY \
+ if (!mForceContinualLockDisplayTimer->isActive()) mForceContinualLockDisplayTimer->start(100, FALSE); \
+-trinity_desktop_lock_autohide_lockdlg = FALSE;
++trinity_desktop_lock_autohide_lockdlg = FALSE; \
++mHackDelayStartupTimer->stop();
+
+ #define DISABLE_CONTINUOUS_LOCKDLG_DISPLAY \
+ mForceContinualLockDisplayTimer->stop(); \
+-trinity_desktop_lock_autohide_lockdlg = TRUE;
++trinity_desktop_lock_autohide_lockdlg = TRUE; \
++mHackDelayStartupTimer->stop();
+
+ //===========================================================================
+ //
+ // Screen saver handling process. Handles screensaver window,
+ // starting screensaver hacks, and password entry.
+ //
+-LockProcess::LockProcess(bool child, bool useBlankOnly)
+- : TQWidget(0L, "saver window", (trinity_desktop_lock_use_system_modal_dialogs?((WFlags)(WStyle_StaysOnTop|WStyle_Customize|WStyle_NoBorder)):((WFlags)WX11BypassWM))),
++LockProcess::LockProcess()
++ : TQWidget(0L, "saver window", ((WFlags)(WStyle_StaysOnTop|WStyle_Customize|WStyle_NoBorder))),
+ mOpenGLVisual(0),
+- child_saver(child),
+ mParent(0),
+- mUseBlankOnly(useBlankOnly),
+ mShowLockDateTime(false),
+ mSuspended(false),
+ mVisibility(false),
+@@ -173,21 +178,29 @@
+ mDialogControlLock(false),
+ mForceReject(false),
+ currentDialog(NULL),
++ mEnsureScreenHiddenTimer(NULL),
+ mForceContinualLockDisplayTimer(NULL),
+ mEnsureVRootWindowSecurityTimer(NULL),
+ mHackDelayStartupTimer(NULL),
+ mHackDelayStartupTimeout(0),
+ mHackStartupEnabled(true),
++ mResizingDesktopLock(false),
+ m_rootPixmap(NULL),
+ mBackingStartupDelayTimer(0),
+- m_startupStatusDialog(NULL)
++ m_startupStatusDialog(NULL),
++ m_mouseDown(0),
++ m_mousePrevX(0),
++ m_mousePrevY(0),
++ m_dialogPrevX(0),
++ m_dialogPrevY(0)
+ {
++#ifdef KEEP_MOUSE_UNGRABBED
++ setNFlags(WX11DisableMove|WX11DisableClose|WX11DisableShade|WX11DisableMinimize|WX11DisableMaximize);
++#endif
++
+ setupSignals();
+ setupPipe();
+
+- mShowLockDateTime = KDesktopSettings::showLockDateTime();
+- mlockDateTime = TQDateTime::currentDateTime();
+-
+ kapp->installX11EventFilter(this);
+
+ mForceContinualLockDisplayTimer = new TQTimer( this );
+@@ -199,8 +212,13 @@
+ mEnsureVRootWindowSecurityTimer = new TQTimer( this );
+ connect( mEnsureVRootWindowSecurityTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(repaintRootWindowIfNeeded()) );
+
+- mHackDelayStartupTimeout = trinity_desktop_lock_delay_screensaver_start?KDesktopSettings::timeout()*1000:10*1000;
+- mHackStartupEnabled = trinity_desktop_lock_delay_screensaver_start?KDesktopSettings::screenSaverEnabled():true;
++ connect(tqApp, TQT_SIGNAL(mouseInteraction(XEvent *)), TQT_SLOT(slotMouseActivity(XEvent *)));
++
++ // Try to get the root pixmap
++ if (!m_rootPixmap) m_rootPixmap = new KRootPixmap(this);
++ m_rootPixmap->setCustomPainting(true);
++ connect(m_rootPixmap, TQT_SIGNAL(backgroundUpdated(const TQPixmap &)), this, TQT_SLOT(slotPaintBackground(const TQPixmap &)));
++ m_rootPixmap->start();
+
+ // Get root window size
+ XWindowAttributes rootAttr;
+@@ -243,13 +261,11 @@
+
+ TQStringList dmopt =
+ TQStringList::split(TQChar(','),
+- TQString::tqfromLatin1( ::getenv( "XDM_MANAGED" )));
++ TQString::fromLatin1( ::getenv( "XDM_MANAGED" )));
+ for (TQStringList::ConstIterator it = dmopt.begin(); it != dmopt.end(); ++it)
+ if ((*it).startsWith("method="))
+ mMethod = (*it).mid(7);
+
+- configure();
+-
+ #ifdef HAVE_DPMS
+ if (mDPMSDepend) {
+ BOOL on;
+@@ -266,7 +282,11 @@
+ #endif
+
+ #if (QT_VERSION-0 >= 0x030200) // XRANDR support
+- connect( kapp->desktop(), TQT_SIGNAL( resized( int )), TQT_SLOT( desktopResized()));
++ connect( kapp->desktop(), TQT_SIGNAL( resized( int )), TQT_SLOT( desktopResized()));
++#endif
++
++#ifdef KEEP_MOUSE_UNGRABBED
++ setEnabled(false);
+ #endif
+
+ greetPlugin.library = 0;
+@@ -288,6 +308,10 @@
+ hackResumeTimer->stop();
+ delete hackResumeTimer;
+ }
++ if (mEnsureScreenHiddenTimer != NULL) {
++ mEnsureScreenHiddenTimer->stop();
++ delete mEnsureScreenHiddenTimer;
++ }
+ if (mForceContinualLockDisplayTimer != NULL) {
+ mForceContinualLockDisplayTimer->stop();
+ delete mForceContinualLockDisplayTimer;
+@@ -316,15 +340,36 @@
+ mPipeOpen_out = false;
+ }
+
++//---------------------------------------------------------------------------
++//
++// Initialization for startup
++// This is where instance settings should be set--all objects should have already been created in the constructor above
++//
++void LockProcess::init(bool child, bool useBlankOnly)
++{
++ if (!trinity_desktop_lock_use_system_modal_dialogs) {
++ setWFlags((WFlags)WX11BypassWM);
++ }
++
++ child_saver = child;
++ mUseBlankOnly = useBlankOnly;
++
++ mShowLockDateTime = KDesktopSettings::showLockDateTime();
++ mlockDateTime = TQDateTime::currentDateTime();
++
++ mHackDelayStartupTimeout = trinity_desktop_lock_delay_screensaver_start?KDesktopSettings::timeout()*1000:10*1000;
++ mHackStartupEnabled = trinity_desktop_lock_use_system_modal_dialogs?KDesktopSettings::screenSaverEnabled():true;
++
++ configure();
++}
++
+ static int signal_pipe[2];
+
+ static void sigterm_handler(int)
+ {
+ if (!trinity_desktop_lock_in_sec_dlg) {
+- char tmp = 'T';
+- if (::write( signal_pipe[1], &tmp, 1) == -1) {
+- // Error handler to shut up gcc warnings
+- }
++ // Exit uncleanly
++ exit(1);
+ }
+ }
+
+@@ -410,7 +455,7 @@
+ if (numread > 0) {
+ if (readbuf[0] == 'C') {
+ mInfoMessageDisplayed=false;
+- while (mDialogControlLock == true) sleep(1);
++ while (mDialogControlLock == true) usleep(100000);
+ mDialogControlLock = true;
+ if (currentDialog != NULL) {
+ mForceReject = true;
+@@ -423,7 +468,7 @@
+ to_display = to_display.remove(0,1);
+ // Lock out password dialogs and close any active dialog
+ mInfoMessageDisplayed=true;
+- while (mDialogControlLock == true) sleep(1);
++ while (mDialogControlLock == true) usleep(100000);
+ mDialogControlLock = true;
+ if (currentDialog != NULL) {
+ mForceReject = true;
+@@ -444,7 +489,7 @@
+ to_display = to_display.remove(0,1);
+ // Lock out password dialogs and close any active dialog
+ mInfoMessageDisplayed=true;
+- while (mDialogControlLock == true) sleep(1);
++ while (mDialogControlLock == true) usleep(100000);
+ mDialogControlLock = true;
+ if (currentDialog != NULL) {
+ mForceReject = true;
+@@ -468,7 +513,7 @@
+ to_display = to_display.remove(0,1);
+ // Lock out password dialogs and close any active dialog
+ mInfoMessageDisplayed=true;
+- while (mDialogControlLock == true) sleep(1);
++ while (mDialogControlLock == true) usleep(100000);
+ mDialogControlLock = true;
+ if (currentDialog != NULL) {
+ mForceReject = true;
+@@ -517,7 +562,7 @@
+ sigaddset(&(act.sa_mask), SIGQUIT);
+ act.sa_flags = 0;
+ sigaction(SIGQUIT, &act, 0L);
+- // exit cleanly on SIGTERM
++ // exit uncleanly on SIGTERM
+ act.sa_handler= sigterm_handler;
+ sigemptyset(&(act.sa_mask));
+ sigaddset(&(act.sa_mask), SIGTERM);
+@@ -627,14 +672,21 @@
+ return;
+ }
+
++ setGeometry(0, 0, mRootWidth, mRootHeight);
++
+ int ret;
+ SecureDlg inDlg( this );
+ inDlg.setRetInt(&ret);
+ mBusy = true;
+ execDialog( &inDlg );
+ mBusy = false;
++ bool forcecontdisp = mForceContinualLockDisplayTimer->isActive();
++ if (forcecontdisp) {
++ DISABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ }
+ trinity_desktop_lock_in_sec_dlg = false;
+ if (ret == 0) {
++ trinity_desktop_lock_closing_windows = 1;
+ kapp->quit();
+ }
+ if (ret == 1) {
+@@ -644,6 +696,9 @@
+ // the screensaver kicks in because the user moved the mouse after
+ // selecting "lock screen", that looks really untidy.
+ mBusy = true;
++ trinity_desktop_lock_forced = true;
++ // Make sure the cursor is not showing busy status
++ setCursor( tqarrowCursor );
+ if (startLock())
+ {
+ if (trinity_desktop_lock_delay_screensaver_start) {
+@@ -652,19 +707,48 @@
+ else {
+ TQTimer::singleShot(1000, this, TQT_SLOT(slotDeadTimePassed()));
+ }
++ if (trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced && trinity_desktop_lock_use_system_modal_dialogs) {
++ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
++ }
++ else {
++ if (mHackStartupEnabled == true) {
++ startHack();
++ }
++ else {
++ if (trinity_desktop_lock_use_system_modal_dialogs == true) {
++ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
++ }
++ else {
++ startHack();
++ }
++ }
++ }
+ return;
+ }
+ stopSaver();
+ mBusy = false;
++ return;
+ }
+ if (ret == 2) {
++ trinity_desktop_lock_closing_windows = 1;
+ if (system("ksysguard &") == -1) {
+ // Error handler to shut up gcc warnings
+ }
+ kapp->quit();
+ }
++ if (ret == 3) {
++ trinity_desktop_lock_closing_windows = 1;
++ DCOPRef("ksmserver","ksmserver").send("logout", (int)KApplication::ShutdownConfirmYes, (int)KApplication::ShutdownTypeNone, (int)KApplication::ShutdownModeInteractive);
++ kapp->quit();
++ }
+ // FIXME
+- // Handle remaining two cases (logoff menu and switch user)
++ // Handle remaining case (switch user)
++ if (forcecontdisp) {
++ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
++ }
+ stopSaver();
+ }
+
+@@ -725,8 +809,13 @@
+ if (mPriority > 19) mPriority = 19;
+
+ mSaver = KDesktopSettings::saver();
+- if (mSaver.isEmpty() || mUseBlankOnly)
++ if (mSaver.isEmpty() || mUseBlankOnly) {
+ mSaver = "KBlankscreen.desktop";
++ }
++ if (KDesktopSettings::screenSaverEnabled() == false) {
++ mSaver = "";
++ mSaverExec = "";
++ }
+
+ readSaver();
+
+@@ -869,7 +958,6 @@
+ // this is a security risk and has been deactivated--welcome to the 21st century folks!
+ // setBackgroundMode(TQWidget::NoBackground);
+
+- setCursor( tqblankCursor );
+ setGeometry(0, 0, mRootWidth, mRootHeight);
+
+ kdDebug(1204) << "Saver window Id: " << winId() << endl;
+@@ -878,8 +966,10 @@
+ void LockProcess::desktopResized()
+ {
+ mBusy = true;
+- suspend();
+- setCursor( tqblankCursor );
++ mHackDelayStartupTimer->stop();
++ stopHack();
++ DISABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ mResizingDesktopLock = true;
+
+ // Get root window size
+ XWindowAttributes rootAttr;
+@@ -887,8 +977,13 @@
+ mRootWidth = rootAttr.width;
+ mRootHeight = rootAttr.height;
+
++ // Resize the background widget
+ setGeometry(0, 0, mRootWidth, mRootHeight);
+
++ // Black out the background widget to hide ugly resize tiling artifacts
++ setBackgroundColor(black);
++ erase();
++
+ // This slot needs to be able to execute very rapidly so as to prevent the user's desktop from ever
+ // being displayed, so we finish the hack restarting/display prettying operations in a separate timed slot
+ if (resizeTimer == NULL) {
+@@ -900,20 +995,37 @@
+
+ void LockProcess::doDesktopResizeFinish()
+ {
+- stopHack();
+-
+- while (mDialogControlLock == true) sleep(1);
+- mDialogControlLock = true;
+- if (closeCurrentWindow()) {
+- TQTimer::singleShot( 0, this, SLOT(doDesktopResizeFinish()) );
+- mDialogControlLock = false;
+- }
+- mDialogControlLock = false;
++ while (mDialogControlLock == true) usleep(100000);
++ mDialogControlLock = true;
++ if (closeCurrentWindow()) {
++ TQTimer::singleShot( 0, this, SLOT(doDesktopResizeFinish()) );
++ mDialogControlLock = false;
++ return;
++ }
++ mDialogControlLock = false;
+
+- // Restart the hack as the window size is now different
+- startHack();
++ // Restart the hack as the window size is now different
++ if (trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced && trinity_desktop_lock_use_system_modal_dialogs) {
++ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
++ }
++ else {
++ if (mHackStartupEnabled == true) {
++ startHack();
++ }
++ else {
++ if (trinity_desktop_lock_use_system_modal_dialogs == true) {
++ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
++ }
++ else {
++ startHack();
++ }
++ }
++ }
+
+- mBusy = false;
++ mResizingDesktopLock = false;
++ mBusy = false;
+ }
+
+ //---------------------------------------------------------------------------
+@@ -1047,9 +1159,16 @@
+ //
+ bool LockProcess::grabMouse()
+ {
++ HANDLE cursorHandle;
++ if (trinity_desktop_hack_active) {
++ cursorHandle = TQCursor(tqblankCursor).handle();
++ }
++ else {
++ cursorHandle = TQCursor(tqbusyCursor).handle();
++ }
+ int rv = XGrabPointer( qt_xdisplay(), TQApplication::desktop()->winId(),
+ True, GRABEVENTS, GrabModeAsync, GrabModeAsync, None,
+- TQCursor(tqblankCursor).handle(), CurrentTime );
++ cursorHandle, CurrentTime );
+
+ return (rv == GrabSuccess);
+ }
+@@ -1064,22 +1183,24 @@
+
+ if (!grabKeyboard())
+ {
+- sleep(1);
++ usleep(100000);
+ if (!grabKeyboard())
+ {
+ return false;
+ }
+ }
+
++#ifndef KEEP_MOUSE_UNGRABBED
+ if (!grabMouse())
+ {
+- sleep(1);
++ usleep(100000);
+ if (!grabMouse())
+ {
+ XUngrabKeyboard(qt_xdisplay(), CurrentTime);
+ return false;
+ }
+ }
++#endif
+
+ lockXF86();
+
+@@ -1117,7 +1238,7 @@
+ m_grayImage.fill(0); // Set the alpha buffer to 0 (fully transparent)
+ m_grayImage.setAlphaBuffer(true);
+ TQPixmap m_root;
+- m_root.resize( TQApplication::desktop()->geometry().width(), TQApplication::desktop()->geometry().height() );
++ m_root.resize(mRootWidth, mRootHeight);
+ TQPainter p;
+ p.begin( &m_root );
+ m_grayImage.setAlphaBuffer(false);
+@@ -1134,24 +1255,31 @@
+ createSaverWindow();
+ move(0, 0);
+ show();
+- setCursor( tqblankCursor );
+
+ raise();
+ XSync(qt_xdisplay(), False);
+ setVRoot( winId(), winId() );
+- if (!(trinity_desktop_lock_delay_screensaver_start && (trinity_desktop_lock_forced || trinity_desktop_lock_in_sec_dlg))) {
+- if (backingPixmap.isNull())
++ if (((!(trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced)) && (!trinity_desktop_lock_in_sec_dlg)) && mHackStartupEnabled) {
++ if (backingPixmap.isNull()) {
+ setBackgroundColor(black);
+- else
++ }
++ else {
+ setBackgroundPixmap(backingPixmap);
++ }
++ setGeometry(0, 0, mRootWidth, mRootHeight);
+ erase();
+ }
+ if (trinity_desktop_lock_use_system_modal_dialogs) {
+ // Try to get the root pixmap
+- m_rootPixmap = new KRootPixmap(this);
++ if (!m_rootPixmap) m_rootPixmap = new KRootPixmap(this);
+ m_rootPixmap->setCustomPainting(true);
+- connect(m_rootPixmap, TQT_SIGNAL(backgroundUpdated(const TQPixmap &)), this, TQT_SLOT(slotPaintBackground(const TQPixmap &)));
+ m_rootPixmap->start();
++ // Sometimes KRootPixmap fails...make sure the desktop is hidden regardless
++ if (!mEnsureScreenHiddenTimer) {
++ mEnsureScreenHiddenTimer = new TQTimer( this );
++ connect( mEnsureScreenHiddenTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotForcePaintBackground()) );
++ mEnsureScreenHiddenTimer->start(2000, true);
++ }
+ }
+
+ if (trinity_desktop_lock_in_sec_dlg == FALSE) {
+@@ -1160,7 +1288,18 @@
+ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
+ }
+ else {
+- startHack();
++ if (mHackStartupEnabled == true) {
++ startHack();
++ }
++ else {
++ if (trinity_desktop_lock_use_system_modal_dialogs == true) {
++ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
++ }
++ else {
++ startHack();
++ }
++ }
+ }
+ }
+ return true;
+@@ -1194,7 +1333,7 @@
+ TQVariant LockProcess::getConf(void *ctx, const char *key, const TQVariant &dflt)
+ {
+ LockProcess *that = (LockProcess *)ctx;
+- TQString fkey = TQString::tqfromLatin1( key ) + '=';
++ TQString fkey = TQString::fromLatin1( key ) + '=';
+ for (TQStringList::ConstIterator it = that->mPluginOptions.begin();
+ it != that->mPluginOptions.end(); ++it)
+ if ((*it).startsWith( fkey ))
+@@ -1275,6 +1414,7 @@
+ if (!mHackProc.isRunning()) {
+ if (backingPixmap.isNull()) {
+ setBackgroundColor(black);
++ setGeometry(0, 0, mRootWidth, mRootHeight);
+ erase();
+ }
+ else {
+@@ -1289,15 +1429,23 @@
+
+ bool LockProcess::startHack()
+ {
++ trinity_desktop_hack_active = TRUE;
++
++ setCursor( tqblankCursor );
++ XChangeActivePointerGrab( qt_xdisplay(), GRABEVENTS, TQCursor(tqblankCursor).handle(), CurrentTime);
++
+ if ((mEnsureVRootWindowSecurityTimer) && (!mEnsureVRootWindowSecurityTimer->isActive())) mEnsureVRootWindowSecurityTimer->start(250, FALSE);
+
+ if (currentDialog || (!mDialogs.isEmpty()))
+ {
+ // no resuming with dialog visible or when not visible
+- if (backingPixmap.isNull())
++ if (backingPixmap.isNull()) {
+ setBackgroundColor(black);
+- else
++ }
++ else {
+ setBackgroundPixmap(backingPixmap);
++ }
++ setGeometry(0, 0, mRootWidth, mRootHeight);
+ erase();
+ return false;
+ }
+@@ -1340,10 +1488,13 @@
+
+ if (trinity_desktop_lock_use_system_modal_dialogs) {
+ // Make sure we have a nice clean display to start with!
+- if (backingPixmap.isNull())
++ if (backingPixmap.isNull()) {
+ setBackgroundColor(black);
+- else
++ }
++ else {
+ setBackgroundPixmap(backingPixmap);
++ }
++ setGeometry(0, 0, mRootWidth, mRootHeight);
+ erase();
+ mSuspended = false;
+ }
+@@ -1355,7 +1506,7 @@
+ #endif
+ //bitBlt(this, 0, 0, &mOriginal);
+ DISABLE_CONTINUOUS_LOCKDLG_DISPLAY
+- if (trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced) {
++ if (trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced) {
+ // Close any active dialogs
+ if (closeCurrentWindow()) {
+ TQTimer::singleShot( 0, this, SLOT(closeCurrentWindow()) );
+@@ -1372,15 +1523,21 @@
+ usleep(100);
+ TQApplication::syncX();
+ if (!trinity_desktop_lock_use_system_modal_dialogs) {
+- if (backingPixmap.isNull())
++ if (backingPixmap.isNull()) {
+ setBackgroundColor(black);
+- else
++ }
++ else {
+ setBackgroundPixmap(backingPixmap);
++ }
++ }
++ if (backingPixmap.isNull()) {
++ setGeometry(0, 0, mRootWidth, mRootHeight);
++ erase();
+ }
+- if (backingPixmap.isNull()) erase();
+ else bitBlt(this, 0, 0, &backingPixmap);
+ if (trinity_desktop_lock_use_system_modal_dialogs) {
+ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
+ }
+ }
+ }
+@@ -1400,6 +1557,9 @@
+ mHackProc.kill(SIGKILL);
+ }
+ }
++ setCursor( tqarrowCursor );
++
++ trinity_desktop_hack_active = FALSE;
+ }
+
+ //---------------------------------------------------------------------------
+@@ -1408,15 +1568,21 @@
+ {
+ // Hack exited while we're supposed to be saving the screen.
+ // Make sure the saver window is black.
++ trinity_desktop_hack_active = FALSE;
+ usleep(100);
+ TQApplication::syncX();
+ if (!trinity_desktop_lock_use_system_modal_dialogs) {
+- if (backingPixmap.isNull())
++ if (backingPixmap.isNull()) {
+ setBackgroundColor(black);
+- else
++ }
++ else {
+ setBackgroundPixmap(backingPixmap);
++ }
++ }
++ if (backingPixmap.isNull()) {
++ setGeometry(0, 0, mRootWidth, mRootHeight);
++ erase();
+ }
+- if (backingPixmap.isNull()) erase();
+ else bitBlt(this, 0, 0, &backingPixmap);
+ if (!mSuspended) {
+ if (trinity_desktop_lock_use_system_modal_dialogs) {
+@@ -1428,17 +1594,22 @@
+
+ void LockProcess::displayLockDialogIfNeeded()
+ {
+- if (m_startupStatusDialog) { m_startupStatusDialog->closeSMDialog(); m_startupStatusDialog=NULL; }
+- if (trinity_desktop_lock_use_system_modal_dialogs) {
+- if (!mBusy) {
+- mBusy = true;
+- if (mLocked) {
+- if (checkPass()) {
+- stopSaver();
+- kapp->quit();
++ if (m_startupStatusDialog) {
++ m_startupStatusDialog->closeSMDialog(); m_startupStatusDialog=NULL;
++ }
++ if (!trinity_desktop_lock_in_sec_dlg) {
++ if (trinity_desktop_lock_use_system_modal_dialogs) {
++ if (!mBusy) {
++ mBusy = true;
++ if (mLocked) {
++ if (checkPass()) {
++ trinity_desktop_lock_closing_windows = true;
++ stopSaver();
++ kapp->quit();
++ }
+ }
++ mBusy = false;
+ }
+- mBusy = false;
+ }
+ }
+ }
+@@ -1488,10 +1659,13 @@
+ }
+ if( !force && (!mDialogs.isEmpty() || !mVisibility )) {
+ // no resuming with dialog visible or when not visible
+- if (backingPixmap.isNull())
++ if (backingPixmap.isNull()) {
+ setBackgroundColor(black);
+- else
++ }
++ else {
+ setBackgroundPixmap(backingPixmap);
++ }
++ setGeometry(0, 0, mRootWidth, mRootHeight);
+ erase();
+ return;
+ }
+@@ -1525,6 +1699,18 @@
+ return 0;
+
+ if (trinity_desktop_lock_use_sak) {
++ // Verify SAK operational status
++ KProcess* checkSAKProcess = new KProcess;
++ *checkSAKProcess << "kdmtsak" << "check";
++ checkSAKProcess->start(KProcess::Block, KProcess::NoCommunication);
++ int retcode = checkSAKProcess->exitStatus();
++ delete checkSAKProcess;
++ if (retcode != 0) {
++ trinity_desktop_lock_use_sak = false;
++ }
++ }
++
++ if (trinity_desktop_lock_use_sak) {
+ // Wait for SAK press before continuing...
+ SAKDlg inDlg( this );
+ execDialog( &inDlg );
+@@ -1597,22 +1783,38 @@
+ }
+ mDialogs.prepend( dlg );
+ fakeFocusIn( dlg->winId());
+- if (backingPixmap.isNull() && trinity_desktop_lock_use_system_modal_dialogs) erase();
++ if (backingPixmap.isNull() && trinity_desktop_lock_use_system_modal_dialogs) {
++ setGeometry(0, 0, mRootWidth, mRootHeight);
++ erase();
++ }
+ else bitBlt(this, 0, 0, &backingPixmap);
++ // dlg->exec may generate BadMatch errors, so make sure they are silently ignored
++ int (*oldHandler)(Display *, XErrorEvent *);
++ oldHandler = XSetErrorHandler(ignoreXError);
+ int rt = dlg->exec();
+- while (mDialogControlLock == true) sleep(1);
++ XSetErrorHandler(oldHandler);
++ while (mDialogControlLock == true) usleep(100000);
+ currentDialog = NULL;
+ mDialogs.remove( dlg );
+ if( mDialogs.isEmpty() ) {
++ HANDLE cursorHandle;
++ if (trinity_desktop_hack_active) {
++ cursorHandle = TQCursor(tqblankCursor).handle();
++ }
++ else {
++ cursorHandle = TQCursor(tqbusyCursor).handle();
++ }
+ XChangeActivePointerGrab( qt_xdisplay(), GRABEVENTS,
+- TQCursor(tqblankCursor).handle(), CurrentTime);
++ cursorHandle, CurrentTime);
+ if (trinity_desktop_lock_use_system_modal_dialogs) {
+ // Slight delay before screensaver resume to allow the dialog window to fully disappear
+ if (hackResumeTimer == NULL) {
+ hackResumeTimer = new TQTimer( this );
+ connect( hackResumeTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(resumeUnforced()) );
+ }
+- hackResumeTimer->start( 10, TRUE );
++ if (mResizingDesktopLock == false) {
++ hackResumeTimer->start( 10, TRUE );
++ }
+ }
+ else {
+ resume( false );
+@@ -1624,8 +1826,24 @@
+ return rt;
+ }
+
++void LockProcess::slotForcePaintBackground()
++{
++ TQPixmap blankPixmap(mRootWidth, mRootHeight);
++ blankPixmap.fill(Qt::black);
++ slotPaintBackground(blankPixmap);
++ printf("[WARNING] Unable to obtain desktop wallpaper in a timely manner. High system load or possibly a TDE bug!\n\r"); fflush(stdout);
++}
++
+ void LockProcess::slotPaintBackground(const TQPixmap &rpm)
+ {
++ if (mEnsureScreenHiddenTimer) {
++ mEnsureScreenHiddenTimer->stop();
++ }
++ else {
++ mEnsureScreenHiddenTimer = new TQTimer( this );
++ connect( mEnsureScreenHiddenTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotForcePaintBackground()) );
++ }
++
+ TQPixmap pm = rpm;
+
+ if (TQPaintDevice::x11AppDepth() == 32) {
+@@ -1650,8 +1868,9 @@
+ }
+
+ backingPixmap = pm;
+- if (trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced) {
++ if ((trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced) || (!mHackStartupEnabled)) {
+ setBackgroundPixmap(backingPixmap);
++ setGeometry(0, 0, mRootWidth, mRootHeight);
+ erase();
+ }
+ }
+@@ -1677,13 +1896,12 @@
+ mBusy=true;
+ TQTimer::singleShot(1000, this, TQT_SLOT(slotDeadTimePassed()));
+ if (mkeyCode == XKeysymToKeycode(qt_xdisplay(), XF86XK_Display)) {
+- while (mDialogControlLock == true) sleep(1);
++ while (mDialogControlLock == true) usleep(100000);
+ mDialogControlLock = true;
+ currentDialog->close(); // DO NOT use closeCurrentWindow() here!
+ mDialogControlLock = false;
+ }
+ }
+- setCursor( tqblankCursor );
+
+ DCOPRef ref( "*", "MainApplication-Interface");
+ ref.send("sendFakeKey", DCOPArg(mkeyCode , "unsigned int"));
+@@ -1748,6 +1966,7 @@
+ else {
+ if (!mLocked || checkPass())
+ {
++ trinity_desktop_lock_closing_windows = true;
+ stopSaver();
+ kapp->quit();
+ }
+@@ -1770,7 +1989,26 @@
+ else
+ {
+ mSuspendTimer.stop();
+- resume( false );
++ if (mResizingDesktopLock == false) {
++ if (trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced && trinity_desktop_lock_use_system_modal_dialogs) {
++ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
++ }
++ else {
++ if (mHackStartupEnabled == true) {
++ resume( false );
++ }
++ else {
++ if (trinity_desktop_lock_use_system_modal_dialogs == true) {
++ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
++ }
++ else {
++ resume( false );
++ }
++ }
++ }
++ }
+ }
+ if (event->xvisibility.state != VisibilityUnobscured)
+ stayOnTop();
+@@ -1870,7 +2108,9 @@
+ suspend();
+ } else if ( mSuspended )
+ {
+- resume( true );
++ if (mResizingDesktopLock == false) {
++ resume( true );
++ }
+ }
+ #endif
+ }
+@@ -1931,7 +2171,7 @@
+ TQLabel *label2 = new TQLabel( txt, winFrame );
+ KPushButton *button = new KPushButton( KStdGuiItem::ok(), winFrame );
+ button->setDefault( true );
+- button->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred ) );
++ button->setSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred ) );
+ connect( button, TQT_SIGNAL( clicked() ), &box, TQT_SLOT( accept() ) );
+
+ TQVBoxLayout *vbox = new TQVBoxLayout( &box );
+@@ -1983,7 +2223,12 @@
+
+ void LockProcess::windowAdded( WId w, bool managed )
+ {
++ // KWin::windowInfo may generate BadWindow errors, so make sure they are silently ignored
++ int (*oldHandler)(Display *, XErrorEvent *);
++ oldHandler = XSetErrorHandler(ignoreXError);
+ KWin::WindowInfo info = KWin::windowInfo( w, 0, NET::WM2WindowClass );
++ XSetErrorHandler(oldHandler);
++
+ if( info.windowClassClass().lower() != "xvkbd" )
+ return;
+ // Unmanaged windows (i.e. popups) don't currently work anyway, since they
+@@ -2140,4 +2385,64 @@
+ }
+ }
+
++void LockProcess::slotMouseActivity(XEvent *event)
++{
++ bool inFrame = 0;
++ bool inDialog = 0;
++ XButtonEvent *be = (XButtonEvent *) event;
++ XMotionEvent *me = (XMotionEvent *) event;
++ if ((event->type == ButtonPress) && (mDialogs.first())) {
++ // Get geometry including window frame/titlebar
++ TQRect fgeom = mDialogs.first()->frameGeometry();
++ TQRect wgeom = mDialogs.first()->geometry();
++
++ if (((be->x_root > fgeom.x()) && (be->y_root > fgeom.y())) && ((be->x_root < (fgeom.x()+fgeom.width())) && (be->y_root < (fgeom.y()+fgeom.height())))) {
++ inFrame = 1;
++ }
++ if (((be->x_root > wgeom.x()) && (be->y_root > wgeom.y())) && ((be->x_root < (wgeom.x()+wgeom.width())) && (be->y_root < (wgeom.y()+wgeom.height())))) {
++ inDialog = 1;
++ }
++
++ // Clicked inside dialog; set focus
++ if (inFrame == TRUE) {
++ WId window = mDialogs.first()->winId();
++ XSetInputFocus(qt_xdisplay(), window, RevertToParent, CurrentTime);
++ fakeFocusIn(window);
++ // Why this needs to be repeated I have no idea...
++ XSetInputFocus(qt_xdisplay(), window, RevertToParent, CurrentTime);
++ fakeFocusIn(window);
++ }
++
++ // Clicked inside window handle (or border); drag window
++ if ((inFrame == TRUE) && (inDialog == FALSE)) {
++ TQPoint oldPoint = mDialogs.first()->pos();
++ m_mouseDown = 1;
++ m_dialogPrevX = oldPoint.x();
++ m_dialogPrevY = oldPoint.y();
++ m_mousePrevX = be->x_root;
++ m_mousePrevY = be->y_root;
++ XChangeActivePointerGrab( qt_xdisplay(), GRABEVENTS, TQCursor(tqsizeAllCursor).handle(), CurrentTime);
++ }
++ }
++
++ // Drag the window...
++ if (event->type == MotionNotify) {
++ if (m_mouseDown == TRUE) {
++ int deltaX = me->x_root - m_mousePrevX;
++ int deltaY = me->y_root - m_mousePrevY;
++ m_dialogPrevX = m_dialogPrevX + deltaX;
++ m_dialogPrevY = m_dialogPrevY + deltaY;
++ if (mDialogs.first()) mDialogs.first()->move(m_dialogPrevX, m_dialogPrevY);
++
++ m_mousePrevX = me->x_root;
++ m_mousePrevY = me->y_root;
++ }
++ }
++
++ if (event->type == ButtonRelease) {
++ m_mouseDown = 0;
++ XChangeActivePointerGrab( qt_xdisplay(), GRABEVENTS, TQCursor(tqarrowCursor).handle(), CurrentTime);
++ }
++}
++
+ #include "lockprocess.moc"
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/lockprocess.h v3.5.13-sru/kdesktop/lock/lockprocess.h
+--- /tmp/stable//kdebase/kdesktop/lock/lockprocess.h 2011-10-23 21:47:02.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/lockprocess.h 2012-07-31 17:17:50.000000000 +0200
+@@ -48,9 +48,11 @@
+ {
+ Q_OBJECT
+ public:
+- LockProcess(bool child_saver = false, bool useBlankOnly = false);
++ LockProcess();
+ ~LockProcess();
+
++ void init(bool child_saver = false, bool useBlankOnly = false);
++
+ bool lock();
+
+ bool defaultSave();
+@@ -74,6 +76,7 @@
+ void doDesktopResizeFinish();
+ void doFunctionKeyBroadcast();
+ void slotPaintBackground(const TQPixmap &pm);
++ void slotForcePaintBackground();
+
+ protected:
+ virtual bool x11Event(XEvent *);
+@@ -93,6 +96,7 @@
+ bool closeCurrentWindow();
+ void repaintRootWindowIfNeeded();
+ void startSecureDialog();
++ void slotMouseActivity(XEvent *event);
+
+ private:
+ void configure();
+@@ -166,7 +170,7 @@
+ struct VkbdWindow
+ {
+ WId id;
+- QRect rect;
++ TQRect rect;
+ };
+ TQValueList< VkbdWindow > mVkbdWindows;
+ WId mVkbdLastEventWindow;
+@@ -181,12 +185,14 @@
+ bool mForceReject;
+ TQDialog *currentDialog;
+
++ TQTimer* mEnsureScreenHiddenTimer;
+ TQTimer* mForceContinualLockDisplayTimer;
+ TQTimer* mEnsureVRootWindowSecurityTimer;
+ TQTimer* mHackDelayStartupTimer;
+
+ int mHackDelayStartupTimeout;
+ bool mHackStartupEnabled;
++ bool mResizingDesktopLock;
+
+ TQPixmap backingPixmap;
+ KRootPixmap *m_rootPixmap;
+@@ -195,6 +201,12 @@
+ KSMModalDialog* m_startupStatusDialog;
+
+ TQDateTime mlockDateTime;
++
++ bool m_mouseDown;
++ int m_mousePrevX;
++ int m_mousePrevY;
++ int m_dialogPrevX;
++ int m_dialogPrevY;
+ };
+
+ #endif
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/main.cc v3.5.13-sru/kdesktop/lock/main.cc
+--- /tmp/stable//kdebase/kdesktop/lock/main.cc 2011-09-16 04:01:44.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/main.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -1,6 +1,7 @@
+ /* This file is part of the KDE project
+ Copyright (C) 1999 David Faure
+ Copyright (c) 2003 Oswald Buddenhagen <ossi@kde.org>
++ Copyright (c) 2010-2012 Timothy Pearson <kb9vqf@pearsoncomputing.net>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+@@ -28,6 +29,7 @@
+ #include <kdebug.h>
+ #include <kglobalsettings.h>
+ #include <dcopref.h>
++#include <ksimpleconfig.h>
+
+ #include <kdmtsak.h>
+
+@@ -36,6 +38,15 @@
+ #include <X11/Xlib.h>
+ #include <fixx11h.h>
+
++#define OPEN_TDMCONFIG_AND_SET_GROUP \
++if( stat( KDE_CONFDIR "/kdm/kdmdistrc" , &st ) == 0) { \
++ tdmconfig = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/kdm/kdmdistrc" )); \
++} \
++else { \
++ tdmconfig = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/kdm/kdmrc" )); \
++} \
++tdmconfig->setGroup("X-*-Greeter");
++
+ // [FIXME] Add GUI configuration checkboxes for these three settings (see kdesktoprc [ScreenSaver] UseUnmanagedLockWindows, DelaySaverStart, and UseTDESAK)
+ bool trinity_desktop_lock_use_system_modal_dialogs = FALSE;
+ bool trinity_desktop_lock_delay_screensaver_start = FALSE;
+@@ -43,10 +54,21 @@
+
+ bool trinity_desktop_lock_forced = FALSE;
+
++bool signalled_forcelock;
++bool signalled_dontlock;
++bool signalled_securedialog;
++bool signalled_blank;
++bool signalled_run;
++bool in_internal_mode = FALSE;
++
+ bool MyApp::x11EventFilter( XEvent *ev )
+ {
+- if (ev->type == XKeyPress || ev->type == ButtonPress)
++ if (ev->type == ButtonPress || ev->type == ButtonRelease || ev->type == MotionNotify) {
++ emit mouseInteraction(ev);
++ }
++ if (ev->type == XKeyPress || ev->type == ButtonPress) {
+ emit activity();
++ }
+ else if (ev->type == MotionNotify) {
+ time_t tick = time( 0 );
+ if (tick != lastTick) {
+@@ -64,140 +86,266 @@
+ { "dontlock", I18N_NOOP("Only start screensaver"), 0 },
+ { "securedialog", I18N_NOOP("Launch the secure dialog"), 0 },
+ { "blank", I18N_NOOP("Only use the blank screensaver"), 0 },
++ { "internal <pid>", I18N_NOOP("TDE internal command for background process loading"), 0 },
+ KCmdLineLastOption
+ };
+
++static void sigusr1_handler(int)
++{
++ signalled_forcelock = TRUE;
++}
++
++static void sigusr2_handler(int)
++{
++ signalled_dontlock = TRUE;
++}
++
++static void sigusr3_handler(int)
++{
++ signalled_securedialog = TRUE;
++}
++
++static void sigusr4_handler(int)
++{
++ signalled_blank = TRUE;
++}
++
++static void sigusr5_handler(int)
++{
++ signalled_run = TRUE;
++}
++
+ // -----------------------------------------------------------------------------
+
+ int main( int argc, char **argv )
+ {
+ KLocale::setMainCatalogue("kdesktop");
+
+- KCmdLineArgs::init( argc, argv, "kdesktop_lock", I18N_NOOP("KDesktop Locker"), I18N_NOOP("Session Locker for KDesktop"), "2.0" );
++ KCmdLineArgs::init( argc, argv, "kdesktop_lock", I18N_NOOP("KDesktop Locker"), I18N_NOOP("Session Locker for KDesktop"), "2.1" );
+ KCmdLineArgs::addCmdLineOptions( options );
+ KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+
+- if (args->isSet( "forcelock" ))
+- trinity_desktop_lock_forced = TRUE;
+-
+ putenv(strdup("SESSION_MANAGER="));
+
+ KApplication::disableAutoDcopRegistration(); // not needed
+
+- int kdesktop_screen_number = 0;
+- int starting_screen = 0;
++ while (1 == 1) {
++ signalled_forcelock = FALSE;
++ signalled_dontlock = FALSE;
++ signalled_securedialog = FALSE;
++ signalled_blank = FALSE;
++ signalled_run = FALSE;
++
++ int kdesktop_screen_number = 0;
++ int starting_screen = 0;
++
++ bool child = false;
++ int parent_connection = 0; // socket to the parent saver
++ TQValueList<int> child_sockets;
++
++ if (KGlobalSettings::isMultiHead())
++ {
++ Display *dpy = XOpenDisplay(NULL);
++ if (! dpy) {
++ fprintf(stderr,
++ "%s: FATAL ERROR: couldn't open display '%s'\n",
++ argv[0], XDisplayName(NULL));
++ exit(1);
++ }
+
+- bool child = false;
+- int parent_connection = 0; // socket to the parent saver
+- TQValueList<int> child_sockets;
+-
+- if (KGlobalSettings::isMultiHead())
+- {
+- Display *dpy = XOpenDisplay(NULL);
+- if (! dpy) {
+- fprintf(stderr,
+- "%s: FATAL ERROR: couldn't open display '%s'\n",
+- argv[0], XDisplayName(NULL));
+- exit(1);
+- }
+-
+- int number_of_screens = ScreenCount(dpy);
+- starting_screen = kdesktop_screen_number = DefaultScreen(dpy);
+- int pos;
+- TQCString display_name = XDisplayString(dpy);
+- XCloseDisplay(dpy);
+- kdDebug() << "screen " << number_of_screens << " " << kdesktop_screen_number << " " << display_name << " " << starting_screen << endl;
+- dpy = 0;
+-
+- if ((pos = display_name.findRev('.')) != -1)
+- display_name.remove(pos, 10);
+-
+- TQCString env;
+- if (number_of_screens != 1) {
+- for (int i = 0; i < number_of_screens; i++) {
+- if (i != starting_screen) {
+- int fd[2];
+- if (pipe(fd)) {
+- perror("pipe");
+- break;
+- }
+- if (fork() == 0) {
+- child = true;
+- kdesktop_screen_number = i;
+- parent_connection = fd[0];
+- // break here because we are the child process, we don't
+- // want to fork() anymore
+- break;
+- } else {
+- child_sockets.append(fd[1]);
++ int number_of_screens = ScreenCount(dpy);
++ starting_screen = kdesktop_screen_number = DefaultScreen(dpy);
++ int pos;
++ TQCString display_name = XDisplayString(dpy);
++ XCloseDisplay(dpy);
++ kdDebug() << "screen " << number_of_screens << " " << kdesktop_screen_number << " " << display_name << " " << starting_screen << endl;
++ dpy = 0;
++
++ if ((pos = display_name.findRev('.')) != -1)
++ display_name.remove(pos, 10);
++
++ TQCString env;
++ if (number_of_screens != 1) {
++ for (int i = 0; i < number_of_screens; i++) {
++ if (i != starting_screen) {
++ int fd[2];
++ if (pipe(fd)) {
++ perror("pipe");
++ break;
++ }
++ if (fork() == 0) {
++ child = true;
++ kdesktop_screen_number = i;
++ parent_connection = fd[0];
++ // break here because we are the child process, we don't
++ // want to fork() anymore
++ break;
++ } else {
++ child_sockets.append(fd[1]);
++ }
+ }
+ }
++
++ env.sprintf("DISPLAY=%s.%d", display_name.data(),
++ kdesktop_screen_number);
++ kdDebug() << "env " << env << endl;
++
++ if (putenv(strdup(env.data()))) {
++ fprintf(stderr,
++ "%s: WARNING: unable to set DISPLAY environment variable\n",
++ argv[0]);
++ perror("putenv()");
++ }
+ }
++ }
+
+- env.sprintf("DISPLAY=%s.%d", display_name.data(),
+- kdesktop_screen_number);
+- kdDebug() << "env " << env << endl;
++ MyApp app;
++ kdDebug() << "app " << kdesktop_screen_number << " " << starting_screen << " " << child << " " << child_sockets.count() << " " << parent_connection << endl;
++ app.disableSessionManagement();
++ KGlobal::locale()->insertCatalogue("libdmctl");
++
++ struct stat st;
++ KSimpleConfig* tdmconfig;
++ OPEN_TDMCONFIG_AND_SET_GROUP
++ trinity_desktop_lock_use_sak = tdmconfig->readBoolEntry("UseSAK", true);
++
++ LockProcess process;
++
++ // Start loading core functions, such as the desktop wallpaper interface
++ app.processEvents();
++
++ if (args->isSet( "internal" )) {
++ while (signalled_run == FALSE) {
++ sigset_t new_mask;
++ struct sigaction act;
++
++ in_internal_mode = TRUE;
++
++ // handle SIGUSR1
++ act.sa_handler= sigusr1_handler;
++ sigemptyset(&(act.sa_mask));
++ sigaddset(&(act.sa_mask), SIGUSR1);
++ act.sa_flags = 0;
++ sigaction(SIGUSR1, &act, 0L);
++ // handle SIGUSR2
++ act.sa_handler= sigusr2_handler;
++ sigemptyset(&(act.sa_mask));
++ sigaddset(&(act.sa_mask), SIGUSR2);
++ act.sa_flags = 0;
++ sigaction(SIGUSR2, &act, 0L);
++ // handle SIGWINCH (an ersatz SIGUSR3)
++ act.sa_handler= sigusr3_handler;
++ sigemptyset(&(act.sa_mask));
++ sigaddset(&(act.sa_mask), SIGWINCH);
++ act.sa_flags = 0;
++ sigaction(SIGWINCH, &act, 0L);
++ // handle SIGTTIN (an ersatz SIGUSR4)
++ act.sa_handler= sigusr4_handler;
++ sigemptyset(&(act.sa_mask));
++ sigaddset(&(act.sa_mask), SIGTTIN);
++ act.sa_flags = 0;
++ sigaction(SIGTTIN, &act, 0L);
++ // handle SIGTTOU (an ersatz SIGUSR5)
++ act.sa_handler= sigusr5_handler;
++ sigemptyset(&(act.sa_mask));
++ sigaddset(&(act.sa_mask), SIGTTOU);
++ act.sa_flags = 0;
++ sigaction(SIGTTOU, &act, 0L);
++
++ // initialize the signal masks
++ sigfillset(&new_mask);
++ sigdelset(&new_mask,SIGUSR1);
++ sigdelset(&new_mask,SIGUSR2);
++ sigdelset(&new_mask,SIGWINCH);
++ sigdelset(&new_mask,SIGTTIN);
++ sigdelset(&new_mask,SIGTTOU);
+
+- if (putenv(strdup(env.data()))) {
+- fprintf(stderr,
+- "%s: WARNING: unable to set DISPLAY environment variable\n",
+- argv[0]);
+- perror("putenv()");
++ // wait for SIGUSR1, SIGUSR2, SIGWINCH, SIGTTIN, or SIGTTOU
++ sigsuspend(&new_mask);
+ }
+ }
+- }
+
+- MyApp app;
+- kdDebug() << "app " << kdesktop_screen_number << " " << starting_screen << " " << child << " " << child_sockets.count() << " " << parent_connection << endl;
+- app.disableSessionManagement();
+- KGlobal::locale()->insertCatalogue("libdmctl");
+-
+- // we need to read from the right rc file - possibly taking screen number in account
+- KDesktopSettings::instance("kdesktoprc");
+-
+- trinity_desktop_lock_use_system_modal_dialogs = !KDesktopSettings::useUnmanagedLockWindows();
+- trinity_desktop_lock_delay_screensaver_start = KDesktopSettings::delaySaverStart();
+- trinity_desktop_lock_use_sak = KDesktopSettings::useTDESAK();
+-
+- LockProcess process(child, args->isSet( "blank" ));
+- if (!child)
+- process.setChildren(child_sockets);
+- else
+- process.setParent(parent_connection);
+-
+- bool rt;
+- bool sig = false;
+- if( !child && args->isSet( "forcelock" ))
+- {
+- rt = process.lock();
+- sig = true;
+- }
+- else if( child || args->isSet( "dontlock" )) {
+- rt = process.dontLock();
+- }
+- else if( child || args->isSet( "securedialog" )) {
+- int retcode = tde_sak_verify_calling_process();
+- if (retcode == 0) {
+- rt = process.runSecureDialog();
++ // load settings here so that they actually reflect reality
++ // there is no way to force a reload once KDesktopSettings::instance has been called!
++ // we need to read from the right rc file - possibly taking screen number in account
++ KDesktopSettings::instance("kdesktoprc");
++ trinity_desktop_lock_use_system_modal_dialogs = !KDesktopSettings::useUnmanagedLockWindows();
++ trinity_desktop_lock_delay_screensaver_start = KDesktopSettings::delaySaverStart();
++ if (trinity_desktop_lock_use_system_modal_dialogs) {
++ trinity_desktop_lock_use_sak = tdmconfig->readBoolEntry("UseSAK", true);
+ }
+ else {
+- return 1;
++ trinity_desktop_lock_use_sak = false; // If SAK is enabled with unmanaged windows, the SAK dialog will never close and will "burn in" the screen
++ trinity_desktop_lock_delay_screensaver_start = false; // If trinity_desktop_lock_delay_screensaver_start is true with unmanaged windows, the lock dialog may never appear
+ }
+- }
+- else {
+- rt = process.defaultSave();
+- }
+- if (!rt) {
+- return 1;
+- }
+
+- if( sig )
+- {
+- DCOPRef ref( "kdesktop", "KScreensaverIface");
+- ref.send( "saverLockReady" );
+- }
++ delete tdmconfig;
++
++ if (args->isSet( "forcelock" ) || (signalled_forcelock == TRUE)) {
++ trinity_desktop_lock_forced = TRUE;
++ }
+
+- return app.exec();
++ process.init(child, (args->isSet( "blank" ) || (signalled_blank == TRUE)));
++ if (!child) {
++ process.setChildren(child_sockets);
++ }
++ else {
++ process.setParent(parent_connection);
++ }
++
++ bool rt;
++ bool sig = false;
++ if( (((!child) && (args->isSet( "forcelock" ))) || (signalled_forcelock == TRUE))) {
++ rt = process.lock();
++ sig = true;
++ }
++ else if( child || (args->isSet( "dontlock" ) || (signalled_dontlock == TRUE))) {
++ rt = process.dontLock();
++ }
++ else if( child || (args->isSet( "securedialog" ) || (signalled_securedialog == TRUE))) {
++ int retcode = tde_sak_verify_calling_process();
++ if (retcode == 0) {
++ rt = process.runSecureDialog();
++ }
++ else {
++ return 1;
++ }
++ }
++ else {
++ rt = process.defaultSave();
++ }
++ if (!rt) {
++ return 0;
++ }
++
++ if( sig )
++ {
++ DCOPRef ref( "kdesktop", "KScreensaverIface");
++ ref.send( "saverLockReady" );
++ }
++
++ if (in_internal_mode == FALSE) {
++ return app.exec();
++ }
++ else {
++ pid_t kdesktop_pid = atoi(args->getOption( "internal" ));
++ if (kill(kdesktop_pid, SIGUSR2) < 0) {
++ // The controlling kdesktop process probably died. Commit suicide...
++ return 12;
++ }
++ app.exec();
++ if (kill(kdesktop_pid, SIGUSR1) < 0) {
++ // The controlling kdesktop process probably died. Commit suicide...
++ return 12;
++ }
++
++ // FIXME
++ // We should not have to return (restart) at all,
++ // but it seems that some X11 connections are left active,
++ // preventing the lock process from restarting properly in the while() loop above.
++ return 0;
++ }
++ }
+ }
+
+ #include "main.moc"
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/main.h v3.5.13-sru/kdesktop/lock/main.h
+--- /tmp/stable//kdebase/kdesktop/lock/main.h 2010-08-12 05:29:22.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/main.h 2012-07-31 17:17:50.000000000 +0200
+@@ -32,6 +32,7 @@
+ bool x11EventFilter( XEvent * );
+ signals:
+ void activity();
++ void mouseInteraction(XEvent *event);
+ private:
+ time_t lastTick;
+ };
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/querydlg.cc v3.5.13-sru/kdesktop/lock/querydlg.cc
+--- /tmp/stable//kdebase/kdesktop/lock/querydlg.cc 2011-09-14 07:31:14.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/querydlg.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -86,8 +86,8 @@
+ KUser user;
+
+ mStatusLabel = new TQLabel( "<b> </b>", frame );
+- //mStatusLabel->tqsetAlignment( TQLabel::AlignCenter );
+- mStatusLabel->tqsetAlignment( TQLabel::AlignLeft );
++ //mStatusLabel->setAlignment( TQLabel::AlignCenter );
++ mStatusLabel->setAlignment( TQLabel::AlignLeft );
+
+ KSeparator *sep = new KSeparator( KSeparator::HLine, frame );
+
+@@ -118,6 +118,7 @@
+ connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(slotOK()));
+
+ installEventFilter(this);
++ setFixedSize( sizeHint() );
+ }
+
+ QueryDlg::~QueryDlg()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/sakdlg.cc v3.5.13-sru/kdesktop/lock/sakdlg.cc
+--- /tmp/stable//kdebase/kdesktop/lock/sakdlg.cc 2011-09-16 04:01:44.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/sakdlg.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -87,7 +87,7 @@
+ KUser user;
+
+ mStatusLabel = new TQLabel( "<b> </b>", frame );
+- mStatusLabel->tqsetAlignment( TQLabel::AlignVCenter );
++ mStatusLabel->setAlignment( TQLabel::AlignVCenter );
+
+ TQVBoxLayout *unlockDialogLayout = new TQVBoxLayout( this );
+ unlockDialogLayout->addWidget( frame );
+@@ -102,6 +102,7 @@
+ mStatusLabel->setText("<b>" + i18n("Press Ctrl+Alt+Del to begin.") + "</b><p>" + i18n("This process helps keep your password secure.") + "<br>" + i18n("It prevents unauthorized users from emulating the login screen."));
+
+ installEventFilter(this);
++ setFixedSize( sizeHint() );
+
+ mSAKProcess = new KProcess;
+ *mSAKProcess << "kdmtsak";
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/securedlg.cc v3.5.13-sru/kdesktop/lock/securedlg.cc
+--- /tmp/stable//kdebase/kdesktop/lock/securedlg.cc 2011-09-18 10:01:59.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/securedlg.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -87,7 +87,16 @@
+ KUser user;
+
+ mLogonStatus = new TQLabel( frame );
+- mLogonStatus->setText(i18n("'%1' is currently logged on").arg( user.fullName() ));
++ TQString userString = user.fullName();
++ if (userString == "") {
++ userString = user.loginName();
++ }
++ if (userString != "") {
++ mLogonStatus->setText(i18n("'%1' is currently logged on").arg( user.fullName() ));
++ }
++ else {
++ mLogonStatus->setText(i18n("You are currently logged on")); // We should never get here, and this message is somewhat obtuse, but it is better than displaying two qotation marks with no text between them...
++ }
+
+ KSeparator *sep = new KSeparator( KSeparator::HLine, frame );
+
+@@ -97,12 +106,11 @@
+ mTaskButton = new TQPushButton( frame );
+ mTaskButton->setText(i18n("Task Manager"));
+
+- mCancelButton = new TQPushButton( frame );
+- mCancelButton->setText(i18n("Cancel"));
+-
+ mShutdownButton = new TQPushButton( frame );
+ mShutdownButton->setText(i18n("Logoff Menu"));
+- mShutdownButton->setEnabled(false); // FIXME
++
++ mCancelButton = new TQPushButton( frame );
++ mCancelButton->setText(i18n("Cancel"));
+
+ mSwitchButton = new TQPushButton( frame );
+ mSwitchButton->setText(i18n("Switch User"));
+@@ -144,6 +152,7 @@
+ mSwitchButton->setFixedWidth(btnSize);
+
+ installEventFilter(this);
++ setFixedSize( sizeHint() );
+ }
+
+ SecureDlg::~SecureDlg()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lockeng.cc v3.5.13-sru/kdesktop/lockeng.cc
+--- /tmp/stable//kdebase/kdesktop/lockeng.cc 2011-09-23 06:06:43.000000000 +0200
++++ v3.5.13-sru/kdesktop/lockeng.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -1,8 +1,9 @@
+ //===========================================================================
+ //
+-// This file is part of the KDE project
++// This file is part of the TDE project
+ //
+ // Copyright (c) 1999 Martin R. Jones <mjones@kde.org>
++// Copyright (c) 2012 Timothy Pearson <kb9vqf@pearsoncomputing.net>
+ //
+
+
+@@ -29,6 +30,20 @@
+
+ bool trinity_lockeng_sak_available = TRUE;
+
++SaverEngine* m_masterSaverEngine = NULL;
++static void sigusr1_handler(int)
++{
++ if (m_masterSaverEngine) {
++ m_masterSaverEngine->slotLockProcessWaiting();
++ }
++}
++static void sigusr2_handler(int)
++{
++ if (m_masterSaverEngine) {
++ m_masterSaverEngine->slotLockProcessFullyActivated();
++ }
++}
++
+ //===========================================================================
+ //
+ // Screen saver engine. Doesn't handle the actual screensaver window,
+@@ -36,11 +51,30 @@
+ // a newly started process.
+ //
+ SaverEngine::SaverEngine()
+- : KScreensaverIface(),
+- TQWidget(),
++ : TQWidget(),
++ KScreensaverIface(),
+ mBlankOnly(false),
+- mSAKProcess(NULL)
++ mSAKProcess(NULL),
++ mTerminationRequested(false)
+ {
++ struct sigaction act;
++
++ // handle SIGUSR1
++ m_masterSaverEngine = this;
++ act.sa_handler= sigusr1_handler;
++ sigemptyset(&(act.sa_mask));
++ sigaddset(&(act.sa_mask), SIGUSR1);
++ act.sa_flags = 0;
++ sigaction(SIGUSR1, &act, 0L);
++
++ // handle SIGUSR2
++ m_masterSaverEngine = this;
++ act.sa_handler= sigusr2_handler;
++ sigemptyset(&(act.sa_mask));
++ sigaddset(&(act.sa_mask), SIGUSR2);
++ act.sa_flags = 0;
++ sigaction(SIGUSR2, &act, 0L);
++
+ // Save X screensaver parameters
+ XGetScreenSaver(qt_xdisplay(), &mXTimeout, &mXInterval,
+ &mXBlanking, &mXExposures);
+@@ -59,6 +93,19 @@
+ TQTimer::singleShot( 0, this, TQT_SLOT(handleSecureDialog()) );
+
+ configure();
++
++ mLockProcess.clearArguments();
++ TQString path = KStandardDirs::findExe( "kdesktop_lock" );
++ if( path.isEmpty())
++ {
++ kdDebug( 1204 ) << "Can't find kdesktop_lock!" << endl;
++ }
++ mLockProcess << path;
++ mLockProcess << TQString( "--internal" ) << TQString( "%1" ).arg(getpid());
++ if (mLockProcess.start() == false )
++ {
++ kdDebug( 1204 ) << "Failed to start kdesktop_lock!" << endl;
++ }
+ }
+
+ //---------------------------------------------------------------------------
+@@ -67,6 +114,10 @@
+ //
+ SaverEngine::~SaverEngine()
+ {
++ if (mState == Waiting) {
++ kill(mLockProcess.pid(), SIGKILL);
++ }
++
+ mLockProcess.detach(); // don't kill it if we crash
+ delete mXAutoLock;
+
+@@ -81,13 +132,13 @@
+ void SaverEngine::lock()
+ {
+ bool ok = true;
+- if (mState == Waiting)
++ if (mState != Saving)
+ {
+ mSAKProcess->kill(SIGTERM);
+ ok = startLockProcess( ForceLock );
+-// It takes a while for kdesktop_lock to start and lock the screen.
+-// Therefore delay the DCOP call until it tells kdesktop that the locking is in effect.
+-// This is done only for --forcelock .
++ // It takes a while for kdesktop_lock to start and lock the screen.
++ // Therefore delay the DCOP call until it tells kdesktop that the locking is in effect.
++ // This is done only for --forcelock .
+ if( ok && mState != Saving )
+ {
+ DCOPClientTransaction* trans = kapp->dcopClient()->beginTransaction();
+@@ -200,6 +251,27 @@
+ return (mState != Waiting);
+ }
+
++void SaverEngine::enableExports()
++{
++#ifdef Q_WS_X11
++ kdDebug(270) << k_lineinfo << "activating background exports.\n";
++ DCOPClient *client = kapp->dcopClient();
++ if (!client->isAttached()) {
++ client->attach();
++ }
++ TQByteArray data;
++ TQDataStream args( data, IO_WriteOnly );
++ args << 1;
++
++ TQCString appname( "kdesktop" );
++ int screen_number = DefaultScreen(qt_xdisplay());
++ if ( screen_number )
++ appname.sprintf("kdesktop-screen-%d", screen_number );
++
++ client->send( appname, "KBackgroundIface", "setExport(int)", data );
++#endif
++}
++
+ //---------------------------------------------------------------------------
+ void SaverEngine::handleSecureDialog()
+ {
+@@ -210,7 +282,10 @@
+ void SaverEngine::slotSAKProcessExited()
+ {
+ int retcode = mSAKProcess->exitStatus();
+- if ((retcode != 0) && (mSAKProcess->normalExit())) trinity_lockeng_sak_available = FALSE;
++ if ((retcode != 0) && (mSAKProcess->normalExit())) {
++ trinity_lockeng_sak_available = FALSE;
++ printf("[kdesktop] SAK driven secure dialog is not available for use (retcode %d). Check tdmtsak for proper functionality.\n", retcode); fflush(stdout);
++ }
+
+ if ((mSAKProcess->normalExit()) && (trinity_lockeng_sak_available == TRUE)) {
+ bool ok = true;
+@@ -276,46 +351,50 @@
+ //
+ bool SaverEngine::startLockProcess( LockType lock_type )
+ {
+- if (mState != Waiting)
++ if (mState == Saving)
+ return true;
+
++ enableExports();
++
+ kdDebug(1204) << "SaverEngine: starting saver" << endl;
+ emitDCOPSignal("KDE_start_screensaver()", TQByteArray());
+
+- if (mLockProcess.isRunning())
+- {
+- stopLockProcess();
+- }
+- mLockProcess.clearArguments();
+- TQString path = KStandardDirs::findExe( "kdesktop_lock" );
+- if( path.isEmpty())
+- {
+- kdDebug( 1204 ) << "Can't find kdesktop_lock!" << endl;
+- return false;
++ if (!mLockProcess.isRunning()) {
++ mLockProcess.clearArguments();
++ TQString path = KStandardDirs::findExe( "kdesktop_lock" );
++ if( path.isEmpty())
++ {
++ kdDebug( 1204 ) << "Can't find kdesktop_lock!" << endl;
++ return false;
++ }
++ mLockProcess << path;
++ mLockProcess << TQString( "--internal" ) << TQString( "%1" ).arg(getpid());
++ if (mLockProcess.start() == false )
++ {
++ kdDebug( 1204 ) << "Failed to start kdesktop_lock!" << endl;
++ return false;
++ }
+ }
+- mLockProcess << path;
++
+ switch( lock_type )
+ {
+ case ForceLock:
+- mLockProcess << TQString( "--forcelock" );
++ mLockProcess.kill(SIGUSR1); // Request forcelock
+ break;
+ case DontLock:
+- mLockProcess << TQString( "--dontlock" );
++ mLockProcess.kill(SIGUSR2); // Request dontlock
+ break;
+ case SecureDialog:
+- mLockProcess << TQString( "--securedialog" );
++ mLockProcess.kill(SIGWINCH); // Request secure dialog
+ break;
+ default:
+ break;
+ }
+- if (mBlankOnly)
+- mLockProcess << TQString( "--blank" );
+-
+- if (mLockProcess.start() == false )
+- {
+- kdDebug( 1204 ) << "Failed to start kdesktop_lock!" << endl;
+- return false;
++ if (mBlankOnly) {
++ mLockProcess.kill(SIGTTIN); // Request blanking
+ }
++
++ mLockProcess.kill(SIGTTOU); // Start lock
+ XSetScreenSaver(qt_xdisplay(), 0, mXInterval, PreferBlanking, mXExposures);
+
+ mState = Preparing;
+@@ -340,6 +419,7 @@
+ kdDebug(1204) << "SaverEngine: stopping lock" << endl;
+ emitDCOPSignal("KDE_stop_screensaver()", TQByteArray());
+
++ mTerminationRequested=true;
+ mLockProcess.kill();
+
+ if (mEnabled)
+@@ -357,6 +437,65 @@
+
+ void SaverEngine::lockProcessExited()
+ {
++ bool abnormalExit = false;
++ if (mLockProcess.normalExit() == false) {
++ abnormalExit = true;
++ }
++ else {
++ if (mLockProcess.exitStatus() != 0) {
++ abnormalExit = true;
++ }
++ }
++ if (mTerminationRequested == true) {
++ abnormalExit = false;
++ mTerminationRequested = false;
++ }
++ if (abnormalExit == true) {
++ // PROBABLE HACKING ATTEMPT DETECTED
++ // Terminate the TDE session ASAP!
++ // Values are explained at http://lists.kde.org/?l=kde-linux&m=115770988603387
++ TQByteArray data;
++ TQDataStream arg(data, IO_WriteOnly);
++ arg << (int)0 << (int)0 << (int)2;
++ if ( ! kapp->dcopClient()->send("ksmserver", "default", "logout(int,int,int)", data) ) {
++ // Someone got to DCOP before we did
++ // Try an emergency system logout
++ system("logout");
++ }
++ }
++ else {
++ // Restart the lock process
++ if (!mLockProcess.isRunning()) {
++ mLockProcess.clearArguments();
++ TQString path = KStandardDirs::findExe( "kdesktop_lock" );
++ if( path.isEmpty())
++ {
++ kdDebug( 1204 ) << "Can't find kdesktop_lock!" << endl;
++ }
++ mLockProcess << path;
++ mLockProcess << TQString( "--internal" ) << TQString( "%1" ).arg(getpid());
++ if (mLockProcess.start() == false )
++ {
++ kdDebug( 1204 ) << "Failed to start kdesktop_lock!" << endl;
++ }
++ }
++ }
++}
++
++void SaverEngine::slotLockProcessWaiting()
++{
++ // lockProcessWaiting cannot be called directly from a signal handler, as it will hang in certain obscure circumstances
++ // Instead we use a single-shot timer to immediately call lockProcessWaiting once control has returned to the Qt main loop
++ TQTimer::singleShot(0, this, SLOT(lockProcessWaiting()));
++}
++
++void SaverEngine::slotLockProcessFullyActivated()
++{
++ mState = Saving;
++}
++
++void SaverEngine::lockProcessWaiting()
++{
+ kdDebug(1204) << "SaverEngine: lock exited" << endl;
+ if (trinity_lockeng_sak_available == TRUE) {
+ handleSecureDialog();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lockeng.h v3.5.13-sru/kdesktop/lockeng.h
+--- /tmp/stable//kdebase/kdesktop/lockeng.h 2011-09-16 04:01:44.000000000 +0200
++++ v3.5.13-sru/kdesktop/lockeng.h 2012-07-31 17:17:50.000000000 +0200
+@@ -78,14 +78,24 @@
+ */
+ virtual void saverLockReady();
+
++public slots:
++ void slotLockProcessWaiting();
++ void slotLockProcessFullyActivated();
++
+ protected slots:
+ void idleTimeout();
+ void lockProcessExited();
++ void lockProcessWaiting();
+
+ private slots:
+ void handleSecureDialog();
+ void slotSAKProcessExited();
+
++ /**
++ * Enable wallpaper exports
++ */
++ void enableExports();
++
+ protected:
+ enum LockType { DontLock, DefaultLock, ForceLock, SecureDialog };
+ bool startLockProcess( LockType lock_type );
+@@ -114,6 +124,7 @@
+
+ private:
+ KProcess* mSAKProcess;
++ bool mTerminationRequested;
+ };
+
+ #endif
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/minicli.cpp v3.5.13-sru/kdesktop/minicli.cpp
+--- /tmp/stable//kdebase/kdesktop/minicli.cpp 2011-10-26 21:06:48.000000000 +0200
++++ v3.5.13-sru/kdesktop/minicli.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -87,7 +87,7 @@
+ mainLayout->addWidget(m_dlg);
+
+ m_dlg->lbRunIcon->setPixmap(DesktopIcon("kmenu"));
+- m_dlg->lbComment->tqsetAlignment( TQt::WordBreak );
++ m_dlg->lbComment->setAlignment( TQt::WordBreak );
+
+ m_dlg->cbCommand->setDuplicatesEnabled( false );
+ m_dlg->cbCommand->setTrapReturnKey( true );
+@@ -182,7 +182,7 @@
+ }
+ }
+
+-TQSize Minicli::tqsizeHint() const
++TQSize Minicli::sizeHint() const
+ {
+ int maxWidth = tqApp->desktop()->screenGeometry((TQWidget*)this).width();
+ if (maxWidth < 603)
+@@ -784,7 +784,7 @@
+
+ // Set the focus back to the widget that had it to begin with, i.e.
+ // do not put the focus on the "Options" button.
+- m_FocusWidget = tqfocusWidget();
++ m_FocusWidget = focusWidget();
+
+ if( m_FocusWidget )
+ m_FocusWidget->setFocus();
+@@ -846,7 +846,7 @@
+ void Minicli::setIcon ()
+ {
+ if( m_iconName.isEmpty() || m_iconName == "unknown" || m_iconName == "kde" )
+- m_iconName = TQString::tqfromLatin1("kmenu");
++ m_iconName = TQString::fromLatin1("kmenu");
+
+ TQPixmap icon = DesktopIcon( m_iconName );
+
+@@ -891,9 +891,9 @@
+ m_prevChecked = m_dlg->cbRunAsOther->isChecked();
+ m_prevCached = true;
+ }
+- if (m_dlg->leUsername->text() != TQString::tqfromLatin1("root"))
++ if (m_dlg->leUsername->text() != TQString::fromLatin1("root"))
+ m_dlg->lePassword->setText(TQString::null);
+- m_dlg->leUsername->setText(TQString::tqfromLatin1("root"));
++ m_dlg->leUsername->setText(TQString::fromLatin1("root"));
+ m_dlg->cbRunAsOther->setChecked(true);
+ m_dlg->cbRunAsOther->setEnabled(false);
+ m_dlg->leUsername->setEnabled(false);
+@@ -938,7 +938,7 @@
+ if (enable)
+ {
+ m_prevIconName = m_iconName;
+- m_iconName = TQString::tqfromLatin1( "konsole" );
++ m_iconName = TQString::fromLatin1( "konsole" );
+ setIcon();
+ }
+ else if (!m_prevIconName.isEmpty())
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/minicli.h v3.5.13-sru/kdesktop/minicli.h
+--- /tmp/stable//kdebase/kdesktop/minicli.h 2011-10-26 21:06:48.000000000 +0200
++++ v3.5.13-sru/kdesktop/minicli.h 2012-07-31 17:17:50.000000000 +0200
+@@ -57,7 +57,7 @@
+ void clearHistory();
+
+ virtual void show();
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+
+ public slots:
+ void saveConfig();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/minicli_ui.ui v3.5.13-sru/kdesktop/minicli_ui.ui
+--- /tmp/stable//kdebase/kdesktop/minicli_ui.ui 2011-10-26 21:06:48.000000000 +0200
++++ v3.5.13-sru/kdesktop/minicli_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -61,7 +61,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>80</width>
+ <height>20</height>
+@@ -123,7 +123,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>57</width>
+ <height>20</height>
+@@ -157,7 +157,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>30</height>
+@@ -331,7 +331,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>9</height>
+@@ -405,7 +405,7 @@
+ <property name="text">
+ <string>High</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="whatsThis" stdset="0">
+@@ -460,7 +460,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>40</height>
+@@ -527,7 +527,7 @@
+ <property name="text">
+ <string></string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ </widget>
+@@ -543,7 +543,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>388</width>
+ <height>0</height>
+@@ -568,7 +568,7 @@
+ <property name="text">
+ <string>Enter the name of the application you want to run or the URL you want to view</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesu/kdesu/kdesu.cpp v3.5.13-sru/kdesu/kdesu/kdesu.cpp
+--- /tmp/stable//kdebase/kdesu/kdesu/kdesu.cpp 2011-10-26 21:06:48.000000000 +0200
++++ v3.5.13-sru/kdesu/kdesu/kdesu.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -62,7 +62,8 @@
+ { "t", I18N_NOOP("Enable terminal output (no password keeping)"), 0 },
+ { "p <prio>", I18N_NOOP("Set priority value: 0 <= prio <= 100, 0 is lowest"), "50" },
+ { "r", I18N_NOOP("Use realtime scheduling"), 0 },
+- { "newdcop", I18N_NOOP("Create a new dcopserver instance (this can break your current TDE session)"), 0 },
++ { "nonewdcop", I18N_NOOP("Let command use existing dcopserver"), 0 },
++ { "comment <comment>", I18N_NOOP("Ignored"), "" },
+ { "noignorebutton", I18N_NOOP("Do not display ignore button"), 0 },
+ { "i <icon name>", I18N_NOOP("Specify icon to use in the password dialog"), 0},
+ { "d", I18N_NOOP("Do not show the command to be run in the dialog"), 0},
+@@ -178,7 +179,7 @@
+ TQString file = TQFile::decodeName(args->getOption("f"));
+ if (change_uid && !file.isEmpty())
+ {
+- if (file.tqat(0) != '/')
++ if (file.at(0) != '/')
+ {
+ KStandardDirs dirs;
+ dirs.addKDEDefaults();
+@@ -274,7 +275,7 @@
+
+ // Try to exec the command with kdesud.
+ bool keep = !args->isSet("n") && have_daemon;
+- bool terminal = true;
++ bool terminal = args->isSet("t");
+ bool new_dcop = args->isSet("newdcop");
+ bool withIgnoreButton = args->isSet("ignorebutton");
+
+@@ -360,7 +361,7 @@
+ KStartupInfoData data;
+ data.setSilent( KStartupInfoData::Yes );
+ KStartupInfo::sendChange( id, data );
+- KDEsuDialog dlg(user, auth_user, keep && !terminal,icon, withIgnoreButton);
++ KDEsuDialog dlg(user, auth_user, keep && !terminal,icon, withIgnoreButton, timeout);
+ if (prompt)
+ dlg.addLine(i18n("Command:"), command);
+ if ((priority != 50) || (scheduler != SuProcess::SchedNormal))
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesu/kdesu/sudlg.cpp v3.5.13-sru/kdesu/kdesu/sudlg.cpp
+--- /tmp/stable//kdebase/kdesu/kdesu/sudlg.cpp 2011-03-12 07:58:06.000000000 +0100
++++ v3.5.13-sru/kdesu/kdesu/sudlg.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -14,7 +14,7 @@
+ #include <kdesu/su.h>
+ #include "sudlg.h"
+
+-KDEsuDialog::KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep,const TQString& icon, bool withIgnoreButton)
++KDEsuDialog::KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep,const TQString& icon, bool withIgnoreButton, int timeout)
+ : KPasswordDialog(Password, enableKeep, (withIgnoreButton ? User1:NoDefault), icon)
+ {
+ KConfig* config = KGlobal::config();
+@@ -43,6 +43,7 @@
+ }
+ }
+ setPrompt(prompt);
++ setKeepWarning(i18n("<qt>The stored password will be:<br> * Kept for up to %1 minutes<br> * Destroyed on logout").arg(timeout/60));
+
+ if( withIgnoreButton )
+ setButtonText(User1, i18n("&Ignore"));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesu/kdesu/sudlg.h v3.5.13-sru/kdesu/kdesu/sudlg.h
+--- /tmp/stable//kdebase/kdesu/kdesu/sudlg.h 2010-08-13 00:39:11.000000000 +0200
++++ v3.5.13-sru/kdesu/kdesu/sudlg.h 2012-07-31 17:17:50.000000000 +0200
+@@ -15,7 +15,7 @@
+ Q_OBJECT
+
+ public:
+- KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep, const TQString& icon , bool withIgnoreButton=false);
++ KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep, const TQString& icon , bool withIgnoreButton=false, int timeout=-1);
+ ~KDEsuDialog();
+
+ enum ResultCodes { AsUser = 10 };
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdialog/kdialog.cpp v3.5.13-sru/kdialog/kdialog.cpp
+--- /tmp/stable//kdebase/kdialog/kdialog.cpp 2011-08-11 07:25:50.000000000 +0200
++++ v3.5.13-sru/kdialog/kdialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -241,9 +241,9 @@
+
+ TQString text = TQString::fromLocal8Bit(args->getOption( option ));
+ int pos;
+- while ((pos = text.find( TQString::tqfromLatin1("\\n") )) >= 0)
++ while ((pos = text.find( TQString::fromLatin1("\\n") )) >= 0)
+ {
+- text.replace(pos, 2, TQString::tqfromLatin1("\n"));
++ text.replace(pos, 2, TQString::fromLatin1("\n"));
+ }
+
+ if ( type == KMessageBox::WarningContinueCancel ) {
+@@ -492,7 +492,7 @@
+ filter = TQString::fromLocal8Bit(args->arg(0));
+ }
+ // copied from KFileDialog::getSaveFileName(), so we can add geometry
+- bool specialDir = ( startDir.tqat(0) == ':' );
++ bool specialDir = ( startDir.at(0) == ':' );
+ KFileDialog dlg( specialDir ? startDir : TQString::null, filter, 0, "filedialog", true );
+ if ( !specialDir )
+ dlg.setSelection( startDir );
+@@ -597,43 +597,43 @@
+ contextStr = TQString::fromLocal8Bit(args->arg(0));
+ }
+ KIcon::Group group = KIcon::NoGroup;
+- if ( groupStr == TQString::tqfromLatin1( "Desktop" ) )
++ if ( groupStr == TQString::fromLatin1( "Desktop" ) )
+ group = KIcon::Desktop;
+- else if ( groupStr == TQString::tqfromLatin1( "Toolbar" ) )
++ else if ( groupStr == TQString::fromLatin1( "Toolbar" ) )
+ group = KIcon::Toolbar;
+- else if ( groupStr == TQString::tqfromLatin1( "MainToolbar" ) )
++ else if ( groupStr == TQString::fromLatin1( "MainToolbar" ) )
+ group = KIcon::MainToolbar;
+- else if ( groupStr == TQString::tqfromLatin1( "Small" ) )
++ else if ( groupStr == TQString::fromLatin1( "Small" ) )
+ group = KIcon::Small;
+- else if ( groupStr == TQString::tqfromLatin1( "Panel" ) )
++ else if ( groupStr == TQString::fromLatin1( "Panel" ) )
+ group = KIcon::Panel;
+- else if ( groupStr == TQString::tqfromLatin1( "User" ) )
++ else if ( groupStr == TQString::fromLatin1( "User" ) )
+ group = KIcon::User;
+ KIcon::Context context = KIcon::Any;
+ // From kicontheme.cpp
+- if ( contextStr == TQString::tqfromLatin1( "Devices" ) )
++ if ( contextStr == TQString::fromLatin1( "Devices" ) )
+ context = KIcon::Device;
+- else if ( contextStr == TQString::tqfromLatin1( "MimeTypes" ) )
++ else if ( contextStr == TQString::fromLatin1( "MimeTypes" ) )
+ context = KIcon::MimeType;
+- else if ( contextStr == TQString::tqfromLatin1( "FileSystems" ) )
++ else if ( contextStr == TQString::fromLatin1( "FileSystems" ) )
+ context = KIcon::FileSystem;
+- else if ( contextStr == TQString::tqfromLatin1( "Applications" ) )
++ else if ( contextStr == TQString::fromLatin1( "Applications" ) )
+ context = KIcon::Application;
+- else if ( contextStr == TQString::tqfromLatin1( "Actions" ) )
++ else if ( contextStr == TQString::fromLatin1( "Actions" ) )
+ context = KIcon::Action;
+- else if ( contextStr == TQString::tqfromLatin1( "Animations" ) )
++ else if ( contextStr == TQString::fromLatin1( "Animations" ) )
+ context = KIcon::Animation;
+- else if ( contextStr == TQString::tqfromLatin1( "Categories" ) )
++ else if ( contextStr == TQString::fromLatin1( "Categories" ) )
+ context = KIcon::Category;
+- else if ( contextStr == TQString::tqfromLatin1( "Emblems" ) )
++ else if ( contextStr == TQString::fromLatin1( "Emblems" ) )
+ context = KIcon::Emblem;
+- else if ( contextStr == TQString::tqfromLatin1( "Emotes" ) )
++ else if ( contextStr == TQString::fromLatin1( "Emotes" ) )
+ context = KIcon::Emote;
+- else if ( contextStr == TQString::tqfromLatin1( "International" ) )
++ else if ( contextStr == TQString::fromLatin1( "International" ) )
+ context = KIcon::International;
+- else if ( contextStr == TQString::tqfromLatin1( "Places" ) )
++ else if ( contextStr == TQString::fromLatin1( "Places" ) )
+ context = KIcon::Place;
+- else if ( contextStr == TQString::tqfromLatin1( "Status" ) )
++ else if ( contextStr == TQString::fromLatin1( "Status" ) )
+ context = KIcon::StatusIcon;
+
+ KIconDialog dlg(0, "icon dialog");
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdialog/klistboxdialog.cpp v3.5.13-sru/kdialog/klistboxdialog.cpp
+--- /tmp/stable//kdebase/kdialog/klistboxdialog.cpp 2011-03-12 07:58:14.000000000 +0100
++++ v3.5.13-sru/kdialog/klistboxdialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -32,7 +32,7 @@
+ TQVBox *page = makeVBoxMainWidget();
+
+ label = new TQLabel(text, page);
+- label->tqsetAlignment(AlignCenter);
++ label->setAlignment(AlignCenter);
+
+ table = new TQListBox(page);
+ table->setFocus();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdialog/widgets.cpp v3.5.13-sru/kdialog/widgets.cpp
+--- /tmp/stable//kdebase/kdialog/widgets.cpp 2011-03-12 07:58:14.000000000 +0100
++++ v3.5.13-sru/kdialog/widgets.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -218,7 +218,7 @@
+ table.setCurrentItem(0); // This is to circumvent a Qt bug
+
+ for (unsigned int i=0; i+2<args.count(); i += 3) {
+- table.setSelected( i/3, args[i+2] == TQString::tqfromLatin1("on") );
++ table.setSelected( i/3, args[i+2] == TQString::fromLatin1("on") );
+ }
+
+ handleXGeometry(&box);
+@@ -233,7 +233,7 @@
+ } else {
+ for (unsigned int i=0; i<table.count(); i++)
+ if (table.isSelected(i))
+- rs += TQString::tqfromLatin1("\"") + tags[i] + TQString::tqfromLatin1("\" ");
++ rs += TQString::fromLatin1("\"") + tags[i] + TQString::fromLatin1("\" ");
+ result.append(rs);
+ }
+ }
+@@ -260,7 +260,7 @@
+ table.insertStringList(entries);
+
+ for (unsigned int i=0; i+2<args.count(); i += 3) {
+- table.setSelected( i/3, args[i+2] == TQString::tqfromLatin1("on") );
++ table.setSelected( i/3, args[i+2] == TQString::fromLatin1("on") );
+ }
+
+ handleXGeometry(&box);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/backend/CMakeLists.txt v3.5.13-sru/kdm/backend/CMakeLists.txt
+--- /tmp/stable//kdebase/kdm/backend/CMakeLists.txt 2011-09-03 21:32:00.000000000 +0200
++++ v3.5.13-sru/kdm/backend/CMakeLists.txt 2012-07-31 17:17:50.000000000 +0200
+@@ -43,6 +43,6 @@
+ process.c protodpy.c reset.c resource.c rpcauth.c
+ server.c session.c sessreg.c socket.c streams.c
+ util.c xdmauth.c xdmcp.c
+- LINK X11 ${XAU_LIBRARIES} ${DBUS_TQT_LIBRARIES} ${PAM_LIBRARY} ${XDMCP_LIBRARIES}
++ LINK X11 ${XAU_LIBRARIES} ${DBUS_TQT_LIBRARIES} ${CRYPT_LIBRARY} ${PAM_LIBRARY} ${XDMCP_LIBRARIES}
+ DESTINATION ${BIN_INSTALL_DIR}
+ )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/backend/printf.c v3.5.13-sru/kdm/backend/printf.c
+--- /tmp/stable//kdebase/kdm/backend/printf.c 2010-08-12 05:29:20.000000000 +0200
++++ v3.5.13-sru/kdm/backend/printf.c 2012-07-31 17:17:50.000000000 +0200
+@@ -207,7 +207,7 @@
+ {
+ int padlen, strln, curcol;
+ #ifdef PRINT_QUOTES
+- int lastcol;
++ int lastcol = 0;
+ #endif
+ char ch;
+
+@@ -295,9 +295,9 @@
+ void *arptr;
+ #endif
+ unsigned long value;
+- int radix, min, max, flags, cflags, errn;
++ int radix = 0, min, max, flags, cflags, errn;
+ #ifdef PRINT_ARRAYS
+- int arlen;
++ int arlen = 0;
+ unsigned aridx;
+ char sch;
+ #endif
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/ConfigureChecks.cmake v3.5.13-sru/kdm/ConfigureChecks.cmake
+--- /tmp/stable//kdebase/kdm/ConfigureChecks.cmake 2011-03-16 21:49:38.000000000 +0100
++++ v3.5.13-sru/kdm/ConfigureChecks.cmake 2012-07-31 17:17:50.000000000 +0200
+@@ -27,6 +27,16 @@
+ check_function_exists( auth_timeok HAVE_AUTH_TIMEOK )
+ tde_restore( CMAKE_REQUIRED_LIBRARIES )
+
++check_function_exists( crypt LIBC_HAVE_CRYPT )
++if( LIBC_HAVE_CRYPT )
++ set( HAVE_CRYPT 1 CACHE INTERNAL "" FORCE )
++else( )
++ check_library_exists( crypt crypt "" HAVE_CRYPT )
++ if( HAVE_CRYPT )
++ set( CRYPT_LIBRARY crypt )
++ endif( )
++endif( )
++
+ check_include_file( lastlog.h HAVE_LASTLOG_H )
+ check_include_file( termio.h HAVE_TERMIO_H )
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/confproc.pl v3.5.13-sru/kdm/confproc.pl
+--- /tmp/stable//kdebase/kdm/confproc.pl 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/confproc.pl 2012-07-31 17:17:50.000000000 +0200
+@@ -212,7 +212,7 @@
+ "list" => [ "C_TYPE_ARGV", "", "char\t**", "TQStringList\t", "GetCfgStrArr", "GetCfgQStrList" ]
+ );
+
+-my @tl = ("QFont\t", "TQStringList\t", "TQString\t", "char\t**", "char\t*", "int\t", "bool\t");
++my @tl = ("TQFont\t", "TQStringList\t", "TQString\t", "char\t**", "char\t*", "int\t", "bool\t");
+
+ sub init_defs($)
+ {
+@@ -444,7 +444,7 @@
+ } else { # greeter(-c)?
+ my ($typ, $gtr, $isc);
+ if ($isfn) {
+- $typ = "QFont\t";
++ $typ = "TQFont\t";
+ $gtr = "Str2Font( GetCfgQStr( ".$kid." ) )";
+ $isc = 0;
+ } elsif ($user eq "greeter" && $cppget) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/genkdmconf.c v3.5.13-sru/kdm/kfrontend/genkdmconf.c
+--- /tmp/stable//kdebase/kdm/kfrontend/genkdmconf.c 2011-08-21 09:08:18.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/genkdmconf.c 2012-07-31 17:17:50.000000000 +0200
+@@ -945,10 +945,6 @@
+ static void
+ getInitTab( void )
+ {
+- File it;
+- char *p, *eol, *ep;
+- int tty;
+-
+ if (maxTTY)
+ return;
+ if (!maxTTY) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kchooser.cpp v3.5.13-sru/kdm/kfrontend/kchooser.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kchooser.cpp 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/kchooser.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -59,7 +59,7 @@
+ TQBoxLayout *vbox = new TQVBoxLayout( this, 10, 10 );
+
+ TQLabel *title = new TQLabel( i18n("XDMCP Host Menu"), this );
+- title->tqsetAlignment( AlignCenter );
++ title->setAlignment( AlignCenter );
+ vbox->addWidget( title );
+
+ host_view = new TQListView( this, "hosts" );
+@@ -145,14 +145,14 @@
+
+ void ChooserDlg::accept()
+ {
+- if (tqfocusWidget() == iline) {
++ if (focusWidget() == iline) {
+ if (!iline->text().isEmpty()) {
+ GSendInt( G_Ch_DirectChoice );
+ GSendStr( iline->text().latin1() );
+ iline->clear();
+ }
+ return;
+- } else /*if (tqfocusWidget() == host_view)*/ {
++ } else /*if (focusWidget() == host_view)*/ {
+ TQListViewItem *item = host_view->currentItem();
+ if (item) {
+ GSendInt( G_Ready );
+@@ -170,7 +170,7 @@
+ {
+ char *arr = GRecvStr();
+ if (arr) {
+- TQString str = TQString::tqfromLatin1( arr );
++ TQString str = TQString::fromLatin1( arr );
+ free( arr );
+ return str;
+ } else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kdmadmindialog.cpp v3.5.13-sru/kdm/kfrontend/kdmadmindialog.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kdmadmindialog.cpp 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/kdmadmindialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -75,10 +75,10 @@
+ box->addWidget( new KSeparator( KSeparator::HLine, this ) );
+
+ okButton = new KPushButton( KStdGuiItem::ok(), this );
+- okButton->tqsetSizePolicy( fp );
++ okButton->setSizePolicy( fp );
+ okButton->setDefault( true );
+ cancelButton = new KPushButton( KStdGuiItem::cancel(), this );
+- cancelButton->tqsetSizePolicy( fp );
++ cancelButton->setSizePolicy( fp );
+
+ hlay = new TQHBoxLayout( box );
+ hlay->addStretch( 1 );
+@@ -103,7 +103,7 @@
+ KDMAdmin::slotActivatePlugMenu()
+ {
+ TQPopupMenu *cmnu = verify->getPlugMenu();
+- TQSize sh( cmnu->tqsizeHint() / 2 );
++ TQSize sh( cmnu->sizeHint() / 2 );
+ cmnu->exec( geometry().center() - TQPoint( sh.width(), sh.height() ) );
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kdmclock.cpp v3.5.13-sru/kdm/kfrontend/kdmclock.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kdmclock.cpp 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/kdmclock.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -50,7 +50,7 @@
+ mBorder = false;//config->readNumEntry( "border", FALSE );
+
+ //config->setGroup( "Font" );
+- mFont.setFamily( TQString::tqfromLatin1("Utopia")/*config->readEntry( "Family", "Utopia")*/ );
++ mFont.setFamily( TQString::fromLatin1("Utopia")/*config->readEntry( "Family", "Utopia")*/ );
+ mFont.setPointSize( 51/*config->readNumEntry( "Point Size", 51)*/ );
+ mFont.setWeight( 75/*config->readNumEntry( "Weight", 75)*/ );
+ mFont.setItalic( TRUE/*config->readNumEntry( "Italic",TRUE )*/ );
+@@ -76,19 +76,19 @@
+ //setBackgroundOrigin( WindowOrigin );
+ mBackgroundBrush = backgroundBrush();
+ setBackgroundMode( NoBackground );
+- tqrepaint();
++ repaint();
+ }
+
+
+ void KdmClock::showEvent( TQShowEvent * )
+ {
+- tqrepaint();
++ repaint();
+ }
+
+
+ void KdmClock::timeout()
+ {
+- tqrepaint();
++ repaint();
+ }
+
+ void KdmClock::paintEvent( TQPaintEvent * )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kdmconfig.cpp v3.5.13-sru/kdm/kfrontend/kdmconfig.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kdmconfig.cpp 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/kdmconfig.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -72,7 +72,7 @@
+ TQFont aRetFont;
+ TQString chStr;
+
+- TQStringList sl = TQStringList::split( TQString::tqfromLatin1(","), aValue );
++ TQStringList sl = TQStringList::split( TQString::fromLatin1(","), aValue );
+
+ if (sl.count() == 1) {
+ /* X11 font spec */
+@@ -160,7 +160,7 @@
+ sess->vt ?
+ TQString("vt%1").arg( sess->vt ) :
+ #endif
+- TQString::tqfromLatin1( *sess->from ? sess->from : sess->display );
++ TQString::fromLatin1( *sess->from ? sess->from : sess->display );
+ } else {
+ user =
+ !sess->user ?
+@@ -174,6 +174,6 @@
+ sess->vt ?
+ TQString("%1, vt%2").arg( sess->display ).arg( sess->vt ) :
+ #endif
+- TQString::tqfromLatin1( sess->display );
++ TQString::fromLatin1( sess->display );
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kdm_greet.c v3.5.13-sru/kdm/kfrontend/kdm_greet.c
+--- /tmp/stable//kdebase/kdm/kfrontend/kdm_greet.c 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/kdm_greet.c 2012-07-31 17:17:50.000000000 +0200
+@@ -700,11 +700,11 @@
+ }
+
+ void
+-setCursor( Display *mdpy, int window, int tqshape )
++setCursor( Display *mdpy, int window, int shape )
+ {
+ Cursor xcursor;
+
+- if ((xcursor = XCreateFontCursor( mdpy, tqshape ))) {
++ if ((xcursor = XCreateFontCursor( mdpy, shape ))) {
+ XDefineCursor( mdpy, window, xcursor );
+ XFreeCursor( mdpy, xcursor );
+ XFlush( mdpy );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kdm_greet.h v3.5.13-sru/kdm/kfrontend/kdm_greet.h
+--- /tmp/stable//kdebase/kdm/kfrontend/kdm_greet.h 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/kdm_greet.h 2012-07-31 17:17:50.000000000 +0200
+@@ -77,7 +77,7 @@
+ void setup_modifiers( struct _XDisplay *mdpy, int numlock );
+ void restore_modifiers( void );
+
+-void setCursor( struct _XDisplay *mdpy, int window, int tqshape );
++void setCursor( struct _XDisplay *mdpy, int window, int shape );
+
+
+ extern int rfd; /* for select() loops */
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kdmshutdown.cpp v3.5.13-sru/kdm/kfrontend/kdmshutdown.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kdmshutdown.cpp 2011-10-04 04:05:34.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/kdmshutdown.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -117,7 +117,7 @@
+ hlay->addStretch( 1 );
+ if (mayOk) {
+ okButton = new KPushButton( KStdGuiItem::ok(), this );
+- okButton->tqsetSizePolicy( fp );
++ okButton->setSizePolicy( fp );
+ okButton->setDefault( true );
+ hlay->addWidget( okButton );
+ hlay->addStretch( 1 );
+@@ -126,13 +126,13 @@
+ if (maySched) {
+ KPushButton *schedButton =
+ new KPushButton( KGuiItem( i18n("&Schedule...") ), this );
+- schedButton->tqsetSizePolicy( fp );
++ schedButton->setSizePolicy( fp );
+ hlay->addWidget( schedButton );
+ hlay->addStretch( 1 );
+ connect( schedButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotSched()) );
+ }
+ cancelButton = new KPushButton( KStdGuiItem::cancel(), this );
+- cancelButton->tqsetSizePolicy( fp );
++ cancelButton->setSizePolicy( fp );
+ if (!mayOk)
+ cancelButton->setDefault( true );
+ hlay->addWidget( cancelButton );
+@@ -149,7 +149,7 @@
+ TQPopupMenu *cmnu = verify->getPlugMenu();
+ if (!cmnu)
+ return;
+- TQSize sh( cmnu->tqsizeHint() / 2 );
++ TQSize sh( cmnu->sizeHint() / 2 );
+ cmnu->exec( geometry().center() - TQPoint( sh.width(), sh.height() ) );
+ }
+ }
+@@ -276,7 +276,7 @@
+ freeStrArr( tlist );
+ targets->setCurrentItem( oldTarget == -1 ? defaultTarget : oldTarget );
+ TQHBoxLayout *hb = new TQHBoxLayout( hlp, 0, KDsh );
+- int spc = kapp->tqstyle().tqpixelMetric( TQStyle::PM_ExclusiveIndicatorWidth )
++ int spc = kapp->style().pixelMetric( TQStyle::PM_ExclusiveIndicatorWidth )
+ + howGroup->insideSpacing();
+ hb->addSpacing( spc );
+ hb->addWidget( targets );
+@@ -284,7 +284,7 @@
+ }
+ GSet( 0 );
+
+- howGroup->tqsetSizePolicy( fp );
++ howGroup->setSizePolicy( fp );
+
+ schedGroup = new TQGroupBox( i18n("Scheduling"), this );
+ hlay->addWidget( schedGroup, 0, AlignTop );
+@@ -310,7 +310,7 @@
+ grid->addWidget( le_timeout, 2, 1 );
+ grid->addMultiCellWidget( cb_force, 3,3, 0,1 );
+
+- schedGroup->tqsetSizePolicy( fp );
++ schedGroup->setSizePolicy( fp );
+
+ le_start->setText( "0" );
+ if (_defSdMode == SHUT_SCHEDULE)
+@@ -484,7 +484,7 @@
+ lfrm->setFrameStyle( TQFrame::NoFrame );
+ else
+ lfrm->setFrameStyle( TQFrame::StyledPanel | TQFrame::Raised );
+- lfrm->setLineWidth( tqstyle().tqpixelMetric( TQStyle::PM_DefaultFrameWidth, lfrm ) );
++ lfrm->setLineWidth( style().pixelMetric( TQStyle::PM_DefaultFrameWidth, lfrm ) );
+ // we need to set the minimum size for the logout box, since it
+ // gets too small if there all options are not available
+ lfrm->setMinimumSize(300,120);
+@@ -494,7 +494,7 @@
+
+ // first line of buttons
+ hbuttonbox = new TQHBoxLayout( vbox, 8 * KDialog::spacingHint() );
+- hbuttonbox->tqsetAlignment( Qt::AlignHCenter );
++ hbuttonbox->setAlignment( Qt::AlignHCenter );
+
+ // Reboot
+ FlatButton* btnReboot = new FlatButton( lfrm );
+@@ -538,7 +538,7 @@
+
+ // cancel buttonbox
+ TQHBoxLayout* hbuttonbox2 = new TQHBoxLayout( vbox, 8 * KDialog::spacingHint() );
+- hbuttonbox2->tqsetAlignment( Qt::AlignRight );
++ hbuttonbox2->setAlignment( Qt::AlignRight );
+
+ // Back to kdm
+ KSMPushButton* btnBack = new KSMPushButton( KStdGuiItem::cancel(), lfrm );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kfdialog.cpp v3.5.13-sru/kdm/kfrontend/kfdialog.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kfdialog.cpp 2011-09-16 04:01:46.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/kfdialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -169,10 +169,10 @@
+ TQLabel *label2 = new TQLabel( text, this );
+ TQRect d = KGlobalSettings::desktopGeometry(this);
+ if ( label2->fontMetrics().size( 0, text).width() > d.width() * 3 / 5)
+- label2->tqsetAlignment(TQt::WordBreak | TQt::AlignAuto );
++ label2->setAlignment(TQt::WordBreak | TQt::AlignAuto );
+ KPushButton *button = new KPushButton( KStdGuiItem::ok(), this );
+ button->setDefault( true );
+- button->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred ) );
++ button->setSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred ) );
+ connect( button, TQT_SIGNAL(clicked()), TQT_SLOT(accept()) );
+
+ TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kgapp.cpp v3.5.13-sru/kdm/kfrontend/kgapp.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kgapp.cpp 2011-10-29 23:02:15.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/kgapp.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -65,6 +65,8 @@
+
+ #include <pwd.h>
+
++#define TSAK_FIFO_FILE "/tmp/ksocket-global/tsak"
++
+ bool argb_visual_available = false;
+ bool has_kwin = false;
+ bool is_themed = false;
+@@ -190,16 +192,21 @@
+ KProcess *tsak = 0;
+ KProcess *proc = 0;
+ KProcess *comp = 0;
++ KProcess *dcop = 0;
+ KProcess *kwin = 0;
+
+ trinity_desktop_lock_use_sak = _useSAK;
+ if (trinity_desktop_lock_use_sak) {
+ tsak = new KProcess;
+ *tsak << TQCString( argv0, strrchr( argv0, '/' ) - argv0 + 2 ) + "tsak";
+- tsak->start(KProcess::Block);
++ tsak->start(KProcess::Block, KProcess::AllOutput);
++ }
++ else {
++ remove(TSAK_FIFO_FILE);
+ }
+ if (tsak) {
+ tsak->closeStdin();
++ tsak->closeStdout();
+ tsak->detach();
+ delete tsak;
+ }
+@@ -257,6 +264,7 @@
+
+ XSetIOErrorHandler( xIOErr );
+ TQString login_user;
++ TQString login_session_wm;
+
+ Display *dpy = qt_xdisplay();
+
+@@ -310,6 +318,13 @@
+ }
+
+ if (!_windowManager.isEmpty()) {
++ if (_windowManager == "kwin") {
++ // Special case
++ // Start DCOP...
++ dcop = new KProcess;
++ *dcop << TQCString( argv0, strrchr( argv0, '/' ) - argv0 + 2 ) + "dcopserver" << TQCString("--suicide");
++ dcop->start();
++ }
+ kwin = new KProcess;
+ *kwin << TQCString( argv0, strrchr( argv0, '/' ) - argv0 + 2 ) + _windowManager.ascii();
+ kwin->start();
+@@ -356,7 +371,7 @@
+ if ((cmd != G_GreetTimed && !_autoLoginAgain) ||
+ _autoLoginUser.isEmpty())
+ _autoLoginDelay = 0;
+- if (_useTheme && !_theme.isEmpty()) {
++ if (_useTheme && !_theme.isEmpty() && !trinity_desktop_lock_use_sak) {
+ // Qt4 has a nasty habit of generating BadWindow errors in normal operation, so we simply ignore them
+ // This also prevents the user from being dropped to a console login if Xorg glitches or is buggy
+ XSetErrorHandler( ignoreXError );
+@@ -370,7 +385,9 @@
+ is_themed = false;
+ has_kwin = has_kwin_bkp;
+ delete tgrt;
+- checkSAK(app);
++ if (trinity_desktop_lock_use_sak) {
++ checkSAK(app);
++ }
+ dialog = new KStdGreeter;
+ #ifdef WITH_XRANDR
+ dialog->move(dialog->x() + primaryScreenPosition.x(), dialog->y() + primaryScreenPosition.y());
+@@ -383,7 +400,9 @@
+ }
+ XSetErrorHandler( (XErrorHandler)0 );
+ } else {
+- checkSAK(app);
++ if (trinity_desktop_lock_use_sak) {
++ checkSAK(app);
++ }
+ dialog = new KStdGreeter;
+ #ifdef WITH_XRANDR
+ dialog->move(dialog->x() + primaryScreenPosition.x(), dialog->y() + primaryScreenPosition.y());
+@@ -409,6 +428,7 @@
+ Debug( "left event loop\n" );
+
+ login_user = static_cast<KGreeter*>(dialog)->curUser;
++ login_session_wm = static_cast<KGreeter*>(dialog)->curWMSession;
+
+ if (rslt != ex_greet) {
+ delete dialog;
+@@ -432,28 +452,40 @@
+ KGVerify::done();
+
+ if (comp) {
+- if (_compositor == "kompmgr") {
+- // Change process UID
+- // Get user UID
+- passwd* userinfo = getpwnam(login_user.ascii());
+- if (userinfo) {
+- TQString newuid = TQString("%1").arg(userinfo->pw_uid);
+- // kompmgr allows us to change its uid in this manner:
+- // 1.) Send SIGUSER1
+- // 2.) Send the new UID to it on the command line
+- comp->kill(SIGUSR1);
+- comp->writeStdin(newuid.ascii(), newuid.length());
+- usleep(50000); // Give the above function some time to execute. Note that on REALLY slow systems this could fail, leaving kompmgr running as root. TODO: Look into ways to make this more robust.
++ if (comp->isRunning()) {
++ if (_compositor == "kompmgr") {
++ // Change process UID
++ // Get user UID
++ passwd* userinfo = getpwnam(login_user.ascii());
++ if (userinfo) {
++ TQString newuid = TQString("%1").arg(userinfo->pw_uid);
++ // kompmgr allows us to change its uid in this manner:
++ // 1.) Send SIGUSER1
++ // 2.) Send the new UID to it on the command line
++ comp->kill(SIGUSR1);
++ comp->writeStdin(newuid.ascii(), newuid.length());
++ usleep(50000); // Give the above function some time to execute. Note that on REALLY slow systems this could fail, leaving kompmgr running as root. TODO: Look into ways to make this more robust.
++ }
+ }
++ comp->closeStdin();
++ comp->detach();
+ }
+- comp->closeStdin();
+- comp->detach();
+ delete comp;
+ }
+ if (kwin) {
+- kwin->closeStdin();
+- kwin->detach();
++ if (kwin->isRunning()) {
++ if (login_session_wm.endsWith("/startkde") || (login_session_wm == "failsafe")) {
++ kwin->closeStdin();
++ kwin->detach();
++ dcop->detach();
++ }
++ else {
++ kwin->kill();
++ dcop->kill();
++ }
++ }
+ delete kwin;
++ delete dcop;
+ }
+ delete proc;
+ UnsecureDisplay( dpy );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kgdialog.cpp v3.5.13-sru/kdm/kfrontend/kgdialog.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kgdialog.cpp 2011-08-11 07:25:56.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/kgdialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -134,7 +134,7 @@
+ KGDialog::slotActivateMenu( int id )
+ {
+ TQPopupMenu *cmnu = optMenu->findItem( id )->popup();
+- TQSize sh( cmnu->tqsizeHint() / 2 );
++ TQSize sh( cmnu->sizeHint() / 2 );
+ cmnu->exec( geometry().center() - TQPoint( sh.width(), sh.height() ) );
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kgreeter.cpp v3.5.13-sru/kdm/kfrontend/kgreeter.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kgreeter.cpp 2011-09-22 21:55:09.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/kgreeter.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -83,6 +83,7 @@
+ #include <sys/time.h>
+ #include <termios.h>
+ #include <signal.h>
++#include <libgen.h>
+
+ #include <X11/Xlib.h>
+
+@@ -96,7 +97,7 @@
+ : KListView( parent, name )
+ , themed(_them), cachedSizeHint( -1, 0 )
+ {
+- tqsetSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Ignored );
++ setSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Ignored );
+ header()->hide();
+ addColumn( TQString::null );
+ setColumnAlignment( 0, AlignVCenter );
+@@ -122,10 +123,10 @@
+ return sum;
+ }
+ public:
+- virtual TQSize tqsizeHint() const
++ virtual TQSize sizeHint() const
+ {
+ if (themed)
+- return KListView::tqsizeHint();
++ return KListView::sizeHint();
+
+ if (!cachedSizeHint.isValid()) {
+ constPolish();
+@@ -136,7 +137,7 @@
+ maxw = thisw;
+ }
+ cachedSizeHint.setWidth(
+- tqstyle().tqpixelMetric( TQStyle::PM_ScrollBarExtent ) +
++ style().pixelMetric( TQStyle::PM_ScrollBarExtent ) +
+ frameWidth() * 2 + maxw );
+ }
+ return cachedSizeHint;
+@@ -157,7 +158,7 @@
+ kdDebug() << "paintEmpty " << rect << endl;
+ TQRect devRect = p->xForm( rect );
+ kdDebug() << "paintEmpty2 " << devRect << endl;
+- p->tqdrawPixmap(0, 0, *pm, devRect.left(), devRect.top() );
++ p->drawPixmap(0, 0, *pm, devRect.left(), devRect.top() );
+ }
+
+ TQPixmap background;
+@@ -243,13 +244,20 @@
+ currentDisplay = TQString(getenv("DISPLAY"));
+ currentDisplay = currentDisplay.replace(":", "");
+ displayNumber = currentDisplay.toInt();
+- mPipeFilename = TQString(FIFO_FILE).tqarg(displayNumber);
+- ::unlink((TQString(FIFO_SAK_FILE).tqarg(displayNumber)).ascii());
++ mPipeFilename = TQString(FIFO_FILE).arg(displayNumber);
++ ::unlink((TQString(FIFO_SAK_FILE).arg(displayNumber)).ascii());
+
+ /* Create the FIFOs if they do not exist */
+ umask(0);
+ struct stat buffer;
+ int status;
++ char *fifo_parent_dir = strdup(FIFO_DIR);
++ dirname(fifo_parent_dir);
++ status = stat(fifo_parent_dir, &buffer);
++ if (status != 0) {
++ mkdir(fifo_parent_dir, 0644);
++ }
++ free(fifo_parent_dir);
+ status = stat(FIFO_DIR, &buffer);
+ if (status == 0) {
+ int file_mode = ((buffer.st_mode & S_IRWXU) >> 6) * 100;
+@@ -273,6 +281,9 @@
+ readbuf[numread] = 0;
+ readbuf[2047] = 0;
+ inputcommand += readbuf;
++ if (!tqApp->hasPendingEvents()) {
++ usleep(500);
++ }
+ tqApp->processEvents();
+ }
+ if (closingDown) {
+@@ -338,12 +349,12 @@
+ parent->cachedSizeHint.setWidth( -1 );
+ }
+
+- virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment)
++ virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment)
+ {
+ if (((UserListView*)listView())->themed)
+- TQListViewItem::paintCell(p, cg, column, width, tqalignment);
++ TQListViewItem::paintCell(p, cg, column, width, alignment);
+ else
+- KListViewItem::paintCell(p, cg, column, width, tqalignment);
++ KListViewItem::paintCell(p, cg, column, width, alignment);
+ }
+
+ TQString login;
+@@ -422,7 +433,7 @@
+ if ( randomFace.isNull() ) {
+ TQStringList::size_type index = 0;
+ for ( size_t i = 0; i < username.length(); ++i )
+- index += ( 0x7f - username.tqat( i ).latin1() ) % 37;
++ index += ( 0x7f - username.at( i ).latin1() ) % 37;
+ randomFace = randomFaces[ index % randomFaces.count() ];
+ }
+ p.load( _faceDir + "/../pics/users/" + randomFace + ".png" );
+@@ -508,11 +519,11 @@
+ int count = 0;
+ for (setpwent(); (ps = getpwent()) != 0;) {
+ if (*ps->pw_dir && *ps->pw_shell &&
+- (ps->pw_uid >= (unsigned)_lowUserId ||
+- !ps->pw_uid && _showRoot) &&
+- ps->pw_uid <= (unsigned)_highUserId &&
+- !noUsers.hasUser( ps->pw_name ) &&
+- !noUsers.hasGroup( ps->pw_gid ))
++ ((ps->pw_uid >= (unsigned)_lowUserId) ||
++ ((!ps->pw_uid) && _showRoot)) &&
++ (ps->pw_uid <= (unsigned)_highUserId) &&
++ (!noUsers.hasUser( ps->pw_name )) &&
++ (!noUsers.hasGroup( ps->pw_gid )))
+ {
+ TQString username( TQFile::decodeName( ps->pw_name ) );
+ if (!dupes.find( username )) {
+@@ -574,7 +585,7 @@
+ for (setpwent(); (ps = getpwent()) != 0;) {
+ if (*ps->pw_dir && *ps->pw_shell &&
+ (ps->pw_uid >= (unsigned)_lowUserId ||
+- !ps->pw_uid && _showRoot) &&
++ ((!ps->pw_uid) && _showRoot)) &&
+ ps->pw_uid <= (unsigned)_highUserId &&
+ (users.hasUser( ps->pw_name ) ||
+ users.hasGroup( ps->pw_gid )))
+@@ -839,10 +850,12 @@
+ GSendInt( G_PutDmrc );
+ GSendStr( "Session" );
+ GSendStr( sessionTypes[curSel].type.utf8() );
++ curWMSession = sessionTypes[curSel].type.utf8();
+ } else if (!prevValid) {
+ GSendInt( G_PutDmrc );
+ GSendStr( "Session" );
+ GSendStr( "default" );
++ curWMSession = sessionTypes[curSel].type.utf8();
+ }
+ GSendInt( G_Ready );
+ closingDown = true;
+@@ -890,14 +903,14 @@
+ i18n("This display requires no X authorization.\n"
+ "This means that anybody can connect to it,\n"
+ "open windows on it or intercept your input.") );
+- complainLabel->tqsetAlignment( AlignCenter );
++ complainLabel->setAlignment( AlignCenter );
+ complainLabel->setFont( _failFont );
+ complainLabel->setPaletteForegroundColor( Qt::red );
+ inner_box->addWidget( complainLabel );
+ }
+ if (!_greetString.isEmpty()) {
+ TQLabel *welcomeLabel = new TQLabel( _greetString, this );
+- welcomeLabel->tqsetAlignment( AlignCenter );
++ welcomeLabel->setAlignment( AlignCenter );
+ welcomeLabel->setFont( _greetFont );
+ inner_box->addWidget( welcomeLabel );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kgreeter.h v3.5.13-sru/kdm/kfrontend/kgreeter.h
+--- /tmp/stable//kdebase/kdm/kfrontend/kgreeter.h 2011-09-22 21:55:09.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/kgreeter.h 2012-07-31 17:17:50.000000000 +0200
+@@ -75,7 +75,7 @@
+ void handleInputPipe();
+
+ public:
+- TQString curUser, dName;
++ TQString curUser, curWMSession, dName;
+
+ protected:
+ void readFacesList();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kgverify.cpp v3.5.13-sru/kdm/kfrontend/kgverify.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kgverify.cpp 2011-09-22 19:56:10.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/kgverify.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -150,7 +150,7 @@
+ TQString name( greetPlugins[pluginList[curPlugin]].library->fileName() );
+ uint st = name.findRev( '/' ) + 1;
+ uint en = name.find( '.', st );
+- if (en - st > 7 && TQConstString( name.tqunicode() + st, 7 ).string() == "kgreet_")
++ if (en - st > 7 && TQConstString( name.unicode() + st, 7 ).string() == "kgreet_")
+ st += 7;
+ return name.mid( st, en - st );
+ }
+@@ -163,7 +163,7 @@
+
+ if ((w = li->widget()))
+ w->show();
+- else if ((l = li->tqlayout())) {
++ else if ((l = li->layout())) {
+ TQLayoutIterator it = l->iterator();
+ for (TQLayoutItem *itm = it.current(); itm; itm = ++it)
+ showWidgets( itm );
+@@ -856,7 +856,7 @@
+ if (!qstrcmp( key, "EchoMode" ))
+ return TQVariant( _echoMode );
+ else {
+- TQString fkey = TQString::tqfromLatin1( key ) + '=';
++ TQString fkey = TQString::fromLatin1( key ) + '=';
+ for (TQStringList::ConstIterator it = _pluginOptions.begin();
+ it != _pluginOptions.end(); ++it)
+ if ((*it).startsWith( fkey ))
+@@ -930,7 +930,7 @@
+ , failedLabelState( 0 )
+ {
+ grid = new TQGridLayout;
+- grid->tqsetAlignment( AlignCenter );
++ grid->setAlignment( AlignCenter );
+
+ failedLabel = new TQLabel( parent );
+ failedLabel->setFont( _failFont );
+@@ -959,7 +959,7 @@
+ return;
+ if (id != curPlugin) {
+ plugMenu->setItemChecked( curPlugin, false );
+- parent->tqsetUpdatesEnabled( false );
++ parent->setUpdatesEnabled( false );
+ grid->removeItem( greet->getLayoutItem() );
+ Debug( "delete %s\n", pName.data() );
+ delete greet;
+@@ -967,7 +967,7 @@
+ handler->verifyPluginChanged( id );
+ if (running)
+ start();
+- parent->tqsetUpdatesEnabled( true );
++ parent->setUpdatesEnabled( true );
+ }
+ }
+
+@@ -1087,10 +1087,10 @@
+ {
+ TQSizePolicy fp( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
+ okButton = new KPushButton( KStdGuiItem::ok(), this );
+- okButton->tqsetSizePolicy( fp );
++ okButton->setSizePolicy( fp );
+ okButton->setDefault( true );
+ cancelButton = new KPushButton( KStdGuiItem::cancel(), this );
+- cancelButton->tqsetSizePolicy( fp );
++ cancelButton->setSizePolicy( fp );
+
+ verify = new KGStdVerify( this, this, cancelButton, user, pluginList, func, ctx );
+ verify->selectPlugin( curPlugin );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/krootimage.cpp v3.5.13-sru/kdm/kfrontend/krootimage.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/krootimage.cpp 2011-08-13 06:07:04.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/krootimage.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -73,7 +73,7 @@
+
+ // ...set it to the desktop widget...
+ TQT_TQWIDGET(desktop())->setBackgroundPixmap( pm );
+- TQT_TQWIDGET(desktop())->tqrepaint( true );
++ TQT_TQWIDGET(desktop())->repaint( true );
+
+ // ...and export it via Esetroot-style so that composition managers can use it!
+ Pixmap bgPm = pm.handle(); // fetch the actual X handle to it
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/sakdlg.cc v3.5.13-sru/kdm/kfrontend/sakdlg.cc
+--- /tmp/stable//kdebase/kdm/kfrontend/sakdlg.cc 2011-09-22 19:56:10.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/sakdlg.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -66,6 +66,7 @@
+ #include <sys/time.h>
+ #include <termios.h>
+ #include <signal.h>
++#include <libgen.h>
+
+ #include "kfdialog.h"
+
+@@ -108,7 +109,7 @@
+ KUser user;
+
+ mStatusLabel = new TQLabel( "<b> </b>", frame );
+- mStatusLabel->tqsetAlignment( TQLabel::AlignVCenter );
++ mStatusLabel->setAlignment( TQLabel::AlignVCenter );
+
+ TQVBoxLayout *unlockDialogLayout = new TQVBoxLayout( this );
+ unlockDialogLayout->addWidget( frame );
+@@ -157,13 +158,20 @@
+ currentDisplay = TQString(getenv("DISPLAY"));
+ currentDisplay = currentDisplay.replace(":", "");
+ displayNumber = currentDisplay.toInt();
+- mPipeFilename = TQString(FIFO_SAK_FILE).tqarg(displayNumber);
+- ::unlink((TQString(FIFO_FILE).tqarg(displayNumber)).ascii());
++ mPipeFilename = TQString(FIFO_SAK_FILE).arg(displayNumber);
++ ::unlink((TQString(FIFO_FILE).arg(displayNumber)).ascii());
+
+ /* Create the FIFOs if they do not exist */
+ umask(0);
+ struct stat buffer;
+ int status;
++ char *fifo_parent_dir = strdup(FIFO_DIR);
++ dirname(fifo_parent_dir);
++ status = stat(fifo_parent_dir, &buffer);
++ if (status != 0) {
++ mkdir(fifo_parent_dir, 0644);
++ }
++ free(fifo_parent_dir);
+ status = stat(FIFO_DIR, &buffer);
+ if (status == 0) {
+ int file_mode = ((buffer.st_mode & S_IRWXU) >> 6) * 100;
+@@ -187,6 +195,9 @@
+ readbuf[numread] = 0;
+ readbuf[2047] = 0;
+ inputcommand += readbuf;
++ if (!tqApp->hasPendingEvents()) {
++ usleep(500);
++ }
+ tqApp->processEvents();
+ }
+ if (closingDown) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/CMakeLists.txt v3.5.13-sru/kdm/kfrontend/themer/CMakeLists.txt
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/CMakeLists.txt 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/themer/CMakeLists.txt 2012-07-31 17:17:50.000000000 +0200
+@@ -16,6 +16,7 @@
+ ${CMAKE_SOURCE_DIR}/kdmlib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
++ ${LIBART_INCLUDE_DIRS}
+ )
+
+ link_directories(
+@@ -38,4 +39,5 @@
+ SOURCES
+ kdmthemer.cpp kdmitem.cpp kdmpixmap.cpp
+ kdmrect.cpp kdmlabel.cpp kdmlayout.cpp
++ LINK ${LIBART_LIBRARIES}
+ )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmitem.cpp v3.5.13-sru/kdm/kfrontend/themer/kdmitem.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmitem.cpp 2011-08-13 06:07:04.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmitem.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -280,7 +280,7 @@
+ if (fixedManager && !fixedManager->isEmpty())
+ fixedManager->update( newGeometry, force );
+
+- // TODO send *selective* tqrepaint signal
++ // TODO send *selective* repaint signal
+ }
+
+ void
+@@ -299,7 +299,7 @@
+ if ((_compositor.isEmpty()) || (!argb_visual_available)) {
+ // Software blend only (no compositing support)
+ TQPixmap copy( myWidget->size() );
+- kdDebug() << myWidget->tqgeometry() << " " << area << " " << myWidget->size() << endl;
++ kdDebug() << myWidget->geometry() << " " << area << " " << myWidget->size() << endl;
+ bitBlt( &copy, TQPoint( 0, 0), p->device(), myWidget->geometry(), TQt::CopyROP );
+ // Lighten it slightly
+ TQImage lightVersion;
+@@ -443,12 +443,12 @@
+ // BEGIN protected inheritable
+
+ TQSize
+-KdmItem::tqsizeHint()
++KdmItem::sizeHint()
+ {
+ if (myWidget)
+ return myWidget->size();
+ if (myLayoutItem)
+- return myLayoutItem->tqsizeHint();
++ return myLayoutItem->sizeHint();
+ int w = pos.wType == DTpixel ? kAbs( pos.width ) : -1,
+ h = pos.hType == DTpixel ? kAbs( pos.height ) : -1;
+ return TQSize( w, h );
+@@ -457,7 +457,7 @@
+ TQRect
+ KdmItem::placementHint( const TQRect &parentRect )
+ {
+- TQSize hintedSize = tqsizeHint();
++ TQSize hintedSize = sizeHint();
+ TQSize boxHint;
+
+ int x = parentRect.left(),
+@@ -474,7 +474,7 @@
+ else {
+ if (!boxManager)
+ return parentRect;
+- boxHint = boxManager->tqsizeHint();
++ boxHint = boxManager->sizeHint();
+ }
+ kdDebug() << timestamp() << " boxHint " << boxHint << endl;
+ }
+@@ -592,7 +592,7 @@
+ } else { // int value
+ dType = DTpixel;
+ TQString sCopy = s;
+- if (sCopy.tqat( 0 ) == '-') {
++ if (sCopy.at( 0 ) == '-') {
+ sCopy.remove( 0, 1 );
+ dType = DTnpixel;
+ }
+@@ -616,7 +616,7 @@
+ void
+ KdmItem::parseColor( const TQString &s, TQColor &color )
+ {
+- if (s.tqat( 0 ) != '#')
++ if (s.at( 0 ) != '#')
+ return;
+ bool ok;
+ TQString sCopy = s;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmitem.h v3.5.13-sru/kdm/kfrontend/themer/kdmitem.h
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmitem.h 2011-08-11 07:25:55.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmitem.h 2012-07-31 17:17:50.000000000 +0200
+@@ -96,7 +96,7 @@
+
+ /**
+ * Fixup the geometry of an item and its children (even if fixed
+- * or boxed ones). Note that this will generate tqrepaint signals
++ * or boxed ones). Note that this will generate repaint signals
+ * when needed. The default implementation should fit all needs.
+ */
+ virtual void setGeometry( const TQRect &newGeometry, bool force );
+@@ -109,7 +109,7 @@
+ void paint( TQPainter *painter, const TQRect &boundaries );
+
+ /**
+- * Update representation of contents and tqrepaint.
++ * Update representation of contents and repaint.
+ */
+ virtual void update();
+
+@@ -120,7 +120,7 @@
+ void mouseEvent( int x, int y, bool pressed = false, bool released = false );
+
+ /**
+- * Similar to tqsizeHint(..), this returns the area of the item
++ * Similar to sizeHint(..), this returns the area of the item
+ * given the @p parentGeometry. The default implementation
+ * takes into account geometric constraints and layoutings.
+ * @param parentGeometry the geometry of the caller item or a
+@@ -181,7 +181,7 @@
+ * @return (-1,-1) if no size can be determined (so it should
+ * default to parent's size).
+ */
+- virtual TQSize tqsizeHint();
++ virtual TQSize sizeHint();
+
+ /**
+ * Low level graphical function to paint the item.
+@@ -195,7 +195,7 @@
+
+ /**
+ * Called when item changes its 'state' variable. This must
+- * handle item's tqrepaint.
++ * handle item's repaint.
+ */
+ virtual void statusChanged();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmlabel.cpp v3.5.13-sru/kdm/kfrontend/themer/kdmlabel.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmlabel.cpp 2011-08-11 07:25:55.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmlabel.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -116,7 +116,7 @@
+ if (cAccel != -1) {
+ cText.remove('&');
+ myAccel = new TQAccel(parentWidget());
+- myAccel->insertItem(ALT + UNICODE_ACCEL + cText.tqat(cAccel).lower().tqunicode());
++ myAccel->insertItem(ALT + UNICODE_ACCEL + cText.at(cAccel).lower().unicode());
+ connect(myAccel, TQT_SIGNAL(activated(int)), TQT_SLOT(slotAccel()));
+ }
+ }
+@@ -138,7 +138,7 @@
+ }
+
+ TQSize
+-KdmLabel::tqsizeHint()
++KdmLabel::sizeHint()
+ {
+ // choose the correct label class
+ struct LabelStruct::LabelClass *l = &label.normal;
+@@ -177,8 +177,8 @@
+ TQFont f(l->font);
+ f.setUnderline(true);
+ p->setFont ( f );
+- p->drawText( tarea, AlignLeft | SingleLine, TQString(cText.tqat(cAccel)));
+- tarea.rLeft() += fm.width(cText.tqat(cAccel));
++ p->drawText( tarea, AlignLeft | SingleLine, TQString(cText.at(cAccel)));
++ tarea.rLeft() += fm.width(cText.at(cAccel));
+ p->setFont( l->font );
+ p->drawText( tarea, AlignLeft | SingleLine, right);
+ } else {
+@@ -268,7 +268,7 @@
+ m['s'] = KThemedGreeter::timedUser;
+ // xgettext:no-c-format
+ KGlobal::locale()->setDateFormat( i18n("date format", "%a %d %B") );
+- m['c'] = KGlobal::locale()->formatDateTime( TQDateTime::tqcurrentDateTime(), false, false );
++ m['c'] = KGlobal::locale()->formatDateTime( TQDateTime::currentDateTime(), false, false );
+
+ return KMacroExpander::expandMacros( text, m );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmlabel.h v3.5.13-sru/kdm/kfrontend/themer/kdmlabel.h
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmlabel.h 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmlabel.h 2012-07-31 17:17:50.000000000 +0200
+@@ -42,7 +42,7 @@
+
+ protected:
+ // reimplemented; returns the minimum size of rendered text
+- virtual TQSize tqsizeHint();
++ virtual TQSize sizeHint();
+
+ // draw the label
+ virtual void drawContents( TQPainter *p, const TQRect &r );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmlayout.cpp v3.5.13-sru/kdm/kfrontend/themer/kdmlayout.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmlayout.cpp 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmlayout.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -74,7 +74,7 @@
+ // Check if box size was computed. If not compute it
+ // TODO check if this prevents updating changing items
+ // if (!hintedSize.isValid())
+-// tqsizeHint();
++// sizeHint();
+
+ // kdDebug() << this << " hintedSize " << hintedSize << endl;
+
+@@ -114,30 +114,30 @@
+ if ((*it)->isExplicitlyHidden())
+ continue;
+
+- TQRect temp = childrenRect, tqitemRect;
++ TQRect temp = childrenRect, itemRect;
+ if (box.isVertical) {
+ temp.setHeight( 0 );
+- tqitemRect = (*it)->placementHint( temp );
+- temp.setHeight( tqitemRect.height() );
+- childrenRect.setTop( childrenRect.top() + tqitemRect.size().height() + box.spacing );
++ itemRect = (*it)->placementHint( temp );
++ temp.setHeight( itemRect.height() );
++ childrenRect.setTop( childrenRect.top() + itemRect.size().height() + box.spacing );
+ } else {
+ temp.setWidth( 0 );
+- tqitemRect = (*it)->placementHint( temp );
+- kdDebug() << this << " placementHint " << *it << " " << temp << " " << tqitemRect << endl;
+- temp.setWidth( tqitemRect.width() );
+- childrenRect.setLeft( childrenRect.left() + tqitemRect.size().width() + box.spacing );
++ itemRect = (*it)->placementHint( temp );
++ kdDebug() << this << " placementHint " << *it << " " << temp << " " << itemRect << endl;
++ temp.setWidth( itemRect.width() );
++ childrenRect.setLeft( childrenRect.left() + itemRect.size().width() + box.spacing );
+ kdDebug() << timestamp() << " childrenRect after " << *it << " " << childrenRect << endl;
+ }
+- tqitemRect = (*it)->placementHint( temp );
+- kdDebug() << this << " placementHint2 " << *it << " " << temp << " " << tqitemRect << endl;
+- (*it)->setGeometry( tqitemRect, force );
++ itemRect = (*it)->placementHint( temp );
++ kdDebug() << this << " placementHint2 " << *it << " " << temp << " " << itemRect << endl;
++ (*it)->setGeometry( itemRect, force );
+ }
+ }
+ }
+
+ //FIXME truly experimental (is so close to greeter_geometry.c)
+ TQSize
+-KdmLayoutBox::tqsizeHint()
++KdmLayoutBox::sizeHint()
+ {
+ // Sum up area taken by children
+ int w = 0, h = 0;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmlayout.h v3.5.13-sru/kdm/kfrontend/themer/kdmlayout.h
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmlayout.h 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmlayout.h 2012-07-31 17:17:50.000000000 +0200
+@@ -80,7 +80,7 @@
+
+ // Computes the size hint of the box, telling which is the
+ // smallest size inside which boxed items will fit
+- TQSize tqsizeHint();
++ TQSize sizeHint();
+
+ private:
+ struct {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmpixmap.cpp v3.5.13-sru/kdm/kfrontend/themer/kdmpixmap.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmpixmap.cpp 2011-08-13 06:07:04.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmpixmap.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -107,7 +107,7 @@
+ }
+
+ TQSize
+-KdmPixmap::tqsizeHint()
++KdmPixmap::sizeHint()
+ {
+ // choose the correct pixmap class
+ PixmapStruct::PixmapClass * pClass = &pixmap.normal;
+@@ -118,7 +118,7 @@
+ // use the pixmap size as the size hint
+ if (!pClass->pixmap.isNull())
+ return pClass->pixmap.size();
+- return KdmItem::tqsizeHint();
++ return KdmItem::sizeHint();
+ }
+
+ void
+@@ -138,7 +138,7 @@
+ return TQString::null;
+
+ TQString fullName = fileName;
+- if (fullName.tqat( 0 ) != '/')
++ if (fullName.at( 0 ) != '/')
+ fullName = baseDir() + "/" + fileName;
+ return fullName;
+ }
+@@ -177,7 +177,7 @@
+ TQString ext = fullpath.right(fullpath.length() - index);
+ fullpath = fullpath.left(index);
+ kdDebug() << timestamp() << " ext " << ext << " " << fullpath << endl;
+- TQString testpath = TQString("-%1x%2").tqarg(area.width()).arg(area.height()) + ext;
++ TQString testpath = TQString("-%1x%2").arg(area.width()).arg(area.height()) + ext;
+ kdDebug() << timestamp() << " testing for " << fullpath + testpath << endl;
+ if (KStandardDirs::exists(fullpath + testpath))
+ pClass->pixmap.load(fullpath + testpath);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmpixmap.h v3.5.13-sru/kdm/kfrontend/themer/kdmpixmap.h
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmpixmap.h 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmpixmap.h 2012-07-31 17:17:50.000000000 +0200
+@@ -42,7 +42,7 @@
+
+ protected:
+ // reimplemented; returns the size of loaded pixmap
+- virtual TQSize tqsizeHint();
++ virtual TQSize sizeHint();
+
+ // draw the pixmap
+ virtual void drawContents( TQPainter *p, const TQRect &r );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmthemer.h v3.5.13-sru/kdm/kfrontend/themer/kdmthemer.h
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmthemer.h 2011-08-13 06:07:04.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmthemer.h 2012-07-31 17:17:50.000000000 +0200
+@@ -61,9 +61,9 @@
+
+ bool isOK() { return rootItem != 0; }
+ /*
+- * Gives a tqsizeHint to the widget (parent size)
++ * Gives a sizeHint to the widget (parent size)
+ */
+- //TQSize tqsizeHint() const{ return parentWidget()->size(); }
++ //TQSize sizeHint() const{ return parentWidget()->size(); }
+
+ /*
+ * Takes a shot of the current widget
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdmlib/kdmtsak.cpp v3.5.13-sru/kdmlib/kdmtsak.cpp
+--- /tmp/stable//kdebase/kdmlib/kdmtsak.cpp 2011-09-19 03:46:39.000000000 +0200
++++ v3.5.13-sru/kdmlib/kdmtsak.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -76,7 +76,7 @@
+ if (intFound == false) {
+ return true;
+ }
+- curConsole = TQString("vt%1").tqarg(curConsoleNum);;
++ curConsole = TQString("vt%1").arg(curConsoleNum);;
+ TQStringList sessionList = TQStringList::split('\t', output, false);
+ for ( TQStringList::Iterator it = sessionList.begin(); it != sessionList.end(); ++it ) {
+ TQStringList sessionInfoList = TQStringList::split(',', *it, true);
+@@ -121,10 +121,14 @@
+ int verifier_result = tde_sak_verify_calling_process();
+
+ bool isdm = false;
++ bool checkonly = false;
+ if (argc == 2) {
+ if (strcmp(argv[1], "dm") == 0) {
+ isdm = true;
+ }
++ if (strcmp(argv[1], "check") == 0) {
++ checkonly = true;
++ }
+ }
+
+ if (!isdm) {
+@@ -139,6 +143,14 @@
+ // OK, the calling process is authorized to retrieve SAK data
+ // First, flush the buffer
+ mPipe_fd = open(FIFO_FILE, O_RDONLY | O_NONBLOCK);
++ if (checkonly) {
++ if (mPipe_fd < 0) {
++ return 6; // SAK not available
++ }
++ else {
++ return 0;
++ }
++ }
+ numread = 1;
+ while (numread > 0) {
+ numread = read(mPipe_fd, readbuf, 6);
+@@ -177,4 +189,4 @@
+ else {
+ return verifier_result;
+ }
+-}
+\ Pas de fin de ligne à la fin du fichier
++}
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdmlib/kgreet_classic.cpp v3.5.13-sru/kdmlib/kgreet_classic.cpp
+--- /tmp/stable//kdebase/kdmlib/kgreet_classic.cpp 2011-09-22 19:56:10.000000000 +0200
++++ v3.5.13-sru/kdmlib/kgreet_classic.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -167,7 +167,7 @@
+ delete passwdEdit;
+ return;
+ }
+- TQLayoutIterator it = TQT_TQLAYOUT(static_cast<QLayoutItem*>(layoutItem))->iterator();
++ TQLayoutIterator it = TQT_TQLAYOUT(layoutItem)->iterator();
+ for (TQLayoutItem *itm = it.current(); itm; itm = ++it)
+ delete itm->widget();
+ delete layoutItem;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdmlib/kgreet_pam.cpp v3.5.13-sru/kdmlib/kgreet_pam.cpp
+--- /tmp/stable//kdebase/kdmlib/kgreet_pam.cpp 2011-09-22 19:56:10.000000000 +0200
++++ v3.5.13-sru/kdmlib/kgreet_pam.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -209,7 +209,7 @@
+ delete loginEdit;
+ return;
+ }
+- TQLayoutIterator it = TQT_TQLAYOUT(static_cast<QLayoutItem*>(layoutItem))->iterator();
++ TQLayoutIterator it = TQT_TQLAYOUT(layoutItem)->iterator();
+ for (TQLayoutItem *itm = it.current(); itm; itm = ++it)
+ delete itm->widget();
+ delete layoutItem;
+@@ -354,7 +354,6 @@
+ }
+ else if (m_themer) {
+ kg_debug("themer found!");
+- KdmItem *pw_label = 0;
+
+ KdmLabel *kdmlabel = static_cast<KdmLabel*>(m_themer->findNode("pw-label"));
+ if (kdmlabel) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdmlib/kgreet_pam.h v3.5.13-sru/kdmlib/kgreet_pam.h
+--- /tmp/stable//kdebase/kdmlib/kgreet_pam.h 2011-09-22 19:56:10.000000000 +0200
++++ v3.5.13-sru/kdmlib/kgreet_pam.h 2012-07-31 17:17:50.000000000 +0200
+@@ -65,7 +65,7 @@
+ virtual void revive();
+ virtual void clear();
+
+- TQGridLayout *getLayoutItem() const { return static_cast<TQGridLayout*>(TQT_TQLAYOUT(static_cast<QLayoutItem*>(layoutItem))); }
++ TQGridLayout *getLayoutItem() const { return static_cast<TQGridLayout*>(TQT_TQLAYOUT(layoutItem)); }
+
+ public slots:
+ void slotLoginLostFocus();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdmlib/kgreet_winbind.cpp v3.5.13-sru/kdmlib/kgreet_winbind.cpp
+--- /tmp/stable//kdebase/kdmlib/kgreet_winbind.cpp 2011-09-22 19:56:10.000000000 +0200
++++ v3.5.13-sru/kdmlib/kgreet_winbind.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -213,7 +213,7 @@
+ delete domainCombo;
+ return;
+ }
+- TQLayoutIterator it = TQT_TQLAYOUT(static_cast<QLayoutItem *>(layoutItem))->iterator();
++ TQLayoutIterator it = TQT_TQLAYOUT(layoutItem)->iterator();
+ for (TQLayoutItem *itm = it.current(); itm; itm = ++it)
+ delete itm->widget();
+ delete layoutItem;
+@@ -607,14 +607,14 @@
+
+ TQString current = domainCombo->currentText();
+
+- for (int i = 0; i < domainList.count(); ++i) {
+- if (i < domainCombo->count())
++ for (unsigned int i = 0; i < domainList.count(); ++i) {
++ if (i < (uint)domainCombo->count())
+ domainCombo->changeItem(domainList[i], i);
+ else
+ domainCombo->insertItem(domainList[i], i);
+ }
+
+- while (domainCombo->count() > domainList.count())
++ while ((uint)domainCombo->count() > domainList.count())
+ domainCombo->removeItem(domainCombo->count()-1);
+
+ domainCombo->setCurrentItem( current );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kfind/kdatecombo.cpp v3.5.13-sru/kfind/kdatecombo.cpp
+--- /tmp/stable//kdebase/kfind/kdatecombo.cpp 2011-08-11 07:25:45.000000000 +0200
++++ v3.5.13-sru/kfind/kdatecombo.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -33,7 +33,7 @@
+ popupFrame = new KPopupFrame(this, "popupFrame");
+ popupFrame->installEventFilter(this);
+ datePicker = new KDatePicker(popupFrame, date, "datePicker");
+- datePicker->setMinimumSize(datePicker->tqsizeHint());
++ datePicker->setMinimumSize(datePicker->sizeHint());
+ datePicker->installEventFilter(this);
+ popupFrame->setMainWidget(datePicker);
+ setDate(date);
+@@ -57,9 +57,9 @@
+ return *qd = KGlobal::locale()->readDate(str);
+ }
+
+-TQDate & KDateCombo::getDate(TQDate *tqcurrentDate)
++TQDate & KDateCombo::getDate(TQDate *currentDate)
+ {
+- return string2Date(currentText(), tqcurrentDate);
++ return string2Date(currentText(), currentDate);
+ }
+
+ bool KDateCombo::setDate(const TQDate & newDate)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kfind/kdatecombo.h v3.5.13-sru/kfind/kdatecombo.h
+--- /tmp/stable//kdebase/kfind/kdatecombo.h 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kfind/kdatecombo.h 2012-07-31 17:17:50.000000000 +0200
+@@ -26,7 +26,7 @@
+ KDateCombo(const TQDate & date, TQWidget *parent=0, const char *name=0);
+ ~KDateCombo();
+
+- TQDate & getDate(TQDate *tqcurrentDate);
++ TQDate & getDate(TQDate *currentDate);
+ bool setDate(const TQDate & newDate);
+
+ private:
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kfind/kfind.cpp v3.5.13-sru/kfind/kfind.cpp
+--- /tmp/stable//kdebase/kfind/kfind.cpp 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kfind/kfind.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -70,7 +70,7 @@
+ mTopLayout->addWidget(mButtonBox);
+
+ mSearch = new KPushButton( KGuiItem(i18n("&Find"), "find"), mButtonBox );
+- mButtonBox->setSpacing( (tabWidget->tqsizeHint().height()-4*mSearch->tqsizeHint().height()) / 4);
++ mButtonBox->setSpacing( (tabWidget->sizeHint().height()-4*mSearch->sizeHint().height()) / 4);
+ connect( mSearch, TQT_SIGNAL(clicked()), this, TQT_SLOT( startSearch() ) );
+ mStop = new KPushButton( KGuiItem(i18n("Stop"), "stop"), mButtonBox );
+ connect( mStop, TQT_SIGNAL(clicked()), this, TQT_SLOT( stopSearch() ) );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kfind/kfindpart.cpp v3.5.13-sru/kfind/kfindpart.cpp
+--- /tmp/stable//kdebase/kfind/kfindpart.cpp 2011-07-09 08:16:54.000000000 +0200
++++ v3.5.13-sru/kfind/kfindpart.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -44,7 +44,7 @@
+
+ kdDebug() << "KFindPart::KFindPart " << this << endl;
+ m_kfindWidget = new Kfind( parentWidget, widgetName );
+- m_kfindWidget->setMaximumHeight(m_kfindWidget->tqminimumSizeHint().height());
++ m_kfindWidget->setMaximumHeight(m_kfindWidget->minimumSizeHint().height());
+ const KFileItem *item = ((KonqDirPart*)parent)->currentItem();
+ kdDebug() << "Kfind: currentItem: " << ( item ? item->url().path().local8Bit() : TQString("null") ) << endl;
+ TQDir d;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kfind/kftabdlg.cpp v3.5.13-sru/kfind/kftabdlg.cpp
+--- /tmp/stable//kdebase/kfind/kftabdlg.cpp 2011-08-11 07:25:45.000000000 +0200
++++ v3.5.13-sru/kfind/kftabdlg.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -60,11 +60,11 @@
+ pages[0] = new TQWidget( this, "page1" );
+
+ nameBox = new KComboBox(TRUE, pages[0], "combo1");
+- nameBox->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed); // allow smaller than widest entry
++ nameBox->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed); // allow smaller than widest entry
+ TQLabel * namedL = new TQLabel(nameBox, i18n("&Named:"), pages[0], "named");
+ TQToolTip::add( namedL, i18n("You can use wildcard matching and \";\" for separating multiple names") );
+ dirBox = new KComboBox(TRUE, pages[0], "combo2");
+- dirBox->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed); // allow smaller than widest entry
++ dirBox->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed); // allow smaller than widest entry
+ TQLabel * lookinL = new TQLabel(dirBox, i18n("Look &in:"), pages[0], "named");
+ subdirsCb = new TQCheckBox(i18n("Include &subfolders"), pages[0]);
+ caseSensCb = new TQCheckBox(i18n("Case s&ensitive search"), pages[0]);
+@@ -187,7 +187,7 @@
+ sizeUnitBox ->setCurrentItem(1);
+
+ int tmp = sizeEdit->fontMetrics().width(" 000000000 ");
+- sizeEdit->setMinimumSize(tmp, sizeEdit->tqsizeHint().height());
++ sizeEdit->setMinimumSize(tmp, sizeEdit->sizeHint().height());
+
+ m_usernameBox->setDuplicatesEnabled(FALSE);
+ m_groupBox->setDuplicatesEnabled(FALSE);
+@@ -245,7 +245,7 @@
+ pages[2] = new TQWidget( this, "page3" );
+
+ typeBox =new KComboBox(FALSE, pages[2], "typeBox");
+- typeBox->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed); // allow smaller than widest entry
++ typeBox->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed); // allow smaller than widest entry
+ TQLabel * typeL =new TQLabel(typeBox, i18n("File &type:"), pages[2], "type");
+ textEdit=new KLineEdit(pages[2], "textEdit" );
+ TQLabel * textL =new TQLabel(textEdit, i18n("C&ontaining text:"), pages[2], "text");
+@@ -315,7 +315,7 @@
+
+ // Layout
+ tmp = sizeEdit->fontMetrics().width(" 00000 ");
+- sizeEdit->setMinimumSize(tmp, sizeEdit->tqsizeHint().height());
++ sizeEdit->setMinimumSize(tmp, sizeEdit->sizeHint().height());
+
+ TQGridLayout *grid2 = new TQGridLayout( pages[2], 5, 4,
+ KDialog::marginHint(),
+@@ -854,13 +854,13 @@
+ conf->writePathEntry(entry, sl);
+ }
+
+-TQSize KfindTabWidget::tqsizeHint() const
++TQSize KfindTabWidget::sizeHint() const
+ {
+ // #44662: avoid a huge default size when the comboboxes have very large items
+ // Like in minicli, we changed the combobox size policy so that they can resize down,
+ // and then we simply provide a reasonable size hint for the whole window, depending
+ // on the screen width.
+- TQSize sz = TQTabWidget::tqsizeHint();
++ TQSize sz = TQTabWidget::sizeHint();
+ KfindTabWidget* me = const_cast<KfindTabWidget*>( this );
+ const int screenWidth = tqApp->desktop()->screenGeometry(me).width();
+ if ( sz.width() > screenWidth / 2 )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kfind/kftabdlg.h v3.5.13-sru/kfind/kftabdlg.h
+--- /tmp/stable//kdebase/kfind/kftabdlg.h 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kfind/kftabdlg.h 2012-07-31 17:17:50.000000000 +0200
+@@ -49,7 +49,7 @@
+
+ void setURL( const KURL & url );
+
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+
+ public slots:
+ void setFocus();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kfind/kfwin.cpp v3.5.13-sru/kfind/kfwin.cpp
+--- /tmp/stable//kdebase/kfind/kfwin.cpp 2011-08-11 07:25:45.000000000 +0200
++++ v3.5.13-sru/kfind/kfwin.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -178,7 +178,7 @@
+
+ if (drag_obj)
+ {
+- TQClipboard *cb = kapp->tqclipboard();
++ TQClipboard *cb = kapp->clipboard();
+ cb->setData(drag_obj);
+ }
+ }
+@@ -222,7 +222,7 @@
+ stream.setEncoding( TQTextStream::Locale );
+
+ if ( mimeType->name() == "text/html") {
+- stream << TQString::tqfromLatin1("<HTML><HEAD>\n"
++ stream << TQString::fromLatin1("<HTML><HEAD>\n"
+ "<!DOCTYPE %1>\n"
+ "<TITLE>%2</TITLE></HEAD>\n"
+ "<BODY><H1>%3</H1>"
+@@ -236,13 +236,13 @@
+ {
+ TQString path=((KfFileLVI*)item)->fileitem.url().url();
+ TQString pretty=((KfFileLVI*)item)->fileitem.url().htmlURL();
+- stream << TQString::tqfromLatin1("<DT><A HREF=\"") << path
+- << TQString::tqfromLatin1("\">") << pretty
+- << TQString::tqfromLatin1("</A>\n");
++ stream << TQString::fromLatin1("<DT><A HREF=\"") << path
++ << TQString::fromLatin1("\">") << pretty
++ << TQString::fromLatin1("</A>\n");
+
+ item = item->nextSibling();
+ }
+- stream << TQString::tqfromLatin1("</DL><P></BODY></HTML>\n");
++ stream << TQString::fromLatin1("</DL><P></BODY></HTML>\n");
+ }
+ else {
+ item = firstChild();
+@@ -293,7 +293,7 @@
+ // Iterate on all selected elements
+ TQPtrList<TQListViewItem> selected = selectedItems();
+ for ( uint i = 0; i < selected.count(); i++ ) {
+- KfFileLVI *item = (KfFileLVI *) selected.tqat(i);
++ KfFileLVI *item = (KfFileLVI *) selected.at(i);
+ KFileItem file = item->fileitem;
+
+ KIO::NetAccess::del(file.url(), this);
+@@ -335,7 +335,7 @@
+ {
+ KListView::resizeEvent(e);
+ resetColumns(false);
+- clipper()->tqrepaint();
++ clipper()->repaint();
+ }
+
+ TQDragObject * KfindWindow::dragObject()
+@@ -346,7 +346,7 @@
+ // create a list of URIs from selection
+ for ( uint i = 0; i < selected.count(); i++ )
+ {
+- KfFileLVI *item = (KfFileLVI *) selected.tqat( i );
++ KfFileLVI *item = (KfFileLVI *) selected.at( i );
+ if (item)
+ {
+ uris.append( item->fileitem.url() );
+@@ -372,7 +372,7 @@
+ {
+ setColumnWidth(2, QMAX(fm.width(columnText(2)), fm.width("0000000")) + 15);
+ TQString sampleDate =
+- KGlobal::locale()->formatDateTime(TQDateTime::tqcurrentDateTime());
++ KGlobal::locale()->formatDateTime(TQDateTime::currentDateTime());
+ setColumnWidth(3, QMAX(fm.width(columnText(3)), fm.width(sampleDate)) + 15);
+ setColumnWidth(4, QMAX(fm.width(columnText(4)), fm.width(i18n(perm[RO]))) + 15);
+ setColumnWidth(5, QMAX(fm.width(columnText(5)), fm.width("some text")) + 15);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/docentry.cpp v3.5.13-sru/khelpcenter/docentry.cpp
+--- /tmp/stable//kdebase/khelpcenter/docentry.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/docentry.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -278,7 +278,7 @@
+ entry->weight() < mChildren[ i + 1 ]->weight() ) {
+ entry->setNextSibling( mChildren[ i + 1 ] );
+ mChildren[ i ]->setNextSibling( entry );
+- mChildren.insert( mChildren.tqat( i + 1 ), entry );
++ mChildren.insert( mChildren.at( i + 1 ), entry );
+ break;
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/docmetainfo.cpp v3.5.13-sru/khelpcenter/docmetainfo.cpp
+--- /tmp/stable//kdebase/khelpcenter/docmetainfo.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/docmetainfo.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -108,7 +108,7 @@
+ if ( langcode == "en" ) return i18n("English");
+
+ TQString cfgfile = locate( "locale",
+- TQString::tqfromLatin1( "%1/entry.desktop" ).arg( langcode ) );
++ TQString::fromLatin1( "%1/entry.desktop" ).arg( langcode ) );
+
+ kdDebug() << "-- langcode: " << langcode << " cfgfile: " << cfgfile << endl;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/glossary.cpp v3.5.13-sru/khelpcenter/glossary.cpp
+--- /tmp/stable//kdebase/khelpcenter/glossary.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/glossary.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -49,7 +49,7 @@
+ {
+ KListViewItem::setOpen(open);
+
+- setPixmap( 0, SmallIcon( TQString::tqfromLatin1( open ? "contents" : "contents2" ) ) );
++ setPixmap( 0, SmallIcon( TQString::fromLatin1( open ? "contents" : "contents2" ) ) );
+
+ }
+ };
+@@ -92,7 +92,7 @@
+
+ m_cacheFile = locateLocal( "cache", "help/glossary.xml" );
+
+- m_sourceFile = View::View::langLookup( TQString::tqfromLatin1( "khelpcenter/glossary/index.docbook" ) );
++ m_sourceFile = View::View::langLookup( TQString::fromLatin1( "khelpcenter/glossary/index.docbook" ) );
+
+ m_config = kapp->config();
+ m_config->setGroup( "Glossary" );
+@@ -150,10 +150,10 @@
+ connect( meinproc, TQT_SIGNAL( processExited( KProcess * ) ),
+ this, TQT_SLOT( meinprocExited( KProcess * ) ) );
+
+- *meinproc << locate( "exe", TQString::tqfromLatin1( "meinproc" ) );
+- *meinproc << TQString::tqfromLatin1( "--output" ) << m_cacheFile;
+- *meinproc << TQString::tqfromLatin1( "--stylesheet" )
+- << locate( "data", TQString::tqfromLatin1( "khelpcenter/glossary.xslt" ) );
++ *meinproc << locate( "exe", TQString::fromLatin1( "meinproc" ) );
++ *meinproc << TQString::fromLatin1( "--output" ) << m_cacheFile;
++ *meinproc << TQString::fromLatin1( "--stylesheet" )
++ << locate( "data", TQString::fromLatin1( "khelpcenter/glossary.xslt" ) );
+ *meinproc << m_sourceFile;
+
+ meinproc->start( KProcess::NotifyOnExit );
+@@ -189,21 +189,21 @@
+ if ( !doc.setContent( &cacheFile ) )
+ return;
+
+- TQDomNodeList sectionNodes = doc.documentElement().elementsByTagName( TQString::tqfromLatin1( "section" ) );
++ TQDomNodeList sectionNodes = doc.documentElement().elementsByTagName( TQString::fromLatin1( "section" ) );
+ for ( unsigned int i = 0; i < sectionNodes.count(); i++ ) {
+ TQDomElement sectionElement = sectionNodes.item( i ).toElement();
+- TQString title = sectionElement.attribute( TQString::tqfromLatin1( "title" ) );
++ TQString title = sectionElement.attribute( TQString::fromLatin1( "title" ) );
+ SectionItem *topicSection = new SectionItem( m_byTopicItem, title );
+
+- TQDomNodeList entryNodes = sectionElement.elementsByTagName( TQString::tqfromLatin1( "entry" ) );
++ TQDomNodeList entryNodes = sectionElement.elementsByTagName( TQString::fromLatin1( "entry" ) );
+ for ( unsigned int j = 0; j < entryNodes.count(); j++ ) {
+ TQDomElement entryElement = entryNodes.item( j ).toElement();
+
+- TQString entryId = entryElement.attribute( TQString::tqfromLatin1( "id" ) );
++ TQString entryId = entryElement.attribute( TQString::fromLatin1( "id" ) );
+ if ( entryId.isNull() )
+ continue;
+
+- TQDomElement termElement = childElement( entryElement, TQString::tqfromLatin1( "term" ) );
++ TQDomElement termElement = childElement( entryElement, TQString::fromLatin1( "term" ) );
+ TQString term = termElement.text().simplifyWhiteSpace();
+
+ EntryItem *entry = new EntryItem(topicSection, term, entryId );
+@@ -221,19 +221,19 @@
+
+ new EntryItem( alphabSection, term, entryId );
+
+- TQDomElement definitionElement = childElement( entryElement, TQString::tqfromLatin1( "definition" ) );
++ TQDomElement definitionElement = childElement( entryElement, TQString::fromLatin1( "definition" ) );
+ TQString definition = definitionElement.text().simplifyWhiteSpace();
+
+ GlossaryEntryXRef::List seeAlso;
+
+- TQDomElement referencesElement = childElement( entryElement, TQString::tqfromLatin1( "references" ) );
+- TQDomNodeList referenceNodes = referencesElement.elementsByTagName( TQString::tqfromLatin1( "reference" ) );
++ TQDomElement referencesElement = childElement( entryElement, TQString::fromLatin1( "references" ) );
++ TQDomNodeList referenceNodes = referencesElement.elementsByTagName( TQString::fromLatin1( "reference" ) );
+ if ( referenceNodes.count() > 0 )
+ for ( unsigned int k = 0; k < referenceNodes.count(); k++ ) {
+ TQDomElement referenceElement = referenceNodes.item( k ).toElement();
+
+- TQString term = referenceElement.attribute( TQString::tqfromLatin1( "term" ) );
+- TQString id = referenceElement.attribute( TQString::tqfromLatin1( "id" ) );
++ TQString term = referenceElement.attribute( TQString::fromLatin1( "term" ) );
++ TQString id = referenceElement.attribute( TQString::fromLatin1( "id" ) );
+
+ seeAlso += GlossaryEntryXRef( term, id );
+ }
+@@ -279,10 +279,10 @@
+ GlossaryEntryXRef::List::ConstIterator it = seeAlsos.begin();
+ GlossaryEntryXRef::List::ConstIterator end = seeAlsos.end();
+ for (; it != end; ++it) {
+- seeAlso += TQString::tqfromLatin1("<a href=\"glossentry:");
++ seeAlso += TQString::fromLatin1("<a href=\"glossentry:");
+ seeAlso += (*it).id();
+- seeAlso += TQString::tqfromLatin1("\">") + (*it).term();
+- seeAlso += TQString::tqfromLatin1("</a>, ");
++ seeAlso += TQString::fromLatin1("\">") + (*it).term();
++ seeAlso += TQString::fromLatin1("</a>, ");
+ }
+ seeAlso = seeAlso.left(seeAlso.length() - 2);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/history.cpp v3.5.13-sru/khelpcenter/history.cpp
+--- /tmp/stable//kdebase/khelpcenter/history.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/history.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -93,7 +93,7 @@
+ Entry * current = m_entries.current();
+ if (current)
+ {
+- m_entries.tqat( m_entries.count() - 1 ); // go to last one
++ m_entries.at( m_entries.count() - 1 ); // go to last one
+ for ( ; m_entries.current() != current ; )
+ {
+ if ( !m_entries.removeLast() ) { // and remove from the end (faster and easier)
+@@ -101,7 +101,7 @@
+ return;
+ }
+ else
+- m_entries.tqat( m_entries.count() - 1 );
++ m_entries.at( m_entries.count() - 1 );
+ }
+ // Now current is the current again.
+
+@@ -111,7 +111,7 @@
+
+ // Append a new entry
+ m_entries.append( new Entry ); // made current
+- Q_ASSERT( m_entries.tqat() == (int) m_entries.count() - 1 );
++ Q_ASSERT( m_entries.at() == (int) m_entries.count() - 1 );
+ }
+
+ void History::updateCurrentEntry( View *view )
+@@ -199,9 +199,9 @@
+ Entry *current = m_entries.current();
+ if ( current && !current->view ) m_entries.remove();
+
+- int newPos = m_entries.tqat() + steps;
++ int newPos = m_entries.at() + steps;
+
+- current = m_entries.tqat( newPos );
++ current = m_entries.at( newPos );
+ if ( !current ) {
+ kdError() << "No History entry at position " << newPos << endl;
+ return;
+@@ -257,7 +257,7 @@
+ void History::fillGoMenu()
+ {
+ KMainWindow *mainWindow = static_cast<KMainWindow *>( kapp->mainWidget() );
+- TQPopupMenu *goMenu = dynamic_cast<TQPopupMenu *>( mainWindow->guiFactory()->container( TQString::tqfromLatin1( "go" ), mainWindow ) );
++ TQPopupMenu *goMenu = dynamic_cast<TQPopupMenu *>( mainWindow->guiFactory()->container( TQString::fromLatin1( "go" ), mainWindow ) );
+ if ( !goMenu || m_goMenuIndex == -1 )
+ return;
+
+@@ -276,21 +276,21 @@
+ // Second case: big history, in one or both directions
+ {
+ // Assume both directions first (in this case we place the current URL in the middle)
+- m_goMenuHistoryStartPos = m_entries.tqat() + 4;
++ m_goMenuHistoryStartPos = m_entries.at() + 4;
+
+ // Forward not big enough ?
+- if ( m_entries.tqat() > (int)m_entries.count() - 4 )
++ if ( m_entries.at() > (int)m_entries.count() - 4 )
+ m_goMenuHistoryStartPos = m_entries.count() - 1;
+ }
+ Q_ASSERT( m_goMenuHistoryStartPos >= 0 && (uint)m_goMenuHistoryStartPos < m_entries.count() );
+- m_goMenuHistoryCurrentPos = m_entries.tqat(); // for slotActivated
++ m_goMenuHistoryCurrentPos = m_entries.at(); // for slotActivated
+ fillHistoryPopup( goMenu, false, false, true, m_goMenuHistoryStartPos );
+ }
+
+ void History::goMenuActivated( int id )
+ {
+ KMainWindow *mainWindow = static_cast<KMainWindow *>( kapp->mainWidget() );
+- TQPopupMenu *goMenu = dynamic_cast<TQPopupMenu *>( mainWindow->guiFactory()->container( TQString::tqfromLatin1( "go" ), mainWindow ) );
++ TQPopupMenu *goMenu = dynamic_cast<TQPopupMenu *>( mainWindow->guiFactory()->container( TQString::fromLatin1( "go" ), mainWindow ) );
+ if ( !goMenu )
+ return;
+
+@@ -314,7 +314,7 @@
+ TQPtrListIterator<Entry> it( m_entries );
+ if (onlyBack || onlyForward)
+ {
+- it += m_entries.tqat(); // Jump to current item
++ it += m_entries.at(); // Jump to current item
+ if ( !onlyForward ) --it; else ++it; // And move off it
+ } else if ( startPos )
+ it += startPos; // Jump to specified start pos
+@@ -339,12 +339,12 @@
+
+ bool History::canGoBack() const
+ {
+- return m_entries.tqat() > 0;
++ return m_entries.at() > 0;
+ }
+
+ bool History::canGoForward() const
+ {
+- return m_entries.tqat() != static_cast<int>( m_entries.count() ) - 1;
++ return m_entries.at() != static_cast<int>( m_entries.count() ) - 1;
+ }
+
+ #include "history.moc"
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/htmlsearch/htmlsearch.cpp v3.5.13-sru/khelpcenter/htmlsearch/htmlsearch.cpp
+--- /tmp/stable//kdebase/khelpcenter/htmlsearch/htmlsearch.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/htmlsearch/htmlsearch.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -28,7 +28,7 @@
+
+ void HTMLSearch::scanDir(const TQString& dir)
+ {
+- assert( dir.tqat( dir.length() - 1 ) == '/' );
++ assert( dir.at( dir.length() - 1 ) == '/' );
+
+ TQStringList::ConstIterator it;
+
+@@ -83,7 +83,7 @@
+ TQStringList add = config->readListEntry("Paths");
+ TQStringList::Iterator it;
+ for (it = add.begin(); it != add.end(); ++it) {
+- if ( ( *it ).tqat( ( *it ).length() - 1 ) != '/' )
++ if ( ( *it ).at( ( *it ).length() - 1 ) != '/' )
+ ( *it ) += '/';
+ dirs.append(*it);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/htmlsearch/kcmhtmlsearch.cpp v3.5.13-sru/khelpcenter/htmlsearch/kcmhtmlsearch.cpp
+--- /tmp/stable//kdebase/khelpcenter/htmlsearch/kcmhtmlsearch.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/htmlsearch/kcmhtmlsearch.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -50,15 +50,15 @@
+ TQLabel *l = new TQLabel(i18n("The fulltext search feature makes use of the "
+ "ht://dig HTML search engine. "
+ "You can get ht://dig at the"), gb);
+- l->tqsetAlignment(TQLabel::WordBreak);
+- l->setMinimumSize(l->tqsizeHint());
++ l->setAlignment(TQLabel::WordBreak);
++ l->setMinimumSize(l->sizeHint());
+ grid->addMultiCellWidget(l, 1, 1, 0, 1);
+ TQWhatsThis::add( gb, i18n( "Information about where to get the ht://dig package." ) );
+
+ KURLLabel *url = new KURLLabel(gb);
+ url->setURL("http://www.htdig.org");
+ url->setText(i18n("ht://dig home page"));
+- url->tqsetAlignment(TQLabel::AlignHCenter);
++ url->setAlignment(TQLabel::AlignHCenter);
+ grid->addMultiCellWidget(url, 2,2, 0, 1);
+ connect(url, TQT_SIGNAL(leftClickedURL(const TQString&)),
+ this, TQT_SLOT(urlClicked(const TQString&)));
+@@ -157,7 +157,7 @@
+
+ runButton = new TQPushButton(i18n("Generate Index..."), this);
+ TQWhatsThis::add( runButton, i18n( "Click this button to generate the index for the fulltext search." ) );
+- runButton->setFixedSize(runButton->tqsizeHint());
++ runButton->setFixedSize(runButton->sizeHint());
+ vbox->addWidget(runButton, AlignRight);
+ connect(runButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(generateIndex()));
+
+@@ -179,14 +179,14 @@
+
+ // add all languages to the list
+ TQStringList langs = KGlobal::dirs()->findAllResources("locale",
+- TQString::tqfromLatin1("*/entry.desktop"));
++ TQString::fromLatin1("*/entry.desktop"));
+ langs.sort();
+
+ for (TQStringList::ConstIterator it = langs.begin(); it != langs.end(); ++it)
+ {
+ KSimpleConfig entry(*it);
+- entry.setGroup(TQString::tqfromLatin1("KCM Locale"));
+- TQString name = entry.readEntry(TQString::tqfromLatin1("Name"), KGlobal::locale()->translate("without name"));
++ entry.setGroup(TQString::fromLatin1("KCM Locale"));
++ TQString name = entry.readEntry(TQString::fromLatin1("Name"), KGlobal::locale()->translate("without name"));
+
+ TQString path = *it;
+ int index = path.findRev('/');
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/htmlsearch/klangcombo.cpp v3.5.13-sru/khelpcenter/htmlsearch/klangcombo.cpp
+--- /tmp/stable//kdebase/khelpcenter/htmlsearch/klangcombo.cpp 2011-03-12 07:57:50.000000000 +0100
++++ v3.5.13-sru/khelpcenter/htmlsearch/klangcombo.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -39,14 +39,14 @@
+
+ void KLanguageCombo::insertLanguage(const TQString& path, const TQString& name, const TQString& sub, const TQString &submenu, int index)
+ {
+- TQString output = name + TQString::tqfromLatin1(" (") + path + TQString::tqfromLatin1(")");
+- TQPixmap flag(locate("locale", sub + path + TQString::tqfromLatin1("/flag.png")));
++ TQString output = name + TQString::fromLatin1(" (") + path + TQString::fromLatin1(")");
++ TQPixmap flag(locate("locale", sub + path + TQString::fromLatin1("/flag.png")));
+ insertItem(TQIconSet(flag), output, path, submenu, index);
+ }
+
+ void KLanguageCombo::changeLanguage(const TQString& name, int i)
+ {
+ if (i < 0 || i >= count()) return;
+- TQString output = name + TQString::tqfromLatin1(" (") + tag(i) + TQString::tqfromLatin1(")");
++ TQString output = name + TQString::fromLatin1(" (") + tag(i) + TQString::fromLatin1(")");
+ changeItem(output, i);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/htmlsearch/ktagcombobox.cpp v3.5.13-sru/khelpcenter/htmlsearch/ktagcombobox.cpp
+--- /tmp/stable//kdebase/khelpcenter/htmlsearch/ktagcombobox.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/htmlsearch/ktagcombobox.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -83,7 +83,7 @@
+ if (current == index) return;
+ current = index;
+ emit activated( index );
+- tqrepaint();
++ repaint();
+ }
+
+ void KTagComboBox::internalHighlight( int index )
+@@ -192,7 +192,7 @@
+ TQRect clip(2, 2, width() - 4, height() - 4);
+ #if 0
+ if ( hasFocus() && style().guiStyle() != MotifStyle )
+- p.setPen( tqcolorGroup().highlightedText() );
++ p.setPen( colorGroup().highlightedText() );
+ #endif
+ p.drawText(clip, AlignCenter | SingleLine, popup->text( current ));
+
+@@ -211,7 +211,7 @@
+
+ TQString KTagComboBox::currentTag() const
+ {
+- return *tags->tqat(currentItem());
++ return *tags->at(currentItem());
+ }
+
+ TQString KTagComboBox::tag(int i) const
+@@ -221,7 +221,7 @@
+ kdDebug() << "KTagComboBox::tag(), unknown tag " << i << endl;
+ return TQString::null;
+ }
+- return *tags->tqat(i);
++ return *tags->at(i);
+ }
+
+ int KTagComboBox::currentItem() const
+@@ -233,7 +233,7 @@
+ {
+ if (i < 0 || i >= count()) return;
+ current = i;
+- tqrepaint();
++ repaint();
+ }
+
+ void KTagComboBox::setCurrentItem(const TQString &code)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/htmlsearchconfig.cpp v3.5.13-sru/khelpcenter/htmlsearchconfig.cpp
+--- /tmp/stable//kdebase/khelpcenter/htmlsearchconfig.cpp 2011-03-12 07:57:50.000000000 +0100
++++ v3.5.13-sru/khelpcenter/htmlsearchconfig.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -51,15 +51,15 @@
+ TQLabel *l = new TQLabel(i18n("The fulltext search feature makes use of the "
+ "ht://dig HTML search engine. "
+ "You can get ht://dig at the"), gb);
+- l->tqsetAlignment(TQLabel::WordBreak);
+- l->setMinimumSize(l->tqsizeHint());
++ l->setAlignment(TQLabel::WordBreak);
++ l->setMinimumSize(l->sizeHint());
+ grid->addMultiCellWidget(l, 1, 1, 0, 1);
+ TQWhatsThis::add( gb, i18n( "Information about where to get the ht://dig package." ) );
+
+ KURLLabel *url = new KURLLabel(gb);
+ url->setURL("http://www.htdig.org");
+ url->setText(i18n("ht://dig home page"));
+- url->tqsetAlignment(TQLabel::AlignHCenter);
++ url->setAlignment(TQLabel::AlignHCenter);
+ grid->addMultiCellWidget(url, 2,2, 0, 1);
+ connect(url, TQT_SIGNAL(leftClickedURL(const TQString&)),
+ this, TQT_SLOT(urlClicked(const TQString&)));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/kcmhelpcenter.cpp v3.5.13-sru/khelpcenter/kcmhelpcenter.cpp
+--- /tmp/stable//kdebase/khelpcenter/kcmhelpcenter.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/kcmhelpcenter.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -101,7 +101,7 @@
+ topLayout->setSpacing( spacingHint() );
+
+ mLabel = new TQLabel( this );
+- mLabel->tqsetAlignment( AlignHCenter );
++ mLabel->setAlignment( AlignHCenter );
+ topLayout->addWidget( mLabel );
+
+ mProgressBar = new TQProgressBar( this );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/mainwindow.cpp v3.5.13-sru/khelpcenter/mainwindow.cpp
+--- /tmp/stable//kdebase/khelpcenter/mainwindow.cpp 2011-03-12 07:57:50.000000000 +0100
++++ v3.5.13-sru/khelpcenter/mainwindow.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -325,7 +325,7 @@
+
+ mDoc->browserExtension()->setURLArgs( args );
+
+- if ( proto == TQString::tqfromLatin1("glossentry") ) {
++ if ( proto == TQString::fromLatin1("glossentry") ) {
+ TQString decodedEntryId = KURL::decode_string( url.encodedPathAndQuery() );
+ slotGlossSelected( mNavigator->glossEntry( decodedEntryId ) );
+ mNavigator->slotSelectGlossEntry( decodedEntryId );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/navigator.cpp v3.5.13-sru/khelpcenter/navigator.cpp
+--- /tmp/stable//kdebase/khelpcenter/navigator.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/navigator.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -262,8 +262,8 @@
+
+ void Navigator::insertAppletDocs( NavigatorItem *topItem )
+ {
+- TQDir appletDir( locate( "data", TQString::tqfromLatin1( "kicker/applets/" ) ) );
+- appletDir.setNameFilter( TQString::tqfromLatin1( "*.desktop" ) );
++ TQDir appletDir( locate( "data", TQString::fromLatin1( "kicker/applets/" ) ) );
++ appletDir.setNameFilter( TQString::fromLatin1( "*.desktop" ) );
+
+ TQStringList files = appletDir.entryList( TQDir::Files | TQDir::Readable );
+ TQStringList::ConstIterator it = files.begin();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/plugins/CMakeLists.txt v3.5.13-sru/khelpcenter/plugins/CMakeLists.txt
+--- /tmp/stable//kdebase/khelpcenter/plugins/CMakeLists.txt 2011-03-12 07:57:50.000000000 +0100
++++ v3.5.13-sru/khelpcenter/plugins/CMakeLists.txt 2012-07-31 17:17:50.000000000 +0200
+@@ -17,6 +17,6 @@
+ install( FILES
+ applets.desktop contact.desktop faq.desktop info.desktop
+ links.desktop support.desktop userguide.desktop welcome.desktop
+- kicmodules.desktop kcontrolmodules.desktop konqplugins.desktop
++ hardwaremodules.desktop kcontrolmodules.desktop konqplugins.desktop
+ kioslaves.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/plugins/hardwaremodules.desktop v3.5.13-sru/khelpcenter/plugins/hardwaremodules.desktop
+--- /tmp/stable//kdebase/khelpcenter/plugins/hardwaremodules.desktop 1970-01-01 01:00:00.000000000 +0100
++++ v3.5.13-sru/khelpcenter/plugins/hardwaremodules.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -0,0 +1,63 @@
++[Desktop Entry]
++
++Name=Hardware
++Name[af]=Hardeware
++Name[ar]=العتاد
++Name[be]=Ðпаратнае забеÑпÑчÑнне
++Name[bg]=Хардуер
++Name[bn]=হারà§à¦¡à¦“য়à§à¦¯à¦¾à¦°
++Name[br]=Periantel
++Name[bs]=Hardver
++Name[csb]=Nôrzãdza
++Name[cy]=Caledwedd
++Name[el]=Υλικό
++Name[eo]=Aparataro
++Name[et]=Riistvara
++Name[fa]=سخت‌اÙزار
++Name[fi]=Laitteisto
++Name[fr]=Matériel
++Name[ga]=Crua-Earraí
++Name[he]=חומרה
++Name[hr]=Hardver
++Name[hu]=Hardver
++Name[id]=Perangkat Keras
++Name[is]=Vélbúnaður
++Name[ja]=ãƒãƒ¼ãƒ‰ã‚¦ã‚§ã‚¢
++Name[ka]=მáƒáƒ¬áƒ§áƒáƒ‘ილáƒáƒ‘ები
++Name[kk]=Жабдықтар
++Name[km]=ផ្នែក​រឹង
++Name[ko]=하드웨어
++Name[lt]=Aparatinė įranga
++Name[mk]=Хардвер
++Name[ms]=Perkakasan
++Name[nb]=Maskinvare
++Name[ne]=हारà¥à¤¡à¤µà¥‡à¤¯à¤°
++Name[nn]=Maskinvare
++Name[pa]=ਜੰਤਰ
++Name[pl]=Sprzęt
++Name[ru]=Оборудование
++Name[rw]=Icyuma
++Name[se]=Mašiidnagálvu
++Name[sl]=Strojna oprema
++Name[sr]=Хардвер
++Name[sr@Latn]=Hardver
++Name[sv]=HÃ¥rdvara
++Name[ta]=வனà¯à®ªà¯Šà®°à¯à®³à¯
++Name[te]=హారà±à°¡à± వేరà±
++Name[tg]=Сахтафзор
++Name[th]=อุปà¸à¸£à¸“์ภายในเครื่อง
++Name[tr]=Donanım
++Name[tt]=Cıhazlar
++Name[uk]=ОбладнаннÑ
++Name[uz]=Asbob-uskunalar
++Name[uz@cyrillic]=ÐÑбоб-уÑкуналар
++Name[vi]=Phần cứng
++Name[wa]=Éndjolreye
++Name[zh_CN]=硬件
++Name[zh_TW]=硬體
++
++Icon=contents2
++
++X-DOC-Weight=-400
++
++X-KDE-KHelpcenter-Special=kinfocenter
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/plugins/kicmodules.desktop v3.5.13-sru/khelpcenter/plugins/kicmodules.desktop
+--- /tmp/stable//kdebase/khelpcenter/plugins/kicmodules.desktop 2010-08-12 05:28:42.000000000 +0200
++++ v3.5.13-sru/khelpcenter/plugins/kicmodules.desktop 1970-01-01 01:00:00.000000000 +0100
+@@ -1,87 +0,0 @@
+-[Desktop Entry]
+-
+-Name=KInfoCenter Modules
+-Name[af]=K Inligting Sentrum Modules
+-Name[ar]=وحدات مركز المعلومات
+-Name[be]=Модулі інфармацыйнага цÑнтра
+-Name[bg]=Информационен център
+-Name[bn]=KInfoCenter মডিউল
+-Name[br]=Molladoù KInfoCenter
+-Name[bs]=Moduli za KInfoCenter
+-Name[ca]=Mòduls del KInfoCenter
+-Name[cs]=Moduly InformaÄního centra
+-Name[csb]=Wëdowiédny mòdułë centróm kòntrolë
+-Name[cy]=Modiwlau KInfoCenter
+-Name[da]=KInfoCenter-moduler
+-Name[de]=Infozentrum-Module
+-Name[el]=ΑÏθÏώματα KInfoCenter
+-Name[en_GB]=KInfoCentre Modules
+-Name[eo]=Infocentraj moduloj
+-Name[es]=Módulos del KInfoCenter
+-Name[et]=Infokeskuse moodulid
+-Name[eu]=KInfoCenter moduluak
+-Name[fa]=پیمانه‌های KInfoCenter
+-Name[fi]=KInfoCenter-moduulit
+-Name[fr]=Modules du Centre d'informations
+-Name[fy]=Ynformaasjesintrummodules
+-Name[ga]=Modúil KInfoCenter
+-Name[gl]=Módulos do Centro de Información de KDE
+-Name[he]=מודולי מרכז המידע
+-Name[hi]=के-जानकारी-सेंटर मॉडà¥à¤¯à¥‚लà¥à¤¸
+-Name[hr]=KInfoCenter moduli
+-Name[hu]=KInfoCenter-modulok
+-Name[is]=Upplýsingaborðseiningar
+-Name[it]=Moduli del centro informazioni
+-Name[ja]=KInfoCenter モジュール
+-Name[ka]=სáƒáƒ˜áƒœáƒ¤áƒáƒ áƒ›áƒáƒªáƒ˜áƒ ცენტრის მáƒáƒ“ულები
+-Name[kk]=KInfoCenter модульдері
+-Name[km]=ម៉ូឌុល KInfoCenter
+-Name[ko]=KInfoCenter 모듈
+-Name[lo]=ສູນຄວບຄຸມ
+-Name[lt]=KInfoCenter moduliai
+-Name[lv]=KInfo centra moduļi
+-Name[mk]=KInfoCenter модули
+-Name[mn]=ÐœÑд төв-модул
+-Name[ms]=Modul KInfoCenter
+-Name[mt]=Moduli taċ-Ċentru tal-Informazzjoni
+-Name[nb]=Infosentermoduler
+-Name[nds]=Modulen för dat KDE-Infozentrum
+-Name[ne]=केडीई सूचना केनà¥à¤¦à¥à¤° मोडà¥à¤¯à¥à¤²
+-Name[nl]=Informatiecentrummodules
+-Name[nn]=Infosentermodular
+-Name[nso]=Diripa tsa Bogareng bja Tshedimoso ya K
+-Name[pa]=ਕੇਜਾਣਕਾਰੀ ਕੇਂਦਰ ਮੈਡੀਊਲ
+-Name[pl]=Moduły informacyjne Centrum sterowania
+-Name[pt]=Módulos do KInfoCenter
+-Name[pt_BR]=Módulo do Centro de Informações do KDE
+-Name[ro]=Module Centru de Informații
+-Name[ru]=Модули Центра информации
+-Name[rw]=Ibice K-UmwanyaAmakuru
+-Name[se]=Diehtoguovddášmoduvllat
+-Name[sk]=Moduly pre InformaÄné centrum
+-Name[sl]=Moduli Informacijega srediÅ¡Äa
+-Name[sr]=KInfoCenter модули
+-Name[sr@Latn]=KInfoCenter moduli
+-Name[sv]=Moduler i Informationscentralen
+-Name[ta]=கேதகவல௠மைய பகà¯à®¤à®¿à®•à®³à¯
+-Name[te]=కెసమాచార కేందà±à°°à°‚ మాడà±à°¯à±‚à°³à±à°²à±
+-Name[tg]=Бахшҳои маркази иттилоот
+-Name[th]=โมดูลของศูนย์ข้อมูล
+-Name[tr]=KInfoCenter Modülleri
+-Name[tt]=KInfoCenter Öleşläre
+-Name[uk]=Модулі KInfoCenter
+-Name[uz]=KInfoCenter modullari
+-Name[uz@cyrillic]=KInfoCenter модуллари
+-Name[ven]=Modulu ya senthara ya mafhungo a K
+-Name[vi]=Mô đun Trung tâm Thông tin của KDE
+-Name[wa]=Modules do cinte d' informåcion di KDE
+-Name[xh]=Izicatshulwa ze KInfoCenter
+-Name[zh_CN]=KInfoCenter 模å—
+-Name[zh_TW]=KInfoCenter 模組
+-Name[zu]=Izingxenye ze-KInfoCenter
+-
+-Icon=contents2
+-
+-X-DOC-Weight=-400
+-
+-X-KDE-KHelpcenter-Special=kinfocenter
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/toc.cpp v3.5.13-sru/khelpcenter/toc.cpp
+--- /tmp/stable//kdebase/khelpcenter/toc.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/toc.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -164,7 +164,7 @@
+ TQDomComment timestamp = doc.createComment( TQString::number( sourceFileCTime() ) );
+ doc.documentElement().appendChild( timestamp );
+
+- f.tqat( 0 );
++ f.at( 0 );
+ TQTextStream stream( &f );
+ stream.setEncoding( TQTextStream::UnicodeUTF8 );
+ stream << doc.toString();
+@@ -188,9 +188,9 @@
+ TQDomNodeList chapters = doc.documentElement().elementsByTagName( "chapter" );
+ for ( unsigned int chapterCount = 0; chapterCount < chapters.count(); chapterCount++ ) {
+ TQDomElement chapElem = chapters.item( chapterCount ).toElement();
+- TQDomElement chapTitleElem = childElement( chapElem, TQString::tqfromLatin1( "title" ) );
++ TQDomElement chapTitleElem = childElement( chapElem, TQString::fromLatin1( "title" ) );
+ TQString chapTitle = chapTitleElem.text().simplifyWhiteSpace();
+- TQDomElement chapRefElem = childElement( chapElem, TQString::tqfromLatin1( "anchor" ) );
++ TQDomElement chapRefElem = childElement( chapElem, TQString::fromLatin1( "anchor" ) );
+ TQString chapRef = chapRefElem.text().stripWhiteSpace();
+
+ chapItem = new TOCChapterItem( this, m_parentItem, chapItem, chapTitle, chapRef );
+@@ -199,9 +199,9 @@
+ TQDomNodeList sections = chapElem.elementsByTagName( "section" );
+ for ( unsigned int sectCount = 0; sectCount < sections.count(); sectCount++ ) {
+ TQDomElement sectElem = sections.item( sectCount ).toElement();
+- TQDomElement sectTitleElem = childElement( sectElem, TQString::tqfromLatin1( "title" ) );
++ TQDomElement sectTitleElem = childElement( sectElem, TQString::fromLatin1( "title" ) );
+ TQString sectTitle = sectTitleElem.text().simplifyWhiteSpace();
+- TQDomElement sectRefElem = childElement( sectElem, TQString::tqfromLatin1( "anchor" ) );
++ TQDomElement sectRefElem = childElement( sectElem, TQString::fromLatin1( "anchor" ) );
+ TQString sectRef = sectRefElem.text().stripWhiteSpace();
+
+ sectItem = new TOCSectionItem( this, chapItem, sectItem, sectTitle, sectRef );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/view.cpp v3.5.13-sru/khelpcenter/view.cpp
+--- /tmp/stable//kdebase/khelpcenter/view.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/view.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -62,7 +62,7 @@
+
+ void View::copySelectedText()
+ {
+- kapp->tqclipboard()->setText( selectedText() );
++ kapp->clipboard()->setText( selectedText() );
+ }
+
+ bool View::openURL( const KURL &url )
+@@ -276,7 +276,7 @@
+
+ void View::slotCopyLink()
+ {
+- TQApplication::tqclipboard()->setText(mCopyURL);
++ TQApplication::clipboard()->setText(mCopyURL);
+ }
+
+ bool View::prevPage(bool checkOnly)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/gesturedrawer.cpp v3.5.13-sru/khotkeys/kcontrol/gesturedrawer.cpp
+--- /tmp/stable//kdebase/khotkeys/kcontrol/gesturedrawer.cpp 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/gesturedrawer.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -20,7 +20,7 @@
+ GestureDrawer::GestureDrawer(TQWidget *parent, const char *name)
+ : TQFrame(parent, name), _data(TQString::null)
+ {
+- setBackgroundColor( tqcolorGroup().base());
++ setBackgroundColor( colorGroup().base());
+ setFrameStyle(TQFrame::Panel | TQFrame::Sunken);
+ setMinimumSize(30, 30);
+ }
+@@ -33,7 +33,7 @@
+ {
+ _data = data;
+
+- tqrepaint();
++ repaint();
+ }
+
+ void GestureDrawer::paintEvent(TQPaintEvent *ev)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/gesturedrawer.h v3.5.13-sru/khotkeys/kcontrol/gesturedrawer.h
+--- /tmp/stable//kdebase/khotkeys/kcontrol/gesturedrawer.h 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/gesturedrawer.h 2012-07-31 17:17:50.000000000 +0200
+@@ -31,7 +31,7 @@
+
+ void setData(const TQString &data);
+
+- virtual TQSize tqsizeHint() const { return TQSize(30, 30); }
++ virtual TQSize sizeHint() const { return TQSize(30, 30); }
+
+ protected:
+ void paintEvent(TQPaintEvent *ev);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/gesturerecorder.cpp v3.5.13-sru/khotkeys/kcontrol/gesturerecorder.cpp
+--- /tmp/stable//kdebase/khotkeys/kcontrol/gesturerecorder.cpp 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/gesturerecorder.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -20,7 +20,7 @@
+ GestureRecorder::GestureRecorder(TQWidget *parent, const char *name)
+ : TQFrame(parent, name), _mouseButtonDown(false)
+ {
+- setBackgroundColor( tqcolorGroup().base());
++ setBackgroundColor( colorGroup().base());
+ setFrameStyle(TQFrame::Sunken | TQFrame::Panel);
+ setLineWidth(2);
+ setMidLineWidth(0);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/gesturerecordpage.cpp v3.5.13-sru/khotkeys/kcontrol/gesturerecordpage.cpp
+--- /tmp/stable//kdebase/khotkeys/kcontrol/gesturerecordpage.cpp 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/gesturerecordpage.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -43,7 +43,7 @@
+ "button below.\n\nDraw here:");
+
+ TQLabel *label = new TQLabel(message, this, "label");
+- label->tqsetAlignment(TQLabel::AlignLeft | TQLabel::WordBreak |
++ label->setAlignment(TQLabel::AlignLeft | TQLabel::WordBreak |
+ TQLabel::AlignVCenter);
+
+ _recorder = new GestureRecorder(this, "recorder");
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/kcmkhotkeys.cpp v3.5.13-sru/khotkeys/kcontrol/kcmkhotkeys.cpp
+--- /tmp/stable//kdebase/khotkeys/kcontrol/kcmkhotkeys.cpp 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/kcmkhotkeys.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -272,14 +272,14 @@
+
+ void Module::import()
+ {
+- TQString file = KFileDialog::getOpenFileName( TQString::null, "*.khotkeys", tqtopLevelWidget(),
++ TQString file = KFileDialog::getOpenFileName( TQString::null, "*.khotkeys", topLevelWidget(),
+ i18n( "Select File with Actions to Be Imported" ));
+ if( file.isEmpty())
+ return;
+ KSimpleConfig cfg( file, true );
+ if( !settings.import( cfg, true ))
+ {
+- KMessageBox::error( tqtopLevelWidget(),
++ KMessageBox::error( topLevelWidget(),
+ i18n( "Import of the specified file failed. Most probably the file is not a valid "
+ "file with actions." ));
+ return;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/main_buttons_widget.cpp v3.5.13-sru/khotkeys/kcontrol/main_buttons_widget.cpp
+--- /tmp/stable//kdebase/khotkeys/kcontrol/main_buttons_widget.cpp 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/main_buttons_widget.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -38,7 +38,7 @@
+ module, TQT_SLOT( changed()));
+ connect( delete_action_button, TQT_SIGNAL( clicked()),
+ module, TQT_SLOT( changed()));
+- setMaximumHeight( tqsizeHint().height()); // it gets too high and I have no idea why
++ setMaximumHeight( sizeHint().height()); // it gets too high and I have no idea why
+ }
+
+ void Main_buttons_widget::enable_delete( bool enable_P )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/triggers_tab.cpp v3.5.13-sru/khotkeys/kcontrol/triggers_tab.cpp
+--- /tmp/stable//kdebase/khotkeys/kcontrol/triggers_tab.cpp 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/triggers_tab.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -241,8 +241,8 @@
+
+ void Shortcut_trigger_widget::capturedShortcut( const KShortcut& s_P )
+ {
+- if( KKeyChooser::checkGlobalShortcutsConflict( s_P, true, tqtopLevelWidget())
+- || KKeyChooser::checkStandardShortcutsConflict( s_P, true, tqtopLevelWidget()))
++ if( KKeyChooser::checkGlobalShortcutsConflict( s_P, true, topLevelWidget())
++ || KKeyChooser::checkStandardShortcutsConflict( s_P, true, topLevelWidget()))
+ return;
+ // KHotKeys::Module::changed()
+ module->changed();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/action_group_tab_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/action_group_tab_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/action_group_tab_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/action_group_tab_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -48,7 +48,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -73,7 +73,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/dcop_widget_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/dcop_widget_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/dcop_widget_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/dcop_widget_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -48,7 +48,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -81,7 +81,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -114,7 +114,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -147,7 +147,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -178,7 +178,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -203,7 +203,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -228,7 +228,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/general_settings_tab_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/general_settings_tab_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/general_settings_tab_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/general_settings_tab_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -42,7 +42,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -67,7 +67,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -86,7 +86,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>40</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/general_tab_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/general_tab_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/general_tab_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/general_tab_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -80,7 +80,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -105,7 +105,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/gestures_settings_tab_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/gestures_settings_tab_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/gestures_settings_tab_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/gestures_settings_tab_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -116,7 +116,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>50</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/gesture_triggers_tab_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/gesture_triggers_tab_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/gesture_triggers_tab_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/gesture_triggers_tab_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -46,7 +46,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>30</height>
+@@ -77,7 +77,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -102,7 +102,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -121,7 +121,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>100</width>
+ <height>100</height>
+@@ -138,7 +138,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -163,7 +163,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -182,7 +182,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>30</height>
+@@ -213,7 +213,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -238,7 +238,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -257,7 +257,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>100</width>
+ <height>100</height>
+@@ -274,7 +274,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -299,7 +299,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -318,7 +318,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>30</height>
+@@ -349,7 +349,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -374,7 +374,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -393,7 +393,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>100</width>
+ <height>100</height>
+@@ -410,7 +410,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -435,7 +435,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -454,7 +454,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>30</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/info_tab_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/info_tab_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/info_tab_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/info_tab_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -33,7 +33,7 @@
+ <string>&lt;p&gt;This module allows configuring input actions, like mouse gestures, keyboard shortcuts for performing commands, launching applications or DCOP calls, and similar.&lt;/p&gt;
+ &lt;p&gt;&lt;b&gt;NOTE: &lt;/b&gt;If you are not an experienced user, you should be careful with modifying the actions, and should limit your changes mainly to enabling/disabling actions, and changing triggers.&lt;/p&gt;</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+@@ -47,7 +47,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/menuentry_widget_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/menuentry_widget_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/menuentry_widget_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/menuentry_widget_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -72,7 +72,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/voice_input_widget_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/voice_input_widget_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/voice_input_widget_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/voice_input_widget_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -28,7 +28,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>150</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/voice_settings_tab_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/voice_settings_tab_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/voice_settings_tab_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/voice_settings_tab_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -23,7 +23,7 @@
+ <property name="text">
+ <string>In order to trigger a spoken action, you have to press the key (or combination of keys) configured below, speak the command and then press the same key again once you have finished speaking.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+@@ -61,7 +61,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>241</width>
+ <height>21</height>
+@@ -80,7 +80,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>31</width>
+ <height>90</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/windowdef_list_widget_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/windowdef_list_widget_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/windowdef_list_widget_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/windowdef_list_widget_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -154,7 +154,7 @@
+ </connection>
+ </connections>
+ <forwards>
+- <forward>class QListViewItem;</forward>
++ <forward>class TQListViewItem;</forward>
+ </forwards>
+ <Q_SLOTS>
+ <slot access="protected" specifier="pure virtual">copy_pressed()</slot>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/windowdef_simple_widget_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/windowdef_simple_widget_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/windowdef_simple_widget_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/windowdef_simple_widget_ui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -48,7 +48,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -137,7 +137,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -226,7 +226,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -315,7 +315,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -346,7 +346,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -371,7 +371,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -390,7 +390,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/voicerecordpage.cpp v3.5.13-sru/khotkeys/kcontrol/voicerecordpage.cpp
+--- /tmp/stable//kdebase/khotkeys/kcontrol/voicerecordpage.cpp 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/voicerecordpage.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -31,7 +31,7 @@
+ _message = i18n("Enter a code for the sound (e.g. the word you are saying) and record the same word twice.");
+
+ _label = new TQLabel(_message, this, "label");
+- _label->tqsetAlignment(TQLabel::AlignLeft | TQLabel::WordBreak |
++ _label->setAlignment(TQLabel::AlignLeft | TQLabel::WordBreak |
+ TQLabel::AlignVCenter);
+
+ _lineEdit = new KLineEdit( this );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/shared/CMakeLists.txt v3.5.13-sru/khotkeys/shared/CMakeLists.txt
+--- /tmp/stable//kdebase/khotkeys/shared/CMakeLists.txt 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/khotkeys/shared/CMakeLists.txt 2012-07-31 17:17:50.000000000 +0200
+@@ -18,6 +18,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XTEST_LIBDIR}
+ )
+
+
+@@ -36,6 +37,6 @@
+ tde_add_library( ${target} SHARED AUTOMOC
+ SOURCES ${${target}_SRCS}
+ VERSION 1.0.0
+- LINK kio-shared
++ LINK kio-shared ${XTEST_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}
+ )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/shared/input.cpp v3.5.13-sru/khotkeys/shared/input.cpp
+--- /tmp/stable//kdebase/khotkeys/shared/input.cpp 2011-08-11 07:25:54.000000000 +0200
++++ v3.5.13-sru/khotkeys/shared/input.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -55,7 +55,7 @@
+
+ void Kbd::insert_item( const KShortcut& shortcut_P, Kbd_receiver* receiver_P )
+ {
+- Receiver_data& rcv = tqreceivers[ receiver_P ];
++ Receiver_data& rcv = receivers[ receiver_P ];
+ rcv.shortcuts.append( shortcut_P );
+ if( rcv.active )
+ grab_shortcut( shortcut_P );
+@@ -63,17 +63,17 @@
+
+ void Kbd::remove_item( const KShortcut& shortcut_P, Kbd_receiver* receiver_P )
+ {
+- Receiver_data& rcv = tqreceivers[ receiver_P ];
++ Receiver_data& rcv = receivers[ receiver_P ];
+ rcv.shortcuts.remove( shortcut_P );
+ if( rcv.active )
+ ungrab_shortcut( shortcut_P );
+ if( rcv.shortcuts.count() == 0 )
+- tqreceivers.remove( receiver_P );
++ receivers.remove( receiver_P );
+ }
+
+ void Kbd::activate_receiver( Kbd_receiver* receiver_P )
+ {
+- Receiver_data& rcv = tqreceivers[ receiver_P ];
++ Receiver_data& rcv = receivers[ receiver_P ];
+ if( rcv.active )
+ return;
+ rcv.active = true;
+@@ -85,7 +85,7 @@
+
+ void Kbd::deactivate_receiver( Kbd_receiver* receiver_P )
+ {
+- Receiver_data& rcv = tqreceivers[ receiver_P ];
++ Receiver_data& rcv = receivers[ receiver_P ];
+ if( !rcv.active )
+ return;
+ rcv.active = false;
+@@ -144,8 +144,8 @@
+ KShortcut shortcut( key_P );
+ if( !grabs.contains( shortcut ))
+ return;
+- for( TQMap< Kbd_receiver*, Receiver_data >::ConstIterator it = tqreceivers.begin();
+- it != tqreceivers.end();
++ for( TQMap< Kbd_receiver*, Receiver_data >::ConstIterator it = receivers.begin();
++ it != receivers.end();
+ ++it )
+ if( ( *it ).shortcuts.contains( shortcut ) && ( *it ).active
+ && it.key()->handle_key( shortcut ))
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/shared/input.h v3.5.13-sru/khotkeys/shared/input.h
+--- /tmp/stable//kdebase/khotkeys/shared/input.h 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/khotkeys/shared/input.h 2012-07-31 17:17:50.000000000 +0200
+@@ -58,7 +58,7 @@
+ TQValueList< KShortcut > shortcuts;
+ bool active;
+ };
+- TQMap< Kbd_receiver*, Receiver_data > tqreceivers;
++ TQMap< Kbd_receiver*, Receiver_data > receivers;
+ TQMap< KShortcut, int > grabs;
+ KGlobalAccel* kga;
+ };
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/shared/sound.cpp v3.5.13-sru/khotkeys/shared/sound.cpp
+--- /tmp/stable//kdebase/khotkeys/shared/sound.cpp 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/khotkeys/shared/sound.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -93,7 +93,7 @@
+ TQ_INT32 nb=0;
+ for(uint k=0;k<BytePS;k++)
+ {
+- nb |= (SoundData.tqat(f*BytePS+k)&0x000000FF) << (k*8);
++ nb |= (SoundData.at(f*BytePS+k)&0x000000FF) << (k*8);
+ }
+ if(nb & (1 << (BytePS*8 -1)) )
+ nb = nb-(1<<BytePS*8);
+@@ -129,11 +129,11 @@
+
+ for(unsigned long int f=0;f<data.size();f++)
+ {
+- TQ_UINT16 val= (signed short int) ( (data.tqat(f) * ((double)(1<<13)/(signed)max) ) );
+- SoundData.tqat( 2*f )= val & 0x00FF;
+- SoundData.tqat(2*f+1)= (val & 0xFF00) >> 8;
++ TQ_UINT16 val= (signed short int) ( (data.at(f) * ((double)(1<<13)/(signed)max) ) );
++ SoundData.at( 2*f )= val & 0x00FF;
++ SoundData.at(2*f+1)= (val & 0xFF00) >> 8;
+
+-// kdDebug( 1217 ) << k_funcinfo << data.tqat(f) << " / " << max << " = " << val << " | " << SoundData[ 2*f ] << " "<< SoundData[ 2*f+1 ] << endl;
++// kdDebug( 1217 ) << k_funcinfo << data.at(f) << " / " << max << " = " << val << " | " << SoundData[ 2*f ] << " "<< SoundData[ 2*f+1 ] << endl;
+ }
+
+ TQ_UINT16 NumberOfChannels=2;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/shared/sound.h v3.5.13-sru/khotkeys/shared/sound.h
+--- /tmp/stable//kdebase/khotkeys/shared/sound.h 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/khotkeys/shared/sound.h 2012-07-31 17:17:50.000000000 +0200
+@@ -42,7 +42,7 @@
+
+ inline float at(int pos) const
+ {
+- return (float)(data.tqat(pos))/max;
++ return (float)(data.at(pos))/max;
+ }
+
+ inline uint fs() const
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/shared/voicesignature.cpp v3.5.13-sru/khotkeys/shared/voicesignature.cpp
+--- /tmp/stable//kdebase/khotkeys/shared/voicesignature.cpp 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/khotkeys/shared/voicesignature.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -210,7 +210,7 @@
+
+ for(uint x=start; x<stop; x++)
+ {
+- Complex s(sound.tqat(x));
++ Complex s(sound.at(x));
+ double angle=-2*PI*f*x/8000;
+ s*= Complex( cos(angle) , sin(angle) );
+ c+=s;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/clock/analog.ui v3.5.13-sru/kicker/applets/clock/analog.ui
+--- /tmp/stable//kdebase/kicker/applets/clock/analog.ui 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/clock/analog.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -75,7 +75,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -149,7 +149,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+@@ -241,7 +241,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>310</width>
+ <height>20</height>
+@@ -269,7 +269,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>50</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/clock/clockapplet.kcfg v3.5.13-sru/kicker/applets/clock/clockapplet.kcfg
+--- /tmp/stable//kdebase/kicker/applets/clock/clockapplet.kcfg 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/clock/clockapplet.kcfg 2012-07-31 17:17:50.000000000 +0200
+@@ -20,16 +20,16 @@
+ <group name="Date">
+ <entry name="DateForegroundColor" type="Color" key="Foreground_Color">
+ <label>Foreground color.</label>
+- <default code="true">KApplication::tqpalette().active().text()</default>
++ <default code="true">KApplication::palette().active().text()</default>
+ </entry>
+ <entry name="DateBackgroundColor" type="Color" key="Background_Color">
+ <label>Foreground color.</label>
+- <default code="true">KApplication::tqpalette().active().background()</default>
++ <default code="true">KApplication::palette().active().background()</default>
+ </entry>
+ <entry name="DateFont" type="Font" key="Font">
+ <label>Font for the clock.</label>
+ <code>
+-QFont defFont=KGlobalSettings::generalFont();
++TQFont defFont=KGlobalSettings::generalFont();
+ defFont.setPointSize(8);
+ </code>
+ <default code="true">defFont</default>
+@@ -63,11 +63,11 @@
+ </entry>
+ <entry name="PlainForegroundColor" type="Color" key="Foreground_Color">
+ <label>Foreground color.</label>
+- <default code="true">KApplication::tqpalette().active().text()</default>
++ <default code="true">KApplication::palette().active().text()</default>
+ </entry>
+ <entry name="PlainBackgroundColor" type="Color" key="Background_Color">
+ <label>Background color.</label>
+- <default code="true">KApplication::tqpalette().active().background()</default>
++ <default code="true">KApplication::palette().active().background()</default>
+ </entry>
+ </group>
+ <group name="Digital">
+@@ -89,15 +89,15 @@
+ </entry>
+ <entry name="DigitalForegroundColor" type="Color" key="Foreground_Color">
+ <label>Foreground color.</label>
+- <default code="true">KApplication::tqpalette().active().text()</default>
++ <default code="true">KApplication::palette().active().text()</default>
+ </entry>
+ <entry name="DigitalBackgroundColor" type="Color" key="Background_Color">
+ <label>Background color.</label>
+- <default code="true">KApplication::tqpalette().active().background()</default>
++ <default code="true">KApplication::palette().active().background()</default>
+ </entry>
+ <entry name="DigitalShadowColor" type="Color" key="Shadow_Color">
+ <label>Shadow color.</label>
+- <default code="true">KApplication::tqpalette().active().mid()</default>
++ <default code="true">KApplication::palette().active().mid()</default>
+ </entry>
+ <entry name="DigitalBlink" type="Bool" key="Blink">
+ <label>Blink</label>
+@@ -127,15 +127,15 @@
+ </entry>
+ <entry name="AnalogForegroundColor" type="Color" key="Foreground_Color">
+ <label>Foreground color.</label>
+- <default code="true">KApplication::tqpalette().active().text()</default>
++ <default code="true">KApplication::palette().active().text()</default>
+ </entry>
+ <entry name="AnalogBackgroundColor" type="Color" key="Background_Color">
+ <label>Background color.</label>
+- <default code="true">KApplication::tqpalette().active().background()</default>
++ <default code="true">KApplication::palette().active().background()</default>
+ </entry>
+ <entry name="AnalogShadowColor" type="Color" key="Shadow_Color">
+ <label>Shadow color.</label>
+- <default code="true">KApplication::tqpalette().active().mid()</default>
++ <default code="true">KApplication::palette().active().mid()</default>
+ </entry>
+ <entry name="AnalogLCDStyle" type="Bool" key="LCD_Style">
+ <label>LCD Style</label>
+@@ -168,11 +168,11 @@
+ </entry>
+ <entry name="FuzzyForegroundColor" type="Color" key="Foreground_Color">
+ <label>Foreground color.</label>
+- <default code="true">KApplication::tqpalette().active().text()</default>
++ <default code="true">KApplication::palette().active().text()</default>
+ </entry>
+ <entry name="FuzzyBackgroundColor" type="Color" key="Background_Color">
+ <label>Background color.</label>
+- <default code="true">KApplication::tqpalette().active().background()</default>
++ <default code="true">KApplication::palette().active().background()</default>
+ </entry>
+ <entry name="Fuzzyness" type="Int">
+ <label>Fuzzyness</label>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/clock/clock.cpp v3.5.13-sru/kicker/applets/clock/clock.cpp
+--- /tmp/stable//kdebase/kicker/applets/clock/clock.cpp 2011-08-11 07:25:48.000000000 +0200
++++ v3.5.13-sru/kicker/applets/clock/clock.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -86,23 +86,23 @@
+ settings = new SettingsWidgetImp(prefs, zone, 0, "General");
+ connect(TQT_TQOBJECT(settings->kcfg_Type), TQT_SIGNAL(activated(int)), TQT_SLOT(selectPage(int)));
+
+- settings->kcfg_PlainBackgroundColor->setDefaultColor(KApplication::tqpalette().active().background());
+- settings->kcfg_DateBackgroundColor->setDefaultColor(KApplication::tqpalette().active().background());
++ settings->kcfg_PlainBackgroundColor->setDefaultColor(KApplication::palette().active().background());
++ settings->kcfg_DateBackgroundColor->setDefaultColor(KApplication::palette().active().background());
+
+ // Digital
+ digitalPage = new DigitalWidget(0, "DigitalClock");
+ settings->widgetStack->addWidget(digitalPage, 1);
+- digitalPage->kcfg_DigitalBackgroundColor->setDefaultColor(KApplication::tqpalette().active().background());
++ digitalPage->kcfg_DigitalBackgroundColor->setDefaultColor(KApplication::palette().active().background());
+
+ // Analog
+ analogPage = new AnalogWidget(0, "AnalogClock");
+ settings->widgetStack->addWidget(analogPage, 2);
+- analogPage->kcfg_AnalogBackgroundColor->setDefaultColor(KApplication::tqpalette().active().background());
++ analogPage->kcfg_AnalogBackgroundColor->setDefaultColor(KApplication::palette().active().background());
+
+ // Fuzzy
+ fuzzyPage = new FuzzyWidget(0, "FuzzyClock");
+ settings->widgetStack->addWidget(fuzzyPage, 3);
+- fuzzyPage->kcfg_FuzzyBackgroundColor->setDefaultColor(KApplication::tqpalette().active().background());
++ fuzzyPage->kcfg_FuzzyBackgroundColor->setDefaultColor(KApplication::palette().active().background());
+
+ connect(TQT_TQOBJECT(settings->kcfg_PlainShowDate), TQT_SIGNAL(toggled(bool)),
+ TQT_SLOT(dateToggled()));
+@@ -123,7 +123,7 @@
+ connect(TQT_TQOBJECT(fuzzyPage->kcfg_FuzzyShowDayOfWeek), TQT_SIGNAL(toggled(bool)),
+ TQT_SLOT(dateToggled()));
+
+- addPage(settings, i18n("General"), TQString::tqfromLatin1("package_settings"));
++ addPage(settings, i18n("General"), TQString::fromLatin1("package_settings"));
+ }
+
+ void KConfigDialogSingle::updateSettings()
+@@ -242,7 +242,7 @@
+ void PlainClock::loadSettings()
+ {
+ setFrameStyle(_prefs->plainShowFrame() ? Panel | Sunken : NoFrame);
+- tqsetAlignment(AlignVCenter | AlignHCenter | SingleLine);
++ setAlignment(AlignVCenter | AlignHCenter | SingleLine);
+
+ setFont(_prefs->plainFont());
+ }
+@@ -353,9 +353,9 @@
+ if (_force || newStr != _timeStr)
+ {
+ _timeStr = newStr;
+- tqsetUpdatesEnabled( FALSE );
++ setUpdatesEnabled( FALSE );
+ display(_timeStr);
+- tqsetUpdatesEnabled( TRUE );
++ setUpdatesEnabled( TRUE );
+ update();
+ }
+
+@@ -386,7 +386,7 @@
+ p.drawTiledPixmap(0, 0, width(), height(), lcdPattern);
+ }
+ else if (_prefs->digitalBackgroundColor() !=
+- KApplication::tqpalette().active().background())
++ KApplication::palette().active().background())
+ {
+ p.fillRect(0, 0, width(), height(), _prefs->digitalBackgroundColor());
+ }
+@@ -415,7 +415,7 @@
+ // but other colors would break the lcd-lock anyway
+ void DigitalClock::drawContents( TQPainter * p)
+ {
+- tqsetUpdatesEnabled( FALSE );
++ setUpdatesEnabled( FALSE );
+ TQPalette pal = palette();
+ if (_prefs->digitalLCDStyle())
+ pal.setColor( TQColorGroup::Foreground, TQColor(128,128,128));
+@@ -430,7 +430,7 @@
+ pal.setColor( TQColorGroup::Foreground, _prefs->digitalForegroundColor());
+ setPalette( pal );
+ p->translate( -2, -2 );
+- tqsetUpdatesEnabled( TRUE );
++ setUpdatesEnabled( TRUE );
+ TQLCDNumber::drawContents( p );
+ p->translate( +1, +1 );
+ }
+@@ -553,7 +553,7 @@
+
+ paint.drawTiledPixmap(0, 0, spWidth, spHeight, lcdPattern);
+ }
+- else if (_prefs->analogBackgroundColor() != KApplication::tqpalette().active().background())
++ else if (_prefs->analogBackgroundColor() != KApplication::palette().active().background())
+ {
+ _spPx->fill(_prefs->analogBackgroundColor());
+ }
+@@ -827,7 +827,7 @@
+ }
+ if (phStart >= 0)
+ newTimeStr.replace(phStart, phLength, hourNames[realHour]);
+- newTimeStr.replace(0, 1, TQString(newTimeStr.tqat(0).upper()));
++ newTimeStr.replace(0, 1, TQString(newTimeStr.at(0).upper()));
+ }
+ } else if (_prefs->fuzzyness() == 3) {
+ newTimeStr = dayTime[_time.hour() / 3];
+@@ -908,12 +908,12 @@
+ setBackgroundOrigin(AncestorOrigin);
+
+ _dayOfWeek = new TQLabel(this);
+- _dayOfWeek->tqsetAlignment(AlignVCenter | AlignHCenter | WordBreak);
++ _dayOfWeek->setAlignment(AlignVCenter | AlignHCenter | WordBreak);
+ _dayOfWeek->setBackgroundOrigin(AncestorOrigin);
+ _dayOfWeek->installEventFilter(this); // catch mouse clicks
+
+ _date = new TQLabel(this);
+- _date->tqsetAlignment(AlignVCenter | AlignHCenter | WordBreak);
++ _date->setAlignment(AlignVCenter | AlignHCenter | WordBreak);
+ _date->setBackgroundOrigin(AncestorOrigin);
+ _date->installEventFilter(this); // catch mouse clicks
+
+@@ -980,18 +980,18 @@
+ bool mustShowDate = showDate || (zone->zoneIndex() != 0);
+ if (mustShowDate)
+ {
+- _date->tqsetAlignment(AlignVCenter | AlignHCenter);
++ _date->setAlignment(AlignVCenter | AlignHCenter);
+ if (!dateToSide)
+ {
+- shareDateHeight = _date->tqsizeHint().height();
++ shareDateHeight = _date->sizeHint().height();
+ }
+ }
+ if (showDayOfWeek)
+ {
+- _dayOfWeek->tqsetAlignment(AlignVCenter | AlignHCenter);
++ _dayOfWeek->setAlignment(AlignVCenter | AlignHCenter);
+ if (!dateToSide)
+ {
+- shareDayOfWeekHeight = _dayOfWeek->tqsizeHint().height();
++ shareDayOfWeekHeight = _dayOfWeek->sizeHint().height();
+ }
+ }
+
+@@ -1007,8 +1007,8 @@
+ }
+ else
+ {
+- int dateWidth = mustShowDate ? _date->tqsizeHint().width() + 4 : 0;
+- int dayOfWeekWidth = showDayOfWeek ? _dayOfWeek->tqsizeHint().width() + 4 : 0;
++ int dateWidth = mustShowDate ? _date->sizeHint().width() + 4 : 0;
++ int dayOfWeekWidth = showDayOfWeek ? _dayOfWeek->sizeHint().width() + 4 : 0;
+
+ if (dateToSide)
+ {
+@@ -1020,7 +1020,7 @@
+ // if the date format STARTS with a year, assume it's in descending
+ // order and should therefore PRECEED the date.
+ TQString dateFormat = KGlobal::locale()->dateFormatShort();
+- dateFirst = dateFormat.tqat(1) == 'y' || dateFormat.tqat(1) == 'Y';
++ dateFirst = dateFormat.at(1) == 'y' || dateFormat.at(1) == 'Y';
+ }
+
+ if (dateFirst)
+@@ -1064,13 +1064,13 @@
+ _clock->widget()->move(0, 0);
+ if (showDayOfWeek)
+ {
+- _dayOfWeek->setFixedSize(w, _dayOfWeek->tqsizeHint().height());
++ _dayOfWeek->setFixedSize(w, _dayOfWeek->sizeHint().height());
+ _dayOfWeek->move(0, _clock->widget()->height());
+ }
+
+ if (mustShowDate)
+ {
+- _date->setFixedSize(w, _date->tqsizeHint().height());
++ _date->setFixedSize(w, _date->sizeHint().height());
+ _date->move(0, _clock->widget()->height() + shareDayOfWeekHeight);
+ }
+ }
+@@ -1094,16 +1094,16 @@
+ // add 4 pixels in height for each of date+dayOfWeek, if visible
+ if (showDayOfWeek)
+ {
+- if (_dayOfWeek->tqminimumSizeHint().width() > w)
++ if (_dayOfWeek->minimumSizeHint().width() > w)
+ {
+- _dayOfWeek->tqsetAlignment(AlignVCenter | WordBreak);
++ _dayOfWeek->setAlignment(AlignVCenter | WordBreak);
+ }
+ else
+ {
+- _dayOfWeek->tqsetAlignment(AlignVCenter | AlignHCenter | WordBreak);
++ _dayOfWeek->setAlignment(AlignVCenter | AlignHCenter | WordBreak);
+ }
+
+- _dayOfWeek->setFixedSize(w, _dayOfWeek->tqminimumSizeHint().height());
++ _dayOfWeek->setFixedSize(w, _dayOfWeek->minimumSizeHint().height());
+ _dayOfWeek->move(0, clockHeight);
+
+ clockHeight += _dayOfWeek->height();
+@@ -1116,7 +1116,7 @@
+ // display on panel that is too narrow and then they made it wider
+ const_cast<ClockApplet*>(this)->updateDateLabel(false);
+
+- if (_date->tqminimumSizeHint().width() > w)
++ if (_date->minimumSizeHint().width() > w)
+ {
+ TQString dateStr = _date->text();
+ // if we're too wide to fit, replace the first non-digit from the end with a space
+@@ -1127,13 +1127,13 @@
+ }
+ }
+
+- if (_date->tqminimumSizeHint().width() > w)
++ if (_date->minimumSizeHint().width() > w)
+ {
+- _date->tqsetAlignment(AlignVCenter | WordBreak);
++ _date->setAlignment(AlignVCenter | WordBreak);
+ }
+ else
+ {
+- _date->tqsetAlignment(AlignVCenter | AlignHCenter | WordBreak);
++ _date->setAlignment(AlignVCenter | AlignHCenter | WordBreak);
+ }
+ _date->setFixedSize(w, _date->heightForWidth(w));
+ _date->move(0, clockHeight);
+@@ -1169,7 +1169,7 @@
+
+ void ClockApplet::updateFollowBackground()
+ {
+- TQColor globalBgroundColor = KApplication::tqpalette().active().background();
++ TQColor globalBgroundColor = KApplication::palette().active().background();
+ TQColor bgColor;
+
+ switch (_prefs->type())
+@@ -1272,7 +1272,7 @@
+ _clock->widget()->installEventFilter(this); // catch mouse clicks
+ _clock->widget()->show();
+
+- _clock->forceUpdate(); /* force tqrepaint */
++ _clock->forceUpdate(); /* force repaint */
+
+ if (showDayOfWeek)
+ {
+@@ -1306,7 +1306,7 @@
+
+ void ClockApplet::setBackground()
+ {
+- TQColor globalBgroundColor = KApplication::tqpalette().active().background();
++ TQColor globalBgroundColor = KApplication::palette().active().background();
+ TQColor fgColor, bgColor;
+
+ if (!_clock)
+@@ -1371,7 +1371,7 @@
+ if (!m_dateFollowBackgroundSetting && !m_followBackgroundSetting)
+ return;
+
+- TQColor globalBgroundColor = KApplication::tqpalette().active().background();
++ TQColor globalBgroundColor = KApplication::palette().active().background();
+
+ if (m_dateFollowBackgroundSetting)
+ _prefs->setDateBackgroundColor(globalBgroundColor);
+@@ -1541,7 +1541,7 @@
+ menu->insertTitle( SmallIcon( "clock" ), i18n( "Clock" ) );
+
+ KLocale *loc = KGlobal::locale();
+- TQDateTime dt = TQDateTime::tqcurrentDateTime();
++ TQDateTime dt = TQDateTime::currentDateTime();
+ dt = TQT_TQDATETIME_OBJECT(dt.addSecs(TZoffset));
+
+ KPopupMenu *copyMenu = new KPopupMenu( menu );
+@@ -1605,7 +1605,7 @@
+ {
+ TQPopupMenu *m = (TQPopupMenu *) sender();
+ TQString s = m->text(id);
+- TQApplication::tqclipboard()->setText(s);
++ TQApplication::clipboard()->setText(s);
+ }
+
+ TQTime ClockApplet::clockGetTime()
+@@ -1615,7 +1615,7 @@
+
+ TQDate ClockApplet::clockGetDate()
+ {
+- return TQT_TQDATE_OBJECT(TQDateTime::tqcurrentDateTime().addSecs(TZoffset).date());
++ return TQT_TQDATE_OBJECT(TQDateTime::currentDateTime().addSecs(TZoffset).date());
+ }
+
+ void ClockApplet::showZone(int z)
+@@ -1623,7 +1623,7 @@
+ zone->setZone(z);
+ TZoffset = zone->calc_TZ_offset( zone->zone() );
+ updateDateLabel();
+- _clock->forceUpdate(); /* force tqrepaint */
++ _clock->forceUpdate(); /* force repaint */
+ }
+
+ void ClockApplet::nextZone()
+@@ -1840,7 +1840,7 @@
+ (m_clock->type() == Prefs::EnumType::Analog) )
+ {
+ // show full time (incl. hour) as tooltip for Fuzzy clock
+- tipText = KGlobal::locale()->formatDateTime(TQT_TQDATETIME_OBJECT(TQDateTime::tqcurrentDateTime().addSecs(m_clock->TZoffset)));
++ tipText = KGlobal::locale()->formatDateTime(TQT_TQDATETIME_OBJECT(TQDateTime::currentDateTime().addSecs(m_clock->TZoffset)));
+ }
+ else
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/clock/digital.ui v3.5.13-sru/kicker/applets/clock/digital.ui
+--- /tmp/stable//kdebase/kicker/applets/clock/digital.ui 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/clock/digital.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -83,7 +83,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -193,7 +193,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>110</width>
+ <height>20</height>
+@@ -226,7 +226,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/clock/fuzzy.ui v3.5.13-sru/kicker/applets/clock/fuzzy.ui
+--- /tmp/stable//kdebase/kicker/applets/clock/fuzzy.ui 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/clock/fuzzy.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -79,7 +79,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -109,7 +109,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>30</height>
+@@ -153,7 +153,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>51</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/clock/settings.ui v3.5.13-sru/kicker/applets/clock/settings.ui
+--- /tmp/stable//kdebase/kicker/applets/clock/settings.ui 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/clock/settings.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -102,7 +102,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -188,7 +188,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -284,7 +284,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>230</width>
+ <height>20</height>
+@@ -306,7 +306,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -371,7 +371,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>343</width>
+ <height>20</height>
+@@ -421,7 +421,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>100</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/launcher/configdlgbase.ui v3.5.13-sru/kicker/applets/launcher/configdlgbase.ui
+--- /tmp/stable//kdebase/kicker/applets/launcher/configdlgbase.ui 2011-08-06 00:56:45.000000000 +0200
++++ v3.5.13-sru/kicker/applets/launcher/configdlgbase.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -83,7 +83,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>332</width>
+ <height>20</height>
+@@ -138,7 +138,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>140</width>
+ <height>20</height>
+@@ -152,7 +152,7 @@
+ <property name="text">
+ <string>Short Term</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ </widget>
+@@ -163,7 +163,7 @@
+ <property name="text">
+ <string>Long Term</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ </widget>
+@@ -192,7 +192,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>50</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/launcher/easyvector.h v3.5.13-sru/kicker/applets/launcher/easyvector.h
+--- /tmp/stable//kdebase/kicker/applets/launcher/easyvector.h 2010-08-12 05:30:01.000000000 +0200
++++ v3.5.13-sru/kicker/applets/launcher/easyvector.h 2012-07-31 17:17:50.000000000 +0200
+@@ -87,7 +87,7 @@
+ template < class VALUE, bool CHECKINDEX >
+ void EasyVector< VALUE, CHECKINDEX >::eraseAt(Index index)
+ { _checkIndex(index);
+- erase(this->begin()+index);
++ this->erase(this->begin()+index);
+ }
+
+
+@@ -108,7 +108,7 @@
+ this->push_back(value);
+ return;
+ }
+- insert(this->begin()+index,value);
++ this->insert(this->begin()+index,value);
+ }
+
+
+@@ -116,7 +116,7 @@
+ void EasyVector< VALUE, CHECKINDEX >::insertAt(EasyVector< VALUE, CHECKINDEX >::Index index,const EasyVector< VALUE, CHECKINDEX > &v)
+ { index=_convertInsertIndex(index);
+ _checkInsertIndex(index);
+- insert(this->begin()+index,v.begin(),v.end());
++ this->insert(this->begin()+index,v.begin(),v.end());
+ }
+
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/launcher/quickbutton.cpp v3.5.13-sru/kicker/applets/launcher/quickbutton.cpp
+--- /tmp/stable//kdebase/kicker/applets/launcher/quickbutton.cpp 2011-09-01 20:40:20.000000000 +0200
++++ v3.5.13-sru/kicker/applets/launcher/quickbutton.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -163,7 +163,7 @@
+
+ TQToolTip::add(this, _qurl->name());
+ resize(int(DEFAULT_ICON_DIM),int(DEFAULT_ICON_DIM));
+- TQBrush bgbrush(tqcolorGroup().brush(TQColorGroup::Background));
++ TQBrush bgbrush(colorGroup().brush(TQColorGroup::Background));
+
+ QuickAddAppsMenu *addAppsMenu = new QuickAddAppsMenu(
+ parent, this, _qurl->url());
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/launcher/quickbuttongroup.h v3.5.13-sru/kicker/applets/launcher/quickbuttongroup.h
+--- /tmp/stable//kdebase/kicker/applets/launcher/quickbuttongroup.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/applets/launcher/quickbuttongroup.h 2012-07-31 17:17:50.000000000 +0200
+@@ -24,15 +24,15 @@
+ void setDragging(bool drag);
+ void setEnableDrag(bool enable);
+ void deleteContents();
+- void tqsetUpdatesEnabled(bool enable);
++ void setUpdatesEnabled(bool enable);
+ };
+
+ QuickButtonGroup::Index QuickButtonGroup::findDescriptor(const TQString &desc)
+ { return findProperty(desc, std::mem_fun(&QuickButton::url));}
+
+-inline void QuickButtonGroup::tqsetUpdatesEnabled(bool enable)
++inline void QuickButtonGroup::setUpdatesEnabled(bool enable)
+ { for (QuickButtonGroup::iterator i=begin();i!=end();++i) {
+- (*i)->tqsetUpdatesEnabled(enable);
++ (*i)->setUpdatesEnabled(enable);
+ if (enable) { (*i)->update();}
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/launcher/quicklauncher.cpp v3.5.13-sru/kicker/applets/launcher/quicklauncher.cpp
+--- /tmp/stable//kdebase/kicker/applets/launcher/quicklauncher.cpp 2011-08-11 07:25:48.000000000 +0200
++++ v3.5.13-sru/kicker/applets/launcher/quicklauncher.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -770,8 +770,8 @@
+
+ unsigned index;
+ TQPoint pos;
+- tqsetUpdatesEnabled(false);
+- m_buttons->tqsetUpdatesEnabled(false);
++ setUpdatesEnabled(false);
++ m_buttons->setUpdatesEnabled(false);
+ for (index = 0; index < m_buttons->size(); index++)
+ {
+ pos = m_manager->pos(index);
+@@ -791,9 +791,9 @@
+ m_dragButtons->setDragging(true);
+ }
+ m_buttons->show();
+- tqsetUpdatesEnabled(true);
++ setUpdatesEnabled(true);
+ update();
+- m_buttons->tqsetUpdatesEnabled(true);
++ m_buttons->setUpdatesEnabled(true);
+ updateGeometry();
+ emit updateLayout();
+ updateStickyHighlightLayer();
+@@ -1097,7 +1097,7 @@
+ }
+ }
+ }
+- tqrepaint();
++ repaint();
+ }
+
+ void QuickLauncher::paintEvent(TQPaintEvent* e)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/lockout/lockout.cpp v3.5.13-sru/kicker/applets/lockout/lockout.cpp
+--- /tmp/stable//kdebase/kicker/applets/lockout/lockout.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/applets/lockout/lockout.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -94,8 +94,8 @@
+ if (!kapp->authorize("logout"))
+ logoutButton->hide();
+
+- lockButton->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding));
+- logoutButton->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding));
++ lockButton->setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding));
++ logoutButton->setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding));
+
+ if ( !kapp->dcopClient()->isAttached() )
+ kapp->dcopClient()->attach();
+@@ -113,7 +113,7 @@
+ // direction and wasting a lot of space.
+ void Lockout::checkLayout( int height ) const
+ {
+- TQSize s = tqminimumSizeHint();
++ TQSize s = minimumSizeHint();
+ TQBoxLayout::Direction direction = layout->direction();
+
+ if ( direction == TQBoxLayout::LeftToRight &&
+@@ -131,13 +131,13 @@
+ int Lockout::widthForHeight( int height ) const
+ {
+ checkLayout( height );
+- return tqsizeHint().width();
++ return sizeHint().width();
+ }
+
+ int Lockout::heightForWidth( int width ) const
+ {
+ checkLayout( width );
+- return tqsizeHint().height();
++ return sizeHint().height();
+ }
+
+ void Lockout::lock()
+@@ -177,9 +177,9 @@
+ void Lockout::propagateMouseEvent(TQMouseEvent* e)
+ {
+ if ( !isTopLevel() ) {
+- TQMouseEvent me(e->type(), mapTo( tqtopLevelWidget(), e->pos() ),
++ TQMouseEvent me(e->type(), mapTo( topLevelWidget(), e->pos() ),
+ e->globalPos(), e->button(), e->state() );
+- TQApplication::sendEvent( tqtopLevelWidget(), &me );
++ TQApplication::sendEvent( topLevelWidget(), &me );
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/media/mediumbutton.cpp v3.5.13-sru/kicker/applets/media/mediumbutton.cpp
+--- /tmp/stable//kdebase/kicker/applets/media/mediumbutton.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/applets/media/mediumbutton.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -145,7 +145,7 @@
+ {
+ KonqDrag * obj = KonqDrag::newDrag(mFileItem.url(), false);
+
+- TQApplication::tqclipboard()->setData( obj );
++ TQApplication::clipboard()->setData( obj );
+ }
+
+ void MediumButton::dragEnterEvent(TQDragEnterEvent* e)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/menu/menuapplet.cpp v3.5.13-sru/kicker/applets/menu/menuapplet.cpp
+--- /tmp/stable//kdebase/kicker/applets/menu/menuapplet.cpp 2011-07-09 08:16:55.000000000 +0200
++++ v3.5.13-sru/kicker/applets/menu/menuapplet.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -264,7 +264,7 @@
+ // Kicker's frame).
+ void Applet::updateTopEdgeOffset()
+ {
+- TQPoint p = tqtopLevelWidget()->mapToGlobal( TQPoint( 0, 0 ));
++ TQPoint p = topLevelWidget()->mapToGlobal( TQPoint( 0, 0 ));
+ if( p.y() <= 2 ) // 2 = work also when running in appletproxy
+ topEdgeOffset = mapToGlobal( TQPoint( 0, 0 )).y() - p.y();
+ else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/minipager/pagerapplet.cpp v3.5.13-sru/kicker/applets/minipager/pagerapplet.cpp
+--- /tmp/stable//kdebase/kicker/applets/minipager/pagerapplet.cpp 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/minipager/pagerapplet.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -365,7 +365,7 @@
+ if( m_desktopLayoutOwner == NULL )
+ { // must own manager selection before setting global desktop layout
+ int screen = DefaultScreen( qt_xdisplay());
+- m_desktopLayoutOwner = new KSelectionOwner( TQString( "_NET_DESKTOP_LAYOUT_S%1" ).tqarg( screen ).latin1(),
++ m_desktopLayoutOwner = new KSelectionOwner( TQString( "_NET_DESKTOP_LAYOUT_S%1" ).arg( screen ).latin1(),
+ screen, TQT_TQOBJECT(this) );
+ if( !m_desktopLayoutOwner->claim( false ))
+ {
+@@ -865,7 +865,7 @@
+ {
+ TQString name = m_kwin->desktopName(i);
+ (*it)->setDesktopName(name);
+- (*it)->tqrepaint();
++ (*it)->repaint();
+ TQToolTip::remove((*it));
+ TQToolTip::add((*it), name);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/minipager/pagerbutton.cpp v3.5.13-sru/kicker/applets/minipager/pagerbutton.cpp
+--- /tmp/stable//kdebase/kicker/applets/minipager/pagerbutton.cpp 2011-08-11 07:25:48.000000000 +0200
++++ v3.5.13-sru/kicker/applets/minipager/pagerbutton.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -157,8 +157,8 @@
+ TQRect r = mapGeometryToViewport(*info);
+
+ if (!info->hasState(NET::Sticky) &&
+- !TQApplication::desktop()->tqgeometry().contains(r.topLeft()) &&
+- !TQApplication::desktop()->tqgeometry().contains(r.topRight()))
++ !TQApplication::desktop()->geometry().contains(r.topLeft()) &&
++ !TQApplication::desktop()->geometry().contains(r.topRight()))
+ return false;
+ }
+
+@@ -404,16 +404,16 @@
+ // transparent windows get an 1 pixel frame...
+ if (on)
+ {
+- bp->setPen(tqcolorGroup().midlight());
++ bp->setPen(colorGroup().midlight());
+ }
+ else if (down)
+ {
+- bp->setPen(KickerLib::blendColors(tqcolorGroup().mid(),
+- tqcolorGroup().midlight()));
++ bp->setPen(KickerLib::blendColors(colorGroup().mid(),
++ colorGroup().midlight()));
+ }
+ else
+ {
+- bp->setPen(tqcolorGroup().dark());
++ bp->setPen(colorGroup().dark());
+ }
+
+ bp->drawRect(0, 0, w, h);
+@@ -424,16 +424,16 @@
+
+ if (on)
+ {
+- background = tqcolorGroup().brush(TQColorGroup::Midlight);
++ background = colorGroup().brush(TQColorGroup::Midlight);
+ }
+ else if (down)
+ {
+- background = TQBrush(KickerLib::blendColors(tqcolorGroup().mid(),
+- tqcolorGroup().midlight()));
++ background = TQBrush(KickerLib::blendColors(colorGroup().mid(),
++ colorGroup().midlight()));
+ }
+ else
+ {
+- background = tqcolorGroup().brush(TQColorGroup::Mid);
++ background = colorGroup().brush(TQColorGroup::Mid);
+ }
+
+ bp->fillRect(0, 0, w, h, background);
+@@ -462,12 +462,12 @@
+
+ if (kwin->activeWindow() == info->win())
+ {
+- TQBrush brush = tqcolorGroup().brush(TQColorGroup::Highlight);
+- qDrawShadeRect(bp, r, tqcolorGroup(), false, 1, 0, &brush);
++ TQBrush brush = colorGroup().brush(TQColorGroup::Highlight);
++ qDrawShadeRect(bp, r, colorGroup(), false, 1, 0, &brush);
+ }
+ else
+ {
+- TQBrush brush = tqcolorGroup().brush(TQColorGroup::Button);
++ TQBrush brush = colorGroup().brush(TQColorGroup::Button);
+
+ if (on)
+ {
+@@ -475,7 +475,7 @@
+ }
+
+ bp->fillRect(r, brush);
+- qDrawShadeRect(bp, r, tqcolorGroup(), true, 1, 0);
++ qDrawShadeRect(bp, r, colorGroup(), true, 1, 0);
+ }
+
+ if (m_pager->windowIcons() && r.width() > 15 && r.height() > 15)
+@@ -498,11 +498,11 @@
+ // makes it look a bit more finished.
+ if (on)
+ {
+- bp->setPen(tqcolorGroup().midlight());
++ bp->setPen(colorGroup().midlight());
+ }
+ else
+ {
+- bp->setPen(tqcolorGroup().mid());
++ bp->setPen(colorGroup().mid());
+ }
+
+ bp->drawRect(0, 0, w, h);
+@@ -515,7 +515,7 @@
+
+ if (transparent || liveBkgnd)
+ {
+- bp->setPen(on ? tqcolorGroup().midlight() : tqcolorGroup().buttonText());
++ bp->setPen(on ? colorGroup().midlight() : colorGroup().buttonText());
+ m_pager->shadowEngine()->drawText(*bp, TQRect(0, 0, w, h), AlignCenter, label, size());
+ }
+ else
+@@ -523,7 +523,7 @@
+ }
+
+ if (m_inside)
+- KickerLib::drawBlendedRect(bp, TQRect(1, 1, width() - 2, height() - 2), tqcolorGroup().foreground());
++ KickerLib::drawBlendedRect(bp, TQRect(1, 1, width() - 2, height() - 2), colorGroup().foreground());
+ }
+
+ void KMiniPagerButton::mousePressEvent(TQMouseEvent * e)
+@@ -586,9 +586,9 @@
+ TQPixmap windowImage(ww, wh);
+ TQPainter bp(&windowImage, this);
+
+- bp.setPen(tqcolorGroup().foreground());
++ bp.setPen(colorGroup().foreground());
+ bp.drawRect(0, 0, ww, wh);
+- bp.fillRect(1, 1, ww - 2, wh - 2, tqcolorGroup().background());
++ bp.fillRect(1, 1, ww - 2, wh - 2, colorGroup().background());
+
+ Task::List tasklist;
+ tasklist.append(m_currentWindow);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/naughty/NaughtyProcessMonitor.cpp v3.5.13-sru/kicker/applets/naughty/NaughtyProcessMonitor.cpp
+--- /tmp/stable//kdebase/kicker/applets/naughty/NaughtyProcessMonitor.cpp 2011-08-11 07:25:47.000000000 +0200
++++ v3.5.13-sru/kicker/applets/naughty/NaughtyProcessMonitor.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -255,7 +255,7 @@
+ }
+
+ // Now strip 'kdeinit:' prefix.
+- TQString tqunicode(TQString::fromLocal8Bit(s));
++ TQString unicode(TQString::fromLocal8Bit(s));
+
+ #elif defined(__OpenBSD__)
+ int mib[4] ;
+@@ -280,12 +280,12 @@
+ }
+
+ // Now strip 'kdeinit:' prefix.
+- TQString tqunicode(TQString::fromLocal8Bit(argv[0]));
++ TQString unicode(TQString::fromLocal8Bit(argv[0]));
+
+ free (argv) ;
+ #endif
+
+- TQStringList parts(TQStringList::split(' ', tqunicode));
++ TQStringList parts(TQStringList::split(' ', unicode));
+
+ TQString processName = parts[0] == "kdeinit:" ? parts[1] : parts[0];
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/run/runapplet.cpp v3.5.13-sru/kicker/applets/run/runapplet.cpp
+--- /tmp/stable//kdebase/kicker/applets/run/runapplet.cpp 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/run/runapplet.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -121,14 +121,14 @@
+ _input->reparent(this, TQPoint(0,0), true);
+ _label->setGeometry(0,0, width(), _label->height());
+
+- if(height() >= _input->tqsizeHint().height() + _label->height())
++ if(height() >= _input->sizeHint().height() + _label->height())
+ {
+- int inputVOffset = height() - _input->tqsizeHint().height() - 2;
+- int labelHeight = _label->tqsizeHint().height();
++ int inputVOffset = height() - _input->sizeHint().height() - 2;
++ int labelHeight = _label->sizeHint().height();
+ _label->setGeometry(0, inputVOffset - labelHeight,
+ width(), labelHeight);
+ _input->setGeometry(0, inputVOffset,
+- width(), _input->tqsizeHint().height());
++ width(), _input->sizeHint().height());
+ _label->show();
+ }
+ else
+@@ -138,7 +138,7 @@
+ // make it as high as the combobox naturally wants to be
+ // but no taller than the panel is!
+ // don't forget to center it vertically either.
+- int newHeight = _input->tqsizeHint().height();
++ int newHeight = _input->sizeHint().height();
+ if (newHeight > height())
+ newHeight = height();
+ _input->setGeometry(0, (height() - newHeight) / 2,
+@@ -184,7 +184,7 @@
+
+ int RunApplet::widthForHeight(int ) const
+ {
+- return _label->tqsizeHint().width();
++ return _label->sizeHint().width();
+ }
+
+ int RunApplet::heightForWidth(int ) const
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/swallow/prefwidgetbase.ui v3.5.13-sru/kicker/applets/swallow/prefwidgetbase.ui
+--- /tmp/stable//kdebase/kicker/applets/swallow/prefwidgetbase.ui 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/swallow/prefwidgetbase.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -110,7 +110,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/systemtray/systemtrayapplet.cpp v3.5.13-sru/kicker/applets/systemtray/systemtrayapplet.cpp
+--- /tmp/stable//kdebase/kicker/applets/systemtray/systemtrayapplet.cpp 2011-08-28 07:16:19.000000000 +0200
++++ v3.5.13-sru/kicker/applets/systemtray/systemtrayapplet.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -388,7 +388,7 @@
+ return;
+ }
+
+- if (!tqgeometry().contains(mapFromGlobal(TQCursor::pos())))
++ if (!geometry().contains(mapFromGlobal(TQCursor::pos())))
+ {
+ m_autoRetractTimer->stop();
+ if (m_autoRetract)
+@@ -427,12 +427,12 @@
+ if (orientation() == Qt::Vertical)
+ {
+ m_expandButton->setFixedSize(width() - 4,
+- m_expandButton->tqsizeHint()
++ m_expandButton->sizeHint()
+ .height());
+ }
+ else
+ {
+- m_expandButton->setFixedSize(m_expandButton->tqsizeHint()
++ m_expandButton->setFixedSize(m_expandButton->sizeHint()
+ .width(),
+ height() - 4);
+ }
+@@ -869,7 +869,7 @@
+ me->setFixedHeight(h);
+ }
+
+- return tqsizeHint().width();
++ return sizeHint().width();
+ }
+
+ int SystemTrayApplet::heightForWidth(int w) const
+@@ -888,7 +888,7 @@
+ me->setFixedWidth(w);
+ }
+
+- return tqsizeHint().height();
++ return sizeHint().height();
+ }
+
+ void SystemTrayApplet::moveEvent( TQMoveEvent* )
+@@ -906,7 +906,7 @@
+
+ void SystemTrayApplet::layoutTray()
+ {
+- tqsetUpdatesEnabled(false);
++ setUpdatesEnabled(false);
+
+ int iconCount = m_shownWins.count();
+
+@@ -927,11 +927,11 @@
+ {
+ if (orientation() == Qt::Vertical)
+ {
+- m_expandButton->setFixedSize(width() - 4, m_expandButton->tqsizeHint().height());
++ m_expandButton->setFixedSize(width() - 4, m_expandButton->sizeHint().height());
+ }
+ else
+ {
+- m_expandButton->setFixedSize(m_expandButton->tqsizeHint().width(), height() - 4);
++ m_expandButton->setFixedSize(m_expandButton->sizeHint().width(), height() - 4);
+ }
+ }
+
+@@ -1102,7 +1102,7 @@
+ }
+ }
+
+- tqsetUpdatesEnabled(true);
++ setUpdatesEnabled(true);
+ updateGeometry();
+ setBackground();
+
+@@ -1138,7 +1138,7 @@
+
+ void TrayEmbed::getIconSize(int defaultIconSize)
+ {
+- TQSize minSize = tqminimumSizeHint();
++ TQSize minSize = minimumSizeHint();
+
+ int width = minSize.width();
+ int height = minSize.height();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/taskbar/taskbarapplet.cpp v3.5.13-sru/kicker/applets/taskbar/taskbarapplet.cpp
+--- /tmp/stable//kdebase/kicker/applets/taskbar/taskbarapplet.cpp 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/taskbar/taskbarapplet.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -82,7 +82,7 @@
+ KPanelExtension::Position d = orientation() == Qt::Horizontal ?
+ KPanelExtension::Top :
+ KPanelExtension::Left;
+- return container->tqsizeHint(d, TQSize(200, h)).width();
++ return container->sizeHint(d, TQSize(200, h)).width();
+ }
+
+ int TaskbarApplet::heightForWidth(int w) const
+@@ -97,7 +97,7 @@
+ KPanelExtension::Position d = orientation() == Qt::Horizontal ?
+ KPanelExtension::Top :
+ KPanelExtension::Left;
+- return container->tqsizeHint(d, TQSize(w, 200)).height();
++ return container->sizeHint(d, TQSize(w, 200)).height();
+ }
+
+ void TaskbarApplet::preferences()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_gray_large_down.png v3.5.13-sru/kicker/data/tiles/light_gray_large_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_gray_large_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_gray_large_down.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,14 +1,5 @@
+ ‰PNG
+ 
+-
+-
+-744Ô 5EUIe]W3Me=Ñ$€
+-˜þ®––º@õ¬ 奥¥õ4å5Õ¬M õ”5 ýý£
+-@@¥ê2!~!!!®fVæææVV¶¶ÆújÆj@Åf …@Aswñ €
+-t¼‘Sp°²²™¾(P©²‰µ‰«P#0#ë››»‰&È[œ@¥ÒêFÁ‰Ò–òF ŽÀXš
+-LæÆ …ææ:¢
+- 7f`œŠ%xˆ*‹*ƒ¥Ê€i) h`ÕJ{[*Ú¸‰‰%8Š*›•m©1×1ÑD€
+-¬"ü’îÀo.)c¥§g`
+- e!~~~ J`¡T
+-s77ö€
+-õ¬t,)J¨ÎÝ$ƒ
+\ Pas de fin de ligne à la fin du fichier
++
++¥¢"Š§ $ËòW$Y„@ɪ#;MUÇë÷Þ @©"6Ä::=UUm%Û¶½DP*Ä·UÓT £í¿àÂF`ß ¤ª*vBt/M¯‚ÀÙì8N|î[=ÞJw¸¸ì©PÌf£4ÍC[1¯â8¶½+/P Ó¦ži6›oÃ5înËïÔ;­–Øà5ت㨲7"AhÞÈ·,ßî÷ÏùCÐï{ñ¸U©Ôx¤BT‡Èr C…¼«‘eŸŸ[B_nêßÕZµZí=ÒUŒ±ªž‘a@€u‹ð'î\orñÞ¸ý®vpÐf(²¥.ØÑÀ¼!!2Xùóó¯Û,WÐV —*Š¢Ë”Võ¥A`šºîXy,]¯qó²´Ž:¥‘ižœœˆɽž®÷z†mÃá·xôu“û¶çá 6ÃѨ lS2òHWùd“!“vf`˜$@³½FÃß\\\ˆ§¢H$ó³/Ë:k´@OEQ.79ç ‡%aÃoj²¼ßhÛÝ.Œ)±uÝ4yÆóšÖ¹|É="8QÅ¢7›í[V³É<TX‡à`jœ^ꀫù¡¸-
++t4h–Jûûû_«©+’°F–Ær}D­ÅâÐR©²Ï{}˃–ñPPBœj×Õ\)-q[…ã…ïÄÇžNP'ÏkaÃ6l¶Â²4‹87e.A·#È@¾QªS@©¡H……pˆKÆsEÅ- ±?8*ÅÚÕ \îAWÁæÁ„–…±›–:{8^B¹€žNËSšÒÕgÀ Q¶älÌk¡,L§å^J1 •1ØÅ+Aèáá๠ÄòôÛÛì,ýŒ-„~Â,r]çrp…ðËù]q,€) «¯û­Œ @#ØV)+¾ül.Ó<ÿøqØétŒm0V+Ìì1¾^çî_§^(Ta9»Ë“L<Nƪm[ÖSý!Xz˜žtI1‡g´L¦y’<å‡]Ë}¼Áa×¹›V´\Î 64Êø¼2Sf³€ÀÔŸ¡zý ®hͳZL³YV©D³Y‡Ñe­gÍr¡‚e@ójEÙŠ0¦ßó<Ï27Ë€„K @Vl‚+, ×ê4ˆ2&:vÝ1ýç§?™¨6³Å dwƒ
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_gray_normal_up.png v3.5.13-sru/kicker/data/tiles/light_gray_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_gray_normal_up.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_gray_normal_up.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,13 +1,11 @@
+ ‰PNG
+ 
+-
+-™êkZ›ûE¥Ÿ”²…s
+-š
+-0nÍ Œõõ]ÍÀÝ3 €”¤<ÃCBB|ƒJAÀYÏÅQÅÀ@” ôõM­ÜÝÍM¼LMȘƒ#|}bb¬a
+-t+@
+-ÒR
+-@ÐÀª•ô³”³quR5*Ú
+-Rc®cÑ
+-@–±±Mx"@
+-Æ@—ºÙ¸¹i{»
+-`
+\ Pas de fin de ligne à la fin du fichier
++
++ìNß¾iß‚@s]—xعŠ³©ë#„ù=j ¦)Š¢Ìv¡Ëóª:â@;^Œ¦¾å
++ó‘šMÁ4AE¸E’´ÿŠ{%î:ÖlÑ%®Œ*_>PËi  Ln+w5© Ò,è@ÜÂ8[ž¥õz²Œ@7¿J%ÎÍÔhšfÛº®fɵïZË‘LÓLzi4Lþˆ
++¯+0¹xI·-Ô»N’Äq®º¸6®TŽO÷¨G7`Klµ*0\[×-Ŷ¥ö``àÈÍ®¦¦™bãxº²Ói•.ÐEN ºb÷ÚÈoœÈ®
++Aˆ¨öûNý¾Ú/Ž¨7’Ù$°ã&¬2!­NÇq*ºÎ#ÝÒ-M †-ÐTøöäAé7OOÃP#‹Žçøº¤ó
++ÜØï÷¾aÀ`s×·ì ÐÄçŸcõ´LÇW2 # Äé_Ð5›m›
++ýÏÑNÔÀu»}­—;4K—óåÉÉx>O‘¢ôóÑçÃêsÜ’
++€–ÒWa£ú<ÜÐV®ÆSÛI
++_-”Ë…ƒòˆ.ä×þ~y~ÚßûðbtgVÄjÀ
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_green_normal_down.png v3.5.13-sru/kicker/data/tiles/light_green_normal_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_green_normal_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_green_normal_down.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,5 +1,20 @@
+ ‰PNG
+ 
+-
+-2(Û0¡¡akǪùL)®­­•|@ |owïß¿v펧6o­\R»äß.0X°`ë°ïÊçΕ|@ ol;p Èuò2
+-\Û°{÷½ýsçfN¿`Áü%@… º6n\ºtšäK€
+\ Pas de fin de ligne à la fin du fichier
++
++‚÷(”è -pô|ð>xobìkZeŸ..ñ´œ'ˆô¾c@ Üz—@:çx(È
++`OßÞp¥ M-ß–!˜‡W 5˜‰Úm&ÚKÔ €ŸÏ4(hŽ‚BXgŠ¨}{ÞõLCõ>­ú'ø’%Ä°H2sðûšÜŸ8xõî½6ašyý‹ËòÕczPU²&ÉOÝ\5Ðt9]¶‡V:”
++f_wß“&ÍY|·­:ë«f
++µn\ë/üb0½3”ÄxOE*#2 ]Kδ1|<X)
++ šƒA °yø°E(L>zOžQòôjF Ï_ß•ú*ËÓÖº
++ât€ôÖ‹¿üÍ ì粿${MP!‘ÍêU11ÈÖQ\‚^ÙS0¾tqê›i…'“—e~;K–¤W櫸~½ :Lüíþ!‹ë
++ >Ëú¢ËR† H]üüþrY€\^œ:Ì¡ßg½‘sJêÁ’§i•€SSÚ
++A:€ÀQÎéóc}v<
++èå^ñ
++4Ù“è®U’?’{ÔÜ<
++Ýu3Ž!Œ,{秋Ë-§­k›ü}Ëžé¹ d†áCˆ¾
++íd
++ÄZ ]RªAqShwv@j+
++aËéúÕE¹?paR
++Aß°¦Ç5 €âµ·f-+WåšJ)]$‹ˆ†a4ˆmõ[E['
++ü0ÎaVˆí"†¼
++ÞÓè1z
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_green_normal_up.png v3.5.13-sru/kicker/data/tiles/light_green_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_green_normal_up.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_green_normal_up.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,7 +1,17 @@
+ ‰PNG
+ 
+-
+-öªªò¦±±EIÞf‘eeQIe™™^é™™™–rVVVI‘«ž
+-¯=  ·Ö¬¹¾÷ìÙ»vâ~ó
+-?],q¯£cÿœ9óçÏo›7NO_ÿ á×Þ
+-ŸT>iÉʉ×VN,|qxͪ å×_
+\ Pas de fin de ligne à la fin du fichier
++
++ýêµG€•_?®— @“Öb·Þ‡l¯[£kЧf²ƒh ÀÞqν˜Š
++*€|+÷Çt“_× ªBxù‘ëO§Öqh½ò<‡
++æ
++š£ È¬3EÔ~½¿uÇP½O«PT…uiKcDMÁ Ò)¹wnm ÀÛ÷_ÙGC¦™wÿøP>¼Ö¥VÝ¢)˹›7MÇ=4=LíÔJ‡R@ÊJKÛIk{
++tw½ªJ„Œf
++ͺy|Ƨæ{ÖÆr.
++Ÿýað‡@Ùnå—Ã^4SÎ_ȯoŠ‰!_;Š ¹ WöhÌ­;Øx2²,ó×s–œ4Ç•ùM\?.¨ÿô¿eãè)†Bßíçe}ìE² -uuó7Ë’
++`y•ì {’ýð´óþLË]šÜ.#
++»ý¾iö€s:Ž,ØEcÐÅð¨éÞ ¼¤›ël¢½üp*®ø'Ž“•žóIïf‘<¦çï?yfãaòF’¶5_{¦¦Š‚~ÃÚ^oùê Š×Þšµ¬\•k*¥ôœ%笆a Ù¶z÷­Y[w
++WŠ+ÙÊù¦{
++ÿß¿Ý»`Mõ*
++ ÞùR2òq£½ÑLž
++
++kF ~ç0+²}Ý>¡Egy7¤­.¶zPWg9ÀÕZ:€}I¶ÌÚ¬CÍ}“0M¡†\³?xÚ‡÷ß|ý²žÒ§KðžFјqÿnúËB%£©©;Ý\yiG´o†áð¦öääœÛš­q’n%8¶=t’”×a÷5ç-µ&ãŸì’!ð‘1±8 ´ß=Á…1èu‘ëažhÕÔópˆ=•tÜN¹ÊË @R#kFã™ÏŸ×!8zÑÀ¡¬Å‡^‹1¾Ý¡t
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_green_tiny_down.png v3.5.13-sru/kicker/data/tiles/light_green_tiny_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_green_tiny_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_green_tiny_down.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,4 +1,6 @@
+ ‰PNG
+ 
+-
+-ˆá©„šœšœ<?¿„$'§  ”€(#@€
+\ Pas de fin de ligne à la fin du fichier
++
++
++HQ‘ÑBwãXc2Ö"ÇÝ7Õ•*3\?<$NîÉñ 7;>ɲd~cÉ»àÃÒ„…a°5
++­LT1—4Ø]žèhV–”|Tv[ËéR’?ov²ÊÞëß¿ûÃxãm'%kÙII
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_green_tiny_up.png v3.5.13-sru/kicker/data/tiles/light_green_tiny_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_green_tiny_up.png 2010-08-12 05:29:56.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_green_tiny_up.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,7 +1,4 @@
+ ‰PNG
+ 
+-
+- µW•-ò6+‹*ËLÏÌ´´²Š\
+-e.®Ý¿¿¢iÿ–¥ g§Ní¿Ö½
+-
+-ÔŸt €T—V¬YX‘•UX¸dÿÒ%íK&NÚ»KUU!@
+\ Pas de fin de ligne à la fin du fichier
++
++£mÒ©Ô<íÈŸ¾ËG›P-é’v-®ÏÊ笾®´QúØNù’…E>'
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_pastel_large_down.png v3.5.13-sru/kicker/data/tiles/light_pastel_large_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_pastel_large_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_pastel_large_down.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,12 +1,16 @@
+ ‰PNG
+ 
+-
+-
+-
+-jzb
+-B\W×7¸nÚ”`–ßÊù €LJ`ãÞ]·nºãÊ•­e¼b 
+-¦M‹ °r­²2[1-¯Æì@
+-[rׯöÎËó
+-ÈH®é¶bECɦöfó÷
+-.Ø|$84ôДµŽn¨Ø²%ºtõ„ÜÒ È®ïîhÞ¾¨ €d^&%_‹ˆˆ85eÇæ;º6TùO›617·$º¼¼¼hæ’%KŒ?C΃ûllnbÁIII×ÎM›vïøáŒÕ«WÏ^X•;iREHe÷¦M3g.7þ@ ;Ù€À=)éÈ‘#+VÜ+,<tzOÇÁ©¥¥¶ íèî
+- ‰}+Wö;Ü ÎcQººÀÜä
+\ Pas de fin de ligne à la fin du fichier
++
++ç
++àó»ÛÀ6€"›ž[Ð|¢¿}w}ã€B
++cPjÕô#—³BO¹8<Úm4ŽËÊí¶¦“b<.·ÚË‹‹'ñÖE§ÕûLÊøB÷µå›
++æ<ÒjÚûƒa;h<yû•ÓñÐbÔážï6 uÛÍ®ãUÅ=Ï.M…"ÞZ]W4Œ“xmá*€,O +îyY:bÜvŽ.”È’Óf£€â0@Y$âž49
++¸Êrx¶ßYš÷<‡à±±Ü» ÙÞÆHc6€K­¢˜x¬òXňxöÆ–Cˆ¬‚€óµ¥ž(D©Ñ »F羫ô/‰ ê8In;Xºr}ûáÞXTZ#1VE©Y’”i^± ÁÃÉñÑàA\Yr…s”
++|
++¸´…2aÔªT•¢Ñ˜‰ó`Qî›J(ŠIœÖ›QeÅÉ WUÓmê,'Œ“¹öz¥Gº^]ºyQZ®Û,I¾¶¾ÇãÓñ~fH¢ /ªJUw‚8M¸Í-j›JŒ§“:ä¾Ç
++^Xá\XÍúŸ¨bR)Á|‡[éY:=îέXÀmÛ D^Š¼4d~žù)ÏÏâ©4ë¥OKŸ–‚%
++ªÙKß|ãp8þîÿ¨~½yãÚÁýß²àðø7
++(
++àæõ§
++‰B^xîJ‹Ú
++jZà ³“ü ÑyvRº~ú€¹çþúŸXóW?îöžßÞ¾›Z
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_pastel_normal_up.png v3.5.13-sru/kicker/data/tiles/light_pastel_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_pastel_normal_up.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_pastel_normal_up.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,8 +1,10 @@
+ ‰PNG
+ 
+-
+-wíÙ³mű)û÷OÙ·oCã•`ÓžHSÿ”WvuKË’é§oü
+-@@Crpp•~ùòþËȾÔÈ”ÖÖÓÅííY³ ÀJ«ããgÄo9þ €2™B]™˜\Cõ—ûû‡……M,-Œ<ÓÚ¶wBkbkb5¤§ÏH¯Ýõ
+- €l¸¹™˜ë r—Ÿ:ef:-LªÔ-Ò®uiëÞùʼn‰ñññÕñÕÕ› ·¸ŽUqÍ=õE¿Â ÷ñ㉩‘þ@SM˜ÞY R˜žÞÙü@
+-¯  §ÖÁ¬
+-Té³Þgý÷ï
+\ Pas de fin de ligne à la fin du fichier
++
++Ýóq”§ñ0“·ÿçn'ƒÙärã¹÷ïm¯ou/³Z¸Ž»ïþÚs\
++eÒJð¨Ö¬íîvן‘@¹+3*ͤ`€t½9ðrg @кRV¤0–VÖVÄèD
++š¦ãºD]‚XõòÍç
++¯°d>GyR¯7b%âL5ƒ®Ñ…Re½ÑR:×Ú)IY’’ Ÿ’ªÒeQDÓè)e€_”Q|&LÕp&ÎDP£í¥íx¶+YúÌå[
++iA
++-æŠK³
++ÞNp}kùâÄ,Í
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_purple_normal_down.png v3.5.13-sru/kicker/data/tiles/light_purple_normal_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_purple_normal_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_purple_normal_down.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,15 +1,17 @@
+ ‰PNG
+ 
+-
+-Øw3fˆ= ñ§g7m¾ä:zú™„-©ß²åÆÁ3’ºgM™2k2Pá”ÎíÛçÍ[(ö €Ä_›yvE[Û?+Ï@ŸüI—/Ç_ïíYÛ9åкuÝÝ‹fîØ
+-³éw
+-Ÿ
+-
+-BN®X1ýP)0°VOéï_VÛ]Ð;­wÕ*ùW
+-K+cbÚb
+-
+-zŸn/ZqzÞ¼ö™3W¯^=kÙ²Úü˜MóVîY,õ
+-˜þgMYLØ óÚ·ù/yßàèh¥ó €T^g—fddxÅ…•–vL*‰]Ø”ßÔÔ‹Õ/²ô~Z29­ºÞÎJ÷+@
+-‚yó¦ßi[0½àÉÉí‹úšTÞ0om?yrÛ¶ ööNØtXXMî­¬æÑöö'OudÞ9¹©:0Iï @
+-
+-JÉÊŠÈ 3þ †ËOÞ½ûòå-€ê©7 ðúõëw@þÇoñëGÞ}øðöÛO€
+\ Pas de fin de ligne à la fin du fichier
++
++€ë‡ãbe
++V@°.Ú<jJ[UXW-
++!k­vô‹¿X­vãñ’˜Lù>í+°’¡Øw
++É•”JÊ\(€ÁMnµ¬NÊ G)tÎþªYkÅ91œM)BFÈ
++›\Ÿ?qšªâBÜï^I®USÓæÝñ
++À#R
++P&i+u ݨ®DßÑ–IUëj²³Ï¹mÖ)çKØÈUaŒ¦tNì"Š:ÅA)É‹`”% —ìÆ9[sA­S
++<
++»«qÕµd7à©¥’ÞO=¡RðgFàH ë¦;ŽSÊ„If½óüäksæJˆJÔÖÛ‰ŒI
++ŒÐÑM!…Âd'#4
++T”k¾šIÏeF»þ8,óa®ùM!~.ÃÎ>lÛµ–§ûÝ_¾úkâ&`UÕÊK±*mL!Í1,i0IU•ÑŠ
++’(æÓ¦ ¥tÞ)¹ ËJÖ>»%Øc?¯¯®E‡§ÇƒiÌŒQ2 ¦ ©ä´AÁ2Ï
++â<S1¥
++ŸÏ¼{ö“V À¸Ø#
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_purple_normal_up.png v3.5.13-sru/kicker/data/tiles/light_purple_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_purple_normal_up.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_purple_normal_up.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,6 +1,21 @@
+ ‰PNG
+ 
+-
+-'µnÛ6oÞü}ˆÍðÔÌ3KZZ;kÚ¸Ùgö]¼•{«»{feë¤k×vt,š¹c(̲Î<  ·¶m»¹ïÆ;®2n“òò&>Ÿ(y«µfSÍôé“&M*™5izsoÍ6 ág^
+-Bç×gÖ×÷ôôLŸ¾hQõ"eë×ãË«µ5ß} 6‰°°°F½Š
+-‡ÔTï‚в²ÌÆéÛº³º¦w½9<o^趋C³€°û%@
+\ Pas de fin de ligne à la fin du fichier
++
++à8išê#€]s`I €˜¼–2ûÍêÍR×q/
++5>
++S£Œ&R+¹÷GÓiÈyž<’+Þß1Ý1í¼[ÒÂ9É5ÈBâàæk>¤mß&ïì”S¬”~%X­OW Ma¼äÃƬK¬¯ÌV1HÀ‰¡”ë-€—÷_­_=è;kýãòû?»½°Ñ å3'¬k.ÄÓù¹eqþÓÙ+É[Öµ´{wùH—€NŸdFq \5Y½Í»æ
++¾B^E”ÞPEÓ‹Ú†[¥{
++öVl¥’TD
++Q èÙ^Œ2}î Á)]Šã™
++£• MRÖY
++Έ \ð¶Y>=š^6SN4ÓZ(ˆÚ­ññËÉWž #Ð(ê+ Šñçñ1#¨N1Ï9øD'7¹˜#€®Ñ¡Ä›~M‹2ÔXWŸ*}jÉíÊ[ü9î·ª!•ìÁpA•ø?Š«'‘nÛõežs!TPç=€XçSxn W¢­ n&ÓL&R@0!˜¨á
++ °ØbkÎ5çVnX駱[iB­Fil΄ýæïé:ŸÆ’Š Åoôêìg
++ÂPH'7BjZY­lÛöKñ`„PJ—l£Ÿ!¥ÜÚ¬o›jÚNy  ¥àC¦yvö•zam]lZ@˜‹–;ëÎÇñnuwñ“T¦mub]W1…bs–44Bµm£%°Ë;_gkM׳?Í~&*±ÕµÍ
++ì\¬-c­YÒîë~çŠðËík
++– mn ‰ /›š’QŠ´Ðý oLðb&S§ÛtA˺\éàÆÁM¯ÖÝàüMßïçáõýÃ<Í”÷aɽ^ݪ›ÙZjt{³¾ 9e¶ëmñ‘Æ°bŠÇĨ
++Pe´ÖK ¾ÎW$é!Ê©œ´µ¦Ùñ8Ç¥!òžÝüí¯þF
++öýþDÑÔç÷£.ÓeÓnlž–çÖÍ6%ÅMDŠµD
++†)N;T,n0bI©^©þ
++ @gÚ©¥™Ã1ƒ(j
++bˆq«¶Dw¯_¿çÓr%ÚV´
++ ?êú ‹ŒGÎ9€ÉŸã%PL-i¢”þ/gÚ¼¨††á
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/nuts_and_bolts_normal_down.png v3.5.13-sru/kicker/data/tiles/nuts_and_bolts_normal_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/nuts_and_bolts_normal_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/nuts_and_bolts_normal_down.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,18 +1,13 @@
+ ‰PNG
+ 
+-
+-rwRˆˆŒR`¿ÀÀÅÀÄÀÏ À ‘˜\\ààÃ
+-ÉIDATxœŒÍÁ
+-P’*Åå€
+-8ÛûG(^ö*øªc
+-Êõ @@gœ
+-A½Et‡‚²
+-ý€m6È Pbq [¹ÝÒæÉ…†$²»âKÛR›™ä>è®c
+-Ì‘ áPšK Œ Bwhww7¸Ñ€î:Æ
+- è­kXYr(;ˆ Ê4èŽDI% ³ð94~T_ ¶.(¶@í Zô(¶Aåuppð€
+-رÈJ7L§›&çéAbp?mFUéï
+- ”±§¿ÿ²¯…¶Q ˜cA%XáJ2Èäê–@…9(9à
+-IPKÉÃÃT$­Æ2;²Û
+- !ctyôQfôhlÑ JJ 4 ,à7üøñƒÝ]
+-iXúCÆ飃 Œ>Ú Â飄 ¡…¤——¼Âç€
+-
+\ Pas de fin de ligne à la fin du fichier
++
++Ee)ŸtÎ)<<<üàé⽨å°îTKWå|Y9dŸ)wŒ2…BῨ¥À?ç<s}碠öi§#Oˆ`T„ßõàA‡¯6œc˜ßÄ!O:/Ä
++C«¢¢ÓQ 0즛ó‚–O8ßæE¥­l±"Q"{КlºUÕ|û„s>O6„4H_”öœ};Á[P‹Çó›¿«
++Aí3NÇ0Yü`•YºYÁ!¶#ù›±ÐtAŠ&l†È#ØÂ+øÁ¸â9/xçë·;A(ìÓNgž\i’ã›ø
++mgðtP…ÉJJ¸K
++¤H…ÀÑÄù9u§!¦Ó
++I½ ‰F ÌZ$®,¹K 2¦SéÅ"ªÀ4µ”1«Ä~µž Áú˜N} /Æ©Ãõ¤—¢É½l¦Y;ÒçHÊã5$ÃØÔ‘NÏJ é¦Ûdpi%Éd|—Š屎8ä+<>ªój’@ÒO–ƒ¬e˜±Àÿ
++7ΩËë R"“Ö\NM$Sôó;{ØÆsŠ¤ÀÇÅÁhÈ”µ@õYÃZ\ÊLQ Áœc¶Až ô°ƒ}Œ2ªÔä.½ìÊwY÷Àá‰[ƒa^S(–“f9É
++C'%èã2û2Çۅ©ï»0ØVKRƒ-0†b‚"ͤ `^Qâ‚Í´²–g¡áäöô|v4]
++pëþêεՑÖn"ãL`â1N‘1&pððIÒH ëX…ÅKÍp‹>®²«ç‹öšRx—ò“½Ýß_Þ7@0‰^Ê$&"ܱ$‚Im•÷¸Â_?o·lAÁ­½õã£#ÍÔ‡jˆŽÃjïè⛤ß8péØÇɉ`f´ñ9u7xtdšÈ/ ú¸ÊžKŸ~RSšzvâ%¯ÿüßá54-VÒO†ÖÌWI;ñ”ÇYv½ûÁá7X]‘BTK%w¹ÂÞÌñöÔ¸Ž"ææQåúk¶½
++Z‚%=ñžËv÷;š.Æ1DerV®»Òý°M X<óqµ–ËΞãí—³å”Ë7É¢€7
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/nuts_and_bolts_normal_up.png v3.5.13-sru/kicker/data/tiles/nuts_and_bolts_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/nuts_and_bolts_normal_up.png 2010-08-12 05:29:59.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/nuts_and_bolts_normal_up.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,20 +1,5 @@
+ ‰PNG
+ 
+-
+-rwRˆˆŒR`¿ÀÀÅÀÄÀÏ À ™˜\\ààÃ
+-cIDATxœŒÍÁ
+-P’*Åå€
+-«²ùëìQv+È $_H9Èý‡ÔCh{k-Æœsxï ! "ÄI)‘s¦”B­•Ö½wÆ/H‹ÞXÍ9`ι×Zr»Ø(C
+-»í}C("0Æ@ïÌŒÖÚ1œ
+-:¾î>$gæóqT©I‚´§æ»«Z Ò¼žå É9p´éî3@iÀŪ:÷d抈µ¨þ¥5…è¹–&A™
+-RÊÀ
+-ÒSQQñ €ž={öXea8T-‚2¨Í ÊáèÑœy@ŽDŽnô„E7²#AéT¨ƒp[[8P“Ì¡ = j €@E¨á‹ìPPÃTwƒ‚jOA½¢Ô‘&L
+-|Pìò(ÀÐ
+-Ò—’’ò €@E6Ÿ€ª-PÚƒupÕßè›#Aé›#[[[ÁE(}‚
+-}PUìP^éKLLü@  œ @V
+-X‡/""j ÒÔ8Bw(H/(ĈÄu'
+-âƒÓÐÐ
+-uäF¶ŒƒîHXš„E7ˆ Ê@ÑÑÑàrÔÞ
+-Ü£ ÙE ŒSº9ÁÀ•ÖqjÝöDã¨IâÑ‘üí´ú3œ]™9·
+-憹9ù«$‘PÊL|×t9NmK
+-ªÊ@™ ½»Þš‡ÕRèÕ)¬lU ³@…?h\ èHx„A‡BË ,Ž¶‚ŠPY *;Aå%¨¬¬¬¬K ¢¨  
+\ Pas de fin de ligne à la fin du fichier
++
++U±‚•D” )â5Uf%ú÷ȱ›íÌ0cÛ‰ÏM®³uXD·‡Æ÷¦iµ±õÈ1 ,°Pùâ
++MWhe ¯³šZ˜voa”Klùª¯­`çR*u}èÁ'Ýv¾‚y"||3!«î}|óËnq‘¿Ùׂ…¨ãÚÏ÷÷õ°Èª¡ö9lv¬M|SŒò;Îþ4U4OÖŸìºúÓý}ËxÙÙó·VF¹Ä¶óŸÖV¨Ž wu§.ÿúÏÞ,}aØ€Û óáð7ƒ°6*’KÙyyèÎÞ×YÞ°„h¶”ÐÜä"Û‡ô¥ç\Q¿Ž*/úóìÝ=¯@âc\«}÷*âŒ>Ô>›Ä‹³r×Å¡»{´©ýär¬21«žEl9ÒW‹euû|9éIÃúÐ
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/solid_green_normal_down.png v3.5.13-sru/kicker/data/tiles/solid_green_normal_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/solid_green_normal_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/solid_green_normal_down.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,8 +1,3 @@
+ ‰PNG
+ 
+-
+-rwRˆˆŒR`¿ÀÀÅÀÄÀÏ À •˜\\ààÃ
+-±3p16ó¶°
+-´³‹rvŒw§)rŽ÷pMööÌô÷Ë «‰ WcyEeC5}SKË`;š"›PÇW·d/ õÑu‰
+-è€2¦äN/Ÿ´xjßâ‰
+-3¦äåhR'å
+\ Pas de fin de ligne à la fin du fichier
++
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/solid_green_normal_up.png v3.5.13-sru/kicker/data/tiles/solid_green_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/solid_green_normal_up.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/solid_green_normal_up.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,4 +1,4 @@
+ ‰PNG
+ 
+-
+-rwRˆˆŒR`¿ÀÀÅÀÄÀÏ À •˜\\ààÃ
+\ Pas de fin de ligne à la fin du fichier
++
++c@4  û´Ým1æ¸äBˆ%re&n‹‹€‚ïŸO׳Ýì68Íóíz}úvü1Žó³[B†f!
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/solid_pastel_normal_down.png v3.5.13-sru/kicker/data/tiles/solid_pastel_normal_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/solid_pastel_normal_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/solid_pastel_normal_down.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,11 +1,10 @@
+ ‰PNG
+ 
+-
+-iz}uwr}u]}wO‡uBXx§bv‘…u3o€-kvlŽsrt\cs…xs9urJXt‘|jXhmtmr@Er­yjEe\ÌJiÁfffyi&|e)XitWkjq]FddDVhLF_bXILV}yO$[VLzN%RV`YTDhN:ISqBQMPSVS$WM<XKA<MCN_uEML>cC.7JtlBc;%<Ch?CNGC/A[<A,1?N34L*7?333$.ÿÿÿCiâ
+-@ JïòÝÜ&MÊ?^UUµ#÷ÀÞ¦niŠpolœPVV h? ™«V­Rý
+-@@SOqqq•^¿~òƞȚÂÈ¢¾¾å]IMMS;ÀJ+šKJf–¬Wy@ ßX½ÝYXܽõ§ùø8::…‡GF꛺fz_u_u3TT̬hö–{ @ Vû9Í9YÙÂì’§õözØÌq”÷‰ôè[Õ·fiWuuIIIsIsskkÊC€
+-RÓ
+-T
+-*ˆy?333 Oh¨~˜‰âºú®® ùˆé@?U@”UÔµÖ‰¼ ±ýl¬@ëÙyøY¦…†š4
+-+ ŽæôÖ
+-AÁКÞ\·»Ná3@
+\ Pas de fin de ligne à la fin du fichier
++
++áTYM–J×"lÆÐÚ,F4ãZ.wÄÒ®WÕS¸½|»¡ 9hjØö6•X”‹“Z
++=‡—ˆéŠª+Wî«$Çí¤ÇºS7ì½4sa˜ÐõÎç/¸^y4Å@Ø+A€G$
++
++“K€
++YüÄv÷\*ú© ÃxŇwZ™Ùî‡ì.D|+Sxº70‡…s`wûˇzoÇÝ €’T„Ãwr›xÌ·6eí7
++ƒ@»@4[Vÿ€[‹?zñƒÿù €qï¿ïÞ÷©‰gÚ¥ yéž¡$ ÈGŸÌÌô
++ÀáánEËîELàê¶÷@ÏU1d.“z9“;QIÚ¾A„cGÒ^³¾w~0CwŒÝWm6f×L1Å,ÐÅ“Š}AOzÍúŠpö!æ_®‡…µÛêÿÞ{ÖmïMd÷
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/solid_pastel_normal_up.png v3.5.13-sru/kicker/data/tiles/solid_pastel_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/solid_pastel_normal_up.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/solid_pastel_normal_up.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,8 +1,16 @@
+ ‰PNG
+ 
+-
+->øR·_¾Üž³max?СÝ^8¨èV€
+-îxªà¬¼fKn‚+ÐÔ…Ó§ÖƒÖקŸ|@ 
+- R§Õ«ÿ@ ŒŒlSøEÁJ™&™Å›mÝÚ?iúòå@EKÁ‘•^^þáQÐñ/
+-ÁQU\~¬|ÿw€
+-SÂÖ¯ëz w8&fyÈØzPx9=Uû
+\ Pas de fin de ligne à la fin du fichier
++
++**T¤ª
++E¢B¨ª¨UQi ”G )" 9„N¿b{½Þ‡}ÌìÎÎÜyÞ¹sßÓ?f±¡åÓÑÕÑ=ç|ßï÷}¿ïríÚ•VG\\º}=[ÒÇvï¨\º6û;
++À²
++g%"3*ˆ‘Œ5—Cw«×³Ü—I´u™îêJŸÕjõÊzU_Ö×9
++ÀM½Þ¥Buü˜eˆ®*‘”'c’1Ú~˱ý
++2Ãé
++B·L¤Ÿ5 F™wÓ©á•îH݉Ót*ò-Ó'©¡7î7õáPŒB1Š™œ@"bx1ª!wFNõ
++ëöš/’«z@×ñn%ĸðå +wð¯ þìÑD
++‰ã7-Ô‘#ÃÙMÆpv@^#Z1$WõÎɧ¾wÿcMýð5iÖ~ô³
++  rj½v €Ýž4Ý:þ½
++"t~+äoaÈÐcy„ãï~»ñÓǹǡ²+Ë/¾2K­îŽ'$¢…Gϵ?ñäÅ/e˜pdêp3ÐÞŽ?•¿ø•J$YÊÃÛŽA² Îv-¨suBw?
++|Éî=»\6Æ8'zó:j$ršÖDV5ÎÿçÁ{§—¾Ãïžþi}ã!ql§]:jÈ[…r @ÙºHð\Ÿ’ ЌȀp ˜_=š´ 6 x>[ûèÅíãOsízÉÏò ò#ßžææµ½ˆrRÁ M/ø¹~¢ÿ ™>À,Ï=%äÞàϽo9·°T¥³¥×ÜŸýÙÚÖ¦›ïPd)¢*H±W¶ø •AÔ›þ eô¿×¿àÚ©—>=õ±ë[`ø£ïf'ïéï{ß·ž!¤³±K½þÔú–·¥w·
++“a}u°_ŠÍ숪ZÐî-@´lp@3ñ¦œýl3ñ¦°¾zš{óïÉOž §lƒù_“JjŠÜÏÞ
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/solid_purple_normal_down.png v3.5.13-sru/kicker/data/tiles/solid_purple_normal_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/solid_purple_normal_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/solid_purple_normal_down.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,5 +1,13 @@
+ ‰PNG
+ 
+-
+-ï¶n½{øÖÎÛ¦ÁÓKJ&?&ƒ®æMͳfMŸ>½|ÆôYm=Í[†+¼
+-‹‚kÚ²³ûŸl-]y~þüÎ9sÖ¬Y3cÙ²ª¬„ó×ïZ,õ
+\ Pas de fin de ligne à la fin du fichier
++
++&x)xÐÛ±‘mÅ'çGÎlÌîºY+Á©¯+J‰OÄ'
++„`Jºq@‹ÀT<цu4/›O®äÕE}]ùθ¸.V/«—_o;§3yÜïÞþnS¬C¢qÈ¿|õë/Éß?Üo§# À‚ð²ey¯ÁQ…Çd´0Ó¬‰+hV”Š­¿ÞÌAp!°)h
++ùþøºS<݉UɧDÇ|Ñm¥ßxÜqÇýC¼³0˺ÓÉEŸÏÅú™º0?™§f?e­1[û´êÚ_
++Jv`vÞú ÂII­uŒ&fB¨i»=ö/–/g£‰Ë=Ÿ7ÕêMÿÖ½"ݾýe칸˜ˆû“îÞŽw…µ½ß/ù™K˜éîEweŽ÷
++À~¾“‹zvãMyÝ
++Õ.îLîÌQ”€õÌXyUâ!oKVø >ô»
++pÆ=WŸL觬?j¿²A³ýÝáþç×í
++Àëáö© Ú;7{’ÀÆ4ÌÞ´XИ’ÿX„U-–Õ¸sÆ|#Òƒ=h…,h”R(ã%…OYR%
++º2y}'5N»/š«uÓÔÅ’MÖêh8ª1¸Si¹}Õ%¬©ÇõesÖÛ£†«xs.–ÜrH¿¬n²à¬¶GÝ-Wgi&.µ‹ÆÚp7>8ï¶Ã€ iïVÅ¥r7Þ3V}@ÿ²xÎJBQ$¬*ëV¬-\MD}jh¥Ú{Í<à³u9Ë’é@Òö¤-·ó-!2¤°·ÓûÖ¹B;ÛÏZGߪŽ‰J¢
++›ì“îv£”À0k
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/solid_purple_normal_up.png v3.5.13-sru/kicker/data/tiles/solid_purple_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/solid_purple_normal_up.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/solid_purple_normal_up.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,8 +1,18 @@
+ ‰PNG
+ 
+-
+- €xœæ÷gån^Y»±±¨hjc%È [g–Ξ=cöÞùóçoÜ·wæÌ'
+-d,P¶¬±¬lUñ¢©7Î)®¬¬<𠀘ì€>™¸yûÚâC“ WåN¬Ü òo'L™²j
+-Øwé3g|@ ¬êg6l< 䚸Y; ‡¬,Û¼ù
+-ÐÑÍS§L™:¨pJç¶móæÍßû €X OÌ>³¼µõ ³¦µ›cZÿµëY×;:f—wN9¼fMsó¢Ù;7‚Â,ýÌ#€
+-É ¯ªJ«œ¹­#½}fû›ƒóæ…o»61Ü9;^·N‘‡odH–¹±qFnnnd$0#A}ý姧·î=²¼ ½Ý:ÊzaÇ#€
+\ Pas de fin de ligne à la fin du fichier
++
++
++‘³c”:3cYò
++ÀÁŽçgG×/ïƇ•ê>òlÂübq`¶5ã¨
++:ÛpþÚ¶f^«µ‚:¤­CIr°a®yÉdÝq’zË%ŒO.çe)M¶” ÊŶ•lTCÏ/ß“ôhŽ
++Kµ`ï†ï`‡š—8¼MÛ½¢‘½”W’6Ò=v¥‘,‰ÝyÐÑFe}« €ÉLG3Ÿ—xî“¿.W>}}J5¹˜m!èéqx`™FŒœ³£±ßê75)¡€ c˜~xñÙëËWxü­å#%rÔãZ¯’µ%Ê µþHF"GwbB0“ªU%,©<@%ÙÖn˜¤™ñ><è
++ÃÞl×Í¥Oú {fr¯³-µ™’,U¹DÙÉUöfM×…PªG3Ù”–ÍEH)ÚX.äÛäHc!E
++DÚÅäb`ª¬)˲$òëã·ËRfb:¹âB
++J昮—’Ò÷÷Á}LÇaÿŸm¿ª–s6EWrs%7
++ç•u
++b{x®
++AÿÿÊÜÂPWlšÕqC$Tm
++ΊTµªóÉÛll6Å?ýòŸƒ#fžXA ¨õu·¹?\ U-CŽ¤ ­¬) ©z£9ãŠÓ9&íû­ÓmÑÖb™C 9(ª~·}#©äA°ÄAé7ï3Í‚×êf™×ÔËN­NcO@6t}Œf¼÷vo}\òÖÓ€ƒÖBÐE[§€¶nè£F9ÏL‚Ó*
++ xï¢ç(eÁ—b1¹°äŠ, {v{“ÆŽµ´`w§·iš¦Ì镺¾7ïY)–ãÁŽ³ ÙÂÙxœ«Jj7 V˜aðæÚpÖÝK^fNKK¯¥,e5øçRÒ€I³õäB^ììî'˾Ù}Ý@ßœ¾ð0nÿ‚V
++çõìW¥ô.hÚE--1D%ÊF–ÜqÆòRÜ´¥dEƒo›…NåbÙ,S&;{ŒÆ>{BAÜ£½¯HWJµŸž|Έ”p?Û‘–Šçºþ¤~¥“\!¡*YïüÄ<9cárV\Œ© èâ\[>é;BTHá`§§gîØଶÀUµa²* ÕÉ
++
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/solid_tigereye_normal_down.png v3.5.13-sru/kicker/data/tiles/solid_tigereye_normal_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/solid_tigereye_normal_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/solid_tigereye_normal_down.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,16 +1,7 @@
+ ‰PNG
+ 
+-
+-D?2K=O=B::F<&P<A;0J:A:):::L9B9$<92C7<7+K7E6H4
+- 
+- 
+- ·„!`í]_@ õÞuu-u U fÔµ´ÔBQÁy†:IU€
+-’j
+-d'—€Ã
+-@ oA¥ò@J“¡JZ’AJÖTVÖ&¦¨ÔT 5%ÁÁ%Q S!¨­­Š‰ÕU–•e¥¥¥¨Ä­ 'ƒ=ܵµå`! Êœ´øøU€
+-@`¥u°ÀJ.‚†k8Q滻ǥdž…Ù‚”P)0€škÁÆ&G!’KT`v¸»;ÈP RÓU€
+-@X"¶ *+Ë€áob¢Tédolœ¢
+-@èɔ逴±¨ÔÑ1ÚDGÇÃÃÉÉÌ ¨ €0a#ÔÔÔÙØ8ë¨Ušš™™¥¨ZÒå9ºšª*`:57ñÕQÆ¿±¡¡aŠ*@
+-RRBBB)ª
+-
+-rspp¥¨C[¸Pú&ÝYMÍÎà ŽöÀ8·°0ÖæWâååâ`efKÑ ¨Ò2 Ò#5m Y@EöÀ89~~))^¨R€
+\ Pas de fin de ligne à la fin du fichier
++
++*%&# þœ8è#ì>µ(«Sÿ÷}ÑM”ñrÚF†ÏîekT|þjÑƸ×íü¸
++ìkº·­’8ö\>{
++!FÐ×B?=&VÕ5K¨:¼^ÌZk
++Y§JÓB…X`Š Ð̳@Ó&Fˆ™E„ bÉ.À[£úÚËUš
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/solid_tigereye_normal_up.png v3.5.13-sru/kicker/data/tiles/solid_tigereye_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/solid_tigereye_normal_up.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/solid_tigereye_normal_up.png 2012-07-31 17:17:50.000000000 +0200
+@@ -1,18 +1,13 @@
+ ‰PNG
+ 
+-
+-;91F7=8*>6!G5 ?5 @4H3
+- 
+- yyyzzz{{{|||}}}~~~€€€‚‚‚ƒƒƒ„„„………†††‡‡‡ˆˆˆ‰‰‰ŠŠŠ‹‹‹ŒŒŒŽŽŽ‘‘‘’’’“““”””•••–––———˜˜˜™™™ššš›››œœœžžžŸŸŸ   ¡¡¡¢¢¢£££¤¤¤¥¥¥¦¦¦§§§¨¨¨©©©ªªª«««¬¬¬­­­®®®¯¯¯°°°±±±²²²³³³´´´µµµ¶¶¶···¸¸¸¹¹¹ººº»»»¼¼¼½½½¾¾¾¿¿¿ÀÀÀÁÁÁÂÂÂÃÃÃÄÄÄÅÅÅÆÆÆÇÇÇÈÈÈÉÉÉÊÊÊËËËÌÌÌÍÍÍÎÎÎÏÏÏÐÐÐÑÑÑÒÒÒÓÓÓÔÔÔÕÕÕÖÖÖ×××ØØØÙÙÙÚÚÚÛÛÛÜÜÜÝÝÝÞÞÞßßßàààáááâââãããäääåååæææçççèèèéééêêêëëëìììíííîîîïïïðððñññòòòóóóôôôõõõööö÷÷÷øøøùùùúúúûûûüüüýýýþþþÿÿÿASpÏ
+-?“®'È' S]€
+- ‰…––¢–···ƒ™ª @
+-’ª¼6
+-ŠZY­pkõØÌÔÜ¢\*ÈMM56öá25ÓÖð   Ð
+-
+-Rsýí•Ýøøl €©DXÎÔ €< ä€*ÍÌ<¤£--s S AJæ溨;ê+rš™jh¨ªŠØ
+-ô—0ñúJ[¦úÇçç—–——çfúëEkJó™
+-P*È*Œp±ô26w¶133°q †@S3§ðp_këT¿B¨S!Ál™êbìë 1Í €¼AåˆsxB‚ºÐW%À …+ÐÅù¶>.êÆ‘‘áVž6
+-
+-ŠINŽÍ°ðK &¬âR SÈòËóñ‰ÏÍÌLN  †po`a– ̪>ññÙ¥ùàx'î¸à,?ËÔÔØØtp¹@ Þ1¡á ÉɹY~qqq@ƒÕ–¦ÅÅYDäçç&ç$$„ûúC$HCNNjjIžmTTp~i)U€ÜZì—•̹@çú†
+-.¨
+-
+\ Pas de fin de ligne à la fin du fichier
++
++ð”^œ¸žƒ3¥6,^¶ˆ˜ò°S&Ý^ÆSÀâx˜0™ dõ—7yq ` ÅXe¬rES‘¹Ñ ÀÌ©¨É
++Àâ€Ô˜»Ê5‚I!0ÚѶõÓ ¯eŒT¤öQQÒÃE\õF^ðÏÇét××;TÚÚZ*wözàá¢zãIÇϨ€ÓÒ?]Ü® ”¸Éì•’5i;Ý_
++ÅÏ^å®rWŽ jª¬FûðþìcQV#l±Õ2»LÆ•N“nW³íýKî ðÿã Z\\ƒ^ƒ¾_©²5…â”®JWŸ"ºXR:Œ†GIJ)µº—¾Û«S¿™Sêó§gÿ´·â4OÞäR©†TgÒ‰ìòþQ<ß=©Ù+Cí´ô+/–DIR’9VÖ<Ъîæ&Ï{-¢¦A:«×’
++´Ñ±¨›o±<O~g"wV¤Y ­Ýgj8.êý£šLï­Øç®_Ê]9-kžs$¹‹%ùÜ$‘Q³WåsíH)ˆYb–ÓA
++€b!îÆX5{¬Qf”’%ïþ¶ŽÉÖÇ
++…*ï½€‘rµmuÌòúØ´Q#a^¨tŠy×öõ>€ÓBdܺ•-“6êæÀ
++<¤ÀÞõfDÐq£¿¼iÿ¸£¾)?~3Å
++€5@ E‰RÞˆpÄ¥R+€T
++
++–ð”¿ˆÆ û´Ö½wàË—•É›˜Û` ¬BKûªôê8ŠťunÝ´Þ
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/dockbar/dockbarextension.cpp v3.5.13-sru/kicker/extensions/dockbar/dockbarextension.cpp
+--- /tmp/stable//kdebase/kicker/extensions/dockbar/dockbarextension.cpp 2011-08-11 07:25:47.000000000 +0200
++++ v3.5.13-sru/kicker/extensions/dockbar/dockbarextension.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -60,7 +60,7 @@
+ kwin_module = new KWinModule(TQT_TQOBJECT(this));
+ connect( kwin_module, TQT_SIGNAL( windowAdded(WId) ), TQT_SLOT( windowAdded(WId) ) );
+ setMinimumSize(DockContainer::sz(), DockContainer::sz());
+- tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
++ setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
+ loadContainerConfig();
+ }
+
+@@ -77,7 +77,7 @@
+ if (dragging_container) delete dragging_container;
+ }
+
+-TQSize DockBarExtension::tqsizeHint(Position p, TQSize) const
++TQSize DockBarExtension::sizeHint(Position p, TQSize) const
+ {
+ if (p == Left || p == Right)
+ return TQSize(DockContainer::sz(), DockContainer::sz() * containers.count());
+@@ -335,7 +335,7 @@
+ it != containers.constEnd();
+ ++it, ++i)
+ {
+- if ((*it)->tqgeometry().contains(p))
++ if ((*it)->geometry().contains(p))
+ {
+ return i;
+ }
+@@ -350,7 +350,7 @@
+ mclic_pos = e->pos();
+ } else if (e->button() == Qt::RightButton) {
+ int pos = findContainerAtPoint(e->pos());
+- if (pos != -1) containers.tqat(pos)->popupMenu(e->globalPos());
++ if (pos != -1) containers.at(pos)->popupMenu(e->globalPos());
+ }
+ }
+
+@@ -374,7 +374,7 @@
+ int pos = findContainerAtPoint(e->pos());
+ original_container = 0;
+ if (pos > -1) {
+- original_container = containers.tqat(pos);
++ original_container = containers.at(pos);
+ mclic_dock_pos = e->pos() - original_container->pos();
+ dragged_container_original_pos = pos;
+ dragging_container = new DockContainer(original_container->command(), 0, original_container->resName(), original_container->resClass(), true);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/dockbar/dockbarextension.h v3.5.13-sru/kicker/extensions/dockbar/dockbarextension.h
+--- /tmp/stable//kdebase/kicker/extensions/dockbar/dockbarextension.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/dockbar/dockbarextension.h 2012-07-31 17:17:50.000000000 +0200
+@@ -40,7 +40,7 @@
+
+ virtual ~DockBarExtension();
+
+- TQSize tqsizeHint(Position, TQSize maxSize) const;
++ TQSize sizeHint(Position, TQSize maxSize) const;
+ Position preferedPosition() const { return Right; }
+
+ protected slots:
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasbar.cpp v3.5.13-sru/kicker/extensions/kasbar/kasbar.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasbar.cpp 2011-08-11 07:25:47.000000000 +0200
++++ v3.5.13-sru/kicker/extensions/kasbar/kasbar.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -93,7 +93,7 @@
+ rootPix( 0 ),
+ enableTint_( false ),
+ tintAmount_( 0.1 ),
+- tintColour_( tqcolorGroup().mid() ),
++ tintColour_( colorGroup().mid() ),
+ useMask_( true ),
+ res(0)
+ {
+@@ -102,7 +102,7 @@
+ setMouseTracking( true );
+ setMaxBoxes( 0 );
+
+- connect( this, TQT_SIGNAL( configChanged() ), TQT_SLOT( tqrepaint() ) );
++ connect( this, TQT_SIGNAL( configChanged() ), TQT_SLOT( repaint() ) );
+ }
+
+ KasBar::KasBar( Orientation o, KasBar *master, TQWidget *parent, const char *name, WFlags f )
+@@ -122,7 +122,7 @@
+ rootPix( 0 ),
+ enableTint_( false ),
+ tintAmount_( 0.1 ),
+- tintColour_( tqcolorGroup().mid() ),
++ tintColour_( colorGroup().mid() ),
+ useMask_( true ),
+ res(0)
+ {
+@@ -130,7 +130,7 @@
+ items.setAutoDelete( true );
+ setMouseTracking( true );
+ setMaxBoxes( 0 );
+- connect( master_, TQT_SIGNAL( configChanged() ), TQT_SLOT( tqrepaint() ) );
++ connect( master_, TQT_SIGNAL( configChanged() ), TQT_SLOT( repaint() ) );
+ }
+
+ KasBar::~KasBar()
+@@ -255,7 +255,7 @@
+ }
+
+ emit configChanged();
+- tqrepaint( true );
++ repaint( true );
+ }
+ }
+
+@@ -269,7 +269,7 @@
+ emit configChanged();
+
+ if ( rootPix->isAvailable() )
+- rootPix->tqrepaint( true );
++ rootPix->repaint( true );
+ }
+ }
+
+@@ -375,7 +375,7 @@
+ emit detachedChanged( detached );
+ }
+
+-TQSize KasBar::tqsizeHint( Orientation o, TQSize sz )
++TQSize KasBar::sizeHint( Orientation o, TQSize sz )
+ {
+ if ( o == Qt::Horizontal )
+ setBoxesPerLine( sz.width() / itemExtent() );
+@@ -414,7 +414,7 @@
+ if ( !isUpdatesEnabled() )
+ return;
+ bool updates = isUpdatesEnabled();
+- tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+
+ // This is for testing a rectangular layout
+ // boxesPerLine_ = (uint) ceil(sqrt( items.count() ));
+@@ -443,32 +443,32 @@
+ resize( sz );
+ }
+
+- tqsetUpdatesEnabled( updates );
++ setUpdatesEnabled( updates );
+
+- TQWidget *top = tqtopLevelWidget();
++ TQWidget *top = topLevelWidget();
+ TQRegion mask;
+
+ KasItem *i;
+ if ( orient == Qt::Horizontal ) {
+ for ( i = items.first(); i; i = items.next() ) {
+- int x = (items.tqat() % c) * itemExtent();
++ int x = (items.at() % c) * itemExtent();
+
+ if ( direction_ == TQBoxLayout::RightToLeft )
+ x = width() - x - itemExtent();
+
+- i->setPos( x, (items.tqat() / c) * itemExtent() );
++ i->setPos( x, (items.at() / c) * itemExtent() );
+ i->update();
+ mask = mask.unite( TQRegion( TQRect( i->pos(), TQSize(itemExtent(),itemExtent()) ) ) );
+ }
+ }
+ else {
+ for ( i = items.first(); i; i = items.next() ) {
+- int y = (items.tqat() / r) * itemExtent();
++ int y = (items.at() / r) * itemExtent();
+
+ if ( direction_ == TQBoxLayout::BottomToTop )
+ y = height() - y - itemExtent();
+
+- i->setPos( (items.tqat() % r) * itemExtent(), y );
++ i->setPos( (items.at() % r) * itemExtent(), y );
+ i->update();
+ mask = mask.unite( TQRegion( TQRect( i->pos(), TQSize(itemExtent(),itemExtent()) ) ) );
+ }
+@@ -658,7 +658,7 @@
+
+ paintBackground( &p, TQRect( pos, TQSize( itemExtent(), itemExtent() ) ) );
+ i->paint( &p, pos.x(), pos.y() );
+- tqrepaint( TQRect( pos, TQSize( itemExtent(), itemExtent() ) ), transparent_ || erase );
++ repaint( TQRect( pos, TQSize( itemExtent(), itemExtent() ) ), transparent_ || erase );
+ }
+
+ KasItem* KasBar::itemAt(const TQPoint &p)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasbarextension.cpp v3.5.13-sru/kicker/extensions/kasbar/kasbarextension.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasbarextension.cpp 2011-07-09 08:16:55.000000000 +0200
++++ v3.5.13-sru/kicker/extensions/kasbar/kasbarextension.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -141,7 +141,7 @@
+ {
+ updateGeometry();
+ resize( kasbar->size() );
+- tqrepaint( true );
++ repaint( true );
+ }
+
+ TQSize KasBarExtension::detachedSize()
+@@ -153,7 +153,7 @@
+
+ }
+
+-TQSize KasBarExtension::tqsizeHint(Position p, TQSize maxSize ) const
++TQSize KasBarExtension::sizeHint(Position p, TQSize maxSize ) const
+ {
+ Orientation o = Qt::Horizontal;
+
+@@ -167,7 +167,7 @@
+ return TQSize( 0, kasbar->itemExtent()/2 );
+ }
+
+- return kasbar->tqsizeHint( o, maxSize );
++ return kasbar->sizeHint( o, maxSize );
+ }
+
+ void KasBarExtension::positionChange( Position /* position */)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasbarextension.h v3.5.13-sru/kicker/extensions/kasbar/kasbarextension.h
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasbarextension.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/kasbar/kasbarextension.h 2012-07-31 17:17:50.000000000 +0200
+@@ -76,7 +76,7 @@
+
+ virtual ~KasBarExtension();
+
+- TQSize tqsizeHint( Position, TQSize maxSize ) const;
++ TQSize sizeHint( Position, TQSize maxSize ) const;
+ Position preferedPosition() const { return Right; }
+
+ virtual void positionChange( Position position );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasbar.h v3.5.13-sru/kicker/extensions/kasbar/kasbar.h
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasbar.h 2011-08-11 07:25:47.000000000 +0200
++++ v3.5.13-sru/kicker/extensions/kasbar/kasbar.h 2012-07-31 17:17:50.000000000 +0200
+@@ -120,7 +120,7 @@
+ void remove( KasItem *i );
+ void clear();
+ KasItem *take( KasItem *i ) { return items.take( indexOf(i) ); }
+- KasItem *itemAt( uint i ) { return items.tqat( i ); }
++ KasItem *itemAt( uint i ) { return items.at( i ); }
+ int indexOf( KasItem *i ) { return items.find( i ); }
+
+ KasItemList *itemList() { return &items; }
+@@ -152,7 +152,7 @@
+
+ bool isDrag() const { return inDrag; }
+
+- TQSize tqsizeHint( Qt::Orientation, TQSize max );
++ TQSize sizeHint( Qt::Orientation, TQSize max );
+
+ //
+ // Look and feel options
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasclockitem.cpp v3.5.13-sru/kicker/extensions/kasbar/kasclockitem.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasclockitem.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/kasbar/kasclockitem.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -45,7 +45,7 @@
+ lcd = new LCD( parent );
+ lcd->hide();
+
+- lcd->tqsetSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
++ lcd->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
+ lcd->setBackgroundMode( NoBackground );
+ lcd->setFrameStyle( TQFrame::NoFrame );
+ lcd->setSegmentStyle( TQLCDNumber::Flat );
+@@ -89,7 +89,7 @@
+
+ p->save();
+ p->translate( 3, 15 );
+- lcd->setPaletteForegroundColor( kasbar()->tqcolorGroup().mid() );
++ lcd->setPaletteForegroundColor( kasbar()->colorGroup().mid() );
+ lcd->draw( p );
+ p->restore();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasgroupitem.cpp v3.5.13-sru/kicker/extensions/kasbar/kasgroupitem.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasgroupitem.cpp 2011-07-09 08:16:55.000000000 +0200
++++ v3.5.13-sru/kicker/extensions/kasbar/kasgroupitem.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -213,7 +213,7 @@
+ int ypos = 16;
+
+ for ( int i = 0; ( i < (int) items.count() ) && ( i < microsPerCol ); i++ ) {
+- Task::Ptr t = items.tqat( i );
++ Task::Ptr t = items.at( i );
+
+ if( t->isIconified() )
+ p->drawPixmap( xpos, ypos, res->microMinIcon() );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasgroupitem.h v3.5.13-sru/kicker/extensions/kasbar/kasgroupitem.h
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasgroupitem.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/kasbar/kasgroupitem.h 2012-07-31 17:17:50.000000000 +0200
+@@ -91,7 +91,7 @@
+
+ KasTasker *kasbar() const;
+
+- Task::Ptr task( uint i ) { return items.tqat( i ); }
++ Task::Ptr task( uint i ) { return items.at( i ); }
+ int taskCount() const { return items.count(); }
+
+ TQPixmap icon();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasitem.cpp v3.5.13-sru/kicker/extensions/kasbar/kasitem.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasitem.cpp 2011-07-08 00:00:32.000000000 +0200
++++ v3.5.13-sru/kicker/extensions/kasbar/kasitem.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -301,7 +301,7 @@
+ if ( !frame )
+ return;
+
+- qDrawShadePanel(p, 0, 0, extent(), extent(), tqcolorGroup(), false, 2);
++ qDrawShadePanel(p, 0, 0, extent(), extent(), colorGroup(), false, 2);
+
+ TQPen pen;
+
+@@ -547,12 +547,12 @@
+ p->restore();
+ }
+
+-void KasItem::tqrepaint()
++void KasItem::repaint()
+ {
+- tqrepaint( true );
++ repaint( true );
+ }
+
+-void KasItem::tqrepaint( bool erase )
++void KasItem::repaint( bool erase )
+ {
+ if ( kas->isVisible() )
+ kas->repaintItem( this, erase );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasitem.h v3.5.13-sru/kicker/extensions/kasbar/kasitem.h
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasitem.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/kasbar/kasitem.h 2012-07-31 17:17:50.000000000 +0200
+@@ -171,8 +171,8 @@
+ void paintModified( TQPainter *p );
+
+ public slots:
+- void tqrepaint();
+- void tqrepaint( bool erase );
++ void repaint();
++ void repaint( bool erase );
+ void update();
+
+ void setActive( bool yes );
+@@ -218,7 +218,7 @@
+ TQFontMetrics fontMetrics() const { return kas->fontMetrics(); }
+
+ /** Gets the color group from the parent. */
+- const TQColorGroup &tqcolorGroup() const { return kas->tqcolorGroup(); }
++ const TQColorGroup &colorGroup() const { return kas->colorGroup(); }
+
+ /** Factory method that creates a popup widget for the item. */
+ virtual KasPopup *createPopup();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasloaditem.cpp v3.5.13-sru/kicker/extensions/kasbar/kasloaditem.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasloaditem.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/kasbar/kasloaditem.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -95,7 +95,7 @@
+
+ KasItem::paint( p );
+
+- TQColor light = kasbar()->tqcolorGroup().highlight();
++ TQColor light = kasbar()->colorGroup().highlight();
+ TQColor dark = light.dark();
+
+ KPixmap pix;
+@@ -103,7 +103,7 @@
+ KPixmapEffect::gradient( pix, light, dark, KPixmapEffect::DiagonalGradient );
+ p->drawPixmap( 2, extent()-2-h, pix );
+
+- p->setPen( kasbar()->tqcolorGroup().mid() );
++ p->setPen( kasbar()->colorGroup().mid() );
+ for ( double pos = 0.2 ; pos < 1.0 ; pos += 0.2 ) {
+ int ypos = (int) floor((extent()-2) - (dh*maxValue*pos));
+ p->drawLine( 2, ypos, extent()-3, ypos );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasresources.cpp v3.5.13-sru/kicker/extensions/kasbar/kasresources.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasresources.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/kasbar/kasresources.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -308,7 +308,7 @@
+ if ( actBg.isNull() ) {
+ actBg.resize( kasbar->itemExtent(), kasbar->itemExtent() );
+ KPixmapEffect::gradient( actBg,
+- kasbar->tqcolorGroup().light(), kasbar->tqcolorGroup().mid(),
++ kasbar->colorGroup().light(), kasbar->colorGroup().mid(),
+ KPixmapEffect::DiagonalGradient );
+ }
+
+@@ -320,7 +320,7 @@
+ if ( inactBg.isNull() ) {
+ inactBg.resize( kasbar->itemExtent(), kasbar->itemExtent() );
+ KPixmapEffect::gradient( inactBg,
+- kasbar->tqcolorGroup().mid(), kasbar->tqcolorGroup().dark(),
++ kasbar->colorGroup().mid(), kasbar->colorGroup().dark(),
+ KPixmapEffect::DiagonalGradient );
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kastasker.cpp v3.5.13-sru/kicker/extensions/kasbar/kastasker.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kastasker.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/kasbar/kastasker.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -315,7 +315,7 @@
+ void KasTasker::moveToMain( KasGroupItem *gi )
+ {
+ bool updates = isUpdatesEnabled();
+- tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+
+ int i = indexOf( gi );
+
+@@ -327,7 +327,7 @@
+ gi->hidePopup();
+ remove( gi );
+
+- tqsetUpdatesEnabled( updates );
++ setUpdatesEnabled( updates );
+ updateLayout();
+ }
+
+@@ -346,7 +346,7 @@
+ void KasTasker::refreshAll()
+ {
+ bool updates = isUpdatesEnabled();
+- tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+
+ clear();
+
+@@ -365,7 +365,7 @@
+ addTask( t.data() );
+ }
+
+- tqsetUpdatesEnabled( updates );
++ setUpdatesEnabled( updates );
+ updateLayout();
+ }
+
+@@ -572,7 +572,7 @@
+ }
+
+ bool updates = isUpdatesEnabled();
+- tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+
+
+ //
+@@ -653,7 +653,7 @@
+ // fillActiveBg = conf->readBoolEntry( "FillActiveIconBackground", true );
+ // enablePopup = conf->readBoolEntry( "EnablePopup", true );
+
+- tqsetUpdatesEnabled( updates );
++ setUpdatesEnabled( updates );
+ emit configChanged();
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kastaskitem.cpp v3.5.13-sru/kicker/extensions/kasbar/kastaskitem.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kastaskitem.cpp 2011-08-11 07:25:47.000000000 +0200
++++ v3.5.13-sru/kicker/extensions/kasbar/kastaskitem.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -135,7 +135,7 @@
+
+ TQPixmap thumb = task_->thumbnail();
+ TQSize sz = thumb.size();
+- sz.tqscale( sizes[kasbar()->itemSize()], sizes[kasbar()->itemSize()], TQSize::ScaleMin );
++ sz.scale( sizes[kasbar()->itemSize()], sizes[kasbar()->itemSize()], TQSize::ScaleMin );
+
+ TQImage img = thumb.convertToImage();
+ img = img.smoothScale( sz );
+@@ -173,14 +173,14 @@
+ }
+
+ bool updates = kasbar()->isUpdatesEnabled();
+- kasbar()->tqsetUpdatesEnabled( false );
++ kasbar()->setUpdatesEnabled( false );
+
+ setProgress( kasbar()->showProgress() ? 0 : -1 );
+ setText( task_->visibleIconicName() );
+ setModified( task_->isModified() );
+ setActive( task_->isActive() );
+
+- kasbar()->tqsetUpdatesEnabled( updates );
++ kasbar()->setUpdatesEnabled( updates );
+ update();
+ }
+
+@@ -422,7 +422,7 @@
+ taskprops->addColumn( i18n("Value") );
+
+ // Create List Items
+- TQMetaObject *mo = target->tqmetaObject();
++ TQMetaObject *mo = target->metaObject();
+ for ( int i = 0; i < mo->numProperties( recursive ); i++ ) {
+ const TQMetaProperty *p = mo->property(i, recursive);
+
+@@ -456,7 +456,7 @@
+ TQWidget *KasTaskItem::createX11Props( TQWidget *parent )
+ {
+ TQVBox *vb2 = new TQVBox( parent );
+- vb2->tqsetSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Preferred );
++ vb2->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Preferred );
+ vb2->setSpacing( KDialog::spacingHint() );
+ vb2->setMargin( KDialog::marginHint() );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kastaskpopup.cpp v3.5.13-sru/kicker/extensions/kasbar/kastaskpopup.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kastaskpopup.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/kasbar/kastaskpopup.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -91,7 +91,7 @@
+ }
+
+ KPixmapEffect::gradient( titleBg,
+- Qt::black, tqcolorGroup().mid(),
++ Qt::black, colorGroup().mid(),
+ KPixmapEffect::DiagonalGradient );
+
+ connect( item->task(), TQT_SIGNAL( thumbnailChanged() ), TQT_SLOT( refresh() ) );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/sidebar/sidebarextension.cpp v3.5.13-sru/kicker/extensions/sidebar/sidebarextension.cpp
+--- /tmp/stable//kdebase/kicker/extensions/sidebar/sidebarextension.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/sidebar/sidebarextension.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -94,7 +94,7 @@
+ m_currentWidth=24;
+ m_resizeHandle->hide();
+ }
+- tqtopLevelWidget()->setFixedWidth(m_currentWidth);
++ topLevelWidget()->setFixedWidth(m_currentWidth);
+ emit updateLayout();
+ }
+
+@@ -117,7 +117,7 @@
+ return true;
+ } else if (e->type()==TQEvent::MouseButtonRelease) {
+ m_resizing=false;
+- m_expandedSize=tqtopLevelWidget()->width();
++ m_expandedSize=topLevelWidget()->width();
+ needLayoutUpdate(true);
+ return true;
+ } else if (e->type()==TQEvent::MouseMove) {
+@@ -126,14 +126,14 @@
+ if (p==Left) {
+ int diff=((TQMouseEvent*)e)->globalX()-m_x;
+ if (abs(diff)>3) {
+- tqtopLevelWidget()->setFixedWidth(tqtopLevelWidget()->width()+diff);
++ topLevelWidget()->setFixedWidth(topLevelWidget()->width()+diff);
+ m_x=((TQMouseEvent*)e)->globalX();
+ }
+ } else if (p==Right) {
+ int diff=((TQMouseEvent*)e)->globalX()-m_x;
+ if (abs(diff)>3) {
+- tqtopLevelWidget()->setFixedWidth(tqtopLevelWidget()->width()-diff);
+- tqtopLevelWidget()->move(tqtopLevelWidget()->x()+diff,tqtopLevelWidget()->y());
++ topLevelWidget()->setFixedWidth(topLevelWidget()->width()-diff);
++ topLevelWidget()->move(topLevelWidget()->x()+diff,topLevelWidget()->y());
+ m_x=((TQMouseEvent*)e)->globalX();
+ }
+ }
+@@ -148,7 +148,7 @@
+ return KPanelExtension::Left;
+ }
+
+-TQSize SidebarExtension::tqsizeHint(Position, TQSize maxSize ) const
++TQSize SidebarExtension::sizeHint(Position, TQSize maxSize ) const
+ {
+ return TQSize(m_currentWidth,maxSize.height());
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/sidebar/sidebarextension.h v3.5.13-sru/kicker/extensions/sidebar/sidebarextension.h
+--- /tmp/stable//kdebase/kicker/extensions/sidebar/sidebarextension.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/sidebar/sidebarextension.h 2012-07-31 17:17:50.000000000 +0200
+@@ -36,7 +36,7 @@
+
+ virtual ~SidebarExtension();
+
+- TQSize tqsizeHint( Position, TQSize maxSize ) const;
++ TQSize sizeHint( Position, TQSize maxSize ) const;
+ Position preferedPosition() const;
+
+ virtual void positionChange( Position position );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/taskbar/taskbarextension.cpp v3.5.13-sru/kicker/extensions/taskbar/taskbarextension.cpp
+--- /tmp/stable//kdebase/kicker/extensions/taskbar/taskbarextension.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/taskbar/taskbarextension.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -123,17 +123,17 @@
+ m_container->preferences();
+ }
+
+-TQSize TaskBarExtension::tqsizeHint(Position p, TQSize maxSize) const
++TQSize TaskBarExtension::sizeHint(Position p, TQSize maxSize) const
+ {
+ if (p == Left || p == Right)
+ maxSize.setWidth(sizeInPixels());
+ else
+ maxSize.setHeight(sizeInPixels());
+
+-// kdDebug(1210) << "TaskBarExtension::tqsizeHint( Position, TQSize )" << endl;
++// kdDebug(1210) << "TaskBarExtension::sizeHint( Position, TQSize )" << endl;
+ // kdDebug(1210) << " width: " << size.width() << endl;
+ // kdDebug(1210) << "height: " << size.height() << endl;
+- return m_container->tqsizeHint(p, maxSize);
++ return m_container->sizeHint(p, maxSize);
+ }
+
+ void TaskBarExtension::configure()
+@@ -155,7 +155,7 @@
+ }
+ else
+ {
+- m_rootPixmap->tqrepaint(true);
++ m_rootPixmap->repaint(true);
+ }
+
+ double tint = double(KickerSettings::tintValue()) / 100;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/taskbar/taskbarextension.h v3.5.13-sru/kicker/extensions/taskbar/taskbarextension.h
+--- /tmp/stable//kdebase/kicker/extensions/taskbar/taskbarextension.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/taskbar/taskbarextension.h 2012-07-31 17:17:50.000000000 +0200
+@@ -49,7 +49,7 @@
+ int actions = 0, TQWidget *parent = 0, const char *name = 0 );
+ ~TaskBarExtension();
+
+- TQSize tqsizeHint( Position, TQSize maxSize ) const;
++ TQSize sizeHint( Position, TQSize maxSize ) const;
+ Position preferedPosition() const { return Bottom; }
+
+ protected:
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/buttons/browserbutton.cpp v3.5.13-sru/kicker/kicker/buttons/browserbutton.cpp
+--- /tmp/stable//kdebase/kicker/kicker/buttons/browserbutton.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/buttons/browserbutton.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -103,7 +103,7 @@
+ {
+ KURL path ( topMenu->path() );
+ _menuTimer->stop();
+- KFileItem item( path, TQString::tqfromLatin1( "inode/directory" ), KFileItem::Unknown );
++ KFileItem item( path, TQString::fromLatin1( "inode/directory" ), KFileItem::Unknown );
+ KonqOperations::doDrop( &item, path, ev, this );
+ PanelButton::dropEvent(ev);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/buttons/desktopbutton.cpp v3.5.13-sru/kicker/kicker/buttons/desktopbutton.cpp
+--- /tmp/stable//kdebase/kicker/kicker/buttons/desktopbutton.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/buttons/desktopbutton.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -77,7 +77,7 @@
+ void DesktopButton::dropEvent( TQDropEvent *ev )
+ {
+ KURL dPath ( KGlobalSettings::desktopPath() );
+- KFileItem item( dPath, TQString::tqfromLatin1( "inode/directory" ), KFileItem::Unknown );
++ KFileItem item( dPath, TQString::fromLatin1( "inode/directory" ), KFileItem::Unknown );
+ KonqOperations::doDrop( &item, dPath, ev, this );
+ PanelButton::dropEvent(ev);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/buttons/knewbutton.cpp v3.5.13-sru/kicker/kicker/buttons/knewbutton.cpp
+--- /tmp/stable//kdebase/kicker/kicker/buttons/knewbutton.cpp 2011-08-11 07:25:50.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/buttons/knewbutton.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -55,26 +55,28 @@
+ : KButton( parent ),
+ m_oldPos(0,0)
+ {
++
++ setTitle(i18n("K Menu"));
+ Q_ASSERT( !m_self );
+ m_self = this;
+- m_hoverTimer = -1;
+ m_openTimer = -1;
+- m_active = false;
++ m_hoverTimer = -1;
+ m_mouseInside = false;
+ m_drag = false;
+-
+- setIconAlignment((TQ_Alignment)(AlignTop|AlignRight));
+- setAcceptDrops(true);
+- setIcon("kmenu-suse");
+- setDrawArrow(false);
+-
+- m_movie = new TQMovie(locate("data", "kicker/pics/kmenu_basic.mng"));
+- m_movie->connectUpdate(this, TQT_SLOT(updateMovie()));
+- m_movie->connectStatus(TQT_TQOBJECT(this), TQT_SLOT(slotStatus(int)));
+- m_movie->connectResize(this, TQT_SLOT(slotSetSize(const TQSize&)));
+-
++
++ setIcon("kmenu");
++ setIcon(KickerSettings::customKMenuIcon());
++
+ TQApplication::desktop()->screen()->installEventFilter(this);
+- setMouseTracking(true);
++
++ if (KickerSettings::showKMenuText())
++ {
++ setButtonText(KickerSettings::kMenuText());
++ setFont(KickerSettings::buttonFont());
++ setTextColor(KickerSettings::buttonTextColor());
++ }
++
++ repaint();
+ }
+
+ KNewButton::~KNewButton()
+@@ -82,28 +84,15 @@
+ if ( m_self == this )
+ m_self = 0;
+ setMouseTracking(false);
+- delete m_movie;
+ }
+
+-void KNewButton::slotStatus(int status)
+-{
+- if(status == TQMovie::EndOfLoop)
+- slotStopAnimation();
+-}
+
+-TQColor KNewButton::borderColor() const
++void KNewButton::drawButton(TQPainter *p)
+ {
+- TQImage img = m_active_pixmap.convertToImage();
+-
+- for (int i = 0; i < img.width(); ++i) {
+- QRgb rgb = img.pixel(orientation() == Qt::Horizontal ? img.width() - i - 1 :
+- i, 2);
+-
+- if (tqGreen(rgb) > 0x50)
+- return rgb;
+- }
+-
+- return img.pixel( orientation() == Qt::Horizontal ? img.width() - 2 : 2, 2);
++ if (KickerSettings::showDeepButtons())
++ PanelPopupButton::drawDeepButton(p);
++ else
++ PanelPopupButton::drawButton(p);
+ }
+
+ void KNewButton::show()
+@@ -111,103 +100,12 @@
+ KButton::show();
+
+ if (KickerSettings::firstRun()) {
+- TQTimer::singleShot(500,this,TQT_SLOT(slotExecMenu()));
++ TQTimer::singleShot(0,this,TQT_SLOT(slotExecMenu()));
+ KickerSettings::setFirstRun(false);
+ KickerSettings::writeConfig();
+ }
+ }
+
+-void KNewButton::updateMovie()
+-{
+- m_oldPos = TQPoint( -1, -1 );
+- drawEye();
+-
+- if (!m_active && m_movie->running())
+- m_movie->pause();
+-}
+-
+-void KNewButton::setPopupDirection(KPanelApplet::Direction d)
+-{
+- KButton::setPopupDirection(d);
+-
+- delete m_movie;
+-
+- switch (d) {
+- case KPanelApplet::Left:
+- setIconAlignment((TQ_Alignment)(AlignTop|AlignLeft));
+- m_movie = new TQMovie(locate("data", "kicker/pics/kmenu_vertical.mng"));
+- break;
+- case KPanelApplet::Right:
+- setIconAlignment((TQ_Alignment)(AlignTop|AlignRight));
+- m_movie = new TQMovie(locate("data", "kicker/pics/kmenu_vertical.mng"));
+- break;
+- case KPanelApplet::Up:
+- setIconAlignment((TQ_Alignment)(AlignTop|AlignHCenter));
+- m_movie = new TQMovie(locate("data", "kicker/pics/kmenu_basic.mng"));
+- break;
+- case KPanelApplet::Down:
+- setIconAlignment((TQ_Alignment)(AlignBottom|AlignHCenter));
+- m_movie = new TQMovie(locate("data", "kicker/pics/kmenu_flipped.mng"));
+- }
+-
+- m_movie->connectUpdate(this, TQT_SLOT(updateMovie()));
+- m_movie->connectStatus(TQT_TQOBJECT(this), TQT_SLOT(slotStatus(int)));
+- m_movie->connectResize(this, TQT_SLOT(slotSetSize(const TQSize&)));
+-}
+-
+-void KNewButton::slotSetSize(const TQSize& s)
+-{
+- m_iconSize = s;
+-}
+-
+-double KNewButton::buttonScaleFactor(const TQSize& s) const
+-{
+- double sf = 1.0;
+-
+- switch (popupDirection()) {
+- case KPanelApplet::Left:
+- case KPanelApplet::Right:
+-// sf = kMin(double(s.width()) / m_iconSize.height(), double(s.height()) / m_iconSize.width());
+-// break;
+- case KPanelApplet::Up:
+- case KPanelApplet::Down:
+- sf = kMin(double(s.width()) / m_iconSize.width(), double(s.height()) / m_iconSize.height());
+- break;
+- }
+-
+- if (sf > 0.8) sf = 1.0;
+- return sf;
+-}
+-
+-int KNewButton::widthForHeight(int height) const
+-{
+- int r = m_iconSize.width() * buttonScaleFactor(TQSize(m_iconSize.width(), height));
+-
+- if (!m_movie->running() && height != m_active_pixmap.height())
+- {
+- KNewButton* that = const_cast<KNewButton*>(this);
+- TQTimer::singleShot(0, that, TQT_SLOT(slotStopAnimation()));
+- }
+-
+- return r;
+-}
+-
+-int KNewButton::preferredDimension(int panelDim) const
+-{
+- return kMax(m_icon.width(), m_icon.height());
+-}
+-
+-int KNewButton::heightForWidth(int width) const
+-{
+- int r = m_iconSize.width() * buttonScaleFactor(TQSize(width, m_iconSize.height()));
+- if (!m_movie->running() && width != m_active_pixmap.width())
+- {
+- KNewButton* that = const_cast<KNewButton*>(this);
+- TQTimer::singleShot(0, that, TQT_SLOT(slotStopAnimation()));
+- }
+- return r;
+-}
+-
+ bool KNewButton::eventFilter(TQObject *o, TQEvent *e)
+ {
+ if (e->type() == TQEvent::MouseButtonRelease ||
+@@ -223,75 +121,9 @@
+ }
+ }
+
+- if (KickerSettings::kickoffDrawGeekoEye() && e->type() == TQEvent::MouseMove)
+- {
+- TQMouseEvent *me = TQT_TQMOUSEEVENT(e);
+- if ((me->state() & Qt::MouseButtonMask) == Qt::NoButton)
+- drawEye();
+- }
+-
+ return KButton::eventFilter(o, e);
+ }
+
+-void KNewButton::drawEye()
+-{
+-#define eye_x 62
+-#define eye_y 13
+- TQPoint mouse = TQCursor::pos();
+- TQPoint me = mapToGlobal(TQPoint(eye_x, eye_y));
+- double a = atan2(mouse.y() - me.y(), mouse.x() - me.x());
+- int dx = int(2.1 * cos(a));
+- int dy = int(2.1 * sin(a));
+-
+- TQPoint newpos(eye_x+dx,eye_y+dy);
+- if (newpos!=m_oldPos) {
+- m_oldPos = newpos;
+- TQPixmap pixmap = m_active_pixmap;
+-
+- double sf = 1.0;
+-
+- if(!m_movie->framePixmap().isNull())
+- {
+- pixmap = m_movie->framePixmap();
+- pixmap.detach();
+- m_iconSize = pixmap.size();
+- sf = buttonScaleFactor(size());
+-
+- if (KickerSettings::kickoffDrawGeekoEye()) {
+- TQPainter p(&pixmap);
+- p.setPen(white);
+- p.setBrush(white);
+- // p.setPen(TQColor(110,185,55));
+- p.drawRect(eye_x+dx, eye_y+dy, 2, 2);
+- p. end();
+- }
+- }
+-
+- TQWMatrix matrix;
+- switch (popupDirection()) {
+- case KPanelApplet::Left:
+- matrix.scale(sf, -sf);
+- matrix.rotate(90);
+- break;
+- case KPanelApplet::Up:
+- matrix.scale(sf, sf);
+- break;
+- case KPanelApplet::Right:
+- matrix.scale(sf, -sf);
+- matrix.rotate(90);
+- break;
+- case KPanelApplet::Down:
+- matrix.scale(sf, sf);
+- break;
+- }
+- m_active_pixmap = pixmap.xForm(matrix);
+-
+- tqrepaint(false);
+- }
+-#undef eye_x
+-#undef eye_y
+-}
+-
+ void KNewButton::enterEvent(TQEvent* e)
+ {
+ KButton::enterEvent(e);
+@@ -315,15 +147,8 @@
+ }
+
+ m_active = true;
+- m_movie->unpause();
+- m_movie->restart();
+ }
+
+-void KNewButton::rewindMovie()
+-{
+- m_oldPos = TQPoint( -1, -1 );
+- m_movie->unpause();
+-}
+
+ void KNewButton::dragEnterEvent(TQDragEnterEvent* /*e*/)
+ {
+@@ -369,31 +194,12 @@
+ }
+ }
+
+-void KNewButton::slotStopAnimation()
+-{
+- m_active = false;
+- m_movie->pause();
+- m_movie->restart();
+- TQTimer::singleShot(200, this, TQT_SLOT(rewindMovie()));
+-}
+-
+-const TQPixmap& KNewButton::labelIcon() const
+-{
+- return m_active_pixmap;
+-}
+-
+ void KNewButton::slotExecMenu()
+ {
+- if (m_openTimer != -1)
+- killTimer(m_openTimer);
+-
+- m_openTimer = startTimer(TQApplication::doubleClickInterval() * 3);
+
+ if (m_active)
+ {
+ m_active = false;
+- m_movie->pause();
+- m_movie->restart();
+ }
+
+ KButton::slotExecMenu();
+@@ -401,40 +207,12 @@
+ assert(!KickerTip::tippingEnabled());
+ assert(dynamic_cast<KMenu*>(m_popup));
+
+- disconnect(dynamic_cast<KMenu*>(m_popup), TQT_SIGNAL(aboutToHide()), this,
+- TQT_SLOT(slotStopAnimation()));
+- connect(dynamic_cast<KMenu*>(m_popup), TQT_SIGNAL(aboutToHide()),
+- TQT_SLOT(slotStopAnimation()));
+-
+ m_popup->move(KickerLib::popupPosition(popupDirection(), m_popup, this));
+ // I wish KMenu would properly done itself when it closes. But it doesn't.
+
+- bool useEffect = true; // could be TQApplication::isEffectEnabled()
+- useEffect = false; // too many TQt bugs to be useful
+- if (m_drag)
+- useEffect = false;
+-
+ m_drag = false; // once is enough
+
+- if (useEffect)
+- {
+- switch (popupDirection()) {
+- case KPanelApplet::Left:
+- qScrollEffect(m_popup, TQEffects::LeftScroll);
+- break;
+- case KPanelApplet::Up:
+- qScrollEffect(m_popup, TQEffects::UpScroll);
+- break;
+- case KPanelApplet::Right:
+- qScrollEffect(m_popup, TQEffects::RightScroll);
+- break;
+- case KPanelApplet::Down:
+- qScrollEffect(m_popup, TQEffects::DownScroll);
+- break;
+- }
+- }
+- else
+- static_cast<KMenu*>(m_popup)->show();
++ static_cast<KMenu*>(m_popup)->show();
+ }
+
+ void KNewButton::timerEvent(TQTimerEvent* e)
+@@ -447,9 +225,4 @@
+ killTimer(m_hoverTimer);
+ m_hoverTimer = -1;
+ }
+- if (e->timerId() == m_openTimer)
+- {
+- killTimer(m_openTimer);
+- m_openTimer = -1;
+- }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/buttons/knewbutton.h v3.5.13-sru/kicker/kicker/buttons/knewbutton.h
+--- /tmp/stable//kdebase/kicker/kicker/buttons/knewbutton.h 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/buttons/knewbutton.h 2012-07-31 17:17:50.000000000 +0200
+@@ -28,7 +28,6 @@
+
+ #include "kbutton.h"
+
+-#include <tqmovie.h>
+ #include <tqpoint.h>
+
+ /**
+@@ -43,25 +42,10 @@
+ ~KNewButton();
+
+ static KNewButton *self() { return m_self; }
+-
+ void loadConfig( const KConfigGroup& config );
+-
+- virtual const TQPixmap& labelIcon() const;
+-
+- virtual int widthForHeight(int height) const;
+- virtual int preferredDimension(int panelDim) const;
+- virtual int heightForWidth(int width) const;
+-
+ TQColor borderColor() const;
++ //virtual void setPopupDirection(KPanelApplet::Direction d);
+
+- virtual void setPopupDirection(KPanelApplet::Direction d);
+-
+-private slots:
+- void slotStatus(int);
+- void slotSetSize(const TQSize&);
+- void slotStopAnimation();
+- void rewindMovie();
+- void updateMovie();
+
+ protected:
+ virtual void show();
+@@ -78,17 +62,15 @@
+ void timerEvent(TQTimerEvent*);
+
+ private:
+- void drawEye();
+- double buttonScaleFactor(const TQSize& s) const;
+
+- TQMovie* m_movie;
++ void drawButton(TQPainter *p);
+ TQPixmap m_active_pixmap;
+ TQPoint m_oldPos;
+ TQSize m_iconSize;
+ TQRect m_sloppyRegion;
+- int m_hoverTimer;
+ int m_openTimer;
+- bool m_active;
++ int m_hoverTimer;
++ bool m_active;
+ bool m_mouseInside;
+ bool m_drag;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/applethandle.cpp v3.5.13-sru/kicker/kicker/core/applethandle.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/applethandle.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/applethandle.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -75,14 +75,14 @@
+
+ int AppletHandle::heightForWidth( int /* w */ ) const
+ {
+- int size = tqstyle().tqpixelMetric(TQStyle::PM_DockWindowHandleExtent, this);
++ int size = style().pixelMetric(TQStyle::PM_DockWindowHandleExtent, this);
+
+ return size;
+ }
+
+ int AppletHandle::widthForHeight( int /* h */ ) const
+ {
+- int size = tqstyle().tqpixelMetric(TQStyle::PM_DockWindowHandleExtent, this);
++ int size = style().pixelMetric(TQStyle::PM_DockWindowHandleExtent, this);
+
+ return size;
+ }
+@@ -269,7 +269,7 @@
+ {
+ if (!m_handleHoverTimer ||
+ (m_menuButton && m_menuButton->isOn()) ||
+- m_applet->tqgeometry().contains(m_applet->mapToParent(
++ m_applet->geometry().contains(m_applet->mapToParent(
+ m_applet->mapFromGlobal(TQCursor::pos()))))
+ {
+ return;
+@@ -282,7 +282,7 @@
+
+ bool AppletHandle::onMenuButton(const TQPoint& point) const
+ {
+- return m_menuButton && (tqchildAt(mapFromGlobal(point)) == m_menuButton);
++ return m_menuButton && (childAt(mapFromGlobal(point)) == m_menuButton);
+ }
+
+ void AppletHandle::toggleMenuButtonOff()
+@@ -308,9 +308,9 @@
+ setBackgroundOrigin( AncestorOrigin );
+ }
+
+-TQSize AppletHandleDrag::tqminimumSizeHint() const
++TQSize AppletHandleDrag::minimumSizeHint() const
+ {
+- int wh = tqstyle().tqpixelMetric(TQStyle::PM_DockWindowHandleExtent, this);
++ int wh = style().pixelMetric(TQStyle::PM_DockWindowHandleExtent, this);
+
+ if (m_parent->orientation() == Qt::Horizontal)
+ {
+@@ -367,8 +367,8 @@
+
+ TQRect r = rect();
+
+- tqstyle().tqdrawPrimitive(TQStyle::PE_DockWindowHandle, &p, r,
+- tqcolorGroup(), flags);
++ style().tqdrawPrimitive(TQStyle::PE_DockWindowHandle, &p, r,
++ colorGroup(), flags);
+ }
+ else
+ {
+@@ -382,9 +382,9 @@
+ {
+ }
+
+-TQSize AppletHandleButton::tqminimumSizeHint() const
++TQSize AppletHandleButton::minimumSizeHint() const
+ {
+- int height = tqstyle().tqpixelMetric(TQStyle::PM_DockWindowHandleExtent, this);
++ int height = style().pixelMetric(TQStyle::PM_DockWindowHandleExtent, this);
+ int width = height;
+
+ if (m_parent->orientation() == Qt::Horizontal)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/applethandle.h v3.5.13-sru/kicker/kicker/core/applethandle.h
+--- /tmp/stable//kdebase/kicker/kicker/core/applethandle.h 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/applethandle.h 2012-07-31 17:17:50.000000000 +0200
+@@ -92,9 +92,9 @@
+ public:
+ AppletHandleDrag(AppletHandle* parent);
+
+- TQSize tqminimumSizeHint() const;
+- TQSize tqminimumSize() const { return tqminimumSizeHint(); }
+- TQSize tqsizeHint() const { return tqminimumSize(); }
++ TQSize minimumSizeHint() const;
++ TQSize minimumSize() const { return minimumSizeHint(); }
++ TQSize sizeHint() const { return minimumSize(); }
+ TQSizePolicy sizePolicy() const;
+
+ protected:
+@@ -113,9 +113,9 @@
+
+ public:
+ AppletHandleButton(AppletHandle *parent);
+- TQSize tqminimumSizeHint() const;
+- TQSize tqminimumSize() const { return tqminimumSizeHint(); }
+- TQSize tqsizeHint() const { return tqminimumSize(); }
++ TQSize minimumSizeHint() const;
++ TQSize minimumSize() const { return minimumSizeHint(); }
++ TQSize sizeHint() const { return minimumSize(); }
+ TQSizePolicy sizePolicy() const;
+
+ private:
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/container_applet.cpp v3.5.13-sru/kicker/kicker/core/container_applet.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/container_applet.cpp 2011-07-09 08:16:55.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/container_applet.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -117,7 +117,7 @@
+ _valid = true;
+
+ _applet->setPosition((KPanelApplet::Position)KickerLib::directionToPosition(popupDirection()));
+- _applet->tqsetAlignment((KPanelApplet::Alignment)tqalignment());
++ _applet->setAlignment((KPanelApplet::Alignment)alignment());
+
+ _actions = _applet->actions();
+ _type = _applet->type();
+@@ -275,14 +275,14 @@
+
+ void AppletContainer::activateWindow()
+ {
+- KWin::forceActiveWindow(tqtopLevelWidget()->winId());
++ KWin::forceActiveWindow(topLevelWidget()->winId());
+ }
+
+ void AppletContainer::focusRequested(bool focus)
+ {
+ if (focus)
+ {
+- KWin::forceActiveWindow(tqtopLevelWidget()->winId());
++ KWin::forceActiveWindow(topLevelWidget()->winId());
+ }
+
+ emit maintainFocus(focus);
+@@ -361,7 +361,7 @@
+ return;
+ }
+
+- _applet->tqsetAlignment( (KPanelApplet::Alignment)a );
++ _applet->setAlignment( (KPanelApplet::Alignment)a );
+ }
+
+ int AppletContainer::widthForHeight(int h) const
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/containerarea.cpp v3.5.13-sru/kicker/kicker/core/containerarea.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/containerarea.cpp 2011-08-26 01:00:16.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/containerarea.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -1430,7 +1430,7 @@
+
+ if (KickerSettings::transparent() &&
+ (KickerSettings::menubarPanelTransparent() ||
+- !ExtensionManager::the()->isMenuBar(tqtopLevelWidget())))
++ !ExtensionManager::the()->isMenuBar(topLevelWidget())))
+ {
+ if (!_rootPixmap)
+ {
+@@ -1441,7 +1441,7 @@
+ }
+ else
+ {
+- _rootPixmap->tqrepaint(true);
++ _rootPixmap->repaint(true);
+ }
+
+ double tint = double(KickerSettings::tintValue()) / 100;
+@@ -1639,7 +1639,7 @@
+
+ void ContainerArea::updateBackground( const TQPixmap& pm )
+ {
+- TQBrush bgBrush(tqcolorGroup().background(), pm);
++ TQBrush bgBrush(colorGroup().background(), pm);
+ TQPalette pal = kapp->palette();
+ pal.setBrush(TQColorGroup::Background, bgBrush);
+ setPalette(pal);
+@@ -1725,16 +1725,16 @@
+ setBackground();
+
+ // container extension repaints for us!
+- //tqrepaint();
++ //repaint();
+ }
+
+-void ContainerArea::tqsetAlignment(KPanelExtension::Alignment a)
++void ContainerArea::setAlignment(KPanelExtension::Alignment a)
+ {
+ for (BaseContainer::ConstIterator it = m_containers.begin();
+ it != m_containers.end();
+ ++it)
+ {
+- (*it)->tqsetAlignment(a);
++ (*it)->setAlignment(a);
+ }
+ }
+
+@@ -1900,9 +1900,9 @@
+ return m_layout->listItems();
+ }
+
+-void ContainerArea::tqrepaint()
++void ContainerArea::repaint()
+ {
+- Panner::tqrepaint();
++ Panner::repaint();
+ }
+
+ void ContainerArea::showAddAppletDialog()
+@@ -1958,8 +1958,8 @@
+ {
+ TQPainter painter(this);
+ TQRect rect(0, 0, width(), height());
+- tqstyle().tqdrawPrimitive( TQStyle::PE_FocusRect, &painter, rect, tqcolorGroup(),
+- TQStyle::Style_Default, tqcolorGroup().base() );
++ style().tqdrawPrimitive( TQStyle::PE_FocusRect, &painter, rect, colorGroup(),
++ TQStyle::Style_Default, colorGroup().base() );
+ }
+
+ void DragIndicator::mousePressEvent(TQMouseEvent*)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/containerarea.h v3.5.13-sru/kicker/kicker/core/containerarea.h
+--- /tmp/stable//kdebase/kicker/kicker/core/containerarea.h 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/containerarea.h 2012-07-31 17:17:50.000000000 +0200
+@@ -101,9 +101,9 @@
+ void removeContainers(BaseContainer::List containers);
+ void takeContainer(BaseContainer* a);
+ void setPosition(KPanelExtension::Position p);
+- void tqsetAlignment(KPanelExtension::Alignment a);
++ void setAlignment(KPanelExtension::Alignment a);
+ void slotSaveContainerConfig();
+- void tqrepaint();
++ void repaint();
+ void showAddAppletDialog();
+ void addAppletDialogDone();
+
+@@ -153,7 +153,7 @@
+ KConfig* _config;
+ DragIndicator* _dragIndicator;
+ BaseContainer* _dragMoveAC;
+- QPoint _dragMoveOffset;
++ TQPoint _dragMoveOffset;
+ TQPopupMenu* m_opMenu;
+ KRootPixmap* _rootPixmap;
+ bool _transparent;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/containerarealayout.cpp v3.5.13-sru/kicker/kicker/core/containerarealayout.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/containerarealayout.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/containerarealayout.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -43,7 +43,7 @@
+
+ TQLayoutItem* current()
+ {
+- return m_idx < int(m_list->count()) ? (*m_list->tqat(m_idx))->item : 0;
++ return m_idx < int(m_list->count()) ? (*m_list->at(m_idx))->item : 0;
+ }
+
+ TQLayoutItem* next()
+@@ -55,7 +55,7 @@
+ TQLayoutItem* takeCurrent()
+ {
+ TQLayoutItem* item = 0;
+- ContainerAreaLayout::ItemList::iterator b = m_list->tqat(m_idx);
++ ContainerAreaLayout::ItemList::iterator b = m_list->at(m_idx);
+ if (b != m_list->end())
+ {
+ ContainerAreaLayoutItem* layoutItem = *b;
+@@ -81,7 +81,7 @@
+ }
+ else
+ {
+- return item->tqsizeHint().height();
++ return item->sizeHint().height();
+ }
+ }
+
+@@ -94,7 +94,7 @@
+ }
+ else
+ {
+- return item->tqsizeHint().width();
++ return item->sizeHint().width();
+ }
+ }
+
+@@ -223,7 +223,7 @@
+ \reimp
+ */
+ TQLayoutItem* ContainerAreaLayout::itemAt(int index) const {
+- return index >= 0 && index < m_items.count() ? (*m_items.tqat(index))->item : 0;
++ return index >= 0 && index < m_items.count() ? (*m_items.at(index))->item : 0;
+ }
+
+ /*!
+@@ -232,8 +232,8 @@
+ TQLayoutItem* ContainerAreaLayout::takeAt(int index) {
+ if (index < 0 || index >= m_items.count())
+ return 0;
+- ContainerAreaLayoutItem *b = *m_items.tqat(index);
+- m_items.remove(m_items.tqat(index));
++ ContainerAreaLayoutItem *b = *m_items.at(index);
++ m_items.remove(m_items.at(index));
+ TQLayoutItem *item = b->item;
+ b->item = 0;
+ delete b;
+@@ -243,7 +243,7 @@
+ }
+ #endif // USE_QT4
+
+-void ContainerAreaLayout::addItem(QLayoutItem* item)
++void ContainerAreaLayout::addItem(TQLayoutItem* item)
+ {
+ m_items.append(new ContainerAreaLayoutItem(static_cast<TQLayoutItem*>(item), this));
+ }
+@@ -415,7 +415,7 @@
+ return m_items[index]->item->widget();
+ }
+
+-TQSize ContainerAreaLayout::tqsizeHint() const
++TQSize ContainerAreaLayout::sizeHint() const
+ {
+ const int size = KickerLib::sizeValue(KPanelExtension::SizeSmall);
+
+@@ -429,7 +429,7 @@
+ }
+ }
+
+-TQSize ContainerAreaLayout::tqminimumSize() const
++TQSize ContainerAreaLayout::minimumSize() const
+ {
+ const int size = KickerLib::sizeValue(KPanelExtension::SizeTiny);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/containerarealayout.h v3.5.13-sru/kicker/kicker/core/containerarealayout.h
+--- /tmp/stable//kdebase/kicker/kicker/core/containerarealayout.h 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/containerarealayout.h 2012-07-31 17:17:50.000000000 +0200
+@@ -79,12 +79,12 @@
+
+ ContainerAreaLayout(TQWidget* parent);
+
+- void addItem(QLayoutItem* item);
++ void addItem(TQLayoutItem* item);
+ void insertIntoFreeSpace(TQWidget* item, TQPoint insertionPoint);
+ TQStringList listItems() const;
+ TQWidget* widgetAt(int index) const;
+- TQSize tqsizeHint() const;
+- TQSize tqminimumSize() const;
++ TQSize sizeHint() const;
++ TQSize minimumSize() const;
+ TQLayoutIterator iterator();
+ void setGeometry(const TQRect& rect);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/container_base.cpp v3.5.13-sru/kicker/kicker/core/container_base.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/container_base.cpp 2011-07-09 08:16:55.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/container_base.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -38,7 +38,7 @@
+ : TQWidget( parent, name )
+ , _dir(KPanelApplet::Up)
+ , _orient(Qt::Horizontal)
+- , _tqalignment(KPanelExtension::LeftTop)
++ , _alignment(KPanelExtension::LeftTop)
+ , _fspace(0)
+ , _moveOffset(TQPoint(0,0))
+ , _aid(TQString::null)
+@@ -110,14 +110,14 @@
+ config->sync();
+ }
+
+-void BaseContainer::tqsetAlignment(KPanelExtension::Alignment a)
++void BaseContainer::setAlignment(KPanelExtension::Alignment a)
+ {
+- if (_tqalignment == a)
++ if (_alignment == a)
+ {
+ return;
+ }
+
+- _tqalignment = a;
++ _alignment = a;
+ alignmentChange(a);
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/container_base.h v3.5.13-sru/kicker/kicker/core/container_base.h
+--- /tmp/stable//kdebase/kicker/kicker/core/container_base.h 2011-07-09 08:16:55.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/container_base.h 2012-07-31 17:17:50.000000000 +0200
+@@ -73,7 +73,7 @@
+
+ KPanelApplet::Direction popupDirection() const { return _dir; }
+ KPanelExtension::Orientation orientation() const { return _orient; }
+- KPanelExtension::Alignment tqalignment() const { return _tqalignment; }
++ KPanelExtension::Alignment alignment() const { return _alignment; }
+
+ virtual void setBackground() {}
+
+@@ -97,7 +97,7 @@
+ virtual void setPopupDirection(KPanelApplet::Direction d) { _dir = d; }
+ virtual void setOrientation(KPanelExtension::Orientation o) { _orient = o; }
+
+- void tqsetAlignment(KPanelExtension::Alignment a);
++ void setAlignment(KPanelExtension::Alignment a);
+
+ signals:
+ void removeme(BaseContainer*);
+@@ -118,7 +118,7 @@
+
+ KPanelApplet::Direction _dir;
+ KPanelExtension::Orientation _orient;
+- KPanelExtension::Alignment _tqalignment;
++ KPanelExtension::Alignment _alignment;
+ double _fspace;
+ TQPoint _moveOffset;
+ TQString _aid;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/container_extension.cpp v3.5.13-sru/kicker/kicker/core/container_extension.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/container_extension.cpp 2011-09-01 16:50:23.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/container_extension.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -224,7 +224,7 @@
+ {
+ }
+
+-TQSize ExtensionContainer::tqsizeHint(KPanelExtension::Position p, const TQSize &maxSize) const
++TQSize ExtensionContainer::sizeHint(KPanelExtension::Position p, const TQSize &maxSize) const
+ {
+ int width = 0;
+ int height = 0;
+@@ -284,7 +284,7 @@
+
+ if (m_extension)
+ {
+- size = m_extension->tqsizeHint(p, maxSize - size) + size;
++ size = m_extension->sizeHint(p, maxSize - size) + size;
+ }
+
+ return size.boundedTo(maxSize);
+@@ -315,7 +315,7 @@
+ }
+
+ positionChange(position());
+- alignmentChange(tqalignment());
++ alignmentChange(alignment());
+ setSize(static_cast<KPanelExtension::Size>(m_settings.size()),
+ m_settings.customSize());
+
+@@ -510,7 +510,7 @@
+ // on other parameters this can lead to Bad Things(tm)
+ //
+ // we need to find a way to do this that doesn't result in
+- // tqsizeHint's getting called on the extension =/
++ // sizeHint's getting called on the extension =/
+ //
+ // or else we need to change the semantics for applets so that
+ // they don't get their "you're changing position" signals through
+@@ -523,7 +523,7 @@
+ }
+
+ UserRectSel::PanelStrut newStrut = UserRectSel::select(rects, rect().center(), m_highlightColor);
+- arrange(newStrut.m_pos, newStrut.m_tqalignment, newStrut.m_screen);
++ arrange(newStrut.m_pos, newStrut.m_alignment, newStrut.m_screen);
+
+ _is_lmb_down = false;
+
+@@ -578,7 +578,7 @@
+ KickerTip::enableTipping(true);
+ TQPoint globalPos = TQCursor::pos();
+ TQPoint localPos = mapFromGlobal(globalPos);
+- TQWidget* child = tqchildAt(localPos);
++ TQWidget* child = childAt(localPos);
+
+ if (child)
+ {
+@@ -788,7 +788,7 @@
+ blockUserInput(true);
+
+ TQPoint oldpos = pos();
+- TQRect newextent = initialGeometry( position(), tqalignment(), xineramaScreen(), hide, Unhidden );
++ TQRect newextent = initialGeometry( position(), alignment(), xineramaScreen(), hide, Unhidden );
+ TQPoint newpos = newextent.topLeft();
+
+ if (hide)
+@@ -900,7 +900,7 @@
+ }
+
+ TQPoint oldpos = pos();
+- TQRect newextent = initialGeometry(position(), tqalignment(), xineramaScreen(), false, newState);
++ TQRect newextent = initialGeometry(position(), alignment(), xineramaScreen(), false, newState);
+ TQPoint newpos(newextent.topLeft());
+
+ if (newState != Unhidden)
+@@ -987,7 +987,7 @@
+ return !m_extension || m_extension->reserveStrut();
+ }
+
+-KPanelExtension::Alignment ExtensionContainer::tqalignment() const
++KPanelExtension::Alignment ExtensionContainer::alignment() const
+ {
+ // KConfigXT really needs to get support for vars that are enums that
+ // are defined in other classes
+@@ -1005,7 +1005,7 @@
+ int w = 0;
+ int h = 0;
+
+- TQRect geom = initialGeometry(position(), tqalignment(), xineramaScreen());
++ TQRect geom = initialGeometry(position(), alignment(), xineramaScreen());
+ TQRect virtRect(TQApplication::desktop()->geometry());
+ TQRect screenRect(TQApplication::desktop()->screenGeometry(xineramaScreen()));
+
+@@ -1378,7 +1378,7 @@
+ {
+ KConfig *config = KGlobal::config();
+ config->setGroup("WM");
+- TQColor color = TQApplication::tqpalette().active().highlight();
++ TQColor color = TQApplication::palette().active().highlight();
+ m_highlightColor = config->readColorEntry("activeBackground", &color);
+ update();
+ }
+@@ -1408,11 +1408,11 @@
+ // KPanelExtension::Left/Right don't seem to draw the separators at all!
+ if (position() == KPanelExtension::Left) {
+ rect = TQRect(width()-2,0,PANEL_RESIZE_HANDLE_WIDTH,height());
+- tqstyle().tqdrawPrimitive( TQStyle::PE_Separator, &p, rect, tqcolorGroup(), TQStyle::Style_Horizontal );
++ style().tqdrawPrimitive( TQStyle::PE_Separator, &p, rect, colorGroup(), TQStyle::Style_Horizontal );
+ }
+ else if (position() == KPanelExtension::Right) {
+ rect = TQRect(0,0,PANEL_RESIZE_HANDLE_WIDTH,height());
+- tqstyle().tqdrawPrimitive( TQStyle::PE_Separator, &p, rect, tqcolorGroup(), TQStyle::Style_Horizontal );
++ style().tqdrawPrimitive( TQStyle::PE_Separator, &p, rect, colorGroup(), TQStyle::Style_Horizontal );
+ }
+ else if (position() == KPanelExtension::Top) {
+ // Nastiness to both vertically flip the PE_Separator
+@@ -1420,14 +1420,14 @@
+ TQPixmap inv_pm(width(),PANEL_RESIZE_HANDLE_WIDTH);
+ TQPainter myp(TQT_TQPAINTDEVICE(&inv_pm));
+ rect = TQRect(0,0,width(),PANEL_RESIZE_HANDLE_WIDTH);
+- TQColorGroup darkcg = tqcolorGroup();
+- darkcg.setColor(TQColorGroup::Light, tqcolorGroup().dark());
+- tqstyle().tqdrawPrimitive( TQStyle::PE_Separator, &myp, rect, darkcg, TQStyle::Style_Default );
++ TQColorGroup darkcg = colorGroup();
++ darkcg.setColor(TQColorGroup::Light, colorGroup().dark());
++ style().tqdrawPrimitive( TQStyle::PE_Separator, &myp, rect, darkcg, TQStyle::Style_Default );
+ p.drawPixmap(0,height()-2,inv_pm);
+ }
+ else {
+ rect = TQRect(0,0,width(),PANEL_RESIZE_HANDLE_WIDTH);
+- tqstyle().tqdrawPrimitive( TQStyle::PE_Separator, &p, rect, tqcolorGroup(), TQStyle::Style_Default );
++ style().tqdrawPrimitive( TQStyle::PE_Separator, &p, rect, colorGroup(), TQStyle::Style_Default );
+ }
+ }
+ }
+@@ -1444,7 +1444,7 @@
+ return;
+ }
+
+- m_extension->tqsetAlignment(a);
++ m_extension->setAlignment(a);
+ }
+
+ void ExtensionContainer::setSize(KPanelExtension::Size size, int custom)
+@@ -1551,7 +1551,7 @@
+ if (a != m_settings.alignment())
+ {
+ m_settings.setAlignment(a);
+- tqsetAlignment(a);
++ setAlignment(a);
+ }
+
+ if (XineramaScreen != xineramaScreen())
+@@ -1590,7 +1590,7 @@
+
+ void ExtensionContainer::resetLayout()
+ {
+- TQRect g = initialGeometry(position(), tqalignment(), xineramaScreen(),
++ TQRect g = initialGeometry(position(), alignment(), xineramaScreen(),
+ autoHidden(), userHidden());
+
+ // Disable the layout while we rearrange the panel.
+@@ -1777,7 +1777,7 @@
+ ", " << workArea.topLeft().y() << ") to (" << workArea.bottomRight().x() <<
+ ", " << workArea.bottomRight().y() << ")" << endl;*/
+
+- TQSize hint = tqsizeHint(p, workArea.size()).boundedTo(workArea.size());
++ TQSize hint = sizeHint(p, workArea.size()).boundedTo(workArea.size());
+ int width = 0;
+ int height = 0;
+
+@@ -1997,12 +1997,12 @@
+ return;
+ }
+
+- arrange(position(),tqalignment(), screen);
++ arrange(position(),alignment(), screen);
+ }
+
+ TQRect ExtensionContainer::currentGeometry() const
+ {
+- return initialGeometry(position(), tqalignment(), xineramaScreen(),
++ return initialGeometry(position(), alignment(), xineramaScreen(),
+ autoHidden(), userHidden());
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/container_extension.h v3.5.13-sru/kicker/kicker/core/container_extension.h
+--- /tmp/stable//kdebase/kicker/kicker/core/container_extension.h 2011-08-06 00:56:46.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/container_extension.h 2012-07-31 17:17:50.000000000 +0200
+@@ -66,7 +66,7 @@
+ TQWidget *parent = 0);
+ virtual ~ExtensionContainer();
+
+- virtual TQSize tqsizeHint(KPanelExtension::Position, const TQSize &maxSize) const;
++ virtual TQSize sizeHint(KPanelExtension::Position, const TQSize &maxSize) const;
+
+ const AppletInfo& info() const { return _info; }
+
+@@ -86,7 +86,7 @@
+
+ KPanelExtension::Orientation orientation() const;
+ KPanelExtension::Position position() const;
+- void setPosition(KPanelExtension::Position p) { arrange( p, tqalignment(), xineramaScreen() ); }
++ void setPosition(KPanelExtension::Position p) { arrange( p, alignment(), xineramaScreen() ); }
+
+ int xineramaScreen() const;
+ void setXineramaScreen(int screen);
+@@ -100,8 +100,8 @@
+ void unhideIfHidden(int showForHowManyMS = 0);
+ bool reserveStrut() const;
+
+- KPanelExtension::Alignment tqalignment() const;
+- void tqsetAlignment(KPanelExtension::Alignment a) { arrange( position(), a, xineramaScreen() ); }
++ KPanelExtension::Alignment alignment() const;
++ void setAlignment(KPanelExtension::Alignment a) { arrange( position(), a, xineramaScreen() ); }
+
+ TQRect currentGeometry() const;
+ TQRect initialGeometry(KPanelExtension::Position p, KPanelExtension::Alignment a,
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/extensionmanager.cpp v3.5.13-sru/kicker/kicker/core/extensionmanager.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/extensionmanager.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/extensionmanager.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -371,7 +371,7 @@
+ KMenuBar tmpmenu;
+ tmpmenu.insertItem("KDE Rocks!");
+ m_menubarPanel->setSize(KPanelExtension::SizeCustom,
+- tmpmenu.tqsizeHint().height());
++ tmpmenu.sizeHint().height());
+ m_menubarPanel->writeConfig();
+
+ emit desktopIconsAreaChanged(desktopIconsArea(m_menubarPanel->xineramaScreen()),
+@@ -702,7 +702,7 @@
+ return;
+ }
+
+- TQRect geom = extension->initialGeometry(extension->position(), extension->tqalignment(),
++ TQRect geom = extension->initialGeometry(extension->position(), extension->alignment(),
+ extension->xineramaScreen());
+
+ // reduce given area (TQRect) to the space not covered by the given extension
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/extensionSettings.kcfg v3.5.13-sru/kicker/kicker/core/extensionSettings.kcfg
+--- /tmp/stable//kdebase/kicker/kicker/core/extensionSettings.kcfg 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/extensionSettings.kcfg 2012-07-31 17:17:50.000000000 +0200
+@@ -30,7 +30,7 @@
+
+ <entry name="XineramaScreen" type="Int">
+ <label>Primary xinerama screen</label>
+- <default code="true">QApplication::desktop()->primaryScreen()</default>
++ <default code="true">TQApplication::desktop()->primaryScreen()</default>
+ </entry>
+
+ <entry name="HideButtonSize" type="Int" >
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/kicker.cpp v3.5.13-sru/kicker/kicker/core/kicker.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/kicker.cpp 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/kicker.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -199,7 +199,7 @@
+ {
+ KConfigGroup c(KGlobal::config(), "General");
+ KickerSettings::setTintColor(c.readColorEntry("TintColor",
+- &tqpalette().active().mid()));
++ &palette().active().mid()));
+ KickerSettings::self()->writeConfig();
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/kmenubase.ui v3.5.13-sru/kicker/kicker/core/kmenubase.ui
+--- /tmp/stable//kdebase/kicker/kicker/core/kmenubase.ui 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/kmenubase.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -55,13 +55,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>52</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>52</height>
+@@ -129,13 +129,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>32</width>
+ <height>32</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>32</height>
+@@ -165,7 +165,7 @@
+ <property name="sizeType">
+ <enum>Preferred</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+@@ -222,7 +222,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>10</width>
+ <height>20</height>
+@@ -241,7 +241,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>90</width>
+ <height>24</height>
+@@ -270,7 +270,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>14</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/menumanager.cpp v3.5.13-sru/kicker/kicker/core/menumanager.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/menumanager.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/menumanager.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -156,8 +156,8 @@
+ r = desktop->geometry();
+ else
+ r = desktop->screenGeometry(desktop->screenNumber(TQCursor::pos()));
+- // kMenu->rect() is not valid before showing, use tqsizeHint()
+- p = r.center() - TQRect( TQPoint( 0, 0 ), m_kmenu->tqsizeHint()).center();
++ // kMenu->rect() is not valid before showing, use sizeHint()
++ p = r.center() - TQRect( TQPoint( 0, 0 ), m_kmenu->sizeHint()).center();
+ m_kmenu->popup(p);
+
+ // when the cursor is in the area where the menu pops up,
+@@ -170,8 +170,8 @@
+ {
+ // We need the kmenu's size to place it at the right position.
+ // We cannot rely on the popup menu's current size(), if it wasn't
+- // shown before, so we resize it here according to its tqsizeHint().
+- const TQSize size = m_kmenu->tqsizeHint();
++ // shown before, so we resize it here according to its sizeHint().
++ const TQSize size = m_kmenu->sizeHint();
+ m_kmenu->resize(size.width(),size.height());
+
+ PanelPopupButton* button = findKButtonFor(m_kmenu->widget());
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/panelextension.cpp v3.5.13-sru/kicker/kicker/core/panelextension.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/panelextension.cpp 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/panelextension.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -100,7 +100,7 @@
+ {
+ _containerArea->show();
+
+- if (ExtensionManager::the()->isMainPanel(tqtopLevelWidget()))
++ if (ExtensionManager::the()->isMainPanel(topLevelWidget()))
+ {
+ setObjId("Panel");
+ _containerArea->initialize(true);
+@@ -139,7 +139,7 @@
+ _containerArea->setPosition(p);
+ }
+
+-TQSize PanelExtension::tqsizeHint(Position p, TQSize maxSize) const
++TQSize PanelExtension::sizeHint(Position p, TQSize maxSize) const
+ {
+ TQSize size;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/panelextension.h v3.5.13-sru/kicker/kicker/core/panelextension.h
+--- /tmp/stable//kdebase/kicker/kicker/core/panelextension.h 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/panelextension.h 2012-07-31 17:17:50.000000000 +0200
+@@ -80,7 +80,7 @@
+ void configure(); // KDE4: remove, moved to Kikcker
+
+ public:
+- TQSize tqsizeHint(Position, TQSize maxSize) const;
++ TQSize sizeHint(Position, TQSize maxSize) const;
+ Position preferedPosition() const { return Bottom; }
+ bool eventFilter( TQObject *, TQEvent * );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/userrectsel.h v3.5.13-sru/kicker/kicker/core/userrectsel.h
+--- /tmp/stable//kdebase/kicker/kicker/core/userrectsel.h 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/userrectsel.h 2012-07-31 17:17:50.000000000 +0200
+@@ -43,17 +43,17 @@
+ PanelStrut()
+ : m_screen(-1),
+ m_pos(KPanelExtension::Bottom),
+- m_tqalignment(KPanelExtension::LeftTop)
++ m_alignment(KPanelExtension::LeftTop)
+ {
+ }
+
+ PanelStrut(const TQRect& rect, int XineramaScreen,
+ KPanelExtension::Position pos,
+- KPanelExtension::Alignment tqalignment)
++ KPanelExtension::Alignment alignment)
+ : m_rect(rect),
+ m_screen(XineramaScreen),
+ m_pos(pos),
+- m_tqalignment(tqalignment)
++ m_alignment(alignment)
+ {
+ }
+
+@@ -61,7 +61,7 @@
+ {
+ return m_screen == rhs.m_screen &&
+ m_pos == rhs.m_pos &&
+- m_tqalignment == rhs.m_tqalignment;
++ m_alignment == rhs.m_alignment;
+ }
+
+ bool operator!=(const PanelStrut& rhs)
+@@ -72,7 +72,7 @@
+ TQRect m_rect;
+ int m_screen;
+ KPanelExtension::Position m_pos;
+- KPanelExtension::Alignment m_tqalignment;
++ KPanelExtension::Alignment m_alignment;
+ };
+
+ typedef TQValueVector<PanelStrut> RectList;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/plugins/beaglesearch.cpp v3.5.13-sru/kicker/kicker/plugins/beaglesearch.cpp
+--- /tmp/stable//kdebase/kicker/kicker/plugins/beaglesearch.cpp 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/plugins/beaglesearch.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -347,7 +347,7 @@
+ //kdDebug () << "datetime string:" << timestring << endl;
+ // FIXME: error check timestring format
+ if (timestring.isNull () || timestring.stripWhiteSpace () == "" || timestring.length() != 8 )
+- return beagle_timestamp_new_from_unix_time (TQDateTime::tqcurrentDateTime ().toTime_t ());
++ return beagle_timestamp_new_from_unix_time (TQDateTime::currentDateTime ().toTime_t ());
+ //TQDateTime dt = TQDateTime::fromString (timestring, Qt::ISODate);
+ struct tm tm_time;
+ time_t timet_time;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/addapplet.cpp v3.5.13-sru/kicker/kicker/ui/addapplet.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/addapplet.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/addapplet.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -291,7 +291,7 @@
+ {
+ m_appletBox->layout()->activate();
+ w = v->visibleWidth();
+- h = m_appletBox->tqlayout()->tqminimumSize().height();
++ h = m_appletBox->layout()->minimumSize().height();
+ v->resizeContents(w, QMAX(h, v->visibleHeight()));
+ if (w == m_appletBox->width() && h == m_appletBox->height())
+ break;
+@@ -456,7 +456,7 @@
+ if (appletContainer)
+ {
+ ExtensionContainer* ec =
+- dynamic_cast<ExtensionContainer*>(m_containerArea->tqtopLevelWidget());
++ dynamic_cast<ExtensionContainer*>(m_containerArea->topLevelWidget());
+
+ if (ec)
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/addappletvisualfeedback.cpp v3.5.13-sru/kicker/kicker/ui/addappletvisualfeedback.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/addappletvisualfeedback.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/addappletvisualfeedback.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -157,7 +157,7 @@
+ // draw background
+ TQPainter bufferPainter(&m_pixmap);
+ bufferPainter.setPen(Qt::black);
+- bufferPainter.setBrush(tqcolorGroup().background());
++ bufferPainter.setBrush(colorGroup().background());
+ bufferPainter.drawRoundRect(0, 0, width, height,
+ 1600 / width, 1600 / height);
+
+@@ -175,14 +175,14 @@
+ int textY = (height - textRect.height()) / 2;
+
+ // draw text shadow
+- TQColorGroup cg = tqcolorGroup();
++ TQColorGroup cg = colorGroup();
+ cg.setColor(TQColorGroup::Text, cg.background().dark(115));
+ int shadowOffset = TQApplication::reverseLayout() ? -1 : 1;
+ m_richText->draw(&bufferPainter, 5 + textX + shadowOffset,
+ textY + 1, TQRect(), cg);
+
+ // draw text
+- cg = tqcolorGroup();
++ cg = colorGroup();
+ m_richText->draw(&bufferPainter, 5 + textX, textY, rect(), cg);
+ }
+ }
+@@ -225,7 +225,7 @@
+ void AddAppletVisualFeedback::internalUpdate()
+ {
+ m_dirty = true;
+- tqrepaint(false);
++ repaint(false);
+ }
+
+ #include "addappletvisualfeedback.moc"
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/appletitem.ui v3.5.13-sru/kicker/kicker/ui/appletitem.ui
+--- /tmp/stable//kdebase/kicker/kicker/ui/appletitem.ui 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/appletitem.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -20,13 +20,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>80</height>
+@@ -65,7 +65,7 @@
+ <property name="textFormat">
+ <enum>RichText</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop</set>
+ </property>
+ </widget>
+@@ -87,7 +87,7 @@
+ <property name="textFormat">
+ <enum>RichText</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop</set>
+ </property>
+ </widget>
+@@ -105,7 +105,7 @@
+ <property name="name">
+ <cstring>itemPixmap</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>64</width>
+ <height>64</height>
+@@ -117,7 +117,7 @@
+ <property name="text">
+ <string></string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignTop</set>
+ </property>
+ </widget>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/appletop_mnu.cpp v3.5.13-sru/kicker/kicker/ui/appletop_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/appletop_mnu.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/appletop_mnu.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -52,7 +52,7 @@
+ TQString text = isButton ? (isMenu ? i18n("&Move %1 Menu") :
+ i18n("&Move %1 Button")) :
+ i18n("&Move %1");
+- insertItem(SmallIcon("move"), text.tqarg(titleText), Move);
++ insertItem(SmallIcon("move"), text.arg(titleText), Move);
+
+ // we look for a container area to see if we can add containers
+ // this is part of the kiosk support in kicker, allowing
+@@ -76,7 +76,7 @@
+ text = isButton ? (isMenu ? i18n("&Remove %1 Menu") :
+ i18n("&Remove %1 Button")) :
+ i18n("&Remove %1");
+- insertItem(SmallIcon("remove"), text.tqarg(titleText), Remove);
++ insertItem(SmallIcon("remove"), text.arg(titleText), Remove);
+ needSeparator = true;
+ }
+ }
+@@ -103,7 +103,7 @@
+ KIcon::Small, 0,
+ KIcon::DefaultState,
+ 0, true));
+- insertItem(iconPix, i18n("&About %1").tqarg( titleText ), About);
++ insertItem(iconPix, i18n("&About %1").arg( titleText ), About);
+ needSeparator = !(actions & KPanelApplet::Help);
+ }
+
+@@ -123,12 +123,12 @@
+ if (isButton)
+ {
+ insertItem(SmallIcon("configure"),
+- i18n("&Configure %1 Button...").tqarg(titleText), Preferences);
++ i18n("&Configure %1 Button...").arg(titleText), Preferences);
+ }
+ else
+ {
+ insertItem(SmallIcon("configure"),
+- i18n("&Configure %1...").tqarg(titleText), Preferences);
++ i18n("&Configure %1...").arg(titleText), Preferences);
+ }
+ needSeparator = true;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/appletview.ui v3.5.13-sru/kicker/kicker/ui/appletview.ui
+--- /tmp/stable//kdebase/kicker/kicker/ui/appletview.ui 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/appletview.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -110,7 +110,7 @@
+ <verstretch>1</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+@@ -141,7 +141,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>284</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/browser_mnu.cpp v3.5.13-sru/kicker/kicker/ui/browser_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/browser_mnu.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/browser_mnu.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -429,7 +429,7 @@
+ void PanelBrowserMenu::dropEvent( TQDropEvent *ev )
+ {
+ KURL u( path() );
+- KFileItem item( u, TQString::tqfromLatin1( "inode/directory" ), KFileItem::Unknown );
++ KFileItem item( u, TQString::fromLatin1( "inode/directory" ), KFileItem::Unknown );
+ KonqOperations::doDrop( &item, u, ev, this );
+ KPanelMenu::dropEvent(ev);
+ // ### TODO: Update list
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/clicklineedit.cpp v3.5.13-sru/kicker/kicker/ui/clicklineedit.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/clicklineedit.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/clicklineedit.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -39,13 +39,13 @@
+ void ClickLineEdit::setClickMessage( const TQString &msg )
+ {
+ mClickMessage = msg;
+- tqrepaint();
++ repaint();
+ }
+
+ void ClickLineEdit::setText( const TQString &txt )
+ {
+ mDrawClickMsg = txt.isEmpty();
+- tqrepaint();
++ repaint();
+ KLineEdit::setText( txt );
+ }
+
+@@ -67,7 +67,7 @@
+ if ( mDrawClickMsg == true )
+ {
+ mDrawClickMsg = false;
+- tqrepaint();
++ repaint();
+ }
+ TQLineEdit::focusInEvent( ev );
+ }
+@@ -77,7 +77,7 @@
+ if ( text().isEmpty() )
+ {
+ mDrawClickMsg = true;
+- tqrepaint();
++ repaint();
+ }
+ TQLineEdit::focusOutEvent( ev );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/client_mnu.cpp v3.5.13-sru/kicker/kicker/ui/client_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/client_mnu.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/client_mnu.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -59,7 +59,7 @@
+ TQCString KickerClientMenu::insertMenu( TQPixmap icon, TQString text, int id )
+ {
+ TQString subname("%1-submenu%2");
+- TQCString subid = subname.tqarg(static_cast<const char *>(objId())).tqarg(id).local8Bit();
++ TQCString subid = subname.arg(static_cast<const char *>(objId())).arg(id).local8Bit();
+ KickerClientMenu *sub = new KickerClientMenu(this, subid);
+ int globalid = TQPopupMenu::insertItem( icon, text, sub, id);
+ setItemParameter( globalid, id );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/exe_dlg.cpp v3.5.13-sru/kicker/kicker/ui/exe_dlg.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/exe_dlg.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/exe_dlg.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -78,8 +78,8 @@
+ this, TQT_SLOT(slotIconChanged(TQString)));
+
+ // leave decent space for the commandline
+- resize(tqsizeHint().width() > 300 ? tqsizeHint().width() : 300,
+- tqsizeHint().height());
++ resize(sizeHint().width() > 300 ? sizeHint().width() : 300,
++ sizeHint().height());
+ }
+
+ void PanelExeDialog::slotOk()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/extensionop_mnu.cpp v3.5.13-sru/kicker/kicker/ui/extensionop_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/extensionop_mnu.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/extensionop_mnu.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -59,7 +59,7 @@
+
+ if (!Kicker::the()->isImmutable() && (actions & KPanelExtension::Preferences)) {
+ insertSeparator();
+- insertItem(SmallIcon("configure"), i18n("&Configure %1...").tqarg(extension), Preferences);
++ insertItem(SmallIcon("configure"), i18n("&Configure %1...").arg(extension), Preferences);
+ }
+
+ adjustSize();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/flipscrollview.cpp v3.5.13-sru/kicker/kicker/ui/flipscrollview.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/flipscrollview.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/flipscrollview.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -57,7 +57,7 @@
+ {
+ TQColor gray( 230, 230, 230 );
+ if ( mouse_inside )
+- p->fillRect( 3, 3, width() - 6, height() - 6, tqcolorGroup().color( TQColorGroup::Highlight ) );
++ p->fillRect( 3, 3, width() - 6, height() - 6, colorGroup().color( TQColorGroup::Highlight ) );
+ else
+ p->fillRect( 3, 3, width() - 6, height() - 6, gray );
+ p->setPen( gray.dark(110) );
+@@ -270,7 +270,7 @@
+ if (!mSelectMenuPath.isEmpty()) {
+ if (mSelectMenuPath=="kicker:/goup/") {
+ currentView()->setSelected(currentView()->firstChild(),true);
+- currentView()->firstChild()->tqrepaint();
++ currentView()->firstChild()->repaint();
+ }
+ else {
+ TQListViewItem * child = currentView()->firstChild();
+@@ -278,8 +278,8 @@
+ KMenuItem* kitem = dynamic_cast<KMenuItem*>(child);
+ if (kitem && kitem->menuPath()==mSelectMenuPath) {
+ currentView()->setSelected(child,true);
+- kdDebug() << "child tqrepaint\n";
+- child->tqrepaint();
++ kdDebug() << "child repaint\n";
++ child->repaint();
+ break;
+ }
+ child = child->nextSibling();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/hidebutton.cpp v3.5.13-sru/kicker/kicker/ui/hidebutton.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/hidebutton.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/hidebutton.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -51,22 +51,22 @@
+ {
+ if (m_arrow == Qt::LeftArrow)
+ {
+- p->setPen(tqcolorGroup().mid());
++ p->setPen(colorGroup().mid());
+ p->drawLine(width()-1, 0, width()-1, height());
+ }
+ else if (m_arrow == Qt::RightArrow)
+ {
+- p->setPen(tqcolorGroup().mid());
++ p->setPen(colorGroup().mid());
+ p->drawLine(0, 0, 0, height());
+ }
+ else if (m_arrow == Qt::UpArrow)
+ {
+- p->setPen(tqcolorGroup().mid());
++ p->setPen(colorGroup().mid());
+ p->drawLine(0, height()-1, width(), height()-1);
+ }
+ else if (m_arrow == Qt::DownArrow)
+ {
+- p->setPen(tqcolorGroup().mid());
++ p->setPen(colorGroup().mid());
+ p->drawLine(0, 0, width(), 0);
+ }
+
+@@ -173,14 +173,14 @@
+ }
+
+ generateIcons();
+- tqrepaint(false);
++ repaint(false);
+ }
+
+ void HideButton::enterEvent(TQEvent *e)
+ {
+ m_highlight = true;
+
+- tqrepaint(false);
++ repaint(false);
+ TQButton::enterEvent(e);
+ }
+
+@@ -188,7 +188,7 @@
+ {
+ m_highlight = false;
+
+- tqrepaint(false);
++ repaint(false);
+ TQButton::enterEvent(e);
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/itemview.cpp v3.5.13-sru/kicker/kicker/ui/itemview.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/itemview.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/itemview.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -145,7 +145,7 @@
+ void KMenuItem::setHasChildren( bool flag )
+ {
+ m_has_children = flag;
+- tqrepaint();
++ repaint();
+ }
+
+ void KMenuItem::setup()
+@@ -166,7 +166,7 @@
+ void KMenuItem::paintCell(TQPainter* p, const TQColorGroup & cg, int column, int width, int align)
+ {
+ ItemView *listview = static_cast<ItemView*>( listView() );
+- int bottom = listView()->tqitemRect( this ).bottom();
++ int bottom = listView()->itemRect( this ).bottom();
+ int diff = bottom - listView()->viewport()->height();
+
+ KPixmap pm;
+@@ -197,7 +197,7 @@
+ else
+ listview->m_lastOne = static_cast<KMenuItem*>( itemBelow() );
+ listview->m_old_contentY = -1;
+- tqrepaint();
++ repaint();
+ }
+ }
+ }
+@@ -350,7 +350,7 @@
+ {
+ // the listview caches paint events
+ m_old_width = width;
+- tqrepaint();
++ repaint();
+ }
+ }
+
+@@ -608,7 +608,7 @@
+ if ( item->toolTip().isNull() )
+ return;
+
+- TQRect r = view->tqitemRect( item );
++ TQRect r = view->itemRect( item );
+ int headerPos = view->header()->sectionPos( 0 );
+ r.setLeft( headerPos );
+ r.setRight( headerPos + view->header()->sectionSize( 0 ) );
+@@ -915,7 +915,7 @@
+ KMenuItemSeparator *si = dynamic_cast<KMenuItemSeparator*>( itemAt( vp ) );
+ if ( si )
+ {
+- if ( si->hitsLink( vp - tqitemRect(si).topLeft() ) )
++ if ( si->hitsLink( vp - itemRect(si).topLeft() ) )
+ emit startURL( si->linkUrl() );
+ }
+ }
+@@ -928,7 +928,7 @@
+ bool link_cursor = false;
+ KMenuItemSeparator *si = dynamic_cast<KMenuItemSeparator*>( i );
+ if ( si )
+- link_cursor = si->hitsLink( vp - tqitemRect(si).topLeft() );
++ link_cursor = si->hitsLink( vp - itemRect(si).topLeft() );
+
+ if (i && !i->isSelectable() && !link_cursor) {
+ unsetCursor();
+@@ -965,7 +965,7 @@
+ {
+ KListView::resizeEvent( e );
+ // if ( m_lastOne )
+-// int diff = tqitemRect( m_lastOne ).bottom() - viewport()->height();
++// int diff = itemRect( m_lastOne ).bottom() - viewport()->height();
+ }
+
+ void ItemView::viewportPaintEvent ( TQPaintEvent * pe )
+@@ -975,7 +975,7 @@
+
+ if ( m_lastOne && m_old_contentY != contentsY() ) {
+ m_old_contentY = contentsY();
+- m_lastOne->tqrepaint();
++ m_lastOne->repaint();
+ }
+ }
+
+@@ -1052,7 +1052,7 @@
+ else if(!kitem->path().isEmpty() && !kitem->path().startsWith("kicker:/") && !kitem->path().startsWith("kaddressbook:/")) {
+ TQString uri = kitem->path();
+
+- if (uri.startsWith(locateLocal("data", TQString::tqfromLatin1("RecentDocuments/")))) {
++ if (uri.startsWith(locateLocal("data", TQString::fromLatin1("RecentDocuments/")))) {
+ KDesktopFile df(uri,true);
+ uri=df.readURL();
+ }
+@@ -1103,7 +1103,7 @@
+ return 0;
+ }
+
+-TQByteArray KMenuItemDrag::tqencodedData(const char* mimeType) const
++TQByteArray KMenuItemDrag::encodedData(const char* mimeType) const
+ {
+ if (TQString("application/kmenuitem") == mimeType)
+ return a;
+@@ -1138,7 +1138,7 @@
+
+ bool KMenuItemDrag::decode(const TQMimeSource* e, KMenuItemInfo& item)
+ {
+- TQByteArray a = e->tqencodedData("application/kmenuitem");
++ TQByteArray a = e->encodedData("application/kmenuitem");
+
+ if (a.isEmpty()) {
+ TQStringList l;
+@@ -1211,7 +1211,7 @@
+
+ TQString uri = item.m_path;
+
+- if (uri.startsWith(locateLocal("data", TQString::tqfromLatin1("RecentDocuments/")))) {
++ if (uri.startsWith(locateLocal("data", TQString::fromLatin1("RecentDocuments/")))) {
+ KDesktopFile df(uri,true);
+ uri=df.readURL();
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/itemview.h v3.5.13-sru/kicker/kicker/ui/itemview.h
+--- /tmp/stable//kdebase/kicker/kicker/ui/itemview.h 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/itemview.h 2012-07-31 17:17:50.000000000 +0200
+@@ -248,7 +248,7 @@
+ ~KMenuItemDrag();
+
+ virtual const char * format(int i = 0) const;
+- virtual TQByteArray tqencodedData(const char *) const;
++ virtual TQByteArray encodedData(const char *) const;
+
+ static bool canDecode(const TQMimeSource * e);
+ static bool decode(const TQMimeSource* e, KMenuItemInfo& item);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/kickoff_bar.cpp v3.5.13-sru/kicker/kicker/ui/kickoff_bar.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/kickoff_bar.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/kickoff_bar.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -58,8 +58,8 @@
+ //selection flags
+ if(t->rect().contains(mapFromGlobal(TQCursor::pos())))
+ flags |= TQStyle::Style_MouseOver;
+- tqstyle().tqdrawControl( TQStyle::CE_TabBarTab, p, this, t->rect(),
+- tqcolorGroup(), flags, TQStyleOption(t) );
++ style().drawControl( TQStyle::CE_TabBarTab, p, this, t->rect(),
++ colorGroup(), flags, TQStyleOption(t) );
+
+ paintLabel( p, t->rect(), t, t->identifier() == keyboardFocusTab() );
+ }
+@@ -70,7 +70,7 @@
+ TQRect r = br;
+
+ bool selected = m_tabsActivated && (currentTab() == t->identifier());
+- int vframe = tqstyle().tqpixelMetric( TQStyle::PM_TabBarTabVSpace, this );
++ int vframe = style().pixelMetric( TQStyle::PM_TabBarTabVSpace, this );
+
+ p->setFont( font() );
+ TQFontMetrics fm = p->fontMetrics();
+@@ -116,14 +116,14 @@
+ // flags |= TQStyle::Style_Sunken;
+ if(t->rect().contains(mapFromGlobal(TQCursor::pos())))
+ flags |= TQStyle::Style_MouseOver;
+- tqstyle().tqdrawControl( TQStyle::CE_TabBarLabel, p, this, rt,
+- t->isEnabled() ? tqcolorGroup(): tqpalette().disabled(),
++ style().drawControl( TQStyle::CE_TabBarLabel, p, this, rt,
++ t->isEnabled() ? colorGroup(): palette().disabled(),
+ flags, TQStyleOption(t) );
+ }
+
+-TQSize KickoffTabBar::tqsizeHint() const
++TQSize KickoffTabBar::sizeHint() const
+ {
+- TQSize s = TQTabBar::tqsizeHint();
++ TQSize s = TQTabBar::sizeHint();
+
+ return s;
+ }
+@@ -135,9 +135,9 @@
+ TQFontMetrics fm = fontMetrics();
+ int fh = ((KickerSettings::kickoffTabBarFormat() != KickerSettings::IconOnly) ? fm.height() : 0) + 4;
+
+- int hframe = tqstyle().tqpixelMetric( TQStyle::PM_TabBarTabHSpace, this );
+- int vframe = tqstyle().tqpixelMetric( TQStyle::PM_TabBarTabVSpace, this );
+- int overlap = tqstyle().tqpixelMetric( TQStyle::PM_TabBarTabOverlap, this );
++ int hframe = style().pixelMetric( TQStyle::PM_TabBarTabHSpace, this );
++ int vframe = style().pixelMetric( TQStyle::PM_TabBarTabVSpace, this );
++ int overlap = style().pixelMetric( TQStyle::PM_TabBarTabOverlap, this );
+
+ TQSize s;
+ for (int t = 0; t < count(); ++t)
+@@ -161,7 +161,7 @@
+ iw = tab->iconSet()->pixmap( TQIconSet::Large, TQIconSet::Normal ).width();
+ int w = QMAX(iw, fw + 6 + 6 ) + hframe;
+ h += ((KickerSettings::kickoffTabBarFormat() != KickerSettings::IconOnly) ? fm.height() : 0) + vframe;
+- tab->setRect(TQRect(TQPoint(x, 0), tqstyle().tqsizeFromContents(TQStyle::CT_TabBarTab, this,
++ tab->setRect(TQRect(TQPoint(x, 0), style().tqsizeFromContents(TQStyle::CT_TabBarTab, this,
+ TQSize(w, h), TQStyleOption(tab))));
+ x += tab->rect().width() - overlap;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/kickoff_bar.h v3.5.13-sru/kicker/kicker/ui/kickoff_bar.h
+--- /tmp/stable//kdebase/kicker/kicker/ui/kickoff_bar.h 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/kickoff_bar.h 2012-07-31 17:17:50.000000000 +0200
+@@ -32,7 +32,7 @@
+ KickoffTabBar(TQWidget* parent, const char* name);
+
+ void deactivateTabs(bool b);
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+
+ protected:
+ virtual void paint(TQPainter*, TQTab*, bool) const;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/kmenuitembase.ui v3.5.13-sru/kicker/kicker/ui/kmenuitembase.ui
+--- /tmp/stable//kdebase/kicker/kicker/ui/kmenuitembase.ui 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/kmenuitembase.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -20,13 +20,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>80</height>
+@@ -73,7 +73,7 @@
+ <property name="textFormat">
+ <enum>RichText</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop</set>
+ </property>
+ </widget>
+@@ -102,7 +102,7 @@
+ <property name="textFormat">
+ <enum>RichText</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop</set>
+ </property>
+ </widget>
+@@ -120,7 +120,7 @@
+ <property name="name">
+ <cstring>itemPixmap</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>64</width>
+ <height>64</height>
+@@ -129,7 +129,7 @@
+ <property name="text">
+ <string></string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignTop|AlignHCenter</set>
+ </property>
+ </widget>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/k_mnu.cpp v3.5.13-sru/kicker/kicker/ui/k_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/k_mnu.cpp 2011-10-24 02:08:24.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/k_mnu.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -211,7 +211,7 @@
+ if (!loadSidePixmap())
+ {
+ sidePixmap = sideTilePixmap = TQPixmap();
+- setMinimumSize( tqsizeHint() );
++ setMinimumSize( sizeHint() );
+ }
+ }
+
+@@ -273,6 +273,8 @@
+ connect(searchEdit, TQT_SIGNAL(textChanged(const TQString&)),
+ this, TQT_SLOT( slotUpdateSearch( const TQString&)));
+ insertItem(hbox, searchLineID, 0);
++ } else {
++ searchEdit = NULL;
+ }
+
+ //TQToolTip::add(clearButton, i18n("Clear Search"));
+@@ -348,7 +350,7 @@
+ if (clients.count() > 0) {
+ TQIntDictIterator<KickerClientMenu> it(clients);
+ while (it){
+- if (it.current()->text.tqat(0) != '.')
++ if (it.current()->text.at(0) != '.')
+ insertItem(
+ it.current()->icon,
+ it.current()->text,
+@@ -419,10 +421,10 @@
+ displayRepairTimer->stop();
+
+ // Now do a nasty hack to prevent search bar merging into the side image
+- // This forces a layout/tqrepaint of the qpopupmenu
+- tqrepaint(); // This ensures that the side bar image was applied
+- styleChange(tqstyle()); // This forces a call to the private function updateSize(TRUE) inside the qpopupmenu.
+- update(); // This repaints the entire popup menu to apply the widget size/tqalignment changes made above
++ // This forces a layout/repaint of the qpopupmenu
++ repaint(); // This ensures that the side bar image was applied
++ styleChange(style()); // This forces a call to the private function updateSize(TRUE) inside the qpopupmenu.
++ update(); // This repaints the entire popup menu to apply the widget size/alignment changes made above
+ }
+ }
+
+@@ -584,7 +586,7 @@
+
+ TQRect PanelKMenu::sideImageRect()
+ {
+- return TQStyle::tqvisualRect( TQRect( frameWidth(), frameWidth(), sidePixmap.width(),
++ return TQStyle::visualRect( TQRect( frameWidth(), frameWidth(), sidePixmap.width(),
+ height() - 2*frameWidth() ), this );
+ }
+
+@@ -595,21 +597,21 @@
+
+ PanelServiceMenu::resizeEvent(e);
+
+- setFrameRect( TQStyle::tqvisualRect( TQRect( sidePixmap.width(), 0,
++ setFrameRect( TQStyle::visualRect( TQRect( sidePixmap.width(), 0,
+ width() - sidePixmap.width(), height() ), this ) );
+ }
+
+ //Workaround Qt3.3.x sizing bug, by ensuring we're always wide enough.
+ void PanelKMenu::resize(int width, int height)
+ {
+- width = kMax(width, tqmaximumSize().width());
++ width = kMax(width, maximumSize().width());
+ PanelServiceMenu::resize(width, height);
+ }
+
+-TQSize PanelKMenu::tqsizeHint() const
++TQSize PanelKMenu::sizeHint() const
+ {
+- TQSize s = PanelServiceMenu::tqsizeHint();
+-// kdDebug(1210) << "PanelKMenu::tqsizeHint()" << endl;
++ TQSize s = PanelServiceMenu::sizeHint();
++// kdDebug(1210) << "PanelKMenu::sizeHint()" << endl;
+ // kdDebug(1210) << s.width() << ", " << s.height() << endl;
+ return s;
+ }
+@@ -624,9 +626,9 @@
+ TQPainter p(this);
+ p.setClipRegion(e->region());
+
+- tqstyle().tqdrawPrimitive( TQStyle::PE_PanelPopup, &p,
++ style().tqdrawPrimitive( TQStyle::PE_PanelPopup, &p,
+ TQRect( 0, 0, width(), height() ),
+- tqcolorGroup(), TQStyle::Style_Default,
++ colorGroup(), TQStyle::Style_Default,
+ TQStyleOption( frameWidth(), 0 ) );
+
+ TQRect r = sideImageRect();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/k_mnu.h v3.5.13-sru/kicker/kicker/ui/k_mnu.h
+--- /tmp/stable//kdebase/kicker/kicker/ui/k_mnu.h 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/k_mnu.h 2012-07-31 17:17:50.000000000 +0200
+@@ -59,7 +59,7 @@
+ int insertClientMenu(KickerClientMenu *p);
+ void removeClientMenu(int id);
+
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ virtual void setMinimumSize(const TQSize &);
+ virtual void setMaximumSize(const TQSize &);
+ virtual void setMinimumSize(int, int);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/k_mnu_stub.cpp v3.5.13-sru/kicker/kicker/ui/k_mnu_stub.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/k_mnu_stub.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/k_mnu_stub.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -97,11 +97,11 @@
+ return m_w.panelkmenu->resize(w, h);
+ }
+
+-TQSize KMenuStub::tqsizeHint() const
++TQSize KMenuStub::sizeHint() const
+ {
+ if(m_type == t_KMenu)
+- return m_w.kmenu->tqsizeHint();
+- return m_w.panelkmenu->tqsizeHint();
++ return m_w.kmenu->sizeHint();
++ return m_w.panelkmenu->sizeHint();
+ }
+
+ bool KMenuStub::highlightMenuItem( const TQString &menuId )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/k_mnu_stub.h v3.5.13-sru/kicker/kicker/ui/k_mnu_stub.h
+--- /tmp/stable//kdebase/kicker/kicker/ui/k_mnu_stub.h 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/k_mnu_stub.h 2012-07-31 17:17:50.000000000 +0200
+@@ -53,7 +53,7 @@
+ void popup(const TQPoint &pos, int indexAtPoint = -1);
+ void selectFirstItem();
+ void resize(int, int);
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+ bool highlightMenuItem( const TQString &menuId );
+ void clearRecentMenuItems();
+ void initialize();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/k_new_mnu.cpp v3.5.13-sru/kicker/kicker/ui/k_new_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/k_new_mnu.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/k_new_mnu.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -302,7 +302,7 @@
+ m_searchInternet->setPixmap(0,icon);
+ setTabOrder(m_kcommand, m_searchResultsWidget);
+
+- m_kerryInstalled = !KStandardDirs::findExe(TQString::tqfromLatin1("kerry")).isEmpty();
++ m_kerryInstalled = !KStandardDirs::findExe(TQString::fromLatin1("kerry")).isEmpty();
+ m_isShowing = false;
+
+ if (!m_kerryInstalled) {
+@@ -421,7 +421,7 @@
+ {
+ m_stacker = new TQWidgetStack( this, "m_stacker" );
+ m_stacker->setGeometry( TQRect( 90, 260, 320, 220 ) );
+- m_stacker->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)3, 1, 1, m_stacker->sizePolicy().hasHeightForWidth() ) );
++ m_stacker->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)3, 1, 1, m_stacker->sizePolicy().hasHeightForWidth() ) );
+ m_stacker->setPaletteBackgroundColor( TQColor( 255, 255, 255 ) );
+ // m_stacker->setFocusPolicy( TQ_StrongFocus );
+ m_stacker->setLineWidth( 0 );
+@@ -522,7 +522,7 @@
+ m_sloppySourceClicked = true;
+
+ if (!m_sloppyTimer.isActive() || m_sloppySource != raiseRect) {
+- int timeout= tqstyle().tqstyleHint(TQStyle::SH_PopupMenu_SubMenuPopupDelay);
++ int timeout= style().styleHint(TQStyle::SH_PopupMenu_SubMenuPopupDelay);
+ if (m_sloppySourceClicked)
+ timeout = 3000;
+ m_sloppyTimer.start(timeout);
+@@ -1131,7 +1131,7 @@
+ }
+
+ // Ignore dotfiles.
+- if ((g->name().tqat(0) == '.'))
++ if ((g->name().at(0) == '.'))
+ {
+ continue;
+ }
+@@ -1699,14 +1699,12 @@
+ TQWidget *footer = m_footer->mainWidget();
+ TQPixmap pix( 64, footer->height() );
+ TQPainter p( &pix );
+- p.fillRect( 0, 0, 64, footer->height(), m_branding->tqcolorGroup().brush( TQColorGroup::Base ) );
+- p.fillRect( 0, m_orientation == BottomUp ? footer->height() - 2 : 0,
+- 64, 3, KNewButton::self()->borderColor() );
++ p.fillRect( 0, 0, 64, footer->height(), m_branding->colorGroup().brush( TQColorGroup::Base ) );
+ p.end();
+ footer->setPaletteBackgroundPixmap( pix );
+ }
+
+- resizeEvent(new TQResizeEvent(tqsizeHint(), tqsizeHint()));
++ resizeEvent(new TQResizeEvent(sizeHint(), sizeHint()));
+ }
+
+ void KMenu::showMenu()
+@@ -1762,7 +1760,7 @@
+
+ const BackgroundMode bgmode = backgroundMode();
+ const TQColorGroup::ColorRole crole = TQPalette::backgroundRoleFromMode( bgmode );
+- p.setBrush( tqcolorGroup().brush( crole ) );
++ p.setBrush( colorGroup().brush( crole ) );
+
+ p.drawRect( 0, 0, width(), height() );
+ int ypos = m_search->mainWidget()->geometry().bottom();
+@@ -1923,7 +1921,7 @@
+ m_seenPrograms = KickerSettings::firstSeenApps();
+ m_newInstalledPrograms.clear();
+
+- m_tqcurrentDate = TQDate::currentDate().toString(Qt::ISODate);
++ m_currentDate = TQDate::currentDate().toString(Qt::ISODate);
+
+ bool initialize = (m_seenPrograms.count() == 0);
+
+@@ -1978,7 +1976,7 @@
+ if (!found) {
+ m_seenProgramsChanged=true;
+ m_seenPrograms+=shortStorageId;
+- m_seenPrograms+=m_tqcurrentDate;
++ m_seenPrograms+=m_currentDate;
+ if (m_newInstalledPrograms.find(s->storageId())==m_newInstalledPrograms.end())
+ m_newInstalledPrograms+=s->storageId();
+ }
+@@ -2744,7 +2742,7 @@
+ m_popupPath.path = kitem->path();
+ m_popupPath.icon = kitem->icon();
+
+- if (m_popupPath.path.startsWith(locateLocal("data", TQString::tqfromLatin1("RecentDocuments/")))) {
++ if (m_popupPath.path.startsWith(locateLocal("data", TQString::fromLatin1("RecentDocuments/")))) {
+ KDesktopFile df(m_popupPath.path,true);
+ m_popupPath.path=df.readURL();
+ }
+@@ -2936,7 +2934,7 @@
+ case EditMenu:
+ accept();
+ proc = new KProcess(TQT_TQOBJECT(this));
+- *proc << KStandardDirs::findExe(TQString::tqfromLatin1("kmenuedit"));
++ *proc << KStandardDirs::findExe(TQString::fromLatin1("kmenuedit"));
+ *proc << "/"+m_popupPath.menuPath.section('/',-200,-2) << m_popupPath.menuPath.section('/', -1);
+ proc->start();
+ break;
+@@ -3074,24 +3072,24 @@
+ // put the search widget at the top of the menu and give it its desired
+ // height
+ m_search->mainWidget()->setGeometry( 0, ypos, width(),
+- m_search->tqminimumSize().height() );
+- left_height -= m_search->tqminimumSize().height();
+- ypos += m_search->tqminimumSize().height();
++ m_search->minimumSize().height() );
++ left_height -= m_search->minimumSize().height();
++ ypos += m_search->minimumSize().height();
+
+ // place the footer widget at the bottom of the menu and give it its desired
+ // height
+- m_footer->mainWidget()->setGeometry( 0, height() - m_footer->tqminimumSize().height(),
+- width(), m_footer->tqminimumSize().height() );
+- left_height -= m_footer->tqminimumSize().height();
++ m_footer->mainWidget()->setGeometry( 0, height() - m_footer->minimumSize().height(),
++ width(), m_footer->minimumSize().height() );
++ left_height -= m_footer->minimumSize().height();
+
+ // place the button box above the footer widget, horizontal placement
+ // has the width of the edge graphics subtracted
+ m_tabBar->setGeometry(button_box_left.width(),
+- height() - m_footer->tqminimumSize().height() -
+- m_tabBar->tqsizeHint().height(),
++ height() - m_footer->minimumSize().height() -
++ m_tabBar->sizeHint().height(),
+ width() - button_box_left.width(),
+- m_tabBar->tqsizeHint().height() );
+- left_height -= m_tabBar->tqsizeHint().height();
++ m_tabBar->sizeHint().height() );
++ left_height -= m_tabBar->sizeHint().height();
+
+ // place the main (stacker) widget below the search widget,
+ // in the remaining vertical space
+@@ -3105,28 +3103,28 @@
+ // place the 'footer' widget at the top of the menu and give it
+ // its desired height
+ m_footer->mainWidget()->setGeometry( 0,
+- ypos /*height() - m_footer->tqminimumSize().height()*/,
++ ypos /*height() - m_footer->minimumSize().height()*/,
+ width(),
+- m_footer->tqminimumSize().height() );
+- ypos += m_footer->tqminimumSize().height();
+- left_height -= m_footer->tqminimumSize().height();
++ m_footer->minimumSize().height() );
++ ypos += m_footer->minimumSize().height();
++ left_height -= m_footer->minimumSize().height();
+
+ // place the button box next at the top of the menu.
+ // has the width of the edge graphics subtracted
+ m_tabBar->setGeometry(button_box_left.width(), ypos, width() - button_box_left.width(),
+- m_tabBar->tqsizeHint().height());
++ m_tabBar->sizeHint().height());
+
+- ypos += m_tabBar->tqsizeHint().height();
+- left_height -= m_tabBar->tqsizeHint().height();
++ ypos += m_tabBar->sizeHint().height();
++ left_height -= m_tabBar->sizeHint().height();
+
+ // put the search widget above the footer widget
+ // height
+ m_search->mainWidget()->setGeometry( 0,
+- height() - m_search->tqminimumSize().height(),
++ height() - m_search->minimumSize().height(),
+ width(),
+- m_search->tqminimumSize().height()
++ m_search->minimumSize().height()
+ );
+- left_height -= m_search->tqminimumSize().height();
++ left_height -= m_search->minimumSize().height();
+
+ // place the main (stacker) widget below the button box,
+ // in the remaining vertical space
+@@ -3167,14 +3165,14 @@
+ if ( hasMouseTracking() && m_isresizing ) {
+ m_stacker->setMinimumSize( TQSize(0, 0) );
+ m_stacker->setMaximumSize( TQSize(32000, 32000) );
+- int newWidth = QMAX( e->x() - x(), tqminimumSizeHint().width() );
++ int newWidth = QMAX( e->x() - x(), minimumSizeHint().width() );
+ if ( m_orientation == BottomUp ) {
+- int newHeight = QMAX( height() - e->y(), tqminimumSizeHint().height() + 10 );
++ int newHeight = QMAX( height() - e->y(), minimumSizeHint().height() + 10 );
+ int newY = y() + height() - newHeight;
+ setGeometry( x(), newY, newWidth, newHeight);
+ }
+ else {
+- setGeometry( x(), y(), newWidth, QMAX( e->y(), tqminimumSizeHint().height() + 10 ));
++ setGeometry( x(), y(), newWidth, QMAX( e->y(), minimumSizeHint().height() + 10 ));
+ }
+ }
+ }
+@@ -3331,7 +3329,7 @@
+ RecentlyLaunchedApps::the().m_bNeedToUpdate = true;
+ }
+
+-TQSize KMenu::tqsizeHint() const
++TQSize KMenu::sizeHint() const
+ {
+ #warning FIXME
+ // this should be only for the inner area so layout changes do not break it
+@@ -3339,28 +3337,28 @@
+
+ const int height = kMin(KickerSettings::kMenuHeight(), TQApplication::desktop()->screen()->height()-50);
+ TQSize wanted(width, height);
+- kdDebug() << "show " << tqminimumSizeHint() << " " << m_stacker->tqminimumSizeHint() << " "
+- << m_searchFrame->tqminimumSizeHint() << " " << wanted << endl;
++ kdDebug() << "show " << minimumSizeHint() << " " << m_stacker->minimumSizeHint() << " "
++ << m_searchFrame->minimumSizeHint() << " " << wanted << endl;
+ bool isDefault = wanted.isNull();
+- wanted = wanted.expandedTo(tqminimumSizeHint());
++ wanted = wanted.expandedTo(minimumSizeHint());
+ if ( isDefault )
+- wanted.setHeight( wanted.height() + ( m_favoriteView->goodHeight() - m_stacker->tqminimumSizeHint().height() ) );
++ wanted.setHeight( wanted.height() + ( m_favoriteView->goodHeight() - m_stacker->minimumSizeHint().height() ) );
+
+ return wanted;
+ }
+
+-TQSize KMenu::tqminimumSizeHint() const
++TQSize KMenu::minimumSizeHint() const
+ {
+ TQSize minsize;
+- minsize.setWidth( minsize.width() + m_tabBar->tqsizeHint().width() );
++ minsize.setWidth( minsize.width() + m_tabBar->sizeHint().width() );
+ minsize.setWidth( QMAX( minsize.width(),
+- m_search->tqminimumSize().width() ) );
++ m_search->minimumSize().width() ) );
+ minsize.setWidth( QMAX( minsize.width(),
+- m_search->tqminimumSize().width() ) );
++ m_search->minimumSize().width() ) );
+
+ minsize.setHeight( minsize.height() +
+- m_search->tqminimumSize().height() +
+- m_footer->tqminimumSize().height() +
++ m_search->minimumSize().height() +
++ m_footer->minimumSize().height() +
+ 180 ); // 180 is a very rough guess for 32 icon size
+ return minsize;
+ }
+@@ -3500,7 +3498,8 @@
+ }
+ m_systemView->insertItem( iconName, userLabel.isEmpty() ? label : userLabel,
+ descr, "system:/media/" + name, nId++, -1 );
+-
++ ++it;
++ ++it;
+ ++it; // skip separator
+ }
+ }
+@@ -3558,7 +3557,7 @@
+ else
+ {
+ TQString uri = item.m_path;
+- if (uri.startsWith(locateLocal("data", TQString::tqfromLatin1("RecentDocuments/")))) {
++ if (uri.startsWith(locateLocal("data", TQString::fromLatin1("RecentDocuments/")))) {
+ KDesktopFile df(uri,true);
+ uri=df.readURL();
+ }
+@@ -3625,7 +3624,7 @@
+ df.writeEntry("Encoding", "UTF-8");
+ df.writeEntry("Type","Link");
+ df.writeEntry("Name", item->name());
+- df.writeEntry("GenericName", i18n("Directory: %1").tqarg(kurl.upURL().path()));
++ df.writeEntry("GenericName", i18n("Directory: %1").arg(kurl.upURL().path()));
+ df.writeEntry("Icon", item->iconName());
+ df.writeEntry("URL", text);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/k_new_mnu.h v3.5.13-sru/kicker/kicker/ui/k_new_mnu.h
+--- /tmp/stable//kdebase/kicker/kicker/ui/k_new_mnu.h 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/k_new_mnu.h 2012-07-31 17:17:50.000000000 +0200
+@@ -104,8 +104,8 @@
+
+ enum MaskEffect { Plain, Dissolve };
+
+- virtual TQSize tqsizeHint() const;
+- virtual TQSize tqminimumSizeHint() const;
++ virtual TQSize sizeHint() const;
++ virtual TQSize minimumSizeHint() const;
+
+ void searchOver();
+ void initCategoryTitlesUpdate();
+@@ -319,7 +319,7 @@
+ TQStringList m_programsInMenu;
+ TQStringList m_newInstalledPrograms, m_seenPrograms;
+ bool m_seenProgramsChanged;
+- TQString m_tqcurrentDate;
++ TQString m_currentDate;
+
+ MenuOrientation m_orientation;
+ bool m_toolTipsEnabled;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/nonKDEButtonSettings.ui v3.5.13-sru/kicker/kicker/ui/nonKDEButtonSettings.ui
+--- /tmp/stable//kdebase/kicker/kicker/ui/nonKDEButtonSettings.ui 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/nonKDEButtonSettings.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -121,7 +121,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+@@ -140,13 +140,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>58</width>
+ <height>58</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>58</width>
+ <height>58</height>
+@@ -199,7 +199,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>8</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/popupmenutitle.h v3.5.13-sru/kicker/kicker/ui/popupmenutitle.h
+--- /tmp/stable//kdebase/kicker/kicker/ui/popupmenutitle.h 2011-08-06 00:56:46.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/popupmenutitle.h 2012-07-31 17:17:50.000000000 +0200
+@@ -46,7 +46,7 @@
+ {
+ p->save();
+ TQRect r(x, y, w, h);
+- kapp->tqstyle().tqdrawPrimitive(TQStyle::PE_HeaderSectionMenu,
++ kapp->style().tqdrawPrimitive(TQStyle::PE_HeaderSectionMenu,
+ p, r, cg);
+
+ if (!m_desktopName.isEmpty())
+@@ -69,11 +69,11 @@
+ m_font.setBold(true);
+ }
+
+- TQSize tqsizeHint()
++ TQSize sizeHint()
+ {
+ TQSize size = TQFontMetrics(m_font).size(AlignHCenter, m_desktopName);
+ size.setHeight(size.height() +
+- (kapp->tqstyle().tqpixelMetric(TQStyle::PM_DefaultFrameWidth) * 2 + 1));
++ (kapp->style().pixelMetric(TQStyle::PM_DefaultFrameWidth) * 2 + 1));
+ return size;
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/removeapplet_mnu.cpp v3.5.13-sru/kicker/kicker/ui/removeapplet_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/removeapplet_mnu.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/removeapplet_mnu.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -87,9 +87,9 @@
+
+ void PanelRemoveAppletMenu::slotExec(int id)
+ {
+- if (m_containers.tqat(id) != m_containers.end())
++ if (m_containers.at(id) != m_containers.end())
+ {
+- m_containerArea->removeContainer(*m_containers.tqat(id));
++ m_containerArea->removeContainer(*m_containers.at(id));
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/removebutton_mnu.cpp v3.5.13-sru/kicker/kicker/ui/removebutton_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/removebutton_mnu.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/removebutton_mnu.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -95,9 +95,9 @@
+
+ void PanelRemoveButtonMenu::slotExec( int id )
+ {
+- if (containers.tqat(id) != containers.end())
++ if (containers.at(id) != containers.end())
+ {
+- containerArea->removeContainer(*containers.tqat(id));
++ containerArea->removeContainer(*containers.at(id));
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/removeextension_mnu.cpp v3.5.13-sru/kicker/kicker/ui/removeextension_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/removeextension_mnu.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/removeextension_mnu.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -100,9 +100,9 @@
+ {
+ ExtensionManager::the()->removeAllContainers();
+ }
+- else if (m_containers.tqat(id) != m_containers.end())
++ else if (m_containers.at(id) != m_containers.end())
+ {
+- ExtensionManager::the()->removeContainer(*m_containers.tqat(id));
++ ExtensionManager::the()->removeContainer(*m_containers.at(id));
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/service_mnu.cpp v3.5.13-sru/kicker/kicker/ui/service_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/service_mnu.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/service_mnu.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -281,7 +281,7 @@
+ }
+
+ // Ignore dotfiles.
+- if ((g->name().tqat(0) == '.'))
++ if ((g->name().at(0) == '.'))
+ {
+ continue;
+ }
+@@ -445,7 +445,7 @@
+ return;
+
+ // ignore dotfiles.
+- if ((serviceName.tqat(0) == '.'))
++ if ((serviceName.at(0) == '.'))
+ return;
+
+ // item names may contain ampersands. To avoid them being converted
+@@ -695,7 +695,7 @@
+
+ case EditItem:
+ proc = new KProcess(TQT_TQOBJECT(this));
+- *proc << KStandardDirs::findExe(TQString::tqfromLatin1("kmenuedit"));
++ *proc << KStandardDirs::findExe(TQString::fromLatin1("kmenuedit"));
+ *proc << "/"+relPath_ << static_cast<KService *>(contextKSycocaEntry_)->menuId();
+ proc->start();
+ break;
+@@ -739,7 +739,7 @@
+
+ case EditMenu:
+ proc = new KProcess(TQT_TQOBJECT(this));
+- *proc << KStandardDirs::findExe(TQString::tqfromLatin1("kmenuedit"));
++ *proc << KStandardDirs::findExe(TQString::fromLatin1("kmenuedit"));
+ *proc << "/"+static_cast<KServiceGroup *>(contextKSycocaEntry_)->relPath();
+ proc->start();
+ break;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/global.cpp v3.5.13-sru/kicker/libkicker/global.cpp
+--- /tmp/stable//kdebase/kicker/libkicker/global.cpp 2011-08-11 07:25:47.000000000 +0200
++++ v3.5.13-sru/kicker/libkicker/global.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -161,7 +161,7 @@
+ int maxDim;
+ //return (2 * KickerSettings::iconMargin()) + KIcon::SizeLarge;
+
+- KSimpleConfig *kickerconfig = new KSimpleConfig( TQString::tqfromLatin1( "kickerrc" ));
++ KSimpleConfig *kickerconfig = new KSimpleConfig( TQString::fromLatin1( "kickerrc" ));
+ kickerconfig->setGroup("General");
+ maxDim = (2 * KickerSettings::iconMargin()) + kickerconfig->readNumEntry("panelIconWidth", KIcon::SizeLarge);;
+ delete kickerconfig;
+@@ -236,13 +236,13 @@
+ {
+ case KPanelApplet::Left:
+ case KPanelApplet::Right:
+- r.setLeft( source->tqtopLevelWidget()->x() );
+- r.setWidth( source->tqtopLevelWidget()->width() );
++ r.setLeft( source->topLevelWidget()->x() );
++ r.setWidth( source->topLevelWidget()->width() );
+ break;
+ case KPanelApplet::Up:
+ case KPanelApplet::Down:
+- r.setTop( source->tqtopLevelWidget()->y() );
+- r.setHeight( source->tqtopLevelWidget()->height() );
++ r.setTop( source->topLevelWidget()->y() );
++ r.setHeight( source->topLevelWidget()->height() );
+ break;
+ }
+ }
+@@ -328,7 +328,7 @@
+ {
+ KConfig *config = KGlobal::config();
+ config->setGroup("WM");
+- TQColor color = TQApplication::tqpalette().active().highlight();
++ TQColor color = TQApplication::palette().active().highlight();
+ TQColor activeTitle = config->readColorEntry("activeBackground", &color);
+ TQColor inactiveTitle = config->readColorEntry("inactiveBackground", &color);
+
+@@ -336,7 +336,7 @@
+ int h1, s1, v1, h2, s2, v2, h3, s3, v3;
+ activeTitle.hsv(&h1, &s1, &v1);
+ inactiveTitle.hsv(&h2, &s2, &v2);
+- TQApplication::tqpalette().active().background().hsv(&h3, &s3, &v3);
++ TQApplication::palette().active().background().hsv(&h3, &s3, &v3);
+
+ if ( (kAbs(h1-h3)+kAbs(s1-s3)+kAbs(v1-v3) < kAbs(h2-h3)+kAbs(s2-s3)+kAbs(v2-v3)) &&
+ ((kAbs(h1-h3)+kAbs(s1-s3)+kAbs(v1-v3) < 32) || (s1 < 32)) && (s2 > s1))
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/kickerSettings.kcfg v3.5.13-sru/kicker/libkicker/kickerSettings.kcfg
+--- /tmp/stable//kdebase/kicker/libkicker/kickerSettings.kcfg 2011-08-26 01:00:16.000000000 +0200
++++ v3.5.13-sru/kicker/libkicker/kickerSettings.kcfg 2012-07-31 17:17:50.000000000 +0200
+@@ -81,7 +81,7 @@
+
+ <entry name="TintColor" type="Color" >
+ <label>The tint color used to colorize transparent panels</label>
+- <default code="true">(TQApplication::tqpalette().active().mid())</default>
++ <default code="true">(TQApplication::palette().active().mid())</default>
+ <whatsthis>This option sets the color to use when tinting transparent panels</whatsthis>
+ </entry>
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/kickertip.cpp v3.5.13-sru/kicker/libkicker/kickertip.cpp
+--- /tmp/stable//kdebase/kicker/libkicker/kickertip.cpp 2011-09-11 06:57:56.000000000 +0200
++++ v3.5.13-sru/kicker/libkicker/kickertip.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -392,8 +392,8 @@
+
+ // draw background
+ TQPainter bufferPainter(&m_pixmap);
+- bufferPainter.setPen(tqcolorGroup().foreground());
+- bufferPainter.setBrush(tqcolorGroup().background());
++ bufferPainter.setPen(colorGroup().foreground());
++ bufferPainter.setBrush(colorGroup().background());
+ //bufferPainter.drawRoundRect(0, 0, width, height, 1600 / width, 1600 / height);
+ drawRoundRect(bufferPainter, TQRect(0, 0, width, height));
+
+@@ -409,13 +409,13 @@
+ if (KickerSettings::mouseOversShowText())
+ {
+ // draw text shadow
+- TQColorGroup cg = tqcolorGroup();
++ TQColorGroup cg = colorGroup();
+ cg.setColor(TQColorGroup::Text, cg.background().dark(115));
+ int shadowOffset = TQApplication::reverseLayout() ? -1 : 1;
+ m_richText->draw(&bufferPainter, textX + shadowOffset, textY + 1, TQRect(), cg);
+
+ // draw text
+- cg = tqcolorGroup();
++ cg = colorGroup();
+ m_richText->draw(&bufferPainter, textX, textY, rect(), cg);
+ }
+ }
+@@ -458,7 +458,7 @@
+ void KickerTip::internalUpdate()
+ {
+ m_dirty = true;
+- tqrepaint(false);
++ repaint(false);
+ }
+
+ void KickerTip::enableTipping(bool tip)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/menuinfo.cpp v3.5.13-sru/kicker/libkicker/menuinfo.cpp
+--- /tmp/stable//kdebase/kicker/libkicker/menuinfo.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/libkicker/menuinfo.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -35,7 +35,7 @@
+
+ MenuInfo::MenuInfo(const TQString& desktopFile)
+ {
+- KSimpleConfig df(locate("data", TQString::tqfromLatin1("kicker/menuext/%1").arg(desktopFile)));
++ KSimpleConfig df(locate("data", TQString::fromLatin1("kicker/menuext/%1").arg(desktopFile)));
+ df.setGroup("Desktop Entry");
+
+ TQStringList list = df.readListEntry("X-KDE-AuthorizeAction");
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/panelbutton.cpp v3.5.13-sru/kicker/libkicker/panelbutton.cpp
+--- /tmp/stable//kdebase/kicker/libkicker/panelbutton.cpp 2011-08-11 07:25:47.000000000 +0200
++++ v3.5.13-sru/kicker/libkicker/panelbutton.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -438,7 +438,7 @@
+ if (!m_highlight && m_disableHighlighting == FALSE)
+ {
+ m_highlight = true;
+- tqrepaint(false);
++ repaint(false);
+ }
+
+ TQButton::enterEvent(e);
+@@ -449,7 +449,7 @@
+ if (m_highlight)
+ {
+ m_highlight = false;
+- tqrepaint(false);
++ repaint(false);
+ }
+
+ TQButton::leaveEvent(e);
+@@ -539,7 +539,7 @@
+ if (m_tileColor.isValid())
+ {
+ p->fillRect(rect(), m_tileColor);
+- tqstyle().tqdrawPrimitive(TQStyle::PE_Panel, p, rect(), tqcolorGroup());
++ style().tqdrawPrimitive(TQStyle::PE_Panel, p, rect(), colorGroup());
+ }
+ else if (paletteBackgroundPixmap())
+ {
+@@ -558,8 +558,8 @@
+ }
+ else if (isDown() || isOn())
+ {
+- // Draw tqshapes to indicate the down state.
+- tqstyle().tqdrawPrimitive(TQStyle::PE_Panel, p, rect(), tqcolorGroup(), TQStyle::Style_Sunken);
++ // Draw shapes to indicate the down state.
++ style().tqdrawPrimitive(TQStyle::PE_Panel, p, rect(), colorGroup(), TQStyle::Style_Sunken);
+ }
+
+ drawButtonLabel(p);
+@@ -569,8 +569,8 @@
+ int x1, y1, x2, y2;
+ TQT_TQRECT_OBJECT(rect()).coords(&x1, &y1, &x2, &y2);
+ TQRect r(x1+2, y1+2, x2-x1-3, y2-y1-3);
+- tqstyle().tqdrawPrimitive(TQStyle::PE_FocusRect, p, r, tqcolorGroup(),
+- TQStyle::Style_Default, tqcolorGroup().button());
++ style().tqdrawPrimitive(TQStyle::PE_FocusRect, p, r, colorGroup(),
++ TQStyle::Style_Default, colorGroup().button());
+ }
+ }
+
+@@ -581,7 +581,7 @@
+ if (m_tileColor.isValid())
+ {
+ p->fillRect(rect(), m_tileColor);
+- tqstyle().tqdrawPrimitive(TQStyle::PE_Panel, p, rect(), tqcolorGroup());
++ style().tqdrawPrimitive(TQStyle::PE_Panel, p, rect(), colorGroup());
+ }
+ else if (paletteBackgroundPixmap())
+ {
+@@ -595,10 +595,10 @@
+
+ TQRect btn_rect = TQRect(rect().x(), rect().y()+1, rect().width(), rect().height()-2);
+ if (isDown() || isOn()) {
+- tqstyle().tqdrawPrimitive(TQStyle::PE_ButtonBevel, p, btn_rect, tqcolorGroup(), TQStyle::Style_Down);
++ style().tqdrawPrimitive(TQStyle::PE_ButtonBevel, p, btn_rect, colorGroup(), TQStyle::Style_Down);
+ }
+ else {
+- tqstyle().tqdrawPrimitive(TQStyle::PE_ButtonBevel, p, btn_rect, tqcolorGroup(), TQStyle::Style_Raised);
++ style().tqdrawPrimitive(TQStyle::PE_ButtonBevel, p, btn_rect, colorGroup(), TQStyle::Style_Raised);
+ }
+
+ drawButtonLabel(p,0,FALSE);
+@@ -608,8 +608,8 @@
+ int x1, y1, x2, y2;
+ TQT_TQRECT_OBJECT(rect()).coords(&x1, &y1, &x2, &y2);
+ TQRect r(x1+2, y1+2, x2-x1-3, y2-y1-3);
+- tqstyle().tqdrawPrimitive(TQStyle::PE_FocusRect, p, r, tqcolorGroup(),
+- TQStyle::Style_Default, tqcolorGroup().button());
++ style().tqdrawPrimitive(TQStyle::PE_FocusRect, p, r, colorGroup(),
++ TQStyle::Style_Default, colorGroup().button());
+ }
+ }
+
+@@ -718,7 +718,7 @@
+ if (m_drawArrow && (m_highlight || active) && drawArrow)
+ {
+ TQStyle::PrimitiveElement e = TQStyle::PE_ArrowUp;
+- int arrowSize = tqstyle().tqpixelMetric(TQStyle::PM_MenuButtonIndicator);
++ int arrowSize = style().pixelMetric(TQStyle::PM_MenuButtonIndicator);
+ TQRect r((width() - arrowSize)/2, 0, arrowSize, arrowSize);
+
+ switch (m_arrowDirection)
+@@ -762,7 +762,7 @@
+ {
+ flags |= TQStyle::Style_Down;
+ }
+- tqstyle().tqdrawPrimitive(e, p, r, tqcolorGroup(), flags);
++ style().tqdrawPrimitive(e, p, r, colorGroup(), flags);
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/paneldrag.cpp v3.5.13-sru/kicker/libkicker/paneldrag.cpp
+--- /tmp/stable//kdebase/kicker/libkicker/paneldrag.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/libkicker/paneldrag.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -46,7 +46,7 @@
+
+ bool PanelDrag::decode(const TQMimeSource* e, BaseContainer** container)
+ {
+- TQByteArray a = e->tqencodedData("application/basecontainerptr");
++ TQByteArray a = e->encodedData("application/basecontainerptr");
+
+ if (a.size() != PANELDRAG_BUFSIZE)
+ {
+@@ -73,7 +73,7 @@
+ return false;
+ }
+
+- TQByteArray a = e->tqencodedData("application/basecontainerptr");
++ TQByteArray a = e->encodedData("application/basecontainerptr");
+ if (a.size() != PANELDRAG_BUFSIZE)
+ {
+ return false;
+@@ -91,7 +91,7 @@
+ return true;
+ }
+
+-TQByteArray PanelDrag::tqencodedData(const char * mimeType) const
++TQByteArray PanelDrag::encodedData(const char * mimeType) const
+ {
+ if (TQString("application/basecontainerptr") == mimeType &&
+ a.size() == PANELDRAG_BUFSIZE)
+@@ -136,7 +136,7 @@
+ return 0;
+ }
+
+-TQByteArray AppletInfoDrag::tqencodedData(const char* mimeType) const
++TQByteArray AppletInfoDrag::encodedData(const char* mimeType) const
+ {
+ if (TQString("application/appletinfo") == mimeType)
+ {
+@@ -158,7 +158,7 @@
+
+ bool AppletInfoDrag::decode(const TQMimeSource* e, AppletInfo& container)
+ {
+- TQByteArray a = e->tqencodedData("application/appletinfo");
++ TQByteArray a = e->encodedData("application/appletinfo");
+
+ if (a.isEmpty())
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/paneldrag.h v3.5.13-sru/kicker/libkicker/paneldrag.h
+--- /tmp/stable//kdebase/kicker/libkicker/paneldrag.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/libkicker/paneldrag.h 2012-07-31 17:17:50.000000000 +0200
+@@ -39,7 +39,7 @@
+ ~PanelDrag();
+
+ virtual const char * format(int i = 0) const;
+- virtual TQByteArray tqencodedData(const char *) const;
++ virtual TQByteArray encodedData(const char *) const;
+
+ static bool canDecode(const TQMimeSource * e);
+ static bool decode(const TQMimeSource* e, BaseContainer** container);
+@@ -55,7 +55,7 @@
+ ~AppletInfoDrag();
+
+ virtual const char * format(int i = 0) const;
+- virtual TQByteArray tqencodedData(const char *) const;
++ virtual TQByteArray encodedData(const char *) const;
+
+ static bool canDecode(const TQMimeSource * e);
+ static bool decode(const TQMimeSource* e, AppletInfo& container);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/panner.cpp v3.5.13-sru/kicker/libkicker/panner.cpp
+--- /tmp/stable//kdebase/kicker/libkicker/panner.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/libkicker/panner.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -103,8 +103,8 @@
+ {
+ _luSB->setArrowType(Qt::LeftArrow);
+ _rdSB->setArrowType(Qt::RightArrow);
+- _luSB->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Expanding));
+- _rdSB->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Expanding));
++ _luSB->setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Expanding));
++ _rdSB->setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Expanding));
+ TQToolTip::add(_luSB, i18n("Scroll left"));
+ TQToolTip::add(_rdSB, i18n("Scroll right"));
+ setMinimumSize(24, 0);
+@@ -117,8 +117,8 @@
+ {
+ _luSB->setArrowType(Qt::UpArrow);
+ _rdSB->setArrowType(Qt::DownArrow);
+- _luSB->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Minimum));
+- _rdSB->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Minimum));
++ _luSB->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Minimum));
++ _rdSB->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Minimum));
+ TQToolTip::add(_luSB, i18n("Scroll up"));
+ TQToolTip::add(_rdSB, i18n("Scroll down"));
+ setMinimumSize(0, 24);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/panner.h v3.5.13-sru/kicker/libkicker/panner.h
+--- /tmp/stable//kdebase/kicker/libkicker/panner.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/libkicker/panner.h 2012-07-31 17:17:50.000000000 +0200
+@@ -39,7 +39,7 @@
+ Panner( TQWidget* parent, const char* name = 0 );
+ ~Panner();
+
+- TQSize tqminimumSizeHint() const { return TQWidget::tqminimumSizeHint(); }
++ TQSize minimumSizeHint() const { return TQWidget::minimumSizeHint(); }
+
+ Qt::Orientation orientation() const { return _orient; }
+ virtual void setOrientation(Qt::Orientation orientation);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/simplebutton.cpp v3.5.13-sru/kicker/libkicker/simplebutton.cpp
+--- /tmp/stable//kdebase/kicker/libkicker/simplebutton.cpp 2011-08-06 00:56:45.000000000 +0200
++++ v3.5.13-sru/kicker/libkicker/simplebutton.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -71,22 +71,22 @@
+ update();
+ }
+
+-TQSize SimpleButton::tqsizeHint() const
++TQSize SimpleButton::sizeHint() const
+ {
+ const TQPixmap* pm = pixmap();
+
+ if (!pm)
+- return TQButton::tqsizeHint();
++ return TQButton::sizeHint();
+ else
+ return TQSize(pm->width() + BUTTON_MARGIN, pm->height() + BUTTON_MARGIN);
+ }
+
+-TQSize SimpleButton::tqminimumSizeHint() const
++TQSize SimpleButton::minimumSizeHint() const
+ {
+ const TQPixmap* pm = pixmap();
+
+ if (!pm)
+- return TQButton::tqminimumSizeHint();
++ return TQButton::minimumSizeHint();
+ else
+ return TQSize(pm->width(), pm->height());
+ }
+@@ -99,7 +99,7 @@
+ if (m_highlight || isDown() || isOn()) {
+ int flags = TQStyle::Style_Default | TQStyle::Style_Enabled;
+ if (isDown() || isOn()) flags |= TQStyle::Style_Down;
+- tqstyle().tqdrawPrimitive(TQStyle::PE_ButtonTool, p, r, tqcolorGroup(), flags);
++ style().tqdrawPrimitive(TQStyle::PE_ButtonTool, p, r, colorGroup(), flags);
+ }
+ }
+
+@@ -202,7 +202,7 @@
+ if (KickerSettings::showMouseOverEffects())
+ m_highlight = true;
+
+- tqrepaint( false );
++ repaint( false );
+ TQButton::enterEvent( e );
+ }
+
+@@ -210,7 +210,7 @@
+ {
+ m_highlight = false;
+
+- tqrepaint( false );
++ repaint( false );
+ TQButton::enterEvent( e );
+ }
+
+@@ -229,7 +229,7 @@
+ _inside = false;
+ }
+
+-TQSize SimpleArrowButton::tqsizeHint() const
++TQSize SimpleArrowButton::sizeHint() const
+ {
+ return TQSize( 12, 12 );
+ }
+@@ -263,7 +263,7 @@
+
+ int flags = TQStyle::Style_Default | TQStyle::Style_Enabled;
+ if (isDown() || isOn()) flags |= TQStyle::Style_Down;
+- tqstyle().tqdrawPrimitive(pe, p, r, tqcolorGroup(), flags);
++ style().tqdrawPrimitive(pe, p, r, colorGroup(), flags);
+
+ if (m_forceStandardCursor) {
+ SimpleButton::drawButton(p);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/simplebutton.h v3.5.13-sru/kicker/libkicker/simplebutton.h
+--- /tmp/stable//kdebase/kicker/libkicker/simplebutton.h 2011-08-06 00:56:45.000000000 +0200
++++ v3.5.13-sru/kicker/libkicker/simplebutton.h 2012-07-31 17:17:50.000000000 +0200
+@@ -34,8 +34,8 @@
+ SimpleButton(TQWidget *parent, const char *name = 0, bool forceStandardCursor = FALSE);
+ void setPixmap(const TQPixmap &pix);
+ void setOrientation(Qt::Orientation orientaton);
+- TQSize tqsizeHint() const;
+- TQSize tqminimumSizeHint() const;
++ TQSize sizeHint() const;
++ TQSize minimumSizeHint() const;
+
+ protected:
+ void drawButton( TQPainter *p );
+@@ -68,7 +68,7 @@
+ public:
+ SimpleArrowButton(TQWidget *parent = 0, Qt::ArrowType arrow = Qt::UpArrow, const char *name = 0, bool forceStandardCursor = FALSE);
+ virtual ~SimpleArrowButton() {};
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+
+ protected:
+ virtual void enterEvent( TQEvent *e );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/menuext/konsole/konsole_mnu.cpp v3.5.13-sru/kicker/menuext/konsole/konsole_mnu.cpp
+--- /tmp/stable//kdebase/kicker/menuext/konsole/konsole_mnu.cpp 2011-03-12 07:58:09.000000000 +0100
++++ v3.5.13-sru/kicker/menuext/konsole/konsole_mnu.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -185,7 +185,7 @@
+ screenList.append(TQFile::decodeName(entry->d_name));
+ insertItem(SmallIconSet("konsole"),
+ i18n("Screen is a program controlling screens!",
+- "Screen at %1").tqarg(entry->d_name), id);
++ "Screen at %1").arg(entry->d_name), id);
+ id++;
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/menuext/prefmenu/prefmenu.cpp v3.5.13-sru/kicker/menuext/prefmenu/prefmenu.cpp
+--- /tmp/stable//kdebase/kicker/menuext/prefmenu/prefmenu.cpp 2011-08-11 07:25:45.000000000 +0200
++++ v3.5.13-sru/kicker/menuext/prefmenu/prefmenu.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -113,7 +113,7 @@
+ }
+
+ // ignore dotfiles.
+- if ((serviceName.tqat(0) == '.'))
++ if ((serviceName.at(0) == '.'))
+ {
+ return;
+ }
+@@ -290,7 +290,7 @@
+ }
+
+ // Ignore dotfiles.
+- if ((g->name().tqat(0) == '.'))
++ if ((g->name().at(0) == '.'))
+ {
+ continue;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/menuext/tom/tom.cc v3.5.13-sru/kicker/menuext/tom/tom.cc
+--- /tmp/stable//kdebase/kicker/menuext/tom/tom.cc 2011-08-11 07:25:45.000000000 +0200
++++ v3.5.13-sru/kicker/menuext/tom/tom.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -109,7 +109,7 @@
+ l2->setBuddy(this);
+ runLayout->addWidget(l2);*/
+ m_runEdit = new KHistoryCombo(this);
+- m_runEdit->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Preferred);
++ m_runEdit->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Preferred);
+ runLayout->addWidget(m_runEdit, 10);
+ runLayout->addSpacing(KDialog::spacingHint());
+
+@@ -143,7 +143,7 @@
+ TQPainter p(this);
+ TQRect r(rect());
+ // ew, nasty hack. may result in coredumps due to horrid C-style cast???
+- kapp->style().tqdrawControl(TQStyle::CE_PopupMenuItem, &p, m_menu, r, palette().active(), TQStyle::Style_Enabled,
++ kapp->style().drawControl(TQStyle::CE_PopupMenuItem, &p, m_menu, r, palette().active(), TQStyle::Style_Enabled,
+ TQStyleOption(static_cast<TQMenuItem*>(this), 0, KIcon::SizeMedium ));
+ p.drawPixmap(KDialog::spacingHint(), 1, icon);
+ p.drawText((KDialog::spacingHint() * 2) + KIcon::SizeMedium, textRect.height() + ((height() - textRect.height()) / 2), i18n("Run:"));
+@@ -736,13 +736,13 @@
+
+ TQRect TOM::sideImageRect()
+ {
+- return TQStyle::tqvisualRect( TQRect( frameWidth(), frameWidth(), m_sidePixmap.width(),
++ return TQStyle::visualRect( TQRect( frameWidth(), frameWidth(), m_sidePixmap.width(),
+ height() - 2*frameWidth() ), this );
+ }
+
+ void TOM::resizeEvent(TQResizeEvent * e)
+ {
+- setFrameRect( TQStyle::tqvisualRect( TQRect( m_sidePixmap.width(), 0,
++ setFrameRect( TQStyle::visualRect( TQRect( m_sidePixmap.width(), 0,
+ width() - m_sidePixmap.width(), height() ), this ) );
+ }
+
+@@ -755,9 +755,9 @@
+
+ TQPainter p(this);
+
+- tqstyle().tqdrawPrimitive( TQStyle::PE_PanelPopup, &p,
++ style().tqdrawPrimitive( TQStyle::PE_PanelPopup, &p,
+ TQRect( 0, 0, width(), height() ),
+- tqcolorGroup(), TQStyle::Style_Default,
++ colorGroup(), TQStyle::Style_Default,
+ TQStyleOption( frameWidth(), 0 ) );
+
+ TQRect r = sideImageRect();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/proxy/appletproxy.cpp v3.5.13-sru/kicker/proxy/appletproxy.cpp
+--- /tmp/stable//kdebase/kicker/proxy/appletproxy.cpp 2011-07-08 00:00:31.000000000 +0200
++++ v3.5.13-sru/kicker/proxy/appletproxy.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -228,7 +228,7 @@
+
+ void AppletProxy::repaintApplet(TQWidget* widget)
+ {
+- widget->tqrepaint();
++ widget->repaint();
+
+ const TQObjectList children = widget->childrenListObject();
+
+@@ -372,14 +372,14 @@
+ }
+ return true;
+ }
+- else if ( fun == "tqsetAlignment(int)" )
++ else if ( fun == "setAlignment(int)" )
+ {
+ TQDataStream dataStream( data, IO_ReadOnly );
+- int tqalignment;
+- dataStream >> tqalignment;
++ int alignment;
++ dataStream >> alignment;
+
+ if(_applet) {
+- _applet->tqsetAlignment( (KPanelApplet::Alignment)tqalignment );
++ _applet->setAlignment( (KPanelApplet::Alignment)alignment );
+ }
+ return true;
+ }
+@@ -435,7 +435,7 @@
+ if(_applet)
+ if ( _bg.isNull() ) { // no transparency
+ _applet->unsetPalette();
+- _applet->tqrepaint();
++ _applet->repaint();
+ }
+ else { //transparency
+ _applet->blockSignals(true);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/proxy/extensionproxy.cpp v3.5.13-sru/kicker/proxy/extensionproxy.cpp
+--- /tmp/stable//kdebase/kicker/proxy/extensionproxy.cpp 2011-03-12 07:58:08.000000000 +0100
++++ v3.5.13-sru/kicker/proxy/extensionproxy.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -258,7 +258,7 @@
+ bool ExtensionProxy::process(const TQCString &fun, const TQByteArray &data,
+ TQCString& replyType, TQByteArray &replyData)
+ {
+- if ( fun == "tqsizeHint(int,TQSize)" )
++ if ( fun == "sizeHint(int,TQSize)" )
+ {
+ TQDataStream dataStream( data, IO_ReadOnly );
+ int pos;
+@@ -272,7 +272,7 @@
+ if(!_extension)
+ reply << maxSize;
+ else
+- reply << _extension->tqsizeHint((KPanelExtension::Position)pos, maxSize);
++ reply << _extension->sizeHint((KPanelExtension::Position)pos, maxSize);
+
+ return true;
+ }
+@@ -287,14 +287,14 @@
+ }
+ return true;
+ }
+- else if ( fun == "tqsetAlignment(int)" )
++ else if ( fun == "setAlignment(int)" )
+ {
+ TQDataStream dataStream( data, IO_ReadOnly );
+- int tqalignment;
+- dataStream >> tqalignment;
++ int alignment;
++ dataStream >> alignment;
+
+ if(_extension) {
+- _extension->tqsetAlignment( (KPanelExtension::Alignment)tqalignment );
++ _extension->setAlignment( (KPanelExtension::Alignment)alignment );
+ }
+ return true;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/taskbar/taskbarcontainer.cpp v3.5.13-sru/kicker/taskbar/taskbarcontainer.cpp
+--- /tmp/stable//kdebase/kicker/taskbar/taskbarcontainer.cpp 2011-03-12 07:58:09.000000000 +0100
++++ v3.5.13-sru/kicker/taskbar/taskbarcontainer.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -135,7 +135,7 @@
+ windowListButton->setPixmap(kapp->iconLoader()->loadIcon(icon,
+ KIcon::Panel,
+ 16));
+- windowListButton->setMinimumSize(windowListButton->tqsizeHint());
++ windowListButton->setMinimumSize(windowListButton->sizeHint());
+ layout->insertWidget(0, windowListButton);
+ windowListButton->show();
+ }
+@@ -230,7 +230,7 @@
+ windowListButton->setPixmap(kapp->iconLoader()->loadIcon(icon,
+ KIcon::Panel,
+ 16));
+- windowListButton->setMinimumSize(windowListButton->tqsizeHint());
++ windowListButton->setMinimumSize(windowListButton->sizeHint());
+ }
+ }
+
+@@ -249,13 +249,13 @@
+ pos.setX( pos.x() + width() );
+ break;
+ case KPanelApplet::Left:
+- pos.setX( pos.x() - windowListMenu->tqsizeHint().width() );
++ pos.setX( pos.x() - windowListMenu->sizeHint().width() );
+ break;
+ case KPanelApplet::Down:
+ pos.setY( pos.y() + height() );
+ break;
+ case KPanelApplet::Up:
+- pos.setY( pos.y() - windowListMenu->tqsizeHint().height() );
++ pos.setY( pos.y() - windowListMenu->sizeHint().height() );
+ default:
+ break;
+ }
+@@ -277,9 +277,9 @@
+ connect( windowListButton, TQT_SIGNAL( pressed() ), TQT_SLOT( showWindowListMenu() ) );
+ }
+
+-TQSize TaskBarContainer::tqsizeHint( KPanelExtension::Position p, TQSize maxSize) const
++TQSize TaskBarContainer::sizeHint( KPanelExtension::Position p, TQSize maxSize) const
+ {
+- TQSize size = taskBar->tqsizeHint( p, maxSize );
++ TQSize size = taskBar->sizeHint( p, maxSize );
+ if ( (p == KPanelExtension::Left || p == KPanelExtension::Right) && showWindowListButton ) {
+ return TQSize( size.width(), size.height() + WINDOWLISTBUTTON_SIZE );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/taskbar/taskbarcontainer.h v3.5.13-sru/kicker/taskbar/taskbarcontainer.h
+--- /tmp/stable//kdebase/kicker/taskbar/taskbarcontainer.h 2011-03-12 07:58:09.000000000 +0100
++++ v3.5.13-sru/kicker/taskbar/taskbarcontainer.h 2012-07-31 17:17:50.000000000 +0200
+@@ -48,7 +48,7 @@
+ void popupDirectionChange( KPanelApplet::Direction );
+ void preferences();
+ //FIXME: don't use Position, use Orientation
+- TQSize tqsizeHint( KPanelExtension::Position, TQSize maxSize ) const;
++ TQSize sizeHint( KPanelExtension::Position, TQSize maxSize ) const;
+ void setBackground();
+
+ k_dcop:
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/taskbar/taskbar.cpp v3.5.13-sru/kicker/taskbar/taskbar.cpp
+--- /tmp/stable//kdebase/kicker/taskbar/taskbar.cpp 2011-08-11 07:25:46.000000000 +0200
++++ v3.5.13-sru/kicker/taskbar/taskbar.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -66,7 +66,7 @@
+ blocklayout = true;
+
+ // init
+- tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding ) );
++ setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding ) );
+
+ // setup animation frames
+ for (int i = 1; i < 11; i++)
+@@ -160,7 +160,7 @@
+ }
+
+
+-TQSize TaskBar::tqsizeHint() const
++TQSize TaskBar::sizeHint() const
+ {
+ // get our minimum height based on the minimum button height or the
+ // height of the font in use, which is largest
+@@ -171,7 +171,7 @@
+ return TQSize(BUTTON_MIN_WIDTH, minButtonHeight);
+ }
+
+-TQSize TaskBar::tqsizeHint( KPanelExtension::Position p, TQSize maxSize) const
++TQSize TaskBar::sizeHint( KPanelExtension::Position p, TQSize maxSize) const
+ {
+ // get our minimum height based on the minimum button height or the
+ // height of the font in use, which is largest
+@@ -898,9 +898,9 @@
+ {
+ if ( !isTopLevel() )
+ {
+- TQMouseEvent me( e->type(), mapTo( tqtopLevelWidget(), e->pos() ),
++ TQMouseEvent me( e->type(), mapTo( topLevelWidget(), e->pos() ),
+ e->globalPos(), e->button(), e->state() );
+- TQApplication::sendEvent( tqtopLevelWidget(), &me );
++ TQApplication::sendEvent( topLevelWidget(), &me );
+ }
+ }
+
+@@ -1074,7 +1074,7 @@
+ TaskContainer::List::iterator it;
+ for (int i = 0; i < numContainers; ++i)
+ {
+- it = forward ? list.tqat(i) : list.tqat(numContainers - i - 1);
++ it = forward ? list.at(i) : list.at(numContainers - i - 1);
+
+ if (it != list.end() && (*it)->activateNextTask(forward, forcenext))
+ {
+@@ -1087,7 +1087,7 @@
+ // moving forward from the last, or backward from the first, loop around
+ for (int i = 0; i < numContainers; ++i)
+ {
+- it = forward ? list.tqat(i) : list.tqat(numContainers - i - 1);
++ it = forward ? list.at(i) : list.at(numContainers - i - 1);
+
+ if (it != list.end() && (*it)->activateNextTask(forward, forcenext))
+ {
+@@ -1101,7 +1101,7 @@
+ forcenext = true; // select first
+ for (int i = 0; i < numContainers; ++i)
+ {
+- it = forward ? list.tqat(i) : list.tqat(numContainers - i - 1);
++ it = forward ? list.at(i) : list.at(numContainers - i - 1);
+
+ if (it == list.end())
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/taskbar/taskbar.h v3.5.13-sru/kicker/taskbar/taskbar.h
+--- /tmp/stable//kdebase/kicker/taskbar/taskbar.h 2011-03-12 07:58:09.000000000 +0100
++++ v3.5.13-sru/kicker/taskbar/taskbar.h 2012-07-31 17:17:50.000000000 +0200
+@@ -47,8 +47,8 @@
+ TaskBar( TQWidget *parent = 0, const char *name = 0 );
+ ~TaskBar();
+
+- TQSize tqsizeHint() const;
+- TQSize tqsizeHint( KPanelExtension::Position, TQSize maxSize ) const;
++ TQSize sizeHint() const;
++ TQSize sizeHint( KPanelExtension::Position, TQSize maxSize ) const;
+
+ void setOrientation( Orientation );
+ void setArrowType( TQt::ArrowType at );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/taskbar/taskcontainer.cpp v3.5.13-sru/kicker/taskbar/taskcontainer.cpp
+--- /tmp/stable//kdebase/kicker/taskbar/taskcontainer.cpp 2011-09-01 16:50:23.000000000 +0200
++++ v3.5.13-sru/kicker/taskbar/taskcontainer.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -233,9 +233,9 @@
+
+ void TaskContainer::animationTimerFired()
+ {
+- if (!frames.isEmpty() && taskBar->showIcon() && frames.tqat(currentFrame) != frames.end())
++ if (!frames.isEmpty() && taskBar->showIcon() && frames.at(currentFrame) != frames.end())
+ {
+- TQPixmap *pm = *frames.tqat(currentFrame);
++ TQPixmap *pm = *frames.at(currentFrame);
+
+ // draw pixmap
+ if ( pm && !pm->isNull() ) {
+@@ -314,8 +314,8 @@
+ void TaskContainer::resizeEvent( TQResizeEvent * )
+ {
+ // calculate the icon rect
+- TQRect br( tqstyle().subRect( TQStyle::SR_PushButtonContents, this ) );
+- iconRect = TQStyle::tqvisualRect( TQRect(br.x() + 2, (height() - 16) / 2, 16, 16), this );
++ TQRect br( style().subRect( TQStyle::SR_PushButtonContents, this ) );
++ iconRect = TQStyle::visualRect( TQRect(br.x() + 2, (height() - 16) / 2, 16, 16), this );
+ }
+
+ void TaskContainer::add(Task::Ptr task)
+@@ -477,7 +477,7 @@
+ }
+
+ TQPainter p;
+- p.tqbegin(pm ,this);
++ p.begin(pm ,this);
+ drawButton(&p);
+ p.end();
+
+@@ -533,7 +533,7 @@
+
+ font.setBold(active);
+
+- TQColorGroup colors = tqpalette().active();
++ TQColorGroup colors = palette().active();
+
+ if (TaskBarSettings::useCustomColors())
+ {
+@@ -582,20 +582,20 @@
+
+ bool sunken = isDown() || (alwaysDrawButtons && (active || aboutToActivate));
+ bool reverse = TQApplication::reverseLayout();
+- TQRect br(tqstyle().subRect(TQStyle::SR_PushButtonContents, this));
+- TQPoint shift = TQPoint(tqstyle().tqpixelMetric(TQStyle::PM_ButtonShiftHorizontal),
+- tqstyle().tqpixelMetric(TQStyle::PM_ButtonShiftVertical));
++ TQRect br(style().subRect(TQStyle::SR_PushButtonContents, this));
++ TQPoint shift = TQPoint(style().pixelMetric(TQStyle::PM_ButtonShiftHorizontal),
++ style().pixelMetric(TQStyle::PM_ButtonShiftVertical));
+
+ // draw button background
+ if (drawButton)
+ {
+ if (KickerSettings::showDeepButtons()) {
+- tqstyle().tqdrawPrimitive(TQStyle::PE_ButtonBevel, p,
++ style().tqdrawPrimitive(TQStyle::PE_ButtonBevel, p,
+ TQRect(1, 1, width()-3, height()-2),
+ colors, sunken ? TQStyle::Style_On : TQStyle::Style_Raised);
+ }
+ else {
+- tqstyle().tqdrawPrimitive(TQStyle::PE_ButtonTool, p,
++ style().tqdrawPrimitive(TQStyle::PE_ButtonTool, p,
+ TQRect(1, 1, width()-2, height()-2),
+ colors, sunken ? TQStyle::Style_Down : TQStyle::Style_Raised);
+ }
+@@ -653,7 +653,7 @@
+ // draw modified overlay
+ if (!modPixmap.isNull())
+ {
+- TQRect r = TQStyle::tqvisualRect(TQRect(br.x() + textPos,
++ TQRect r = TQStyle::visualRect(TQRect(br.x() + textPos,
+ (height() - 16) / 2, 16, 16),
+ this);
+
+@@ -670,7 +670,7 @@
+ // draw text
+ if (!text.isEmpty())
+ {
+- TQRect tr = TQStyle::tqvisualRect(TQRect(br.x() + textPos + 1, 0,
++ TQRect tr = TQStyle::visualRect(TQRect(br.x() + textPos + 1, 0,
+ width() - textPos, height()),
+ this);
+ int textFlags = AlignVCenter | SingleLine;
+@@ -733,10 +733,10 @@
+ KImageEffect::blend(img, timg, *taskBar->blendGradient(size()), KImageEffect::Red);
+
+ // End painting before assigning the pixmap
+- QPaintDevice* opd = p->device();
++ TQPaintDevice* opd = p->device();
+ p->end();
+ pm->convertFromImage(img);
+- p->tqbegin(opd ,this);
++ p->begin(opd ,this);
+ }
+ else
+ {
+@@ -754,9 +754,9 @@
+ }
+ }
+
+- if (!frames.isEmpty() && m_startup && frames.tqat(currentFrame) != frames.end())
++ if (!frames.isEmpty() && m_startup && frames.at(currentFrame) != frames.end())
+ {
+- TQPixmap *anim = *frames.tqat(currentFrame);
++ TQPixmap *anim = *frames.at(currentFrame);
+
+ if (anim && !anim->isNull())
+ {
+@@ -787,19 +787,19 @@
+ }
+
+ int flags = TQStyle::Style_Enabled;
+- TQRect ar = TQStyle::tqvisualRect(TQRect(br.x() + br.width() - 8 - 2,
++ TQRect ar = TQStyle::visualRect(TQRect(br.x() + br.width() - 8 - 2,
+ br.y(), 8, br.height()), this);
+ if (sunken)
+ {
+ flags |= TQStyle::Style_Down;
+ }
+
+- tqstyle().tqdrawPrimitive(e, p, ar, colors, flags);
++ style().tqdrawPrimitive(e, p, ar, colors, flags);
+ }
+
+ // draw mouse over frame in transparent mode
+ if (m_mouseOver && halo)
+- KickerLib::drawBlendedRect(p, TQRect(0, 0, width(), height()), tqcolorGroup().foreground());
++ KickerLib::drawBlendedRect(p, TQRect(0, 0, width(), height()), colorGroup().foreground());
+
+ if (aboutToActivate)
+ {
+@@ -830,13 +830,13 @@
+ // in common, and then use everything UP TO that as the name in the button
+ while (i < maxLength)
+ {
+- TQChar check = match.tqat(i).lower();
++ TQChar check = match.at(i).lower();
+ Task::List::iterator itEnd = m_filteredTasks.end();
+ for (Task::List::iterator it = m_filteredTasks.begin(); it != itEnd; ++it)
+ {
+ // we're doing a lot of Utf8 -> TQString conversions here
+ // by repeatedly calling visibleIconicName() =/
+- if (check != (*it)->visibleName().tqat(i).lower())
++ if (check != (*it)->visibleName().at(i).lower())
+ {
+ if (i > 0)
+ {
+@@ -856,7 +856,7 @@
+ }
+
+ // strip trailing crap
+- while (i > 0 && !match.tqat(i).isLetterOrNumber())
++ while (i > 0 && !match.at(i).isLetterOrNumber())
+ {
+ --i;
+ }
+@@ -1161,17 +1161,17 @@
+ pos.setX(pos.x() + width());
+ break;
+ case LeftArrow:
+- pos.setX(pos.x() - m_menu->tqsizeHint().width());
++ pos.setX(pos.x() - m_menu->sizeHint().width());
+ break;
+ case DownArrow:
+ if ( TQApplication::reverseLayout() )
+- pos.setX( pos.x() + width() - m_menu->tqsizeHint().width() );
++ pos.setX( pos.x() + width() - m_menu->sizeHint().width() );
+ pos.setY( pos.y() + height() );
+ break;
+ case UpArrow:
+ if ( TQApplication::reverseLayout() )
+- pos.setX( pos.x() + width() - m_menu->tqsizeHint().width() );
+- pos.setY(pos.y() - m_menu->tqsizeHint().height());
++ pos.setX( pos.x() + width() - m_menu->sizeHint().width() );
++ pos.setY(pos.y() - m_menu->sizeHint().height());
+ break;
+ default:
+ break;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/taskmanager/tasklmbmenu.cpp v3.5.13-sru/kicker/taskmanager/tasklmbmenu.cpp
+--- /tmp/stable//kdebase/kicker/taskmanager/tasklmbmenu.cpp 2011-08-11 07:25:46.000000000 +0200
++++ v3.5.13-sru/kicker/taskmanager/tasklmbmenu.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -75,7 +75,7 @@
+ p->drawText(x, y, w, h, AlignAuto|AlignVCenter|DontClip|ShowPrefix, m_text);
+ }
+
+-TQSize TaskMenuItem::tqsizeHint()
++TQSize TaskMenuItem::sizeHint()
+ {
+ TQFont font = TQFont();
+ if (m_isActive)
+@@ -213,7 +213,7 @@
+ void TaskLMBMenu::dragSwitch()
+ {
+ bool ok = false;
+- Task::Ptr t = m_tasks.tqat(indexOf(m_lastDragId), &ok);
++ Task::Ptr t = m_tasks.at(indexOf(m_lastDragId), &ok);
+ if (ok)
+ {
+ t->activate();
+@@ -264,7 +264,7 @@
+ if (index != -1)
+ {
+ bool ok = false;
+- Task::Ptr task = m_tasks.tqat(index, &ok);
++ Task::Ptr task = m_tasks.at(index, &ok);
+ if (ok)
+ {
+ Task::List tasks;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/taskmanager/tasklmbmenu.h v3.5.13-sru/kicker/taskmanager/tasklmbmenu.h
+--- /tmp/stable//kdebase/kicker/taskmanager/tasklmbmenu.h 2011-03-12 07:58:09.000000000 +0100
++++ v3.5.13-sru/kicker/taskmanager/tasklmbmenu.h 2012-07-31 17:17:50.000000000 +0200
+@@ -38,7 +38,7 @@
+ ~TaskMenuItem();
+
+ void paint(TQPainter*, const TQColorGroup&, bool, bool, int, int, int, int);
+- TQSize tqsizeHint();
++ TQSize sizeHint();
+ void setAttentionState(bool state) { m_attentionState = state; }
+
+ private:
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/taskmanager/taskmanager.cpp v3.5.13-sru/kicker/taskmanager/taskmanager.cpp
+--- /tmp/stable//kdebase/kicker/taskmanager/taskmanager.cpp 2011-08-11 07:25:46.000000000 +0200
++++ v3.5.13-sru/kicker/taskmanager/taskmanager.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -1356,7 +1356,7 @@
+ Picture picture = XRenderCreatePicture(dpy, m_windowPixmap, format,
+ CPSubwindowMode, &picAttr);
+
+- // Get tqshaped windows handled correctly.
++ // Get shaped windows handled correctly.
+ XserverRegion region = XFixesCreateRegionFromWindow(dpy, m_frameId,
+ WindowRegionBounding);
+ XFixesSetPictureClipRegion(dpy, picture, 0, 0, region);
+@@ -1375,7 +1375,7 @@
+ int thumbnailHeight = (int)(winAttr.height * factor);
+
+ TQPixmap thumbnail(thumbnailWidth, thumbnailHeight);
+- thumbnail.fill(TQApplication::tqpalette().active().background());
++ thumbnail.fill(TQApplication::palette().active().background());
+
+ #if 0 // TQImage::smoothScale() scaling
+ TQPixmap full(winAttr.width, winAttr.height);
+@@ -1499,7 +1499,7 @@
+
+ Task::List TaskDrag::decode( const TQMimeSource* e )
+ {
+- TQByteArray data(e->tqencodedData("taskbar/task"));
++ TQByteArray data(e->encodedData("taskbar/task"));
+ Task::List tasks;
+
+ if (data.size())
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/filter/filter.cc v3.5.13-sru/kioslave/filter/filter.cc
+--- /tmp/stable//kdebase/kioslave/filter/filter.cc 2011-03-12 07:57:56.000000000 +0100
++++ v3.5.13-sru/kioslave/filter/filter.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -56,7 +56,7 @@
+ FilterProtocol::FilterProtocol( const TQCString & protocol, const TQCString &pool, const TQCString &app )
+ : KIO::SlaveBase( protocol, pool, app )
+ {
+- TQString mimetype = TQString::tqfromLatin1("application/x-") + TQString::tqfromLatin1(protocol);
++ TQString mimetype = TQString::fromLatin1("application/x-") + TQString::fromLatin1(protocol);
+ filter = KFilterBase::findFilterByMimeType( mimetype );
+ Q_ASSERT(filter);
+ }
+@@ -157,7 +157,7 @@
+
+ void FilterProtocol::put( const KURL &/*url*/, int, bool /*_overwrite*/, bool /*_resume*/ )
+ {
+- error( KIO::ERR_UNSUPPORTED_ACTION, TQString::tqfromLatin1("put"));
++ error( KIO::ERR_UNSUPPORTED_ACTION, TQString::fromLatin1("put"));
+ }
+
+ void FilterProtocol::setSubURL(const KURL &url)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/fish/fish.cpp v3.5.13-sru/kioslave/fish/fish.cpp
+--- /tmp/stable//kdebase/kioslave/fish/fish.cpp 2011-08-11 07:25:36.000000000 +0200
++++ v3.5.13-sru/kioslave/fish/fish.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -1436,7 +1436,7 @@
+ if (rc > 0) {
+ int noff = received(buf,rc+offset);
+ if (noff > 0) memmove(buf,buf+offset+rc-noff,noff);
+- //myDebug( << "left " << noff << " bytes: " << TQString::tqfromLatin1(buf,offset) << endl);
++ //myDebug( << "left " << noff << " bytes: " << TQString::fromLatin1(buf,offset) << endl);
+ offset = noff;
+ } else {
+ if (errno == EINTR)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/ldap/kio_ldap.cpp v3.5.13-sru/kioslave/ldap/kio_ldap.cpp
+--- /tmp/stable//kdebase/kioslave/ldap/kio_ldap.cpp 2011-08-11 07:25:35.000000000 +0200
++++ v3.5.13-sru/kioslave/ldap/kio_ldap.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -166,8 +166,8 @@
+ {
+ TQString oid; bool critical; TQByteArray value;
+ int i = 0;
+- while ( hasMetaData( TQString::tqfromLatin1("SERVER_CTRL%1").arg(i) ) ) {
+- TQCString val = metaData( TQString::tqfromLatin1("SERVER_CTRL%1").arg(i) ).utf8();
++ while ( hasMetaData( TQString::fromLatin1("SERVER_CTRL%1").arg(i) ) ) {
++ TQCString val = metaData( TQString::fromLatin1("SERVER_CTRL%1").arg(i) ).utf8();
+ LDIF::splitControl( val, oid, critical, value );
+ kdDebug(7125) << "server ctrl #" << i << " value: " << val <<
+ " oid: " << oid << " critical: " << critical << " value: " <<
+@@ -176,8 +176,8 @@
+ i++;
+ }
+ i = 0;
+- while ( hasMetaData( TQString::tqfromLatin1("CLIENT_CTRL%1").arg(i) ) ) {
+- TQCString val = metaData( TQString::tqfromLatin1("CLIENT_CTRL%1").arg(i) ).utf8();
++ while ( hasMetaData( TQString::fromLatin1("CLIENT_CTRL%1").arg(i) ) ) {
++ TQCString val = metaData( TQString::fromLatin1("CLIENT_CTRL%1").arg(i) ).utf8();
+ LDIF::splitControl( val, oid, critical, value );
+ kdDebug(7125) << "client ctrl #" << i << " value: " << val <<
+ " oid: " << oid << " critical: " << critical << " value: " <<
+@@ -197,7 +197,7 @@
+ if ( count > 0 ) {
+ attrs = static_cast<char**>( malloc((count+1) * sizeof(char*)) );
+ for (int i=0; i<count; i++)
+- attrs[i] = strdup( (*usrc.attributes().tqat(i)).utf8() );
++ attrs[i] = strdup( (*usrc.attributes().at(i)).utf8() );
+ attrs[count] = 0;
+ }
+
+@@ -519,7 +519,7 @@
+ info.url.setPort( mPort );
+ info.url.setUser( mUser );
+ info.caption = i18n("LDAP Login");
+- info.comment = TQString::tqfromLatin1( mProtocol ) + "://" + mHost + ":" +
++ info.comment = TQString::fromLatin1( mProtocol ) + "://" + mHost + ":" +
+ TQString::number( mPort );
+ info.commentLabel = i18n("site:");
+ info.username = mAuthSASL ? mUser : mBindName;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/mac/kio_mac.cpp v3.5.13-sru/kioslave/mac/kio_mac.cpp
+--- /tmp/stable//kdebase/kioslave/mac/kio_mac.cpp 2011-08-11 07:25:37.000000000 +0200
++++ v3.5.13-sru/kioslave/mac/kio_mac.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -455,12 +455,12 @@
+ // otherwise it only prints the year
+ TQRegExp hourMin("(..):(..)");
+ if (hourMin.exactMatch(third)) {
+- TQDate tqcurrentDate(TQDate::currentDate());
++ TQDate currentDate(TQDate::currentDate());
+
+- if (month > tqcurrentDate.month()) {
+- year = tqcurrentDate.year() - 1;
++ if (month > currentDate.month()) {
++ year = currentDate.year() - 1;
+ } else {
+- year = tqcurrentDate.year();
++ year = currentDate.year();
+ }
+ TQString h(hourMin.cap(1));
+ TQString m(hourMin.cap(2));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/man/kio_man.cpp v3.5.13-sru/kioslave/man/kio_man.cpp
+--- /tmp/stable//kdebase/kioslave/man/kio_man.cpp 2011-08-11 07:25:38.000000000 +0200
++++ v3.5.13-sru/kioslave/man/kio_man.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -82,7 +82,7 @@
+ section = TQString::null;
+
+ TQString url = _url;
+- if (url.tqat(0) == '/') {
++ if (url.at(0) == '/') {
+ if (KStandardDirs::exists(url)) {
+ title = url;
+ return true;
+@@ -93,7 +93,7 @@
+ }
+ }
+
+- while (url.tqat(0) == '/')
++ while (url.at(0) == '/')
+ url.remove(0,1);
+
+ title = url;
+@@ -259,7 +259,7 @@
+ TQStringList list;
+
+ // kdDebug() << "findPages '" << section << "' '" << title << "'\n";
+- if (title.tqat(0) == '/') {
++ if (title.at(0) == '/') {
+ list.append(title);
+ return list;
+ }
+@@ -279,7 +279,7 @@
+ // Section given as argument
+ //
+ sect_list += section;
+- while (section.tqat(section.length() - 1).isLetter()) {
++ while (section.at(section.length() - 1).isLetter()) {
+ section.truncate(section.length() - 1);
+ sect_list += section;
+ }
+@@ -400,11 +400,11 @@
+ {
+ m_outputBuffer.writeBlock(insert,strlen(insert));
+ }
+- if (!insert || m_outputBuffer.tqat() >= 2048)
++ if (!insert || m_outputBuffer.at() >= 2048)
+ {
+ m_outputBuffer.close();
+ data(m_outputBuffer.buffer());
+- m_outputBuffer.tqsetBufferFromCopy(TQByteArray());
++ m_outputBuffer.setBuffer(TQByteArray());
+ m_outputBuffer.open(IO_WriteOnly);
+ }
+ }
+@@ -505,7 +505,7 @@
+
+ m_outputBuffer.close();
+ data(m_outputBuffer.buffer());
+- m_outputBuffer.tqsetBufferFromCopy(TQByteArray());
++ m_outputBuffer.setBuffer(TQByteArray());
+ // tell we are done
+ data(TQByteArray());
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/man/man2html.cpp v3.5.13-sru/kioslave/man/man2html.cpp
+--- /tmp/stable//kdebase/kioslave/man/man2html.cpp 2011-08-16 01:07:51.000000000 +0200
++++ v3.5.13-sru/kioslave/man/man2html.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -1905,7 +1905,7 @@
+ return (index >= 0) && (index < (int)items.count());
+ }
+ TABLEITEM &at(int index) {
+- return *items.tqat(index);
++ return *items.at(index);
+ }
+
+ TABLEROW *copyLayout() const;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kcmodule/main.cpp v3.5.13-sru/kioslave/media/kcmodule/main.cpp
+--- /tmp/stable//kdebase/kioslave/media/kcmodule/main.cpp 2011-03-12 07:57:54.000000000 +0100
++++ v3.5.13-sru/kioslave/media/kcmodule/main.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -67,6 +67,7 @@
+ I18N_NOOP("(c) 2005 Jean-Remy Falleri"));
+ about->addAuthor("Jean-Remy Falleri", I18N_NOOP("Maintainer"), "jr.falleri@laposte.net");
+ about->addAuthor("Kevin Ottens", 0, "ervin ipsquad net");
++ about->addAuthor("Valentine Sinitsyn", 0, "e_val@inbox.ru");
+ about->addCredit("Achim Bohnet", I18N_NOOP("Help for the application design"));
+
+ setAboutData( about );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kcmodule/managermodule.cpp v3.5.13-sru/kioslave/media/kcmodule/managermodule.cpp
+--- /tmp/stable//kdebase/kioslave/media/kcmodule/managermodule.cpp 2010-08-13 00:37:22.000000000 +0200
++++ v3.5.13-sru/kioslave/media/kcmodule/managermodule.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -1,5 +1,6 @@
+ /* This file is part of the KDE Project
+ Copyright (c) 2005 Kévin Ottens <ervin ipsquad net>
++ Copyright (c) 2006 Valentine Sinitsyn <e_val@inbox.ru>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+@@ -20,9 +21,13 @@
+
+ #include "managermodule.h"
+
++#include <kconfig.h>
+ #include <klocale.h>
+ #include <dcopref.h>
++#include <tqbutton.h>
+ #include <tqcheckbox.h>
++#include <tqcombobox.h>
++#include <tqobjectlist.h>
+ #include <kdirnotify_stub.h>
+
+ #include "managermoduleview.h"
+@@ -31,7 +36,7 @@
+ ManagerModule::ManagerModule( TQWidget* parent, const char* name )
+ : KCModule( parent, name )
+ {
+- ManagerModuleView *view = new ManagerModuleView( this );
++ view = new ManagerModuleView( this );
+
+ addConfig( MediaManagerSettings::self(), view );
+
+@@ -49,12 +54,87 @@
+ #endif
+ view->kcfg_CdPollingEnabled->setEnabled( false );
+
++ connect( view->option_automount, SIGNAL( stateChanged(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_ro, SIGNAL( stateChanged(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_quiet, SIGNAL( stateChanged(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_flush, SIGNAL( stateChanged(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_uid, SIGNAL( stateChanged(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_utf8, SIGNAL( stateChanged(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_sync, SIGNAL( stateChanged(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_atime, SIGNAL( stateChanged(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_shortname, SIGNAL( activated(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_journaling, SIGNAL( activated(int) ), this, SLOT( emitChanged() ) );
++
+ load();
++}
++
++
++void ManagerModule::load()
++{
++ KCModule::load();
++
++ KConfig config("mediamanagerrc");
++ config.setGroup("DefaultOptions");
++
++ view->option_automount->setChecked( config.readBoolEntry("automount", false) );
++ view->option_ro->setChecked( config.readBoolEntry("ro", false) );
++ view->option_quiet->setChecked( config.readBoolEntry("quiet", false) );
++ if (config.hasKey("flush"))
++ view->option_flush->setChecked( config.readBoolEntry("flush") );
++ else
++ view->option_flush->setNoChange();
++ view->option_uid->setChecked( config.readBoolEntry("uid", true) );
++ view->option_utf8->setChecked( config.readBoolEntry("utf8", true) );
++ if (config.hasKey("sync"))
++ view->option_sync->setChecked( config.readBoolEntry("sync") );
++ else
++ view->option_sync->setNoChange();
++ if (config.hasKey("atime"))
++ view->option_atime->setChecked( config.readBoolEntry("atime") );
++ else
++ view->option_atime->setNoChange();
++
++ QString value;
++
++ value = config.readEntry("shortname", "lower").lower();
++ for (int i = 0; i < view->option_shortname->count(); i++)
++ if (view->option_shortname->text(i).lower() == value) view->option_shortname->setCurrentItem(i);
++
++ value = config.readEntry("journaling", "ordered").lower();
++ for (int i = 0; i < view->option_journaling->count(); i++)
++ if (view->option_journaling->text(i).lower() == value) view->option_journaling->setCurrentItem(i);
++
++ rememberSettings();
+ }
+
+ void ManagerModule::save()
+ {
+ KCModule::save();
++
++ KConfig config("mediamanagerrc");
++ config.setGroup("DefaultOptions");
++
++ config.writeEntry("automount", view->option_automount->isChecked());
++ config.writeEntry("ro", view->option_ro->isChecked());
++ config.writeEntry("quiet", view->option_quiet->isChecked());
++ if (view->option_flush->state() == TQButton::NoChange)
++ config.deleteEntry("flush");
++ else
++ config.writeEntry("flush", view->option_flush->isChecked());
++ config.writeEntry("uid", view->option_uid->isChecked());
++ config.writeEntry("utf8", view->option_utf8->isChecked());
++ if (view->option_sync->state() == TQButton::NoChange)
++ config.deleteEntry("sync");
++ else
++ config.writeEntry("sync", view->option_sync->isChecked());
++ if (view->option_atime->state() == TQButton::NoChange)
++ config.deleteEntry("atime");
++ else
++ config.writeEntry("atime", view->option_atime->isChecked());
++ config.writeEntry("journaling", view->option_journaling->currentText().lower());
++ config.writeEntry("shortname", view->option_shortname->currentText().lower());
++
++ rememberSettings();
+
+ //Well... reloadBackends is buggy with HAL, it seems to be linked
+ //to a bug in the unmaintained Qt3 DBUS binding ;-/
+@@ -70,5 +150,64 @@
+ notifier.FilesAdded( "media:/" );
+ }
+
++void ManagerModule::defaults()
++{
++ KCModule::defaults();
++
++ view->option_automount->setChecked(false);
++ view->option_ro->setChecked(false);
++ view->option_quiet->setChecked(false);
++ view->option_flush->setNoChange();
++ view->option_uid->setChecked(true);
++ view->option_utf8->setChecked(true);
++ view->option_sync->setNoChange();
++ view->option_atime->setNoChange();
++ view->option_journaling->setCurrentItem(1);
++ view->option_shortname->setCurrentItem(0);
++}
++
++void ManagerModule::rememberSettings()
++{
++ TQObjectList *options = view->queryList(0, "^option_");
++ TQObject *current = 0;
++ TQObjectListIterator it(*options);
++
++ settings.clear();
++ while ( (current = it.current()) != 0 ) {
++ if (current->isA("TQCheckBox"))
++ settings[current] = ((TQCheckBox *)current)->state();
++ else if (current->isA("TQComboBox"))
++ settings[current] = ((TQComboBox *)current)->currentItem();
++ ++it;
++ }
++ delete options;
++
++}
++
++void ManagerModule::emitChanged()
++{
++ TQObjectList *options = view->queryList(0, "^option_");
++ TQObject *current = 0;
++ TQObjectListIterator it(*options);
++ int value = -1;
++ bool somethingChanged = false;
++
++ while ( (current = it.current()) != 0 ) {
++ if (current->isA("TQCheckBox"))
++ value = ((TQCheckBox *)current)->state();
++ else if (current->isA("TQComboBox"))
++ value = ((TQComboBox *)current)->currentItem();
++
++ if (settings[current] != value) {
++ somethingChanged = true;
++ break;
++ }
++
++ ++it;
++ }
++ delete options;
++
++ emit changed(somethingChanged);
++}
+
+ #include "managermodule.moc"
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kcmodule/managermodule.h v3.5.13-sru/kioslave/media/kcmodule/managermodule.h
+--- /tmp/stable//kdebase/kioslave/media/kcmodule/managermodule.h 2010-08-13 00:37:22.000000000 +0200
++++ v3.5.13-sru/kioslave/media/kcmodule/managermodule.h 2012-07-31 17:17:50.000000000 +0200
+@@ -1,5 +1,6 @@
+ /* This file is part of the KDE Project
+ Copyright (c) 2005 Kévin Ottens <ervin ipsquad net>
++ Copyright (c) 2006 Valentine Sinitsyn <e_val@inbox.ru>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+@@ -19,8 +20,11 @@
+ #ifndef _MANAGERMODULE_H_
+ #define _MANAGERMODULE_H_
+
++#include <tqmap.h>
+ #include <kcmodule.h>
+
++class ManagerModuleView;
++
+ class ManagerModule : public KCModule
+ {
+ Q_OBJECT
+@@ -28,7 +32,18 @@
+ public:
+ ManagerModule( TQWidget* parent = 0, const char* name = 0);
+
++ void load();
+ void save();
++ void defaults();
++
++private:
++ void rememberSettings();
++
++ ManagerModuleView *view;
++ TQMap<TQObject *, int> settings;
++
++private slots:
++ void emitChanged();
+ };
+
+ #endif
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kcmodule/managermoduleview.ui v3.5.13-sru/kioslave/media/kcmodule/managermoduleview.ui
+--- /tmp/stable//kdebase/kioslave/media/kcmodule/managermoduleview.ui 2011-03-12 07:57:54.000000000 +0100
++++ v3.5.13-sru/kioslave/media/kcmodule/managermoduleview.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -12,6 +12,9 @@
+ <height>480</height>
+ </rect>
+ </property>
++ <property name="caption">
++ <string>ManagerModuleView</string>
++ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+@@ -49,6 +52,245 @@
+ <string>Select this if you want to enable application autostart after mounting a device.</string>
+ </property>
+ </widget>
++ <widget class="TQGroupBox">
++ <property name="name">
++ <cstring>groupbox_mount</cstring>
++ </property>
++ <property name="title">
++ <string>Mount options</string>
++ </property>
++ <vbox>
++ <property name="name">
++ <cstring>unnamed</cstring>
++ </property>
++ <widget class="TQLabel">
++ <property name="name">
++ <cstring>textLabel3</cstring>
++ </property>
++ <property name="text">
++ <string>Here you can specify default mount options for your storage media. Please note that some options are not supported for certain filesystems and/or medium. You will be able to redefine all these options on per-volume basis later, using Properties dialog of the corresponding volume.&lt;br&gt;
++Some of the options are tristate. Leave them "undefined" to let KDE choose the best value depending on your media.</string>
++ </property>
++ <property name="alignment">
++ <set>WordBreak|AlignVCenter</set>
++ </property>
++ </widget>
++ <widget class="TQLayoutWidget">
++ <property name="name">
++ <cstring>layout30</cstring>
++ </property>
++ <grid>
++ <property name="name">
++ <cstring>unnamed</cstring>
++ </property>
++ <widget class="TQCheckBox" row="1" column="0">
++ <property name="name">
++ <cstring>option_ro</cstring>
++ </property>
++ <property name="text">
++ <string>Read only</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>By default, mount all file systems read-only.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox" row="2" column="1">
++ <property name="name">
++ <cstring>option_uid</cstring>
++ </property>
++ <property name="text">
++ <string>Mount as user</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Mount this file system as user.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox" row="0" column="1">
++ <property name="name">
++ <cstring>option_flush</cstring>
++ </property>
++ <property name="text">
++ <string>Flushed IO</string>
++ </property>
++ <property name="tristate">
++ <bool>true</bool>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Always flush all data to the hot plug devices immediately and don't cache it.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox" row="3" column="0">
++ <property name="name">
++ <cstring>option_sync</cstring>
++ </property>
++ <property name="text">
++ <string>Synchronous</string>
++ </property>
++ <property name="tristate">
++ <bool>true</bool>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>All I/O to the file system should be done synchronously.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox" row="2" column="0">
++ <property name="name">
++ <cstring>option_quiet</cstring>
++ </property>
++ <property name="text">
++ <string>Quiet</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Attempts to chown or chmod files do not return errors, although they fail. Use with caution!</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox" row="1" column="1">
++ <property name="name">
++ <cstring>option_utf8</cstring>
++ </property>
++ <property name="text">
++ <string>UTF-8 charset</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>UTF8 is the filesystem safe 8-bit encoding of Unicode that is used by the console. It can be be enabled for the filesystem with this option.</string>
++ </property>
++ </widget>
++ <widget class="TQLayoutWidget" row="3" column="1" rowspan="2" colspan="1">
++ <property name="name">
++ <cstring>layout29</cstring>
++ </property>
++ <grid>
++ <property name="name">
++ <cstring>unnamed</cstring>
++ </property>
++ <widget class="TQLabel" row="1" column="0">
++ <property name="name">
++ <cstring>text_shortname</cstring>
++ </property>
++ <property name="text">
++ <string>Short names:</string>
++ </property>
++ <property name="buddy" stdset="0">
++ <cstring>option_shortname</cstring>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>&lt;h2&gt;Defines the behaviour for creation and display of filenames which fit into 8.3 characters. If a long name for a file exists, it will always be preferred display.&lt;/h2&gt;
++
++&lt;h3&gt;&lt;b&gt;Lower&lt;/b&gt;&lt;/h3&gt;
++Force the short name to lower case upon display; store a long name when the short name is not all upper case.
++
++&lt;h3&gt;&lt;b&gt;Windows 95&lt;/b&gt;&lt;/h3&gt;
++Force the short name to upper case upon display; store a long name when the short name is not all upper case.
++
++&lt;h3&gt;&lt;b&gt;Windows NT&lt;/b&gt;&lt;/h3&gt;
++Display the shortname as is; store a long name when the short name is not all lower case or all upper case.
++
++&lt;h3&gt;&lt;b&gt;Mixed&lt;/b&gt;&lt;/h3&gt;
++Display the short name as is; store a long name when the short name is not all upper case.</string>
++ </property>
++ </widget>
++ <widget class="TQComboBox" row="0" column="1">
++ <item>
++ <property name="text">
++ <string>All Data</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Ordered</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Writeback</string>
++ </property>
++ </item>
++ <property name="name">
++ <cstring>option_journaling</cstring>
++ </property>
++ <property name="currentItem">
++ <number>1</number>
++ </property>
++ </widget>
++ <widget class="TQLabel" row="0" column="0">
++ <property name="name">
++ <cstring>text_journaling</cstring>
++ </property>
++ <property name="text">
++ <string>Journaling:</string>
++ </property>
++ <property name="buddy" stdset="0">
++ <cstring>option_journaling</cstring>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>&lt;h2&gt;Specifies the journalling mode for file data. Metadata is always journaled. &lt;/h2&gt;
++
++&lt;h3&gt;&lt;b&gt;All Data&lt;/b&gt;&lt;/h3&gt;
++ All data is committed into the journal prior to being written into the main file system. This is the slowest variant with the highest data security.
++
++&lt;h3&gt;&lt;b&gt;Ordered&lt;/b&gt;&lt;/h3&gt;
++ All data is forced directly out to the main file system prior to its metadata being committed to the journal.
++
++&lt;h3&gt;&lt;b&gt;Write Back&lt;/b&gt;&lt;/h3&gt;
++ Data ordering is not preserved - data may be written into the main file system after its metadata has been committed to the journal. This is rumoured to be the highest-throughput option. It guarantees internal file system integrity, however it can allow old data to appear in files after a crash and journal recovery.</string>
++ </property>
++ </widget>
++ <widget class="TQComboBox" row="1" column="1">
++ <item>
++ <property name="text">
++ <string>Lower</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Windows 95</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Windows NT</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Mixed</string>
++ </property>
++ </item>
++ <property name="name">
++ <cstring>option_shortname</cstring>
++ </property>
++ </widget>
++ </grid>
++ </widget>
++ <widget class="TQCheckBox" row="0" column="0">
++ <property name="name">
++ <cstring>option_automount</cstring>
++ </property>
++ <property name="text">
++ <string>Mount automatically</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>By default, mount all file systems automatically.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox" row="4" column="0">
++ <property name="name">
++ <cstring>option_atime</cstring>
++ </property>
++ <property name="text">
++ <string>Access time updates</string>
++ </property>
++ <property name="tristate">
++ <bool>true</bool>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Update inode access time for each access.</string>
++ </property>
++ </widget>
++ </grid>
++ </widget>
++ </vbox>
++ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer1</cstring>
+@@ -59,14 +301,43 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+- <height>360</height>
++ <height>130</height>
+ </size>
+ </property>
+ </spacer>
+ </vbox>
+ </widget>
++<connections>
++ <connection>
++ <sender>kcfg_HalBackendEnabled</sender>
++ <signal>toggled(bool)</signal>
++ <receiver>groupbox_mount</receiver>
++ <slot>setEnabled(bool)</slot>
++ </connection>
++</connections>
++<tabstops>
++ <tabstop>kcfg_HalBackendEnabled</tabstop>
++ <tabstop>kcfg_CdPollingEnabled</tabstop>
++ <tabstop>kcfg_AutostartEnabled</tabstop>
++ <tabstop>option_automount</tabstop>
++ <tabstop>option_ro</tabstop>
++ <tabstop>option_quiet</tabstop>
++ <tabstop>option_sync</tabstop>
++ <tabstop>option_atime</tabstop>
++ <tabstop>option_flush</tabstop>
++ <tabstop>option_utf8</tabstop>
++ <tabstop>option_uid</tabstop>
++ <tabstop>option_journaling</tabstop>
++ <tabstop>option_shortname</tabstop>
++</tabstops>
++<includes>
++ <include location="local" impldecl="in implementation">managermoduleview.ui.h</include>
++</includes>
++<functions>
++ <function access="private" specifier="non virtual">init()</function>
++</functions>
+ <layoutdefaults spacing="6" margin="11"/>
+ </UI>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kcmodule/notifiermodule.cpp v3.5.13-sru/kioslave/media/kcmodule/notifiermodule.cpp
+--- /tmp/stable//kdebase/kioslave/media/kcmodule/notifiermodule.cpp 2011-08-11 07:25:34.000000000 +0200
++++ v3.5.13-sru/kioslave/media/kcmodule/notifiermodule.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -159,7 +159,7 @@
+
+ if ( value == TQDialog::Accepted )
+ {
+- m_settings.tqaddAction( action );
++ m_settings.addAction( action );
+ updateListBox();
+ emit changed( true );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kcmodule/notifiermodule.h v3.5.13-sru/kioslave/media/kcmodule/notifiermodule.h
+--- /tmp/stable//kdebase/kioslave/media/kcmodule/notifiermodule.h 2010-08-13 00:37:22.000000000 +0200
++++ v3.5.13-sru/kioslave/media/kcmodule/notifiermodule.h 2012-07-31 17:17:50.000000000 +0200
+@@ -1,6 +1,6 @@
+ /* This file is part of the KDE Project
+ Copyright (c) 2005 Jean-Remy Falleri <jr.falleri@laposte.net>
+- Copyright (c) 2005 Kévin Ottens <ervin ipsquad net>
++ Copyright (c) 2005 K�vin Ottens <ervin ipsquad net>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+@@ -21,6 +21,7 @@
+ #define _NOTIFIERMODULE_H_
+
+ #include <kcmodule.h>
++#include <tqlistbox.h>
+
+ #include "notifiersettings.h"
+ #include "notifiermoduleview.h"
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kcmodule/notifiermoduleview.ui v3.5.13-sru/kioslave/media/kcmodule/notifiermoduleview.ui
+--- /tmp/stable//kdebase/kioslave/media/kcmodule/notifiermoduleview.ui 2011-03-12 07:57:54.000000000 +0100
++++ v3.5.13-sru/kioslave/media/kcmodule/notifiermoduleview.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -138,7 +138,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>70</width>
+ <height>101</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kcmodule/serviceview.ui v3.5.13-sru/kioslave/media/kcmodule/serviceview.ui
+--- /tmp/stable//kdebase/kioslave/media/kcmodule/serviceview.ui 2011-03-12 07:57:54.000000000 +0100
++++ v3.5.13-sru/kioslave/media/kcmodule/serviceview.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -20,7 +20,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>640</width>
+ <height>480</height>
+@@ -80,13 +80,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>40</width>
+ <height>40</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>40</width>
+ <height>40</height>
+@@ -117,7 +117,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -147,7 +147,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>21</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kfile-plugin/kfilemediaplugin.cpp v3.5.13-sru/kioslave/media/kfile-plugin/kfilemediaplugin.cpp
+--- /tmp/stable//kdebase/kioslave/media/kfile-plugin/kfilemediaplugin.cpp 2011-03-12 07:57:54.000000000 +0100
++++ v3.5.13-sru/kioslave/media/kfile-plugin/kfilemediaplugin.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -140,7 +140,7 @@
+
+ group = appendGroup(info, "mediumSummary");
+
+- appendItem(group, "percent", TQString("%1%").tqarg(percent));
++ appendItem(group, "percent", TQString("%1%").arg(percent));
+
+ TQPixmap bar(150, 20);
+ TQPainter p(&bar);
+@@ -148,9 +148,9 @@
+ p.fillRect(0, 0, length, 20, Qt::red);
+ p.fillRect(length, 0, 150-length, 20, Qt::green);
+
+- TQColorGroup cg = TQApplication::tqpalette().active();
++ TQColorGroup cg = TQApplication::palette().active();
+
+- TQApplication::tqstyle().tqdrawPrimitive(TQStyle::PE_Panel, &p,
++ TQApplication::style().tqdrawPrimitive(TQStyle::PE_Panel, &p,
+ TQRect(0, 0, 150, 20), cg,
+ TQStyle::Style_Sunken);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/libmediacommon/notifiersettings.cpp v3.5.13-sru/kioslave/media/libmediacommon/notifiersettings.cpp
+--- /tmp/stable//kdebase/kioslave/media/libmediacommon/notifiersettings.cpp 2011-08-11 07:25:34.000000000 +0200
++++ v3.5.13-sru/kioslave/media/libmediacommon/notifiersettings.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -109,7 +109,7 @@
+ return result;
+ }
+
+-bool NotifierSettings::tqaddAction( NotifierServiceAction *action )
++bool NotifierSettings::addAction( NotifierServiceAction *action )
+ {
+ if ( !m_idMap.contains( action->id() ) )
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/libmediacommon/notifiersettings.h v3.5.13-sru/kioslave/media/libmediacommon/notifiersettings.h
+--- /tmp/stable//kdebase/kioslave/media/libmediacommon/notifiersettings.h 2011-03-12 07:57:53.000000000 +0100
++++ v3.5.13-sru/kioslave/media/libmediacommon/notifiersettings.h 2012-07-31 17:17:50.000000000 +0200
+@@ -36,7 +36,7 @@
+ TQValueList<NotifierAction*> actions();
+ TQValueList<NotifierAction*> actionsForMimetype( const TQString &mimetype );
+
+- bool tqaddAction( NotifierServiceAction *action );
++ bool addAction( NotifierServiceAction *action );
+ bool deleteAction( NotifierServiceAction *action );
+
+ void setAutoAction( const TQString &mimetype, NotifierAction *action );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/mediamanager/CMakeLists.txt v3.5.13-sru/kioslave/media/mediamanager/CMakeLists.txt
+--- /tmp/stable//kdebase/kioslave/media/mediamanager/CMakeLists.txt 2011-08-28 02:02:07.000000000 +0200
++++ v3.5.13-sru/kioslave/media/mediamanager/CMakeLists.txt 2012-07-31 17:17:50.000000000 +0200
+@@ -20,6 +20,7 @@
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${HAL_INCLUDE_DIRS}
++ ${DBUS_TQT_INCLUDE_DIRS}
+ )
+
+ link_directories(
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/mediamanager/halbackend.cpp v3.5.13-sru/kioslave/media/mediamanager/halbackend.cpp
+--- /tmp/stable//kdebase/kioslave/media/mediamanager/halbackend.cpp 2011-08-30 22:53:58.000000000 +0200
++++ v3.5.13-sru/kioslave/media/mediamanager/halbackend.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -1,5 +1,6 @@
+ /* This file is part of the KDE Project
+ Copyright (c) 2004-2005 Jérôme Lodewyck <jerome dot lodewyck at normalesup dot org>
++ Copyright (c) 2006 Valentine Sinitsyn <e_val@inbox.ru>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+@@ -56,9 +57,7 @@
+ {
+ char* _ppt_string;
+ TQString _ppt_QString;
+- DBusError error;
+- dbus_error_init(&error);
+- _ppt_string = libhal_device_get_property_string(ctx, udi, key, &error);
++ _ppt_string = libhal_device_get_property_string(ctx, udi, key, NULL);
+ if ( _ppt_string )
+ _ppt_QString = _ppt_string;
+ libhal_free_string(_ppt_string);
+@@ -447,7 +446,7 @@
+ void HALBackend::ResetProperties(const char* mediumUdi, bool allowNotification)
+ {
+ kdDebug(1219) << "HALBackend::setProperties" << endl;
+- if ( TQString::tqfromLatin1( mediumUdi ).startsWith( "/org/kde/" ) )
++ if ( TQString::fromLatin1( mediumUdi ).startsWith( "/org/kde/" ) )
+ {
+ const Medium *cmedium = m_mediaList.findById(mediumUdi);
+ if ( cmedium )
+@@ -873,6 +872,33 @@
+ s_HALBackend->DeviceCondition(udi, condition_name);
+ }
+
++TQStringList HALBackend::getHALmountoptions(TQString udi)
++{
++ const char* _ppt_string;
++ LibHalVolume* volume;
++ LibHalDrive* drive;
++
++ TQString _ppt_TQString;
++
++ volume = libhal_volume_from_udi( m_halContext, udi.latin1() );
++ if( volume )
++ drive = libhal_drive_from_udi( m_halContext, libhal_volume_get_storage_device_udi( volume ) );
++ else
++ drive = libhal_drive_from_udi( m_halContext, udi.latin1() );
++
++ if( !drive )
++ return TQString::null;
++
++ if( volume )
++ _ppt_string = libhal_volume_policy_get_mount_options ( drive, volume, NULL );
++ else
++ _ppt_string = libhal_drive_policy_get_mount_options ( drive, NULL );
++
++ _ppt_TQString = TQString(_ppt_string ? _ppt_string : "");
++
++ return TQStringList::split(",",_ppt_TQString);
++}
++
+ TQStringList HALBackend::mountoptions(const TQString &name)
+ {
+ const Medium* medium = m_mediaList.findById(name);
+@@ -902,7 +928,16 @@
+ }
+
+ KConfig config("mediamanagerrc");
+- config.setGroup(name);
++
++ bool use_defaults = true;
++ if (config.hasGroup(name))
++ {
++ config.setGroup(name);
++ use_defaults = config.readBoolEntry("use_defaults", false);
++ }
++
++ if (use_defaults)
++ config.setGroup("DefaultOptions");
+
+ char ** array = libhal_device_get_property_strlist(m_halContext, volume_udi.latin1(), "volume.mount.valid_options", NULL);
+ TQMap<TQString,bool> valids;
+@@ -917,6 +952,8 @@
+ libhal_free_string_array(array);
+ TQStringList result;
+ TQString tmp;
++
++ result << TQString("use_defaults=%1").arg(use_defaults ? "true" : "false");
+
+ TQString fstype = libhal_device_get_property_QString(m_halContext, volume_udi.latin1(), "volume.fstype");
+ if (fstype.isNull())
+@@ -929,9 +966,18 @@
+ removable = libhal_device_get_property_bool(m_halContext, drive_udi.latin1(), "storage.removable", NULL)
+ || libhal_device_get_property_bool(m_halContext, drive_udi.latin1(), "storage.hotpluggable", NULL);
+
+- config.setGroup(drive_udi);
+- bool value = config.readBoolEntry("automount", false);
+- config.setGroup(name);
++ bool value;
++ if (use_defaults)
++ {
++ value = config.readBoolEntry("automount", false);
++ }
++ else
++ {
++ QString current_group = config.group();
++ config.setGroup(drive_udi);
++ value = config.readBoolEntry("automount", false);
++ config.setGroup(current_group);
++ }
+
+ if (libhal_device_get_property_bool(m_halContext, volume_udi.latin1(), "volume.disc.is_blank", NULL)
+ || libhal_device_get_property_bool(m_halContext, volume_udi.latin1(), "volume.disc.is_vcd", NULL)
+@@ -1056,7 +1102,7 @@
+
+ TQMap<TQString,TQString> valids = MediaManagerUtils::splitOptions(options);
+
+- const char *names[] = { "ro", "quiet", "atime", "uid", "utf8", "flush", "sync", 0 };
++ const char *names[] = { "use_defaults", "ro", "quiet", "atime", "uid", "utf8", "flush", "sync", 0 };
+ for (int index = 0; names[index]; ++index)
+ if (valids.contains(names[index]))
+ config.writeEntry(names[index], valids[names[index]] == "true");
+@@ -1472,10 +1518,26 @@
+ soptions << TQString("data=ordered");
+ }
+
++ TQStringList hal_mount_options = getHALmountoptions(medium->id());
++ for (TQValueListIterator<TQString> it=hal_mount_options.begin();it!=hal_mount_options.end();it++)
++ {
++ soptions << *it;
++ kdDebug()<<"HALOption: "<<*it<<endl;
++ if ((*it).startsWith("iocharset="))
++ {
++ soptions.remove("utf8");
++ kdDebug()<<"\"iocharset=\" found. Removing \"utf8\" from options."<<endl;
++ }
++ }
++
++
+ const char **options = new const char*[soptions.size() + 1];
+ uint noptions = 0;
+ for (TQStringList::ConstIterator it = soptions.begin(); it != soptions.end(); ++it, ++noptions)
++ {
+ options[noptions] = (*it).latin1();
++ kdDebug()<<"Option: "<<*it<<endl;
++ }
+ options[noptions] = NULL;
+
+ TQString qerror = i18n("Cannot mount encrypted drives!");
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/mediamanager/halbackend.h v3.5.13-sru/kioslave/media/mediamanager/halbackend.h
+--- /tmp/stable//kdebase/kioslave/media/mediamanager/halbackend.h 2010-08-13 00:37:24.000000000 +0200
++++ v3.5.13-sru/kioslave/media/mediamanager/halbackend.h 2012-07-31 17:17:50.000000000 +0200
+@@ -187,6 +187,7 @@
+ const char* message
+ );
+
++ TQStringList getHALmountoptions(TQString udi);
+ /* HAL and DBus structures */
+ private:
+ /**
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/mediamanager/mediamanager.cpp v3.5.13-sru/kioslave/media/mediamanager/mediamanager.cpp
+--- /tmp/stable//kdebase/kioslave/media/mediamanager/mediamanager.cpp 2010-08-13 00:37:24.000000000 +0200
++++ v3.5.13-sru/kioslave/media/mediamanager/mediamanager.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -83,6 +83,7 @@
+ #ifdef COMPILE_HALBACKEND
+ if ( MediaManagerSettings::self()->halBackendEnabled() )
+ {
++ m_mediaList.blockSignals(false);
+ m_halbackend = new HALBackend(m_mediaList, this);
+ if (m_halbackend->InitHal())
+ {
+@@ -97,6 +98,7 @@
+ {
+ delete m_halbackend;
+ m_halbackend = 0;
++ m_mediaList.blockSignals(true);
+ }
+ }
+ #endif // COMPILE_HALBACKEND
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/medianotifier/notificationdialog.cpp v3.5.13-sru/kioslave/media/medianotifier/notificationdialog.cpp
+--- /tmp/stable//kdebase/kioslave/media/medianotifier/notificationdialog.cpp 2011-03-12 07:57:53.000000000 +0100
++++ v3.5.13-sru/kioslave/media/medianotifier/notificationdialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -53,7 +53,7 @@
+
+ updateActionsListBox();
+
+- resize( TQSize(400,400).expandedTo( tqminimumSizeHint() ) );
++ resize( TQSize(400,400).expandedTo( minimumSizeHint() ) );
+
+
+ m_actionWatcher = new KDirWatch();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/medianotifier/notificationdialogview.ui v3.5.13-sru/kioslave/media/medianotifier/notificationdialogview.ui
+--- /tmp/stable//kdebase/kioslave/media/medianotifier/notificationdialogview.ui 2011-03-12 07:57:53.000000000 +0100
++++ v3.5.13-sru/kioslave/media/medianotifier/notificationdialogview.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -42,13 +42,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>64</width>
+ <height>64</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>64</width>
+ <height>64</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/mounthelper/decryptdialog.ui v3.5.13-sru/kioslave/media/mounthelper/decryptdialog.ui
+--- /tmp/stable//kdebase/kioslave/media/mounthelper/decryptdialog.ui 2011-03-12 07:57:54.000000000 +0100
++++ v3.5.13-sru/kioslave/media/mounthelper/decryptdialog.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -55,13 +55,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>48</width>
+ <height>48</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>32</height>
+@@ -70,7 +70,7 @@
+ <property name="scaledContents">
+ <bool>true</bool>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignTop</set>
+ </property>
+ </widget>
+@@ -84,7 +84,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>31</width>
+ <height>41</height>
+@@ -109,7 +109,7 @@
+ <string>&lt;p&gt;&lt;b&gt;%1&lt;/b&gt; is an encrypted storage device.&lt;/p&gt;
+ &lt;p&gt;Please enter the password to decrypt the storage device.&lt;/p&gt;</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop</set>
+ </property>
+ </widget>
+@@ -189,7 +189,7 @@
+ <property name="text">
+ <string></string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop</set>
+ </property>
+ </widget>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/propsdlgplugin/propertiespage.cpp v3.5.13-sru/kioslave/media/propsdlgplugin/propertiespage.cpp
+--- /tmp/stable//kdebase/kioslave/media/propsdlgplugin/propertiespage.cpp 2011-08-11 07:25:34.000000000 +0200
++++ v3.5.13-sru/kioslave/media/propsdlgplugin/propertiespage.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -140,12 +140,23 @@
+ option_automount->setChecked(options["automount"] == "true");
+ connect( option_automount, TQT_SIGNAL( stateChanged(int) ), TQT_SIGNAL( changed() ) );
+
++ bool has_groupbox_specific = true;
+ if (!options.contains("journaling") &&
+ !options.contains("shortname") &&
+ !options.contains("uid") &&
+ !options.contains("utf8") &&
+- !options.contains("flush"))
++ !options.contains("flush")) {
+ groupbox_specific->hide();
++ has_groupbox_specific = false;
++ }
++
++ // The order is important - we want groupboxes to hide automatically depending on use_defaults
++ // but don't want to emit changed() until user actually changes something.
++ connect( option_defaults, TQT_SIGNAL( toggled(bool) ), groupbox_generic, SLOT( setHidden(bool) ) );
++ if (has_groupbox_specific)
++ connect( option_defaults, TQT_SIGNAL( toggled(bool) ), groupbox_specific, SLOT( setHidden(bool) ) );
++ option_defaults->setChecked(options["use_defaults"] == "true");
++ connect( option_defaults, TQT_SIGNAL( stateChanged(int) ), TQT_SIGNAL( changed() ) );
+
+ } else {
+
+@@ -198,6 +209,7 @@
+ }
+ result << TQString("mountpoint=%1").arg(mp);
+ result << TQString("automount=%1").arg(option_automount->isChecked() ? "true" : "false");
++ result << TQString("use_defaults=%1").arg(option_defaults->isChecked() ? "true" : "false");
+
+ kdDebug() << result << endl;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/propsdlgplugin/propertiespagegui.ui v3.5.13-sru/kioslave/media/propsdlgplugin/propertiespagegui.ui
+--- /tmp/stable//kdebase/kioslave/media/propsdlgplugin/propertiespagegui.ui 2011-03-26 05:26:22.000000000 +0100
++++ v3.5.13-sru/kioslave/media/propsdlgplugin/propertiespagegui.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -8,207 +8,207 @@
+ <rect>
+ <x>0</x>
+ <y>0</y>
+- <width>527</width>
+- <height>476</height>
++ <width>219</width>
++ <height>446</height>
+ </rect>
+ </property>
+- <hbox>
++ <property name="caption">
++ <string>PropertiesPageGUI</string>
++ </property>
++ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+- <property name="margin">
+- <number>0</number>
+- </property>
+- <widget class="TQLayoutWidget">
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_defaults</cstring>
++ </property>
++ <property name="text">
++ <string>Use default mount options</string>
++ </property>
++ </widget>
++ <widget class="TQGroupBox">
+ <property name="name">
+- <cstring>layout17</cstring>
++ <cstring>groupbox_generic</cstring>
++ </property>
++ <property name="title">
++ <string>Generic Mount Options</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+- <widget class="TQGroupBox">
++ <widget class="TQLayoutWidget">
+ <property name="name">
+- <cstring>groupbox_generic</cstring>
+- </property>
+- <property name="title">
+- <string>Generic Mount Options</string>
++ <cstring>layout15</cstring>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_ro</cstring>
++ </property>
++ <property name="text">
++ <string>Read only</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Mount the file system read-only.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_quiet</cstring>
++ </property>
++ <property name="text">
++ <string>Quiet</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Attempts to chown or chmod files do not return errors, although they fail. Use with caution!</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_sync</cstring>
++ </property>
++ <property name="text">
++ <string>Synchronous</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>All I/O to the file system should be done synchronously.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_atime</cstring>
++ </property>
++ <property name="text">
++ <string>Access time updates</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Update inode access time for each access.</string>
++ </property>
++ </widget>
+ <widget class="TQLayoutWidget">
+ <property name="name">
+- <cstring>layout15</cstring>
++ <cstring>layout14</cstring>
+ </property>
+- <vbox>
++ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+- <widget class="TQCheckBox">
+- <property name="name">
+- <cstring>option_ro</cstring>
+- </property>
+- <property name="text">
+- <string>Read only</string>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>Mount the file system read-only.</string>
+- </property>
+- </widget>
+- <widget class="TQCheckBox">
+- <property name="name">
+- <cstring>option_quiet</cstring>
+- </property>
+- <property name="text">
+- <string>Quiet</string>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>Attempts to chown or chmod files do not return errors, although they fail. Use with caution!</string>
+- </property>
+- </widget>
+- <widget class="TQCheckBox">
++ <widget class="TQLabel">
+ <property name="name">
+- <cstring>option_sync</cstring>
++ <cstring>textLabel3</cstring>
+ </property>
+ <property name="text">
+- <string>Synchronous</string>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>All I/O to the file system should be done synchronously.</string>
++ <string>Mountpoint:</string>
+ </property>
+- </widget>
+- <widget class="TQCheckBox">
+- <property name="name">
+- <cstring>option_atime</cstring>
+- </property>
+- <property name="text">
+- <string>Access time updates</string>
++ <property name="buddy" stdset="0">
++ <cstring>option_mountpoint</cstring>
+ </property>
+ <property name="whatsThis" stdset="0">
+- <string>Update inode access time for each access.</string>
++ <string>Under what directory this file system shall be mounted. Please note that there is no guarantee that the system will respect your wish. For one the directory has to be below /media - and it does not yet have to exist.</string>
+ </property>
+ </widget>
+- <widget class="TQLayoutWidget">
++ <widget class="TQLineEdit">
+ <property name="name">
+- <cstring>layout14</cstring>
+- </property>
+- <hbox>
+- <property name="name">
+- <cstring>unnamed</cstring>
+- </property>
+- <widget class="TQLabel">
+- <property name="name">
+- <cstring>textLabel3</cstring>
+- </property>
+- <property name="text">
+- <string>Mountpoint:</string>
+- </property>
+- <property name="buddy" stdset="0">
+- <cstring>option_mountpoint</cstring>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>Under what directory this file system shall be mounted. Please note that there is no guarantee that the system will respect your wish. For one the directory has to be below /media - and it does not yet have to exist.</string>
+- </property>
+- </widget>
+- <widget class="TQLineEdit">
+- <property name="name">
+- <cstring>option_mountpoint</cstring>
+- </property>
+- <property name="text">
+- <string></string>
+- </property>
+- </widget>
+- </hbox>
+- </widget>
+- <widget class="TQCheckBox">
+- <property name="name">
+- <cstring>option_automount</cstring>
++ <cstring>option_mountpoint</cstring>
+ </property>
+ <property name="text">
+- <string>Mount automatically</string>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>Mount this file system automatically.</string>
++ <string></string>
+ </property>
+ </widget>
+- </vbox>
++ </hbox>
++ </widget>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_automount</cstring>
++ </property>
++ <property name="text">
++ <string>Mount automatically</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Mount this file system automatically.</string>
++ </property>
+ </widget>
+ </vbox>
+ </widget>
+- <widget class="TQGroupBox">
++ </vbox>
++ </widget>
++ <widget class="TQGroupBox">
++ <property name="name">
++ <cstring>groupbox_specific</cstring>
++ </property>
++ <property name="title">
++ <string>Filesystem Specific Mount Options</string>
++ </property>
++ <vbox>
++ <property name="name">
++ <cstring>unnamed</cstring>
++ </property>
++ <widget class="TQLayoutWidget">
+ <property name="name">
+- <cstring>groupbox_specific</cstring>
+- </property>
+- <property name="title">
+- <string>Filesystem Specific Mount Options</string>
++ <cstring>layout11</cstring>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_flush</cstring>
++ </property>
++ <property name="text">
++ <string>Flushed IO</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Always flush all data to the hot plug devices immediately and don't cache it.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_utf8</cstring>
++ </property>
++ <property name="text">
++ <string>UTF-8 charset</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>UTF8 is the filesystem safe 8-bit encoding of Unicode that is used by the console. It can be be enabled for the filesystem with this option.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_uid</cstring>
++ </property>
++ <property name="text">
++ <string>Mount as user</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Mount this file system as user.</string>
++ </property>
++ </widget>
+ <widget class="TQLayoutWidget">
+ <property name="name">
+- <cstring>layout11</cstring>
++ <cstring>layout7</cstring>
+ </property>
+- <vbox>
++ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+- <widget class="TQCheckBox">
++ <widget class="TQLabel">
+ <property name="name">
+- <cstring>option_flush</cstring>
++ <cstring>text_journaling</cstring>
+ </property>
+ <property name="text">
+- <string>Flushed IO</string>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>Always flush all data to the hot plug devices immediately and don't cache it.</string>
+- </property>
+- </widget>
+- <widget class="TQCheckBox">
+- <property name="name">
+- <cstring>option_utf8</cstring>
+- </property>
+- <property name="text">
+- <string>UTF-8 charset</string>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>UTF8 is the filesystem safe 8-bit encoding of Unicode that is used by the console. It can be be enabled for the filesystem with this option.</string>
+- </property>
+- </widget>
+- <widget class="TQCheckBox">
+- <property name="name">
+- <cstring>option_uid</cstring>
++ <string>Journaling:</string>
+ </property>
+- <property name="text">
+- <string>Mount as user</string>
++ <property name="buddy" stdset="0">
++ <cstring>option_journaling</cstring>
+ </property>
+ <property name="whatsThis" stdset="0">
+- <string>Mount this file system as user.</string>
+- </property>
+- </widget>
+- <widget class="TQLayoutWidget">
+- <property name="name">
+- <cstring>layout7</cstring>
+- </property>
+- <hbox>
+- <property name="name">
+- <cstring>unnamed</cstring>
+- </property>
+- <widget class="TQLabel">
+- <property name="name">
+- <cstring>text_journaling</cstring>
+- </property>
+- <property name="text">
+- <string>Journaling:</string>
+- </property>
+- <property name="buddy" stdset="0">
+- <cstring>option_journaling</cstring>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>&lt;h2&gt;Specifies the journalling mode for file data. Metadata is always journaled. &lt;/h2&gt;
++ <string>&lt;h2&gt;Specifies the journalling mode for file data. Metadata is always journaled. &lt;/h2&gt;
+
+ &lt;h3&gt;&lt;b&gt;All Data&lt;/b&gt;&lt;/h3&gt;
+ All data is committed into the journal prior to being written into the main file system. This is the slowest variant with the highest data security.
+@@ -218,29 +218,29 @@
+
+ &lt;h3&gt;&lt;b&gt;Write Back&lt;/b&gt;&lt;/h3&gt;
+ Data ordering is not preserved - data may be written into the main file system after its metadata has been committed to the journal. This is rumoured to be the highest-throughput option. It guarantees internal file system integrity, however it can allow old data to appear in files after a crash and journal recovery.</string>
+- </property>
+- </widget>
+- <widget class="TQComboBox">
+- <item>
+- <property name="text">
+- <string>All Data</string>
+- </property>
+- </item>
+- <item>
+- <property name="text">
+- <string>Ordered</string>
+- </property>
+- </item>
+- <item>
+- <property name="text">
+- <string>Write Back</string>
+- </property>
+- </item>
+- <property name="name">
+- <cstring>option_journaling</cstring>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>&lt;h2&gt;Specifies the journalling mode for file data. Metadata is always journaled. &lt;/h2&gt;
++ </property>
++ </widget>
++ <widget class="TQComboBox">
++ <item>
++ <property name="text">
++ <string>All Data</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Ordered</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Write Back</string>
++ </property>
++ </item>
++ <property name="name">
++ <cstring>option_journaling</cstring>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>&lt;h2&gt;Specifies the journalling mode for file data. Metadata is always journaled. &lt;/h2&gt;
+
+ &lt;h3&gt;&lt;b&gt;All Data&lt;/b&gt;&lt;/h3&gt;
+ All data is committed into the journal prior to being written into the main file system. This is the slowest variant with the highest data security.
+@@ -250,30 +250,30 @@
+
+ &lt;h3&gt;&lt;b&gt;Write Back&lt;/b&gt;&lt;/h3&gt;
+ Data ordering is not preserved - data may be written into the main file system after its metadata has been committed to the journal. This is rumoured to be the highest-throughput option. It guarantees internal file system integrity, however it can allow old data to appear in files after a crash and journal recovery.</string>
+- </property>
+- </widget>
+- </hbox>
++ </property>
+ </widget>
+- <widget class="TQLayoutWidget">
++ </hbox>
++ </widget>
++ <widget class="TQLayoutWidget">
++ <property name="name">
++ <cstring>layout14</cstring>
++ </property>
++ <hbox>
++ <property name="name">
++ <cstring>unnamed</cstring>
++ </property>
++ <widget class="TQLabel">
+ <property name="name">
+- <cstring>layout14</cstring>
++ <cstring>text_shortname</cstring>
+ </property>
+- <hbox>
+- <property name="name">
+- <cstring>unnamed</cstring>
+- </property>
+- <widget class="TQLabel">
+- <property name="name">
+- <cstring>text_shortname</cstring>
+- </property>
+- <property name="text">
+- <string>Short names:</string>
+- </property>
+- <property name="buddy" stdset="0">
+- <cstring>option_shortname</cstring>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>&lt;h2&gt;Defines the behaviour for creation and display of filenames which fit into 8.3 characters. If a long name for a file exists, it will always be preferred display.&lt;/h2&gt;
++ <property name="text">
++ <string>Short names:</string>
++ </property>
++ <property name="buddy" stdset="0">
++ <cstring>option_shortname</cstring>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>&lt;h2&gt;Defines the behaviour for creation and display of filenames which fit into 8.3 characters. If a long name for a file exists, it will always be preferred display.&lt;/h2&gt;
+
+ &lt;h3&gt;&lt;b&gt;Lower&lt;/b&gt;&lt;/h3&gt;
+ Force the short name to lower case upon display; store a long name when the short name is not all upper case.
+@@ -286,34 +286,34 @@
+
+ &lt;h3&gt;&lt;b&gt;Mixed&lt;/b&gt;&lt;/h3&gt;
+ Display the short name as is; store a long name when the short name is not all upper case.</string>
+- </property>
+- </widget>
+- <widget class="TQComboBox">
+- <item>
+- <property name="text">
+- <string>Lower</string>
+- </property>
+- </item>
+- <item>
+- <property name="text">
+- <string>Windows 95</string>
+- </property>
+- </item>
+- <item>
+- <property name="text">
+- <string>Windows NT</string>
+- </property>
+- </item>
+- <item>
+- <property name="text">
+- <string>Mixed</string>
+- </property>
+- </item>
+- <property name="name">
+- <cstring>option_shortname</cstring>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>&lt;h2&gt;Defines the behaviour for creation and display of filenames which fit into 8.3 characters. If a long name for a file exists, it will always be preferred display.&lt;/h2&gt;
++ </property>
++ </widget>
++ <widget class="TQComboBox">
++ <item>
++ <property name="text">
++ <string>Lower</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Windows 95</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Windows NT</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Mixed</string>
++ </property>
++ </item>
++ <property name="name">
++ <cstring>option_shortname</cstring>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>&lt;h2&gt;Defines the behaviour for creation and display of filenames which fit into 8.3 characters. If a long name for a file exists, it will always be preferred display.&lt;/h2&gt;
+
+ &lt;h3&gt;&lt;b&gt;Lower&lt;/b&gt;&lt;/h3&gt;
+ Force the short name to lower case upon display; store a long name when the short name is not all upper case.
+@@ -326,42 +326,40 @@
+
+ &lt;h3&gt;&lt;b&gt;Mixed&lt;/b&gt;&lt;/h3&gt;
+ Display the short name as is; store a long name when the short name is not all upper case.</string>
+- </property>
+- </widget>
+- </hbox>
++ </property>
+ </widget>
+- </vbox>
++ </hbox>
+ </widget>
+ </vbox>
+ </widget>
+- <widget class="TQLabel">
+- <property name="name">
+- <cstring>label_filesystem</cstring>
+- </property>
+- <property name="text">
+- <string>Filesystem: iso9660</string>
+- </property>
+- </widget>
+- <spacer>
+- <property name="name">
+- <cstring>spacer1</cstring>
+- </property>
+- <property name="orientation">
+- <enum>Vertical</enum>
+- </property>
+- <property name="sizeType">
+- <enum>Expanding</enum>
+- </property>
+- <property name="tqsizeHint">
+- <size>
+- <width>20</width>
+- <height>20</height>
+- </size>
+- </property>
+- </spacer>
+ </vbox>
+ </widget>
+- </hbox>
++ <widget class="TQLabel">
++ <property name="name">
++ <cstring>label_filesystem</cstring>
++ </property>
++ <property name="text">
++ <string>Filesystem: iso9660</string>
++ </property>
++ </widget>
++ <spacer>
++ <property name="name">
++ <cstring>spacer1</cstring>
++ </property>
++ <property name="orientation">
++ <enum>Vertical</enum>
++ </property>
++ <property name="sizeType">
++ <enum>Expanding</enum>
++ </property>
++ <property name="sizeHint">
++ <size>
++ <width>20</width>
++ <height>20</height>
++ </size>
++ </property>
++ </spacer>
++ </vbox>
+ </widget>
+ <connections>
+ <connection>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/nfs/kio_nfs.cpp v3.5.13-sru/kioslave/nfs/kio_nfs.cpp
+--- /tmp/stable//kdebase/kioslave/nfs/kio_nfs.cpp 2011-08-16 01:07:51.000000000 +0200
++++ v3.5.13-sru/kioslave/nfs/kio_nfs.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -807,7 +807,7 @@
+ struct passwd *user = getpwuid( uid );
+ if ( user )
+ {
+- m_usercache.insert( uid, new TQString(TQString::tqfromLatin1(user->pw_name)) );
++ m_usercache.insert( uid, new TQString(TQString::fromLatin1(user->pw_name)) );
+ atom.m_str = user->pw_name;
+ }
+ else
+@@ -825,7 +825,7 @@
+ struct group *grp = getgrgid( gid );
+ if ( grp )
+ {
+- m_groupcache.insert( gid, new TQString(TQString::tqfromLatin1(grp->gr_name)) );
++ m_groupcache.insert( gid, new TQString(TQString::fromLatin1(grp->gr_name)) );
+ atom.m_str = grp->gr_name;
+ }
+ else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/pop3/pop3.cc v3.5.13-sru/kioslave/pop3/pop3.cc
+--- /tmp/stable//kdebase/kioslave/pop3/pop3.cc 2011-08-11 07:25:35.000000000 +0200
++++ v3.5.13-sru/kioslave/pop3/pop3.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -242,8 +242,8 @@
+ QMIN(r_len, (buf[4] == ' ' ? recv_len - 5 : recv_len - 4)));
+ }
+
+- TQString command = TQString::tqfromLatin1(cmd);
+- TQString serverMsg = TQString::tqfromLatin1(buf).mid(5).stripWhiteSpace();
++ TQString command = TQString::fromLatin1(cmd);
++ TQString serverMsg = TQString::fromLatin1(buf).mid(5).stripWhiteSpace();
+
+ if (command.left(4) == "PASS") {
+ command = i18n("PASS <your password>");
+@@ -353,7 +353,7 @@
+ {
+ char buf[512];
+
+- TQString apop_string = TQString::tqfromLatin1("APOP ");
++ TQString apop_string = TQString::fromLatin1("APOP ");
+ if (m_sUser.isEmpty() || m_sPass.isEmpty()) {
+ // Prompt for usernames
+ if (!openPassDlg(ai)) {
+@@ -461,7 +461,7 @@
+ {
+ #ifdef HAVE_LIBSASL2
+ char buf[512];
+- TQString sasl_buffer = TQString::tqfromLatin1("AUTH");
++ TQString sasl_buffer = TQString::fromLatin1("AUTH");
+
+ int result;
+ sasl_conn_t *conn = NULL;
+@@ -525,13 +525,13 @@
+
+ TQByteArray challenge, tmp;
+
+- TQString firstCommand = "AUTH " + TQString::tqfromLatin1( mechusing );
++ TQString firstCommand = "AUTH " + TQString::fromLatin1( mechusing );
+ challenge.setRawData( out, outlen );
+ KCodecs::base64Encode( challenge, tmp );
+ challenge.resetRawData( out, outlen );
+ if ( !tmp.isEmpty() ) {
+ firstCommand += " ";
+- firstCommand += TQString::tqfromLatin1( tmp.data(), tmp.size() );
++ firstCommand += TQString::fromLatin1( tmp.data(), tmp.size() );
+ }
+
+ challenge.resize( 2049 );
+@@ -624,7 +624,7 @@
+ m_sOldUser = m_sUser;
+ m_sOldPass = m_sPass;
+
+- TQString one_string = TQString::tqfromLatin1("USER ");
++ TQString one_string = TQString::fromLatin1("USER ");
+ one_string.append( m_sUser );
+
+ if ( command(one_string.local8Bit(), buf, sizeof(buf)) != Ok ) {
+@@ -638,7 +638,7 @@
+ return false;
+ }
+
+- one_string = TQString::tqfromLatin1("PASS ");
++ one_string = TQString::fromLatin1("PASS ");
+ one_string.append(m_sPass);
+
+ if ( command(one_string.local8Bit(), buf, sizeof(buf)) != Ok ) {
+@@ -857,7 +857,7 @@
+ TQString cmd, path = url.path();
+ int maxCommands = (metaData("pipelining") == "on") ? MAX_COMMANDS : 1;
+
+- if (path.tqat(0) == '/')
++ if (path.at(0) == '/')
+ path.remove(0, 1);
+ if (path.isEmpty()) {
+ POP3_DEBUG << "We should be a dir!!" << endl;
+@@ -1176,7 +1176,7 @@
+ uds_url.setUser(m_sUser);
+ uds_url.setPass(m_sPass);
+ uds_url.setHost(m_sServer);
+- uds_url.setPath(TQString::tqfromLatin1("/download/%1").arg(i + 1));
++ uds_url.setPath(TQString::fromLatin1("/download/%1").arg(i + 1));
+ atom.m_str = uds_url.url();
+ atom.m_long = 0;
+ entry.append(atom);
+@@ -1207,7 +1207,7 @@
+ {
+ TQString _path = url.path();
+
+- if (_path.tqat(0) == '/')
++ if (_path.at(0) == '/')
+ _path.remove(0, 1);
+
+ UDSEntry entry;
+@@ -1244,7 +1244,7 @@
+ }
+
+ TQString _path = url.path();
+- if (_path.tqat(0) == '/') {
++ if (_path.at(0) == '/') {
+ _path.remove(0, 1);
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/settings/kio_settings.cc v3.5.13-sru/kioslave/settings/kio_settings.cc
+--- /tmp/stable//kdebase/kioslave/settings/kio_settings.cc 2011-03-12 07:57:56.000000000 +0100
++++ v3.5.13-sru/kioslave/settings/kio_settings.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -127,7 +127,7 @@
+
+ kdDebug() << "Trying harder to find group " << relPath << endl;
+ for (unsigned int i=0; i<rest.count(); i++)
+- kdDebug() << "Item (" << *rest.tqat(i) << ")" << endl;
++ kdDebug() << "Item (" << *rest.at(i) << ")" << endl;
+
+ while (!rest.isEmpty()) {
+ KServiceGroup::Ptr tmp = KServiceGroup::group(alreadyFound);
+@@ -251,7 +251,7 @@
+ continue;
+
+ // Ignore dotfiles.
+- if ((g->name().tqat(0) == '.'))
++ if ((g->name().at(0) == '.'))
+ continue;
+
+ TQString relPath = g->relPath();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/sftp/kio_sftp.cpp v3.5.13-sru/kioslave/sftp/kio_sftp.cpp
+--- /tmp/stable//kdebase/kioslave/sftp/kio_sftp.cpp 2011-03-12 07:57:57.000000000 +0100
++++ v3.5.13-sru/kioslave/sftp/kio_sftp.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -481,11 +481,7 @@
+ if( port > 0 )
+ mPort = port;
+ else {
+- struct servent *pse;
+- if( (pse = getservbyname("ssh", "tcp") ) == NULL )
+- mPort = 22;
+- else
+- mPort = ntohs(pse->s_port);
++ mPort = -1;
+ }
+
+ mUsername = user;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/sftp/ksshprocess.cpp v3.5.13-sru/kioslave/sftp/ksshprocess.cpp
+--- /tmp/stable//kdebase/kioslave/sftp/ksshprocess.cpp 2011-08-11 07:25:38.000000000 +0200
++++ v3.5.13-sru/kioslave/sftp/ksshprocess.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -206,7 +206,7 @@
+ KSshProcess::KSshProcess()
+ : mVersion(UNKNOWN_VER), mConnected(false),
+ mRunning(false), mConnectState(0) {
+- mSshPath = KStandardDirs::findExe(TQString::tqfromLatin1("ssh"));
++ mSshPath = KStandardDirs::findExe(TQString::fromLatin1("ssh"));
+ kdDebug(KSSHPROC) << "KSshProcess::KSshProcess(): ssh path [" <<
+ mSshPath << "]" << endl;
+
+@@ -292,7 +292,7 @@
+ return TQString::null;
+ }
+
+- return TQString::tqfromLatin1(versionStrs[mVersion]);
++ return TQString::fromLatin1(versionStrs[mVersion]);
+ }
+ */
+
+@@ -569,7 +569,9 @@
+ // If we still don't have anything in our buffer so there must
+ // not be anything on the pty or stderr. Setup a select()
+ // to wait for some data from SSH.
+- if( buffer.empty() ) {
++ // Hack around select() failure on newer systems
++ unsigned long milliseconds = 0;
++ while ((buffer.size() == 0) && (milliseconds < (60*1000))) {
+ //kdDebug(KSSHPROC) << "KSshProcess::getLine(): " <<
+ // "Line buffer empty, calling select() to wait for data." << endl;
+ int errfd = ssh.stderrFd();
+@@ -616,14 +618,18 @@
+ // had data on it first.
+ if( FD_ISSET(ptyfd, &rfds) ) {
+ ptyLine = ssh.readLineFromPty(false);
+- buffer.prepend(TQString(ptyLine));
++ if (ptyLine.size() > 0) {
++ buffer.prepend(TQString(ptyLine));
++ }
+ //kdDebug(KSSHPROC) << "KSshProcess::getLine(): "
+ // "line from pty -" << ptyLine << endl;
+ }
+-
++
+ if( FD_ISSET(errfd, &rfds) ) {
+ errLine = ssh.readLineFromStderr(false);
+- buffer.prepend(TQString(errLine));
++ if (errLine.size() > 0) {
++ buffer.prepend(TQString(errLine));
++ }
+ //kdDebug(KSSHPROC) << "KSshProcess::getLine(): "
+ // "line from err -" << errLine << endl;
+ }
+@@ -637,7 +643,11 @@
+ kdDebug(KSSHPROC) << "KSshProcess::getLine(): "
+ "Exception on std err file descriptor." << endl;
+ }
+-
++
++ if (buffer.size() == 0) {
++ milliseconds++;
++ usleep(1000);
++ }
+ }
+ }
+
+@@ -776,7 +786,7 @@
+ i18n("Error encountered while talking to ssh.");
+ mConnectState = STATE_FATAL;
+ }
+- else if( line.find(TQString::tqfromLatin1(passwordPrompt[mVersion]), 0, false) != -1 ) {
++ else if( line.find(TQString::fromLatin1(passwordPrompt[mVersion]), 0, false) != -1 ) {
+ mConnectState = STATE_TRY_PASSWD;
+ }
+ else if( line.find(passphrasePrompt[mVersion]) != -1 ) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/smb/kio_smb_auth.cpp v3.5.13-sru/kioslave/smb/kio_smb_auth.cpp
+--- /tmp/stable//kdebase/kioslave/smb/kio_smb_auth.cpp 2011-08-11 07:25:35.000000000 +0200
++++ v3.5.13-sru/kioslave/smb/kio_smb_auth.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -121,7 +121,7 @@
+ int index = share.find('/', 1);
+ if (index > 1)
+ share = share.left(index);
+- if (share.tqat(0) == '/')
++ if (share.at(0) == '/')
+ share = share.mid(1);
+ info.url.setPath("/" + share);
+ info.verifyPath = true;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/smb/kio_smb_browse.cpp v3.5.13-sru/kioslave/smb/kio_smb_browse.cpp
+--- /tmp/stable//kdebase/kioslave/smb/kio_smb_browse.cpp 2011-08-11 07:25:35.000000000 +0200
++++ v3.5.13-sru/kioslave/smb/kio_smb_browse.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -199,7 +199,7 @@
+ if (surl.length() == 5) // just the above
+ return kurl; // unchanged
+
+- if (surl.tqat(5) != '/') {
++ if (surl.at(5) != '/') {
+ surl = "smb://" + surl.mid(5);
+ kdDebug(KIO_SMB) << "checkURL return1 " << surl << " " << KURL(surl) << endl;
+ return KURL(surl);
+@@ -349,7 +349,7 @@
+ TQString comment = TQString::fromUtf8( dirp->comment );
+ if ( dirp->smbc_type == SMBC_SERVER || dirp->smbc_type == SMBC_WORKGROUP ) {
+ atom.m_str = dirpName.lower();
+- atom.m_str.tqat( 0 ) = dirpName.tqat( 0 ).upper();
++ atom.m_str.at( 0 ) = dirpName.at( 0 ).upper();
+ if ( !comment.isEmpty() && dirp->smbc_type == SMBC_SERVER )
+ atom.m_str += " (" + comment + ")";
+ } else
+@@ -409,7 +409,7 @@
+ udsentry.append(atom);
+
+ atom.m_uds = KIO::UDS_MIME_TYPE;
+- atom.m_str = TQString::tqfromLatin1("application/x-smb-server");
++ atom.m_str = TQString::fromLatin1("application/x-smb-server");
+ udsentry.append(atom);
+ }
+
+@@ -429,7 +429,7 @@
+ udsentry.append(atom);
+
+ atom.m_uds = KIO::UDS_MIME_TYPE;
+- atom.m_str = TQString::tqfromLatin1("application/x-smb-workgroup");
++ atom.m_str = TQString::fromLatin1("application/x-smb-workgroup");
+ udsentry.append(atom);
+
+ atom.m_uds = KIO::UDS_URL;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/smb/kio_smb_mount.cpp v3.5.13-sru/kioslave/smb/kio_smb_mount.cpp
+--- /tmp/stable//kdebase/kioslave/smb/kio_smb_mount.cpp 2011-08-11 07:25:35.000000000 +0200
++++ v3.5.13-sru/kioslave/smb/kio_smb_mount.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -54,8 +54,8 @@
+ TQString share,host;
+ if (sl.count()>=2)
+ {
+- host=(*sl.tqat(0)).mid(2);
+- share=(*sl.tqat(1));
++ host=(*sl.at(0)).mid(2);
++ share=(*sl.at(1));
+ kdDebug(KIO_SMB)<<"special() host -"<< host <<"- share -" << share <<"-"<<endl;
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/smtp/capabilities.h v3.5.13-sru/kioslave/smtp/capabilities.h
+--- /tmp/stable//kdebase/kioslave/smtp/capabilities.h 2011-08-11 07:25:36.000000000 +0200
++++ v3.5.13-sru/kioslave/smtp/capabilities.h 2012-07-31 17:17:50.000000000 +0200
+@@ -57,7 +57,7 @@
+ return mCapabilities.find( cap.upper() ) != mCapabilities.end();
+ }
+ bool have( const TQCString & cap ) const { return have( TQString( cap.data() ) ); }
+- bool have( const char * cap ) const { return have( TQString::tqfromLatin1( cap ) ); }
++ bool have( const char * cap ) const { return have( TQString::fromLatin1( cap ) ); }
+
+ TQString asMetaDataString() const;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/smtp/command.cc v3.5.13-sru/kioslave/smtp/command.cc
+--- /tmp/stable//kdebase/kioslave/smtp/command.cc 2011-03-12 07:57:55.000000000 +0100
++++ v3.5.13-sru/kioslave/smtp/command.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -321,14 +321,14 @@
+ cmd = mUngetSASLResponse;
+ mUngetSASLResponse = 0;
+ } else if ( mFirstTime ) {
+- TQString firstCommand = "AUTH " + TQString::tqfromLatin1( mMechusing );
++ TQString firstCommand = "AUTH " + TQString::fromLatin1( mMechusing );
+
+ tmp.setRawData( mOut, mOutlen );
+ KCodecs::base64Encode( tmp, challenge );
+ tmp.resetRawData( mOut, mOutlen );
+ if ( !challenge.isEmpty() ) {
+ firstCommand += " ";
+- firstCommand += TQString::tqfromLatin1( challenge.data(), challenge.size() );
++ firstCommand += TQString::fromLatin1( challenge.data(), challenge.size() );
+ }
+ cmd = firstCommand.latin1();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/smtp/request.cc v3.5.13-sru/kioslave/smtp/request.cc
+--- /tmp/stable//kdebase/kioslave/smtp/request.cc 2011-08-11 07:25:36.000000000 +0200
++++ v3.5.13-sru/kioslave/smtp/request.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -93,7 +93,7 @@
+
+ static bool isUsAscii( const TQString & s ) {
+ for ( uint i = 0 ; i < s.length() ; ++i )
+- if ( s[i].tqunicode() > 127 ) return false;
++ if ( s[i].unicode() > 127 ) return false;
+ return true;
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/system/entries/documents.desktop v3.5.13-sru/kioslave/system/entries/documents.desktop
+--- /tmp/stable//kdebase/kioslave/system/entries/documents.desktop 2010-09-24 08:36:47.000000000 +0200
++++ v3.5.13-sru/kioslave/system/entries/documents.desktop 2012-07-31 17:17:50.000000000 +0200
+@@ -1,69 +1,58 @@
+ [Desktop Entry]
+ Type=Link
+-Path=$( kxdglauncher --getpath --xdgname DOCUMENTS )
++URL=$( kxdglauncher --getpath --xdgname DOCUMENTS )
+ Icon=folder_man
+ Name=Documents Folder
+ Name[af]=Dokument Gids
+-Name[ar]=مستنداتي
++Name[ar]=مستنداتي
+ Name[be]=âÑÂчúð ôûѠôðúуüõýтðў
+ Name[bg]=Ãâ€Ã¸Ñ€ÃµÃºÑ‚þрøѠѠôþúуüõýтø
+ Name[bn]=ডকà§Âমেনà§Âট ফোলà§Âডার
+-Name[br]=Renkell an teulioù
++Name[br]=Renkell an teulioù
+ Name[bs]=Direktorij dokumenata
+ Name[ca]=Carpeta de documents
+-Name[cs]=Složka s dokumenty
+-Name[csb]=Katalog dokùmentów
++Name[cs]=Složka s dokumenty
++Name[csb]=Katalog dokùmentów
+ Name[da]=Dokumentmappe
+ Name[de]=Dokumente
+-Name[el]=Φάκελο εγγÃÂάÆÉν
+ Name[eo]=Dokumenta dosierujo
+ Name[es]=Carpeta de documentos
+ Name[et]=Dokumentide kataloog
+ Name[eu]=Dokumentuen karpeta
+-Name[fa]=پوشۀ مستندات
++Name[fa]=پوشۀ مستندات
+ Name[fi]=Asiakirjakansio
+ Name[fr]=Dossier des documents
+ Name[fy]=Ofkeppele kamera
+-Name[ga]=Fillteán na gCáipéisí
++Name[ga]=Fillteán na gCáipéisí
+ Name[gl]=Cartafol de Documentos
+-Name[he]=תיקיית מסמכי×Â
+ Name[hr]=Mapa dokumenata
+-Name[hu]=Dokumentumok könyvtár
++Name[hu]=Dokumentumok könyvtár
+ Name[is]=Skjalamappa
+ Name[it]=Cartella documenti
+-Name[ja]=ドキュメントフォルダ
+-Name[ka]=დáƒÂკუმáƒâ€Ã¡Æ’œáƒ¢áƒâ€Ã¡Æ’‘ის დáƒÂსტáƒÂ
+-Name[kk]=Құöðттðр қðÿшығы
+-Name[km]=ážÂážÂ​ឯកសារ
+-Name[ko]=문서 íƒÂ색기
+-Name[lt]=Dokumentų aplankai
+-Name[mk]=ßðÿúð ÑÂþ ôþúуüõýтø
++Name[ja]=ドキュメントフォルダ
++Name[kk]=Құжаттар қапшығы
++Name[lt]=Dokumentų aplankai
+ Name[nb]=Dokumentmappe
+ Name[nds]=Dokmenten-Orner
+-Name[ne]=कागजात फोलà¥Âडर
+ Name[nl]=Documenten
+ Name[nn]=Dokumentmappe
+-Name[pa]=ਦਸਤਾਵੇਜ਼ ਫੋਲਡਰ
+-Name[pl]=Katalog dokumentów
++Name[pa]=ਦਸਤਾਵੇਜ਼ ਫੋਲਡਰ
++Name[pl]=Katalog dokumentów
+ Name[pt]=Pasta de Documentos
+ Name[pt_BR]=Pasta de Documentos
+ Name[ro]=Folder documente
+-Name[ru]=Ãâ€Ã¾ÃºÑƒÃ¼ÃµÃ½Ñ‚Ñ‹
+-Name[se]=Dokumeantamáhppa
+-Name[sk]=PrieÄÂinok dokumentov
++Name[ru]=Документы
++Name[se]=Dokumeantamáhppa
+ Name[sl]=Mapa z dokumenti
+-Name[sr]=äðÑÂцøúûð ÑÂð ôþúуüõýтøüð
+ Name[sr@Latn]=Fascikla sa dokumentima
+ Name[sv]=Dokumentkatalog
+-Name[te]=పతà±Âరాల ఫొలà±Âà°¡à°°à±Â
+-Name[tg]=Ҳуҷҷðтҳþ
+-Name[th]=โฟลเà¸â€Ã Â¸Â­Ã Â¸Â£Ã Â¹Å’เอà¸Âสาร
++Name[tg]=Ҳуҷҷатҳо
+ Name[tr]=Belgeler Dizini
+-Name[uk]=âõúð ôþúуüõýтіò
++Name[uk]=Тека документів
+ Name[uz]=Hujjatlar jildi
+-Name[uz@cyrillic]=Ҳуööðтûðр öøûôø
+-Name[vi]=Thư mục Tà i liệu
++Name[uz@cyrillic]=Ҳужжатлар жилди
++Name[vi]=Thư mục T� i liệu
+ Name[wa]=Ridant documints
+-Name[zh_CN]=文档文件夹
+-Name[zh_TW]=文件目錄
++Name[zh_CN]=文档文件夹
++Name[zh_TW]=文件目錄
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/tar/tar.cc v3.5.13-sru/kioslave/tar/tar.cc
+--- /tmp/stable//kdebase/kioslave/tar/tar.cc 2011-08-11 07:25:36.000000000 +0200
++++ v3.5.13-sru/kioslave/tar/tar.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -125,7 +125,7 @@
+ path.truncate( len - 1 );
+ }
+ else
+- path = TQString::tqfromLatin1("/");
++ path = TQString::fromLatin1("/");
+ kdDebug(7109) << "Found. archiveFile=" << archiveFile << " path=" << path << endl;
+ break;
+ }
+@@ -248,9 +248,9 @@
+
+ if ( path.isEmpty() )
+ {
+- KURL redir( url.protocol() + TQString::tqfromLatin1( ":/") );
++ KURL redir( url.protocol() + TQString::fromLatin1( ":/") );
+ kdDebug( 7109 ) << "url.path()==" << url.path() << endl;
+- redir.setPath( url.path() + TQString::tqfromLatin1("/") );
++ redir.setPath( url.path() + TQString::fromLatin1("/") );
+ kdDebug( 7109 ) << "ArchiveProtocol::listDir: redirection " << redir.url() << endl;
+ redirection( redir );
+ finished();
+@@ -360,7 +360,7 @@
+ const KArchiveEntry* archiveEntry;
+ if ( path.isEmpty() )
+ {
+- path = TQString::tqfromLatin1( "/" );
++ path = TQString::fromLatin1( "/" );
+ archiveEntry = root;
+ } else {
+ path = TQString::fromLocal8Bit(remoteEncoding()->encode(path));
+@@ -504,7 +504,7 @@
+ if ( !firstRead )
+ {
+ bufferSize = kMin( maxSize, fileSize );
+- buffer.tqresize( bufferSize, TQGArray::SpeedOptim );
++ buffer.resize( bufferSize, TQGArray::SpeedOptim );
+ }
+ const TQ_LONG read = io->readBlock( buffer.data(), buffer.size() ); // Avoid to use bufferSize here, in case something went wrong.
+ if ( read != bufferSize )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/thumbnail/textcreator.cpp v3.5.13-sru/kioslave/thumbnail/textcreator.cpp
+--- /tmp/stable//kdebase/kioslave/thumbnail/textcreator.cpp 2011-08-11 07:25:35.000000000 +0200
++++ v3.5.13-sru/kioslave/thumbnail/textcreator.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -158,13 +158,13 @@
+ }
+
+ // check for newlines in the text (unix,dos)
+- TQChar ch = text.tqat( i );
++ TQChar ch = text.at( i );
+ if ( ch == '\n' )
+ {
+ newLine = true;
+ continue;
+ }
+- else if ( ch == '\r' && text.tqat(i+1) == '\n' )
++ else if ( ch == '\r' && text.at(i+1) == '\n' )
+ {
+ newLine = true;
+ i++; // skip the next character (\n) as well
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/trash/kio_trash.cpp v3.5.13-sru/kioslave/trash/kio_trash.cpp
+--- /tmp/stable//kdebase/kioslave/trash/kio_trash.cpp 2011-03-12 07:57:55.000000000 +0100
++++ v3.5.13-sru/kioslave/trash/kio_trash.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -78,10 +78,10 @@
+ {
+ struct passwd *user = getpwuid( getuid() );
+ if ( user )
+- m_userName = TQString::tqfromLatin1(user->pw_name);
++ m_userName = TQString::fromLatin1(user->pw_name);
+ struct group *grp = getgrgid( getgid() );
+ if ( grp )
+- m_groupName = TQString::tqfromLatin1(grp->gr_name);
++ m_groupName = TQString::fromLatin1(grp->gr_name);
+ }
+
+ TrashProtocol::~TrashProtocol()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/trash/trashimpl.cpp v3.5.13-sru/kioslave/trash/trashimpl.cpp
+--- /tmp/stable//kdebase/kioslave/trash/trashimpl.cpp 2011-08-11 07:25:35.000000000 +0200
++++ v3.5.13-sru/kioslave/trash/trashimpl.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -262,7 +262,7 @@
+ info += KURL::encode_string( makeRelativePath( topDirectoryPath( trashId ), origPath ), m_mibEnum ).latin1();
+ info += "\n";
+ info += "DeletionDate=";
+- info += TQDateTime::tqcurrentDateTime().toString( Qt::ISODate ).latin1();
++ info += TQDateTime::currentDateTime().toString( Qt::ISODate ).latin1();
+ info += "\n";
+ size_t sz = info.size() - 1; // avoid trailing 0 from QCString
+
+@@ -429,7 +429,7 @@
+ kdDebug() << k_funcinfo << src << " -> " << dest << endl;
+ if ( ::rename( TQFile::encodeName( src ), TQFile::encodeName( dest ) ) != 0 ) {
+ if (errno == EXDEV) {
+- error( KIO::ERR_UNSUPPORTED_ACTION, TQString::tqfromLatin1("rename") );
++ error( KIO::ERR_UNSUPPORTED_ACTION, TQString::fromLatin1("rename") );
+ } else {
+ if (( errno == EACCES ) || (errno == EPERM)) {
+ error( KIO::ERR_ACCESS_DENIED, dest );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/applet.cpp v3.5.13-sru/klipper/applet.cpp
+--- /tmp/stable//kdebase/klipper/applet.cpp 2011-03-12 07:58:08.000000000 +0100
++++ v3.5.13-sru/klipper/applet.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -91,7 +91,7 @@
+
+ void KlipperApplet::help()
+ {
+- kapp->invokeHelp(TQString::null, TQString::tqfromLatin1("klipper"));
++ kapp->invokeHelp(TQString::null, TQString::fromLatin1("klipper"));
+ }
+
+ void KlipperApplet::about()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/clipboardpoll.cpp v3.5.13-sru/klipper/clipboardpoll.cpp
+--- /tmp/stable//kdebase/klipper/clipboardpoll.cpp 2011-04-04 02:00:41.000000000 +0200
++++ v3.5.13-sru/klipper/clipboardpoll.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -109,8 +109,8 @@
+
+ void ClipboardPoll::initPolling()
+ {
+- connect( kapp->tqclipboard(), TQT_SIGNAL( selectionChanged() ), TQT_SLOT(qtSelectionChanged()));
+- connect( kapp->tqclipboard(), TQT_SIGNAL( dataChanged() ), TQT_SLOT( qtClipboardChanged() ));
++ connect( kapp->clipboard(), TQT_SIGNAL( selectionChanged() ), TQT_SLOT(qtSelectionChanged()));
++ connect( kapp->clipboard(), TQT_SIGNAL( dataChanged() ), TQT_SLOT( qtClipboardChanged() ));
+ connect( &timer, TQT_SIGNAL( timeout()), TQT_SLOT( timeout()));
+ timer.start( 1000, false );
+ selection.atom = XA_PRIMARY;
+@@ -147,7 +147,7 @@
+ if( xfixes_event_base != -1 && e->type == xfixes_event_base + XFixesSelectionNotify )
+ {
+ XFixesSelectionNotifyEvent* ev = reinterpret_cast< XFixesSelectionNotifyEvent* >( e );
+- if( ev->selection == XA_PRIMARY && !kapp->tqclipboard()->ownsSelection())
++ if( ev->selection == XA_PRIMARY && !kapp->clipboard()->ownsSelection())
+ {
+ #ifdef NOISY_KLIPPER_
+ kdDebug() << "SELECTION CHANGED (XFIXES)" << endl;
+@@ -155,7 +155,7 @@
+ SET_QT_X_TIME(ev->timestamp);
+ emit clipboardChanged( true );
+ }
+- else if( ev->selection == xa_clipboard && !kapp->tqclipboard()->ownsClipboard())
++ else if( ev->selection == xa_clipboard && !kapp->clipboard()->ownsClipboard())
+ {
+ #ifdef NOISY_KLIPPER_
+ kdDebug() << "CLIPBOARD CHANGED (XFIXES)" << endl;
+@@ -218,13 +218,13 @@
+ void ClipboardPoll::timeout()
+ {
+ KlipperWidget::updateTimestamp();
+- if( !kapp->tqclipboard()->ownsSelection() && checkTimestamp( selection ) ) {
++ if( !kapp->clipboard()->ownsSelection() && checkTimestamp( selection ) ) {
+ #ifdef NOISY_KLIPPER_
+ kdDebug() << "SELECTION CHANGED" << endl;
+ #endif
+ emit clipboardChanged( true );
+ }
+- if( !kapp->tqclipboard()->ownsClipboard() && checkTimestamp( clipboard ) ) {
++ if( !kapp->clipboard()->ownsClipboard() && checkTimestamp( clipboard ) ) {
+ #ifdef NOISY_KLIPPER_
+ kdDebug() << "CLIPBOARD CHANGED" << endl;
+ #endif
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/CMakeLists.txt v3.5.13-sru/klipper/CMakeLists.txt
+--- /tmp/stable//kdebase/klipper/CMakeLists.txt 2011-08-21 09:08:16.000000000 +0200
++++ v3.5.13-sru/klipper/CMakeLists.txt 2012-07-31 17:17:50.000000000 +0200
+@@ -27,7 +27,7 @@
+ install( FILES klipper.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+ install( FILES klipper.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
+ install( FILES klipper.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets )
+-install( FILES klipper.desktop DESTINATION ${CONFIG_INSTALL_DIR} RENAME klipperrc )
++install( FILES klipperrc.desktop DESTINATION ${CONFIG_INSTALL_DIR} RENAME klipperrc )
+ install( FILES klipperrc.upd klippershortcuts.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+ install( PROGRAMS klipper-1-2.pl klipper-trinity1.sh DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/configdialog.cpp v3.5.13-sru/klipper/configdialog.cpp
+--- /tmp/stable//kdebase/klipper/configdialog.cpp 2011-08-11 07:25:45.000000000 +0200
++++ v3.5.13-sru/klipper/configdialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -66,7 +66,7 @@
+ {
+ if ( !isVisible() ) {
+ KWinModule module(0, KWinModule::INFO_DESKTOP);
+- TQSize s1 = tqsizeHint();
++ TQSize s1 = sizeHint();
+ TQSize s2 = module.workArea().size();
+ int w = s1.width();
+ int h = s1.height();
+@@ -299,13 +299,13 @@
+ connect( delActionButton, TQT_SIGNAL( clicked() ), TQT_SLOT( slotDeleteAction() ));
+
+ TQLabel *label = new TQLabel(i18n("Click on a highlighted item's column to change it. \"%s\" in a command will be replaced with the clipboard contents."), box);
+- label->tqsetAlignment( WordBreak | AlignLeft | AlignVCenter );
++ label->setAlignment( WordBreak | AlignLeft | AlignVCenter );
+
+ box->setStretchFactor( label, 5 );
+
+ box = new TQHBox( this );
+ TQPushButton *advanced = new TQPushButton( i18n("Advanced..."), box );
+- advanced->setFixedSize( advanced->tqsizeHint() );
++ advanced->setFixedSize( advanced->sizeHint() );
+ connect( advanced, TQT_SIGNAL( clicked() ), TQT_SLOT( slotAdvanced() ));
+ (void) new TQWidget( box ); // spacer
+
+@@ -410,8 +410,8 @@
+ AdvancedWidget *widget = new AdvancedWidget( box );
+ widget->setWMClasses( m_wmClasses );
+
+- dlg.resize( dlg.tqsizeHint().width(),
+- dlg.tqsizeHint().height() +40); // or we get an ugly scrollbar :(
++ dlg.resize( dlg.sizeHint().width(),
++ dlg.sizeHint().height() +40); // or we get an ugly scrollbar :(
+
+ if ( dlg.exec() == TQDialog::Accepted ) {
+ m_wmClasses = widget->wmClasses();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/configdialog.h v3.5.13-sru/klipper/configdialog.h
+--- /tmp/stable//kdebase/klipper/configdialog.h 2011-03-12 07:58:08.000000000 +0100
++++ v3.5.13-sru/klipper/configdialog.h 2012-07-31 17:17:50.000000000 +0200
+@@ -237,11 +237,11 @@
+ ListView( ConfigDialog* configWidget, TQWidget *parent, const char *name )
+ : KListView( parent, name ), _configWidget( configWidget ),
+ _regExpEditor(0L) {}
+- // TQListView has a weird idea of a tqsizeHint...
+- virtual TQSize tqsizeHint () const {
+- int w = tqminimumSizeHint().width();
++ // TQListView has a weird idea of a sizeHint...
++ virtual TQSize sizeHint () const {
++ int w = minimumSizeHint().width();
+ int h = header()->height();
+- h += viewport()->tqsizeHint().height();
++ h += viewport()->sizeHint().height();
+ h += horizontalScrollBar()->height();
+
+ TQListViewItem *item = firstChild();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/historyitem.cpp v3.5.13-sru/klipper/historyitem.cpp
+--- /tmp/stable//kdebase/klipper/historyitem.cpp 2011-03-12 07:58:08.000000000 +0100
++++ v3.5.13-sru/klipper/historyitem.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -52,8 +52,8 @@
+ TQMap<TQString,TQString> metaData;
+ if( KURLDrag::decode( &aSource, urls, metaData )) {
+ // this is from KonqDrag (libkonq)
+- TQByteArray a = aSource.tqencodedData( "application/x-kde-cutselection" );
+- bool cut = !a.isEmpty() && (a.tqat(0) == '1'); // true if 1
++ TQByteArray a = aSource.encodedData( "application/x-kde-cutselection" );
++ bool cut = !a.isEmpty() && (a.at(0) == '1'); // true if 1
+ return new HistoryURLItem( urls, metaData, cut );
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/popupproxy.cpp v3.5.13-sru/klipper/popupproxy.cpp
+--- /tmp/stable//kdebase/klipper/popupproxy.cpp 2011-08-11 07:25:45.000000000 +0200
++++ v3.5.13-sru/klipper/popupproxy.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -109,7 +109,7 @@
+ Q_ASSERT( id != -1 ); // Be sure that the item was inserted.
+ TQMenuItem* mi = proxy_for_menu->findItem( id );
+ int fontheight = TQFontMetrics( proxy_for_menu->fontMetrics() ).height();
+- int itemheight = proxy_for_menu->tqstyle().tqsizeFromContents(TQStyle::CT_PopupMenuItem,
++ int itemheight = proxy_for_menu->style().tqsizeFromContents(TQStyle::CT_PopupMenuItem,
+ proxy_for_menu,
+ TQSize( 0, fontheight ),
+ TQStyleOption(mi,10,0) ).height();
+@@ -133,7 +133,7 @@
+ // discarding any that doesn't match the current filter.
+ // stop when the total number of items equal m_itemsPerMenu;
+ int count = 0;
+- int remainingHeight = m_menu_height - proxy_for_menu->tqsizeHint().height();
++ int remainingHeight = m_menu_height - proxy_for_menu->sizeHint().height();
+ // Force at least one item to be inserted.
+ remainingHeight = QMAX( remainingHeight, 0 );
+ for ( const HistoryItem* item = spillPointer.current();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/toplevel.cpp v3.5.13-sru/klipper/toplevel.cpp
+--- /tmp/stable//kdebase/klipper/toplevel.cpp 2011-07-09 08:16:55.000000000 +0200
++++ v3.5.13-sru/klipper/toplevel.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -110,7 +110,7 @@
+ *
+ * Saving history on session save
+ */
+- virtual bool commitData( QSessionManager& ) {
++ virtual bool commitData( TQSessionManager& ) {
+ klipper->saveSession();
+ return true;
+ }
+@@ -119,7 +119,7 @@
+ };
+
+ extern bool qt_qclipboard_bailout_hack;
+-#if KDE_IS_VERSION( 3, 9, 0 )
++#if KDE_IS_VERSION( 15, 0, 0 )
+ #error Check status of #80072 with Qt4.
+ #endif
+
+@@ -142,7 +142,7 @@
+
+ updateTimestamp(); // read initial X user time
+ setBackgroundMode( X11ParentRelative );
+- clip = kapp->tqclipboard();
++ clip = kapp->clipboard();
+
+ connect( &m_overflowClearTimer, TQT_SIGNAL( timeout()), TQT_SLOT( slotClearOverflow()));
+ m_overflowClearTimer.start( 1000 );
+@@ -327,7 +327,7 @@
+ {
+ Q_ASSERT( menu != 0L );
+
+- TQSize size = menu->tqsizeHint(); // geometry is not valid until it's shown
++ TQSize size = menu->sizeHint(); // geometry is not valid until it's shown
+ if (bPopupAtMouse) {
+ TQPoint g = TQCursor::pos();
+ if ( size.height() < g.y() )
+@@ -1013,13 +1013,13 @@
+ //
+ bool KlipperWidget::ignoreClipboardChanges() const
+ {
+- TQWidget *tqfocusWidget = tqApp->tqfocusWidget();
+- if ( tqfocusWidget )
++ TQWidget *focusWidget = tqApp->focusWidget();
++ if ( focusWidget )
+ {
+- if ( tqfocusWidget->inherits( TQSPINBOX_OBJECT_NAME_STRING ) ||
+- (tqfocusWidget->parentWidget() &&
+- tqfocusWidget->inherits(TQLINEEDIT_OBJECT_NAME_STRING) &&
+- tqfocusWidget->parentWidget()->inherits(TQSPINWIDGET_OBJECT_NAME_STRING)) )
++ if ( focusWidget->inherits( TQSPINBOX_OBJECT_NAME_STRING ) ||
++ (focusWidget->parentWidget() &&
++ focusWidget->inherits(TQLINEEDIT_OBJECT_NAME_STRING) &&
++ focusWidget->parentWidget()->inherits(TQSPINWIDGET_OBJECT_NAME_STRING)) )
+ {
+ return true;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/urlgrabber.cpp v3.5.13-sru/klipper/urlgrabber.cpp
+--- /tmp/stable//kdebase/klipper/urlgrabber.cpp 2011-08-11 07:25:45.000000000 +0200
++++ v3.5.13-sru/klipper/urlgrabber.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -379,7 +379,7 @@
+ {
+ if ( myMenu && myMenu->isVisible() )
+ {
+- if ( myMenu->tqgeometry().contains( TQCursor::pos() ) &&
++ if ( myMenu->geometry().contains( TQCursor::pos() ) &&
+ myPopupKillTimeout > 0 )
+ {
+ myPopupKillTimer->start( 1000 * myPopupKillTimeout, true );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/urlgrabber.h v3.5.13-sru/klipper/urlgrabber.h
+--- /tmp/stable//kdebase/klipper/urlgrabber.h 2011-03-12 07:58:08.000000000 +0100
++++ v3.5.13-sru/klipper/urlgrabber.h 2012-07-31 17:17:50.000000000 +0200
+@@ -132,7 +132,7 @@
+ inline bool matches( const TQString& string ) {
+ int res = myRegExp.search( string ) ;
+ if ( res != -1 ) {
+- myCapturedTexts = myRegExp.tqcapturedTexts();
++ myCapturedTexts = myRegExp.capturedTexts();
+ return true;
+ }
+ return false;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kmenuedit/basictab.cpp v3.5.13-sru/kmenuedit/basictab.cpp
+--- /tmp/stable//kdebase/kmenuedit/basictab.cpp 2011-03-12 07:57:59.000000000 +0100
++++ v3.5.13-sru/kmenuedit/basictab.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -468,8 +468,8 @@
+ if (signalsBlocked())
+ return;
+
+- if( KKeyChooser::checkGlobalShortcutsConflict( cut, true, tqtopLevelWidget())
+- || KKeyChooser::checkStandardShortcutsConflict( cut, true, tqtopLevelWidget()))
++ if( KKeyChooser::checkGlobalShortcutsConflict( cut, true, topLevelWidget())
++ || KKeyChooser::checkStandardShortcutsConflict( cut, true, topLevelWidget()))
+ return;
+
+ if ( KHotKeys::present() )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kmenuedit/kmenuedit.cpp v3.5.13-sru/kmenuedit/kmenuedit.cpp
+--- /tmp/stable//kdebase/kmenuedit/kmenuedit.cpp 2011-03-12 07:58:00.000000000 +0100
++++ v3.5.13-sru/kmenuedit/kmenuedit.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -121,7 +121,7 @@
+ #endif
+
+ // disabling the updates prevents unnecessary redraws
+- tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+ guiFactory()->removeClient( this );
+
+ delete m_actionDelete;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/knetattach/knetattach.ui v3.5.13-sru/knetattach/knetattach.ui
+--- /tmp/stable//kdebase/knetattach/knetattach.ui 2011-03-12 07:58:00.000000000 +0100
++++ v3.5.13-sru/knetattach/knetattach.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -96,7 +96,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>250</width>
+ <height>0</height>
+@@ -131,7 +131,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>31</width>
+ <height>16</height>
+@@ -145,7 +145,7 @@
+ <property name="text">
+ <string>Select the type of network folder you wish to connect to and press the Next button.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+@@ -159,7 +159,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>21</height>
+@@ -186,7 +186,7 @@
+ <property name="text">
+ <string>Enter a name for this &lt;i&gt;%1&lt;/i&gt; as well as the server address, port and folder path to use and press the Next button.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+@@ -200,7 +200,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>21</height>
+@@ -327,7 +327,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>560</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/about/konq_aboutpage.cc v3.5.13-sru/konqueror/about/konq_aboutpage.cc
+--- /tmp/stable//kdebase/konqueror/about/konq_aboutpage.cc 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/about/konq_aboutpage.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -77,9 +77,9 @@
+ res = t.read();
+
+ // otherwise all embedded objects are referenced as about:/...
+- TQString basehref = TQString::tqfromLatin1("<BASE HREF=\"file:") +
++ TQString basehref = TQString::fromLatin1("<BASE HREF=\"file:") +
+ file.left( file.findRev( '/' )) +
+- TQString::tqfromLatin1("/\">\n");
++ TQString::fromLatin1("/\">\n");
+ TQRegExp reg("<head>");
+ reg.setCaseSensitive(FALSE);
+ res.replace(reg, "<head>\n\t" + basehref);
+@@ -110,11 +110,11 @@
+ TQString home_folder = TQDir::homeDirPath();
+ TQString continue_icon_path = TQApplication::reverseLayout()?iconloader->iconPath("1leftarrow", KIcon::Small ):iconloader->iconPath("1rightarrow", KIcon::Small );
+
+- res = res.tqarg( locate( "data", "kdeui/about/kde_infopage.css" ) );
++ res = res.arg( locate( "data", "kdeui/about/kde_infopage.css" ) );
+ if ( kapp->reverseLayout() )
+- res = res.tqarg( "@import \"%1\";" ).tqarg( locate( "data", "kdeui/about/kde_infopage_rtl.css" ) );
++ res = res.arg( "@import \"%1\";" ).arg( locate( "data", "kdeui/about/kde_infopage_rtl.css" ) );
+ else
+- res = res.tqarg( "" );
++ res = res.arg( "" );
+
+ // Try to split page in three. If it succeeds, insert the default search into the middle part.
+ TQStringList parts = TQStringList::split( "<!--search bar splitter-->", res );
+@@ -123,56 +123,56 @@
+ config.setGroup( "General" );
+ TQString name = config.readEntry("DefaultSearchEngine");
+ KService::Ptr service =
+- KService::serviceByDesktopPath(TQString("searchproviders/%1.desktop").tqarg(name));
++ KService::serviceByDesktopPath(TQString("searchproviders/%1.desktop").arg(name));
+ if ( service ) {
+ TQString searchBar = parts[1];
+ searchBar = searchBar
+- .tqarg( iconSize ).tqarg( iconSize )
+- .tqarg( service->name() )
+- .tqarg( service->property("Keys").toStringList()[0] )
++ .arg( iconSize ).arg( iconSize )
++ .arg( service->name() )
++ .arg( service->property("Keys").toStringList()[0] )
+ ;
+ res = parts[0] + searchBar + parts[2];
+ }
+ else res = parts[0] + parts[2];
+ }
+
+- res = res.tqarg( i18n("Conquer your Desktop!") )
+- .tqarg( i18n( "Konqueror" ) )
+- .tqarg( i18n("Conquer your Desktop!") )
+- .tqarg( i18n("Konqueror is your file manager, web browser and universal document viewer.") )
+- .tqarg( i18n( "Starting Points" ) )
+- .tqarg( i18n( "Introduction" ) )
+- .tqarg( i18n( "Tips" ) )
+- .tqarg( i18n( "Specifications" ) )
+- .tqarg( home_folder )
+- .tqarg( home_icon_path )
+- .tqarg(iconSize).tqarg(iconSize)
+- .tqarg( home_folder )
+- .tqarg( i18n( "Home Folder" ) )
+- .tqarg( i18n( "Your personal files" ) )
+- .tqarg( storage_icon_path )
+- .tqarg(iconSize).tqarg(iconSize)
+- .tqarg( i18n( "Storage Media" ) )
+- .tqarg( i18n( "Disks and removable media" ) )
+- .tqarg( remote_icon_path )
+- .tqarg(iconSize).tqarg(iconSize)
+- .tqarg( i18n( "Network Folders" ) )
+- .tqarg( i18n( "Shared files and folders" ) )
+- .tqarg( wastebin_icon_path )
+- .tqarg(iconSize).tqarg(iconSize)
+- .tqarg( i18n( "Trash" ) )
+- .tqarg( i18n( "Browse and restore the trash" ) )
+- .tqarg( applications_icon_path )
+- .tqarg(iconSize).tqarg(iconSize)
+- .tqarg( i18n( "Applications" ) )
+- .tqarg( i18n( "Installed programs" ) )
+- .tqarg( help_icon_path )
+- .tqarg(iconSize).tqarg(iconSize)
+- .tqarg( i18n( "About Kubuntu" ) )
+- .tqarg( i18n( "<a href=\"help:/kubuntu/\">Kubuntu Documentation</a>" ) )
+- .tqarg( continue_icon_path )
+- .tqarg( KIcon::SizeSmall ).tqarg( KIcon::SizeSmall )
+- .tqarg( i18n( "Next: An Introduction to Konqueror" ) )
++ res = res.arg( i18n("Conquer your Desktop!") )
++ .arg( i18n( "Konqueror" ) )
++ .arg( i18n("Conquer your Desktop!") )
++ .arg( i18n("Konqueror is your file manager, web browser and universal document viewer.") )
++ .arg( i18n( "Starting Points" ) )
++ .arg( i18n( "Introduction" ) )
++ .arg( i18n( "Tips" ) )
++ .arg( i18n( "Specifications" ) )
++ .arg( home_folder )
++ .arg( home_icon_path )
++ .arg(iconSize).arg(iconSize)
++ .arg( home_folder )
++ .arg( i18n( "Home Folder" ) )
++ .arg( i18n( "Your personal files" ) )
++ .arg( storage_icon_path )
++ .arg(iconSize).arg(iconSize)
++ .arg( i18n( "Storage Media" ) )
++ .arg( i18n( "Disks and removable media" ) )
++ .arg( remote_icon_path )
++ .arg(iconSize).arg(iconSize)
++ .arg( i18n( "Network Folders" ) )
++ .arg( i18n( "Shared files and folders" ) )
++ .arg( wastebin_icon_path )
++ .arg(iconSize).arg(iconSize)
++ .arg( i18n( "Trash" ) )
++ .arg( i18n( "Browse and restore the trash" ) )
++ .arg( applications_icon_path )
++ .arg(iconSize).arg(iconSize)
++ .arg( i18n( "Applications" ) )
++ .arg( i18n( "Installed programs" ) )
++ .arg( help_icon_path )
++ .arg(iconSize).arg(iconSize)
++ .arg( i18n( "About Kubuntu" ) )
++ .arg( i18n( "<a href=\"help:/kubuntu/\">Kubuntu Documentation</a>" ) )
++ .arg( continue_icon_path )
++ .arg( KIcon::SizeSmall ).arg( KIcon::SizeSmall )
++ .arg( i18n( "Next: An Introduction to Konqueror" ) )
+ ;
+ i18n("Search the Web");//i18n for possible future use
+
+@@ -195,42 +195,42 @@
+ TQString gohome_icon_path = iconloader->iconPath("gohome", KIcon::Small );
+ TQString continue_icon_path = TQApplication::reverseLayout()?iconloader->iconPath("1leftarrow", KIcon::Small ):iconloader->iconPath("1rightarrow", KIcon::Small );
+
+- res = res.tqarg( locate( "data", "kdeui/about/kde_infopage.css" ) );
++ res = res.arg( locate( "data", "kdeui/about/kde_infopage.css" ) );
+ if ( kapp->reverseLayout() )
+- res = res.tqarg( "@import \"%1\";" ).tqarg( locate( "data", "kdeui/about/kde_infopage_rtl.css" ) );
++ res = res.arg( "@import \"%1\";" ).arg( locate( "data", "kdeui/about/kde_infopage_rtl.css" ) );
+ else
+- res = res.tqarg( "" );
++ res = res.arg( "" );
+
+- res = res.tqarg( i18n("Conquer your Desktop!") )
+- .tqarg( i18n( "Konqueror" ) )
+- .tqarg( i18n( "Conquer your Desktop!") )
+- .tqarg( i18n( "Konqueror is your file manager, web browser and universal document viewer.") )
+- .tqarg( i18n( "Starting Points" ) )
+- .tqarg( i18n( "Introduction" ) )
+- .tqarg( i18n( "Tips" ) )
+- .tqarg( i18n( "Specifications" ) )
+- .tqarg( i18n( "Konqueror makes working with and managing your files easy. You can browse "
++ res = res.arg( i18n("Conquer your Desktop!") )
++ .arg( i18n( "Konqueror" ) )
++ .arg( i18n( "Conquer your Desktop!") )
++ .arg( i18n( "Konqueror is your file manager, web browser and universal document viewer.") )
++ .arg( i18n( "Starting Points" ) )
++ .arg( i18n( "Introduction" ) )
++ .arg( i18n( "Tips" ) )
++ .arg( i18n( "Specifications" ) )
++ .arg( i18n( "Konqueror makes working with and managing your files easy. You can browse "
+ "both local and networked folders while enjoying advanced features "
+ "such as the powerful sidebar and file previews."
+ ) )
+- .tqarg( i18n( "Konqueror is also a full featured and easy to use web browser which you "
++ .arg( i18n( "Konqueror is also a full featured and easy to use web browser which you "
+ "can use to explore the Internet. "
+ "Enter the address (e.g. <a href=\"http://www.kde.org\">http://www.kde.org</A>) "
+ "of a web page you would like to visit in the location bar and press Enter, "
+ "or choose an entry from the Bookmarks menu.") )
+- .tqarg( i18n( "To return to the previous "
++ .arg( i18n( "To return to the previous "
+ "location, press the back button <img width='16' height='16' src=\"%1\"> "
+- "in the toolbar. ").tqarg( back_icon_path ) )
+- .tqarg( i18n( "To quickly go to your Home folder press the "
+- " home button <img width='16' height='16' src=\"%1\">." ).tqarg(gohome_icon_path) )
+- .tqarg( i18n( "For more detailed documentation on Konqueror click <a href=\"%1\">here</a>." )
+- .tqarg("exec:/khelpcenter") )
+- .tqarg( i18n( "<em>Tuning Tip:</em> If you want the Konqueror web browser to start faster,"
++ "in the toolbar. ").arg( back_icon_path ) )
++ .arg( i18n( "To quickly go to your Home folder press the "
++ " home button <img width='16' height='16' src=\"%1\">." ).arg(gohome_icon_path) )
++ .arg( i18n( "For more detailed documentation on Konqueror click <a href=\"%1\">here</a>." )
++ .arg("exec:/khelpcenter") )
++ .arg( i18n( "<em>Tuning Tip:</em> If you want the Konqueror web browser to start faster,"
+ " you can turn off this information screen by clicking <a href=\"%1\">here</a>. You can re-enable it"
+ " by choosing the Help -> Konqueror Introduction menu option, and then pressing "
+- "Settings -> Save View Profile \"Web Browsing\".").tqarg("config:/disable_overview") )
+- .tqarg( "<img width='16' height='16' src=\"%1\">" ).tqarg( continue_icon_path )
+- .tqarg( i18n( "Next: Tips &amp; Tricks" ) )
++ "Settings -> Save View Profile \"Web Browsing\".").arg("config:/disable_overview") )
++ .arg( "<img width='16' height='16' src=\"%1\">" ).arg( continue_icon_path )
++ .arg( i18n( "Next: Tips &amp; Tricks" ) )
+ ;
+
+
+@@ -250,69 +250,69 @@
+ if ( res.isEmpty() )
+ return res;
+
+- res = res.tqarg( locate( "data", "kdeui/about/kde_infopage.css" ) );
++ res = res.arg( locate( "data", "kdeui/about/kde_infopage.css" ) );
+ if ( kapp->reverseLayout() )
+- res = res.tqarg( "@import \"%1\";" ).tqarg( locate( "data", "kdeui/about/kde_infopage_rtl.css" ) );
++ res = res.arg( "@import \"%1\";" ).arg( locate( "data", "kdeui/about/kde_infopage_rtl.css" ) );
+ else
+- res = res.tqarg( "" );
++ res = res.arg( "" );
+
+- res = res.tqarg( i18n("Conquer your Desktop!") )
+- .tqarg( i18n( "Konqueror" ) )
+- .tqarg( i18n("Conquer your Desktop!") )
+- .tqarg( i18n("Konqueror is your file manager, web browser and universal document viewer.") )
+- .tqarg( i18n( "Starting Points" ) )
+- .tqarg( i18n( "Introduction" ) )
+- .tqarg( i18n( "Tips" ) )
+- .tqarg( i18n( "Specifications" ) )
+- .tqarg( i18n("Specifications") )
+- .tqarg( i18n("Konqueror is designed to embrace and support Internet standards. "
++ res = res.arg( i18n("Conquer your Desktop!") )
++ .arg( i18n( "Konqueror" ) )
++ .arg( i18n("Conquer your Desktop!") )
++ .arg( i18n("Konqueror is your file manager, web browser and universal document viewer.") )
++ .arg( i18n( "Starting Points" ) )
++ .arg( i18n( "Introduction" ) )
++ .arg( i18n( "Tips" ) )
++ .arg( i18n( "Specifications" ) )
++ .arg( i18n("Specifications") )
++ .arg( i18n("Konqueror is designed to embrace and support Internet standards. "
+ "The aim is to fully implement the officially sanctioned standards "
+ "from organizations such as the W3 and OASIS, while also adding "
+ "extra support for other common usability features that arise as "
+ "de facto standards across the Internet. Along with this support, "
+ "for such functions as favicons, Internet Keywords, and <A HREF=\"%1\">XBEL bookmarks</A>, "
+- "Konqueror also implements:").tqarg("http://pyxml.sourceforge.net/topics/xbel/") )
+- .tqarg( i18n("Web Browsing") )
+- .tqarg( i18n("Supported standards") )
+- .tqarg( i18n("Additional requirements*") )
+- .tqarg( i18n("<A HREF=\"%1\">DOM</A> (Level 1, partially Level 2) based "
+- "<A HREF=\"%2\">HTML 4.01</A>").tqarg("http://www.w3.org/DOM").tqarg("http://www.w3.org/TR/html4/") )
+- .tqarg( i18n("built-in") )
+- .tqarg( i18n("<A HREF=\"%1\">Cascading Style Sheets</A> (CSS 1, partially CSS 2)").tqarg("http://www.w3.org/Style/CSS/") )
+- .tqarg( i18n("built-in") )
+- .tqarg( i18n("<A HREF=\"%1\">ECMA-262</A> Edition 3 (roughly equals JavaScript 1.5)").tqarg("http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM") )
+- .tqarg( i18n("JavaScript disabled (globally). Enable JavaScript <A HREF=\"%1\">here</A>.").tqarg("exec:/kcmshell khtml_java_js") )
+- .tqarg( i18n("JavaScript enabled (globally). Configure JavaScript <A HREF=\\\"%1\\\">here</A>.").tqarg("exec:/kcmshell khtml_java_js") ) // leave the double backslashes here, they are necessary for javascript !
+- .tqarg( i18n("Secure <A HREF=\"%1\">Java</A><SUP>&reg;</SUP> support").tqarg("http://java.sun.com") )
+- .tqarg( i18n("JDK 1.2.0 (Java 2) compatible VM (<A HREF=\"%1\">Blackdown</A>, <A HREF=\"%2\">IBM</A> or <A HREF=\"%3\">Sun</A>)")
+- .tqarg("http://www.blackdown.org").tqarg("http://www.ibm.com").tqarg("http://java.sun.com") )
+- .tqarg( i18n("Enable Java (globally) <A HREF=\"%1\">here</A>.").tqarg("exec:/kcmshell khtml_java_js") ) // TODO Maybe test if Java is enabled ?
+- .tqarg( i18n("Netscape Communicator<SUP>&reg;</SUP> <A HREF=\"%4\">plugins</A> (for viewing <A HREF=\"%1\">Flash<SUP>&reg;</SUP></A>, <A HREF=\"%2\">Real<SUP>&reg;</SUP></A>Audio, <A HREF=\"%3\">Real<SUP>&reg;</SUP></A>Video, etc.)")
+- .tqarg("http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash")
+- .tqarg("http://www.real.com").tqarg("http://www.real.com")
+- .tqarg("about:plugins") )
+- .tqarg( i18n("built-in") )
+- .tqarg( i18n("Secure Sockets Layer") )
+- .tqarg( i18n("(TLS/SSL v2/3) for secure communications up to 168bit") )
+- .tqarg( i18n("OpenSSL") )
+- .tqarg( i18n("Bidirectional 16bit tqunicode support") )
+- .tqarg( i18n("built-in") )
+- .tqarg( i18n("AutoCompletion for forms") )
+- .tqarg( i18n("built-in") )
+- .tqarg( i18n("G E N E R A L") )
+- .tqarg( i18n("Feature") )
+- .tqarg( i18n("Details") )
+- .tqarg( i18n("Image formats") )
+- .tqarg( i18n("Transfer protocols") )
+- .tqarg( i18n("HTTP 1.1 (including gzip/bzip2 compression)") )
+- .tqarg( i18n("FTP") )
+- .tqarg( i18n("and <A HREF=\"%1\">many more...</A>").tqarg("exec:/kcmshell ioslaveinfo") )
+- .tqarg( i18n("URL-Completion") )
+- .tqarg( i18n("Manual"))
+- .tqarg( i18n("Popup"))
+- .tqarg( i18n("(Short-) Automatic"))
+- .tqarg( "<img width='16' height='16' src=\"%1\">" ).tqarg( continue_icon_path )
+- .tqarg( i18n("<a href=\"%1\">Return to Starting Points</a>").tqarg("launch.html") )
++ "Konqueror also implements:").arg("http://pyxml.sourceforge.net/topics/xbel/") )
++ .arg( i18n("Web Browsing") )
++ .arg( i18n("Supported standards") )
++ .arg( i18n("Additional requirements*") )
++ .arg( i18n("<A HREF=\"%1\">DOM</A> (Level 1, partially Level 2) based "
++ "<A HREF=\"%2\">HTML 4.01</A>").arg("http://www.w3.org/DOM").arg("http://www.w3.org/TR/html4/") )
++ .arg( i18n("built-in") )
++ .arg( i18n("<A HREF=\"%1\">Cascading Style Sheets</A> (CSS 1, partially CSS 2)").arg("http://www.w3.org/Style/CSS/") )
++ .arg( i18n("built-in") )
++ .arg( i18n("<A HREF=\"%1\">ECMA-262</A> Edition 3 (roughly equals JavaScript 1.5)").arg("http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM") )
++ .arg( i18n("JavaScript disabled (globally). Enable JavaScript <A HREF=\"%1\">here</A>.").arg("exec:/kcmshell khtml_java_js") )
++ .arg( i18n("JavaScript enabled (globally). Configure JavaScript <A HREF=\\\"%1\\\">here</A>.").arg("exec:/kcmshell khtml_java_js") ) // leave the double backslashes here, they are necessary for javascript !
++ .arg( i18n("Secure <A HREF=\"%1\">Java</A><SUP>&reg;</SUP> support").arg("http://java.sun.com") )
++ .arg( i18n("JDK 1.2.0 (Java 2) compatible VM (<A HREF=\"%1\">Blackdown</A>, <A HREF=\"%2\">IBM</A> or <A HREF=\"%3\">Sun</A>)")
++ .arg("http://www.blackdown.org").arg("http://www.ibm.com").arg("http://java.sun.com") )
++ .arg( i18n("Enable Java (globally) <A HREF=\"%1\">here</A>.").arg("exec:/kcmshell khtml_java_js") ) // TODO Maybe test if Java is enabled ?
++ .arg( i18n("Netscape Communicator<SUP>&reg;</SUP> <A HREF=\"%4\">plugins</A> (for viewing <A HREF=\"%1\">Flash<SUP>&reg;</SUP></A>, <A HREF=\"%2\">Real<SUP>&reg;</SUP></A>Audio, <A HREF=\"%3\">Real<SUP>&reg;</SUP></A>Video, etc.)")
++ .arg("http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash")
++ .arg("http://www.real.com").arg("http://www.real.com")
++ .arg("about:plugins") )
++ .arg( i18n("built-in") )
++ .arg( i18n("Secure Sockets Layer") )
++ .arg( i18n("(TLS/SSL v2/3) for secure communications up to 168bit") )
++ .arg( i18n("OpenSSL") )
++ .arg( i18n("Bidirectional 16bit unicode support") )
++ .arg( i18n("built-in") )
++ .arg( i18n("AutoCompletion for forms") )
++ .arg( i18n("built-in") )
++ .arg( i18n("G E N E R A L") )
++ .arg( i18n("Feature") )
++ .arg( i18n("Details") )
++ .arg( i18n("Image formats") )
++ .arg( i18n("Transfer protocols") )
++ .arg( i18n("HTTP 1.1 (including gzip/bzip2 compression)") )
++ .arg( i18n("FTP") )
++ .arg( i18n("and <A HREF=\"%1\">many more...</A>").arg("exec:/kcmshell ioslaveinfo") )
++ .arg( i18n("URL-Completion") )
++ .arg( i18n("Manual"))
++ .arg( i18n("Popup"))
++ .arg( i18n("(Short-) Automatic"))
++ .arg( "<img width='16' height='16' src=\"%1\">" ).arg( continue_icon_path )
++ .arg( i18n("<a href=\"%1\">Return to Starting Points</a>").arg("launch.html") )
+
+ ;
+
+@@ -347,57 +347,57 @@
+ iconloader->iconPath("view_left_right", KIcon::Small );
+ TQString continue_icon_path = TQApplication::reverseLayout()?iconloader->iconPath("1leftarrow", KIcon::Small ):iconloader->iconPath("1rightarrow", KIcon::Small );
+
+- res = res.tqarg( locate( "data", "kdeui/about/kde_infopage.css" ) );
++ res = res.arg( locate( "data", "kdeui/about/kde_infopage.css" ) );
+ if ( kapp->reverseLayout() )
+- res = res.tqarg( "@import \"%1\";" ).tqarg( locate( "data", "kdeui/about/kde_infopage_rtl.css" ) );
++ res = res.arg( "@import \"%1\";" ).arg( locate( "data", "kdeui/about/kde_infopage_rtl.css" ) );
+ else
+- res = res.tqarg( "" );
++ res = res.arg( "" );
+
+- res = res.tqarg( i18n("Conquer your Desktop!") )
+- .tqarg( i18n( "Konqueror" ) )
+- .tqarg( i18n("Conquer your Desktop!") )
+- .tqarg( i18n("Konqueror is your file manager, web browser and universal document viewer.") )
+- .tqarg( i18n( "Starting Points" ) )
+- .tqarg( i18n( "Introduction" ) )
+- .tqarg( i18n( "Tips" ) )
+- .tqarg( i18n( "Specifications" ) )
+- .tqarg( i18n( "Tips &amp; Tricks" ) )
+- .tqarg( i18n( "Use Internet-Keywords and Web-Shortcuts: by typing \"gg: KDE\" one can search the Internet, "
++ res = res.arg( i18n("Conquer your Desktop!") )
++ .arg( i18n( "Konqueror" ) )
++ .arg( i18n("Conquer your Desktop!") )
++ .arg( i18n("Konqueror is your file manager, web browser and universal document viewer.") )
++ .arg( i18n( "Starting Points" ) )
++ .arg( i18n( "Introduction" ) )
++ .arg( i18n( "Tips" ) )
++ .arg( i18n( "Specifications" ) )
++ .arg( i18n( "Tips &amp; Tricks" ) )
++ .arg( i18n( "Use Internet-Keywords and Web-Shortcuts: by typing \"gg: KDE\" one can search the Internet, "
+ "using Google, for the search phrase \"KDE\". There are a lot of "
+ "Web-Shortcuts predefined to make searching for software or looking "
+ "up certain words in an encyclopedia a breeze. You can even "
+- "<a href=\"%1\">create your own</a> Web-Shortcuts." ).tqarg("exec:/kcmshell ebrowsing") )
+- .tqarg( i18n( "Use the magnifier button <img width='16' height='16' src=\"%1\"> in the"
+- " toolbar to increase the font size on your web page.").tqarg(viewmag_icon_path) )
+- .tqarg( i18n( "When you want to paste a new address into the Location toolbar you might want to "
++ "<a href=\"%1\">create your own</a> Web-Shortcuts." ).arg("exec:/kcmshell ebrowsing") )
++ .arg( i18n( "Use the magnifier button <img width='16' height='16' src=\"%1\"> in the"
++ " toolbar to increase the font size on your web page.").arg(viewmag_icon_path) )
++ .arg( i18n( "When you want to paste a new address into the Location toolbar you might want to "
+ "clear the current entry by pressing the black arrow with the white cross "
+ "<img width='16' height='16' src=\"%1\"> in the toolbar.")
+- .tqarg(TQApplication::reverseLayout() ? locationbar_erase_rtl_icon_path : locationbar_erase_icon_path))
+- .tqarg( i18n( "To create a link on your desktop pointing to the current page, "
++ .arg(TQApplication::reverseLayout() ? locationbar_erase_rtl_icon_path : locationbar_erase_icon_path))
++ .arg( i18n( "To create a link on your desktop pointing to the current page, "
+ "simply drag the \"Location\" label that is to the left of the Location toolbar, drop it on to "
+ "the desktop, and choose \"Link\"." ) )
+- .tqarg( i18n( "You can also find <img width='16' height='16' src=\"%1\"> \"Full-Screen Mode\" "
++ .arg( i18n( "You can also find <img width='16' height='16' src=\"%1\"> \"Full-Screen Mode\" "
+ "in the Settings menu. This feature is very useful for \"Talk\" "
+- "sessions.").tqarg(window_fullscreen_icon_path) )
+- .tqarg( i18n( "Divide et impera (lat. \"Divide and conquer\") - by splitting a window "
++ "sessions.").arg(window_fullscreen_icon_path) )
++ .arg( i18n( "Divide et impera (lat. \"Divide and conquer\") - by splitting a window "
+ "into two parts (e.g. Window -> <img width='16' height='16' src=\"%1\"> Split View "
+ "Left/Right) you can make Konqueror appear the way you like. You"
+ " can even load some example view-profiles (e.g. Midnight Commander)"
+- ", or create your own ones." ).tqarg(view_left_right_icon_path))
+- .tqarg( i18n( "Use the <a href=\"%1\">user-agent</a> feature if the website you are visiting "
++ ", or create your own ones." ).arg(view_left_right_icon_path))
++ .arg( i18n( "Use the <a href=\"%1\">user-agent</a> feature if the website you are visiting "
+ "asks you to use a different browser "
+- "(and do not forget to send a complaint to the webmaster!)" ).tqarg("exec:/kcmshell useragent") )
+- .tqarg( i18n( "The <img width='16' height='16' src=\"%1\"> History in your SideBar ensures "
+- "that you can keep track of the pages you have visited recently.").tqarg(history_icon_path) )
+- .tqarg( i18n( "Use a caching <a href=\"%1\">proxy</a> to speed up your"
+- " Internet connection.").tqarg("exec:/kcmshell proxy") )
+- .tqarg( i18n( "Advanced users will appreciate the Konsole which you can embed into "
++ "(and do not forget to send a complaint to the webmaster!)" ).arg("exec:/kcmshell useragent") )
++ .arg( i18n( "The <img width='16' height='16' src=\"%1\"> History in your SideBar ensures "
++ "that you can keep track of the pages you have visited recently.").arg(history_icon_path) )
++ .arg( i18n( "Use a caching <a href=\"%1\">proxy</a> to speed up your"
++ " Internet connection.").arg("exec:/kcmshell proxy") )
++ .arg( i18n( "Advanced users will appreciate the Konsole which you can embed into "
+ "Konqueror (Window -> <img width='16' height='16' SRC=\"%1\"> Show "
+- "Terminal Emulator).").tqarg(openterm_icon_path))
+- .tqarg( i18n( "Thanks to <a href=\"%1\">DCOP</a> you can have full control over Konqueror using a script."
+-).tqarg("exec:/kdcop") )
+- .tqarg( i18n( "<img width='16' height='16' src=\"%1\">" ).tqarg( continue_icon_path ) )
+- .tqarg( i18n( "Next: Specifications" ) )
++ "Terminal Emulator).").arg(openterm_icon_path))
++ .arg( i18n( "Thanks to <a href=\"%1\">DCOP</a> you can have full control over Konqueror using a script."
++).arg("exec:/kdcop") )
++ .arg( i18n( "<img width='16' height='16' src=\"%1\">" ).arg( continue_icon_path ) )
++ .arg( i18n( "Next: Specifications" ) )
+ ;
+
+
+@@ -413,10 +413,10 @@
+ return *s_plugins_html;
+
+ TQString res = loadFile( locate( "data", kapp->reverseLayout() ? "konqueror/about/plugins_rtl.html" : "konqueror/about/plugins.html" ))
+- .tqarg(i18n("Installed Plugins"))
+- .tqarg(i18n("<td>Plugin</td><td>Description</td><td>File</td><td>Types</td>"))
+- .tqarg(i18n("Installed"))
+- .tqarg(i18n("<td>Mime Type</td><td>Description</td><td>Suffixes</td><td>Plugin</td>"));
++ .arg(i18n("Installed Plugins"))
++ .arg(i18n("<td>Plugin</td><td>Description</td><td>File</td><td>Types</td>"))
++ .arg(i18n("Installed"))
++ .arg(i18n("<td>Mime Type</td><td>Description</td><td>Suffixes</td><td>Plugin</td>"));
+ if ( res.isEmpty() )
+ return res;
+
+@@ -489,7 +489,7 @@
+ void KonqAboutPage::serve( const TQString& html, const TQString& what )
+ {
+ m_what = what;
+- begin( KURL( TQString("about:%1").tqarg(what) ) );
++ begin( KURL( TQString("about:%1").arg(what) ) );
+ write( html );
+ end();
+ m_htmlDoc = html;
+@@ -507,32 +507,32 @@
+ return;
+ }
+
+- if ( url == TQString::tqfromLatin1("launch.html") )
++ if ( url == TQString::fromLatin1("launch.html") )
+ {
+ emit browserExtension()->openURLNotify();
+ serve( KonqAboutPageFactory::launch(), "konqueror" );
+ return;
+ }
+- else if ( url == TQString::tqfromLatin1("intro.html") )
++ else if ( url == TQString::fromLatin1("intro.html") )
+ {
+ emit browserExtension()->openURLNotify();
+ serve( KonqAboutPageFactory::intro(), "konqueror" );
+ return;
+ }
+- else if ( url == TQString::tqfromLatin1("specs.html") )
++ else if ( url == TQString::fromLatin1("specs.html") )
+ {
+ emit browserExtension()->openURLNotify();
+ serve( KonqAboutPageFactory::specs(), "konqueror" );
+ return;
+ }
+- else if ( url == TQString::tqfromLatin1("tips.html") )
++ else if ( url == TQString::fromLatin1("tips.html") )
+ {
+ emit browserExtension()->openURLNotify();
+ serve( KonqAboutPageFactory::tips(), "konqueror" );
+ return;
+ }
+
+- else if ( url == TQString::tqfromLatin1("config:/disable_overview") )
++ else if ( url == TQString::fromLatin1("config:/disable_overview") )
+ {
+ if ( KMessageBox::questionYesNo( widget(),
+ i18n("Do you want to disable showing "
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/about/specs.html v3.5.13-sru/konqueror/about/specs.html
+--- /tmp/stable//kdebase/konqueror/about/specs.html 2011-03-12 07:58:17.000000000 +0100
++++ v3.5.13-sru/konqueror/about/specs.html 2012-07-31 17:17:50.000000000 +0200
+@@ -121,7 +121,7 @@
+ <td valign="top"><a href="http://www.openssl.org">%1<!--OpenSSL--></a></td>
+ </tr>
+ <tr bgcolor="#fff4c9">
+- <td valign="top">%1<!--Bidirectional 16bit tqunicode support--></td>
++ <td valign="top">%1<!--Bidirectional 16bit unicode support--></td>
+ <td valign="top">&nbsp;</td>
+ <td valign="top">%1<!--built-in--></td>
+ </tr>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/client/kfmclient.cc v3.5.13-sru/konqueror/client/kfmclient.cc
+--- /tmp/stable//kdebase/konqueror/client/kfmclient.cc 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/client/kfmclient.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -178,33 +178,33 @@
+ */
+ static bool startNewKonqueror( TQString url, TQString mimetype, const TQString& profile )
+ {
+- KConfig cfg( TQString::tqfromLatin1( "konquerorrc" ), true );
++ KConfig cfg( TQString::fromLatin1( "konquerorrc" ), true );
+ cfg.setGroup( "Reusing" );
+ TQStringList allowed_parts;
+ // is duplicated in ../KonquerorIface.cc
+- allowed_parts << TQString::tqfromLatin1( "konq_iconview.desktop" )
+- << TQString::tqfromLatin1( "konq_multicolumnview.desktop" )
+- << TQString::tqfromLatin1( "konq_sidebartng.desktop" )
+- << TQString::tqfromLatin1( "konq_infolistview.desktop" )
+- << TQString::tqfromLatin1( "konq_treeview.desktop" )
+- << TQString::tqfromLatin1( "konq_detailedlistview.desktop" );
++ allowed_parts << TQString::fromLatin1( "konq_iconview.desktop" )
++ << TQString::fromLatin1( "konq_multicolumnview.desktop" )
++ << TQString::fromLatin1( "konq_sidebartng.desktop" )
++ << TQString::fromLatin1( "konq_infolistview.desktop" )
++ << TQString::fromLatin1( "konq_treeview.desktop" )
++ << TQString::fromLatin1( "konq_detailedlistview.desktop" );
+ if( cfg.hasKey( "SafeParts" )
+- && cfg.readEntry( "SafeParts" ) != TQString::tqfromLatin1( "SAFE" ))
++ && cfg.readEntry( "SafeParts" ) != TQString::fromLatin1( "SAFE" ))
+ allowed_parts = cfg.readListEntry( "SafeParts" );
+- if( allowed_parts.count() == 1 && allowed_parts.first() == TQString::tqfromLatin1( "ALL" ))
++ if( allowed_parts.count() == 1 && allowed_parts.first() == TQString::fromLatin1( "ALL" ))
+ return false; // all parts allowed
+ if( url.isEmpty())
+ {
+ if( profile.isEmpty())
+ return true;
+- TQString profilepath = locate( "data", TQString::tqfromLatin1("konqueror/profiles/") + profile );
++ TQString profilepath = locate( "data", TQString::fromLatin1("konqueror/profiles/") + profile );
+ if( profilepath.isEmpty())
+ return true;
+ KConfig cfg( profilepath, true );
+ cfg.setDollarExpansion( true );
+ cfg.setGroup( "Profile" );
+- TQMap< TQString, TQString > entries = cfg.entryMap( TQString::tqfromLatin1( "Profile" ));
+- TQRegExp urlregexp( TQString::tqfromLatin1( "^View[0-9]*_URL$" ));
++ TQMap< TQString, TQString > entries = cfg.entryMap( TQString::fromLatin1( "Profile" ));
++ TQRegExp urlregexp( TQString::fromLatin1( "^View[0-9]*_URL$" ));
+ TQStringList urls;
+ for( TQMap< TQString, TQString >::ConstIterator it = entries.begin();
+ it != entries.end();
+@@ -218,16 +218,16 @@
+ if( urls.count() != 1 )
+ return true;
+ url = urls.first();
+- mimetype = TQString::tqfromLatin1( "" );
++ mimetype = TQString::fromLatin1( "" );
+ }
+ if( mimetype.isEmpty())
+ mimetype = KMimeType::findByURL( KURL( url ) )->name();
+- KTrader::OfferList offers = KTrader::self()->query( mimetype, TQString::tqfromLatin1( "KParts/ReadOnlyPart" ),
++ KTrader::OfferList offers = KTrader::self()->query( mimetype, TQString::fromLatin1( "KParts/ReadOnlyPart" ),
+ TQString::null, TQString::null );
+ KService::Ptr serv;
+ if( offers.count() > 0 )
+ serv = offers.first();
+- return serv == NULL || !allowed_parts.contains( serv->desktopEntryName() + TQString::tqfromLatin1(".desktop") );
++ return serv == NULL || !allowed_parts.contains( serv->desktopEntryName() + TQString::fromLatin1(".desktop") );
+ }
+
+ static int currentScreen()
+@@ -248,7 +248,7 @@
+ // when reusing a preloaded konqy, make sure your always use a DCOP call which opens a profile !
+ static TQCString getPreloadedKonqy()
+ {
+- KConfig cfg( TQString::tqfromLatin1( "konquerorrc" ), true );
++ KConfig cfg( TQString::fromLatin1( "konquerorrc" ), true );
+ cfg.setGroup( "Reusing" );
+ if( cfg.readNumEntry( "MaxPreloadCount", 1 ) == 0 )
+ return "";
+@@ -301,8 +301,8 @@
+ // check if user wants to use external browser
+ // ###### this option seems to have no GUI and to be redundant with BrowserApplication now.
+ // ###### KDE4: remove
+- KConfig config( TQString::tqfromLatin1("kfmclientrc"));
+- config.setGroup( TQString::tqfromLatin1("Settings"));
++ KConfig config( TQString::fromLatin1("kfmclientrc"));
++ config.setGroup( TQString::fromLatin1("Settings"));
+ TQString strBrowser = config.readPathEntry("ExternalBrowser");
+ if (!strBrowser.isEmpty())
+ {
+@@ -314,7 +314,7 @@
+ return true;
+ }
+
+- if (url.protocol().startsWith(TQString::tqfromLatin1("http")))
++ if (url.protocol().startsWith(TQString::fromLatin1("http")))
+ {
+ config.setGroup("General");
+ if (!config.readEntry("BrowserApplication").isEmpty())
+@@ -330,7 +330,7 @@
+ }
+ }
+
+- KConfig cfg( TQString::tqfromLatin1( "konquerorrc" ), true );
++ KConfig cfg( TQString::fromLatin1( "konquerorrc" ), true );
+ cfg.setGroup( "FMSettings" );
+ if ( newTab || cfg.readBoolEntry( "KonquerorTabforExternalURL", false ) )
+ {
+@@ -361,7 +361,7 @@
+ {
+ TQString error;
+ /* Well, we can't pass a mimetype through startServiceByDesktopPath !
+- if ( KApplication::startServiceByDesktopPath( TQString::tqfromLatin1("konqueror.desktop"),
++ if ( KApplication::startServiceByDesktopPath( TQString::fromLatin1("konqueror.desktop"),
+ url.url(), &error ) > 0 )
+ {
+ kdError() << "Couldn't start konqueror from konqueror.desktop: " << error << endl;
+@@ -391,8 +391,8 @@
+ if( appId.isEmpty())
+ {
+ TQString error;
+- if ( KApplication::startServiceByDesktopPath( TQString::tqfromLatin1("konqueror.desktop"),
+- TQString::tqfromLatin1("--silent"), &error, &appId, NULL, startup_id_str ) > 0 )
++ if ( KApplication::startServiceByDesktopPath( TQString::fromLatin1("konqueror.desktop"),
++ TQString::fromLatin1("--silent"), &error, &appId, NULL, startup_id_str ) > 0 )
+ {
+ kdError() << "Couldn't start konqueror from konqueror.desktop: " << error << endl;
+ return false;
+@@ -401,10 +401,10 @@
+ // so when we arrive here, konq is up and running already, and appId contains the identification
+ }
+
+- TQString profile = locate( "data", TQString::tqfromLatin1("konqueror/profiles/") + profileName );
++ TQString profile = locate( "data", TQString::fromLatin1("konqueror/profiles/") + profileName );
+ if ( profile.isEmpty() )
+ {
+- fprintf( stderr, "%s", i18n("Profile %1 not found\n").tqarg(profileName).local8Bit().data() );
++ fprintf( stderr, "%s", i18n("Profile %1 not found\n").arg(profileName).local8Bit().data() );
+ ::exit( 0 );
+ }
+ KonquerorIface_stub konqy( appId, "KonquerorIface" );
+@@ -479,7 +479,7 @@
+ }
+ if ( argc == 3 )
+ {
+- return createNewWindow( args->url(1), command == "newTab", tempFile, TQString::tqfromLatin1(args->arg(2)) );
++ return createNewWindow( args->url(1), command == "newTab", tempFile, TQString::fromLatin1(args->arg(2)) );
+ }
+ }
+ else if ( command == "openProfile" )
+@@ -529,7 +529,7 @@
+ {
+ KURL::List urls;
+ urls.append( args->url(1) );
+- const KTrader::OfferList offers = KTrader::self()->query( TQString::fromLocal8Bit( args->arg( 2 ) ), TQString::tqfromLatin1( "Application" ), TQString::null, TQString::null );
++ const KTrader::OfferList offers = KTrader::self()->query( TQString::fromLocal8Bit( args->arg( 2 ) ), TQString::fromLatin1( "Application" ), TQString::null, TQString::null );
+ if (offers.isEmpty()) return 1;
+ KService::Ptr serv = offers.first();
+ return KRun::run( *serv, urls );
+@@ -630,7 +630,7 @@
+ }
+ else
+ {
+- fprintf( stderr, "%s", i18n("Syntax Error: Unknown command '%1'\n").tqarg(TQString::fromLocal8Bit(command)).local8Bit().data() );
++ fprintf( stderr, "%s", i18n("Syntax Error: Unknown command '%1'\n").arg(TQString::fromLocal8Bit(command)).local8Bit().data() );
+ return false;
+ }
+ return true;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/iconview/konq_iconview.cc v3.5.13-sru/konqueror/iconview/konq_iconview.cc
+--- /tmp/stable//kdebase/konqueror/iconview/konq_iconview.cc 2011-08-11 07:25:51.000000000 +0200
++++ v3.5.13-sru/konqueror/iconview/konq_iconview.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -206,7 +206,7 @@
+
+ setXMLFile( "konq_iconview.rc" );
+
+- // Don't tqrepaint on configuration changes during construction
++ // Don't repaint on configuration changes during construction
+ m_bInit = true;
+
+ m_paDotFiles = new KToggleAction( i18n( "Show &Hidden Files" ), 0, this, TQT_SLOT( slotShowDot() ),
+@@ -359,7 +359,7 @@
+ // Create the directory lister
+ m_dirLister = new KDirLister( true );
+ setDirLister( m_dirLister );
+- m_dirLister->setMainWindow(m_pIconView->tqtopLevelWidget());
++ m_dirLister->setMainWindow(m_pIconView->topLevelWidget());
+
+ connect( m_dirLister, TQT_SIGNAL( started( const KURL & ) ),
+ this, TQT_SLOT( slotStarted() ) );
+@@ -686,7 +686,7 @@
+ // Stop a preview job that might be running
+ m_pIconView->stopImagePreview();
+
+- // Set icons size, arrage items in grid and tqrepaint the whole view
++ // Set icons size, arrage items in grid and repaint the whole view
+ m_pIconView->setIcons( size );
+
+ // If previews are enabled start a new job
+@@ -872,8 +872,8 @@
+ // the completed() signal, so handle that case.
+ if ( !m_pIconView->viewport()->isUpdatesEnabled() )
+ {
+- m_pIconView->viewport()->tqsetUpdatesEnabled( true );
+- m_pIconView->viewport()->tqrepaint();
++ m_pIconView->viewport()->setUpdatesEnabled( true );
++ m_pIconView->viewport()->repaint();
+ }
+ if ( m_pEnsureVisible ){
+ m_pIconView->ensureItemVisible( m_pEnsureVisible );
+@@ -889,11 +889,11 @@
+ m_pTimeoutRefreshTimer->stop();
+
+ // If updates to the viewport are still blocked (so slotNewItems() has
+- // not been called), a viewport tqrepaint is forced.
++ // not been called), a viewport repaint is forced.
+ if ( !m_pIconView->viewport()->isUpdatesEnabled() )
+ {
+- m_pIconView->viewport()->tqsetUpdatesEnabled( true );
+- m_pIconView->viewport()->tqrepaint();
++ m_pIconView->viewport()->setUpdatesEnabled( true );
++ m_pIconView->viewport()->repaint();
+ }
+
+ // Root item ? Store root item in konqiconviewwidget (whether 0L or not)
+@@ -952,7 +952,7 @@
+ // We need to disable graphics updates on the iconview when
+ // inserting items, or else a blank paint operation will be
+ // performed on the top-left corner for each inserted item!
+- m_pIconView->tqsetUpdatesEnabled( false );
++ m_pIconView->setUpdatesEnabled( false );
+ for (KFileItemListIterator it(entries); it.current(); ++it)
+ {
+ //kdDebug(1202) << "KonqKfmIconView::slotNewItem(...)" << _fileitem->url().url() << endl;
+@@ -1006,11 +1006,11 @@
+ m_itemDict.insert( *it, item );
+ }
+ // After filtering out updates-on-insertions we can re-enable updates
+- m_pIconView->tqsetUpdatesEnabled( true );
++ m_pIconView->setUpdatesEnabled( true );
+ // Locking the viewport has filtered out blanking and now, since we
+ // have some items to draw, we can restore updating.
+ if ( !m_pIconView->viewport()->isUpdatesEnabled() )
+- m_pIconView->viewport()->tqsetUpdatesEnabled( true );
++ m_pIconView->viewport()->setUpdatesEnabled( true );
+ KonqDirPart::newItems( entries );
+ }
+
+@@ -1136,7 +1136,7 @@
+ }
+ else
+ {
+- // In case we replace a big icon with a small one, need to tqrepaint.
++ // In case we replace a big icon with a small one, need to repaint.
+ if ( bNeedRepaint )
+ m_pIconView->updateContents();
+ }
+@@ -1150,7 +1150,7 @@
+ // meaningless paint operations (such as a clear() just before drawing
+ // fresh contents) we disable updating the viewport until we'll
+ // receive some data or a timeout timer expires.
+- m_pIconView->viewport()->tqsetUpdatesEnabled( false );
++ m_pIconView->viewport()->setUpdatesEnabled( false );
+ if ( !m_pTimeoutRefreshTimer )
+ {
+ m_pTimeoutRefreshTimer = new TQTimer( this );
+@@ -1247,9 +1247,9 @@
+ kdDebug(1202) << "KonqKfmIconView::slotRefreshViewport()" << endl;
+ TQWidget * vp = m_pIconView->viewport();
+ bool prevState = vp->isUpdatesEnabled();
+- vp->tqsetUpdatesEnabled( true );
+- vp->tqrepaint();
+- vp->tqsetUpdatesEnabled( prevState );
++ vp->setUpdatesEnabled( true );
++ vp->repaint();
++ vp->setUpdatesEnabled( prevState );
+ }
+
+ bool KonqKfmIconView::doOpenURL( const KURL & url )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/keditbookmarks/actionsimpl.cpp v3.5.13-sru/konqueror/keditbookmarks/actionsimpl.cpp
+--- /tmp/stable//kdebase/konqueror/keditbookmarks/actionsimpl.cpp 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/keditbookmarks/actionsimpl.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -345,7 +345,7 @@
+ TQValueList<KBookmark> bookmarks
+ = ListView::self()->itemsToBookmarks(ListView::self()->selectedItemsMap());
+ KBookmarkDrag* data = KBookmarkDrag::newDrag(bookmarks, 0 /* not this ! */);
+- kapp->tqclipboard()->setData(data, TQClipboard::Clipboard);
++ kapp->clipboard()->setData(data, TQClipboard::Clipboard);
+ }
+
+ void ActionsImpl::slotPaste() {
+@@ -353,7 +353,7 @@
+ KEBMacroCommand *mcmd =
+ CmdGen::insertMimeSource(
+ i18n("Paste"),
+- kapp->tqclipboard()->data(TQClipboard::Clipboard),
++ kapp->clipboard()->data(TQClipboard::Clipboard),
+ ListView::self()->userAddress());
+ CmdHistory::self()->didCommand(mcmd);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/keditbookmarks/commands.cpp v3.5.13-sru/konqueror/keditbookmarks/commands.cpp
+--- /tmp/stable//kdebase/konqueror/keditbookmarks/commands.cpp 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/keditbookmarks/commands.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -218,7 +218,7 @@
+ KBookmark bk = CurrentMgr::bookmarkAt(m_to);
+ Q_ASSERT(!bk.isNull() && !bk.parentGroup().isNull());
+
+- ListView::self()->tqinvalidate(bk.address());
++ ListView::self()->invalidate(bk.address());
+
+ bk.parentGroup().deleteBookmark(bk);
+ }
+@@ -643,13 +643,13 @@
+ bool modified = false;
+ const char *format = 0;
+ for (int i = 0; format = data->format(i), format; i++) {
+- // qt docs don't say if tqencodedData(blah) where
++ // qt docs don't say if encodedData(blah) where
+ // blah is not a stored mimetype should return null
+ // or not. so, we search. sucky...
+ if (strcmp(format, "GALEON_BOOKMARK") == 0) {
+ modified = true;
+ TQStoredDrag *mydrag = new TQStoredDrag("application/x-xbel");
+- mydrag->setEncodedData(data->tqencodedData("GALEON_BOOKMARK"));
++ mydrag->setEncodedData(data->encodedData("GALEON_BOOKMARK"));
+ data = mydrag;
+ break;
+ } else if( strcmp(format, "application/x-xbel" )==0) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/keditbookmarks/listview.cpp v3.5.13-sru/konqueror/keditbookmarks/listview.cpp
+--- /tmp/stable//kdebase/konqueror/keditbookmarks/listview.cpp 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/keditbookmarks/listview.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -158,12 +158,12 @@
+ return bookmarks;
+ }
+
+-void ListView::tqinvalidate(const TQString & address)
++void ListView::invalidate(const TQString & address)
+ {
+- tqinvalidate(getItemAtAddress(address));
++ invalidate(getItemAtAddress(address));
+ }
+
+-void ListView::tqinvalidate(TQListViewItem * item)
++void ListView::invalidate(TQListViewItem * item)
+ {
+ if(item->isSelected())
+ {
+@@ -181,7 +181,7 @@
+ TQListViewItem * child = item->firstChild();
+ while(child)
+ {
+- //tqinvalidate(child);
++ //invalidate(child);
+ child = child->nextSibling();
+ }
+ }
+@@ -277,7 +277,7 @@
+ else
+ deselectAllChildren(child);
+ }
+- child->tqrepaint();
++ child->repaint();
+ child = static_cast<KEBListViewItem *>(child->nextSibling());
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/keditbookmarks/listview.h v3.5.13-sru/konqueror/keditbookmarks/listview.h
+--- /tmp/stable//kdebase/konqueror/keditbookmarks/listview.h 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/keditbookmarks/listview.h 2012-07-31 17:17:50.000000000 +0200
+@@ -56,7 +56,7 @@
+ void setTmpStatus(const TQString &);
+ void restoreStatus();
+
+- void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment);
++ void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment);
+ void setSelected ( bool s );
+
+ virtual void setOpen(bool);
+@@ -140,8 +140,8 @@
+ // selected item stuff
+ void selected(KEBListViewItem * item, bool s);
+
+- void tqinvalidate(const TQString & address);
+- void tqinvalidate(TQListViewItem * item);
++ void invalidate(const TQString & address);
++ void invalidate(TQListViewItem * item);
+ void fixUpCurrent(const TQString & address);
+
+ KEBListViewItem * firstSelected() const;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/keditbookmarks/main.cpp v3.5.13-sru/konqueror/keditbookmarks/main.cpp
+--- /tmp/stable//kdebase/konqueror/keditbookmarks/main.cpp 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/keditbookmarks/main.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -139,8 +139,8 @@
+ bool gotArg = (args->count() == 1);
+
+ TQString filename = gotArg
+- ? TQString::tqfromLatin1(args->arg(0))
+- : locateLocal("data", TQString::tqfromLatin1("konqueror/bookmarks.xml"));
++ ? TQString::fromLatin1(args->arg(0))
++ : locateLocal("data", TQString::fromLatin1("konqueror/bookmarks.xml"));
+
+ if (!isGui) {
+ CurrentMgr::self()->createManager(filename);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/keditbookmarks/toplevel.cpp v3.5.13-sru/konqueror/keditbookmarks/toplevel.cpp
+--- /tmp/stable//kdebase/konqueror/keditbookmarks/toplevel.cpp 2011-07-09 08:16:57.000000000 +0200
++++ v3.5.13-sru/konqueror/keditbookmarks/toplevel.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -184,7 +184,7 @@
+ {
+ TQDateTime dt;
+ dt.setTime_t(b);
+- return (dt.daysTo(TQDateTime::tqcurrentDateTime()) > 31)
++ return (dt.daysTo(TQDateTime::currentDateTime()) > 31)
+ ? KGlobal::locale()->formatDate(TQT_TQDATE_OBJECT(dt.date()), false)
+ : KGlobal::locale()->formatDateTime(dt, false);
+ }
+@@ -233,11 +233,11 @@
+
+ vsplitter->setOrientation(Qt::Vertical);
+ vsplitter->setSizes(TQValueList<int>() << h << 380
+- << m_bkinfo->tqsizeHint().height() );
++ << m_bkinfo->sizeHint().height() );
+
+ setCentralWidget(vsplitter);
+- resize(ListView::self()->widget()->tqsizeHint().width(),
+- vsplitter->tqsizeHint().height());
++ resize(ListView::self()->widget()->sizeHint().width(),
++ vsplitter->sizeHint().height());
+
+ createActions();
+ if (m_browser)
+@@ -247,7 +247,7 @@
+
+ m_dcopIface = new KBookmarkEditorIface();
+
+- connect(kapp->tqclipboard(), TQT_SIGNAL( dataChanged() ),
++ connect(kapp->clipboard(), TQT_SIGNAL( dataChanged() ),
+ TQT_SLOT( slotClipboardDataChanged() ));
+
+ ListView::self()->connectSignals();
+@@ -319,7 +319,7 @@
+ // kdDebug() << "KEBApp::slotClipboardDataChanged" << endl;
+ if (!m_readOnly) {
+ m_canPaste = KBookmarkDrag::canDecode(
+- kapp->tqclipboard()->data(TQClipboard::Clipboard));
++ kapp->clipboard()->data(TQClipboard::Clipboard));
+ updateActions();
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_actions.cc v3.5.13-sru/konqueror/konq_actions.cc
+--- /tmp/stable//kdebase/konqueror/konq_actions.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_actions.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -48,12 +48,12 @@
+ {
+ assert ( popup ); // kill me if this 0... :/
+
+- //kdDebug(1202) << "fillHistoryPopup position: " << history.tqat() << endl;
++ //kdDebug(1202) << "fillHistoryPopup position: " << history.at() << endl;
+ HistoryEntry * current = history.current();
+ TQPtrListIterator<HistoryEntry> it( history );
+ if (onlyBack || onlyForward)
+ {
+- it += history.tqat(); // Jump to current item
++ it += history.at(); // Jump to current item
+ if ( !onlyForward ) --it; else ++it; // And move off it
+ } else if ( startPos )
+ it += startPos; // Jump to specified start pos
+@@ -75,7 +75,7 @@
+ break;
+ if ( !onlyForward ) --it; else ++it;
+ }
+- //kdDebug(1202) << "After fillHistoryPopup position: " << history.tqat() << endl;
++ //kdDebug(1202) << "After fillHistoryPopup position: " << history.at() << endl;
+ }
+
+ ///////////////////////////////
+@@ -116,7 +116,7 @@
+ if (history.isEmpty())
+ return; // nothing to do
+
+- //kdDebug(1202) << "fillGoMenu position: " << history.tqat() << endl;
++ //kdDebug(1202) << "fillGoMenu position: " << history.at() << endl;
+ if ( m_firstIndex == 0 ) // should never happen since done in plug
+ m_firstIndex = m_goMenu->count();
+ else
+@@ -136,10 +136,10 @@
+ // Second case: big history, in one or both directions
+ {
+ // Assume both directions first (in this case we place the current URL in the middle)
+- m_startPos = history.tqat() + 4;
++ m_startPos = history.at() + 4;
+
+ // Forward not big enough ?
+- if ( history.tqat() > (int)history.count() - 4 )
++ if ( history.at() > (int)history.count() - 4 )
+ m_startPos = history.count() - 1;
+ }
+ Q_ASSERT( m_startPos >= 0 && (uint)m_startPos < history.count() );
+@@ -148,7 +148,7 @@
+ kdWarning() << "m_startPos=" << m_startPos << " history.count()=" << history.count() << endl;
+ return;
+ }
+- m_currentPos = history.tqat(); // for slotActivated
++ m_currentPos = history.at(); // for slotActivated
+ KonqBidiHistoryAction::fillHistoryPopup( history, m_goMenu, false, false, true, m_startPos );
+ }
+
+@@ -444,7 +444,7 @@
+ m_popupList.clear();
+
+ int id = s_mostEntries->count() -1;
+- KonqHistoryEntry *entry = s_mostEntries->tqat( id );
++ KonqHistoryEntry *entry = s_mostEntries->at( id );
+ while ( entry ) {
+ // we take either title, typedURL or URL (in this order)
+ TQString text = entry->title.isEmpty() ? (entry->typedURL.isEmpty() ?
+@@ -459,7 +459,7 @@
+ // This prevents crashes when another process tells us to remove an entry.
+ m_popupList.prepend( entry->url );
+
+- entry = (id > 0) ? s_mostEntries->tqat( --id ) : 0L;
++ entry = (id > 0) ? s_mostEntries->at( --id ) : 0L;
+ }
+ setEnabled( !s_mostEntries->isEmpty() );
+ Q_ASSERT( s_mostEntries->count() == m_popupList.count() );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_actions.h v3.5.13-sru/konqueror/konq_actions.h
+--- /tmp/stable//kdebase/konqueror/konq_actions.h 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/konq_actions.h 2012-07-31 17:17:50.000000000 +0200
+@@ -62,7 +62,7 @@
+ private:
+ uint m_firstIndex; // first index in the Go menu
+ int m_startPos;
+- int m_currentPos; // == history.tqat()
++ int m_currentPos; // == history.at()
+ TQPopupMenu *m_goMenu; // hack
+ };
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_combo.cc v3.5.13-sru/konqueror/konq_combo.cc
+--- /tmp/stable//kdebase/konqueror/konq_combo.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_combo.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -99,7 +99,7 @@
+ m_pageSecurity( KonqMainWindow::NotCrypted )
+ {
+ setInsertionPolicy( NoInsertion );
+- tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
++ setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
+
+ Q_ASSERT( s_config );
+
+@@ -272,14 +272,14 @@
+ listBox()->changeItem( item, index );
+
+ /*
+- tqsetUpdatesEnabled( false );
+- lineEdit()->tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
++ lineEdit()->setUpdatesEnabled( false );
+
+ removeItem( index );
+ insertItem( pix, t, index );
+
+- tqsetUpdatesEnabled( true );
+- lineEdit()->tqsetUpdatesEnabled( true );
++ setUpdatesEnabled( true );
++ lineEdit()->setUpdatesEnabled( true );
+ update();
+ */
+ }
+@@ -301,13 +301,13 @@
+ {
+ saveState();
+
+- tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+ KonqPixmapProvider *prov = KonqPixmapProvider::self();
+ for ( int i = 1; i < count(); i++ ) {
+ updateItem( prov->pixmapFor( text( i ) ), text( i ), i, titleOfURL( text( i ) ) );
+ }
+- tqsetUpdatesEnabled( true );
+- tqrepaint();
++ setUpdatesEnabled( true );
++ repaint();
+
+ restoreState();
+ }
+@@ -521,15 +521,15 @@
+
+ void KonqCombo::removeURL( const TQString& url )
+ {
+- tqsetUpdatesEnabled( false );
+- lineEdit()->tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
++ lineEdit()->setUpdatesEnabled( false );
+
+ removeFromHistory( url );
+ applyPermanent();
+ setTemporary( currentText() );
+
+- tqsetUpdatesEnabled( true );
+- lineEdit()->tqsetUpdatesEnabled( true );
++ setUpdatesEnabled( true );
++ lineEdit()->setUpdatesEnabled( true );
+ update();
+ }
+
+@@ -540,7 +540,7 @@
+ if ( e->button() == Qt::LeftButton && pixmap( currentItem()) ) {
+ // check if the pixmap was clicked
+ int x = e->pos().x();
+- int x0 = TQStyle::tqvisualRect( tqstyle().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQStyle::SC_ComboBoxEditField ), this ).x();
++ int x0 = TQStyle::visualRect( style().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQStyle::SC_ComboBoxEditField ), this ).x();
+
+ if ( x > x0 + 2 && x < lineEdit()->x() ) {
+ m_dragStart = e->pos();
+@@ -551,7 +551,7 @@
+ if ( e->button() == Qt::LeftButton && m_pageSecurity!=KonqMainWindow::NotCrypted ) {
+ // check if the lock icon was clicked
+ int x = e->pos().x();
+- int x0 = TQStyle::tqvisualRect( tqstyle().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQStyle::SC_ComboBoxArrow ), this ).x();
++ int x0 = TQStyle::visualRect( style().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQStyle::SC_ComboBoxArrow ), this ).x();
+ if ( x < x0 )
+ emit showPageSecurity();
+
+@@ -604,8 +604,8 @@
+ TQComboBox::paintEvent( pe );
+
+ TQLineEdit *edit = lineEdit();
+- TQRect re = tqstyle().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQStyle::SC_ComboBoxEditField );
+- re = TQStyle::tqvisualRect(re, this);
++ TQRect re = style().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQStyle::SC_ComboBoxEditField );
++ re = TQStyle::visualRect(re, this);
+
+ if ( m_pageSecurity!=KonqMainWindow::NotCrypted ) {
+ TQColor color(245, 246, 190);
+@@ -646,7 +646,7 @@
+ void KonqCombo::setPageSecurity( int pageSecurity )
+ {
+ m_pageSecurity = pageSecurity;
+- tqrepaint();
++ repaint();
+ }
+
+ bool KonqCombo::hasSufficientContrast(const TQColor &c1, const TQColor &c2)
+@@ -723,8 +723,8 @@
+ pmWidth = pm->width() + 5;
+ }
+
+- int entryWidth = listBox()->width() - listBox()->tqstyle().tqpixelMetric( TQStyle::PM_ScrollBarExtent ) -
+- 2 * listBox()->tqstyle().tqpixelMetric( TQStyle::PM_DefaultFrameWidth );
++ int entryWidth = listBox()->width() - listBox()->style().pixelMetric( TQStyle::PM_ScrollBarExtent ) -
++ 2 * listBox()->style().pixelMetric( TQStyle::PM_DefaultFrameWidth );
+ int titleWidth = ( entryWidth / 3 ) - 1;
+ int urlWidth = entryWidth - titleWidth - pmWidth - 2;
+
+@@ -850,7 +850,7 @@
+ insertStringList( items );
+ else {
+ //Keep track of whether we need to change anything,
+- //so we can avoid a tqrepaint for identical updates,
++ //so we can avoid a repaint for identical updates,
+ //to reduce flicker
+ bool dirty = false;
+
+@@ -884,7 +884,7 @@
+ triggerUpdate( false );
+ }
+
+- if ( isVisible() && size().height() != tqsizeHint().height() )
++ if ( isVisible() && size().height() != sizeHint().height() )
+ sizeAndPosition();
+
+ blockSignals( block );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_factory.cc v3.5.13-sru/konqueror/konq_factory.cc
+--- /tmp/stable//kdebase/konqueror/konq_factory.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_factory.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -42,7 +42,7 @@
+ : m_factory( factory ), m_args( args ), m_createBrowser( createBrowser )
+ {
+ if ( m_createBrowser )
+- m_args << TQString::tqfromLatin1( "Browser/View" );
++ m_args << TQString::fromLatin1( "Browser/View" );
+ }
+
+ KParts::ReadOnlyPart *KonqViewFactory::create( TQWidget *parentWidget, const char *widgetName,
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_frame.cc v3.5.13-sru/konqueror/konq_frame.cc
+--- /tmp/stable//kdebase/konqueror/konq_frame.cc 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/konq_frame.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -68,20 +68,20 @@
+ setSizeGripEnabled( false );
+
+ m_led = new TQLabel( this );
+- m_led->tqsetAlignment( Qt::AlignCenter );
+- m_led->tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ));
++ m_led->setAlignment( Qt::AlignCenter );
++ m_led->setSizePolicy(TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ));
+ addWidget( m_led, 0, false ); // led (active view indicator)
+ m_led->hide();
+
+ m_pStatusLabel = new KSqueezedTextLabel( this );
+ m_pStatusLabel->setMinimumSize( 0, 0 );
+- m_pStatusLabel->tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Fixed ));
++ m_pStatusLabel->setSizePolicy(TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Fixed ));
+ m_pStatusLabel->installEventFilter(this);
+ addWidget( m_pStatusLabel, 1 /*stretch*/, false ); // status label
+
+ m_pLinkedViewCheckBox = new KonqCheckBox( this, "m_pLinkedViewCheckBox" );
+ m_pLinkedViewCheckBox->setFocusPolicy(TQ_NoFocus);
+- m_pLinkedViewCheckBox->tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ));
++ m_pLinkedViewCheckBox->setSizePolicy(TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ));
+ TQWhatsThis::add( m_pLinkedViewCheckBox,
+ i18n("Checking this box on at least two views sets those views as 'linked'. "
+ "Then, when you change directories in one view, the other views "
+@@ -274,7 +274,7 @@
+
+ bool hasFocus = m_pParentKonqFrame->isActivePart();
+
+- const TQColorGroup& activeCg = kapp->tqpalette().active();
++ const TQColorGroup& activeCg = kapp->palette().active();
+ setPaletteBackgroundColor( hasFocus ? activeCg.midlight() : activeCg.mid() );
+
+ static TQPixmap indicator_viewactive( UserIcon( "indicator_viewactive" ) );
+@@ -301,7 +301,7 @@
+
+ // the frame statusbar
+ m_pStatusBar = new KonqFrameStatusBar( this, "KonquerorFrameStatusBar");
+- m_pStatusBar->tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
++ m_pStatusBar->setSizePolicy(TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
+ connect(m_pStatusBar, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotStatusBarClicked()));
+ connect( m_pStatusBar, TQT_SIGNAL( linkedViewClicked( bool ) ), this, TQT_SLOT( slotLinkedViewClicked( bool ) ) );
+ m_separator = 0;
+@@ -327,16 +327,16 @@
+ void KonqFrame::saveConfig( KConfig* config, const TQString &prefix, bool saveURLs, KonqFrameBase* docContainer, int /*id*/, int /*depth*/ )
+ {
+ if (saveURLs)
+- config->writePathEntry( TQString::tqfromLatin1( "URL" ).prepend( prefix ),
++ config->writePathEntry( TQString::fromLatin1( "URL" ).prepend( prefix ),
+ childView()->url().url() );
+- config->writeEntry( TQString::tqfromLatin1( "ServiceType" ).prepend( prefix ), childView()->serviceType() );
+- config->writeEntry( TQString::tqfromLatin1( "ServiceName" ).prepend( prefix ), childView()->service()->desktopEntryName() );
+- config->writeEntry( TQString::tqfromLatin1( "PassiveMode" ).prepend( prefix ), childView()->isPassiveMode() );
+- config->writeEntry( TQString::tqfromLatin1( "LinkedView" ).prepend( prefix ), childView()->isLinkedView() );
+- config->writeEntry( TQString::tqfromLatin1( "ToggleView" ).prepend( prefix ), childView()->isToggleView() );
+- config->writeEntry( TQString::tqfromLatin1( "LockedLocation" ).prepend( prefix ), childView()->isLockedLocation() );
+- //config->writeEntry( TQString::tqfromLatin1( "ShowStatusBar" ).prepend( prefix ), statusbar()->isVisible() );
+- if (this == docContainer) config->writeEntry( TQString::tqfromLatin1( "docContainer" ).prepend( prefix ), true );
++ config->writeEntry( TQString::fromLatin1( "ServiceType" ).prepend( prefix ), childView()->serviceType() );
++ config->writeEntry( TQString::fromLatin1( "ServiceName" ).prepend( prefix ), childView()->service()->desktopEntryName() );
++ config->writeEntry( TQString::fromLatin1( "PassiveMode" ).prepend( prefix ), childView()->isPassiveMode() );
++ config->writeEntry( TQString::fromLatin1( "LinkedView" ).prepend( prefix ), childView()->isLinkedView() );
++ config->writeEntry( TQString::fromLatin1( "ToggleView" ).prepend( prefix ), childView()->isToggleView() );
++ config->writeEntry( TQString::fromLatin1( "LockedLocation" ).prepend( prefix ), childView()->isLockedLocation() );
++ //config->writeEntry( TQString::fromLatin1( "ShowStatusBar" ).prepend( prefix ), statusbar()->isVisible() );
++ if (this == docContainer) config->writeEntry( TQString::fromLatin1( "docContainer" ).prepend( prefix ), true );
+
+ KonqConfigEvent ev( config, prefix+"_", true/*save*/);
+ TQApplication::sendEvent( childView()->part(), &ev );
+@@ -352,8 +352,8 @@
+ {
+ TQString className = "NoPart";
+ if (part()) className = part()->widget()->className();
+- kdDebug(1202) << spaces << "KonqFrame " << this << " visible=" << TQString("%1").tqarg(isVisible()) << " containing view "
+- << childView() << " visible=" << TQString("%1").tqarg(isVisible())
++ kdDebug(1202) << spaces << "KonqFrame " << this << " visible=" << TQString("%1").arg(isVisible()) << " containing view "
++ << childView() << " visible=" << TQString("%1").arg(isVisible())
+ << " and part " << part() << " whose widget is a " << className << endl;
+ }
+
+@@ -463,7 +463,7 @@
+ #ifdef USE_QT4
+ #warning [INFO] Repaint call disabled in Qt4 to prevent recursive repaint (which otherwise occurs for unknown reasons)
+ #else // USE_QT4
+- m_pStatusBar->tqrepaint();
++ m_pStatusBar->repaint();
+ #endif // USE_QT4
+ }
+
+@@ -521,40 +521,40 @@
+ int idSecond = id + (int)pow( 2.0, depth );
+
+ //write children sizes
+- config->writeEntry( TQString::tqfromLatin1( "SplitterSizes" ).prepend( prefix ), sizes() );
++ config->writeEntry( TQString::fromLatin1( "SplitterSizes" ).prepend( prefix ), sizes() );
+
+ //write children
+ TQStringList strlst;
+ if( firstChild() )
+- strlst.append( TQString::tqfromLatin1( firstChild()->frameType() ) + TQString::number(idSecond - 1) );
++ strlst.append( TQString::fromLatin1( firstChild()->frameType() ) + TQString::number(idSecond - 1) );
+ if( secondChild() )
+- strlst.append( TQString::tqfromLatin1( secondChild()->frameType() ) + TQString::number( idSecond ) );
++ strlst.append( TQString::fromLatin1( secondChild()->frameType() ) + TQString::number( idSecond ) );
+
+- config->writeEntry( TQString::tqfromLatin1( "Children" ).prepend( prefix ), strlst );
++ config->writeEntry( TQString::fromLatin1( "Children" ).prepend( prefix ), strlst );
+
+ //write orientation
+ TQString o;
+ if( orientation() == Qt::Horizontal )
+- o = TQString::tqfromLatin1("Horizontal");
++ o = TQString::fromLatin1("Horizontal");
+ else if( orientation() == Qt::Vertical )
+- o = TQString::tqfromLatin1("Vertical");
+- config->writeEntry( TQString::tqfromLatin1( "Orientation" ).prepend( prefix ), o );
++ o = TQString::fromLatin1("Vertical");
++ config->writeEntry( TQString::fromLatin1( "Orientation" ).prepend( prefix ), o );
+
+ //write docContainer
+- if (this == docContainer) config->writeEntry( TQString::tqfromLatin1( "docContainer" ).prepend( prefix ), true );
++ if (this == docContainer) config->writeEntry( TQString::fromLatin1( "docContainer" ).prepend( prefix ), true );
+
+- if (m_pSecondChild == m_pActiveChild) config->writeEntry( TQString::tqfromLatin1( "activeChildIndex" ).prepend( prefix ), 1 );
+- else config->writeEntry( TQString::tqfromLatin1( "activeChildIndex" ).prepend( prefix ), 0 );
++ if (m_pSecondChild == m_pActiveChild) config->writeEntry( TQString::fromLatin1( "activeChildIndex" ).prepend( prefix ), 1 );
++ else config->writeEntry( TQString::fromLatin1( "activeChildIndex" ).prepend( prefix ), 0 );
+
+ //write child configs
+ if( firstChild() ) {
+- TQString newPrefix = TQString::tqfromLatin1( firstChild()->frameType() ) + TQString::number(idSecond - 1);
++ TQString newPrefix = TQString::fromLatin1( firstChild()->frameType() ) + TQString::number(idSecond - 1);
+ newPrefix.append( '_' );
+ firstChild()->saveConfig( config, newPrefix, saveURLs, docContainer, id, depth + 1 );
+ }
+
+ if( secondChild() ) {
+- TQString newPrefix = TQString::tqfromLatin1( secondChild()->frameType() ) + TQString::number( idSecond );
++ TQString newPrefix = TQString::fromLatin1( secondChild()->frameType() ) + TQString::number( idSecond );
+ newPrefix.append( '_' );
+ secondChild()->saveConfig( config, newPrefix, saveURLs, docContainer, idSecond, depth + 1 );
+ }
+@@ -580,7 +580,7 @@
+
+ void KonqFrameContainer::printFrameInfo( const TQString& spaces )
+ {
+- kdDebug(1202) << spaces << "KonqFrameContainer " << this << " visible=" << TQString("%1").tqarg(isVisible())
++ kdDebug(1202) << spaces << "KonqFrameContainer " << this << " visible=" << TQString("%1").arg(isVisible())
+ << " activeChild=" << m_pActiveChild << endl;
+ if (!m_pActiveChild)
+ kdDebug(1202) << "WARNING: " << this << " has a null active child!" << endl;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_guiclients.cc v3.5.13-sru/konqueror/konq_guiclients.cc
+--- /tmp/stable//kdebase/konqueror/konq_guiclients.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_guiclients.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -104,8 +104,8 @@
+ openInSameWindow.setAttribute( "name", "sameview" );
+ openInSameWindow.setAttribute( "group", "tabhandling" );
+ menu.appendChild( openInSameWindow );
+-
+- TQDomElement openInWindow = m_doc.createElement( "action" );
++
++ TQDomElement openInWindow = m_doc.createElement( "action" );
+ openInWindow.setAttribute( "name", "newview" );
+ openInWindow.setAttribute( "group", "tabhandling" );
+ menu.appendChild( openInWindow );
+@@ -115,6 +115,11 @@
+ openInTabElement.setAttribute( "group", "tabhandling" );
+ menu.appendChild( openInTabElement );
+
++ TQDomElement openInTabFrontElement = m_doc.createElement( "action" );
++ openInTabFrontElement.setAttribute( "name", "openintabfront" );
++ openInTabFrontElement.setAttribute( "group", "tabhandling" );
++ menu.appendChild( openInTabFrontElement );
++
+ TQDomElement separatorElement = m_doc.createElement( "separator" );
+ separatorElement.setAttribute( "group", "tabhandling" );
+ menu.appendChild( separatorElement );
+@@ -191,7 +196,7 @@
+ TQString name = (*cIt)->desktopEntryName();
+ //kdDebug(1202) << "ToggleViewGUIClient: name=" << name << endl;
+ KToggleAction *action = new KToggleAction( description, 0, mainWindow->actionCollection(), name.latin1() );
+- action->setCheckedState( i18n( "Hide %1" ).tqarg( (*cIt)->name() ) );
++ action->setCheckedState( i18n( "Hide %1" ).arg( (*cIt)->name() ) );
+
+ // HACK
+ if ( (*cIt)->icon() != "unknown" )
+@@ -230,7 +235,7 @@
+
+ void ToggleViewGUIClient::slotToggleView( bool toggle )
+ {
+- TQString serviceName = TQString::tqfromLatin1( TQT_TQOBJECT_CONST(sender())->name() );
++ TQString serviceName = TQString::fromLatin1( TQT_TQOBJECT_CONST(sender())->name() );
+
+ bool horizontal = m_mapOrientation[ serviceName ];
+
+@@ -240,7 +245,7 @@
+ {
+
+ KonqView *childView = viewManager->splitWindow( horizontal ? Qt::Vertical : Qt::Horizontal,
+- TQString::tqfromLatin1( "Browser/View" ),
++ TQString::fromLatin1( "Browser/View" ),
+ serviceName,
+ !horizontal /* vertical = make it first */);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_main.cc v3.5.13-sru/konqueror/konq_main.cc
+--- /tmp/stable//kdebase/konqueror/konq_main.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_main.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -76,7 +76,7 @@
+ while ( KonqMainWindow::canBeRestored( n ) )
+ {
+ TQString className = KMainWindow::classNameOfToplevel( n );
+- if( className == TQString::tqfromLatin1( "KonqMainWindow" ))
++ if( className == TQString::fromLatin1( "KonqMainWindow" ))
+ (new KonqMainWindow( KURL(), false ) )->restore( n );
+ else
+ kdWarning() << "Unknown class " << className << " in session saved data!" << endl;
+@@ -104,7 +104,7 @@
+ TQString profile = TQString::fromLocal8Bit(args->getOption("profile"));
+ TQString profilePath = profile;
+ if (profile[0] != '/')
+- profilePath = locate( "data", TQString::tqfromLatin1("konqueror/profiles/")+profile );
++ profilePath = locate( "data", TQString::fromLatin1("konqueror/profiles/")+profile );
+ TQString url;
+ TQStringList filesToSelect;
+ if (args->count() == 1)
+@@ -150,7 +150,7 @@
+ {
+ // By default try to open in webbrowser mode. People can use "konqueror ." to get a filemanager.
+ TQString profile = "webbrowsing";
+- TQString profilePath = locate( "data", TQString::tqfromLatin1("konqueror/profiles/")+profile );
++ TQString profilePath = locate( "data", TQString::fromLatin1("konqueror/profiles/")+profile );
+ if ( !profilePath.isEmpty() ) {
+ KonqMisc::createBrowserWindowFromProfile( profilePath, profile );
+ } else {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_mainwindow.cc v3.5.13-sru/konqueror/konq_mainwindow.cc
+--- /tmp/stable//kdebase/konqueror/konq_mainwindow.cc 2011-08-20 09:14:06.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_mainwindow.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -235,7 +235,7 @@
+ connect(toolBarMenuAction(),TQT_SIGNAL(activated()),this,TQT_SLOT(slotForceSaveMainWindowSettings()) );
+
+ if ( !m_toggleViewGUIClient->empty() )
+- plugActionList( TQString::tqfromLatin1( "toggleview" ), m_toggleViewGUIClient->actions() );
++ plugActionList( TQString::fromLatin1( "toggleview" ), m_toggleViewGUIClient->actions() );
+ else
+ {
+ delete m_toggleViewGUIClient;
+@@ -342,8 +342,8 @@
+
+ TQWidget * KonqMainWindow::createContainer( TQWidget *parent, int index, const TQDomElement &element, int &id )
+ {
+- static TQString nameBookmarkBar = TQString::tqfromLatin1( "bookmarkToolBar" );
+- static TQString tagToolBar = TQString::tqfromLatin1( "ToolBar" );
++ static TQString nameBookmarkBar = TQString::fromLatin1( "bookmarkToolBar" );
++ static TQString tagToolBar = TQString::fromLatin1( "ToolBar" );
+
+ TQWidget *res = KParts::MainWindow::createContainer( parent, index, element, id );
+
+@@ -393,8 +393,8 @@
+
+ void KonqMainWindow::removeContainer( TQWidget *container, TQWidget *parent, TQDomElement &element, int id )
+ {
+- static TQString nameBookmarkBar = TQString::tqfromLatin1( "bookmarkToolBar" );
+- static TQString tagToolBar = TQString::tqfromLatin1( "ToolBar" );
++ static TQString nameBookmarkBar = TQString::fromLatin1( "bookmarkToolBar" );
++ static TQString tagToolBar = TQString::fromLatin1( "ToolBar" );
+
+ if ( element.tagName() == tagToolBar && element.attribute( "name" ) == nameBookmarkBar )
+ {
+@@ -966,10 +966,10 @@
+
+ if ( !frameName.isEmpty() )
+ {
+- static TQString _top = TQString::tqfromLatin1( "_top" );
+- static TQString _self = TQString::tqfromLatin1( "_self" );
+- static TQString _parent = TQString::tqfromLatin1( "_parent" );
+- static TQString _blank = TQString::tqfromLatin1( "_blank" );
++ static TQString _top = TQString::fromLatin1( "_top" );
++ static TQString _self = TQString::fromLatin1( "_self" );
++ static TQString _parent = TQString::fromLatin1( "_parent" );
++ static TQString _blank = TQString::fromLatin1( "_blank" );
+
+ if ( frameName.lower() == _blank )
+ {
+@@ -1234,7 +1234,7 @@
+ mainWindow->viewManager()->setActivePart( part, true );
+ }
+
+- TQString profileName = TQString::tqfromLatin1( url.isLocalFile() ? "konqueror/profiles/filemanagement" : "konqueror/profiles/webbrowsing" );
++ TQString profileName = TQString::fromLatin1( url.isLocalFile() ? "konqueror/profiles/filemanagement" : "konqueror/profiles/webbrowsing" );
+ KSimpleConfig cfg( locate( "data", profileName ), true );
+ cfg.setGroup( "Profile" );
+
+@@ -1284,7 +1284,7 @@
+
+ if ( !windowArgs.resizable )
+ // ### this doesn't seem to work :-(
+- mainWindow->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
++ mainWindow->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
+
+ // Trying to show the window initially behind the current window is a bit tricky,
+ // as this involves the window manager, which may see things differently.
+@@ -1336,12 +1336,12 @@
+ if ( profile.isEmpty() )
+ {
+ if ( m_currentView && m_currentView->url().protocol().startsWith( "http" ) )
+- profile = TQString::tqfromLatin1("webbrowsing");
++ profile = TQString::fromLatin1("webbrowsing");
+ else
+- profile = TQString::tqfromLatin1("filemanagement");
++ profile = TQString::fromLatin1("filemanagement");
+ }
+ KonqMisc::createBrowserWindowFromProfile(
+- locate( "data", TQString::tqfromLatin1("konqueror/profiles/")+profile ),
++ locate( "data", TQString::fromLatin1("konqueror/profiles/")+profile ),
+ profile );
+ }
+
+@@ -1528,7 +1528,7 @@
+ else
+ url.setPath( TQDir::homeDirPath() );
+ KonqMainWindow * mw = KonqMisc::createBrowserWindowFromProfile(
+- locate( "data", TQString::tqfromLatin1("konqueror/profiles/filemanagement") ),
++ locate( "data", TQString::fromLatin1("konqueror/profiles/filemanagement") ),
+ "filemanagement", url, KParts::URLArgs(), true /* forbid "use html"*/ );
+ mw->m_paFindFiles->setChecked(true);
+ // Delay it after the openURL call (hacky!)
+@@ -1652,7 +1652,7 @@
+ // current viewmode
+ TQPtrListIterator<KAction> it( m_toolBarViewModeActions );
+ for (; it.current(); ++it )
+- if ( TQString::tqfromLatin1( it.current()->name() ) == oldService->desktopEntryName() )
++ if ( TQString::fromLatin1( it.current()->name() ) == oldService->desktopEntryName() )
+ {
+ assert( it.current()->inherits( "KonqViewModeAction" ) );
+
+@@ -1815,7 +1815,7 @@
+ if ( !reloadView || reloadView->url().isEmpty() )
+ return;
+
+- if ( reloadView->part() && (reloadView->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ if ( reloadView->part() && (reloadView->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = reloadView->part()->property("modified");
+ if (prop.isValid() && prop.toBool())
+ if ( KMessageBox::warningContinueCancel( this,
+@@ -2032,7 +2032,7 @@
+ void KonqMainWindow::slotNewToolbarConfig() // This is called when OK or Apply is clicked
+ {
+ if ( m_toggleViewGUIClient )
+- plugActionList( TQString::tqfromLatin1( "toggleview" ), m_toggleViewGUIClient->actions() );
++ plugActionList( TQString::fromLatin1( "toggleview" ), m_toggleViewGUIClient->actions() );
+ if ( m_currentView && m_currentView->appServiceOffers().count() > 0 )
+ plugActionList( "openwith", m_openWithActions );
+
+@@ -2048,7 +2048,7 @@
+ if ( avail && m_currentView && m_currentView->part() )
+ {
+ // Avoid qWarning from TQObject::property if it doesn't exist
+- if ( m_currentView->part()->tqmetaObject()->findProperty( "supportsUndo" ) != -1 )
++ if ( m_currentView->part()->metaObject()->findProperty( "supportsUndo" ) != -1 )
+ {
+ TQVariant prop = m_currentView->part()->property( "supportsUndo" );
+ if ( prop.isValid() && prop.toBool() )
+@@ -2665,7 +2665,7 @@
+ void KonqMainWindow::slotBreakOffTab()
+ {
+ if (m_currentView && m_currentView->part() &&
+- (m_currentView->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ (m_currentView->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = m_currentView->part()->property("modified");
+ if (prop.isValid() && prop.toBool())
+ if ( KMessageBox::warningContinueCancel( this,
+@@ -2682,7 +2682,7 @@
+ {
+ KonqView* originalView = m_currentView;
+ KonqView *view = m_pWorkingTab->activeChildView();
+- if (view && view->part() && (view->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ if (view && view->part() && (view->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = view->part()->property("modified");
+ if (prop.isValid() && prop.toBool()) {
+ m_pViewManager->showTab( view );
+@@ -2726,6 +2726,14 @@
+ openURL( 0L, popupItems.getFirst()->url() );
+ }
+
++void KonqMainWindow::slotPopupNewTabAtFront()
++{
++ KConfig *config = KGlobal::config();
++ KConfigGroupSaver cs( config, TQString::fromLatin1("FMSettings") );
++ bool openAfterCurrentPage = config->readBoolEntry( "OpenAfterCurrentPage", false );
++ popupNewTab(true, openAfterCurrentPage);
++}
++
+ void KonqMainWindow::slotPopupNewTab()
+ {
+ bool openAfterCurrentPage = KonqSettings::openAfterCurrentPage();
+@@ -2787,7 +2795,7 @@
+ void KonqMainWindow::slotRemoveView()
+ {
+ if (m_currentView && m_currentView->part() &&
+- (m_currentView->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ (m_currentView->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = m_currentView->part()->property("modified");
+ if (prop.isValid() && prop.toBool())
+ if ( KMessageBox::warningContinueCancel( this,
+@@ -2803,7 +2811,7 @@
+ void KonqMainWindow::slotRemoveTab()
+ {
+ if (m_currentView && m_currentView->part() &&
+- (m_currentView->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ (m_currentView->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = m_currentView->part()->property("modified");
+ if (prop.isValid() && prop.toBool())
+ if ( KMessageBox::warningContinueCancel( this,
+@@ -2819,7 +2827,7 @@
+ {
+ KonqView *originalView = m_currentView;
+ KonqView *view = m_pWorkingTab->activeChildView();
+- if (view && view->part() && (view->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ if (view && view->part() && (view->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = view->part()->property("modified");
+ if (prop.isValid() && prop.toBool()) {
+ m_pViewManager->showTab( view );
+@@ -2856,7 +2864,7 @@
+ MapViews::ConstIterator end = m_mapViews.end();
+ for (; it != end; ++it ) {
+ KonqView *view = it.data();
+- if ( view != originalView && view && view->part() && (view->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ if ( view != originalView && view && view->part() && (view->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = view->part()->property("modified");
+ if (prop.isValid() && prop.toBool()) {
+ m_pViewManager->showTab( view );
+@@ -2889,7 +2897,7 @@
+ MapViews::ConstIterator end = m_mapViews.end();
+ for (; it != end; ++it ) {
+ KonqView *view = it.data();
+- if (view && view->part() && (view->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ if (view && view->part() && (view->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = view->part()->property("modified");
+ if (prop.isValid() && prop.toBool()) {
+ m_pViewManager->showTab( view );
+@@ -3454,7 +3462,7 @@
+ ext = m_currentView->browserExtension();
+ TQStrList slotNames;
+ if (ext)
+- slotNames = ext->tqmetaObject()->slotNames();
++ slotNames = ext->metaObject()->slotNames();
+
+ //for ( char * s = slotNames.first() ; s ; s = slotNames.next() )
+ //{
+@@ -3494,7 +3502,7 @@
+ connect( m_paCut, TQT_SIGNAL( activated() ), m_combo->lineEdit(), TQT_SLOT( cut() ) );
+ connect( m_paCopy, TQT_SIGNAL( activated() ), m_combo->lineEdit(), TQT_SLOT( copy() ) );
+ connect( m_paPaste, TQT_SIGNAL( activated() ), m_combo->lineEdit(), TQT_SLOT( paste() ) );
+- connect( TQApplication::tqclipboard(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotClipboardDataChanged()) );
++ connect( TQApplication::clipboard(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotClipboardDataChanged()) );
+ connect( m_combo->lineEdit(), TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotCheckComboSelection()) );
+ connect( m_combo->lineEdit(), TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotCheckComboSelection()) );
+
+@@ -3535,7 +3543,7 @@
+ disconnect( m_paCut, TQT_SIGNAL( activated() ), m_combo->lineEdit(), TQT_SLOT( cut() ) );
+ disconnect( m_paCopy, TQT_SIGNAL( activated() ), m_combo->lineEdit(), TQT_SLOT( copy() ) );
+ disconnect( m_paPaste, TQT_SIGNAL( activated() ), m_combo->lineEdit(), TQT_SLOT( paste() ) );
+- disconnect( TQApplication::tqclipboard(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotClipboardDataChanged()) );
++ disconnect( TQApplication::clipboard(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotClipboardDataChanged()) );
+ disconnect( m_combo->lineEdit(), TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotCheckComboSelection()) );
+ disconnect( m_combo->lineEdit(), TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotCheckComboSelection()) );
+
+@@ -3563,7 +3571,7 @@
+ void KonqMainWindow::slotClipboardDataChanged()
+ {
+ //kdDebug(1202) << "KonqMainWindow::slotClipboardDataChanged()" << endl;
+- TQMimeSource *data = TQApplication::tqclipboard()->data();
++ TQMimeSource *data = TQApplication::clipboard()->data();
+ m_paPaste->setEnabled( data->provides( "text/plain" ) );
+ slotCheckComboSelection();
+ }
+@@ -3583,7 +3591,7 @@
+ m_combo->clearTemporary();
+ focusLocationBar();
+ if ( state & Qt::MidButton )
+- m_combo->setURL( TQApplication::tqclipboard()->text( TQClipboard::Selection ) );
++ m_combo->setURL( TQApplication::clipboard()->text( TQClipboard::Selection ) );
+ }
+
+ void KonqMainWindow::slotForceSaveMainWindowSettings()
+@@ -4327,7 +4335,7 @@
+ KParts::BrowserExtension::ActionSlotMap::ConstIterator it = actionSlotMap->begin();
+ KParts::BrowserExtension::ActionSlotMap::ConstIterator itEnd = actionSlotMap->end();
+
+- TQStrList slotNames = ext->tqmetaObject()->slotNames();
++ TQStrList slotNames = ext->metaObject()->slotNames();
+
+ for ( ; it != itEnd ; ++it )
+ {
+@@ -4361,7 +4369,7 @@
+ KParts::BrowserExtension::ActionSlotMap::ConstIterator it = actionSlotMap->begin();
+ KParts::BrowserExtension::ActionSlotMap::ConstIterator itEnd = actionSlotMap->end();
+
+- TQStrList slotNames = ext->tqmetaObject()->slotNames();
++ TQStrList slotNames = ext->metaObject()->slotNames();
+
+ for ( ; it != itEnd ; ++it )
+ {
+@@ -4782,8 +4790,14 @@
+ else
+ tab_new_x = "tab_new_bg" ;
+
+- actNewTab = new KAction( i18n( "Open in &New Tab" ), tab_new_x, 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTab() ), konqyMenuClient->actionCollection(), "openintab" );
+- actNewTab->setToolTip( i18n( "Open the document in a new tab" ) );
++ KAction *actNewTab = new KAction( i18n( "Open in &Background Tab" ), "tab_new_bg", 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTab() ), actionCollection(), "openintab" );
++ actNewTab->setStatusText( i18n( "Open the document in a new background tab" ) );
++ KAction *actNewTabFront = new KAction( i18n( "Open in &New Tab" ), "tab_new", 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTabAtFront() ), actionCollection(), "openintabfront" );
++ actNewTabFront->setStatusText( i18n( "Open the document in a new foreground tab" ) );
++ actNewTab = new KAction( i18n( "Open in &Background Tab" ), tab_new_x, 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTab() ), konqyMenuClient->actionCollection(), "openintab" );
++ actNewTabFront = new KAction( i18n( "Open in &New Tab" ), tab_new_x, 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTabAtFront() ), konqyMenuClient->actionCollection(), "openintabfront" );
++ actNewTab->setToolTip( i18n( "Open the document in a new background tab" ) );
++ actNewTabFront->setToolTip( i18n( "Open the document in a new foreground tab" ) );
+ doTabHandling = true;
+ }
+
+@@ -4888,7 +4902,7 @@
+ m_currentView = m_oldView;
+ }
+ // Special case: RMB + renaming in sidebar; setFocus would abort editing.
+- TQWidget* fw = tqfocusWidget();
++ TQWidget* fw = focusWidget();
+ if ( !fw || !::tqqt_cast<TQLineEdit*>( fw ) )
+ m_oldView->part()->widget()->setFocus();
+ }
+@@ -5111,7 +5125,7 @@
+ itname = (*it)->name();
+
+ TQString icon = (*it)->icon();
+- if ( icon != TQString::tqfromLatin1( "unknown" ) )
++ if ( icon != TQString::fromLatin1( "unknown" ) )
+ // we *have* to specify a parent qobject, otherwise the exclusive group stuff doesn't work!(Simon)
+ action = new KRadioAction( itname, icon, 0, TQT_TQOBJECT(this), (*it)->desktopEntryName().ascii() );
+ else
+@@ -5282,7 +5296,7 @@
+ if ( tabContainer->count() > 1 )
+ {
+ KConfig *config = KGlobal::config();
+- KConfigGroupSaver cs( config, TQString::tqfromLatin1("Notification Messages") );
++ KConfigGroupSaver cs( config, TQString::fromLatin1("Notification Messages") );
+
+ if ( !config->hasKey( "MultipleTabConfirm" ) )
+ {
+@@ -5320,7 +5334,7 @@
+ MapViews::ConstIterator end = m_mapViews.end();
+ for (; it != end; ++it ) {
+ KonqView *view = it.data();
+- if (view && view->part() && (view->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ if (view && view->part() && (view->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = view->part()->property("modified");
+ if (prop.isValid() && prop.toBool()) {
+ m_pViewManager->showTab( view );
+@@ -5338,7 +5352,7 @@
+ // m_pViewManager->showTab( originalView );
+ }
+ else if ( m_currentView && m_currentView->part() &&
+- (m_currentView->part()->tqmetaObject()->findProperty("modified") != -1) )
++ (m_currentView->part()->metaObject()->findProperty("modified") != -1) )
+ {
+ TQVariant prop = m_currentView->part()->property("modified");
+ if (prop.isValid() && prop.toBool())
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_mainwindow.h v3.5.13-sru/konqueror/konq_mainwindow.h
+--- /tmp/stable//kdebase/konqueror/konq_mainwindow.h 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/konq_mainwindow.h 2012-07-31 17:17:50.000000000 +0200
+@@ -444,6 +444,7 @@
+ void slotPopupNewWindow();
+ void slotPopupThisWindow();
+ void slotPopupNewTab();
++ void slotPopupNewTabAtFront();
+ void slotPopupNewTabRight();
+ void slotPopupPasteTo();
+ void slotRemoveView();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_misc.cc v3.5.13-sru/konqueror/konq_misc.cc
+--- /tmp/stable//kdebase/konqueror/konq_misc.cc 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/konq_misc.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -106,7 +106,7 @@
+ KMimeType::findByURL(url)->name() == "text/html")
+ ? "webbrowsing" : "filemanagement";
+
+- TQString profile = locate( "data", TQString::tqfromLatin1("konqueror/profiles/") + profileName );
++ TQString profile = locate( "data", TQString::fromLatin1("konqueror/profiles/") + profileName );
+ return createBrowserWindowFromProfile(profile, profileName,
+ url, args,
+ forbidUseHTML, filesToSelect, tempFile, openURL );
+@@ -225,7 +225,7 @@
+ , m_mw(mw)
+ {
+ setBackgroundMode( TQt::PaletteButton );
+- tqsetAlignment( (TQApplication::reverseLayout() ? Qt::AlignRight : Qt::AlignLeft) |
++ setAlignment( (TQApplication::reverseLayout() ? Qt::AlignRight : Qt::AlignLeft) |
+ Qt::AlignVCenter | TQt::ShowPrefix );
+ setAcceptDrops(true);
+ adjustSize();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_profiledlg.cc v3.5.13-sru/konqueror/konq_profiledlg.cc
+--- /tmp/stable//kdebase/konqueror/konq_profiledlg.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_profiledlg.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -104,7 +104,7 @@
+ TQT_SLOT( slotItemRenamed( TQListViewItem * ) ) );
+
+ loadAllProfiles( preselectProfile );
+- m_pListView->setMinimumSize( m_pListView->tqsizeHint() );
++ m_pListView->setMinimumSize( m_pListView->sizeHint() );
+
+ m_cbSaveURLs = new TQCheckBox( i18n("Save &URLs in profile"), box );
+ m_cbSaveURLs->setChecked( KonqSettings::saveURLInProfile() );
+@@ -121,7 +121,7 @@
+ enableButton( BTN_RENAME, m_pListView->selectedItem ()!=0 );
+ enableButton( BTN_DELETE, m_pListView->selectedItem ()!=0 );
+
+- resize( tqsizeHint() );
++ resize( sizeHint() );
+ }
+
+ KonqProfileDlg::~KonqProfileDlg()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_tabs.cc v3.5.13-sru/konqueror/konq_tabs.cc
+--- /tmp/stable//kdebase/konqueror/konq_tabs.cc 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/konq_tabs.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -196,16 +196,16 @@
+ TQString newPrefix;
+ for (KonqFrameBase* it = m_pChildFrameList->first(); it; it = m_pChildFrameList->next())
+ {
+- newPrefix = TQString::tqfromLatin1( it->frameType() ) + "T" + TQString::number(i);
++ newPrefix = TQString::fromLatin1( it->frameType() ) + "T" + TQString::number(i);
+ strlst.append( newPrefix );
+ newPrefix.append( '_' );
+ it->saveConfig( config, newPrefix, saveURLs, docContainer, id, depth + i );
+ i++;
+ }
+
+- config->writeEntry( TQString::tqfromLatin1( "Children" ).prepend( prefix ), strlst );
++ config->writeEntry( TQString::fromLatin1( "Children" ).prepend( prefix ), strlst );
+
+- config->writeEntry( TQString::tqfromLatin1( "activeChildIndex" ).prepend( prefix ),
++ config->writeEntry( TQString::fromLatin1( "activeChildIndex" ).prepend( prefix ),
+ currentPageIndex() );
+ }
+
+@@ -218,14 +218,14 @@
+
+ for (uint i = 0; i < m_pChildFrameList->count(); i++ )
+ {
+- m_pChildFrameList->tqat(i)->copyHistory( static_cast<KonqFrameTabs *>( other )->m_pChildFrameList->tqat(i) );
++ m_pChildFrameList->at(i)->copyHistory( static_cast<KonqFrameTabs *>( other )->m_pChildFrameList->at(i) );
+ }
+ }
+
+ void KonqFrameTabs::printFrameInfo( const TQString& spaces )
+ {
+ kdDebug(1202) << spaces << "KonqFrameTabs " << this << " visible="
+- << TQString("%1").tqarg(isVisible()) << " activeChild="
++ << TQString("%1").arg(isVisible()) << " activeChild="
+ << m_pActiveChild << endl;
+
+ if (!m_pActiveChild)
+@@ -234,7 +234,7 @@
+ KonqFrameBase* child;
+ int childFrameCount = m_pChildFrameList->count();
+ for (int i = 0 ; i < childFrameCount ; i++) {
+- child = m_pChildFrameList->tqat(i);
++ child = m_pChildFrameList->at(i);
+ if (child != 0L)
+ child->printFrameInfo(spaces + " ");
+ else
+@@ -346,7 +346,7 @@
+
+ void KonqFrameTabs::slotMovedTab( int from, int to )
+ {
+- KonqFrameBase* fromFrame = m_pChildFrameList->tqat( from );
++ KonqFrameBase* fromFrame = m_pChildFrameList->at( from );
+ m_pChildFrameList->remove( fromFrame );
+ m_pChildFrameList->insert( to, fromFrame );
+
+@@ -440,8 +440,8 @@
+
+ void KonqFrameTabs::slotMouseMiddleClick()
+ {
+- TQApplication::tqclipboard()->setSelectionMode( TQClipboard::Selection );
+- KURL filteredURL ( KonqMisc::konqFilteredURL( this, TQApplication::tqclipboard()->text() ) );
++ TQApplication::clipboard()->setSelectionMode( TQClipboard::Selection );
++ KURL filteredURL ( KonqMisc::konqFilteredURL( this, TQApplication::clipboard()->text() ) );
+ if ( !filteredURL.isEmpty() ) {
+ KonqView* newView = m_pViewManager->addTab(TQString::null, TQString::null, false, false);
+ if (newView == 0L) return;
+@@ -461,8 +461,8 @@
+ }
+ }
+ else {
+- TQApplication::tqclipboard()->setSelectionMode( TQClipboard::Selection );
+- KURL filteredURL ( KonqMisc::konqFilteredURL( this, TQApplication::tqclipboard()->text() ) );
++ TQApplication::clipboard()->setSelectionMode( TQClipboard::Selection );
++ KURL filteredURL ( KonqMisc::konqFilteredURL( this, TQApplication::clipboard()->text() ) );
+ if ( !filteredURL.isEmpty() ) {
+ KonqFrameBase* frame = tqt_dynamic_cast<KonqFrameBase*>(w);
+ if (frame) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/KonquerorIface.cc v3.5.13-sru/konqueror/KonquerorIface.cc
+--- /tmp/stable//kdebase/konqueror/KonquerorIface.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/KonquerorIface.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -251,18 +251,18 @@
+ TQStringList allowed_parts = KonqSettings::safeParts();
+ bool all_parts_allowed = false;
+
+- if( allowed_parts.count() == 1 && allowed_parts.first() == TQString::tqfromLatin1( "SAFE" ))
++ if( allowed_parts.count() == 1 && allowed_parts.first() == TQString::fromLatin1( "SAFE" ))
+ {
+ allowed_parts.clear();
+ // is duplicated in client/kfmclient.cc
+- allowed_parts << TQString::tqfromLatin1( "konq_iconview.desktop" )
+- << TQString::tqfromLatin1( "konq_multicolumnview.desktop" )
+- << TQString::tqfromLatin1( "konq_sidebartng.desktop" )
+- << TQString::tqfromLatin1( "konq_infolistview.desktop" )
+- << TQString::tqfromLatin1( "konq_treeview.desktop" )
+- << TQString::tqfromLatin1( "konq_detailedlistview.desktop" );
++ allowed_parts << TQString::fromLatin1( "konq_iconview.desktop" )
++ << TQString::fromLatin1( "konq_multicolumnview.desktop" )
++ << TQString::fromLatin1( "konq_sidebartng.desktop" )
++ << TQString::fromLatin1( "konq_infolistview.desktop" )
++ << TQString::fromLatin1( "konq_treeview.desktop" )
++ << TQString::fromLatin1( "konq_detailedlistview.desktop" );
+ }
+- else if( allowed_parts.count() == 1 && allowed_parts.first() == TQString::tqfromLatin1( "ALL" ))
++ else if( allowed_parts.count() == 1 && allowed_parts.first() == TQString::fromLatin1( "ALL" ))
+ {
+ allowed_parts.clear();
+ all_parts_allowed = true;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_view.cc v3.5.13-sru/konqueror/konq_view.cc
+--- /tmp/stable//kdebase/konqueror/konq_view.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_view.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -117,7 +117,7 @@
+ if (part_url.isNull())
+ part_url = "";
+ TQCString line;
+- line = ( TQString("close(%1):%2\n").tqarg(m_randID,0,16).tqarg(part_url) ).utf8();
++ line = ( TQString("close(%1):%2\n").arg(m_randID,0,16).arg(part_url) ).utf8();
+ KonqMainWindow::s_crashlog_file->writeBlock(line, line.length());
+ KonqMainWindow::s_crashlog_file->flush();
+ }
+@@ -155,9 +155,9 @@
+
+ TQCString line;
+
+- line = ( TQString("closed(%1):%2\n").tqarg(m_randID,0,16).tqarg(part_url) ).utf8();
++ line = ( TQString("closed(%1):%2\n").arg(m_randID,0,16).arg(part_url) ).utf8();
+ KonqMainWindow::s_crashlog_file->writeBlock(line,line.length());
+- line = ( TQString("opened(%3):%4\n").tqarg(m_randID,0,16).tqarg(url_url) ).utf8();
++ line = ( TQString("opened(%3):%4\n").arg(m_randID,0,16).arg(url_url) ).utf8();
+ KonqMainWindow::s_crashlog_file->writeBlock(line,line.length());
+ KonqMainWindow::s_crashlog_file->flush();
+ }
+@@ -227,7 +227,7 @@
+ KonqHistoryManager::kself()->addPending( url, locationBarURL, TQString::null);
+
+ #ifdef DEBUG_HISTORY
+- kdDebug(1202) << "Current position : " << m_lstHistory.tqat() << endl;
++ kdDebug(1202) << "Current position : " << m_lstHistory.at() << endl;
+ #endif
+ }
+
+@@ -528,8 +528,8 @@
+ // Manage passwords properly...
+ if (m_pMainWindow)
+ {
+- kdDebug(7035) << "slotStarted: Window ID = " << m_pMainWindow->tqtopLevelWidget()->winId() << endl;
+- job->setWindow (m_pMainWindow->tqtopLevelWidget ());
++ kdDebug(7035) << "slotStarted: Window ID = " << m_pMainWindow->topLevelWidget()->winId() << endl;
++ job->setWindow (m_pMainWindow->topLevelWidget ());
+ }
+
+ connect( job, TQT_SIGNAL( percent( KIO::Job *, unsigned long ) ), this, TQT_SLOT( slotPercent( KIO::Job *, unsigned long ) ) );
+@@ -711,7 +711,7 @@
+ #ifdef DEBUG_HISTORY
+ kdDebug(1202) << "Truncating history" << endl;
+ #endif
+- m_lstHistory.tqat( m_lstHistory.count() - 1 ); // go to last one
++ m_lstHistory.at( m_lstHistory.count() - 1 ); // go to last one
+ for ( ; m_lstHistory.current() != current ; )
+ {
+ if ( !m_lstHistory.removeLast() ) // and remove from the end (faster and easier)
+@@ -720,7 +720,7 @@
+ // makes current() null if it's the last item. however in qt2
+ // the behaviour was different than the documentation. this is
+ // changed in qt3 to behave as documented ;-) (Simon)
+- m_lstHistory.tqat( m_lstHistory.count() - 1 );
++ m_lstHistory.at( m_lstHistory.count() - 1 );
+ }
+ // Now current is the current again.
+ }
+@@ -730,9 +730,9 @@
+ #endif
+ m_lstHistory.append( new HistoryEntry ); // made current
+ #ifdef DEBUG_HISTORY
+- kdDebug(1202) << "at=" << m_lstHistory.tqat() << " count=" << m_lstHistory.count() << endl;
++ kdDebug(1202) << "at=" << m_lstHistory.at() << " count=" << m_lstHistory.count() << endl;
+ #endif
+- assert( m_lstHistory.tqat() == (int) m_lstHistory.count() - 1 );
++ assert( m_lstHistory.at() == (int) m_lstHistory.count() - 1 );
+ }
+
+ void KonqView::updateHistoryEntry( bool saveLocationBarURL )
+@@ -752,20 +752,20 @@
+ }
+
+ #ifdef DEBUG_HISTORY
+- kdDebug(1202) << "Saving part URL : " << m_pPart->url() << " in history position " << m_lstHistory.tqat() << endl;
++ kdDebug(1202) << "Saving part URL : " << m_pPart->url() << " in history position " << m_lstHistory.at() << endl;
+ #endif
+ current->url = m_pPart->url();
+
+ if (saveLocationBarURL)
+ {
+ #ifdef DEBUG_HISTORY
+- kdDebug(1202) << "Saving location bar URL : " << m_sLocationBarURL << " in history position " << m_lstHistory.tqat() << endl;
++ kdDebug(1202) << "Saving location bar URL : " << m_sLocationBarURL << " in history position " << m_lstHistory.at() << endl;
+ #endif
+ current->locationBarURL = m_sLocationBarURL;
+ current->pageSecurity = m_pageSecurity;
+ }
+ #ifdef DEBUG_HISTORY
+- kdDebug(1202) << "Saving title : " << m_caption << " in history position " << m_lstHistory.tqat() << endl;
++ kdDebug(1202) << "Saving title : " << m_caption << " in history position " << m_lstHistory.at() << endl;
+ #endif
+ current->title = m_caption;
+ current->strServiceType = m_serviceType;
+@@ -800,7 +800,7 @@
+ return;
+ }
+
+- int newPos = m_lstHistory.tqat() + steps;
++ int newPos = m_lstHistory.at() + steps;
+ #ifdef DEBUG_HISTORY
+ kdDebug(1202) << "go : steps=" << steps
+ << " newPos=" << newPos
+@@ -813,13 +813,13 @@
+ stop();
+
+ // Yay, we can move there without a loop !
+- HistoryEntry *currentHistoryEntry = m_lstHistory.tqat( newPos ); // sets current item
++ HistoryEntry *currentHistoryEntry = m_lstHistory.at( newPos ); // sets current item
+
+ assert( currentHistoryEntry );
+- assert( newPos == m_lstHistory.tqat() ); // check we moved (i.e. if I understood the docu)
++ assert( newPos == m_lstHistory.at() ); // check we moved (i.e. if I understood the docu)
+ assert( currentHistoryEntry == m_lstHistory.current() );
+ #ifdef DEBUG_HISTORY
+- kdDebug(1202) << "New position " << m_lstHistory.tqat() << endl;
++ kdDebug(1202) << "New position " << m_lstHistory.at() << endl;
+ #endif
+
+ restoreHistory();
+@@ -866,7 +866,7 @@
+ m_pMainWindow->updateToolBarActions();
+
+ #ifdef DEBUG_HISTORY
+- kdDebug(1202) << "New position (2) " << m_lstHistory.tqat() << endl;
++ kdDebug(1202) << "New position (2) " << m_lstHistory.at() << endl;
+ #endif
+ }
+
+@@ -874,9 +874,9 @@
+ {
+ if(pos<0 || pos>=(int)m_lstHistory.count())
+ return 0L;
+- int oldpos = m_lstHistory.tqat();
+- const HistoryEntry* h = m_lstHistory.tqat(pos);
+- m_lstHistory.tqat( oldpos );
++ int oldpos = m_lstHistory.at();
++ const HistoryEntry* h = m_lstHistory.at(pos);
++ m_lstHistory.at( oldpos );
+ return h;
+ }
+
+@@ -887,7 +887,7 @@
+ TQPtrListIterator<HistoryEntry> it( other->m_lstHistory );
+ for (; it.current(); ++it )
+ m_lstHistory.append( new HistoryEntry( *it.current() ) );
+- m_lstHistory.tqat(other->m_lstHistory.tqat());
++ m_lstHistory.at(other->m_lstHistory.at());
+ }
+
+ KURL KonqView::url() const
+@@ -1077,7 +1077,7 @@
+ if ( !obj ) // not all views have a browser extension !
+ return false;
+
+- int id = obj->tqmetaObject()->findSlot( methodName );
++ int id = obj->metaObject()->findSlot( methodName );
+ if ( id == -1 )
+ return false;
+ TQUObject o[ 1 ];
+@@ -1092,7 +1092,7 @@
+ if ( !obj ) // not all views have a browser extension !
+ return false;
+
+- int id = obj->tqmetaObject()->findSlot( methodName );
++ int id = obj->metaObject()->findSlot( methodName );
+ if ( id == -1 )
+ return false;
+ TQUObject o[ 2 ];
+@@ -1109,7 +1109,7 @@
+ if ( !obj ) // not all views have a browser extension !
+ return false;
+
+- int id = obj->tqmetaObject()->findSlot( methodName );
++ int id = obj->metaObject()->findSlot( methodName );
+ if ( id == -1 )
+ return false;
+ TQUObject o[ 2 ];
+@@ -1126,7 +1126,7 @@
+ if ( !obj ) // not all views have a browser extension !
+ return false;
+
+- int id = obj->tqmetaObject()->findSlot( methodName );
++ int id = obj->metaObject()->findSlot( methodName );
+ if ( id == -1 )
+ return false;
+ TQUObject o[ 2 ];
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_view.h v3.5.13-sru/konqueror/konq_view.h
+--- /tmp/stable//kdebase/konqueror/konq_view.h 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/konq_view.h 2012-07-31 17:17:50.000000000 +0200
+@@ -125,17 +125,17 @@
+ /**
+ * @return true if view can go back
+ */
+- bool canGoBack()const { return m_lstHistory.tqat() > 0; }
++ bool canGoBack()const { return m_lstHistory.at() > 0; }
+
+ /**
+ * @return true if view can go forward
+ */
+- bool canGoForward()const { return m_lstHistory.tqat() != ((int)m_lstHistory.count())-1; }
++ bool canGoForward()const { return m_lstHistory.at() != ((int)m_lstHistory.count())-1; }
+
+ /**
+ * @return the position in the history
+ */
+- int historyPos() const { return m_lstHistory.tqat(); }
++ int historyPos() const { return m_lstHistory.at(); }
+
+ uint historyLength() { return m_lstHistory.count(); }
+
+@@ -149,7 +149,7 @@
+ */
+ void restoreHistory();
+
+- void setHistoryPos(int newPos) { m_lstHistory.tqat( newPos ); }
++ void setHistoryPos(int newPos) { m_lstHistory.at( newPos ); }
+
+ /**
+ * @return the history of this view
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_viewmgr.cc v3.5.13-sru/konqueror/konq_viewmgr.cc
+--- /tmp/stable//kdebase/konqueror/konq_viewmgr.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_viewmgr.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -132,7 +132,7 @@
+ //printSizeInfo( splitFrame, parentContainer, "before split");
+ #endif
+
+- parentContainer->widget()->tqsetUpdatesEnabled( false );
++ parentContainer->widget()->setUpdatesEnabled( false );
+
+ //kdDebug(1202) << "Move out child" << endl;
+ TQPoint pos = splitFrame->widget()->pos();
+@@ -184,7 +184,7 @@
+ //newView->frame()->show();
+ newContainer->show();
+
+- parentContainer->widget()->tqsetUpdatesEnabled( true );
++ parentContainer->widget()->setUpdatesEnabled( true );
+
+ if (m_pDocContainer == splitFrame) m_pDocContainer = newContainer;
+
+@@ -226,7 +226,7 @@
+
+ KonqFrameBase* mainFrame = m_pMainWindow->childFrame();
+
+- mainFrame->widget()->tqsetUpdatesEnabled( false );
++ mainFrame->widget()->setUpdatesEnabled( false );
+
+ //kdDebug(1202) << "Move out child" << endl;
+ TQPoint pos = mainFrame->widget()->pos();
+@@ -249,7 +249,7 @@
+
+ newContainer->show();
+
+- mainFrame->widget()->tqsetUpdatesEnabled( true );
++ mainFrame->widget()->setUpdatesEnabled( true );
+
+ if( childView )
+ childView->openURL( url, locationBarURL );
+@@ -279,7 +279,7 @@
+ splitterSizes = static_cast<KonqFrameContainer*>(parentContainer)->sizes();
+ }
+
+- parentContainer->widget()->tqsetUpdatesEnabled( false );
++ parentContainer->widget()->setUpdatesEnabled( false );
+
+ //kdDebug(1202) << "Move out child" << endl;
+ TQPoint pos = m_pDocContainer->widget()->pos();
+@@ -302,7 +302,7 @@
+
+ newContainer->show();
+
+- parentContainer->widget()->tqsetUpdatesEnabled( true );
++ parentContainer->widget()->setUpdatesEnabled( true );
+
+ m_pDocContainer = newContainer;
+ }
+@@ -423,7 +423,7 @@
+ KConfig config( tempFile.name() );
+ config.setGroup( "View Profile" );
+
+- TQString prefix = TQString::tqfromLatin1( currentFrame->frameType() ) + TQString::number(0);
++ TQString prefix = TQString::fromLatin1( currentFrame->frameType() ) + TQString::number(0);
+ config.writeEntry( "RootItem", prefix );
+ prefix.append( '_' );
+ currentFrame->saveConfig( &config, prefix, true, 0L, 0, 1);
+@@ -493,10 +493,10 @@
+ KConfig config( tempFile.name() );
+ config.setGroup( "View Profile" );
+
+- TQString prefix = TQString::tqfromLatin1( currentFrame->frameType() ) + TQString::number(0);
++ TQString prefix = TQString::fromLatin1( currentFrame->frameType() ) + TQString::number(0);
+ config.writeEntry( "RootItem", prefix );
+ prefix.append( '_' );
+- config.writeEntry( TQString::tqfromLatin1( "docContainer" ).prepend( prefix ), true );
++ config.writeEntry( TQString::fromLatin1( "docContainer" ).prepend( prefix ), true );
+ currentFrame->saveConfig( &config, prefix, true, 0L, 0, 1);
+
+ KonqMainWindow *mainWindow = new KonqMainWindow( KURL(), false );
+@@ -784,7 +784,7 @@
+
+ if (m_pDocContainer == parentContainer) m_pDocContainer = otherFrame;
+
+- grandParentContainer->widget()->tqsetUpdatesEnabled( false );
++ grandParentContainer->widget()->setUpdatesEnabled( false );
+ static_cast<KonqFrameContainer*>(parentContainer)->setAboutToBeDeleted();
+
+ //kdDebug(1202) << "--- Reparenting otherFrame to m_pMainWindow " << m_pMainWindow << endl;
+@@ -826,7 +826,7 @@
+ grandParentContainer->setActiveChild( otherFrame );
+ grandParentContainer->activateChild();
+
+- grandParentContainer->widget()->tqsetUpdatesEnabled( true );
++ grandParentContainer->widget()->setUpdatesEnabled( true );
+ }
+ else if (parentContainer->frameType()=="Tabs") {
+ kdDebug(1202) << "parentContainer " << parentContainer << " is a KonqFrameTabs" << endl;
+@@ -1077,7 +1077,7 @@
+ void KonqViewManager::saveViewProfile( const TQString & fileName, const TQString & profileName, bool saveURLs, bool saveWindowSize )
+ {
+
+- TQString path = locateLocal( "data", TQString::tqfromLatin1( "konqueror/profiles/" ) +
++ TQString path = locateLocal( "data", TQString::fromLatin1( "konqueror/profiles/" ) +
+ fileName, KGlobal::instance() );
+
+ if ( TQFile::exists( path ) )
+@@ -1096,7 +1096,7 @@
+ {
+ //kdDebug(1202) << "KonqViewManager::saveViewProfile" << endl;
+ if( m_pMainWindow->childFrame() != 0L ) {
+- TQString prefix = TQString::tqfromLatin1( m_pMainWindow->childFrame()->frameType() )
++ TQString prefix = TQString::fromLatin1( m_pMainWindow->childFrame()->frameType() )
+ + TQString::number(0);
+ cfg.writeEntry( "RootItem", prefix );
+ prefix.append( '_' );
+@@ -1156,7 +1156,7 @@
+ for ( it.toFirst(); it != 0L; ++it )
+ {
+ KonqView *view = it.current()->activeChildView();
+- if (view && view->part() && (view->part()->tqmetaObject()->findProperty("modified") != -1)) {
++ if (view && view->part() && (view->part()->metaObject()->findProperty("modified") != -1)) {
+ TQVariant prop = view->part()->property("modified");
+ if (prop.isValid() && prop.toBool()) {
+ showTab( view );
+@@ -1175,7 +1175,7 @@
+ else
+ {
+ KonqView *view = m_pMainWindow->currentView();
+- if (view && view->part() && (view->part()->tqmetaObject()->findProperty("modified") != -1)) {
++ if (view && view->part() && (view->part()->metaObject()->findProperty("modified") != -1)) {
+ TQVariant prop = view->part()->property("modified");
+ if (prop.isValid() && prop.toBool())
+ if ( KMessageBox::warningContinueCancel( 0,
+@@ -1465,8 +1465,8 @@
+ serviceType = "text/html";
+ serviceName = "html";
+ } else {
+- serviceType = cfg.readEntry( TQString::tqfromLatin1( "ServiceType" ).prepend( prefix ), "inode/directory");
+- serviceName = cfg.readEntry( TQString::tqfromLatin1( "ServiceName" ).prepend( prefix ) );
++ serviceType = cfg.readEntry( TQString::fromLatin1( "ServiceType" ).prepend( prefix ), "inode/directory");
++ serviceName = cfg.readEntry( TQString::fromLatin1( "ServiceName" ).prepend( prefix ) );
+ }
+ //kdDebug(1202) << "KonqViewManager::loadItem: ServiceType " << serviceType << " " << serviceName << endl;
+
+@@ -1480,17 +1480,17 @@
+ return; //ugh..
+ }
+
+- bool passiveMode = cfg.readBoolEntry( TQString::tqfromLatin1( "PassiveMode" ).prepend( prefix ), false );
++ bool passiveMode = cfg.readBoolEntry( TQString::fromLatin1( "PassiveMode" ).prepend( prefix ), false );
+
+ //kdDebug(1202) << "KonqViewManager::loadItem: Creating View Stuff" << endl;
+ KonqView *childView = setupView( parent, viewFactory, service, partServiceOffers, appServiceOffers, serviceType, passiveMode, openAfterCurrentPage );
+
+- if (!childView->isFollowActive()) childView->setLinkedView( cfg.readBoolEntry( TQString::tqfromLatin1( "LinkedView" ).prepend( prefix ), false ) );
+- childView->setToggleView( cfg.readBoolEntry( TQString::tqfromLatin1( "ToggleView" ).prepend( prefix ), false ) );
+- if( !cfg.readBoolEntry( TQString::tqfromLatin1( "ShowStatusBar" ).prepend( prefix ), true ) )
++ if (!childView->isFollowActive()) childView->setLinkedView( cfg.readBoolEntry( TQString::fromLatin1( "LinkedView" ).prepend( prefix ), false ) );
++ childView->setToggleView( cfg.readBoolEntry( TQString::fromLatin1( "ToggleView" ).prepend( prefix ), false ) );
++ if( !cfg.readBoolEntry( TQString::fromLatin1( "ShowStatusBar" ).prepend( prefix ), true ) )
+ childView->frame()->statusbar()->hide();
+
+- if (cfg.readBoolEntry( TQString::tqfromLatin1( "docContainer" ).prepend( prefix ), false ))
++ if (cfg.readBoolEntry( TQString::fromLatin1( "docContainer" ).prepend( prefix ), false ))
+ m_pDocContainer = childView->frame();
+
+ if (!m_pDocContainer)
+@@ -1536,7 +1536,7 @@
+
+ childView->frame()->show();
+
+- TQString key = TQString::tqfromLatin1( "URL" ).prepend( prefix );
++ TQString key = TQString::fromLatin1( "URL" ).prepend( prefix );
+ if ( openURL )
+ {
+ KURL url;
+@@ -1546,11 +1546,11 @@
+ {
+ TQString u = cfg.readPathEntry( key );
+ if ( u.isEmpty() )
+- u = TQString::tqfromLatin1("about:blank");
++ u = TQString::fromLatin1("about:blank");
+ url = u;
+ }
+ else if(key == "empty_URL")
+- url = TQString::tqfromLatin1("about:blank");
++ url = TQString::fromLatin1("about:blank");
+ else
+ url = defaultURL;
+
+@@ -1567,13 +1567,13 @@
+ //else kdDebug(1202) << "KonqViewManager::loadItem: url is empty" << endl;
+ }
+ // Do this after opening the URL, so that it's actually possible to open it :)
+- childView->setLockedLocation( cfg.readBoolEntry( TQString::tqfromLatin1( "LockedLocation" ).prepend( prefix ), false ) );
++ childView->setLockedLocation( cfg.readBoolEntry( TQString::fromLatin1( "LockedLocation" ).prepend( prefix ), false ) );
+ }
+ else if( name.startsWith("Container") ) {
+ //kdDebug(1202) << "KonqViewManager::loadItem Item is Container" << endl;
+
+ //load container config
+- TQString ostr = cfg.readEntry( TQString::tqfromLatin1( "Orientation" ).prepend( prefix ) );
++ TQString ostr = cfg.readEntry( TQString::fromLatin1( "Orientation" ).prepend( prefix ) );
+ //kdDebug(1202) << "Orientation: " << ostr << endl;
+ Qt::Orientation o;
+ if( ostr == "Vertical" )
+@@ -1586,12 +1586,12 @@
+ }
+
+ TQValueList<int> sizes =
+- cfg.readIntListEntry( TQString::tqfromLatin1( "SplitterSizes" ).prepend( prefix ));
++ cfg.readIntListEntry( TQString::fromLatin1( "SplitterSizes" ).prepend( prefix ));
+
+- int index = cfg.readNumEntry( TQString::tqfromLatin1( "activeChildIndex" ).prepend(prefix), -1 );
++ int index = cfg.readNumEntry( TQString::fromLatin1( "activeChildIndex" ).prepend(prefix), -1 );
+
+ TQStrList childList;
+- if( cfg.readListEntry( TQString::tqfromLatin1( "Children" ).prepend( prefix ), childList ) < 2 )
++ if( cfg.readListEntry( TQString::fromLatin1( "Children" ).prepend( prefix ), childList ) < 2 )
+ {
+ kdWarning() << "Profile Loading Error: Less than two children in " << name << endl;
+ // fallback to defaults
+@@ -1608,11 +1608,11 @@
+ parent->insertChildFrame( newContainer, tabindex );
+
+
+- if (cfg.readBoolEntry( TQString::tqfromLatin1( "docContainer" ).prepend( prefix ), false ))
++ if (cfg.readBoolEntry( TQString::fromLatin1( "docContainer" ).prepend( prefix ), false ))
+ m_pDocContainer = newContainer;
+
+- loadItem( cfg, newContainer, childList.tqat(0), defaultURL, openURL );
+- loadItem( cfg, newContainer, childList.tqat(1), defaultURL, openURL );
++ loadItem( cfg, newContainer, childList.at(0), defaultURL, openURL );
++ loadItem( cfg, newContainer, childList.at(1), defaultURL, openURL );
+
+ newContainer->setSizes( sizes );
+
+@@ -1634,9 +1634,9 @@
+ parent->insertChildFrame( newContainer );
+ m_pDocContainer = newContainer;
+
+- int index = cfg.readNumEntry( TQString::tqfromLatin1( "activeChildIndex" ).prepend(prefix), 0 );
++ int index = cfg.readNumEntry( TQString::fromLatin1( "activeChildIndex" ).prepend(prefix), 0 );
+
+- TQStringList childList = cfg.readListEntry( TQString::tqfromLatin1( "Children" ).prepend( prefix ) );
++ TQStringList childList = cfg.readListEntry( TQString::fromLatin1( "Children" ).prepend( prefix ) );
+ for ( TQStringList::Iterator it = childList.begin(); it != childList.end(); ++it )
+ {
+ loadItem( cfg, newContainer, *it, defaultURL, openURL );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/kttsplugin/khtmlkttsd.cpp v3.5.13-sru/konqueror/kttsplugin/khtmlkttsd.cpp
+--- /tmp/stable//kdebase/konqueror/kttsplugin/khtmlkttsd.cpp 2011-03-12 07:58:15.000000000 +0100
++++ v3.5.13-sru/konqueror/kttsplugin/khtmlkttsd.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -118,13 +118,13 @@
+ }
+ // kdDebug() << "KHTMLPluginKTTSD::slotReadOut: query = " << query << endl;
+
+- dataBuf.tqat(0); // reset data
++ dataBuf.at(0); // reset data
+ arg << query << "";
+ if ( !client->call("kttsd", "KSpeech", "setText(TQString,TQString)",
+ data, replyType, replyData, true) )
+ TQMessageBox::warning( 0, i18n( "DCOP Call Failed" ),
+ i18n( "The DCOP call setText failed." ));
+- dataBuf.tqat(0);
++ dataBuf.at(0);
+ arg << 0;
+ if ( !client->call("kttsd", "KSpeech", "startText(uint)",
+ data, replyType, replyData, true) )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_infolistviewitem.cc v3.5.13-sru/konqueror/listview/konq_infolistviewitem.cc
+--- /tmp/stable//kdebase/konqueror/listview/konq_infolistviewitem.cc 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/listview/konq_infolistviewitem.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -206,7 +206,7 @@
+ setPixmap( 0, m_fileitem->pixmap( iconSize, state() ) );
+ }
+
+-void KonqInfoListViewItem::paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _tqalignment )
++void KonqInfoListViewItem::paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _alignment )
+ {
+ TQColorGroup cg( _cg );
+
+@@ -242,7 +242,7 @@
+ _width = newWidth;
+ }
+
+- KListViewItem::paintCell( _painter, cg, _column, _width, _tqalignment );
++ KListViewItem::paintCell( _painter, cg, _column, _width, _alignment );
+ }
+
+ void KonqInfoListViewItem::paintFocus( TQPainter * _painter, const TQColorGroup & cg, const TQRect & _r )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_infolistviewitem.h v3.5.13-sru/konqueror/listview/konq_infolistviewitem.h
+--- /tmp/stable//kdebase/konqueror/listview/konq_infolistviewitem.h 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/listview/konq_infolistviewitem.h 2012-07-31 17:17:50.000000000 +0200
+@@ -56,7 +56,7 @@
+ virtual ~KonqInfoListViewItem() { }
+
+ virtual void paintCell( TQPainter *_painter, const TQColorGroup & cg,
+- int column, int width, int tqalignment );
++ int column, int width, int alignment );
+ virtual void paintFocus( TQPainter * _painter, const TQColorGroup & cg, const TQRect & r );
+ virtual void updateContents();
+ virtual void setDisabled( bool disabled );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_infolistviewwidget.cc v3.5.13-sru/konqueror/listview/konq_infolistviewwidget.cc
+--- /tmp/stable//kdebase/konqueror/listview/konq_infolistviewwidget.cc 2011-08-11 07:25:51.000000000 +0200
++++ v3.5.13-sru/konqueror/listview/konq_infolistviewwidget.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -181,8 +181,8 @@
+
+ if ( !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+ }
+@@ -215,8 +215,8 @@
+
+ if ( !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_listview.cc v3.5.13-sru/konqueror/listview/konq_listview.cc
+--- /tmp/stable//kdebase/konqueror/listview/konq_listview.cc 2011-08-11 07:25:51.000000000 +0200
++++ v3.5.13-sru/konqueror/listview/konq_listview.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -144,7 +144,7 @@
+ void ListViewBrowserExtension::copySelection( bool move )
+ {
+ KonqDrag *urlData = new KonqDrag( m_listView->listViewWidget()->selectedUrls(false), m_listView->listViewWidget()->selectedUrls(true), move );
+- TQApplication::tqclipboard()->setData( urlData );
++ TQApplication::clipboard()->setData( urlData );
+ }
+
+ void ListViewBrowserExtension::paste()
+@@ -169,7 +169,7 @@
+ const TQString txt = le->text();
+ TQString pattern;
+ KMimeType::diagnoseFileName( txt, pattern );
+- if (!pattern.isEmpty() && pattern.tqat(0)=='*' && pattern.find('*',1)==-1)
++ if (!pattern.isEmpty() && pattern.at(0)=='*' && pattern.find('*',1)==-1)
+ le->setSelection(0, txt.length()-pattern.stripWhiteSpace().length()+1);
+ else
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_listviewitems.cc v3.5.13-sru/konqueror/listview/konq_listviewitems.cc
+--- /tmp/stable//kdebase/konqueror/listview/konq_listviewitems.cc 2011-07-09 08:16:57.000000000 +0200
++++ v3.5.13-sru/konqueror/listview/konq_listviewitems.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -173,7 +173,7 @@
+ if ( m_bActive == active )
+ return;
+
+- //#### Optimize away tqrepaint if possible, like the iconview does?
++ //#### Optimize away repaint if possible, like the iconview does?
+ KonqBaseListViewItem::setActive( active );
+ int iconSize = m_pListViewWidget->iconSize();
+ iconSize = iconSize ? iconSize : KGlobal::iconLoader()->currentSize( KIcon::Small ); // Default = small
+@@ -203,7 +203,7 @@
+ int newWidth = pm.isNull() ? 0 : pm.width();
+ int newHeight = pm.isNull() ? 0 : pm.height();
+
+- // If the height or width have changed then we're going to have to tqrepaint
++ // If the height or width have changed then we're going to have to repaint
+ // this whole thing. Fortunately since most of the calls are coming from
+ // setActive() this is the uncommon case.
+
+@@ -234,7 +234,7 @@
+ if ((int)m_pixmaps.count() <= column)
+ return 0;
+
+- TQPixmap *pm = m_pixmaps.tqat( column, &ok );
++ TQPixmap *pm = m_pixmaps.at( column, &ok );
+ if( !ok )
+ return 0;
+ return pm;
+@@ -294,7 +294,7 @@
+ }
+ }
+
+-void KonqListViewItem::paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _tqalignment )
++void KonqListViewItem::paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _alignment )
+ {
+ TQColorGroup cg( _cg );
+
+@@ -330,7 +330,7 @@
+ _width = newWidth;
+ }
+
+- KListViewItem::paintCell( _painter, cg, _column, _width, _tqalignment );
++ KListViewItem::paintCell( _painter, cg, _column, _width, _alignment );
+ }
+
+ void KonqListViewItem::paintFocus( TQPainter * _painter, const TQColorGroup & cg, const TQRect & _r )
+@@ -421,7 +421,7 @@
+
+ TQRect KonqBaseListViewItem::rect() const
+ {
+- TQRect r = m_pListViewWidget->tqitemRect(this);
++ TQRect r = m_pListViewWidget->itemRect(this);
+ return TQRect( m_pListViewWidget->viewportToContents( r.topLeft() ), TQSize( r.width(), r.height() ) );
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_listviewitems.h v3.5.13-sru/konqueror/listview/konq_listviewitems.h
+--- /tmp/stable//kdebase/konqueror/listview/konq_listviewitems.h 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/listview/konq_listviewitems.h 2012-07-31 17:17:50.000000000 +0200
+@@ -107,7 +107,7 @@
+ virtual ~KonqListViewItem();
+
+ virtual void paintCell( TQPainter *_painter, const TQColorGroup & cg,
+- int column, int width, int tqalignment );
++ int column, int width, int alignment );
+ virtual void paintFocus( TQPainter * _painter, const TQColorGroup & cg, const TQRect & r );
+ virtual void updateContents();
+ virtual void setDisabled( bool disabled );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_listviewwidget.cc v3.5.13-sru/konqueror/listview/konq_listviewwidget.cc
+--- /tmp/stable//kdebase/konqueror/listview/konq_listviewwidget.cc 2011-08-11 07:25:51.000000000 +0200
++++ v3.5.13-sru/konqueror/listview/konq_listviewwidget.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -107,7 +107,7 @@
+ {
+ kdDebug(1202) << "+KonqBaseListViewWidget" << endl;
+
+- m_dirLister->setMainWindow(tqtopLevelWidget());
++ m_dirLister->setMainWindow(topLevelWidget());
+
+ m_bTopLevelComplete = true;
+
+@@ -259,7 +259,7 @@
+ //search the column in confColumns
+ for ( unsigned int j = 0; j < NumberOfAtoms; j++ )
+ {
+- if ( confColumns[j].name == *lstColumns.tqat(i) )
++ if ( confColumns[j].name == *lstColumns.at(i) )
+ {
+ confColumns[j].displayThisOne = true;
+ confColumns[j].displayInColumn = currentColumn;
+@@ -268,7 +268,7 @@
+ currentColumn++;
+
+ if ( i < lstColumnWidths.count() )
+- confColumns[j].width = *lstColumnWidths.tqat(i);
++ confColumns[j].width = *lstColumnWidths.at(i);
+ else
+ {
+ // Default Column widths
+@@ -489,7 +489,7 @@
+ emit m_pBrowserView->setStatusBarText( item->item()->getStatusBarInfo() );
+ m_pBrowserView->emitMouseOver( item->item() );
+
+- vp.setY( tqitemRect( item ).y() );
++ vp.setY( itemRect( item ).y() );
+ TQRect rect( viewportToContents( vp ), TQSize(20, item->height()) );
+ m_fileTip->setItem( item->item(), rect, item->pixmap( 0 ) );
+ m_fileTip->setPreview( KGlobalSettings::showFilePreview( item->item()->url() ) );
+@@ -551,9 +551,9 @@
+
+ TQPoint pt( m_rubber->x(), m_rubber->y() );
+ pt = contentsToViewport( pt );
+- tqstyle().tqdrawPrimitive( TQStyle::PE_RubberBand, p,
++ style().tqdrawPrimitive( TQStyle::PE_RubberBand, p,
+ TQRect( pt.x(), pt.y(), m_rubber->width(), m_rubber->height() ),
+- tqcolorGroup(), TQStyle::Style_Default, tqcolorGroup().base() );
++ colorGroup(), TQStyle::Style_Default, colorGroup().base() );
+
+ }
+
+@@ -591,9 +591,9 @@
+ {
+ TQRect rect;
+ if ( allColumnsShowFocus() )
+- rect = tqitemRect( cur );
++ rect = itemRect( cur );
+ else {
+- rect = tqitemRect( cur );
++ rect = itemRect( cur );
+ rect.setWidth( executeArea( cur ) );
+ }
+
+@@ -623,7 +623,7 @@
+ {
+ setSelected( cur, true );
+ changed = TRUE;
+- rr = rr.unite( tqitemRect( cur ) );
++ rr = rr.unite( itemRect( cur ) );
+ }
+ }
+ else
+@@ -631,7 +631,7 @@
+ if ( cur->isSelected() )
+ {
+ changed = TRUE;
+- rr = rr.unite( tqitemRect( cur ) );
++ rr = rr.unite( itemRect( cur ) );
+ }
+
+ if ( !m_selected || !m_selected->contains( (KonqBaseListViewItem*)cur ) )
+@@ -659,7 +659,7 @@
+ {
+ setSelected( cur, true );
+ changed = TRUE;
+- rr = rr.unite( tqitemRect( cur ) );
++ rr = rr.unite( itemRect( cur ) );
+ }
+ }
+ else
+@@ -667,7 +667,7 @@
+ if ( cur->isSelected() )
+ {
+ changed = TRUE;
+- rr = rr.unite( tqitemRect( cur ) );
++ rr = rr.unite( itemRect( cur ) );
+ }
+
+ if ( !m_selected || !m_selected->contains( (KonqBaseListViewItem*)cur ) )
+@@ -985,7 +985,7 @@
+ if (_item->pixmap(0) != 0)
+ {
+ // Rect of the TQListViewItem's pixmap area.
+- TQRect rect = _item->listView()->tqitemRect(_item);
++ TQRect rect = _item->listView()->itemRect(_item);
+
+ // calculate nesting depth
+ int nestingDepth = 0;
+@@ -1009,9 +1009,12 @@
+ // gather pixmap
+ TQPixmap *pix = new TQPixmap(*(_item->pixmap(0)));
+
+- // call the icon effect
+- KIconEffect::visualActivate(viewport(), rect, pix);
+-
++ // call the icon effect if enabled
++ if (KGlobalSettings::showKonqIconActivationEffect() == true) {
++ KIconEffect::visualActivate(viewport(), rect, pix);
++ }
++
++ // clean up
+ delete(pix);
+ }
+ }
+@@ -1111,7 +1114,7 @@
+ args.yOffset = contentsY();
+ m_pBrowserView->extension()->setURLArgs( args );
+
+- if ( currentItem() && tqitemRect( currentItem() ).isValid() )
++ if ( currentItem() && itemRect( currentItem() ).isValid() )
+ m_itemToGoTo = currentItem()->text(0);
+
+ m_pBrowserView->m_filesToSelect.clear();
+@@ -1192,8 +1195,8 @@
+
+ if ( !isUpdatesEnabled() || !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+
+@@ -1237,8 +1240,8 @@
+ m_pBrowserView->resetCount();
+ m_pBrowserView->lstPendingMimeIconItems().clear();
+
+- viewport()->tqsetUpdatesEnabled( false );
+- tqsetUpdatesEnabled( false );
++ viewport()->setUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+ clear();
+ }
+
+@@ -1268,8 +1271,8 @@
+
+ if ( !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+ slotUpdateBackground();
+@@ -1314,8 +1317,8 @@
+ // OK, but this code also gets activated when deleting a hidden file... (dfaure)
+ if ( !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+ slotUpdateBackground();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_listviewwidget.h v3.5.13-sru/konqueror/listview/konq_listviewwidget.h
+--- /tmp/stable//kdebase/konqueror/listview/konq_listviewwidget.h 2011-07-09 08:16:57.000000000 +0200
++++ v3.5.13-sru/konqueror/listview/konq_listviewwidget.h 2012-07-31 17:17:50.000000000 +0200
+@@ -177,7 +177,7 @@
+ virtual void slotRedirection( const KURL & );
+ void slotPopupMenu( TQListViewItem *, const TQPoint&, int );
+
+- // forces a tqrepaint on column size changes / branch expansion
++ // forces a repaint on column size changes / branch expansion
+ // when there is a background pixmap
+ void slotUpdateBackground();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_textviewitem.cc v3.5.13-sru/konqueror/listview/konq_textviewitem.cc
+--- /tmp/stable//kdebase/konqueror/listview/konq_textviewitem.cc 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/listview/konq_textviewitem.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -200,7 +200,7 @@
+ };
+ }
+
+-void KonqTextViewItem::paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _tqalignment )
++void KonqTextViewItem::paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _alignment )
+ {
+ TQColorGroup cg( _cg );
+ cg.setColor(TQColorGroup::Text, static_cast<KonqTextViewWidget *>(listView())->colors[type]);
+@@ -208,7 +208,7 @@
+ // cg.setColor(TQColorGroup::HighlightedText, static_cast<KonqTextViewWidget *>(listView())->highlight[type]);
+ // cg.setColor(TQColorGroup::Highlight, Qt::darkGray);
+
+- KListViewItem::paintCell( _painter, cg, _column, _width, _tqalignment );
++ KListViewItem::paintCell( _painter, cg, _column, _width, _alignment );
+ }
+
+ /*void KonqTextViewItem::paintFocus( TQPainter *_p, const TQColorGroup &_cg, const TQRect &_r )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_textviewitem.h v3.5.13-sru/konqueror/listview/konq_textviewitem.h
+--- /tmp/stable//kdebase/konqueror/listview/konq_textviewitem.h 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/listview/konq_textviewitem.h 2012-07-31 17:17:50.000000000 +0200
+@@ -57,7 +57,7 @@
+ // virtual TQString key( int _column, bool asc) const;
+ /** Call this before destroying the text view (decreases reference count
+ * on the view)*/
+- virtual void paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _tqalignment );
++ virtual void paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _alignment );
+ // virtual void paintFocus( TQPainter *_painter, const TQColorGroup & _cg, const TQRect & r );
+ virtual void updateContents();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_textviewwidget.cc v3.5.13-sru/konqueror/listview/konq_textviewwidget.cc
+--- /tmp/stable//kdebase/konqueror/listview/konq_textviewwidget.cc 2011-08-11 07:25:51.000000000 +0200
++++ v3.5.13-sru/konqueror/listview/konq_textviewwidget.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -101,8 +101,8 @@
+
+ if ( !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+ slotUpdateBackground();
+@@ -146,8 +146,8 @@
+
+ if ( !isUpdatesEnabled() || !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_treeviewwidget.cc v3.5.13-sru/konqueror/listview/konq_treeviewwidget.cc
+--- /tmp/stable//kdebase/konqueror/listview/konq_treeviewwidget.cc 2011-08-11 07:25:51.000000000 +0200
++++ v3.5.13-sru/konqueror/listview/konq_treeviewwidget.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -121,8 +121,8 @@
+
+ if ( !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+ }
+@@ -268,8 +268,8 @@
+
+ if ( !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/preloader/preloader.cc v3.5.13-sru/konqueror/preloader/preloader.cc
+--- /tmp/stable//kdebase/konqueror/preloader/preloader.cc 2011-03-12 07:58:17.000000000 +0100
++++ v3.5.13-sru/konqueror/preloader/preloader.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -109,8 +109,8 @@
+ {
+ if( !check_always_preloaded_timer.isActive())
+ {
+- if( kapp->kdeinitExec( TQString::tqfromLatin1( "konqueror" ),
+- TQStringList() << TQString::tqfromLatin1( "--preload" ), NULL, NULL, "0" ) == 0 )
++ if( kapp->kdeinitExec( TQString::fromLatin1( "konqueror" ),
++ TQStringList() << TQString::fromLatin1( "--preload" ), NULL, NULL, "0" ) == 0 )
+ {
+ kdDebug( 1202 ) << "Preloading Konqueror instance" << endl;
+ check_always_preloaded_timer.start( 5000, true );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/remoteencodingplugin/kremoteencodingplugin.cpp v3.5.13-sru/konqueror/remoteencodingplugin/kremoteencodingplugin.cpp
+--- /tmp/stable//kdebase/konqueror/remoteencodingplugin/kremoteencodingplugin.cpp 2011-08-11 07:25:51.000000000 +0200
++++ v3.5.13-sru/konqueror/remoteencodingplugin/kremoteencodingplugin.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -41,7 +41,7 @@
+
+ #include "kremoteencodingplugin.h"
+
+-#define DATA_KEY TQString::tqfromLatin1("Charset")
++#define DATA_KEY TQString::fromLatin1("Charset")
+
+ KRemoteEncodingPlugin::KRemoteEncodingPlugin(TQObject * parent,
+ const char *name,
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/shellcmdplugin/kshellcmddialog.cpp v3.5.13-sru/konqueror/shellcmdplugin/kshellcmddialog.cpp
+--- /tmp/stable//kdebase/konqueror/shellcmdplugin/kshellcmddialog.cpp 2011-03-12 07:58:17.000000000 +0100
++++ v3.5.13-sru/konqueror/shellcmdplugin/kshellcmddialog.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -43,10 +43,10 @@
+ closeButton= new KPushButton(KStdGuiItem::close(), buttonsBox);
+ closeButton->setDefault(true);
+
+- label->resize(label->tqsizeHint());
+- m_shell->resize(m_shell->tqsizeHint());
+- closeButton->setFixedSize(closeButton->tqsizeHint());
+- cancelButton->setFixedSize(cancelButton->tqsizeHint());
++ label->resize(label->sizeHint());
++ m_shell->resize(m_shell->sizeHint());
++ closeButton->setFixedSize(closeButton->sizeHint());
++ cancelButton->setFixedSize(cancelButton->sizeHint());
+
+ box->addWidget(label,0);
+ box->addWidget(m_shell,1);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/konqsidebar.cpp v3.5.13-sru/konqueror/sidebar/konqsidebar.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/konqsidebar.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/konqsidebar.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -30,7 +30,7 @@
+ setInstance( KonqSidebarFactory::instance() );
+ m_extension = 0;
+ // this should be your custom internal widget
+- m_widget = new Sidebar_Widget( parentWidget, this, widgetName ,universalMode, parentWidget->tqtopLevelWidget()->property("currentProfile").toString() );
++ m_widget = new Sidebar_Widget( parentWidget, this, widgetName ,universalMode, parentWidget->topLevelWidget()->property("currentProfile").toString() );
+ m_extension = new KonqSidebarBrowserExtension( this, m_widget,"KonqSidebar::BrowserExtension" );
+ connect(m_widget,TQT_SIGNAL(started(KIO::Job *)),
+ this, TQT_SIGNAL(started(KIO::Job*)));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/sidebar_widget.cpp v3.5.13-sru/konqueror/sidebar/sidebar_widget.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/sidebar_widget.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/sidebar_widget.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -169,7 +169,7 @@
+
+ void addBackEnd::activatedAddMenu(int id)
+ {
+- kdDebug() << "activatedAddMenu: " << TQString("%1").tqarg(id) << endl;
++ kdDebug() << "activatedAddMenu: " << TQString("%1").arg(id) << endl;
+ if (((uint)id) == libNames.size())
+ doRollBack();
+ if(((uint)id) >= libNames.size())
+@@ -178,13 +178,13 @@
+ KLibLoader *loader = KLibLoader::self();
+
+ // try to load the library
+- TQString libname = *libNames.tqat(id);
++ TQString libname = *libNames.at(id);
+ KLibrary *lib = loader->library(TQFile::encodeName(libname));
+ if (lib)
+ {
+ // get the create_ function
+ TQString factory("add_");
+- factory = factory+(*libNames.tqat(id));
++ factory = factory+(*libNames.at(id));
+ void *add = lib->symbol(TQFile::encodeName(factory));
+
+ if (add)
+@@ -194,7 +194,7 @@
+ TQMap<TQString,TQString> map;
+ func = (bool (*)(TQString*, TQString*, TQMap<TQString,TQString> *)) add;
+ TQString *tmp = new TQString("");
+- if (func(tmp,libParam.tqat(id),&map))
++ if (func(tmp,libParam.at(id),&map))
+ {
+ TQString myFile = findFileName(tmp,m_universal,m_currentProfile);
+
+@@ -219,7 +219,7 @@
+ delete tmp;
+ }
+ } else {
+- kdWarning() << "libname:" << libNames.tqat(id)
++ kdWarning() << "libname:" << libNames.at(id)
+ << " doesn't specify a library!" << endl;
+ }
+ }
+@@ -252,7 +252,7 @@
+ m_buttons.setAutoDelete(true);
+ m_hasStoredUrl = false;
+ m_latestViewed = -1;
+- tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding));
++ setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding));
+
+ TQSplitter *splitterWidget = splitter();
+ if (splitterWidget) {
+@@ -262,7 +262,7 @@
+ }
+
+ m_area = new KDockArea(this);
+- m_area->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding));
++ m_area->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding));
+ m_mainDockWidget = m_area->createDockWidget("free", 0);
+ m_mainDockWidget->setWidget(new TQWidget(m_mainDockWidget));
+ m_area->setMainDockWidget(m_mainDockWidget);
+@@ -574,7 +574,7 @@
+ {
+ int tmpViewID=m_latestViewed;
+ for (uint i=0; i<m_buttons.count(); i++) {
+- ButtonInfo *button = m_buttons.tqat(i);
++ ButtonInfo *button = m_buttons.at(i);
+ if ((int) i != tmpViewID)
+ {
+ if (button->dock && button->dock->isVisibleTo(this))
+@@ -598,7 +598,7 @@
+ m_mainDockWidget->show();
+ if ((tmpLatestViewed>=0) && (tmpLatestViewed < (int) m_buttons.count()))
+ {
+- ButtonInfo *button = m_buttons.tqat(tmpLatestViewed);
++ ButtonInfo *button = m_buttons.at(tmpLatestViewed);
+ if (button && button->dock)
+ {
+ m_noUpdate=true;
+@@ -675,7 +675,7 @@
+
+ kdDebug() << "Try calling >active< module's (" << mod->module->className() << ") slot " << handlestd << endl;
+
+- int id = mod->module->tqmetaObject()->findSlot( handlestd );
++ int id = mod->module->metaObject()->findSlot( handlestd );
+ if ( id == -1 )
+ return;
+ kdDebug() << "Action slot was found, it will be called now" << endl;
+@@ -694,7 +694,7 @@
+ {
+ for (uint i = 0; i < m_buttons.count(); i++)
+ {
+- ButtonInfo *button = m_buttons.tqat(i);
++ ButtonInfo *button = m_buttons.at(i);
+ if (button->dock)
+ {
+ m_noUpdate = true;
+@@ -742,7 +742,7 @@
+
+ for (uint i = 0; i < m_buttons.count(); i++)
+ {
+- ButtonInfo *button = m_buttons.tqat(i);
++ ButtonInfo *button = m_buttons.at(i);
+ if (m_openViews.contains(button->file))
+ {
+ m_buttonBar->setTab(i,true);
+@@ -763,7 +763,7 @@
+ if (url.protocol()=="sidebar")
+ {
+ for (unsigned int i=0;i<m_buttons.count();i++)
+- if (m_buttons.tqat(i)->file==url.path())
++ if (m_buttons.at(i)->file==url.path())
+ {
+ KMultiTabBarTab *tab = m_buttonBar->tab(i);
+ if (!tab->isOn())
+@@ -778,7 +778,7 @@
+ bool ret = false;
+ for (unsigned int i=0;i<m_buttons.count();i++)
+ {
+- ButtonInfo *button = m_buttons.tqat(i);
++ ButtonInfo *button = m_buttons.at(i);
+ if (button->dock)
+ {
+ if ((button->dock->isVisibleTo(this)) && (button->module))
+@@ -845,7 +845,7 @@
+ {
+ if (bt==m_buttonBar->tab(i))
+ {
+- m_currentButton = m_buttons.tqat(i);
++ m_currentButton = m_buttons.at(i);
+ break;
+ }
+ }
+@@ -953,7 +953,7 @@
+
+ void Sidebar_Widget::showHidePage(int page)
+ {
+- ButtonInfo *info = m_buttons.tqat(page);
++ ButtonInfo *info = m_buttons.at(page);
+ if (!info->dock)
+ {
+ if (m_buttonBar->isTabRaised(page))
+@@ -1049,7 +1049,7 @@
+ if (m_visibleViews.count()==0)
+ {
+ m_somethingVisible = false;
+- parentWidget()->setMaximumWidth(tqminimumSizeHint().width());
++ parentWidget()->setMaximumWidth(minimumSizeHint().width());
+ updateGeometry();
+ emit panelHasBeenExpanded(false);
+ } else {
+@@ -1060,11 +1060,11 @@
+ }
+ }
+
+-TQSize Sidebar_Widget::tqsizeHint() const
++TQSize Sidebar_Widget::sizeHint() const
+ {
+ if (m_somethingVisible)
+ return TQSize(m_savedWidth,200);
+- return tqminimumSizeHint();
++ return minimumSizeHint();
+ }
+
+ void Sidebar_Widget::dockWidgetHasUndocked(KDockWidget* wid)
+@@ -1072,7 +1072,7 @@
+ kdDebug()<<" Sidebar_Widget::dockWidgetHasUndocked(KDockWidget*)"<<endl;
+ for (unsigned int i=0;i<m_buttons.count();i++)
+ {
+- ButtonInfo *button = m_buttons.tqat(i);
++ ButtonInfo *button = m_buttons.at(i);
+ if (button->dock==wid)
+ {
+ if (m_buttonBar->isTabRaised(i))
+@@ -1195,50 +1195,50 @@
+
+ void Sidebar_Widget::connectModule(TQObject *mod)
+ {
+- if (mod->tqmetaObject()->findSignal("started(KIO::Job*)") != -1) {
++ if (mod->metaObject()->findSignal("started(KIO::Job*)") != -1) {
+ connect(mod,TQT_SIGNAL(started(KIO::Job *)),this, TQT_SIGNAL(started(KIO::Job*)));
+ }
+
+- if (mod->tqmetaObject()->findSignal("completed()") != -1) {
++ if (mod->metaObject()->findSignal("completed()") != -1) {
+ connect(mod,TQT_SIGNAL(completed()),this,TQT_SIGNAL(completed()));
+ }
+
+- if (mod->tqmetaObject()->findSignal("popupMenu(const " TQPOINT_OBJECT_NAME_STRING "&,const KURL&,const " TQSTRING_OBJECT_NAME_STRING "&,mode_t)") != -1) {
++ if (mod->metaObject()->findSignal("popupMenu(const " TQPOINT_OBJECT_NAME_STRING "&,const KURL&,const " TQSTRING_OBJECT_NAME_STRING "&,mode_t)") != -1) {
+ connect(mod,TQT_SIGNAL(popupMenu( const TQPoint &, const KURL &,
+ const TQString &, mode_t)),this,TQT_SLOT(popupMenu( const
+ TQPoint &, const KURL&, const TQString &, mode_t)));
+ }
+
+- if (mod->tqmetaObject()->findSignal("popupMenu(KXMLGUIClient*,const " TQPOINT_OBJECT_NAME_STRING " &,const KURL&,const " TQSTRING_OBJECT_NAME_STRING "&,mode_t)") != -1) {
++ if (mod->metaObject()->findSignal("popupMenu(KXMLGUIClient*,const " TQPOINT_OBJECT_NAME_STRING " &,const KURL&,const " TQSTRING_OBJECT_NAME_STRING "&,mode_t)") != -1) {
+ connect(mod,TQT_SIGNAL(popupMenu( KXMLGUIClient *, const TQPoint &,
+ const KURL &,const TQString &, mode_t)),this,
+ TQT_SLOT(popupMenu( KXMLGUIClient *, const TQPoint &,
+ const KURL &,const TQString &, mode_t)));
+ }
+
+- if (mod->tqmetaObject()->findSignal("popupMenu(const " TQPOINT_OBJECT_NAME_STRING "&,const KFileItemList&)") != -1) {
++ if (mod->metaObject()->findSignal("popupMenu(const " TQPOINT_OBJECT_NAME_STRING "&,const KFileItemList&)") != -1) {
+ connect(mod,TQT_SIGNAL(popupMenu( const TQPoint &, const KFileItemList & )),
+ this,TQT_SLOT(popupMenu( const TQPoint &, const KFileItemList & )));
+ }
+
+- if (mod->tqmetaObject()->findSignal("openURLRequest(const KURL&,const KParts::URLArgs&)") != -1) {
++ if (mod->metaObject()->findSignal("openURLRequest(const KURL&,const KParts::URLArgs&)") != -1) {
+ connect(mod,TQT_SIGNAL(openURLRequest( const KURL &, const KParts::URLArgs &)),
+ this,TQT_SLOT(openURLRequest( const KURL &, const KParts::URLArgs &)));
+ }
+
+- if (mod->tqmetaObject()->findSignal("submitFormRequest(const char*,const " TQSTRING_OBJECT_NAME_STRING "&,const " TQBYTEARRAY_OBJECT_NAME_STRING "&,const " TQSTRING_OBJECT_NAME_STRING "&,const " TQSTRING_OBJECT_NAME_STRING "&,const " TQSTRING_OBJECT_NAME_STRING "&)") != -1) {
++ if (mod->metaObject()->findSignal("submitFormRequest(const char*,const " TQSTRING_OBJECT_NAME_STRING "&,const " TQBYTEARRAY_OBJECT_NAME_STRING "&,const " TQSTRING_OBJECT_NAME_STRING "&,const " TQSTRING_OBJECT_NAME_STRING "&,const " TQSTRING_OBJECT_NAME_STRING "&)") != -1) {
+ connect(mod,
+ TQT_SIGNAL(submitFormRequest(const char*,const TQString&,const TQByteArray&,const TQString&,const TQString&,const TQString&)),
+ this,
+ TQT_SLOT(submitFormRequest(const char*,const TQString&,const TQByteArray&,const TQString&,const TQString&,const TQString&)));
+ }
+
+- if (mod->tqmetaObject()->findSignal("enableAction(const char*,bool)") != -1) {
++ if (mod->metaObject()->findSignal("enableAction(const char*,bool)") != -1) {
+ connect(mod,TQT_SIGNAL(enableAction( const char *, bool)),
+ this,TQT_SLOT(enableAction(const char *, bool)));
+ }
+
+- if (mod->tqmetaObject()->findSignal("createNewWindow(const KURL&,const KParts::URLArgs&)") != -1) {
++ if (mod->metaObject()->findSignal("createNewWindow(const KURL&,const KParts::URLArgs&)") != -1) {
+ connect(mod,TQT_SIGNAL(createNewWindow( const KURL &, const KParts::URLArgs &)),
+ this,TQT_SLOT(createNewWindow( const KURL &, const KParts::URLArgs &)));
+ }
+@@ -1255,7 +1255,7 @@
+ m_noUpdate = true;
+ for (uint i=0;i<m_buttons.count();i++)
+ {
+- ButtonInfo *button = m_buttons.tqat(i);
++ ButtonInfo *button = m_buttons.at(i);
+ if (button->dock)
+ button->dock->undock();
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/sidebar_widget.h v3.5.13-sru/konqueror/sidebar/sidebar_widget.h
+--- /tmp/stable//kdebase/konqueror/sidebar/sidebar_widget.h 2011-03-12 07:58:17.000000000 +0100
++++ v3.5.13-sru/konqueror/sidebar/sidebar_widget.h 2012-07-31 17:17:50.000000000 +0200
+@@ -107,7 +107,7 @@
+ void stdAction(const char *handlestd);
+ //virtual KParts::ReadOnlyPart *getPart();
+ KParts::BrowserExtension *getExtension();
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+
+ public slots:
+ void addWebSideBar(const KURL& url, const TQString& name);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp v3.5.13-sru/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -387,7 +387,7 @@
+ else
+ return;
+
+- DCOPRef ref(kapp->dcopClient()->appId(), tree()->tqtopLevelWidget()->name());
++ DCOPRef ref(kapp->dcopClient()->appId(), tree()->topLevelWidget()->name());
+
+ if (bookmark.isGroup()) {
+ KBookmarkGroup group = bookmark.toGroup();
+@@ -412,9 +412,9 @@
+
+ if ( !bookmark.isGroup() )
+ {
+- kapp->tqclipboard()->setData( KBookmarkDrag::newDrag(bookmark, 0),
++ kapp->clipboard()->setData( KBookmarkDrag::newDrag(bookmark, 0),
+ TQClipboard::Selection );
+- kapp->tqclipboard()->setData( KBookmarkDrag::newDrag(bookmark, 0),
++ kapp->clipboard()->setData( KBookmarkDrag::newDrag(bookmark, 0),
+ TQClipboard::Clipboard );
+ }
+ }
+@@ -490,7 +490,7 @@
+ item->setOpen(false);
+ }
+ else if ( bk.isSeparator() )
+- item->tqsetVisible( false );
++ item->setVisible( false );
+ else
+ item->setExpandable( false );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp v3.5.13-sru/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -108,7 +108,7 @@
+ return m_fileItem->iconName() == "folder";
+ }
+
+-void KonqSidebarDirTreeItem::paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _tqalignment )
++void KonqSidebarDirTreeItem::paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _alignment )
+ {
+ if (m_fileItem->isLink())
+ {
+@@ -116,7 +116,7 @@
+ f.setItalic( TRUE );
+ _painter->setFont( f );
+ }
+- TQListViewItem::paintCell( _painter, _cg, _column, _width, _tqalignment );
++ TQListViewItem::paintCell( _painter, _cg, _column, _width, _alignment );
+ }
+
+ KURL KonqSidebarDirTreeItem::externalURL() const
+@@ -162,8 +162,8 @@
+ if ( m_fileItem->url().directory(false) == KGlobalSettings::trashPath() )
+ bInTrash = true;
+
+- TQMimeSource *data = TQApplication::tqclipboard()->data();
+- bool paste = ( data->tqencodedData( data->format() ).size() != 0 );
++ TQMimeSource *data = TQApplication::clipboard()->data();
++ bool paste = ( data->encodedData( data->format() ).size() != 0 );
+
+ tree()->enableActions( true, true, paste, true && !bInTrash, true, true );
+ }
+@@ -197,7 +197,7 @@
+ {
+ // move or not move ?
+ bool move = false;
+- TQMimeSource *data = TQApplication::tqclipboard()->data();
++ TQMimeSource *data = TQApplication::clipboard()->data();
+ if ( data->provides( "application/x-kde-cutselection" ) ) {
+ move = KonqDrag::decodeIsCutSelection( data );
+ kdDebug(1201) << "move (from clipboard data) = " << move << endl;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/dirtree_module/dirtree_item.h v3.5.13-sru/konqueror/sidebar/trees/dirtree_module/dirtree_item.h
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/dirtree_module/dirtree_item.h 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/sidebar/trees/dirtree_module/dirtree_item.h 2012-07-31 17:17:50.000000000 +0200
+@@ -36,7 +36,7 @@
+
+ virtual void setOpen( bool open );
+
+- virtual void paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _tqalignment );
++ virtual void paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _alignment );
+
+ virtual bool acceptsDrops( const TQStrList & formats );
+ virtual void drop( TQDropEvent * ev );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp v3.5.13-sru/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -357,7 +357,7 @@
+ if (openItem)
+ {
+ // We have this directory listed already, just copy the entries as we
+- // can't use the dirlister, it would tqinvalidate the old entries
++ // can't use the dirlister, it would invalidate the old entries
+ int size = KGlobal::iconLoader()->currentSize( KIcon::Small );
+ KonqSidebarTreeItem * parentItem = item;
+ KonqSidebarDirTreeItem *oldItem = static_cast<KonqSidebarDirTreeItem *> (openItem->firstChild());
+@@ -400,7 +400,7 @@
+ kdDebug(1201) << this << " KonqSidebarDirTreeModule::slotNewItems " << entries.count() << endl;
+
+ Q_ASSERT(entries.count());
+- KFileItem * firstItem = const_cast<KFileItemList&>(entries).first(); // qlist sucks for constness
++ KFileItem * firstItem = const_cast<KFileItemList&>(entries).last(); // qlist sucks for constness
+
+ // Find parent item - it's the same for all the items
+ KURL dir( firstItem->url().url(-1) );
+@@ -574,7 +574,7 @@
+ if ( item->childCount() == 0 )
+ {
+ item->setExpandable( false );
+- item->tqrepaint();
++ item->repaint();
+ }
+ m_pTree->stopAnimation( item );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_dlg.ui v3.5.13-sru/konqueror/sidebar/trees/history_module/history_dlg.ui
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_dlg.ui 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/sidebar/trees/history_module/history_dlg.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -40,7 +40,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>240</width>
+ <height>16</height>
+@@ -193,7 +193,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>418</width>
+ <height>0</height>
+@@ -212,7 +212,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>30</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_item.cpp v3.5.13-sru/konqueror/sidebar/trees/history_module/history_item.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_item.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/trees/history_module/history_item.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -126,10 +126,10 @@
+ }
+
+ void KonqSidebarHistoryItem::paintCell( TQPainter *p, const TQColorGroup & cg,
+- int column, int width, int tqalignment )
++ int column, int width, int alignment )
+ {
+ TQDateTime dt;
+- TQDateTime current = TQDateTime::tqcurrentDateTime();
++ TQDateTime current = TQDateTime::currentDateTime();
+
+ if ( s_settings->m_metricYoungerThan == KonqSidebarHistorySettings::DAYS )
+ dt = TQT_TQDATETIME_OBJECT(current.addDays( - s_settings->m_valueYoungerThan ));
+@@ -149,7 +149,7 @@
+ p->setFont( s_settings->m_fontOlderThan );
+ }
+
+- KonqSidebarTreeItem::paintCell( p, cg, column, width, tqalignment );
++ KonqSidebarTreeItem::paintCell( p, cg, column, width, alignment );
+ }
+
+ ///////////////////////////////////////////////////////////////////
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_item.h v3.5.13-sru/konqueror/sidebar/trees/history_module/history_item.h
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_item.h 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/sidebar/trees/history_module/history_item.h 2012-07-31 17:17:50.000000000 +0200
+@@ -60,7 +60,7 @@
+ static void setSettings( KonqSidebarHistorySettings *s ) { s_settings = s; }
+
+ virtual void paintCell( TQPainter *, const TQColorGroup & cg, int column,
+- int width, int tqalignment );
++ int width, int alignment );
+
+ private:
+ const KonqHistoryEntry *m_entry;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_module.cpp v3.5.13-sru/konqueror/sidebar/trees/history_module/history_module.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_module.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/trees/history_module/history_module.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -54,7 +54,7 @@
+ connect( s_settings, TQT_SIGNAL( settingsChanged() ), TQT_SLOT( slotSettingsChanged() ));
+
+ m_dict.setAutoDelete( true );
+- m_currentTime = TQDateTime::tqcurrentDateTime();
++ m_currentTime = TQDateTime::currentDateTime();
+
+ KConfig *kc = KGlobal::config();
+ KConfigGroupSaver cs( kc, "HistorySettings" );
+@@ -132,7 +132,7 @@
+ KonqHistoryEntry *entry;
+ KonqHistoryList entries( KonqHistoryManager::kself()->entries() );
+ KonqHistoryIterator it( entries );
+- m_currentTime = TQDateTime::tqcurrentDateTime();
++ m_currentTime = TQDateTime::currentDateTime();
+
+ // the group item and the item of the serverroot '/' get a fav-icon
+ // if available. All others get the protocol icon.
+@@ -171,7 +171,7 @@
+ if ( !m_initialized )
+ return;
+
+- m_currentTime = TQDateTime::tqcurrentDateTime();
++ m_currentTime = TQDateTime::currentDateTime();
+ KonqSidebarHistoryGroupItem *group = getGroupItem( entry->url );
+ KonqSidebarHistoryItem *item = group->findChild( entry );
+ if ( !item )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_settings.cpp v3.5.13-sru/konqueror/sidebar/trees/history_module/history_settings.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_settings.cpp 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/sidebar/trees/history_module/history_settings.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -56,8 +56,8 @@
+ m_valueYoungerThan = config->readNumEntry("Value youngerThan", 1 );
+ m_valueOlderThan = config->readNumEntry("Value olderThan", 2 );
+
+- TQString minutes = TQString::tqfromLatin1("minutes");
+- TQString days = TQString::tqfromLatin1("days");
++ TQString minutes = TQString::fromLatin1("minutes");
++ TQString days = TQString::fromLatin1("days");
+ TQString metric = config->readEntry("Metric youngerThan", days );
+ m_metricYoungerThan = (metric == days) ? DAYS : MINUTES;
+ metric = config->readEntry("Metric olderThan", days );
+@@ -83,8 +83,8 @@
+ config->writeEntry("Value youngerThan", m_valueYoungerThan );
+ config->writeEntry("Value olderThan", m_valueOlderThan );
+
+- TQString minutes = TQString::tqfromLatin1("minutes");
+- TQString days = TQString::tqfromLatin1("days");
++ TQString minutes = TQString::fromLatin1("minutes");
++ TQString days = TQString::fromLatin1("days");
+ config->writeEntry("Metric youngerThan", m_metricYoungerThan == DAYS ?
+ days : minutes );
+ config->writeEntry("Metric olderThan", m_metricOlderThan == DAYS ?
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/konq_sidebartree.cpp v3.5.13-sru/konqueror/sidebar/trees/konq_sidebartree.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/konq_sidebartree.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/trees/konq_sidebartree.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -516,7 +516,7 @@
+ return;
+
+ m_dropItem->setOpen( true );
+- m_dropItem->tqrepaint();
++ m_dropItem->repaint();
+ }
+
+ void KonqSidebarTree::rescanConfiguration()
+@@ -606,7 +606,7 @@
+ // Version 5 includes the audiocd browser
+ // Version 6 includes the printmanager and lan browser
+ const int currentVersion = 6;
+- TQString key = TQString::tqfromLatin1("X-KDE-DirTreeVersionNumber");
++ TQString key = TQString::fromLatin1("X-KDE-DirTreeVersionNumber");
+ KSimpleConfig versionCfg( path + "/.directory" );
+ int versionNumber = versionCfg.readNumEntry( key, 1 );
+ kdDebug(1201) << "KonqSidebarTree::scanDir found version " << versionNumber << endl;
+@@ -813,7 +813,7 @@
+ for (; it != end; ++it )
+ {
+ uint & iconNumber = it.data().iconNumber;
+- TQString icon = TQString::tqfromLatin1( it.data().iconBaseName ).append( TQString::number( iconNumber ) );
++ TQString icon = TQString::fromLatin1( it.data().iconBaseName ).append( TQString::number( iconNumber ) );
+ it.key()->setPixmap( 0, SmallIcon( icon));
+
+ iconNumber++;
+@@ -882,7 +882,7 @@
+ bool KonqSidebarTree::tabSupport()
+ {
+ // see if the newTab() dcop function is available (i.e. the sidebar is embedded into konqueror)
+- DCOPRef ref(kapp->dcopClient()->appId(), tqtopLevelWidget()->name());
++ DCOPRef ref(kapp->dcopClient()->appId(), topLevelWidget()->name());
+ DCOPReply reply = ref.call("functions()");
+ if (reply.isValid()) {
+ QCStringList funcs;
+@@ -1023,7 +1023,7 @@
+ void KonqSidebarTree::slotOpenTab()
+ {
+ if (!m_currentTopLevelItem) return;
+- DCOPRef ref(kapp->dcopClient()->appId(), tqtopLevelWidget()->name());
++ DCOPRef ref(kapp->dcopClient()->appId(), topLevelWidget()->name());
+ ref.call( "newTab(TQString)", m_currentTopLevelItem->externalURL().url() );
+ }
+
+@@ -1031,8 +1031,8 @@
+ {
+ if (!m_currentTopLevelItem) return;
+ KURL url = m_currentTopLevelItem->externalURL();
+- kapp->tqclipboard()->setData( new KURLDrag(url, 0), TQClipboard::Selection );
+- kapp->tqclipboard()->setData( new KURLDrag(url, 0), TQClipboard::Clipboard );
++ kapp->clipboard()->setData( new KURLDrag(url, 0), TQClipboard::Selection );
++ kapp->clipboard()->setData( new KURLDrag(url, 0), TQClipboard::Clipboard );
+ }
+
+ ///////////////////////////////////////////////////////////////////
+@@ -1045,7 +1045,7 @@
+ if ( item ) {
+ TQString text = static_cast<KonqSidebarTreeItem*>( item )->toolTipText();
+ if ( !text.isEmpty() )
+- tip ( m_view->tqitemRect( item ), text );
++ tip ( m_view->itemRect( item ), text );
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/konqsidebar_tree.cpp v3.5.13-sru/konqueror/sidebar/trees/konqsidebar_tree.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/konqsidebar_tree.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/trees/konqsidebar_tree.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -76,14 +76,14 @@
+ {
+ TQDragObject * drag = static_cast<KonqSidebarTreeItem*>(tree->selectedItem())->dragObject( 0L, true );
+ if (drag)
+- TQApplication::tqclipboard()->setData( drag );
++ TQApplication::clipboard()->setData( drag );
+ }
+
+ void KonqSidebar_Tree::copy()
+ {
+ TQDragObject * drag = static_cast<KonqSidebarTreeItem*>(tree->selectedItem())->dragObject( 0L );
+ if (drag)
+- TQApplication::tqclipboard()->setData( drag );
++ TQApplication::clipboard()->setData( drag );
+ }
+
+ void KonqSidebar_Tree::paste()
+@@ -150,7 +150,7 @@
+ {
+ int id=names.findIndex( item );
+ if (id==-1) return false;
+- KSimpleConfig ksc2(*list.tqat(id));
++ KSimpleConfig ksc2(*list.at(id));
+ ksc2.setGroup("Desktop Entry");
+ map->insert("Type","Link");
+ map->insert("Icon",ksc2.readEntry("Icon"));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/konq_sidebartreetoplevelitem.cpp v3.5.13-sru/konqueror/sidebar/trees/konq_sidebartreetoplevelitem.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/konq_sidebartreetoplevelitem.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/trees/konq_sidebartreetoplevelitem.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -50,7 +50,7 @@
+ void KonqSidebarTreeTopLevelItem::itemSelected()
+ {
+ kdDebug() << "KonqSidebarTreeTopLevelItem::itemSelected" << endl;
+- TQMimeSource *data = TQApplication::tqclipboard()->data();
++ TQMimeSource *data = TQApplication::clipboard()->data();
+ bool paste = m_bTopLevelGroup && data->provides("text/uri-list");
+ tree()->enableActions( true, true, paste, true, true, true /*rename*/ );
+ }
+@@ -157,7 +157,7 @@
+ {
+ // move or not move ?
+ bool move = false;
+- TQMimeSource *data = TQApplication::tqclipboard()->data();
++ TQMimeSource *data = TQApplication::clipboard()->data();
+ if ( data->provides( "application/x-kde-cutselection" ) ) {
+ move = KonqDrag::decodeIsCutSelection( data );
+ kdDebug(1201) << "move (from clipboard data) = " << move << endl;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/doc/VT100/Table.Codes v3.5.13-sru/konsole/doc/VT100/Table.Codes
+--- /tmp/stable//kdebase/konsole/doc/VT100/Table.Codes 2011-03-12 07:58:21.000000000 +0100
++++ v3.5.13-sru/konsole/doc/VT100/Table.Codes 2012-07-31 17:17:50.000000000 +0200
+@@ -1070,7 +1070,7 @@
+ DECALN.code HSH|8|
+ DECALN.text
+ Causes the VT100 to fill it's screen with
+- uppercase Es for screen focus and tqalignment.
++ uppercase Es for screen focus and alignment.
+ DECALN.table.XPS
+ Subcode|Emulation|Scope|Operation|Args|Meaning
+ N/A|VT100|scr|helpAlign||see above
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/doc/VT100/techref.html v3.5.13-sru/konsole/doc/VT100/techref.html
+--- /tmp/stable//kdebase/konsole/doc/VT100/techref.html 2011-03-12 07:58:21.000000000 +0100
++++ v3.5.13-sru/konsole/doc/VT100/techref.html 2012-07-31 17:17:50.000000000 +0200
+@@ -2234,7 +2234,7 @@
+ <tr><td><p></td>
+ <tr><td></td>
+ <td colspan=6> Causes the VT100 to fill it's screen with
+- uppercase Es for screen focus and tqalignment.
++ uppercase Es for screen focus and alignment.
+ <tr><td><p></td></tr>
+ <tr>
+ <td></td>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/keytrans.cpp v3.5.13-sru/konsole/konsole/keytrans.cpp
+--- /tmp/stable//kdebase/konsole/konsole/keytrans.cpp 2011-08-16 01:07:51.000000000 +0200
++++ v3.5.13-sru/konsole/konsole/keytrans.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -362,7 +362,7 @@
+ ;
+ TQBuffer* newbuf;
+ newbuf = new TQBuffer();
+- newbuf->tqsetBufferFromCopy(txt);
++ newbuf->setBuffer(txt);
+ buf=TQT_TQIODEVICE(newbuf);
+ }
+ else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/konsole.cpp v3.5.13-sru/konsole/konsole/konsole.cpp
+--- /tmp/stable//kdebase/konsole/konsole/konsole.cpp 2011-10-16 21:40:23.000000000 +0200
++++ v3.5.13-sru/konsole/konsole/konsole.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -1158,7 +1158,7 @@
+ TQT_TQOBJECT(this), TQT_SLOT(nextSession()), m_shortcuts, "next_session");
+
+ for (int i=1;i<13;i++) { // Due to 12 function keys?
+- new KAction(i18n("Switch to Session %1").tqarg(i), 0, TQT_TQOBJECT(this), TQT_SLOT(switchToSession()), m_shortcuts, TQString(TQString().sprintf("switch_to_session_%02d", i)).latin1());
++ new KAction(i18n("Switch to Session %1").arg(i), 0, TQT_TQOBJECT(this), TQT_SLOT(switchToSession()), m_shortcuts, TQString(TQString().sprintf("switch_to_session_%02d", i)).latin1());
+ }
+
+ new KAction(i18n("Enlarge Font"), 0, TQT_TQOBJECT(this), TQT_SLOT(biggerFont()), m_shortcuts, "bigger_font");
+@@ -1289,7 +1289,7 @@
+ te->setSize(columns, lines);
+ adjustSize();
+ if (b_fixedSize)
+- setFixedSize(tqsizeHint());
++ setFixedSize(sizeHint());
+ notifySize(columns, lines); // set menu items
+ }
+ }
+@@ -1313,7 +1313,7 @@
+ if (!m_menuCreated)
+ makeGUI();
+
+- m_contextMenuSession = sessions.tqat( tabwidget->indexOf( _te ) );
++ m_contextMenuSession = sessions.at( tabwidget->indexOf( _te ) );
+
+ m_tabDetachSession->setEnabled( tabwidget->count()>1 );
+
+@@ -1384,12 +1384,12 @@
+ for(int i = 0; i < tabwidget->count(); i++) {
+
+ TQWidget *page = tabwidget->page(i);
+- TQIconSet icon = iconSetForSession(sessions.tqat(i));
++ TQIconSet icon = iconSetForSession(sessions.at(i));
+ TQString title;
+ if (b_matchTabWinTitle)
+- title = sessions.tqat(i)->fullTitle();
++ title = sessions.at(i)->fullTitle();
+ else
+- title = sessions.tqat(i)->Title();
++ title = sessions.at(i)->Title();
+
+ title=title.replace('&',"&&");
+ switch(mode) {
+@@ -1437,7 +1437,7 @@
+ TQString::null, &ok, this );
+ if ( ok ) {
+ TQString path = locateLocal( "data",
+- TQString::tqfromLatin1( "konsole/profiles/" ) + prof,
++ TQString::fromLatin1( "konsole/profiles/" ) + prof,
+ KGlobal::instance() );
+
+ if ( TQFile::exists( path ) )
+@@ -1622,7 +1622,7 @@
+ ColorSchema* sch = colors->find(schema.isEmpty() ? s_kconfigSchema : schema);
+ if (!sch)
+ {
+- sch = (ColorSchema*)colors->tqat(0); //the default one
++ sch = (ColorSchema*)colors->at(0); //the default one
+ kdWarning() << "Could not find schema named " <<s_kconfigSchema<<"; using "<<sch->relPath()<<endl;
+ s_kconfigSchema = sch->relPath();
+ }
+@@ -1650,7 +1650,7 @@
+ delete rootxpms[te];
+ rootxpms.remove(te);
+ }
+- pixmap_menu_activated(sch->tqalignment());
++ pixmap_menu_activated(sch->alignment());
+ }
+
+ te->setColorTable(sch->table()); //FIXME: set twice here to work around a bug
+@@ -1886,7 +1886,7 @@
+ m_schema->clear();
+ for (int i = 0; i < (int) colors->count(); i++)
+ {
+- ColorSchema* s = (ColorSchema*)colors->tqat(i);
++ ColorSchema* s = (ColorSchema*)colors->at(i);
+ assert( s );
+ TQString title=s->title();
+ m_schema->insertItem(title.replace('&',"&&"),s->numb(),0);
+@@ -1927,7 +1927,7 @@
+ if (b_fixedSize)
+ {
+ adjustSize();
+- setFixedSize(tqsizeHint());
++ setFixedSize(sizeHint());
+ }
+ if (!showMenubar->isChecked()) {
+ setCaption(i18n("Use the right mouse button to bring back the menu"));
+@@ -2002,12 +2002,12 @@
+ /* FIXME: Still necessary ? */
+ TQPtrDictIterator<KRootPixmap> it(rootxpms);
+ for (;it.current();++it)
+- it.current()->tqrepaint(true);
++ it.current()->repaint(true);
+
+ if (b_fixedSize)
+ {
+ adjustSize();
+- setFixedSize(tqsizeHint());
++ setFixedSize(sizeHint());
+ }
+ }
+
+@@ -2129,7 +2129,7 @@
+ ColorSchema* sch = colors->find(s_kconfigSchema);
+ if (!sch)
+ {
+- sch = (ColorSchema*)colors->tqat(0); //the default one
++ sch = (ColorSchema*)colors->at(0); //the default one
+ kdWarning() << "Could not find schema named " <<s_kconfigSchema<<"; using "<<sch->relPath()<<endl;
+ s_kconfigSchema = sch->relPath();
+ }
+@@ -2500,7 +2500,7 @@
+ if (position<=0 || position>(int)sessions.count())
+ return "";
+
+- return sessions.tqat(position-1)->SessionId();
++ return sessions.at(position-1)->SessionId();
+ }
+
+ void Konsole::listSessions()
+@@ -2526,7 +2526,7 @@
+ {
+ if (position<0 || position>=(int)sessions.count())
+ return;
+- activateSession( sessions.tqat(position) );
++ activateSession( sessions.at(position) );
+ }
+
+ void Konsole::activateSession(TQWidget* w)
+@@ -2586,11 +2586,11 @@
+ // Set the required schema variables for the current session
+ ColorSchema* cs = colors->find( se->schemaNo() );
+ if (!cs)
+- cs = (ColorSchema*)colors->tqat(0); //the default one
++ cs = (ColorSchema*)colors->at(0); //the default one
+ s_schema = cs->relPath();
+ curr_schema = cs->numb();
+ pmPath = cs->imagePath();
+- n_render = cs->tqalignment();
++ n_render = cs->alignment();
+
+ // BR 106464 temporary fix...
+ // only 2 sessions opened, 2nd session viewable, right-click on 1st tab and
+@@ -2632,7 +2632,7 @@
+ if (monitorSilence) monitorSilence->setChecked( se->isMonitorSilence() );
+ masterMode->setChecked( se->isMasterMode() );
+ sessions.find(se);
+- uint position=sessions.tqat();
++ uint position=sessions.at();
+ if (m_moveSessionLeft) m_moveSessionLeft->setEnabled(position>0);
+ if (m_moveSessionRight) m_moveSessionRight->setEnabled(position<sessions.count()-1);
+ }
+@@ -2871,7 +2871,7 @@
+
+ ColorSchema* schema = colors->find(sch);
+ if (!schema)
+- schema=(ColorSchema*)colors->tqat(0); //the default one
++ schema=(ColorSchema*)colors->at(0); //the default one
+ int schmno = schema->numb();
+
+ if (sessions.count()==1 && n_tabbar!=TabNone)
+@@ -3063,7 +3063,7 @@
+ se = 0;
+ if (sessions.count())
+ {
+- se = sessions.tqat(sessionIndex ? sessionIndex - 1 : 0);
++ se = sessions.at(sessionIndex ? sessionIndex - 1 : 0);
+
+ session2action.find(se)->setChecked(true);
+ //FIXME: this Timer stupidity originated from the connected
+@@ -3081,7 +3081,7 @@
+ }
+ else {
+ sessions.find(se);
+- uint position=sessions.tqat();
++ uint position=sessions.at();
+ m_moveSessionLeft->setEnabled(position>0);
+ m_moveSessionRight->setEnabled(position<sessions.count()-1);
+ }
+@@ -3135,7 +3135,7 @@
+ void Konsole::moveSessionLeft()
+ {
+ sessions.find(se);
+- uint position=sessions.tqat();
++ uint position=sessions.at();
+ if (position==0)
+ return;
+
+@@ -3167,7 +3167,7 @@
+ void Konsole::moveSessionRight()
+ {
+ sessions.find(se);
+- uint position=sessions.tqat();
++ uint position=sessions.at();
+
+ if (position==sessions.count()-1)
+ return;
+@@ -3498,7 +3498,7 @@
+ co->writeEntry("Name", socket);
+ TQString txt = i18n("Screen is a program controlling screens!", "Screen at %1").arg(socket);
+ co->writeEntry("Comment", txt);
+- co->writePathEntry("Exec", TQString::tqfromLatin1("SCREENDIR=%1 screen -r %2")
++ co->writePathEntry("Exec", TQString::fromLatin1("SCREENDIR=%1 screen -r %2")
+ .arg(path).arg(socket));
+ TQString icon = "konsole";
+ cmd_serial++;
+@@ -3570,7 +3570,7 @@
+ ColorSchema* s = colors->find(numb);
+ if (!s)
+ {
+- s = (ColorSchema*)colors->tqat(0);
++ s = (ColorSchema*)colors->at(0);
+ kdWarning() << "No schema with serial #"<<numb<<", using "<<s->relPath()<<" (#"<<s->numb()<<")." << endl;
+ s_kconfigSchema = s->relPath();
+ }
+@@ -3587,7 +3587,7 @@
+ ColorSchema* s = colors->find(path);
+ if (!s)
+ {
+- s = (ColorSchema*)colors->tqat(0); //the default one
++ s = (ColorSchema*)colors->at(0); //the default one
+ kdWarning() << "No schema with the name " <<path<<", using "<<s->relPath()<<endl;
+ s_kconfigSchema = s->relPath();
+ }
+@@ -3639,7 +3639,7 @@
+ delete rootxpms[tewidget];
+ rootxpms.remove(tewidget);
+ }
+- pixmap_menu_activated(s->tqalignment(), tewidget);
++ pixmap_menu_activated(s->alignment(), tewidget);
+ tewidget->setBlendColor(tqRgba(0, 0, 0, 0xff));
+ }
+
+@@ -3718,7 +3718,7 @@
+ if (se_previous)
+ se = se_previous;
+ else
+- se = sessions.tqat(sessionIndex ? sessionIndex - 1 : 0);
++ se = sessions.at(sessionIndex ? sessionIndex - 1 : 0);
+ session2action.find(se)->setChecked(true);
+ TQTimer::singleShot(1,this,TQT_SLOT(activateSession()));
+ }
+@@ -3992,7 +3992,7 @@
+
+ m_filterData = new KURIFilterData( selectedURL );
+ KURIFilter::self()->filterURI( *(m_filterData) );
+- m_openSelection->insertItem( SmallIconSet( m_filterData->iconName() ),i18n( "%1" ).tqarg(m_filterData->uri().url()), 1 );
++ m_openSelection->insertItem( SmallIconSet( m_filterData->iconName() ),i18n( "%1" ).arg(m_filterData->uri().url()), 1 );
+
+ connect(m_openSelection, TQT_SIGNAL(activated(int)), TQT_SLOT(slotOpenURI(int)));
+ }
+@@ -4207,7 +4207,7 @@
+ TQPtrList<TEWidget> tes = activeTEs();
+ for (TEWidget *_te = tes.first(); _te; _te = tes.next()) {
+ _te->setBidiEnabled(b_bidiEnabled);
+- _te->tqrepaint();
++ _te->repaint();
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/konsole_part.cpp v3.5.13-sru/konsole/konsole/konsole_part.cpp
+--- /tmp/stable//kdebase/konsole/konsole/konsole_part.cpp 2011-10-16 21:40:23.000000000 +0200
++++ v3.5.13-sru/konsole/konsole/konsole_part.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -577,7 +577,7 @@
+ s_kconfigSchema=config->readEntry("schema");
+ ColorSchema* sch = colors->find(schema.isEmpty() ? s_kconfigSchema : schema);
+ if (!sch) {
+- sch=(ColorSchema*)colors->tqat(0); //the default one
++ sch=(ColorSchema*)colors->at(0); //the default one
+ }
+ if (sch->hasSchemaFileChanged()) sch->rereadSchemaFile();
+ s_schema = sch->relPath();
+@@ -591,7 +591,7 @@
+ rootxpm = new KRootPixmap(TQT_TQWIDGET(te));
+ rootxpm->setFadeEffect(sch->tr_x(), TQColor(sch->tr_r(), sch->tr_g(), sch->tr_b()));
+ rootxpm->start();
+- rootxpm->tqrepaint(true);
++ rootxpm->repaint(true);
+ }
+ else {
+ te->setBlendColor(tqRgba(sch->tr_r(), sch->tr_g(), sch->tr_b(), int(sch->tr_x() * 255)));
+@@ -604,7 +604,7 @@
+ delete rootxpm;
+ rootxpm=0;
+ }
+- pixmap_menu_activated(sch->tqalignment());
++ pixmap_menu_activated(sch->alignment());
+ }
+
+ te->setBellMode(n_bell);
+@@ -737,7 +737,7 @@
+
+ m_schema->clear();
+ for (int i = 0; i < (int) colors->count(); i++) {
+- ColorSchema* s = (ColorSchema*)colors->tqat(i);
++ ColorSchema* s = (ColorSchema*)colors->at(i);
+ TQString title=s->title();
+ m_schema->insertItem(title.replace('&',"&&"),s->numb(),0);
+ }
+@@ -752,7 +752,7 @@
+ ColorSchema* s = colors->find(numb);
+ if (!s) {
+ kdWarning() << "No schema found. Using default." << endl;
+- s=(ColorSchema*)colors->tqat(0);
++ s=(ColorSchema*)colors->at(0);
+ }
+ if (s->numb() != numb) {
+ kdWarning() << "No schema with number " << numb << endl;
+@@ -785,7 +785,7 @@
+ rootxpm = new KRootPixmap(TQT_TQWIDGET(te));
+ rootxpm->setFadeEffect(s->tr_x(), TQColor(s->tr_r(), s->tr_g(), s->tr_b()));
+ rootxpm->start();
+- rootxpm->tqrepaint(true);
++ rootxpm->repaint(true);
+ }
+ else {
+ te->setBlendColor(tqRgba(s->tr_r(), s->tr_g(), s->tr_b(), int(s->tr_x() * 255)));
+@@ -798,7 +798,7 @@
+ delete rootxpm;
+ rootxpm=0;
+ }
+- pixmap_menu_activated(s->tqalignment());
++ pixmap_menu_activated(s->alignment());
+ }
+
+ te->setColorTable(s->table());
+@@ -809,8 +809,8 @@
+ {
+ ColorSchema *sch=colors->find(s_schema);
+
+- if (sch && sch->tqalignment() >= 3)
+- pixmap_menu_activated(sch->tqalignment());
++ if (sch && sch->alignment() >= 3)
++ pixmap_menu_activated(sch->alignment());
+ }
+
+ void konsolePart::pixmap_menu_activated(int item)
+@@ -1137,7 +1137,7 @@
+ {
+ TQString text = dir;
+ KRun::shellQuote(text);
+- text = TQString::tqfromLatin1("cd ") + text + '\n';
++ text = TQString::fromLatin1("cd ") + text + '\n';
+ te->emitText( text );
+ };
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/konsole_wcwidth.cpp v3.5.13-sru/konsole/konsole/konsole_wcwidth.cpp
+--- /tmp/stable//kdebase/konsole/konsole/konsole_wcwidth.cpp 2011-03-12 07:58:22.000000000 +0100
++++ v3.5.13-sru/konsole/konsole/konsole_wcwidth.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -214,7 +214,7 @@
+ int w = 0;
+
+ for ( uint i = 1; i < txt.length(); ++i ) {
+- w += konsole_wcwidth(txt[i].tqunicode());
++ w += konsole_wcwidth(txt[i].unicode());
+ }
+ return w;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/main.cpp v3.5.13-sru/konsole/konsole/main.cpp
+--- /tmp/stable//kdebase/konsole/konsole/main.cpp 2011-10-16 21:40:23.000000000 +0200
++++ v3.5.13-sru/konsole/konsole/main.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -271,7 +271,7 @@
+
+ TQString term = "";
+ if(args->isSet("tn")) {
+- term=TQString::tqfromLatin1(args->getOption("tn"));
++ term=TQString::fromLatin1(args->getOption("tn"));
+ }
+ login_shell = args->isSet("ls");
+
+@@ -591,7 +591,7 @@
+ //// Temporary code, waiting for Qt to do this properly
+
+ // Delete all toplevel widgets that have WDestructiveClose
+- TQWidgetList *list = TQApplication::tqtopLevelWidgets();
++ TQWidgetList *list = TQApplication::topLevelWidgets();
+ // remove all toplevel widgets that have a parent (i.e. they
+ // got WTopLevel explicitly), they'll be deleted by the parent
+ list->first();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/schema.cpp v3.5.13-sru/konsole/konsole/schema.cpp
+--- /tmp/stable//kdebase/konsole/konsole/schema.cpp 2011-08-11 07:25:55.000000000 +0200
++++ v3.5.13-sru/konsole/konsole/schema.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -131,7 +131,7 @@
+ ,lastRead(new TQDateTime())
+ {
+ //start with a valid time, aleXXX
+- *lastRead = TQDateTime::tqcurrentDateTime();
++ *lastRead = TQDateTime::currentDateTime();
+ TQString fPath = pathname.startsWith("/") ? pathname : locate("data", "konsole/"+pathname);
+ if (fPath.isEmpty() || !TQFile::exists(fPath))
+ {
+@@ -169,7 +169,7 @@
+
+ m_title = c.readEntry("Title",i18n("[no title]"));
+ m_imagePath = c.readEntry("ImagePath");
+- m_tqalignment = c.readNumEntry("ImageAlignment",1);
++ m_alignment = c.readNumEntry("ImageAlignment",1);
+ m_useTransparency = c.readBoolEntry("UseTransparency",false);
+
+ m_tr_r = c.readNumEntry("TransparentR",0);
+@@ -203,7 +203,7 @@
+ }
+ m_title = i18n("[no title]");
+ m_imagePath = "";
+- m_tqalignment = 1;
++ m_alignment = 1;
+ m_useTransparency = false;
+ m_tr_x = 0.0;
+ m_tr_r = 0;
+@@ -216,7 +216,7 @@
+ m_numb = 0;
+ m_title = i18n("Konsole Default");
+ m_imagePath = ""; // background pixmap
+- m_tqalignment = 1; // none
++ m_alignment = 1; // none
+ m_useTransparency = false; // not use pseudo-transparency by default
+ m_tr_r = m_tr_g = m_tr_b = 0; // just to be on the safe side
+ m_tr_x = 0.0;
+@@ -273,7 +273,7 @@
+ c.setGroup("SchemaGeneral");
+ c.writeEntry("Title",m_title);
+ c.writeEntry("ImagePath",m_imagePath);
+- c.writeEntry("ImageAlignment",m_tqalignment);
++ c.writeEntry("ImageAlignment",m_alignment);
+ c.writeEntry("UseTransparency",m_useTransparency);
+
+ c.writeEntry("TransparentR",m_tr_r);
+@@ -313,7 +313,7 @@
+
+ char line[100];
+
+- *lastRead = TQDateTime::tqcurrentDateTime();
++ *lastRead = TQDateTime::currentDateTime();
+
+ while (fscanf(sysin,"%80[^\n]\n",line) > 0)
+ {
+@@ -334,7 +334,7 @@
+
+ TQString qline(line);
+ m_imagePath = locate("wallpaper", qline.mid( qline.find(" ",7)+1 ) );
+- m_tqalignment = attr;
++ m_alignment = attr;
+ }
+ if (!strncmp(line,"transparency",12))
+ { float rx;
+@@ -388,7 +388,7 @@
+ if (!(0 <= fi && fi <= TABLE_COLORS)) continue;
+ if (!(0 <= tr && tr <= 1 )) continue;
+ if (!(0 <= bo && bo <= 1 )) continue;
+- m_table[fi].color = kapp->tqpalette().active().text();
++ m_table[fi].color = kapp->palette().active().text();
+ m_table[fi].transparent = tr;
+ m_table[fi].bold = bo;
+ }
+@@ -399,7 +399,7 @@
+ if (!(0 <= fi && fi <= TABLE_COLORS)) continue;
+ if (!(0 <= tr && tr <= 1 )) continue;
+ if (!(0 <= bo && bo <= 1 )) continue;
+- m_table[fi].color = kapp->tqpalette().active().base();
++ m_table[fi].color = kapp->palette().active().base();
+ m_table[fi].transparent = tr;
+ m_table[fi].bold = bo;
+ }
+@@ -615,7 +615,7 @@
+ // now.
+ //
+ //
+- TQDateTime now = TQDateTime::tqcurrentDateTime();
++ TQDateTime now = TQDateTime::currentDateTime();
+
+
+ r = updateAllSchemaTimes(now);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/schema.h v3.5.13-sru/konsole/konsole/schema.h
+--- /tmp/stable//kdebase/konsole/konsole/schema.h 2011-03-12 07:58:22.000000000 +0100
++++ v3.5.13-sru/konsole/konsole/schema.h 2012-07-31 17:17:50.000000000 +0200
+@@ -150,7 +150,7 @@
+ int numb() {if (!m_fileRead) rereadSchemaFile();return m_numb;};
+ const TQString& title() {if (!m_fileRead) rereadSchemaFile();return m_title;};
+ const TQString& imagePath() {if (!m_fileRead) rereadSchemaFile();return m_imagePath;};
+- int tqalignment() {if (!m_fileRead) rereadSchemaFile();return m_tqalignment;};
++ int alignment() {if (!m_fileRead) rereadSchemaFile();return m_alignment;};
+ const ColorEntry* table() {if (!m_fileRead) rereadSchemaFile();return m_table;};
+ bool useTransparency() {if (!m_fileRead) rereadSchemaFile();return m_useTransparency;};
+ double tr_x() {if (!m_fileRead) rereadSchemaFile();return m_tr_x;};
+@@ -162,7 +162,7 @@
+ private:
+ int m_numb;
+ int m_tr_r, m_tr_g, m_tr_b;
+- int m_tqalignment;
++ int m_alignment;
+ TQString m_title;
+ TQString m_imagePath;
+ ColorEntry m_table[TABLE_COLORS];
+@@ -188,7 +188,7 @@
+ const ColorSchema *at(unsigned int i)
+ { return TQPtrList<ColorSchema>::at(i); } ;
+ #ifdef USE_QT4
+- const ColorSchema *tqat(unsigned int i)
++ const ColorSchema *at(unsigned int i)
+ { return at(i); } ;
+ #endif // USE_QT4
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/session.cpp v3.5.13-sru/konsole/konsole/session.cpp
+--- /tmp/stable//kdebase/konsole/konsole/session.cpp 2011-08-11 07:25:55.000000000 +0200
++++ v3.5.13-sru/konsole/konsole/session.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -133,11 +133,11 @@
+ {
+ // FIXME: sh->error() is always empty
+ if ( sh->error().isEmpty() )
+- KMessageBox::error( te->tqtopLevelWidget(),
++ KMessageBox::error( te->topLevelWidget(),
+ i18n("Konsole is unable to open a PTY (pseudo teletype). It is likely that this is due to an incorrect configuration of the PTY devices. Konsole needs to have read/write access to the PTY devices."),
+ i18n("A Fatal Error Has Occurred") );
+ else
+- KMessageBox::error(te->tqtopLevelWidget(), sh->error());
++ KMessageBox::error(te->topLevelWidget(), sh->error());
+ emit done(this);
+ }
+
+@@ -645,7 +645,7 @@
+ connect( sh,TQT_SIGNAL(block_in(const char*,int)), this, TQT_SLOT(zmodemRcvBlock(const char*,int)) );
+ connect( sh,TQT_SIGNAL(buffer_empty()), this, TQT_SLOT(zmodemContinue()));
+
+- zmodemProgress = new ZModemDialog(te->tqtopLevelWidget(), false,
++ zmodemProgress = new ZModemDialog(te->topLevelWidget(), false,
+ i18n("ZModem Progress"));
+
+ connect(zmodemProgress, TQT_SIGNAL(user1Clicked()),
+@@ -767,7 +767,7 @@
+ void TESession::onRcvBlock( const char* buf, int len )
+ {
+ em->onRcvBlock( buf, len );
+- emit receivedData( TQString::tqfromLatin1( buf, len ) );
++ emit receivedData( TQString::fromLatin1( buf, len ) );
+ }
+
+ void TESession::print( TQPainter &paint, bool friendly, bool exact )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/TEmulation.cpp v3.5.13-sru/konsole/konsole/TEmulation.cpp
+--- /tmp/stable//kdebase/konsole/konsole/TEmulation.cpp 2011-08-11 07:25:55.000000000 +0200
++++ v3.5.13-sru/konsole/konsole/TEmulation.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -251,7 +251,7 @@
+ */
+
+ void TEmulation::onRcvChar(int c)
+-// process application tqunicode input to terminal
++// process application unicode input to terminal
+ // this is a trivial scanner
+ {
+ c &= 0xff;
+@@ -284,7 +284,7 @@
+ scr->setHistCursor(scr->getHistLines());
+ if (!ev->text().isEmpty())
+ { // A block of text
+- // Note that the text is proper tqunicode.
++ // Note that the text is proper unicode.
+ // We should do a conversion here, but since this
+ // routine will never be used, we simply emit plain ascii.
+ emit sndBlock(TQString(ev->text()).ascii(),ev->text().length());
+@@ -299,7 +299,7 @@
+ // Unblocking, Byte to Unicode translation --------------------------------- --
+
+ /*
+- We are doing code conversion from locale to tqunicode first.
++ We are doing code conversion from locale to unicode first.
+ */
+
+ void TEmulation::onRcvBlock(const char *s, int len)
+@@ -345,7 +345,7 @@
+ if (r[j].category() == TQChar::Mark_NonSpacing)
+ scr->compose(r.mid(j,1));
+ else
+- onRcvChar(r[j].tqunicode());
++ onRcvChar(r[j].unicode());
+ }
+ i = l;
+ }
+@@ -392,7 +392,7 @@
+ void TEmulation::copySelection() {
+ if (!connected) return;
+ TQString t = scr->getSelText(true);
+- TQApplication::tqclipboard()->setText(t);
++ TQApplication::clipboard()->setText(t);
+ }
+
+ TQString TEmulation::getSelection() {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/TEmuVt102.cpp v3.5.13-sru/konsole/konsole/TEmuVt102.cpp
+--- /tmp/stable//kdebase/konsole/konsole/TEmuVt102.cpp 2011-03-12 07:58:22.000000000 +0100
++++ v3.5.13-sru/konsole/konsole/TEmuVt102.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -307,7 +307,7 @@
+ #define ESC 27
+ #define CNTL(c) ((c)-'@')
+
+-// process an incoming tqunicode character
++// process an incoming unicode character
+
+ void TEmuVt102::onRcvChar(int cc)
+ { int i;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/TEScreen.cpp v3.5.13-sru/konsole/konsole/TEScreen.cpp
+--- /tmp/stable//kdebase/konsole/konsole/TEScreen.cpp 2011-03-12 07:58:22.000000000 +0100
++++ v3.5.13-sru/konsole/konsole/TEScreen.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -783,7 +783,7 @@
+ TQChar c(image[lastPos].c);
+ compose.prepend(c);
+ compose.compose();
+- image[lastPos].c = compose[0].tqunicode();
++ image[lastPos].c = compose[0].unicode();
+ }
+
+ // Region commands -------------------------------------------------------------
+@@ -1023,7 +1023,7 @@
+ }
+
+ /*! fill screen with 'E'
+- This is to aid screen tqalignment
++ This is to aid screen alignment
+ */
+
+ void TEScreen::helpAlign()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/TEWidget.cpp v3.5.13-sru/konsole/konsole/TEWidget.cpp
+--- /tmp/stable//kdebase/konsole/konsole/TEWidget.cpp 2011-09-01 03:15:58.000000000 +0200
++++ v3.5.13-sru/konsole/konsole/TEWidget.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -193,10 +193,10 @@
+ xterm fonts have these at 0x00..0x1f.
+
+ QT's iso mapping leaves 0x00..0x7f without any changes. But the graphicals
+- come in here as proper tqunicode characters.
++ come in here as proper unicode characters.
+
+ We treat non-iso10646 fonts as VT100 extended and do the requiered mapping
+- from tqunicode to 0x00..0x1f. The remaining translation is then left to the
++ from unicode to 0x00..0x1f. The remaining translation is then left to the
+ QCodec.
+ */
+
+@@ -215,7 +215,7 @@
+ /*
+ static TQChar vt100extended(TQChar c)
+ {
+- switch (c.tqunicode())
++ switch (c.unicode())
+ {
+ case 0x25c6 : return 1;
+ case 0x2592 : return 2;
+@@ -391,7 +391,7 @@
+ // konsole in opaque mode.
+ bY = bX = 1;
+
+- cb = TQApplication::tqclipboard();
++ cb = TQApplication::clipboard();
+ TQObject::connect( (TQObject*)cb, TQT_SIGNAL(selectionChanged()),
+ this, TQT_SLOT(onClearSelection()) );
+
+@@ -441,7 +441,7 @@
+ /* ------------------------------------------------------------------------- */
+
+ /**
+- A table for emulating the simple (single width) tqunicode drawing chars.
++ A table for emulating the simple (single width) unicode drawing chars.
+ It represents the 250x - 257x glyphs. If it's zero, we can't use it.
+ if it's not, it's encoded as follows: imagine a 5x5 grid where the points are numbered
+ 0 to 24 left to top, top to bottom. Each point is represented by the corresponding bit.
+@@ -564,7 +564,7 @@
+ int w;
+ for(unsigned int i=0;i<str.length();i++)
+ {
+- drawstr = str.tqat(i);
++ drawstr = str.at(i);
+ // Add double of the width if next c is 0;
+ if ((attr+nc+1)->c) // This may access image[image_size] See makeImage()
+ {
+@@ -578,7 +578,7 @@
+ }
+
+ //Check for line-drawing char
+- if (isLineChar(drawstr[0].tqunicode()))
++ if (isLineChar(drawstr[0].unicode()))
+ {
+ uchar code = drawstr[0].cell();
+ if (LineChars[code])
+@@ -814,7 +814,7 @@
+ int y,x,len;
+ const TQPixmap* pm = backgroundPixmap();
+ TQPainter paint;
+- tqsetUpdatesEnabled(false);
++ setUpdatesEnabled(false);
+ paint.begin( this );
+
+ TQPoint tL = contentsRect().topLeft();
+@@ -926,7 +926,7 @@
+ }
+ drawFrame( &paint );
+ paint.end();
+- tqsetUpdatesEnabled(true);
++ setUpdatesEnabled(true);
+ if ( hasBlinker && !blinkT->isActive()) blinkT->start(1000); // 1000 ms
+ if (!hasBlinker && blinkT->isActive()) { blinkT->stop(); blinking = false; }
+ free(dirtyMask);
+@@ -954,7 +954,7 @@
+ mResizeLabel = new TQLabel(i18n("Size: XXX x XXX"), mResizeWidget);
+ l->addWidget(mResizeLabel, 1, AlignCenter);
+ mResizeWidget->setMinimumWidth(mResizeLabel->fontMetrics().width(i18n("Size: XXX x XXX"))+20);
+- mResizeWidget->setMinimumHeight(mResizeLabel->tqsizeHint().height()+20);
++ mResizeWidget->setMinimumHeight(mResizeLabel->sizeHint().height()+20);
+ mResizeTimer = new TQTimer(this);
+ connect(mResizeTimer, TQT_SIGNAL(timeout()), mResizeWidget, TQT_SLOT(hide()));
+ }
+@@ -993,7 +993,7 @@
+ {
+ const TQPixmap* pm = backgroundPixmap();
+ TQPainter paint;
+- tqsetUpdatesEnabled(false);
++ setUpdatesEnabled(false);
+ paint.begin( this );
+ paint.setBackgroundMode( Qt::TransparentMode );
+
+@@ -1051,7 +1051,7 @@
+ erase( er );
+
+ paint.end();
+- tqsetUpdatesEnabled(true);
++ setUpdatesEnabled(true);
+ }
+
+ void TEWidget::print(TQPainter &paint, bool friendly, bool exact)
+@@ -1072,7 +1072,7 @@
+ pm.fill();
+
+ TQPainter pm_paint;
+- pm_paint.tqbegin(&pm, TQT_TQWIDGET(this));
++ pm_paint.begin(&pm, TQT_TQWIDGET(this));
+ paintContents(pm_paint, contentsRect(), true);
+ pm_paint.end();
+ paint.drawPixmap(0, 0, pm);
+@@ -1159,14 +1159,14 @@
+ {
+ blinking = !blinking;
+ isBlinkEvent = true;
+- tqrepaint(false);
++ repaint(false);
+ isBlinkEvent = false;
+ }
+
+ void TEWidget::blinkCursorEvent()
+ {
+ cursorBlinking = !cursorBlinking;
+- tqrepaint(cursorRect, true);
++ repaint(cursorRect, true);
+ }
+
+ /* ------------------------------------------------------------------------- */
+@@ -1185,9 +1185,9 @@
+ if (isFixedSize)
+ {
+ setSize(columns, lines);
+- TQFrame::setFixedSize(tqsizeHint());
++ TQFrame::setFixedSize(sizeHint());
+ parentWidget()->adjustSize();
+- parentWidget()->setFixedSize(parentWidget()->tqsizeHint());
++ parentWidget()->setFixedSize(parentWidget()->sizeHint());
+ return;
+ }
+ if (image)
+@@ -1742,14 +1742,14 @@
+
+ void TEWidget::focusInEvent( TQFocusEvent * )
+ {
+- tqrepaint(cursorRect, true); // *do* erase area, to get rid of the
++ repaint(cursorRect, true); // *do* erase area, to get rid of the
+ // hollow cursor rectangle.
+ }
+
+
+ void TEWidget::focusOutEvent( TQFocusEvent * )
+ {
+- tqrepaint(cursorRect, true); // don't erase area
++ repaint(cursorRect, true); // don't erase area
+ }
+
+ bool TEWidget::focusNextPrevChild( bool next )
+@@ -1803,8 +1803,8 @@
+ void TEWidget::emitSelection(bool useXselection,bool appendReturn)
+ // Paste Clipboard by simulating keypress events
+ {
+- TQApplication::tqclipboard()->setSelectionMode( useXselection );
+- TQString text = TQApplication::tqclipboard()->text();
++ TQApplication::clipboard()->setSelectionMode( useXselection );
++ TQString text = TQApplication::clipboard()->text();
+ if(appendReturn)
+ text.append("\r");
+ if ( ! text.isEmpty() )
+@@ -1814,13 +1814,13 @@
+ emit keyPressedSignal(&e); // expose as a big fat keypress event
+ emit clearSelectionSignal();
+ }
+- TQApplication::tqclipboard()->setSelectionMode( false );
++ TQApplication::clipboard()->setSelectionMode( false );
+ }
+
+ void TEWidget::setSelection(const TQString& t)
+ {
+ // Disconnect signal while WE set the clipboard
+- TQClipboard *cb = TQApplication::tqclipboard();
++ TQClipboard *cb = TQApplication::clipboard();
+ TQObject::disconnect( cb, TQT_SIGNAL(selectionChanged()),
+ this, TQT_SLOT(onClearSelection()) );
+
+@@ -1860,7 +1860,7 @@
+
+ //FIXME: an `eventFilter' has been installed instead of a `keyPressEvent'
+ // due to a bug in `QT' or the ignorance of the author to prevent
+-// tqrepaint events being emitted to the screen whenever one leaves
++// repaint events being emitted to the screen whenever one leaves
+ // or reenters the screen to/from another application.
+ //
+ // Troll says one needs to change focusInEvent() and focusOutEvent(),
+@@ -1880,7 +1880,7 @@
+ bool TEWidget::eventFilter( TQObject *obj, TQEvent *e )
+ {
+ if ( (e->type() == TQEvent::Accel ||
+- e->type() == TQEvent::AccelAvailable ) && tqApp->tqfocusWidget() == this )
++ e->type() == TQEvent::AccelAvailable ) && tqApp->focusWidget() == this )
+ {
+ TQT_TQKEYEVENT( e )->ignore();
+ return false;
+@@ -1984,7 +1984,7 @@
+ m_imPreeditLength = 0;
+
+ m_isIMEdit = m_isIMSel = false;
+- tqrepaint( repaintRect, true );
++ repaint( repaintRect, true );
+ }
+
+ // Override any Ctrl+<key> accelerator when pressed with the keyboard
+@@ -2104,7 +2104,7 @@
+
+ void TEWidget::calcGeometry()
+ {
+- scrollbar->resize(TQApplication::tqstyle().tqpixelMetric(TQStyle::PM_ScrollBarExtent),
++ scrollbar->resize(TQApplication::style().pixelMetric(TQStyle::PM_ScrollBarExtent),
+ contentsRect().height());
+ switch(scrollLoc)
+ {
+@@ -2177,7 +2177,7 @@
+ TQFrame::setFixedSize(m_size);
+ }
+
+-TQSize TEWidget::tqsizeHint() const
++TQSize TEWidget::sizeHint() const
+ {
+ return m_size;
+ }
+@@ -2242,7 +2242,7 @@
+ TQString tmp;
+ if (url.isLocalFile()) {
+ tmp = url.path(); // local URL : remove protocol. This helps "ln" & "cd" and doesn't harm the others
+- } else if ( url.protocol() == TQString::tqfromLatin1( "mailto" ) ) {
++ } else if ( url.protocol() == TQString::fromLatin1( "mailto" ) ) {
+ justPaste = true;
+ break;
+ } else {
+@@ -2268,7 +2268,7 @@
+ void TEWidget::doDrag()
+ {
+ dragInfo.state = diDragging;
+- dragInfo.dragObject = new TQTextDrag(TQApplication::tqclipboard()->text(TQClipboard::Selection), this);
++ dragInfo.dragObject = new TQTextDrag(TQApplication::clipboard()->text(TQClipboard::Selection), this);
+ dragInfo.dragObject->dragCopy();
+ // Don't delete the TQTextDrag object. Qt will delete it when it's done with it.
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/TEWidget.h v3.5.13-sru/konsole/konsole/TEWidget.h
+--- /tmp/stable//kdebase/konsole/konsole/TEWidget.h 2011-03-12 07:58:22.000000000 +0100
++++ v3.5.13-sru/konsole/konsole/TEWidget.h 2012-07-31 17:17:50.000000000 +0200
+@@ -98,7 +98,7 @@
+ void updateImageSize();
+ void setSize(int cols, int lins);
+ void setFixedSize(int cols, int lins);
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+
+ void setWordCharacters(TQString wc);
+ TQString wordCharacters() { return word_characters; }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpager/desktop.cpp v3.5.13-sru/kpager/desktop.cpp
+--- /tmp/stable//kdebase/kpager/desktop.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/kpager/desktop.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -295,7 +295,7 @@
+
+ p.begin(pixmap);
+ p.setFont(font());
+- p.fillRect( r, tqcolorGroup().brush(TQColorGroup::Dark));
++ p.fillRect( r, colorGroup().brush(TQColorGroup::Dark));
+ paintWindow(p, info, false);
+ p.end();
+
+@@ -425,7 +425,7 @@
+
+ p.begin(&pixmap);
+ // p.setFont(font());
+-// p.fillRect(rect(), tqcolorGroup().brush(TQColorGroup::Dark));
++// p.fillRect(rect(), colorGroup().brush(TQColorGroup::Dark));
+ // p.setPen(Qt::black);
+ // p.drawRect(rect());
+
+@@ -450,7 +450,7 @@
+ else pixmap.fill(Qt::gray);
+ }
+ else
+- p.fillRect(rect(), tqcolorGroup().brush(TQColorGroup::Mid));
++ p.fillRect(rect(), colorGroup().brush(TQColorGroup::Mid));
+
+ // set in/active pen
+ if (isCurrent())
+@@ -523,8 +523,8 @@
+
+ TQBrush brush;
+
+- if ( isActive ) brush=tqcolorGroup().brush( TQColorGroup::Highlight );
+- else brush=tqcolorGroup().brush( TQColorGroup::Button );
++ if ( isActive ) brush=colorGroup().brush( TQColorGroup::Highlight );
++ else brush=colorGroup().brush( TQColorGroup::Button );
+
+ if ( m_transparentMode==AllWindows
+ || (m_transparentMode==MaximizedWindows && ( info->state() & NET::Max )) )
+@@ -532,12 +532,12 @@
+
+ if ( isActive )
+ {
+- qDrawShadeRect( &p, r, tqcolorGroup(), false, 1, 0, &brush );
++ qDrawShadeRect( &p, r, colorGroup(), false, 1, 0, &brush );
+ }
+ else
+ {
+ p.fillRect( r, brush );
+- qDrawShadeRect( &p, r, tqcolorGroup(), true, 1, 0 );
++ qDrawShadeRect( &p, r, colorGroup(), true, 1, 0 );
+ }
+
+ }
+@@ -669,7 +669,7 @@
+ } else kdDebug() << "Error getting the background\n";
+ }
+
+-TQSize Desktop::tqsizeHint() const
++TQSize Desktop::sizeHint() const
+ {
+ return TQSize(67,50);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpager/desktop.h v3.5.13-sru/kpager/desktop.h
+--- /tmp/stable//kdebase/kpager/desktop.h 2011-03-12 07:57:53.000000000 +0100
++++ v3.5.13-sru/kpager/desktop.h 2012-07-31 17:17:50.000000000 +0200
+@@ -74,7 +74,7 @@
+
+ static void removeCachedPixmap(int nWin) { m_windowPixmaps.remove(nWin); };
+
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+
+ /**
+ * active is a bool that specifies if the frame is the active
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpager/kpager.cpp v3.5.13-sru/kpager/kpager.cpp
+--- /tmp/stable//kdebase/kpager/kpager.cpp 2011-03-12 07:57:53.000000000 +0100
++++ v3.5.13-sru/kpager/kpager.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -76,7 +76,7 @@
+ if (w > 0 && h > 0)
+ resize(w,h);
+ else
+- resize(m_pPager->tqsizeHint());
++ resize(m_pPager->sizeHint());
+ // resize(cfg->readNumEntry(lWidth(),200),cfg->readNumEntry(lHeight(),90));
+
+ int xpos=cfg->readNumEntry("xPos",-1);
+@@ -91,7 +91,7 @@
+ // rect.pos.y+rect.size.height-m_pPager->height());
+ // antonio:The above lines don't work. I should look at them when I have
+ // more time
+- move(kapp->desktop()->width()-m_pPager->tqsizeHint().width()-5,kapp->desktop()->height()-m_pPager->tqsizeHint().height()-25);
++ move(kapp->desktop()->width()-m_pPager->sizeHint().width()-5,kapp->desktop()->height()-m_pPager->sizeHint().height()-25);
+ }
+
+ // Set the wm flags to this window
+@@ -374,7 +374,7 @@
+
+ updateLayout();
+ for( TQValueList <Desktop *>::Iterator it = m_desktops.begin(); it != m_desktops.end(); ++it )
+- (*it)->tqrepaint();
++ (*it)->repaint();
+ }
+ }
+
+@@ -409,7 +409,7 @@
+ {
+ if ( (inf1 && inf1->isOnDesktop(i))
+ || (inf2 && inf2->isOnDesktop(i) ) )
+- m_desktops[i-1]->tqrepaint(false);
++ m_desktops[i-1]->repaint(false);
+ }
+ }
+
+@@ -422,7 +422,7 @@
+ for ( int i=1; i <= (int) m_desktops.count(); ++i)
+ {
+ if ( inf->isOnDesktop( i ))
+- m_desktops[i-1]->tqrepaint(false);
++ m_desktops[i-1]->repaint(false);
+ }
+ }
+
+@@ -438,14 +438,14 @@
+ for (int i = 1; i <= (int) m_desktops.count(); ++i)
+ {
+ if (onAllDesktops || desktop == i)
+- m_desktops[i-1]->tqrepaint(false);
++ m_desktops[i-1]->repaint(false);
+ }
+ }
+ }
+
+ void KPager::slotWindowChanged( WId win , unsigned int prop)
+ {
+- bool tqrepaint=false;
++ bool repaint=false;
+
+ KWin::WindowInfo* inf = m_windows[win];
+ if (!inf)
+@@ -453,7 +453,7 @@
+ inf=info(win);
+ prop=0; // info already calls KWin::info, so there's no need
+ // to update anything else.
+- tqrepaint=true;
++ repaint=true;
+ };
+
+ bool onAllDesktops = inf ? inf->onAllDesktops() : false;
+@@ -466,15 +466,15 @@
+ }
+
+ if((prop & ~( NET::WMName | NET::WMVisibleName )) != 0 )
+- tqrepaint = true;
++ repaint = true;
+
+- if (tqrepaint)
++ if (repaint)
+ for ( int i=1; i <= (int) m_desktops.count(); ++i)
+ {
+ if ((inf && (inf->isOnDesktop(i)))
+ || onAllDesktops || desktop == i )
+ {
+- m_desktops[i-1]->tqrepaint(false);
++ m_desktops[i-1]->repaint(false);
+ }
+ }
+ // redrawDesktops();
+@@ -485,9 +485,9 @@
+ m_desktops[m_currentDesktop-1]->m_grabWindows=true;
+ for ( int i=1; i <= (int) m_desktops.count(); ++i)
+ {
+- m_desktops[i-1]->tqrepaint(false);
++ m_desktops[i-1]->repaint(false);
+ }
+-// tqrepaint(true);
++// repaint(true);
+ }
+
+ void KPager::slotDesktopNamesChanged()
+@@ -547,8 +547,8 @@
+ m_desktops[m_currentDesktop-1]->update();
+ m_desktops[desk-1]->paintFrame( true );
+ m_desktops[desk-1]->update();
+-// m_desktops[m_currentDesktop-1]->tqrepaint();
+-// m_desktops[desk-1]->tqrepaint();
++// m_desktops[m_currentDesktop-1]->repaint();
++// m_desktops[desk-1]->repaint();
+
+ m_currentDesktop=desk;
+
+@@ -643,21 +643,21 @@
+ {
+ TQValueList <Desktop *>::Iterator it;
+ for( it = m_desktops.begin(); it != m_desktops.end(); ++it )
+- (*it)->tqrepaint();
++ (*it)->repaint();
+ }
+
+ void KPager::slotGrabWindows()
+ {
+ m_desktops[m_currentDesktop-1]->m_grabWindows=true;
+- m_desktops[m_currentDesktop-1]->tqrepaint();
++ m_desktops[m_currentDesktop-1]->repaint();
+ }
+
+-TQSize KPager::tqsizeHint() const
++TQSize KPager::sizeHint() const
+ {
+ int n=m_desktops.count();
+ int w=-1,h=-1;
+
+- TQSize size=m_desktops[0]->tqsizeHint();
++ TQSize size=m_desktops[0]->sizeHint();
+ int wDsk=size.width();
+ int hDsk=size.height();
+ switch (m_layoutType)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpager/kpager.h v3.5.13-sru/kpager/kpager.h
+--- /tmp/stable//kdebase/kpager/kpager.h 2011-03-12 07:57:53.000000000 +0100
++++ v3.5.13-sru/kpager/kpager.h 2012-07-31 17:17:50.000000000 +0200
+@@ -76,7 +76,7 @@
+
+ KWin::WindowInfo* info( WId win );
+
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+
+ enum LayoutTypes { Classical=0, Horizontal, Vertical };
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpager/main.cpp v3.5.13-sru/kpager/main.cpp
+--- /tmp/stable//kdebase/kpager/main.cpp 2011-03-12 07:57:53.000000000 +0100
++++ v3.5.13-sru/kpager/main.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -47,7 +47,7 @@
+
+ void commitData(TQSessionManager& sm) {
+ if (mainWidget()->isHidden()) {
+- sm.setRestartHint( QSessionManager::RestartNever );
++ sm.setRestartHint( TQSessionManager::RestartNever );
+ return;
+ }
+ closed_by_sm = true;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/kcountrypage.cpp v3.5.13-sru/kpersonalizer/kcountrypage.cpp
+--- /tmp/stable//kdebase/kpersonalizer/kcountrypage.cpp 2011-08-11 07:25:44.000000000 +0200
++++ v3.5.13-sru/kpersonalizer/kcountrypage.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -76,7 +76,7 @@
+
+ void KCountryPage::loadCountryList(KLanguageButton *combo) {
+
+- TQString sub = TQString::tqfromLatin1("l10n/");
++ TQString sub = TQString::fromLatin1("l10n/");
+
+ // clear the list
+ combo->clear();
+@@ -86,8 +86,8 @@
+
+ for ( TQStringList::ConstIterator it = regionfiles.begin(); it != regionfiles.end(); ++it ) {
+ KSimpleConfig entry(*it);
+- entry.setGroup(TQString::tqfromLatin1("KCM Locale"));
+- TQString name = entry.readEntry(TQString::tqfromLatin1("Name"), i18n("without name"));
++ entry.setGroup(TQString::fromLatin1("KCM Locale"));
++ TQString name = entry.readEntry(TQString::fromLatin1("Name"), i18n("without name"));
+
+ TQString tag = *it;
+ int index;
+@@ -113,8 +113,8 @@
+
+ for ( TQStringList::ConstIterator it = countrylist.begin(); it != countrylist.end(); ++it ) {
+ KSimpleConfig entry(*it);
+- entry.setGroup(TQString::tqfromLatin1("KCM Locale"));
+- TQString name = entry.readEntry(TQString::tqfromLatin1("Name"), i18n("without name"));
++ entry.setGroup(TQString::fromLatin1("KCM Locale"));
++ TQString name = entry.readEntry(TQString::fromLatin1("Name"), i18n("without name"));
+ TQString submenu = '-' + entry.readEntry("Region");
+
+ TQString tag = *it;
+@@ -123,7 +123,7 @@
+ index = tag.findRev('/');
+ tag = tag.mid(index+1);
+
+- TQPixmap flag( locate( "locale", TQString::tqfromLatin1("l10n/%1/flag.png").arg(tag) ) );
++ TQPixmap flag( locate( "locale", TQString::fromLatin1("l10n/%1/flag.png").arg(tag) ) );
+ TQIconSet icon( flag );
+ combo->insertItem( icon, name, tag, submenu );
+ }
+@@ -138,7 +138,7 @@
+ for ( it = langlist.begin(); it != langlist.end(); ++it ) {
+ if ((*it).isNull()) {
+ combo->insertSeparator();
+- submenu = TQString::tqfromLatin1("all");
++ submenu = TQString::fromLatin1("all");
+ combo->insertSubmenu(i18n("All"), submenu, TQString::null);
+ continue;
+ }
+@@ -151,9 +151,9 @@
+ kdDebug() << "KCountryPage::save()" << endl;
+ KConfigBase *config = KGlobal::config();
+
+- config->setGroup(TQString::tqfromLatin1("Locale"));
+- config->writeEntry(TQString::tqfromLatin1("Country"), comboCountry->current(), true, true);
+- config->writeEntry(TQString::tqfromLatin1("Language"), comboLang->current(), true, true);
++ config->setGroup(TQString::fromLatin1("Locale"));
++ config->writeEntry(TQString::fromLatin1("Country"), comboCountry->current(), true, true);
++ config->writeEntry(TQString::fromLatin1("Language"), comboLang->current(), true, true);
+ config->sync();
+
+ // only make the system reload the language, if the selected one deferes from the old saved one.
+@@ -167,7 +167,7 @@
+ kapp->dcopClient()->attach();
+ // ksycoca needs to be rebuilt
+ KProcess proc;
+- proc << TQString::tqfromLatin1("kbuildsycoca");
++ proc << TQString::fromLatin1("kbuildsycoca");
+ proc.start(KProcess::DontCare);
+ kdDebug() << "KLocaleConfig::save : sending signal to kdesktop" << endl;
+ // inform kicker and kdeskop about the new language
+@@ -182,10 +182,10 @@
+
+ void KCountryPage::setLangForCountry(const TQString &country) {
+ KSimpleConfig ent(locate("locale", "l10n/" + country + "/entry.desktop"), true);
+- ent.setGroup(TQString::tqfromLatin1("KCM Locale"));
+- langs = ent.readListEntry(TQString::tqfromLatin1("Languages"));
++ ent.setGroup(TQString::fromLatin1("KCM Locale"));
++ langs = ent.readListEntry(TQString::fromLatin1("Languages"));
+
+- TQString lang = TQString::tqfromLatin1("en_US");
++ TQString lang = TQString::fromLatin1("en_US");
+ // use the first INSTALLED langauge in the list, or default to C
+ for ( TQStringList::Iterator it = langs.begin(); it != langs.end(); ++it ) {
+ if (cb_language->contains(*it)) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/kcountrypagedlg.ui v3.5.13-sru/kpersonalizer/kcountrypagedlg.ui
+--- /tmp/stable//kdebase/kpersonalizer/kcountrypagedlg.ui 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kpersonalizer/kcountrypagedlg.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -36,7 +36,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>150</width>
+ <height>0</height>
+@@ -84,7 +84,7 @@
+ <property name="textFormat">
+ <enum>RichText</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop|AlignLeft</set>
+ </property>
+ <property name="vAlign" stdset="0">
+@@ -120,7 +120,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>150</width>
+ <height>0</height>
+@@ -160,7 +160,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>170</width>
+ <height>430</height>
+@@ -189,7 +189,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>30</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/keyecandypagedlg.ui v3.5.13-sru/kpersonalizer/keyecandypagedlg.ui
+--- /tmp/stable//kdebase/kpersonalizer/keyecandypagedlg.ui 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kpersonalizer/keyecandypagedlg.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -28,7 +28,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>170</width>
+ <height>430</height>
+@@ -63,7 +63,7 @@
+ <string>&lt;P&gt;Trinity offers many visually appealing special effects, such as smoothed fonts, previews in the file manager and animated menus. All this beauty, however, comes at a small performance cost. &lt;/P&gt;
+ If you have a fast, new processor, you might want to turn them all on, but for those of us with slower processors, starting off with less eye candy helps to keep your desktop more responsive.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop|AlignLeft</set>
+ </property>
+ <property name="vAlign" stdset="0">
+@@ -98,7 +98,7 @@
+ <property name="textFormat">
+ <enum>PlainText</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ <property name="hAlign" stdset="0">
+@@ -136,7 +136,7 @@
+ <string>Fast Processor
+ (more effects)</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ <property name="hAlign" stdset="0">
+@@ -222,7 +222,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>120</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/kfindlanguage.cpp v3.5.13-sru/kpersonalizer/kfindlanguage.cpp
+--- /tmp/stable//kdebase/kpersonalizer/kfindlanguage.cpp 2011-08-11 07:25:44.000000000 +0200
++++ v3.5.13-sru/kpersonalizer/kfindlanguage.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -38,7 +38,7 @@
+
+ m_country = config->readEntry("Country", "C");
+ if (m_country == "C") {
+- m_country = TQString::tqfromLatin1(getenv("LANG"));
++ m_country = TQString::fromLatin1(getenv("LANG"));
+ if(m_country.left(5) == "nn_NO") // glibc's nn_NO is KDE's no_NY
+ m_country = "no";
+ if(m_country.contains("_"))
+@@ -54,7 +54,7 @@
+ }
+
+ // get the users primary Languages
+- KSimpleConfig ent(locate("locale", TQString::tqfromLatin1("l10n/%1/entry.desktop").arg(m_country)), true);
++ KSimpleConfig ent(locate("locale", TQString::fromLatin1("l10n/%1/entry.desktop").arg(m_country)), true);
+ ent.setGroup("KCM Locale");
+ TQStringList langs = ent.readListEntry("Languages");
+ if (langs.isEmpty())
+@@ -96,7 +96,7 @@
+ if (m_oldlang.isEmpty()) {
+ compare = langs.first();
+ for(TQStringList::Iterator it = langs.begin(); it != langs.end(); ++it) {
+- if (*it == TQString::tqfromLatin1(getenv("LANG")).mid(3, 2).lower())
++ if (*it == TQString::fromLatin1(getenv("LANG")).mid(3, 2).lower())
+ compare = *it;
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/kospagedlg.ui v3.5.13-sru/kpersonalizer/kospagedlg.ui
+--- /tmp/stable//kdebase/kpersonalizer/kospagedlg.ui 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kpersonalizer/kospagedlg.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -33,7 +33,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>170</width>
+ <height>430</height>
+@@ -136,7 +136,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>22</width>
+ <height>10</height>
+@@ -153,7 +153,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>22</width>
+ <height>16</height>
+@@ -167,7 +167,7 @@
+ <property name="text">
+ <string>For motion impaired users, Trinity provides keyboard gestures to activate special keyboard settings.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/kpersonalizer.cpp v3.5.13-sru/kpersonalizer/kpersonalizer.cpp
+--- /tmp/stable//kdebase/kpersonalizer/kpersonalizer.cpp 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kpersonalizer/kpersonalizer.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -232,11 +232,11 @@
+
+ /** there seems to be a bug in TQWizard, that makes this evil hack necessary */
+ void KPersonalizer::setPosition() {
+- TQSize hint = countrypage->tqsizeHint();
+- TQSize os_size = ospage->tqsizeHint();
+- TQSize candy_size = eyecandy->tqsizeHint();
+- TQSize style_size = stylepage->tqsizeHint();
+- TQSize refine_size = refinepage->tqsizeHint();
++ TQSize hint = countrypage->sizeHint();
++ TQSize os_size = ospage->sizeHint();
++ TQSize candy_size = eyecandy->sizeHint();
++ TQSize style_size = stylepage->sizeHint();
++ TQSize refine_size = refinepage->sizeHint();
+
+ // get the width of the broadest child-widget
+ if ( hint.width() < os_size.width() )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/krefinepagedlg.ui v3.5.13-sru/kpersonalizer/krefinepagedlg.ui
+--- /tmp/stable//kdebase/kpersonalizer/krefinepagedlg.ui 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kpersonalizer/krefinepagedlg.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -32,7 +32,7 @@
+ <string>&lt;h3&gt;Finished&lt;/h3&gt;
+ &lt;p&gt;After closing this dialog you can always restart this Wizard by choosing the entry &lt;b&gt;Desktop Settings Wizard&lt;/b&gt; from the Settings menu.&lt;/p&gt;</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter|AlignLeft</set>
+ </property>
+ <property name="wordwrap" stdset="0">
+@@ -80,7 +80,7 @@
+ <property name="text">
+ <string>You can refine the settings you made by starting the Trinity Control Center by choosing the entry &lt;b&gt;Control Center&lt;/b&gt; in the K menu.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop|AlignLeft</set>
+ </property>
+ </widget>
+@@ -98,7 +98,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>170</width>
+ <height>430</height>
+@@ -132,7 +132,7 @@
+ <property name="text">
+ <string>You can also start the Trinity Control Center using the button below.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignCenter</set>
+ </property>
+ </widget>
+@@ -146,7 +146,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>16</height>
+@@ -163,7 +163,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+@@ -188,7 +188,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -213,7 +213,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -232,7 +232,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/kstylepage.cpp v3.5.13-sru/kpersonalizer/kstylepage.cpp
+--- /tmp/stable//kdebase/kpersonalizer/kstylepage.cpp 2011-08-21 09:08:16.000000000 +0200
++++ v3.5.13-sru/kpersonalizer/kstylepage.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -238,7 +238,7 @@
+ for (KIcon::Group i=KIcon::FirstGroup; i<KIcon::LastGroup; i++) {
+ if (groups[i] == 0L)
+ break;
+- KGlobal::config()->setGroup(TQString::tqfromLatin1(groups[i]) + "Icons");
++ KGlobal::config()->setGroup(TQString::fromLatin1(groups[i]) + "Icons");
+ KGlobal::config()->writeEntry("Size", icontheme.defaultSize(i));
+ }
+ KGlobal::config()->sync();
+@@ -428,12 +428,12 @@
+ else if (*it == "Light, 3rd revision") kde_light_exist = true;
+ }
+ // and disable the ListItems, if they are not.
+- if ( !(kde_plastik_exist || kde_light_exist) ) kde->tqsetVisible(false);
+- if ( !(kde_hc_exist || kde_def_exist) ) classic->tqsetVisible(false);
+- if (!kde_keramik_exist || TQPixmap::defaultDepth() <= 8) keramik->tqsetVisible(false);
+- if (!cde_exist) cde->tqsetVisible(false);
+- if (!win_exist) win->tqsetVisible(false);
+- if (!platinum_exist) platinum->tqsetVisible(false);
++ if ( !(kde_plastik_exist || kde_light_exist) ) kde->setVisible(false);
++ if ( !(kde_hc_exist || kde_def_exist) ) classic->setVisible(false);
++ if (!kde_keramik_exist || TQPixmap::defaultDepth() <= 8) keramik->setVisible(false);
++ if (!cde_exist) cde->setVisible(false);
++ if (!win_exist) win->setVisible(false);
++ if (!platinum_exist) platinum->setVisible(false);
+
+ // test, wich KWin-styles are available
+ kwin_keramik_exist = kwin_system_exist = kwin_plastik_exist
+@@ -542,7 +542,7 @@
+ // go ahead
+ setStyleRecursive( stylePreview, palette, style );
+ // this flickers, but reliably draws the widgets corretly.
+- stylePreview->resize( stylePreview->tqsizeHint() );
++ stylePreview->resize( stylePreview->sizeHint() );
+
+ delete appliedStyle;
+ appliedStyle = style;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/kstylepagedlg.ui v3.5.13-sru/kpersonalizer/kstylepagedlg.ui
+--- /tmp/stable//kdebase/kpersonalizer/kstylepagedlg.ui 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kpersonalizer/kstylepagedlg.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -31,7 +31,7 @@
+ <property name="text">
+ <string>Please choose the way your computer should look by selecting one of the items below.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter|AlignLeft</set>
+ </property>
+ <property name="wordwrap" stdset="0">
+@@ -49,7 +49,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>170</width>
+ <height>430</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/ksysinfo.cpp v3.5.13-sru/kpersonalizer/ksysinfo.cpp
+--- /tmp/stable//kdebase/kpersonalizer/ksysinfo.cpp 2011-08-11 07:25:44.000000000 +0200
++++ v3.5.13-sru/kpersonalizer/ksysinfo.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -99,12 +99,12 @@
+
+ void KSysInfo::initFontFamilies() {
+ TQFontDatabase fdb;
+- TQStringList families = fdb.tqfamilies();
++ TQStringList families = fdb.families();
+ m_normal_font = TQString::null;
+ m_fixed_font = TQString::null;
+ int normal_priority = 0, fixed_priority = 0;
+ for (uint i=0; i < families.count(); i++) {
+- TQString font = *families.tqat(i);
++ TQString font = *families.at(i);
+ //add further NORMAL fonts here
+ if ( (font.contains("Arial [") || font=="Arial") && normal_priority < 15 ) {
+ m_normal_font = font;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kreadconfig/kwriteconfig.cpp v3.5.13-sru/kreadconfig/kwriteconfig.cpp
+--- /tmp/stable//kdebase/kreadconfig/kwriteconfig.cpp 2011-03-12 07:57:53.000000000 +0100
++++ v3.5.13-sru/kreadconfig/kwriteconfig.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -52,7 +52,7 @@
+
+ KConfig *konfig;
+ if (file.isEmpty())
+- konfig = new KConfig(TQString::tqfromLatin1("kdeglobals"), false, false);
++ konfig = new KConfig(TQString::fromLatin1("kdeglobals"), false, false);
+ else
+ konfig = new KConfig(file, false, false);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/krootbacking/krootbacking.cpp v3.5.13-sru/krootbacking/krootbacking.cpp
+--- /tmp/stable//kdebase/krootbacking/krootbacking.cpp 2011-08-28 02:02:07.000000000 +0200
++++ v3.5.13-sru/krootbacking/krootbacking.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -54,6 +54,8 @@
+ KRootBacking::KRootBacking()
+ : TQObject(KApplication::desktop(), "KRootBacking" ), m_Desk(0), m_timeout(0)
+ {
++ enableExports();
++
+ init();
+ }
+
+@@ -67,7 +69,7 @@
+ m_bActive = false;
+
+ connect(kapp, TQT_SIGNAL(backgroundChanged(int)), TQT_SLOT(slotBackgroundChanged(int)));
+- connect(m_pTimer, TQT_SIGNAL(timeout()), TQT_SLOT(tqrepaint()));
++ connect(m_pTimer, TQT_SIGNAL(timeout()), TQT_SLOT(repaint()));
+ #ifdef Q_WS_X11
+ connect(m_pPixmap, TQT_SIGNAL(done(bool)), TQT_SLOT(slotDone(bool)));
+
+@@ -111,7 +113,7 @@
+ }
+ }
+ if (m_bInit) {
+- tqrepaint(true);
++ repaint(true);
+ }
+ }
+
+@@ -133,16 +135,16 @@
+ m_Fade = fade;
+ m_FadeColor = color;
+
+- if ( m_bActive && m_bInit ) tqrepaint(true);
++ if ( m_bActive && m_bInit ) repaint(true);
+ }
+
+-void KRootBacking::tqrepaint()
++void KRootBacking::repaint()
+ {
+- tqrepaint(false);
++ repaint(false);
+ }
+
+
+-void KRootBacking::tqrepaint(bool force)
++void KRootBacking::repaint(bool force)
+ {
+ TQWidget* desktopWidget = KApplication::desktop();
+ TQPoint p1 = desktopWidget->mapToGlobal(desktopWidget->rect().topLeft());
+@@ -255,7 +257,7 @@
+ return;
+
+ if (desk == m_Desk)
+- tqrepaint(true);
++ repaint(true);
+ }
+
+ #include "krootbacking.moc"
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/krootbacking/krootbacking.h v3.5.13-sru/krootbacking/krootbacking.h
+--- /tmp/stable//kdebase/krootbacking/krootbacking.h 2011-08-28 02:02:07.000000000 +0200
++++ v3.5.13-sru/krootbacking/krootbacking.h 2012-07-31 17:17:50.000000000 +0200
+@@ -116,16 +116,16 @@
+ * Repaints the widget background. Normally, you shouldn't need this
+ * as it is handled automatically.
+ *
+- * @param force Force a tqrepaint, even if the contents did not change.
++ * @param force Force a repaint, even if the contents did not change.
+ */
+- void tqrepaint( bool force );
++ void repaint( bool force );
+
+ /**
+ * Repaints the widget background. Normally, you shouldn't need this
+ * as it is handled automatically. This is equivalent to calling
+- * tqrepaint( false ).
++ * repaint( false ).
+ */
+- void tqrepaint();
++ void repaint();
+
+ /**
+ * Asks KDesktop to export the desktop background as a KSharedPixmap.
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/krootbacking/main.cpp v3.5.13-sru/krootbacking/main.cpp
+--- /tmp/stable//kdebase/krootbacking/main.cpp 2011-08-28 02:02:07.000000000 +0200
++++ v3.5.13-sru/krootbacking/main.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -61,7 +61,7 @@
+ args->clear();
+
+ TQObject* mainWin = new KRootBacking();
+- TQTimer *timer = new QTimer( mainWin );
++ TQTimer *timer = new TQTimer( mainWin );
+ TQObject::connect( timer, SIGNAL(timeout()), mainWin, SLOT(start()) );
+ timer->start( 100, TRUE ); // 100ms single shot timer
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kscreensaver/blankscrn.cpp v3.5.13-sru/kscreensaver/blankscrn.cpp
+--- /tmp/stable//kdebase/kscreensaver/blankscrn.cpp 2011-03-12 07:58:00.000000000 +0100
++++ v3.5.13-sru/kscreensaver/blankscrn.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -69,7 +69,7 @@
+ grid->setRowStretch( 2, 10 );
+ grid->setRowStretch( 3, 20 );
+
+- setMinimumSize( tqsizeHint() );
++ setMinimumSize( sizeHint() );
+ }
+
+ // read settings from config file
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kscreensaver/random.cpp v3.5.13-sru/kscreensaver/random.cpp
+--- /tmp/stable//kdebase/kscreensaver/random.cpp 2011-08-11 07:25:40.000000000 +0200
++++ v3.5.13-sru/kscreensaver/random.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -41,7 +41,7 @@
+ {
+ puts(i18n("Usage: %1 [-setup] [args]\n"
+ "Starts a random screen saver.\n"
+- "Any arguments (except -setup) are passed on to the screen saver.").tqarg( name ).local8Bit().data());
++ "Any arguments (except -setup) are passed on to the screen saver.").arg( name ).local8Bit().data());
+ }
+
+ static const char appName[] = "random";
+@@ -201,7 +201,7 @@
+
+ KRandomSequence rnd;
+ int indx = rnd.getLong(saverFileList.count());
+- TQString filename = *(saverFileList.tqat(indx));
++ TQString filename = *(saverFileList.at(indx));
+
+ KDesktopFile config(filename, true);
+
+@@ -271,7 +271,7 @@
+ manipulateScreen = new TQCheckBox(i18n("Use screen savers that manipulate the screen"), main);
+ grid->addWidget(manipulateScreen, 1, 0);
+
+- setMinimumSize( tqsizeHint() );
++ setMinimumSize( sizeHint() );
+
+ KConfig config("krandom.kssrc");
+ config.setGroup("Settings");
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksmserver/client.cpp v3.5.13-sru/ksmserver/client.cpp
+--- /tmp/stable//kdebase/ksmserver/client.cpp 2011-03-12 07:57:33.000000000 +0100
++++ v3.5.13-sru/ksmserver/client.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -146,7 +146,7 @@
+ SmProp* p = property( SmProgram );
+ if ( !p || qstrcmp( p->type, SmARRAY8) || p->num_vals < 1)
+ return TQString::null;
+- return TQString::tqfromLatin1( (const char*) p->vals[0].value );
++ return TQString::fromLatin1( (const char*) p->vals[0].value );
+ }
+
+ TQStringList KSMClient::restartCommand() const
+@@ -156,7 +156,7 @@
+ if ( !p || qstrcmp( p->type, SmLISTofARRAY8) || p->num_vals < 1)
+ return result;
+ for ( int i = 0; i < p->num_vals; i++ )
+- result +=TQString::tqfromLatin1( (const char*) p->vals[i].value );
++ result +=TQString::fromLatin1( (const char*) p->vals[i].value );
+ return result;
+ }
+
+@@ -167,7 +167,7 @@
+ if ( !p || qstrcmp( p->type, SmLISTofARRAY8) || p->num_vals < 1)
+ return result;
+ for ( int i = 0; i < p->num_vals; i++ )
+- result +=TQString::tqfromLatin1( (const char*) p->vals[i].value );
++ result +=TQString::fromLatin1( (const char*) p->vals[i].value );
+ return result;
+ }
+
+@@ -184,7 +184,7 @@
+ SmProp* p = property( SmUserID );
+ if ( !p || qstrcmp( p->type, SmARRAY8) || p->num_vals < 1)
+ return TQString::null;
+- return TQString::tqfromLatin1( (const char*) p->vals[0].value );
++ return TQString::fromLatin1( (const char*) p->vals[0].value );
+ }
+
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksmserver/legacy.cpp v3.5.13-sru/ksmserver/legacy.cpp
+--- /tmp/stable//kdebase/ksmserver/legacy.cpp 2011-08-16 01:07:50.000000000 +0200
++++ v3.5.13-sru/ksmserver/legacy.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -315,7 +315,7 @@
+ if (!data)
+ return result;
+ for (int i=0; i<(int)nitems; i++) {
+- result << TQString::tqfromLatin1( (const char*)data + i );
++ result << TQString::fromLatin1( (const char*)data + i );
+ while(data[i]) i++;
+ }
+ XFree(data);
+@@ -363,7 +363,7 @@
+ }
+ }
+ }
+- return TQString::tqfromLatin1(result);
++ return TQString::fromLatin1(result);
+ }
+
+ WId KSMServer::windowWmClientLeader(WId w)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksmserver/main.cpp v3.5.13-sru/ksmserver/main.cpp
+--- /tmp/stable//kdebase/ksmserver/main.cpp 2011-08-14 04:41:54.000000000 +0200
++++ v3.5.13-sru/ksmserver/main.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -170,7 +170,7 @@
+ qmsg.sprintf(msg.data(), path.data());
+ qmsg = msg_pre+qmsg+msg_post;
+ TQMessageBox::critical(0, "KDE Installation Problem!",
+- TQString::tqfromLatin1(qmsg.data()));
++ TQString::fromLatin1(qmsg.data()));
+ exit(255);
+ }
+ }
+@@ -218,7 +218,7 @@
+ only_local = false;
+ #endif
+
+- KSMServer *server = new KSMServer( TQString::tqfromLatin1(wm), only_local);
++ KSMServer *server = new KSMServer( TQString::fromLatin1(wm), only_local);
+ kapp->dcopClient()->setDefaultObject( server->objId() );
+
+ IceSetIOErrorHandler( IoErrorHandler );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksmserver/shutdown.cpp v3.5.13-sru/ksmserver/shutdown.cpp
+--- /tmp/stable//kdebase/ksmserver/shutdown.cpp 2011-10-10 03:40:45.000000000 +0200
++++ v3.5.13-sru/ksmserver/shutdown.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -160,23 +160,33 @@
+ if (sdmode == KApplication::ShutdownModeDefault)
+ sdmode = KApplication::ShutdownModeInteractive;
+
+- // shall we show a nice fancy logout screen?
+- bool showFancyLogout = KConfigGroup(KGlobal::config(), "Logout").readBoolEntry("showFancyLogout", true);
++ // shall we show a logout status dialog box?
++ bool showLogoutStatusDlg = KConfigGroup(KGlobal::config(), "Logout").readBoolEntry("showLogoutStatusDlg", true);
+
+- if (showFancyLogout) {
++ if (showLogoutStatusDlg) {
+ KSMShutdownIPFeedback::start();
+ }
+
+ dialogActive = true;
+ if ( !logoutConfirmed ) {
++ int selection;
+ KSMShutdownFeedback::start(); // make the screen gray
+ logoutConfirmed =
+- KSMShutdownDlg::confirmShutdown( maysd, sdtype, bopt );
++ KSMShutdownDlg::confirmShutdown( maysd, sdtype, bopt, &selection );
+ // ###### We can't make the screen remain gray while talking to the apps,
+ // because this prevents interaction ("do you want to save", etc.)
+ // TODO: turn the feedback widget into a list of apps to be closed,
+ // with an indicator of the current status for each.
+ KSMShutdownFeedback::stop(); // make the screen become normal again
++ if (selection != 0) {
++ // respect lock on resume & disable suspend/hibernate settings
++ // from power-manager
++ KConfig config("power-managerrc");
++ bool lockOnResume = config.readBoolEntry("lockOnResume", true);
++ if (lockOnResume) {
++ DCOPRef("kdesktop", "KScreensaverIface").send("lock");
++ }
++ }
+ }
+
+ if ( logoutConfirmed ) {
+@@ -189,30 +199,12 @@
+ // shall we save the session on logout?
+ saveSession = ( config->readEntry( "loginMode", "restorePreviousLogout" ) == "restorePreviousLogout" );
+
+- if (showFancyLogout) {
+- KSMShutdownIPFeedback::showit(); // hide the UGLY logout process from the user
+- shutdownNotifierIPDlg = KSMShutdownIPDlg::showShutdownIP();
+- while (!KSMShutdownIPFeedback::ispainted()) {
+- tqApp->processEvents();
+- }
+- }
+-
+- // synchronize any folders that were requested for shutdown sync
+- if (shutdownNotifierIPDlg) {
+- static_cast<KSMShutdownIPDlg*>(shutdownNotifierIPDlg)->setStatusMessage(i18n("Synchronizing remote folders").append("..."));
+- }
+- KRsync krs(this, "");
+- krs.executeLogoutAutoSync();
+- if (shutdownNotifierIPDlg) {
+- static_cast<KSMShutdownIPDlg*>(shutdownNotifierIPDlg)->setStatusMessage(i18n("Saving your settings..."));
+- }
+-
+ if ( saveSession )
+ sessionGroup = TQString("Session: ") + SESSION_PREVIOUS_LOGOUT;
+
+ // Set the real desktop background to black so that exit looks
+ // clean regardless of what was on "our" desktop.
+- if (!showFancyLogout) {
++ if (!showLogoutStatusDlg) {
+ TQT_TQWIDGET(kapp->desktop())->setBackgroundColor( Qt::black );
+ }
+ state = Shutdown;
+@@ -252,9 +244,9 @@
+ completeShutdownOrCheckpoint();
+ }
+ else {
+- if (showFancyLogout) {
+- KSMShutdownIPFeedback::stop();
+- }
++ if (showLogoutStatusDlg) {
++ KSMShutdownIPFeedback::stop();
++ }
+ }
+ dialogActive = false;
+ }
+@@ -502,6 +494,25 @@
+ if ( waitForPhase2 )
+ return;
+
++ bool showLogoutStatusDlg = KConfigGroup(KGlobal::config(), "Logout").readBoolEntry("showLogoutStatusDlg", true);
++ if (showLogoutStatusDlg && state != Checkpoint) {
++ KSMShutdownIPFeedback::showit(); // hide the UGLY logout process from the user
++ shutdownNotifierIPDlg = KSMShutdownIPDlg::showShutdownIP();
++ while (!KSMShutdownIPFeedback::ispainted()) {
++ tqApp->processEvents();
++ }
++ }
++
++ // synchronize any folders that were requested for shutdown sync
++ if (shutdownNotifierIPDlg) {
++ static_cast<KSMShutdownIPDlg*>(shutdownNotifierIPDlg)->setStatusMessage(i18n("Synchronizing remote folders").append("..."));
++ }
++ KRsync krs(this, "");
++ krs.executeLogoutAutoSync();
++ if (shutdownNotifierIPDlg) {
++ static_cast<KSMShutdownIPDlg*>(shutdownNotifierIPDlg)->setStatusMessage(i18n("Saving your settings..."));
++ }
++
+ if ( saveSession )
+ storeSession();
+ else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksmserver/shutdowndlg.cpp v3.5.13-sru/ksmserver/shutdowndlg.cpp
+--- /tmp/stable//kdebase/ksmserver/shutdowndlg.cpp 2011-10-10 03:40:45.000000000 +0200
++++ v3.5.13-sru/ksmserver/shutdowndlg.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -519,6 +519,11 @@
+ : TQWidget( 0L, "systemmodaldialogclass", Qt::WStyle_Customize | Qt::WStyle_NoBorder | Qt::WStyle_StaysOnTop ), m_timeout(0), m_isPainted(false), m_sharedRootPixmap(NULL), mPixmapTimeout(0)
+
+ {
++ setShown(false);
++ hide();
++
++ enableExports();
++
+ m_sharedRootPixmap = new KRootPixmap(this);
+ m_sharedRootPixmap->setCustomPainting(true);
+ connect(m_sharedRootPixmap, TQT_SIGNAL(backgroundUpdated(const TQPixmap &)), this, TQT_SLOT(slotSetBackgroundPixmap(const TQPixmap &)));
+@@ -545,15 +550,36 @@
+ setBackgroundPixmap( m_root );
+ setGeometry( TQApplication::desktop()->geometry() );
+ setBackgroundMode( TQWidget::NoBackground );
+-
+- setShown(true);
+ }
+
+ void KSMShutdownIPFeedback::showNow()
+ {
++ setShown(true);
++
+ TQTimer::singleShot( 0, this, SLOT(slotPaintEffect()) );
+ }
+
++void KSMShutdownIPFeedback::enableExports()
++{
++#ifdef Q_WS_X11
++ kdDebug(270) << k_lineinfo << "activating background exports.\n";
++ DCOPClient *client = kapp->dcopClient();
++ if (!client->isAttached()) {
++ client->attach();
++ }
++ TQByteArray data;
++ TQDataStream args( data, IO_WriteOnly );
++ args << 1;
++
++ TQCString appname( "kdesktop" );
++ int screen_number = DefaultScreen(qt_xdisplay());
++ if ( screen_number )
++ appname.sprintf("kdesktop-screen-%d", screen_number );
++
++ client->send( appname, "KBackgroundIface", "setExport(int)", data );
++#endif
++}
++
+ KSMShutdownIPFeedback::~KSMShutdownIPFeedback()
+ {
+ if (m_sharedRootPixmap) {
+@@ -639,18 +665,21 @@
+ //////
+
+ KSMShutdownDlg::KSMShutdownDlg( TQWidget* parent,
+- bool maysd, KApplication::ShutdownType sdtype )
+- : TQDialog( parent, 0, TRUE, (WFlags)WType_Popup ), targets(0)
++ bool maysd, KApplication::ShutdownType sdtype, int* selection )
++ : TQDialog( parent, 0, TRUE, (WFlags)WType_Popup ), targets(0), m_selection(selection)
+ // this is a WType_Popup on purpose. Do not change that! Not
+ // having a popup here has severe side effects.
+
+ {
+ TQVBoxLayout* vbox = new TQVBoxLayout( this );
+
++ if (m_selection) {
++ *m_selection = 0;
++ }
+
+ TQFrame* frame = new TQFrame( this );
+ frame->setFrameStyle( TQFrame::StyledPanel | TQFrame::Raised );
+- frame->setLineWidth( tqstyle().tqpixelMetric( TQStyle::PM_DefaultFrameWidth, frame ) );
++ frame->setLineWidth( style().pixelMetric( TQStyle::PM_DefaultFrameWidth, frame ) );
+ // we need to set the minimum size for the logout box, since it
+ // gets too small if there isn't all options available
+ frame->setMinimumWidth(400);
+@@ -691,7 +720,7 @@
+ {
+ // first line of buttons
+ hbuttonbox = new TQHBoxLayout( hbox, factor * KDialog::spacingHint() );
+- hbuttonbox->tqsetAlignment( Qt::AlignHCenter );
++ hbuttonbox->setAlignment( Qt::AlignHCenter );
+ // End session
+ FlatButton* btnLogout = new FlatButton( frame );
+ btnLogout->setTextLabel( TQString("&") + i18n("Log out"), false );
+@@ -711,12 +740,12 @@
+ hbox->addWidget( lfrm, AlignCenter );
+
+ buttonlay = new TQVBoxLayout( hbox, factor * KDialog::spacingHint() );
+- buttonlay->tqsetAlignment( Qt::AlignHCenter );
++ buttonlay->setAlignment( Qt::AlignHCenter );
+
+ TQLabel* icon = new TQLabel( lfrm );
+ icon->setPixmap( UserIcon( "shutdownkonq" ) );
+- lfrm->setFixedSize( icon->tqsizeHint());
+- icon->setFixedSize( icon->tqsizeHint());
++ lfrm->setFixedSize( icon->sizeHint());
++ icon->setFixedSize( icon->sizeHint());
+
+ buttonlay->addStretch( 1 );
+ // End session
+@@ -832,7 +861,7 @@
+
+ // bottom buttons
+ TQHBoxLayout* hbuttonbox2 = new TQHBoxLayout( vbox, factor * KDialog::spacingHint() );
+- hbuttonbox2->tqsetAlignment( Qt::AlignHCenter );
++ hbuttonbox2->setAlignment( Qt::AlignHCenter );
+
+ // Reboot
+ FlatButton* btnReboot = new FlatButton( frame );
+@@ -882,7 +911,7 @@
+
+ // cancel buttonbox
+ TQHBoxLayout* hbuttonbox3 = new TQHBoxLayout( vbox, factor * KDialog::spacingHint() );
+- hbuttonbox3->tqsetAlignment( Qt::AlignRight );
++ hbuttonbox3->setAlignment( Qt::AlignRight );
+
+ // Back to Desktop
+ KSMPushButton* btnBack = new KSMPushButton( KStdGuiItem::cancel(), frame );
+@@ -969,7 +998,7 @@
+ {
+ // cancel buttonbox
+ TQHBoxLayout* hbuttonbox3 = new TQHBoxLayout( vbox, factor * KDialog::spacingHint() );
+- hbuttonbox3->tqsetAlignment( Qt::AlignRight );
++ hbuttonbox3->setAlignment( Qt::AlignRight );
+
+ // Back to Desktop
+ KSMPushButton* btnBack = new KSMPushButton( KStdGuiItem::cancel(), frame );
+@@ -1043,17 +1072,15 @@
+
+ void KSMShutdownDlg::slotSuspend()
+ {
+-#ifdef COMPILE_HALBACKEND
+- if (m_lockOnResume) {
+- DCOPRef("kdesktop", "KScreensaverIface").send("lock");
+- }
++ *m_selection = 1; // Suspend
+
+- if (m_dbusConn)
++#ifdef COMPILE_HALBACKEND
++ if (m_dbusConn)
+ {
+ DBusMessage *msg = dbus_message_new_method_call(
+ "org.freedesktop.Hal",
+- "/org/freedesktop/Hal/devices/computer",
+- "org.freedesktop.Hal.Device.SystemPowerManagement",
++ "/org/freedesktop/Hal/devices/computer",
++ "org.freedesktop.Hal.Device.SystemPowerManagement",
+ "Suspend");
+
+ int wakeup=0;
+@@ -1063,44 +1090,40 @@
+
+ dbus_message_unref(msg);
+ }
+-
+- reject(); // continue on resume
+ #endif
++ reject(); // continue on resume
+ }
+
+ void KSMShutdownDlg::slotHibernate()
+ {
+-#ifdef COMPILE_HALBACKEND
+- if (m_lockOnResume) {
+- DCOPRef("kdesktop", "KScreensaverIface").send("lock");
+- }
++ *m_selection = 2; // Hibernate
+
+- if (m_dbusConn)
++#ifdef COMPILE_HALBACKEND
++ if (m_dbusConn)
+ {
+ DBusMessage *msg = dbus_message_new_method_call(
+ "org.freedesktop.Hal",
+- "/org/freedesktop/Hal/devices/computer",
+- "org.freedesktop.Hal.Device.SystemPowerManagement",
++ "/org/freedesktop/Hal/devices/computer",
++ "org.freedesktop.Hal.Device.SystemPowerManagement",
+ "Hibernate");
+
+ dbus_connection_send(m_dbusConn, msg, NULL);
+
+ dbus_message_unref(msg);
+ }
+-
+- reject(); // continue on resume
+ #endif
++ reject(); // continue on resume
+ }
+
+-bool KSMShutdownDlg::confirmShutdown( bool maysd, KApplication::ShutdownType& sdtype, TQString& bootOption )
++bool KSMShutdownDlg::confirmShutdown( bool maysd, KApplication::ShutdownType& sdtype, TQString& bootOption, int* selection )
+ {
+ kapp->enableStyles();
+ KSMShutdownDlg* l = new KSMShutdownDlg( 0,
+ //KSMShutdownFeedback::self(),
+- maysd, sdtype );
++ maysd, sdtype, selection );
+
+ // Show dialog (will save the background in showEvent)
+- TQSize sh = l->tqsizeHint();
++ TQSize sh = l->sizeHint();
+ TQRect rect = KGlobalSettings::desktopGeometry(TQCursor::pos());
+
+ l->move(rect.x() + (rect.width() - sh.width())/2,
+@@ -1230,7 +1253,7 @@
+ {
+ kapp->enableStyles();
+ KSMDelayedMessageBox msg( sdtype, bootOption, confirmDelay );
+- TQSize sh = msg.tqsizeHint();
++ TQSize sh = msg.sizeHint();
+ TQRect rect = KGlobalSettings::desktopGeometry(TQCursor::pos());
+
+ msg.move(rect.x() + (rect.width() - sh.width())/2,
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksmserver/shutdowndlg.h v3.5.13-sru/ksmserver/shutdowndlg.h
+--- /tmp/stable//kdebase/ksmserver/shutdowndlg.h 2011-09-21 09:01:03.000000000 +0200
++++ v3.5.13-sru/ksmserver/shutdowndlg.h 2012-07-31 17:17:50.000000000 +0200
+@@ -97,6 +97,13 @@
+ void slotSetBackgroundPixmap(const TQPixmap &);
+
+ private:
++ /**
++ * Asks KDesktop to export the desktop background as a KSharedPixmap.
++ * This method uses DCOP to call KBackgroundIface/setExport(int).
++ */
++ void enableExports();
++
++private:
+ static KSMShutdownIPFeedback * s_pSelf;
+ KSMShutdownIPFeedback();
+ int m_currentY;
+@@ -116,7 +123,7 @@
+ Q_OBJECT
+
+ public:
+- static bool confirmShutdown( bool maysd, KApplication::ShutdownType& sdtype, TQString& bopt );
++ static bool confirmShutdown( bool maysd, KApplication::ShutdownType& sdtype, TQString& bopt, int* selection=0 );
+
+ public slots:
+ void slotLogout();
+@@ -130,7 +137,7 @@
+ ~KSMShutdownDlg();
+
+ private:
+- KSMShutdownDlg( TQWidget* parent, bool maysd, KApplication::ShutdownType sdtype );
++ KSMShutdownDlg( TQWidget* parent, bool maysd, KApplication::ShutdownType sdtype, int* selection=0 );
+ KApplication::ShutdownType m_shutdownType;
+ TQString m_bootOption;
+ TQPopupMenu *targets;
+@@ -140,6 +147,7 @@
+ DBusConnection *m_dbusConn;
+ #endif
+ bool m_lockOnResume;
++ int* m_selection;
+ };
+
+ // The shutdown-in-progress dialog
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksmserver/timed.ui v3.5.13-sru/ksmserver/timed.ui
+--- /tmp/stable//kdebase/ksmserver/timed.ui 2011-03-12 07:57:33.000000000 +0100
++++ v3.5.13-sru/ksmserver/timed.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -110,7 +110,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>2</height>
+@@ -129,7 +129,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>48</width>
+ <height>48</height>
+@@ -149,7 +149,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>2</height>
+@@ -192,7 +192,7 @@
+ <property name="textFormat">
+ <enum>PlainText</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignLeft</set>
+ </property>
+ </widget>
+@@ -215,7 +215,7 @@
+ <property name="textFormat">
+ <enum>RichText</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+@@ -229,7 +229,7 @@
+ <property name="sizeType">
+ <enum>Preferred</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -258,7 +258,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>90</width>
+ <height>20</height>
+@@ -286,7 +286,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>90</width>
+ <height>20</height>
+@@ -319,7 +319,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>90</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksplashml/kcmksplash/installer.cpp v3.5.13-sru/ksplashml/kcmksplash/installer.cpp
+--- /tmp/stable//kdebase/ksplashml/kcmksplash/installer.cpp 2011-08-11 07:25:40.000000000 +0200
++++ v3.5.13-sru/ksplashml/kcmksplash/installer.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -99,7 +99,7 @@
+ hbox->setStretchFactor( leftbox, 1 );
+
+ mThemesList = new ThemeListBox(this);
+- mThemesList->tqsetSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Expanding );
++ mThemesList->setSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Expanding );
+ connect(mThemesList, TQT_SIGNAL(highlighted(int)), TQT_SLOT(slotSetTheme(int)));
+ connect(mThemesList, TQT_SIGNAL(filesDropped(const KURL::List&)), TQT_SLOT(slotFilesDropped(const KURL::List&)));
+ leftbox->addWidget(mThemesList);
+@@ -120,16 +120,16 @@
+ hbox->setStretchFactor( rightbox, 3 );
+
+ mPreview = new TQLabel(this);
+- mPreview->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding );
++ mPreview->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding );
+ mPreview->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
+ mPreview->setMinimumSize(TQSize(320,240));
+- mPreview->tqsetAlignment(Qt::AlignHCenter|Qt::AlignVCenter);
++ mPreview->setAlignment(Qt::AlignHCenter|Qt::AlignVCenter);
+ rightbox->addWidget(mPreview);
+ rightbox->setStretchFactor( mPreview, 3 );
+
+ mText = new TQTextEdit(this);
+- mText->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred );
+- mText->setMinimumSize(mText->tqsizeHint());
++ mText->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred );
++ mText->setMinimumSize(mText->sizeHint());
+ mText->setReadOnly(true);
+ rightbox->addWidget(mText);
+ rightbox->setStretchFactor( mText, 1 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksplashml/themeengine/default/themelegacy.cpp v3.5.13-sru/ksplashml/themeengine/default/themelegacy.cpp
+--- /tmp/stable//kdebase/ksplashml/themeengine/default/themelegacy.cpp 2011-03-12 07:58:00.000000000 +0100
++++ v3.5.13-sru/ksplashml/themeengine/default/themelegacy.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -164,7 +164,7 @@
+ mProgressBar->setPaletteBackgroundPixmap( blimage );
+
+ bottom_label->setFixedWidth( QMAX(blimage.width(),tlimage.width()) );
+- bottom_label->setFixedHeight( mLabel->tqsizeHint().height()+4 );
++ bottom_label->setFixedHeight( mLabel->sizeHint().height()+4 );
+
+ // 3 pixels of whitespace between the label and the progressbar.
+ mLabel->resize( bottom_label->width(), bottom_label->height() );
+@@ -274,7 +274,7 @@
+ p.drawPixmap(0, 0, *mInactivePixmap, 0, 0, tmp.width()-offs );
+ else
+ #endif
+- p.tqdrawPixmap(offs, 0, *mInactivePixmap, offs, 0);
++ p.drawPixmap(offs, 0, *mInactivePixmap, offs, 0);
+ return tmp ;
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksplashml/themeengine/redmond/themeredmond.cpp v3.5.13-sru/ksplashml/themeengine/redmond/themeredmond.cpp
+--- /tmp/stable//kdebase/ksplashml/themeengine/redmond/themeredmond.cpp 2011-03-12 07:58:00.000000000 +0100
++++ v3.5.13-sru/ksplashml/themeengine/redmond/themeredmond.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -199,11 +199,11 @@
+ kdmconfig->setGroup("X-*-Greeter");
+ TQString userPicsDir = kdmconfig->readEntry( "FaceDir", KGlobal::dirs()->resourceDirs("data").last() + "kdm/faces" ) + '/';
+ TQString fs = kdmconfig->readEntry( "FaceSource" );
+- if (fs == TQString::tqfromLatin1("UserOnly"))
++ if (fs == TQString::fromLatin1("UserOnly"))
+ faceSource = fUserOnly;
+- else if (fs == TQString::tqfromLatin1("PreferUser"))
++ else if (fs == TQString::fromLatin1("PreferUser"))
+ faceSource = fUserFirst;
+- else if (fs == TQString::tqfromLatin1("PreferAdmin"))
++ else if (fs == TQString::fromLatin1("PreferAdmin"))
+ faceSource = fAdminFirst;
+ else
+ faceSource = fAdminOnly; // Admin Only
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksplashml/themeengine/redmond/themeredmond.h v3.5.13-sru/ksplashml/themeengine/redmond/themeredmond.h
+--- /tmp/stable//kdebase/ksplashml/themeengine/redmond/themeredmond.h 2011-03-12 07:58:00.000000000 +0100
++++ v3.5.13-sru/ksplashml/themeengine/redmond/themeredmond.h 2012-07-31 17:17:50.000000000 +0200
+@@ -57,7 +57,7 @@
+ if( mText != s )
+ {
+ mText = s;
+- tqrepaint( false );
++ repaint( false );
+ }
+ };
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksplashml/themeengine/unified/themeunified.cpp v3.5.13-sru/ksplashml/themeengine/unified/themeunified.cpp
+--- /tmp/stable//kdebase/ksplashml/themeengine/unified/themeunified.cpp 2011-09-16 04:01:45.000000000 +0200
++++ v3.5.13-sru/ksplashml/themeengine/unified/themeunified.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -80,7 +80,7 @@
+ const TQRect rect = kapp->desktop()->screenGeometry( mTheme->xineramaScreen() );
+
+ // Center the dialog
+- TQSize sh = tqsizeHint();
++ TQSize sh = sizeHint();
+ TQRect rect1 = KGlobalSettings::desktopGeometry(TQCursor::pos());
+ move(rect1.x() + (rect1.width() - sh.width())/2, rect1.y() + (rect1.height() - sh.height())/2);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/KSGAppletSettings.cc v3.5.13-sru/ksysguard/gui/KSGAppletSettings.cc
+--- /tmp/stable//kdebase/ksysguard/gui/KSGAppletSettings.cc 2011-03-12 07:58:25.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/KSGAppletSettings.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -65,7 +65,7 @@
+ topLayout->addWidget( mInterval, 2, 1 );
+ label->setBuddy( mInterval );
+
+- resize( TQSize( 250, 130 ).expandedTo( tqminimumSizeHint() ) );
++ resize( TQSize( 250, 130 ).expandedTo( minimumSizeHint() ) );
+
+ KAcceleratorManager::manage( page );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/ksgrd/HostConnector.cc v3.5.13-sru/ksysguard/gui/ksgrd/HostConnector.cc
+--- /tmp/stable//kdebase/ksysguard/gui/ksgrd/HostConnector.cc 2011-03-12 07:58:25.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/ksgrd/HostConnector.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -59,9 +59,9 @@
+
+ TQButtonGroup *group = new TQButtonGroup( 0, Qt::Vertical,
+ i18n( "Connection Type" ), page );
+- TQGridLayout *groupLayout = new TQGridLayout( group->tqlayout(), 4, 4,
++ TQGridLayout *groupLayout = new TQGridLayout( group->layout(), 4, 4,
+ spacingHint() );
+- groupLayout->tqsetAlignment( Qt::AlignTop );
++ groupLayout->setAlignment( Qt::AlignTop );
+
+ mUseSsh = new TQRadioButton( i18n( "ssh" ), group );
+ mUseSsh->setEnabled( true );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/ksgrd/StyleEngine.cc v3.5.13-sru/ksysguard/gui/ksgrd/StyleEngine.cc
+--- /tmp/stable//kdebase/ksysguard/gui/ksgrd/StyleEngine.cc 2011-03-12 07:58:25.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/ksgrd/StyleEngine.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -122,7 +122,7 @@
+ static TQColor dummy;
+
+ if ( pos < mSensorColors.count() )
+- return *mSensorColors.tqat( pos );
++ return *mSensorColors.at( pos );
+ else
+ return dummy;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/ksgrd/StyleSettings.cc v3.5.13-sru/ksysguard/gui/ksgrd/StyleSettings.cc
+--- /tmp/stable//kdebase/ksysguard/gui/ksgrd/StyleSettings.cc 2011-03-12 07:58:25.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/ksgrd/StyleSettings.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -162,7 +162,7 @@
+
+ for ( uint i = 0; i < list.count(); ++i ) {
+ TQPixmap pm( 12, 12 );
+- pm.fill( *list.tqat( i ) );
++ pm.fill( *list.at( i ) );
+ mColorListBox->insertItem( pm, i18n( "Color %1" ).arg( i ) );
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/BarGraph.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/BarGraph.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/BarGraph.cc 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/BarGraph.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -52,7 +52,7 @@
+
+ // Anything smaller than this does not make sense.
+ setMinimumSize( 16, 16 );
+- tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding,
++ setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding,
+ TQSizePolicy::Expanding, false ) );
+ }
+
+@@ -78,7 +78,7 @@
+ }
+
+ samples.resize( --bars );
+- footers.remove( footers.tqat( idx ) );
++ footers.remove( footers.at( idx ) );
+ update();
+
+ return true;
+@@ -103,7 +103,7 @@
+
+ TQPixmap pm( w, h );
+ TQPainter p;
+- p.tqbegin( &pm, this );
++ p.begin( &pm, this );
+ p.setFont( TQFont( p.font().family(), fontSize ) );
+ TQFontMetrics fm( p.font() );
+
+@@ -111,7 +111,7 @@
+
+ /* Draw white line along the bottom and the right side of the
+ * widget to create a 3D like look. */
+- p.setPen( TQColor( tqcolorGroup().light() ) );
++ p.setPen( TQColor( colorGroup().light() ) );
+ p.drawLine( 0, h - 1, w - 1, h - 1 );
+ p.drawLine( w - 1, 0, w - 1, h - 1 );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/DancingBars.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/DancingBars.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/DancingBars.cc 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/DancingBars.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -53,7 +53,7 @@
+ else
+ mPlotter = new BarGraph( frame() );
+
+- setMinimumSize( tqsizeHint() );
++ setMinimumSize( sizeHint() );
+
+ /* All RMB clicks to the mPlotter widget will be handled by
+ * SensorDisplay::eventFilter. */
+@@ -94,11 +94,11 @@
+ TQValueList< TQStringList > list;
+ for ( uint i = mBars - 1; i < mBars; i-- ) {
+ TQStringList entry;
+- entry << sensors().tqat( i )->hostName();
+- entry << KSGRD::SensorMgr->translateSensor( sensors().tqat( i )->name() );
++ entry << sensors().at( i )->hostName();
++ entry << KSGRD::SensorMgr->translateSensor( sensors().at( i )->name() );
+ entry << mPlotter->footers[ i ];
+- entry << KSGRD::SensorMgr->translateUnit( sensors().tqat( i )->unit() );
+- entry << ( sensors().tqat( i )->isOk() ? i18n( "OK" ) : i18n( "Error" ) );
++ entry << KSGRD::SensorMgr->translateUnit( sensors().at( i )->unit() );
++ entry << ( sensors().at( i )->isOk() ? i18n( "OK" ) : i18n( "Error" ) );
+
+ list.append( entry );
+ }
+@@ -135,8 +135,8 @@
+ for ( uint i = 0; i < sensors().count(); i++ ) {
+ bool found = false;
+ for ( it = list.begin(); it != list.end(); ++it ) {
+- if ( (*it)[ 0 ] == sensors().tqat( i )->hostName() &&
+- (*it)[ 1 ] == KSGRD::SensorMgr->translateSensor( sensors().tqat( i )->name() ) ) {
++ if ( (*it)[ 0 ] == sensors().at( i )->hostName() &&
++ (*it)[ 1 ] == KSGRD::SensorMgr->translateSensor( sensors().at( i )->name() ) ) {
+ mPlotter->footers[ i ] = (*it)[ 2 ];
+ found = true;
+ break;
+@@ -147,7 +147,7 @@
+ removeSensor( i );
+ }
+
+- tqrepaint();
++ repaint();
+ setModified( true );
+ }
+
+@@ -158,7 +158,7 @@
+ mPlotter->backgroundColor = KSGRD::Style->backgroundColor();
+ mPlotter->fontSize = KSGRD::Style->fontSize();
+
+- tqrepaint();
++ repaint();
+ setModified( true );
+ }
+
+@@ -185,8 +185,8 @@
+ TQString tooltip;
+ for ( uint i = 0; i < mBars; ++i ) {
+ tooltip += TQString( "%1%2:%3" ).arg( i != 0 ? "\n" : "" )
+- .arg( sensors().tqat( i )->hostName() )
+- .arg( sensors().tqat( i )->name() );
++ .arg( sensors().at( i )->hostName() )
++ .arg( sensors().at( i )->name() );
+ }
+ TQToolTip::remove( mPlotter );
+ TQToolTip::add( mPlotter, tooltip );
+@@ -209,8 +209,8 @@
+ TQString tooltip;
+ for ( uint i = 0; i < mBars; ++i ) {
+ tooltip += TQString( "%1%2:%3" ).arg( i != 0 ? "\n" : "" )
+- .arg( sensors().tqat( i )->hostName() )
+- .arg( sensors().tqat( i )->name() );
++ .arg( sensors().at( i )->hostName() )
++ .arg( sensors().at( i )->name() );
+ }
+ TQToolTip::remove( mPlotter );
+ TQToolTip::add( mPlotter, tooltip );
+@@ -231,12 +231,12 @@
+ frame()->setGeometry( 0, 0, width(), height() );
+ }
+
+-TQSize DancingBars::tqsizeHint()
++TQSize DancingBars::sizeHint()
+ {
+ if ( noFrame() )
+- return ( mPlotter->tqsizeHint() );
++ return ( mPlotter->sizeHint() );
+ else
+- return ( frame()->tqsizeHint() );
++ return ( frame()->sizeHint() );
+ }
+
+ void DancingBars::answerReceived( int id, const TQString &answer )
+@@ -272,7 +272,7 @@
+ mPlotter->changeRange( info.min(), info.max() );
+ }
+
+- sensors().tqat( id - 100 )->setUnit( info.unit() );
++ sensors().at( id - 100 )->setUnit( info.unit() );
+ }
+ }
+
+@@ -331,9 +331,9 @@
+ for ( uint i = 0; i < mBars; ++i ) {
+ TQDomElement beam = doc.createElement( "beam" );
+ element.appendChild( beam );
+- beam.setAttribute( "hostName", sensors().tqat( i )->hostName() );
+- beam.setAttribute( "sensorName", sensors().tqat( i )->name() );
+- beam.setAttribute( "sensorType", sensors().tqat( i )->type() );
++ beam.setAttribute( "hostName", sensors().at( i )->hostName() );
++ beam.setAttribute( "sensorName", sensors().at( i )->name() );
++ beam.setAttribute( "sensorType", sensors().at( i )->type() );
+ beam.setAttribute( "sensorDescr", mPlotter->footers[ i ] );
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/DancingBars.h v3.5.13-sru/ksysguard/gui/SensorDisplayLib/DancingBars.h
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/DancingBars.h 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/DancingBars.h 2012-07-31 17:17:50.000000000 +0200
+@@ -54,7 +54,7 @@
+
+ void updateSamples( const TQMemArray<double> &samples );
+
+- virtual TQSize tqsizeHint();
++ virtual TQSize sizeHint();
+
+ virtual void answerReceived( int id, const TQString &answer );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.cc 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -48,7 +48,7 @@
+ TQGridLayout *pageLayout = new TQGridLayout( page, 3, 1, 0, spacingHint() );
+
+ TQGroupBox *groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Title" ), page );
+- TQGridLayout *boxLayout = new TQGridLayout( groupBox->tqlayout(), 1, 1 );
++ TQGridLayout *boxLayout = new TQGridLayout( groupBox->layout(), 1, 1 );
+
+ mTitle = new KLineEdit( groupBox );
+ TQWhatsThis::add( mTitle, i18n( "Enter the title of the display here." ) );
+@@ -57,7 +57,7 @@
+ pageLayout->addWidget( groupBox, 0, 0 );
+
+ groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Display Range" ), page );
+- boxLayout = new TQGridLayout( groupBox->tqlayout(), 1, 5 );
++ boxLayout = new TQGridLayout( groupBox->layout(), 1, 5 );
+ boxLayout->setColStretch( 2, 1 );
+
+ TQLabel *label = new TQLabel( i18n( "Minimum value:" ), groupBox );
+@@ -85,7 +85,7 @@
+ pageLayout = new TQGridLayout( page, 3, 1, 0, spacingHint() );
+
+ groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Alarm for Minimum Value" ), page );
+- boxLayout = new TQGridLayout( groupBox->tqlayout(), 1, 4 );
++ boxLayout = new TQGridLayout( groupBox->layout(), 1, 4 );
+ boxLayout->setColStretch( 1, 1 );
+
+ mUseLowerLimit = new TQCheckBox( i18n( "Enable alarm" ), groupBox );
+@@ -103,7 +103,7 @@
+ pageLayout->addWidget( groupBox, 0, 0 );
+
+ groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Alarm for Maximum Value" ), page );
+- boxLayout = new TQGridLayout( groupBox->tqlayout(), 1, 4 );
++ boxLayout = new TQGridLayout( groupBox->layout(), 1, 4 );
+ boxLayout->setColStretch( 1, 1 );
+
+ mUseUpperLimit = new TQCheckBox( i18n( "Enable alarm" ), groupBox );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/FancyPlotter.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/FancyPlotter.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/FancyPlotter.cc 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/FancyPlotter.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -52,7 +52,7 @@
+ mPlotter->setTitle( title );
+ mPlotter->setThinFrame(!isApplet); //if we aren't an applet, draw a thin white frame on the left and bottom, for a 3d effect
+
+- setMinimumSize( tqsizeHint() );
++ setMinimumSize( sizeHint() );
+
+ /* All RMB clicks to the mPlotter widget will be handled by
+ * SensorDisplay::eventFilter. */
+@@ -101,10 +101,10 @@
+ for ( uint i = 0; i < mBeams; ++i ) {
+ TQStringList entry;
+ entry << TQString::number(i);
+- entry << sensors().tqat( i )->hostName();
+- entry << KSGRD::SensorMgr->translateSensor( sensors().tqat( i )->name() );
+- entry << KSGRD::SensorMgr->translateUnit( sensors().tqat( i )->unit() );
+- entry << ( sensors().tqat( i )->isOk() ? i18n( "OK" ) : i18n( "Error" ) );
++ entry << sensors().at( i )->hostName();
++ entry << KSGRD::SensorMgr->translateSensor( sensors().at( i )->name() );
++ entry << KSGRD::SensorMgr->translateUnit( sensors().at( i )->unit() );
++ entry << ( sensors().at( i )->isOk() ? i18n( "OK" ) : i18n( "Error" ) );
+ entry << ( mPlotter->beamColors()[ i ].name() );
+
+ list.append( entry );
+@@ -214,10 +214,10 @@
+ if ( type != "integer" && type != "float" )
+ return false;
+
+- if ( mBeams > 0 && hostName != sensors().tqat( 0 )->hostName() ) {
++ if ( mBeams > 0 && hostName != sensors().at( 0 )->hostName() ) {
+ KMessageBox::sorry( this, TQString( "All sensors of this display need "
+ "to be from the host %1!" )
+- .arg( sensors().tqat( 0 )->hostName() ) );
++ .arg( sensors().at( 0 )->hostName() ) );
+
+ /* We have to enforce this since the answers to value requests
+ * need to be received in order. */
+@@ -238,8 +238,8 @@
+ TQString tooltip;
+ for ( uint i = 0; i < mBeams; ++i ) {
+ tooltip += TQString( "%1%2:%3" ).arg( i != 0 ? "\n" : "" )
+- .arg( sensors().tqat( mBeams - i - 1 )->hostName() )
+- .arg( sensors().tqat( mBeams - i - 1 )->name() );
++ .arg( sensors().at( mBeams - i - 1 )->hostName() )
++ .arg( sensors().at( mBeams - i - 1 )->name() );
+ }
+
+ TQToolTip::remove( TQT_TQWIDGET(mPlotter) );
+@@ -263,8 +263,8 @@
+ TQString tooltip;
+ for ( uint i = 0; i < mBeams; ++i ) {
+ tooltip += TQString( "%1%2:%3" ).arg( i != 0 ? "\n" : "" )
+- .arg( sensors().tqat( mBeams - i - 1 )->hostName() )
+- .arg( sensors().tqat( mBeams - i - 1 )->name() );
++ .arg( sensors().at( mBeams - i - 1 )->hostName() )
++ .arg( sensors().at( mBeams - i - 1 )->name() );
+ }
+
+ TQToolTip::remove( TQT_TQWIDGET(mPlotter) );
+@@ -281,12 +281,12 @@
+ frame()->setGeometry( 0, 0, width(), height() );
+ }
+
+-TQSize FancyPlotter::tqsizeHint()
++TQSize FancyPlotter::sizeHint()
+ {
+ if ( noFrame() )
+- return mPlotter->tqsizeHint();
++ return mPlotter->sizeHint();
+ else
+- return frame()->tqsizeHint();
++ return frame()->sizeHint();
+ }
+
+ void FancyPlotter::answerReceived( int id, const TQString &answer )
+@@ -319,7 +319,7 @@
+ if ( info.min() == 0.0 && info.max() == 0.0 )
+ mPlotter->setUseAutoRange( true );
+ }
+- sensors().tqat( id - 100 )->setUnit( info.unit() );
++ sensors().at( id - 100 )->setUnit( info.unit() );
+ }
+ }
+
+@@ -405,9 +405,9 @@
+ for ( uint i = 0; i < mBeams; ++i ) {
+ TQDomElement beam = doc.createElement( "beam" );
+ element.appendChild( beam );
+- beam.setAttribute( "hostName", sensors().tqat( i )->hostName() );
+- beam.setAttribute( "sensorName", sensors().tqat( i )->name() );
+- beam.setAttribute( "sensorType", sensors().tqat( i )->type() );
++ beam.setAttribute( "hostName", sensors().at( i )->hostName() );
++ beam.setAttribute( "sensorName", sensors().at( i )->name() );
++ beam.setAttribute( "sensorType", sensors().at( i )->type() );
+ saveColor( beam, "color", mPlotter->beamColors()[ i ] );
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/FancyPlotter.h v3.5.13-sru/ksysguard/gui/SensorDisplayLib/FancyPlotter.h
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/FancyPlotter.h 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/FancyPlotter.h 2012-07-31 17:17:50.000000000 +0200
+@@ -66,7 +66,7 @@
+
+ bool removeSensor( uint pos );
+
+- virtual TQSize tqsizeHint(void);
++ virtual TQSize sizeHint(void);
+
+ virtual void answerReceived( int id, const TQString &answer );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cc 2011-07-09 08:16:58.000000000 +0200
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -79,7 +79,7 @@
+ pageLayout = new TQGridLayout( page, 2, 1, 0, spacingHint() );
+
+ groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Vertical Scale" ), page );
+- boxLayout = new TQGridLayout( groupBox->tqlayout(), 2, 5, spacingHint() );
++ boxLayout = new TQGridLayout( groupBox->layout(), 2, 5, spacingHint() );
+ boxLayout->setColStretch( 2, 1 );
+
+ mUseAutoRange = new TQCheckBox( i18n( "Automatic range detection" ), groupBox );
+@@ -90,7 +90,7 @@
+ boxLayout->addWidget( label, 1, 0 );
+
+ mMinValue = new KLineEdit( groupBox );
+- mMinValue->tqsetAlignment( AlignRight );
++ mMinValue->setAlignment( AlignRight );
+ mMinValue->setEnabled( false );
+ TQWhatsThis::add( mMinValue, i18n( "Enter the minimum value for the display here. If both values are 0, automatic range detection is enabled." ) );
+ boxLayout->addWidget( mMinValue, 1, 1 );
+@@ -100,7 +100,7 @@
+ boxLayout->addWidget( label, 1, 3 );
+
+ mMaxValue = new KLineEdit( groupBox );
+- mMaxValue->tqsetAlignment( AlignRight );
++ mMaxValue->setAlignment( AlignRight );
+ mMaxValue->setEnabled( false );
+ TQWhatsThis::add( mMaxValue, i18n( "Enter the maximum value for the display here. If both values are 0, automatic range detection is enabled." ) );
+ boxLayout->addWidget( mMaxValue, 1, 4 );
+@@ -109,7 +109,7 @@
+ pageLayout->addWidget( groupBox, 0, 0 );
+
+ groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Horizontal Scale" ), page );
+- boxLayout = new TQGridLayout( groupBox->tqlayout(), 2, 2, spacingHint() );
++ boxLayout = new TQGridLayout( groupBox->layout(), 2, 2, spacingHint() );
+ boxLayout->setRowStretch( 1, 1 );
+
+ mHorizontalScale = new KIntNumInput( 1, groupBox );
+@@ -127,7 +127,7 @@
+ pageLayout = new TQGridLayout( page, 3, 2, 0, spacingHint() );
+
+ groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Lines" ), page );
+- boxLayout = new TQGridLayout( groupBox->tqlayout(), 2, 5, spacingHint() );
++ boxLayout = new TQGridLayout( groupBox->layout(), 2, 5, spacingHint() );
+ boxLayout->setColStretch( 1, 1 );
+
+ mShowVerticalLines = new TQCheckBox( i18n( "Vertical lines" ), groupBox );
+@@ -166,7 +166,7 @@
+ pageLayout->addMultiCellWidget( groupBox, 0, 0, 0, 1 );
+
+ groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Text" ), page );
+- boxLayout = new TQGridLayout( groupBox->tqlayout(), 3, 4, spacingHint() );
++ boxLayout = new TQGridLayout( groupBox->layout(), 3, 4, spacingHint() );
+ boxLayout->setColStretch( 1, 1 );
+
+ mShowLabels = new TQCheckBox( i18n( "Labels" ), groupBox );
+@@ -191,7 +191,7 @@
+ pageLayout->addWidget( groupBox, 1, 0 );
+
+ groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Colors" ), page );
+- boxLayout = new TQGridLayout( groupBox->tqlayout(), 4, 2, spacingHint() );
++ boxLayout = new TQGridLayout( groupBox->layout(), 4, 2, spacingHint() );
+
+ label = new TQLabel( i18n( "Vertical lines:" ), groupBox );
+ boxLayout->addWidget( label, 0, 0 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ListView.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ListView.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ListView.cc 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ListView.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -105,7 +105,7 @@
+ PrivateListView::PrivateListView(TQWidget *parent, const char *name)
+ : TQListView(parent, name)
+ {
+- TQColorGroup cg = tqcolorGroup();
++ TQColorGroup cg = colorGroup();
+
+ cg.setColor(TQColorGroup::Link, KSGRD::Style->firstForegroundColor());
+ cg.setColor(TQColorGroup::Text, KSGRD::Style->secondForegroundColor());
+@@ -116,8 +116,8 @@
+
+ void PrivateListView::update(const TQString& answer)
+ {
+- tqsetUpdatesEnabled(false);
+- viewport()->tqsetUpdatesEnabled(false);
++ setUpdatesEnabled(false);
++ viewport()->setUpdatesEnabled(false);
+
+ int vpos = verticalScrollBar()->value();
+ int hpos = horizontalScrollBar()->value();
+@@ -143,8 +143,8 @@
+ verticalScrollBar()->setValue(vpos);
+ horizontalScrollBar()->setValue(hpos);
+
+- viewport()->tqsetUpdatesEnabled(true);
+- tqsetUpdatesEnabled(true);
++ viewport()->setUpdatesEnabled(true);
++ setUpdatesEnabled(true);
+
+ triggerUpdate();
+ }
+@@ -239,7 +239,7 @@
+ void
+ ListView::updateList()
+ {
+- sendRequest(sensors().tqat(0)->hostName(), sensors().tqat(0)->name(), 19);
++ sendRequest(sensors().at(0)->hostName(), sensors().at(0)->name(), 19);
+ }
+
+ void
+@@ -290,12 +290,12 @@
+ {
+ addSensor(element.attribute("hostName"), element.attribute("sensorName"), (element.attribute("sensorType").isEmpty() ? "listview" : element.attribute("sensorType")), element.attribute("title"));
+
+- TQColorGroup tqcolorGroup = monitor->tqcolorGroup();
+- tqcolorGroup.setColor(TQColorGroup::Link, restoreColor(element, "gridColor", KSGRD::Style->firstForegroundColor()));
+- tqcolorGroup.setColor(TQColorGroup::Text, restoreColor(element, "textColor", KSGRD::Style->secondForegroundColor()));
+- tqcolorGroup.setColor(TQColorGroup::Base, restoreColor(element, "backgroundColor", KSGRD::Style->backgroundColor()));
++ TQColorGroup colorGroup = monitor->colorGroup();
++ colorGroup.setColor(TQColorGroup::Link, restoreColor(element, "gridColor", KSGRD::Style->firstForegroundColor()));
++ colorGroup.setColor(TQColorGroup::Text, restoreColor(element, "textColor", KSGRD::Style->secondForegroundColor()));
++ colorGroup.setColor(TQColorGroup::Base, restoreColor(element, "backgroundColor", KSGRD::Style->backgroundColor()));
+
+- monitor->setPalette(TQPalette(tqcolorGroup, tqcolorGroup, tqcolorGroup));
++ monitor->setPalette(TQPalette(colorGroup, colorGroup, colorGroup));
+
+ SensorDisplay::restoreSettings(element);
+
+@@ -307,14 +307,14 @@
+ bool
+ ListView::saveSettings(TQDomDocument& doc, TQDomElement& element, bool save)
+ {
+- element.setAttribute("hostName", sensors().tqat(0)->hostName());
+- element.setAttribute("sensorName", sensors().tqat(0)->name());
+- element.setAttribute("sensorType", sensors().tqat(0)->type());
+-
+- TQColorGroup tqcolorGroup = monitor->tqcolorGroup();
+- saveColor(element, "gridColor", tqcolorGroup.color(TQColorGroup::Link));
+- saveColor(element, "textColor", tqcolorGroup.color(TQColorGroup::Text));
+- saveColor(element, "backgroundColor", tqcolorGroup.color(TQColorGroup::Base));
++ element.setAttribute("hostName", sensors().at(0)->hostName());
++ element.setAttribute("sensorName", sensors().at(0)->name());
++ element.setAttribute("sensorType", sensors().at(0)->type());
++
++ TQColorGroup colorGroup = monitor->colorGroup();
++ saveColor(element, "gridColor", colorGroup.color(TQColorGroup::Link));
++ saveColor(element, "textColor", colorGroup.color(TQColorGroup::Text));
++ saveColor(element, "backgroundColor", colorGroup.color(TQColorGroup::Base));
+
+ SensorDisplay::saveSettings(doc, element);
+
+@@ -331,10 +331,10 @@
+ Q_CHECK_PTR(lvs);
+ connect(lvs, TQT_SIGNAL(applyClicked()), TQT_SLOT(applySettings()));
+
+- TQColorGroup tqcolorGroup = monitor->tqcolorGroup();
+- lvs->setGridColor(tqcolorGroup.color(TQColorGroup::Link));
+- lvs->setTextColor(tqcolorGroup.color(TQColorGroup::Text));
+- lvs->setBackgroundColor(tqcolorGroup.color(TQColorGroup::Base));
++ TQColorGroup colorGroup = monitor->colorGroup();
++ lvs->setGridColor(colorGroup.color(TQColorGroup::Link));
++ lvs->setTextColor(colorGroup.color(TQColorGroup::Text));
++ lvs->setBackgroundColor(colorGroup.color(TQColorGroup::Base));
+ lvs->setTitle(title());
+
+ if (lvs->exec())
+@@ -347,11 +347,11 @@
+ void
+ ListView::applySettings()
+ {
+- TQColorGroup tqcolorGroup = monitor->tqcolorGroup();
+- tqcolorGroup.setColor(TQColorGroup::Link, lvs->gridColor());
+- tqcolorGroup.setColor(TQColorGroup::Text, lvs->textColor());
+- tqcolorGroup.setColor(TQColorGroup::Base, lvs->backgroundColor());
+- monitor->setPalette(TQPalette(tqcolorGroup, tqcolorGroup, tqcolorGroup));
++ TQColorGroup colorGroup = monitor->colorGroup();
++ colorGroup.setColor(TQColorGroup::Link, lvs->gridColor());
++ colorGroup.setColor(TQColorGroup::Text, lvs->textColor());
++ colorGroup.setColor(TQColorGroup::Base, lvs->backgroundColor());
++ monitor->setPalette(TQPalette(colorGroup, colorGroup, colorGroup));
+
+ setTitle(lvs->title());
+
+@@ -361,11 +361,11 @@
+ void
+ ListView::applyStyle()
+ {
+- TQColorGroup tqcolorGroup = monitor->tqcolorGroup();
+- tqcolorGroup.setColor(TQColorGroup::Link, KSGRD::Style->firstForegroundColor());
+- tqcolorGroup.setColor(TQColorGroup::Text, KSGRD::Style->secondForegroundColor());
+- tqcolorGroup.setColor(TQColorGroup::Base, KSGRD::Style->backgroundColor());
+- monitor->setPalette(TQPalette(tqcolorGroup, tqcolorGroup, tqcolorGroup));
++ TQColorGroup colorGroup = monitor->colorGroup();
++ colorGroup.setColor(TQColorGroup::Link, KSGRD::Style->firstForegroundColor());
++ colorGroup.setColor(TQColorGroup::Text, KSGRD::Style->secondForegroundColor());
++ colorGroup.setColor(TQColorGroup::Base, KSGRD::Style->backgroundColor());
++ monitor->setPalette(TQPalette(colorGroup, colorGroup, colorGroup));
+
+ setModified(true);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ListView.h v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ListView.h
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ListView.h 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ListView.h 2012-07-31 17:17:50.000000000 +0200
+@@ -57,9 +57,9 @@
+ public:
+ PrivateListViewItem(PrivateListView *parent = 0);
+
+- void paintCell(TQPainter *p, const TQColorGroup &, int column, int width, int tqalignment) {
+- TQColorGroup cgroup = _parent->tqcolorGroup();
+- TQListViewItem::paintCell(p, cgroup, column, width, tqalignment);
++ void paintCell(TQPainter *p, const TQColorGroup &, int column, int width, int alignment) {
++ TQColorGroup cgroup = _parent->colorGroup();
++ TQListViewItem::paintCell(p, cgroup, column, width, alignment);
+ p->setPen(cgroup.color(TQColorGroup::Link));
+ p->drawLine(0, height() - 1, width - 1, height() - 1);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ListViewSettingsWidget.ui v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ListViewSettingsWidget.ui
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ListViewSettingsWidget.ui 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ListViewSettingsWidget.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -55,7 +55,7 @@
+ <property name="title">
+ <string>Colors</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter|AlignLeft</set>
+ </property>
+ <property name="vAlign" stdset="0">
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/LogFile.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/LogFile.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/LogFile.cc 2011-08-11 07:25:56.000000000 +0200
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/LogFile.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -51,7 +51,7 @@
+
+ LogFile::~LogFile(void)
+ {
+- sendRequest(sensors().tqat(0)->hostName(), TQString("logfile_unregister %1" ).arg(logFileID), 43);
++ sendRequest(sensors().at(0)->hostName(), TQString("logfile_unregister %1" ).arg(logFileID), 43);
+ }
+
+ bool
+@@ -64,10 +64,10 @@
+
+ TQString sensorID = sensorName.right(sensorName.length() - (sensorName.findRev("/") + 1));
+
+- sendRequest(sensors().tqat(0)->hostName(), TQString("logfile_register %1" ).arg(sensorID), 42);
++ sendRequest(sensors().at(0)->hostName(), TQString("logfile_register %1" ).arg(sensorID), 42);
+
+ if (title.isEmpty())
+- setTitle(sensors().tqat(0)->hostName() + ":" + sensorID);
++ setTitle(sensors().at(0)->hostName() + ":" + sensorID);
+ else
+ setTitle(title);
+
+@@ -79,7 +79,7 @@
+
+ void LogFile::configureSettings(void)
+ {
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+
+ lfs = new LogFileSettings(this);
+ Q_CHECK_PTR(lfs);
+@@ -147,7 +147,7 @@
+
+ void LogFile::applySettings(void)
+ {
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+
+ cgroup.setColor(TQColorGroup::Text, lfs->fgColor->color());
+ cgroup.setColor(TQColorGroup::Base, lfs->bgColor->color());
+@@ -166,7 +166,7 @@
+ void
+ LogFile::applyStyle()
+ {
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+
+ cgroup.setColor(TQColorGroup::Text, KSGRD::Style->firstForegroundColor());
+ cgroup.setColor(TQColorGroup::Base, KSGRD::Style->backgroundColor());
+@@ -179,7 +179,7 @@
+ LogFile::restoreSettings(TQDomElement& element)
+ {
+ TQFont font;
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+
+ cgroup.setColor(TQColorGroup::Text, restoreColor(element, "textColor", Qt::green));
+ cgroup.setColor(TQColorGroup::Base, restoreColor(element, "backgroundColor", Qt::black));
+@@ -206,14 +206,14 @@
+ bool
+ LogFile::saveSettings(TQDomDocument& doc, TQDomElement& element, bool save)
+ {
+- element.setAttribute("hostName", sensors().tqat(0)->hostName());
+- element.setAttribute("sensorName", sensors().tqat(0)->name());
+- element.setAttribute("sensorType", sensors().tqat(0)->type());
++ element.setAttribute("hostName", sensors().at(0)->hostName());
++ element.setAttribute("sensorName", sensors().at(0)->name());
++ element.setAttribute("sensorType", sensors().at(0)->type());
+
+ element.setAttribute("font", monitor->font().toString());
+
+- saveColor(element, "textColor", monitor->tqcolorGroup().text());
+- saveColor(element, "backgroundColor", monitor->tqcolorGroup().base());
++ saveColor(element, "textColor", monitor->colorGroup().text());
++ saveColor(element, "backgroundColor", monitor->colorGroup().base());
+
+ for (TQStringList::Iterator it = filterRules.begin();
+ it != filterRules.end(); it++)
+@@ -234,8 +234,8 @@
+ void
+ LogFile::updateMonitor()
+ {
+- sendRequest(sensors().tqat(0)->hostName(),
+- TQString("%1 %2" ).arg(sensors().tqat(0)->name()).arg(logFileID), 19);
++ sendRequest(sensors().at(0)->hostName(),
++ TQString("%1 %2" ).arg(sensors().at(0)->name()).arg(logFileID), 19);
+ }
+
+ void
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/LogFileSettings.ui v3.5.13-sru/ksysguard/gui/SensorDisplayLib/LogFileSettings.ui
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/LogFileSettings.ui 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/LogFileSettings.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -142,7 +142,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+@@ -172,7 +172,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -264,7 +264,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -313,7 +313,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/MultiMeter.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/MultiMeter.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/MultiMeter.cc 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/MultiMeter.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -53,7 +53,7 @@
+ Q_CHECK_PTR(lcd);
+ lcd->setSegmentStyle(TQLCDNumber::Filled);
+ setDigitColor(KSGRD::Style->backgroundColor());
+- lcd->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding,
++ lcd->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding,
+ TQSizePolicy::Expanding, false));
+
+ setBackgroundColor(KSGRD::Style->backgroundColor());
+@@ -166,9 +166,9 @@
+ bool
+ MultiMeter::saveSettings(TQDomDocument& doc, TQDomElement& element, bool save)
+ {
+- element.setAttribute("hostName", sensors().tqat(0)->hostName());
+- element.setAttribute("sensorName", sensors().tqat(0)->name());
+- element.setAttribute("sensorType", sensors().tqat(0)->type());
++ element.setAttribute("hostName", sensors().at(0)->hostName());
++ element.setAttribute("sensorName", sensors().at(0)->name());
++ element.setAttribute("sensorType", sensors().at(0)->type());
+ element.setAttribute("showUnit", showUnit());
+ element.setAttribute("lowerLimitActive", (int) lowerLimitActive);
+ element.setAttribute("lowerLimit", (int) lowerLimit);
+@@ -225,7 +225,7 @@
+ alarmDigitColor = mms->alarmDigitColor();
+ setBackgroundColor(mms->meterBackgroundColor());
+
+- tqrepaint();
++ repaint();
+ setModified(true);
+ }
+
+@@ -234,7 +234,7 @@
+ {
+ normalDigitColor = KSGRD::Style->firstForegroundColor();
+ setBackgroundColor(KSGRD::Style->backgroundColor());
+- tqrepaint();
++ repaint();
+ setModified(true);
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/MultiMeterSettingsWidget.ui v3.5.13-sru/ksysguard/gui/SensorDisplayLib/MultiMeterSettingsWidget.ui
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/MultiMeterSettingsWidget.ui 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/MultiMeterSettingsWidget.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -96,7 +96,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -121,7 +121,7 @@
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>70</width>
+ <height>0</height>
+@@ -162,7 +162,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -187,7 +187,7 @@
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>70</width>
+ <height>0</height>
+@@ -334,14 +334,14 @@
+ <slot access="public" specifier="">update()</slot>
+ <slot access="public" specifier="">update(int,int,int,int)</slot>
+ <slot access="public" specifier="">update(const QRect&amp;)</slot>
+- <slot access="public" specifier="">tqrepaint()</slot>
+- <slot access="public" specifier="">tqrepaint(bool)</slot>
+- <slot access="public" specifier="">tqrepaint(int,int,int,int)</slot>
+- <slot access="public" specifier="">tqrepaint(int,int,int,int,bool)</slot>
+- <slot access="public" specifier="">tqrepaint(const QRect&amp;)</slot>
+- <slot access="public" specifier="">tqrepaint(const QRect&amp;,bool)</slot>
+- <slot access="public" specifier="">tqrepaint(const QRegion&amp;)</slot>
+- <slot access="public" specifier="">tqrepaint(const QRegion&amp;,bool)</slot>
++ <slot access="public" specifier="">repaint()</slot>
++ <slot access="public" specifier="">repaint(bool)</slot>
++ <slot access="public" specifier="">repaint(int,int,int,int)</slot>
++ <slot access="public" specifier="">repaint(int,int,int,int,bool)</slot>
++ <slot access="public" specifier="">repaint(const QRect&amp;)</slot>
++ <slot access="public" specifier="">repaint(const QRect&amp;,bool)</slot>
++ <slot access="public" specifier="">repaint(const QRegion&amp;)</slot>
++ <slot access="public" specifier="">repaint(const QRegion&amp;,bool)</slot>
+ <slot access="public" specifier="">show()</slot>
+ <slot access="public" specifier="">hide()</slot>
+ <slot access="public" specifier="">setShown(bool)</slot>
+@@ -377,8 +377,8 @@
+ <property type="Bool">enabled</property>
+ <property type="Rect">geometry</property>
+ <property type="SizePolicy">sizePolicy</property>
+- <property type="Size">tqminimumSize</property>
+- <property type="Size">tqmaximumSize</property>
++ <property type="Size">minimumSize</property>
++ <property type="Size">maximumSize</property>
+ <property type="Size">sizeIncrement</property>
+ <property type="Size">baseSize</property>
+ <property type="Color">paletteForegroundColor</property>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ProcessController.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ProcessController.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ProcessController.cc 2011-07-09 08:16:58.000000000 +0200
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ProcessController.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -98,11 +98,11 @@
+ cbFilter->insertItem(i18n("System Processes"), 1);
+ cbFilter->insertItem(i18n("User Processes"), 2);
+ cbFilter->insertItem(i18n("Own Processes"), 3);
+- cbFilter->setMinimumSize(cbFilter->tqsizeHint());
++ cbFilter->setMinimumSize(cbFilter->sizeHint());
+ // Create the check box to switch between tree view and list view.
+ xbTreeView = new TQCheckBox(i18n("&Tree"), this, "xbTreeView");
+ Q_CHECK_PTR(xbTreeView);
+- xbTreeView->setMinimumSize(xbTreeView->tqsizeHint());
++ xbTreeView->setMinimumSize(xbTreeView->sizeHint());
+ connect(xbTreeView, TQT_SIGNAL(toggled(bool)),
+ this, TQT_SLOT(setTreeView(bool)));
+
+@@ -116,13 +116,13 @@
+ bRefresh = new KPushButton( KGuiItem( i18n( "&Refresh" ), "reload" ),
+ this, "bRefresh" );
+ Q_CHECK_PTR(bRefresh);
+- bRefresh->setMinimumSize(bRefresh->tqsizeHint());
++ bRefresh->setMinimumSize(bRefresh->sizeHint());
+ connect(bRefresh, TQT_SIGNAL(clicked()), this, TQT_SLOT(updateList()));
+
+ // Create the 'Kill' button.
+ bKill = new KPushButton(i18n("&Kill"), this, "bKill");
+ Q_CHECK_PTR(bKill);
+- bKill->setMinimumSize(bKill->tqsizeHint());
++ bKill->setMinimumSize(bKill->sizeHint());
+ connect(bKill, TQT_SIGNAL(clicked()), this, TQT_SLOT(killProcess()));
+ /* Disable the kill button until we know that the daemon supports the
+ * kill command. */
+@@ -147,7 +147,7 @@
+
+ setPlotterWidget(pList);
+
+- setMinimumSize(tqsizeHint());
++ setMinimumSize(sizeHint());
+ fixTabOrder();
+ }
+
+@@ -213,13 +213,13 @@
+ void
+ ProcessController::updateList()
+ {
+- sendRequest(sensors().tqat(0)->hostName(), "ps", 2);
++ sendRequest(sensors().at(0)->hostName(), "ps", 2);
+ }
+
+ void
+ ProcessController::killProcess(int pid, int sig)
+ {
+- sendRequest(sensors().tqat(0)->hostName(),
++ sendRequest(sensors().at(0)->hostName(),
+ TQString("kill %1 %2" ).arg(pid).arg(sig), 3);
+
+ if ( !timerOn() )
+@@ -269,7 +269,7 @@
+ // send kill signal to all seleted processes
+ TQValueListConstIterator<int> it;
+ for (it = selectedPIds.begin(); it != selectedPIds.end(); ++it)
+- sendRequest(sensors().tqat(0)->hostName(), TQString("kill %1 %2" ).arg(*it)
++ sendRequest(sensors().at(0)->hostName(), TQString("kill %1 %2" ).arg(*it)
+ .arg(MENU_ID_SIGKILL), 3);
+
+ if ( !timerOn())
+@@ -283,9 +283,9 @@
+ ProcessController::reniceProcess(const TQValueList<int> &pids, int niceValue)
+ {
+ for( TQValueList<int>::ConstIterator it = pids.constBegin(), end = pids.constEnd(); it != end; ++it )
+- sendRequest(sensors().tqat(0)->hostName(),
++ sendRequest(sensors().at(0)->hostName(),
+ TQString("setpriority %1 %2" ).arg(*it).arg(niceValue), 5);
+- sendRequest(sensors().tqat(0)->hostName(), "ps", 2); //update the display afterwards
++ sendRequest(sensors().at(0)->hostName(), "ps", 2); //update the display afterwards
+ }
+
+ void
+@@ -401,7 +401,7 @@
+ void
+ ProcessController::sensorError(int, bool err)
+ {
+- if (err == sensors().tqat(0)->isOk())
++ if (err == sensors().at(0)->isOk())
+ {
+ if (!err)
+ {
+@@ -409,15 +409,15 @@
+ * (re-)established we need to requests the full set of
+ * properties again, since the back-end might be a new
+ * one. */
+- sendRequest(sensors().tqat(0)->hostName(), "test kill", 4);
+- sendRequest(sensors().tqat(0)->hostName(), "ps?", 1);
+- sendRequest(sensors().tqat(0)->hostName(), "ps", 2);
++ sendRequest(sensors().at(0)->hostName(), "test kill", 4);
++ sendRequest(sensors().at(0)->hostName(), "ps?", 1);
++ sendRequest(sensors().at(0)->hostName(), "ps", 2);
+ }
+
+ /* This happens only when the sensorOk status needs to be changed. */
+- sensors().tqat(0)->setIsOk( !err );
++ sensors().at(0)->setIsOk( !err );
+ }
+- setSensorOk(sensors().tqat(0)->isOk());
++ setSensorOk(sensors().at(0)->isOk());
+ }
+
+ bool
+@@ -452,9 +452,9 @@
+ bool
+ ProcessController::saveSettings(TQDomDocument& doc, TQDomElement& element, bool save)
+ {
+- element.setAttribute("hostName", sensors().tqat(0)->hostName());
+- element.setAttribute("sensorName", sensors().tqat(0)->name());
+- element.setAttribute("sensorType", sensors().tqat(0)->type());
++ element.setAttribute("hostName", sensors().at(0)->hostName());
++ element.setAttribute("sensorName", sensors().at(0)->name());
++ element.setAttribute("sensorType", sensors().at(0)->type());
+ element.setAttribute("tree", (uint) xbTreeView->isChecked());
+ element.setAttribute("filter", cbFilter->currentItem());
+ element.setAttribute("sortColumn", pList->getSortColumn());
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ProcessList.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ProcessList.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ProcessList.cc 2011-08-11 07:25:56.000000000 +0200
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ProcessList.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -297,8 +297,8 @@
+ /* Disable painting to avoid flickering effects,
+ * especially when in tree view mode.
+ * Ditto for the scrollbar. */
+- tqsetUpdatesEnabled(false);
+- viewport()->tqsetUpdatesEnabled(false);
++ setUpdatesEnabled(false);
++ viewport()->setUpdatesEnabled(false);
+
+ pl.clear();
+
+@@ -349,8 +349,8 @@
+ horizontalScrollBar()->setValue(hpos);
+
+ // Re-enable painting, and force an update.
+- tqsetUpdatesEnabled(true);
+- viewport()->tqsetUpdatesEnabled(true);
++ setUpdatesEnabled(true);
++ viewport()->setUpdatesEnabled(true);
+
+ triggerUpdate();
+
+@@ -532,8 +532,8 @@
+ {
+ unsigned int i;
+ for (i = 0; i < pl.count() &&
+- (!isLeafProcess(pl.tqat(i)->pid()) ||
+- matchesFilter(pl.tqat(i))); i++)
++ (!isLeafProcess(pl.at(i)->pid()) ||
++ matchesFilter(pl.at(i))); i++)
+ ;
+ if (i == pl.count())
+ return;
+@@ -546,7 +546,7 @@
+ ProcessList::isLeafProcess(int pid)
+ {
+ for (unsigned int i = 0; i < pl.count(); i++)
+- if (pl.tqat(i)->ppid() == pid)
++ if (pl.at(i)->ppid() == pid)
+ return (false);
+
+ return (true);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ReniceDlg.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ReniceDlg.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ReniceDlg.cc 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ReniceDlg.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -43,7 +43,7 @@
+ "the number is the higher the priority.\n\n"
+ "Please enter the desired nice level:").arg(pid);
+ message = new TQLabel(msg, page);
+- message->setMinimumSize(message->tqsizeHint());
++ message->setMinimumSize(message->sizeHint());
+ vLay->addWidget(message);
+
+ /*
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc 2011-08-11 07:25:56.000000000 +0200
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -66,7 +66,7 @@
+ if(!nf) {
+ mFrame = new TQGroupBox( 2, Qt::Vertical, "", this, "displayFrame");
+ mFrame->setFlat(true);
+- mFrame->tqsetAlignment(Qt::AlignHCenter);
++ mFrame->setAlignment(Qt::AlignHCenter);
+ mFrame->setInsideMargin(2);
+
+ setTitle( title );
+@@ -219,14 +219,14 @@
+ if ( sensorId >= (int)mSensors.count() || sensorId < 0 )
+ return;
+
+- if ( err == mSensors.tqat( sensorId )->isOk() ) {
++ if ( err == mSensors.at( sensorId )->isOk() ) {
+ // this happens only when the sensorOk status needs to be changed.
+- mSensors.tqat( sensorId )->setIsOk( !err );
++ mSensors.at( sensorId )->setIsOk( !err );
+ }
+
+ bool ok = true;
+ for ( uint i = 0; i < mSensors.count(); ++i )
+- if ( !mSensors.tqat( i )->isOk() ) {
++ if ( !mSensors.at( i )->isOk() ) {
+ ok = false;
+ break;
+ }
+@@ -524,7 +524,7 @@
+ {
+ TQPtrList<SensorProperties> newSensors;
+ for ( uint i = 0; i < orderOfSensors.count(); ++i ) {
+- newSensors.append( mSensors.tqat(orderOfSensors[i] ));
++ newSensors.append( mSensors.at(orderOfSensors[i] ));
+ }
+
+ mSensors.setAutoDelete( false );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorLogger.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorLogger.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorLogger.cc 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorLogger.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -50,7 +50,7 @@
+ pixmap_waiting = UserIcon( "waiting" );
+
+ lvi->setPixmap(0, pixmap_waiting);
+- lvi->setTextColor(monitor->tqcolorGroup().text());
++ lvi->setTextColor(monitor->colorGroup().text());
+
+ monitor->insertItem(lvi);
+ }
+@@ -72,8 +72,8 @@
+ LogSensor::stopLogging(void)
+ {
+ lvi->setPixmap(0, pixmap_waiting);
+- lvi->setTextColor(monitor->tqcolorGroup().text());
+- lvi->tqrepaint();
++ lvi->setTextColor(monitor->colorGroup().text());
++ lvi->repaint();
+ timerOff();
+ }
+
+@@ -104,21 +104,21 @@
+ {
+ timerOff();
+ lowerLimitActive = false;
+- lvi->setTextColor(monitor->tqcolorGroup().foreground());
+- lvi->tqrepaint();
++ lvi->setTextColor(monitor->colorGroup().foreground());
++ lvi->repaint();
+ KNotifyClient::event(monitor->winId(), "sensor_alarm", TQString("sensor '%1' at '%2' reached lower limit").arg(sensorName).arg(hostName));
+ timerOn();
+ } else if (upperLimitActive && value > upperLimit)
+ {
+ timerOff();
+ upperLimitActive = false;
+- lvi->setTextColor(monitor->tqcolorGroup().foreground());
+- lvi->tqrepaint();
++ lvi->setTextColor(monitor->colorGroup().foreground());
++ lvi->repaint();
+ KNotifyClient::event(monitor->winId(), "sensor_alarm", TQString("sensor '%1' at '%2' reached upper limit").arg(sensorName).arg(hostName));
+ timerOn();
+ }
+- TQDate date = TQT_TQDATE_OBJECT(TQDateTime::tqcurrentDateTime().date());
+- TQTime time = TQT_TQTIME_OBJECT(TQDateTime::tqcurrentDateTime().time());
++ TQDate date = TQT_TQDATE_OBJECT(TQDateTime::currentDateTime().date());
++ TQTime time = TQT_TQTIME_OBJECT(TQDateTime::currentDateTime().time());
+
+ stream << TQString("%1 %2 %3 %4 %5: %6\n").arg(date.shortMonthName(date.month())).arg(date.day()).arg(time.toString()).arg(hostName).arg(sensorName).arg(value);
+ }
+@@ -139,7 +139,7 @@
+ monitor->addColumn(i18n("Host Name"));
+ monitor->addColumn(i18n("Log File"));
+
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+ cgroup.setColor(TQColorGroup::Text, KSGRD::Style->firstForegroundColor());
+ cgroup.setColor(TQColorGroup::Base, KSGRD::Style->backgroundColor());
+ cgroup.setColor(TQColorGroup::Foreground, KSGRD::Style->alarmColor());
+@@ -232,7 +232,7 @@
+ void
+ SensorLogger::configureSettings()
+ {
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+
+ sls = new SensorLoggerSettings(this, "SensorLoggerSettings");
+ Q_CHECK_PTR(sls);
+@@ -254,7 +254,7 @@
+ void
+ SensorLogger::applySettings()
+ {
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+
+ setTitle(sls->title());
+
+@@ -269,7 +269,7 @@
+ void
+ SensorLogger::applyStyle(void)
+ {
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+
+ cgroup.setColor(TQColorGroup::Text, KSGRD::Style->firstForegroundColor());
+ cgroup.setColor(TQColorGroup::Base, KSGRD::Style->backgroundColor());
+@@ -282,7 +282,7 @@
+ bool
+ SensorLogger::restoreSettings(TQDomElement& element)
+ {
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+
+ cgroup.setColor(TQColorGroup::Text, restoreColor(element, "textColor", Qt::green));
+ cgroup.setColor(TQColorGroup::Base, restoreColor(element, "backgroundColor", Qt::black));
+@@ -319,9 +319,9 @@
+ bool
+ SensorLogger::saveSettings(TQDomDocument& doc, TQDomElement& element, bool save)
+ {
+- saveColor(element, "textColor", monitor->tqcolorGroup().text());
+- saveColor(element, "backgroundColor", monitor->tqcolorGroup().base());
+- saveColor(element, "alarmColor", monitor->tqcolorGroup().foreground());
++ saveColor(element, "textColor", monitor->colorGroup().text());
++ saveColor(element, "backgroundColor", monitor->colorGroup().base());
++ saveColor(element, "alarmColor", monitor->colorGroup().foreground());
+
+ for (LogSensor* sensor = logSensors.first(); sensor != 0; sensor = logSensors.next())
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorLoggerDlgWidget.ui v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorLoggerDlgWidget.ui
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorLoggerDlgWidget.ui 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorLoggerDlgWidget.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -102,7 +102,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+@@ -127,7 +127,7 @@
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>70</width>
+ <height>0</height>
+@@ -168,7 +168,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+@@ -193,7 +193,7 @@
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>70</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorLogger.h v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorLogger.h
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorLogger.h 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorLogger.h 2012-07-31 17:17:50.000000000 +0200
+@@ -44,10 +44,10 @@
+
+ void setTextColor(const TQColor& color) { textColor = color; }
+
+- void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment) {
++ void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment) {
+ TQColorGroup cgroup(cg);
+ cgroup.setColor(TQColorGroup::Text, textColor);
+- TQListViewItem::paintCell(p, cgroup, column, width, tqalignment);
++ TQListViewItem::paintCell(p, cgroup, column, width, alignment);
+
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorLoggerSettingsWidget.ui v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorLoggerSettingsWidget.ui
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorLoggerSettingsWidget.ui 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorLoggerSettingsWidget.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -61,7 +61,7 @@
+ <property name="title">
+ <string>Colors</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter|AlignLeft</set>
+ </property>
+ <property name="vAlign" stdset="0">
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SignalPlotter.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SignalPlotter.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SignalPlotter.cc 2011-07-08 00:00:33.000000000 +0200
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SignalPlotter.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -50,7 +50,7 @@
+
+ // Anything smaller than this does not make sense.
+ setMinimumSize( 16, 16 );
+- tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding,
++ setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding,
+ TQSizePolicy::Expanding, false ) );
+
+ mShowVerticalLines = true;
+@@ -134,8 +134,8 @@
+
+ for(uint i = 0; i < newOrder.count(); i++) {
+ int newIndex = newOrder[i];
+- newBeamData.append(mBeamData.tqat(newIndex));
+- newBeamColor.append(*mBeamColor.tqat(newIndex));
++ newBeamData.append(mBeamData.at(newIndex));
++ newBeamColor.append(*mBeamColor.at(newIndex));
+ }
+ mBeamData = newBeamData;
+ mBeamColor = newBeamColor;
+@@ -159,7 +159,7 @@
+
+ void SignalPlotter::removeBeam( uint pos )
+ {
+- mBeamColor.remove( mBeamColor.tqat( pos ) );
++ mBeamColor.remove( mBeamColor.at( pos ) );
+ double *p = mBeamData.take( pos );
+ delete [] p;
+ }
+@@ -374,7 +374,7 @@
+ memset( nd, 0, sizeof( double ) * ( newSampleNum - overlap ) );
+
+ // copy overlap from old buffer to new buffer
+- memcpy( nd + ( newSampleNum - overlap ), mBeamData.tqat( i ) +
++ memcpy( nd + ( newSampleNum - overlap ), mBeamData.at( i ) +
+ ( mSamples - overlap ), overlap * sizeof( double ) );
+
+ double *p = mBeamData.take( i );
+@@ -396,12 +396,12 @@
+
+ TQPixmap pm( w, h );
+ TQPainter p;
+- p.tqbegin( &pm, this );
++ p.begin( &pm, this );
+
+ pm.fill( mBackgroundColor );
+ /* Draw white line along the bottom and the right side of the
+ * widget to create a 3D like look. */
+- p.setPen( TQColor( tqcolorGroup().light() ) );
++ p.setPen( TQColor( colorGroup().light() ) );
+ if(mShowThinFrame) {
+ p.drawLine( 0, h - 1, w - 1, h - 1 );
+ p.drawLine( w - 1, 0, w - 1, h - 1 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/WorkSheet.cc v3.5.13-sru/ksysguard/gui/WorkSheet.cc
+--- /tmp/stable//kdebase/ksysguard/gui/WorkSheet.cc 2011-08-11 07:25:56.000000000 +0200
++++ v3.5.13-sru/ksysguard/gui/WorkSheet.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -241,7 +241,7 @@
+ if ( !currentDisplay() || currentDisplay()->isA( "DummyDisplay" ) )
+ return;
+
+- TQClipboard* clip = TQApplication::tqclipboard();
++ TQClipboard* clip = TQApplication::clipboard();
+
+ clip->setText( currentDisplayAsXML() );
+
+@@ -253,7 +253,7 @@
+ if ( !currentDisplay() || currentDisplay()->isA( "DummyDisplay" ) )
+ return;
+
+- TQClipboard* clip = TQApplication::tqclipboard();
++ TQClipboard* clip = TQApplication::clipboard();
+
+ clip->setText( currentDisplayAsXML() );
+ }
+@@ -264,7 +264,7 @@
+ if ( !currentDisplay( &row, &column ) )
+ return;
+
+- TQClipboard* clip = TQApplication::tqclipboard();
++ TQClipboard* clip = TQApplication::clipboard();
+
+ TQDomDocument doc;
+ /* Get text from clipboard and check for a valid XML header and
+@@ -450,14 +450,14 @@
+ * event and replace or add sensor. */
+ for ( uint r = 0; r < mRows; ++r )
+ for ( uint c = 0; c < mColumns; ++c )
+- if ( mDisplayList[ r ][ c ]->tqgeometry().contains( e->pos() ) ) {
++ if ( mDisplayList[ r ][ c ]->geometry().contains( e->pos() ) ) {
+ addDisplay( hostName, sensorName, sensorType, sensorDescr, r, c );
+ return;
+ }
+ }
+ }
+
+-TQSize WorkSheet::tqsizeHint() const
++TQSize WorkSheet::sizeHint() const
+ {
+ return TQSize( 200,150 );
+ }
+@@ -531,7 +531,7 @@
+ mDisplayList[ row ][ column ]->show();
+ }
+
+- setMinimumSize(tqsizeHint());
++ setMinimumSize(sizeHint());
+
+ setModified( true );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/WorkSheet.h v3.5.13-sru/ksysguard/gui/WorkSheet.h
+--- /tmp/stable//kdebase/ksysguard/gui/WorkSheet.h 2011-03-12 07:58:25.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/WorkSheet.h 2012-07-31 17:17:50.000000000 +0200
+@@ -90,7 +90,7 @@
+ void titleChanged( TQWidget *sheet );
+
+ protected:
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ void dragEnterEvent( TQDragEnterEvent* );
+ void dropEvent( TQDropEvent* );
+ void customEvent( TQCustomEvent* );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/WorkSheetSettings.cc v3.5.13-sru/ksysguard/gui/WorkSheetSettings.cc
+--- /tmp/stable//kdebase/ksysguard/gui/WorkSheetSettings.cc 2011-03-12 07:58:25.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/WorkSheetSettings.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -46,11 +46,11 @@
+ TQVBoxLayout *topLayout = new TQVBoxLayout( page, 0, spacingHint() );
+
+ TQGroupBox *group = new TQGroupBox( 0, Qt::Vertical, i18n( "Title" ), page );
+- group->tqlayout()->setMargin( marginHint() );
+- group->tqlayout()->setSpacing( spacingHint() );
++ group->layout()->setMargin( marginHint() );
++ group->layout()->setSpacing( spacingHint() );
+
+- TQGridLayout *groupLayout = new TQGridLayout( group->tqlayout(), 1, 1 );
+- groupLayout->tqsetAlignment( Qt::AlignTop );
++ TQGridLayout *groupLayout = new TQGridLayout( group->layout(), 1, 1 );
++ groupLayout->setAlignment( Qt::AlignTop );
+
+ mSheetTitle = new KLineEdit( group );
+ groupLayout->addWidget( mSheetTitle, 0, 0 );
+@@ -58,11 +58,11 @@
+ topLayout->addWidget( group );
+
+ group = new TQGroupBox( 0, Qt::Vertical, i18n( "Properties" ), page );
+- group->tqlayout()->setMargin( marginHint() );
+- group->tqlayout()->setSpacing( spacingHint() );
++ group->layout()->setMargin( marginHint() );
++ group->layout()->setSpacing( spacingHint() );
+
+- groupLayout = new TQGridLayout( group->tqlayout(), 3, 2 );
+- groupLayout->tqsetAlignment( Qt::AlignTop );
++ groupLayout = new TQGridLayout( group->layout(), 3, 2 );
++ groupLayout->setAlignment( Qt::AlignTop );
+
+ TQLabel *label = new TQLabel( i18n( "Rows:" ), group );
+ groupLayout->addWidget( label, 0, 0 );
+@@ -103,7 +103,7 @@
+
+ mSheetTitle->setFocus();
+
+- resize( TQSize( 250, 230 ).expandedTo( tqminimumSizeHint() ) );
++ resize( TQSize( 250, 230 ).expandedTo( minimumSizeHint() ) );
+ }
+
+ WorkSheetSettings::~WorkSheetSettings()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksystraycmd/ksystraycmd.cpp v3.5.13-sru/ksystraycmd/ksystraycmd.cpp
+--- /tmp/stable//kdebase/ksystraycmd/ksystraycmd.cpp 2011-03-12 07:58:25.000000000 +0100
++++ v3.5.13-sru/ksystraycmd/ksystraycmd.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -25,7 +25,7 @@
+ isVisible(true), lazyStart( false ), noquit( false ), quitOnHide( false ), onTop(false), ownIcon(false),
+ win(0), client(0), kwinmodule(0), top(0), left(0)
+ {
+- tqsetAlignment( AlignCenter );
++ setAlignment( AlignCenter );
+ kwinmodule = new KWinModule( TQT_TQOBJECT(this) );
+ refresh();
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/client.cpp v3.5.13-sru/kwin/client.cpp
+--- /tmp/stable//kdebase/kwin/client.cpp 2011-09-14 07:31:14.000000000 +0200
++++ v3.5.13-sru/kwin/client.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -140,7 +140,7 @@
+ deleting = false;
+ keep_above = FALSE;
+ keep_below = FALSE;
+- is_tqshape = FALSE;
++ is_shape = FALSE;
+ motif_noborder = false;
+ motif_may_move = TRUE;
+ motif_may_resize = TRUE;
+@@ -285,7 +285,7 @@
+ destroyDecoration();
+ cleanGrouping();
+ workspace()->removeClient( this, Allowed );
+- client = None; // tqinvalidate
++ client = None; // invalidate
+ XDestroyWindow( qt_xdisplay(), wrapper );
+ wrapper = None;
+ XDestroyWindow( qt_xdisplay(), frame );
+@@ -306,7 +306,7 @@
+ destroyDecoration();
+ if( !noBorder())
+ {
+- setMask( TQRegion()); // reset tqshape mask
++ setMask( TQRegion()); // reset shape mask
+ decoration = workspace()->createDecoration( bridge );
+ // TODO check decoration's minimum size?
+ decoration->init();
+@@ -344,7 +344,7 @@
+ decoration = NULL;
+ TQPoint grav = calculateGravitation( true );
+ border_left = border_right = border_top = border_bottom = 0;
+- setMask( TQRegion()); // reset tqshape mask
++ setMask( TQRegion()); // reset shape mask
+ int save_workarea_diff_x = workarea_diff_x;
+ int save_workarea_diff_y = workarea_diff_y;
+ plainResize( sizeForClientSize( clientSize()), ForceGeometrySet );
+@@ -515,32 +515,32 @@
+
+ void Client::updateShape()
+ {
+- // workaround for #19644 - tqshaped windows shouldn't have decoration
+- if( tqshape() && !noBorder())
++ // workaround for #19644 - shaped windows shouldn't have decoration
++ if( shape() && !noBorder())
+ {
+ noborder = true;
+ updateDecoration( true );
+ }
+ updateOpacityCache();
+- if ( tqshape() )
++ if ( shape() )
+ {
+ XShapeCombineShape(qt_xdisplay(), frameId(), ShapeBounding,
+ clientPos().x(), clientPos().y(),
+ window(), ShapeBounding, ShapeSet);
+ setShapable(TRUE);
+ }
+- // !tqshape() mask setting is done in setMask() when the decoration
++ // !shape() mask setting is done in setMask() when the decoration
+ // calls it or when the decoration is created/destroyed
+
+- if( Shape::version() >= 0x11 ) // 1.1, has input tqshape support
++ if( Shape::version() >= 0x11 ) // 1.1, has input shape support
+ { // There appears to be no way to find out if a window has input
+- // tqshape set or not, so always propagate the input tqshape
+- // (it's the same like the bounding tqshape by default).
+- // Also, build the tqshape using a helper window, not directly
+- // in the frame window, because the sequence set-tqshape-to-frame,
+- // remove-tqshape-of-client, add-input-tqshape-of-client has the problem
+- // that after the second step there's a hole in the input tqshape
+- // until the real tqshape of the client is added and that can make
++ // shape set or not, so always propagate the input shape
++ // (it's the same like the bounding shape by default).
++ // Also, build the shape using a helper window, not directly
++ // in the frame window, because the sequence set-shape-to-frame,
++ // remove-shape-of-client, add-input-shape-of-client has the problem
++ // that after the second step there's a hole in the input shape
++ // until the real shape of the client is added and that can make
+ // the window lose focus (which is a problem with mouse focus policies)
+ static Window helper_window = None;
+ if( helper_window == None )
+@@ -571,7 +571,7 @@
+ reg.handle(), ShapeSet );
+ else
+ {
+- TQMemArray< TQRect > rects = reg.tqrects();
++ TQMemArray< TQRect > rects = reg.rects();
+ XRectangle* xrects = new XRectangle[ rects.count() ];
+ for( unsigned int i = 0;
+ i < rects.count();
+@@ -874,7 +874,7 @@
+ XSelectInput( qt_xdisplay(), wrapper, ClientWinMask | SubstructureNotifyMask );
+ //as we hid the unmap event, xcompmgr didn't recognize the client wid has vanished, so we'll extra inform it
+ //done xcompmgr workaround
+-// FRAME tqrepaint( FALSE );
++// FRAME repaint( FALSE );
+ // bool wasStaticContents = testWFlags( WStaticContents );
+ // setWFlags( WStaticContents );
+ int step = QMAX( 4, QABS( h - s.height() ) / as )+1;
+@@ -915,7 +915,7 @@
+ resizeDecoration( TQSize( s.width(), h ));
+ // assume a border
+ // we do not have time to wait for X to send us paint events
+-// FRAME tqrepaint( 0, h - step-5, width(), step+5, TRUE);
++// FRAME repaint( 0, h - step-5, width(), step+5, TRUE);
+ TQApplication::syncX();
+ } while ( h < s.height() - step );
+ // if ( !wasStaticContents )
+@@ -1078,7 +1078,7 @@
+ // active window has a shadow.
+ return;
+
+- region = tqshapeBoundingRegion;
++ region = shapeBoundingRegion;
+
+ // Generate list of Clients whose shadows need to be redrawn. That is,
+ // those that are currently intersecting or intersected by other windows or
+@@ -1116,7 +1116,7 @@
+ // active window has a shadow.
+ return;
+
+- region = tqshapeBoundingRegion;
++ region = shapeBoundingRegion;
+
+ stacking_order = workspace()->stackingOrder();
+ for (it = stacking_order.fromLast(); it != stacking_order.end(); --it) {
+@@ -1167,7 +1167,7 @@
+
+ /*!
+ Draw shadow after some time has elapsed, to give recently exposed windows a
+- chance to tqrepaint before a shadow gradient is drawn over them.
++ chance to repaint before a shadow gradient is drawn over them.
+ */
+ void Client::drawDelayedShadow()
+ {
+@@ -1190,7 +1190,7 @@
+ void Client::drawShadow()
+ {
+ Window shadows[2];
+- XRectangle *tqshapes;
++ XRectangle *shapes;
+ int i, count, ordering;
+
+ // If we are waiting for another Client's shadow to be drawn, stop waiting now
+@@ -1206,31 +1206,31 @@
+ * this type of window. Otherwise, drawIntersectingShadows() won't update
+ * properly when this window is moved/resized/hidden/closed.
+ */
+- tqshapes = XShapeGetRectangles(qt_xdisplay(), frameId(), ShapeBounding,
++ shapes = XShapeGetRectangles(qt_xdisplay(), frameId(), ShapeBounding,
+ &count, &ordering);
+- if (!tqshapes)
++ if (!shapes)
+ // XShape extension not supported
+- tqshapeBoundingRegion = TQRegion(x(), y(), width(), height());
++ shapeBoundingRegion = TQRegion(x(), y(), width(), height());
+ else {
+- tqshapeBoundingRegion = TQRegion();
++ shapeBoundingRegion = TQRegion();
+ for (i = 0; i < count; i++) {
+ // Translate XShaped window into a TQRegion
+- TQRegion tqshapeRectangle(tqshapes[i].x, tqshapes[i].y, tqshapes[i].width,
+- tqshapes[i].height);
+- tqshapeBoundingRegion += tqshapeRectangle;
++ TQRegion shapeRectangle(shapes[i].x, shapes[i].y, shapes[i].width,
++ shapes[i].height);
++ shapeBoundingRegion += shapeRectangle;
+ }
+ if (isShade())
+ // Since XResize() doesn't change a window's XShape regions, ensure that
+- // tqshapeBoundingRegion is not taller than the window's shaded height,
++ // shapeBoundingRegion is not taller than the window's shaded height,
+ // or the bottom shadow will appear to be missing
+- tqshapeBoundingRegion &= TQRegion(0, 0, width(), height());
+- tqshapeBoundingRegion.translate(x(), y());
++ shapeBoundingRegion &= TQRegion(0, 0, width(), height());
++ shapeBoundingRegion.translate(x(), y());
+ }
+
+ if (!isShadowed() || hidden || isMinimized() ||
+ maximizeMode() == MaximizeFull ||
+ !options->shadowWindowType(windowType())) {
+- XFree(tqshapes);
++ XFree(shapes);
+
+ // Tell whatever Clients are listening that this Client's shadow has been drawn.
+ // It hasn't, but there's no sense waiting for something that won't happen.
+@@ -1264,9 +1264,9 @@
+ ButtonPressMask | ButtonReleaseMask | StructureNotifyMask);
+ shadowWidget->installEventFilter(this);
+
+- if (!tqshapes) {
++ if (!shapes) {
+ // XShape extension not supported
+- exposedRegion = getExposedRegion(tqshapeBoundingRegion, shadow.x(),
++ exposedRegion = getExposedRegion(shapeBoundingRegion, shadow.x(),
+ shadow.y(), shadow.width(), shadow.height(), thickness,
+ xOffset, yOffset);
+ shadowRegion.region = exposedRegion;
+@@ -1274,7 +1274,7 @@
+ shadowRegions.append(shadowRegion);
+
+ if (opacityCache->isNull())
+- imposeRegionShadow(shadowPixmap, tqshapeBoundingRegion,
++ imposeRegionShadow(shadowPixmap, shapeBoundingRegion,
+ exposedRegion, thickness,
+ options->shadowOpacity(isActive()));
+ else
+@@ -1285,7 +1285,7 @@
+ TQMemArray<TQRect>::Iterator it, itEnd;
+ XRectangle *shadowShapes;
+
+- exposedRegion = getExposedRegion(tqshapeBoundingRegion, shadow.x(),
++ exposedRegion = getExposedRegion(shapeBoundingRegion, shadow.x(),
+ shadow.y(), shadow.width(), shadow.height(), thickness,
+ xOffset, yOffset);
+ shadowRegion.region = exposedRegion;
+@@ -1293,7 +1293,7 @@
+ shadowRegions.append(shadowRegion);
+
+ // XShape the shadow
+- exposedRects = exposedRegion.tqrects();
++ exposedRects = exposedRegion.rects();
+ i = 0;
+ itEnd = exposedRects.end();
+ shadowShapes = new XRectangle[exposedRects.count()];
+@@ -1311,14 +1311,14 @@
+ delete [] shadowShapes;
+
+ if (opacityCache->isNull())
+- imposeRegionShadow(shadowPixmap, tqshapeBoundingRegion,
++ imposeRegionShadow(shadowPixmap, shapeBoundingRegion,
+ exposedRegion, thickness,
+ options->shadowOpacity(isActive()));
+ else
+ imposeCachedShadow(shadowPixmap, exposedRegion);
+ }
+
+- XFree(tqshapes);
++ XFree(shapes);
+
+ // Set the background pixmap
+ //shadowPixmap.convertFromImage(shadowImage);
+@@ -1391,10 +1391,10 @@
+ TQMemArray<TQRect>::Iterator it, itEnd;
+ TQRegion shadowRegion;
+
+- occludedRects = occludedRegion.tqrects();
++ occludedRects = occludedRegion.rects();
+ itEnd = occludedRects.end();
+ for (it = occludedRects.begin(); it != itEnd; ++it) {
+- // Expand each of the occluded region's tqshape rectangles to contain
++ // Expand each of the occluded region's shape rectangles to contain
+ // where a shadow of the specified thickness will be drawn. Create
+ // a new TQRegion that contains the expanded occluded region
+ it->setTop(it->top() - thickness + yOffset);
+@@ -1425,7 +1425,7 @@
+ Window rootWindow;
+ int thickness, windowX, windowY, xOffset, yOffset;
+
+- rectangles = exposed.tqrects();
++ rectangles = exposed.rects();
+ rootWindow = qt_xrootwin();
+ thickness = options->shadowThickness(isActive());
+ windowX = this->x();
+@@ -1485,7 +1485,7 @@
+ Window rootWindow;
+ int windowX, windowY, xOffset, yOffset;
+
+- rectangles = exposed.tqrects();
++ rectangles = exposed.rects();
+ rootWindow = qt_xrootwin();
+ windowX = this->x();
+ windowY = this->y();
+@@ -2430,7 +2430,7 @@
+ }
+
+ /*!
+- Sets an appropriate cursor tqshape for the logical mouse position \a m
++ Sets an appropriate cursor shape for the logical mouse position \a m
+
+ */
+ void Client::setCursor( Position m )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/client.h v3.5.13-sru/kwin/client.h
+--- /tmp/stable//kdebase/kwin/client.h 2011-09-11 06:57:55.000000000 +0200
++++ v3.5.13-sru/kwin/client.h 2012-07-31 17:17:50.000000000 +0200
+@@ -214,8 +214,8 @@
+ // window to be redrawn.
+ friend void Workspace::updateOverlappingShadows(WId);
+
+- // tqshape extensions
+- bool tqshape() const;
++ // shape extensions
++ bool shape() const;
+ void updateShape();
+
+ void setGeometry( int x, int y, int w, int h, ForceGeometry_t force = NormalGeometrySet );
+@@ -501,7 +501,7 @@
+ uint active :1;
+ uint deleting : 1; // true when doing cleanup and destroying the client
+ uint keep_above : 1; // NET::KeepAbove (was stays_on_top)
+- uint is_tqshape :1;
++ uint is_shape :1;
+ uint skip_taskbar :1;
+ uint original_skip_taskbar :1; // unaffected by KWin
+ uint Pdeletewindow :1; // does the window understand the DeleteWindow protocol?
+@@ -570,7 +570,7 @@
+ TQMemArray<double> activeOpacityCache;
+ TQMemArray<double> inactiveOpacityCache;
+ TQMemArray<double>* opacityCache;
+- TQRegion tqshapeBoundingRegion;
++ TQRegion shapeBoundingRegion;
+ TQTimer* shadowDelayTimer;
+ bool shadowMe;
+
+@@ -797,9 +797,9 @@
+ return keep_below;
+ }
+
+-inline bool Client::tqshape() const
++inline bool Client::shape() const
+ {
+- return is_tqshape;
++ return is_shape;
+ }
+
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/b2/b2client.cpp v3.5.13-sru/kwin/clients/b2/b2client.cpp
+--- /tmp/stable//kdebase/kwin/clients/b2/b2client.cpp 2011-09-19 16:26:16.000000000 +0200
++++ v3.5.13-sru/kwin/clients/b2/b2client.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -419,7 +419,7 @@
+
+ titleLayout->addSpacing(3);
+
+- TQColor c = options()->tqcolorGroup(KDecoration::ColorTitleBar, isActive()).
++ TQColor c = options()->colorGroup(KDecoration::ColorTitleBar, isActive()).
+ color(TQColorGroup::Button);
+
+ for (int i = 0; i < BtnCount; i++) {
+@@ -558,7 +558,7 @@
+ void B2Client::iconChange()
+ {
+ if (button[BtnMenu])
+- button[BtnMenu]->tqrepaint(false);
++ button[BtnMenu]->repaint(false);
+ }
+
+ // Gallium: New button show/hide magic for customizable
+@@ -607,7 +607,7 @@
+ titleMoveAbs(bar_x_ofs);
+
+ doShape();
+- widget()->tqrepaint(); // the frame is misrendered without this
++ widget()->repaint(); // the frame is misrendered without this
+ }
+
+ void B2Client::captionChange()
+@@ -616,7 +616,7 @@
+ titleMoveAbs(bar_x_ofs);
+ doShape();
+ titlebar->recalcBuffer();
+- titlebar->tqrepaint(false);
++ titlebar->repaint(false);
+ }
+
+ void B2Client::paintEvent(TQPaintEvent* e)
+@@ -635,7 +635,7 @@
+ int bb = mustDrawHandle() ? 4 : 0;
+ int bDepth = thickness + bb;
+
+- TQColorGroup fillColor = options()->tqcolorGroup(frameColorGroup, isActive());
++ TQColorGroup fillColor = options()->colorGroup(frameColorGroup, isActive());
+ TQBrush fillBrush(options()->color(frameColorGroup, isActive()));
+
+ // outer frame rect
+@@ -710,7 +710,7 @@
+ visibilitinotify events until its state changes, so we just try
+ */
+ if (titlebar->isFullyObscured()) {
+- /* We first see, if our tqrepaint contained the titlebar area */
++ /* We first see, if our repaint contained the titlebar area */
+ TQRegion reg(TQRect(0, 0, width(), buttonSize + 4));
+ reg = reg.intersect(e->region());
+ if (!reg.isEmpty())
+@@ -815,8 +815,8 @@
+ bar_x_ofs = new_ofs;
+ positionButtons();
+ doShape();
+- widget()->tqrepaint(0, 0, width(), buttonSize + 4, false);
+- titlebar->tqrepaint(false);
++ widget()->repaint(0, 0, width(), buttonSize + 4, false);
++ titlebar->repaint(false);
+ }
+ }
+
+@@ -841,7 +841,7 @@
+ bool m = maximizeMode() == MaximizeFull;
+ if (button[BtnMax]) {
+ button[BtnMax]->setPixmaps(m ? P_NORMALIZE : P_MAX);
+- button[BtnMax]->tqrepaint();
++ button[BtnMax]->repaint();
+ TQToolTip::remove(button[BtnMax]);
+ TQToolTip::add(button[BtnMax],
+ m ? i18n("Restore") : i18n("Maximize"));
+@@ -851,21 +851,21 @@
+
+ g->activate();
+ doShape();
+- widget()->tqrepaint(false);
++ widget()->repaint(false);
+ }
+
+ void B2Client::activeChange()
+ {
+- widget()->tqrepaint(false);
+- titlebar->tqrepaint(false);
++ widget()->repaint(false);
++ titlebar->repaint(false);
+
+- TQColor c = options()->tqcolorGroup(
++ TQColor c = options()->colorGroup(
+ KDecoration::ColorTitleBar, isActive()).color(TQColorGroup::Button);
+
+ for (int i = 0; i < BtnCount; i++)
+ if (button[i]) {
+ button[i]->setBg(c);
+- button[i]->tqrepaint(false);
++ button[i]->repaint(false);
+ }
+ }
+
+@@ -881,7 +881,7 @@
+ }
+ }
+
+-TQSize B2Client::tqminimumSize() const
++TQSize B2Client::minimumSize() const
+ {
+ int left, right, top, bottom;
+ borders(left, right, top, bottom);
+@@ -960,8 +960,8 @@
+ static void redraw_pixmaps()
+ {
+ int i;
+- TQColorGroup aGrp = options()->tqcolorGroup(KDecoration::ColorButtonBg, true);
+- TQColorGroup iGrp = options()->tqcolorGroup(KDecoration::ColorButtonBg, false);
++ TQColorGroup aGrp = options()->colorGroup(KDecoration::ColorButtonBg, true);
++ TQColorGroup iGrp = options()->colorGroup(KDecoration::ColorButtonBg, false);
+
+ // close
+ drawB2Rect(PIXMAP_A(P_CLOSE), aGrp.button(), false);
+@@ -1128,7 +1128,7 @@
+ // Transparent bound stuff.
+
+ static TQRect *visible_bound;
+-static TQPointArray bound_tqshape;
++static TQPointArray bound_shape;
+
+ bool B2Client::drawbound(const TQRect& geom, bool clear)
+ {
+@@ -1153,7 +1153,7 @@
+ barLeft += 2;
+ barRight -= 2;
+
+- bound_tqshape.putPoints(0, 8,
++ bound_shape.putPoints(0, 8,
+ g.left(), frameTop,
+ barLeft, frameTop,
+ barLeft, g.top(),
+@@ -1168,7 +1168,7 @@
+ TQPainter p(workspaceWidget());
+ p.setPen(TQPen(Qt::white, 5));
+ p.setRasterOp(TQt::XorROP);
+- p.drawPolygon(bound_tqshape);
++ p.drawPolygon(bound_shape);
+
+ if (clear) {
+ delete visible_bound;
+@@ -1222,7 +1222,7 @@
+ }
+
+
+-TQSize B2Button::tqsizeHint() const
++TQSize B2Button::sizeHint() const
+ {
+ return TQSize(buttonSize, buttonSize);
+ }
+@@ -1273,7 +1273,7 @@
+ for (int i = 0; i < NumStates; i++) {
+ icon[i] = B2::pixmap[button_id + i];
+ }
+- tqrepaint(false);
++ repaint(false);
+ }
+
+ void B2Button::mousePressEvent(TQMouseEvent * e)
+@@ -1297,14 +1297,14 @@
+ void B2Button::enterEvent(TQEvent *e)
+ {
+ hover = true;
+- tqrepaint(false);
++ repaint(false);
+ TQButton::enterEvent(e);
+ }
+
+ void B2Button::leaveEvent(TQEvent *e)
+ {
+ hover = false;
+- tqrepaint(false);
++ repaint(false);
+ TQButton::leaveEvent(e);
+ }
+
+@@ -1363,7 +1363,7 @@
+
+ // titlebar fill
+ const TQColorGroup cg =
+- options()->tqcolorGroup(KDecoration::ColorTitleBar, state);
++ options()->colorGroup(KDecoration::ColorTitleBar, state);
+ TQBrush brush(cg.background());
+ if (gradient) brush.setPixmap(*gradient);
+ qDrawShadeRect(&p, 1, 1, t.right() - 1, t.height() - 1,
+@@ -1388,7 +1388,7 @@
+ void B2Titlebar::resizeEvent(TQResizeEvent *)
+ {
+ recalcBuffer();
+- tqrepaint(false);
++ repaint(false);
+ }
+
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/b2/b2client.h v3.5.13-sru/kwin/clients/b2/b2client.h
+--- /tmp/stable//kdebase/kwin/clients/b2/b2client.h 2011-09-19 16:26:16.000000000 +0200
++++ v3.5.13-sru/kwin/clients/b2/b2client.h 2012-07-31 17:17:50.000000000 +0200
+@@ -38,7 +38,7 @@
+ void setToggle(){setToggleType(Toggle);}
+ void setActive(bool on){setOn(on);}
+ void setUseMiniIcon(){useMiniIcon = true;}
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+ TQSizePolicy sizePolicy() const;
+ protected:
+ virtual void drawButton(TQPainter *p);
+@@ -119,7 +119,7 @@
+ Position mousePosition( const TQPoint& p ) const;
+ void resize(const TQSize&);
+ void borders(int &, int &, int &, int &) const;
+- TQSize tqminimumSize() const;
++ TQSize minimumSize() const;
+ bool eventFilter(TQObject *, TQEvent *);
+ private slots:
+ void menuButtonPressed();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/default/kdedefault.cpp v3.5.13-sru/kwin/clients/default/kdedefault.cpp
+--- /tmp/stable//kdebase/kwin/clients/default/kdedefault.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/default/kdedefault.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -240,7 +240,7 @@
+ || new_useGradients != useGradients
+ || new_titleHeight != normalTitleHeight
+ || new_toolTitleHeight != toolTitleHeight )
+- changed |= SettingColors; // just recreate the pixmaps and tqrepaint
++ changed |= SettingColors; // just recreate the pixmaps and repaint
+ }
+
+ showGrabBar = new_showGrabBar;
+@@ -328,7 +328,7 @@
+ TQPainter p;
+
+ // Active pins
+- g = options()->tqcolorGroup( ColorButtonBg, true );
++ g = options()->colorGroup( ColorButtonBg, true );
+ pinUpPix = new KPixmap();
+ pinUpPix->resize(16, 16);
+ p.begin( pinUpPix );
+@@ -346,7 +346,7 @@
+ pinDownPix->setMask( TQBitmap(16, 16, pindown_mask_bits, true) );
+
+ // Inactive pins
+- g = options()->tqcolorGroup( ColorButtonBg, false );
++ g = options()->colorGroup( ColorButtonBg, false );
+ ipinUpPix = new KPixmap();
+ ipinUpPix->resize(16, 16);
+ p.begin( ipinUpPix );
+@@ -404,25 +404,25 @@
+ irightBtnDownPix[false]->resize(toolTitleHeight, toolTitleHeight);
+
+ // Draw the button state pixmaps
+- g = options()->tqcolorGroup( ColorTitleBar, true );
++ g = options()->colorGroup( ColorTitleBar, true );
+ drawButtonBackground( leftBtnUpPix[true], g, false );
+ drawButtonBackground( leftBtnDownPix[true], g, true );
+ drawButtonBackground( leftBtnUpPix[false], g, false );
+ drawButtonBackground( leftBtnDownPix[false], g, true );
+
+- g = options()->tqcolorGroup( ColorButtonBg, true );
++ g = options()->colorGroup( ColorButtonBg, true );
+ drawButtonBackground( rightBtnUpPix[true], g, false );
+ drawButtonBackground( rightBtnDownPix[true], g, true );
+ drawButtonBackground( rightBtnUpPix[false], g, false );
+ drawButtonBackground( rightBtnDownPix[false], g, true );
+
+- g = options()->tqcolorGroup( ColorTitleBar, false );
++ g = options()->colorGroup( ColorTitleBar, false );
+ drawButtonBackground( ileftBtnUpPix[true], g, false );
+ drawButtonBackground( ileftBtnDownPix[true], g, true );
+ drawButtonBackground( ileftBtnUpPix[false], g, false );
+ drawButtonBackground( ileftBtnDownPix[false], g, true );
+
+- g = options()->tqcolorGroup( ColorButtonBg, false );
++ g = options()->colorGroup( ColorButtonBg, false );
+ drawButtonBackground( irightBtnUpPix[true], g, false );
+ drawButtonBackground( irightBtnDownPix[true], g, true );
+ drawButtonBackground( irightBtnUpPix[false], g, false );
+@@ -720,7 +720,7 @@
+ void KDEDefaultButton::enterEvent(TQEvent *e)
+ {
+ isMouseOver=true;
+- tqrepaint(false);
++ repaint(false);
+ TQButton::enterEvent(e);
+ }
+
+@@ -728,7 +728,7 @@
+ void KDEDefaultButton::leaveEvent(TQEvent *e)
+ {
+ isMouseOver=false;
+- tqrepaint(false);
++ repaint(false);
+ TQButton::leaveEvent(e);
+ }
+
+@@ -856,7 +856,7 @@
+
+ void KDEDefaultClient::reset( unsigned long changed)
+ {
+- widget()->tqrepaint();
++ widget()->repaint();
+
+ KCommonDecoration::reset(changed);
+ }
+@@ -909,7 +909,7 @@
+ p.drawRect(x,y,w,h);
+
+ // Draw part of the frame that is the titlebar color
+- g = options()->tqcolorGroup(ColorTitleBar, isActive());
++ g = options()->colorGroup(ColorTitleBar, isActive());
+ p.setPen(g.light());
+ p.drawLine(x+1, y+1, rightOffset-1, y+1);
+ p.drawLine(x+1, y+1, x+1, leftFrameStart+borderWidth-4);
+@@ -929,7 +929,7 @@
+ p.drawLine(x+borderWidth-2, y+titleHeight+3, x+borderWidth-2, leftFrameStart-2);
+
+ // Fill out the border edges
+- g = options()->tqcolorGroup(ColorFrame, isActive());
++ g = options()->colorGroup(ColorFrame, isActive());
+ p.setPen(g.light());
+ p.drawLine(rightOffset, y+1, x2-1, y+1);
+ p.drawLine(x+1, leftFrameStart+borderWidth-3, x+1, y2-1);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/keramik/CMakeLists.txt v3.5.13-sru/kwin/clients/keramik/CMakeLists.txt
+--- /tmp/stable//kdebase/kwin/clients/keramik/CMakeLists.txt 2011-03-26 21:41:57.000000000 +0100
++++ v3.5.13-sru/kwin/clients/keramik/CMakeLists.txt 2012-07-31 17:17:50.000000000 +0200
+@@ -42,22 +42,11 @@
+
+ ##### tiles.h (header) ##########################
+
+-set( pics
+- pics/caption-large-left.png pics/caption-small-right.png
+- pics/titlebar-center.png pics/titlebutton-square.png
+- pics/border-left.png pics/caption-large-right.png
+- pics/grabbar-center.png pics/titlebar-left.png
+- pics/border-right.png pics/caption-small-center.png
+- pics/grabbar-left.png pics/titlebar-right.png
+- pics/caption-large-center.png pics/caption-small-left.png
+- pics/grabbar-right.png pics/titlebutton-round.png
+- pics/bottom-left.png pics/bottom-right.png pics/bottom-center.png
+- pics/titlebutton-square-large.png pics/titlebutton-square-huge.png
+- pics/titlebutton-round-large.png pics/titlebutton-round-huge.png )
++file(GLOB _pics "${CMAKE_CURRENT_SOURCE_DIR}/pics/*.png" )
+
+ add_custom_command( OUTPUT tiles.h
+- COMMAND ${CMAKE_CURRENT_BINARY_DIR}/embedtool ${pics}
+- DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/embedtool ${pics} )
++ COMMAND ${CMAKE_CURRENT_BINARY_DIR}/embedtool ${_pics}
++ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/embedtool ${_pics} )
+
+ tde_add_executable( embedtool
+ SOURCES embedtool.cpp
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/keramik/embedtool.cpp v3.5.13-sru/kwin/clients/keramik/embedtool.cpp
+--- /tmp/stable//kdebase/kwin/clients/keramik/embedtool.cpp 2011-08-11 07:25:42.000000000 +0200
++++ v3.5.13-sru/kwin/clients/keramik/embedtool.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -60,7 +60,7 @@
+
+ KeramikEmbedder::KeramikEmbedder()
+ {
+- TQDateTime date( TQDateTime::tqcurrentDateTime() );
++ TQDateTime date( TQDateTime::currentDateTime() );
+ TQString datestring( date.toString() );
+
+ file = new TQFile( "tiles.h" );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/keramik/keramik.cpp v3.5.13-sru/kwin/clients/keramik/keramik.cpp
+--- /tmp/stable//kdebase/kwin/clients/keramik/keramik.cpp 2011-09-19 16:26:16.000000000 +0200
++++ v3.5.13-sru/kwin/clients/keramik/keramik.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -784,7 +784,7 @@
+ TQButton::enterEvent( e );
+
+ hover = true;
+- tqrepaint( false );
++ repaint( false );
+ }
+
+
+@@ -793,7 +793,7 @@
+ TQButton::leaveEvent( e );
+
+ hover = false;
+- tqrepaint( false );
++ repaint( false );
+ }
+
+
+@@ -832,14 +832,14 @@
+
+ if ( isDown() ) {
+ // Pressed
+- p->drawPixmap( TQPoint(), *pix, TQStyle::tqvisualRect( TQRect(2*size, 0, size, size), pix->rect() ) );
++ p->drawPixmap( TQPoint(), *pix, TQStyle::visualRect( TQRect(2*size, 0, size, size), pix->rect() ) );
+ p->translate( TQApplication::reverseLayout() ? -1 : 1, 1 );
+ } else if ( hover )
+ // Mouse over
+- p->drawPixmap( TQPoint(), *pix, TQStyle::tqvisualRect( TQRect(size, 0, size, size), pix->rect() ) );
++ p->drawPixmap( TQPoint(), *pix, TQStyle::visualRect( TQRect(size, 0, size, size), pix->rect() ) );
+ else
+ // Normal
+- p->drawPixmap( TQPoint(), *pix, TQStyle::tqvisualRect( TQRect(0, 0, size, size), pix->rect() ) );
++ p->drawPixmap( TQPoint(), *pix, TQStyle::visualRect( TQRect(0, 0, size, size), pix->rect() ) );
+
+
+ // Draw the button deco on the bevel
+@@ -1014,13 +1014,13 @@
+
+ captionBufferDirty = maskDirty = true;
+
+- // Only tqrepaint the window if it's visible
++ // Only repaint the window if it's visible
+ // (i.e. not minimized and on the current desktop)
+ if ( widget()->isVisible() ) {
+- widget()->tqrepaint( false );
++ widget()->repaint( false );
+
+ for ( int i = 0; i < NumButtons; i++ )
+- if ( button[i] ) button[i]->tqrepaint( false );
++ if ( button[i] ) button[i]->repaint( false );
+ }
+ }
+
+@@ -1280,7 +1280,7 @@
+ ( clientHandler->showAppIcons() ? 16 + iconSpacing : 0 );
+
+ int xpos = QMAX( (captionRect.width() - tw) / 3, 8 );
+- TQRect tr = TQStyle::tqvisualRect( TQRect(xpos, 1, captionRect.width() - xpos - 10,
++ TQRect tr = TQStyle::visualRect( TQRect(xpos, 1, captionRect.width() - xpos - 10,
+ captionRect.height() - 4), captionBuffer.rect() );
+
+ //p.setPen( Qt::red ); // debug
+@@ -1289,7 +1289,7 @@
+ // Application icon
+ if ( clientHandler->showAppIcons() )
+ {
+- TQRect iconRect = TQStyle::tqvisualRect( TQRect(tr.x(),
++ TQRect iconRect = TQStyle::visualRect( TQRect(tr.x(),
+ 1 + (captionRect.height() - 4 - 16) / 2, 16, 16), tr );
+ TQRect r( icon->rect() );
+ r.moveCenter( iconRect.center() );
+@@ -1349,7 +1349,7 @@
+ cw += 16 + 4; // icon width + space
+
+ cw = QMIN( cw, titlebar->geometry().width() );
+- captionRect = TQStyle::tqvisualRect( TQRect(titlebar->geometry().x(), (largeCaption ? 0 : titleBaseY),
++ captionRect = TQStyle::visualRect( TQRect(titlebar->geometry().x(), (largeCaption ? 0 : titleBaseY),
+ cw, clientHandler->titleBarHeight(largeCaption) ),
+ titlebar->geometry() );
+ }
+@@ -1365,7 +1365,7 @@
+
+ captionBufferDirty = true;
+
+- widget()->tqrepaint( r | captionRect, false );
++ widget()->repaint( r | captionRect, false );
+ }
+
+
+@@ -1381,7 +1381,7 @@
+ activeIcon = inactiveIcon = NULL;
+
+ captionBufferDirty = true;
+- widget()->tqrepaint( captionRect, false );
++ widget()->repaint( captionRect, false );
+ }
+ }
+
+@@ -1400,10 +1400,10 @@
+
+ captionBufferDirty = true;
+
+- widget()->tqrepaint( false );
++ widget()->repaint( false );
+
+ for ( int i=0; i < NumButtons; i++ )
+- if ( button[i] ) button[i]->tqrepaint( false );
++ if ( button[i] ) button[i]->repaint( false );
+ }
+
+
+@@ -1420,7 +1420,7 @@
+ captionBufferDirty = maskDirty = true;
+
+ widget()->layout()->activate();
+- widget()->tqrepaint( false );
++ widget()->repaint( false );
+ } else if (( maximizeMode() & MaximizeVertical ) == 0 && !largeTitlebar ) {
+ // We've been restored - enlarge the titlebar by 3 pixels
+ topSpacer->changeSize( 10, 4, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
+@@ -1430,14 +1430,14 @@
+ captionBufferDirty = maskDirty = true;
+
+ widget()->layout()->activate();
+- widget()->tqrepaint( false );
++ widget()->repaint( false );
+ }
+ }
+
+ if ( button[ MaxButton ] ) {
+ TQToolTip::remove( button[ MaxButton ] );
+ TQToolTip::add( button[ MaxButton ], maximizeMode() == MaximizeFull ? i18n("Restore") : i18n("Maximize") );
+- button[ MaxButton ]->tqrepaint();
++ button[ MaxButton ]->repaint();
+ }
+ }
+
+@@ -1446,7 +1446,7 @@
+ {
+ if ( button[ OnAllDesktopsButton ] )
+ {
+- button[ OnAllDesktopsButton ]->tqrepaint( true );
++ button[ OnAllDesktopsButton ]->repaint( true );
+ TQToolTip::remove( button[ OnAllDesktopsButton ] );
+ TQToolTip::add( button[ OnAllDesktopsButton ], isOnAllDesktops() ? i18n("Not on all desktops") : i18n("On all desktops") );
+ }
+@@ -1457,7 +1457,7 @@
+ {
+ if ( button[ ShadeButton ] )
+ {
+- button[ ShadeButton ]->tqrepaint( true );
++ button[ ShadeButton ]->repaint( true );
+ TQToolTip::remove( button[ ShadeButton ] );
+ TQToolTip::add( button[ ShadeButton ], isSetShade() ? i18n("Unshade") : i18n("Shade") );
+ }
+@@ -1467,14 +1467,14 @@
+ void KeramikClient::keepAboveChange( bool )
+ {
+ if ( button[ AboveButton ] )
+- button[ AboveButton ]->tqrepaint( true );
++ button[ AboveButton ]->repaint( true );
+ }
+
+
+ void KeramikClient::keepBelowChange( bool )
+ {
+ if ( button[ BelowButton ] )
+- button[ BelowButton ]->tqrepaint( true );
++ button[ BelowButton ]->repaint( true );
+ }
+
+
+@@ -1502,21 +1502,21 @@
+ void KeramikClient::slotAbove()
+ {
+ setKeepAbove( !keepAbove());
+- button[ AboveButton ]->tqrepaint( true );
++ button[ AboveButton ]->repaint( true );
+ }
+
+
+ void KeramikClient::slotBelow()
+ {
+ setKeepBelow( !keepBelow());
+- button[ BelowButton ]->tqrepaint( true );
++ button[ BelowButton ]->repaint( true );
+ }
+
+
+ void KeramikClient::slotShade()
+ {
+ setShade( !isSetShade());
+- button[ ShadeButton ]->tqrepaint( true );
++ button[ ShadeButton ]->repaint( true );
+ }
+
+
+@@ -1794,9 +1794,9 @@
+ }
+
+
+-TQSize KeramikClient::tqminimumSize() const
++TQSize KeramikClient::minimumSize() const
+ {
+- return widget()->tqminimumSize();
++ return widget()->minimumSize();
+ }
+
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/keramik/keramik.h v3.5.13-sru/kwin/clients/keramik/keramik.h
+--- /tmp/stable//kdebase/kwin/clients/keramik/keramik.h 2011-09-19 16:26:16.000000000 +0200
++++ v3.5.13-sru/kwin/clients/keramik/keramik.h 2012-07-31 17:17:50.000000000 +0200
+@@ -148,7 +148,7 @@
+ virtual Position mousePosition( const TQPoint& p ) const;
+ virtual void borders( int& left, int& right, int& top, int& bottom ) const;
+ virtual void resize( const TQSize& s );
+- virtual TQSize tqminimumSize() const;
++ virtual TQSize minimumSize() const;
+ virtual bool eventFilter( TQObject* o, TQEvent* e );
+ virtual void activeChange();
+ virtual void captionChange();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/kwmtheme/cli_installer/main.cpp v3.5.13-sru/kwin/clients/kwmtheme/cli_installer/main.cpp
+--- /tmp/stable//kdebase/kwin/clients/kwmtheme/cli_installer/main.cpp 2011-03-12 07:58:03.000000000 +0100
++++ v3.5.13-sru/kwin/clients/kwmtheme/cli_installer/main.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -73,36 +73,36 @@
+ input.setGroup("Window Border");
+ output->setGroup("General");
+
+- tmpStr = input.readEntry("tqshapePixmapTop");
++ tmpStr = input.readEntry("shapePixmapTop");
+ if(!tmpStr.isEmpty()){
+ copy(srcStr+tmpStr, localDirStr+tmpStr);
+ }
+ output->writeEntry("wm_top", tmpStr, true, true);
+- tmpStr = input.readEntry("tqshapePixmapBottom");
++ tmpStr = input.readEntry("shapePixmapBottom");
+ if(!tmpStr.isEmpty())
+ copy(srcStr+tmpStr, localDirStr+tmpStr);
+ output->writeEntry("wm_bottom", tmpStr, true, true);
+- tmpStr = input.readEntry("tqshapePixmapLeft");
++ tmpStr = input.readEntry("shapePixmapLeft");
+ if(!tmpStr.isEmpty())
+ copy(srcStr+tmpStr, localDirStr+tmpStr);
+ output->writeEntry("wm_left", tmpStr, true, true);
+- tmpStr = input.readEntry("tqshapePixmapRight");
++ tmpStr = input.readEntry("shapePixmapRight");
+ if(!tmpStr.isEmpty())
+ copy(srcStr+tmpStr, localDirStr+tmpStr);
+ output->writeEntry("wm_right", tmpStr, true, true);
+- tmpStr = input.readEntry("tqshapePixmapTopLeft");
++ tmpStr = input.readEntry("shapePixmapTopLeft");
+ if(!tmpStr.isEmpty())
+ copy(srcStr+tmpStr, localDirStr+tmpStr);
+ output->writeEntry("wm_topleft", tmpStr, true, true);
+- tmpStr = input.readEntry("tqshapePixmapTopRight");
++ tmpStr = input.readEntry("shapePixmapTopRight");
+ if(!tmpStr.isEmpty())
+ copy(srcStr+tmpStr, localDirStr+tmpStr);
+ output->writeEntry("wm_topright", tmpStr, true, true);
+- tmpStr = input.readEntry("tqshapePixmapBottomLeft");
++ tmpStr = input.readEntry("shapePixmapBottomLeft");
+ if(!tmpStr.isEmpty())
+ copy(srcStr+tmpStr, localDirStr+tmpStr);
+ output->writeEntry("wm_bottomleft", tmpStr, true, true);
+- tmpStr = input.readEntry("tqshapePixmapBottomRight");
++ tmpStr = input.readEntry("shapePixmapBottomRight");
+ if(!tmpStr.isEmpty())
+ copy(srcStr+tmpStr, localDirStr+tmpStr);
+ output->writeEntry("wm_bottomright", tmpStr, true, true);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/kwmtheme/kwmthemeclient.cpp v3.5.13-sru/kwin/clients/kwmtheme/kwmthemeclient.cpp
+--- /tmp/stable//kdebase/kwin/clients/kwmtheme/kwmthemeclient.cpp 2011-08-11 07:25:42.000000000 +0200
++++ v3.5.13-sru/kwin/clients/kwmtheme/kwmthemeclient.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -231,7 +231,7 @@
+ int offset = (isDown() && ((pixmap()->width() >= width()) ||
+ (pixmap()->height() >= height()))) ? 1 : 0;
+ style().drawItem(p, TQRect( offset, offset, width(), height() ),
+- AlignCenter, tqcolorGroup(),
++ AlignCenter, colorGroup(),
+ true, pixmap(), TQString::null);
+ }
+ }
+@@ -364,7 +364,7 @@
+ p.begin(&buffer);
+
+ if(titleSunken){
+- qDrawShadeRect(&p, r, options()->tqcolorGroup(KDecorationOptions::ColorFrame, isActive()),
++ qDrawShadeRect(&p, r, options()->colorGroup(KDecorationOptions::ColorFrame, isActive()),
+ true, 1, 0);
+ r.setRect(r.x()+1, r.y()+1, r.width()-2, r.height()-2);
+ }
+@@ -384,7 +384,7 @@
+ p.drawTiledPixmap(r, *fill);
+ }
+ else{
+- p.fillRect(r, options()->tqcolorGroup(KDecorationOptions::ColorTitleBar, isActive()).
++ p.fillRect(r, options()->colorGroup(KDecorationOptions::ColorTitleBar, isActive()).
+ brush(TQColorGroup::Button));
+ }
+ p.setFont(options()->font(isActive()));
+@@ -402,12 +402,12 @@
+ void KWMThemeClient::resizeEvent( TQResizeEvent* )
+ {
+ doShape();
+- widget()->tqrepaint();
++ widget()->repaint();
+ }
+
+ void KWMThemeClient::captionChange()
+ {
+- widget()->tqrepaint( titlebar->geometry(), false );
++ widget()->repaint( titlebar->geometry(), false );
+ }
+
+ void KWMThemeClient::paintEvent( TQPaintEvent *)
+@@ -557,7 +557,7 @@
+ }
+ drawTitle(p);
+
+- TQColor c = widget()->tqcolorGroup().background();
++ TQColor c = widget()->colorGroup().background();
+
+ // KWM evidently had a 1 pixel border around the client window. We
+ // emulate it here, but should be removed at some point in order to
+@@ -576,10 +576,10 @@
+ void KWMThemeClient::doShape()
+ {
+
+- TQBitmap tqshapemask(width(), height());
+- tqshapemask.fill(color0);
++ TQBitmap shapemask(width(), height());
++ shapemask.fill(color0);
+ TQPainter p;
+- p.begin(&tqshapemask);
++ p.begin(&shapemask);
+ p.setBrush(color1);
+ p.setPen(color1);
+ int x,y;
+@@ -740,14 +740,14 @@
+ }
+ }
+ p.fillRect(maxExtent-1, maxExtent-1, width()-2*maxExtent+2, height()-2*maxExtent+2, color1);
+- setMask(tqshapemask);
++ setMask(shapemask);
+ }
+
+
+ void KWMThemeClient::showEvent(TQShowEvent *)
+ {
+ doShape();
+- widget()->tqrepaint(false);
++ widget()->repaint(false);
+ }
+
+ void KWMThemeClient::mouseDoubleClickEvent( TQMouseEvent * e )
+@@ -868,9 +868,9 @@
+ }
+ }
+
+-TQSize KWMThemeClient::tqminimumSize() const
++TQSize KWMThemeClient::minimumSize() const
+ {
+- return widget()->tqminimumSize().expandedTo( TQSize( 100, 50 ));
++ return widget()->minimumSize().expandedTo( TQSize( 100, 50 ));
+ }
+
+ void KWMThemeClient::resize( const TQSize& s )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/kwmtheme/kwmthemeclient.h v3.5.13-sru/kwin/clients/kwmtheme/kwmthemeclient.h
+--- /tmp/stable//kdebase/kwin/clients/kwmtheme/kwmthemeclient.h 2011-03-12 07:58:03.000000000 +0100
++++ v3.5.13-sru/kwin/clients/kwmtheme/kwmthemeclient.h 2012-07-31 17:17:50.000000000 +0200
+@@ -30,7 +30,7 @@
+ ~KWMThemeClient(){;}
+ void init();
+ void resize( const TQSize& s );
+- TQSize tqminimumSize() const;
++ TQSize minimumSize() const;
+ void borders( int& left, int& right, int& top, int& bottom ) const;
+ protected:
+ void doShape();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/laptop/laptopclient.cpp v3.5.13-sru/kwin/clients/laptop/laptopclient.cpp
+--- /tmp/stable//kdebase/kwin/clients/laptop/laptopclient.cpp 2011-03-12 07:58:03.000000000 +0100
++++ v3.5.13-sru/kwin/clients/laptop/laptopclient.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -157,7 +157,7 @@
+ KPixmapEffect::VerticalGradient);
+ }
+ // buttons (active/inactive, sunken/unsunken, 2 sizes each)
+- TQColorGroup g = options()->tqcolorGroup(KDecoration::ColorButtonBg, true);
++ TQColorGroup g = options()->colorGroup(KDecoration::ColorButtonBg, true);
+ TQColor c = g.background();
+ btnPix1 = new KPixmap;
+ btnPix1->resize(btnWidth1, titleHeight);
+@@ -184,7 +184,7 @@
+ KPixmapEffect::DiagonalGradient);
+ KPixmapEffect::gradient(*btnDownPix2, c.dark(130), c.light(120),
+ KPixmapEffect::DiagonalGradient);
+- g = options()->tqcolorGroup(KDecoration::ColorButtonBg, false);
++ g = options()->colorGroup(KDecoration::ColorButtonBg, false);
+ c = g.background();
+ KPixmapEffect::gradient(*iBtnPix1, c.light(120), c.dark(130),
+ KPixmapEffect::DiagonalGradient);
+@@ -200,20 +200,20 @@
+ btnDownPix1->fill(c.rgb());
+ btnPix2->fill(c.rgb());
+ btnDownPix2->fill(c.rgb());
+- g = options()->tqcolorGroup(KDecoration::ColorButtonBg, false);
++ g = options()->colorGroup(KDecoration::ColorButtonBg, false);
+ c = g.background();
+ iBtnPix1->fill(c.rgb());
+ iBtnDownPix1->fill(c.rgb());
+ iBtnPix2->fill(c.rgb());
+ iBtnDownPix2->fill(c.rgb());
+ }
+- g = options()->tqcolorGroup(KDecoration::ColorButtonBg, true);
++ g = options()->colorGroup(KDecoration::ColorButtonBg, true);
+ c = g.background();
+ drawButtonFrame(btnPix1, g, false);
+ drawButtonFrame(btnDownPix1, g, true);
+ drawButtonFrame(btnPix2, g, false);
+ drawButtonFrame(btnDownPix2, g, true);
+- g = options()->tqcolorGroup(KDecoration::ColorButtonBg, false);
++ g = options()->colorGroup(KDecoration::ColorButtonBg, false);
+ c = g.background();
+ drawButtonFrame(iBtnPix1, g, false);
+ drawButtonFrame(iBtnDownPix1, g, true);
+@@ -293,7 +293,7 @@
+ deco.fill(Qt::color0);
+ }
+ deco.setMask(deco);
+- tqrepaint();
++ repaint();
+ }
+
+ void LaptopButton::drawButton(TQPainter *p)
+@@ -314,7 +314,7 @@
+ }
+ }
+ else{
+- TQColorGroup g = options()->tqcolorGroup(KDecoration::ColorButtonBg, decoration()->isActive());
++ TQColorGroup g = options()->colorGroup(KDecoration::ColorButtonBg, decoration()->isActive());
+ int w = width();
+ int h = height();
+ p->fillRect(1, 1, w-2, h-2, isDown() ? g.mid() : g.button());
+@@ -469,7 +469,7 @@
+ void LaptopClient::paintEvent( TQPaintEvent* )
+ {
+ TQPainter p(widget());
+- TQColorGroup g = options()->tqcolorGroup(KDecoration::ColorFrame, isActive());
++ TQColorGroup g = options()->colorGroup(KDecoration::ColorFrame, isActive());
+
+ TQRect r(widget()->rect());
+ p.setPen(Qt::black);
+@@ -546,7 +546,7 @@
+
+ p.setFont(options()->font(false, isToolWindow() ));
+ TQFontMetrics fm(options()->font(false));
+- g = options()->tqcolorGroup(KDecoration::ColorTitleBar, false);
++ g = options()->colorGroup(KDecoration::ColorTitleBar, false);
+ if(iUpperGradient)
+ p.drawTiledPixmap(r.x()+((r.width()-fm.width(caption()))/2)-4,
+ r.y(), fm.width(caption())+8, r.height()-1,
+@@ -564,7 +564,7 @@
+ p.setPen(options()->color(KDecoration::ColorFont, false));
+ p.drawText(r.x(), r.y(), r.width(), r.height()-1,
+ AlignCenter, caption() );
+- g = options()->tqcolorGroup(KDecoration::ColorFrame, true);
++ g = options()->colorGroup(KDecoration::ColorFrame, true);
+ p.setPen(g.background());
+ p.drawPoint(r.x(), r.y());
+ p.drawPoint(r.right(), r.y());
+@@ -629,7 +629,7 @@
+
+ p.setFont(options()->font(true, isToolWindow() ));
+ TQFontMetrics fm(options()->font(true));
+- TQColorGroup g = options()->tqcolorGroup(KDecoration::ColorTitleBar, true);
++ TQColorGroup g = options()->colorGroup(KDecoration::ColorTitleBar, true);
+ if(aUpperGradient)
+ p.drawTiledPixmap(r.x()+((r.width()-fm.width(caption()))/2)-4,
+ r.y(), fm.width(caption())+8, r.height()-1,
+@@ -647,7 +647,7 @@
+ p.setPen(options()->color(KDecoration::ColorFont, true));
+ p.drawText(r.x(), r.y(), r.width(), r.height()-1,
+ AlignCenter, caption() );
+- g = options()->tqcolorGroup(KDecoration::ColorFrame, true);
++ g = options()->colorGroup(KDecoration::ColorFrame, true);
+ p.setPen(g.background());
+ p.drawPoint(r.x(), r.y());
+ p.drawPoint(r.right(), r.y());
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/modernsystem/config/config.cpp v3.5.13-sru/kwin/clients/modernsystem/config/config.cpp
+--- /tmp/stable//kdebase/kwin/clients/modernsystem/config/config.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/modernsystem/config/config.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -59,11 +59,11 @@
+
+ bool rtl = kapp->reverseLayout();
+ label1 = new TQLabel(i18n("Small"), hbox);
+- label1->tqsetAlignment(rtl ? AlignRight : AlignLeft);
++ label1->setAlignment(rtl ? AlignRight : AlignLeft);
+ label2 = new TQLabel(i18n("Medium"), hbox);
+- label2->tqsetAlignment(AlignHCenter);
++ label2->setAlignment(AlignHCenter);
+ label3 = new TQLabel(i18n("Large"), hbox);
+- label3->tqsetAlignment(rtl ? AlignLeft : AlignRight);
++ label3->setAlignment(rtl ? AlignLeft : AlignRight);
+
+ vbox->addWidget(handleBox);
+ vbox->addStretch(1);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/modernsystem/modernsys.cpp v3.5.13-sru/kwin/clients/modernsystem/modernsys.cpp
+--- /tmp/stable//kdebase/kwin/clients/modernsystem/modernsys.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/modernsystem/modernsys.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -171,13 +171,13 @@
+ KPixmapEffect::VerticalGradient);
+ }
+ // buttons
+- TQColorGroup btnColor(options()->tqcolorGroup(KDecoration::ColorButtonBg, true));
++ TQColorGroup btnColor(options()->colorGroup(KDecoration::ColorButtonBg, true));
+ buttonPix = new TQPixmap(14, 15);
+ make_button_fx(btnColor, buttonPix);
+ buttonPixDown = new TQPixmap(14, 15);
+ make_button_fx(btnColor, buttonPixDown, true);
+
+- btnColor = options()->tqcolorGroup(KDecoration::ColorButtonBg, false);
++ btnColor = options()->colorGroup(KDecoration::ColorButtonBg, false);
+ iButtonPix = new TQPixmap(14, 15);
+ make_button_fx(btnColor, iButtonPix);
+ iButtonPixDown = new TQPixmap(14, 15);
+@@ -515,7 +515,7 @@
+ p.drawTiledPixmap(0, 0, width(), title_height+2, *aUpperGradient);
+ else
+ p.fillRect(0, 0, width(), title_height+2,
+- options()->tqcolorGroup(ColorTitleBar, true).
++ options()->colorGroup(ColorTitleBar, true).
+ brush(TQColorGroup::Button));
+
+ TQRect t = titleRect(); // titlebar->geometry();
+@@ -554,7 +554,7 @@
+ void ModernSys::drawRoundFrame(TQPainter &p, int x, int y, int w, int h)
+ {
+ kDrawRoundButton(&p, x, y, w, h,
+- options()->tqcolorGroup(ColorFrame, isActive()), false);
++ options()->colorGroup(ColorFrame, isActive()), false);
+
+ }
+
+@@ -570,9 +570,9 @@
+ TQPainter p( widget() );
+ TQRect t = titleRect(); // titlebar->geometry();
+
+- TQBrush fillBrush(widget()->tqcolorGroup().tqbrush(TQColorGroup::Background).pixmap() ?
+- widget()->tqcolorGroup().brush(TQColorGroup::Background) :
+- options()->tqcolorGroup(ColorFrame, isActive()).
++ TQBrush fillBrush(widget()->colorGroup().brush(TQColorGroup::Background).pixmap() ?
++ widget()->colorGroup().brush(TQColorGroup::Background) :
++ options()->colorGroup(ColorFrame, isActive()).
+ brush(TQColorGroup::Button));
+
+ p.fillRect(1, title_height+3, width()-2, height()-(title_height+3), fillBrush);
+@@ -586,7 +586,7 @@
+ int h = height() - hw;
+
+ // titlebar
+- TQColorGroup g = options()->tqcolorGroup(ColorTitleBar, isActive());
++ TQColorGroup g = options()->colorGroup(ColorTitleBar, isActive());
+ if(isActive()){
+ p.drawPixmap(1, 1, titleBuffer, 0, 0, w-2, title_height+2);
+ }
+@@ -609,7 +609,7 @@
+ p.drawLine(0, title_height+2, w-2, title_height+2);
+
+ // frame
+- g = options()->tqcolorGroup(ColorFrame, isActive());
++ g = options()->colorGroup(ColorFrame, isActive());
+ p.setPen(g.light());
+ p.drawLine(1, title_height+3, 1, h-2);
+ p.setPen(g.dark());
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/plastik/plastikbutton.cpp v3.5.13-sru/kwin/clients/plastik/plastikbutton.cpp
+--- /tmp/stable//kdebase/kwin/clients/plastik/plastikbutton.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/plastik/plastikbutton.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -140,7 +140,7 @@
+ }
+ }
+
+- tqrepaint(false);
++ repaint(false);
+ }
+
+ void PlastikButton::enterEvent(TQEvent *e)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/plastik/plastikclient.cpp v3.5.13-sru/kwin/clients/plastik/plastikclient.cpp
+--- /tmp/stable//kdebase/kwin/clients/plastik/plastikclient.cpp 2011-08-11 07:25:42.000000000 +0200
++++ v3.5.13-sru/kwin/clients/plastik/plastikclient.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -435,7 +435,7 @@
+ {
+ if (changed & SettingColors)
+ {
+- // tqrepaint the whole thing
++ // repaint the whole thing
+ clearCaptionPixmaps();
+ widget()->update();
+ updateButtons();
+@@ -445,7 +445,7 @@
+
+ updateLayout();
+
+- // then tqrepaint
++ // then repaint
+ clearCaptionPixmaps();
+ widget()->update();
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/plastik/plastik.cpp v3.5.13-sru/kwin/clients/plastik/plastik.cpp
+--- /tmp/stable//kdebase/kwin/clients/plastik/plastik.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/plastik/plastik.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -290,7 +290,7 @@
+ } else {
+ pm = new TQPixmap(1, titleBarTileHeight);
+ painter.begin(pm);
+- painter.tqdrawPixmap(0, 0, gradient, 0,2);
++ painter.drawPixmap(0, 0, gradient, 0,2);
+ if (m_coloredBorder) {
+ painter.setPen(getColor(TitleGradient3, active).dark(110) );
+ } else {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/quartz/quartz.cpp v3.5.13-sru/kwin/clients/quartz/quartz.cpp
+--- /tmp/stable//kdebase/kwin/clients/quartz/quartz.cpp 2011-08-11 07:25:42.000000000 +0200
++++ v3.5.13-sru/kwin/clients/quartz/quartz.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -291,18 +291,18 @@
+ void QuartzHandler::createPixmaps()
+ {
+ // Obtain titlebar blend colours, and create the block stuff on pixmaps.
+- TQColorGroup g2 = options()->tqcolorGroup(ColorTitleBlend, true);
++ TQColorGroup g2 = options()->colorGroup(ColorTitleBlend, true);
+ TQColor c2 = g2.background();
+- g2 = options()->tqcolorGroup(ColorTitleBar, true );
++ g2 = options()->colorGroup(ColorTitleBar, true );
+ TQColor c = g2.background().light(130);
+
+ titleBlocks = new KPixmap();
+ titleBlocks->resize( normalTitleHeight*25/18, normalTitleHeight );
+ drawBlocks( titleBlocks, *titleBlocks, c, c2 );
+
+- g2 = options()->tqcolorGroup(ColorTitleBlend, false);
++ g2 = options()->colorGroup(ColorTitleBlend, false);
+ c2 = g2.background();
+- g2 = options()->tqcolorGroup(ColorTitleBar, false );
++ g2 = options()->colorGroup(ColorTitleBar, false );
+ c = g2.background().light(130);
+
+ ititleBlocks = new KPixmap();
+@@ -313,9 +313,9 @@
+ TQColorGroup g;
+ TQPainter p;
+
+- g = options()->tqcolorGroup( onAllDesktopsButtonOnLeft ? ColorTitleBar : ColorTitleBlend, true );
++ g = options()->colorGroup( onAllDesktopsButtonOnLeft ? ColorTitleBar : ColorTitleBlend, true );
+ c = onAllDesktopsButtonOnLeft ? TQColor(g.background().light(130)) : g.background();
+- g2 = options()->tqcolorGroup( ColorButtonBg, true );
++ g2 = options()->colorGroup( ColorButtonBg, true );
+
+ pinUpPix = new KPixmap();
+ pinUpPix->resize(16, 16);
+@@ -335,9 +335,9 @@
+
+
+ // Inactive pins
+- g = options()->tqcolorGroup( onAllDesktopsButtonOnLeft ? ColorTitleBar : ColorTitleBlend, false );
++ g = options()->colorGroup( onAllDesktopsButtonOnLeft ? ColorTitleBar : ColorTitleBlend, false );
+ c = onAllDesktopsButtonOnLeft ? TQColor(g.background().light(130)) : g.background();
+- g2 = options()->tqcolorGroup( ColorButtonBg, false );
++ g2 = options()->colorGroup( ColorButtonBg, false );
+
+ ipinUpPix = new KPixmap();
+ ipinUpPix->resize(16, 16);
+@@ -437,7 +437,7 @@
+ if (bitmap) {
+ deco = new TQBitmap(10, 10, bitmap, true);
+ deco->setMask( *deco );
+- tqrepaint( false );
++ repaint( false );
+ }
+ }
+
+@@ -643,8 +643,8 @@
+ {
+ if (changed & SettingColors || changed & SettingFont)
+ {
+- // tqrepaint the whole thing
+- widget()->tqrepaint(false);
++ // repaint the whole thing
++ widget()->repaint(false);
+ }
+
+ KCommonDecoration::reset(changed);
+@@ -675,9 +675,9 @@
+ // Draw part of the frame that is the title color
+
+ if( coloredFrame )
+- g = options()->tqcolorGroup(ColorTitleBar, isActive());
++ g = options()->colorGroup(ColorTitleBar, isActive());
+ else
+- g = options()->tqcolorGroup(ColorFrame, isActive());
++ g = options()->colorGroup(ColorFrame, isActive());
+
+ // Draw outer highlights and lowlights
+ p.setPen( g.light().light(120) );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/redmond/redmond.cpp v3.5.13-sru/kwin/clients/redmond/redmond.cpp
+--- /tmp/stable//kdebase/kwin/clients/redmond/redmond.cpp 2011-07-30 07:15:31.000000000 +0200
++++ v3.5.13-sru/kwin/clients/redmond/redmond.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -149,7 +149,7 @@
+ defaultMenuPix = new TQPixmap(kdelogo);
+
+ // buttons (active/inactive, sunken/unsunken)
+- TQColorGroup g = options()->tqcolorGroup(KDecoration::ColorButtonBg, true);
++ TQColorGroup g = options()->colorGroup(KDecoration::ColorButtonBg, true);
+ TQColor c = g.background();
+ btnPix1->resize(normalTitleHeight, normalTitleHeight-2);
+ btnDownPix1->resize(normalTitleHeight, normalTitleHeight-2);
+@@ -172,7 +172,7 @@
+ KPixmapEffect::gradient(*miniBtnDownPix1, c.dark(130), c.light(130),
+ KPixmapEffect::VerticalGradient);
+
+- g = options()->tqcolorGroup(KDecoration::ColorButtonBg, false);
++ g = options()->colorGroup(KDecoration::ColorButtonBg, false);
+ c = g.background();
+ KPixmapEffect::gradient(*iBtnPix1, c.light(130), c.dark(130),
+ KPixmapEffect::VerticalGradient);
+@@ -188,7 +188,7 @@
+ miniBtnPix1->fill(c.rgb());
+ miniBtnDownPix1->fill(c.rgb());
+
+- g = options()->tqcolorGroup(KDecoration::ColorButtonBg, false);
++ g = options()->colorGroup(KDecoration::ColorButtonBg, false);
+ c = g.background();
+ iBtnPix1->fill(c.rgb());
+ iBtnDownPix1->fill(c.rgb());
+@@ -196,13 +196,13 @@
+ iMiniBtnDownPix1->fill(c.rgb());
+ }
+
+- g = options()->tqcolorGroup(KDecoration::ColorButtonBg, true);
++ g = options()->colorGroup(KDecoration::ColorButtonBg, true);
+ drawButtonFrame(btnPix1, g, false);
+ drawButtonFrame(btnDownPix1, g, true);
+ drawButtonFrame(miniBtnPix1, g, false);
+ drawButtonFrame(miniBtnDownPix1, g, true);
+
+- g = options()->tqcolorGroup(KDecoration::ColorButtonBg, false);
++ g = options()->colorGroup(KDecoration::ColorButtonBg, false);
+ drawButtonFrame(iBtnPix1, g, false);
+ drawButtonFrame(iBtnDownPix1, g, true);
+ drawButtonFrame(iMiniBtnPix1, g, false);
+@@ -294,7 +294,7 @@
+ deco.resize(0, 0);
+ pix = p;
+
+- tqrepaint(false);
++ repaint(false);
+ }
+
+
+@@ -491,7 +491,7 @@
+
+ // Draw part of the frame that is the frame color
+ // ==============================================
+- TQColorGroup g = options()->tqcolorGroup(KDecoration::ColorFrame, isActive());
++ TQColorGroup g = options()->colorGroup(KDecoration::ColorFrame, isActive());
+ p.setPen( g.background() );
+ p.drawLine( x, y, x2-1, y );
+ p.drawLine( x, y, x, y2-1 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/test/test.cpp v3.5.13-sru/kwin/clients/test/test.cpp
+--- /tmp/stable//kdebase/kwin/clients/test/test.cpp 2011-03-12 07:58:03.000000000 +0100
++++ v3.5.13-sru/kwin/clients/test/test.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -93,7 +93,7 @@
+ widget()->resize( s );
+ }
+
+-TQSize Decoration::tqminimumSize() const
++TQSize Decoration::minimumSize() const
+ {
+ return TQSize( 100, 50 );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/test/test.h v3.5.13-sru/kwin/clients/test/test.h
+--- /tmp/stable//kdebase/kwin/clients/test/test.h 2011-03-12 07:58:03.000000000 +0100
++++ v3.5.13-sru/kwin/clients/test/test.h 2012-07-31 17:17:50.000000000 +0200
+@@ -22,7 +22,7 @@
+ virtual MousePosition mousePosition( const TQPoint& p ) const;
+ virtual void borders( int& left, int& right, int& top, int& bottom ) const;
+ virtual void resize( const TQSize& s );
+- virtual TQSize tqminimumSize() const;
++ virtual TQSize minimumSize() const;
+ virtual void activeChange() {};
+ virtual void captionChange() {};
+ virtual void maximizeChange() {};
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/web/WebButton.cpp v3.5.13-sru/kwin/clients/web/WebButton.cpp
+--- /tmp/stable//kdebase/kwin/clients/web/WebButton.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/web/WebButton.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -69,10 +69,10 @@
+ 0xff, 0x81, 0x81, 0xff, 0x81, 0xff, 0x81, 0xff
+ };
+
+-WebButton::WebButton(ButtonType type, WebClient *parent, const char *name, bool tqshape)
++WebButton::WebButton(ButtonType type, WebClient *parent, const char *name, bool shape)
+ : KCommonDecorationButton (type, parent, name),
+ mouseOver_ (false),
+- tqshape_ (tqshape),
++ shape_ (shape),
+ deco_ (parent)
+ {
+ setBackgroundMode(NoBackground);
+@@ -127,7 +127,7 @@
+ WebButton::enterEvent(TQEvent * e)
+ {
+ mouseOver_ = true;
+- tqrepaint();
++ repaint();
+ TQButton::enterEvent(e);
+ }
+
+@@ -135,7 +135,7 @@
+ WebButton::leaveEvent(TQEvent * e)
+ {
+ mouseOver_ = false;
+- tqrepaint();
++ repaint();
+ TQButton::leaveEvent(e);
+ }
+
+@@ -145,17 +145,17 @@
+ TQPen highlightPen;
+
+ if (isDown() )
+- highlightPen = TQPen(tqcolorGroup().light());
++ highlightPen = TQPen(colorGroup().light());
+
+ else
+ {
+ if (mouseOver_)
+- highlightPen = TQPen(tqcolorGroup().highlight());
++ highlightPen = TQPen(colorGroup().highlight());
+ else
+ highlightPen = TQPen(NoPen);
+ }
+
+- p->fillRect(rect(), tqcolorGroup().background());
++ p->fillRect(rect(), colorGroup().background());
+
+ Position position_;
+ if (0 == mapToParent(rect().topLeft() ).x() )
+@@ -174,7 +174,7 @@
+
+ p->drawLine(0, 0, width(), 0);
+ p->drawLine(0, 1, 0, height() - 1);
+- if (tqshape_)
++ if (shape_)
+ {
+ p->drawPoint(3, 1);
+ p->drawPoint(4, 1);
+@@ -187,11 +187,11 @@
+ p->setBrush(NoBrush);
+ p->setPen(highlightPen);
+
+- if (tqshape_)
++ if (shape_)
+ p->setClipRegion(TQRegion(rect()) - TQRect(0, 0, 6, 6));
+
+ p->drawRect(2, 2, width() - 4, height() - 4);
+- if (tqshape_)
++ if (shape_)
+ {
+ p->setClipRect(rect());
+ p->drawPoint(4, 3);
+@@ -210,7 +210,7 @@
+ p->setPen(Qt::black);
+ p->drawLine(0, 0, width(), 0);
+ p->drawLine(width() - 1, 1, width() - 1, height() - 1);
+- if (tqshape_)
++ if (shape_)
+ {
+ p->drawPoint(width() - 5, 1);
+ p->drawPoint(width() - 4, 1);
+@@ -223,11 +223,11 @@
+ p->setBrush(NoBrush);
+ p->setPen(highlightPen);
+
+- if (tqshape_)
++ if (shape_)
+ p->setClipRegion(TQRegion(rect()) - TQRect(width() - 6, 0, 6, 6));
+
+ p->drawRect(2, 2, width() - 4, height() - 4);
+- if (tqshape_)
++ if (shape_)
+ {
+ p->setClipRect(rect());
+ p->drawPoint(width() - 5, 3);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/web/WebButton.h v3.5.13-sru/kwin/clients/web/WebButton.h
+--- /tmp/stable//kdebase/kwin/clients/web/WebButton.h 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/web/WebButton.h 2012-07-31 17:17:50.000000000 +0200
+@@ -41,7 +41,7 @@
+ Left, Mid, Right
+ };
+
+- WebButton(ButtonType type, WebClient *parent, const char *name, bool tqshape);
++ WebButton(ButtonType type, WebClient *parent, const char *name, bool shape);
+
+ virtual ~WebButton();
+
+@@ -59,7 +59,7 @@
+
+ bool mouseOver_;
+
+- bool tqshape_;
++ bool shape_;
+ WebClient* deco_;
+ };
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/web/Web.cpp v3.5.13-sru/kwin/clients/web/Web.cpp
+--- /tmp/stable//kdebase/kwin/clients/web/Web.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/web/Web.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -120,31 +120,31 @@
+ {
+ switch (type) {
+ case MenuButton:
+- return new WebButton(MenuButton, this, "menu", tqshape_);
++ return new WebButton(MenuButton, this, "menu", shape_);
+
+ case OnAllDesktopsButton:
+- return new WebButton(OnAllDesktopsButton, this, "on_all_desktops", tqshape_);
++ return new WebButton(OnAllDesktopsButton, this, "on_all_desktops", shape_);
+
+ case HelpButton:
+- return new WebButton(HelpButton, this, "help", tqshape_);
++ return new WebButton(HelpButton, this, "help", shape_);
+
+ case MinButton:
+- return new WebButton(MinButton, this, "minimize", tqshape_);
++ return new WebButton(MinButton, this, "minimize", shape_);
+
+ case MaxButton:
+- return new WebButton(MaxButton, this, "maximize", tqshape_);
++ return new WebButton(MaxButton, this, "maximize", shape_);
+
+ case CloseButton:
+- return new WebButton(CloseButton, this, "close", tqshape_);
++ return new WebButton(CloseButton, this, "close", shape_);
+
+ case AboveButton:
+- return new WebButton(AboveButton, this, "above", tqshape_);
++ return new WebButton(AboveButton, this, "above", shape_);
+
+ case BelowButton:
+- return new WebButton(BelowButton, this, "below", tqshape_);
++ return new WebButton(BelowButton, this, "below", shape_);
+
+ case ShadeButton:
+- return new WebButton(ShadeButton, this, "shade", tqshape_);
++ return new WebButton(ShadeButton, this, "shade", shape_);
+
+ default:
+ return 0;
+@@ -185,7 +185,7 @@
+
+ KConfig c("kwinwebrc");
+ c.setGroup("General");
+- tqshape_ = c.readBoolEntry("Shape", true);
++ shape_ = c.readBoolEntry("Shape", true);
+
+ KCommonDecoration::init();
+ }
+@@ -195,8 +195,8 @@
+ {
+ if (changed & SettingColors)
+ {
+- // tqrepaint the whole thing
+- widget()->tqrepaint(false);
++ // repaint the whole thing
++ widget()->repaint(false);
+ } else if (changed & SettingFont) {
+ // font has changed -- update title height
+ // title height
+@@ -206,7 +206,7 @@
+ if (0 != titleHeight_ % 2)
+ titleHeight_ += 1;
+
+- widget()->tqrepaint(false);
++ widget()->repaint(false);
+ }
+
+ KCommonDecoration::reset(changed);
+@@ -231,7 +231,7 @@
+ TQPainter p(widget());
+
+ p.setPen(Qt::black);
+- p.setBrush(options()->tqcolorGroup(ColorFrame, isActive()).background());
++ p.setBrush(options()->colorGroup(ColorFrame, isActive()).background());
+
+ p.setClipRegion(pe->region() - titleRect);
+
+@@ -241,7 +241,7 @@
+
+ p.fillRect(titleRect, options()->color(ColorTitleBar, isActive()));
+
+- if (tqshape_)
++ if (shape_)
+ {
+ int r(width());
+ int b(height());
+@@ -288,7 +288,7 @@
+
+ void WebClient::updateWindowShape()
+ {
+- if (!tqshape_)
++ if (!shape_)
+ return;
+
+ TQRegion mask(0, 0, width(), height());
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/web/Web.h v3.5.13-sru/kwin/clients/web/Web.h
+--- /tmp/stable//kdebase/kwin/clients/web/Web.h 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/web/Web.h 2012-07-31 17:17:50.000000000 +0200
+@@ -62,7 +62,7 @@
+
+ int titleHeight_, borderSize_;
+
+- bool tqshape_;
++ bool shape_;
+
+ TQBitmap _buttonBitmap(ButtonType t) const;
+ };
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/events.cpp v3.5.13-sru/kwin/events.cpp
+--- /tmp/stable//kdebase/kwin/events.cpp 2011-08-11 07:25:43.000000000 +0200
++++ v3.5.13-sru/kwin/events.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -626,9 +626,9 @@
+ default:
+ if( e->xany.window == window())
+ {
+- if( e->type == Shape::tqshapeEvent() )
++ if( e->type == Shape::shapeEvent() )
+ {
+- is_tqshape = Shape::hasShape( window()); // workaround for #19644
++ is_shape = Shape::hasShape( window()); // workaround for #19644
+ updateShape();
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/geometry.cpp v3.5.13-sru/kwin/geometry.cpp
+--- /tmp/stable//kdebase/kwin/geometry.cpp 2011-09-14 07:31:14.000000000 +0200
++++ v3.5.13-sru/kwin/geometry.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -1120,7 +1120,7 @@
+ TQSize max_size = maxSize();
+ if( decoration != NULL )
+ {
+- TQSize decominsize = decoration->tqminimumSize();
++ TQSize decominsize = decoration->minimumSize();
+ TQSize border_size( border_left + border_right, border_top + border_bottom );
+ if( border_size.width() > decominsize.width()) // just in case
+ decominsize.setWidth( border_size.width());
+@@ -2637,7 +2637,7 @@
+ ( isResize() ? options->resizeMode : options->moveMode ) == Options::Transparent )
+ {
+ clearbound(); // it's necessary to move the geometry tip when there's no outline
+- positionGeometryTip(); // shown, otherwise it would cause tqrepaint problems in case
++ positionGeometryTip(); // shown, otherwise it would cause repaint problems in case
+ drawbound( moveResizeGeom ); // they overlap; the paint event will come after this,
+ } // so the geometry tip will be painted above the outline
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/geometrytip.cpp v3.5.13-sru/kwin/geometrytip.cpp
+--- /tmp/stable//kdebase/kwin/geometrytip.cpp 2011-07-18 08:45:48.000000000 +0200
++++ v3.5.13-sru/kwin/geometrytip.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -20,7 +20,7 @@
+ setIndent(0);
+ setLineWidth(1);
+ setFrameStyle( TQFrame::Raised | TQFrame::StyledPanel );
+- tqsetAlignment( AlignCenter | AlignTop );
++ setAlignment( AlignCenter | AlignTop );
+ sizeHints = xSizeHints;
+ if( save_under )
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwindecoration/buttons.cpp v3.5.13-sru/kwin/kcmkwin/kwindecoration/buttons.cpp
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwindecoration/buttons.cpp 2011-08-11 07:25:42.000000000 +0200
++++ v3.5.13-sru/kwin/kcmkwin/kwindecoration/buttons.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -54,7 +54,7 @@
+ TQDataStream stream(data, IO_WriteOnly);
+ stream << btn.name;
+ stream << btn.icon;
+- stream << btn.type.tqunicode();
++ stream << btn.type.unicode();
+ stream << (int) btn.duplicate;
+ stream << (int) btn.supported;
+ setEncodedData( data );
+@@ -123,7 +123,7 @@
+ ButtonSource::ButtonSource(TQWidget *parent, const char* name)
+ : KListView(parent, name)
+ {
+- tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
++ setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
+
+ setResizeMode(TQListView::AllColumns);
+ setDragEnabled(true);
+@@ -140,19 +140,19 @@
+ {
+ }
+
+-TQSize ButtonSource::tqsizeHint() const
++TQSize ButtonSource::sizeHint() const
+ {
+- // make the tqsizeHint height a bit smaller than the one of TQListView...
++ // make the sizeHint height a bit smaller than the one of TQListView...
+
+ if ( cachedSizeHint().isValid() )
+ return cachedSizeHint();
+
+ constPolish();
+
+- TQSize s( header()->tqsizeHint() );
++ TQSize s( header()->sizeHint() );
+
+ if ( verticalScrollBar()->isVisible() )
+- s.setWidth( s.width() + tqstyle().tqpixelMetric(TQStyle::PM_ScrollBarExtent) );
++ s.setWidth( s.width() + style().pixelMetric(TQStyle::PM_ScrollBarExtent) );
+ s += TQSize(frameWidth()*2,frameWidth()*2);
+
+ // size hint: 4 lines of text...
+@@ -167,7 +167,7 @@
+ {
+ TQListViewItemIterator it(this);
+ while (it.current() ) {
+- it.current()->tqsetVisible(false);
++ it.current()->setVisible(false);
+ ++it;
+ }
+ }
+@@ -176,7 +176,7 @@
+ {
+ TQListViewItemIterator it(this);
+ while (it.current() ) {
+- it.current()->tqsetVisible(true);
++ it.current()->setVisible(true);
+ ++it;
+ }
+ }
+@@ -187,7 +187,7 @@
+ while (it.current() ) {
+ ButtonSourceItem *item = dynamic_cast<ButtonSourceItem*>(it.current() );
+ if (item && item->button().type == btn) {
+- it.current()->tqsetVisible(true);
++ it.current()->setVisible(true);
+ return;
+ }
+ ++it;
+@@ -200,7 +200,7 @@
+ while (it.current() ) {
+ ButtonSourceItem *item = dynamic_cast<ButtonSourceItem*>(it.current() );
+ if (item && item->button().type == btn && !item->button().duplicate) {
+- it.current()->tqsetVisible(false);
++ it.current()->setVisible(false);
+ return;
+ }
+ ++it;
+@@ -218,7 +218,7 @@
+
+ if (i) {
+ ButtonDrag *bd = new ButtonDrag(i->button(), viewport(), "button_drag");
+- bd->setPixmap(bitmapPixmap(i->button().icon, tqcolorGroup().foreground() ));
++ bd->setPixmap(bitmapPixmap(i->button().icon, colorGroup().foreground() ));
+ return bd;
+ }
+
+@@ -487,7 +487,7 @@
+ m_selected = buttonAt(e->pos() );
+ if (m_selected) {
+ ButtonDrag *bd = new ButtonDrag(m_selected->button(), this);
+- bd->setPixmap(bitmapPixmap(m_selected->button().icon, tqcolorGroup().foreground() ) );
++ bd->setPixmap(bitmapPixmap(m_selected->button().icon, colorGroup().foreground() ) );
+ bd->dragMove();
+ }
+ }
+@@ -572,7 +572,7 @@
+ delete m_selected;
+ m_selected = 0;
+ recalcItemGeometry();
+- update(); // tqrepaint...
++ update(); // repaint...
+ }
+
+ return succ;
+@@ -581,9 +581,9 @@
+ void ButtonDropSite::drawButtonList(TQPainter *p, const ButtonList& btns, int offset)
+ {
+ for (ButtonList::const_iterator it = btns.begin(); it != btns.end(); ++it) {
+- TQRect tqitemRect = (*it)->rect;
+- if (tqitemRect.isValid() ) {
+- (*it)->draw(p, tqcolorGroup(), tqitemRect);
++ TQRect itemRect = (*it)->rect;
++ if (itemRect.isValid() ) {
++ (*it)->draw(p, colorGroup(), itemRect);
+ }
+ offset += (*it)->width();
+ }
+@@ -675,11 +675,11 @@
+ m_factory(0)
+ {
+ TQVBoxLayout *layout = new TQVBoxLayout(this, 0, KDialog::spacingHint() );
+- tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Maximum);
++ setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Maximum);
+
+ TQLabel* label = new TQLabel( this );
+ m_dropSite = new ButtonDropSite( this );
+- label->tqsetAlignment( int( TQLabel::WordBreak ) );
++ label->setAlignment( int( TQLabel::WordBreak ) );
+ label->setText( i18n( "To add or remove titlebar buttons, simply <i>drag</i> items "
+ "between the available item list and the titlebar preview. Similarly, "
+ "drag items within the titlebar preview to re-position them.") );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwindecoration/buttons.h v3.5.13-sru/kwin/kcmkwin/kwindecoration/buttons.h
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwindecoration/buttons.h 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwindecoration/buttons.h 2012-07-31 17:17:50.000000000 +0200
+@@ -117,7 +117,7 @@
+ ButtonSource(TQWidget *parent = 0, const char* name = 0);
+ virtual ~ButtonSource();
+
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+
+ void hideAllButtons();
+ void showAllButtons();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwindecoration/kwindecoration.cpp v3.5.13-sru/kwin/kcmkwin/kwindecoration/kwindecoration.cpp
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwindecoration/kwindecoration.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwindecoration/kwindecoration.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -112,13 +112,13 @@
+ TQWhatsThis::add( cBorder, i18n( "Use this combobox to change the border size of the decoration." ));
+ lBorder->hide();
+ cBorder->hide();
+- TQHBoxLayout *borderSizeLayout = new TQHBoxLayout(pluginSettingsGrp->tqlayout() );
++ TQHBoxLayout *borderSizeLayout = new TQHBoxLayout(pluginSettingsGrp->layout() );
+ borderSizeLayout->addWidget(lBorder);
+ borderSizeLayout->addWidget(cBorder);
+ borderSizeLayout->addStretch();
+
+ pluginConfigWidget = new TQVBox(pluginSettingsGrp);
+- pluginSettingsGrp->tqlayout()->add( pluginConfigWidget );
++ pluginSettingsGrp->layout()->add( pluginConfigWidget );
+
+ // Page 2 (Button Selector)
+ TQWidget* buttonPage = new TQWidget( tabWidget );
+@@ -154,8 +154,8 @@
+ preview = new KDecorationPreview( this );
+ previewLayout->addWidget(preview);
+
+- preview->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
+- tabWidget->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Maximum);
++ preview->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
++ tabWidget->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Maximum);
+
+ // Page 3 (Window Shadows)
+ TQHBox *inactiveShadowColourHBox, *shadowColourHBox;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwindecoration/preview.cpp v3.5.13-sru/kwin/kcmkwin/kwindecoration/preview.cpp
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwindecoration/preview.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwindecoration/preview.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -49,7 +49,7 @@
+ "Most probably there\n"
+ "was a problem loading the plugin." ), this );
+
+- no_preview->tqsetAlignment( AlignCenter );
++ no_preview->setAlignment( AlignCenter );
+
+ setMinimumSize( 100, 100 );
+ no_preview->resize( size());
+@@ -127,15 +127,15 @@
+
+ // Resize the active window
+ size = TQSize( width() - xoffset, height() - titleBarHeight )
+- .expandedTo( deco[Active]->tqminimumSize() );
++ .expandedTo( deco[Active]->minimumSize() );
+ geometry = TQRect( TQPoint( 0, titleBarHeight ), size );
+- deco[Active]->widget()->setGeometry( TQStyle::tqvisualRect( geometry, this ) );
++ deco[Active]->widget()->setGeometry( TQStyle::visualRect( geometry, this ) );
+
+ // Resize the inactive window
+ size = TQSize( width() - xoffset, height() - titleBarHeight )
+- .expandedTo( deco[Inactive]->tqminimumSize() );
++ .expandedTo( deco[Inactive]->minimumSize() );
+ geometry = TQRect( TQPoint( xoffset, 0 ), size );
+- deco[Inactive]->widget()->setGeometry( TQStyle::tqvisualRect( geometry, this ) );
++ deco[Inactive]->widget()->setGeometry( TQStyle::visualRect( geometry, this ) );
+ }
+
+ void KDecorationPreview::setPreviewMask( const TQRegion& reg, int mode, bool active )
+@@ -150,7 +150,7 @@
+ }
+ else
+ {
+- TQMemArray< TQRect > rects = reg.tqrects();
++ TQMemArray< TQRect > rects = reg.rects();
+ XRectangle* xrects = new XRectangle[ rects.count() ];
+ for( unsigned int i = 0;
+ i < rects.count();
+@@ -166,7 +166,7 @@
+ delete[] xrects;
+ }
+ if( active )
+- mask = reg; // keep tqshape of the active window for unobscuredRegion()
++ mask = reg; // keep shape of the active window for unobscuredRegion()
+ }
+
+ TQRect KDecorationPreview::windowGeometry( bool active ) const
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwinoptions/mouse.cpp v3.5.13-sru/kwin/kcmkwin/kwinoptions/mouse.cpp
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwinoptions/mouse.cpp 2011-03-12 07:58:05.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwinoptions/mouse.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -163,7 +163,7 @@
+ combo->insertItem(i18n("Lower"));
+ combo->insertItem(i18n("On All Desktops"));
+ combo->insertItem(i18n("Nothing"));
+- combo->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Fixed));
++ combo->setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Fixed));
+ connect(combo, TQT_SIGNAL(activated(int)), TQT_SLOT(changed()));
+ hlayout->addWidget(combo);
+ coTiDbl = combo;
+@@ -188,7 +188,7 @@
+ comboW->insertItem(i18n("Move to Previous/Next Desktop"));
+ comboW->insertItem(i18n("Change Opacity"));
+ comboW->insertItem(i18n("Nothing"));
+- comboW->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Fixed));
++ comboW->setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Fixed));
+ connect(comboW, TQT_SIGNAL(activated(int)), TQT_SLOT(changed()));
+ hlayoutW->addWidget(comboW);
+ coTiAct4 = comboW;
+@@ -235,7 +235,7 @@
+
+
+ label = new TQLabel(i18n("Active"), grid);
+- label->tqsetAlignment(AlignCenter);
++ label->setAlignment(AlignCenter);
+ TQWhatsThis::add( label, i18n("In this column you can customize mouse clicks into the titlebar"
+ " or the frame of an active window.") );
+
+@@ -292,7 +292,7 @@
+ if ( leftHandedMouse ) tqSwap(txtButton1, txtButton3);
+
+ label = new TQLabel(i18n("Inactive"), grid);
+- label->tqsetAlignment(AlignCenter);
++ label->setAlignment(AlignCenter);
+ TQWhatsThis::add( label, i18n("In this column you can customize mouse clicks into the titlebar"
+ " or the frame of an inactive window.") );
+
+@@ -356,14 +356,14 @@
+
+ TQLabel * label = new TQLabel(strMouseButton[b], box);
+ TQWhatsThis::add( label, txtButton[b] );
+- label ->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum ));
++ label ->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum ));
+
+ coMax[b] = new ToolTipComboBox(box, tbl_Max);
+ for (int t = 0; t < 3; ++t) coMax[b]->insertItem(maxButtonPixmaps[t]);
+ connect(coMax[b], TQT_SIGNAL(activated(int)), TQT_SLOT(changed()));
+ connect(coMax[b], TQT_SIGNAL(activated(int)), coMax[b], TQT_SLOT(changed()));
+ TQWhatsThis::add( coMax[b], txtButton[b] );
+- coMax[b]->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum ));
++ coMax[b]->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum ));
+ }
+
+ connect(kapp, TQT_SIGNAL(kdisplayPaletteChanged()), TQT_SLOT(paletteChanged()));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwinoptions/windows.cpp v3.5.13-sru/kwin/kcmkwin/kwinoptions/windows.cpp
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwinoptions/windows.cpp 2011-08-26 01:00:16.000000000 +0200
++++ v3.5.13-sru/kwin/kcmkwin/kwinoptions/windows.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -110,7 +110,7 @@
+ //iTLabel = new TQLabel(i18n(" Allowed overlap:\n"
+ // "(% of desktop space)"),
+ // plcBox);
+- //iTLabel->tqsetAlignment(AlignTop|AlignHCenter);
++ //iTLabel->setAlignment(AlignTop|AlignHCenter);
+ //pLay->addWidget(iTLabel,1,1);
+
+ //interactiveTrigger = new TQSpinBox(0, 500, 1, plcBox);
+@@ -124,7 +124,7 @@
+ fcsBox = new TQButtonGroup(i18n("Focus"),this);
+ fcsBox->setColumnLayout( 0, Qt::Horizontal );
+
+- TQBoxLayout *fLay = new TQVBoxLayout(fcsBox->tqlayout(),
++ TQBoxLayout *fLay = new TQVBoxLayout(fcsBox->layout(),
+ KDialog::spacingHint());
+
+ TQBoxLayout *cLay = new TQHBoxLayout(fLay);
+@@ -192,8 +192,8 @@
+ connect(clickRaiseOn,TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(clickRaiseOnTog(bool)));
+ fLay->addWidget(clickRaiseOn);
+
+-// fLay->addColSpacing(0,QMAX(autoRaiseOn->tqsizeHint().width(),
+-// clickRaiseOn->tqsizeHint().width()) + 15);
++// fLay->addColSpacing(0,QMAX(autoRaiseOn->sizeHint().width(),
++// clickRaiseOn->sizeHint().width()) + 15);
+
+ TQWhatsThis::add( autoRaiseOn, i18n("When this option is enabled, a window in the background will automatically"
+ " come to the front when the mouse pointer has been over it for some time.") );
+@@ -236,7 +236,7 @@
+
+ kbdBox = new TQButtonGroup(i18n("Navigation"), this);
+ kbdBox->setColumnLayout( 0, Qt::Horizontal );
+- TQVBoxLayout *kLay = new TQVBoxLayout(kbdBox->tqlayout(), KDialog::spacingHint());
++ TQVBoxLayout *kLay = new TQVBoxLayout(kbdBox->layout(), KDialog::spacingHint());
+
+ altTabPopup = new TQCheckBox( i18n("Show window list while switching windows"), kbdBox );
+ kLay->addWidget( altTabPopup );
+@@ -573,7 +573,7 @@
+ //iTLabel = new TQLabel(i18n(" Allowed overlap:\n"
+ // "(% of desktop space)"),
+ // plcBox);
+- //iTLabel->tqsetAlignment(AlignTop|AlignHCenter);
++ //iTLabel->setAlignment(AlignTop|AlignHCenter);
+ //pLay->addWidget(iTLabel,1,1);
+
+ //interactiveTrigger = new TQSpinBox(0, 500, 1, plcBox);
+@@ -831,7 +831,7 @@
+ windowsBox = new TQButtonGroup(i18n("Windows"), this);
+ windowsBox->setColumnLayout( 0, Qt::Horizontal );
+
+- TQBoxLayout *wLay = new TQVBoxLayout (windowsBox->tqlayout(), KDialog::spacingHint());
++ TQBoxLayout *wLay = new TQVBoxLayout (windowsBox->layout(), KDialog::spacingHint());
+
+ TQBoxLayout *bLay = new TQVBoxLayout;
+ wLay->addLayout(bLay);
+@@ -877,11 +877,11 @@
+ connect(minimizeAnimSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setMinimizeAnimSpeed(int)));
+
+ minimizeAnimSlowLabel= new TQLabel(i18n("Slow"),windowsBox);
+- minimizeAnimSlowLabel->tqsetAlignment(Qt::AlignTop|Qt::AlignLeft);
++ minimizeAnimSlowLabel->setAlignment(Qt::AlignTop|Qt::AlignLeft);
+ rLay->addWidget(minimizeAnimSlowLabel,1,1);
+
+ minimizeAnimFastLabel= new TQLabel(i18n("Fast"),windowsBox);
+- minimizeAnimFastLabel->tqsetAlignment(Qt::AlignTop|Qt::AlignRight);
++ minimizeAnimFastLabel->setAlignment(Qt::AlignTop|Qt::AlignRight);
+ rLay->addWidget(minimizeAnimFastLabel,1,2);
+
+ wtstr = i18n("Here you can set the speed of the animation shown when windows are"
+@@ -940,7 +940,7 @@
+ //iTLabel = new TQLabel(i18n(" Allowed overlap:\n"
+ // "(% of desktop space)"),
+ // plcBox);
+- //iTLabel->tqsetAlignment(AlignTop|AlignHCenter);
++ //iTLabel->setAlignment(AlignTop|AlignHCenter);
+ //pLay->addWidget(iTLabel,1,1);
+
+ //interactiveTrigger = new TQSpinBox(0, 500, 1, plcBox);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/detectwidgetbase.ui v3.5.13-sru/kwin/kcmkwin/kwinrules/detectwidgetbase.ui
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/detectwidgetbase.ui 2011-03-12 07:58:05.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwinrules/detectwidgetbase.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -29,7 +29,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>40</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/editshortcutbase.ui v3.5.13-sru/kwin/kcmkwin/kwinrules/editshortcutbase.ui
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/editshortcutbase.ui 2011-03-12 07:58:05.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwinrules/editshortcutbase.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -66,7 +66,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -91,7 +91,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -116,7 +116,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/main.cpp v3.5.13-sru/kwin/kcmkwin/kwinrules/main.cpp
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/main.cpp 2011-08-11 07:25:43.000000000 +0200
++++ v3.5.13-sru/kwin/kcmkwin/kwinrules/main.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -151,7 +151,7 @@
+ Rules* ret = new Rules;
+ if( whole_app )
+ {
+- ret->description = i18n( "Application settings for %1" ).tqarg( static_cast<const char *>(wmclass_class) );
++ ret->description = i18n( "Application settings for %1" ).arg( static_cast<const char *>(wmclass_class) );
+ // TODO maybe exclude some types? If yes, then also exclude them above
+ // when searching.
+ ret->types = NET::AllTypesMask;
+@@ -175,7 +175,7 @@
+ }
+ return ret;
+ }
+- ret->description = i18n( "Window settings for %1" ).tqarg( static_cast<const char *>(wmclass_class) );
++ ret->description = i18n( "Window settings for %1" ).arg( static_cast<const char *>(wmclass_class) );
+ if( type == NET::Unknown )
+ ret->types = NET::NormalMask;
+ else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/ruleslistbase.ui v3.5.13-sru/kwin/kcmkwin/kwinrules/ruleslistbase.ui
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/ruleslistbase.ui 2011-03-12 07:58:05.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwinrules/ruleslistbase.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -77,7 +77,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>294</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/ruleswidgetbase.ui v3.5.13-sru/kwin/kcmkwin/kwinrules/ruleswidgetbase.ui
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/ruleswidgetbase.ui 2011-03-12 07:58:05.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwinrules/ruleswidgetbase.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -87,7 +87,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>40</height>
+@@ -129,7 +129,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>212</width>
+ <height>20</height>
+@@ -157,7 +157,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>211</width>
+ <height>20</height>
+@@ -199,7 +199,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>212</width>
+ <height>20</height>
+@@ -230,7 +230,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>211</width>
+ <height>20</height>
+@@ -271,7 +271,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>270</width>
+ <height>20</height>
+@@ -296,7 +296,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>269</width>
+ <height>20</height>
+@@ -470,7 +470,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>199</width>
+ <height>20</height>
+@@ -501,7 +501,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>199</width>
+ <height>20</height>
+@@ -543,7 +543,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>199</width>
+ <height>20</height>
+@@ -574,7 +574,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>199</width>
+ <height>20</height>
+@@ -616,7 +616,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>199</width>
+ <height>20</height>
+@@ -647,7 +647,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>199</width>
+ <height>20</height>
+@@ -1181,7 +1181,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+@@ -1347,7 +1347,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>171</width>
+ <height>20</height>
+@@ -1364,7 +1364,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>290</width>
+ <height>20</height>
+@@ -1381,7 +1381,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>290</width>
+ <height>20</height>
+@@ -1398,7 +1398,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>290</width>
+ <height>20</height>
+@@ -1415,7 +1415,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>290</width>
+ <height>20</height>
+@@ -1432,7 +1432,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>290</width>
+ <height>20</height>
+@@ -1449,7 +1449,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>290</width>
+ <height>20</height>
+@@ -1466,7 +1466,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>290</width>
+ <height>20</height>
+@@ -1796,7 +1796,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>80</height>
+@@ -1847,7 +1847,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>181</width>
+ <height>20</height>
+@@ -2278,7 +2278,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>160</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/ruleswidget.cpp v3.5.13-sru/kwin/kcmkwin/kwinrules/ruleswidget.cpp
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/ruleswidget.cpp 2011-03-12 07:58:05.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwinrules/ruleswidget.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -661,7 +661,7 @@
+ all_types = false;
+ if( wmclass_match->currentItem() == Rules::UnimportantMatch && all_types )
+ {
+- if( KMessageBox::warningContinueCancel( tqtopLevelWidget(),
++ if( KMessageBox::warningContinueCancel( topLevelWidget(),
+ i18n( "You have specified the window class as unimportant.\n"
+ "This means the settings will possibly apply to windows from all applications. "
+ "If you really want to create a generic setting, it is recommended you at least "
+@@ -680,7 +680,7 @@
+
+ void RulesWidget::shortcutEditClicked()
+ {
+- EditShortcutDialog dlg( tqtopLevelWidget());
++ EditShortcutDialog dlg( topLevelWidget());
+ dlg.setShortcut( shortcut->text());
+ if( dlg.exec() == TQDialog::Accepted )
+ shortcut->setText( dlg.shortcut());
+@@ -735,7 +735,7 @@
+
+ void EditShortcut::editShortcut()
+ {
+- ShortcutDialog dlg( KShortcut( shortcut->text()), tqtopLevelWidget());
++ ShortcutDialog dlg( KShortcut( shortcut->text()), topLevelWidget());
+ if( dlg.exec() == TQDialog::Accepted )
+ shortcut->setText( dlg.shortcut().toString());
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/killer/killer.cpp v3.5.13-sru/kwin/killer/killer.cpp
+--- /tmp/stable//kdebase/kwin/killer/killer.cpp 2011-03-12 07:58:03.000000000 +0100
++++ v3.5.13-sru/kwin/killer/killer.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -55,7 +55,7 @@
+ bool pid_ok = false;
+ pid_t pid = args->getOption( "pid" ).toULong( &pid_ok );
+ TQString caption = TQString::fromUtf8( args->getOption( "windowname" ));
+- TQString appname = TQString::tqfromLatin1( args->getOption( "applicationname" ));
++ TQString appname = TQString::fromLatin1( args->getOption( "applicationname" ));
+ bool id_ok = false;
+ Window id = args->getOption( "wid" ).toULong( &id_ok );
+ bool time_ok = false;
+@@ -71,7 +71,7 @@
+ "<qt>Window with title \"<b>%2</b>\" is not responding. "
+ "This window belongs to application <b>%1</b> (PID=%3, hostname=%4).<p>"
+ "Do you wish to terminate this application? (All unsaved data in this application will be lost.)</qt>" )
+- .tqarg( appname ).tqarg( caption ).tqarg( pid ).tqarg( static_cast<const char *>(hostname) );
++ .arg( appname ).arg( caption ).arg( pid ).arg( static_cast<const char *>(hostname) );
+ app.updateUserTimestamp( timestamp );
+ if( KMessageBox::warningYesNoWId( id, question, TQString::null, i18n("Terminate"), i18n("Keep Running") ) == KMessageBox::Yes )
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kompmgr/kompmgr.c v3.5.13-sru/kwin/kompmgr/kompmgr.c
+--- /tmp/stable//kdebase/kwin/kompmgr/kompmgr.c 2011-10-24 03:36:55.000000000 +0200
++++ v3.5.13-sru/kwin/kompmgr/kompmgr.c 2012-07-31 17:17:50.000000000 +0200
+@@ -1,5 +1,5 @@
+ /*
+- * $Id: kompmgr.c 1260431 2011-10-24 01:12:32Z tpearson $
++ * $Id$
+ *
+ * Copyright © 2003 Keith Packard
+ *
+@@ -60,6 +60,7 @@
+ #include <signal.h>
+ #include <time.h>
+ #include <unistd.h>
++#include <libgen.h>
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
+ #include <X11/Xatom.h>
+@@ -397,7 +398,7 @@
+ int chars = readlink("/proc/self/exe", me, sizeof(me));
+ me[chars] = 0;
+ me[2047] = 0;
+- execl(me, NULL);
++ execl(me, basename(me), (char*)NULL);
+ }
+ #endif
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/layers.cpp v3.5.13-sru/kwin/layers.cpp
+--- /tmp/stable//kdebase/kwin/layers.cpp 2011-08-11 07:25:43.000000000 +0200
++++ v3.5.13-sru/kwin/layers.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -87,7 +87,7 @@
+ if( c->layer() == c->belongsToLayer())
+ return;
+ StackingUpdatesBlocker blocker( this );
+- c->invalidateLayer(); // tqinvalidate, will be updated when doing restacking
++ c->invalidateLayer(); // invalidate, will be updated when doing restacking
+ for( ClientList::ConstIterator it = c->transients().begin();
+ it != c->transients().end();
+ ++it )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/lib/kcommondecoration.cpp v3.5.13-sru/kwin/lib/kcommondecoration.cpp
+--- /tmp/stable//kdebase/kwin/lib/kcommondecoration.cpp 2011-09-11 06:57:55.000000000 +0200
++++ v3.5.13-sru/kwin/lib/kcommondecoration.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -522,7 +522,7 @@
+ widget()->resize( s );
+ }
+
+-TQSize KCommonDecoration::tqminimumSize() const
++TQSize KCommonDecoration::minimumSize() const
+ {
+ const int minWidth = QMAX(layoutMetric(LM_TitleEdgeLeft), layoutMetric(LM_BorderLeft))
+ +QMAX(layoutMetric(LM_TitleEdgeRight), layoutMetric(LM_BorderRight))
+@@ -684,7 +684,7 @@
+
+ updateWindowShape();
+ // FIXME: don't update() here! this would result in two paintEvent()s
+- // because there is already "something" else triggering the tqrepaint...
++ // because there is already "something" else triggering the repaint...
+ // widget()->update();
+ }
+
+@@ -946,7 +946,7 @@
+ }
+ }
+
+-TQSize KCommonDecorationButton::tqsizeHint() const
++TQSize KCommonDecorationButton::sizeHint() const
+ {
+ return m_size;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/lib/kcommondecoration.h v3.5.13-sru/kwin/lib/kcommondecoration.h
+--- /tmp/stable//kdebase/kwin/lib/kcommondecoration.h 2011-09-11 06:57:55.000000000 +0200
++++ v3.5.13-sru/kwin/lib/kcommondecoration.h 2012-07-31 17:17:50.000000000 +0200
+@@ -178,7 +178,7 @@
+ /**
+ * This updates the window mask using the information provided by
+ * cornerShape(). Edges which are aligned to screen corners are not
+- * tqshaped for better usability (remember to paint these areas in paintEvent(), too).
++ * shaped for better usability (remember to paint these areas in paintEvent(), too).
+ * You normally don't want/need to reimplement updateWindowShape().
+ * @see cornerShape()
+ */
+@@ -234,7 +234,7 @@
+ virtual void borders( int& left, int& right, int& top, int& bottom ) const;
+ virtual void show();
+ virtual void resize(const TQSize& s);
+- virtual TQSize tqminimumSize() const;
++ virtual TQSize minimumSize() const;
+ virtual void maximizeChange();
+ virtual void desktopChange();
+ virtual void shadeChange();
+@@ -348,7 +348,7 @@
+ */
+ ButtonState lastMousePress() const { return m_lastMouse; }
+
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+
+ protected:
+ void setToggleButton(bool toggle);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/lib/kdecoration.cpp v3.5.13-sru/kwin/lib/kdecoration.cpp
+--- /tmp/stable//kdebase/kwin/lib/kdecoration.cpp 2011-04-11 20:53:01.000000000 +0200
++++ v3.5.13-sru/kwin/lib/kdecoration.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -388,14 +388,14 @@
+ return(active ? d->activeFont : d->inactiveFont);
+ }
+
+-const TQColorGroup& KDecorationOptions::tqcolorGroup(ColorType type, bool active) const
++const TQColorGroup& KDecorationOptions::colorGroup(ColorType type, bool active) const
+ {
+ int idx = type + (active ? 0 : NUM_COLORS);
+ if(d->cg[idx])
+ return(*d->cg[idx]);
+ d->cg[idx] = new TQColorGroup(Qt::black, d->colors[idx], d->colors[idx].light(150),
+ d->colors[idx].dark(), d->colors[idx].dark(120),
+- Qt::black, TQApplication::tqpalette().active().
++ Qt::black, TQApplication::palette().active().
+ base());
+ return(*d->cg[idx]);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/lib/kdecorationfactory.h v3.5.13-sru/kwin/lib/kdecorationfactory.h
+--- /tmp/stable//kdebase/kwin/lib/kdecorationfactory.h 2011-03-12 07:58:05.000000000 +0100
++++ v3.5.13-sru/kwin/lib/kdecorationfactory.h 2012-07-31 17:17:50.000000000 +0200
+@@ -56,7 +56,7 @@
+ * The argument specifies what has changed, using the SettingXXX masks.
+ * It should be determined whether the decorations need to be completely
+ * remade, in which case true should be returned, or whether only e.g.
+- * a tqrepaint will be sufficient, in which case false should be returned,
++ * a repaint will be sufficient, in which case false should be returned,
+ * and resetDecorations() can be called to reset all decoration objects.
+ * Note that true should be returned only when really necessary.
+ */
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/lib/kdecoration.h v3.5.13-sru/kwin/lib/kdecoration.h
+--- /tmp/stable//kdebase/kwin/lib/kdecoration.h 2011-07-08 00:00:31.000000000 +0200
++++ v3.5.13-sru/kwin/lib/kdecoration.h 2012-07-31 17:17:50.000000000 +0200
+@@ -97,10 +97,10 @@
+ LowerOp,
+ FullScreenOp,
+ NoBorderOp,
+- ShadowOp,
+ NoOp,
+ SetupWindowShortcutOp,
+- ApplicationRulesOp ///< @since 3.5
++ ApplicationRulesOp, ///< @since 3.5
++ ShadowOp ///< @since 3.5.12
+ };
+ /**
+ * Basic color types that should be recognized by all decoration styles.
+@@ -205,7 +205,7 @@
+ * @param type The requested color type.
+ * @param active Whether to return the color for active or inactive windows.
+ */
+- const TQColorGroup& tqcolorGroup(ColorType type, bool active=true) const;
++ const TQColorGroup& colorGroup(ColorType type, bool active=true) const;
+ /**
+ * Returns the active or inactive decoration font.
+ * The changed flags for this setting is SettingFont.
+@@ -481,15 +481,15 @@
+ void performWindowOperation( WindowOperation op );
+ /**
+ * If the decoration is non-rectangular, this function needs to be called
+- * to set the tqshape of the decoration.
++ * to set the shape of the decoration.
+ *
+- * @param reg The tqshape of the decoration.
++ * @param reg The shape of the decoration.
+ * @param mode The X11 values Unsorted, YSorted, YXSorted and YXBanded that specify
+ * the sorting of the rectangles, default value is Unsorted.
+ */
+ void setMask( const TQRegion& reg, int mode = 0 );
+ /**
+- * This convenience function resets the tqshape mask.
++ * This convenience function resets the shape mask.
+ */
+ void clearMask(); // convenience
+ /**
+@@ -594,7 +594,7 @@
+ * Note that the returned size shouldn't be too large, because it will be
+ * used to keep the decorated window at least as large.
+ */
+- virtual TQSize tqminimumSize() const = 0;
++ virtual TQSize minimumSize() const = 0;
+ /**
+ * This function is called whenever the window either becomes or stops being active.
+ * Use isActive() to find out the current state.
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/manage.cpp v3.5.13-sru/kwin/manage.cpp
+--- /tmp/stable//kdebase/kwin/manage.cpp 2011-08-11 07:25:43.000000000 +0200
++++ v3.5.13-sru/kwin/manage.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -264,7 +264,7 @@
+ usePosition = true;
+ if( !rules()->checkIgnoreGeometry( !usePosition ))
+ {
+- bool ignorePPosition = ( options->ignorePositionClasses.contains(TQString::tqfromLatin1(resourceClass())));
++ bool ignorePPosition = ( options->ignorePositionClasses.contains(TQString::fromLatin1(resourceClass())));
+
+ if ( ( (xSizeHint.flags & PPosition) && !ignorePPosition ) ||
+ (xSizeHint.flags & USPosition) )
+@@ -319,7 +319,7 @@
+ keepInArea( area, partial_keep_in_area );
+
+ XShapeSelectInput( qt_xdisplay(), window(), ShapeNotifyMask );
+- is_tqshape = Shape::hasShape( window());
++ is_shape = Shape::hasShape( window());
+ updateShape();
+
+ //CT extra check for stupid jdk 1.3.1. But should make sense in general
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/options.cpp v3.5.13-sru/kwin/options.cpp
+--- /tmp/stable//kdebase/kwin/options.cpp 2011-08-12 02:05:41.000000000 +0200
++++ v3.5.13-sru/kwin/options.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -383,7 +383,7 @@
+
+ bool Options::checkIgnoreFocusStealing( const Client* c )
+ {
+- return ignoreFocusStealingClasses.contains(TQString::tqfromLatin1(c->resourceClass()));
++ return ignoreFocusStealingClasses.contains(TQString::fromLatin1(c->resourceClass()));
+ }
+
+ Options::MouseCommand Options::wheelToMouseCommand( MouseWheelCommand com, int delta )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/popupinfo.cpp v3.5.13-sru/kwin/popupinfo.cpp
+--- /tmp/stable//kdebase/kwin/popupinfo.cpp 2011-03-12 07:58:06.000000000 +0100
++++ v3.5.13-sru/kwin/popupinfo.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -75,8 +75,8 @@
+ void PopupInfo::paintEvent( TQPaintEvent* )
+ {
+ TQPainter p( this );
+- tqstyle().tqdrawPrimitive( TQStyle::PE_Panel, &p, TQRect( 0, 0, width(), height() ),
+- tqcolorGroup(), TQStyle::Style_Default );
++ style().tqdrawPrimitive( TQStyle::PE_Panel, &p, TQRect( 0, 0, width(), height() ),
++ colorGroup(), TQStyle::Style_Default );
+ paintContents();
+ }
+
+@@ -90,7 +90,7 @@
+ TQPainter p( this );
+ TQRect r( 6, 6, width()-12, height()-12 );
+
+- p.fillRect( r, tqcolorGroup().brush( TQColorGroup::Background ) );
++ p.fillRect( r, colorGroup().brush( TQColorGroup::Background ) );
+
+ /*
+ p.setPen(Qt::white);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/sm.cpp v3.5.13-sru/kwin/sm.cpp
+--- /tmp/stable//kdebase/kwin/sm.cpp 2011-08-11 07:25:43.000000000 +0200
++++ v3.5.13-sru/kwin/sm.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -27,7 +27,7 @@
+ namespace KWinInternal
+ {
+
+-bool SessionManaged::saveState( QSessionManager& sm )
++bool SessionManaged::saveState( TQSessionManager& sm )
+ {
+ // If the session manager is ksmserver, save stacking
+ // order, active window, active desktop etc. in phase 1,
+@@ -53,7 +53,7 @@
+ }
+
+ // I bet this is broken, just like everywhere else in KDE
+-bool SessionManaged::commitData( QSessionManager& sm )
++bool SessionManaged::commitData( TQSessionManager& sm )
+ {
+ if ( !sm.isPhase2() )
+ Workspace::self()->sessionSaveStarted();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/sm.h v3.5.13-sru/kwin/sm.h
+--- /tmp/stable//kdebase/kwin/sm.h 2011-03-12 07:58:06.000000000 +0100
++++ v3.5.13-sru/kwin/sm.h 2012-07-31 17:17:50.000000000 +0200
+@@ -80,8 +80,8 @@
+ : public KSessionManaged
+ {
+ public:
+- virtual bool saveState( QSessionManager& sm );
+- virtual bool commitData( QSessionManager& sm );
++ virtual bool saveState( TQSessionManager& sm );
++ virtual bool commitData( TQSessionManager& sm );
+ };
+
+ } // namespace
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/tabbox.cpp v3.5.13-sru/kwin/tabbox.cpp
+--- /tmp/stable//kdebase/kwin/tabbox.cpp 2011-08-11 07:25:43.000000000 +0200
++++ v3.5.13-sru/kwin/tabbox.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -373,7 +373,7 @@
+ pix.fill(this, 0, 0);
+
+ TQPainter p;
+- p.tqbegin(&pix, this);
++ p.begin(&pix, this);
+
+ TQPixmap* menu_pix = kwin_get_menu_pix_hack();
+
+@@ -400,7 +400,7 @@
+ {
+ // draw highlight background
+ if ( (*it) == current_client )
+- p.fillRect(x, y, r.width(), lineHeight, tqcolorGroup().highlight());
++ p.fillRect(x, y, r.width(), lineHeight, colorGroup().highlight());
+
+ // draw icon
+ TQPixmap icon;
+@@ -437,11 +437,11 @@
+
+ // draw text
+ if ( (*it) == current_client )
+- p.setPen(tqcolorGroup().highlightedText());
++ p.setPen(colorGroup().highlightedText());
+ else if( (*it)->isMinimized())
+ {
+- TQColor c1 = tqcolorGroup().text();
+- TQColor c2 = tqcolorGroup().background();
++ TQColor c1 = colorGroup().text();
++ TQColor c2 = colorGroup().background();
+ // from kicker's TaskContainer::blendColors()
+ int r1, g1, b1;
+ int r2, g2, b2;
+@@ -456,7 +456,7 @@
+ p.setPen(TQColor( r1, g1, b1 ));
+ }
+ else
+- p.setPen(tqcolorGroup().text());
++ p.setPen(colorGroup().text());
+
+ p.drawText(x+5 + iconWidth + 8, y, r.width() - 5 - iconWidth - 8, lineHeight,
+ Qt::AlignLeft | Qt::AlignVCenter | TQt::SingleLine, s);
+@@ -494,13 +494,13 @@
+ {
+ // draw highlight background
+ if ( iDesktop == desk ) // current desktop
+- p.fillRect(x, y, r.width(), lineHeight, tqcolorGroup().highlight());
++ p.fillRect(x, y, r.width(), lineHeight, colorGroup().highlight());
+
+ p.save();
+
+ // draw "icon" (here: number of desktop)
+- p.fillRect(x+5, y+2, iconWidth, iconHeight, tqcolorGroup().base());
+- p.setPen(tqcolorGroup().text());
++ p.fillRect(x+5, y+2, iconWidth, iconHeight, colorGroup().base());
++ p.setPen(colorGroup().text());
+ p.drawRect(x+5, y+2, iconWidth, iconHeight);
+
+ // draw desktop-number
+@@ -512,9 +512,9 @@
+
+ // draw desktop name text
+ if ( iDesktop == desk )
+- p.setPen(tqcolorGroup().highlightedText());
++ p.setPen(colorGroup().highlightedText());
+ else
+- p.setPen(tqcolorGroup().text());
++ p.setPen(colorGroup().text());
+
+ p.drawText(x+5 + iconWidth + 8, y, r.width() - 5 - iconWidth - 8, lineHeight,
+ Qt::AlignLeft | Qt::AlignVCenter | TQt::SingleLine,
+@@ -696,7 +696,7 @@
+ if( e->type != ButtonPress )
+ return;
+ TQPoint pos( e->xbutton.x_root, e->xbutton.y_root );
+- if( !tqgeometry().contains( pos ))
++ if( !geometry().contains( pos ))
+ {
+ workspace()->closeTabBox(); // click outside closes tab
+ return;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/tools/decobenchmark/main.cpp v3.5.13-sru/kwin/tools/decobenchmark/main.cpp
+--- /tmp/stable//kdebase/kwin/tools/decobenchmark/main.cpp 2011-03-12 07:58:03.000000000 +0100
++++ v3.5.13-sru/kwin/tools/decobenchmark/main.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -40,7 +40,7 @@
+ static KCmdLineOptions options[] =
+ {
+ { "+decoration", "Decoration library to use, such as kwin3_plastik.", 0 },
+- { "+tests", "Which test should be executed ('all', 'tqrepaint', 'caption', 'resize', 'recreation')", 0 },
++ { "+tests", "Which test should be executed ('all', 'repaint', 'caption', 'resize', 'recreation')", 0 },
+ { "+repetitions", "Number of test repetitions.", 0 },
+ { 0, 0, 0 }
+ };
+@@ -117,7 +117,7 @@
+ Tests test;
+ if (t == "all")
+ test = AllTests;
+- else if (t == "tqrepaint")
++ else if (t == "repaint")
+ test = RepaintTest;
+ else if (t == "caption")
+ test = CaptionTest;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/tools/decobenchmark/preview.cpp v3.5.13-sru/kwin/tools/decobenchmark/preview.cpp
+--- /tmp/stable//kdebase/kwin/tools/decobenchmark/preview.cpp 2011-07-08 00:00:31.000000000 +0200
++++ v3.5.13-sru/kwin/tools/decobenchmark/preview.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -66,7 +66,7 @@
+ deco->captionChange();
+ positionPreviews(0);
+ for (int i = 0; i < n; ++i) {
+- deco->widget()->tqrepaint();
++ deco->widget()->repaint();
+ kapp->processEvents();
+ }
+ }
+@@ -79,7 +79,7 @@
+ for (int i = 0; i < n; ++i) {
+ bridge->setCaption(caption.arg(i) );
+ deco->captionChange();
+- deco->widget()->tqrepaint();
++ deco->widget()->repaint();
+ kapp->processEvents();
+ }
+ }
+@@ -127,7 +127,7 @@
+ if ( !deco )
+ return;
+
+- TQSize size = TQSize(width()-2*10-shrink, height()-2*10-shrink)/*.expandedTo(deco->tqminimumSize()*/;
++ TQSize size = TQSize(width()-2*10-shrink, height()-2*10-shrink)/*.expandedTo(deco->minimumSize()*/;
+
+ TQRect geometry(TQPoint(10, 10), size);
+ deco->widget()->setGeometry(geometry);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/useractions.cpp v3.5.13-sru/kwin/useractions.cpp
+--- /tmp/stable//kdebase/kwin/useractions.cpp 2011-09-16 04:01:45.000000000 +0200
++++ v3.5.13-sru/kwin/useractions.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -293,7 +293,7 @@
+ client_keys_client = c;
+ connect( client_keys_dialog, TQT_SIGNAL( dialogDone( bool )), TQT_SLOT( setupWindowShortcutDone( bool )));
+ TQRect r = clientArea( ScreenArea, c );
+- TQSize size = client_keys_dialog->tqsizeHint();
++ TQSize size = client_keys_dialog->sizeHint();
+ TQPoint pos = c->pos() + c->clientPos();
+ if( pos.x() + size.width() >= r.right())
+ pos.setX( r.right() - size.width());
+@@ -1045,8 +1045,8 @@
+ else
+ {
+ TQRect area = clientArea(ScreenArea, TQPoint(x, y), currentDesktop());
+- clientPopupAboutToShow(); // needed for tqsizeHint() to be correct :-/
+- int popupHeight = p->tqsizeHint().height();
++ clientPopupAboutToShow(); // needed for sizeHint() to be correct :-/
++ int popupHeight = p->sizeHint().height();
+ if (y + popupHeight < area.height())
+ p->exec( TQPoint( x, y ) );
+ else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/utils.cpp v3.5.13-sru/kwin/utils.cpp
+--- /tmp/stable//kdebase/kwin/utils.cpp 2011-08-16 01:07:51.000000000 +0200
++++ v3.5.13-sru/kwin/utils.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -18,6 +18,8 @@
+ #include "utils.h"
+
+ #include <unistd.h>
++#include <string.h>
++#include <netdb.h>
+
+ #ifndef KCMRULES
+
+@@ -46,11 +48,11 @@
+
+ // used to store the return values of
+ // XShapeQueryExtension.
+-// Necessary since tqshaped window are an extension to X
+-int Shape::kwin_tqshape_version = 0;
+-int Shape::kwin_tqshape_event = 0;
++// Necessary since shaped window are an extension to X
++int Shape::kwin_shape_version = 0;
++int Shape::kwin_shape_event = 0;
+
+-// does the window w need a tqshape combine mask around it?
++// does the window w need a shape combine mask around it?
+ bool Shape::hasShape( WId w)
+ {
+ int xws, yws, xbs, ybs;
+@@ -64,21 +66,21 @@
+ return boundingShaped != 0;
+ }
+
+-int Shape::tqshapeEvent()
++int Shape::shapeEvent()
+ {
+- return kwin_tqshape_event;
++ return kwin_shape_event;
+ }
+
+ void Shape::init()
+ {
+- kwin_tqshape_version = 0;
++ kwin_shape_version = 0;
+ int dummy;
+- if( !XShapeQueryExtension(qt_xdisplay(), &kwin_tqshape_event, &dummy))
++ if( !XShapeQueryExtension(qt_xdisplay(), &kwin_shape_event, &dummy))
+ return;
+ int major, minor;
+ if( !XShapeQueryVersion( qt_xdisplay(), &major, &minor ))
+ return;
+- kwin_tqshape_version = major * 0x10 + minor;
++ kwin_shape_version = major * 0x10 + minor;
+ }
+
+ void Motif::readFlags( WId w, bool& noborder, bool& resize, bool& move,
+@@ -323,6 +325,27 @@
+ if( host == hostnamebuf )
+ return true;
+ }
++ else
++ { // e.g. LibreOffice likes to give FQDN, even if gethostname() doesn't include domain
++ struct addrinfo hints, *res, *addr;
++ bool is_local = false;
++
++ memset (&hints, 0, sizeof (hints));
++ hints.ai_family = PF_UNSPEC;
++ hints.ai_socktype = SOCK_STREAM;
++ hints.ai_flags |= AI_CANONNAME;
++
++ if( getaddrinfo( host, NULL, &hints, &res ) != 0)
++ return false;
++ for(addr = res; !is_local && addr; addr = addr->ai_next)
++ {
++ if( res->ai_canonname &&
++ host == TQCString( res->ai_canonname ))
++ is_local = true;
++ }
++ freeaddrinfo(res);
++ return is_local;
++ }
+ }
+ return false;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/utils.h v3.5.13-sru/kwin/utils.h
+--- /tmp/stable//kdebase/kwin/utils.h 2011-03-12 07:58:06.000000000 +0100
++++ v3.5.13-sru/kwin/utils.h 2012-07-31 17:17:50.000000000 +0200
+@@ -111,14 +111,14 @@
+ class Shape
+ {
+ public:
+- static bool available() { return kwin_tqshape_version > 0; }
+- static int version() { return kwin_tqshape_version; } // as 16*major+minor, i.e. two hex digits
++ static bool available() { return kwin_shape_version > 0; }
++ static int version() { return kwin_shape_version; } // as 16*major+minor, i.e. two hex digits
+ static bool hasShape( WId w);
+- static int tqshapeEvent();
++ static int shapeEvent();
+ static void init();
+ private:
+- static int kwin_tqshape_version;
+- static int kwin_tqshape_event;
++ static int kwin_shape_version;
++ static int kwin_shape_event;
+ };
+
+ // compile with XShape older than 1.0
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/wm-spec/x351.html v3.5.13-sru/kwin/wm-spec/x351.html
+--- /tmp/stable//kdebase/kwin/wm-spec/x351.html 2011-03-12 07:58:05.000000000 +0100
++++ v3.5.13-sru/kwin/wm-spec/x351.html 2012-07-31 17:17:50.000000000 +0200
+@@ -97,10 +97,10 @@
+ ></H2
+ ><P
+ >This spec suggests implementing the file manager desktop by mapping a
+-desktop-sized window (no tqshape) to all desktops, with
++desktop-sized window (no shape) to all desktops, with
+ _NET_WM_WINDOW_TYPE_DESKTOP. This makes the desktop focusable and greatly
+ simplifies implementation of the file manager. It is also faster than
+-managing lots of small tqshaped windows. The file manager draws the background
++managing lots of small shaped windows. The file manager draws the background
+ on this window. There should be a root property with a window handle for use
+ in applications that want to draw the background (xearth).
+ </P
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/workspace.cpp v3.5.13-sru/kwin/workspace.cpp
+--- /tmp/stable//kdebase/kwin/workspace.cpp 2011-09-03 21:32:00.000000000 +0200
++++ v3.5.13-sru/kwin/workspace.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -1056,7 +1056,7 @@
+ topmenu_selection->release();
+ lostTopMenuSelection();
+ }
+- topmenu_height = 0; // tqinvalidate used menu height
++ topmenu_height = 0; // invalidate used menu height
+ if( managingTopMenus())
+ {
+ updateTopMenuGeometry();
+@@ -1938,7 +1938,7 @@
+ int count, order;
+ XRectangle* rects = XShapeGetRectangles( qt_xdisplay(), active_client->frameId(),
+ ShapeBounding, &count, &order);
+- //The ShapeBounding region is the outermost tqshape of the window;
++ //The ShapeBounding region is the outermost shape of the window;
+ //ShapeBounding - ShapeClipping is defined to be the border.
+ //Since the border area is part of the window, we use bounding
+ // to limit our work region
+@@ -1956,7 +1956,7 @@
+
+ //Get the masked away area.
+ TQRegion maskedAway = bbox - contents;
+- TQMemArray<TQRect> maskedAwayRects = maskedAway.tqrects();
++ TQMemArray<TQRect> maskedAwayRects = maskedAway.rects();
+
+ //Construct a bitmap mask from the rectangles
+ TQBitmap mask( snapshot.width(), snapshot.height());
+@@ -1969,7 +1969,7 @@
+ }
+ }
+
+- TQClipboard *cb = TQApplication::tqclipboard();
++ TQClipboard *cb = TQApplication::clipboard();
+ cb->setPixmap( snapshot );
+ }
+ else
+@@ -1982,7 +1982,7 @@
+ void Workspace::slotGrabDesktop()
+ {
+ TQPixmap p = TQPixmap::grabWindow( qt_xrootwin() );
+- TQClipboard *cb = TQApplication::tqclipboard();
++ TQClipboard *cb = TQApplication::clipboard();
+ cb->setPixmap( p );
+ }
+
+@@ -2606,7 +2606,7 @@
+ { // simply create a dummy menubar and use its preffered height as the menu height
+ KMenuBar tmpmenu;
+ tmpmenu.insertItem( "dummy" );
+- topmenu_height = tmpmenu.tqsizeHint().height();
++ topmenu_height = tmpmenu.sizeHint().height();
+ }
+ return topmenu_height;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kxkb/CMakeLists.txt v3.5.13-sru/kxkb/CMakeLists.txt
+--- /tmp/stable//kdebase/kxkb/CMakeLists.txt 2011-03-12 07:58:02.000000000 +0100
++++ v3.5.13-sru/kxkb/CMakeLists.txt 2012-07-31 17:17:50.000000000 +0200
+@@ -22,6 +22,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XTEST_LIBDIR}
+ )
+
+
+@@ -39,7 +40,7 @@
+ extension.cpp x11helper.cpp rules.cpp kxkbconfig.cpp
+ pixmap.cpp kcmlayout.cpp kcmlayoutwidget.ui
+ kcmmisc.cpp kcmmiscwidget.ui
+- LINK kio-shared xkbfile
++ LINK kio-shared xkbfile ${XTEST_LIBRARIES}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kxkb/kcmlayoutwidget.ui v3.5.13-sru/kxkb/kcmlayoutwidget.ui
+--- /tmp/stable//kdebase/kxkb/kcmlayoutwidget.ui 2011-03-12 07:58:02.000000000 +0100
++++ v3.5.13-sru/kxkb/kcmlayoutwidget.ui 2012-07-31 17:17:50.000000000 +0200
+@@ -20,7 +20,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>600</width>
+ <height>510</height>
+@@ -34,7 +34,7 @@
+ <property name="name">
+ <cstring>tabWidget</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>600</width>
+ <height>500</height>
+@@ -303,7 +303,7 @@
+ <property name="name">
+ <cstring>listLayoutsSrc</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>260</width>
+ <height>0</height>
+@@ -393,7 +393,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>210</width>
+ <height>20</height>
+@@ -410,7 +410,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>210</width>
+ <height>20</height>
+@@ -442,7 +442,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>40</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kxkb/kcmmisc.cpp v3.5.13-sru/kxkb/kcmmisc.cpp
+--- /tmp/stable//kdebase/kxkb/kcmmisc.cpp 2011-10-27 17:55:41.000000000 +0200
++++ v3.5.13-sru/kxkb/kcmmisc.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -235,7 +235,7 @@
+
+ NumLockX
+
+- $Id: kcmmisc.cpp 1261045 2011-10-27 15:39:53Z tpearson $
++ $Id$
+
+ Copyright (C) 2000-2001 Lubos Lunak <l.lunak@kde.org>
+ Copyright (C) 2001 Oswald Buddenhagen <ossi@kde.org>
+@@ -344,6 +344,21 @@
+ return 1;
+ }
+
++int xkb_state()
++ {
++ unsigned int mask;
++ unsigned int numlockState;
++ XkbStateRec xkbState;
++ if( !xkb_init())
++ return 0;
++ mask = xkb_numlock_mask();
++ if( mask == 0 )
++ return 0;
++ XkbGetState( dpy, XkbUseCoreKbd, &xkbState);
++ numlockState = xkbState.locked_mods & mask;
++ return numlockState;
++ }
++
+ int xkb_toggle()
+ {
+ unsigned int mask;
+@@ -443,7 +458,14 @@
+ return;
+ #endif
+ #ifdef HAVE_XTEST
++#ifdef HAVE_XKB
++ if (xkb_state())
++ xtest_set_on();
++ else
++ xtest_set_off();
++#else // HAVE_XKB
+ xtest_toggle();
++#endif // HAVE_XKB
+ #endif
+ }
+ // This code is taken from xset utility from XFree 4.3 (http://www.xfree86.org/)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/knewmenu.cc v3.5.13-sru/libkonq/knewmenu.cc
+--- /tmp/stable//kdebase/libkonq/knewmenu.cc 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/libkonq/knewmenu.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -233,7 +233,7 @@
+
+ if ( !bSkip )
+ {
+- Entry entry = *(s_templatesList->tqat( i-1 ));
++ Entry entry = *(s_templatesList->at( i-1 ));
+
+ // The best way to identify the "Create Directory", "Link to Location", "Link to Application" was the template
+ if ( (*templ).templatePath.endsWith( "emptydir" ) )
+@@ -378,7 +378,7 @@
+
+ emit activated(); // for KDIconView::slotNewMenuActivated()
+
+- Entry entry = *(s_templatesList->tqat( id - 1 ));
++ Entry entry = *(s_templatesList->at( id - 1 ));
+ //kdDebug(1203) << TQString("sFile = %1").arg(sFile) << endl;
+
+ if ( !TQFile::exists( entry.templatePath ) ) {
+@@ -545,7 +545,7 @@
+
+ TQLabel * label = new TQLabel( textFileName, fileNameBox );
+ m_leFileName = new KLineEdit( fileNameBox, 0L );
+- m_leFileName->setMinimumWidth(m_leFileName->tqsizeHint().width() * 3);
++ m_leFileName->setMinimumWidth(m_leFileName->sizeHint().width() * 3);
+ label->setBuddy(m_leFileName); // please "scheck" style
+ m_leFileName->setText( defaultName );
+ m_leFileName->setSelection(0, m_leFileName->text().length()); // autoselect
+@@ -559,7 +559,7 @@
+ m_urlRequester = new KURLRequester( defaultUrl, urlBox, "urlRequester" );
+ m_urlRequester->setMode( KFile::File | KFile::Directory );
+
+- m_urlRequester->setMinimumWidth( m_urlRequester->tqsizeHint().width() * 3 );
++ m_urlRequester->setMinimumWidth( m_urlRequester->sizeHint().width() * 3 );
+ connect( m_urlRequester->lineEdit(), TQT_SIGNAL(textChanged(const TQString&)),
+ TQT_SLOT(slotURLTextChanged(const TQString&)) );
+ label->setBuddy(m_urlRequester); // please "scheck" style
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_bgnddlg.cc v3.5.13-sru/libkonq/konq_bgnddlg.cc
+--- /tmp/stable//kdebase/libkonq/konq_bgnddlg.cc 2011-03-12 07:58:01.000000000 +0100
++++ v3.5.13-sru/libkonq/konq_bgnddlg.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -48,10 +48,10 @@
+
+ m_buttonGroup = new TQButtonGroup( i18n("Background"), page );
+ m_buttonGroup->setColumnLayout( 0, Qt::Vertical );
+- m_buttonGroup->tqlayout()->setMargin( KDialog::marginHint() );
+- m_buttonGroup->tqlayout()->setSpacing( KDialog::spacingHint() );
+- TQGridLayout* groupLayout = new TQGridLayout( m_buttonGroup->tqlayout() );
+- groupLayout->tqsetAlignment( Qt::AlignTop );
++ m_buttonGroup->layout()->setMargin( KDialog::marginHint() );
++ m_buttonGroup->layout()->setSpacing( KDialog::spacingHint() );
++ TQGridLayout* groupLayout = new TQGridLayout( m_buttonGroup->layout() );
++ groupLayout->setAlignment( Qt::AlignTop );
+ mainLayout->addWidget( m_buttonGroup );
+
+ connect( m_buttonGroup, TQT_SIGNAL( clicked(int) ),
+@@ -61,7 +61,7 @@
+ m_radioColor = new TQRadioButton( i18n("Co&lor:"), m_buttonGroup );
+ groupLayout->addWidget( m_radioColor, 0, 0 );
+ m_buttonColor = new KColorButton( theColor, defaultColor, m_buttonGroup );
+- m_buttonColor->tqsetSizePolicy( TQSizePolicy::Preferred,
++ m_buttonColor->setSizePolicy( TQSizePolicy::Preferred,
+ TQSizePolicy::Minimum );
+ groupLayout->addWidget( m_buttonColor, 0, 1 );
+
+@@ -90,14 +90,14 @@
+ TQLabel* lbl = new TQLabel( i18n("Preview"), page );
+ hlay->addWidget( lbl );
+ TQFrame* frame = new TQFrame( page );
+- frame->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Minimum );
++ frame->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Minimum );
+ frame->setFrameShape( TQFrame::HLine );
+ frame->setFrameShadow( TQFrame::Sunken );
+ hlay->addWidget( frame );
+
+ // preview frame
+ m_preview = new TQFrame( page );
+- m_preview->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding );
++ m_preview->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding );
+ m_preview->setMinimumSize( 370, 180 );
+ m_preview->setFrameShape( TQFrame::Panel );
+ m_preview->setFrameShadow( TQFrame::Raised );
+@@ -142,7 +142,7 @@
+ TQStringList::ConstIterator it;
+ for ( it = list.begin(); it != list.end(); it++ )
+ m_comboPicture->comboBox()->insertItem(
+- ( (*it).tqat(0) == '/' ) ? // if absolute path
++ ( (*it).at(0) == '/' ) ? // if absolute path
+ KURL( *it ).fileName() : // then only fileName
+ *it );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konqbookmarkmanager.h v3.5.13-sru/libkonq/konqbookmarkmanager.h
+--- /tmp/stable//kdebase/libkonq/konqbookmarkmanager.h 2011-03-12 07:58:01.000000000 +0100
++++ v3.5.13-sru/libkonq/konqbookmarkmanager.h 2012-07-31 17:17:50.000000000 +0200
+@@ -11,7 +11,7 @@
+ static KBookmarkManager * self() {
+ if ( !s_bookmarkManager )
+ {
+- TQString bookmarksFile = locateLocal("data", TQString::tqfromLatin1("konqueror/bookmarks.xml"));
++ TQString bookmarksFile = locateLocal("data", TQString::fromLatin1("konqueror/bookmarks.xml"));
+ s_bookmarkManager = KBookmarkManager::managerForFile( bookmarksFile );
+ }
+ return s_bookmarkManager;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_dirpart.cc v3.5.13-sru/libkonq/konq_dirpart.cc
+--- /tmp/stable//kdebase/libkonq/konq_dirpart.cc 2011-07-08 00:00:31.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_dirpart.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -133,7 +133,7 @@
+ resetCount();
+ //m_bMultipleItemsSelected = false;
+
+- connect( TQApplication::tqclipboard(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotClipboardDataChanged()) );
++ connect( TQApplication::clipboard(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotClipboardDataChanged()) );
+
+ actionCollection()->setHighlightingEnabled( true );
+
+@@ -301,7 +301,7 @@
+ m_pProps->setBgPixmapFile( dlg->pixmapFile() );
+ }
+ m_pProps->applyColors( scrollWidget()->viewport() );
+- scrollWidget()->viewport()->tqrepaint();
++ scrollWidget()->viewport()->repaint();
+ }
+
+ delete dlg;
+@@ -418,7 +418,7 @@
+ // This is very related to KDIconView::slotClipboardDataChanged
+
+ KURL::List lst;
+- TQMimeSource *data = TQApplication::tqclipboard()->data();
++ TQMimeSource *data = TQApplication::clipboard()->data();
+ if ( data->provides( "application/x-kde-cutselection" ) && data->provides( "text/uri-list" ) )
+ if ( KonqDrag::decodeIsCutSelection( data ) )
+ (void) KURLDrag::decode( data, lst );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_drag.cc v3.5.13-sru/libkonq/konq_drag.cc
+--- /tmp/stable//kdebase/libkonq/konq_drag.cc 2011-03-12 07:58:01.000000000 +0100
++++ v3.5.13-sru/libkonq/konq_drag.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -47,12 +47,12 @@
+ else return 0;
+ }
+
+-TQByteArray KonqIconDrag::tqencodedData( const char* mime ) const
++TQByteArray KonqIconDrag::encodedData( const char* mime ) const
+ {
+ TQByteArray a;
+ TQCString mimetype( mime );
+ if ( mimetype == "application/x-qiconlist" )
+- a = TQIconDrag::tqencodedData( mime );
++ a = TQIconDrag::encodedData( mime );
+ else if ( mimetype == "text/uri-list" ) {
+ TQCString s = urls.join( "\r\n" ).latin1();
+ if( urls.count() > 0 )
+@@ -145,7 +145,7 @@
+ return KonqIconDrag::format( i );
+ }
+
+-TQByteArray KonqIconDrag2::tqencodedData( const char* mime ) const
++TQByteArray KonqIconDrag2::encodedData( const char* mime ) const
+ {
+ TQCString mimetype( mime );
+ if ( mimetype == "application/x-kde-urilist" )
+@@ -164,7 +164,7 @@
+ a[c] = 0;
+ return a;
+ }
+- return KonqIconDrag::tqencodedData( mime );
++ return KonqIconDrag::encodedData( mime );
+ }
+
+ //
+@@ -223,7 +223,7 @@
+ else return 0;
+ }
+
+-TQByteArray KonqDrag::tqencodedData( const char* mime ) const
++TQByteArray KonqDrag::encodedData( const char* mime ) const
+ {
+ TQByteArray a;
+ TQCString mimetype( mime );
+@@ -243,7 +243,7 @@
+ }
+ else if ( mimetype == "application/x-kde-urilist" )
+ {
+- return TQUriDrag::tqencodedData( "text/uri-list" );
++ return TQUriDrag::encodedData( "text/uri-list" );
+ }
+ else if ( mimetype == "application/x-kde-cutselection" )
+ {
+@@ -271,13 +271,13 @@
+
+ bool KonqDrag::decodeIsCutSelection( const TQMimeSource *e )
+ {
+- TQByteArray a = e->tqencodedData( "application/x-kde-cutselection" );
++ TQByteArray a = e->encodedData( "application/x-kde-cutselection" );
+ if ( a.isEmpty() )
+ return false;
+ else
+ {
+ kdDebug(1203) << "KonqDrag::decodeIsCutSelection : a=" << TQCString(a.data(), a.size() + 1) << endl;
+- return (a.tqat(0) == '1'); // true if 1
++ return (a.at(0) == '1'); // true if 1
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_drag.h v3.5.13-sru/libkonq/konq_drag.h
+--- /tmp/stable//kdebase/libkonq/konq_drag.h 2011-03-12 07:58:01.000000000 +0100
++++ v3.5.13-sru/libkonq/konq_drag.h 2012-07-31 17:17:50.000000000 +0200
+@@ -44,7 +44,7 @@
+ virtual ~KonqIconDrag() {}
+
+ const char* format( int i ) const;
+- TQByteArray tqencodedData( const char* mime ) const;
++ TQByteArray encodedData( const char* mime ) const;
+
+ void append( const TQIconDragItem &item, const TQRect &pr,
+ const TQRect &tr, const TQString &url );
+@@ -72,7 +72,7 @@
+ virtual ~KonqIconDrag2() {}
+
+ virtual const char* format( int i ) const;
+- virtual TQByteArray tqencodedData( const char* mime ) const;
++ virtual TQByteArray encodedData( const char* mime ) const;
+
+ void append( const TQIconDragItem &item, const TQRect &pr,
+ const TQRect &tr, const TQString &url, const KURL &mostLocalURL );
+@@ -107,7 +107,7 @@
+ virtual ~KonqDrag() {}
+
+ virtual const char* format( int i ) const;
+- virtual TQByteArray tqencodedData( const char* mime ) const;
++ virtual TQByteArray encodedData( const char* mime ) const;
+
+ void setMoveSelection( bool move ) { m_bCutSelection = move; }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_filetip.cc v3.5.13-sru/libkonq/konq_filetip.cc
+--- /tmp/stable//kdebase/libkonq/konq_filetip.cc 2011-03-12 07:58:01.000000000 +0100
++++ v3.5.13-sru/libkonq/konq_filetip.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -49,7 +49,7 @@
+ {
+ m_iconLabel = new TQLabel(this);
+ m_textLabel = new TQLabel(this);
+- m_textLabel->tqsetAlignment(TQt::AlignAuto | TQt::AlignTop);
++ m_textLabel->setAlignment(TQt::AlignAuto | TQt::AlignTop);
+
+ TQGridLayout* layout = new TQGridLayout(this, 1, 2, 8, 0);
+ layout->addWidget(m_iconLabel, 0, 0);
+@@ -189,7 +189,7 @@
+ }
+
+ if ( m_corners[m_corner].isNull())
+- m_corners[m_corner].load( locate( "data", TQString::tqfromLatin1( "konqueror/pics/%1.png" ).arg( names[m_corner] ) ) );
++ m_corners[m_corner].load( locate( "data", TQString::fromLatin1( "konqueror/pics/%1.png" ).arg( names[m_corner] ) ) );
+
+ TQPixmap &pix = m_corners[m_corner];
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_historymgr.cc v3.5.13-sru/libkonq/konq_historymgr.cc
+--- /tmp/stable//kdebase/libkonq/konq_historymgr.cc 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_historymgr.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -48,7 +48,7 @@
+
+ m_history.setAutoDelete( true );
+ m_filename = locateLocal( "data",
+- TQString::tqfromLatin1("konqueror/konq_history" ));
++ TQString::fromLatin1("konqueror/konq_history" ));
+
+ if ( !kapp->dcopClient()->isAttached() )
+ kapp->dcopClient()->attach();
+@@ -295,7 +295,7 @@
+ // konqueror's window caption).
+ if ( !pending && u != title )
+ entry.title = title;
+- entry.firstVisited = TQDateTime::tqcurrentDateTime();
++ entry.firstVisited = TQDateTime::currentDateTime();
+ entry.lastVisited = entry.firstVisited;
+
+ // always remove from pending if available, otherwise the else branch leaks
+@@ -342,7 +342,7 @@
+ // Local URL -> add to history
+ KonqHistoryEntry entry;
+ entry.url = u;
+- entry.firstVisited = TQDateTime::tqcurrentDateTime();
++ entry.firstVisited = TQDateTime::currentDateTime();
+ entry.lastVisited = entry.firstVisited;
+ emitAddToHistory( entry );
+ }
+@@ -589,7 +589,7 @@
+ // compatibility fallback, try to load the old completion history
+ bool KonqHistoryManager::loadFallback()
+ {
+- TQString file = locateLocal( "config", TQString::tqfromLatin1("konq_history"));
++ TQString file = locateLocal( "config", TQString::fromLatin1("konq_history"));
+ if ( file.isEmpty() )
+ return false;
+
+@@ -646,7 +646,7 @@
+ entry->url = u;
+ entry->numberOfTimesVisited = weight;
+ // to make it not expire immediately...
+- entry->lastVisited = TQDateTime::tqcurrentDateTime();
++ entry->lastVisited = TQDateTime::currentDateTime();
+ }
+
+ return entry;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_historymgr.h v3.5.13-sru/libkonq/konq_historymgr.h
+--- /tmp/stable//kdebase/libkonq/konq_historymgr.h 2011-03-12 07:58:01.000000000 +0100
++++ v3.5.13-sru/libkonq/konq_historymgr.h 2012-07-31 17:17:50.000000000 +0200
+@@ -327,7 +327,7 @@
+ private slots:
+ /**
+ * Called by the updateTimer to emit the KParts::HistoryProvider::updated()
+- * signal so that khtml can tqrepaint the updated links.
++ * signal so that khtml can repaint the updated links.
+ */
+ void slotEmitUpdated();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_iconviewwidget.cc v3.5.13-sru/libkonq/konq_iconviewwidget.cc
+--- /tmp/stable//kdebase/libkonq/konq_iconviewwidget.cc 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_iconviewwidget.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -151,7 +151,7 @@
+ m_LineupMode = LineupBoth;
+ // emit our signals
+ slotSelectionChanged();
+- m_iconPositionGroupPrefix = TQString::tqfromLatin1( "IconPosition::" );
++ m_iconPositionGroupPrefix = TQString::fromLatin1( "IconPosition::" );
+ KonqUndoManager::incRef();
+ }
+
+@@ -308,7 +308,7 @@
+ if (!hasPixmap && backgroundMode() != NoBackground)
+ d->m_movie->setBackgroundColor( viewport()->backgroundColor() );
+ d->m_movie->connectUpdate( this, TQT_SLOT( slotMovieUpdate(const TQRect &) ) );
+- d->m_movie->connectqStatus( TQT_TQOBJECT(this), TQT_SLOT( slotMovieStatus(int) ) );
++ d->m_movie->connectStatus( TQT_TQOBJECT(this), TQT_SLOT( slotMovieStatus(int) ) );
+ d->movieFileName = d->pActiveItem->mouseOverAnimation();
+ d->pActiveItem->setAnimated( true );
+ }
+@@ -331,7 +331,7 @@
+ else // No change in current item
+ {
+ // No effect. If we want to underline on hover, we should
+- // force the IVI to tqrepaint here, though!
++ // force the IVI to repaint here, though!
+ d->pActiveItem = 0L;
+ d->pFileTip->setItem( 0L );
+ }
+@@ -349,7 +349,7 @@
+ d->pSoundPlayer->mimeTypes().contains(
+ item->item()->mimetype())
+ && KGlobalSettings::showFilePreview(item->item()->url())
+- && tqtopLevelWidget() == kapp->activeWindow())
++ && topLevelWidget() == kapp->activeWindow())
+ {
+ d->pSoundItem = item;
+ d->bSoundItemClicked = false;
+@@ -650,10 +650,10 @@
+
+ // Disable repaints that can be triggered by ivi->setIcon(). Since icons are
+ // resized in-place, if the icon size is increasing it can happens that the right
+- // or bottom icons exceed the size of the viewport.. here we prevent the tqrepaint
++ // or bottom icons exceed the size of the viewport.. here we prevent the repaint
+ // event that will be triggered in that case.
+ bool prevUpdatesState = viewport()->isUpdatesEnabled();
+- viewport()->tqsetUpdatesEnabled( false );
++ viewport()->setUpdatesEnabled( false );
+
+ // Do this even if size didn't change, since this is used by refreshMimeTypes...
+ for ( TQIconViewItem *it = firstItem(); it; it = it->nextItem() ) {
+@@ -673,11 +673,11 @@
+ }
+
+ // Restore viewport update to previous state
+- viewport()->tqsetUpdatesEnabled( prevUpdatesState );
++ viewport()->setUpdatesEnabled( prevUpdatesState );
+
+ if ( ( sizeChanged || previewSizeChanged || oldGridX != gridX() ||
+ !stopImagePreviewFor.isEmpty() ) && autoArrange() )
+- arrangeItemsInGrid( true ); // take new grid into account and tqrepaint
++ arrangeItemsInGrid( true ); // take new grid into account and repaint
+ else
+ viewport()->update(); //Repaint later..
+ }
+@@ -995,7 +995,7 @@
+ {
+ if ( e->provides( "text/uri-list" ) )
+ {
+- TQByteArray payload = e->tqencodedData( "text/uri-list" );
++ TQByteArray payload = e->encodedData( "text/uri-list" );
+ if ( !payload.size() )
+ kdError() << "Empty data !" << endl;
+ // Cache the URLs, since we need them every time we move over a file
+@@ -1147,14 +1147,14 @@
+ kdDebug(1203) << " -- KonqIconViewWidget::cutSelection() -- " << endl;
+ KonqIconDrag * obj = konqDragObject( /* no parent ! */ );
+ obj->setMoveSelection( true );
+- TQApplication::tqclipboard()->setData( obj );
++ TQApplication::clipboard()->setData( obj );
+ }
+
+ void KonqIconViewWidget::copySelection()
+ {
+ kdDebug(1203) << " -- KonqIconViewWidget::copySelection() -- " << endl;
+ KonqIconDrag * obj = konqDragObject( /* no parent ! */ );
+- TQApplication::tqclipboard()->setData( obj );
++ TQApplication::clipboard()->setData( obj );
+ }
+
+ void KonqIconViewWidget::pasteSelection()
+@@ -1221,7 +1221,7 @@
+ // The following call is SO expensive (the ::widgetAt call eats up to 80%
+ // of the mouse move cpucycles!), so it's mandatory to place that function
+ // under strict checks, such as d->pSoundPlayer->isPlaying()
+- if ( TQApplication::widgetAt( TQCursor::pos() ) != tqtopLevelWidget() )
++ if ( TQApplication::widgetAt( TQCursor::pos() ) != topLevelWidget() )
+ {
+ if (d->pSoundPlayer)
+ d->pSoundPlayer->stop();
+@@ -1249,7 +1249,7 @@
+ if ( !i && (ev->action() == TQDropEvent::Copy || ev->action() == TQDropEvent::Link)
+ && ev->source() && ev->source() == viewport())
+ {
+- // First we need to call TQIconView though, to clear the drag tqshape
++ // First we need to call TQIconView though, to clear the drag shape
+ bool bMovable = itemsMovable();
+ setItemsMovable(false); // hack ? call it what you want :-)
+ KIconView::contentsDropEvent( ev );
+@@ -1488,7 +1488,7 @@
+ y = QMAX(y, i->y() + i->height());
+ }
+
+- TQMemArray<TQRect> rects = r.tqrects();
++ TQMemArray<TQRect> rects = r.rects();
+ TQMemArray<TQRect>::Iterator it = rects.begin();
+ bool foundPlace = FALSE;
+ for (; it != rects.end(); ++it)
+@@ -1730,12 +1730,12 @@
+ }
+ }
+
+- // tqrepaint
++ // repaint
+ if ( newItemWidth )
+ updateContents();
+ else {
+ // Repaint only repaintRegion...
+- TQMemArray<TQRect> rects = repaintRegion.tqrects();
++ TQMemArray<TQRect> rects = repaintRegion.rects();
+ for ( uint l = 0; l < rects.count(); l++ ) {
+ kdDebug( 1203 ) << "Repainting (" << rects[l].x() << ","
+ << rects[l].y() << ")\n";
+@@ -1794,7 +1794,7 @@
+ }
+
+ // Repaint only repaintRegion...
+- TQMemArray<TQRect> rects = repaintRegion.tqrects();
++ TQMemArray<TQRect> rects = repaintRegion.rects();
+ for ( uint l = 0; l < rects.count(); l++ ) {
+ kdDebug( 1203 ) << "Repainting (" << rects[l].x() << ","
+ << rects[l].y() << ")\n";
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_operations.cc v3.5.13-sru/libkonq/konq_operations.cc
+--- /tmp/stable//kdebase/libkonq/konq_operations.cc 2011-07-09 08:16:54.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_operations.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -76,7 +76,7 @@
+
+ void KonqOperations::editMimeType( const TQString & mimeType )
+ {
+- TQString keditfiletype = TQString::tqfromLatin1("keditfiletype");
++ TQString keditfiletype = TQString::fromLatin1("keditfiletype");
+ KRun::runCommand( keditfiletype + " " + KProcess::quote(mimeType),
+ keditfiletype, keditfiletype /*unused*/);
+ }
+@@ -124,7 +124,7 @@
+ {
+ // move or not move ?
+ bool move = false;
+- TQMimeSource *data = TQApplication::tqclipboard()->data();
++ TQMimeSource *data = TQApplication::clipboard()->data();
+ if ( data->provides( "application/x-kde-cutselection" ) ) {
+ move = KonqDrag::decodeIsCutSelection( data );
+ kdDebug(1203) << "move (from clipboard data) = " << move << endl;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_pixmapprovider.cc v3.5.13-sru/libkonq/konq_pixmapprovider.cc
+--- /tmp/stable//kdebase/libkonq/konq_pixmapprovider.cc 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_pixmapprovider.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -70,9 +70,9 @@
+ else
+ {
+ KURL u;
+- if ( url.tqat(0) == '~' )
++ if ( url.at(0) == '~' )
+ u.setPath( KShell::tildeExpand( url ) );
+- else if ( url.tqat(0) == '/' )
++ else if ( url.at(0) == '/' )
+ u.setPath( url );
+ else
+ u = url;
+@@ -166,7 +166,7 @@
+ return SmallIcon( icon, size );
+
+ KURL u;
+- if ( url.tqat(0) == '/' )
++ if ( url.at(0) == '/' )
+ u.setPath( url );
+ else
+ u = url;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_popupmenu.cc v3.5.13-sru/libkonq/konq_popupmenu.cc
+--- /tmp/stable//kdebase/libkonq/konq_popupmenu.cc 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_popupmenu.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -291,7 +291,7 @@
+ act->setIconSet( pix );
+ }
+
+- tqaddAction( act, menu ); // Add to toplevel menu
++ addAction( act, menu ); // Add to toplevel menu
+
+ m_mapPopupServices[ id++ ] = *it;
+ ++count;
+@@ -355,7 +355,7 @@
+ m_pluginList.setAutoDelete( true );
+ m_ownActions.setHighlightingEnabled( true );
+
+- attrName = TQString::tqfromLatin1( "name" );
++ attrName = TQString::fromLatin1( "name" );
+
+ prepareXMLGUIStuff();
+ m_builder = new KonqPopupMenuGUIBuilder( this );
+@@ -497,7 +497,7 @@
+ m_pMenuNew->slotCheckUpToDate();
+ m_pMenuNew->setPopupFiles( m_lstPopupURLs );
+
+- tqaddAction( m_pMenuNew );
++ addAction( m_pMenuNew );
+
+ addSeparator();
+ }
+@@ -506,31 +506,31 @@
+ if (d->m_itemFlags & KParts::BrowserExtension::ShowCreateDirectory)
+ {
+ KAction *actNewDir = new KAction( i18n( "Create &Folder..." ), "folder_new", 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewDir() ), &m_ownActions, "newdir" );
+- tqaddAction( actNewDir );
++ addAction( actNewDir );
+ addSeparator();
+ }
+ }
+ } else if ( isIntoTrash ) {
+ // Trashed item, offer restoring
+ act = new KAction( i18n( "&Restore" ), 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupRestoreTrashedItems() ), &m_ownActions, "restore" );
+- tqaddAction( act );
++ addAction( act );
+ }
+
+ if (d->m_itemFlags & KParts::BrowserExtension::ShowNavigationItems)
+ {
+ if (d->m_itemFlags & KParts::BrowserExtension::ShowUp)
+- tqaddAction( "up" );
+- tqaddAction( "back" );
+- tqaddAction( "forward" );
++ addAction( "up" );
++ addAction( "back" );
++ addAction( "forward" );
+ if (d->m_itemFlags & KParts::BrowserExtension::ShowReload)
+- tqaddAction( "reload" );
++ addAction( "reload" );
+ addSeparator();
+ }
+
+ // "open in new window" is either provided by us, or by the tabhandling group
+ if (actNewWindow)
+ {
+- tqaddAction( actNewWindow );
++ addAction( actNewWindow );
+ addSeparator();
+ }
+ addGroup( "tabhandling" ); // includes a separator
+@@ -539,21 +539,21 @@
+ {
+ if ( !currentDir && sReading ) {
+ if ( sDeleting ) {
+- tqaddAction( "cut" );
++ addAction( "cut" );
+ }
+- tqaddAction( "copy" );
++ addAction( "copy" );
+ }
+
+ if ( S_ISDIR(mode) && sWriting ) {
+ if ( currentDir )
+- tqaddAction( "paste" );
++ addAction( "paste" );
+ else
+- tqaddAction( "pasteto" );
++ addAction( "pasteto" );
+ }
+ if ( !currentDir )
+ {
+ if ( m_lstItems.count() == 1 && sMoving )
+- tqaddAction( "rename" );
++ addAction( "rename" );
+
+ bool addTrash = false;
+ bool addDel = false;
+@@ -576,9 +576,9 @@
+ }
+
+ if ( addTrash )
+- tqaddAction( "trash" );
++ addAction( "trash" );
+ if ( addDel )
+- tqaddAction( "del" );
++ addAction( "del" );
+ }
+ }
+ if ( isCurrentTrash )
+@@ -587,7 +587,7 @@
+ KSimpleConfig trashConfig( "trashrc", true );
+ trashConfig.setGroup( "Status" );
+ act->setEnabled( !trashConfig.readBoolEntry( "Empty", true ) );
+- tqaddAction( act );
++ addAction( act );
+ }
+ addGroup( "editactions" );
+
+@@ -620,7 +620,7 @@
+ if (m_lstItems.count() > 1)
+ act->setEnabled(false);
+ if (kapp->authorizeKAction("bookmarks"))
+- tqaddAction( act );
++ addAction( act );
+ if (bIsLink)
+ addGroup( "linkactions" );
+ }
+@@ -903,7 +903,7 @@
+ act = new KAction( actionName, (*it)->pixmap( KIcon::Small ), 0,
+ TQT_TQOBJECT(this), TQT_SLOT( slotRunService() ),
+ &m_ownActions, nam.prepend( "appservice_" ) );
+- tqaddAction( act, menu );
++ addAction( act, menu );
+
+ m_mapPopup[ id++ ] = *it;
+ }
+@@ -919,12 +919,12 @@
+ openWithActionName = i18n( "&Open With..." );
+ }
+ KAction *openWithAct = new KAction( openWithActionName, 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupOpenWith() ), &m_ownActions, "openwith" );
+- tqaddAction( openWithAct, menu );
++ addAction( openWithAct, menu );
+ }
+ else // no app offers -> Open With...
+ {
+ act = new KAction( i18n( "&Open With..." ), 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupOpenWith() ), &m_ownActions, "openwith" );
+- tqaddAction( act );
++ addAction( act );
+ }
+
+ }
+@@ -979,7 +979,7 @@
+ {
+ act = new KAction( i18n( "&Properties" ), 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupProperties() ),
+ &m_ownActions, "properties" );
+- tqaddAction( act );
++ addAction( act );
+ }
+
+ while ( !m_menuElement.lastChild().isNull() &&
+@@ -993,7 +993,7 @@
+ addSeparator();
+ act = new KAction( i18n("Share"), 0, TQT_TQOBJECT(this), TQT_SLOT( slotOpenShareFileDialog() ),
+ &m_ownActions, "sharefile" );
+- tqaddAction( act );
++ addAction( act );
+ }
+ }
+
+@@ -1157,7 +1157,7 @@
+ //search for a plugin with the right protocol
+ KTrader::OfferList plugin_offers;
+ unsigned int pluginCount = 0;
+- plugin_offers = KTrader::self()->query( m_sMimeType.isNull() ? TQString::tqfromLatin1( "all/all" ) : m_sMimeType, "'KonqPopupMenu/Plugin' in ServiceTypes");
++ plugin_offers = KTrader::self()->query( m_sMimeType.isNull() ? TQString::fromLatin1( "all/all" ) : m_sMimeType, "'KonqPopupMenu/Plugin' in ServiceTypes");
+ if ( plugin_offers.isEmpty() )
+ return; // no plugins installed do not bother about it
+
+@@ -1176,7 +1176,7 @@
+ if ( !plugin )
+ continue;
+ // This make the kuick plugin insert its stuff above "Properties"
+- TQString pluginClientName = TQString::tqfromLatin1( "Plugin%1" ).arg( pluginCount );
++ TQString pluginClientName = TQString::fromLatin1( "Plugin%1" ).arg( pluginCount );
+ addMerge( pluginClientName );
+ plugin->domDocument().documentElement().setAttribute( "name", pluginClientName );
+ m_pluginList.append( plugin );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_popupmenu.h v3.5.13-sru/libkonq/konq_popupmenu.h
+--- /tmp/stable//kdebase/libkonq/konq_popupmenu.h 2011-07-09 08:16:54.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_popupmenu.h 2012-07-31 17:17:50.000000000 +0200
+@@ -210,7 +210,7 @@
+ * Constructor
+ * If you want to insert a dynamic item or menu to konqpopupmenu
+ * this class is the right choice.
+- * Create a KAction and use _popup->tqaddAction(new KAction );
++ * Create a KAction and use _popup->addAction(new KAction );
+ * If you want to create a submenu use _popup->addGroup( );
+ */
+ KonqPopupMenuPlugin( KonqPopupMenu *_popup, const char *name ); // this should also be the parent
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_propsview.cc v3.5.13-sru/libkonq/konq_propsview.cc
+--- /tmp/stable//kdebase/libkonq/konq_propsview.cc 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_propsview.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -474,7 +474,7 @@
+ const TQColor & KonqPropsView::bgColor( TQWidget * widget ) const
+ {
+ if ( !m_bgColor.isValid() )
+- return widget->tqcolorGroup().base();
++ return widget->colorGroup().base();
+ else
+ return m_bgColor;
+ }
+@@ -501,7 +501,7 @@
+ const TQColor & KonqPropsView::textColor( TQWidget * widget ) const
+ {
+ if ( !m_textColor.isValid() )
+- return widget->tqcolorGroup().text();
++ return widget->colorGroup().text();
+ else
+ return m_textColor;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_propsview.h v3.5.13-sru/libkonq/konq_propsview.h
+--- /tmp/stable//kdebase/libkonq/konq_propsview.h 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_propsview.h 2012-07-31 17:17:50.000000000 +0200
+@@ -133,7 +133,7 @@
+
+ TQString currentGroup() const {
+ return isDefaultProperties() ?
+- TQString::tqfromLatin1("Settings") : TQString::tqfromLatin1("URL properties");
++ TQString::fromLatin1("Settings") : TQString::fromLatin1("URL properties");
+ }
+
+ private:
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_settings.cc v3.5.13-sru/libkonq/konq_settings.cc
+--- /tmp/stable//kdebase/libkonq/konq_settings.cc 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_settings.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -146,10 +146,10 @@
+ kdDebug(1203) << "KonqFMSettings::shouldEmbed : serviceTypeGroup=" << serviceTypeGroup << endl;
+ if ( serviceTypeGroup == "inode" || serviceTypeGroup == "Browser" || serviceTypeGroup == "Konqueror" )
+ return true; //always embed mimetype inode/*, Browser/* and Konqueror/*
+- TQMap<TQString, TQString>::ConstIterator it = m_embedMap.find( TQString::tqfromLatin1("embed-")+serviceTypeGroup );
++ TQMap<TQString, TQString>::ConstIterator it = m_embedMap.find( TQString::fromLatin1("embed-")+serviceTypeGroup );
+ if ( it != m_embedMap.end() ) {
+ kdDebug(1203) << "KonqFMSettings::shouldEmbed: " << it.data() << endl;
+- return it.data() == TQString::tqfromLatin1("true");
++ return it.data() == TQString::fromLatin1("true");
+ }
+ // 3 - if no config found, use default.
+ // Note: if you change those defaults, also change kcontrol/filetypes/typeslistitem.cpp !
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_xmlguiclient.cc v3.5.13-sru/libkonq/konq_xmlguiclient.cc
+--- /tmp/stable//kdebase/libkonq/konq_xmlguiclient.cc 2011-03-12 07:58:01.000000000 +0100
++++ v3.5.13-sru/libkonq/konq_xmlguiclient.cc 2012-07-31 17:17:50.000000000 +0200
+@@ -70,12 +70,12 @@
+ return m_doc;
+ }
+
+-void KonqXMLGUIClient::tqaddAction( KAction *act, const TQDomElement &menu )
++void KonqXMLGUIClient::addAction( KAction *act, const TQDomElement &menu )
+ {
+- tqaddAction( act->name(), menu );
++ addAction( act->name(), menu );
+ }
+
+-void KonqXMLGUIClient::tqaddAction( const char *name, const TQDomElement &menu )
++void KonqXMLGUIClient::addAction( const char *name, const TQDomElement &menu )
+ {
+ static const TQString& tagAction = KGlobal::staticQString( "action" );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_xmlguiclient.h v3.5.13-sru/libkonq/konq_xmlguiclient.h
+--- /tmp/stable//kdebase/libkonq/konq_xmlguiclient.h 2011-03-12 07:58:01.000000000 +0100
++++ v3.5.13-sru/libkonq/konq_xmlguiclient.h 2012-07-31 17:17:50.000000000 +0200
+@@ -45,8 +45,8 @@
+ TQDomElement DomElement( ) const; // KDE4: s/D/d/
+
+ protected:
+- void tqaddAction( KAction *action, const TQDomElement &menu = TQDomElement() );
+- void tqaddAction( const char *name, const TQDomElement &menu = TQDomElement() );
++ void addAction( KAction *action, const TQDomElement &menu = TQDomElement() );
++ void addAction( const char *name, const TQDomElement &menu = TQDomElement() );
+ void addSeparator( const TQDomElement &menu = TQDomElement() );
+ /// only add a separator if an action is added afterwards
+ void addPendingSeparator();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/nspluginloader.cpp v3.5.13-sru/nsplugins/nspluginloader.cpp
+--- /tmp/stable//kdebase/nsplugins/nspluginloader.cpp 2011-08-11 07:25:38.000000000 +0200
++++ v3.5.13-sru/nsplugins/nspluginloader.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -130,7 +130,7 @@
+ setBackgroundMode(w == 0 ? TQWidget::PaletteBackground : TQWidget::NoBackground);
+ if (w == 0) {
+ // FIXME: Put a notice here to tell the user that it crashed.
+- tqrepaint();
++ repaint();
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/plugin_part.cpp v3.5.13-sru/nsplugins/plugin_part.cpp
+--- /tmp/stable//kdebase/nsplugins/plugin_part.cpp 2011-08-11 07:25:38.000000000 +0200
++++ v3.5.13-sru/nsplugins/plugin_part.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -307,7 +307,7 @@
+ _widget = inst;
+ } else {
+ TQLabel *label = new TQLabel( i18n("Unable to load Netscape plugin for %1").arg(url.url()), _canvas );
+- label->tqsetAlignment( AlignCenter | WordBreak );
++ label->setAlignment( AlignCenter | WordBreak );
+ _widget = label;
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/pluginscan.cpp v3.5.13-sru/nsplugins/pluginscan.cpp
+--- /tmp/stable//kdebase/nsplugins/pluginscan.cpp 2011-08-11 07:25:38.000000000 +0200
++++ v3.5.13-sru/nsplugins/pluginscan.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -251,14 +251,14 @@
+ NPError err = func_GetValue( 0, NPPVpluginNameString,
+ (void*)&buf );
+ if ( err==NPERR_NO_ERROR )
+- name = TQString::tqfromLatin1( buf );
++ name = TQString::fromLatin1( buf );
+ kdDebug() << "name = " << name << endl;
+
+ // get name
+ NPError nperr = func_GetValue( 0, NPPVpluginDescriptionString,
+ (void*)&buf );
+ if ( nperr==NPERR_NO_ERROR )
+- description = TQString::tqfromLatin1( buf );
++ description = TQString::fromLatin1( buf );
+ kdDebug() << "description = " << description << endl;
+ }
+ else
+@@ -346,7 +346,7 @@
+ // open the library and ask for the mimetype
+ kdDebug(1433) << " - opening " << absFile << endl;
+
+- cache.tqdevice()->flush();
++ cache.device()->flush();
+ // fork, so that a crash in the plugin won't stop the scanning of other plugins
+ int pipes[2];
+ if (pipe(pipes) != 0) continue;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/sdk/jni.h v3.5.13-sru/nsplugins/sdk/jni.h
+--- /tmp/stable//kdebase/nsplugins/sdk/jni.h 2011-03-12 07:57:57.000000000 +0100
++++ v3.5.13-sru/nsplugins/sdk/jni.h 2012-07-31 17:17:50.000000000 +0200
+@@ -580,7 +580,7 @@
+ (JNIEnv *env, jclass clazz, jfieldID fieldID, jdouble value);
+
+ jstring (JNICALL *NewString)
+- (JNIEnv *env, const jchar *tqunicode, jsize len);
++ (JNIEnv *env, const jchar *unicode, jsize len);
+ jsize (JNICALL *GetStringLength)
+ (JNIEnv *env, jstring str);
+ const jchar *(JNICALL *GetStringChars)
+@@ -1508,8 +1508,8 @@
+ functions->SetStaticDoubleField(this,clazz,fieldID,value);
+ }
+
+- jstring NewString(const jchar *tqunicode, jsize len) {
+- return functions->NewString(this,tqunicode,len);
++ jstring NewString(const jchar *unicode, jsize len) {
++ return functions->NewString(this,unicode,len);
+ }
+ jsize GetStringLength(jstring str) {
+ return functions->GetStringLength(this,str);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/sdk/jri.h v3.5.13-sru/nsplugins/sdk/jri.h
+--- /tmp/stable//kdebase/nsplugins/sdk/jri.h 2011-03-12 07:57:57.000000000 +0100
++++ v3.5.13-sru/nsplugins/sdk/jri.h 2012-07-31 17:17:50.000000000 +0200
+@@ -341,8 +341,8 @@
+ #define JRI_SetStaticFieldDouble(env, clazz, fieldID, value) \
+ (((*(env))->SetStaticFieldDouble)(env, JRI_SetStaticFieldDouble_op, clazz, fieldID, value))
+
+-#define JRI_NewString(env, tqunicode, len) \
+- (((*(env))->NewString)(env, JRI_NewString_op, tqunicode, len))
++#define JRI_NewString(env, unicode, len) \
++ (((*(env))->NewString)(env, JRI_NewString_op, unicode, len))
+
+ #define JRI_GetStringLength(env, string) \
+ (((*(env))->GetStringLength)(env, JRI_GetStringLength_op, string))
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/sdk/npruntime.h v3.5.13-sru/nsplugins/sdk/npruntime.h
+--- /tmp/stable//kdebase/nsplugins/sdk/npruntime.h 2011-03-12 07:57:57.000000000 +0100
++++ v3.5.13-sru/nsplugins/sdk/npruntime.h 2012-07-31 17:17:50.000000000 +0200
+@@ -306,7 +306,7 @@
+
+ NPInvalidateFunctionPtr is called by the scripting environment
+ when the native code is shutdown. Any attempt to message a
+- NPObject instance after the tqinvalidate callback has been
++ NPObject instance after the invalidate callback has been
+ called will result in undefined behavior, even if the native code
+ is still retaining those NPObject instances. (The runtime
+ will typically return immediately, with 0 or NULL, from an attempt
+@@ -318,7 +318,7 @@
+ uint32_t structVersion;
+ NPAllocateFunctionPtr allocate;
+ NPDeallocateFunctionPtr deallocate;
+- NPInvalidateFunctionPtr tqinvalidate;
++ NPInvalidateFunctionPtr invalidate;
+ NPHasMethodFunctionPtr hasMethod;
+ NPInvokeFunctionPtr invoke;
+ NPInvokeDefaultFunctionPtr invokeDefault;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/viewer/kxt.cpp v3.5.13-sru/nsplugins/viewer/kxt.cpp
+--- /tmp/stable//kdebase/nsplugins/viewer/kxt.cpp 2011-03-12 07:57:57.000000000 +0100
++++ v3.5.13-sru/nsplugins/viewer/kxt.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -567,7 +567,7 @@
+ TQWidget *w = find( (WId)win );
+ if ( w ) {
+ // We know that window
+- return w->tqtopLevelWidget() == tqtopLevelWidget();
++ return w->topLevelWidget() == topLevelWidget();
+ } else {
+ // Window still may be a parent (if top-level is foreign window)
+ Window root, parent;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/viewer/nsplugin.cpp v3.5.13-sru/nsplugins/viewer/nsplugin.cpp
+--- /tmp/stable//kdebase/nsplugins/viewer/nsplugin.cpp 2011-09-27 00:37:49.000000000 +0200
++++ v3.5.13-sru/nsplugins/viewer/nsplugin.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -138,7 +138,7 @@
+ }
+
+
+-// tqinvalidate rect
++// invalidate rect
+ void g_NPN_InvalidateRect(NPP /*instance*/, NPRect* /*invalidRect*/)
+ {
+ // http://devedge.netscape.com/library/manuals/2002/plugin/1.0/npn_api7.html#999503
+@@ -147,7 +147,7 @@
+ }
+
+
+-// tqinvalidate region
++// invalidate region
+ void g_NPN_InvalidateRegion(NPP /*instance*/, NPRegion /*invalidRegion*/)
+ {
+ // http://devedge.netscape.com/library/manuals/2002/plugin/1.0/npn_api8.html#999528
+@@ -252,8 +252,8 @@
+
+ NSPluginInstance *inst = static_cast<NSPluginInstance*>(instance->ndata);
+ if (inst) {
+- inst->requestURL( TQString::tqfromLatin1(url), TQString::null,
+- TQString::tqfromLatin1(target), 0 );
++ inst->requestURL( TQString::fromLatin1(url), TQString::null,
++ TQString::fromLatin1(target), 0 );
+ }
+
+ return NPERR_NO_ERROR;
+@@ -267,8 +267,8 @@
+ NSPluginInstance *inst = static_cast<NSPluginInstance*>(instance->ndata);
+ if (inst) {
+ kdDebug(1431) << "g_NPN_GetURLNotify: ndata=" << (void*)inst << endl;
+- inst->requestURL( TQString::tqfromLatin1(url), TQString::null,
+- TQString::tqfromLatin1(target), notifyData, true );
++ inst->requestURL( TQString::fromLatin1(url), TQString::null,
++ TQString::fromLatin1(target), notifyData, true );
+ }
+
+ return NPERR_NO_ERROR;
+@@ -318,7 +318,7 @@
+ break;
+ }
+
+- TQString thisLine = TQString::tqfromLatin1(previousStart, &buf[l-1] - previousStart).stripWhiteSpace();
++ TQString thisLine = TQString::fromLatin1(previousStart, &buf[l-1] - previousStart).stripWhiteSpace();
+
+ previousStart = &buf[l];
+ previousCR = true;
+@@ -360,9 +360,9 @@
+ }
+
+ NSPluginInstance *inst = static_cast<NSPluginInstance*>(instance->ndata);
+- if (inst && !inst->normalizedURL(TQString::tqfromLatin1(url)).isNull()) {
+- inst->postURL( TQString::tqfromLatin1(url), postdata, args.contentType(),
+- TQString::tqfromLatin1(target), notifyData, args, true );
++ if (inst && !inst->normalizedURL(TQString::fromLatin1(url)).isNull()) {
++ inst->postURL( TQString::fromLatin1(url), postdata, args.contentType(),
++ TQString::fromLatin1(target), notifyData, args, true );
+ } else {
+ // Unsupported / insecure
+ return NPERR_INVALID_URL;
+@@ -415,7 +415,7 @@
+ break;
+ }
+
+- TQString thisLine = TQString::tqfromLatin1(previousStart, &buf[l-1] - previousStart).stripWhiteSpace();
++ TQString thisLine = TQString::fromLatin1(previousStart, &buf[l-1] - previousStart).stripWhiteSpace();
+
+ previousStart = &buf[l];
+ previousCR = true;
+@@ -457,9 +457,9 @@
+ }
+
+ NSPluginInstance *inst = static_cast<NSPluginInstance*>(instance->ndata);
+- if (inst && !inst->normalizedURL(TQString::tqfromLatin1(url)).isNull()) {
+- inst->postURL( TQString::tqfromLatin1(url), postdata, args.contentType(),
+- TQString::tqfromLatin1(target), 0L, args, false );
++ if (inst && !inst->normalizedURL(TQString::fromLatin1(url)).isNull()) {
++ inst->postURL( TQString::fromLatin1(url), postdata, args.contentType(),
++ TQString::fromLatin1(target), 0L, args, false );
+ } else {
+ // Unsupported / insecure
+ return NPERR_INVALID_URL;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/viewer/viewer.cpp v3.5.13-sru/nsplugins/viewer/viewer.cpp
+--- /tmp/stable//kdebase/nsplugins/viewer/viewer.cpp 2011-03-12 07:57:57.000000000 +0100
++++ v3.5.13-sru/nsplugins/viewer/viewer.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -190,7 +190,7 @@
+ }
+ #endif
+ if ( p )
+- _notifiers[type].insert( _notifiers[type].tqat(), sn );
++ _notifiers[type].insert( _notifiers[type].at(), sn );
+ else
+ _notifiers[type].append( sn );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/startkde v3.5.13-sru/startkde
+--- /tmp/stable//kdebase/startkde 2011-08-21 09:08:18.000000000 +0200
++++ v3.5.13-sru/startkde 2012-07-31 17:17:50.000000000 +0200
+@@ -1,53 +1,80 @@
+ #!/bin/sh
+ #
+-# DEFAULT TRINITY STARTUP SCRIPT ( KDE-3.5.12 )
++# DEFAULT TRINITY STARTUP SCRIPT
+ #
+
++# This block may not be appropriate for all systems.
++# It should work for command line logins but graphical
++# login managers may source these files already.
++# Multiple sourcing is not a problem when the files are only
++# containers for environment variables and such.
++if [ -r /etc/xprofile ]; then
++ source /etc/xprofile
++fi
++if [ -r $HOME/.xprofile ]; then
++ source $HOME/.xprofile
++fi
++
+ echo "[startkde] Starting startkde." 1>&2
++echo "[startkde] This script is $0" 1>&2
++
++# Avoid any possible conflict with KDE4. Therefore within this script
++# use full path names to all binaries used.
++
++# The binaries for TDE are located in the same place as this script.
++# To determine that location use the following method rather than presuming
++# the existence of $KDEDIR. That environment variable might not be
++# defined or defined to point to KDE4 binaries.
++BIN_DIR="`dirname \`readlink -f $0\``"
++# Do not use kde-config to determine the version. That command creates a
++# profile directory in the root of the file system. Refer to Bug Report 293.
++if [ -x $BIN_DIR/konqueror ]; then
++ KDE_VERSION="`$BIN_DIR/konqueror --version | grep KDE | awk '{print $2}'`"
++ echo "[startkde] TDE version is $KDE_VERSION" 1>&2
++ export KDEDIR=${BIN_DIR%/bin}
++ echo "[startkde] TDE base directory is $KDEDIR" 1>&2
++else
++ echo "[startkde] Unable to determine TDE base directory."
++ echo "[startkde] This script should be installed in the same directory."
++ echo "[startkde] Exiting."
++ exit 1
++fi
++unset BIN_DIR
+
+ # When the X server dies we get a HUP signal from xinit. We must ignore it
+ # because we still need to do some cleanup.
+ trap '[startkde] echo GOT SIGHUP' HUP
+
+-# Check if a KDE session is already running.
++# Check if a TDE session is already running.
+ if kcheckrunning >/dev/null 2>&1; then
+- echo "[startkde] KDE seems to be already running on this display."
+- xmessage -geometry 500x100 "KDE seems to be already running on this display." > /dev/null 2>/dev/null
+- exit 1
++ echo "[startkde] TDE seems to be already running on this display."
++ xmessage -center -geometry 500x100 "TDE seems to be already running on this display." > /dev/null 2>/dev/null
++ exit 1
+ fi
+
+ # Set the background color.
+ # The standard X background is nasty, causing moire effects and exploding
+-# people's heads. We use colours from the standard KDE palette for those with
++# people's heads. We use colours from the standard TDE palette for those with
+ # palettised displays.
+ if test -z "$XDM_MANAGED" || echo "$XDM_MANAGED" | grep ",auto" > /dev/null; then
+ xsetroot -solid "#618DCC" # sky blue
+ fi
+
+-# Unset this for Darwin since it will screw up KDE's dynamic-loading
++# Unset this for Darwin since it will screw up TDE's dynamic-loading
+ unset DYLD_FORCE_FLAT_NAMESPACE
+
+ # Check whether prelinking is enabled. If so, exporting KDE_IS_PRELINKED improves
+-# loading KDE. The $KDE_IS_PRELINKED variable might already be set on some systems
++# loading TDE. The $KDE_IS_PRELINKED variable might already be set on some systems
+ # through /etc/profile.d, so first check whether the variable exists.
+-if [ -z $KDE_IS_PRELINKED ]; then
++if [ "$KDE_IS_PRELINKED" = "" ]; then
+ if [ -r /etc/default/prelink ]; then
+ . /etc/default/prelink
+- if [ "$PRELINKING" == "yes" ]; then
++ if [ "$PRELINKING" = "yes" ]; then
+ export KDE_IS_PRELINKED=1
+ fi
+ fi
+ fi
+
+-# In case we have been started with full pathname spec without being in PATH.
+-bindir=`echo "$0" | sed -n 's,^\(/.*\)/[^/][^/]*$,\1,p'`
+-if [ -n "$bindir" ]; then
+- case $PATH in
+- $bindir|$bindir:*|*:$bindir|*:$bindir:*) ;;
+- *) PATH=$bindir:$PATH; export PATH;;
+- esac
+-fi
+-
+ # Boot sequence:
+ #
+ # kdeinit is used to fork off processes which improves memory usage
+@@ -62,29 +89,25 @@
+ #
+ # * Then ksmserver is started which takes control of the rest of the startup sequence
+
+-# The user's personal KDE directory usually is $HOME/.kde or $HOME/.trinity.
+-# This setting may be overridden by setting $KDEHOME.
+-# Must be careful here because $HOME/.kde was used commonly in the pre-KDE4
+-# days for the user's KDE3 profile, but now with KDE4 common on systems,
+-# $HOME/.kde might point to KDE4 profile settings. Further, the existence
+-# of KDE4 does not mean all people have KDE4 installed and might want to keep
+-# $HOME/.kde as their preferred profile location for Trinity KDE.
++# The user's personal TDE directory usually is $HOME/.trinity.
++# This setting may be overridden by setting $KDEHOME. When migrating profiles
++# must be careful here because $HOME/.kde was used commonly in the pre-KDE4
++# days for the user's TDE profile, but now with KDE4 common on systems,
++# $HOME/.kde might point to KDE4 profile settings. The existence of KDE4
++# does not mean all people are using KDE4.
+
+-if [ -n "$KDEHOME" ]; then
++if [ "$KDEHOME" != "" ]; then
+ echo "[startkde] KDEHOME is preset to $KDEHOME." 1>&2
+ export KDEHOME=$KDEHOME
+ else
+ # $KDEHOME is NOT already preset in the environment. Try to help.
+ # This might be overkill but does provide flexibility.
++ # This script and kstandardirs.h and kstandardirs.cpp must match.
++ # The latter two must be edited/patched before compiling.
+ echo "[startkde] KDEHOME is not set." 1>&2
+ if [ -d $HOME/.trinity ]; then
+ # OK, this one is obvious.
+ export KDEHOME=$HOME/.trinity
+- elif [ -d $HOME/.trinity ]; then
+- # Looks like the user had an old version of Trinity installed at last login
+- echo "[startkde] Migrating old ~/.trinity directory to new ~/.trinity name." 1>&2
+- mv $HOME/.trinity $HOME/.trinity
+- export KDEHOME=$HOME/.trinity
+ elif [ -f /usr/bin/kde4-config ]; then
+ # Looks like KDE4 is installed.
+ if [ -d $HOME/.kde ] && [ ! -d $HOME/.trinity ]; then
+@@ -95,13 +118,10 @@
+ export KDEHOME=$HOME/.trinity
+ fi
+ elif [ -f /opt/trinity/bin/kde-config ]; then
+- # Looks like KDE3 or Trinity is installed and playing second fiddle to KDE4.
+- export KDEHOME=$HOME/.trinity
+- elif [ -f /opt/trinity/bin/kde-config ]; then
+- # Looks like KDE3 or Trinity is installed and playing second fiddle to KDE4.
++ # Looks like Trinity is installed.
+ export KDEHOME=$HOME/.trinity
+ elif [ -f /usr/bin/kde-config ] && [ -d $HOME/.kde ]; then
+- # Looks like KDE3 or Trinity is installed and not playing second fiddle to KDE4.
++ # Looks like Trinity is installed and not playing second fiddle to KDE4.
+ export KDEHOME=$HOME/.kde
+ else
+ # Resort to this and hope for the best!
+@@ -110,70 +130,146 @@
+ echo "[startkde] Set KDEHOME to $KDEHOME." 1>&2
+ fi
+
+-# Run a quick test for root.
+-if [ -z "$KDEROOTHOME" ] && [ "$UID" = "0" ]; then
+- echo "[startkde] User ID is $UID. Setting KDEROOTHOME to $KDEHOME."
+- export KDEROOTHOME=$KDEHOME
++# Do we want to run this script from here in such an automated manner?
++# Or leave the script to be run only at the user's discretion?
++# The migratekde3 script as written (in draft) requires user intervention,
++# which to succeed in TDE needs something like KDialog. Refer to the
++# commentary in migratekde3 for more details.
++# if [ -x $KDEDIR/migratekde3 ]; then
++# sh $KDEDIR/migratekde3
++# fi
++
++# kdesu needs something to find root's TDE profile. Set the KDEROOTHOME variable
++# here as last resort. /root/.trinity is a safe presumption. If an admin wants
++# a different location then set the KDEROOTHOME variable elsewhere.
++if [ "$KDEROOTHOME" = "" ]; then
++ export KDEROOTHOME=/root/.trinity
++ echo "[startkde] Setting KDEROOTHOME to $KDEROOTHOME."
+ fi
+
+ # Modify the following environment variables only as necessary.
+-if [ -d /opt/trinity/games ]; then
+- export PATH=/opt/trinity/games:$PATH
+-fi
+-if [ -d /opt/trinity/bin ]; then
+- export PATH=/opt/trinity/bin:$PATH
+-fi
+-if [ -d /opt/trinity/games ]; then
+- export PATH=/opt/trinity/games:$PATH
+-fi
+-if [ -d /opt/trinity/bin ]; then
+- export PATH=/opt/trinity/bin:$PATH
+-fi
+-if [ -d /opt/trinity/share ]; then
+- export XDG_DATA_DIRS=$XDG_DATA_DIRS:/opt/trinity/share/:/usr/share/
+-fi
+-if [ -d /opt/trinity/share ]; then
+- export XDG_DATA_DIRS=$XDG_DATA_DIRS:/opt/trinity/share/:/usr/share/
++if [ -d $KDEDIR/games ]; then
++ if [ "`echo $PATH | grep \"$KDEDIR/games\"`" = "" ]; then
++ # Respect the traditional path order. Don't blindly place $KDEDIR/games
++ # first in the path. Only place $KDEDIR/games before /usr/games. If packagers
++ # are adding $KDEDIR/games elsewhere, then they need to ensure the traditional
++ # search patch is respected.
++ # Is there a way we can check that $KDEDIR/games is always placed only just before
++ # /usr/games in the search path?
++ if [ "`echo $PATH | grep \"^\\(.*:\\)\\?/usr/games\\(:.*\\)\\?$\"`" != "" ]; then
++ export PATH="`echo $PATH | sed \"s|^\\(.*:\\)\\?/usr/games\\(:.*\\)\\?$|\\1$KDEDIR/games:/usr/games\\2|\"`"
++ else
++ export PATH=$KDEDIR/games:$PATH
++ fi
++ fi
+ fi
+-if [ -d /opt/trinity/etc/xdg ]; then
+- export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:/opt/trinity/etc/xdg/:/etc/xdg/
++if [ -d $KDEDIR/bin ]; then
++ if [ "`echo $PATH | grep \"$KDEDIR/bin\"`" = "" ]; then
++ # Respect the traditional path order. Don't blindly place $KDEDIR/bin
++ # first in the path. Only place $KDEDIR/bin before /usr/bin. This order is
++ # consistent with kdelibs/kdesu/stub.cpp. If packagers are adding $KDEDIR/bin
++ # elsewhere, then they need to ensure the traditional search patch is respected.
++ # Is there a way we can check that $KDEDIR/bin is always placed only just before
++ # /usr/bin in the search path?
++ if [ "`echo $PATH | grep \"^\\(.*:\\)\\?/usr/bin\\(:.*\\)\\?$\"`" != "" ]; then
++ export PATH="`echo $PATH | sed \"s|^\\(.*:\\)\\?/usr/bin\\(:.*\\)\\?$|\\1$KDEDIR/bin:/usr/bin\\2|\"`"
++ else
++ export PATH=$KDEDIR/bin:$PATH
++ fi
++ fi
+ fi
+-if [ -d /opt/trinity/etc/xdg ]; then
+- export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:/opt/trinity/etc/xdg/:/etc/xdg/
++if [ -d $KDEDIR/share/man ]; then
++ if [ -x /usr/bin/manpath ]; then
++ if [ "`manpath 2>/dev/null | grep \"$KDEDIR/share/man\"`" = "" ]; then
++ export MANPATH=$KDEDIR/share/man:$MANPATH
++ fi
++ else
++ if [ "`echo $MANPATH | grep \"$KDEDIR/share/man\"`" = "" ]; then
++ export MANPATH=$KDEDIR/share/man:$MANPATH
++ fi
++ fi
+ fi
+-if [ -d /opt/trinity/share/man ]; then
+- export MANPATH=/opt/trinity/share/man:$MANPATH
++
++if [ "$XDG_CONFIG_DIRS" = "" ]; then
++ if [ -d /etc/xdg ]; then
++ XDG_CONFIG_DIRS=/etc/xdg
++ fi
++fi
++if [ -d /etc/trinity/xdg ]; then
++ TDE_XDG_DIR="/etc/trinity/xdg"
++elif [ -d /etc/tde/xdg ]; then
++ TDE_XDG_DIR="/etc/tde/xdg"
++elif [ -d $KDEDIR/xdg ]; then
++ TDE_XDG_DIR="$KDEDIR/xdg"
++elif [ -d $KDEDIR/etc/xdg ]; then
++ TDE_XDG_DIR="$KDEDIR/etc/xdg"
++elif [ -d $KDEDIR/etc/trinity/xdg ]; then
++ TDE_XDG_DIR="$KDEDIR/etc/trinity/xdg"
++elif [ -d $KDEDIR/etc/tde/xdg ]; then
++ TDE_XDG_DIR="$KDEDIR/etc/tde/xdg"
++elif [ -d $KDEDIR/trinity/xdg ]; then
++ TDE_XDG_DIR="$KDEDIR/trinity/xdg"
++elif [ -d $KDEDIR/tde/xdg ]; then
++ TDE_XDG_DIR="$KDEDIR/tde/xdg"
++fi
++if [ -d $TDE_XDG_DIR ]; then
++ if [ "`echo $XDG_CONFIG_DIRS | grep \"$TDE_XDG_DIR\"`" = "" ]; then
++ if [ "$XDG_CONFIG_DIRS" = "" ]; then
++ XDG_CONFIG_DIRS=$TDE_XDG_DIR
++ else
++ XDG_CONFIG_DIRS=$TDE_XDG_DIR:$XDG_CONFIG_DIRS
++ fi
++ fi
+ fi
+-if [ -d /opt/trinity/share/man ]; then
+- export MANPATH=/opt/trinity/share/man:$MANPATH
++if [ "$XDG_CONFIG_DIRS" != "" ]; then
++ export XDG_CONFIG_DIRS
+ fi
+-if [ -d /opt/trinity ]; then
+- if [ -n "$KDEDIRS" ]; then
+- export KDEDIRS=$KDEDIRS:/opt/trinity/:/usr/
++
++# Explicitly set $XDG_DATA_DIRS only when Trinity is not installed in /usr.
++# Explicitly declaring $XDG_DATA_DIRS will override the default search path of /usr/share.
++# Explicitly declaring $XDG_DATA_DIRS will override $KDEDIRS, which must then be
++# explicitly identified in the $XDG_DATA_DIRS string to remain useful.
++# The $KDEDIR variable is intended to be singular and $KDEDIRS plural. When $KDEDIRS
++# exists in the environment then parse that variable into separate directories.
++# $KDEDIRS should contain whatever is set in $KDEDIR. Therefore any additional directories
++# set in $KDEDIRS are intended to override data files found in $KDEDIR. Those additional
++# directories should be placed before $KDEDIR and before /usr/share.
++if [ "$KDEDIR" != "/usr" ] && [ -d $KDEDIR/share ]; then
++ if [ "$XDG_DATA_DIRS" = "" ]; then
++ # Ensure the standard location of /usr/share is included.
++ XDG_DATA_DIRS=/usr/share
+ else
+- export KDEDIRS=/opt/trinity/:/usr/
++ if [ "`echo $XDG_DATA_DIRS | grep \"/usr/share\"`" = "" ]; then
++ XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share
++ fi
+ fi
+-fi
+-if [ -d /opt/trinity ]; then
+- if [ -n "$KDEDIRS" ]; then
+- export KDEDIRS=$KDEDIRS:/opt/trinity/:/usr/
+- else
+- export KDEDIRS=/opt/trinity/:/usr/
++ if [ "`echo $XDG_DATA_DIRS | grep \"$KDEDIR/share\"`" = "" ]; then
++ XDG_DATA_DIRS=$KDEDIR/share:$XDG_DATA_DIRS
++ fi
++ if [ "$KDEDIRS" != "" ]; then
++ for i in `seq \`echo $KDEDIRS | awk -F : '{print NF}'\` -1 1`; do
++ if [ "`echo $XDG_DATA_DIRS | grep \"\`echo $KDEDIRS | cut -d: -f${i}\`\"`" = "" ]; then
++ XDG_DATA_DIRS=`echo $KDEDIRS | cut -d: -f${i}`/share:$XDG_DATA_DIRS
++ fi
++ done
+ fi
++ export XDG_DATA_DIRS
+ fi
+
+ test -n "$KDEHOME" && kdehome=`echo "$KDEHOME" | sed "s,^~/,$HOME/,"`
+-echo "[startkde] kdehome: $kdehome" 1>&2
+
+ # Allow interested applications, such as the Plasma control wrapper,
+-# to know that this is a Trinity desktop and not a KDE one.
++# to know that this is a Trinity desktop and not a TDE one.
+ export DESKTOP_SESSION=trinity
+
+ # Please see kstartupconfig source for usage.
+-mkdir -m 700 -p $kdehome
+-mkdir -m 700 -p $kdehome/share
+-mkdir -m 700 -p $kdehome/share/config
+-cat >$kdehome/share/config/startupconfigkeys <<EOF
++if [ ! -d "$HOME/.trinity" ]; then
++ echo "[startkde] Creating $HOME/.trinity." 1>&2
++fi
++mkdir -m 700 -p "$kdehome"
++mkdir -m 700 -p "$kdehome/share"
++mkdir -m 700 -p "$kdehome/share/config"
++cat >"$kdehome/share/config/startupconfigkeys" <<EOF
+ kcminputrc Mouse cursorTheme ''
+ kcminputrc Mouse cursorSize ''
+ kpersonalizerrc General FirstLogin true
+@@ -185,20 +281,20 @@
+ kcmrandrrc [Screen3]
+ kcmfonts General forceFontDPI 0
+ EOF
+-kstartupconfig
++$KDEDIR/bin/kstartupconfig
+ if test $? -ne 0; then
+- xmessage -geometry 500x100 "Could not start kstartupconfig. Check your installation."
++ xmessage -center -geometry 500x100 "Could not start kstartupconfig. Check your installation."
+ fi
+ # $kdehome/share/config/startupconfig should exist but avoid script failure if not.
+-if [ -r $kdehome/share/config/startupconfig ]; then
+- . $kdehome/share/config/startupconfig
++if [ -r "$kdehome/share/config/startupconfig" ]; then
++ . "$kdehome/share/config/startupconfig"
+ fi
+
+ # Make sure a default wallpaper is set.
+-if [ ! -e $kdehome/share/config/kdesktoprc ]; then
++if [ ! -e "$kdehome/share/config/kdesktoprc" ]; then
+ # With Trinity KDE this file should exist, but test first.
+ if [ -r /usr/share/wallpapers/isadora.png.desktop ]; then
+-cat >$kdehome/share/config/kdesktoprc <<EOF
++cat >"$kdehome/share/config/kdesktoprc" <<EOF
+ [Desktop0]
+ Wallpaper=isadora.png
+ WallpaperMode=Scaled
+@@ -208,84 +304,84 @@
+
+ # XCursor mouse theme needs to be applied here to work even for kded or ksmserver.
+ if test -n "$kcminputrc_mouse_cursortheme" -o -n "$kcminputrc_mouse_cursorsize" ; then
+- kapplymousetheme "$kcminputrc_mouse_cursortheme" "$kcminputrc_mouse_cursorsize"
+- if test $? -eq 10; then
+- export XCURSOR_THEME=default
+- elif test -n "$kcminputrc_mouse_cursortheme"; then
+- export XCURSOR_THEME="$kcminputrc_mouse_cursortheme"
+- fi
+- if test -n "$kcminputrc_mouse_cursorsize"; then
+- export XCURSOR_SIZE="$kcminputrc_mouse_cursorsize"
+- fi
++ kapplymousetheme "$kcminputrc_mouse_cursortheme" "$kcminputrc_mouse_cursorsize"
++ if test $? -eq 10; then
++ export XCURSOR_THEME=default
++ elif test -n "$kcminputrc_mouse_cursortheme"; then
++ export XCURSOR_THEME="$kcminputrc_mouse_cursortheme"
++ fi
++ if test -n "$kcminputrc_mouse_cursorsize"; then
++ export XCURSOR_SIZE="$kcminputrc_mouse_cursorsize"
++ fi
+ fi
+
+ if test "$kcmrandrrc_display_applyonstartup" = "true"; then
+- # 4 screens is hopefully enough
+- for scrn in 0 1 2 3; do
+- args=
+- width="\$kcmrandrrc_screen${scrn}_width" ; eval "width=$width"
+- height="\$kcmrandrrc_screen${scrn}_height" ; eval "height=$height"
+- if test -n "${width}" -a -n "${height}"; then
+- args="$args -s ${width}x${height}"
+- fi
+- refresh="\$kcmrandrrc_screen${scrn}_refresh" ; eval "refresh=$refresh"
+- if test -n "${refresh}"; then
+- args="$args -r ${refresh}"
+- fi
+- rotation="\$kcmrandrrc_screen${scrn}_rotation" ; eval "rotation=$rotation"
+- if test -n "${rotation}"; then
+- case "${rotation}" in
+- 0)
+- args="$args -o 0"
+- ;;
+- 90)
+- args="$args -o 1"
+- ;;
+- 180)
+- args="$args -o 2"
+- ;;
+- 270)
+- args="$args -o 3"
+- ;;
+- esac
+- fi
+- reflectx="\$kcmrandrrc_screen${scrn}_reflectx" ; eval "reflectx=$reflectx"
+- if test "${refrectx}" = "true"; then
+- args="$args -x"
+- fi
+- reflecty="\$kcmrandrrc_screen${scrn}_reflecty" ; eval "reflecty=$reflecty"
+- if test "${refrecty}" = "true"; then
+- args="$args -y"
+- fi
+- if test -n "$args"; then
+- xrandr $args
+- fi
+- done
++ # 4 screens is hopefully enough
++ for scrn in 0 1 2 3; do
++ args=
++ width="\$kcmrandrrc_screen${scrn}_width" ; eval "width=$width"
++ height="\$kcmrandrrc_screen${scrn}_height" ; eval "height=$height"
++ if test -n "${width}" -a -n "${height}"; then
++ args="$args -s ${width}x${height}"
++ fi
++ refresh="\$kcmrandrrc_screen${scrn}_refresh" ; eval "refresh=$refresh"
++ if test -n "${refresh}"; then
++ args="$args -r ${refresh}"
++ fi
++ rotation="\$kcmrandrrc_screen${scrn}_rotation" ; eval "rotation=$rotation"
++ if test -n "${rotation}"; then
++ case "${rotation}" in
++ 0)
++ args="$args -o 0"
++ ;;
++ 90)
++ args="$args -o 1"
++ ;;
++ 180)
++ args="$args -o 2"
++ ;;
++ 270)
++ args="$args -o 3"
++ ;;
++ esac
++ fi
++ reflectx="\$kcmrandrrc_screen${scrn}_reflectx" ; eval "reflectx=$reflectx"
++ if test "${refrectx}" = "true"; then
++ args="$args -x"
++ fi
++ reflecty="\$kcmrandrrc_screen${scrn}_reflecty" ; eval "reflecty=$reflecty"
++ if test "${refrecty}" = "true"; then
++ args="$args -y"
++ fi
++ if test -n "$args"; then
++ xrandr $args
++ fi
++ done
+ fi
+
+ dl=$DESKTOP_LOCKED
+ unset DESKTOP_LOCKED # Don't want it in the environment
+
+-# Launch splash that doesn't need any KDE libraries here, before
+-# KDE libraries are loaded into memory (which may take some time
++# Launch splash that doesn't need any TDE libraries here, before
++# TDE libraries are loaded into memory (which may take some time
+ # with cold caches). Makes the splash appear sooner.
+ # If kpersonalizer needs to be run splash will be started only later.
+ if test -z "$dl" && test "$kpersonalizerrc_general_firstlogin" != "true"; then
+- case "$ksplashrc_ksplash_theme" in
+- Simple)
+- ksplashsimple
+- ;;
+- *)
+- ;;
+- esac
++ case "$ksplashrc_ksplash_theme" in
++ Simple)
++ ksplashsimple
++ ;;
++ *)
++ ;;
++ esac
+ fi
+
+ if test "$kcmfonts_general_forcefontdpi" -eq 120; then
+- xrdb -quiet -merge -nocpp <<EOF
++ xrdb -quiet -merge -nocpp <<EOF
+ Xft.dpi: 120
+ EOF
+ elif test "$kcmfonts_general_forcefontdpi" -eq 96; then
+- xrdb -quiet -merge -nocpp <<EOF
++ xrdb -quiet -merge -nocpp <<EOF
+ Xft.dpi: 96
+ EOF
+ fi
+@@ -293,7 +389,7 @@
+ # Configuration of the gtk_qt_engine if not already set.
+
+ if test -n "$KDEDIRS"; then
+- kdedirs_first=`echo "$KDEDIRS" | sed -e 's/:.*//'`
++ kdedirs_first=${KDEDIRS%%:*}
+ KGTK_RC_ENGINE=$kdedirs_first/share/kgtk/gtk-qt-engine.rc.sh
+ KGTK_RC_KDE1=$kdedirs_first/share/kgtk/.gtkrc-2.0-kde4
+ KGTK_RC_KDE2=$kdedirs_first/share/kgtk/.gtkrc-2.0-kde-kde4
+@@ -303,11 +399,10 @@
+ KGTK_RC_KDE2=$KDEDIR/share/kgtk/.gtkrc-2.0-kde-kde4
+ fi
+
+-if [ ! -e $kdehome/env/gtk-qt-engine.rc.sh ] && [ -e $KGTK_RC_ENGINE ]
+-then
+- mkdir -p $kdehome/env
+- cp -f $KGTK_RC_ENGINE $kdehome/env
+- chmod 755 $kdehome/env/gtk-qt-engine.rc.sh
++if [ ! -e "$kdehome/env/gtk-qt-engine.rc.sh" ] && [ -e $KGTK_RC_ENGINE ]; then
++ mkdir -p "$kdehome/env"
++ cp -f $KGTK_RC_ENGINE "$kdehome/env"
++ chmod 755 "$kdehome/env/gtk-qt-engine.rc.sh"
+ fi
+
+ if [ ! -e $HOME/.gtkrc-2.0-kde4 ] && [ -e $KGTK_RC_KDE1 ]
+@@ -321,10 +416,10 @@
+ fi
+
+ # Source scripts found in <localprefix>/env/*.sh and <prefixes>/env/*.sh
+-# (where <localprefix> is $KDEHOME or ~/.trinity, and <prefixes> is where KDE is installed)
++# (where <localprefix> is $KDEHOME or ~/.trinity, and <prefixes> is where TDE is installed)
+ #
+ # This is where you can define environment variables that will be available to
+-# all KDE programs, so this is where you can run agents using e.g. eval `ssh-agent`
++# all TDE programs, so this is where you can run agents using e.g. eval `ssh-agent`
+ # or eval `gpg-agent --daemon`.
+ # Note: if you do that, you should also put "ssh-agent -k" as a shutdown script
+ #
+@@ -340,9 +435,9 @@
+ done
+ done
+
+-# Activate the kde font directories.
++# Activate the TDE font directories.
+ #
+-# There are 4 directories that may be used for supplying fonts for KDE.
++# There are 4 directories that may be used for supplying fonts for TDE.
+ #
+ # There are two system directories. These belong to the administrator.
+ # There are two user directories, where the user may add her own fonts.
+@@ -365,33 +460,29 @@
+ do_usr_fdir=1
+ do_usr_odir=1
+ if test -r "$kde_fontpaths" ; then
+- savifs=$IFS
+- IFS="
++ savifs=$IFS
++ IFS="
+ "
+- for fpath in `grep -v '^[ ]*#' < "$kde_fontpaths"` ; do
+- rfpath=`echo $fpath | sed "s:^~:$HOME:g"`
+- if test -s "$rfpath"/fonts.dir; then
+- xset fp+ "$rfpath"
+- if test "$rfpath" = "$usr_fdir"; then
+- do_usr_fdir=0
+- fi
+- if test "$rfpath" = "$usr_odir"; then
+- do_usr_odir=0
+- fi
+- fi
+- done
+- IFS=$savifs
+-fi
+-
+-if [ ! -n "$KDEDIR" ]; then
+- export KDEDIR=`echo "$KDEDIRS" | sed -e 's/:.*//'`
++ for fpath in `grep -v '^[ ]*#' < "$kde_fontpaths"` ; do
++ rfpath=`echo $fpath | sed "s:^~:$HOME:g"`
++ if test -s "$rfpath"/fonts.dir; then
++ xset fp+ "$rfpath"
++ if test "$rfpath" = "$usr_fdir"; then
++ do_usr_fdir=0
++ fi
++ if test "$rfpath" = "$usr_odir"; then
++ do_usr_odir=0
++ fi
++ fi
++ done
++ IFS=$savifs
+ fi
+
+ echo "[startkde] KDEDIR: $KDEDIR" 1>&2
+ echo "[startkde] KDEDIRS: $KDEDIRS" 1>&2
+
+ if test -n "$KDEDIRS"; then
+- kdedirs_first=`echo "$KDEDIRS" | sed -e 's/:.*//'`
++ kdedirs_first=${KDEDIRS%%:*}
+ sys_odir=$kdedirs_first/share/fonts/override
+ sys_fdir=$kdedirs_first/share/fonts
+ else
+@@ -400,7 +491,7 @@
+ fi
+
+ if test -n "$KDEDIRS"; then
+- kdedirs_first=`echo "$KDEDIRS" | sed -e 's/:.*//'`
++ kdedirs_first=${KDEDIRS%%:*}
+ echo "[startkde] kdedirs_first: $kdedirs_first"
+ if [ -r $kdedirs_first/share/kgtk/preload ]; then
+ echo "[startkde] Reading from $kdedirs_first/share/kgtk/preload"
+@@ -412,8 +503,10 @@
+ fi
+ fi
+
+-if [ -n $KGTK_PRELOAD ]; then
+- if [ -e /usr/lib/libnspr4.so ]; then
++if [ "$KGTK_PRELOAD" != "" ]; then
++ if [ -e /usr/lib64/libnspr4.so ]; then
++ KGTK_NSPR_PRELOAD="/usr/lib64/libnspr4.so:"
++ elif [ -e /usr/lib/libnspr4.so ]; then
+ KGTK_NSPR_PRELOAD="/usr/lib/libnspr4.so:"
+ fi
+ export LD_PRELOAD=$KGTK_PRELOAD:$KGTK_NSPR_PRELOAD$LD_PRELOAD
+@@ -438,7 +531,7 @@
+
+ # Set a left cursor instead of the standard X11 "X" cursor, since I've heard
+ # from some users that they're confused and don't know what to do. This is
+-# especially necessary on slow machines, where starting KDE takes one or two
++# especially necessary on slow machines, where starting TDE takes one or two
+ # minutes until anything appears on the screen.
+ #
+ # If the user has overwritten fonts, the cursor font may be different now
+@@ -446,7 +539,7 @@
+ #
+ xsetroot -cursor_name left_ptr
+
+-# Get Ghostscript to look into user's KDE fonts dir for additional Fontmap
++# Get Ghostscript to look into user's TDE fonts dir for additional Fontmap
+ if test -n "$GS_LIB" ; then
+ GS_LIB=$usr_fdir:$GS_LIB
+ export GS_LIB
+@@ -455,23 +548,23 @@
+ export GS_LIB
+ fi
+
+-# Link "tmp" "socket" and "cache" resources to directory in /tmp
++# Link "tmp" "socket" and "cache" resources to directory in $TMP
+ # Creates:
+-# - a directory /tmp/kde-$USER and links $KDEHOME/tmp-$HOSTNAME to it.
+-# - a directory /tmp/ksocket-$USER and links $KDEHOME/socket-$HOSTNAME to it.
+-# - a directory /var/tmp/kdecache-$USER and links $KDEHOME/cache-$HOSTNAME to it.
+-# Note: temporary locations can be overriden through the KDETMP and KDEVARTMP
++# - a directory $TMP/kde-$USER and is linked from $KDEHOME/tmp-$HOSTNAME to it.
++# - a directory $TMP/ksocket-$USER and is linked from $KDEHOME/socket-$HOSTNAME to it.
++# - a directory /var/tmp/kdecache-$USER and is linked from $KDEHOME/cache-$HOSTNAME to it.
++# Note: temporary locations can be overridden through the KDETMP and KDEVARTMP
+ # environment variables.
+ for resource in tmp cache socket; do
+ if ! lnusertemp $resource >/dev/null; then
+ echo "[startkde] Call to lnusertemp failed (temporary directories full?). Check your installation." 1>&2
+- xmessage -geometry 600x100 "Call to lnusertemp failed (temporary directories full?). Check your installation."
++ xmessage -center -geometry 600x100 "Call to lnusertemp failed (temporary directories full?). Check your installation."
+ exit 1
+ fi
+ done
+
+ # In case of dcop sockets left by a previous session, cleanup.
+-dcopserver_shutdown
++$KDEDIR/bin/dcopserver_shutdown
+
+ echo '[startkde] Starting Trinity...' 1>&2
+
+@@ -481,26 +574,26 @@
+ # Run KPersonalizer before the session if this is the first login.
+ if test "$kpersonalizerrc_general_firstlogin" = "true"; then
+ if [ ! -x $KDEDIR/bin/kpersonalizer ]; then
+- echo "[startkde] kpersonalizer not found! Please install it in order to properly configure your user profile." 1>&2
++ echo "[startkde] kpersonalizer not found! Please install in order to properly configure your user profile." 1>&2
+ else
+ # start only dcopserver, don't start whole kdeinit (takes too long)
+ echo "[startkde] Running kpersonalizer..." 1>&2
+- dcopserver
+- kwin --lock &
+- kpersonalizer --before-session
++ $KDEDIR/bin/dcopserver
++ $KDEDIR/bin/kwin --lock &
++ $KDEDIR/bin/kpersonalizer --before-session
+ # handle kpersonalizer restarts (language change)
+ while test $? -eq 1; do
+- kpersonalizer --r --before-session
++ $KDEDIR/bin/kpersonalizer --r --before-session
+ done
+- dcopquit kwin
+- dcopserver_shutdown --wait
++ $KDEDIR/bin/dcopquit kwin
++ $KDEDIR/bin/dcopserver_shutdown --wait
+ fi
+ fi
+
+ # Remove moodin cache if we have a new wallpaper installed, jriddell. Distro-specific.
+-if [ -d $kdehome/share/apps/ksplash/cache/Moodin/kubuntu ]; then
+- if [ /usr/share/wallpapers/kubuntu-wallpaper.png -nt $kdehome/share/apps/ksplash/cache/Moodin/kubuntu/ ]; then
+- rm -rf $kdehome/share/apps/ksplash/cache/Moodin/kubuntu/
++if [ -d "$kdehome/share/apps/ksplash/cache/Moodin/kubuntu" ]; then
++ if [ /usr/share/wallpapers/kubuntu-wallpaper.png -nt "$kdehome/share/apps/ksplash/cache/Moodin/kubuntu/" ]; then
++ rm -rf "$kdehome/share/apps/ksplash/cache/Moodin/kubuntu/"
+ fi
+ fi
+
+@@ -508,25 +601,24 @@
+ # the splashscreen and progress indicator
+ case "$ksplashrc_ksplash_theme" in
+ None)
+- ;; # nothing
++ ;; # nothing
+ Simple)
+- if test "$kpersonalizerrc_general_firstlogin" = "true"; then
+- ksplashsimple
+- fi # otherwise started earlier
+- ;;
++ if test "$kpersonalizerrc_general_firstlogin" = "true"; then
++ $KDEDIR/bin/ksplashsimple
++ fi # otherwise started earlier
++ ;;
+ *)
+- ksplash --nodcop
+- ;;
++ $KDEDIR/bin/ksplash --nodcop
++ ;;
+ esac
+ fi
+
+-# Mark that full KDE session is running (e.g. Konqueror preloading works only
+-# with full KDE running). The TDE_FULL_SESSION property can be detected by
++# Mark that full TDE session is running (e.g. Konqueror preloading works only
++# with full TDE running). The TDE_FULL_SESSION property can be detected by
+ # any X client connected to the same X session, even if not launched
+-# directly from the KDE session but e.g. using "ssh -X", kdesu. $TDE_FULL_SESSION
++# directly from the TDE session but e.g. using "ssh -X", kdesu. $TDE_FULL_SESSION
+ # however guarantees that the application is launched in the same environment
+-# like the KDE session and that e.g. KDE utilities/libraries are available.
+-# TDE_FULL_SESSION property is also only available since KDE 3.5.5.
++# like the TDE session and that e.g. TDE utilities/libraries are available.
+ # The matching tests are:
+ # For $TDE_FULL_SESSION:
+ # if test -n "$TDE_FULL_SESSION"; then ... whatever
+@@ -534,32 +626,35 @@
+ # xprop -root | grep "^TDE_FULL_SESSION" >/dev/null 2>/dev/null
+ # if test $? -eq 0; then ... whatever
+ #
+-# Additionally there is (since KDE 3.5.7) $KDE_SESSION_UID with the uid
+-# of the user running the KDE session. It should be rarely needed (e.g.
++# Additionally there is $KDE_SESSION_UID with the uid of the user
++# running the TDE session. It should be rarely needed (for example,
+ # after sudo to prevent desktop-wide functionality in the new user's kded).
+ #
+ TDE_FULL_SESSION=true
+ export TDE_FULL_SESSION
+ xprop -root -f TDE_FULL_SESSION 8t -set TDE_FULL_SESSION true
+ echo "[startkde] TDE_FULL_SESSION: $TDE_FULL_SESSION" 1>&2
+-KDE_SESSION_UID=$UID
++KDE_SESSION_UID=`id -u`
+ export KDE_SESSION_UID
+ echo "[startkde] KDE_SESSION_UID: $KDE_SESSION_UID" 1>&2
+
+ # We set LD_BIND_NOW to increase the efficiency of kdeinit.
+ # kdeinit unsets this variable before loading applications.
+-LD_BIND_NOW=true start_kdeinit_wrapper --new-startup +kcminit_startup
++LD_BIND_NOW=true $KDEDIR/bin/start_kdeinit_wrapper --new-startup +kcminit_startup
+ if test $? -ne 0; then
+ # Startup error
+ echo '[startkde] Could not start kdeinit. Check your installation.' 1>&2
+- xmessage -geometry 500x100 "Could not start kdeinit. Check your installation."
++ xmessage -center -geometry 500x100 "Could not start kdeinit. Check your installation."
+ fi
+ echo "[startkde] kdeinit started successfully." 1>&2
+
+ # If the session should be locked from the start (locked autologin),
+-# lock now and do the rest of the KDE startup underneath the locker.
++# lock now and do the rest of the TDE startup underneath the locker.
++# FIXME
++# kdesktop needs to be notified of this locker process somehow so that
++# it does not attempt to launch its own locker process on startup!
+ if test -n "$dl"; then
+- kwrapper kdesktop_lock --forcelock &
++ $KDEDIR/bin/kwrapper kdesktop_lock --forcelock &
+ # Give it some time for starting up. This is somewhat unclean; some
+ # notification would be better.
+ sleep 1
+@@ -576,27 +671,27 @@
+ # started, any problems thereafter, e.g. ksmserver failing to initialize,
+ # will remain undetected.
+ test -n "$KDEWM" && KDEWM="--windowmanager $KDEWM"
+-kwrapper ksmserver $KDEWM
++$KDEDIR/bin/kwrapper ksmserver $KDEWM
+ if test $? -eq 255; then
+ # Startup error
+ echo '[startkde] Could not start ksmserver. Check your installation.' 1>&2
+- xmessage -geometry 500x100 "Could not start ksmserver. Check your installation."
++ xmessage -center -geometry 500x100 "Could not start ksmserver. Check your installation."
+ fi
+
+ # wait if there's any crashhandler shown
+-while dcop | grep -q ^drkonqi- ; do
+- sleep 5
++while $KDEDIR/bin/dcop | grep -q ^drkonqi- ; do
++ sleep 5
+ done
+
+ echo '[startkde] Shutting down Trinity...' 1>&2
+
+ # Clean up
+-kdeinit_shutdown
+-dcopserver_shutdown --wait
+-artsshell -q terminate
++$KDEDIR/bin/kdeinit_shutdown
++$KDEDIR/bin/dcopserver_shutdown --wait
++$KDEDIR/bin/artsshell -q terminate
+ # KDE4 support
+ if [ -f /usr/bin/kdeinit4_shutdown ]; then
+- kde4 kdeinit4_shutdown 2>/dev/null
++ /usr/bin/kde4 kdeinit4_shutdown 2>/dev/null
+ fi
+
+ echo '[startkde] Running Trinity shutdown scripts...' 1>&2
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/tqt3integration/module/module.cpp v3.5.13-sru/tqt3integration/module/module.cpp
+--- /tmp/stable//kdebase/tqt3integration/module/module.cpp 2011-10-23 21:47:03.000000000 +0200
++++ v3.5.13-sru/tqt3integration/module/module.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -57,8 +57,8 @@
+ KWin::setState( w->winId(), NET::Modal );
+ KWin::WindowInfo info = KWin::windowInfo( parent, (unsigned long)NET::WMGeometry );
+ if( info.valid())
+- w->move( info.tqgeometry().x() + ( info.tqgeometry().width() - w->width())/2,
+- info.tqgeometry().y() + ( info.tqgeometry().height()- w->height())/2 );
++ w->move( info.geometry().x() + ( info.geometry().width() - w->width())/2,
++ info.geometry().y() + ( info.geometry().height()- w->height())/2 );
+ }
+
+ // duped in qtkde
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/tqt3integration/utils/qt/in/qtkdeintegration_x11_1.cpp v3.5.13-sru/tqt3integration/utils/qt/in/qtkdeintegration_x11_1.cpp
+--- /tmp/stable//kdebase/tqt3integration/utils/qt/in/qtkdeintegration_x11_1.cpp 2011-10-23 21:47:03.000000000 +0200
++++ v3.5.13-sru/tqt3integration/utils/qt/in/qtkdeintegration_x11_1.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -56,7 +56,7 @@
+ static long parentToWinId( const TQWidget* w )
+ {
+ if( w != NULL )
+- return w->tqtopLevelWidget()->winId();
++ return w->topLevelWidget()->winId();
+ // try to find some usable parent
+ if( tqApp->activeWindow() && w != tqApp->activeWindow())
+ return tqApp->activeWindow()->winId();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/TRINITY.RELEASE v3.5.13-sru/TRINITY.RELEASE
+--- /tmp/stable//kdebase/TRINITY.RELEASE 2011-10-30 08:44:27.000000000 +0100
++++ v3.5.13-sru/TRINITY.RELEASE 1970-01-01 01:00:00.000000000 +0100
+@@ -1 +0,0 @@
+-3.5.13
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/tsak/CMakeLists.txt v3.5.13-sru/tsak/CMakeLists.txt
+--- /tmp/stable//kdebase/tsak/CMakeLists.txt 2011-09-16 04:01:43.000000000 +0200
++++ v3.5.13-sru/tsak/CMakeLists.txt 2012-07-31 17:17:50.000000000 +0200
+@@ -23,5 +23,6 @@
+
+ tde_add_executable( tsak
+ SOURCES main.cpp
++ LINK udev
+ DESTINATION ${BIN_INSTALL_DIR}
+ )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/tsak/main.cpp v3.5.13-sru/tsak/main.cpp
+--- /tmp/stable//kdebase/tsak/main.cpp 2011-09-27 00:37:49.000000000 +0200
++++ v3.5.13-sru/tsak/main.cpp 2012-07-31 17:17:50.000000000 +0200
+@@ -1,8 +1,8 @@
+ /*
+ Copyright 2010 Adam Marchetti
+-Copyright 2011 Timothy Pearson <kb9vqf@pearsoncomputing.net>
++Copyright 2011-2012 Timothy Pearson <kb9vqf@pearsoncomputing.net>
+
+-This file is part of tsak.
++This file is part of tsak, the TDE Secure Attention Key daemon
+
+ tsak is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as
+@@ -21,6 +21,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <exception>
+ #include <string.h>
+ #include <unistd.h>
+ #include <errno.h>
+@@ -35,9 +36,17 @@
+ #include <sys/time.h>
+ #include <termios.h>
+ #include <signal.h>
++#include <libudev.h>
++#include <libgen.h>
++
++using namespace std;
+
+ #define FIFO_DIR "/tmp/ksocket-global"
+ #define FIFO_FILE_OUT "/tmp/ksocket-global/tsak"
++#define FIFO_LOCKFILE_OUT "/tmp/ksocket-global/tsak.lock"
++
++#define MAX_KEYBOARDS 64
++#define MAX_INPUT_NODE 128
+
+ #define TestBit(bit, array) (array[(bit) / 8] & (1 << ((bit) % 8)))
+
+@@ -46,9 +55,18 @@
+ bool mPipeOpen_out = false;
+ int mPipe_fd_out = -1;
+
++int mPipe_lockfd_out = -1;
++
++char filename[32];
++char key_bitmask[(KEY_MAX + 7) / 8];
++
+ struct sigaction usr_action;
+ sigset_t block_mask;
+
++int keyboard_fd_num;
++int keyboard_fds[MAX_KEYBOARDS];
++int child_pids[MAX_KEYBOARDS];
++
+ const char *keycode[256] =
+ {
+ "", "<esc>", "1", "2", "3", "4", "5", "6", "7", "8",
+@@ -79,6 +97,57 @@
+ return a[i/CHAR_BIT] & (1 << i%CHAR_BIT);
+ }
+
++/* exception handling */
++struct exit_exception {
++ int c;
++ exit_exception(int c):c(c) { }
++};
++
++/* signal handler */
++void signal_callback_handler(int signum)
++{
++ // Terminate program
++ throw exit_exception(signum);
++}
++
++/* termination handler */
++void tsak_friendly_termination() {
++ int i;
++
++ // Close down all child processes
++ for (i=0; i<MAX_KEYBOARDS; i++) {
++ if (child_pids[i] != 0) {
++ kill(child_pids[i], SIGTERM);
++ }
++ }
++
++ // Wait for process termination
++ sleep(1);
++
++ fprintf(stderr, "tsak terminated by external request\n");
++ exit(17);
++}
++
++// --------------------------------------------------------------------------------------
++// Useful function from Stack Overflow
++// http://stackoverflow.com/questions/874134/find-if-string-endswith-another-string-in-c
++// --------------------------------------------------------------------------------------
++/* returns 1 iff str ends with suffix */
++int str_ends_with(const char * str, const char * suffix) {
++
++ if( str == NULL || suffix == NULL )
++ return 0;
++
++ size_t str_len = strlen(str);
++ size_t suffix_len = strlen(suffix);
++
++ if(suffix_len > str_len)
++ return 0;
++
++ return 0 == strncmp( str + str_len - suffix_len, suffix, suffix_len );
++}
++// --------------------------------------------------------------------------------------
++
+ /* Assign features (supported axes and keys) of the physical input device (devin)
+ * to the virtual input device (devout) */
+ static void copy_features(int devin, int devout)
+@@ -91,46 +160,61 @@
+ for(i=0;i<EV_MAX;++i) {
+ if (bit_set(i, evtypes)) {
+ switch(i) {
+- case EV_KEY: op = UI_SET_KEYBIT; break;
+- case EV_REL: op = UI_SET_RELBIT; break;
+- case EV_ABS: op = UI_SET_ABSBIT; break;
+- case EV_MSC: op = UI_SET_MSCBIT; break;
+- case EV_LED: op = UI_SET_LEDBIT; break;
+- case EV_SND: op = UI_SET_SNDBIT; break;
+- case EV_SW: op = UI_SET_SWBIT; break;
+- default: op = -1;
++ case EV_KEY: op = UI_SET_KEYBIT; break;
++ case EV_REL: op = UI_SET_RELBIT; break;
++ case EV_ABS: op = UI_SET_ABSBIT; break;
++ case EV_MSC: op = UI_SET_MSCBIT; break;
++ case EV_LED: op = UI_SET_LEDBIT; break;
++ case EV_SND: op = UI_SET_SNDBIT; break;
++ case EV_SW: op = UI_SET_SWBIT; break;
++ default: op = -1;
++ }
+ }
+- }
+- if (op == -1) continue;
+- ioctl(devout, UI_SET_EVBIT, i);
+- memset(codes,0,sizeof(codes));
+- if (ioctl(devin, EVIOCGBIT(i, sizeof(codes)), codes) < 0) return;
+- for(code=0;code<KEY_MAX;code++) {
+- if (bit_set(code, codes)) ioctl(devout, op, code);
++ if (op == -1) continue;
++ ioctl(devout, UI_SET_EVBIT, i);
++ memset(codes,0,sizeof(codes));
++ if (ioctl(devin, EVIOCGBIT(i, sizeof(codes)), codes) >= 0) {
++ for(code=0;code<KEY_MAX;code++) {
++ if (bit_set(code, codes)) ioctl(devout, op, code);
++ }
+ }
+ }
+ }
+
+-int find_keyboard() {
++int find_keyboards() {
+ int i, j;
+ int fd;
+- char filename[32];
+- char key_bitmask[(KEY_MAX + 7) / 8];
+-
+- for (i=0; i<32; i++) {
++ char name[256] = "Unknown";
++
++ keyboard_fd_num = 0;
++ for (i=0; i<MAX_KEYBOARDS; i++) {
++ keyboard_fds[i] = 0;
++ }
++
++ for (i=0; i<MAX_INPUT_NODE; i++) {
+ snprintf(filename,sizeof(filename), "/dev/input/event%d", i);
+-
++
+ fd = open(filename, O_RDWR|O_SYNC);
+ ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(key_bitmask)), key_bitmask);
+-
+- /* We assume that anything that has an alphabetic key in the
+- QWERTYUIOP range in it is the main keyboard. */
+- for (j = KEY_Q; j <= KEY_P; j++) {
+- if (TestBit(j, key_bitmask))
+- return fd;
++
++ // Ensure that we do not detect our own tsak faked keyboards
++ ioctl (fd, EVIOCGNAME (sizeof (name)), name);
++ if (str_ends_with(name, "+tsak") == 0) {
++ /* We assume that anything that has an alphabetic key in the
++ QWERTYUIOP range in it is the main keyboard. */
++ for (j = KEY_Q; j <= KEY_P; j++) {
++ if (TestBit(j, key_bitmask)) {
++ keyboard_fds[keyboard_fd_num] = fd;
++ }
++ }
++ }
++
++ if (keyboard_fds[keyboard_fd_num] == 0) {
++ close (fd);
++ }
++ else {
++ keyboard_fd_num++;
+ }
+-
+- close (fd);
+ }
+ return 0;
+ }
+@@ -144,18 +228,24 @@
+ }
+ }
+
++void tearDownLockingPipe()
++{
++ close(mPipe_lockfd_out);
++ unlink(FIFO_LOCKFILE_OUT);
++}
++
+ bool setFileLock(int fd, bool close_on_failure)
+ {
+ struct flock fl;
+-
++
+ fl.l_type = F_WRLCK;
+ fl.l_whence = SEEK_SET;
+ fl.l_start = 0;
+ fl.l_len = 1;
+
+ // Set the exclusive file lock
+- if (fcntl(mPipe_fd_out, F_SETLK, &fl) == -1) {
+- close(mPipe_fd_out);
++ if (fcntl(fd, F_SETLK, &fl) == -1) {
++ close(fd);
+ return false;
+ }
+
+@@ -171,7 +261,7 @@
+ fl.l_whence = SEEK_SET;
+ fl.l_len = 0;
+
+- int fd = open(FIFO_FILE_OUT, O_RDWR | O_NONBLOCK);
++ int fd = open(FIFO_LOCKFILE_OUT, O_RDWR | O_NONBLOCK);
+ fcntl(fd, F_GETLK, &fl); /* Overwrites lock structure with preventors. */
+
+ if (fd > -1) {
+@@ -189,10 +279,10 @@
+ /* Create the FIFOs if they do not exist */
+ umask(0);
+ mkdir(FIFO_DIR,0644);
+-
++
+ mknod(FIFO_FILE_OUT, S_IFIFO|0600, 0);
+ chmod(FIFO_FILE_OUT, 0600);
+-
++
+ mPipe_fd_out = open(FIFO_FILE_OUT, O_RDWR | O_NONBLOCK);
+ if (mPipe_fd_out > -1) {
+ mPipeOpen_out = true;
+@@ -202,182 +292,426 @@
+ return setFileLock(mPipe_fd_out, true);
+ }
+
++bool setupLockingPipe(bool writepid)
++{
++ /* Create the FIFOs if they do not exist */
++ umask(0);
++ mkdir(FIFO_DIR,0644);
++
++ mknod(FIFO_LOCKFILE_OUT, 0600, 0);
++ chmod(FIFO_LOCKFILE_OUT, 0600);
++
++ mPipe_lockfd_out = open(FIFO_LOCKFILE_OUT, O_RDWR | O_NONBLOCK);
++ if (mPipe_lockfd_out > -1) {
++ if (writepid) {
++ // Write my PID to the file
++ pid_t tsakpid = getpid();
++ char pidstring[1024];
++ sprintf(pidstring, "%d", tsakpid);
++ write(mPipe_lockfd_out, pidstring, strlen(pidstring));
++ }
++ // Set the exclusive file lock
++ return setFileLock(mPipe_lockfd_out, true);
++ }
++
++ return false;
++}
++
++void broadcast_sak()
++{
++ // Let anyone listening to our interface know that an SAK keypress was received
++ // I highly doubt there are more than 255 VTs active at once...
++ int i;
++ for (i=0;i<255;i++) {
++ if (write(mPipe_fd_out, "SAK\n\r", 6) < 0) {
++ fprintf(stderr, "Unable to send SAK signal to clients\n");
++ }
++ }
++}
++
++void restart_tsak()
++{
++ int i;
++
++ fprintf(stderr, "Forcibly terminating...\n");
++
++ // Close down all child processes
++ for (i=0; i<MAX_KEYBOARDS; i++) {
++ if (child_pids[i] != 0) {
++ kill(child_pids[i], SIGKILL);
++ }
++ }
++
++ // Wait for process termination
++ sleep(1);
++
++ // Release all exclusive keyboard locks
++ for (int current_keyboard=0;current_keyboard<keyboard_fd_num;current_keyboard++) {
++ if(ioctl(keyboard_fds[current_keyboard], EVIOCGRAB, 0) < 0) {
++ fprintf(stderr, "Failed to release exclusive input device lock");
++ }
++ close(keyboard_fds[current_keyboard]);
++ }
++
++#if 1
++ // Restart now
++ // Note that the execl function never returns
++ char me[2048];
++ int chars = readlink("/proc/self/exe", me, sizeof(me));
++ me[chars] = 0;
++ me[2047] = 0;
++ execl(me, basename(me), (char*)NULL);
++#else
++ _exit(0);
++#endif
++}
++
+ class PipeHandler
+ {
+ public:
+ PipeHandler();
+ ~PipeHandler();
++
++ bool active;
+ };
+
+ PipeHandler::PipeHandler()
+ {
++ active = false;
+ }
+
+ PipeHandler::~PipeHandler()
+ {
+- tearDownPipe();
++ if (active) {
++ tearDownPipe();
++ tearDownLockingPipe();
++ }
+ }
+
+ int main (int argc, char *argv[])
+ {
+ struct input_event ev[64];
+ struct input_event event;
+- struct uinput_user_dev devinfo={0};
+- int fd, devout, rd, value, size = sizeof (struct input_event);
++ struct input_event revev;
++ struct uinput_user_dev devinfo={{0},{0}};
++ int devout[MAX_KEYBOARDS], rd, i, size = sizeof (struct input_event);
+ char name[256] = "Unknown";
+ bool ctrl_down = false;
+ bool alt_down = false;
+ bool hide_event = false;
+ bool established = false;
+ bool testrun = false;
++ bool depcheck = false;
++ int current_keyboard;
++ bool can_proceed;
++
++ // Ignore SIGPIPE
++ signal(SIGPIPE, SIG_IGN);
++
++ // Register signal handlers
++ // Register signal and signal handler
++ signal(SIGINT, signal_callback_handler);
++ signal(SIGTERM, signal_callback_handler);
++
++ set_terminate(tsak_friendly_termination);
++
++ try {
++ for (i=0; i<MAX_KEYBOARDS; i++) {
++ child_pids[i] = 0;
++ }
+
+- if (argc == 2) {
+- if (strcmp(argv[1], "checkactive") == 0) {
+- testrun = true;
++ if (argc == 2) {
++ if (strcmp(argv[1], "checkactive") == 0) {
++ testrun = true;
++ }
++ if (strcmp(argv[1], "checkdeps") == 0) {
++ depcheck = true;
++ }
++ }
++
++ if (depcheck == false) {
++ // Check for existing file locks
++ if (!checkFileLock()) {
++ fprintf(stderr, "Another instance of this program is already running [1]\n");
++ return 8;
++ }
++ if (!setupLockingPipe(true)) {
++ fprintf(stderr, "Another instance of this program is already running [2]\n");
++ return 8;
++ }
+ }
+- }
+
+- // Check for existing file locks
+- if (!checkFileLock()) {
+- fprintf(stderr, "Another instance of this program is already running\n");
+- return 8;
+- }
+-
+- // Create the output pipe
+- PipeHandler controlpipe;
+- if (!setupPipe()) {
+- fprintf(stderr, "Another instance of this program is already running\n");
+- return 8;
+- }
+-
+- while (1) {
+- if ((getuid ()) != 0) {
+- printf ("You are not root! This WILL NOT WORK!\nDO NOT attempt to bypass security restrictions, e.g. by changing keyboard permissions or owner, if you want the SAK system to remain secure...\n");
+- return 5;
+- }
+-
+- // Open Device
+- fd = find_keyboard();
+- if (fd == -1) {
+- printf ("Could not find your keyboard!\n");
+- if (established)
+- sleep(1);
+- else
+- return 4;
++ // Create the output pipe
++ PipeHandler controlpipe;
++ if (depcheck == false) {
++ if (!setupPipe()) {
++ fprintf(stderr, "Another instance of this program is already running\n");
++ return 8;
++ }
+ }
+- else {
+- // Print Device Name
+- ioctl (fd, EVIOCGNAME (sizeof (name)), name);
+- fprintf(stderr, "Reading From : (%s)\n", name);
+-
+- // Create filtered virtual output device
+- devout=open("/dev/misc/uinput",O_WRONLY|O_NONBLOCK);
+- if (devout<0) {
+- perror("open(\"/dev/misc/uinput\")");
+- devout=open("/dev/uinput",O_WRONLY|O_NONBLOCK);
+- }
+- if (devout<0) {
+- fprintf(stderr,"Unable to open /dev/uinput or /dev/misc/uinput (char device 10:223).\nPossible causes:\n 1) Device node does not exist\n 2) Kernel not compiled with evdev [INPUT_EVDEV] and uinput [INPUT_UINPUT] user level driver support\n 3) Permission denied.\n");
+- perror("open(\"/dev/uinput\")");
++
++ while (1) {
++ if (depcheck == false) {
++ controlpipe.active = true;
++ }
++
++ if ((getuid ()) != 0) {
++ printf ("You are not root! This WILL NOT WORK!\nDO NOT attempt to bypass security restrictions, e.g. by changing keyboard permissions or owner, if you want the SAK system to remain secure...\n");
++ return 5;
++ }
++
++ // Find keyboards
++ find_keyboards();
++ if (keyboard_fd_num == 0) {
++ printf ("Could not find any usable keyboard(s)!\n");
++ if (depcheck == true) {
++ return 50;
++ }
++ // Make sure everyone knows we physically can't detect a SAK
++ // Before we do this we broadcast one so that active dialogs are updated appropriately
++ // Also, we keep watching for a keyboard to be added via a forked child process...
++ broadcast_sak();
+ if (established)
+ sleep(1);
+- else
+- return 3;
++ else {
++ int i=fork();
++ if (i<0) {
++ return 12; // fork failed
++ }
++ if (i>0) {
++ return 4;
++ }
++ sleep(1);
++ restart_tsak();
++ }
+ }
+ else {
+- if(ioctl(fd, EVIOCGRAB, 2) < 0) {
+- close(fd);
+- fprintf(stderr, "Failed to grab exclusive input device lock");
+- if (established)
+- sleep(1);
+- else
+- return 1;
+- }
+- else {
+- ioctl(fd, EVIOCGNAME(UINPUT_MAX_NAME_SIZE), devinfo.name);
+- strncat(devinfo.name, "+tsak", UINPUT_MAX_NAME_SIZE-1);
+- fprintf(stderr, "%s\n", devinfo.name);
+- ioctl(fd, EVIOCGID, &devinfo.id);
+-
+- copy_features(fd, devout);
+- write(devout,&devinfo,sizeof(devinfo));
+- if (ioctl(devout,UI_DEV_CREATE)<0) {
+- fprintf(stderr,"Unable to create input device with UI_DEV_CREATE\n");
++ fprintf(stderr, "Found %d keyboard(s)\n", keyboard_fd_num);
++
++ can_proceed = true;
++ for (current_keyboard=0;current_keyboard<keyboard_fd_num;current_keyboard++) {
++ // Print Device Name
++ ioctl (keyboard_fds[current_keyboard], EVIOCGNAME (sizeof (name)), name);
++ fprintf(stderr, "Reading from keyboard: (%s)\n", name);
++
++ // Create filtered virtual output device
++ devout[current_keyboard]=open("/dev/misc/uinput",O_RDWR|O_NONBLOCK);
++ if (devout[current_keyboard]<0) {
++ devout[current_keyboard]=open("/dev/uinput",O_RDWR|O_NONBLOCK);
++ if (devout[current_keyboard]<0) {
++ perror("open(\"/dev/misc/uinput\")");
++ }
++ }
++ if (devout[current_keyboard]<0) {
++ can_proceed = false;
++ fprintf(stderr, "Unable to open /dev/uinput or /dev/misc/uinput (char device 10:223).\nPossible causes:\n 1) Device node does not exist\n 2) Kernel not compiled with evdev [INPUT_EVDEV] and uinput [INPUT_UINPUT] user level driver support\n 3) Permission denied.\n");
++ perror("open(\"/dev/uinput\")");
+ if (established)
+ sleep(1);
+ else
+- return 2;
++ return 3;
+ }
+- else {
+- fprintf(stderr,"Device created.\n");
++ }
++ if (depcheck == true) {
++ return 0;
++ }
+
+- if (established == false) {
+- tearDownPipe();
+- int i=fork();
+- if (i<0) return 9; // fork failed
+- if (i>0) {
+- // close parent process
+- close(mPipe_fd_out);
+- return 0;
+- }
+- setupPipe();
++ if (can_proceed == true) {
++ for (current_keyboard=0;current_keyboard<keyboard_fd_num;current_keyboard++) {
++ if(ioctl(keyboard_fds[current_keyboard], EVIOCGRAB, 2) < 0) {
++ close(keyboard_fds[current_keyboard]);
++ fprintf(stderr, "Failed to grab exclusive input device lock");
++ if (established)
++ sleep(1);
++ else
++ return 1;
+ }
++ else {
++ ioctl(keyboard_fds[current_keyboard], EVIOCGNAME(UINPUT_MAX_NAME_SIZE), devinfo.name);
++ strncat(devinfo.name, "+tsak", UINPUT_MAX_NAME_SIZE-1);
++ fprintf(stderr, "%s\n", devinfo.name);
++ ioctl(keyboard_fds[current_keyboard], EVIOCGID, &devinfo.id);
++
++ copy_features(keyboard_fds[current_keyboard], devout[current_keyboard]);
++ if (write(devout[current_keyboard],&devinfo,sizeof(devinfo)) < 0) {
++ fprintf(stderr, "Unable to write to output device\n");
++ }
++ if (ioctl(devout[current_keyboard],UI_DEV_CREATE)<0) {
++ fprintf(stderr, "Unable to create input device with UI_DEV_CREATE\n");
++ if (established)
++ sleep(1);
++ else
++ return 2;
++ }
++ else {
++ fprintf(stderr, "Device created.\n");
+
+- established = true;
++ if (established == false) {
++ int i=fork();
++ if (i<0) return 9; // fork failed
++ if (i>0) {
++ child_pids[current_keyboard] = i;
++ continue;
++ }
++ setupLockingPipe(false);
++ }
+
+- if (testrun == true) {
+- return 0;
+- }
+-
+- while (1) {
+- if ((rd = read (fd, ev, size * 2)) < size) {
+- fprintf(stderr,"Read failed.\n");
+- break;
+- }
+-
+- value = ev[0].value;
+-
+- if (value != ' ' && ev[1].value == 0 && ev[1].type == 1){ // Read the key release event
+- if (keycode[(ev[1].code)]) {
+- if (strcmp(keycode[(ev[1].code)], "<control>") == 0) ctrl_down = false;
+- if (strcmp(keycode[(ev[1].code)], "<alt>") == 0) alt_down = false;
++ established = true;
++
++ if (testrun == true) {
++ return 0;
+ }
+- }
+- if (value != ' ' && ev[1].value == 1 && ev[1].type == 1){ // Read the key press event
+- if (keycode[(ev[1].code)]) {
+- if (strcmp(keycode[(ev[1].code)], "<control>") == 0) ctrl_down = true;
+- if (strcmp(keycode[(ev[1].code)], "<alt>") == 0) alt_down = true;
++
++ while (1) {
++ if ((rd = read (keyboard_fds[current_keyboard], ev, size)) < size) {
++ fprintf(stderr, "Read failed.\n");
++ break;
++ }
++
++ // Replicate LED events from the virtual keyboard to the physical keyboard
++ int rrd = read(devout[current_keyboard], &revev, size);
++ if (rrd >= size) {
++ if (revev.type == EV_LED) {
++ if (write(keyboard_fds[current_keyboard], &revev, sizeof(revev)) < 0) {
++ fprintf(stderr, "Unable to replicate LED event\n");
++ }
++ }
++ }
++
++ if (ev[0].value == 0 && ev[0].type == 1) { // Read the key release event
++ if (keycode[(ev[0].code)]) {
++ if (strcmp(keycode[(ev[0].code)], "<control>") == 0) ctrl_down = false;
++ if (strcmp(keycode[(ev[0].code)], "<alt>") == 0) alt_down = false;
++ }
++ }
++ if (ev[0].value == 1 && ev[0].type == 1) { // Read the key press event
++ if (keycode[(ev[0].code)]) {
++ if (strcmp(keycode[(ev[0].code)], "<control>") == 0) ctrl_down = true;
++ if (strcmp(keycode[(ev[0].code)], "<alt>") == 0) alt_down = true;
++ }
++ }
++
++ hide_event = false;
++ if (ev[0].value == 1 && ev[0].type == 1) { // Read the key press event
++ if (keycode[(ev[0].code)]) {
++ if (alt_down && ctrl_down && (strcmp(keycode[(ev[0].code)], "<del>") == 0)) {
++ hide_event = true;
++ }
++ }
++ }
++
++ if ((hide_event == false) && (ev[0].type != EV_LED) && (ev[1].type != EV_LED)) {
++ // Pass the event on...
++ event = ev[0];
++ if (write(devout[current_keyboard], &event, sizeof event) < 0) {
++ fprintf(stderr, "Unable to replicate keyboard event!\n");
++ }
++ }
++ if (hide_event == true) {
++ // Let anyone listening to our interface know that an SAK keypress was received
++ broadcast_sak();
++ }
+ }
+ }
+-
+- hide_event = false;
+- if (keycode[(ev[1].code)]) {
+- if (alt_down && ctrl_down && (strcmp(keycode[(ev[1].code)], "<del>") == 0)) {
+- hide_event = true;
++ }
++ }
++
++ // fork udev monitor process
++ int i=fork();
++ if (i<0) {
++ return 10; // fork failed
++ }
++ if (i>0) {
++ // Terminate parent
++ controlpipe.active = false;
++ return 0;
++ }
++
++ // Prevent multiple process instances from starting
++ setupLockingPipe(true);
++
++ // Wait a little bit so that udev hotplug can stabilize before we start monitoring
++ sleep(1);
++
++ fprintf(stderr, "Hotplug monitoring process started\n");
++
++ // Monitor for hotplugged keyboards
++ int j;
++ int hotplug_fd;
++ bool is_new_keyboard;
++ struct udev *udev;
++ struct udev_device *dev;
++ struct udev_monitor *mon;
++
++ // Create the udev object
++ udev = udev_new();
++ if (!udev) {
++ fprintf(stderr, "Cannot connect to udev interface\n");
++ return 11;
++ }
++
++ // Set up a udev monitor to monitor input devices
++ mon = udev_monitor_new_from_netlink(udev, "udev");
++ udev_monitor_filter_add_match_subsystem_devtype(mon, "input", NULL);
++ udev_monitor_enable_receiving(mon);
++
++ while (1) {
++ // Watch for input from the monitoring process
++ dev = udev_monitor_receive_device(mon);
++ if (dev) {
++ // If a keyboard was removed we need to restart...
++ if (strcmp(udev_device_get_action(dev), "remove") == 0) {
++ udev_device_unref(dev);
++ udev_unref(udev);
++ restart_tsak();
++ }
++
++ is_new_keyboard = false;
++ snprintf(filename,sizeof(filename), "%s", udev_device_get_devnode(dev));
++ udev_device_unref(dev);
++
++ // Print name of keyboard
++ hotplug_fd = open(filename, O_RDWR|O_SYNC);
++ ioctl(hotplug_fd, EVIOCGBIT(EV_KEY, sizeof(key_bitmask)), key_bitmask);
++
++ /* We assume that anything that has an alphabetic key in the
++ QWERTYUIOP range in it is the main keyboard. */
++ for (j = KEY_Q; j <= KEY_P; j++) {
++ if (TestBit(j, key_bitmask)) {
++ is_new_keyboard = true;
+ }
+ }
+-
+- if (hide_event == false) {
+- // Pass the event on...
+- event = ev[0];
+- write(devout, &event, sizeof event);
+- event = ev[1];
+- write(devout, &event, sizeof event);
++ ioctl (hotplug_fd, EVIOCGNAME (sizeof (name)), name);
++ close(hotplug_fd);
++
++ // Ensure that we do not detect our own tsak faked keyboards
++ if (str_ends_with(name, "+tsak") == 1) {
++ is_new_keyboard = false;
+ }
+- if (hide_event == true) {
+- // Let anyone listening to our interface know that an SAK keypress was received
+- // I highly doubt there are more than 255 VTs active at once...
+- int i;
+- for (i=0;i<255;i++) {
+- write(mPipe_fd_out, "SAK\n\r", 6);
+- }
++
++ // If a keyboard was added we need to restart...
++ if (is_new_keyboard == true) {
++ fprintf(stderr, "Hotplugged new keyboard: (%s)\n", name);
++ udev_unref(udev);
++ restart_tsak();
+ }
+ }
++ else {
++ fprintf(stderr, "No Device from receive_device(). A udev error has occurred; terminating hotplug monitoring process.\n");
++ return 11;
++ }
+ }
++
++ udev_unref(udev);
++
++ fprintf(stderr, "Hotplug monitoring process terminated\n");
+ }
+ }
+ }
+ }
++ catch(exit_exception& e) {
++ tsak_friendly_termination();
++ }
+
+ return 6;
+ }
diff --git a/redhat/kdebase/kdebase-3.5.13-sru-20120912.patch b/redhat/kdebase/kdebase-3.5.13-sru-20120912.patch
new file mode 100644
index 000000000..0406853b6
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-sru-20120912.patch
@@ -0,0 +1,37439 @@
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/applnk/kde-settings.menu v3.5.13-sru/applnk/kde-settings.menu
+--- /tmp/stable//kdebase/applnk/kde-settings.menu 2010-08-12 05:28:24.000000000 +0200
++++ v3.5.13-sru/applnk/kde-settings.menu 2012-09-08 19:41:29.000000000 +0200
+@@ -46,12 +46,19 @@
+ </Menu>
+ </Menu>
+ <Menu>
+- <Name>Peripherals</Name>
+- <Directory>kde-settings-peripherals.directory</Directory><!-- Rename KDE4? -->
++ <Name>Hardware</Name>
++ <Directory>kde-settings-hardware.directory</Directory>
+ <Include>
+- <Category>X-KDE-settings-peripherals</Category><!-- Remove KDE4 -->
++ <Category>X-KDE-settings-peripherals</Category>
+ <Category>X-KDE-settings-hardware</Category>
+ </Include>
++ <Menu>
++ <Name>Information</Name>
++ <Directory>kde-settings-information.directory</Directory>
++ <Include>
++ <Category>X-KDE-settings-information</Category>
++ </Include>
++ </Menu>
+ </Menu>
+ <Menu>
+ <Name>PowerControl</Name>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/CMakeLists.txt v3.5.13-sru/CMakeLists.txt
+--- /tmp/stable//kdebase/CMakeLists.txt 2011-10-24 02:08:24.000000000 +0200
++++ v3.5.13-sru/CMakeLists.txt 2012-09-08 19:41:29.000000000 +0200
+@@ -27,6 +27,7 @@
+ include( CheckLibraryExists )
+ include( CheckFunctionExists )
+ include( CheckStructHasMember )
++include( CheckTypeSize )
+
+
+ ##### include our cmake modules #################
+@@ -65,6 +66,9 @@
+ option( WITH_XRENDER "Enable xrender support" OFF )
+ option( WITH_XDAMAGE "Enable xdamage support" OFF )
+ option( WITH_XEXT "Enable xext support" OFF )
++option( WITH_XTEST "Enable xext support" OFF )
++option( WITH_XSCREENSAVER "Enable xscreensaver support" OFF )
++option( WITH_LIBART "Enable libart support (for SVG icons and wallpapers)" OFF )
+ option( WITH_LIBUSB "Enable control of some mouse models through libusb" OFF )
+ option( WITH_LIBRAW1394 "Enable visualization of ieee1394 devices through libraw1394" OFF )
+ option( WITH_SUDO_KDESU_BACKEND "Use sudo as backend for kdesu (default is su)" OFF )
+@@ -149,6 +153,8 @@
+ set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
+ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
+
++check_type_size( "long long" LONG_LONG )
++
+
+ ##### kdebase directories #######################
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/config.h.cmake v3.5.13-sru/config.h.cmake
+--- /tmp/stable//kdebase/config.h.cmake 2011-10-29 23:02:15.000000000 +0200
++++ v3.5.13-sru/config.h.cmake 2012-09-08 19:41:29.000000000 +0200
+@@ -1,5 +1,8 @@
+ #define VERSION "@VERSION@"
+
++// Defined if compiler supports long long type.
++#cmakedefine HAVE_LONG_LONG 1
++
+ // konsole
+ #cmakedefine HAVE_PROC_CWD 1
+
+@@ -15,6 +18,15 @@
+ // konsole, kdm, kxkb
+ #cmakedefine HAVE_XKB 1
+
++// kxkb
++#cmakedefine HAVE_XTEST 1
++
++// xscreensaver
++#cmakedefine HAVE_XSCREENSAVER 1
++
++// libart
++#cmakedefine HAVE_LIBART 1
++
+ // kdm, kioslave
+ #cmakedefine HAVE_TERMIOS_H 1
+
+@@ -114,6 +126,7 @@
+ #cmakedefine HAVE_SYSINFO 1
+ #cmakedefine HAVE_STRNLEN 1
+ #cmakedefine HAVE_GETIFADDRS 1
++#cmakedefine HAVE_CRYPT 1
+
+ #cmakedefine HAVE_SETUSERCONTEXT 1
+ #cmakedefine HAVE_GETUSERSHELL 1
+@@ -161,3 +174,6 @@
+
+ // kdm, kcontrol
+ #cmakedefine WITH_XRANDR "@WITH_XRANDR@"
++
++// tsak
++#cmakedefine BUILD_TSAK "@BUILD_TSAK@"
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ConfigureChecks.cmake v3.5.13-sru/ConfigureChecks.cmake
+--- /tmp/stable//kdebase/ConfigureChecks.cmake 2011-09-08 04:06:01.000000000 +0200
++++ v3.5.13-sru/ConfigureChecks.cmake 2012-09-08 19:41:29.000000000 +0200
+@@ -9,6 +9,8 @@
+ #
+ #################################################
+
++tde_setup_architecture_flags( )
++
+ # termios.h (kdm, kioslave)
+ if( BUILD_KDM OR BUILD_KIOSLAVES )
+ check_include_file( termios.h HAVE_TERMIOS_H )
+@@ -44,6 +46,15 @@
+ endif( )
+
+
++# udev (tsak)
++if( BUILD_TSAK )
++ pkg_search_module( UDEV libudev )
++ if( NOT UDEV_FOUND )
++ tde_message_fatal( "udev is required, but was not found on your system" )
++ endif( )
++endif( )
++
++
+ # xrender (kdesktop, konsole, kcontrol, kicker, kwin)
+ if( WITH_XRENDER OR BUILD_KDESKTOP OR BUILD_KONSOLE OR BUILD_KCONTROL OR BUILD_KICKER )
+ pkg_search_module( XRENDER xrender )
+@@ -100,12 +111,45 @@
+ # xext (kwin/kompmgr)
+ if( WITH_XEXT )
+ pkg_search_module( XEXT xext )
+- if( NOT XEXT_FOUND )
++ if( XEXT_FOUND )
++ set( HAVE_XEXT 1 )
++ else( XEXT_FOUND )
+ tde_message_fatal( "xext is requested, but was not found on your system" )
+ endif( )
+ endif( )
+
+
++# xtest (kxkb)
++if( WITH_XTEST )
++ pkg_search_module( XTEST xtst )
++ if( XTEST_FOUND )
++ set( HAVE_XTEST 1 )
++ else( XTEST_FOUND )
++ tde_message_fatal( "xtest is requested, but was not found on your system" )
++ endif( )
++endif( )
++
++
++# xscreensaver ()
++if( WITH_XSCREENSAVER )
++ check_library_exists( Xss XScreenSaverQueryInfo "" HAVE_XSSLIB )
++ if( HAVE_XSSLIB )
++ pkg_search_module( XSS xscrnsaver )
++ else( )
++ check_library_exists( Xext XScreenSaverQueryInfo "" HAVE_XSSLIB )
++ if( HAVE_XSSLIB )
++ pkg_search_module( XSS xext )
++ endif( )
++ endif( )
++ check_include_file( X11/extensions/scrnsaver.h HAVE_XSCREENSAVER_H )
++ if( HAVE_XSSLIB AND HAVE_XSCREENSAVER_H )
++ set( HAVE_XSCREENSAVER 1 )
++ else( )
++ tde_message_fatal( "xscreensaver is requested, but was not found on your system" )
++ endif( )
++endif( )
++
++
+ # GL
+ if( BUILD_KDESKTOP OR BUILD_KCONTROL OR BUILD_KSCREENSAVER )
+ check_library_exists( GL glXChooseVisual "" HAVE_GLXCHOOSEVISUAL )
+@@ -173,6 +217,16 @@
+ set( WITHOUT_ARTS 1 )
+ endif( )
+
++# libart
++
++if( WITH_LIBART )
++ pkg_search_module( LIBART libart-2.0 )
++ if( NOT LIBART_FOUND )
++ message(FATAL_ERROR "\nlibart-2.0 support are requested, but not found on your system" )
++ endif( NOT LIBART_FOUND )
++ set( HAVE_LIBART 1 )
++endif( WITH_LIBART )
++
+
+ # required stuff
+ find_package( TQt )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/doc/kcontrol/kcmaccess/index.docbook v3.5.13-sru/doc/kcontrol/kcmaccess/index.docbook
+--- /tmp/stable//kdebase/doc/kcontrol/kcmaccess/index.docbook 2010-08-12 05:29:46.000000000 +0200
++++ v3.5.13-sru/doc/kcontrol/kcmaccess/index.docbook 2012-09-08 19:41:29.000000000 +0200
+@@ -103,8 +103,8 @@
+ If this option is enabled, you can press and release the &Shift;,
+ &Alt; or &Ctrl; keys, and then press another key to get a key combo
+ (example: <keycombo action="simul">&Ctrl; &Alt;
+-<keycap>Del</keycap></keycombo> could be done with &Ctrl; then &Alt;
+-then <keycap>Del</keycap>).
++<keycap>Delete</keycap></keycombo> could be done with &Ctrl; then &Alt;
++then <keycap>Delete</keycap>).
+ </para>
+
+ <para>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/doc/kdm/index.docbook v3.5.13-sru/doc/kdm/index.docbook
+--- /tmp/stable//kdebase/doc/kdm/index.docbook 2011-08-21 09:08:15.000000000 +0200
++++ v3.5.13-sru/doc/kdm/index.docbook 2012-09-08 19:41:29.000000000 +0200
+@@ -18,9 +18,9 @@
+ <title>The &kdm; Handbook</title>
+
+ <authorgroup>
+-<author>
+-&Oswald.Buddenhagen; &Oswald.Buddenhagen.mail;
+-</author><!--
++<corpauthor>
++The &kde; Documentation Team
++</corpauthor><!--
+ <othercredit role="developer">
+ &Oswald.Buddenhagen; &Oswald.Buddenhagen.mail;
+ <contrib>Developer</contrib>
+@@ -49,16 +49,21 @@
+ <holder>&Lauri.Watts;</holder>
+ </copyright>
+
+-<date>2003-03-01</date>
+-<releaseinfo>0.05.02</releaseinfo>
++<copyright>
++<year>2011</year>
++<holder>The TDE Documentation Team</holder>
++</copyright>
++
++<date>2011-11-01</date>
++<releaseinfo>3.5.13</releaseinfo>
+
+ <abstract>
+-<para>This document describes &kdm; the &kde; Display Manager. &kdm;
++<para>This document describes &kdm;, the &kde; Display Manager. &kdm;
+ is also known as the <quote>Login Manager</quote>.</para>
+ </abstract>
+
+ <keywordset>
+-<keyword>KDE</keyword>
++<keyword>TDE</keyword>
+ <keyword>kdm</keyword>
+ <keyword>xdm</keyword>
+ <keyword>display manager</keyword>
+@@ -72,13 +77,13 @@
+
+ <para>&kdm; provides a graphical interface that allows you to log in to a
+ system. It prompts for login (username) and password, authenticates the user
+-and starts a <quote>session</quote>. &kdm; is superior to &xdm;, the X
++and starts a <quote>session</quote>. &kdm; is superior to &xdm;, the X
+ Display Manager, in a number of ways.</para>
+
+ </chapter>
+
+ <!-- Chapters to write -->
+-<!-- * Just enough config to get it to run and login to KDE
++<!-- * Just enough config to get it to run and login to TDE
+ * Adding more session types (GNOME, etc)
+ * Adding other customizations to XSession (ssh/gpg-agent, etc)
+ * Further customization to KDM (via the kcontrol module, and by
+@@ -136,7 +141,7 @@
+ </procedure>
+
+ <para>At this point, typing <userinput><command>startx</command></userinput>
+-on the commandline should start X, with a &kde; session. The next task is
++on the commandline should start X, with a &kde; session. The next task is
+ to try &kdm;.</para>
+
+ <para>As <systemitem class="username">root</systemitem>, type
+@@ -153,9 +158,9 @@
+ above for each of them.</para>
+
+ <note>
+-<para>This is a quick guide to getting up and running only. You probably
++<para>This is a quick guide to getting up and running only. You probably
+ will want to customize &kdm; further, for example, to hide the names of the
+-system accounts, to allow further sessions, and much more. Please read
++system accounts, to allow further sessions, and much more. Please read
+ through the rest of this manual to find out how to do these things.</para>
+ </note>
+
+@@ -164,8 +169,15 @@
+ <chapter id="login">
+ <title>The Login Window</title>
+
+-<para> The user interface to &kdm; consists of two dialog boxes. The main
+-dialog box has these controls:</para>
++<para>The &kdm; interface consists of two dialog boxes: a login dialog
++and a shutdown dialog.</para>
++
++<note><para>The &kdm; interface might be protected by the Trinity Secure Access
++Key (SAK) mechanism. When the SAK is enabled, users are prompted to press
++<keycombo action="simul">&Ctrl; &Alt;<keycap>Delete</keycap></keycombo>
++to obtain access to the &kdm; interface.</para></note>
++
++<para>The main login dialog box has these controls:</para>
+
+ <itemizedlist>
+ <listitem>
+@@ -296,43 +308,41 @@
+ <para>This chapter assumes that &kdm; is already up and running on your
+ system, and that you simply want to change its behavior in some way.</para>
+
+-<para>When &kdm; starts up, it reads its configuration from the folder
++<para>Upon starting, &kdm; reads its configuration from the folder
+ <filename class="directory">$KDEDIR/share/config/kdm/</filename> (this may
+ be <filename class="directory">/etc/trinity/kdm/</filename> or something else
+ on your system).</para>
+
+ <para>The main configuration file is &kdmrc;; all other files are
+ referenced from there and could be stored under any name anywhere on
+-the system - but usually that would not make much sense for obvious
++the system. Usually that would not make much sense for obvious
+ reasons (one particular exception is referencing configuration files
+-of an already installed &xdm; - however when a new &kdm; is installed,
++of an already installed &xdm;. However, when a new &kdm; is installed,
+ it will import settings from those files if it finds an already installed
+ &xdm;).</para>
+
+ <para>Since &kdm; must run before any user is logged in, it is not
+ associated with any particular user. Therefore, it is not possible to have
+-user-specific configuration files; all users share the common &kdmrc;. It
++user-specific configuration files; all users share the common &kdmrc;. It
+ follows from this that the configuration of &kdm; can only be altered by
+-those users that have write access to
++those users who have write access to
+ <filename>$<envar>KDEDIR</envar>/share/config/kdm/kdmrc</filename> (normally
+ restricted to system administrators logged in as <systemitem
+ class="username">root</systemitem>).</para>
+
+ <para>You can view the &kdmrc; file currently in use on your system, and you
+-can configure &kdm; by editing this file. Alternatively, you can use the
++can configure &kdm; by editing that file. Alternately, you can use the
+ graphical configuration tool provided by the &kcontrolcenter; (under
+ <menuchoice><guisubmenu>System Administration</guisubmenu><guimenuitem>Login
+-Manager</guimenuitem></menuchoice>), which is described in <ulink
+-url="help:/kcontrol/login-manager.html">the &kcontrolcenter; help files</ulink>.
++Manager</guimenuitem></menuchoice>), which is described in the next section.
+ </para>
+
+-<para>The remainder of this chapter describes configuration of &kdm;
+-via the &kcontrolcenter; module, and the <link linkend="kdm-files">next
++<para>The remainder of this chapter describes configuring &kdm;
++using the &kcontrolcenter; module, and the <link linkend="kdm-files">next
+ chapter</link> describes the options available in &kdmrc; itself. If
+ you only need to configure for local users, the &kcontrolcenter; module
+-should be sufficient for your needs. If you need to configure remote
+-logins, or have multiple &kdm; sessions running, you will need to read
+-on.</para>
++should be sufficient for your needs. If you need to configure remote
++logins, or have multiple &kdm; sessions running, you will need to continue reading.</para>
+
+ <sect1 id="kdm-kcontrol-module">
+ <sect1info>
+@@ -346,14 +356,15 @@
+ <title>The Login Manager &kcontrolcenter; Module</title>
+
+ <para>Using this module, you can configure the &kde; graphical login
+-manager, &kdm;. You can change how the login screen looks, who has
++manager, &kdm;. You can change how the login screen looks, who has
+ access using the login manager and who can shutdown the
+ computer.</para>
+
+ <note><para>All settings will be written to the configuration file
+ &kdmrc;, which in its original state has many comments to help you
+-configure &kdm;. Using this &kcontrolcenter; module will strip these
+-comments from the file. All available options in &kdmrc; are covered
++configure &kdm;. Using this &kcontrolcenter; module will strip these
++comments from the file. Consider making a backup of &kdmrc; before
++making changes. All available options in &kdmrc; are covered
+ in <xref linkend="kdm-files"/>.</para>
+
+ <para>The options listed in this chapter are cross referenced with
+@@ -376,8 +387,8 @@
+ the window.</para>
+
+ <note><para>If you are not currently logged in as a superuser, you
+-will need to click the <guibutton>Administrator Mode...</guibutton>
+-Button. You will then be asked for a superuser password. Entering a
++will need to select the <guibutton>Administrator Mode...</guibutton>
++Button. You will then be asked for a superuser password. Entering a
+ correct password will allow you to modify the settings of this
+ module.</para></note>
+
+@@ -388,15 +399,15 @@
+ &kde;'s graphical login manager.</para>
+
+ <para>The <guilabel>Greeting:</guilabel> is the title of the login
+- screen. Setting this is especially useful if you have many servers users
+- may log in to. You may use various placeholders, which are described
++ screen. Setting this is especially useful if you have many servers users
++ may log in to. You may use various placeholders, which are described
+ along with the corresponding key
+ <link linkend="option-greetstring"><option>GreetString</option></link>
+ in &kdmrc;.
+ </para>
+
+ <para>You can then choose to show either the current system time, a logo or
+-nothing special in the login box. Make your choice in the radio buttons
++nothing special in the login box. Make your choice in the radio buttons
+ labeled <guilabel>Logo area:</guilabel>. This corresponds to <link
+ linkend="option-logoarea"><option>LogoArea</option></link> in &kdmrc;</para>
+
+@@ -417,9 +428,9 @@
+ <filename>$<envar>KDEDIR</envar>/share/apps/kdm/pics/kdelogo.xpm</filename>
+ will be displayed.</para>
+
+-<para>Normally the login box is centered on the screen. Use the
++<para>Normally the login box is centered on the screen. Use the
+ <guilabel>Position:</guilabel> options if you want it to appear
+-elsewhere on the screen. You can specify the relative position
++elsewhere on the screen. You can specify the relative position
+ (percentage of the screen size) for the center of the login window,
+ relative to the top left of the display, in the fields labeled
+ <guilabel>X:</guilabel> and <guilabel>Y:</guilabel> respectively.
+@@ -439,18 +450,61 @@
+ your login box, corresponding to setting <option>Language</option> in
+ &kdmrc;.</para>
+
++<para>In this same section &kdm; can be configured to use a <guilabel>Secure
++Attention Key</guilabel> (SAK). A Secure Attention Key is a special key press
++to which only certain privileged applications are able to respond, such as the
++login and screen unlock dialogs. This mechanism prevents a malevolent user
++from creating an exact copy of the login screen to "sniff" or "phish" passwords
++or other sensitive information. The unprivileged copy is unable to detect the
++SAK key press, thereby providing a visible difference in operation to the
++user.</para>
++
++<para>When the Trinity SAK is enabled, users are prompted to press
++<keycombo action="simul">&Ctrl; &Alt;<keycap>Delete</keycap></keycombo>
++before sensitive information is requested.
++
++<screenshot>
++<screeninfo>The Trinity Secure Attention Key dialog</screeninfo>
++<mediaobject>
++<imageobject>
++<imagedata fileref="tsak.png" format="PNG"/>
++</imageobject>
++<textobject><phrase>The Trinity Secure Attention Key dialog</phrase>
++</textobject>
++</mediaobject>
++</screenshot>
++</para>
++
++<para>When SAK is enabled, and the
++<keycombo action="simul">&Ctrl; &Alt;<keycap>Delete</keycap></keycombo>
++dialog does not appear before sensitive information is requested, someone might
++be attempting to "phish" for that information. A prudent course of action would
++be to terminate the active X11 session via <keycombo action="simul">&Ctrl; &Alt;
++<keycap>Backspace</keycap></keycombo> or any other distribution-specific key press
++for this action, thereby restoring control to the kernel and base system.</para>
++
++<para>Generally, using the Trinity SAK is a good idea when supporting many
++graphical login accounts on a machine. For example, in enterprise environments
++or computer laboratories. When only one graphical login account is used, or
++only a few accounts in a controlled environment, such as with a home computer,
++Trinity SAK will not provide tangible benefits over the standard login
++methods.</para>
++
++<note><para>Trinity SAK requires evdev to be running and the Linux uinput kernel
++module to be loaded.</para></note>
++
+ </sect2>
+
+ <sect2 id="kdmconfig-font">
+ <title>Font</title>
+
+ <para>From this section of the module you can change the fonts used in the
+-login window. Only fonts available to all users are available here, not
++login window. Only fonts available to all users are available here, not
+ fonts you have installed on a per user basis.</para>
+
+ <para>You can select three different font styles from the drop down box
+ (<guilabel>General:</guilabel>, <guilabel>Failures:</guilabel>,
+-<guilabel>Greeting:</guilabel>). When you click on the
++<guilabel>Greeting:</guilabel>). When you click on the
+ <guibutton>Choose...</guibutton> button a dialog appears from which you can
+ select the new characteristics for the font style.</para>
+
+@@ -492,8 +546,8 @@
+ the color buttons and select a new color.</para>
+
+ <para>The drop down box above the color buttons provides you with several
+-different blend effects. Choose one from the list, and it will be
+-previewed on the small monitor at the top of the window. Your choices
++different blend effects. Choose one from the list, and it will be
++previewed on the small monitor at the top of the window. Your choices
+ are:</para>
+
+ <variablelist>
+@@ -507,24 +561,24 @@
+ <term>Pattern</term>
+ <listitem><para>By choosing this mode, you select two colors (using both color
+ buttons). </para> <para>You then select a pattern by clicking
+-<guilabel>Setup</guilabel>. This opens a new dialog window, which gives you
+-the opportunity to select a pattern. Simply click once on the pattern of your
++<guilabel>Setup</guilabel>. This opens a new dialog window, which gives you
++the opportunity to select a pattern. Simply click once on the pattern of your
+ choice, then click on <guilabel>OK</guilabel>, and &kde; will render the pattern
+-you selected using the two colors you selected. For more on patterns, see the
++you selected using the two colors you selected. For more on patterns, see the
+ section <ulink url="help:/kcontrol/background/index.html#bkgnd-patterns">Background: Adding, Removing and Modifying
+ Patterns</ulink>.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Background Program</term>
+ <listitem><para>By selecting this option, you can have &kde; use an external
+-program to determine the background. This can be any program of your choosing.
++program to determine the background. This can be any program of your choosing.
+ For more information on this option, see the section entitled <ulink
+ url="help:/kcontrol/background/index.html#bkgnd-programs">Background: Using an external program</ulink>.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Horizontal Gradient</term>
+ <listitem><para>By choosing this mode, you select two colors (using both color
+-buttons). &kde; will then start with the color selected by <guilabel>Color
++buttons). &kde; will then start with the color selected by <guilabel>Color
+ 1</guilabel> on the left edge of the screen, and slowly transform into the
+ color selected by <guilabel>Color 2</guilabel> by the time it gets to the
+ right edge of the screen.</para></listitem>
+@@ -532,7 +586,7 @@
+ <varlistentry>
+ <term>Vertical Gradient</term>
+ <listitem><para>By choosing this mode, you select two colors (using both color
+-buttons). &kde; will then start with the color selected by <guilabel>Color
++buttons). &kde; will then start with the color selected by <guilabel>Color
+ 1</guilabel> on the top edge of the screen, and slowly transform into the color
+ selected by <guilabel>Color 2</guilabel> as it moves to the bottom of the
+ screen.</para></listitem>
+@@ -540,7 +594,7 @@
+ <varlistentry>
+ <term>Pyramid Gradient</term>
+ <listitem><para>By choosing this mode, you select two colors (using both color
+-buttons). &kde; will then start with the color selected by <guilabel>Color
++buttons). &kde; will then start with the color selected by <guilabel>Color
+ 1</guilabel> in each corner of the screen, and slowly transform into the color
+ selected by <guilabel>Color 2</guilabel> as it moves to the center of the
+ screen.</para></listitem>
+@@ -548,7 +602,7 @@
+ <varlistentry>
+ <term>Pipecross Gradient</term>
+ <listitem><para>By choosing this mode, you select two colors (using both color
+-buttons). &kde; will then start with the color selected by <guilabel>Color
++buttons). &kde; will then start with the color selected by <guilabel>Color
+ 1</guilabel> in each corner of the screen, and slowly transform into the color
+ selected by <guilabel>Color 2</guilabel> as it moves to the center of the
+ screen. The <quote>shape</quote> of this gradient is different then the pyramid
+@@ -557,7 +611,7 @@
+ <varlistentry>
+ <term>Elliptic Gradient</term>
+ <listitem><para>By choosing this mode, you select two colors (using both color
+-buttons). &kde; will then start with the color selected by <guilabel>Color
++buttons). &kde; will then start with the color selected by <guilabel>Color
+ 2</guilabel> in the center of the screen, and slowly transform into the color
+ selected by <guilabel>Color 1</guilabel> as it moves to the edges, in an
+ elliptical pattern.</para></listitem>
+@@ -565,7 +619,7 @@
+ </variablelist>
+
+ <para>The setup button is only needed for if you select <guilabel>Background
+-program</guilabel> or <guilabel>Patterns</guilabel>. In these instances,
++program</guilabel> or <guilabel>Patterns</guilabel>. In these instances,
+ another window will appear to configure the specifics.</para>
+ <para><emphasis>Wallpaper</emphasis></para>
+ <para>To select a new background image first, click on the
+@@ -577,11 +631,11 @@
+ <variablelist>
+ <varlistentry>
+ <term>No wallpaper</term>
+-<listitem><para>No image is displayed. Just the background colors.</para>
++<listitem><para>No image is displayed. Just the background colors.</para>
+ </listitem></varlistentry>
+ <varlistentry>
+ <term>Centered</term>
+-<listitem><para>The image will be centered on the screen. The background colors
++<listitem><para>The image will be centered on the screen. The background colors
+ will be present anywhere the image does not cover.</para> </listitem>
+ </varlistentry>
+ <varlistentry>
+@@ -598,14 +652,14 @@
+ </varlistentry>
+ <varlistentry>
+ <term>Centered Maxpect</term>
+-<listitem><para>The image will be placed in the center of the screen. It will
++<listitem><para>The image will be placed in the center of the screen. It will
+ be scaled to fit the desktop, but it will not change the aspect ratio of the
+-original image. This will provide you with an image that is not distorted.
++original image. This will provide you with an image that is not distorted.
+ </para> </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>Scaled</term>
+-<listitem><para>The image will be scaled to fit the desktop. It will be
++<listitem><para>The image will be scaled to fit the desktop. It will be
+ stretched to fit all four corners.</para> </listitem>
+ </varlistentry>
+ </variablelist>
+@@ -620,7 +674,7 @@
+ <itemizedlist>
+ <listitem>
+ <para><guilabel>Nobody</guilabel>: No one can shutdown the computer using
+-&kdm;. You must be logged in, and execute a command.</para>
++&kdm;. You must be logged in, and execute a command.</para>
+ </listitem>
+ <listitem>
+ <para><guilabel>Everybody</guilabel>: Everyone can shutdown the computer using
+@@ -639,14 +693,14 @@
+ define the exact shutdown command.</para> <para>The
+ <guilabel>Halt:</guilabel> command defaults to <!-- Are these defaults still
+ correct? they disagree with what's in --> <!-- kdmrc -->
+-<command>/sbin/halt</command>. The <guilabel>Restart:</guilabel> command
++<command>/sbin/halt</command>. The <guilabel>Restart:</guilabel> command
+ defaults to
+ <command>/sbin/reboot</command>.</para>
+
+ <para>When <guilabel>Show boot options</guilabel> is enabled, &kdm;
+ will on reboot offer you options for the lilo boot manager. For this
+ feature to work, you will need to supply the correct paths to your
+-<command>lilo</command> command and to lilo's map file. Note that this
++<command>lilo</command> command and to lilo's map file. Note that this
+ option is not available on all operating systems.</para>
+
+ </sect2>
+@@ -658,7 +712,7 @@
+ login window.</para>
+
+ <para>You may disable the user list in &kdm; entirely in the
+-<guilabel>Show Users</guilabel> section. You can choose from:</para>
++<guilabel>Show Users</guilabel> section. You can choose from:</para>
+
+ <variablelist>
+ <varlistentry>
+@@ -685,18 +739,18 @@
+
+ <para>Independently of the users you specify by name, you can use the
+ <guilabel>System UIDs</guilabel> to specify a range of valid
+-<acronym>UID</acronym>s that are shown in the list. By default user
++<acronym>UID</acronym>s that are shown in the list. By default user
+ id's under 1000, which are often system or daemon users, and user id's
+ over 65000, are not shown.</para>
+
+ <para>You can also enable the <guilabel>Sort users</guilabel>
+-checkbox, to have the user list sorted alphabetically. If this is
++checkbox, to have the user list sorted alphabetically. If this is
+ disabled, users will appear in the order they are listed in the
+-password file. &kdm; will also autocomplete user names if you enable the
++password file. &kdm; will also autocomplete user names if you enable the
+ <guilabel>Autocompletion</guilabel> option.</para>
+
+ <para>If you choose to show users, then the login window will show
+-images (which you select), of a list of users. When someone is ready
++images (which you select), of a list of users. When someone is ready
+ to login, they may select their user name/image, enter their password,
+ and they are granted access.</para>
+
+@@ -704,12 +758,12 @@
+ for those images.</para>
+
+ <para>You can configure the admin picture here, for each user on the
+-system. Depending on the order selected above, users may be able to
++system. Depending on the order selected above, users may be able to
+ override your selection.</para>
+
+ <para>If you choose not to show users, then the login window will be
+-more traditional. Users will need to type their username and password
+-to gain entrance. This is the preferred way if you have many users on
++more traditional. Users will need to type their username and password
++to gain entrance. This is the preferred way if you have many users on
+ this terminal.</para>
+
+ </sect2>
+@@ -725,13 +779,13 @@
+ options. Every option in the <guilabel>Convenience</guilabel> tab is
+ well-suited to seriously compromise your system security. Practically,
+ these options are only to be used in a completely non-critical
+-environment, &eg; a private computer at home. </para></important>
++environment, &eg; a private computer at home. </para></important>
+
+ <sect3 id="loginmanager-convenience-autologin">
+ <title>Automatic Login</title>
+
+ <para>Automatic login will give anyone access to a certain account on
+-your system without doing any authentication. You can enable it using
++your system without doing any authentication. You can enable it using
+ the option <guilabel>Enable Auto-login</guilabel>.</para>
+
+ <para>You can choose the account to be used for automatic login from
+@@ -748,7 +802,7 @@
+
+ <para>Below this option you'll see a list of users on the system.
+ Enable password-less login for specific users by checking the checkbox
+-next to the login names. By default, this feature is disabled for
++next to the login names. By default, this feature is disabled for
+ all users.</para>
+
+ <important><para>Again, this option should only be used in a safe
+@@ -762,7 +816,7 @@
+ can choose <guilabel>Previous</guilabel> to have &kdm; default to the
+ last successfully logged in user, or you can
+ <guilabel>Specify</guilabel> a particular user to always be selected
+-from the list. You can also have &kdm; set the focus to the password
++from the list. You can also have &kdm; set the focus to the password
+ field, so that when you reach the &kdm; login screen, you can type the
+ password immediately.</para>
+
+@@ -793,7 +847,7 @@
+
+ <para>The fundamental thing that controls whether your computer boots to a
+ terminal prompt (console mode) or a graphical login prompt is the default
+-runlevel. The runlevel is set by the program <application> <ulink
++runlevel. The runlevel is set by the program <application> <ulink
+ url="man:init">/sbin/init</ulink></application> under the control of the
+ configuration file <filename>/etc/inittab</filename>. The default runlevels
+ used by different &UNIX; systems (and different &Linux; distributions) vary,
+@@ -860,7 +914,7 @@
+ </screen>
+
+ <para>If you get a &kdm; login dialog and you are able to log in,
+-things are going well. The main thing that can go wrong here is that
++things are going well. The main thing that can go wrong here is that
+ the run-time linker might not find the shared &Qt; or &kde; libraries.
+ If you have a binary distribution of the &kde; libraries, make sure
+ &kdm; is installed where the libraries believe &kde; is installed and
+@@ -954,7 +1008,7 @@
+
+ <para>If this step is unsuccessful the most likely problem is that the
+ environment used at boot time differs from the environment that you used for
+-testing at the command line. If you are trying to get two versions of &kde;
++testing at the command line. If you are trying to get two versions of &kde;
+ to co-exist, be particularly careful that the settings you use for your
+ <envar>PATH</envar> and <envar>LD_LIBRARY_PATH</envar> environment variables
+ are consistent, and that the startup scripts are not over-riding them in
+@@ -968,7 +1022,7 @@
+ <title>Supporting multiple window managers</title>
+
+ <para>&kdm; detects most available window manager and desktop environments when
+-it is run. Installing a new one should make it automatically available in
++it is run. Installing a new one should make it automatically available in
+ the &kdm; main dialog <guilabel>Session Type:</guilabel>.</para>
+
+ <para>If you have a very new window manager, or something that &kdm; does
+@@ -1031,9 +1085,9 @@
+ <para>To override a session type, copy the .desktop file from the data dir
+ to the config dir and edit it at will. Removing the shipped session types
+ can be accomplished by <quote>shadowing</quote> them with .desktop files
+-containing Hidden=true. For the magic session types no .desktop files exist
++containing Hidden=true. For the magic session types no .desktop files exist
+ by default, but &kdm; pretends they would, so you can override them like any
+-other type. I guess you already know how to add a new session type by
++other type. I guess you already know how to add a new session type by
+ now. ;-)</para>
+
+ </chapter>
+@@ -1042,20 +1096,20 @@
+ <title>Using &kdm; for Remote Logins (&XDMCP;)</title>
+
+ <para>&XDMCP; is the Open Group standard, the <quote>X Display Manager
+-Control Protocol</quote>. This is used to set up connections between
++Control Protocol</quote>. This is used to set up connections between
+ remote systems over the network.</para>
+
+ <para>&XDMCP; is useful in multiuser situations where there are users
+ with workstations and a more powerful server that can provide the
+-resources to run multiple X sessions. For example, &XDMCP; is a good
++resources to run multiple X sessions. For example, &XDMCP; is a good
+ way to reuse old computers - a Pentium or even 486 computer with 16 Mb
+ RAM is sufficient to run X itself, and using &XDMCP; such a computer can
+-run a full modern &kde; session from a server. For the server part,
++run a full modern &kde; session from a server. For the server part,
+ once a single &kde; (or other environment) session is running, running
+ another one requires very few extra resources.</para>
+
+ <para>However, allowing another method of login to your machine
+-obviously has security implications. You should run this service only
++obviously has security implications. You should run this service only
+ if you need to allow remote X Servers to start login sessions on your
+ system. Users with a single &UNIX; computer should not need to run
+ this.</para>
+@@ -1079,8 +1133,8 @@
+ <literal>rw-rw-rw-</literal> (0666). This is because some systems don't care
+ for the file permission of the socket files.</para>
+
+-<para>There are two types of sockets: the global one (dmctl) and the
+-per-display ones (dmctl-&lt;display&gt;).</para>
++<para>There are two types of sockets: the global one (kdmctl) and the
++per-display ones (kdmctl-&lt;display&gt;).</para>
+
+ <para>The global one's subdir is owned by root, the subdirs of the per-display
+ ones' are owned by the user currently owning the session (root or the
+@@ -1201,9 +1255,9 @@
+ <term><command>list</command> [<parameter>all</parameter> |
+ <parameter>alllocal</parameter>]</term>
+ <listitem>
+-<para>Return a list of running sessions. By default all active sessions are
+-listed. if <parameter>all</parameter> is specified, passive sessions are
+-listed as well. If <parameter>alllocal</parameter> is specified, passive
++<para>Return a list of running sessions. By default all active sessions are
++listed. if <parameter>all</parameter> is specified, passive sessions are
++listed as well. If <parameter>alllocal</parameter> is specified, passive
+ sessions are listed as well, but all incoming remote sessions are
+ skipped.</para>
+ <para>Each session entry is a comma separated tuple of:</para>
+@@ -1272,14 +1326,14 @@
+ <para>An OS choice for the next boot may be specified from the list returned
+ by <command>listbootoptions</command></para>
+ <para>Shutdowns requested from per-display sockets are executed when the
+-current sessino on that display exits. Such a request may pop up a dialog
++current sessino on that display exits. Such a request may pop up a dialog
+ asking for confirmation and/or authentication</para>
+ <para><parameter>start</parameter> is the time for which the shutdown is
+-scheduled. If it starts with a plus-sign, the current time is added. Zero
++scheduled. If it starts with a plus-sign, the current time is added. Zero
+ means immediately.</para>
+ <para><parameter>end</parameter> is the latest time at which the shutdown
+-should be performed if active sessions are still running. If it starts with
+-a plus-sign, the start time is added. -1 means wait infinitely. If end is
++should be performed if active sessions are still running. If it starts with
++a plus-sign, the start time is added. -1 means wait infinitely. If end is
+ through and active sessions are still running, &kdm; can do one of the
+ following:</para>
+ <itemizedlist>
+@@ -1288,7 +1342,7 @@
+ <listitem><para><parameter>force</parameter> - shut down
+ nonetheless</para></listitem>
+ <listitem><para><parameter>forcemy</parameter> - shut down nonetheless if
+-all active sessions belong to the requesting user. Only for per-display sockets.</para></listitem>
++all active sessions belong to the requesting user. Only for per-display sockets.</para></listitem>
+ </itemizedlist>
+ <para><parameter>start</parameter> and <parameter>end</parameter> are
+ specified in seconds since the &UNIX; epoch.</para>
+@@ -1297,7 +1351,7 @@
+ force</parameter> and <parameter>schedule</parameter> for <parameter>0
+ -1</parameter>.</para>
+ <para><parameter>ask</parameter> attempts an immediate shutdown and
+-interacts with the user if active sessions are still running. Only for
++interacts with the user if active sessions are still running. Only for
+ per-display sockets.</para>
+ </listitem>
+ </varlistentry>
+@@ -1378,9 +1432,9 @@
+ <sect1 id="dm-themes">
+ <title>Themes</title>
+
+-&kdm; has limited support for desktop manager themes. You may enable them
++&kdm; has limited support for desktop manager themes. You may enable them
+ by adding <userinput>UseTheme=true</userinput> to <filename>kdmrc</filename>
+-and <userinput>Theme=/path/to/theme.xml</userinput>.
++and <userinput>Theme=/path/to/theme.xml</userinput>.
+ </sect1>
+ -->
+ </chapter>
+@@ -1405,8 +1459,8 @@
+ <para>&kdm; is derived from, and includes code from,
+ &xdm; (C) Keith Packard, MIT X Consortium.</para>
+
+-<para>&kdm; 0.1 was written by &Matthias.Ettrich;. Later versions till &kde;
+-2.0.x were written by &Steffen.Hansen;. Some new features for &kde; 2.1.x and
++<para>&kdm; 0.1 was written by &Matthias.Ettrich;. Later versions till &kde;
++2.0.x were written by &Steffen.Hansen;. Some new features for &kde; 2.1.x and
+ a major rewrite for &kde; 2.2.x made by &Oswald.Buddenhagen;.</para>
+
+ <para>Other parts of the &kdm; code are copyright by the authors, and
+@@ -1428,7 +1482,7 @@
+
+ <listitem><para>Documentation revised for &kde; 2 by &Neal.Crook; &Neal.Crook.mail;. Last update August 6, 2000</para></listitem>
+
+-<listitem><para>Documentation extended and revised for &kde; 2.2 by &Oswald.Buddenhagen; &Oswald.Buddenhagen.mail;. Last update August,
++<listitem><para>Documentation extended and revised for &kde; 2.2 by &Oswald.Buddenhagen; &Oswald.Buddenhagen.mail;. Last update August,
+ 2001</para></listitem>
+
+ </itemizedlist></para>
+@@ -1457,7 +1511,7 @@
+ <glossentry>
+ <glossterm id="gloss-entropy">entropy</glossterm>
+ <glossdef><para>The entropy of a system is the measure of its
+-unpredictability. This is used during the generation of random numbers.</para></glossdef>
++unpredictability. This is used during the generation of random numbers.</para></glossdef>
+ </glossentry>
+
+ </glossary>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/doc/kdm/tsak.png v3.5.13-sru/doc/kdm/tsak.png
+--- /tmp/stable//kdebase/doc/kdm/tsak.png 1970-01-01 01:00:00.000000000 +0100
++++ v3.5.13-sru/doc/kdm/tsak.png 2012-09-08 19:41:29.000000000 +0200
+@@ -0,0 +1,69 @@
++‰PNG
++
++
++2
++A$+0ØtBЦ#‚üëI§£MGù÷ƒãtAçÇé‚ ÎCê8=g¬‘nœÚS¸è6iÝç”Aä߉Թ— SzÝ'¯Ï^‰
++Èc9¼|p­@ÉJÆÛ·Oï˜Þ–mРkµ\
++VÆ^>x*Ö€ÜÕ¿ŒÙu*wn/Ë6ÏAÄ^> ]ú2M¿ÌåÛ+‡¾_u2šWµï7¨OU_WŸBÃëžù1œÈR¾UMÁ ¿¿zxÔÊ1àÙqà ÓCV6n»Ê.ôq‘j¼zT-
++ ·Úä‡@Þô)Ë5R­&EAÄa²fô¥–U
++e,æF¬ŠÈSC
++Ó§¬6£ÔÒAlç½<»u±pÙ¿ÍßP½Zùz•K ð”ƒ>:ê]DÄջξã]}s©@¦äÔ¦þº«]“êµJçcµ‰—Ïž˜ûçÍ}kª
++Ë™B!Ï]R¢
++f”Dîê‘K$:oáB} ê›>ðåÕð‰'£d~Å€(!f¥X*A ¬«»¯ÕM,H(‚x¹R¤²7%‚ ˆ½|RŸ“¶EÔ(âUµT?wYJRÒógÏOŸ>»ýì#ÆÍß×C!Sºà(A$3|Rßuï"_®<}h©F«Q§ð<% +Wºªü º«Ü¹«‹B–3<s ‚ü[qø¼É•§pJR@cø"adJw¹ϘEÉ,éÆéÉñ1Ÿ HV®4;÷D¯IÒk¬'FADpóô1½M;/%9>f|˼Ÿ\AÄqfí{mjÖÍ5 ‚ ÿ^Ц#‚8hÓAœ´é‚ ÎÚtAçm:‚ ˆó€6AÄy@›Ž â< MGqЦ#‚8²Œ“Xpôü‡ û#ï<JPkyBR=¹ ˆpj/Í%$505 !©O’zÖLj¸õĆ¼ÀUÁ”Rµý&­
++~YÓ
++„
++@ 69õš
++O9
++<&ÍRÂ
++„!„a%8NG1Çîq:€`VI‚–7mIÒsY;nNÑèŒq„NSð,a Ž6AÄ »çÓ)†"c“ÓϽ¨5ÔÃEž…’iu|ŠšRƒM7ŽÖ !À§#‚XÁî¹
++öÓ†0 “¢5ÙdHÁMåvá=\ŒJü®šßÃ(õÅÇ Œñµ#
++—î}Q½Žûáÿ2yÜ…Ûþ®Sšæßq#æØزAª×±:>%Þ4+9è9Z£œÿG±ÞŠ¾µsçóRQ.rf\óÂc7ßû¨ç NæÓy 2BC¨íaz™à†Rêr'"\J2cnÓKÏAŸ¹xꬑ?/u,[‘‚ŒB™ÜÝÃ+ ê_}ݵsH%›UÅI‘DJ£ey;8€DL¨t2¯rÿr‚ÚäLì§ „aa‰VŸz’‹ðQñÓ´r–t®äÛ¦¬·‹œ™väMtlú×>)h9hVÊ«w?9CÌ,´^ÏÇ&¨µ:BŒfO?Ÿþ¯ž{¹{ôϧ­{œ¨™¥PJ96>:êNtÔë[Öï´äç6e¼2~òSñiÚq2PmDpä=R†! Ëêô&(õ¢¿,î£rI—§‹œ
++(üEŸ~ìì T¿wÕ╻ϼˆV•(ß}ȈŽÕÍŠ“¨]¥²õñÁ/c#í{aÃ2zJ goQšúò>F±öÔ›™ŠÀíW ÷¾ÖpLêÑéæûdô
++ÛôfÖ y'_ Oo_ž6´¿ãÎÓ† RµËQ©Kìó1Mˆð&'QÈÀ–—O G£„ã Fa
++Ãó P(C©ŒBóeÕ̳ña<
++ÿùœpQ{Lmr6òEŸúÂŇ+g A”›Ýó{“\ /Îöì¹Üø®ðýãƒ^¥óà{ÿ¸vñÈs»w.WÍW
++±Ä>›`xçÈEΰBX Œ°g¥DÁ©W
++€?Ͻ~›"ç)áyà)áxBÓÓ %:=ÏñÀqÀóÀéañ_/8žzºÉë–ñâbRø˜dªÖ " : cˆa4‹šÀˆÜ­Ô’ ë¯_:rõäö•#Kdü
++‘)U¥«×_¼n`®"_tí?xÉÏm­šøêx—é
++ÒNnœK!c8žî¹‘È1üQa;y:#Ì z
++:t<hyPë^½Hºxÿ
++ðum\³ào›n&&P†‚á8F4ö§Wr·û\É/ÜÓ•”Þlå@:ÞEú”tÝw?E¯Žþ{ó»‘]]“ßí9­
++±ÄÎùôÔí†r–qa‰ k>K.Ÿ¤W°DÎ9 Ã
++
++÷r–ŒQwñOK¯IøG¸¹/13HÔ<_R^|¡á➬;ÿ¶è⧉
++<¥²c/cæ í-ËP˜.ý·˜{`Ûz^J
++׬2Ÿeé•=å
++jXÖ4‡#¬x x}ýÊy
++vœÒ>ÐÊ[…”Ò£«ç]=ß4ÐÅ'xV]© ˜á¡»™Ù
++­ôürDQÏù ]•»u‡¬x7ÒáæÊn¤k—½ˆ||»ç^(
++Ç/ã
++-WC¸Ž¾¿eòÃb©­vèµ`qïÚÖ7³;rë5¬FMm_Ê,DîVpÎúI™Üן…´ ýÚx]ãG+Ç¿8†cÍ•íHÖ.{ùø.v`
++A¹=Ú•‹Ý÷
++QÂÜ ðœñÚ7ÐcáØêÇ/{qãçüÁõ`óÈÖóo
++<<­NŸW–غªWÛº•åé_c©T&°Y™È½×t`xm•Þ8%PJ ï9­«ýUº#Å a¯ü¹„Aä߈#¾ë(
++ø½x£'Ê|…‹…´ì0¢ÓgÚ®€ È¿æ^¥Âq»„ãAÏ`,´9ì~—憳•uzþ÷=÷žé=™|ÇõGåüaX›fVxÕžÛ\ø¨Wê~|ú¹¾ßämbxü÷­G&ÒiÚî x
++–o‡Éî1ñj³ÜöEDs>ùËC’ÝrÏ;ž4xú±û?¬Ü±1BMyê{FÆÓÒ
++<,,,1¹Èðpåiºóµï?‹a=Giê\˜¬¶¸0îb4κ€é8=;ü!‚üÛ±sîE0»”€œ%„PÐÊOAFgË,O³.Xsáí"ÆÍóÅëx_7
++yî9ùòñ«×/abÜ¢bðOgò>¿éær“Ó íÂàà‚"¸7O·w1Ý…LÆ̯jX¹$tAK9ï%¸´OpiŸ,AÉ$vžŸŽ ‚ä`Ц#‚8hÓAœ´é‚ ÎÚtAçÁ¾}/Fí‚ 9œÿ¦³ûlú³Aþ-àÜ ‚ ˆó€6AÄy@›Ž â< MGqЦ#‚8hÓAœ´é‚ ÎÚtAçm:‚ ˆó€6AÄy@›Ž â< MGqìöGjz4#Ã0r¥‹o@PH».c»ÔÈRÁáþ™°„_¹ó<6QãîX±zÍžºUÏë*Ä>8¾dņ9+׊g"TPúie¼îCíÚ]bõ<«ÈuúÌo–XÍJbéfÏ
++B®îù
++–hñmç­*JÜj-ì•DzΙ!›²Eÿ™§ó<¯II~óüÞúù¡ý7=É*™ãÌòÐ6#~;tþ·¸$=§‹zu2l{߶=¶=N4é?3,âe–—uuY¬ž
++IÉá8hÓïD„߉¿uéใ«'u­
++!¬\îP UŸVõ(
++
++iD¢ÌÐ
++G¨…™¨ÒÑ%ß[™$s)8²°'
++óÙUZ+¶ÔŠ~þàÜ•W.ŸÙ~{í”é#,2£sQk7¢OÌ9+ÓF© ‘{:N»;d@÷f¢Sêf¢JçÏ•­†ß^~
++§#ŸV0pü¤ã?·âÔà8AÄy@›Ž â< MGqЦ#‚8hÓAœ´é‚ ÎÚtAçm:‚ ˆó€6AÄy@›Ž â< MGqЦ#‚8hÓAœ´é‚ ÎÚtAçm:‚ ˆó€6AÄy°ÏÏQ™à†¶¢îD„— nx'"ÜÖƒ¶¢œÇê›…­ô_kð;Ø_HVaŸM7U;»´õAä€s/‚ ÎCÛô‹»×wëØ­r2Á ËVm±øÔ[!ÜtÒæå©õÁUCÊ7,_³M»3Ÿ%YͪLpÃgǶ~Û²}¹ªMt³ùÜ[Ó¨ËÛ–7 i]®z³]V
++OŽoëúíw«5­÷í¨µ'^™fõêÂþ=zW®Ñ¤q×q«ÝMuvOŽ]*UoZ¯ýÈu'_g(¤DáEšB¤P)u—.€)çÖüoÀò –n+JDSR>®Ö|•Yàåi½{0de«,çôŒ!VûÚ,¥mÙhøÆ¥Úv®X-¤RvGÌÿ'N+DØÕ¿ë4¹Ÿ¢h"ÊÕèøNG…[]òÝŠ_È°v–Uxs)¬_—î«5ú²iÿÙ[#¬¶§ˆœ Þ6ÞÞvÎPQ‘HÛôAK¯·zêä¡;áç¶_þ}?Ë4­¾ßÜkîú;áWOl×"×ؾólåÖv➦£§_¾°oå ·ðÇ‹4…¹G3oÓ¦+á«'þÐ
++‘B¥Ô]º
++oW;KTT$§‘Å6½ÿª©mj•P)
++‘B¥Ô]º
++{”¿y± kgV…ð êÏÚ¬B>9«(Y½éï3jت»-9ÅúѶÂÛÕÎÉid±MïRÀ=Ã4¿¶:™ô"lï‘Óÿ<Nä¨HÊßä6^ûWî÷x‡ñ¶c «iÊ­¯’VòMK\¥[Bäázã³Ä!UýŒQ.¾õþ9þ³p½áYâˆþÆ(¿r]ãŸíRºð¶šB¤PSlÕ]º
++z­å…Á 11¯ÿ(\¿Ðp¦Q¦<×p¿ldB#.¤tám5…H¡¦Øª»t®nž¹8ªÖܺëdž¿™Û0O†¥‹ &Ò¦°Êü#rº—Ò©”«LŸühÁ ÿÓŽ„(‘>Ǭ¯-±%[ÌÝ}ßõ_Î(Q¶xáâ%¾5³kÎÝ…(»ú×-°eò»É
++˜$–¹²U5[rŠt–ˆÂ‹c&¤DEErYlÓ¥ÀÈ|'N™
++o )…‚„ºg(À†Ñõ
++àï¼>††íò.ÑÀÞÚ@ß2ÞK.§5uô­-ÖÑL‘ÎQx3ÄÛY¢¢"9Ï`ÓÇ6j9çÀõxµ
++
++ãƒ"Þ„%zCi(%[VÄ®þ26£]îÈË7|rô®í;W¬Þ¬n»‘ë/~¼hSÇ6ËW 1k3Dj!%C‘¦3ÁºFYÖ×4Ûú ¯/îíÕ±kÅjMj·ôë®›¶> Y'pH-âÞ–xÒ+hŠ˜ÚöÇm—Óm{ÍQö‘©qúˆpñ”ÚNÜ3lÖôuŠ¾¾v|ÔÈìæ-‚ ÝFîѬ޴©°KâùÇ.êÐöǹÓWVÉÿæÖé†bÖnî^D5±©÷ÌóQK¿6÷þÒÈÛ±¹¯ÒVz!Y‡I'˜<q^Å®ryr}“ïû ½¼ßLZáúЯóèµIÿ„oÐw^ÃŒ|{Zbµ ¼/¸ü·¥¥óy«cßÛ¾hH¿ç¶}gWcZz=ô¡ËªS)ÓÌcîni?éĤ³×TÌùÏñQ£ò«6÷)éiµaMó7½½ºnÊ›FÝ„k‘Ƽ!‡.˜µ´¬ÿ“+GG¶é Y[M-Þ‰f‘Ø_–Íh–xëu[òpþÜEÁAª N4b°WÑj‹®¨PÀû•Iû›!^ 2´Š-ÿ ÚÒϤ7GÚþ6vÁÌs?¹txÄ÷c¬>.]'ÅÁ*"!Q<‘
++šaKyâŸînõÃÞ‘ÓÇΫYBÿáÑ/ßÿ42qÁ‚ö„§$Ú¨ «/QȬ"{÷2JwmË¡m™Ý®þvÌøÔÁ·¾ßB$½ÀwËB›W-â*'®®E°UˆwcéØòRm—;c«Dßüs£ª{³T§w")ݲ8J¶¬ˆÃý%Ý9
++>fá"é€7dC&ÖJº£döî-àpëÙ"Ë}1[m:’¨6¦ô+íµòfŒñöÃu›Ý*1sA¤#¤‹g/fÊ#Ý7dÂ?û'&³6=Ÿ‚9ñ*1éí«±Ò‹;´­öCó½ÂN‘˜^Š´5;æþXÄ»±H†âiÄ.wÆF4±W—Ý.»¸o%Ë(‘Æ”î Y¤^8J¶$óÞ½k=2ï‹YŠŽ‰h”Dµ1¥ÁŒ~§œöO¤ŽÓ?¹zlÐ÷'lM•HÌÜFééâIÄ–òˆø㶫Ž9Êwfç^¦÷®3üÛo@yóœE”î˜XÜ¡­*_§€ˆŸÊúHL/EZ‰Îšs,âÝX$CñÆ4b—;c#«ÏÜv?nÛ²tÂ65‘Æ”î Y¤^8J¶$óÞ½k=SES¤è˜ˆFITSÜëï˜ôÓÏã'<Žr(Ôfø¬‡ófYM)1sA¤#¤‹'[Ê#âÛ®::¬ÙáM7}L£ó_ùW KºU£Íáˆ#6§>/9\¼ÏŽ™é1© ȧ¤uí&ó\‹IÖåÞ?¿3Ìôš;|n¡ÒÈáâåpð¼ùϱzɨ©K–7õ"ACý kÑyÌ¢¶>·Piäpñr8ÙhÓqâAr&~B~[’qºÏD/‡ƒs/‚ ÎÚtAçm:‚ ˆó€6AÄy@›Ž â< MGqЦ#‚8hÓAœ´é‚ ÎÚtAçm:‚ ˆó€6AÄyH;ÃËÍÓgÖ¾L99DA>1nžé¼QÊDâA›õòñç•AÉ<
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/doc/konqueror/filemanager.docbook v3.5.13-sru/doc/konqueror/filemanager.docbook
+--- /tmp/stable//kdebase/doc/konqueror/filemanager.docbook 2010-08-12 05:29:49.000000000 +0200
++++ v3.5.13-sru/doc/konqueror/filemanager.docbook 2012-09-08 19:41:29.000000000 +0200
+@@ -355,9 +355,9 @@
+ <quote><guimenuitem>Move to Trash</guimenuitem></quote> and
+ <quote><guimenuitem>Delete</guimenuitem></quote> options.</para>
+
+-<para><keycap>Del</keycap> will move the selected item or items to Trash.</para>
++<para><keycap>Delete</keycap> will move the selected item or items to Trash.</para>
+
+-<para><keycombo action="simul">&Shift;<keycap>Del</keycap></keycombo>
++<para><keycombo action="simul">&Shift;<keycap>Delete</keycap></keycombo>
+ will really, truly and irrevocably delete the selected item or
+ items.</para>
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/doc/userguide/kde-for-admins.docbook v3.5.13-sru/doc/userguide/kde-for-admins.docbook
+--- /tmp/stable//kdebase/doc/userguide/kde-for-admins.docbook 2011-08-21 09:08:15.000000000 +0200
++++ v3.5.13-sru/doc/userguide/kde-for-admins.docbook 2012-09-08 19:41:29.000000000 +0200
+@@ -332,7 +332,7 @@
+ </varlistentry>
+
+ <varlistentry>
+-<term><filename class="directory">share/doc/HTML</filename></term>
++<term><filename class="directory">share/doc/tde/HTML</filename></term>
+ <listitem><para>This directory contains documentation for &kde;
+ applications. Documentation is categorized by language and the
+ application it belongs to. Normally at least two files can be found in
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/drkonqi/backtrace.cpp v3.5.13-sru/drkonqi/backtrace.cpp
+--- /tmp/stable//kdebase/drkonqi/backtrace.cpp 2011-08-11 07:25:54.000000000 +0200
++++ v3.5.13-sru/drkonqi/backtrace.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -42,7 +42,7 @@
+ BackTrace::BackTrace(const KrashConfig *krashconf, TQObject *parent,
+ const char *name)
+ : TQObject(parent, name),
+- m_krashconf(krashconf), m_temp(0)
++ m_krashconf(krashconf), m_temp(NULL), m_temp_cmd(NULL)
+ {
+ m_proc = new KProcess;
+ }
+@@ -64,6 +64,7 @@
+ }
+
+ delete m_temp;
++ delete m_temp_cmd;
+ }
+
+ void BackTrace::start()
+@@ -92,14 +93,45 @@
+ ::write(handle, "\n", 1);
+ ::fsync(handle);
+
++ // build the debugger command
++ TQString str = m_krashconf->debuggerBatch();
++ m_krashconf->expandString(str, true, m_temp->name());
++
++ // write the debugger command
++ m_temp_cmd = new KTempFile(TQString::null, TQString::null, 0700);
++ m_temp_cmd->setAutoDelete(TRUE);
++ handle = m_temp_cmd->handle();
++ const char* dbgcommand = str.latin1();
++ ::write(handle, dbgcommand, strlen(dbgcommand)); // the command to execute the debugger
++ ::write(handle, "\n", 1);
++ ::fsync(handle);
++ m_temp_cmd->close();
++
++ // determine if yama has been used to prevent ptrace as normal user
++ bool need_root_access = false;
++ TQFile yamactl("/proc/sys/kernel/yama/ptrace_scope");
++ if (yamactl.exists()) {
++ if (yamactl.open(IO_ReadOnly)) {
++ TQTextStream stream(&yamactl);
++ TQString line;
++ line = stream.readLine();
++ if (line.toInt() != 0) {
++ need_root_access = true;
++ }
++ yamactl.close();
++ }
++ }
++
+ // start the debugger
+ m_proc = new KProcess;
+ m_proc->setUseShell(true);
+
+- TQString str = m_krashconf->debuggerBatch();
+- m_krashconf->expandString(str, true, m_temp->name());
+-
+- *m_proc << str;
++ if (need_root_access == false) {
++ *m_proc << m_temp_cmd->name();
++ }
++ else {
++ *m_proc << "kdesu -t --comment \"" << i18n("Administrative access is required to generate a backtrace") << "\" -c \"" << m_temp_cmd->name() << "\"";
++ }
+
+ connect(m_proc, TQT_SIGNAL(receivedStdout(KProcess*, char*, int)),
+ TQT_SLOT(slotReadInput(KProcess*, char*, int)));
+@@ -112,9 +144,16 @@
+ void BackTrace::slotReadInput(KProcess *, char* buf, int buflen)
+ {
+ TQString newstr = TQString::fromLocal8Bit(buf, buflen);
+- m_strBt.append(newstr);
+-
+- emit append(newstr);
++ newstr.replace("\n\n", "\n");
++ if (m_strBt.isEmpty()) {
++ if (newstr == "\n") {
++ newstr = "";
++ }
++ }
++ if (!newstr.startsWith(": ")) {
++ m_strBt.append(newstr);
++ emit append(newstr);
++ }
+ }
+
+ void BackTrace::slotProcessExited(KProcess *proc)
+@@ -175,7 +214,7 @@
+ --len;
+ }
+ m_strBt.remove( pos, len );
+- m_strBt.insert( pos, TQString::tqfromLatin1( "[KCrash handler]\n" ));
++ m_strBt.insert( pos, TQString::fromLatin1( "[KCrash handler]\n" ));
+ }
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/drkonqi/backtrace.h v3.5.13-sru/drkonqi/backtrace.h
+--- /tmp/stable//kdebase/drkonqi/backtrace.h 2011-03-12 07:58:20.000000000 +0100
++++ v3.5.13-sru/drkonqi/backtrace.h 2012-09-08 19:41:29.000000000 +0200
+@@ -61,6 +61,7 @@
+ KProcess *m_proc;
+ const KrashConfig *m_krashconf;
+ KTempFile *m_temp;
++ KTempFile *m_temp_cmd;
+ TQString m_strBt;
+ };
+ #endif
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/drkonqi/debugger.cpp v3.5.13-sru/drkonqi/debugger.cpp
+--- /tmp/stable//kdebase/drkonqi/debugger.cpp 2011-08-11 07:25:54.000000000 +0200
++++ v3.5.13-sru/drkonqi/debugger.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -60,9 +60,9 @@
+ TQWidget *w = new TQWidget( this );
+ ( new TQHBoxLayout( w, 0, KDialog::marginHint() ) )->setAutoAdd( true );
+ m_status = new TQLabel( w );
+- m_status->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred ) );
++ m_status->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred ) );
+ //m_copyButton = new KPushButton( KStdGuiItem::copy(), w );
+- KGuiItem item( i18n( "C&opy" ), TQString::tqfromLatin1( "editcopy" ) );
++ KGuiItem item( i18n( "C&opy" ), TQString::fromLatin1( "editcopy" ) );
+ m_copyButton = new KPushButton( item, w );
+ connect( m_copyButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotCopy() ) );
+ m_copyButton->setEnabled( false );
+@@ -109,7 +109,7 @@
+ }
+ else
+ {
+- TQString defname = m_krashconf->execName() + TQString::tqfromLatin1( ".kcrash" );
++ TQString defname = m_krashconf->execName() + TQString::fromLatin1( ".kcrash" );
+ if( defname.contains( '/' ))
+ defname = defname.mid( defname.findRev( '/' ) + 1 );
+ TQString filename = KFileDialog::getSaveFileName(defname, TQString::null, this, i18n("Select Filename"));
+@@ -208,7 +208,7 @@
+ bool KrashDebugger::performChecks( TQString* msg )
+ {
+ bool ret = true;
+- KConfig kdedcfg( TQString::tqfromLatin1( "kdedrc" ), true );
++ KConfig kdedcfg( TQString::fromLatin1( "kdedrc" ), true );
+ kdedcfg.setGroup( "General" );
+ if( kdedcfg.readBoolEntry( "DelayedCheck", false ))
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/drkonqi/krashconf.cpp v3.5.13-sru/drkonqi/krashconf.cpp
+--- /tmp/stable//kdebase/drkonqi/krashconf.cpp 2011-03-12 07:58:20.000000000 +0100
++++ v3.5.13-sru/drkonqi/krashconf.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -93,12 +93,12 @@
+
+ // maybe we should check if it's relative?
+ TQString configname = config->readEntry("ConfigName",
+- TQString::tqfromLatin1("enduser"));
++ TQString::fromLatin1("enduser"));
+
+ TQString debuggername = config->readEntry("Debugger",
+- TQString::tqfromLatin1("gdb"));
++ TQString::fromLatin1("gdb"));
+
+- KConfig debuggers(TQString::tqfromLatin1("debuggers/%1rc").arg(debuggername),
++ KConfig debuggers(TQString::fromLatin1("debuggers/%1rc").arg(debuggername),
+ true, false, "appdata");
+
+ debuggers.setGroup("General");
+@@ -112,7 +112,7 @@
+ m_neededInValidBacktraceRegExp = debuggers.readEntry("NeededInValidBacktraceRegExp");
+ m_kcrashRegExp = debuggers.readEntry("KCrashRegExp");
+
+- KConfig preset(TQString::tqfromLatin1("presets/%1rc").arg(configname),
++ KConfig preset(TQString::fromLatin1("presets/%1rc").arg(configname),
+ true, false, "appdata");
+
+ preset.setGroup("ErrorDescription");
+@@ -138,7 +138,7 @@
+ TQString str = TQString::number(m_signalnum);
+ // use group unknown if signal not found
+ if (!preset.hasGroup(str))
+- str = TQString::tqfromLatin1("unknown");
++ str = TQString::fromLatin1("unknown");
+ preset.setGroup(str);
+ m_signalName = preset.readEntry("Name");
+ if (b)
+@@ -149,13 +149,13 @@
+ void KrashConfig :: expandString(TQString &str, bool shell, const TQString &tempFile) const
+ {
+ TQMap<TQString,TQString> map;
+- map[TQString::tqfromLatin1("appname")] = TQString::tqfromLatin1(appName());
+- map[TQString::tqfromLatin1("execname")] = startedByKdeinit() ? TQString::tqfromLatin1("kdeinit") : m_execname;
+- map[TQString::tqfromLatin1("signum")] = TQString::number(signalNumber());
+- map[TQString::tqfromLatin1("signame")] = signalName();
+- map[TQString::tqfromLatin1("progname")] = programName();
+- map[TQString::tqfromLatin1("pid")] = TQString::number(pid());
+- map[TQString::tqfromLatin1("tempfile")] = tempFile;
++ map[TQString::fromLatin1("appname")] = TQString::fromLatin1(appName());
++ map[TQString::fromLatin1("execname")] = startedByKdeinit() ? TQString::fromLatin1("kdeinit") : m_execname;
++ map[TQString::fromLatin1("signum")] = TQString::number(signalNumber());
++ map[TQString::fromLatin1("signame")] = signalName();
++ map[TQString::fromLatin1("progname")] = programName();
++ map[TQString::fromLatin1("pid")] = TQString::number(pid());
++ map[TQString::fromLatin1("tempfile")] = tempFile;
+ if (shell)
+ str = KMacroExpander::expandMacrosShellQuote( str, map );
+ else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/drkonqi/toplevel.cpp v3.5.13-sru/drkonqi/toplevel.cpp
+--- /tmp/stable//kdebase/drkonqi/toplevel.cpp 2011-03-12 07:58:20.000000000 +0100
++++ v3.5.13-sru/drkonqi/toplevel.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -67,12 +67,12 @@
+ // picture of konqi
+ TQLabel *lab = new TQLabel(page);
+ lab->setFrameStyle(TQFrame::Panel | TQFrame::Sunken);
+- TQPixmap pix(locate("appdata", TQString::tqfromLatin1("pics/konqi.png")));
++ TQPixmap pix(locate("appdata", TQString::fromLatin1("pics/konqi.png")));
+ lab->setPixmap(pix);
+- lab->setFixedSize( lab->tqsizeHint() );
++ lab->setFixedSize( lab->sizeHint() );
+
+ TQLabel * info = new TQLabel(generateText(), page);
+- info->setMinimumSize(info->tqsizeHint());
++ info->setMinimumSize(info->sizeHint());
+
+ if (m_krashconf->showBacktrace())
+ {
+@@ -196,7 +196,7 @@
+ void Toplevel :: slotBacktraceDone(const TQString &str)
+ {
+ // Do not translate.. This will be included in the _MAIL_.
+- TQString buf = TQString::tqfromLatin1
++ TQString buf = TQString::fromLatin1
+ ("\n\n\nHere is a backtrace generated by DrKonqi:\n") + str;
+
+ m_bugreport->setText(buf);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/.gitmodules v3.5.13-sru/.gitmodules
+--- /tmp/stable//kdebase/.gitmodules 1970-01-01 01:00:00.000000000 +0100
++++ v3.5.13-sru/.gitmodules 2012-09-08 19:41:29.000000000 +0200
+@@ -0,0 +1,6 @@
++[submodule "admin"]
++ path = admin
++ url = http://system@scm.trinitydesktop.org/scm/git/tde-common-admin
++[submodule "cmake"]
++ path = cmake
++ url = http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/HOW.TO.BUILD v3.5.13-sru/HOW.TO.BUILD
+--- /tmp/stable//kdebase/HOW.TO.BUILD 2011-10-30 08:44:27.000000000 +0100
++++ v3.5.13-sru/HOW.TO.BUILD 1970-01-01 01:00:00.000000000 +0100
+@@ -1,2 +0,0 @@
+-FOR BUILD INSTRUCTIONS PLEASE VISIT
+-http://trinity.pearsoncomputing.net/wiki/bin/view/Developers/HowToBuild
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kappfinder/toplevel.cpp v3.5.13-sru/kappfinder/toplevel.cpp
+--- /tmp/stable//kdebase/kappfinder/toplevel.cpp 2011-08-11 07:25:38.000000000 +0200
++++ v3.5.13-sru/kappfinder/toplevel.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -54,7 +54,7 @@
+ "applications on your system and adds "
+ "them to the KDE menu system. "
+ "Click 'Scan' to begin, select the desired applications and then click 'Apply'."), this);
+- label->tqsetAlignment( AlignAuto | WordBreak );
++ label->setAlignment( AlignAuto | WordBreak );
+ layout->addWidget( label );
+
+ layout->addSpacing( 5 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kateconfigdialog.cpp v3.5.13-sru/kate/app/kateconfigdialog.cpp
+--- /tmp/stable//kdebase/kate/app/kateconfigdialog.cpp 2011-07-09 08:16:52.000000000 +0200
++++ v3.5.13-sru/kate/app/kateconfigdialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -112,11 +112,32 @@
+ TQWhatsThis::add(cb_fullPath,i18n("If this option is checked, the full document path will be shown in the window caption."));
+ connect( cb_fullPath, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotChanged() ) );
+
++ // sort filelist if desired
++ cb_sortFiles = new TQCheckBox(bgStartup);
++ cb_sortFiles->setText(i18n("Sort &files alphabetically in the file list"));
++ cb_sortFiles->setChecked(parent->filelist->sortType() == KateFileList::sortByName);
++ TQWhatsThis::add( cb_sortFiles, i18n(
++ "If this is checked, the files in the file list will be sorted alphabetically.") );
++ connect( cb_sortFiles, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotChanged() ) );
+
+ // GROUP with the one below: "Behavior"
+ bgStartup = new TQButtonGroup( 1, Qt::Horizontal, i18n("&Behavior"), frGeneral );
+ lo->addWidget( bgStartup );
+
++ // number of recent files
++ TQHBox *hbNrf = new TQHBox( bgStartup );
++ TQLabel *lNrf = new TQLabel( i18n("&Number of recent files:"), hbNrf );
++ sb_numRecentFiles = new TQSpinBox( 0, 1000, 1, hbNrf );
++ sb_numRecentFiles->setValue( mainWindow->fileOpenRecent->maxItems() );
++ lNrf->setBuddy( sb_numRecentFiles );
++ TQString numRecentFileHelpString ( i18n(
++ "<qt>Sets the number of recent files remembered by Kate.<p><strong>NOTE: </strong>"
++ "If you set this lower than the current value, the list will be truncated and "
++ "some items forgotten.</qt>") );
++ TQWhatsThis::add( lNrf, numRecentFileHelpString );
++ TQWhatsThis::add( sb_numRecentFiles, numRecentFileHelpString );
++ connect( sb_numRecentFiles, TQT_SIGNAL( valueChanged ( int ) ), this, TQT_SLOT( slotChanged() ) );
++
+ // sync the konsole ?
+ cb_syncKonsole = new TQCheckBox(bgStartup);
+ cb_syncKonsole->setText(i18n("Sync &terminal emulator with active document"));
+@@ -332,12 +353,12 @@
+
+ for (uint i=0; i<pluginPages.count(); i++)
+ {
+- if ( pluginPages.tqat(i)->plugin == plugin )
++ if ( pluginPages.at(i)->plugin == plugin )
+ {
+- TQWidget *w = pluginPages.tqat(i)->page->parentWidget();
+- delete pluginPages.tqat(i)->page;
++ TQWidget *w = pluginPages.at(i)->page->parentWidget();
++ delete pluginPages.at(i)->page;
+ delete w;
+- pluginPages.remove(pluginPages.tqat(i));
++ pluginPages.remove(pluginPages.at(i));
+ i--;
+ }
+ }
+@@ -388,6 +409,10 @@
+ mainWindow->modNotification = cb_modNotifications->isChecked();
+
+ mainWindow->syncKonsole = cb_syncKonsole->isChecked();
++ mainWindow->filelist->setSortType(cb_sortFiles->isChecked() ? KateFileList::sortByName : KateFileList::sortByID);
++
++ config->writeEntry( "Number of recent files", sb_numRecentFiles->value() );
++ mainWindow->fileOpenRecent->setMaxItems( sb_numRecentFiles->value() );
+
+ fileSelConfigPage->apply();
+
+@@ -415,7 +440,7 @@
+ //
+ for (uint i=0; i<editorPages.count(); i++)
+ {
+- editorPages.tqat(i)->apply();
++ editorPages.at(i)->apply();
+ }
+
+ v->getDoc()->writeConfig(config);
+@@ -425,7 +450,7 @@
+ //
+ for (uint i=0; i<pluginPages.count(); i++)
+ {
+- pluginPages.tqat(i)->page->apply();
++ pluginPages.at(i)->page->apply();
+ }
+
+ config->sync();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kateconfigdialog.h v3.5.13-sru/kate/app/kateconfigdialog.h
+--- /tmp/stable//kdebase/kate/app/kateconfigdialog.h 2010-08-13 00:35:39.000000000 +0200
++++ v3.5.13-sru/kate/app/kateconfigdialog.h 2012-09-08 19:41:29.000000000 +0200
+@@ -66,6 +66,8 @@
+
+ TQCheckBox *cb_fullPath;
+ TQCheckBox *cb_syncKonsole;
++ TQCheckBox *cb_sortFiles;
++ TQSpinBox *sb_numRecentFiles;
+ TQCheckBox *cb_modNotifications;
+ TQCheckBox *cb_saveMetaInfos;
+ TQSpinBox *sb_daysMetaInfos;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kateconsole.cpp v3.5.13-sru/kate/app/kateconsole.cpp
+--- /tmp/stable//kdebase/kate/app/kateconsole.cpp 2011-07-09 08:16:51.000000000 +0200
++++ v3.5.13-sru/kate/app/kateconsole.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -57,8 +57,8 @@
+ {
+ if (m_part) return;
+
+- if (!tqtopLevelWidget() || !parentWidget()) return;
+- if (!tqtopLevelWidget() || !isVisibleTo(tqtopLevelWidget())) return;
++ if (!topLevelWidget() || !parentWidget()) return;
++ if (!topLevelWidget() || !isVisibleTo(topLevelWidget())) return;
+
+ KLibFactory *factory = KLibLoader::self()->factory("libkonsolepart");
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katedocmanager.cpp v3.5.13-sru/kate/app/katedocmanager.cpp
+--- /tmp/stable//kdebase/kate/app/katedocmanager.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kate/app/katedocmanager.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -69,7 +69,7 @@
+ {
+ // save config
+ if (!m_docList.isEmpty())
+- m_docList.tqat(0)->writeConfig(KateApp::self()->config());
++ m_docList.at(0)->writeConfig(KateApp::self()->config());
+
+ if (m_saveMetaInfos)
+ {
+@@ -86,7 +86,7 @@
+ {
+ m_metaInfos->setGroup(*it);
+ TQDateTime last = m_metaInfos->readDateTimeEntry("Time", def);
+- if (last.daysTo(TQDateTime::tqcurrentDateTime()) > m_daysMetaInfos)
++ if (last.daysTo(TQDateTime::currentDateTime()) > m_daysMetaInfos)
+ m_metaInfos->deleteGroup(*it);
+ }
+ delete def;
+@@ -150,7 +150,7 @@
+
+ Kate::Document *KateDocManager::document (uint n)
+ {
+- return m_docList.tqat(n);
++ return m_docList.at(n);
+ }
+
+ Kate::Document *KateDocManager::activeDocument ()
+@@ -234,7 +234,7 @@
+ Kate::Document *KateDocManager::openURL (const KURL& url,const TQString &encoding, uint *id, bool isTempFile)
+ {
+ // special handling if still only the first initial doc is there
+- if (!documentList().isEmpty() && (documentList().count() == 1) && (!documentList().tqat(0)->isModified() && documentList().tqat(0)->url().isEmpty()))
++ if (!documentList().isEmpty() && (documentList().count() == 1) && (!documentList().at(0)->isModified() && documentList().at(0)->url().isEmpty()))
+ {
+ Kate::Document* doc = documentList().getFirst();
+
+@@ -354,7 +354,7 @@
+ }
+
+ while (!docs.isEmpty() && res)
+- if (! closeDocument(docs.tqat(0),closeURL) )
++ if (! closeDocument(docs.at(0),closeURL) )
+ res = false;
+ else
+ docs.remove ((uint)0);
+@@ -364,7 +364,7 @@
+ KateApp::self()->mainWindow(i)->viewManager()->setViewActivationBlocked(false);
+
+ for (uint s=0; s < KateApp::self()->mainWindow(i)->viewManager()->containers()->count(); s++)
+- KateApp::self()->mainWindow(i)->viewManager()->containers()->tqat(s)->activateView (m_docList.tqat(0)->documentNumber());
++ KateApp::self()->mainWindow(i)->viewManager()->containers()->at(s)->activateView (m_docList.at(0)->documentNumber());
+ }
+
+ return res;
+@@ -583,7 +583,7 @@
+ m_metaInfos->setGroup(doc->url().prettyURL());
+ doc->writeSessionConfig(m_metaInfos);
+ m_metaInfos->writeEntry("MD5", (const char *)md5);
+- m_metaInfos->writeEntry("Time", TQDateTime::tqcurrentDateTime());
++ m_metaInfos->writeEntry("Time", TQDateTime::currentDateTime());
+ m_metaInfos->sync();
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kateexternaltools.cpp v3.5.13-sru/kate/app/kateexternaltools.cpp
+--- /tmp/stable//kdebase/kate/app/kateexternaltools.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kate/app/kateexternaltools.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -191,7 +191,7 @@
+ // kdDebug(13001)<<"KateExternalToolsCommand::exec: Could not get view widget"<<endl;
+ return false;
+ }
+- KateMDI::MainWindow *dmw=tqt_dynamic_cast<KateMDI::MainWindow*>(wv->tqtopLevelWidget());
++ KateMDI::MainWindow *dmw=tqt_dynamic_cast<KateMDI::MainWindow*>(wv->topLevelWidget());
+ if (!dmw) {
+ // kdDebug(13001)<<"KateExternalToolsCommand::exec: Could not get main window"<<endl;
+ return false;
+@@ -439,7 +439,7 @@
+ leName = new TQLineEdit( w );
+ lo->addWidget( leName, 1, 2 );
+ l = new TQLabel( leName, i18n("&Label:"), w );
+- l->tqsetAlignment( l->tqalignment()|Qt::AlignRight );
++ l->setAlignment( l->alignment()|Qt::AlignRight );
+ lo->addWidget( l, 1, 1 );
+ if ( tool ) leName->setText( tool->name );
+ TQWhatsThis::add( leName, i18n(
+@@ -454,7 +454,7 @@
+ teCommand = new TQTextEdit( w );
+ lo->addMultiCellWidget( teCommand, 2, 2, 2, 3 );
+ l = new TQLabel( teCommand, i18n("S&cript:"), w );
+- l->tqsetAlignment( Qt::AlignTop|Qt::AlignRight );
++ l->setAlignment( Qt::AlignTop|Qt::AlignRight );
+ lo->addWidget( l, 2, 1 );
+ if ( tool ) teCommand->setText( tool->command );
+ TQWhatsThis::add( teCommand, i18n(
+@@ -477,7 +477,7 @@
+ leExecutable = new TQLineEdit( w );
+ lo->addMultiCellWidget( leExecutable, 3, 3, 2, 3 );
+ l = new TQLabel( leExecutable, i18n("&Executable:"), w );
+- l->tqsetAlignment( l->tqalignment()|Qt::AlignRight );
++ l->setAlignment( l->alignment()|Qt::AlignRight );
+ lo->addWidget( l, 3, 1 );
+ if ( tool ) leExecutable->setText( tool->tryexec );
+ TQWhatsThis::add( leExecutable, i18n(
+@@ -488,7 +488,7 @@
+ leMimetypes = new TQLineEdit( w );
+ lo->addWidget( leMimetypes, 4, 2 );
+ l = new TQLabel( leMimetypes, i18n("&Mime types:"), w );
+- l->tqsetAlignment( l->tqalignment()|Qt::AlignRight );
++ l->setAlignment( l->alignment()|Qt::AlignRight );
+ lo->addWidget( l, 4, 1 );
+ if ( tool ) leMimetypes->setText( tool->mimetypes.join("; ") );
+ TQWhatsThis::add( leMimetypes, i18n(
+@@ -506,7 +506,7 @@
+ cmbSave = new TQComboBox(w);
+ lo->addMultiCellWidget( cmbSave, 5, 5, 2, 3 );
+ l = new TQLabel( cmbSave, i18n("&Save:"), w );
+- l->tqsetAlignment( l->tqalignment()|Qt::AlignRight );
++ l->setAlignment( l->alignment()|Qt::AlignRight );
+ lo->addWidget( l, 5, 1 );
+ TQStringList sl;
+ sl << i18n("None") << i18n("Current Document") << i18n("All Documents");
+@@ -521,7 +521,7 @@
+ leCmdLine = new TQLineEdit( w );
+ lo->addMultiCellWidget( leCmdLine, 6, 6, 2, 3 );
+ l = new TQLabel( leCmdLine, i18n("&Command line name:"), w );
+- l->tqsetAlignment( l->tqalignment()|Qt::AlignRight );
++ l->setAlignment( l->alignment()|Qt::AlignRight );
+ lo->addWidget( l, 6, 1 );
+ if ( tool ) leCmdLine->setText( tool->cmdname );
+ TQWhatsThis::add( leCmdLine, i18n(
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katefilelist.cpp v3.5.13-sru/kate/app/katefilelist.cpp
+--- /tmp/stable//kdebase/kate/app/katefilelist.cpp 2011-07-08 00:00:30.000000000 +0200
++++ v3.5.13-sru/kate/app/katefilelist.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -69,7 +69,7 @@
+ KateFileListItem *item = ((KateFileListItem*)i);
+ if ( ! item ) return;
+
+- tip( m_listView->tqitemRect( i ), m_listView->tooltip( item, 0 ) );
++ tip( m_listView->itemRect( i ), m_listView->tooltip( item, 0 ) );
+
+ }
+
+@@ -102,7 +102,7 @@
+ addColumn("Document Name");
+
+ setSelectionMode( TQListView::Single );
+- setSorting( 0, true );
++ setSortType(KateFileList::sortByID);
+ setShowToolTips( false );
+
+ setupActions ();
+@@ -138,8 +138,14 @@
+ windowPrev = KStdAction::forward(TQT_TQOBJECT(this), TQT_SLOT(slotNextDocument()), m_main->actionCollection());
+ sortAction = new KSelectAction( i18n("Sort &By"), 0,
+ m_main->actionCollection(), "filelist_sortby" );
++ listMoveFileUp = new KAction( i18n("Move File Up"), 0, m_main->actionCollection(), "filelist_move_up" );
++ //listMoveFileUp->setShortcut(KShortcut(CTRL + SHIFT + Key_Comma));
++ listMoveFileDown = new KAction( i18n("Move File Down"), 0, m_main->actionCollection(), "filelist_move_down" );
++ //listMoveFileDown->setShortcut(KShortcut(CTRL + SHIFT + Key_Period));
++ connect( listMoveFileUp, TQT_SIGNAL(activated()), TQT_TQOBJECT(this), TQT_SLOT(moveFileUp()) );
++ connect( listMoveFileDown, TQT_SIGNAL(activated()), TQT_TQOBJECT(this), TQT_SLOT(moveFileDown()) );
+ TQStringList l;
+- l << i18n("Opening Order") << i18n("Document Name") << i18n("URL");
++ l << i18n("Opening Order") << i18n("Document Name") << i18n("URL") << i18n("Manual Placement");
+ sortAction->setItems( l );
+ connect( sortAction, TQT_SIGNAL(activated(int)), TQT_TQOBJECT(this), TQT_SLOT(setSortType(int)) );
+ }
+@@ -272,8 +278,8 @@
+
+ for ( uint i=0; i < m_editHistory.count(); i++ )
+ {
+- m_editHistory.tqat( i )->setEditHistPos( i+1 );
+- repaintItem( m_editHistory.tqat( i ) );
++ m_editHistory.at( i )->setEditHistPos( i+1 );
++ repaintItem( m_editHistory.at( i ) );
+ }
+ }
+ else
+@@ -334,7 +340,7 @@
+ // int p = 0;
+ // if ( m_viewHistory.count() )
+ // {
+-// int p = m_viewHistory.findRef( item ); // only tqrepaint items that needs it
++// int p = m_viewHistory.findRef( item ); // only repaint items that needs it
+ // }
+
+ m_viewHistory.removeRef( item );
+@@ -342,8 +348,8 @@
+
+ for ( uint i=0; i < m_viewHistory.count(); i++ )
+ {
+- m_viewHistory.tqat( i )->setViewHistPos( i+1 );
+- repaintItem( m_viewHistory.tqat( i ) );
++ m_viewHistory.at( i )->setViewHistPos( i+1 );
++ repaintItem( m_viewHistory.at( i ) );
+ }
+
+ }
+@@ -353,10 +359,25 @@
+ if (!item)
+ return;
+
++ m_clickedMenuItem = item;
++ if (m_clickedMenuItem->itemAbove()) {
++ listMoveFileUp->setEnabled(true);
++ }
++ else {
++ listMoveFileUp->setEnabled(false);
++ }
++ if (m_clickedMenuItem->itemBelow()) {
++ listMoveFileDown->setEnabled(true);
++ }
++ else {
++ listMoveFileDown->setEnabled(false);
++ }
++
+ TQPopupMenu *menu = (TQPopupMenu*) ((viewManager->mainWindow())->factory()->container("filelist_popup", viewManager->mainWindow()));
+
+- if (menu)
++ if (menu) {
+ menu->exec(p);
++ }
+ }
+
+ TQString KateFileList::tooltip( TQListViewItem *item, int )
+@@ -385,7 +406,49 @@
+ void KateFileList::setSortType (int s)
+ {
+ m_sort = s;
+- updateSort ();
++ if (m_sort == KateFileList::sortManual) {
++ setSorting( -1, true );
++ setDragEnabled(true);
++ setAcceptDrops(true);
++ }
++ else {
++ setSorting( 0, true );
++ setDragEnabled(false);
++ setAcceptDrops(false);
++ updateSort ();
++ }
++}
++
++void KateFileList::moveFileUp()
++{
++ if (m_clickedMenuItem) {
++ sortAction->setCurrentItem(KateFileList::sortManual);
++ setSortType(KateFileList::sortManual);
++ TQListViewItem* nitemabove = m_clickedMenuItem->itemAbove();
++ if (nitemabove) {
++ nitemabove = nitemabove->itemAbove();
++ if (nitemabove) {
++ m_clickedMenuItem->moveItem(nitemabove);
++ }
++ else {
++ // Qt made this hard
++ nitemabove = m_clickedMenuItem->itemAbove();
++ nitemabove->moveItem(m_clickedMenuItem);
++ }
++ }
++ }
++}
++
++void KateFileList::moveFileDown()
++{
++ if (m_clickedMenuItem) {
++ sortAction->setCurrentItem(KateFileList::sortManual);
++ setSortType(KateFileList::sortManual);
++ TQListViewItem* nitemabove = m_clickedMenuItem->itemBelow();
++ if (nitemabove) {
++ m_clickedMenuItem->moveItem(nitemabove);
++ }
++ }
+ }
+
+ void KateFileList::updateSort ()
+@@ -441,6 +504,11 @@
+ m_edithistpos( 0 ),
+ m_docNumber( _doc->documentNumber() )
+ {
++ // Move this document to the end of the list where it belongs
++ TQListViewItem* lastitem = lv->lastItem();
++ if (lastitem) {
++ moveItem(lastitem);
++ }
+ }
+
+ KateFileListItem::~KateFileListItem()
+@@ -616,7 +684,7 @@
+ m_filelist->m_editShade = kcbEditShade->color();
+ m_filelist->m_enableBgShading = cbEnableShading->isChecked();
+ m_filelist->setSortType( cmbSort->currentItem() );
+- // tqrepaint the affected items
++ // repaint the affected items
+ m_filelist->triggerUpdate();
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katefilelist.h v3.5.13-sru/kate/app/katefilelist.h
+--- /tmp/stable//kdebase/kate/app/katefilelist.h 2011-03-12 07:57:34.000000000 +0100
++++ v3.5.13-sru/kate/app/katefilelist.h 2012-09-08 19:41:29.000000000 +0200
+@@ -90,7 +90,8 @@
+ enum sorting {
+ sortByID = 0,
+ sortByName = 1,
+- sortByURL = 2
++ sortByURL = 2,
++ sortManual = 3
+ };
+
+ TQString tooltip( TQListViewItem *item, int );
+@@ -111,6 +112,8 @@
+
+ public slots:
+ void setSortType (int s);
++ void moveFileUp();
++ void moveFileDown();
+ void slotNextDocument();
+ void slotPrevDocument();
+
+@@ -151,6 +154,8 @@
+ KAction* windowNext;
+ KAction* windowPrev;
+ KSelectAction* sortAction;
++ KAction* listMoveFileUp;
++ KAction* listMoveFileDown;
+
+ TQPtrList<KateFileListItem> m_viewHistory;
+ TQPtrList<KateFileListItem> m_editHistory;
+@@ -158,6 +163,8 @@
+ TQColor m_viewShade, m_editShade;
+ bool m_enableBgShading;
+
++ TQListViewItem *m_clickedMenuItem;
++
+ class ToolTip *m_tooltip;
+ };
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katefileselector.cpp v3.5.13-sru/kate/app/katefileselector.cpp
+--- /tmp/stable//kdebase/kate/app/katefileselector.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kate/app/katefileselector.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -96,7 +96,7 @@
+ {
+ if (m_tb)
+ {
+- setMinimumHeight(m_tb->tqsizeHint().height());
++ setMinimumHeight(m_tb->sizeHint().height());
+ m_tb->resize(width(),height());
+ }
+ }
+@@ -123,7 +123,7 @@
+ tqInstallMsgHandler( oldHandler );
+
+ cmbPath = new KURLComboBox( KURLComboBox::Directories, true, this, "path combo" );
+- cmbPath->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
++ cmbPath->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
+ KURLCompletion* cmpl = new KURLCompletion(KURLCompletion::DirCompletion);
+ cmbPath->setCompletionObject( cmpl );
+ cmbPath->setAutoDeleteCompletionObject( true );
+@@ -157,7 +157,7 @@
+ btnFilter->setIconSet( SmallIconSet("filter" ) );
+ btnFilter->setToggleButton( true );
+ filter = new KHistoryCombo( true, filterBox, "filter");
+- filter->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
++ filter->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
+ filterBox->setStretchFactor(filter, 2);
+ connect( btnFilter, TQT_SIGNAL( clicked() ), this, TQT_SLOT( btnFilterClick() ) );
+
+@@ -354,7 +354,7 @@
+ newurl.setPath(pathstr);
+
+ if ( !kateFileSelectorIsReadable ( newurl ) )
+- newurl.cd(TQString::tqfromLatin1(".."));
++ newurl.cd(TQString::fromLatin1(".."));
+
+ if ( !kateFileSelectorIsReadable (newurl) )
+ newurl.setPath( TQDir::homeDirPath() );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kategrepdialog.cpp v3.5.13-sru/kate/app/kategrepdialog.cpp
+--- /tmp/stable//kdebase/kate/app/kategrepdialog.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kate/app/kategrepdialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -100,7 +100,7 @@
+ loInput->setColStretch(1, 20);
+
+ TQLabel *lPattern = new TQLabel(i18n("Pattern:"), this);
+- lPattern->setFixedSize(lPattern->tqsizeHint());
++ lPattern->setFixedSize(lPattern->sizeHint());
+ loInput->addWidget(lPattern, 0, 0, Qt::AlignRight | Qt::AlignVCenter);
+
+ TQBoxLayout *loPattern = new TQHBoxLayout( 4 );
+@@ -112,22 +112,22 @@
+ cmbPattern->setInsertionPolicy(TQComboBox::NoInsertion);
+ lPattern->setBuddy(cmbPattern);
+ cmbPattern->setFocus();
+- cmbPattern->setMinimumSize(cmbPattern->tqsizeHint());
++ cmbPattern->setMinimumSize(cmbPattern->sizeHint());
+ loPattern->addWidget( cmbPattern );
+
+ cbCasesensitive = new TQCheckBox(i18n("Case sensitive"), this);
+- cbCasesensitive->setMinimumWidth(cbCasesensitive->tqsizeHint().width());
++ cbCasesensitive->setMinimumWidth(cbCasesensitive->sizeHint().width());
+ cbCasesensitive->setChecked(config->readBoolEntry("CaseSensitive", true));
+ loPattern->addWidget(cbCasesensitive);
+
+ cbRegex = new TQCheckBox( i18n("Regular expression"), this );
+- cbRegex->setMinimumWidth( cbRegex->tqsizeHint().width() );
++ cbRegex->setMinimumWidth( cbRegex->sizeHint().width() );
+ cbRegex->setChecked( config->readBoolEntry( "Regex", true ) );
+ loPattern->addWidget( cbRegex );
+ loPattern->setStretchFactor( cmbPattern, 100 );
+
+ TQLabel *lTemplate = new TQLabel(i18n("Template:"), this);
+- lTemplate->setFixedSize(lTemplate->tqsizeHint());
++ lTemplate->setFixedSize(lTemplate->sizeHint());
+ loInput->addWidget(lTemplate, 1, 0, Qt::AlignRight | Qt::AlignVCenter);
+
+ TQBoxLayout *loTemplate = new TQHBoxLayout(4);
+@@ -136,7 +136,7 @@
+ leTemplate = new KLineEdit(this);
+ lTemplate->setBuddy(leTemplate);
+ leTemplate->setText(strTemplate[0]);
+- leTemplate->setMinimumSize(leTemplate->tqsizeHint());
++ leTemplate->setMinimumSize(leTemplate->sizeHint());
+ loTemplate->addWidget(leTemplate);
+
+ KComboBox *cmbTemplate = new KComboBox(false, this);
+@@ -146,19 +146,19 @@
+ loTemplate->addWidget(cmbTemplate);
+
+ TQLabel *lFiles = new TQLabel(i18n("Files:"), this);
+- lFiles->setFixedSize(lFiles->tqsizeHint());
++ lFiles->setFixedSize(lFiles->sizeHint());
+ loInput->addWidget(lFiles, 2, 0, Qt::AlignRight | Qt::AlignVCenter);
+
+ cmbFiles = new KComboBox(true, this);
+ lFiles->setBuddy(TQT_TQWIDGET(cmbFiles->focusProxy()));
+- cmbFiles->setMinimumSize(cmbFiles->tqsizeHint());
++ cmbFiles->setMinimumSize(cmbFiles->sizeHint());
+ cmbFiles->setInsertionPolicy(TQComboBox::NoInsertion);
+ cmbFiles->setDuplicatesEnabled(false);
+ cmbFiles->insertStringList(lastSearchFiles);
+ loInput->addWidget(cmbFiles, 2, 1);
+
+ TQLabel *lDir = new TQLabel(i18n("Folder:"), this);
+- lDir->setFixedSize(lDir->tqsizeHint());
++ lDir->setFixedSize(lDir->sizeHint());
+ loInput->addWidget(lDir, 3, 0, Qt::AlignRight | Qt::AlignVCenter);
+
+ TQBoxLayout *loDir = new TQHBoxLayout(3);
+@@ -176,7 +176,7 @@
+ lDir->setBuddy(cmbDir);
+
+ cbRecursive = new TQCheckBox(i18n("Recursive"), this);
+- cbRecursive->setMinimumWidth(cbRecursive->tqsizeHint().width());
++ cbRecursive->setMinimumWidth(cbRecursive->sizeHint().width());
+ cbRecursive->setChecked(config->readBoolEntry("Recursive", true));
+ loDir->addWidget(cbRecursive);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katemailfilesdialog.cpp v3.5.13-sru/kate/app/katemailfilesdialog.cpp
+--- /tmp/stable//kdebase/kate/app/katemailfilesdialog.cpp 2011-03-12 07:57:34.000000000 +0100
++++ v3.5.13-sru/kate/app/katemailfilesdialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -78,7 +78,7 @@
+ }
+ list->hide();
+ connect( this, TQT_SIGNAL(user1Clicked()), this, TQT_SLOT(slotShowButton()) );
+- mw->setMinimumSize( lInfo->tqsizeHint() );
++ mw->setMinimumSize( lInfo->sizeHint() );
+ }
+
+ TQPtrList<Kate::Document> KateMailDialog::selectedDocs()
+@@ -105,8 +105,8 @@
+ lInfo->setText( i18n("Press <strong>Mail...</strong> to send selected documents") );
+
+ }
+- mw->setMinimumSize( TQSize( lInfo->tqsizeHint().width(), mw->tqsizeHint().height()) );
+- setMinimumSize( calculateSize( mw->tqminimumSize().width(), mw->tqsizeHint().height() ) );
++ mw->setMinimumSize( TQSize( lInfo->sizeHint().width(), mw->sizeHint().height()) );
++ setMinimumSize( calculateSize( mw->minimumSize().width(), mw->sizeHint().height() ) );
+ resize( width(), minimumHeight() );
+ }
+ #include "katemailfilesdialog.moc"
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katemain.cpp v3.5.13-sru/kate/app/katemain.cpp
+--- /tmp/stable//kdebase/kate/app/katemain.cpp 2011-03-12 07:57:34.000000000 +0100
++++ v3.5.13-sru/kate/app/katemain.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -231,7 +231,24 @@
+ else
+ wRef.call("restore");
+ }
++ // The --use parameter forces Kate to use a single session window to host
++ // all opened files. Generally, that parameter works. Yet when a file is
++ // opened into Kate externally, such as from Konqueror, Kate will pop
++ // forward (raise) but not grab the focus (show). The following snippet
++ // resolves that problem. For whatever reason the hide call is needed
++ // before the raise and show otherwise the snippet fails. Some extra glue
++ // might be needed. With Kate open:
++ // "Right-click" on the title bar
++ // Select Advanced
++ // Select Special Application Settings (Not Special Window Settings)
++ // Select the Workarounds tab
++ // Enable the Focus stealing prevention check box
++ // Select the Force option
++ // Select the None option
++
++ wRef.call( "hide" );
+ wRef.call( "raise" );
++ wRef.call( "show" );
+
+ // stop startup notification
+ KStartupInfo::appStarted( );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katemainwindow.cpp v3.5.13-sru/kate/app/katemainwindow.cpp
+--- /tmp/stable//kdebase/kate/app/katemainwindow.cpp 2011-07-09 08:16:52.000000000 +0200
++++ v3.5.13-sru/kate/app/katemainwindow.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -110,8 +110,8 @@
+ if (sconfig)
+ {
+ sconfig->setGroup (sgroup);
+- size.setWidth (sconfig->readNumEntry( TQString::tqfromLatin1("Width %1").arg(desk.width()), 0 ));
+- size.setHeight (sconfig->readNumEntry( TQString::tqfromLatin1("Height %1").arg(desk.height()), 0 ));
++ size.setWidth (sconfig->readNumEntry( TQString::fromLatin1("Width %1").arg(desk.width()), 0 ));
++ size.setHeight (sconfig->readNumEntry( TQString::fromLatin1("Height %1").arg(desk.height()), 0 ));
+ }
+
+ // if thats fails, try to reuse size
+@@ -131,8 +131,8 @@
+ {
+ // first try global app config
+ KateApp::self()->config()->setGroup ("MainWindow");
+- size.setWidth (KateApp::self()->config()->readNumEntry( TQString::tqfromLatin1("Width %1").arg(desk.width()), 0 ));
+- size.setHeight (KateApp::self()->config()->readNumEntry( TQString::tqfromLatin1("Height %1").arg(desk.height()), 0 ));
++ size.setWidth (KateApp::self()->config()->readNumEntry( TQString::fromLatin1("Width %1").arg(desk.width()), 0 ));
++ size.setHeight (KateApp::self()->config()->readNumEntry( TQString::fromLatin1("Height %1").arg(desk.height()), 0 ));
+
+ if (size.isEmpty())
+ size = TQSize (kMin (700, desk.width()), kMin(480, desk.height()));
+@@ -412,6 +412,7 @@
+
+ m_viewManager->setShowFullPath(config->readBoolEntry("Show Full Path in Title", false));
+
++ fileOpenRecent->setMaxItems( config->readNumEntry("Number of recent files", fileOpenRecent->maxItems() ) );
+ fileOpenRecent->loadEntries(config, "Recent Files");
+
+ fileselector->readConfig(config, "fileselector");
+@@ -544,10 +545,10 @@
+ TQPtrList<Kate::Document> l=KateDocManager::self()->documentList();
+ for (uint i=0;i<l.count();i++) {
+ // kdDebug(13001)<<"reloading Keysettings for document "<<i<<endl;
+- l.tqat(i)->reloadXML();
+- TQPtrList<class KTextEditor::View> l1=l.tqat(i)->views ();//KTextEditor::Document
++ l.at(i)->reloadXML();
++ TQPtrList<class KTextEditor::View> l1=l.at(i)->views ();//KTextEditor::Document
+ for (uint i1=0;i1<l1.count();i1++) {
+- l1.tqat(i1)->reloadXML();
++ l1.at(i1)->reloadXML();
+ // kdDebug(13001)<<"reloading Keysettings for view "<<i<<"/"<<i1<<endl;
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katemdi.cpp v3.5.13-sru/kate/app/katemdi.cpp
+--- /tmp/stable//kdebase/kate/app/katemdi.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kate/app/katemdi.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -128,7 +128,7 @@
+
+ if ( domDocument().documentElement().isNull() )
+ {
+- TQString completeDescription = TQString::tqfromLatin1( guiDescription )
++ TQString completeDescription = TQString::fromLatin1( guiDescription )
+ .arg( actionListName );
+
+ setXML( completeDescription, false /*merge*/ );
+@@ -239,7 +239,7 @@
+ m_mainWin->toolViewDeleted (this);
+ }
+
+-void ToolView::tqsetVisible (bool vis)
++void ToolView::setVisible (bool vis)
+ {
+ if (m_visible == vis)
+ return;
+@@ -380,7 +380,7 @@
+ {
+ it.current()->hide();
+ setTab (it.currentKey(), false);
+- it.current()->tqsetVisible(false);
++ it.current()->setVisible(false);
+ }
+
+ setTab (m_widgetToId[widget], true);
+@@ -388,7 +388,7 @@
+ m_ownSplit->show ();
+ widget->show ();
+
+- widget->tqsetVisible (true);
++ widget->setVisible (true);
+
+ return true;
+ }
+@@ -420,7 +420,7 @@
+ if (!anyVis)
+ m_ownSplit->hide ();
+
+- widget->tqsetVisible (false);
++ widget->setVisible (false);
+
+ return true;
+ }
+@@ -618,7 +618,7 @@
+ ToolView *tv = m_toolviews[i];
+
+ tv->persistent = config->readBoolEntry (TQString ("Kate-MDI-ToolView-%1-Persistent").arg(tv->id), false);
+- tv->tqsetVisible (config->readBoolEntry (TQString ("Kate-MDI-ToolView-%1-Visible").arg(tv->id), false));
++ tv->setVisible (config->readBoolEntry (TQString ("Kate-MDI-ToolView-%1-Visible").arg(tv->id), false));
+
+ if (!anyVis)
+ anyVis = tv->visible();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katemdi.h v3.5.13-sru/kate/app/katemdi.h
+--- /tmp/stable//kdebase/kate/app/katemdi.h 2011-07-09 08:16:52.000000000 +0200
++++ v3.5.13-sru/kate/app/katemdi.h 2012-09-08 19:41:29.000000000 +0200
+@@ -146,7 +146,7 @@
+
+ Sidebar *sidebar () { return m_sidebar; }
+
+- void tqsetVisible (bool vis);
++ void setVisible (bool vis);
+
+ public:
+ bool visible () const;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katesavemodifieddialog.cpp v3.5.13-sru/kate/app/katesavemodifieddialog.cpp
+--- /tmp/stable//kdebase/kate/app/katesavemodifieddialog.cpp 2011-03-12 07:57:34.000000000 +0100
++++ v3.5.13-sru/kate/app/katesavemodifieddialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -152,7 +152,7 @@
+ m_documentRoot=new TQListViewItem(m_list,i18n("Documents"));
+ const uint docCnt=documents.count();
+ for (uint i=0;i<docCnt;i++) {
+- new KateSaveModifiedDocumentCheckListItem(m_documentRoot,documents.tqat(i));
++ new KateSaveModifiedDocumentCheckListItem(m_documentRoot,documents.at(i));
+ }
+ m_documentRoot->setOpen(true);
+ } else m_documentRoot=0;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/katetabwidget.cpp v3.5.13-sru/kate/app/katetabwidget.cpp
+--- /tmp/stable//kdebase/kate/app/katetabwidget.cpp 2011-03-12 07:57:34.000000000 +0100
++++ v3.5.13-sru/kate/app/katetabwidget.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -70,7 +70,7 @@
+ KTabWidget::insertTab(child,label,index);
+ showPage(child);
+ maybeShow();
+- tabBar()->tqrepaint();
++ tabBar()->repaint();
+ }
+
+ void KateTabWidget::insertTab ( TQWidget * child, const TQIconSet & iconset, const TQString & label, int index )
+@@ -78,7 +78,7 @@
+ KTabWidget::insertTab(child,iconset,label,index);
+ showPage(child);
+ maybeShow();
+- tabBar()->tqrepaint();
++ tabBar()->repaint();
+ }
+
+ void KateTabWidget::insertTab ( TQWidget * child, TQTab * tab, int index)
+@@ -86,7 +86,7 @@
+ KTabWidget::insertTab(child,tab,index);
+ showPage(child);
+ maybeShow();
+- tabBar()->tqrepaint();
++ tabBar()->repaint();
+ }
+
+ void KateTabWidget::removePage ( TQWidget * w )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kateviewmanager.cpp v3.5.13-sru/kate/app/kateviewmanager.cpp
+--- /tmp/stable//kdebase/kate/app/kateviewmanager.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kate/app/kateviewmanager.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -316,7 +316,7 @@
+ {
+ uint viewCount=0;
+ for (uint i=0;i<m_viewSpaceContainerList.count();i++) {
+- viewCount+=m_viewSpaceContainerList.tqat(i)->viewCount();
++ viewCount+=m_viewSpaceContainerList.at(i)->viewCount();
+ }
+ return viewCount;
+
+@@ -326,7 +326,7 @@
+ {
+ uint viewSpaceCount=0;
+ for (uint i=0;i<m_viewSpaceContainerList.count();i++) {
+- viewSpaceCount+=m_viewSpaceContainerList.tqat(i)->viewSpaceCount();
++ viewSpaceCount+=m_viewSpaceContainerList.at(i)->viewSpaceCount();
+ }
+ return viewSpaceCount;
+ }
+@@ -334,7 +334,7 @@
+ void KateViewManager::setViewActivationBlocked (bool block)
+ {
+ for (uint i=0;i<m_viewSpaceContainerList.count();i++)
+- m_viewSpaceContainerList.tqat(i)->m_blockViewCreationAndActivation=block;
++ m_viewSpaceContainerList.at(i)->m_blockViewCreationAndActivation=block;
+ }
+
+ void KateViewManager::activateNextView()
+@@ -354,7 +354,7 @@
+ void KateViewManager::closeViews(uint documentNumber)
+ {
+ for (uint i=0;i<m_viewSpaceContainerList.count();i++) {
+- m_viewSpaceContainerList.tqat(i)->closeViews(documentNumber);
++ m_viewSpaceContainerList.at(i)->closeViews(documentNumber);
+ }
+ tabChanged(m_currentContainer);
+ }
+@@ -454,7 +454,7 @@
+ {
+ showFullPath=enable;
+ for (uint i=0;i<m_viewSpaceContainerList.count();i++) {
+- m_viewSpaceContainerList.tqat(i)->setShowFullPath(enable);
++ m_viewSpaceContainerList.at(i)->setShowFullPath(enable);
+ }
+ m_mainWindow->slotWindowActivated ();
+ }
+@@ -477,7 +477,7 @@
+ config->writeEntry("ViewSpaceContainers",m_viewSpaceContainerList.count());
+ config->writeEntry("Active ViewSpaceContainer", m_mainWindow->tabWidget()->currentPageIndex());
+ for (uint i=0;i<m_viewSpaceContainerList.count();i++) {
+- m_viewSpaceContainerList.tqat(i)->saveViewConfiguration(config,group+TQString(":ViewSpaceContainer-%1:").arg(i));
++ m_viewSpaceContainerList.at(i)->saveViewConfiguration(config,group+TQString(":ViewSpaceContainer-%1:").arg(i));
+ }
+ }
+
+@@ -495,10 +495,10 @@
+ uint tabCount=config->readNumEntry("ViewSpaceContainers",0);
+ int activeOne=config->readNumEntry("Active ViewSpaceContainer",0);
+ if (tabCount==0) return;
+- m_viewSpaceContainerList.tqat(0)->restoreViewConfiguration(config,group+TQString(":ViewSpaceContainer-0:"));
++ m_viewSpaceContainerList.at(0)->restoreViewConfiguration(config,group+TQString(":ViewSpaceContainer-0:"));
+ for (uint i=1;i<tabCount;i++) {
+ slotNewTab();
+- m_viewSpaceContainerList.tqat(i)->restoreViewConfiguration(config,group+TQString(":ViewSpaceContainer-%1:").arg(i));
++ m_viewSpaceContainerList.at(i)->restoreViewConfiguration(config,group+TQString(":ViewSpaceContainer-%1:").arg(i));
+ }
+
+ if (activeOne != m_mainWindow->tabWidget()->currentPageIndex())
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kateviewspacecontainer.cpp v3.5.13-sru/kate/app/kateviewspacecontainer.cpp
+--- /tmp/stable//kdebase/kate/app/kateviewspacecontainer.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kate/app/kateviewspacecontainer.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -277,7 +277,7 @@
+ setActiveView (view);
+ m_viewList.findRef (view);
+
+- mainWindow()->toolBar ()->tqsetUpdatesEnabled (false);
++ mainWindow()->toolBar ()->setUpdatesEnabled (false);
+
+ if (m_viewManager->guiMergedView)
+ mainWindow()->guiFactory()->removeClient (m_viewManager->guiMergedView );
+@@ -287,7 +287,7 @@
+ if (!m_blockViewCreationAndActivation)
+ mainWindow()->guiFactory ()->addClient( view );
+
+- mainWindow()->toolBar ()->tqsetUpdatesEnabled (true);
++ mainWindow()->toolBar ()->setUpdatesEnabled (true);
+
+ statusMsg();
+
+@@ -342,8 +342,8 @@
+ if (i >= m_viewSpaceList.count())
+ i=0;
+
+- setActiveSpace (m_viewSpaceList.tqat(i));
+- activateView(m_viewSpaceList.tqat(i)->currentView());
++ setActiveSpace (m_viewSpaceList.at(i));
++ activateView(m_viewSpaceList.at(i)->currentView());
+ }
+
+ void KateViewSpaceContainer::activatePrevView()
+@@ -353,8 +353,8 @@
+ if (i < 0)
+ i=m_viewSpaceList.count()-1;
+
+- setActiveSpace (m_viewSpaceList.tqat(i));
+- activateView(m_viewSpaceList.tqat(i)->currentView());
++ setActiveSpace (m_viewSpaceList.at(i));
++ activateView(m_viewSpaceList.at(i)->currentView());
+ }
+
+ void KateViewSpaceContainer::closeViews(uint documentNumber)
+@@ -363,7 +363,7 @@
+
+ for (uint z=0 ; z < m_viewList.count(); z++)
+ {
+- Kate::View* current = m_viewList.tqat(z);
++ Kate::View* current = m_viewList.at(z);
+ if ( current->getDoc()->documentNumber() == documentNumber )
+ {
+ closeList.append (current);
+@@ -644,7 +644,7 @@
+ {
+ // send all views + their gui to **** ;)
+ for (uint i=0; i < m_viewList.count(); i++)
+- mainWindow()->guiFactory ()->removeClient (m_viewList.tqat(i));
++ mainWindow()->guiFactory ()->removeClient (m_viewList.at(i));
+
+ m_viewList.clear ();
+
+@@ -658,7 +658,7 @@
+ // finally, make the correct view active.
+ config->setGroup (group);
+ /*
+- KateViewSpace *vs = m_viewSpaceList.tqat( config->readNumEntry("Active ViewSpace") );
++ KateViewSpace *vs = m_viewSpaceList.at( config->readNumEntry("Active ViewSpace") );
+ if ( vs )
+ activateSpace( vs->currentView() );
+ */
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kateviewspace.cpp v3.5.13-sru/kate/app/kateviewspace.cpp
+--- /tmp/stable//kdebase/kate/app/kateviewspace.cpp 2011-07-09 08:16:52.000000000 +0200
++++ v3.5.13-sru/kate/app/kateviewspace.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -67,9 +67,9 @@
+ void paintEvent( TQPaintEvent *e )
+ {
+ TQPainter p( this );
+- p.setPen( tqcolorGroup().shadow() );
++ p.setPen( colorGroup().shadow() );
+ p.drawLine( e->rect().left(), 0, e->rect().right(), 0 );
+- p.setPen( ((KateViewSpace*)parentWidget())->isActiveSpace() ? tqcolorGroup().light() : tqcolorGroup().midlight() );
++ p.setPen( ((KateViewSpace*)parentWidget())->isActiveSpace() ? colorGroup().light() : colorGroup().midlight() );
+ p.drawLine( e->rect().left(), 1, e->rect().right(), 1 );
+ }
+ };
+@@ -309,29 +309,29 @@
+ {
+ m_lineColLabel = new TQLabel( this );
+ addWidget( m_lineColLabel, 0, false );
+- m_lineColLabel->tqsetAlignment( Qt::AlignCenter );
++ m_lineColLabel->setAlignment( Qt::AlignCenter );
+ m_lineColLabel->installEventFilter( this );
+
+ m_modifiedLabel = new TQLabel( TQString(" "), this );
+ addWidget( m_modifiedLabel, 0, false );
+- m_modifiedLabel->tqsetAlignment( Qt::AlignCenter );
++ m_modifiedLabel->setAlignment( Qt::AlignCenter );
+ m_modifiedLabel->installEventFilter( this );
+
+ m_insertModeLabel = new TQLabel( i18n(" INS "), this );
+ addWidget( m_insertModeLabel, 0, false );
+- m_insertModeLabel->tqsetAlignment( Qt::AlignCenter );
++ m_insertModeLabel->setAlignment( Qt::AlignCenter );
+ m_insertModeLabel->installEventFilter( this );
+
+ m_selectModeLabel = new TQLabel( i18n(" NORM "), this );
+ addWidget( m_selectModeLabel, 0, false );
+- m_selectModeLabel->tqsetAlignment( Qt::AlignCenter );
++ m_selectModeLabel->setAlignment( Qt::AlignCenter );
+ m_selectModeLabel->installEventFilter( this );
+
+ m_fileNameLabel=new KSqueezedTextLabel( this );
+ addWidget( m_fileNameLabel, 1, true );
+ m_fileNameLabel->setMinimumSize( 0, 0 );
+- m_fileNameLabel->tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Fixed ));
+- m_fileNameLabel->tqsetAlignment( /*Qt::AlignRight*/Qt::AlignLeft );
++ m_fileNameLabel->setSizePolicy(TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Fixed ));
++ m_fileNameLabel->setAlignment( /*Qt::AlignRight*/Qt::AlignLeft );
+ m_fileNameLabel->installEventFilter( this );
+
+ installEventFilter( this );
+@@ -396,7 +396,7 @@
+
+ void KateVSStatusBar::showMenu()
+ {
+- KMainWindow* mainWindow = static_cast<KMainWindow*>( tqtopLevelWidget() );
++ KMainWindow* mainWindow = static_cast<KMainWindow*>( topLevelWidget() );
+ TQPopupMenu* menu = static_cast<TQPopupMenu*>( mainWindow->factory()->container("viewspace_popup", mainWindow ) );
+
+ if (menu)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/app/kwritemain.cpp v3.5.13-sru/kate/app/kwritemain.cpp
+--- /tmp/stable//kdebase/kate/app/kwritemain.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kate/app/kwritemain.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -112,7 +112,7 @@
+
+ // init with more usefull size, stolen from konq :)
+ if (!initialGeometrySet())
+- resize( TQSize(700, 480).expandedTo(tqminimumSizeHint()));
++ resize( TQSize(700, 480).expandedTo(minimumSizeHint()));
+
+ // call it as last thing, must be sure everything is already set up ;)
+ setAutoSaveSettings ();
+@@ -474,7 +474,7 @@
+ TQString buf = TQString("Document %1").arg(z);
+ config->setGroup(buf);
+
+- KTextEditor::Document *doc = docList.tqat(z - 1);
++ KTextEditor::Document *doc = docList.at(z - 1);
+
+ if (KTextEditor::configInterface(doc))
+ KTextEditor::configInterface(doc)->writeSessionConfig(config);
+@@ -485,7 +485,7 @@
+ TQString buf = TQString("Window %1").arg(z);
+ config->setGroup(buf);
+
+- config->writeEntry("DocumentNumber",docList.find(winList.tqat(z-1)->view()->document()) + 1);
++ config->writeEntry("DocumentNumber",docList.find(winList.at(z-1)->view()->document()) + 1);
+ }
+ }
+
+@@ -521,7 +521,7 @@
+ {
+ buf = TQString("Window %1").arg(z);
+ config->setGroup(buf);
+- t = new KWrite(docList.tqat(config->readNumEntry("DocumentNumber") - 1));
++ t = new KWrite(docList.at(config->readNumEntry("DocumentNumber") - 1));
+ t->restore(config,z);
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/data/kateui.rc v3.5.13-sru/kate/data/kateui.rc
+--- /tmp/stable//kdebase/kate/data/kateui.rc 2010-08-12 05:29:24.000000000 +0200
++++ v3.5.13-sru/kate/data/kateui.rc 2012-09-08 19:41:29.000000000 +0200
+@@ -162,6 +162,9 @@
+ <Action name="file_close"/>
+ <Action name="file_close_all"/>
+ <Separator/>
++ <Action name="filelist_move_up"/>
++ <Action name="filelist_move_down"/>
++ <Separator/>
+ <Action name="filelist_sortby"/>
+ </Menu>
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kate/utils/dockviewbase.cpp v3.5.13-sru/kate/utils/dockviewbase.cpp
+--- /tmp/stable//kdebase/kate/utils/dockviewbase.cpp 2011-03-12 07:57:34.000000000 +0100
++++ v3.5.13-sru/kate/utils/dockviewbase.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -87,7 +87,7 @@
+ {
+ setSpacing( 4 );
+ d->header = new TQWidget( this );
+- d->header->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed, true ) );
++ d->header->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed, true ) );
+ TQHBoxLayout *lo = new TQHBoxLayout( d->header );
+ lo->setSpacing( 6 );
+ lo->insertSpacing( 0, 6 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/access/kaccess.cpp v3.5.13-sru/kcontrol/access/kaccess.cpp
+--- /tmp/stable//kdebase/kcontrol/access/kaccess.cpp 2011-03-12 07:57:40.000000000 +0100
++++ v3.5.13-sru/kcontrol/access/kaccess.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -585,7 +585,7 @@
+ TQVBoxLayout * vlay = new TQVBoxLayout(lay);
+
+ featuresLabel = new TQLabel( "", contents );
+- featuresLabel->tqsetAlignment( WordBreak|AlignVCenter );
++ featuresLabel->setAlignment( WordBreak|AlignVCenter );
+ vlay->addWidget( featuresLabel );
+ vlay->addStretch();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/access/kcmaccess.cpp v3.5.13-sru/kcontrol/access/kcmaccess.cpp
+--- /tmp/stable//kdebase/kcontrol/access/kcmaccess.cpp 2011-03-12 07:57:40.000000000 +0100
++++ v3.5.13-sru/kcontrol/access/kcmaccess.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -248,7 +248,7 @@
+ grp->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(grp);
+
+- TQVBoxLayout *vvbox = new TQVBoxLayout(grp->tqlayout(),
++ TQVBoxLayout *vvbox = new TQVBoxLayout(grp->layout(),
+ KDialogBase::spacingHint());
+
+ systemBell = new TQCheckBox(i18n("Use &system bell"), grp);
+@@ -291,7 +291,7 @@
+ grp->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(grp);
+
+- vvbox = new TQVBoxLayout(grp->tqlayout(), KDialog::spacingHint());
++ vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
+
+ visibleBell = new TQCheckBox(i18n("&Use visible bell"), grp);
+ vvbox->addWidget(visibleBell);
+@@ -311,7 +311,7 @@
+ TQWhatsThis::add( flashScreen, i18n("The screen will turn to a custom color for the amount of time specified below.") );
+ hbox->addSpacing(12);
+ colorButton = new KColorButton(grp);
+- colorButton->setFixedWidth(colorButton->tqsizeHint().height()*2);
++ colorButton->setFixedWidth(colorButton->sizeHint().height()*2);
+ hbox->addWidget(colorButton);
+ hbox->addStretch();
+ TQWhatsThis::add( colorButton, i18n("Click here to choose the color used for the \"flash screen\" visible bell.") );
+@@ -353,7 +353,7 @@
+ grp->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(grp);
+
+- vvbox = new TQVBoxLayout(grp->tqlayout(), KDialog::spacingHint());
++ vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
+
+ stickyKeys = new TQCheckBox(i18n("Use &sticky keys"), grp);
+ vvbox->addWidget(stickyKeys);
+@@ -377,7 +377,7 @@
+ grp->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(grp);
+
+- vvbox = new TQVBoxLayout(grp->tqlayout(), KDialog::spacingHint());
++ vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
+
+ toggleKeysBeep = new TQCheckBox(i18n("Use system bell whenever a locking key gets activated or deactivated"), grp);
+ vvbox->addWidget(toggleKeysBeep);
+@@ -388,7 +388,7 @@
+ hbox = new TQHBoxLayout(vvbox, KDialog::spacingHint());
+ hbox->addStretch(1);
+ kNotifyModifiersButton = new TQPushButton(i18n("Configure System Notification..."), grp);
+- kNotifyModifiersButton->tqsetSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed);
++ kNotifyModifiersButton->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed);
+ hbox->addWidget(kNotifyModifiersButton);
+
+ connect(stickyKeys, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged()));
+@@ -415,7 +415,7 @@
+ grp->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(grp);
+
+- vvbox = new TQVBoxLayout(grp->tqlayout(), KDialog::spacingHint());
++ vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
+
+ slowKeys = new TQCheckBox(i18n("&Use slow keys"), grp);
+ vvbox->addWidget(slowKeys);
+@@ -447,7 +447,7 @@
+ grp->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(grp);
+
+- vvbox = new TQVBoxLayout(grp->tqlayout(), KDialog::spacingHint());
++ vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
+
+ bounceKeys = new TQCheckBox(i18n("Use bou&nce keys"), grp);
+ vvbox->addWidget(bounceKeys);
+@@ -491,7 +491,7 @@
+ grp->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(grp);
+
+- vvbox = new TQVBoxLayout(grp->tqlayout(), KDialog::spacingHint());
++ vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
+
+ gestures = new TQCheckBox(i18n("Use gestures for activating sticky keys and slow keys"), grp);
+ vvbox->addWidget(gestures);
+@@ -521,7 +521,7 @@
+ grp->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(grp);
+
+- vvbox = new TQVBoxLayout(grp->tqlayout(), KDialog::spacingHint());
++ vvbox = new TQVBoxLayout(grp->layout(), KDialog::spacingHint());
+
+ accessxBeep = new TQCheckBox(i18n("Use the system bell whenever a gesture is used to turn an accessibility feature on or off"), grp);
+ vvbox->addWidget(accessxBeep);
+@@ -536,7 +536,7 @@
+ hbox = new TQHBoxLayout(vvbox, KDialog::spacingHint());
+ hbox->addStretch(1);
+ kNotifyAccessXButton = new TQPushButton(i18n("Configure System Notification..."), grp);
+- kNotifyAccessXButton->tqsetSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed);
++ kNotifyAccessXButton->setSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed);
+ hbox->addWidget(kNotifyAccessXButton);
+
+ connect(gestures, TQT_SIGNAL(clicked()), this, TQT_SLOT(configChanged()));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/accessibility/accessibilityconfigwidget.ui v3.5.13-sru/kcontrol/accessibility/accessibilityconfigwidget.ui
+--- /tmp/stable//kdebase/kcontrol/accessibility/accessibilityconfigwidget.ui 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/accessibility/accessibilityconfigwidget.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -95,7 +95,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -244,7 +244,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -338,7 +338,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>15</height>
+@@ -363,7 +363,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -420,7 +420,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -534,7 +534,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -625,7 +625,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -683,7 +683,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>61</height>
+@@ -789,7 +789,7 @@
+ <property name="text">
+ <string>Ma&amp;ximum speed:</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="buddy" stdset="0">
+@@ -806,7 +806,7 @@
+ <property name="text">
+ <string>Acceleration &amp;time:</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="buddy" stdset="0">
+@@ -895,7 +895,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -944,7 +944,7 @@
+ <property name="text">
+ <string>&amp;Repeat interval:</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="buddy" stdset="0">
+@@ -992,7 +992,7 @@
+ <property name="text">
+ <string>Acceleration &amp;profile:</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="buddy" stdset="0">
+@@ -1087,7 +1087,7 @@
+ <property name="text">
+ <string>&amp;Acceleration delay:</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="buddy" stdset="0">
+@@ -1108,7 +1108,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>1</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/arts/arts.cpp v3.5.13-sru/kcontrol/arts/arts.cpp
+--- /tmp/stable//kdebase/kcontrol/arts/arts.cpp 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/arts/arts.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -297,7 +297,7 @@
+ {
+ if(a->name == audioIO) // first item: "autodetect"
+ {
+- hardware->audioIO->setCurrentItem(audioIOList.tqat() + 1);
++ hardware->audioIO->setCurrentItem(audioIOList.at() + 1);
+ break;
+ }
+
+@@ -334,7 +334,7 @@
+ int item = hardware->audioIO->currentItem() - 1; // first item: "default"
+
+ if (item >= 0) {
+- audioIO = audioIOList.tqat(item)->name;
++ audioIO = audioIOList.at(item)->name;
+ }
+
+ TQString dev = customDevice->isChecked() ? deviceName->text() : TQString::null;
+@@ -498,8 +498,8 @@
+ int item = hardware->audioIO->currentItem() - 1; // first item: "default"
+ if (item >= 0)
+ {
+- audioIO = audioIOList.tqat(item)->name;
+- bool jack = (audioIO == TQString::tqfromLatin1("jack"));
++ audioIO = audioIOList.at(item)->name;
++ bool jack = (audioIO == TQString::fromLatin1("jack"));
+ if(jack)
+ {
+ customRate->setChecked(false);
+@@ -620,39 +620,39 @@
+ TQString args;
+
+ if(fragmentCount)
+- args += TQString::tqfromLatin1(" -F %1").arg(fragmentCount);
++ args += TQString::fromLatin1(" -F %1").arg(fragmentCount);
+
+ if(fragmentSize)
+- args += TQString::tqfromLatin1(" -S %1").arg(fragmentSize);
++ args += TQString::fromLatin1(" -S %1").arg(fragmentSize);
+
+ if (!audioIO.isEmpty())
+- args += TQString::tqfromLatin1(" -a %1").arg(audioIO);
++ args += TQString::fromLatin1(" -a %1").arg(audioIO);
+
+ if (duplex)
+- args += TQString::tqfromLatin1(" -d");
++ args += TQString::fromLatin1(" -d");
+
+ if (netTrans)
+- args += TQString::tqfromLatin1(" -n");
++ args += TQString::fromLatin1(" -n");
+
+ if (!deviceName.isEmpty())
+- args += TQString::tqfromLatin1(" -D ") + deviceName;
++ args += TQString::fromLatin1(" -D ") + deviceName;
+
+ if (rate)
+- args += TQString::tqfromLatin1(" -r %1").arg(rate);
++ args += TQString::fromLatin1(" -r %1").arg(rate);
+
+ if (bits)
+- args += TQString::tqfromLatin1(" -b %1").arg(bits);
++ args += TQString::fromLatin1(" -b %1").arg(bits);
+
+ if (autoSuspend && suspendTime)
+- args += TQString::tqfromLatin1(" -s %1").arg(suspendTime);
++ args += TQString::fromLatin1(" -s %1").arg(suspendTime);
+
+ if (!addOptions.isEmpty())
+ args += TQChar(' ') + addOptions;
+
+- args += TQString::tqfromLatin1(" -m artsmessage");
+- args += TQString::tqfromLatin1(" -c drkonqi");
+- args += TQString::tqfromLatin1(" -l 3");
+- args += TQString::tqfromLatin1(" -f");
++ args += TQString::fromLatin1(" -m artsmessage");
++ args += TQString::fromLatin1(" -c drkonqi");
++ args += TQString::fromLatin1(" -l 3");
++ args += TQString::fromLatin1(" -f");
+
+ return args;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/arts/generaltab.ui v3.5.13-sru/kcontrol/arts/generaltab.ui
+--- /tmp/stable//kdebase/kcontrol/arts/generaltab.ui 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/arts/generaltab.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -12,7 +12,7 @@
+ <height>613</height>
+ </rect>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>450</height>
+@@ -227,7 +227,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>173</width>
+ <height>20</height>
+@@ -256,7 +256,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -289,7 +289,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -308,7 +308,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/arts/hardwaretab.ui v3.5.13-sru/kcontrol/arts/hardwaretab.ui
+--- /tmp/stable//kdebase/kcontrol/arts/hardwaretab.ui 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/arts/hardwaretab.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -133,7 +133,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -189,7 +189,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -252,7 +252,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -345,7 +345,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>60</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/arts/krichtextlabel.cpp v3.5.13-sru/kcontrol/arts/krichtextlabel.cpp
+--- /tmp/stable//kdebase/kcontrol/arts/krichtextlabel.cpp 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/arts/krichtextlabel.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -41,14 +41,14 @@
+ KRichTextLabel::KRichTextLabel( const TQString &text , TQWidget *parent, const char *name )
+ : TQLabel ( parent, name ) {
+ m_defaultWidth = TQMIN(500, KGlobalSettings::desktopGeometry(this).width()*3/5);
+- tqsetAlignment( TQt::WordBreak );
++ setAlignment( TQt::WordBreak );
+ setText(text);
+ }
+
+ KRichTextLabel::KRichTextLabel( TQWidget *parent, const char *name )
+ : TQLabel ( parent, name ) {
+ m_defaultWidth = TQMIN(500, KGlobalSettings::desktopGeometry(this).width()*3/5);
+- tqsetAlignment( TQt::WordBreak );
++ setAlignment( TQt::WordBreak );
+ }
+
+ void KRichTextLabel::setDefaultWidth(int defaultWidth)
+@@ -62,7 +62,7 @@
+ return TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Minimum, false);
+ }
+
+-TQSize KRichTextLabel::tqminimumSizeHint() const
++TQSize KRichTextLabel::minimumSizeHint() const
+ {
+ TQString qt_text = qrichtextify( text() );
+ int pref_width = 0;
+@@ -97,9 +97,9 @@
+ return TQSize(pref_width, rt.height());
+ }
+
+-TQSize KRichTextLabel::tqsizeHint() const
++TQSize KRichTextLabel::sizeHint() const
+ {
+- return tqminimumSizeHint();
++ return minimumSizeHint();
+ }
+
+ void KRichTextLabel::setText( const TQString &text ) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/arts/krichtextlabel.h v3.5.13-sru/kcontrol/arts/krichtextlabel.h
+--- /tmp/stable//kdebase/kcontrol/arts/krichtextlabel.h 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/arts/krichtextlabel.h 2012-09-08 19:41:29.000000000 +0200
+@@ -45,8 +45,8 @@
+ int defaultWidth() const { return m_defaultWidth; }
+ void setDefaultWidth(int defaultWidth);
+
+- virtual TQSize tqminimumSizeHint() const;
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize minimumSizeHint() const;
++ virtual TQSize sizeHint() const;
+ TQSizePolicy sizePolicy() const;
+
+ public slots:
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bgadvanced.cpp v3.5.13-sru/kcontrol/background/bgadvanced.cpp
+--- /tmp/stable//kdebase/kcontrol/background/bgadvanced.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kcontrol/background/bgadvanced.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -432,7 +432,7 @@
+ m_RefreshEdit->setRange(5, 60);
+ m_RefreshEdit->setSteps(5, 10);
+ m_RefreshEdit->setSuffix(i18n(" min"));
+- m_RefreshEdit->setFixedSize(m_RefreshEdit->tqsizeHint());
++ m_RefreshEdit->setFixedSize(m_RefreshEdit->sizeHint());
+ lbl->setBuddy(m_RefreshEdit);
+ grid->addWidget(m_RefreshEdit, 5, 1, Qt::AlignLeft);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bgadvanced_ui.ui v3.5.13-sru/kcontrol/background/bgadvanced_ui.ui
+--- /tmp/stable//kdebase/kcontrol/background/bgadvanced_ui.ui 2011-03-12 07:57:36.000000000 +0100
++++ v3.5.13-sru/kcontrol/background/bgadvanced_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -91,7 +91,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -138,7 +138,7 @@
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>400</width>
+ <height>0</height>
+@@ -223,7 +223,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>220</width>
+ <height>20</height>
+@@ -376,7 +376,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -395,7 +395,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bgdialog.cpp v3.5.13-sru/kcontrol/background/bgdialog.cpp
+--- /tmp/stable//kdebase/kcontrol/background/bgdialog.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kcontrol/background/bgdialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -142,7 +142,7 @@
+ }
+
+ // background image settings
+- TQIconSet iconSet = SmallIconSet(TQString::tqfromLatin1("fileopen"));
++ TQIconSet iconSet = SmallIconSet(TQString::fromLatin1("fileopen"));
+ TQPixmap pixMap = iconSet.pixmap( TQIconSet::Small, TQIconSet::Normal );
+ m_urlWallpaperButton->setIconSet( iconSet );
+ m_urlWallpaperButton->setFixedSize( pixMap.width()+8, pixMap.height()+8 );
+@@ -414,14 +414,14 @@
+ screenLabel->setFrameStyle(TQFrame::Panel);
+ screenLabel->setFrameShadow(TQFrame::Plain);
+
+- screenLabel->tqsetAlignment(Qt::AlignCenter);
++ screenLabel->setAlignment(Qt::AlignCenter);
+ screenLabel->setNum(int(s + 1));
+ // BUGLET: we should not allow the identification to be entered again
+ // until the timer fires.
+ TQTimer::singleShot(1500, screenLabel, TQT_SLOT(close()));
+
+ TQPoint screenCenter(TQApplication::desktop()->screenGeometry(s).center());
+- TQRect targetGeometry(TQPoint(0,0),screenLabel->tqsizeHint());
++ TQRect targetGeometry(TQPoint(0,0),screenLabel->sizeHint());
+ targetGeometry.moveCenter(screenCenter);
+
+ screenLabel->setGeometry(targetGeometry);
+@@ -441,14 +441,14 @@
+ else {
+ for (unsigned i = 0; i < (m_numDesks/m_numViewports); ++i) {
+ for (unsigned j = 0; j < m_numViewports; ++j) {
+- m_comboDesktop->insertItem(i18n("Desktop %1 Viewport %2").tqarg(i+1).tqarg(j+1));
++ m_comboDesktop->insertItem(i18n("Desktop %1 Viewport %2").arg(i+1).arg(j+1));
+ }
+ }
+ }
+
+ // Screens
+ for (unsigned i = 0; i < m_numScreens; ++i)
+- m_comboScreen->insertItem( i18n("Screen %1").tqarg(TQString::number(i+1)) );
++ m_comboScreen->insertItem( i18n("Screen %1").arg(TQString::number(i+1)) );
+
+ // Patterns
+ m_comboPattern->insertItem(i18n("Single Color"));
+@@ -1004,7 +1004,7 @@
+ {
+ KBackgroundRenderer *r = eRenderer();
+
+- BGMultiWallpaperDialog dlg(r, tqtopLevelWidget());
++ BGMultiWallpaperDialog dlg(r, topLevelWidget());
+ if (dlg.exec() == TQDialog::Accepted) {
+ r->stop();
+ m_slideShowRandom = r->multiWallpaperMode();
+@@ -1182,7 +1182,7 @@
+ KBackgroundRenderer *r = eRenderer();
+
+ m_previewUpdates = false;
+- BGAdvancedDialog dlg(r, tqtopLevelWidget(), m_multidesktop);
++ BGAdvancedDialog dlg(r, topLevelWidget(), m_multidesktop);
+
+ if (!m_pMonitorArrangement->isEnabled()) {
+ dlg.makeReadOnly();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bgdialog_ui.ui v3.5.13-sru/kcontrol/background/bgdialog_ui.ui
+--- /tmp/stable//kdebase/kcontrol/background/bgdialog_ui.ui 2011-03-12 07:57:36.000000000 +0100
++++ v3.5.13-sru/kcontrol/background/bgdialog_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -105,7 +105,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>0</height>
+@@ -132,7 +132,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>100</width>
+ <height>0</height>
+@@ -161,7 +161,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>4</width>
+ <height>20</height>
+@@ -197,7 +197,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>4</width>
+ <height>20</height>
+@@ -219,7 +219,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>4</width>
+ <height>20</height>
+@@ -255,7 +255,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>4</width>
+ <height>20</height>
+@@ -277,7 +277,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>4</width>
+ <height>20</height>
+@@ -313,7 +313,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>4</width>
+ <height>20</height>
+@@ -333,7 +333,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -522,7 +522,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>120</width>
+ <height>10</height>
+@@ -539,7 +539,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>130</width>
+ <height>10</height>
+@@ -613,7 +613,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>260</width>
+ <height>20</height>
+@@ -641,7 +641,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>110</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bghash.h v3.5.13-sru/kcontrol/background/bghash.h
+--- /tmp/stable//kdebase/kcontrol/background/bghash.h 2011-03-12 07:57:36.000000000 +0100
++++ v3.5.13-sru/kcontrol/background/bghash.h 2012-09-08 19:41:29.000000000 +0200
+@@ -8,7 +8,7 @@
+ static int TQHash(TQString key)
+ {
+ int g, h = 0;
+- const TQChar *p = key.tqunicode();
++ const TQChar *p = key.unicode();
+ for (unsigned i=0; i < key.length(); i++) {
+ h = (h << 4) + p[i].cell();
+ if ((g = (h & 0xf0000000)))
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bgmonitor.cpp v3.5.13-sru/kcontrol/background/bgmonitor.cpp
+--- /tmp/stable//kdebase/kcontrol/background/bgmonitor.cpp 2011-03-12 07:57:36.000000000 +0100
++++ v3.5.13-sru/kcontrol/background/bgmonitor.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -157,7 +157,7 @@
+ BGMonitorLabel::BGMonitorLabel(TQWidget *parent, const char *name)
+ : TQLabel(parent, name)
+ {
+- tqsetAlignment(AlignCenter);
++ setAlignment(AlignCenter);
+ setScaledContents(true);
+ setPixmap( TQPixmap( locate("data", "kcontrol/pics/monitor.png") ) );
+ m_pBGMonitor = new BGMonitor(this);
+@@ -168,8 +168,8 @@
+
+ void BGMonitorLabel::updateMonitorGeometry()
+ {
+- double scaleX = double(width()) / double(tqsizeHint().width());
+- double scaleY = double(height()) / double(tqsizeHint().height());
++ double scaleX = double(width()) / double(sizeHint().width());
++ double scaleY = double(height()) / double(sizeHint().height());
+
+ kdDebug() << k_funcinfo << " Setting geometry to " << TQRect( int(23*scaleX), int(14*scaleY), int(151*scaleX), int(115*scaleY) ) << endl;
+ m_pBGMonitor->setGeometry( int(23*scaleX), int(14*scaleY), int(151*scaleX), int(115*scaleY) );
+@@ -189,7 +189,7 @@
+ BGMonitor::BGMonitor(TQWidget *parent, const char *name)
+ : TQLabel(parent, name)
+ {
+- tqsetAlignment(AlignCenter);
++ setAlignment(AlignCenter);
+ setScaledContents(true);
+ setAcceptDrops(true);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bgrender.cpp v3.5.13-sru/kcontrol/background/bgrender.cpp
+--- /tmp/stable//kdebase/kcontrol/background/bgrender.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kcontrol/background/bgrender.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -129,7 +129,7 @@
+ if (pos == (int) (cmd.length() - 1))
+ break;
+
+- switch (cmd.tqat(pos+1).latin1()) {
++ switch (cmd.at(pos+1).latin1()) {
+ case 'f':
+ createTempFile();
+ cmd.replace(pos, 2, KShellProcess::quote(m_Tempfile->name()));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bgsettings.cpp v3.5.13-sru/kcontrol/background/bgsettings.cpp
+--- /tmp/stable//kdebase/kcontrol/background/bgsettings.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kcontrol/background/bgsettings.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -148,7 +148,7 @@
+ if (m_Pattern.isEmpty())
+ return false;
+ TQString file = m_Pattern;
+- if (file.tqat(0) != '/')
++ if (file.at(0) != '/')
+ file = m_pDirs->findResource("dtop_pattern", file);
+ TQFileInfo fi(file);
+ return (fi.exists());
+@@ -895,7 +895,7 @@
+ tmpList.pop_front();
+ while(tmpList.count())
+ {
+- randomList.insert(randomList.tqat(
++ randomList.insert(randomList.at(
+ rseq.getLong(randomList.count()+1)),
+ 1, tmpList.front());
+
+@@ -985,7 +985,7 @@
+ {
+ return false;
+ }
+- m_WallpaperFiles.remove(m_WallpaperFiles.tqat(m_CurrentWallpaper));
++ m_WallpaperFiles.remove(m_WallpaperFiles.at(m_CurrentWallpaper));
+ --m_CurrentWallpaper;
+ changeWallpaper();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/bgwallpaper_ui.ui v3.5.13-sru/kcontrol/background/bgwallpaper_ui.ui
+--- /tmp/stable//kdebase/kcontrol/background/bgwallpaper_ui.ui 2011-03-12 07:57:36.000000000 +0100
++++ v3.5.13-sru/kcontrol/background/bgwallpaper_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -69,7 +69,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -98,7 +98,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>300</width>
+ <height>100</height>
+@@ -123,7 +123,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/background/CMakeLists.txt v3.5.13-sru/kcontrol/background/CMakeLists.txt
+--- /tmp/stable//kdebase/kcontrol/background/CMakeLists.txt 2011-03-12 07:57:36.000000000 +0100
++++ v3.5.13-sru/kcontrol/background/CMakeLists.txt 2012-09-08 19:41:29.000000000 +0200
+@@ -18,6 +18,7 @@
+ ${CMAKE_SOURCE_DIR}/libkonq
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
++ ${LIBART_INCLUDE_DIRS}
+ )
+
+ link_directories(
+@@ -28,6 +29,7 @@
+
+ tde_add_library( bgnd STATIC_PIC AUTOMOC
+ SOURCES bgrender.cpp bgsettings.cpp
++ LINK ${LIBART_LIBRARIES}
+ )
+
+ endif( )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/bell/bell.cpp v3.5.13-sru/kcontrol/bell/bell.cpp
+--- /tmp/stable//kdebase/kcontrol/bell/bell.cpp 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/bell/bell.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -74,7 +74,7 @@
+ box->setColumnLayout( 0, Qt::Horizontal );
+ layout->addWidget(box);
+ layout->addStretch();
+- TQGridLayout *grid = new TQGridLayout(box->tqlayout(), KDialog::spacingHint());
++ TQGridLayout *grid = new TQGridLayout(box->layout(), KDialog::spacingHint());
+ grid->setColStretch(0, 0);
+ grid->setColStretch(1, 1);
+ grid->addColSpacing(0, 30);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/clock/dtime.cpp v3.5.13-sru/kcontrol/clock/dtime.cpp
+--- /tmp/stable//kdebase/kcontrol/clock/dtime.cpp 2011-08-11 07:25:30.000000000 +0200
++++ v3.5.13-sru/kcontrol/clock/dtime.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -89,7 +89,7 @@
+ TQVBoxLayout *l1 = new TQVBoxLayout( dateBox, KDialog::spacingHint() );
+
+ cal = new KDatePicker( dateBox );
+- cal->setMinimumSize(cal->tqsizeHint());
++ cal->setMinimumSize(cal->sizeHint());
+ l1->addWidget( cal );
+ TQWhatsThis::add( cal, i18n("Here you can change the system date's day of the month, month and year.") );
+
+@@ -120,7 +120,7 @@
+
+ TQLabel *dots1 = new TQLabel(":", timeBox);
+ dots1->setMinimumWidth( 7 );
+- dots1->tqsetAlignment( TQLabel::AlignCenter );
++ dots1->setAlignment( TQLabel::AlignCenter );
+ v3->addMultiCellWidget(dots1, 0, 1, 3, 3 );
+
+ minute = new HMSTimeWidget( timeBox );
+@@ -132,7 +132,7 @@
+
+ TQLabel *dots2 = new TQLabel(":", timeBox);
+ dots2->setMinimumWidth( 7 );
+- dots2->tqsetAlignment( TQLabel::AlignCenter );
++ dots2->setAlignment( TQLabel::AlignCenter );
+ v3->addMultiCellWidget(dots2, 0, 1, 5, 5 );
+
+ second = new HMSTimeWidget( timeBox );
+@@ -293,7 +293,7 @@
+ proc << ntpUtility << timeServer;
+ proc.start( KProcess::Block );
+ if( proc.exitStatus() != 0 ){
+- KMessageBox::error( this, i18n(TQString("Unable to contact time server: %1.").tqarg(timeServer).latin1()));
++ KMessageBox::error( this, i18n(TQString("Unable to contact time server: %1.").arg(timeServer).latin1()));
+ setDateTimeAuto->setChecked( false );
+ }
+ else {
+@@ -368,7 +368,7 @@
+ void Kclock::setTime(const TQTime &time)
+ {
+ this->time = time;
+- tqrepaint();
++ repaint();
+ }
+
+ void Kclock::paintEvent( TQPaintEvent * )
+@@ -382,8 +382,8 @@
+ TQPointArray pts;
+ TQPoint cp = rect().center();
+ int d = QMIN(width(),height());
+- TQColor hands = tqcolorGroup().dark();
+- TQColor shadow = tqcolorGroup().text();
++ TQColor hands = colorGroup().dark();
++ TQColor shadow = colorGroup().text();
+ paint.setPen( shadow );
+ paint.setBrush( shadow );
+ paint.setViewport(4,4,width(),height());
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/clock/tzone.cpp v3.5.13-sru/kcontrol/clock/tzone.cpp
+--- /tmp/stable//kdebase/kcontrol/clock/tzone.cpp 2011-08-11 07:25:30.000000000 +0200
++++ v3.5.13-sru/kcontrol/clock/tzone.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -77,7 +77,7 @@
+ time_t now = time(0);
+ tzset();
+ strftime(result.data(), result.size(), "%Z", localtime(&now));
+- m_local->setText(localZone.tqarg(KTimezoneWidget::displayName(m_zoneDb.local())).tqarg(static_cast<const char *>(result)));
++ m_local->setText(localZone.arg(KTimezoneWidget::displayName(m_zoneDb.local())).arg(static_cast<const char *>(result)));
+ }
+
+ // FIXME: Does the logic in this routine actually work correctly? For example,
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/colors/colorscm.cpp v3.5.13-sru/kcontrol/colors/colorscm.cpp
+--- /tmp/stable//kdebase/kcontrol/colors/colorscm.cpp 2011-08-21 09:08:14.000000000 +0200
++++ v3.5.13-sru/kcontrol/colors/colorscm.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -440,7 +440,7 @@
+
+ void KColorScheme::slotSave( )
+ {
+- KColorSchemeEntry *entry = mSchemeList->tqat(sList->currentItem()-nSysSchemes);
++ KColorSchemeEntry *entry = mSchemeList->at(sList->currentItem()-nSysSchemes);
+ if (!entry) return;
+ sCurrentScheme = entry->path;
+ KSimpleConfig *config = new KSimpleConfig(sCurrentScheme );
+@@ -482,7 +482,7 @@
+ void KColorScheme::slotRemove()
+ {
+ uint ind = sList->currentItem();
+- KColorSchemeEntry *entry = mSchemeList->tqat(ind-nSysSchemes);
++ KColorSchemeEntry *entry = mSchemeList->at(ind-nSysSchemes);
+ if (!entry) return;
+
+ if (unlink(TQFile::encodeName(entry->path).data())) {
+@@ -497,7 +497,7 @@
+ mSchemeList->remove(entry);
+
+ ind = sList->currentItem();
+- entry = mSchemeList->tqat(ind-nSysSchemes);
++ entry = mSchemeList->at(ind-nSysSchemes);
+ if (!entry) return;
+ removeBt->setEnabled(entry ? entry->local : false);
+ }
+@@ -795,7 +795,7 @@
+ config->setGroup("General");
+ } else {
+ // Open scheme file
+- KColorSchemeEntry *entry = mSchemeList->tqat(sList->currentItem()-nSysSchemes);
++ KColorSchemeEntry *entry = mSchemeList->at(sList->currentItem()-nSysSchemes);
+ if (!entry) return;
+ sCurrentScheme = entry->path;
+ config = new KSimpleConfig(sCurrentScheme, true);
+@@ -941,7 +941,7 @@
+ removeBt->setEnabled(false);
+ else
+ {
+- KColorSchemeEntry *entry = mSchemeList->tqat(indx-nSysSchemes);
++ KColorSchemeEntry *entry = mSchemeList->at(indx-nSysSchemes);
+ removeBt->setEnabled(entry ? entry->local : false);
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/colors/widgetcanvas.cpp v3.5.13-sru/kcontrol/colors/widgetcanvas.cpp
+--- /tmp/stable//kdebase/kcontrol/colors/widgetcanvas.cpp 2011-08-11 07:25:31.000000000 +0200
++++ v3.5.13-sru/kcontrol/colors/widgetcanvas.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -327,7 +327,7 @@
+ #ifndef __osf__
+ TQPainter::redirect( vertScrollBar, &pm );
+ #endif
+- vertScrollBar->tqrepaint();
++ vertScrollBar->repaint();
+ TQPainter::redirect( vertScrollBar, 0 );
+ vertScrollBar->hide();
+
+@@ -338,7 +338,7 @@
+
+ smplw.resize(width(), height());
+ //smplw.fill( parentWidget()->back() );
+- smplw.fill( parentWidget()->tqcolorGroup().mid() );
++ smplw.fill( parentWidget()->colorGroup().mid() );
+
+ // Actually start painting in
+
+@@ -435,7 +435,7 @@
+ // Menu bar
+
+ //qDrawShadePanel ( &paint, 25, 55, width()-52, 28, cg, FALSE, 2, &brush);
+- kapp->tqstyle().tqdrawPrimitive(TQStyle::PE_PanelMenuBar, &paint,
++ kapp->style().tqdrawPrimitive(TQStyle::PE_PanelMenuBar, &paint,
+ TQRect(TQPoint(25, 55), TQSize(width()-52, 28)), cg);
+
+ paint.setFont( menuFont );
+@@ -443,7 +443,7 @@
+ TQString file = i18n("File");
+ textLen = paint.fontMetrics().width( file );
+ //qDrawShadePanel ( &paint, 30, 59, textLen + 10, 21, cg, FALSE, 2, &brush);
+- kapp->tqstyle().tqdrawPrimitive(TQStyle::PE_Panel, &paint,
++ kapp->style().tqdrawPrimitive(TQStyle::PE_Panel, &paint,
+ TQRect(30, 59, textLen + 10, 21), cg);
+ paint.drawText( 35, 74, file );
+
+@@ -528,7 +528,7 @@
+ cg2.setColor(TQColorGroup::Button, button);
+ cg2.setColor(TQColorGroup::Background, window);
+ //qDrawWinButton(&paint, xpos, ypos, textLen+32, 28, cg, false, &brush);
+- kapp->tqstyle().tqdrawPrimitive(TQStyle::PE_ButtonCommand, &paint,
++ kapp->style().tqdrawPrimitive(TQStyle::PE_ButtonCommand, &paint,
+ TQRect(xpos, ypos, textLen+32, 28), cg2, TQStyle::Style_Enabled | TQStyle::Style_Raised);
+ paint.setPen(buttonTxt);
+ paint.drawText(xpos, ypos, textLen+32, 28, AlignCenter,
+@@ -567,9 +567,9 @@
+ popup->setItemEnabled( id, false );
+
+ // HACK: Force Layouting
+- //Sad Eagle: tqsizeHint() forces layouting too, and it's a lot less visible
+- //popup->tqsizeHint(); // Breaks with Qt 3.3
+- popup->resize(popup->tqsizeHint());
++ //Sad Eagle: sizeHint() forces layouting too, and it's a lot less visible
++ //popup->sizeHint(); // Breaks with Qt 3.3
++ popup->resize(popup->sizeHint());
+
+ pm = TQPixmap::grabWidget( popup );
+ delete popup;
+@@ -585,12 +585,12 @@
+ // Valance
+
+ qDrawWinPanel ( &paint, 0, 0, width(), height(),
+- parentWidget()->tqcolorGroup(), TRUE, 0);
++ parentWidget()->colorGroup(), TRUE, 0);
+
+ // Stop the painting
+
+ hotspots[ spot++ ] =
+ HotSpot( TQRect( 0, 0, width(), height() ), CSM_Background ); // ?
+
+- tqrepaint( FALSE );
++ repaint( FALSE );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/componentchooser/browserconfig_ui.ui v3.5.13-sru/kcontrol/componentchooser/browserconfig_ui.ui
+--- /tmp/stable//kdebase/kcontrol/componentchooser/browserconfig_ui.ui 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/componentchooser/browserconfig_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -86,7 +86,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -134,7 +134,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/componentchooser/componentchooser.cpp v3.5.13-sru/kcontrol/componentchooser/componentchooser.cpp
+--- /tmp/stable//kdebase/kcontrol/componentchooser/componentchooser.cpp 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/componentchooser/componentchooser.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -147,7 +147,7 @@
+ kmailCB->setChecked(useKMail);
+ otherCB->setChecked(!useKMail);
+ txtEMailClient->setText(emailClient);
+- txtEMailClient->setFixedHeight(txtEMailClient->tqsizeHint().height());
++ txtEMailClient->setFixedHeight(txtEMailClient->sizeHint().height());
+ chkRunTerminal->setChecked((pSettings->getSetting(KEMailSettings::ClientTerminal) == "true"));
+
+ emit changed(false);
+@@ -169,9 +169,9 @@
+ TQString client = dlg.text();
+
+ // get the preferred Terminal Application
+- KConfigGroup confGroup( KGlobal::config(), TQString::tqfromLatin1("General") );
+- TQString preferredTerminal = confGroup.readPathEntry("TerminalApplication", TQString::tqfromLatin1("konsole"));
+- preferredTerminal += TQString::tqfromLatin1(" -e ");
++ KConfigGroup confGroup( KGlobal::config(), TQString::fromLatin1("General") );
++ TQString preferredTerminal = confGroup.readPathEntry("TerminalApplication", TQString::fromLatin1("konsole"));
++ preferredTerminal += TQString::fromLatin1(" -e ");
+
+ int len = preferredTerminal.length();
+ bool b = client.left(len) == preferredTerminal;
+@@ -393,7 +393,7 @@
+ ServiceChooser->insertItem(new MyListBoxItem(cfg.readEntry("Name",i18n("Unknown")),(*it)));
+
+ }
+- ServiceChooser->setFixedWidth(ServiceChooser->tqsizeHint().width());
++ ServiceChooser->setFixedWidth(ServiceChooser->sizeHint().width());
+ ServiceChooser->sort();
+ connect(ServiceChooser,TQT_SIGNAL(highlighted(TQListBoxItem*)),this,TQT_SLOT(slotServiceSelected(TQListBoxItem*)));
+ ServiceChooser->setSelected(0,true);
+@@ -410,7 +410,7 @@
+ KSimpleConfig cfg(static_cast<MyListBoxItem*>(it)->File);
+
+ ComponentDescription->setText(cfg.readEntry("Comment",i18n("No description available")));
+- ComponentDescription->setMinimumSize(ComponentDescription->tqsizeHint());
++ ComponentDescription->setMinimumSize(ComponentDescription->sizeHint());
+
+
+ TQString cfgType=cfg.readEntry("configurationType");
+@@ -461,7 +461,7 @@
+ delete configWidget;
+ configWidget=newConfigWidget;
+ connect(configWidget,TQT_SIGNAL(changed(bool)),this,TQT_SLOT(emitChanged(bool)));
+- configContainer->setMinimumSize(configWidget->tqsizeHint());
++ configContainer->setMinimumSize(configWidget->sizeHint());
+ }
+
+ if (configWidget)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/componentchooser/componentchooser_ui.ui v3.5.13-sru/kcontrol/componentchooser/componentchooser_ui.ui
+--- /tmp/stable//kdebase/kcontrol/componentchooser/componentchooser_ui.ui 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/componentchooser/componentchooser_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -91,7 +91,7 @@
+ <property name="text">
+ <string></string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop</set>
+ </property>
+ </widget>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/componentchooser/componentconfig_ui.ui v3.5.13-sru/kcontrol/componentchooser/componentconfig_ui.ui
+--- /tmp/stable//kdebase/kcontrol/componentchooser/componentconfig_ui.ui 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/componentchooser/componentconfig_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -26,7 +26,7 @@
+ <property name="text">
+ <string></string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+@@ -45,7 +45,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>91</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/componentchooser/emailclientconfig_ui.ui v3.5.13-sru/kcontrol/componentchooser/emailclientconfig_ui.ui
+--- /tmp/stable//kdebase/kcontrol/componentchooser/emailclientconfig_ui.ui 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/componentchooser/emailclientconfig_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -73,7 +73,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+@@ -126,7 +126,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>16</height>
+@@ -165,7 +165,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>16</height>
+@@ -182,7 +182,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/componentchooser/terminalemulatorconfig_ui.ui v3.5.13-sru/kcontrol/componentchooser/terminalemulatorconfig_ui.ui
+--- /tmp/stable//kdebase/kcontrol/componentchooser/terminalemulatorconfig_ui.ui 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/componentchooser/terminalemulatorconfig_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -57,7 +57,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>87</height>
+@@ -82,7 +82,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>31</width>
+ <height>20</height>
+@@ -120,7 +120,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/crypto/crypto.cpp v3.5.13-sru/kcontrol/crypto/crypto.cpp
+--- /tmp/stable//kdebase/kcontrol/crypto/crypto.cpp 2011-10-10 08:55:56.000000000 +0200
++++ v3.5.13-sru/kcontrol/crypto/crypto.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -842,7 +842,7 @@
+ tabs->addTab(tabSSLCOpts, i18n("Validation Options"));
+ #endif
+
+- tabs->resize(tabs->tqsizeHint());
++ tabs->resize(tabs->sizeHint());
+ load();
+ }
+
+@@ -1500,7 +1500,7 @@
+ TQPalette cspl;
+ iss = cert->getIssuer();
+ cspl = validFrom->palette();
+- if (TQDateTime::tqcurrentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {
++ if (TQDateTime::currentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
+ } else {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
+@@ -1508,7 +1508,7 @@
+ validFrom->setPalette(cspl);
+
+ cspl = validUntil->palette();
+- if (TQDateTime::tqcurrentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
++ if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
+ } else {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
+@@ -1518,7 +1518,7 @@
+ validFrom->setText(cert->getNotBefore());
+ validUntil->setText(cert->getNotAfter());
+ untilDate->setText(x ? KGlobal::locale()->formatDateTime(x->getExpires())
+- : KGlobal::locale()->formatDateTime(TQDateTime::tqcurrentDateTime(Qt::UTC)));
++ : KGlobal::locale()->formatDateTime(TQDateTime::currentDateTime(Qt::UTC)));
+ untilDate->setEnabled(x && !x->isPermanent());
+ pHash->setText(cert->getMD5DigestText());
+ delete cert;
+@@ -1738,7 +1738,7 @@
+ TQPalette cspl;
+ KSSLCertificate *cert = pkcs->getCertificate();
+ cspl = yValidFrom->palette();
+- if (TQDateTime::tqcurrentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {
++ if (TQDateTime::currentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
+ } else {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
+@@ -1746,7 +1746,7 @@
+ yValidFrom->setPalette(cspl);
+
+ cspl = yValidUntil->palette();
+- if (TQDateTime::tqcurrentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
++ if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
+ } else {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
+@@ -1778,7 +1778,7 @@
+ KSSLCertificate *cert = pkcs->getCertificate();
+ iss = cert->getIssuer();
+ cspl = yValidFrom->palette();
+- if (TQDateTime::tqcurrentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {
++ if (TQDateTime::currentDateTime(Qt::UTC) < cert->getQDTNotBefore()) {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
+ } else {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
+@@ -1786,7 +1786,7 @@
+ yValidFrom->setPalette(cspl);
+
+ cspl = yValidUntil->palette();
+- if (TQDateTime::tqcurrentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
++ if (TQDateTime::currentDateTime(Qt::UTC) > cert->getQDTNotAfter()) {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(196,33,21));
+ } else {
+ cspl.setColor(TQColorGroup::Foreground, TQColor(42,153,59));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/css/cssconfig.ui v3.5.13-sru/kcontrol/css/cssconfig.ui
+--- /tmp/stable//kdebase/kcontrol/css/cssconfig.ui 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/css/cssconfig.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -103,7 +103,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+@@ -157,7 +157,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+@@ -185,7 +185,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>451</width>
+ <height>20</height>
+@@ -206,7 +206,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>50</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/css/csscustom.ui v3.5.13-sru/kcontrol/css/csscustom.ui
+--- /tmp/stable//kdebase/kcontrol/css/csscustom.ui 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/css/csscustom.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -243,7 +243,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -273,7 +273,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -315,7 +315,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -412,7 +412,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -429,7 +429,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>20</height>
+@@ -446,7 +446,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -463,7 +463,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/css/preview.ui v3.5.13-sru/kcontrol/css/preview.ui
+--- /tmp/stable//kdebase/kcontrol/css/preview.ui 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/css/preview.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -37,7 +37,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/displayconfig/displayconfigbase.ui v3.5.13-sru/kcontrol/displayconfig/displayconfigbase.ui
+--- /tmp/stable//kdebase/kcontrol/displayconfig/displayconfigbase.ui 2011-10-10 03:40:45.000000000 +0200
++++ v3.5.13-sru/kcontrol/displayconfig/displayconfigbase.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -65,7 +65,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -310,7 +310,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -403,7 +403,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -420,7 +420,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -597,7 +597,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -649,7 +649,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -749,7 +749,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/displayconfig/displayconfig.cpp v3.5.13-sru/kcontrol/displayconfig/displayconfig.cpp
+--- /tmp/stable//kdebase/kcontrol/displayconfig/displayconfig.cpp 2011-10-10 03:40:45.000000000 +0200
++++ v3.5.13-sru/kcontrol/displayconfig/displayconfig.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -743,7 +743,7 @@
+ m_randrsimple = new KRandrSimpleAPI();
+
+ TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+- systemconfig = new KSimpleConfig( TQString::tqfromLatin1( KDE_CONFDIR "/kdisplay/kdisplayconfigrc" ));
++ systemconfig = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/kdisplay/kdisplayconfigrc" ));
+ systemconfig->setFileWriteMode(0644);
+
+ KAboutData *about =
+@@ -1219,10 +1219,10 @@
+ screendata->gamma_blue = floorf(screendata->gamma_blue * 10 + 0.5) / 10;
+
+ // Set the labels
+- base->gammaAllLabel->setText(TQString("%1").tqarg(((float)base->gammaAllSlider->value())/10.0, 0, 'f', 1));
+- base->gammaRedLabel->setText(TQString("%1").tqarg(((float)base->gammaRedSlider->value())/10.0, 0, 'f', 1));
+- base->gammaGreenLabel->setText(TQString("%1").tqarg(((float)base->gammaGreenSlider->value())/10.0, 0, 'f', 1));
+- base->gammaBlueLabel->setText(TQString("%1").tqarg(((float)base->gammaBlueSlider->value())/10.0, 0, 'f', 1));
++ base->gammaAllLabel->setText(TQString("%1").arg(((float)base->gammaAllSlider->value())/10.0, 0, 'f', 1));
++ base->gammaRedLabel->setText(TQString("%1").arg(((float)base->gammaRedSlider->value())/10.0, 0, 'f', 1));
++ base->gammaGreenLabel->setText(TQString("%1").arg(((float)base->gammaGreenSlider->value())/10.0, 0, 'f', 1));
++ base->gammaBlueLabel->setText(TQString("%1").arg(((float)base->gammaBlueSlider->value())/10.0, 0, 'f', 1));
+ }
+
+ void KDisplayConfig::gammaSetAverageAllSlider() {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/displayconfig/displayconfig.desktop v3.5.13-sru/kcontrol/displayconfig/displayconfig.desktop
+--- /tmp/stable//kdebase/kcontrol/displayconfig/displayconfig.desktop 2011-08-24 18:35:15.000000000 +0200
++++ v3.5.13-sru/kcontrol/displayconfig/displayconfig.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -1,23 +1,25 @@
+ [Desktop Entry]
+-Exec=kcmshell displayconfig
+-Icon=background
+-Type=Application
+-DocPath=kcontrol/displayconfig/index.html
+-
+-X-KDE-Library=displayconfig
+-X-KDE-ParentApp=kcontrol
+-X-KDE-RootOnly=true
+-X-KDE-SubstituteUID=true
+-
+-Categories=Qt;KDE;X-KDE-settings-peripherals;
++Categories=Qt;KDE;X-KDE-settings-system;
+ Comment=Configure display
+ Comment[en_US]=Configure display
+ DocPath=kcontrol/displayconfig.html
++Exec[$e]=kcmshell displayconfig
+ GenericName=
+ GenericName[en_US]=
++Icon=background
+ Keywords=monitor,resolution,display
+ MimeType=
+-Name=Monitor and Display
+-Name[en_US]=Monitor and Display
+-
+-NoDisplay=false
+\ Pas de fin de ligne à la fin du fichier
++Name=Monitor & Display
++Name[en_US]=Monitor & Display
++NoDisplay=false
++Path[$e]=
++StartupNotify=true
++Terminal=false
++TerminalOptions=
++Type=Application
++X-DCOP-ServiceType=
++X-KDE-Library=displayconfig
++X-KDE-ParentApp=kcontrol
++X-KDE-RootOnly=true
++X-KDE-SubstituteUID=true
++X-KDE-Username=
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/dnssd/configdialog.ui v3.5.13-sru/kcontrol/dnssd/configdialog.ui
+--- /tmp/stable//kdebase/kcontrol/dnssd/configdialog.ui 2011-03-12 07:57:49.000000000 +0100
++++ v3.5.13-sru/kcontrol/dnssd/configdialog.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -20,7 +20,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+@@ -204,7 +204,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>130</width>
+ <height>21</height>
+@@ -264,7 +264,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>90</width>
+ <height>20</height>
+@@ -281,7 +281,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>90</width>
+ <height>21</height>
+@@ -300,7 +300,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>50</width>
+ <height>110</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/dnssd/kcmdnssd.cpp v3.5.13-sru/kcontrol/dnssd/kcmdnssd.cpp
+--- /tmp/stable//kdebase/kcontrol/dnssd/kcmdnssd.cpp 2011-03-12 07:57:49.000000000 +0100
++++ v3.5.13-sru/kcontrol/dnssd/kcmdnssd.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -65,7 +65,7 @@
+ else if (getenv("KDESU_USER")!=0) tabs->removePage(tab);
+ addConfig(DNSSD::Configuration::self(),this);
+ // it is host-wide setting so it has to be in global config file
+- domain = new KSimpleConfig( TQString::tqfromLatin1( KDE_CONFDIR "/kdnssdrc" ));
++ domain = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/kdnssdrc" ));
+ domain->setGroup("publishing");
+ load();
+ connect(hostedit,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SLOT(wdchanged()));
+@@ -124,7 +124,7 @@
+ while (avahiStatus.isRunning()) {
+ kapp->processEvents();
+ }
+- int exitStatus = avahiStatus.exitqStatus();
++ int exitStatus = avahiStatus.exitStatus();
+ if (exitStatus == 0) { // disabled
+ enableZeroconf->setChecked(false);
+ } else if (exitStatus == 1) { // enabled
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/ebrowsing/plugins/ikws/ikwsopts_ui.ui v3.5.13-sru/kcontrol/ebrowsing/plugins/ikws/ikwsopts_ui.ui
+--- /tmp/stable//kdebase/kcontrol/ebrowsing/plugins/ikws/ikwsopts_ui.ui 2011-03-12 07:57:39.000000000 +0100
++++ v3.5.13-sru/kcontrol/ebrowsing/plugins/ikws/ikwsopts_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -161,7 +161,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>170</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp v3.5.13-sru/kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp
+--- /tmp/stable//kdebase/kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp 2011-08-11 07:25:27.000000000 +0200
++++ v3.5.13-sru/kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -41,7 +41,7 @@
+ : KURIFilterPlugin( parent, name ? name : "localdomainurifilter", 1.0 ),
+ DCOPObject( "LocalDomainURIFilterIface" ),
+ last_time( 0 ),
+- m_hostPortPattern( TQString::tqfromLatin1(HOSTPORT_PATTERN) )
++ m_hostPortPattern( TQString::fromLatin1(HOSTPORT_PATTERN) )
+ {
+ configure();
+ }
+@@ -56,7 +56,7 @@
+ if( m_hostPortPattern.exactMatch( cmd ) &&
+ isLocalDomainHost( cmd ) )
+ {
+- cmd.prepend( TQString::tqfromLatin1("http://") );
++ cmd.prepend( TQString::fromLatin1("http://") );
+ setFilteredURI( data, KURL( cmd ) );
+ setURIType( data, KURIFilterData::NET_PROTOCOL );
+
+@@ -76,7 +76,7 @@
+
+ if( !(host == last_host && last_time > time( NULL ) - 5 ) ) {
+
+- TQString helper = KStandardDirs::findExe(TQString::tqfromLatin1( "klocaldomainurifilterhelper" ));
++ TQString helper = KStandardDirs::findExe(TQString::fromLatin1( "klocaldomainurifilterhelper" ));
+ if( helper.isEmpty())
+ return last_result = false;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/ebrowsing/plugins/shorturi/kshorturifilter.cpp v3.5.13-sru/kcontrol/ebrowsing/plugins/shorturi/kshorturifilter.cpp
+--- /tmp/stable//kdebase/kcontrol/ebrowsing/plugins/shorturi/kshorturifilter.cpp 2011-10-16 21:40:20.000000000 +0200
++++ v3.5.13-sru/kcontrol/ebrowsing/plugins/shorturi/kshorturifilter.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -43,7 +43,7 @@
+ #define IPv6_PATTERN "^\\[.*\\]"
+ #define ENV_VAR_PATTERN "\\$[a-zA-Z_][a-zA-Z0-9_]*"
+
+-#define QFL1(x) TQString::tqfromLatin1(x)
++#define QFL1(x) TQString::fromLatin1(x)
+
+ /**
+ * IMPORTANT:
+@@ -164,13 +164,13 @@
+
+ if (!isMalformed &&
+ (url.protocol().length() == 4) &&
+- (url.protocol() != TQString::tqfromLatin1("http")) &&
++ (url.protocol() != TQString::fromLatin1("http")) &&
+ (url.protocol()[0]=='h') &&
+ (url.protocol()[1]==url.protocol()[2]) &&
+ (url.protocol()[3]=='p'))
+ {
+ // Handle "encrypted" URLs like: h++p://www.kde.org
+- url.setProtocol( TQString::tqfromLatin1("http"));
++ url.setProtocol( TQString::fromLatin1("http"));
+ setFilteredURI( data, url);
+ setURIType( data, KURIFilterData::NET_PROTOCOL );
+ return true;
+@@ -210,11 +210,11 @@
+ }
+
+ // Detect UNC style (aka windows SMB) URLs
+- if ( cmd.startsWith( TQString::tqfromLatin1( "\\\\") ) )
++ if ( cmd.startsWith( TQString::fromLatin1( "\\\\") ) )
+ {
+ // make sure path is unix style
+ cmd.replace('\\', '/');
+- cmd.prepend( TQString::tqfromLatin1( "smb:" ) );
++ cmd.prepend( TQString::fromLatin1( "smb:" ) );
+ setFilteredURI( data, KURL( cmd ));
+ setURIType( data, KURIFilterData::NET_PROTOCOL );
+ return true;
+@@ -379,7 +379,7 @@
+ u.setRef(ref);
+ u.setQuery(query);
+
+- if (kapp && !kapp->authorizeURLAction( TQString::tqfromLatin1("open"), KURL(), u))
++ if (kapp && !kapp->authorizeURLAction( TQString::fromLatin1("open"), KURL(), u))
+ {
+ // No authorisation, we pretend it's a file will get
+ // an access denied error later on.
+@@ -514,7 +514,7 @@
+ u.setPath(path);
+ u.setRef(ref);
+
+- if (kapp && !kapp->authorizeURLAction( TQString::tqfromLatin1("open"), KURL(), u))
++ if (kapp && !kapp->authorizeURLAction( TQString::fromLatin1("open"), KURL(), u))
+ {
+ // No authorisation, we pretend it exists and will get
+ // an access denied error later on.
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/filetypes/filetypedetails.cpp v3.5.13-sru/kcontrol/filetypes/filetypedetails.cpp
+--- /tmp/stable//kdebase/kcontrol/filetypes/filetypedetails.cpp 2011-03-12 07:57:40.000000000 +0100
++++ v3.5.13-sru/kcontrol/filetypes/filetypedetails.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -100,7 +100,7 @@
+ m_autoEmbed->layout()->setSpacing( KDialog::spacingHint() );
+ secondLayout->addWidget( m_autoEmbed, 1 );
+
+- m_autoEmbed->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, m_autoEmbed->sizePolicy().hasHeightForWidth() ) );
++ m_autoEmbed->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)0, m_autoEmbed->sizePolicy().hasHeightForWidth() ) );
+
+ // The order of those three items is very important. If you change it, fix typeslistitem.cpp !
+ new TQRadioButton( i18n("Show file in embedded viewer"), m_autoEmbed );
+@@ -120,7 +120,7 @@
+ secondLayout->addSpacing(10);
+
+ embedServiceListWidget = new KServiceListWidget( KServiceListWidget::SERVICELIST_SERVICES, secondWidget );
+- embedServiceListWidget->setMinimumHeight( serviceListWidget->tqsizeHint().height() );
++ embedServiceListWidget->setMinimumHeight( serviceListWidget->sizeHint().height() );
+ connect( embedServiceListWidget, TQT_SIGNAL(changed(bool)), this, TQT_SIGNAL(changed(bool)));
+ secondLayout->addWidget(embedServiceListWidget, 3);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/filetypes/filetypesview.cpp v3.5.13-sru/kcontrol/filetypes/filetypesview.cpp
+--- /tmp/stable//kdebase/kcontrol/filetypes/filetypesview.cpp 2011-08-11 07:25:27.000000000 +0200
++++ v3.5.13-sru/kcontrol/filetypes/filetypesview.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -126,7 +126,7 @@
+
+ // Widget shown on startup
+ m_emptyWidget = new TQLabel( i18n("Select a file type by name or by extension"), m_widgetStack);
+- m_emptyWidget->tqsetAlignment(AlignCenter);
++ m_emptyWidget->setAlignment(AlignCenter);
+
+ m_widgetStack->addWidget( m_emptyWidget, 3 /*id*/ );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/filetypes/typeslistitem.cpp v3.5.13-sru/kcontrol/filetypes/typeslistitem.cpp
+--- /tmp/stable//kdebase/kcontrol/filetypes/typeslistitem.cpp 2011-08-11 07:25:27.000000000 +0200
++++ v3.5.13-sru/kcontrol/filetypes/typeslistitem.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -69,7 +69,7 @@
+ KSharedConfig::Ptr config = KSharedConfig::openConfig("konquerorrc", false, false);
+ config->setGroup("EmbedSettings");
+ bool defaultValue = defaultEmbeddingSetting( major );
+- m_autoEmbed = config->readBoolEntry( TQString::tqfromLatin1("embed-")+m_major, defaultValue ) ? 0 : 1;
++ m_autoEmbed = config->readBoolEntry( TQString::fromLatin1("embed-")+m_major, defaultValue ) ? 0 : 1;
+ }
+
+ bool TypesListItem::defaultEmbeddingSetting( const TQString& major )
+@@ -230,7 +230,7 @@
+ KSharedConfig::Ptr config = KSharedConfig::openConfig("konquerorrc", false, false);
+ config->setGroup("EmbedSettings");
+ bool defaultValue = defaultEmbeddingSetting(m_major);
+- unsigned int oldAutoEmbed = config->readBoolEntry( TQString::tqfromLatin1("embed-")+m_major, defaultValue ) ? 0 : 1;
++ unsigned int oldAutoEmbed = config->readBoolEntry( TQString::fromLatin1("embed-")+m_major, defaultValue ) ? 0 : 1;
+ if ( m_autoEmbed != oldAutoEmbed )
+ return true;
+ }
+@@ -249,7 +249,7 @@
+ {
+ KSharedConfig::Ptr config = KSharedConfig::openConfig("konquerorrc", false, false);
+ config->setGroup("EmbedSettings");
+- config->writeEntry( TQString::tqfromLatin1("embed-")+m_major, m_autoEmbed == 0 );
++ config->writeEntry( TQString::fromLatin1("embed-")+m_major, m_autoEmbed == 0 );
+ return;
+ }
+
+@@ -286,9 +286,9 @@
+ config.writeEntry("Hidden", false);
+
+ if ( m_autoEmbed == 2 )
+- config.deleteEntry( TQString::tqfromLatin1("X-KDE-AutoEmbed"), false );
++ config.deleteEntry( TQString::fromLatin1("X-KDE-AutoEmbed"), false );
+ else
+- config.writeEntry( TQString::tqfromLatin1("X-KDE-AutoEmbed"), m_autoEmbed == 0 );
++ config.writeEntry( TQString::fromLatin1("X-KDE-AutoEmbed"), m_autoEmbed == 0 );
+
+ m_bNewItem = false;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/fonts/fonts.cpp v3.5.13-sru/kcontrol/fonts/fonts.cpp
+--- /tmp/stable//kdebase/kcontrol/fonts/fonts.cpp 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/fonts/fonts.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -688,7 +688,7 @@
+ void KFonts::load( bool useDefaults )
+ {
+ for ( uint i = 0; i < fontUseList.count(); i++ )
+- fontUseList.tqat( i )->readFont( useDefaults );
++ fontUseList.at( i )->readFont( useDefaults );
+
+ useAA_original = useAA = aaSettings->load( useDefaults ) ? AAEnabled : AADisabled;
+ cbAA->setCurrentItem( useAA );
+@@ -779,7 +779,7 @@
+ if (ret == KDialog::Accepted && fontDiffFlags)
+ {
+ for ( int i = 0; i < (int) fontUseList.count(); i++ )
+- fontUseList.tqat( i )->applyFontDiff( font,fontDiffFlags );
++ fontUseList.at( i )->applyFontDiff( font,fontDiffFlags );
+ emit changed(true);
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/fonts/kxftconfig.cpp v3.5.13-sru/kcontrol/fonts/kxftconfig.cpp
+--- /tmp/stable//kdebase/kcontrol/fonts/kxftconfig.cpp 2011-08-16 01:07:50.000000000 +0200
++++ v3.5.13-sru/kcontrol/fonts/kxftconfig.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -52,7 +52,7 @@
+ unsigned int len = home.length();
+
+ if(path.length() == len || path[len] == '/')
+- return path.replace(0, len, TQString::tqfromLatin1("~"));
++ return path.replace(0, len, TQString::fromLatin1("~"));
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/iccconfig/iccconfigbase.ui v3.5.13-sru/kcontrol/iccconfig/iccconfigbase.ui
+--- /tmp/stable//kdebase/kcontrol/iccconfig/iccconfigbase.ui 2011-07-05 21:59:37.000000000 +0200
++++ v3.5.13-sru/kcontrol/iccconfig/iccconfigbase.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -168,7 +168,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/iccconfig/iccconfig.cpp v3.5.13-sru/kcontrol/iccconfig/iccconfig.cpp
+--- /tmp/stable//kdebase/kcontrol/iccconfig/iccconfig.cpp 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/iccconfig/iccconfig.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -65,8 +65,8 @@
+ {
+
+ TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+- config = new KSimpleConfig( TQString::tqfromLatin1( "kiccconfigrc" ));
+- systemconfig = new KSimpleConfig( TQString::tqfromLatin1( KDE_CONFDIR "/kicc/kiccconfigrc" ));
++ config = new KSimpleConfig( TQString::fromLatin1( "kiccconfigrc" ));
++ systemconfig = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/kicc/kiccconfigrc" ));
+
+ KAboutData *about =
+ new KAboutData(I18N_NOOP("kcmiccconfig"), I18N_NOOP("KDE ICC Profile Control Module"),
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/iccconfig/iccconfig.desktop v3.5.13-sru/kcontrol/iccconfig/iccconfig.desktop
+--- /tmp/stable//kdebase/kcontrol/iccconfig/iccconfig.desktop 2010-08-12 05:28:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/iccconfig/iccconfig.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -9,7 +9,7 @@
+ X-KDE-RootOnly=true
+ X-KDE-SubstituteUID=true
+
+-Categories=Qt;KDE;X-KDE-settings-peripherals;
++Categories=Qt;KDE;X-KDE-settings-hardware;
+ Comment=Configure display ICC profile
+ Comment[en_US]=Configure display ICC profile
+ DocPath=kcontrol/iccconfig.html
+@@ -18,4 +18,6 @@
+ Keywords=ICC,display,color,profile
+ MimeType=
+ Name=ICC Color Profile
+-Name[en_US]=ICC Color Profile
+\ Pas de fin de ligne à la fin du fichier
++Name[en_US]=ICC Color Profile
++
++NoDisplay=false
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/icons/CMakeLists.txt v3.5.13-sru/kcontrol/icons/CMakeLists.txt
+--- /tmp/stable//kdebase/kcontrol/icons/CMakeLists.txt 2011-03-12 07:57:49.000000000 +0100
++++ v3.5.13-sru/kcontrol/icons/CMakeLists.txt 2012-09-08 19:41:29.000000000 +0200
+@@ -14,6 +14,7 @@
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
++ ${LIBART_INCLUDE_DIRS}
+ )
+
+ link_directories(
+@@ -30,6 +31,6 @@
+
+ tde_add_kpart( kcm_icons AUTOMOC
+ SOURCES iconthemes.cpp icons.cpp main.cpp
+- LINK kio-shared
++ LINK kio-shared ${LIBART_LIBRARIES}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/icons/icons.cpp v3.5.13-sru/kcontrol/icons/icons.cpp
+--- /tmp/stable//kdebase/kcontrol/icons/icons.cpp 2011-08-11 07:25:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/icons/icons.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -80,7 +80,7 @@
+
+ // Size
+ TQLabel *lbl = new TQLabel(i18n("Size:"), m_pTab1);
+- lbl->setFixedSize(lbl->tqsizeHint());
++ lbl->setFixedSize(lbl->sizeHint());
+ grid->addWidget(lbl, 0, 0, Qt::AlignLeft);
+ mpSizeBox = new TQComboBox(m_pTab1);
+ connect(mpSizeBox, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSize(int)));
+@@ -105,8 +105,8 @@
+
+ top->activate();
+
+- mpSystrayConfig = new KSimpleConfig( TQString::tqfromLatin1( "systemtray_panelappletrc" ));
+- mpKickerConfig = new KSimpleConfig( TQString::tqfromLatin1( "kickerrc" ));
++ mpSystrayConfig = new KSimpleConfig( TQString::fromLatin1( "systemtray_panelappletrc" ));
++ mpKickerConfig = new KSimpleConfig( TQString::fromLatin1( "kickerrc" ));
+
+ init();
+ read();
+@@ -125,7 +125,7 @@
+ TQLabel *lab = new TQLabel(str, parent);
+ lay->addWidget(lab, 1, i, Qt::AlignCenter);
+ mpPreview[i] = new TQLabel(parent);
+- mpPreview[i]->tqsetAlignment(AlignCenter);
++ mpPreview[i]->setAlignment(AlignCenter);
+ mpPreview[i]->setMinimumSize(105, 105);
+ lay->addWidget(mpPreview[i], 2, i);
+ TQPushButton *push = new TQPushButton(i18n("Set Effect..."), parent);
+@@ -302,12 +302,12 @@
+
+ if (mpUsageList->currentText() == i18n("Panel Buttons")) {
+ mpSizeBox->clear();
+- mpSizeBox->insertItem(TQString().tqsetNum(16));
+- mpSizeBox->insertItem(TQString().tqsetNum(22));
+- mpSizeBox->insertItem(TQString().tqsetNum(32));
+- mpSizeBox->insertItem(TQString().tqsetNum(48));
+- mpSizeBox->insertItem(TQString().tqsetNum(64));
+- mpSizeBox->insertItem(TQString().tqsetNum(128));
++ mpSizeBox->insertItem(TQString().setNum(16));
++ mpSizeBox->insertItem(TQString().setNum(22));
++ mpSizeBox->insertItem(TQString().setNum(32));
++ mpSizeBox->insertItem(TQString().setNum(48));
++ mpSizeBox->insertItem(TQString().setNum(64));
++ mpSizeBox->insertItem(TQString().setNum(128));
+ for (i=0;i<(mpSizeBox->count());i++) {
+ if (mpSizeBox->text(i) == TQString().setNum(mQuickLaunchSize)) {
+ mpSizeBox->setCurrentItem(i);
+@@ -316,12 +316,12 @@
+ }
+ else if (mpUsageList->currentText() == i18n("System Tray Icons")) {
+ mpSizeBox->clear();
+- mpSizeBox->insertItem(TQString().tqsetNum(16));
+- mpSizeBox->insertItem(TQString().tqsetNum(22));
+- mpSizeBox->insertItem(TQString().tqsetNum(32));
+- mpSizeBox->insertItem(TQString().tqsetNum(48));
+- mpSizeBox->insertItem(TQString().tqsetNum(64));
+- mpSizeBox->insertItem(TQString().tqsetNum(128));
++ mpSizeBox->insertItem(TQString().setNum(16));
++ mpSizeBox->insertItem(TQString().setNum(22));
++ mpSizeBox->insertItem(TQString().setNum(32));
++ mpSizeBox->insertItem(TQString().setNum(48));
++ mpSizeBox->insertItem(TQString().setNum(64));
++ mpSizeBox->insertItem(TQString().setNum(128));
+ for (i=0;i<(mpSizeBox->count());i++) {
+ if (mpSizeBox->text(i) == TQString().setNum(mSysTraySize)) {
+ mpSizeBox->setCurrentItem(i);
+@@ -335,7 +335,7 @@
+ if (mUsage < KIcon::LastGroup) {
+ for (it=mAvSizes[mUsage].begin(), i=0; it!=mAvSizes[mUsage].end(); ++it, i++)
+ {
+- mpSizeBox->insertItem(TQString().tqsetNum(*it));
++ mpSizeBox->insertItem(TQString().setNum(*it));
+ dw = abs(mSizes[mUsage] - *it);
+ if (dw < delta)
+ {
+@@ -688,7 +688,7 @@
+ top->setRowStretch(1,1);
+
+ lbl = new TQLabel(i18n("&Effect:"), page);
+- lbl->setFixedSize(lbl->tqsizeHint());
++ lbl->setFixedSize(lbl->sizeHint());
+ top->addWidget(lbl, 0, 0, Qt::AlignLeft);
+ mpEffectBox = new TQListBox(page);
+ mpEffectBox->insertItem(i18n("No Effect"));
+@@ -713,7 +713,7 @@
+ grid->setRowStretch(1, 1);
+
+ mpPreview = new TQLabel(frame);
+- mpPreview->tqsetAlignment(AlignCenter);
++ mpPreview->setAlignment(AlignCenter);
+ mpPreview->setMinimumSize(105, 105);
+ grid->addWidget(mpPreview, 1, 0);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/cdinfo.desktop v3.5.13-sru/kcontrol/info/cdinfo.desktop
+--- /tmp/stable//kdebase/kcontrol/info/cdinfo.desktop 2010-08-12 05:28:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/cdinfo.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -163,4 +163,4 @@
+ Keywords[vi]=Thông tin đĩa CD-ROM,CD-ROM,CD, ổ đĩa CD, Khả năng ổ ghi
+ Keywords[wa]=Informåcion do CD-ROM,CD-ROM,CD,léjheu d' CD,Usteyes di scrijhaedje
+
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/devices.desktop v3.5.13-sru/kcontrol/info/devices.desktop
+--- /tmp/stable//kdebase/kcontrol/info/devices.desktop 2010-08-12 05:28:33.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/devices.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -3,7 +3,7 @@
+ Icon=kcmdevices
+ Type=Application
+ DocPath=kinfocenter/devices/index.html
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+
+ X-KDE-Library=info
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/dma.desktop v3.5.13-sru/kcontrol/info/dma.desktop
+--- /tmp/stable//kdebase/kcontrol/info/dma.desktop 2010-08-12 05:28:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/dma.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -3,7 +3,7 @@
+ Icon=kcmmemory
+ Type=Application
+ DocPath=kinfocenter/dma/index.html
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+
+ X-KDE-Library=info
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/info.cpp v3.5.13-sru/kcontrol/info/info.cpp
+--- /tmp/stable//kdebase/kcontrol/info/info.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/info/info.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -80,7 +80,7 @@
+ {
+ TQString hexstr;
+ int i;
+- hexstr = TQString::tqfromLatin1("0x%1").arg(val, digits, 16/*=HEX*/);
++ hexstr = TQString::fromLatin1("0x%1").arg(val, digits, 16/*=HEX*/);
+ for (i=hexstr.length()-1; i>0; --i)
+ if (hexstr[i]==' ')
+ hexstr[i] = '0';
+@@ -167,7 +167,7 @@
+ for (i = 0; i < ndepths; i++) {
+ txt = txt + Value(depths[i]);
+ if (i < ndepths - 1)
+- txt = txt + TQString::tqfromLatin1(", ");
++ txt = txt + TQString::fromLatin1(", ");
+ }
+
+ last = new TQListViewItem(item, last, i18n("Depths (%1)").arg(ndepths,-1), txt);
+@@ -204,7 +204,7 @@
+ &width, &height);
+ last = new TQListViewItem(item, last, i18n("Largest Cursor"),
+ (width == 65535 && height == 65535)
+- ? i18n("unlimited") : TQString::tqfromLatin1("%1 x %2").arg(width).arg(height));
++ ? i18n("unlimited") : TQString::fromLatin1("%1 x %2").arg(width).arg(height));
+
+ last = new TQListViewItem(item, last, i18n("Current Input Event Mask"),
+ HexStr((unsigned long)EventMaskOfScreen(s),HEXDIGITS));
+@@ -272,12 +272,12 @@
+ last = new TQListViewItem(next, i18n("Name of the Display"),
+ DisplayString(dpy));
+
+- last = new TQListViewItem(next, last, i18n("Vendor String"), TQString::tqfromLatin1(ServerVendor(dpy)));
++ last = new TQListViewItem(next, last, i18n("Vendor String"), TQString::fromLatin1(ServerVendor(dpy)));
+ last = new TQListViewItem(next, last, i18n("Vendor Release Number"),
+ Value((int)VendorRelease(dpy)));
+
+ last = new TQListViewItem(next, last, i18n("Version Number"),
+- TQString::tqfromLatin1("%1.%2").arg((int)ProtocolVersion(dpy))
++ TQString::fromLatin1("%1.%2").arg((int)ProtocolVersion(dpy))
+ .arg((int)ProtocolRevision(dpy)));
+
+ last = item = new TQListViewItem(next, last, i18n("Available Screens"));
+@@ -294,7 +294,7 @@
+ int extCount;
+ char **extensions = XListExtensions( dpy, &extCount );
+ for ( i = 0; i < extCount; i++ ) {
+- item = new TQListViewItem( last, item, TQString::tqfromLatin1( extensions[i] ) );
++ item = new TQListViewItem( last, item, TQString::fromLatin1( extensions[i] ) );
+ }
+ XFreeExtensionList( extensions );
+
+@@ -356,7 +356,7 @@
+ retrieve-function. If the function wants the widget to show
+ another string, then it change *GetInfo_ErrorString ! */
+ ErrorString = i18n("No information available about %1.").arg(title)
+- + TQString::tqfromLatin1("\n\n") + DEFAULT_ERRORSTRING;
++ + TQString::fromLatin1("\n\n") + DEFAULT_ERRORSTRING;
+ GetInfo_ErrorString = &ErrorString; /* save the address of ErrorString */
+
+ sorting_allowed = true; /* the functions may set that */
+@@ -425,7 +425,7 @@
+ TQWhatsThis::add( lBox, i18n( "This list displays system information on the selected category." ) );
+ NoInfoText = new TQLabel(widgetStack);
+ widgetStack->addWidget(NoInfoText, 1);
+- NoInfoText->tqsetAlignment(AlignCenter | WordBreak);
++ NoInfoText->setAlignment(AlignCenter | WordBreak);
+ widgetStack->raiseWidget(NoInfoText);
+ load();
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/info_netbsd.cpp v3.5.13-sru/kcontrol/info/info_netbsd.cpp
+--- /tmp/stable//kdebase/kcontrol/info/info_netbsd.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/info_netbsd.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -296,18 +296,18 @@
+
+ // convert to strings
+ vv[0] = KIO::convertSize(big[0]);
+- vv[1] = TQString::tqfromLatin1("%1 (%2%%)")
++ vv[1] = TQString::fromLatin1("%1 (%2%%)")
+ .arg(KIO::convertSize(big[1]))
+ .arg(mnt->f_blocks ? mnt->f_bavail*100/mnt->f_blocks : 0);
+
+ // FIXME: these two are large enough to punctuate
+ vv[2] = TQString::number(mnt->f_files);
+- vv[3] = TQString::tqfromLatin1("%1 (%2%%) ")
++ vv[3] = TQString::fromLatin1("%1 (%2%%) ")
+ .arg(mnt->f_ffree)
+ .arg(mnt->f_files ? mnt->f_ffree*100/mnt->f_files : 0);
+
+ vv[4] = TQString::null;
+-#define MNTF(x) if (mnt->f_flags & MNT_##x) vv[4] += TQString::tqfromLatin1(#x " ");
++#define MNTF(x) if (mnt->f_flags & MNT_##x) vv[4] += TQString::fromLatin1(#x " ");
+ MNTF(ASYNC)
+ MNTF(DEFEXPORTED)
+ MNTF(EXKERB)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/info_solaris.cpp v3.5.13-sru/kcontrol/info/info_solaris.cpp
+--- /tmp/stable//kdebase/kcontrol/info/info_solaris.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/info/info_solaris.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -184,10 +184,10 @@
+ lBox->addColumn( i18n( "Mount Point" ));
+ lBox->addColumn( i18n( "FS Type" ));
+ lBox->addColumn( i18n( "Total Size" ));
+- // XXX: FIXME: how do I set column tqalignment correctly?
++ // XXX: FIXME: how do I set column alignment correctly?
+ lBox->setColumnAlignment( 3, 2 );
+ lBox->addColumn( i18n( "Free Size" ));
+- // XXX: FIXME: how do I set column tqalignment correctly?
++ // XXX: FIXME: how do I set column alignment correctly?
+ lBox->setColumnAlignment( 4, 2 );
+ lBox->addColumn( i18n( "Mount Time" ));
+ lBox->addColumn( i18n( "Mount Options" ));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/interrupts.desktop v3.5.13-sru/kcontrol/info/interrupts.desktop
+--- /tmp/stable//kdebase/kcontrol/info/interrupts.desktop 2010-08-12 05:28:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/interrupts.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -3,7 +3,7 @@
+ Icon=kcmmemory
+ Type=Application
+ DocPath=kinfocenter/interrupts/index.html
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+
+ X-KDE-Library=info
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/ioports.desktop v3.5.13-sru/kcontrol/info/ioports.desktop
+--- /tmp/stable//kdebase/kcontrol/info/ioports.desktop 2010-08-12 05:28:33.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/ioports.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -3,7 +3,7 @@
+ Icon=kcmmemory
+ Type=Application
+ DocPath=kinfocenter/ioports/index.html
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+
+ X-KDE-Library=info
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/memory.cpp v3.5.13-sru/kcontrol/info/memory.cpp
+--- /tmp/stable//kdebase/kcontrol/info/memory.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/info/memory.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -163,7 +163,7 @@
+ break;
+ };
+ Widget = new TQLabel(title, this);
+- Widget->tqsetAlignment(AlignLeft);
++ Widget->setAlignment(AlignLeft);
+ vbox->addWidget(Widget, 1);
+ }
+
+@@ -174,7 +174,7 @@
+ if (i == SWAP_MEM)
+ vbox->addSpacing(SPACING);
+ Widget = new TQLabel(this);
+- Widget->tqsetAlignment(AlignRight);
++ Widget->setAlignment(AlignRight);
+ MemSizeLabel[i][j] = Widget;
+ vbox->addWidget(Widget, 1);
+ }
+@@ -228,7 +228,7 @@
+ hint = "<qt>" + hint + "</qt>";
+
+ Widget = new TQLabel("<b>" + title + "</b>", this);
+- Widget->tqsetAlignment(AlignCenter);
++ Widget->setAlignment(AlignCenter);
+ TQToolTip::add(Widget, hint);
+ vbox->addWidget(Widget);
+ vbox->addSpacing(SPACING / 2);
+@@ -243,7 +243,7 @@
+ vbox->addSpacing(SPACING / 2);
+
+ Widget = new TQLabel(this); /* xx MB used. */
+- Widget->tqsetAlignment(AlignCenter);
++ Widget->setAlignment(AlignCenter);
+ TQToolTip::add(Widget, hint);
+ GraphLabel[i] = Widget;
+ vbox->addWidget(Widget);
+@@ -288,7 +288,7 @@
+ TQPixmap pm(width, height);
+ TQPainter paint;
+
+- paint.tqbegin(&pm, this);
++ paint.begin(&pm, this);
+
+ TQPen pen(TQColor(0, 0, 0));
+
+@@ -342,7 +342,7 @@
+ /* draw surrounding box */
+ paint.setPen(pen);
+ TQRect r = graph->rect();
+- qDrawShadePanel(&paint, r.x(), r.y(), r.width(), r.height(), tqpalette().active(), true, 1);
++ qDrawShadePanel(&paint, r.x(), r.y(), r.width(), r.height(), palette().active(), true, 1);
+ paint.end();
+ bitBlt(graph, 0, 0, &pm);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/memory.desktop v3.5.13-sru/kcontrol/info/memory.desktop
+--- /tmp/stable//kdebase/kcontrol/info/memory.desktop 2010-08-12 05:28:33.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/memory.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -245,5 +245,5 @@
+ Keywords[zh_CN]=Memory,RAM,Virtual memory,Physical memory,Shared memory,Swap,System Information,内存,虚拟存储,物ç†å­˜å‚¨,共享内存,交æ¢,系统信æ¯
+ Keywords[zh_TW]=Memory,RAM,Virtual memory,Physical memory,Shared memory,Swap,System Information,記憶體,虛擬記憶體,實體記憶體,共享記憶體,系統資訊
+ Keywords[zu]=Inkumbulo,RAM,Inkumbulo yamanga,Inkumbulo siqu,Inkumbulo yokwabelana,Shintshanisa,Ulwazi Lwesistimu
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/opengl.cpp v3.5.13-sru/kcontrol/info/opengl.cpp
+--- /tmp/stable//kdebase/kcontrol/info/opengl.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/opengl.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -194,7 +194,7 @@
+
+ if (!ext || !ext[0])
+ return;
+- TQString qext = TQString::tqfromLatin1(ext);
++ TQString qext = TQString::fromLatin1(ext);
+ TQListViewItem *l2 = NULL;
+
+ i = j = 0;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/opengl.desktop v3.5.13-sru/kcontrol/info/opengl.desktop
+--- /tmp/stable//kdebase/kcontrol/info/opengl.desktop 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/info/opengl.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -8,7 +8,7 @@
+
+ X-KDE-Library=info
+ X-KDE-FactoryName=opengl
+-X-KDE-ParentApp=kinfocenter
++X-KDE-ParentApp=kcontrol
+
+ Name=OpenGL
+ Name[bn]=ওপেন-জি-à¦à¦²
+@@ -145,5 +145,5 @@
+ Keywords[zh_CN]=OpenGL,DRI,GLX,3D,VideoCard,Hardware Acceleration,Graphics,X,X11,Xserver,X-Server,XFree86,Display,显å¡,硬件加速,图形,X æœåŠ¡å™¨,显示
+ Keywords[zh_TW]=OpenGL,DRI,GLX,3D,VideoCard,Hardware Acceleration,Graphics,X,X11,Xserver,X-Server,XFree86,Display,顯示å¡,硬體加速,圖形,顯示
+
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/partitions.desktop v3.5.13-sru/kcontrol/info/partitions.desktop
+--- /tmp/stable//kdebase/kcontrol/info/partitions.desktop 2010-08-12 05:28:33.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/partitions.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -243,5 +243,5 @@
+ Keywords[zh_TW]=Partitions,Harddrive,HD,System Information,ç£ç¢Ÿåˆ†å‰²å€,硬å¼ç£ç¢Ÿæ©Ÿ,硬碟,系統資訊
+ Keywords[zu]=Izahluko,Harddrive,HD,Ulwazi Lwesistimu
+
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/pci.desktop v3.5.13-sru/kcontrol/info/pci.desktop
+--- /tmp/stable//kdebase/kcontrol/info/pci.desktop 2010-08-12 05:28:33.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/pci.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -177,5 +177,5 @@
+ Keywords[zh_CN]=PCI,PCI-Devices,PCI-Bus,System Information,PCI 设备,PCI 总线,系统信æ¯
+ Keywords[zh_TW]=PCI,PCI-Devices,PCI-Bus,System Information,PCI 設備,PCI 匯æµæŽ’,系統資訊
+ Keywords[zu]=PCI,Amathuluzi-PCI,Ibhasi-PCI,Ulwaz Lwesistimu
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/processor.desktop v3.5.13-sru/kcontrol/info/processor.desktop
+--- /tmp/stable//kdebase/kcontrol/info/processor.desktop 2010-08-12 05:28:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/processor.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -246,5 +246,5 @@
+ Keywords[zh_CN]=Processor,CPU,FPU,MHz,System Information,处ç†å™¨,系统信æ¯
+ Keywords[zh_TW]=Processor,CPU,FPU,MHz,System Information,處ç†å™¨,中央處ç†å™¨,浮點é‹ç®—器,系統資訊
+ Keywords[zu]=Umqhubekisi,CPU,FPU,MHz,Ulwazi Lwesistimu
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/scsi.desktop v3.5.13-sru/kcontrol/info/scsi.desktop
+--- /tmp/stable//kdebase/kcontrol/info/scsi.desktop 2010-08-12 05:28:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/scsi.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -174,5 +174,5 @@
+ Keywords[zh_CN]=SCSI,SCSI-Bus,System Information,SCSI 总线,系统信æ¯
+ Keywords[zh_TW]=SCSI,SCSI-Bus,System Information,系統資訊
+ Keywords[zu]=SCSI,Ibhasi-SCSI,Ulwazi Lwesistimu
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/sound.desktop v3.5.13-sru/kcontrol/info/sound.desktop
+--- /tmp/stable//kdebase/kcontrol/info/sound.desktop 2010-08-12 05:28:33.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/sound.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -240,5 +240,5 @@
+ Keywords[wa]=Son,Audiocåte son,MIDI,OSS,informåcion do sistinme
+ Keywords[zh_CN]=Sound,Audio,Soundcard,MIDI,OSS,System Information,音频,音å“,声å¡,系统信æ¯
+ Keywords[zh_TW]=Sound,Audio,Soundcard,Midi,OSS,系統資訊
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/info/xserver.desktop v3.5.13-sru/kcontrol/info/xserver.desktop
+--- /tmp/stable//kdebase/kcontrol/info/xserver.desktop 2010-08-12 05:28:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/info/xserver.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -224,4 +224,4 @@
+ Keywords[zh_CN]=X,X-Server,XServer,XFree86,Display,VideoCard,System InformationX æœåŠ¡å™¨,显示器,显å¡,系统信æ¯
+ Keywords[zh_TW]=X,X-Server,XServer,XFree86,Display,VideoCard,System Information,X 伺æœå™¨,X伺æœå™¨,顯示器,顯示å¡,系統資訊
+
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/input/kmousedlg.ui v3.5.13-sru/kcontrol/input/kmousedlg.ui
+--- /tmp/stable//kdebase/kcontrol/input/kmousedlg.ui 2011-03-12 07:57:40.000000000 +0100
++++ v3.5.13-sru/kcontrol/input/kmousedlg.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -57,7 +57,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -74,7 +74,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -112,7 +112,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>150</width>
+ <height>115</height>
+@@ -181,10 +181,10 @@
+ </widget>
+ <widget class="TQCheckBox" row="2" column="1" rowspan="1" colspan="2">
+ <property name="name">
+- <cstring>cb_pointertqshape</cstring>
++ <cstring>cb_pointershape</cstring>
+ </property>
+ <property name="text">
+- <string>Cha&amp;nge pointer tqshape over icons</string>
++ <string>Cha&amp;nge pointer shape over icons</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+@@ -208,7 +208,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>60</height>
+@@ -235,7 +235,7 @@
+ <property name="name">
+ <cstring>slAutoSelect</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>250</width>
+ <height>0</height>
+@@ -258,7 +258,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>230</width>
+ <height>20</height>
+@@ -283,7 +283,7 @@
+ <property name="text">
+ <string>Long</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="hAlign" stdset="0">
+@@ -301,7 +301,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>21</height>
+@@ -331,7 +331,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+@@ -344,7 +344,7 @@
+ <connection>
+ <sender>singleClick</sender>
+ <signal>toggled(bool)</signal>
+- <receiver>cb_pointertqshape</receiver>
++ <receiver>cb_pointershape</receiver>
+ <slot>setEnabled(bool)</slot>
+ </connection>
+ <connection>
+@@ -364,7 +364,7 @@
+ <tabstop>rightHanded</tabstop>
+ <tabstop>leftHanded</tabstop>
+ <tabstop>singleClick</tabstop>
+- <tabstop>cb_pointertqshape</tabstop>
++ <tabstop>cb_pointershape</tabstop>
+ <tabstop>cbAutoSelect</tabstop>
+ <tabstop>slAutoSelect</tabstop>
+ <tabstop>doubleClick</tabstop>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/input/logitechmouse_base.ui v3.5.13-sru/kcontrol/input/logitechmouse_base.ui
+--- /tmp/stable//kdebase/kcontrol/input/logitechmouse_base.ui 2011-03-12 07:57:40.000000000 +0100
++++ v3.5.13-sru/kcontrol/input/logitechmouse_base.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -31,7 +31,7 @@
+ <property name="text">
+ <string>You have a Logitech Mouse connected, and libusb was found at compile time, but it was not possible to access this mouse. This is probably caused by a permissions problem - you should consult the manual on how to fix this.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/input/mouse.cpp v3.5.13-sru/kcontrol/input/mouse.cpp
+--- /tmp/stable//kdebase/kcontrol/input/mouse.cpp 2011-03-12 07:57:40.000000000 +0100
++++ v3.5.13-sru/kcontrol/input/mouse.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -150,7 +150,7 @@
+ connect(tab1->slAutoSelect, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed()));
+ connect(tab1->cbVisualActivate, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed()));
+
+- connect(tab1->cb_pointertqshape, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed()));
++ connect(tab1->cb_pointershape, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed()));
+
+ connect(tab1->singleClick, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed()));
+ connect(tab1->singleClick, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotClick()));
+@@ -291,7 +291,7 @@
+ TQBoxLayout *vbox = new TQVBoxLayout(mouse, KDialog::marginHint(),
+ KDialog::spacingHint());
+
+- TQVBoxLayout *vvbox = new TQVBoxLayout(mouse->tqlayout(), KDialog::spacingHint());
++ TQVBoxLayout *vvbox = new TQVBoxLayout(mouse->layout(), KDialog::spacingHint());
+
+ mouseKeys = new TQCheckBox(i18n("&Move pointer with keyboard (using the num pad)"), mouse);
+ vvbox->addWidget(mouseKeys);
+@@ -506,7 +506,7 @@
+
+ tab1->singleClick->setChecked( settings->singleClick );
+ tab1->doubleClick->setChecked(!settings->singleClick);
+- tab1->cb_pointertqshape->setChecked(settings->changeCursor);
++ tab1->cb_pointershape->setChecked(settings->changeCursor);
+ tab1->cbAutoSelect->setChecked( settings->autoSelectDelay >= 0 );
+ if ( settings->autoSelectDelay < 0 )
+ tab1->slAutoSelect->setValue( 0 );
+@@ -564,7 +564,7 @@
+ settings->autoSelectDelay = tab1->cbAutoSelect->isChecked()? tab1->slAutoSelect->value():-1;
+ settings->visualActivate = tab1->cbVisualActivate->isChecked();
+ // settings->changeCursor = tab1->singleClick->isChecked();
+- settings->changeCursor = tab1->cb_pointertqshape->isChecked();
++ settings->changeCursor = tab1->cb_pointershape->isChecked();
+ settings->reverseScrollPolarity = tab1->cbScrollPolarity->isChecked();
+
+ settings->apply();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/input/xcursor/previewwidget.cpp v3.5.13-sru/kcontrol/input/xcursor/previewwidget.cpp
+--- /tmp/stable//kdebase/kcontrol/input/xcursor/previewwidget.cpp 2011-03-12 07:57:40.000000000 +0100
++++ v3.5.13-sru/kcontrol/input/xcursor/previewwidget.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -286,7 +286,7 @@
+
+ void PreviewWidget::setTheme( const TQString &theme )
+ {
+- tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+
+ int minHeight = previewSize + 20; // Minimum height of the preview widget
+ int maxHeight = height(); // Tallest cursor height
+@@ -302,8 +302,8 @@
+
+ current = -1;
+ setFixedSize( ( maxWidth + cursorSpacing ) * numCursors, kMax( maxHeight, minHeight ) );
+- tqsetUpdatesEnabled( true );
+- tqrepaint( false );
++ setUpdatesEnabled( true );
++ repaint( false );
+ }
+
+
+@@ -311,7 +311,7 @@
+ {
+ TQPixmap buffer( size() );
+ TQPainter p( &buffer );
+- p.fillRect( rect(), tqcolorGroup().brush( TQColorGroup::Background ) );
++ p.fillRect( rect(), colorGroup().brush( TQColorGroup::Background ) );
+ Picture dest;
+
+ if ( !qt_has_xft || !qt_use_xrender ) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/joystick/caldialog.cpp v3.5.13-sru/kcontrol/joystick/caldialog.cpp
+--- /tmp/stable//kdebase/kcontrol/joystick/caldialog.cpp 2011-03-12 07:57:46.000000000 +0100
++++ v3.5.13-sru/kcontrol/joystick/caldialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -65,7 +65,7 @@
+
+ do
+ {
+- tqApp->tqprocessEvents(2000);
++ tqApp->processEvents(2000);
+ }
+ while ( ti.isActive() && (result() != TQDialog::Rejected) );
+
+@@ -165,7 +165,7 @@
+ // loop until the user presses a button on the device or on the dialog
+ do
+ {
+- tqApp->tqprocessEvents(100);
++ tqApp->processEvents(100);
+
+ if ( joydev->getEvent(type, number, value) )
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/joystick/joystick.cpp v3.5.13-sru/kcontrol/joystick/joystick.cpp
+--- /tmp/stable//kdebase/kcontrol/joystick/joystick.cpp 2011-03-12 07:57:46.000000000 +0100
++++ v3.5.13-sru/kcontrol/joystick/joystick.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -95,7 +95,7 @@
+
+ joyWidget = new JoyWidget(this);
+
+- setMinimumSize(joyWidget->tqminimumSize());
++ setMinimumSize(joyWidget->minimumSize());
+
+ setButtons(KCModule::Default);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/joystick/joywidget.cpp v3.5.13-sru/kcontrol/joystick/joywidget.cpp
+--- /tmp/stable//kdebase/kcontrol/joystick/joywidget.cpp 2011-08-11 07:25:30.000000000 +0200
++++ v3.5.13-sru/kcontrol/joystick/joywidget.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -56,7 +56,7 @@
+ TQLabel *icon = new TQLabel(messageBox);
+ icon->setPixmap(KGlobal::iconLoader()->loadIcon("messagebox_warning", KIcon::NoGroup,
+ KIcon::SizeMedium, KIcon::DefaultState, 0, true));
+- icon->setFixedSize(icon->tqsizeHint());
++ icon->setFixedSize(icon->sizeHint());
+ message = new TQLabel(messageBox);
+ messageBox->hide();
+ }
+@@ -170,7 +170,7 @@
+
+ // we found one
+
+- device->insertItem(TQString("%1 (%2)").tqarg(joy->text()).tqarg(joy->device()));
++ device->insertItem(TQString("%1 (%2)").arg(joy->text()).arg(joy->device()));
+
+ // display values for first device
+ if ( first )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/aboutwidget.cpp v3.5.13-sru/kcontrol/kcontrol/aboutwidget.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/aboutwidget.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/kcontrol/aboutwidget.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -82,7 +82,7 @@
+ // set qwhatsthis help
+ TQWhatsThis::add(this, i18n(intro_text));
+ _viewer = new KHTMLPart( this, "_viewer" );
+- _viewer->widget()->tqsetSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Ignored );
++ _viewer->widget()->setSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Ignored );
+ connect( _viewer->browserExtension(),
+ TQT_SIGNAL(openURLRequest(const KURL&, const KParts::URLArgs&)),
+ this, TQT_SLOT(slotModuleLinkClicked(const KURL&)) );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/dockcontainer.cpp v3.5.13-sru/kcontrol/kcontrol/dockcontainer.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/dockcontainer.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/kcontrol/dockcontainer.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -131,7 +131,7 @@
+ , _module(0L)
+ {
+ _busyw = new TQLabel(i18n("<big><b>Loading...</b></big>"), this);
+- _busyw->tqsetAlignment(AlignCenter);
++ _busyw->setAlignment(AlignCenter);
+ _busyw->setTextFormat(RichText);
+ _busyw->setGeometry(0,0, width(), height());
+ addWidget( _busyw );
+@@ -221,7 +221,7 @@
+
+ ProxyWidget *widget = loadModule( module );
+
+- KCGlobal::repairAccels( tqtopLevelWidget() );
++ KCGlobal::repairAccels( topLevelWidget() );
+ return ( widget!=0 );
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/global.cpp v3.5.13-sru/kcontrol/kcontrol/global.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/global.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/kcontrol/global.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -91,12 +91,12 @@
+ if (_infocenter)
+ {
+ kdWarning() << "No K menu group with X-KDE-BaseGroup=info found ! Defaulting to Settings/Information/" << endl;
+- _baseGroup = TQString::tqfromLatin1("Settings/Information/");
++ _baseGroup = TQString::fromLatin1("Settings/Information/");
+ }
+ else
+ {
+ kdWarning() << "No K menu group with X-KDE-BaseGroup=settings found ! Defaulting to Settings/" << endl;
+- _baseGroup = TQString::tqfromLatin1("Settings/");
++ _baseGroup = TQString::fromLatin1("Settings/");
+ }
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/helpwidget.cpp v3.5.13-sru/kcontrol/kcontrol/helpwidget.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/helpwidget.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/kcontrol/helpwidget.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -42,7 +42,7 @@
+ helptext = text;
+ else
+ helptext = (text + i18n("<p>Use the \"What's This?\" (Shift+F1) to get help on specific options.</p><p>To read the full manual click <a href=\"%1\">here</a>.</p>")
+- .tqarg(static_cast<const char *>(docPath.local8Bit())));
++ .arg(static_cast<const char *>(docPath.local8Bit())));
+ }
+
+ void HelpWidget::setBaseText()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/kcrootonly.cpp v3.5.13-sru/kcontrol/kcontrol/kcrootonly.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/kcrootonly.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/kcontrol/kcrootonly.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -30,9 +30,9 @@
+ TQLabel *label = new TQLabel(i18n("<big>You need super user privileges to run this control module.</big><br>"
+ "Click on the \"Administrator Mode\" button below."), this);
+ layout->addWidget(label);
+- label->tqsetAlignment(AlignCenter);
++ label->setAlignment(AlignCenter);
+ label->setTextFormat(RichText);
+- label->setMinimumSize(label->tqsizeHint());
++ label->setMinimumSize(label->sizeHint());
+ }
+
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/main.cpp v3.5.13-sru/kcontrol/kcontrol/main.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/main.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/kcontrol/main.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -77,9 +77,9 @@
+ int fontSize = toplevel->fontInfo().pointSize();
+ if (fontSize == 0)
+ fontSize = (toplevel->fontInfo().pixelSize() * 72) / pdm.logicalDpiX();
+- int x = config->readNumEntry(TQString::tqfromLatin1("InitialWidth %1").arg(desk.width()),
++ int x = config->readNumEntry(TQString::fromLatin1("InitialWidth %1").arg(desk.width()),
+ QMIN( desk.width(), 368 + (6*pdm.logicalDpiX()*fontSize)/12 ) );
+- int y = config->readNumEntry(TQString::tqfromLatin1("InitialHeight %1").arg(desk.height()),
++ int y = config->readNumEntry(TQString::fromLatin1("InitialHeight %1").arg(desk.height()),
+ QMIN( desk.height(), 312 + (4*pdm.logicalDpiX()*fontSize)/12 ) );
+ toplevel->resize(x,y);
+ }
+@@ -91,8 +91,8 @@
+ KConfig *config = KGlobal::config();
+ config->setGroup("General");
+ TQWidget *desk = TQT_TQWIDGET(TQApplication::desktop());
+- config->writeEntry(TQString::tqfromLatin1("InitialWidth %1").arg(desk->width()), toplevel->width());
+- config->writeEntry(TQString::tqfromLatin1("InitialHeight %1").arg(desk->height()), toplevel->height());
++ config->writeEntry(TQString::fromLatin1("InitialWidth %1").arg(desk->width()), toplevel->width());
++ config->writeEntry(TQString::fromLatin1("InitialHeight %1").arg(desk->height()), toplevel->height());
+ config->sync();
+ }
+ delete toplevel;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/modules.cpp v3.5.13-sru/kcontrol/kcontrol/modules.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/modules.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/kcontrol/modules.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -147,7 +147,7 @@
+ _embedFrame->setFrameStyle( TQFrame::Box | TQFrame::Raised );
+ TQPalette pal( red );
+ pal.setColor( TQColorGroup::Background,
+- _module->parentWidget()->tqcolorGroup().background() );
++ _module->parentWidget()->colorGroup().background() );
+ _embedFrame->setPalette( pal );
+ _embedFrame->setLineWidth( 2 );
+ _embedFrame->setMidLineWidth( 2 );
+@@ -158,7 +158,7 @@
+ _module->hide();
+ _embedFrame->show();
+ TQLabel *_busy = new TQLabel(i18n("<big>Loading...</big>"), _embedStack);
+- _busy->tqsetAlignment(AlignCenter);
++ _busy->setAlignment(AlignCenter);
+ _busy->setTextFormat(RichText);
+ _busy->setGeometry(0,0, _module->width(), _module->height());
+ _busy->show();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/moduletreeview.cpp v3.5.13-sru/kcontrol/kcontrol/moduletreeview.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/moduletreeview.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/kcontrol/moduletreeview.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -133,10 +133,10 @@
+
+
+
+-TQSize ModuleTreeView::tqsizeHint() const
++TQSize ModuleTreeView::sizeHint() const
+ {
+- return TQListView::tqsizeHint().boundedTo(
+- TQSize( fontMetrics().maxWidth()*35, QWIDGETSIZE_MAX) );
++ return TQListView::sizeHint().boundedTo(
++ TQSize( fontMetrics().maxWidth()*35, TQWIDGETSIZE_MAX) );
+ }
+
+ void ModuleTreeView::makeSelected(ConfigModule *module)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/moduletreeview.h v3.5.13-sru/kcontrol/kcontrol/moduletreeview.h
+--- /tmp/stable//kdebase/kcontrol/kcontrol/moduletreeview.h 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/kcontrol/moduletreeview.h 2012-09-08 19:41:29.000000000 +0200
+@@ -74,7 +74,7 @@
+ void makeSelected(ConfigModule* module);
+ void makeVisible(ConfigModule *module);
+ void fill();
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+
+ signals:
+ void moduleSelected(ConfigModule*);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/proxywidget.cpp v3.5.13-sru/kcontrol/kcontrol/proxywidget.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/proxywidget.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/kcontrol/proxywidget.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -120,7 +120,7 @@
+ ~ProxyContentWidget(){}
+
+ // this should be really done by qscrollview in AutoOneFit mode!
+- TQSize tqsizeHint() const { return tqminimumSizeHint(); }
++ TQSize sizeHint() const { return minimumSizeHint(); }
+ };
+
+
+@@ -144,7 +144,7 @@
+ }
+ client->reparent(contentWidget,0,TQPoint(0,0),true);
+ vbox->addWidget( client );
+- vbox->activate(); // make sure we have a proper tqminimumSizeHint
++ vbox->activate(); // make sure we have a proper minimumSizeHint
+ addChild(contentWidget);
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kcontrol/toplevel.cpp v3.5.13-sru/kcontrol/kcontrol/toplevel.cpp
+--- /tmp/stable//kdebase/kcontrol/kcontrol/toplevel.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/kcontrol/toplevel.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -142,7 +142,7 @@
+ // help widget
+ _help = new HelpWidget(_dock);
+
+- _stack->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding ) );
++ _stack->setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding ) );
+
+ // Restore sizes
+ config->setGroup("General");
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kded/kcmkded.cpp v3.5.13-sru/kcontrol/kded/kcmkded.cpp
+--- /tmp/stable//kdebase/kcontrol/kded/kcmkded.cpp 2011-08-11 07:25:27.000000000 +0200
++++ v3.5.13-sru/kcontrol/kded/kcmkded.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -149,7 +149,7 @@
+
+ TQStringList files;
+ KGlobal::dirs()->findAllResources( "services",
+- TQString::tqfromLatin1( "kded/*.desktop" ),
++ TQString::fromLatin1( "kded/*.desktop" ),
+ true, true, files );
+
+ TQListViewItem* item = 0L;
+@@ -187,7 +187,7 @@
+
+ TQStringList files;
+ KGlobal::dirs()->findAllResources( "services",
+- TQString::tqfromLatin1( "kded/*.desktop" ),
++ TQString::fromLatin1( "kded/*.desktop" ),
+ true, true, files );
+
+ KConfig kdedrc("kdedrc", false, false);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kdm/kdm-appear.cpp v3.5.13-sru/kcontrol/kdm/kdm-appear.cpp
+--- /tmp/stable//kdebase/kcontrol/kdm/kdm-appear.cpp 2011-09-16 07:40:51.000000000 +0200
++++ v3.5.13-sru/kcontrol/kdm/kdm-appear.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -21,7 +21,9 @@
+
+ #include <unistd.h>
+ #include <sys/types.h>
+-
++#include <stdlib.h>
++#include <sys/types.h>
++#include <signal.h>
+
+ #include <tqbuttongroup.h>
+ #include <tqlabel.h>
+@@ -47,11 +49,14 @@
+ #include "kdm-appear.h"
+ #include "kbackedcombobox.h"
+
++#include "config.h"
++
+ extern KSimpleConfig *config;
+
++#define TSAK_LOCKFILE "/tmp/ksocket-global/tsak.lock"
+
+ KDMAppearanceWidget::KDMAppearanceWidget(TQWidget *parent, const char *name)
+- : TQWidget(parent, name)
++ : TQWidget(parent, name), sakwarning(0)
+ {
+ TQString wtstr;
+
+@@ -228,7 +233,7 @@
+ loadLanguageList(langcombo);
+ connect(langcombo, TQT_SIGNAL(activated(const TQString &)), TQT_SLOT(changed()));
+ label = new TQLabel(langcombo, i18n("Languag&e:"), group);
+- TQGridLayout *hbox = new TQGridLayout( group->tqlayout(), 2, 2, KDialog::spacingHint() );
++ TQGridLayout *hbox = new TQGridLayout( group->layout(), 2, 2, KDialog::spacingHint() );
+ hbox->setColStretch(1, 1);
+ hbox->addWidget(label, 1, 0);
+ hbox->addWidget(langcombo, 1, 1);
+@@ -244,9 +249,16 @@
+
+ sakbox = new TQCheckBox( i18n("Enable Secure Attention Key"), group );
+ connect( sakbox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()) );
+- TQGridLayout *hbox2 = new TQGridLayout( group->tqlayout(), 2, 2, KDialog::spacingHint() );
++ TQGridLayout *hbox2 = new TQGridLayout( group->layout(), 2, 2, KDialog::spacingHint() );
+ hbox2->setColStretch(1, 1);
+ hbox2->addWidget(sakbox, 1, 0);
++ if (getuid() == 0 && config->checkConfigFilesWritable( true )) {
++ if (system(KDE_BINDIR "/tsak checkdeps") != 0) {
++ sakbox->setEnabled(false);
++ sakwarning = new TQLabel( i18n("Secure Attention Key support is not available on your system. Please check for the presence of evdev and uinput."), group );
++ hbox2->addWidget(sakwarning, 2, 0);
++ }
++ }
+ wtstr = i18n("Here you can enable or disable the Secure Attention Key [SAK] anti-spoofing measure.");
+ TQWhatsThis::add( sakbox, wtstr );
+
+@@ -277,7 +289,7 @@
+ void KDMAppearanceWidget::loadLanguageList(KLanguageButton *combo)
+ {
+ TQStringList langlist = KGlobal::dirs()->findAllResources("locale",
+- TQString::tqfromLatin1("*/entry.desktop"));
++ TQString::fromLatin1("*/entry.desktop"));
+ langlist.sort();
+ for ( TQStringList::ConstIterator it = langlist.begin();
+ it != langlist.end(); ++it )
+@@ -287,9 +299,9 @@
+ TQString nid = fpath.mid(index + 1);
+
+ KSimpleConfig entry(*it);
+- entry.setGroup(TQString::tqfromLatin1("KCM Locale"));
+- TQString name = entry.readEntry(TQString::tqfromLatin1("Name"), i18n("without name"));
+- combo->insertLanguage(nid, name, TQString::tqfromLatin1("l10n/"), TQString::null);
++ entry.setGroup(TQString::fromLatin1("KCM Locale"));
++ TQString name = entry.readEntry(TQString::fromLatin1("Name"), i18n("without name"));
++ combo->insertLanguage(nid, name, TQString::fromLatin1("l10n/"), TQString::null);
+ }
+ }
+
+@@ -343,7 +355,7 @@
+ bool KDMAppearanceWidget::setLogo(TQString logo)
+ {
+ TQString flogo = logo.isEmpty() ?
+- locate("data", TQString::tqfromLatin1("kdm/pics/kdelogo.png") ) :
++ locate("data", TQString::fromLatin1("kdm/pics/kdelogo.png") ) :
+ logo;
+ TQImage p(flogo);
+ if (p.isNull())
+@@ -351,7 +363,7 @@
+ if (p.width() > 100 || p.height() > 100)
+ p = p.smoothScale(100, 100, TQ_ScaleMin);
+ logobutton->setPixmap(p);
+- uint bd = tqstyle().tqpixelMetric( TQStyle::PM_ButtonMargin ) * 2;
++ uint bd = style().pixelMetric( TQStyle::PM_ButtonMargin ) * 2;
+ logobutton->setFixedSize(p.width() + bd, p.height() + bd);
+ logopath = logo;
+ return true;
+@@ -361,7 +373,7 @@
+ void KDMAppearanceWidget::slotLogoButtonClicked()
+ {
+ KImageIO::registerFormats();
+- KFileDialog dialogue(locate("data", TQString::tqfromLatin1("kdm/pics/")),
++ KFileDialog dialogue(locate("data", TQString::fromLatin1("kdm/pics/")),
+ KImageIO::pattern( KImageIO::Reading ),
+ this, 0, true);
+ dialogue.setOperationMode( KFileDialog::Opening );
+@@ -464,7 +476,24 @@
+
+ config->writeEntry("Language", langcombo->current());
+
+- config->writeEntry("UseSAK", sakbox->isChecked());
++ if (!sakwarning) {
++ config->writeEntry("UseSAK", sakbox->isChecked());
++ }
++
++ // Enable/disable tsak as needed
++ if (sakbox->isChecked()) {
++ system(KDE_BINDIR "/tsak");
++ }
++ else {
++ // Get PID
++ TQFile file(TSAK_LOCKFILE);
++ if (file.open(IO_ReadOnly)) {
++ TQTextStream stream(&file);
++ unsigned long tsakpid = stream.readLine().toULong();
++ file.close();
++ kill(tsakpid, SIGTERM);
++ }
++ }
+ }
+
+
+@@ -473,7 +502,7 @@
+ config->setGroup("X-*-Greeter");
+
+ // Read the greeting string
+- greetstr_lined->setText(config->readEntry("GreetString", i18n("Welcome to Kubuntu at %n")));
++ greetstr_lined->setText(config->readEntry("GreetString", i18n("Welcome to %n")));
+
+ // Regular logo or clock
+ TQString logoArea = config->readEntry("LogoArea", "Logo" );
+@@ -516,13 +545,18 @@
+ langcombo->setCurrentItem(config->readEntry("Language", "C"));
+
+ // See if the SAK is enabled
+- sakbox->setChecked(config->readBoolEntry("UseSAK", true));
++ if (!sakwarning) {
++ sakbox->setChecked(config->readBoolEntry("UseSAK", true));
++ }
++ else {
++ sakbox->setChecked(false);
++ }
+ }
+
+
+ void KDMAppearanceWidget::defaults()
+ {
+- greetstr_lined->setText( i18n("Welcome to Kubuntu at %n") );
++ greetstr_lined->setText( i18n("Welcome to %n") );
+ logoRadio->setChecked( true );
+ slotAreaRadioClicked( KdmLogo );
+ setLogo( "" );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kdm/kdm-appear.h v3.5.13-sru/kcontrol/kdm/kdm-appear.h
+--- /tmp/stable//kdebase/kcontrol/kdm/kdm-appear.h 2011-09-16 07:40:51.000000000 +0200
++++ v3.5.13-sru/kcontrol/kdm/kdm-appear.h 2012-09-08 19:41:29.000000000 +0200
+@@ -91,6 +91,7 @@
+ KBackedComboBox *echocombo;
+ KLanguageButton *langcombo;
+ TQCheckBox *sakbox;
++ TQLabel *sakwarning;
+
+ };
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kdm/kdm-conv.cpp v3.5.13-sru/kcontrol/kdm/kdm-conv.cpp
+--- /tmp/stable//kdebase/kcontrol/kdm/kdm-conv.cpp 2011-08-11 07:25:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/kdm/kdm-conv.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -50,7 +50,7 @@
+
+ alGroup = new TQVGroupBox( i18n("Enable Au&to-Login"), this );
+ alGroup->setCheckable( true );
+- alGroup->tqsetSizePolicy( vpref );
++ alGroup->setSizePolicy( vpref );
+
+ TQWhatsThis::add( alGroup, i18n("Turn on the auto-login feature."
+ " This applies only to KDM's graphical login."
+@@ -92,7 +92,7 @@
+
+
+ puGroup = new TQVButtonGroup(i18n("Preselect User"), this );
+- puGroup->tqsetSizePolicy( vpref );
++ puGroup->setSizePolicy( vpref );
+
+ connect(puGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotPresChanged()));
+ connect(puGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotChanged()));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kdm/kdm-users.cpp v3.5.13-sru/kcontrol/kdm/kdm-users.cpp
+--- /tmp/stable//kdebase/kcontrol/kdm/kdm-users.cpp 2011-08-11 07:25:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/kdm/kdm-users.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -94,14 +94,14 @@
+ TQLabel *minlab = new TQLabel( i18n("Below:"), minGroup );
+ leminuid = new KLineEdit( minGroup );
+ minlab->setBuddy( leminuid );
+- leminuid->tqsetSizePolicy( sp_ign_fix );
++ leminuid->setSizePolicy( sp_ign_fix );
+ leminuid->setValidator( valid );
+ connect( leminuid, TQT_SIGNAL(textChanged( const TQString & )), TQT_SLOT(slotChanged()) );
+ connect( leminuid, TQT_SIGNAL(textChanged( const TQString & )), TQT_SLOT(slotMinMaxChanged()) );
+ TQLabel *maxlab = new TQLabel( i18n("Above:"), minGroup );
+ lemaxuid = new KLineEdit( minGroup );
+ maxlab->setBuddy( lemaxuid );
+- lemaxuid->tqsetSizePolicy( sp_ign_fix );
++ lemaxuid->setSizePolicy( sp_ign_fix );
+ lemaxuid->setValidator( valid );
+ connect(lemaxuid, TQT_SIGNAL(textChanged( const TQString & )), TQT_SLOT(slotChanged()) );
+ connect(lemaxuid, TQT_SIGNAL(textChanged( const TQString & )), TQT_SLOT(slotMinMaxChanged()) );
+@@ -168,7 +168,7 @@
+ userbutton = new TQPushButton( hlpw );
+ userbutton->setAcceptDrops( true );
+ userbutton->installEventFilter( this ); // for drag and drop
+- uint sz = tqstyle().tqpixelMetric( TQStyle::PM_ButtonMargin ) * 2 + 48;
++ uint sz = style().pixelMetric( TQStyle::PM_ButtonMargin ) * 2 + 48;
+ userbutton->setFixedSize( sz, sz );
+ connect( userbutton, TQT_SIGNAL(clicked()),
+ TQT_SLOT(slotUserButtonClicked()) );
+@@ -457,11 +457,11 @@
+ cbusrsrt->setChecked(config->readBoolEntry("SortUsers", true));
+
+ TQString ps = config->readEntry( "FaceSource" );
+- if (ps == TQString::tqfromLatin1("UserOnly"))
++ if (ps == TQString::fromLatin1("UserOnly"))
+ rbusronly->setChecked(true);
+- else if (ps == TQString::tqfromLatin1("PreferUser"))
++ else if (ps == TQString::fromLatin1("PreferUser"))
+ rbprefusr->setChecked(true);
+- else if (ps == TQString::tqfromLatin1("PreferAdmin"))
++ else if (ps == TQString::fromLatin1("PreferAdmin"))
+ rbprefadm->setChecked(true);
+ else
+ rbadmonly->setChecked(true);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kdm/main.cpp v3.5.13-sru/kcontrol/kdm/main.cpp
+--- /tmp/stable//kdebase/kcontrol/kdm/main.cpp 2011-09-19 03:46:39.000000000 +0200
++++ v3.5.13-sru/kcontrol/kdm/main.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -175,10 +175,10 @@
+
+ struct stat st;
+ if( stat( KDE_CONFDIR "/kdm/kdmdistrc" ,&st ) == 0) {
+- config = new KSimpleConfig( TQString::tqfromLatin1( KDE_CONFDIR "/kdm/kdmdistrc" ));
++ config = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/kdm/kdmdistrc" ));
+ }
+ else {
+- config = new KSimpleConfig( TQString::tqfromLatin1( KDE_CONFDIR "/kdm/kdmrc" ));
++ config = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/kdm/kdmrc" ));
+ }
+
+ TQVBoxLayout *top = new TQVBoxLayout(this);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/keys/commandShortcuts.cpp v3.5.13-sru/kcontrol/keys/commandShortcuts.cpp
+--- /tmp/stable//kdebase/kcontrol/keys/commandShortcuts.cpp 2011-08-11 07:25:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/keys/commandShortcuts.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -83,13 +83,13 @@
+ label->setText(i18n("<qt>Below is a list of known commands which you may assign keyboard shortcuts to. "
+ "To edit, add or remove entries from this list use the "
+ "<a href=\"launchMenuEditor\">KDE menu editor</a>.</qt>"));
+- label->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Minimum);
++ label->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Minimum);
+ disconnect(label, TQT_SIGNAL(linkClicked(const TQString &)), label, TQT_SLOT(openLink(const TQString &)));
+ connect(label, TQT_SIGNAL(linkClicked(const TQString &)), this, TQT_SLOT(launchMenuEditor()));
+ mainLayout->addWidget(label);
+
+ m_tree = new AppTreeView(this, "appTreeView");
+- m_tree->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding);
++ m_tree->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding);
+ mainLayout->setStretchFactor(m_tree, 10);
+ mainLayout->addWidget(m_tree);
+ TQWhatsThis::add(m_tree,
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/keys/keyconfig.cpp v3.5.13-sru/kcontrol/keys/keyconfig.cpp
+--- /tmp/stable//kdebase/kcontrol/keys/keyconfig.cpp 2011-08-21 09:08:14.000000000 +0200
++++ v3.5.13-sru/kcontrol/keys/keyconfig.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -170,7 +170,7 @@
+ topLayout->addRowSpacing(3, 15);
+ topLayout->addMultiCellWidget(kc, 5, 5, 0, 1);
+
+- setMinimumSize(topLayout->tqsizeHint());
++ setMinimumSize(topLayout->sizeHint());
+ }
+
+ KKeyModule::~KKeyModule (){
+@@ -238,7 +238,7 @@
+
+ uint ind = sList->currentItem();
+
+- if ( !d.remove( *sFileList->tqat( ind ) ) ) {
++ if ( !d.remove( *sFileList->at( ind ) ) ) {
+ KMessageBox::sorry( 0,
+ i18n("This key scheme could not be removed.\n"
+ "Perhaps you do not have permission to alter the file "
+@@ -247,7 +247,7 @@
+ }
+
+ sList->removeItem( ind );
+- sFileList->remove( sFileList->tqat(ind) );
++ sFileList->remove( sFileList->at(ind) );
+ }*/
+
+ void KKeyModule::slotKeyChange()
+@@ -258,7 +258,7 @@
+
+ /*void KKeyModule::slotSave( )
+ {
+- KSimpleConfig config(*sFileList->tqat( sList->currentItem() ) );
++ KSimpleConfig config(*sFileList->at( sList->currentItem() ) );
+ // global=true is necessary in order to
+ // let both 'Global Shortcuts' and 'Shortcut Sequences' be
+ // written to the same scheme file.
+@@ -281,7 +281,7 @@
+ else {
+ KConfigBase* config = 0;
+ if( index == 0 ) config = new KConfig( "kdeglobals" );
+- //else config = new KSimpleConfig( *sFileList->tqat( index ), true );
++ //else config = new KSimpleConfig( *sFileList->at( index ), true );
+
+ actions.readActions( (index == 0) ? KeySet : KeyScheme, config );
+ kc->listSync();
+@@ -416,8 +416,8 @@
+ // Set various appropriate for the scheme
+
+ if ( indx < nSysSchemes ||
+- (*sFileList->tqat(indx)).contains( "/global-" ) ||
+- (*sFileList->tqat(indx)).contains( "/app-" ) ) {
++ (*sFileList->at(indx)).contains( "/global-" ) ||
++ (*sFileList->at(indx)).contains( "/app-" ) ) {
+ removeBt->setEnabled( FALSE );
+ } else {
+ removeBt->setEnabled( TRUE );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/keys/shortcuts.cpp v3.5.13-sru/kcontrol/keys/shortcuts.cpp
+--- /tmp/stable//kdebase/kcontrol/keys/shortcuts.cpp 2011-08-21 09:08:14.000000000 +0200
++++ v3.5.13-sru/kcontrol/keys/shortcuts.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -145,7 +145,7 @@
+
+ m_pcbSchemes = new KComboBox( this );
+ m_pcbSchemes->setMinimumWidth( 100 );
+- m_pcbSchemes->tqsetSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Fixed );
++ m_pcbSchemes->setSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Fixed );
+ connect( m_pcbSchemes, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSelectScheme(int)) );
+ pHLayout->addWidget( m_pcbSchemes );
+
+@@ -190,10 +190,10 @@
+ m_pListGeneral = new KAccelShortcutList( m_actionsGeneral, true );
+
+ m_pkcGeneral = new KKeyChooser( m_pListGeneral, this, KKeyChooser::Global, false );
+- m_pkcGeneral->resize (m_pkcGeneral->tqsizeHint() );
++ m_pkcGeneral->resize (m_pkcGeneral->sizeHint() );
+ if (system("xmodmap 1> /dev/null 2> /dev/null") == 0) {
+ m_useRmWinKeys = new TQCheckBox( i18n("Use Win key as modifier (uncheck to bind Win key to Menu)"), this );
+- m_useRmWinKeys->resize( m_useRmWinKeys->tqsizeHint() );
++ m_useRmWinKeys->resize( m_useRmWinKeys->sizeHint() );
+ m_useRmWinKeys->setChecked( m_bUseRmWinKeys );
+ pVLayout->addWidget( m_useRmWinKeys, 1, 0 );
+ connect( m_useRmWinKeys, TQT_SIGNAL(clicked()), TQT_SLOT(slotUseRmWinKeysClicked()) );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KCmFontInst.cpp v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KCmFontInst.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KCmFontInst.cpp 2011-08-11 07:25:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KCmFontInst.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 26/04/2003
+-// Version : $Revision: 1246075 $ $Date: 2011-08-10 01:08:18 -0500 (Wed, 10 Aug 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+@@ -114,7 +114,7 @@
+ itsSplitter=new TQSplitter(this);
+ fontsFrame=new TQFrame(itsSplitter),
+ itsPreview=(KParts::ReadOnlyPart *)factory->create(TQT_TQOBJECT(itsSplitter), "kcmfontinst", "KParts::ReadOnlyPart");
+- itsSplitter->tqsetSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
++ itsSplitter->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
+
+ TQValueList<int> sizes(itsConfig.readIntListEntry(CFG_SPLITTER_SIZES));
+
+@@ -130,7 +130,7 @@
+ {
+ #endif
+ fontsFrame=new TQFrame(this);
+- fontsFrame->tqsetSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
++ fontsFrame->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
+ #ifdef HAVE_XFT
+ }
+ #endif
+@@ -141,7 +141,7 @@
+ bool showBitmap(itsConfig.readBoolEntry(CFG_SHOW_BITMAP, false));
+
+ fontsFrame->setLineWidth(0);
+- toolbar->tqsetSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Minimum);
++ toolbar->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Minimum);
+ toolbar->setMovingEnabled(false);
+
+ TQString previousPath=itsConfig.readEntry(CFG_PATH);
+@@ -152,12 +152,12 @@
+ itsDirOp->setMinimumSize(TQSize(96, 64));
+ setMimeTypes(showBitmap);
+ itsDirOp->dirLister()->setMainWindow(this);
+- itsDirOp->tqsetSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
++ itsDirOp->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
+ fontsLayout->addMultiCellWidget(itsDirOp, 0, 0, 0, 1);
+
+ KPushButton *button=new KPushButton(KGuiItem(i18n("Add Fonts..."), "newfont"), fontsFrame);
+ connect(button, TQT_SIGNAL(clicked()), TQT_SLOT(addFonts()));
+- button->tqsetSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum);
++ button->setSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum);
+ fontsLayout->addWidget(button, 1, 0);
+ TQT_TQLAYOUT(fontsLayout)->addItem(new TQSpacerItem(4, 4, TQSizePolicy::Expanding, TQSizePolicy::Minimum));
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KCmFontInst.h v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KCmFontInst.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KCmFontInst.h 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KCmFontInst.h 2012-09-08 19:41:29.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 26/04/2003
+-// Version : $Revision: 1212480 $ $Date: 2011-01-06 22:10:07 -0600 (Thu, 06 Jan 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KFileFontIconView.cpp v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KFileFontIconView.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KFileFontIconView.cpp 2010-08-13 00:36:05.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KFileFontIconView.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 31/05/2003
+-// Version : $Revision: 1157639 $ $Date: 2010-07-31 14:33:34 -0500 (Sat, 31 Jul 2010) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KFileFontIconView.h v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KFileFontIconView.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KFileFontIconView.h 2010-08-13 00:36:05.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KFileFontIconView.h 2012-09-08 19:41:29.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 01/08/2003
+-// Version : $Revision: 1157639 $ $Date: 2010-07-31 14:33:34 -0500 (Sat, 31 Jul 2010) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp 2010-08-13 00:36:05.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 31/05/2003
+-// Version : $Revision: 1157639 $ $Date: 2010-07-31 14:33:34 -0500 (Sat, 31 Jul 2010) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KFileFontView.h v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KFileFontView.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kcmfontinst/KFileFontView.h 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/kfontinst/kcmfontinst/KFileFontView.h 2012-09-08 19:41:29.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 31/05/2003
+-// Version : $Revision: 1215552 $ $Date: 2011-01-18 19:42:14 -0600 (Tue, 18 Jan 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+@@ -88,7 +88,7 @@
+
+ TQRect rect() const
+ {
+- TQRect r = listView()->tqitemRect(this);
++ TQRect r = listView()->itemRect(this);
+
+ return TQRect(listView()->viewportToContents(r.topLeft()), TQSize(r.width(), r.height()));
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kfile-plugin/KFileFont.cpp v3.5.13-sru/kcontrol/kfontinst/kfile-plugin/KFileFont.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kfile-plugin/KFileFont.cpp 2011-08-11 07:25:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kfile-plugin/KFileFont.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 20/03/2003
+-// Version : $Revision: 1246075 $ $Date: 2011-08-10 01:08:18 -0500 (Wed, 10 Aug 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kfile-plugin/KFileFont.h v3.5.13-sru/kcontrol/kfontinst/kfile-plugin/KFileFont.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kfile-plugin/KFileFont.h 2010-08-13 00:36:06.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kfile-plugin/KFileFont.h 2012-09-08 19:41:29.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 20/03/2003
+-// Version : $Revision: 1157639 $ $Date: 2010-07-31 14:33:34 -0500 (Sat, 31 Jul 2010) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kfontinst/FontEngine.cpp v3.5.13-sru/kcontrol/kfontinst/kfontinst/FontEngine.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kfontinst/FontEngine.cpp 2011-08-11 07:25:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kfontinst/FontEngine.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -163,7 +163,7 @@
+ TQChar space(' ');
+
+ for(int c=0; c<len; ++c)
+- if(str[c].tqunicode()<0x20 || str[c].tqunicode()>0x7E)
++ if(str[c].unicode()<0x20 || str[c].unicode()>0x7E)
+ str[c]=space;
+
+ str=str.simplifyWhiteSpace();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kfontinst/Main.cpp v3.5.13-sru/kcontrol/kfontinst/kfontinst/Main.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kfontinst/Main.cpp 2011-08-11 07:25:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kfontinst/Main.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 20/03/2003
+-// Version : $Revision: 1246075 $ $Date: 2011-08-10 01:08:18 -0500 (Wed, 10 Aug 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kio/KioFonts.cpp v3.5.13-sru/kcontrol/kfontinst/kio/KioFonts.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kio/KioFonts.cpp 2011-08-11 07:25:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kio/KioFonts.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 05/03/2003
+-// Version : $Revision: 1246075 $ $Date: 2011-08-10 01:08:18 -0500 (Wed, 10 Aug 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+@@ -136,7 +136,7 @@
+ TQString fname(url.fileName());
+ int pos;
+
+- if(-1!=(pos=fname.findRev(TQString::tqfromLatin1(constMultipleExtension))))
++ if(-1!=(pos=fname.findRev(TQString::fromLatin1(constMultipleExtension))))
+ fname=fname.left(pos);
+
+ return fname;
+@@ -292,7 +292,7 @@
+ ? KFI_KIO_FONTS_PROTOCOL"/system-folder"
+ : KFI_KIO_FONTS_PROTOCOL"/folder");
+ addAtom(entry, KIO::UDS_GUESSED_MIME_TYPE, 0, "application/octet-stream");
+- TQString url(KFI_KIO_FONTS_PROTOCOL+TQString::tqfromLatin1(":/"));
++ TQString url(KFI_KIO_FONTS_PROTOCOL+TQString::fromLatin1(":/"));
+ return true;
+ }
+ else if (sys && !Misc::root()) // Default system fonts folder does not actually exist yet!
+@@ -393,15 +393,15 @@
+ addAtom(entry, KIO::UDS_MIME_TYPE, 0, KMimeType::findByPath(path, 0, true)->name());
+ addAtom(entry, KIO::UDS_GUESSED_MIME_TYPE, 0, "application/octet-stream");
+
+- TQString url(KFI_KIO_FONTS_PROTOCOL+TQString::tqfromLatin1(":/"));
++ TQString url(KFI_KIO_FONTS_PROTOCOL+TQString::fromLatin1(":/"));
+
+ if(!Misc::root())
+ {
+ url+=sys ? i18n(KFI_KIO_FONTS_SYS) : i18n(KFI_KIO_FONTS_USER);
+- url+=TQString::tqfromLatin1("/");
++ url+=TQString::fromLatin1("/");
+ }
+ if(multiple)
+- url+=name+TQString::tqfromLatin1(constMultipleExtension);
++ url+=name+TQString::fromLatin1(constMultipleExtension);
+ else
+ url+=Misc::getFile(path);
+ addAtom(entry, KIO::UDS_URL, 0, url);
+@@ -1185,7 +1185,7 @@
+
+ if (markPartial)
+ {
+- TQString destPart(destOrig+TQString::tqfromLatin1(".part"));
++ TQString destPart(destOrig+TQString::fromLatin1(".part"));
+ TQCString destPartC(TQFile::encodeName(destPart));
+
+ dest = destPart;
+@@ -2385,8 +2385,8 @@
+
+ if(ds==TQString(TQChar('/')+i18n(KFI_KIO_FONTS_USER)+TQChar('/')) ||
+ ds==TQString(TQChar('/')+i18n(KFI_KIO_FONTS_SYS)+TQChar('/')) ||
+- ds==TQString(TQChar('/')+TQString::tqfromLatin1(KFI_KIO_FONTS_USER)+TQChar('/')) ||
+- ds==TQString(TQChar('/')+TQString::tqfromLatin1(KFI_KIO_FONTS_SYS)+TQChar('/')))
++ ds==TQString(TQChar('/')+TQString::fromLatin1(KFI_KIO_FONTS_USER)+TQChar('/')) ||
++ ds==TQString(TQChar('/')+TQString::fromLatin1(KFI_KIO_FONTS_SYS)+TQChar('/')))
+ {
+ error(KIO::ERR_SLAVE_DEFINED, i18n("Sorry, you cannot rename, move, copy, or delete either \"%1\" or \"%2\".")
+ .arg(i18n(KFI_KIO_FONTS_USER)).arg(i18n(KFI_KIO_FONTS_SYS))); \
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/kio/KioFonts.h v3.5.13-sru/kcontrol/kfontinst/kio/KioFonts.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/kio/KioFonts.h 2011-08-11 07:25:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/kio/KioFonts.h 2012-09-08 19:41:29.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 05/03/2003
+-// Version : $Revision: 1246075 $ $Date: 2011-08-10 01:08:18 -0500 (Wed, 10 Aug 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/lib/FcEngine.cpp v3.5.13-sru/kcontrol/kfontinst/lib/FcEngine.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/lib/FcEngine.cpp 2011-08-11 07:25:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/lib/FcEngine.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -439,7 +439,7 @@
+ ch;
+
+ for(ch=0; ch<slen; ++ch)
+- if(!FcCharSetHasChar(font->charset, str[ch].tqunicode()))
++ if(!FcCharSetHasChar(font->charset, str[ch].unicode()))
+ return false;
+ return true;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/thumbnail/FontThumbnail.cpp v3.5.13-sru/kcontrol/kfontinst/thumbnail/FontThumbnail.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/thumbnail/FontThumbnail.cpp 2010-08-13 00:36:06.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/thumbnail/FontThumbnail.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 02/08/2003
+-// Version : $Revision: 1157639 $ $Date: 2010-07-31 14:33:34 -0500 (Sat, 31 Jul 2010) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontPreview.cpp v3.5.13-sru/kcontrol/kfontinst/viewpart/FontPreview.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontPreview.cpp 2011-03-12 07:57:43.000000000 +0100
++++ v3.5.13-sru/kcontrol/kfontinst/viewpart/FontPreview.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 04/11/2001
+-// Version : $Revision: 1215552 $ $Date: 2011-01-18 19:42:14 -0600 (Tue, 18 Jan 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+@@ -88,7 +88,7 @@
+ {
+ if(!itsCurrentUrl.isEmpty())
+ {
+- paint.setPen(kapp->tqpalette().active().text());
++ paint.setPen(kapp->palette().active().text());
+ paint.drawText(rect(), AlignCenter, i18n(" No preview available"));
+ }
+ }
+@@ -103,12 +103,12 @@
+ }
+ }
+
+-TQSize CFontPreview::tqsizeHint() const
++TQSize CFontPreview::sizeHint() const
+ {
+ return TQSize(132, 132);
+ }
+
+-TQSize CFontPreview::tqminimumSizeHint() const
++TQSize CFontPreview::minimumSizeHint() const
+ {
+ return TQSize(32, 32);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontPreview.h v3.5.13-sru/kcontrol/kfontinst/viewpart/FontPreview.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontPreview.h 2011-03-12 07:57:43.000000000 +0100
++++ v3.5.13-sru/kcontrol/kfontinst/viewpart/FontPreview.h 2012-09-08 19:41:29.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 04/11/2001
+-// Version : $Revision: 1215552 $ $Date: 2011-01-18 19:42:14 -0600 (Tue, 18 Jan 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+@@ -50,8 +50,8 @@
+ virtual ~CFontPreview() {}
+
+ void paintEvent(TQPaintEvent *);
+- TQSize tqsizeHint() const;
+- TQSize tqminimumSizeHint() const;
++ TQSize sizeHint() const;
++ TQSize minimumSizeHint() const;
+
+ void showFont(const KURL &url);
+ void showFont();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewerApp.cpp v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewerApp.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewerApp.cpp 2011-03-12 07:57:43.000000000 +0100
++++ v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewerApp.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer (kfontinst-kcontrol)
+ // Creation Date : 30/04/2004
+-// Version : $Revision: 1215552 $ $Date: 2011-01-18 19:42:14 -0600 (Tue, 18 Jan 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewerApp.h v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewerApp.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewerApp.h 2010-08-12 05:28:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewerApp.h 2012-09-08 19:41:29.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer (kfontinst-kcontrol)
+ // Creation Date : 30/04/2004
+-// Version : $Revision: 465343 $ $Date: 2005-09-29 08:24:25 -0500 (Thu, 29 Sep 2005) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewPart.cpp v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewPart.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewPart.cpp 2011-07-09 08:16:52.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewPart.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 03/08/2002
+-// Version : $Revision: 1240522 $ $Date: 2011-07-08 21:23:29 -0500 (Fri, 08 Jul 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+@@ -88,7 +88,7 @@
+ setInstance(new KInstance("kfontview"));
+
+ itsPreview=new CFontPreview(previewFrame, "FontViewPart::Preview");
+- itsPreview->tqsetSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
++ itsPreview->setSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding);
+ itsFaceLabel=new TQLabel(i18n("Face:"), itsToolsFrame);
+ itsFaceSelector=new KIntNumInput(1, itsToolsFrame);
+ itsInstallButton=new TQPushButton(i18n("Install..."), itsToolsFrame, "button");
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewPartFactory.cpp v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewPartFactory.cpp
+--- /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewPartFactory.cpp 2010-08-13 00:36:05.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewPartFactory.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -4,7 +4,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 03/08/2002
+-// Version : $Revision: 1157639 $ $Date: 2010-07-31 14:33:34 -0500 (Sat, 31 Jul 2010) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewPartFactory.h v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewPartFactory.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewPartFactory.h 2011-04-03 01:50:11.000000000 +0200
++++ v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewPartFactory.h 2012-09-08 19:41:29.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer
+ // Creation Date : 03/08/2002
+-// Version : $Revision: 1226910 $ $Date: 2011-04-02 18:45:34 -0500 (Sat, 02 Apr 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewPart.h v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewPart.h
+--- /tmp/stable//kdebase/kcontrol/kfontinst/viewpart/FontViewPart.h 2011-03-12 07:57:43.000000000 +0100
++++ v3.5.13-sru/kcontrol/kfontinst/viewpart/FontViewPart.h 2012-09-08 19:41:29.000000000 +0200
+@@ -7,7 +7,7 @@
+ // Author : Craig Drummond
+ // Project : K Font Installer (kfontinst-kcontrol)
+ // Creation Date : 03/08/2002
+-// Version : $Revision: 1212480 $ $Date: 2011-01-06 22:10:07 -0600 (Thu, 06 Jan 2011) $
++// Version : $Revision$ $Date$
+ //
+ ////////////////////////////////////////////////////////////////////////////////
+ //
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/advancedDialog.cpp v3.5.13-sru/kcontrol/kicker/advancedDialog.cpp
+--- /tmp/stable//kdebase/kcontrol/kicker/advancedDialog.cpp 2011-08-26 01:00:16.000000000 +0200
++++ v3.5.13-sru/kcontrol/kicker/advancedDialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -51,7 +51,7 @@
+ layout->addWidget(m_advancedWidget);
+ layout->addStretch();
+
+- setMinimumSize( tqsizeHint() );
++ setMinimumSize( sizeHint() );
+
+ connect(m_advancedWidget->handles, TQT_SIGNAL(clicked(int)),
+ this, TQT_SLOT(changed()));
+@@ -92,7 +92,7 @@
+
+ int defaultHideButtonSize = c.readNumEntry("HideButtonSize", 14);
+ m_advancedWidget->hideButtonSize->setValue(defaultHideButtonSize);
+- TQColor color = c.readColorEntry( "TintColor", &tqcolorGroup().mid() );
++ TQColor color = c.readColorEntry( "TintColor", &colorGroup().mid() );
+ m_advancedWidget->tintColorB->setColor( color );
+ int tintValue = c.readNumEntry( "TintValue", 33 );
+ m_advancedWidget->tintSlider->setValue( tintValue );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/advancedOptions.ui v3.5.13-sru/kcontrol/kicker/advancedOptions.ui
+--- /tmp/stable//kdebase/kcontrol/kicker/advancedOptions.ui 2011-08-26 01:00:16.000000000 +0200
++++ v3.5.13-sru/kcontrol/kicker/advancedOptions.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -71,7 +71,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>101</width>
+ <height>20</height>
+@@ -145,7 +145,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>20</height>
+@@ -194,7 +194,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>21</height>
+@@ -208,7 +208,7 @@
+ <property name="text">
+ <string>Min</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignLeft</set>
+ </property>
+ <property name="whatsThis" stdset="0">
+@@ -225,7 +225,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>81</width>
+ <height>20</height>
+@@ -250,7 +250,7 @@
+ <property name="text">
+ <string>Max</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="whatsThis" stdset="0">
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/applettab.ui v3.5.13-sru/kcontrol/kicker/applettab.ui
+--- /tmp/stable//kdebase/kcontrol/kicker/applettab.ui 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/kicker/applettab.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -112,7 +112,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -123,7 +123,7 @@
+ <property name="name">
+ <cstring>pb_add</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+@@ -143,7 +143,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -162,7 +162,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+@@ -182,7 +182,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/extensionInfo.cpp v3.5.13-sru/kcontrol/kicker/extensionInfo.cpp
+--- /tmp/stable//kdebase/kcontrol/kicker/extensionInfo.cpp 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/kicker/extensionInfo.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -125,7 +125,7 @@
+ c.setGroup("General");
+
+ _position = c.readNumEntry ("Position", _position);
+- _tqalignment = c.readNumEntry ("Alignment", _tqalignment);
++ _alignment = c.readNumEntry ("Alignment", _alignment);
+ _xineramaScreen = c.readNumEntry ("XineramaScreen", _xineramaScreen);
+ _showLeftHB = c.readBoolEntry("ShowLeftHideButton", _showLeftHB);
+ _showRightHB = c.readBoolEntry("ShowRightHideButton", _showRightHB);
+@@ -147,7 +147,7 @@
+ }
+
+ _orig_position = _position;
+- _orig_tqalignment = _tqalignment;
++ _orig_alignment = _alignment;
+ _orig_size = _size;
+ _orig_customSize = _customSize;
+
+@@ -170,10 +170,10 @@
+ _orig_position = _position = position;
+ }
+
+- int tqalignment = c.readNumEntry ("Alignment", TQApplication::reverseLayout() ? 2 : 0);
+- if (tqalignment != _tqalignment && tqalignment != _orig_tqalignment)
++ int alignment = c.readNumEntry ("Alignment", TQApplication::reverseLayout() ? 2 : 0);
++ if (alignment != _alignment && alignment != _orig_alignment)
+ {
+- _orig_tqalignment = _tqalignment = tqalignment;
++ _orig_alignment = _alignment = alignment;
+ }
+
+ if (_resizeable)
+@@ -197,7 +197,7 @@
+ {
+ // defaults
+ _position = 3;
+- _tqalignment = TQApplication::reverseLayout() ? 2 : 0;
++ _alignment = TQApplication::reverseLayout() ? 2 : 0;
+ _xineramaScreen = TQApplication::desktop()->primaryScreen();
+ _size = 2;
+ _showLeftHB = false;
+@@ -225,7 +225,7 @@
+ c.setGroup("General");
+
+ c.writeEntry("Position", _position);
+- c.writeEntry("Alignment", _tqalignment);
++ c.writeEntry("Alignment", _alignment);
+ c.writeEntry("XineramaScreen", _xineramaScreen);
+ c.writeEntry("ShowLeftHideButton", _showLeftHB);
+ c.writeEntry("ShowRightHideButton", _showRightHB);
+@@ -251,7 +251,7 @@
+ }
+
+ _orig_position = _position;
+- _orig_tqalignment = _tqalignment;
++ _orig_alignment = _alignment;
+ _orig_size = _size;
+ _orig_customSize = _customSize;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/extensionInfo.h v3.5.13-sru/kcontrol/kicker/extensionInfo.h
+--- /tmp/stable//kdebase/kcontrol/kicker/extensionInfo.h 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/kicker/extensionInfo.h 2012-09-08 19:41:29.000000000 +0200
+@@ -47,7 +47,7 @@
+ // Configuration settings
+ TQString _name;
+ int _position;
+- int _tqalignment;
++ int _alignment;
+ int _xineramaScreen;
+ int _size;
+ int _customSize;
+@@ -67,7 +67,7 @@
+ // Original settings to ensure that we can figure out
+ // what has changed externally to the panel vs within the panel
+ int _orig_position;
+- int _orig_tqalignment;
++ int _orig_alignment;
+ int _orig_size;
+ int _orig_customSize;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/hidingtab.ui v3.5.13-sru/kcontrol/kicker/hidingtab.ui
+--- /tmp/stable//kdebase/kcontrol/kicker/hidingtab.ui 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/kicker/hidingtab.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -62,7 +62,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>342</width>
+ <height>20</height>
+@@ -92,7 +92,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>20</height>
+@@ -179,7 +179,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -299,7 +299,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -332,7 +332,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>50</width>
+ <height>10</height>
+@@ -401,7 +401,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -439,7 +439,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -467,7 +467,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>20</height>
+@@ -532,7 +532,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -557,7 +557,7 @@
+ <property name="text">
+ <string>Fast</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="hAlign" stdset="0">
+@@ -573,7 +573,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -598,7 +598,7 @@
+ <property name="text">
+ <string>Medium</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ <property name="hAlign" stdset="0">
+@@ -637,7 +637,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/lookandfeeltab.ui v3.5.13-sru/kcontrol/kicker/lookandfeeltab.ui
+--- /tmp/stable//kdebase/kcontrol/kicker/lookandfeeltab.ui 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/kicker/lookandfeeltab.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -359,7 +359,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>66</width>
+ <height>130</height>
+@@ -389,7 +389,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -428,13 +428,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>50</width>
+ <height>50</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>50</width>
+ <height>50</height>
+@@ -449,7 +449,7 @@
+ <property name="scaledContents">
+ <bool>true</bool>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ <property name="hAlign" stdset="0">
+@@ -527,7 +527,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>289</width>
+ <height>20</height>
+@@ -546,7 +546,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/menutab_impl.cpp v3.5.13-sru/kcontrol/kicker/menutab_impl.cpp
+--- /tmp/stable//kdebase/kcontrol/kicker/menutab_impl.cpp 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/kicker/menutab_impl.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -93,9 +93,9 @@
+ btnCustomKMenuIcon->setPixmap(kmenu_icon);
+
+ KConfig *config;
+- config = new KConfig(TQString::tqfromLatin1("kdeglobals"), false, false);
+- config->setGroup(TQString::tqfromLatin1("RecentDocuments"));
+- maxrecentdocs->setValue(config->readNumEntry(TQString::tqfromLatin1("MaxEntries"), 10));
++ config = new KConfig(TQString::fromLatin1("kdeglobals"), false, false);
++ config->setGroup(TQString::fromLatin1("RecentDocuments"));
++ maxrecentdocs->setValue(config->readNumEntry(TQString::fromLatin1("MaxEntries"), 10));
+
+ m_browserGroupLayout->setColStretch( 1, 1 );
+ m_pRecentOrderGroupLayout->setColStretch( 1, 1 );
+@@ -247,8 +247,8 @@
+
+ // Save recent documents
+ KConfig *config;
+- config = new KConfig(TQString::tqfromLatin1("kdeglobals"), false, false);
+- config->setGroup(TQString::tqfromLatin1("RecentDocuments"));
++ config = new KConfig(TQString::fromLatin1("kdeglobals"), false, false);
++ config->setGroup(TQString::fromLatin1("RecentDocuments"));
+ config->writeEntry("MaxEntries", maxrecentdocs->value());
+ config->sync();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/menutab.ui v3.5.13-sru/kcontrol/kicker/menutab.ui
+--- /tmp/stable//kdebase/kcontrol/kicker/menutab.ui 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/kicker/menutab.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -63,7 +63,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -197,7 +197,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -261,13 +261,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>26</width>
+ <height>26</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>26</width>
+ <height>26</height>
+@@ -327,7 +327,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -345,7 +345,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -389,7 +389,7 @@
+ <verstretch>1</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+@@ -487,7 +487,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -558,7 +558,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -654,7 +654,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -698,7 +698,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/positiontab_impl.cpp v3.5.13-sru/kcontrol/kicker/positiontab_impl.cpp
+--- /tmp/stable//kdebase/kcontrol/kicker/positiontab_impl.cpp 2011-08-11 07:25:28.000000000 +0200
++++ v3.5.13-sru/kcontrol/kicker/positiontab_impl.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -60,7 +60,7 @@
+ {
+ TQPixmap monitor(locate("data", "kcontrol/pics/monitor.png"));
+ m_monitorImage->setPixmap(monitor);
+- m_monitorImage->setFixedSize(m_monitorImage->tqsizeHint());
++ m_monitorImage->setFixedSize(m_monitorImage->sizeHint());
+
+ m_pretendDesktop = new TQWidget(m_monitorImage, "pretendBG");
+ m_pretendDesktop->setGeometry(offsetX, offsetY, maxX, maxY);
+@@ -558,7 +558,7 @@
+ m_customSpinbox->setValue(m_panelInfo->_customSize);
+ m_sizeGroup->setEnabled(m_panelInfo->_resizeable);
+ m_panelPos = m_panelInfo->_position;
+- m_panelAlign = m_panelInfo->_tqalignment;
++ m_panelAlign = m_panelInfo->_alignment;
+ if(m_panelInfo->_xineramaScreen >= 0 && m_panelInfo->_xineramaScreen < TQApplication::desktop()->numScreens())
+ m_xineramaScreenComboBox->setCurrentItem(m_panelInfo->_xineramaScreen);
+ else if(m_panelInfo->_xineramaScreen == -2) /* the All Screens option: qt uses -1 for default, so -2 for all */
+@@ -672,7 +672,7 @@
+ }
+
+ m_panelInfo->_position = m_panelPos;
+- m_panelInfo->_tqalignment = m_panelAlign;
++ m_panelInfo->_alignment = m_panelAlign;
+ if(m_xineramaScreenComboBox->currentItem() == m_xineramaScreenComboBox->count()-1)
+ m_panelInfo->_xineramaScreen = -2; /* all screens */
+ else
+@@ -696,14 +696,14 @@
+ screenLabel->setFrameStyle(TQFrame::Panel);
+ screenLabel->setFrameShadow(TQFrame::Plain);
+
+- screenLabel->tqsetAlignment(Qt::AlignCenter);
++ screenLabel->setAlignment(Qt::AlignCenter);
+ screenLabel->setNum(s + 1);
+ // BUGLET: we should not allow the identification to be entered again
+ // until the timer fires.
+ TQTimer::singleShot(1500, screenLabel, TQT_SLOT(close()));
+
+ TQPoint screenCenter(TQApplication::desktop()->screenGeometry(s).center());
+- TQRect targetGeometry(TQPoint(0,0),screenLabel->tqsizeHint());
++ TQRect targetGeometry(TQPoint(0,0),screenLabel->sizeHint());
+ targetGeometry.moveCenter(screenCenter);
+
+ screenLabel->setGeometry(targetGeometry);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kicker/positiontab.ui v3.5.13-sru/kcontrol/kicker/positiontab.ui
+--- /tmp/stable//kdebase/kcontrol/kicker/positiontab.ui 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/kicker/positiontab.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -66,7 +66,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>342</width>
+ <height>20</height>
+@@ -104,7 +104,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -123,7 +123,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>151</width>
+ <height>115</height>
+@@ -132,7 +132,7 @@
+ <property name="scaledContents">
+ <bool>true</bool>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ <property name="whatsThis" stdset="0">
+@@ -149,7 +149,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -176,7 +176,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -235,7 +235,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>101</height>
+@@ -357,7 +357,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>16</height>
+@@ -426,7 +426,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>40</height>
+@@ -538,7 +538,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -555,7 +555,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>0</height>
+@@ -590,13 +590,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+@@ -624,13 +624,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+@@ -658,13 +658,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+@@ -702,13 +702,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+@@ -736,13 +736,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+@@ -770,13 +770,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+@@ -814,13 +814,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+@@ -848,13 +848,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+@@ -882,13 +882,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>16</height>
+@@ -926,13 +926,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+@@ -960,13 +960,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+@@ -994,13 +994,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>16</width>
+ <height>24</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/cache_ui.ui v3.5.13-sru/kcontrol/kio/cache_ui.ui
+--- /tmp/stable//kdebase/kcontrol/kio/cache_ui.ui 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/cache_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -29,7 +29,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>21</height>
+@@ -88,7 +88,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>21</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/fakeuaprovider.cpp v3.5.13-sru/kcontrol/kio/fakeuaprovider.cpp
+--- /tmp/stable//kdebase/kcontrol/kio/fakeuaprovider.cpp 2011-08-11 07:25:29.000000000 +0200
++++ v3.5.13-sru/kcontrol/kio/fakeuaprovider.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -27,7 +27,7 @@
+ #include "fakeuaprovider.h"
+
+ #define UA_PTOS(x) (*it)->property(x).toString()
+-#define QFL(x) TQString::tqfromLatin1(x)
++#define QFL(x) TQString::fromLatin1(x)
+
+ FakeUASProvider::FakeUASProvider()
+ {
+@@ -97,13 +97,13 @@
+ TQStringList languageList = KGlobal::locale()->languageList();
+ if ( languageList.count() )
+ {
+- TQStringList::Iterator it = languageList.find( TQString::tqfromLatin1("C") );
++ TQStringList::Iterator it = languageList.find( TQString::fromLatin1("C") );
+ if( it != languageList.end() )
+ {
+- if( languageList.contains( TQString::tqfromLatin1("en") ) > 0 )
++ if( languageList.contains( TQString::fromLatin1("en") ) > 0 )
+ languageList.remove( it );
+ else
+- (*it) = TQString::tqfromLatin1("en");
++ (*it) = TQString::fromLatin1("en");
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/kcookiesmanagementdlg_ui.ui v3.5.13-sru/kcontrol/kio/kcookiesmanagementdlg_ui.ui
+--- /tmp/stable//kdebase/kcontrol/kio/kcookiesmanagementdlg_ui.ui 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/kcookiesmanagementdlg_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -119,7 +119,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>62</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/kcookiespolicies.cpp v3.5.13-sru/kcontrol/kio/kcookiespolicies.cpp
+--- /tmp/stable//kdebase/kcontrol/kio/kcookiespolicies.cpp 2011-08-11 07:25:29.000000000 +0200
++++ v3.5.13-sru/kcontrol/kio/kcookiespolicies.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -392,7 +392,7 @@
+
+ while( at )
+ {
+- domainConfig.append(TQString::tqfromLatin1("%1:%2").arg(KIDNA::toAscii(at->text(0))).arg(m_pDomainPolicy[at]));
++ domainConfig.append(TQString::fromLatin1("%1:%2").arg(KIDNA::toAscii(at->text(0))).arg(m_pDomainPolicy[at]));
+ at = at->nextSibling();
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/kcookiespoliciesdlg_ui.ui v3.5.13-sru/kcontrol/kio/kcookiespoliciesdlg_ui.ui
+--- /tmp/stable//kdebase/kcontrol/kio/kcookiespoliciesdlg_ui.ui 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/kcookiespoliciesdlg_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -161,7 +161,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/kenvvarproxydlg.cpp v3.5.13-sru/kcontrol/kio/kenvvarproxydlg.cpp
+--- /tmp/stable//kdebase/kcontrol/kio/kenvvarproxydlg.cpp 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/kenvvarproxydlg.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -163,16 +163,16 @@
+ setHighLight (mDlg->lbNoProxy, false);
+
+ // Detect HTTP proxy settings...
+- found |= autoDetectProxySetting (TQString::tqfromLatin1(ENV_HTTP_PROXY), mEnvVarsMap["http"]);
++ found |= autoDetectProxySetting (TQString::fromLatin1(ENV_HTTP_PROXY), mEnvVarsMap["http"]);
+
+ // Detect HTTPS proxy settings...
+- found |= autoDetectProxySetting (TQString::tqfromLatin1(ENV_HTTPS_PROXY), mEnvVarsMap["https"]);
++ found |= autoDetectProxySetting (TQString::fromLatin1(ENV_HTTPS_PROXY), mEnvVarsMap["https"]);
+
+ // Detect FTP proxy settings...
+- found |= autoDetectProxySetting (TQString::tqfromLatin1(ENV_FTP_PROXY), mEnvVarsMap["ftp"]);
++ found |= autoDetectProxySetting (TQString::fromLatin1(ENV_FTP_PROXY), mEnvVarsMap["ftp"]);
+
+ // Detect the NO_PROXY settings...
+- found |= autoDetectProxySetting (TQString::tqfromLatin1(NO_PROXY), mEnvVarsMap["noProxy"]);
++ found |= autoDetectProxySetting (TQString::fromLatin1(NO_PROXY), mEnvVarsMap["noProxy"]);
+
+ if ( !found )
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/kmanualproxydlg.cpp v3.5.13-sru/kcontrol/kio/kmanualproxydlg.cpp
+--- /tmp/stable//kdebase/kcontrol/kio/kmanualproxydlg.cpp 2011-08-11 07:25:29.000000000 +0200
++++ v3.5.13-sru/kcontrol/kio/kmanualproxydlg.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -52,7 +52,7 @@
+ mDlg->pbCopyDown->setPixmap( BarIcon("down", KIcon::SizeSmall) );
+ TQSizePolicy sizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed,
+ mDlg->pbCopyDown->sizePolicy().hasHeightForWidth() );
+- mDlg->pbCopyDown->tqsetSizePolicy( sizePolicy );
++ mDlg->pbCopyDown->setSizePolicy( sizePolicy );
+
+ init();
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/kproxydlg_ui.ui v3.5.13-sru/kcontrol/kio/kproxydlg_ui.ui
+--- /tmp/stable//kdebase/kcontrol/kio/kproxydlg_ui.ui 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/kproxydlg_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -115,7 +115,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+@@ -300,7 +300,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/manualproxy_ui.ui v3.5.13-sru/kcontrol/kio/manualproxy_ui.ui
+--- /tmp/stable//kdebase/kcontrol/kio/manualproxy_ui.ui 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/manualproxy_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -137,7 +137,7 @@
+ <property name="name">
+ <cstring>sbHttp</cstring>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+@@ -160,7 +160,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>51</width>
+ <height>20</height>
+@@ -280,7 +280,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>114</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/policydlg.cpp v3.5.13-sru/kcontrol/kio/policydlg.cpp
+--- /tmp/stable//kdebase/kcontrol/kio/policydlg.cpp 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/policydlg.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -70,7 +70,7 @@
+ connect(m_dlgUI->leDomain, TQT_SIGNAL(textChanged(const TQString&)),
+ TQT_SLOT(slotTextChanged(const TQString&)));
+
+- setFixedSize (tqsizeHint());
++ setFixedSize (sizeHint());
+ m_dlgUI->leDomain->setFocus ();
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/policydlg.h v3.5.13-sru/kcontrol/kio/policydlg.h
+--- /tmp/stable//kdebase/kcontrol/kio/policydlg.h 2011-08-11 07:25:29.000000000 +0200
++++ v3.5.13-sru/kcontrol/kio/policydlg.h 2012-09-08 19:41:29.000000000 +0200
+@@ -52,11 +52,11 @@
+ if (advice.isEmpty())
+ return KCookieAdvice::Dunno;
+
+- if (advice.find (TQString::tqfromLatin1("accept"), 0, false) == 0)
++ if (advice.find (TQString::fromLatin1("accept"), 0, false) == 0)
+ return KCookieAdvice::Accept;
+- else if (advice.find (TQString::tqfromLatin1("reject"), 0, false) == 0)
++ else if (advice.find (TQString::fromLatin1("reject"), 0, false) == 0)
+ return KCookieAdvice::Reject;
+- else if (advice.find (TQString::tqfromLatin1("ask"), 0, false) == 0)
++ else if (advice.find (TQString::fromLatin1("ask"), 0, false) == 0)
+ return KCookieAdvice::Ask;
+
+ return KCookieAdvice::Dunno;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/smbrodlg.cpp v3.5.13-sru/kcontrol/kio/smbrodlg.cpp
+--- /tmp/stable//kdebase/kcontrol/kio/smbrodlg.cpp 2011-08-11 07:25:29.000000000 +0200
++++ v3.5.13-sru/kcontrol/kio/smbrodlg.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -140,7 +140,7 @@
+ for (uint i=0; i<password.length(); i++)
+ {
+ TQChar c = password[i];
+- unsigned int num = (c.tqunicode() ^ 173) + 17;
++ unsigned int num = (c.unicode() ^ 173) + 17;
+ unsigned int a1 = (num & 0xFC00) >> 10;
+ unsigned int a2 = (num & 0x3E0) >> 5;
+ unsigned int a3 = (num & 0x1F);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/socksbase.ui v3.5.13-sru/kcontrol/kio/socksbase.ui
+--- /tmp/stable//kdebase/kcontrol/kio/socksbase.ui 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/socksbase.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -127,7 +127,7 @@
+ <property name="name">
+ <cstring>_c_customPath</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -211,7 +211,7 @@
+ <property name="name">
+ <cstring>_c_newPath</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>25</height>
+@@ -236,7 +236,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -281,7 +281,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/uagentproviderdlg.cpp v3.5.13-sru/kcontrol/kio/uagentproviderdlg.cpp
+--- /tmp/stable//kdebase/kcontrol/kio/uagentproviderdlg.cpp 2011-08-11 07:25:29.000000000 +0200
++++ v3.5.13-sru/kcontrol/kio/uagentproviderdlg.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -47,7 +47,7 @@
+ TQString keycode = e->text();
+ if ( (key >= Qt::Key_Escape && key <= Qt::Key_Help) || key == Qt::Key_Period ||
+ (cursorPosition() > 0 && key == Qt::Key_Minus) ||
+- (!keycode.isEmpty() && keycode.tqunicode()->isLetterOrNumber()) )
++ (!keycode.isEmpty() && keycode.unicode()->isLetterOrNumber()) )
+ {
+ KLineEdit::keyPressEvent(e);
+ return;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/uagentproviderdlg_ui.ui v3.5.13-sru/kcontrol/kio/uagentproviderdlg_ui.ui
+--- /tmp/stable//kdebase/kcontrol/kio/uagentproviderdlg_ui.ui 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/uagentproviderdlg_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -117,7 +117,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>16</height>
+@@ -142,7 +142,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>29</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kio/useragentdlg_ui.ui v3.5.13-sru/kcontrol/kio/useragentdlg_ui.ui
+--- /tmp/stable//kdebase/kcontrol/kio/useragentdlg_ui.ui 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/kio/useragentdlg_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -117,7 +117,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+@@ -310,7 +310,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/knotify/playersettings.ui v3.5.13-sru/kcontrol/knotify/playersettings.ui
+--- /tmp/stable//kdebase/kcontrol/knotify/playersettings.ui 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/knotify/playersettings.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -84,7 +84,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -109,7 +109,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -140,7 +140,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>233</width>
+ <height>20</height>
+@@ -205,7 +205,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -265,7 +265,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konq/behaviour.cpp v3.5.13-sru/kcontrol/konq/behaviour.cpp
+--- /tmp/stable//kdebase/kcontrol/konq/behaviour.cpp 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/konq/behaviour.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -58,7 +58,7 @@
+ winPixmap->setFrameStyle( TQFrame::StyledPanel | TQFrame::Sunken );
+ winPixmap->setPixmap(TQPixmap(locate("data",
+ "kcontrol/pics/onlyone.png")));
+- winPixmap->setFixedSize( winPixmap->tqsizeHint() );
++ winPixmap->setFixedSize( winPixmap->sizeHint() );
+
+
+ // ----
+@@ -103,7 +103,7 @@
+ TQHBox *hboxpreview = new TQHBox(vbox);
+ TQWidget* spacer = new TQWidget( hboxpreview );
+ spacer->setMinimumSize( 20, 0 );
+- spacer->tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum );
++ spacer->setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum );
+
+ cbShowPreviewsInTips = new TQCheckBox( i18n( "Show &previews in file tips" ), hboxpreview );
+ connect(cbShowPreviewsInTips, TQT_SIGNAL(clicked()), this, TQT_SLOT(changed()));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konq/desktopbehavior_impl.cpp v3.5.13-sru/kcontrol/konq/desktopbehavior_impl.cpp
+--- /tmp/stable//kdebase/kcontrol/konq/desktopbehavior_impl.cpp 2011-08-11 07:25:27.000000000 +0200
++++ v3.5.13-sru/kcontrol/konq/desktopbehavior_impl.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -124,7 +124,7 @@
+ */
+ bool leftHandedMouse = ( KGlobalSettings::mouseSettings().handed == KGlobalSettings::KMouseSettings::LeftHanded);
+
+- m_bHasMedia = KProtocolInfo::isKnownProtocol(TQString::tqfromLatin1("media"));
++ m_bHasMedia = KProtocolInfo::isKnownProtocol(TQString::fromLatin1("media"));
+
+ connect(desktopMenuGroup, TQT_SIGNAL(clicked(int)), this, TQT_SIGNAL(changed()));
+ connect(iconsEnabledBox, TQT_SIGNAL(clicked()), this, TQT_SLOT(enableChanged()));
+@@ -241,9 +241,9 @@
+ it; it=static_cast<DesktopBehaviorMediaItem *>(it->nextSibling()))
+ {
+ if (it->mimeType().startsWith("media/builtin-") == false)
+- it->tqsetVisible(enabled);
++ it->setVisible(enabled);
+ else
+- it->tqsetVisible(TRUE);
++ it->setVisible(TRUE);
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konq/desktopbehavior_impl.h v3.5.13-sru/kcontrol/konq/desktopbehavior_impl.h
+--- /tmp/stable//kdebase/kcontrol/konq/desktopbehavior_impl.h 2010-09-24 19:35:33.000000000 +0200
++++ v3.5.13-sru/kcontrol/konq/desktopbehavior_impl.h 2012-09-08 19:41:29.000000000 +0200
+@@ -22,6 +22,7 @@
+ #define desktopbehavior_h
+
+ #include "desktopbehavior.h"
++#include "tqlistview.h"
+ #include <kconfig.h>
+ #include <kcmodule.h>
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konq/desktopbehavior.ui v3.5.13-sru/kcontrol/konq/desktopbehavior.ui
+--- /tmp/stable//kdebase/kcontrol/konq/desktopbehavior.ui 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/konq/desktopbehavior.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -74,7 +74,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -268,7 +268,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>191</width>
+ <height>80</height>
+@@ -287,7 +287,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konq/previews.cpp v3.5.13-sru/kcontrol/konq/previews.cpp
+--- /tmp/stable//kdebase/kcontrol/konq/previews.cpp 2011-03-12 07:57:41.000000000 +0100
++++ v3.5.13-sru/kcontrol/konq/previews.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -67,14 +67,14 @@
+
+ setQuickHelp( i18n("<h1>Preview Options</h1> Here you can modify the behavior "
+ "of Konqueror when it shows the files in a folder."
+- "<h2>The list of protocols:</h2> check the protocols over which "
++ "<h2>The list of protocols:</h2> Check the protocols over which "
+ "previews should be shown; uncheck those over which they should not. "
+ "For instance, you might want to show previews over SMB if the local "
+ "network is fast enough, but you might disable it for FTP if you often "
+ "visit very slow FTP sites with large images."
+- "<h2>Maximum File Size:</h2> select the maximum file size for which "
+- "previews should be generated. For instance, if set to 1 MB (the default), "
+- "no preview will be generated for files bigger than 1 MB, for speed reasons."));
++ "<h2>Maximum File Size:</h2> Select the maximum file size for which "
++ "previews should be generated. For instance, if set to 10 MB (the default), "
++ "no preview will be generated for files bigger than 10 MB, for speed reasons."));
+
+ // Listview containing checkboxes for all protocols that support listing
+ KListView *listView = new KListView( this, "listView" );
+@@ -152,8 +152,8 @@
+ load();
+ }
+
+-// Default: 1 MB
+-#define DEFAULT_MAXSIZE (1024*1024)
++// Default: 10 MB
++#define DEFAULT_MAXSIZE (1024*1024*10)
+
+ void KPreviewOptions::load(bool useDefaults)
+ {
+@@ -171,7 +171,7 @@
+ else
+ it.current()->setOn( group.readBoolEntry( protocol, false ) );
+ }
+- // config key is in bytes (default value 1MB), numinput is in MB
++ // config key is in bytes (default value 10MB), numinput is in MB
+ m_maxSize->setValue( ((double)group.readNumEntry( "MaximumSize", DEFAULT_MAXSIZE )) / (1024*1024) );
+
+ m_boostSize->setChecked( group.readBoolEntry( "BoostSize", false /*default*/ ) );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konqhtml/advancedTabOptions.ui v3.5.13-sru/kcontrol/konqhtml/advancedTabOptions.ui
+--- /tmp/stable//kdebase/kcontrol/konqhtml/advancedTabOptions.ui 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/konqhtml/advancedTabOptions.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -138,7 +138,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konqhtml/appearance.cpp v3.5.13-sru/kcontrol/konqhtml/appearance.cpp
+--- /tmp/stable//kdebase/kcontrol/konqhtml/appearance.cpp 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/konqhtml/appearance.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -231,7 +231,7 @@
+
+ TQFontDatabase db;
+
+- m_families = db.tqfamilies();
++ m_families = db.families();
+
+ m_pFonts[0]->setFonts( m_families );
+ m_pFonts[1]->setFonts( m_families );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konqhtml/domainlistview.cpp v3.5.13-sru/kcontrol/konqhtml/domainlistview.cpp
+--- /tmp/stable//kdebase/kcontrol/konqhtml/domainlistview.cpp 2011-08-11 07:25:30.000000000 +0200
++++ v3.5.13-sru/kcontrol/konqhtml/domainlistview.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -38,8 +38,8 @@
+ setColumnLayout(0, Qt::Vertical);
+ layout()->setSpacing(0);
+ layout()->setMargin(0);
+- TQGridLayout* thisLayout = new TQGridLayout(tqlayout());
+- thisLayout->tqsetAlignment(Qt::AlignTop);
++ TQGridLayout* thisLayout = new TQGridLayout(layout());
++ thisLayout->setAlignment(Qt::AlignTop);
+ thisLayout->setSpacing(KDialog::spacingHint());
+ thisLayout->setMargin(KDialog::marginHint());
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konqhtml/htmlopts.cpp v3.5.13-sru/kcontrol/konqhtml/htmlopts.cpp
+--- /tmp/stable//kdebase/kcontrol/konqhtml/htmlopts.cpp 2011-10-24 00:25:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/konqhtml/htmlopts.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -82,7 +82,7 @@
+ // Tabbed Browsing
+
+ TQGroupBox *bgTabbedBrowsing = new TQGroupBox( 0, Qt::Vertical, i18n("Tabbed Browsing"), this );
+- TQVBoxLayout *laygroup = new TQVBoxLayout(bgTabbedBrowsing->tqlayout(), KDialog::spacingHint() );
++ TQVBoxLayout *laygroup = new TQVBoxLayout(bgTabbedBrowsing->layout(), KDialog::spacingHint() );
+
+ m_pShowMMBInTabs = new TQCheckBox( i18n( "Open &links in new tab instead of in new window" ), bgTabbedBrowsing );
+ TQWhatsThis::add( m_pShowMMBInTabs, i18n("This will open a new tab instead of a new window in various situations, "
+@@ -109,7 +109,7 @@
+ TQVGroupBox *bgMouse = new TQVGroupBox( i18n("Mouse Beha&vior"), this );
+
+ m_cbCursor = new TQCheckBox(i18n("Chan&ge cursor over links"), bgMouse );
+- TQWhatsThis::add( m_cbCursor, i18n("If this option is set, the tqshape of the cursor will change "
++ TQWhatsThis::add( m_cbCursor, i18n("If this option is set, the shape of the cursor will change "
+ "(usually to a hand) if it is moved over a hyperlink.") );
+ connect(m_cbCursor, TQT_SIGNAL(clicked()), TQT_SLOT(slotChanged()));
+
+@@ -299,7 +299,7 @@
+ KConfig kdeglobals("kdeglobals", true, false);
+ kdeglobals.setReadDefaults( useDefaults );
+ kdeglobals.setGroup("KDE");
+- bool smoothScrolling = kdeglobals.readBoolEntry("SmoothScroll", DEFAULT_SMOOTHSCROLL);
++ bool smoothScrolling = kdeglobals.readBoolEntry("SmoothScrolling", DEFAULT_SMOOTHSCROLL);
+ if (smoothScrolling)
+ m_pSmoothScrollingCombo->setCurrentItem( SmoothScrollingAlways );
+ else
+@@ -374,13 +374,13 @@
+ switch(m_pSmoothScrollingCombo->currentItem())
+ {
+ case SmoothScrollingAlways:
+- kdeglobals.writeEntry( "SmoothScroll", true );
++ kdeglobals.writeEntry( "SmoothScrolling", true );
+ break;
+ case SmoothScrollingNever:
+- kdeglobals.writeEntry( "SmoothScroll", false );
++ kdeglobals.writeEntry( "SmoothScrolling", false );
+ break;
+ // case SmoothScrollingWhenEfficient:
+- // kdeglobals.writeEntry( "SmoothScroll", somethingelse );
++ // kdeglobals.writeEntry( "SmoothScrolling", somethingelse );
+ // break;
+ }
+ kdeglobals.sync();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konqhtml/jspolicies.cpp v3.5.13-sru/kcontrol/konqhtml/jspolicies.cpp
+--- /tmp/stable//kdebase/kcontrol/konqhtml/jspolicies.cpp 2011-08-11 07:25:30.000000000 +0200
++++ v3.5.13-sru/kcontrol/konqhtml/jspolicies.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -135,8 +135,8 @@
+ setColumnLayout(0, Qt::Vertical);
+ layout()->setSpacing(0);
+ layout()->setMargin(0);
+- TQGridLayout *this_layout = new TQGridLayout(tqlayout(),5,10+is_per_domain*2);
+- this_layout->tqsetAlignment(Qt::AlignTop);
++ TQGridLayout *this_layout = new TQGridLayout(layout(),5,10+is_per_domain*2);
++ this_layout->setAlignment(Qt::AlignTop);
+ this_layout->setSpacing(3);
+ this_layout->setMargin(11);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konqhtml/nsconfigwidget.ui v3.5.13-sru/kcontrol/konqhtml/nsconfigwidget.ui
+--- /tmp/stable//kdebase/kcontrol/konqhtml/nsconfigwidget.ui 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/konqhtml/nsconfigwidget.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -72,7 +72,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -96,7 +96,7 @@
+ <property name="name">
+ <cstring>GroupBox1</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>300</width>
+ <height>0</height>
+@@ -184,7 +184,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konqhtml/pluginopts.cpp v3.5.13-sru/kcontrol/konqhtml/pluginopts.cpp
+--- /tmp/stable//kdebase/kcontrol/konqhtml/pluginopts.cpp 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/konqhtml/pluginopts.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -72,14 +72,14 @@
+
+ TQFrame *hrule = new TQFrame(globalGB);
+ hrule->setFrameStyle(TQFrame::HLine | TQFrame::Sunken);
+- hrule->tqsetSizePolicy(TQSizePolicy::MinimumExpanding,TQSizePolicy::Fixed);
++ hrule->setSizePolicy(TQSizePolicy::MinimumExpanding,TQSizePolicy::Fixed);
+
+ /**************************************************************************
+ ********************* Domain-specific Settings ***************************
+ *************************************************************************/
+ TQPushButton *domainSpecPB = new TQPushButton(i18n("Domain-Specific Settin&gs"),
+ globalGB);
+- domainSpecPB->tqsetSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Fixed);
++ domainSpecPB->setSizePolicy(TQSizePolicy::Fixed,TQSizePolicy::Fixed);
+ connect(domainSpecPB,TQT_SIGNAL(clicked()),TQT_SLOT(slotShowDomainDlg()));
+
+ domainSpecificDlg = new KDialogBase(KDialogBase::Swallow,
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konsole/kcmkonsoledialog.ui v3.5.13-sru/kcontrol/konsole/kcmkonsoledialog.ui
+--- /tmp/stable//kdebase/kcontrol/konsole/kcmkonsoledialog.ui 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/konsole/kcmkonsoledialog.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -55,7 +55,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -184,7 +184,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -282,7 +282,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konsole/schemadialog.ui v3.5.13-sru/kcontrol/konsole/schemadialog.ui
+--- /tmp/stable//kdebase/kcontrol/konsole/schemadialog.ui 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/konsole/schemadialog.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -108,7 +108,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -158,7 +158,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -357,7 +357,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -389,7 +389,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -498,13 +498,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>180</width>
+ <height>120</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>180</width>
+ <height>120</height>
+@@ -540,7 +540,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konsole/schemaeditor.cpp v3.5.13-sru/kcontrol/konsole/schemaeditor.cpp
+--- /tmp/stable//kdebase/kcontrol/konsole/schemaeditor.cpp 2011-08-11 07:25:31.000000000 +0200
++++ v3.5.13-sru/kcontrol/konsole/schemaeditor.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -666,7 +666,7 @@
+ continue;
+ if (!(0 <= bo && bo <= 1))
+ continue;
+- color[fi] = kapp->tqpalette().active().text();
++ color[fi] = kapp->palette().active().text();
+ transparent[fi] = tr;
+ bold[fi] = bo;
+ type[fi] = 1;
+@@ -681,7 +681,7 @@
+ continue;
+ if (!(0 <= bo && bo <= 1))
+ continue;
+- color[fi] = kapp->tqpalette().active().base();
++ color[fi] = kapp->palette().active().base();
+ transparent[fi] = tr;
+ bold[fi] = bo;
+ type[fi] = 2;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konsole/sessiondialog.ui v3.5.13-sru/kcontrol/konsole/sessiondialog.ui
+--- /tmp/stable//kdebase/kcontrol/konsole/sessiondialog.ui 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/konsole/sessiondialog.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -184,13 +184,13 @@
+ <property name="name">
+ <cstring>previewIcon</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>100</width>
+ <height>100</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>100</width>
+ <height>100</height>
+@@ -212,7 +212,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>90</width>
+ <height>100</height>
+@@ -221,7 +221,7 @@
+ <property name="text">
+ <string>&amp;Icon:</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignTop|AlignLeft</set>
+ </property>
+ <property name="buddy" stdset="0">
+@@ -280,7 +280,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/konsole/sessioneditor.cpp v3.5.13-sru/kcontrol/konsole/sessioneditor.cpp
+--- /tmp/stable//kdebase/kcontrol/konsole/sessioneditor.cpp 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/konsole/sessioneditor.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -340,8 +340,8 @@
+ else
+ co->writeEntry("Font",fontCombo->currentItem()-1);
+ co->writeEntry("Term",termLine->text());
+- co->writeEntry("KeyTab",*keytabFilename.tqat(keytabCombo->currentItem()));
+- co->writeEntry("Schema",*schemaFilename.tqat(schemaCombo->currentItem()));
++ co->writeEntry("KeyTab",*keytabFilename.at(keytabCombo->currentItem()));
++ co->writeEntry("Schema",*schemaFilename.at(schemaCombo->currentItem()));
+ co->sync();
+ delete co;
+ sesMod=false;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/krdb/krdb.cpp v3.5.13-sru/kcontrol/krdb/krdb.cpp
+--- /tmp/stable//kdebase/kcontrol/krdb/krdb.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kcontrol/krdb/krdb.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -80,7 +80,7 @@
+ TQStringList list = TQStringList::split(':', TQFile::decodeName(gtkrc));
+ if (list.count() == 0)
+ {
+- list.append(TQString::tqfromLatin1(sysGtkrc(version)));
++ list.append(TQString::fromLatin1(sysGtkrc(version)));
+ list.append(TQDir::homeDirPath()+userGtkrc(version));
+ }
+ list.remove(gtkkde);
+@@ -347,7 +347,7 @@
+ "# Appearance & Themes -> Colors in the Control Center and disable the checkbox\n"
+ "# \"Apply colors to non-KDE applications\"\n"
+ "#\n"
+- "#\n").arg(TQDateTime::tqcurrentDateTime().toString());
++ "#\n").arg(TQDateTime::currentDateTime().toString());
+
+ t << "style \"default\"" << endl;
+ t << "{" << endl;
+@@ -590,7 +590,7 @@
+ // Qt-only apps without adversely affecting ourselves.
+
+ // Cheat and use the current timestamp, since we just saved to qtrc.
+- TQDateTime settingsstamp = TQDateTime::tqcurrentDateTime();
++ TQDateTime settingsstamp = TQDateTime::currentDateTime();
+
+ static Atom qt_settings_timestamp = 0;
+ if (!qt_settings_timestamp) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kthememanager/ktheme.cpp v3.5.13-sru/kcontrol/kthememanager/ktheme.cpp
+--- /tmp/stable//kdebase/kcontrol/kthememanager/ktheme.cpp 2011-08-11 07:25:31.000000000 +0200
++++ v3.5.13-sru/kcontrol/kthememanager/ktheme.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -720,7 +720,7 @@
+ else
+ {
+ kdWarning() << TQString( "No such property found: %1->%2->%3" )
+- .tqarg( parent.tagName() ).tqarg( tag ).tqarg( attr ) << endl;
++ .arg( parent.tagName() ).arg( tag ).arg( attr ) << endl;
+ return TQString::null;
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kthememanager/kthemedlg.ui v3.5.13-sru/kcontrol/kthememanager/kthemedlg.ui
+--- /tmp/stable//kdebase/kcontrol/kthememanager/kthemedlg.ui 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/kthememanager/kthemedlg.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -60,7 +60,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>170</width>
+ <height>20</height>
+@@ -109,7 +109,7 @@
+ <property name="frameShape">
+ <enum>Box</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ </widget>
+@@ -211,13 +211,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>80</width>
+ <height>60</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>60</height>
+@@ -251,13 +251,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>80</width>
+ <height>60</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>60</height>
+@@ -291,13 +291,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>80</width>
+ <height>60</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>60</height>
+@@ -331,13 +331,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>80</width>
+ <height>60</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>60</height>
+@@ -371,13 +371,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>80</width>
+ <height>60</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>60</height>
+@@ -411,13 +411,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>80</width>
+ <height>60</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>60</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/kthememanager/newthemewidget.ui v3.5.13-sru/kcontrol/kthememanager/newthemewidget.ui
+--- /tmp/stable//kdebase/kcontrol/kthememanager/newthemewidget.ui 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/kthememanager/newthemewidget.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -88,7 +88,7 @@
+ <property name="text">
+ <string>Co&amp;mment:</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignTop</set>
+ </property>
+ <property name="buddy" stdset="0">
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/launch/kcmlaunch.cpp v3.5.13-sru/kcontrol/launch/kcmlaunch.cpp
+--- /tmp/stable//kdebase/kcontrol/launch/kcmlaunch.cpp 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/launch/kcmlaunch.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -57,10 +57,10 @@
+ "given in the section 'Startup indication timeout'"));
+
+ GroupBox1->setColumnLayout(0, Qt::Vertical );
+- GroupBox1->tqlayout()->setSpacing( 0 );
+- GroupBox1->tqlayout()->setMargin( 0 );
++ GroupBox1->layout()->setSpacing( 0 );
++ GroupBox1->layout()->setMargin( 0 );
+ Form1Layout->addWidget( GroupBox1 );
+- TQGridLayout* GroupBox1Layout = new TQGridLayout( GroupBox1->tqlayout(), 3, 2 );
++ TQGridLayout* GroupBox1Layout = new TQGridLayout( GroupBox1->layout(), 3, 2 );
+ GroupBox1Layout->setSpacing( 6 );
+ GroupBox1Layout->setMargin( 11 );
+ GroupBox1Layout->setColStretch( 1, 1 );
+@@ -97,10 +97,10 @@
+ "given in the section 'Startup indication timeout'"));
+
+ GroupBox2->setColumnLayout( 0, Qt::Vertical );
+- GroupBox2->tqlayout()->setSpacing( 0 );
+- GroupBox2->tqlayout()->setMargin( 0 );
++ GroupBox2->layout()->setSpacing( 0 );
++ GroupBox2->layout()->setMargin( 0 );
+ Form1Layout->addWidget( GroupBox2 );
+- TQGridLayout* GroupBox2Layout = new TQGridLayout( GroupBox2->tqlayout(), 2, 2 );
++ TQGridLayout* GroupBox2Layout = new TQGridLayout( GroupBox2->layout(), 2, 2 );
+ GroupBox2Layout->setSpacing( 6 );
+ GroupBox2Layout->setMargin( 11 );
+ GroupBox2Layout->setColStretch( 1, 1 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/locale/kcmlocale.cpp v3.5.13-sru/kcontrol/locale/kcmlocale.cpp
+--- /tmp/stable//kdebase/kcontrol/locale/kcmlocale.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/locale/kcmlocale.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -59,7 +59,7 @@
+ this, TQT_SLOT(changedCountry(const TQString &)) );
+
+ m_labLang = new TQLabel(this, I18N_NOOP("Languages:"));
+- m_labLang->tqsetAlignment( AlignTop );
++ m_labLang->setAlignment( AlignTop );
+
+ m_languages = new TQListBox(this);
+ connect(m_languages, TQT_SIGNAL(selectionChanged()),
+@@ -174,12 +174,12 @@
+ // If it's already in list, just move it (delete the old, then insert a new)
+ int oldPos = languageList.findIndex( code );
+ if ( oldPos != -1 )
+- languageList.remove( languageList.tqat(oldPos) );
++ languageList.remove( languageList.at(oldPos) );
+
+ if ( oldPos != -1 && oldPos < pos )
+ --pos;
+
+- TQStringList::Iterator it = languageList.tqat( pos );
++ TQStringList::Iterator it = languageList.at( pos );
+
+ languageList.insert( it, code );
+
+@@ -195,7 +195,7 @@
+ TQStringList languageList = m_locale->languageList();
+ int pos = m_languages->currentItem();
+
+- TQStringList::Iterator it = languageList.tqat( pos );
++ TQStringList::Iterator it = languageList.at( pos );
+
+ if ( it != languageList.end() )
+ {
+@@ -214,8 +214,8 @@
+ TQStringList languageList = m_locale->languageList();
+ int pos = m_languages->currentItem();
+
+- TQStringList::Iterator it1 = languageList.tqat( pos - 1 );
+- TQStringList::Iterator it2 = languageList.tqat( pos );
++ TQStringList::Iterator it1 = languageList.at( pos - 1 );
++ TQStringList::Iterator it2 = languageList.at( pos );
+
+ if ( it1 != languageList.end() && it2 != languageList.end() )
+ {
+@@ -236,8 +236,8 @@
+ TQStringList languageList = m_locale->languageList();
+ int pos = m_languages->currentItem();
+
+- TQStringList::Iterator it1 = languageList.tqat( pos );
+- TQStringList::Iterator it2 = languageList.tqat( pos + 1 );
++ TQStringList::Iterator it1 = languageList.at( pos );
++ TQStringList::Iterator it2 = languageList.at( pos + 1 );
+
+ if ( it1 != languageList.end() && it2 != languageList.end() )
+ {
+@@ -270,7 +270,7 @@
+ it != first.end();
+ ++it )
+ {
+- TQString str = locate("locale", TQString::tqfromLatin1("%1/entry.desktop")
++ TQString str = locate("locale", TQString::fromLatin1("%1/entry.desktop")
+ .arg(*it));
+ if (!str.isNull())
+ prilang << str;
+@@ -278,7 +278,7 @@
+
+ // add all languages to the list
+ TQStringList alllang = KGlobal::dirs()->findAllResources("locale",
+- TQString::tqfromLatin1("*/entry.desktop"),
++ TQString::fromLatin1("*/entry.desktop"),
+ false, true);
+ TQStringList langlist = prilang;
+ if (langlist.count() > 0)
+@@ -293,7 +293,7 @@
+ if ((*it).isNull())
+ {
+ m_addLanguage->insertSeparator();
+- submenu = TQString::tqfromLatin1("other");
++ submenu = TQString::fromLatin1("other");
+ m_addLanguage->insertSubmenu(m_locale->translate("Other"),
+ submenu, TQString::null, -1);
+ menu_index = -2; // first entries should _not_ be sorted
+@@ -322,13 +322,13 @@
+ KLocale *lsave = KGlobal::_locale;
+ KGlobal::_locale = m_locale;
+
+- TQString sub = TQString::tqfromLatin1("l10n/");
++ TQString sub = TQString::fromLatin1("l10n/");
+
+ // clear the list
+ m_comboCountry->clear();
+
+ TQStringList regionlist = KGlobal::dirs()->findAllResources("locale",
+- sub + TQString::tqfromLatin1("*.desktop"),
++ sub + TQString::fromLatin1("*.desktop"),
+ false, true );
+
+ for ( TQStringList::ConstIterator it = regionlist.begin();
+@@ -352,7 +352,7 @@
+ m_locale->translate("without name"));
+
+ TQString map( locate( "locale",
+- TQString::tqfromLatin1( "l10n/%1.png" )
++ TQString::fromLatin1( "l10n/%1.png" )
+ .arg(tag) ) );
+ TQIconSet icon;
+ if ( !map.isNull() )
+@@ -362,7 +362,7 @@
+
+ // add all languages to the list
+ TQStringList countrylist = KGlobal::dirs()->findAllResources
+- ("locale", sub + TQString::tqfromLatin1("*/entry.desktop"), false, true);
++ ("locale", sub + TQString::fromLatin1("*/entry.desktop"), false, true);
+
+ for ( TQStringList::ConstIterator it = countrylist.begin();
+ it != countrylist.end(); ++it )
+@@ -381,7 +381,7 @@
+ int menu_index = submenu.isEmpty() ? -1 : -2;
+
+ TQString flag( locate( "locale",
+- TQString::tqfromLatin1( "l10n/%1/flag.png" )
++ TQString::fromLatin1( "l10n/%1/flag.png" )
+ .arg(tag) ) );
+ TQIconSet icon( KGlobal::iconLoader()->loadIconSet(flag, KIcon::Small) );
+ m_comboCountry->insertItem( icon, name, tag, submenu, menu_index );
+@@ -399,7 +399,7 @@
+ KGlobal::_locale = m_locale;
+
+ // read the name
+- TQString filepath = TQString::tqfromLatin1("%1%2/entry.desktop")
++ TQString filepath = TQString::fromLatin1("%1%2/entry.desktop")
+ .arg(sub)
+ .arg(path);
+
+@@ -419,7 +419,7 @@
+
+ config->writeEntry("Country", m_locale->country(), true, true);
+ if ( m_locale->languageList().isEmpty() )
+- config->writeEntry("Language", TQString::tqfromLatin1(""), true, true);
++ config->writeEntry("Language", TQString::fromLatin1(""), true, true);
+ else
+ config->writeEntry("Language",
+ m_locale->languageList(), ':', true, true);
+@@ -502,7 +502,7 @@
+ TQStringList KLocaleConfig::languageList() const
+ {
+ TQString fileName = locate("locale",
+- TQString::tqfromLatin1("l10n/%1/entry.desktop")
++ TQString::fromLatin1("l10n/%1/entry.desktop")
+ .arg(m_locale->country()));
+
+ KSimpleConfig entry(fileName);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/locale/klocalesample.cpp v3.5.13-sru/kcontrol/locale/klocalesample.cpp
+--- /tmp/stable//kdebase/kcontrol/locale/klocalesample.cpp 2011-03-12 07:57:39.000000000 +0100
++++ v3.5.13-sru/kcontrol/locale/klocalesample.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -45,7 +45,7 @@
+ lay->setAutoAdd(TRUE);
+
+ // Whatever the color scheme is, we want black text
+- TQColorGroup a = tqpalette().active();
++ TQColorGroup a = palette().active();
+ a.setColor(TQColorGroup::Foreground, Qt::black);
+ TQPalette pal(a, a, a);
+
+@@ -88,7 +88,7 @@
+
+ void KLocaleSample::slotUpdateTime()
+ {
+- TQDateTime dt = TQDateTime::tqcurrentDateTime();
++ TQDateTime dt = TQDateTime::currentDateTime();
+
+ m_dateSample->setText(m_locale->formatDate(TQT_TQDATE_OBJECT(dt.date()), false));
+ m_dateShortSample->setText(m_locale->formatDate(TQT_TQDATE_OBJECT(dt.date()), true));
+@@ -98,11 +98,11 @@
+ void KLocaleSample::slotLocaleChanged()
+ {
+ m_numberSample->setText(m_locale->formatNumber(1234567.89) +
+- TQString::tqfromLatin1(" / ") +
++ TQString::fromLatin1(" / ") +
+ m_locale->formatNumber(-1234567.89));
+
+ m_moneySample->setText(m_locale->formatMoney(123456789.00) +
+- TQString::tqfromLatin1(" / ") +
++ TQString::fromLatin1(" / ") +
+ m_locale->formatMoney(-123456789.00));
+
+ slotUpdateTime();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/locale/localemon.cpp v3.5.13-sru/kcontrol/locale/localemon.cpp
+--- /tmp/stable//kdebase/kcontrol/locale/localemon.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/locale/localemon.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -131,7 +131,7 @@
+ KConfigGroupSaver saver(config, "Locale");
+
+ KSimpleConfig ent(locate("locale",
+- TQString::tqfromLatin1("l10n/%1/entry.desktop")
++ TQString::fromLatin1("l10n/%1/entry.desktop")
+ .arg(m_locale->country())), true);
+ ent.setGroup("KCM Locale");
+
+@@ -139,25 +139,25 @@
+ int i;
+ bool b;
+
+- str = ent.readEntry("CurrencySymbol", TQString::tqfromLatin1("$"));
++ str = ent.readEntry("CurrencySymbol", TQString::fromLatin1("$"));
+ config->deleteEntry("CurrencySymbol", false, true);
+ if (str != m_locale->currencySymbol())
+ config->writeEntry("CurrencySymbol",
+ m_locale->currencySymbol(), true, true);
+
+- str = ent.readEntry("MonetaryDecimalSymbol", TQString::tqfromLatin1("."));
++ str = ent.readEntry("MonetaryDecimalSymbol", TQString::fromLatin1("."));
+ config->deleteEntry("MonetaryDecimalSymbol", false, true);
+ if (str != m_locale->monetaryDecimalSymbol())
+ config->writeEntry("MonetaryDecimalSymbol",
+ m_locale->monetaryDecimalSymbol(), true, true);
+
+- str = ent.readEntry("MonetaryThousandsSeparator", TQString::tqfromLatin1(","));
+- str.replace(TQString::tqfromLatin1("$0"), TQString());
++ str = ent.readEntry("MonetaryThousandsSeparator", TQString::fromLatin1(","));
++ str.replace(TQString::fromLatin1("$0"), TQString());
+ config->deleteEntry("MonetaryThousandsSeparator", false, true);
+ if (str != m_locale->monetaryThousandsSeparator())
+ config->writeEntry("MonetaryThousandsSeparator",
+- TQString::tqfromLatin1("$0%1$0")
+- .tqarg(m_locale->monetaryThousandsSeparator()),
++ TQString::fromLatin1("$0%1$0")
++ .arg(m_locale->monetaryThousandsSeparator()),
+ true, true);
+
+ i = ent.readNumEntry("FracDigits", 2);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/locale/localenum.cpp v3.5.13-sru/kcontrol/locale/localenum.cpp
+--- /tmp/stable//kdebase/kcontrol/locale/localenum.cpp 2011-08-11 07:25:26.000000000 +0200
++++ v3.5.13-sru/kcontrol/locale/localenum.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -89,34 +89,34 @@
+ KConfigGroupSaver saver(config, "Locale");
+
+ KSimpleConfig ent(locate("locale",
+- TQString::tqfromLatin1("l10n/%1/entry.desktop")
++ TQString::fromLatin1("l10n/%1/entry.desktop")
+ .arg(m_locale->country())), true);
+ ent.setGroup("KCM Locale");
+
+ TQString str;
+
+ str = ent.readEntry("DecimalSymbol",
+- TQString::tqfromLatin1("."));
++ TQString::fromLatin1("."));
+ config->deleteEntry("DecimalSymbol", false, true);
+ if (str != m_locale->decimalSymbol())
+ config->writeEntry("DecimalSymbol",
+ m_locale->decimalSymbol(), true, true);
+
+ str = ent.readEntry("ThousandsSeparator",
+- TQString::tqfromLatin1(","));
++ TQString::fromLatin1(","));
+ config->deleteEntry("ThousandsSeparator", false, true);
+- str.replace(TQString::tqfromLatin1("$0"), TQString());
++ str.replace(TQString::fromLatin1("$0"), TQString());
+ if (str != m_locale->thousandsSeparator())
+ config->writeEntry("ThousandsSeparator",
+- TQString::tqfromLatin1("$0%1$0")
+- .tqarg(m_locale->thousandsSeparator()), true, true);
++ TQString::fromLatin1("$0%1$0")
++ .arg(m_locale->thousandsSeparator()), true, true);
+
+ str = ent.readEntry("PositiveSign");
+ config->deleteEntry("PositiveSign", false, true);
+ if (str != m_locale->positiveSign())
+ config->writeEntry("PositiveSign", m_locale->positiveSign(), true, true);
+
+- str = ent.readEntry("NegativeSign", TQString::tqfromLatin1("-"));
++ str = ent.readEntry("NegativeSign", TQString::fromLatin1("-"));
+ config->deleteEntry("NegativeSign", false, true);
+ if (str != m_locale->negativeSign())
+ config->writeEntry("NegativeSign", m_locale->negativeSign(), true, true);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/locale/localeother.cpp v3.5.13-sru/kcontrol/locale/localeother.cpp
+--- /tmp/stable//kdebase/kcontrol/locale/localeother.cpp 2011-03-12 07:57:39.000000000 +0100
++++ v3.5.13-sru/kcontrol/locale/localeother.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -80,7 +80,7 @@
+ KConfigGroupSaver saver(config, "Locale");
+
+ KSimpleConfig ent(locate("locale",
+- TQString::tqfromLatin1("l10n/%1/entry.desktop")
++ TQString::fromLatin1("l10n/%1/entry.desktop")
+ .arg(m_locale->country())), true);
+ ent.setGroup("KCM Locale");
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/locale/localetime.cpp v3.5.13-sru/kcontrol/locale/localetime.cpp
+--- /tmp/stable//kdebase/kcontrol/locale/localetime.cpp 2011-03-12 07:57:39.000000000 +0100
++++ v3.5.13-sru/kcontrol/locale/localetime.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -150,7 +150,7 @@
+
+ if ( !bFound )
+ {
+- TQChar c = userFormat.tqat( pos );
++ TQChar c = userFormat.at( pos );
+ if ( c == '%' )
+ result += c;
+
+@@ -169,7 +169,7 @@
+ bool escaped = false;
+ for ( uint pos = 0; pos < storeFormat.length(); ++pos )
+ {
+- TQChar c = storeFormat.tqat(pos);
++ TQChar c = storeFormat.at(pos);
+ if ( escaped )
+ {
+ StringPair it = StringPair::find( list, c );
+@@ -253,28 +253,28 @@
+ KConfigGroupSaver saver(config, "Locale");
+
+ KSimpleConfig ent(locate("locale",
+- TQString::tqfromLatin1("l10n/%1/entry.desktop")
++ TQString::fromLatin1("l10n/%1/entry.desktop")
+ .arg(m_locale->country())), true);
+ ent.setGroup("KCM Locale");
+
+ TQString str;
+
+- str = ent.readEntry("CalendarSystem", TQString::tqfromLatin1("gregorian"));
++ str = ent.readEntry("CalendarSystem", TQString::fromLatin1("gregorian"));
+ config->deleteEntry("CalendarSystem", false, true);
+ if (str != m_locale->calendarType())
+ config->writeEntry("CalendarSystem", m_locale->calendarType(), true, true);
+
+- str = ent.readEntry("TimeFormat", TQString::tqfromLatin1("%H:%M:%S"));
++ str = ent.readEntry("TimeFormat", TQString::fromLatin1("%H:%M:%S"));
+ config->deleteEntry("TimeFormat", false, true);
+ if (str != m_locale->timeFormat())
+ config->writeEntry("TimeFormat", m_locale->timeFormat(), true, true);
+
+- str = ent.readEntry("DateFormat", TQString::tqfromLatin1("%A %d %B %Y"));
++ str = ent.readEntry("DateFormat", TQString::fromLatin1("%A %d %B %Y"));
+ config->deleteEntry("DateFormat", false, true);
+ if (str != m_locale->dateFormat())
+ config->writeEntry("DateFormat", m_locale->dateFormat(), true, true);
+
+- str = ent.readEntry("DateFormatShort", TQString::tqfromLatin1("%Y-%m-%d"));
++ str = ent.readEntry("DateFormatShort", TQString::fromLatin1("%Y-%m-%d"));
+ config->deleteEntry("DateFormatShort", false, true);
+ if (str != m_locale->dateFormatShort())
+ config->writeEntry("DateFormatShort",
+@@ -323,7 +323,7 @@
+
+ TQString calendarType;
+ bool ok;
+- calendarType = calendars.tqat(calendarSystem, &ok);
++ calendarType = calendars.at(calendarSystem, &ok);
+ if ( !ok )
+ calendarType = calendars.first();
+
+@@ -371,7 +371,7 @@
+ kdDebug(173) << storeToUser(timeMap(),
+ m_locale->timeFormat()) << endl;
+ kdDebug(173) << userToStore(timeMap(),
+- TQString::tqfromLatin1("HH:MM:SS AMPM test")) << endl;
++ TQString::fromLatin1("HH:MM:SS AMPM test")) << endl;
+
+ }
+
+@@ -416,7 +416,7 @@
+ {
+ TQString str;
+
+- TQString sep = TQString::tqfromLatin1("\n");
++ TQString sep = TQString::fromLatin1("\n");
+
+ TQString old;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/locale/toplevel.cpp v3.5.13-sru/kcontrol/locale/toplevel.cpp
+--- /tmp/stable//kdebase/kcontrol/locale/toplevel.cpp 2011-03-12 07:57:39.000000000 +0100
++++ v3.5.13-sru/kcontrol/locale/toplevel.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -62,7 +62,7 @@
+ m_nullConfig = new KConfig(TQString::null, false, false);
+ m_globalConfig = new KConfig(TQString::null, false, true);
+
+- m_locale = new KLocale(TQString::tqfromLatin1("kcmlocale"), m_nullConfig);
++ m_locale = new KLocale(TQString::fromLatin1("kcmlocale"), m_nullConfig);
+ TQVBoxLayout *l = new TQVBoxLayout(this, 0, KDialog::spacingHint());
+ l->setAutoAdd(TRUE);
+
+@@ -162,7 +162,7 @@
+ {
+ m_globalConfig->setReadDefaults( useDefaults );
+ m_globalConfig->reparseConfiguration();
+- *m_locale = KLocale(TQString::tqfromLatin1("kcmlocale"), m_globalConfig);
++ *m_locale = KLocale(TQString::fromLatin1("kcmlocale"), m_globalConfig);
+
+ emit localeChanged();
+ emit languageChanged();
+@@ -180,7 +180,7 @@
+ "language of all programs, you will have to "
+ "logout first."),
+ m_locale->translate("Applying Language Settings"),
+- TQString::tqfromLatin1("LanguageChangesApplyOnlyToNewlyStartedPrograms"));
++ TQString::fromLatin1("LanguageChangesApplyOnlyToNewlyStartedPrograms"));
+ // restore the old global locale
+ KGlobal::_locale = lsave;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/nics/nic.cpp v3.5.13-sru/kcontrol/nics/nic.cpp
+--- /tmp/stable//kdebase/kcontrol/nics/nic.cpp 2011-03-12 07:57:38.000000000 +0100
++++ v3.5.13-sru/kcontrol/nics/nic.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -298,21 +298,21 @@
+
+ if (flags & IFF_BROADCAST) {
+ if (tmp.length()) {
+- tmp += TQString::tqfromLatin1(", ");
++ tmp += TQString::fromLatin1(", ");
+ }
+ tmp += i18n("Broadcast");
+ }
+
+ if (flags & IFF_MULTICAST) {
+ if (tmp.length()) {
+- tmp += TQString::tqfromLatin1(", ");
++ tmp += TQString::fromLatin1(", ");
+ }
+ tmp += i18n("Multicast");
+ }
+
+ if (flags & IFF_LOOPBACK) {
+ if (tmp.length()) {
+- tmp += TQString::tqfromLatin1(", ");
++ tmp += TQString::fromLatin1(", ");
+ }
+ tmp += i18n("Loopback");
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/nics/nic.desktop v3.5.13-sru/kcontrol/nics/nic.desktop
+--- /tmp/stable//kdebase/kcontrol/nics/nic.desktop 2010-08-12 05:28:32.000000000 +0200
++++ v3.5.13-sru/kcontrol/nics/nic.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -170,5 +170,5 @@
+ Comment[zh_TW]=網路界é¢è³‡è¨Š
+ Comment[zu]=Ulwazi lomxhumanisi woxhumano olusakazekile
+
+-Categories=Qt;KDE;X-KDE-settings-network;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/performance/konqueror_ui.ui v3.5.13-sru/kcontrol/performance/konqueror_ui.ui
+--- /tmp/stable//kdebase/kcontrol/performance/konqueror_ui.ui 2011-03-12 07:57:47.000000000 +0100
++++ v3.5.13-sru/kcontrol/performance/konqueror_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -101,7 +101,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -138,7 +138,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>160</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/performance/system_ui.ui v3.5.13-sru/kcontrol/performance/system_ui.ui
+--- /tmp/stable//kdebase/kcontrol/performance/system_ui.ui 2011-03-12 07:57:47.000000000 +0100
++++ v3.5.13-sru/kcontrol/performance/system_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -55,7 +55,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>40</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/privacy/kcmprivacydialog.ui v3.5.13-sru/kcontrol/privacy/kcmprivacydialog.ui
+--- /tmp/stable//kdebase/kcontrol/privacy/kcmprivacydialog.ui 2011-03-12 07:57:42.000000000 +0100
++++ v3.5.13-sru/kcontrol/privacy/kcmprivacydialog.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -79,13 +79,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>50</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>200</height>
+@@ -114,13 +114,13 @@
+ <property name="name">
+ <cstring>selectAllButton</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>80</width>
+ <height>0</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+@@ -134,13 +134,13 @@
+ <property name="name">
+ <cstring>selectNoneButton</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>80</width>
+ <height>0</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+@@ -160,7 +160,7 @@
+ <property name="sizeType">
+ <enum>Maximum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>80</width>
+ <height>20</height>
+@@ -179,7 +179,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/randr/configdialog.cpp v3.5.13-sru/kcontrol/randr/configdialog.cpp
+--- /tmp/stable//kdebase/kcontrol/randr/configdialog.cpp 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/randr/configdialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -60,7 +60,7 @@
+ {
+ if ( !isVisible() ) {
+ KWinModule module(0, KWinModule::INFO_DESKTOP);
+- TQSize s1 = tqsizeHint();
++ TQSize s1 = sizeHint();
+ TQSize s2 = module.workArea().size();
+ int w = s1.width();
+ int h = s1.height();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/randr/configdialog.h v3.5.13-sru/kcontrol/randr/configdialog.h
+--- /tmp/stable//kdebase/kcontrol/randr/configdialog.h 2011-03-12 07:57:48.000000000 +0100
++++ v3.5.13-sru/kcontrol/randr/configdialog.h 2012-09-08 19:41:29.000000000 +0200
+@@ -62,11 +62,11 @@
+ ListView( ConfigDialog* configWidget, TQWidget *parent, const char *name )
+ : KListView( parent, name ), _configWidget( configWidget ),
+ _regExpEditor(0L) {}
+- // TQListView has a weird idea of a tqsizeHint...
+- virtual TQSize tqsizeHint () const {
+- int w = tqminimumSizeHint().width();
++ // TQListView has a weird idea of a sizeHint...
++ virtual TQSize sizeHint () const {
++ int w = minimumSizeHint().width();
+ int h = header()->height();
+- h += viewport()->tqsizeHint().height();
++ h += viewport()->sizeHint().height();
+ h += horizontalScrollBar()->height();
+
+ TQListViewItem *item = firstChild();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/randr/krandrapp.cpp v3.5.13-sru/kcontrol/randr/krandrapp.cpp
+--- /tmp/stable//kdebase/kcontrol/randr/krandrapp.cpp 2010-08-12 05:28:34.000000000 +0200
++++ v3.5.13-sru/kcontrol/randr/krandrapp.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -28,13 +28,20 @@
+ KRandRApp::KRandRApp()
+ : m_tray(new KRandRSystemTray(0L, "RANDRTray"))
+ {
++ connect(&m_eventMergingTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(handleX11ConfigChangeEvent()));
+ m_tray->show();
+ }
+
++void KRandRApp::handleX11ConfigChangeEvent()
++{
++ m_eventMergingTimer.stop();
++ m_tray->configChanged();
++}
++
+ bool KRandRApp::x11EventFilter(XEvent* e)
+ {
+ if (e->type == m_tray->screenChangeNotifyEvent()) {
+- m_tray->configChanged();
++ m_eventMergingTimer.start(1000, TRUE);
+ }
+ return KApplication::x11EventFilter( e );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/randr/krandrapp.h v3.5.13-sru/kcontrol/randr/krandrapp.h
+--- /tmp/stable//kdebase/kcontrol/randr/krandrapp.h 2010-08-12 05:28:34.000000000 +0200
++++ v3.5.13-sru/kcontrol/randr/krandrapp.h 2012-09-08 19:41:29.000000000 +0200
+@@ -19,6 +19,7 @@
+ #ifndef KRANDRAPP_H
+ #define KRANDRAPP_H
+
++#include <tqtimer.h>
+ #include <kuniqueapplication.h>
+
+ class KRandRSystemTray;
+@@ -32,8 +33,12 @@
+
+ virtual bool x11EventFilter(XEvent * e);
+
++private slots:
++ void handleX11ConfigChangeEvent();
++
+ private:
+ KRandRSystemTray* m_tray;
++ TQTimer m_eventMergingTimer;
+ };
+
+ #endif
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/randr/krandrmodule.cpp v3.5.13-sru/kcontrol/randr/krandrmodule.cpp
+--- /tmp/stable//kdebase/kcontrol/randr/krandrmodule.cpp 2011-08-11 07:25:31.000000000 +0200
++++ v3.5.13-sru/kcontrol/randr/krandrmodule.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -93,7 +93,7 @@
+ m_screenSelector = new KComboBox(screenBox);
+
+ for (int s = 0; s < numScreens(); s++) {
+- m_screenSelector->insertItem(i18n("Screen %1").tqarg(s+1));
++ m_screenSelector->insertItem(i18n("Screen %1").arg(s+1));
+ }
+
+ m_screenSelector->setCurrentItem(currentScreenIndex());
+@@ -172,7 +172,7 @@
+
+ // Add new resolutions
+ for (int i = 0; i < currentScreen()->numSizes(); i++) {
+- m_sizeCombo->insertItem(i18n("%1 x %2").tqarg(currentScreen()->pixelSize(i).width()).tqarg(currentScreen()->pixelSize(i).height()));
++ m_sizeCombo->insertItem(i18n("%1 x %2").arg(currentScreen()->pixelSize(i).width()).arg(currentScreen()->pixelSize(i).height()));
+
+ // Aspect ratio
+ /* , aspect ratio %5)*/
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/randr/krandrtray.cpp v3.5.13-sru/kcontrol/randr/krandrtray.cpp
+--- /tmp/stable//kdebase/kcontrol/randr/krandrtray.cpp 2011-08-24 18:35:15.000000000 +0200
++++ v3.5.13-sru/kcontrol/randr/krandrtray.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -54,7 +54,7 @@
+ , m_help(new KHelpMenu(this, KGlobal::instance()->aboutData(), false, actionCollection()))
+ {
+ setPixmap(KSystemTray::loadSizedIcon("randr", width()));
+- tqsetAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
++ setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
+ connect(this, TQT_SIGNAL(quitSelected()), this, TQT_SLOT(_quit()));
+ TQToolTip::add(this, i18n("Screen resize & rotate"));
+ my_parent = parent;
+@@ -205,7 +205,7 @@
+ /*lastIndex = menu->insertItem(i18n("Screen %1").arg(s+1));
+ menu->setItemEnabled(lastIndex, false);*/
+ } else {
+- KPopupMenu* subMenu = new KPopupMenu(menu, TQString("screen%1").tqarg(s+1).latin1());
++ KPopupMenu* subMenu = new KPopupMenu(menu, TQString("screen%1").arg(s+1).latin1());
+ m_screenPopups.append(subMenu);
+ populateMenu(subMenu);
+ lastIndex = menu->insertItem(i18n("Screen %1").arg(s+1), subMenu);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/samba/kcmsambalog.cpp v3.5.13-sru/kcontrol/samba/kcmsambalog.cpp
+--- /tmp/stable//kdebase/kcontrol/samba/kcmsambalog.cpp 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/samba/kcmsambalog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -116,14 +116,14 @@
+ connect(&updateButton,TQT_SIGNAL(clicked()),this,TQT_SLOT(updateList()));
+ emit contentsChanged(&viewHistory,0,0);
+
+- label.setMinimumSize(label.tqsizeHint());
+- logFileName.setMinimumSize(250,logFileName.tqsizeHint().height());
++ label.setMinimumSize(label.sizeHint());
++ logFileName.setMinimumSize(250,logFileName.sizeHint().height());
+ viewHistory.setMinimumSize(425,200);
+- showConnOpen.setMinimumSize(showConnOpen.tqsizeHint());
+- showConnClose.setMinimumSize(showConnClose.tqsizeHint());
+- showFileOpen.setMinimumSize(showFileOpen.tqsizeHint());
+- showFileClose.setMinimumSize(showFileClose.tqsizeHint());
+- updateButton.setFixedSize(updateButton.tqsizeHint());
++ showConnOpen.setMinimumSize(showConnOpen.sizeHint());
++ showConnClose.setMinimumSize(showConnClose.sizeHint());
++ showFileOpen.setMinimumSize(showFileOpen.sizeHint());
++ showFileClose.setMinimumSize(showFileClose.sizeHint());
++ updateButton.setFixedSize(updateButton.sizeHint());
+ }
+
+ void LogView::loadSettings()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/samba/kcmsambastatistics.cpp v3.5.13-sru/kcontrol/samba/kcmsambastatistics.cpp
+--- /tmp/stable//kdebase/kcontrol/samba/kcmsambastatistics.cpp 2011-08-11 07:25:30.000000000 +0200
++++ v3.5.13-sru/kcontrol/samba/kcmsambastatistics.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -80,18 +80,18 @@
+ hostLe->setText("*");
+
+ viewStatistics->setMinimumSize(375,200);
+- connectionsL->setMinimumSize(connectionsL->tqsizeHint());
+- filesL->setMinimumSize(filesL->tqsizeHint());
+- eventL->setMinimumSize(eventL->tqsizeHint());
+- eventCb->setMinimumSize(eventCb->tqsizeHint());
+- hostL->setMinimumSize(hostL->tqsizeHint());
+- hostLe->setMinimumSize(120,hostLe->tqsizeHint().height());
+- serviceL->setMinimumSize(serviceL->tqsizeHint());
+- serviceLe->setMinimumSize(120,serviceLe->tqsizeHint().height());
+- calcButton->setMinimumSize(calcButton->tqsizeHint());
+- clearButton->setMinimumSize(clearButton->tqsizeHint());
+- expandedInfoCb->setMinimumSize(expandedInfoCb->tqsizeHint());
+- expandedUserCb->setMinimumSize(expandedUserCb->tqsizeHint());
++ connectionsL->setMinimumSize(connectionsL->sizeHint());
++ filesL->setMinimumSize(filesL->sizeHint());
++ eventL->setMinimumSize(eventL->sizeHint());
++ eventCb->setMinimumSize(eventCb->sizeHint());
++ hostL->setMinimumSize(hostL->sizeHint());
++ hostLe->setMinimumSize(120,hostLe->sizeHint().height());
++ serviceL->setMinimumSize(serviceL->sizeHint());
++ serviceLe->setMinimumSize(120,serviceLe->sizeHint().height());
++ calcButton->setMinimumSize(calcButton->sizeHint());
++ clearButton->setMinimumSize(clearButton->sizeHint());
++ expandedInfoCb->setMinimumSize(expandedInfoCb->sizeHint());
++ expandedUserCb->setMinimumSize(expandedUserCb->sizeHint());
+
+ TQVBoxLayout *topLayout=new TQVBoxLayout(this, KDialog::marginHint(),
+ KDialog::spacingHint());
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/samba/smbstatus.desktop v3.5.13-sru/kcontrol/samba/smbstatus.desktop
+--- /tmp/stable//kdebase/kcontrol/samba/smbstatus.desktop 2011-03-12 07:57:44.000000000 +0100
++++ v3.5.13-sru/kcontrol/samba/smbstatus.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -7,7 +7,7 @@
+
+ X-KDE-Library=samba
+ X-KDE-FactoryName=samba
+-X-KDE-ParentApp=kinfocenter
++X-KDE-ParentApp=kcontrol
+
+ Name=Samba Status
+ Name[ar]=حالة Samba
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/screensaver/advanceddialogimpl.ui v3.5.13-sru/kcontrol/screensaver/advanceddialogimpl.ui
+--- /tmp/stable//kdebase/kcontrol/screensaver/advanceddialogimpl.ui 2011-03-12 07:57:43.000000000 +0100
++++ v3.5.13-sru/kcontrol/screensaver/advanceddialogimpl.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -69,7 +69,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>31</width>
+ <height>20</height>
+@@ -153,7 +153,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>41</width>
+ <height>20</height>
+@@ -256,7 +256,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -321,7 +321,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+ <height>20</height>
+@@ -346,7 +346,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>31</width>
+ <height>20</height>
+@@ -365,7 +365,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -382,7 +382,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/screensaver/scrnsave.cpp v3.5.13-sru/kcontrol/screensaver/scrnsave.cpp
+--- /tmp/stable//kdebase/kcontrol/screensaver/scrnsave.cpp 2011-08-11 07:25:29.000000000 +0200
++++ v3.5.13-sru/kcontrol/screensaver/scrnsave.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -133,12 +133,12 @@
+ mSaverGroup->setColumnLayout( 0, Qt::Horizontal );
+ vLayout->addWidget(mSaverGroup);
+ vLayout->setStretchFactor( mSaverGroup, 10 );
+- TQBoxLayout *groupLayout = new TQVBoxLayout( mSaverGroup->tqlayout(),
++ TQBoxLayout *groupLayout = new TQVBoxLayout( mSaverGroup->layout(),
+ KDialog::spacingHint() );
+
+ mSaverListView = new TQListView( mSaverGroup );
+ mSaverListView->setMinimumHeight( 120 );
+- mSaverListView->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding);
++ mSaverListView->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Expanding);
+ mSaverListView->addColumn("");
+ mSaverListView->header()->hide();
+ mSelected = -1;
+@@ -162,7 +162,7 @@
+ mSettingsGroup = new TQGroupBox( i18n("Settings"), this );
+ mSettingsGroup->setColumnLayout( 0, Qt::Vertical );
+ leftColumnLayout->addWidget( mSettingsGroup );
+- groupLayout = new TQVBoxLayout( mSettingsGroup->tqlayout(),
++ groupLayout = new TQVBoxLayout( mSettingsGroup->layout(),
+ KDialog::spacingHint() );
+
+ mEnabledCheckBox = new TQCheckBox(i18n(
+@@ -221,14 +221,14 @@
+ mWaitLockEdit->setSuffix(i18n(" sec"));
+ mWaitLockEdit->setValue(mLockTimeout/1000);
+ mWaitLockEdit->setEnabled(mEnabled && mLock);
+- if ( mWaitLockEdit->tqsizeHint().width() <
+- mWaitEdit->tqsizeHint().width() ) {
+- mWaitLockEdit->setFixedWidth( mWaitEdit->tqsizeHint().width() );
+- mWaitEdit->setFixedWidth( mWaitEdit->tqsizeHint().width() );
++ if ( mWaitLockEdit->sizeHint().width() <
++ mWaitEdit->sizeHint().width() ) {
++ mWaitLockEdit->setFixedWidth( mWaitEdit->sizeHint().width() );
++ mWaitEdit->setFixedWidth( mWaitEdit->sizeHint().width() );
+ }
+ else {
+- mWaitEdit->setFixedWidth( mWaitLockEdit->tqsizeHint().width() );
+- mWaitLockEdit->setFixedWidth( mWaitLockEdit->tqsizeHint().width() );
++ mWaitEdit->setFixedWidth( mWaitLockEdit->sizeHint().width() );
++ mWaitLockEdit->setFixedWidth( mWaitLockEdit->sizeHint().width() );
+ }
+ connect(mWaitLockEdit, TQT_SIGNAL(valueChanged(int)),
+ this, TQT_SLOT(slotLockTimeoutChanged(int)));
+@@ -246,7 +246,7 @@
+ new TQVBoxLayout(topLayout, KDialog::spacingHint());
+
+ mMonitorLabel = new TQLabel( this );
+- mMonitorLabel->tqsetAlignment( AlignCenter );
++ mMonitorLabel->setAlignment( AlignCenter );
+ mMonitorLabel->setPixmap( TQPixmap(locate("data",
+ "kcontrol/pics/monitor.png")));
+ rightColumnLayout->addWidget(mMonitorLabel, 0);
+@@ -256,7 +256,7 @@
+ advancedLayout->addWidget( new TQWidget( this ) );
+ TQPushButton* advancedBt = new TQPushButton(
+ i18n( "Advanced &Options" ), this, "advancedBtn" );
+- advancedBt->tqsetSizePolicy( TQSizePolicy(
++ advancedBt->setSizePolicy( TQSizePolicy(
+ TQSizePolicy::Fixed, TQSizePolicy::Fixed) );
+ connect( advancedBt, TQT_SIGNAL( clicked() ),
+ this, TQT_SLOT( slotAdvanced() ) );
+@@ -537,7 +537,7 @@
+ mSaverListView->setSelected(selectedItem, true);
+ mSaverListView->setCurrentItem(selectedItem);
+ mSaverListView->ensureItemVisible(selectedItem);
+- mSetupBt->setEnabled(!mSaverList.tqat(mSelected)->setup().isEmpty());
++ mSetupBt->setEnabled(!mSaverList.at(mSelected)->setup().isEmpty());
+ mTestBt->setEnabled(true);
+ }
+
+@@ -587,7 +587,7 @@
+ if (mSelected >= 0) {
+ mPreviewProc->clearArguments();
+
+- TQString saver = mSaverList.tqat(mSelected)->saver();
++ TQString saver = mSaverList.at(mSelected)->saver();
+ TQTextStream ts(&saver, IO_ReadOnly);
+
+ TQString word;
+@@ -665,9 +665,9 @@
+ bool bChanged = (indx != mSelected);
+
+ if (!mSetupProc->isRunning())
+- mSetupBt->setEnabled(!mSaverList.tqat(indx)->setup().isEmpty());
++ mSetupBt->setEnabled(!mSaverList.at(indx)->setup().isEmpty());
+ mTestBt->setEnabled(true);
+- mSaver = mSaverList.tqat(indx)->file();
++ mSaver = mSaverList.at(indx)->file();
+
+ mSelected = indx;
+ setMonitor();
+@@ -690,7 +690,7 @@
+
+ mSetupProc->clearArguments();
+
+- TQString saver = mSaverList.tqat(mSelected)->setup();
++ TQString saver = mSaverList.at(mSelected)->setup();
+ if( saver.isEmpty())
+ return;
+ TQTextStream ts(&saver, IO_ReadOnly);
+@@ -708,7 +708,7 @@
+ if (!kxsconfig) {
+ word = "-caption";
+ (*mSetupProc) << word;
+- word = mSaverList.tqat(mSelected)->name();
++ word = mSaverList.at(mSelected)->name();
+ (*mSetupProc) << word;
+ word = "-icon";
+ (*mSetupProc) << word;
+@@ -724,7 +724,7 @@
+
+ // Pass translated name to kxsconfig
+ if (kxsconfig) {
+- word = mSaverList.tqat(mSelected)->name();
++ word = mSaverList.at(mSelected)->name();
+ (*mSetupProc) << word;
+ }
+
+@@ -739,7 +739,7 @@
+ //
+ void KScreenSaver::slotAdvanced()
+ {
+- KScreenSaverAdvancedDialog dlg( tqtopLevelWidget() );
++ KScreenSaverAdvancedDialog dlg( topLevelWidget() );
+ if ( dlg.exec() ) {
+ mChanged = true;
+ emit changed(true);
+@@ -758,7 +758,7 @@
+ }
+
+ mTestProc->clearArguments();
+- TQString saver = mSaverList.tqat(mSelected)->saver();
++ TQString saver = mSaverList.at(mSelected)->saver();
+ TQTextStream ts(&saver, IO_ReadOnly);
+
+ TQString word;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/smartcard/nosmartcardbase.ui v3.5.13-sru/kcontrol/smartcard/nosmartcardbase.ui
+--- /tmp/stable//kdebase/kcontrol/smartcard/nosmartcardbase.ui 2011-03-12 07:57:36.000000000 +0100
++++ v3.5.13-sru/kcontrol/smartcard/nosmartcardbase.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -23,7 +23,7 @@
+ <property name="text">
+ <string>&lt;b&gt;Unable to contact the KDE smartcard service.&lt;/b&gt;</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+@@ -48,7 +48,7 @@
+
+ 2) You don't appear to have smartcard support in the KDE libraries. You will need to recompile the kdelibs package with libpcsclite installed.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+@@ -64,7 +64,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/smartcard/smartcardbase.ui v3.5.13-sru/kcontrol/smartcard/smartcardbase.ui
+--- /tmp/stable//kdebase/kcontrol/smartcard/smartcardbase.ui 2011-03-12 07:57:36.000000000 +0100
++++ v3.5.13-sru/kcontrol/smartcard/smartcardbase.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -74,7 +74,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>15</width>
+ <height>20</height>
+@@ -118,7 +118,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -250,7 +250,7 @@
+ <property name="text">
+ <string>To add new readers you have to modify /etc/readers.conf file and re-start pcscd</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/smserver/kcmsmserver.cpp v3.5.13-sru/kcontrol/smserver/kcmsmserver.cpp
+--- /tmp/stable//kdebase/kcontrol/smserver/kcmsmserver.cpp 2010-08-13 00:36:01.000000000 +0200
++++ v3.5.13-sru/kcontrol/smserver/kcmsmserver.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -92,6 +92,9 @@
+ }
+ dialog->excludeLineedit->setText( c->readEntry("excludeApps"));
+
++ c->setGroup("Logout");
++ dialog->showLogoutStatusDialog->setChecked(c->readBoolEntry("showLogoutStatusDlg", true));
++
+ delete c;
+
+ emit changed(useDefaults);
+@@ -103,6 +106,7 @@
+ c->setGroup("General");
+ c->writeEntry( "confirmLogout", dialog->confirmLogoutCheck->isChecked());
+ c->writeEntry( "offerShutdown", dialog->offerShutdownCheck->isChecked());
++
+ TQString s = "restorePreviousLogout";
+ if ( dialog->emptySessionRadio->isChecked() )
+ s = "default";
+@@ -117,6 +121,8 @@
+ int(KApplication::ShutdownTypeReboot) :
+ int(KApplication::ShutdownTypeNone));
+ c->writeEntry("excludeApps", dialog->excludeLineedit->text());
++ c->setGroup("Logout");
++ c->writeEntry( "showLogoutStatusDlg", dialog->showLogoutStatusDialog->isChecked());
+ c->sync();
+ delete c;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/smserver/smserverconfigdlg.ui v3.5.13-sru/kcontrol/smserver/smserverconfigdlg.ui
+--- /tmp/stable//kdebase/kcontrol/smserver/smserverconfigdlg.ui 2011-03-12 07:57:40.000000000 +0100
++++ v3.5.13-sru/kcontrol/smserver/smserverconfigdlg.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -62,6 +62,17 @@
+ <string>O&amp;ffer shutdown options</string>
+ </property>
+ </widget>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>showLogoutStatusDialog</cstring>
++ </property>
++ <property name="text">
++ <string>Show logout stat&amp;us dialog</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Check this option if you want to see a dialog box showing the logout status.</string>
++ </property>
++ </widget>
+ </vbox>
+ </widget>
+ <widget class="TQButtonGroup">
+@@ -190,7 +201,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>130</height>
+@@ -205,6 +216,12 @@
+ <signal>toggled(bool)</signal>
+ <receiver>SMServerConfigDlg</receiver>
+ <slot>configChanged()</slot>
++ </connection>
++ <connection>
++ <sender>showLogoutStatusDialog</sender>
++ <signal>toggled(bool)</signal>
++ <receiver>SMServerConfigDlg</receiver>
++ <slot>configChanged()</slot>
+ </connection>
+ <connection>
+ <sender>loginGroup</sender>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/style/kcmstyle.cpp v3.5.13-sru/kcontrol/style/kcmstyle.cpp
+--- /tmp/stable//kdebase/kcontrol/style/kcmstyle.cpp 2011-08-11 07:25:31.000000000 +0200
++++ v3.5.13-sru/kcontrol/style/kcmstyle.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -160,8 +160,8 @@
+ gbWidgetStyle->layout()->setMargin( KDialog::marginHint() );
+ gbWidgetStyle->layout()->setSpacing( KDialog::spacingHint() );
+
+- gbWidgetStyleLayout = new TQVBoxLayout( gbWidgetStyle->tqlayout() );
+- gbWidgetStyleLayout->tqsetAlignment( Qt::AlignTop );
++ gbWidgetStyleLayout = new TQVBoxLayout( gbWidgetStyle->layout() );
++ gbWidgetStyleLayout->setAlignment( Qt::AlignTop );
+ hbLayout = new TQHBoxLayout( KDialog::spacingHint(), "hbLayout" );
+
+ cbStyle = new KComboBox( gbWidgetStyle, "cbStyle" );
+@@ -169,7 +169,7 @@
+ hbLayout->addWidget( cbStyle );
+
+ pbConfigStyle = new TQPushButton( i18n("Con&figure..."), gbWidgetStyle );
+- pbConfigStyle->tqsetSizePolicy( TQSizePolicy::Maximum, TQSizePolicy::Minimum );
++ pbConfigStyle->setSizePolicy( TQSizePolicy::Maximum, TQSizePolicy::Minimum );
+ pbConfigStyle->setEnabled( FALSE );
+ hbLayout->addWidget( pbConfigStyle );
+
+@@ -195,7 +195,7 @@
+ gbPreview->layout()->setSpacing( KDialog::spacingHint() );
+ gbPreview->setFlat( true );
+ stylePreview = new StylePreview( gbPreview );
+- gbPreview->tqlayout()->add( stylePreview );
++ gbPreview->layout()->add( stylePreview );
+
+ page1Layout->addWidget( gbWidgetStyle );
+ page1Layout->addWidget( gbPreview );
+@@ -296,16 +296,16 @@
+ box1->setSpacing( KDialog::spacingHint() );
+ box1->setMargin( 0 );
+ TQLabel* lbl = new TQLabel( i18n("0%"), box1 );
+- lbl->tqsetAlignment( AlignLeft );
++ lbl->setAlignment( AlignLeft );
+ lbl = new TQLabel( i18n("50%"), box1 );
+- lbl->tqsetAlignment( AlignHCenter );
++ lbl->setAlignment( AlignHCenter );
+ lbl = new TQLabel( i18n("100%"), box1 );
+- lbl->tqsetAlignment( AlignRight );
++ lbl->setAlignment( AlignRight );
+
+ lblMenuEffectType = new TQLabel( comboMenuEffectType, i18n("Menu trans&lucency type:"), menuContainer );
+- lblMenuEffectType->tqsetAlignment( AlignBottom | AlignLeft );
++ lblMenuEffectType->setAlignment( AlignBottom | AlignLeft );
+ lblMenuOpacity = new TQLabel( slOpacity, i18n("Menu &opacity:"), menuContainer );
+- lblMenuOpacity->tqsetAlignment( AlignBottom | AlignLeft );
++ lblMenuOpacity->setAlignment( AlignBottom | AlignLeft );
+
+ menuContainerLayout->addWidget( lblMenuEffectType, 0, 0 );
+ menuContainerLayout->addWidget( comboMenuEffectType, 1, 0 );
+@@ -804,7 +804,7 @@
+ break;
+ else if ( id.contains( cfgStyle ) )
+ break;
+- else if ( id.contains( TQApplication::tqstyle().className() ) )
++ else if ( id.contains( TQApplication::style().className() ) )
+ break;
+ item = 0;
+ }
+@@ -844,7 +844,7 @@
+ setStyleRecursive( stylePreview, style );
+
+ // this flickers, but reliably draws the widgets correctly.
+- stylePreview->resize( stylePreview->tqsizeHint() );
++ stylePreview->resize( stylePreview->sizeHint() );
+
+ delete appliedStyle;
+ appliedStyle = style;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/style/menupreview.cpp v3.5.13-sru/kcontrol/style/menupreview.cpp
+--- /tmp/stable//kdebase/kcontrol/style/menupreview.cpp 2011-03-12 07:57:46.000000000 +0100
++++ v3.5.13-sru/kcontrol/style/menupreview.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -68,7 +68,7 @@
+ if (pixBlended)
+ pixBlended->resize( w, h );
+
+- TQColorGroup cg = tqcolorGroup();
++ TQColorGroup cg = colorGroup();
+ TQColor c1 = cg.background();
+ TQColor c2 = cg.mid();
+
+@@ -96,7 +96,7 @@
+
+ void MenuPreview::blendPixmaps()
+ {
+- // Rebuild pixmaps, and tqrepaint
++ // Rebuild pixmaps, and repaint
+ if (pixBlended && pixBackground)
+ {
+ if (mode == Blend && pixOverlay) {
+@@ -105,7 +105,7 @@
+ KImageEffect::blend(src, dst, menuOpacity);
+ pixBlended->convertFromImage( dst );
+ } else if (mode == Tint) {
+- TQColor clr = tqcolorGroup().button();
++ TQColor clr = colorGroup().button();
+ TQImage dst = pixBackground->convertToImage();
+ KImageEffect::blend(clr, dst, menuOpacity);
+ pixBlended->convertFromImage( dst );
+@@ -121,7 +121,7 @@
+ if ((int)(menuOpacity*100) != opacity) {
+ menuOpacity = opacity/100.0;
+ blendPixmaps();
+- tqrepaint( false );
++ repaint( false );
+ }
+ }
+
+@@ -130,14 +130,14 @@
+ if (mode != pvm) {
+ mode = pvm;
+ blendPixmaps();
+- tqrepaint( false );
++ repaint( false );
+ }
+ }
+
+ void MenuPreview::paintEvent( TQPaintEvent* /* pe */ )
+ {
+ // Paint the frame and blended pixmap
+- TQColorGroup cg = tqcolorGroup();
++ TQColorGroup cg = colorGroup();
+ int x2 = width()-1;
+ int y2 = height()-1;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/style/stylepreview.ui v3.5.13-sru/kcontrol/style/stylepreview.ui
+--- /tmp/stable//kdebase/kcontrol/style/stylepreview.ui 2011-03-12 07:57:46.000000000 +0100
++++ v3.5.13-sru/kcontrol/style/stylepreview.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -29,7 +29,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>50</height>
+@@ -177,7 +177,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -196,13 +196,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>200</width>
+ <height>32767</height>
+@@ -224,13 +224,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>200</width>
+ <height>32767</height>
+@@ -250,7 +250,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/taskbar/kcmtaskbarui.ui v3.5.13-sru/kcontrol/taskbar/kcmtaskbarui.ui
+--- /tmp/stable//kdebase/kcontrol/taskbar/kcmtaskbarui.ui 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/taskbar/kcmtaskbarui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -209,7 +209,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>191</width>
+ <height>20</height>
+@@ -234,7 +234,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>191</width>
+ <height>20</height>
+@@ -300,7 +300,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>191</width>
+ <height>20</height>
+@@ -319,7 +319,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -434,7 +434,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/usbview/kcmusb.cpp v3.5.13-sru/kcontrol/usbview/kcmusb.cpp
+--- /tmp/stable//kdebase/kcontrol/usbview/kcmusb.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kcontrol/usbview/kcmusb.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -39,7 +39,7 @@
+ gbox->setColumnLayout( 0, Qt::Horizontal );
+ vbox->addWidget(gbox);
+
+- TQVBoxLayout *vvbox = new TQVBoxLayout(gbox->tqlayout(), KDialog::spacingHint());
++ TQVBoxLayout *vvbox = new TQVBoxLayout(gbox->layout(), KDialog::spacingHint());
+
+ TQSplitter *splitter = new TQSplitter(gbox);
+ vvbox->addWidget(splitter);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/usbview/kcmusb.desktop v3.5.13-sru/kcontrol/usbview/kcmusb.desktop
+--- /tmp/stable//kdebase/kcontrol/usbview/kcmusb.desktop 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/usbview/kcmusb.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -237,4 +237,4 @@
+ Keywords[zh_TW]=USB,devices,viewer,control,è£ç½®,檢視器,控制
+ Keywords[zu]=USB,amathukuzi ananjongo,umbukisi,lawula
+
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/usbview/usbdevices.cpp v3.5.13-sru/kcontrol/usbview/usbdevices.cpp
+--- /tmp/stable//kdebase/kcontrol/usbview/usbdevices.cpp 2011-08-11 07:25:25.000000000 +0200
++++ v3.5.13-sru/kcontrol/usbview/usbdevices.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -226,9 +226,9 @@
+ r += i18n("<tr><td><i>Power Consumption</i></td><td>%1 mA</td></tr>").arg(_power);
+ else
+ r += i18n("<tr><td><i>Power Consumption</i></td><td>self powered</td></tr>");
+- r += i18n("<tr><td><i>Attached Devicenodes</i></td><td>%1</td></tr>").arg(*_devnodes.tqat(0));
++ r += i18n("<tr><td><i>Attached Devicenodes</i></td><td>%1</td></tr>").arg(*_devnodes.at(0));
+ if ( _devnodes.count() > 1 )
+- for ( TQStringList::Iterator it = _devnodes.tqat(1); it != _devnodes.end(); ++it )
++ for ( TQStringList::Iterator it = _devnodes.at(1); it != _devnodes.end(); ++it )
+ r += "<tr><td></td><td>" + *it + "</td></tr>";
+ #else
+ r += i18n("<tr><td><i>Max. Packet Size</i></td><td>%1</td></tr>").arg(_maxPacketSize);
+@@ -332,10 +332,10 @@
+
+ _bus = di.udi_bus;
+ _device = di.udi_addr;
+- _product = TQString::tqfromLatin1(di.udi_product);
++ _product = TQString::fromLatin1(di.udi_product);
+ if ( _device == 1 )
+ _product += " " + TQString::number( _bus );
+- _manufacturer = TQString::tqfromLatin1(di.udi_vendor);
++ _manufacturer = TQString::fromLatin1(di.udi_vendor);
+ _prodID = di.udi_productNo;
+ _vendorID = di.udi_vendorNo;
+ _class = di.udi_class;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/usbview/usb.ids v3.5.13-sru/kcontrol/usbview/usb.ids
+--- /tmp/stable//kdebase/kcontrol/usbview/usb.ids 2011-03-12 07:57:37.000000000 +0100
++++ v3.5.13-sru/kcontrol/usbview/usb.ids 2012-09-08 19:41:29.000000000 +0200
+@@ -7,7 +7,7 @@
+ # The latest version can be obtained from
+ # http://www.linux-usb.org/usb.ids
+ #
+-# $Id: usb.ids 1212480 2011-01-07 04:10:07Z tpearson $
++# $Id$
+ #
+
+ # Vendors, devices and interfaces. Please keep sorted.
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/view1394/kcmview1394.desktop v3.5.13-sru/kcontrol/view1394/kcmview1394.desktop
+--- /tmp/stable//kdebase/kcontrol/view1394/kcmview1394.desktop 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/view1394/kcmview1394.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -216,5 +216,5 @@
+ Keywords[zh_CN]=1394,Firewire,devices,viewer,control,设备,查看器,控制,ç«çº¿
+ Keywords[zh_TW]=1394,Firewire,devices,viewer,control,è£ç½®,檢視器,控制
+
+-Categories=Qt;KDE;X-KDE-settings-hardware;
++Categories=Qt;KDE;X-KDE-settings-information;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/view1394/view1394widget.ui v3.5.13-sru/kcontrol/view1394/view1394widget.ui
+--- /tmp/stable//kdebase/kcontrol/view1394/view1394widget.ui 2011-03-12 07:57:45.000000000 +0100
++++ v3.5.13-sru/kcontrol/view1394/view1394widget.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -163,7 +163,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/xinerama/kcmxinerama.cpp v3.5.13-sru/kcontrol/xinerama/kcmxinerama.cpp
+--- /tmp/stable//kdebase/kcontrol/xinerama/kcmxinerama.cpp 2011-03-12 07:57:47.000000000 +0100
++++ v3.5.13-sru/kcontrol/xinerama/kcmxinerama.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -223,10 +223,10 @@
+ si->setFont(fnt);
+ si->setFrameStyle(TQFrame::Panel);
+ si->setFrameShadow(TQFrame::Plain);
+- si->tqsetAlignment(Qt::AlignCenter);
++ si->setAlignment(Qt::AlignCenter);
+
+ TQPoint screenCenter(TQApplication::desktop()->screenGeometry(dpy).center());
+- TQRect targetGeometry(TQPoint(0,0), si->tqsizeHint());
++ TQRect targetGeometry(TQPoint(0,0), si->sizeHint());
+ targetGeometry.moveCenter(screenCenter);
+ si->setGeometry(targetGeometry);
+ si->show();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kcontrol/xinerama/xineramawidget.ui v3.5.13-sru/kcontrol/xinerama/xineramawidget.ui
+--- /tmp/stable//kdebase/kcontrol/xinerama/xineramawidget.ui 2011-03-12 07:57:47.000000000 +0100
++++ v3.5.13-sru/kcontrol/xinerama/xineramawidget.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -156,7 +156,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>431</width>
+ <height>21</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdcop/kdcopview.ui v3.5.13-sru/kdcop/kdcopview.ui
+--- /tmp/stable//kdebase/kdcop/kdcopview.ui 2011-03-12 07:58:02.000000000 +0100
++++ v3.5.13-sru/kdcop/kdcopview.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -98,7 +98,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdcop/kdcopwindow.cpp v3.5.13-sru/kdcop/kdcopwindow.cpp
+--- /tmp/stable//kdebase/kdcop/kdcopwindow.cpp 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/kdcop/kdcopwindow.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -114,7 +114,7 @@
+ {
+ setExpandable(true);
+ setText(0, TQString::fromUtf8(app_));
+- setPixmap(0, KGlobal::iconLoader()->loadIcon( TQString::tqfromLatin1( "exec" ), KIcon::Small ));
++ setPixmap(0, KGlobal::iconLoader()->loadIcon( TQString::fromLatin1( "exec" ), KIcon::Small ));
+
+
+ /* Get the icon: we use the icon from a mainwindow in that class.
+@@ -674,7 +674,7 @@
+ }
+
+ if (!wl.isEmpty())
+- wl.tqat(0)->setFocus();
++ wl.at(0)->setFocus();
+
+ i++;
+
+@@ -693,104 +693,104 @@
+
+ if ( type == "int" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text().toInt();
+ }
+ else if ( type == "unsigned" || type == "uint" || type == "unsigned int"
+ || type == "TQ_UINT32" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text().toUInt();
+ }
+ else if( type == "long" || type == "long int" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text().toLong();
+ }
+ else if( type == "ulong" || type == "unsigned long" || type == "unsigned long int" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text().toULong();
+ }
+ else if( type == "short" || type == "short int" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text().toShort();
+ }
+ else if( type == "ushort" || type == "unsigned short" || type == "unsigned short int" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text().toUShort();
+ }
+ else if ( type == "TQ_UINT64" )
+ {
+- KLineEdit* e = ( KLineEdit* )wl.tqat( i );
++ KLineEdit* e = ( KLineEdit* )wl.at( i );
+ arg << e->text().toULongLong();
+ }
+ else if( type == "float" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text().toFloat();
+ }
+ else if( type == "double" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text().toDouble();
+ }
+ else if( type == "bool" )
+ {
+- TQCheckBox* c = (TQCheckBox*)wl.tqat( i );
++ TQCheckBox* c = (TQCheckBox*)wl.at( i );
+ arg << c->isChecked();
+ }
+ else if( type == "TQCString" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << TQCString( e->text().local8Bit() );
+ }
+ else if( type == "TQString" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << e->text();
+ }
+ else if( type == "TQStringList" )
+ {
+- KEditListBox* e = (KEditListBox*)wl.tqat( i );
++ KEditListBox* e = (KEditListBox*)wl.at( i );
+ arg << e->items();
+ }
+ else if( type == "TQValueList<TQCString>" )
+ {
+- KEditListBox* e = (KEditListBox*)wl.tqat( i );
++ KEditListBox* e = (KEditListBox*)wl.at( i );
+ for (int i = 0; i < e->count(); i++)
+ arg << TQCString( e->text(i).local8Bit() );
+ }
+ else if( type == "KURL" )
+ {
+- KLineEdit* e = (KLineEdit*)wl.tqat( i );
++ KLineEdit* e = (KLineEdit*)wl.at( i );
+ arg << KURL( e->text() );
+ }
+ else if( type == "TQColor" )
+ {
+- KColorButton* e = (KColorButton*)wl.tqat( i );
++ KColorButton* e = (KColorButton*)wl.at( i );
+ arg << e->color();
+ }
+ else if( type == "TQSize" )
+ {
+- KMultiIntEdit* e = (KMultiIntEdit*)wl.tqat( i );
++ KMultiIntEdit* e = (KMultiIntEdit*)wl.at( i );
+ arg << TQSize(e->field(1) , e->field(2)) ;
+ }
+ else if( type == "TQPoint" )
+ {
+- KMultiIntEdit* e = (KMultiIntEdit*)wl.tqat( i );
++ KMultiIntEdit* e = (KMultiIntEdit*)wl.at( i );
+ arg << TQPoint(e->field(1) , e->field(2)) ;
+ }
+ else if( type == "TQRect" )
+ {
+- KMultiIntEdit* e = (KMultiIntEdit*)wl.tqat( i );
++ KMultiIntEdit* e = (KMultiIntEdit*)wl.at( i );
+ arg << TQRect(e->field(1) , e->field(2) , e->field(3) , e->field(4)) ;
+ }
+ else if( type == "TQPixmap" )
+ {
+- KURLRequester* e= (KURLRequester*)wl.tqat( i );
++ KURLRequester* e= (KURLRequester*)wl.at( i );
+ arg << TQPixmap(e->url());
+ }
+ else
+@@ -1053,7 +1053,7 @@
+ TQCursor r;
+ reply >> r;
+ //theList->insertItem(r, 1);
+- ret << "Cursor #" + TQString::number(r.tqshape());
++ ret << "Cursor #" + TQString::number(r.shape());
+ }
+ else if (replyType == "TQPixmap")
+ {
+@@ -1211,7 +1211,7 @@
+ // below list view. If there is nothing selected from
+ // the below menu then tell the tree to copy its current
+ // selection as text.
+- TQClipboard *clipboard = TQApplication::tqclipboard();
++ TQClipboard *clipboard = TQApplication::clipboard();
+ if (mainView->lb_replyData->count()!= 0)
+ {
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdebugdialog/kabstractdebugdialog.cpp v3.5.13-sru/kdebugdialog/kabstractdebugdialog.cpp
+--- /tmp/stable//kdebase/kdebugdialog/kabstractdebugdialog.cpp 2011-03-12 07:57:32.000000000 +0100
++++ v3.5.13-sru/kdebugdialog/kabstractdebugdialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -52,11 +52,11 @@
+ pCancelButton = new KPushButton( KStdGuiItem::cancel(), this );
+ hbox->addWidget( pCancelButton );
+
+- int w1 = pHelpButton->tqsizeHint().width();
+- int w2 = pOKButton->tqsizeHint().width();
+- int w3 = pCancelButton->tqsizeHint().width();
++ int w1 = pHelpButton->sizeHint().width();
++ int w2 = pOKButton->sizeHint().width();
++ int w3 = pCancelButton->sizeHint().width();
+ int w4 = QMAX( w1, QMAX( w2, w3 ) );
+- int w5 = pApplyButton->tqsizeHint().width();
++ int w5 = pApplyButton->sizeHint().width();
+ w4 = QMAX(w4, w5);
+
+ pHelpButton->setFixedWidth( w4 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdebugdialog/kdebugdialog.cpp v3.5.13-sru/kdebugdialog/kdebugdialog.cpp
+--- /tmp/stable//kdebase/kdebugdialog/kdebugdialog.cpp 2011-08-11 07:25:24.000000000 +0200
++++ v3.5.13-sru/kdebugdialog/kdebugdialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -54,7 +54,7 @@
+
+ // Build combo of debug areas
+ pDebugAreas = new TQComboBox( false, this );
+- pDebugAreas->setFixedHeight( pDebugAreas->tqsizeHint().height() );
++ pDebugAreas->setFixedHeight( pDebugAreas->sizeHint().height() );
+ pDebugAreas->insertStringList( areaList );
+ topLayout->addWidget( pDebugAreas );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdebugdialog/klistdebugdialog.cpp v3.5.13-sru/kdebugdialog/klistdebugdialog.cpp
+--- /tmp/stable//kdebase/kdebugdialog/klistdebugdialog.cpp 2011-08-11 07:25:24.000000000 +0200
++++ v3.5.13-sru/kdebugdialog/klistdebugdialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -182,7 +182,7 @@
+ for ( ; it.current() ; ++it )
+ {
+ if ( area == (*it)->name() // debug area code = cb's name
+- || (*it)->text().find( TQString::tqfromLatin1(area) ) != -1 ) // area name included in cb text
++ || (*it)->text().find( TQString::fromLatin1(area) ) != -1 ) // area name included in cb text
+ {
+ (*it)->setChecked( activate );
+ return;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdepasswd/kcm/main.cpp v3.5.13-sru/kdepasswd/kcm/main.cpp
+--- /tmp/stable//kdebase/kdepasswd/kcm/main.cpp 2011-03-12 07:58:06.000000000 +0100
++++ v3.5.13-sru/kdepasswd/kcm/main.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -150,11 +150,11 @@
+ KGlobal::dirs()->resourceDirs("data").last() + "kdm/faces/";
+
+ TQString fs = KCFGUserAccount::faceSource();
+- if (fs == TQString::tqfromLatin1("UserOnly"))
++ if (fs == TQString::fromLatin1("UserOnly"))
+ _facePerm = userOnly;
+- else if (fs == TQString::tqfromLatin1("PreferUser"))
++ else if (fs == TQString::fromLatin1("PreferUser"))
+ _facePerm = userFirst;
+- else if (fs == TQString::tqfromLatin1("PreferAdmin"))
++ else if (fs == TQString::fromLatin1("PreferAdmin"))
+ _facePerm = adminFirst;
+ else
+ _facePerm = adminOnly; // Admin Only
+@@ -169,13 +169,13 @@
+ _mw->btnChangeFace->setPixmap( _facePixmap );
+ }
+
+- if ( _facePerm >= userFirst )
++ if ( _facePerm == userFirst )
+ {
+ // If the user's choice takes preference
+ _facePixmap = TQPixmap( KCFGUserAccount::faceFile() );
+
+ // The user has no face, should we check for the admin's setting?
+- if ( _facePixmap.isNull() && _facePerm == userFirst )
++ if ( _facePixmap.isNull() )
+ _facePixmap = TQPixmap( _userPicsDir + _ku->loginName() + ".face.icon" );
+
+ if ( _facePixmap.isNull() )
+@@ -183,7 +183,7 @@
+
+ _mw->btnChangeFace->setPixmap( _facePixmap );
+ }
+- else if ( _facePerm <= adminOnly )
++ else if ( _facePerm == adminOnly )
+ {
+ // Admin only
+ _facePixmap = TQPixmap( _userPicsDir + _ku->loginName() + ".face.icon" );
+@@ -249,7 +249,7 @@
+
+ void KCMUserAccount::changeFace(const TQPixmap &pix)
+ {
+- if ( _facePerm < userFirst )
++ if ( _facePerm != userFirst )
+ return; // If the user isn't allowed to change their face, don't!
+
+ if ( pix.isNull() ) {
+@@ -264,7 +264,7 @@
+
+ void KCMUserAccount::slotFaceButtonClicked()
+ {
+- if ( _facePerm < userFirst )
++ if ( _facePerm != userFirst )
+ {
+ KMessageBox::sorry( this, i18n("Your administrator has disallowed changing your image.") );
+ return;
+@@ -295,10 +295,9 @@
+
+ if (e->type() == TQEvent::Drop)
+ {
+- if ( _facePerm < userFirst )
++ if ( _facePerm != userFirst )
+ {
+- KMessageBox::sorry( this, i18n("Your administrator "
+- "has disallowed changing your image.") );
++ KMessageBox::sorry( this, i18n("Your administrator has disallowed changing your image.") );
+ return true;
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdepasswd/kcm/main_widget.ui v3.5.13-sru/kdepasswd/kcm/main_widget.ui
+--- /tmp/stable//kdebase/kdepasswd/kcm/main_widget.ui 2011-03-12 07:58:06.000000000 +0100
++++ v3.5.13-sru/kdepasswd/kcm/main_widget.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -32,13 +32,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>74</width>
+ <height>74</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>74</width>
+ <height>74</height>
+@@ -154,7 +154,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+@@ -182,7 +182,7 @@
+ <property name="text">
+ <string></string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter</set>
+ </property>
+ </widget>
+@@ -193,7 +193,7 @@
+ <property name="text">
+ <string>&lt;i&gt;(Click the button to change your image)&lt;/i&gt;</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter</set>
+ </property>
+ </widget>
+@@ -217,7 +217,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>111</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdepasswd/kdepasswd.cpp v3.5.13-sru/kdepasswd/kdepasswd.cpp
+--- /tmp/stable//kdebase/kdepasswd/kdepasswd.cpp 2010-08-13 00:35:42.000000000 +0200
++++ v3.5.13-sru/kdepasswd/kdepasswd.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -1,6 +1,6 @@
+ /* vi: ts=8 sts=4 sw=4
+ *
+- * $Id: kdepasswd.cpp 1157639 2010-07-31 19:33:34Z tpearson $
++ * $Id$
+ *
+ * This file is part of the KDE project, module kdesu.
+ * Copyright (C) 2000 Geert Jansen <jansen@kde.org>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdepasswd/passwd.cpp v3.5.13-sru/kdepasswd/passwd.cpp
+--- /tmp/stable//kdebase/kdepasswd/passwd.cpp 2011-08-11 07:25:44.000000000 +0200
++++ v3.5.13-sru/kdepasswd/passwd.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -1,6 +1,6 @@
+ /* vi: ts=8 sts=4 sw=4
+ *
+- * $Id: passwd.cpp 1246075 2011-08-10 06:08:18Z tpearson $
++ * $Id$
+ *
+ * This file is part of the KDE project, module kdesu.
+ * Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdepasswd/passwddlg.cpp v3.5.13-sru/kdepasswd/passwddlg.cpp
+--- /tmp/stable//kdebase/kdepasswd/passwddlg.cpp 2011-03-12 07:58:06.000000000 +0100
++++ v3.5.13-sru/kdepasswd/passwddlg.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -1,6 +1,6 @@
+ /* vi: ts=8 sts=4 sw=4
+ *
+- * $Id: passwddlg.cpp 1215552 2011-01-19 01:42:14Z tpearson $
++ * $Id$
+ *
+ * This file is part of the KDE project, module kdesu.
+ * Copyright (C) 2000 Geert Jansen <jansen@kde.org>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdepasswd/passwddlg.h v3.5.13-sru/kdepasswd/passwddlg.h
+--- /tmp/stable//kdebase/kdepasswd/passwddlg.h 2010-08-13 00:35:42.000000000 +0200
++++ v3.5.13-sru/kdepasswd/passwddlg.h 2012-09-08 19:41:29.000000000 +0200
+@@ -1,6 +1,6 @@
+ /* vi: ts=8 sts=4 sw=4
+ *
+- * $Id: passwddlg.h 1157639 2010-07-31 19:33:34Z tpearson $
++ * $Id$
+ *
+ * This file is part of the KDE project, module kdesu.
+ * Copyright (C) 2000 Geert Jansen <jansen@kde.org>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdepasswd/passwd.h v3.5.13-sru/kdepasswd/passwd.h
+--- /tmp/stable//kdebase/kdepasswd/passwd.h 2010-08-13 00:35:42.000000000 +0200
++++ v3.5.13-sru/kdepasswd/passwd.h 2012-09-08 19:41:29.000000000 +0200
+@@ -1,6 +1,6 @@
+ /* vi: ts=8 sts=4 sw=4
+ *
+- * $Id: passwd.h 1157639 2010-07-31 19:33:34Z tpearson $
++ * $Id$
+ *
+ * This file is part of the KDE project, module kdesu.
+ * Copyright (C) 2000 Geert Jansen <jansen@kde.org>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdeprint/kdeprintfax/faxctrl.cpp v3.5.13-sru/kdeprint/kdeprintfax/faxctrl.cpp
+--- /tmp/stable//kdebase/kdeprint/kdeprintfax/faxctrl.cpp 2011-08-11 07:25:50.000000000 +0200
++++ v3.5.13-sru/kdeprint/kdeprintfax/faxctrl.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -291,7 +291,7 @@
+ if (v.isEmpty())
+ v = getenv("FAXSERVER");
+ if (v.isEmpty())
+- v = TQString::tqfromLatin1("localhost");
++ v = TQString::fromLatin1("localhost");
+ v = processTag( match, v );
+ }
+ else if (isTag( match, "%page" ))
+@@ -491,7 +491,7 @@
+ m_tempfiles.append(tmp);
+ m_process->clearArguments();
+ *m_process << locate("data","kdeprintfax/anytops") << "-m" << KProcess::quote(locate("data","kdeprintfax/faxfilters"))
+- << TQString::tqfromLatin1("--mime=%1").arg(mimeType)
++ << TQString::fromLatin1("--mime=%1").arg(mimeType)
+ << "-p" << pageSize()
+ << KProcess::quote(m_files[0]) << KProcess::quote(tmp);
+ if (!m_process->start(KProcess::NotifyOnExit, KProcess::AllOutput))
+@@ -617,7 +617,7 @@
+ KPrinter printer;
+ printer.setDocName( i18n( "Fax log" ) );
+ printer.setDocFileName( "faxlog" );
+- if ( printer.setup( m_logview->tqtopLevelWidget(), i18n( "Fax Log" ) ) )
++ if ( printer.setup( m_logview->topLevelWidget(), i18n( "Fax Log" ) ) )
+ {
+ TQPainter painter( &printer );
+ TQPaintDeviceMetrics metric( &printer );
+@@ -634,7 +634,7 @@
+ richText.setWidth( &painter, body.width() );
+ do
+ {
+- richText.draw( &painter, body.left(), body.top(), view, m_logview->tqcolorGroup() );
++ richText.draw( &painter, body.left(), body.top(), view, m_logview->colorGroup() );
+ view.moveBy( 0, body.height() );
+ painter.translate( 0, -body.height() );
+ if ( view.top() >= richText.height() )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdeprint/kdeprintfax/kdeprintfax.cpp v3.5.13-sru/kdeprint/kdeprintfax/kdeprintfax.cpp
+--- /tmp/stable//kdebase/kdeprint/kdeprintfax/kdeprintfax.cpp 2011-08-11 07:25:50.000000000 +0200
++++ v3.5.13-sru/kdeprint/kdeprintfax/kdeprintfax.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -429,14 +429,14 @@
+ if ( !m_cover->isEnabled() )
+ m_cover->setChecked(false);
+ m_comment->setEnabled(cmd.find("%comment") != -1 && m_cover->isChecked());
+- //m_comment->setPaper(m_comment->isEnabled() ? tqcolorGroup().brush(TQColorGroup::Base) : tqcolorGroup().brush(TQColorGroup::Background));
++ //m_comment->setPaper(m_comment->isEnabled() ? colorGroup().brush(TQColorGroup::Base) : colorGroup().brush(TQColorGroup::Background));
+ if (!m_comment->isEnabled())
+ {
+ m_comment->setText("");
+- m_comment->setPaper( tqcolorGroup().background() );
++ m_comment->setPaper( colorGroup().background() );
+ }
+ else
+- m_comment->setPaper( tqcolorGroup().base() );
++ m_comment->setPaper( colorGroup().base() );
+ /*
+ m_enterprise->setEnabled(cmd.find("%enterprise") != -1);
+ if (!m_enterprise->isEnabled())
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdeprint/kdeprintfax/kdeprintfax.desktop v3.5.13-sru/kdeprint/kdeprintfax/kdeprintfax.desktop
+--- /tmp/stable//kdebase/kdeprint/kdeprintfax/kdeprintfax.desktop 2010-08-12 05:29:41.000000000 +0200
++++ v3.5.13-sru/kdeprint/kdeprintfax/kdeprintfax.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -94,4 +94,4 @@
+ Icon=kdeprintfax
+ Terminal=false
+ X-DCOP-ServiceType=Multi
+-Categories=Qt;KDE;Utility;X-KDE-Utilities-Peripherals;
++Categories=Qt;KDE;Utility
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdeprint/kjobviewer/kjobviewer.cpp v3.5.13-sru/kdeprint/kjobviewer/kjobviewer.cpp
+--- /tmp/stable//kdebase/kdeprint/kjobviewer/kjobviewer.cpp 2011-08-11 07:25:50.000000000 +0200
++++ v3.5.13-sru/kdeprint/kjobviewer/kjobviewer.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -77,7 +77,7 @@
+ int choice = menu.exec(mapToGlobal(e->pos()));
+ if (choice != -1)
+ {
+- KMJobViewer *view = list.tqat(choice);
++ KMJobViewer *view = list.at(choice);
+ if (view->isVisible())
+ KWin::activateWindow(view->winId());
+ else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdeprint/kjobviewer/kjobviewer.desktop v3.5.13-sru/kdeprint/kjobviewer/kjobviewer.desktop
+--- /tmp/stable//kdebase/kdeprint/kjobviewer/kjobviewer.desktop 2010-08-12 05:29:41.000000000 +0200
++++ v3.5.13-sru/kdeprint/kjobviewer/kjobviewer.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -89,4 +89,4 @@
+ GenericName[zh_TW]=列å°å·¥ä½œ
+
+ X-DCOP-ServiceType=Unique
+-Categories=Qt;KDE;Utility;X-KDE-Utilities-Peripherals;
++Categories=Qt;KDE;Utility
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdeprint/kprinter/printwrapper.cpp v3.5.13-sru/kdeprint/kprinter/printwrapper.cpp
+--- /tmp/stable//kdebase/kdeprint/kprinter/printwrapper.cpp 2011-03-12 07:58:15.000000000 +0100
++++ v3.5.13-sru/kdeprint/kprinter/printwrapper.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -66,7 +66,7 @@
+
+ void showmsgconsole(const TQString& msg, int type = 0)
+ {
+- TQString errmsg = TQString::tqfromLatin1("%1 : ").arg((type == 0 ? i18n("Print info") : (type == 1 ? i18n("Print warning") : i18n("Print error"))));
++ TQString errmsg = TQString::fromLatin1("%1 : ").arg((type == 0 ? i18n("Print info") : (type == 1 ? i18n("Print warning") : i18n("Print error"))));
+ kdDebug() << errmsg << msg << endl;
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdeprint/slave/kio_print.cpp v3.5.13-sru/kdeprint/slave/kio_print.cpp
+--- /tmp/stable//kdebase/kdeprint/slave/kio_print.cpp 2011-08-11 07:25:50.000000000 +0200
++++ v3.5.13-sru/kdeprint/slave/kio_print.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -635,7 +635,7 @@
+ mimeType("text/html");
+
+ TQString content;
+- if (!loadTemplate(TQString::tqfromLatin1("printer.template"), content))
++ if (!loadTemplate(TQString::fromLatin1("printer.template"), content))
+ {
+ error(KIO::ERR_INTERNAL, i18n("Unable to load template %1").arg("printer.template"));
+ return;
+@@ -676,7 +676,7 @@
+ mimeType("text/html");
+
+ TQString content;
+- if (!loadTemplate(TQString::tqfromLatin1("class.template"), content))
++ if (!loadTemplate(TQString::fromLatin1("class.template"), content))
+ {
+ error(KIO::ERR_INTERNAL, i18n("Unable to load template %1").arg("class.template"));
+ return;
+@@ -686,7 +686,7 @@
+ TQStringList members(printer->members());
+ for (TQStringList::ConstIterator it=members.begin(); it!=members.end(); ++it)
+ {
+- memberContent.append(TQString::tqfromLatin1("<li><a href=\"print:/printers/%1\">%2</a></li>\n").arg(*it).arg(*it));
++ memberContent.append(TQString::fromLatin1("<li><a href=\"print:/printers/%1\">%2</a></li>\n").arg(*it).arg(*it));
+ }
+ memberContent.append("</ul>\n");
+
+@@ -719,7 +719,7 @@
+ mimeType("text/html");
+
+ TQString content;
+- if (!loadTemplate(TQString::tqfromLatin1("pseudo.template"), content))
++ if (!loadTemplate(TQString::fromLatin1("pseudo.template"), content))
+ {
+ error(KIO::ERR_INTERNAL, i18n("Unable to load template %1").arg("pseudo.template"));
+ return;
+@@ -755,7 +755,7 @@
+
+ bool KIO_Print::loadTemplate(const TQString& filename, TQString& buffer)
+ {
+- TQFile f(locate("data", TQString::tqfromLatin1("kdeprint/template/")+filename));
++ TQFile f(locate("data", TQString::fromLatin1("kdeprint/template/")+filename));
+ if (f.exists() && f.open(IO_ReadOnly))
+ {
+ TQTextStream t(&f);
+@@ -820,7 +820,7 @@
+ }
+
+ TQString content;
+- if (!loadTemplate(TQString::tqfromLatin1("jobs.template"), content))
++ if (!loadTemplate(TQString::fromLatin1("jobs.template"), content))
+ {
+ error(KIO::ERR_INTERNAL, i18n("Unable to load template %1").arg("pseudo.template"));
+ return;
+@@ -891,7 +891,7 @@
+ mimeType("text/html");
+
+ TQString content;
+- if (!loadTemplate(TQString::tqfromLatin1("driver.template"), content))
++ if (!loadTemplate(TQString::fromLatin1("driver.template"), content))
+ {
+ error(KIO::ERR_INTERNAL, i18n("Unable to load template %1").arg("pseudo.template"));
+ return;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/bgmanager.cc v3.5.13-sru/kdesktop/bgmanager.cc
+--- /tmp/stable//kdebase/kdesktop/bgmanager.cc 2011-07-09 08:16:54.000000000 +0200
++++ v3.5.13-sru/kdesktop/bgmanager.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -125,7 +125,7 @@
+ if (m_numberOfViewports < 1) {
+ m_numberOfViewports = 1;
+ }
+- for (unsigned j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
++ for (signed j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
+ renderBackground(j);
+ }
+ }
+@@ -250,7 +250,7 @@
+ if (m_numberOfViewports < 1) {
+ m_numberOfViewports = 1;
+ }
+- for (unsigned j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
++ for (signed j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
+ renderBackground(j);
+ }
+ }
+@@ -350,7 +350,7 @@
+ desk--;
+
+ // Lazy initialisation of # of desktops
+- if ((m_pKwinmodule->numberOfDesktops() * m_numberOfViewports) >= m_Renderer.size())
++ if ((unsigned)(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports) >= m_Renderer.size())
+ slotChangeNumberOfDesktops( m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);
+
+ int edesk = effectiveDesktop();
+@@ -410,7 +410,7 @@
+ desk--;
+
+ // Lazy initialisation of # of desktops
+- if ((m_pKwinmodule->numberOfDesktops() * m_numberOfViewports) >= m_Renderer.size())
++ if ((unsigned)(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports) >= m_Renderer.size())
+ slotChangeNumberOfDesktops( m_pKwinmodule->numberOfDesktops() * m_numberOfViewports );
+
+ int edesk = effectiveDesktop();
+@@ -518,11 +518,11 @@
+ {
+ TQScrollView* sv = dynamic_cast<TQScrollView*>( m_pDesktop );
+ if ( sv ) {
+- // Qt eats tqrepaint events in this case :-((
++ // Qt eats repaint events in this case :-((
+ sv->viewport()->update();
+ }
+ m_pDesktop->setErasePixmap(*ep);
+- m_pDesktop->tqrepaint();
++ m_pDesktop->repaint();
+ static bool root_cleared = false;
+ if( !root_cleared )
+ { // clear the root window pixmap set by kdm
+@@ -923,7 +923,7 @@
+ void KBackgroundManager::repaintBackground()
+ {
+ if (m_pDesktop)
+- m_pDesktop->tqrepaint();
++ m_pDesktop->repaint();
+ else
+ TQT_TQWIDGET(KApplication::desktop()->screen())->erase();
+ }
+@@ -963,7 +963,7 @@
+ if (m_numberOfViewports < 1) {
+ m_numberOfViewports = 1;
+ }
+- for (unsigned j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
++ for (signed j=0;j<(m_pKwinmodule->numberOfDesktops() * m_numberOfViewports);j++) {
+ renderBackground(j);
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/CMakeLists.txt v3.5.13-sru/kdesktop/CMakeLists.txt
+--- /tmp/stable//kdebase/kdesktop/CMakeLists.txt 2011-03-26 00:02:18.000000000 +0100
++++ v3.5.13-sru/kdesktop/CMakeLists.txt 2012-09-08 19:41:29.000000000 +0200
+@@ -48,7 +48,9 @@
+
+ ##### other data ################################
+
+-install( FILES kdesktop.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
++configure_file( kdesktop.desktop.cmake kdesktop.desktop @ONLY )
++
++install( FILES ${CMAKE_CURRENT_BINARY_DIR}/kdesktop.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
+ install( FILES kdesktop_custom_menu1 kdesktop_custom_menu2 DESTINATION ${CONFIG_INSTALL_DIR} )
+ install( FILES kdesktopSetAsBackground.desktop DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus )
+ install( FILES kdesktop.kcfg klaunch.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+@@ -92,6 +94,7 @@
+ kdesktopsettings-static bgnd-static dmctl-static
+ konq-shared kutils-shared
+ ${XRENDER_LIBRARIES} ${XCURSOR_LIBRARIES} Xext dl
++ ${XSS_LIBRARIES}
+ )
+
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/desktop.cc v3.5.13-sru/kdesktop/desktop.cc
+--- /tmp/stable//kdebase/kdesktop/desktop.cc 2011-08-11 07:25:39.000000000 +0200
++++ v3.5.13-sru/kdesktop/desktop.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -135,8 +135,8 @@
+ const char* KDesktop::m_wheelDirectionStrings[2] = { "Forward", "Reverse" };
+
+ KDesktop::KDesktop( bool x_root_hack, bool wait_for_kded ) :
+- KDesktopIface(),
+ TQWidget( 0L, "desktop", (WFlags)(WResizeNoErase | ( x_root_hack ? (WStyle_Customize | WStyle_NoBorder) : 0)) ),
++ KDesktopIface(),
+ // those two WStyle_ break kdesktop when the root-hack isn't used (no Dnd)
+ startup_id( NULL ), m_waitForKicker(0)
+ {
+@@ -159,7 +159,7 @@
+ kapp->dcopClient()->connectDCOPSignal(kicker_name, kicker_name, "desktopIconsAreaChanged(TQRect, int)",
+ "KDesktopIface", "desktopIconsAreaChanged(TQRect, int)", false);
+
+- // Dont tqrepaint on configuration changes during construction
++ // Dont repaint on configuration changes during construction
+ m_bInit = true;
+
+ // It's the child widget that gets the focus, not us
+@@ -1179,7 +1179,7 @@
+
+ void KDesktop::removeIcon(const TQString &_url)
+ {
+- if (_url.tqat(0) != '/') {
++ if (_url.at(0) != '/') {
+ qDebug("removeIcon with relative path not supported for now");
+ return;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/init/My_Documents v3.5.13-sru/kdesktop/init/My_Documents
+--- /tmp/stable//kdebase/kdesktop/init/My_Documents 2011-10-24 00:31:04.000000000 +0200
++++ v3.5.13-sru/kdesktop/init/My_Documents 2012-09-08 19:41:29.000000000 +0200
+@@ -3,12 +3,10 @@
+ Icon=folder_wordprocessing
+ Name=My Documents
+ Name[af]=Dokument Gids
+-Name[ar]=مستنداتي
++Name[ar]=مستنداتي
+ Name[be]=âÑÂчúð ôûѠôðúуüõýтðў
+ Name[bg]=Ãâ€Ã¸Ñ€ÃµÃºÑ‚þрøѠѠôþúуüõýтø
+ Name[bn]=ডকà§Âমেনà§Âট ফোলà§Âডার
+-Name[br]=Renkell an teulioù
+-Name[ar]=مستنداتي
+ Name[br]=Renkell an teulioù
+ Name[bs]=Direktorij dokumenata
+ Name[ca]=Carpeta de documents
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/kdesktop.desktop v3.5.13-sru/kdesktop/kdesktop.desktop
+--- /tmp/stable//kdebase/kdesktop/kdesktop.desktop 2010-08-12 05:29:22.000000000 +0200
++++ v3.5.13-sru/kdesktop/kdesktop.desktop 1970-01-01 01:00:00.000000000 +0100
+@@ -1,85 +0,0 @@
+-[Desktop Entry]
+-Exec=kdesktop
+-X-DCOP-ServiceType=wait
+-Name=KDE Desktop
+-Name[af]=KDE Werkskerm
+-Name[ar]=سطح المكتب KDE
+-Name[az]=KDE Masa üstü
+-Name[be]=Працоўны Ñтол KDE
+-Name[bn]=কে.ডি.ই. ডেসà§à¦•à¦Ÿà¦ª
+-Name[br]=Burev KDE
+-Name[bs]=KDE radna površina
+-Name[ca]=Escriptori KDE
+-Name[cs]=Pracovní plocha KDE
+-Name[csb]=Pùlt KDE
+-Name[cy]=Penbwrdd KDE
+-Name[da]=KDE-desktop
+-Name[de]=KDE-Arbeitsfläche
+-Name[el]=Επιφάνεια εÏγασίας του KDE
+-Name[eo]=KDE Labortablo
+-Name[es]=Escritorio de KDE
+-Name[et]=KDE töölaud
+-Name[eu]=KDE mahaigaina
+-Name[fa]=رومیزی KDE
+-Name[fi]=KDE-työpöytä
+-Name[fr]=Bureau de KDE
+-Name[fy]=KDE Buroblêd
+-Name[ga]=Deasc KDE
+-Name[gl]=Escritório de KDE
+-Name[he]=שולחן העבודה של KDE
+-Name[hi]=केडीई डेसà¥à¤•à¤Ÿà¥‰à¤ª
+-Name[hr]=KDE radna površina
+-Name[hu]=Munkaasztal
+-Name[id]=Desktop KDE
+-Name[is]=KDE skjáborð
+-Name[it]=Desktop KDE
+-Name[ja]=KDE デスクトップ
+-Name[ka]=KDE სáƒáƒ›áƒ£áƒ¨áƒáƒ დáƒáƒ¤áƒ
+-Name[kk]=KDE Ò¯Ñтелі
+-Name[km]=ផ្ទៃážáž» KDE
+-Name[ko]=ë°ìŠ¤í¬í†±
+-Name[lo]=ພື້ນທີ່ທຳງານ KDE
+-Name[lt]=KDE Darbastalis
+-Name[lv]=KDE Darbvirsma
+-Name[mk]=KDE ДеÑктоп
+-Name[mn]=КДЭ-Ðжлын тавцан
+-Name[ms]=Desktop KDE
+-Name[mt]=Desktop KDE
+-Name[nb]=KDE Skrivebord
+-Name[nds]=KDE-Schriefdisch
+-Name[ne]=KDE डेसà¥à¤•à¤Ÿà¤ª
+-Name[nl]=KDE Bureaublad
+-Name[nn]=KDE-skrivebord
+-Name[nso]=Desktop ya KDE
+-Name[pa]=KDE ਵੇਹੜਾ
+-Name[pl]=Pulpit KDE
+-Name[pt]=Ecrã do KDE
+-Name[pt_BR]=Ãrea de Trabalho KDE
+-Name[ro]=Ecran KDE
+-Name[ru]=Рабочий Ñтол KDE
+-Name[rw]=KDE Ibiro
+-Name[se]=KDE-Äallinbeavdi
+-Name[sk]=Pracovná plocha
+-Name[sl]=Namizje KDE
+-Name[sr]=KDE радна површина
+-Name[sr@Latn]=KDE radna površina
+-Name[sv]=KDE-skrivbord
+-Name[ta]=KDE மேலà¯à®®à¯‡à®šà¯ˆ
+-Name[te]=కెడిఈ à°°à°‚à°—à°¸à±à°¥à°²à°‚
+-Name[tg]=Мизи Кории KDE
+-Name[th]=พื้นที่ทำงาน KDE
+-Name[tr]=KDE Masaüstü
+-Name[tt]=KDE Östäl
+-Name[uk]=Ð¡Ñ‚Ñ–Ð»ÑŒÐ½Ð¸Ñ†Ñ KDE
+-Name[uz]=KDE ish stoli
+-Name[uz@cyrillic]=KDE иш Ñтоли
+-Name[ven]=Desikithopo ya KDE
+-Name[vi]=Môi trÆ°á»ng KDE
+-Name[wa]=Sicribanne KDE
+-Name[zh_CN]=KDE æ¡Œé¢
+-Name[zh_TW]=KDE æ¡Œé¢
+-Name[zu]=I-Desktop ye-KDE
+-Type=Service
+-X-KDE-StartupNotify=false
+-OnlyShowIn=KDE;
+-X-KDE-autostart-phase=0
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/kdesktop.desktop.cmake v3.5.13-sru/kdesktop/kdesktop.desktop.cmake
+--- /tmp/stable//kdebase/kdesktop/kdesktop.desktop.cmake 1970-01-01 01:00:00.000000000 +0100
++++ v3.5.13-sru/kdesktop/kdesktop.desktop.cmake 2012-09-08 19:41:29.000000000 +0200
+@@ -0,0 +1,85 @@
++[Desktop Entry]
++Exec=@TDE_BIN_DIR@/kdesktop
++X-DCOP-ServiceType=wait
++Name=KDE Desktop
++Name[af]=KDE Werkskerm
++Name[ar]=سطح المكتب KDE
++Name[az]=KDE Masa üstü
++Name[be]=Працоўны Ñтол KDE
++Name[bn]=কে.ডি.ই. ডেসà§à¦•à¦Ÿà¦ª
++Name[br]=Burev KDE
++Name[bs]=KDE radna površina
++Name[ca]=Escriptori KDE
++Name[cs]=Pracovní plocha KDE
++Name[csb]=Pùlt KDE
++Name[cy]=Penbwrdd KDE
++Name[da]=KDE-desktop
++Name[de]=KDE-Arbeitsfläche
++Name[el]=Επιφάνεια εÏγασίας του KDE
++Name[eo]=KDE Labortablo
++Name[es]=Escritorio de KDE
++Name[et]=KDE töölaud
++Name[eu]=KDE mahaigaina
++Name[fa]=رومیزی KDE
++Name[fi]=KDE-työpöytä
++Name[fr]=Bureau de KDE
++Name[fy]=KDE Buroblêd
++Name[ga]=Deasc KDE
++Name[gl]=Escritório de KDE
++Name[he]=שולחן העבודה של KDE
++Name[hi]=केडीई डेसà¥à¤•à¤Ÿà¥‰à¤ª
++Name[hr]=KDE radna površina
++Name[hu]=Munkaasztal
++Name[id]=Desktop KDE
++Name[is]=KDE skjáborð
++Name[it]=Desktop KDE
++Name[ja]=KDE デスクトップ
++Name[ka]=KDE სáƒáƒ›áƒ£áƒ¨áƒáƒ დáƒáƒ¤áƒ
++Name[kk]=KDE Ò¯Ñтелі
++Name[km]=ផ្ទៃážáž» KDE
++Name[ko]=ë°ìŠ¤í¬í†±
++Name[lo]=ພື້ນທີ່ທຳງານ KDE
++Name[lt]=KDE Darbastalis
++Name[lv]=KDE Darbvirsma
++Name[mk]=KDE ДеÑктоп
++Name[mn]=КДЭ-Ðжлын тавцан
++Name[ms]=Desktop KDE
++Name[mt]=Desktop KDE
++Name[nb]=KDE Skrivebord
++Name[nds]=KDE-Schriefdisch
++Name[ne]=KDE डेसà¥à¤•à¤Ÿà¤ª
++Name[nl]=KDE Bureaublad
++Name[nn]=KDE-skrivebord
++Name[nso]=Desktop ya KDE
++Name[pa]=KDE ਵੇਹੜਾ
++Name[pl]=Pulpit KDE
++Name[pt]=Ecrã do KDE
++Name[pt_BR]=Ãrea de Trabalho KDE
++Name[ro]=Ecran KDE
++Name[ru]=Рабочий Ñтол KDE
++Name[rw]=KDE Ibiro
++Name[se]=KDE-Äallinbeavdi
++Name[sk]=Pracovná plocha
++Name[sl]=Namizje KDE
++Name[sr]=KDE радна површина
++Name[sr@Latn]=KDE radna površina
++Name[sv]=KDE-skrivbord
++Name[ta]=KDE மேலà¯à®®à¯‡à®šà¯ˆ
++Name[te]=కెడిఈ à°°à°‚à°—à°¸à±à°¥à°²à°‚
++Name[tg]=Мизи Кории KDE
++Name[th]=พื้นที่ทำงาน KDE
++Name[tr]=KDE Masaüstü
++Name[tt]=KDE Östäl
++Name[uk]=Ð¡Ñ‚Ñ–Ð»ÑŒÐ½Ð¸Ñ†Ñ KDE
++Name[uz]=KDE ish stoli
++Name[uz@cyrillic]=KDE иш Ñтоли
++Name[ven]=Desikithopo ya KDE
++Name[vi]=Môi trÆ°á»ng KDE
++Name[wa]=Sicribanne KDE
++Name[zh_CN]=KDE æ¡Œé¢
++Name[zh_TW]=KDE æ¡Œé¢
++Name[zu]=I-Desktop ye-KDE
++Type=Service
++X-KDE-StartupNotify=false
++OnlyShowIn=KDE;
++X-KDE-autostart-phase=0
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/kdesktop.kcfg v3.5.13-sru/kdesktop/kdesktop.kcfg
+--- /tmp/stable//kdebase/kdesktop/kdesktop.kcfg 2011-10-26 21:06:48.000000000 +0200
++++ v3.5.13-sru/kdesktop/kdesktop.kcfg 2012-09-08 19:41:29.000000000 +0200
+@@ -207,7 +207,7 @@
+ <label>Device Types to exclude</label>
+ <whatsthis>The device types which you do not want to see on the desktop.</whatsthis>
+ <!-- kdiconview.cc:261 -->
+- <!-- QString tmpList=config->readEntry("exclude","media/hdd_mounted,media/hdd_unmounted,media/floppy_unmounted,media/cdrom_unmounted,media/floppy5_unmounted"); -->
++ <!-- TQString tmpList=config->readEntry("exclude","media/hdd_mounted,media/hdd_unmounted,media/floppy_unmounted,media/cdrom_unmounted,media/floppy5_unmounted"); -->
+ </entry>
+ </group>
+ <group name="KDE">
+@@ -307,28 +307,21 @@
+ <entry key="UseUnmanagedLockWindows" type="Bool">
+ <default>false</default>
+ <label></label>
+- <whatsthis></whatsthis>
++ <whatsthis>When enabled this restores the old style unmanaged window behavior of desktop locking.</whatsthis>
+ <!-- /home/paco/cvsroot/kdebase/kdesktop/lock/lockprocess.cc:336 -->
+ <!-- mSaver = config.readEntry("UseUnmanagedLockWindows"); -->
+ </entry>
+- <entry key="UseTDESAK" type="Bool">
+- <default>true</default>
+- <label></label>
+- <whatsthis>Set to true to enable usage of the Trinity SAK anti-spoofing system</whatsthis>
+- <!-- /home/paco/cvsroot/kdebase/kdesktop/lock/lockprocess.cc:336 -->
+- <!-- mSaver = config.readEntry("UseTDESAK"); -->
+- </entry>
+ <entry key="ShowLockDateTime" type="Bool">
+ <default>true</default>
+ <label></label>
+- <whatsthis>Set to true to enable display of the date and time of desktop lock as an additional intrusion detection measure</whatsthis>
++ <whatsthis>When enabled the date and time when the desktop was locked is displayed as an additional intrusion detection measure.</whatsthis>
+ <!-- /home/paco/cvsroot/kdebase/kdesktop/lock/lockprocess.cc:336 -->
+ <!-- mSaver = config.readEntry("ShowLockDateTime"); -->
+ </entry>
+ <entry key="DelaySaverStart" type="Bool">
+ <default>true</default>
+ <label></label>
+- <whatsthis></whatsthis>
++ <whatsthis>When disabled the screensaver starts immediately when locking the desktop.</whatsthis>
+ <!-- /home/paco/cvsroot/kdebase/kdesktop/lock/lockprocess.cc:336 -->
+ <!-- mSaver = config.readEntry("UseUnmanagedLockWindows"); -->
+ </entry>
+@@ -353,7 +346,7 @@
+ <label></label>
+ <whatsthis></whatsthis>
+ <!-- minicli.cpp:191 -->
+- <!-- QStringList histList = config->readPathListEntry("History"); -->
++ <!-- TQStringList histList = config->readPathListEntry("History"); -->
+ <!-- minicli.cpp:242 -->
+ <!-- config->writePathEntry( "History", m_dlg->cbCommand->historyItems() ); -->
+ </entry>
+@@ -406,7 +399,7 @@
+ <label></label>
+ <whatsthis></whatsthis>
+ <!-- minicli.cpp:204 -->
+- <!-- QStringList compList = config->readPathListEntry("CompletionItems"); -->
++ <!-- TQStringList compList = config->readPathListEntry("CompletionItems"); -->
+ <!-- minicli.cpp:244 -->
+ <!-- config->writePathEntry( "CompletionItems", m_dlg->cbCommand->completionObject()->items() ); -->
+ </entry>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/kdiconview.cc v3.5.13-sru/kdesktop/kdiconview.cc
+--- /tmp/stable//kdebase/kdesktop/kdiconview.cc 2011-08-11 07:25:39.000000000 +0200
++++ v3.5.13-sru/kdesktop/kdiconview.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -159,7 +159,7 @@
+ // Initialize media handler
+ mMediaListView = new TQListView();
+
+- connect( TQApplication::tqclipboard(), TQT_SIGNAL(dataChanged()),
++ connect( TQApplication::clipboard(), TQT_SIGNAL(dataChanged()),
+ this, TQT_SLOT(slotClipboardDataChanged()) );
+
+ setURL( desktopURL() ); // sets m_url
+@@ -296,7 +296,7 @@
+ m_bSortDirectoriesFirst = KDesktopSettings::directoriesFirst();
+ m_itemsAlwaysFirst = KDesktopSettings::alwaysFirstItems(); // Distributor plug-in
+
+- if (KProtocolInfo::isKnownProtocol(TQString::tqfromLatin1("media")))
++ if (KProtocolInfo::isKnownProtocol(TQString::fromLatin1("media")))
+ m_enableMedia=KDesktopSettings::mediaEnabled();
+ else
+ m_enableMedia=false;
+@@ -960,20 +960,20 @@
+ return false;
+
+ // return true if desktop file
+- return ( (_item->mimetype() == TQString::tqfromLatin1("application/x-desktop"))
+- || (_item->mimetype() == TQString::tqfromLatin1("media/builtin-mydocuments"))
+- || (_item->mimetype() == TQString::tqfromLatin1("media/builtin-mycomputer"))
+- || (_item->mimetype() == TQString::tqfromLatin1("media/builtin-mynetworkplaces"))
+- || (_item->mimetype() == TQString::tqfromLatin1("media/builtin-printers"))
+- || (_item->mimetype() == TQString::tqfromLatin1("media/builtin-trash"))
+- || (_item->mimetype() == TQString::tqfromLatin1("media/builtin-webbrowser")) );
++ return ( (_item->mimetype() == TQString::fromLatin1("application/x-desktop"))
++ || (_item->mimetype() == TQString::fromLatin1("media/builtin-mydocuments"))
++ || (_item->mimetype() == TQString::fromLatin1("media/builtin-mycomputer"))
++ || (_item->mimetype() == TQString::fromLatin1("media/builtin-mynetworkplaces"))
++ || (_item->mimetype() == TQString::fromLatin1("media/builtin-printers"))
++ || (_item->mimetype() == TQString::fromLatin1("media/builtin-trash"))
++ || (_item->mimetype() == TQString::fromLatin1("media/builtin-webbrowser")) );
+ }
+
+ TQString KDIconView::stripDesktopExtension( const TQString & text )
+ {
+- if (text.right(7) == TQString::tqfromLatin1(".kdelnk"))
++ if (text.right(7) == TQString::fromLatin1(".kdelnk"))
+ return text.left(text.length() - 7);
+- else if (text.right(8) == TQString::tqfromLatin1(".desktop"))
++ else if (text.right(8) == TQString::fromLatin1(".desktop"))
+ return text.left(text.length() - 8);
+ return text;
+ }
+@@ -1047,7 +1047,7 @@
+ bool firstRun = (count() == 0); // no icons yet, this seems to be the initial loading
+
+ // delay updates until all new items have been created
+- tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+ TQRect area = iconArea();
+ setIconArea( TQRect( 0, 0, -1, -1 ) );
+
+@@ -1055,7 +1055,7 @@
+ KURL desktop_URL = desktopURL();
+ if (desktop_URL.isLocalFile())
+ desktopPath = desktop_URL.path();
+- // We have new items, so we'll need to tqrepaint in slotCompleted
++ // We have new items, so we'll need to repaint in slotCompleted
+ m_bNeedRepaint = true;
+ kdDebug(1214) << "KDIconView::slotNewItems count=" << entries.count() << endl;
+ KFileItemListIterator it(entries);
+@@ -1141,6 +1141,15 @@
+ kdDebug(1214)<<"Using saved position"<<endl;
+ }
+ }
++ else
++ {
++ // Not found, we'll need to save the new pos
++ kdDebug(1214)<<"slotNewItems(): New item without position information, try to find a sane location"<<endl;
++
++ moveToFreePosition(fileIVI);
++
++ m_bNeedSave = true;
++ }
+ }
+ }
+
+@@ -1150,7 +1159,7 @@
+ if ( m_autoAlign )
+ lineupIcons();
+
+- tqsetUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ }
+
+ // -----------------------------------------------------------------------------
+@@ -1198,7 +1207,7 @@
+ }
+ else
+ {
+- // In case we replace a big icon with a small one, need to tqrepaint.
++ // In case we replace a big icon with a small one, need to repaint.
+ updateContents();
+ // Can't do that with m_bNeedRepaint since slotCompleted isn't called
+ m_bNeedRepaint = false;
+@@ -1305,7 +1314,7 @@
+ if (!m_hasExistingPos)
+ rearrangeIcons();
+
+-// kdDebug(1204) << "KDIconView::slotCompleted save:" << m_bNeedSave << " tqrepaint:" << m_bNeedRepaint << endl;
++// kdDebug(1204) << "KDIconView::slotCompleted save:" << m_bNeedSave << " repaint:" << m_bNeedRepaint << endl;
+ if ( m_bNeedSave )
+ {
+ // Done here because we want to align icons only once initially, and each time new icons appear.
+@@ -1317,7 +1326,7 @@
+ }
+ if ( m_bNeedRepaint )
+ {
+- viewport()->tqrepaint();
++ viewport()->repaint();
+ m_bNeedRepaint = false;
+ }
+ }
+@@ -1327,7 +1336,7 @@
+ // This is very related to KonqDirPart::slotClipboardDataChanged
+
+ KURL::List lst;
+- TQMimeSource *data = TQApplication::tqclipboard()->data();
++ TQMimeSource *data = TQApplication::clipboard()->data();
+ if ( data->provides( "application/x-kde-cutselection" ) && data->provides( "text/uri-list" ) )
+ if ( KonqDrag::decodeIsCutSelection( data ) )
+ (void) KURLDrag::decode( data, lst );
+@@ -1471,7 +1480,7 @@
+ bool isImmutable = KGlobal::config()->isImmutable();
+
+ if ( (isColorDrag || isImageDrag) && !isUrlDrag ) {
+- // Hack to clear the drag tqshape
++ // Hack to clear the drag shape
+ bool bMovable = itemsMovable();
+ bool bSignals = signalsBlocked();
+ setItemsMovable(false);
+@@ -1519,7 +1528,7 @@
+ if( adjustedAnyItems )
+ {
+ // Make sure the viewport isn't unnecessarily resized by now,
+- // then schedule a tqrepaint to remove any garbage pixels.
++ // then schedule a repaint to remove any garbage pixels.
+ resizeContents( width(), height() );
+ viewport()->update();
+ }
+@@ -1541,7 +1550,7 @@
+ {
+ m_gotIconsArea = true; // now we have it!
+
+- if (( iconArea() == wr ) && (m_needDesktopAlign == false)) return; // nothing changed; avoid tqrepaint/saveIconPosition ...
++ if (( iconArea() == wr ) && (m_needDesktopAlign == false)) return; // nothing changed; avoid repaint/saveIconPosition ...
+
+ TQRect oldArea = iconArea();
+ setIconArea( wr );
+@@ -1551,8 +1560,9 @@
+ kdDebug(1204) << " oldArea: " << oldArea.x() << "," << oldArea.y()
+ << " " << oldArea.width() << "x" << oldArea.height() << endl;
+
+- if ( m_autoAlign )
+- int dummy = 0; //lineupIcons();
++ if ( m_autoAlign ) {
++ //lineupIcons();
++ }
+ else {
+ bool needRepaint = false;
+ TQIconViewItem* item;
+@@ -1593,8 +1603,8 @@
+ }
+ }
+ if ( needRepaint ) {
+- viewport()->tqrepaint( FALSE );
+- tqrepaint( FALSE );
++ viewport()->repaint( FALSE );
++ repaint( FALSE );
+ saveIconPositions();
+ }
+ }
+@@ -1718,7 +1728,7 @@
+ TQRect rect=item->rect();
+ if (m_bVertAlign)
+ {
+- kdDebug(1214)<<"moveToFreePosition for vertical tqalignment"<<endl;
++ kdDebug(1214)<<"moveToFreePosition for vertical alignment"<<endl;
+
+ rect.moveTopLeft(TQPoint(spacing(),spacing()));
+ do
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/kfileividesktop.cpp v3.5.13-sru/kdesktop/kfileividesktop.cpp
+--- /tmp/stable//kdebase/kdesktop/kfileividesktop.cpp 2011-03-12 07:57:59.000000000 +0100
++++ v3.5.13-sru/kdesktop/kfileividesktop.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -73,15 +73,15 @@
+
+ int spread = shadowThickness();
+ TQRect itemTextRect = textRect();
+- TQRect tqitemRect = rect();
++ TQRect itemRect = rect();
+
+ itemTextRect.setBottom( itemTextRect.bottom() + spread );
+ itemTextRect.setRight( itemTextRect.right() + spread );
+- tqitemRect.setBottom( tqitemRect.bottom() + spread );
+- tqitemRect.setRight( tqitemRect.right() + spread );
++ itemRect.setBottom( itemRect.bottom() + spread );
++ itemRect.setRight( itemRect.right() + spread );
+
+ setTextRect( itemTextRect );
+- setItemRect( tqitemRect );
++ setItemRect( itemRect );
+ }
+
+ void KFileIVIDesktop::paintItem( TQPainter *p, const TQColorGroup &cg)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/kfileividesktop.h v3.5.13-sru/kdesktop/kfileividesktop.h
+--- /tmp/stable//kdebase/kdesktop/kfileividesktop.h 2011-03-12 07:57:59.000000000 +0100
++++ v3.5.13-sru/kdesktop/kfileividesktop.h 2012-09-08 19:41:29.000000000 +0200
+@@ -91,7 +91,7 @@
+ * Builds the shadow. As the algorithm is pretty slow (at pixel level),
+ * This method is triggered only if the configuration has changed.
+ * @param p the painter for drawing the item
+- * @param align the shadow tqalignment
++ * @param align the shadow alignment
+ * @param shadowColor the shadow color
+ */
+ virtual TQImage *buildShadow(TQPainter *p, const int align, TQColor &shadowColor);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/krootwm.cc v3.5.13-sru/kdesktop/krootwm.cc
+--- /tmp/stable//kdebase/kdesktop/krootwm.cc 2011-07-09 08:16:54.000000000 +0200
++++ v3.5.13-sru/kdesktop/krootwm.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -243,9 +243,9 @@
+ if (s == s_choices[c])
+ { rightButtonChoice = (menuChoice) c; break; }
+
+- // Read configuration for icons tqalignment
++ // Read configuration for icons alignment
+ if ( m_bDesktopEnabled ) {
+- bool startup = true; m_pDesktop->iconView()->setAutoAlign( KDesktopSettings::autoLineUpIcons() );
++ m_pDesktop->iconView()->setAutoAlign( KDesktopSettings::autoLineUpIcons() );
+ if ( kapp->authorize( "editable_desktop_icons" ) ) {
+ m_pDesktop->iconView()->setItemsMovable( !KDesktopSettings::lockIcons() );
+ KToggleAction *aLockIcons = static_cast<KToggleAction*>(m_actionCollection->action("lock_icons"));
+@@ -636,8 +636,8 @@
+ windowListMenu->init();
+ disconnect( windowListMenu, TQT_SIGNAL( aboutToShow() ),
+ this, TQT_SLOT( slotWindowListAboutToShow() ) ); // avoid calling init() twice
+- // windowListMenu->rect() is not valid before showing, use tqsizeHint()
+- windowListMenu->popup(r.center() - TQRect( TQPoint( 0, 0 ), windowListMenu->tqsizeHint()).center());
++ // windowListMenu->rect() is not valid before showing, use sizeHint()
++ windowListMenu->popup(r.center() - TQRect( TQPoint( 0, 0 ), windowListMenu->sizeHint()).center());
+ windowListMenu->selectActiveWindow(); // make the popup more useful
+ connect( windowListMenu, TQT_SIGNAL( aboutToShow() ),
+ this, TQT_SLOT( slotWindowListAboutToShow() ) );
+@@ -656,7 +656,7 @@
+ slotPopulateSessions();
+ disconnect( sessionsMenu, TQT_SIGNAL( aboutToShow() ),
+ this, TQT_SLOT( slotPopulateSessions() ) ); // avoid calling init() twice
+- sessionsMenu->popup(r.center() - TQRect( TQPoint( 0, 0 ), sessionsMenu->tqsizeHint()).center());
++ sessionsMenu->popup(r.center() - TQRect( TQPoint( 0, 0 ), sessionsMenu->sizeHint()).center());
+ connect( sessionsMenu, TQT_SIGNAL( aboutToShow() ),
+ TQT_SLOT( slotPopulateSessions() ) );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/kxdglauncher.cpp v3.5.13-sru/kdesktop/kxdglauncher.cpp
+--- /tmp/stable//kdebase/kdesktop/kxdglauncher.cpp 2011-08-11 07:25:39.000000000 +0200
++++ v3.5.13-sru/kdesktop/kxdglauncher.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -103,7 +103,7 @@
+ TQDir myqdir;
+ if (myqdir.exists(getDocumentPath(), TRUE) == true) {
+ if (args->isSet( "getpath" ) == true) {
+- printf("%s\n\r", getDocumentPath().ascii());
++ printf("%s\n\r", (const char *)getDocumentPath().local8Bit());
+ return 0;
+ }
+ else {
+@@ -140,7 +140,7 @@
+ config.writeEntry("XDG_DOCUMENTS_DIR", TQString("\"") + xdgModifiedDirectory + TQString("\""), true);
+ config.sync();
+ if (args->isSet( "getpath" ) == true) {
+- printf("%s\n\r", getDocumentPath().ascii());
++ printf("%s\n\r", (const char *)getDocumentPath().local8Bit());
+ return 0;
+ }
+ else {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/autologout.cc v3.5.13-sru/kdesktop/lock/autologout.cc
+--- /tmp/stable//kdebase/kdesktop/lock/autologout.cc 2011-09-14 07:31:14.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/autologout.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -55,7 +55,7 @@
+ TQLabel *infoLabel = new TQLabel(i18n("<qt>To prevent being logged out, resume using this session by moving the mouse or pressing a key.</qt>"), frame);
+
+ mStatusLabel = new TQLabel("<b> </b>", frame);
+- mStatusLabel->tqsetAlignment(TQLabel::AlignCenter);
++ mStatusLabel->setAlignment(TQLabel::AlignCenter);
+
+ TQLabel *mProgressLabel = new TQLabel("Time Remaining:", frame);
+ mProgressRemaining = new TQProgressBar(frame);
+@@ -82,6 +82,8 @@
+ mCountdownTimerId = startTimer(1000/25);
+
+ connect(tqApp, TQT_SIGNAL(activity()), TQT_SLOT(slotActivity()));
++
++ setFixedSize( sizeHint() );
+ }
+
+ AutoLogout::~AutoLogout()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/CMakeLists.txt v3.5.13-sru/kdesktop/lock/CMakeLists.txt
+--- /tmp/stable//kdebase/kdesktop/lock/CMakeLists.txt 2011-10-26 21:54:40.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/CMakeLists.txt 2012-09-08 19:41:29.000000000 +0200
+@@ -2,6 +2,8 @@
+ #
+ # (C) 2010-2011 Serghei Amelian
+ # serghei (DOT) amelian (AT) gmail.com
++# (C) 2012 Timothy Pearson
++# kb9vqf (AT) pearsoncomputing.net
+ #
+ # Improvements and feedback are welcome
+ #
+@@ -35,6 +37,6 @@
+
+ tde_add_executable( ${target} AUTOMOC
+ SOURCES ${${target}_SRCS}
+- LINK kdesktopsettings-static dmctl-static kio-shared Xext ${GL_LIBRARY}
++ LINK kdesktopsettings-static dmctl-static kio-shared Xext ${GL_LIBRARY} "${LINKER_IMMEDIATE_BINDING_FLAGS}"
+ DESTINATION ${BIN_INSTALL_DIR}
+ )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/infodlg.cc v3.5.13-sru/kdesktop/lock/infodlg.cc
+--- /tmp/stable//kdebase/kdesktop/lock/infodlg.cc 2011-09-14 07:31:14.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/infodlg.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -86,7 +86,7 @@
+ KUser user;
+
+ mStatusLabel = new TQLabel( "<b> </b>", frame );
+- mStatusLabel->tqsetAlignment( TQLabel::AlignCenter );
++ mStatusLabel->setAlignment( TQLabel::AlignCenter );
+
+ TQVBoxLayout *unlockDialogLayout = new TQVBoxLayout( this );
+ unlockDialogLayout->addWidget( frame );
+@@ -99,6 +99,7 @@
+ frameLayout->addLayout( layStatus, 1, 1 );
+
+ installEventFilter(this);
++ setFixedSize( sizeHint() );
+ }
+
+ InfoDlg::~InfoDlg()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/lockdlg.cc v3.5.13-sru/kdesktop/lock/lockdlg.cc
+--- /tmp/stable//kdebase/kdesktop/lock/lockdlg.cc 2011-10-16 21:40:20.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/lockdlg.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -115,7 +115,7 @@
+ frame->setFrameStyle( TQFrame::Panel | TQFrame::Raised );
+ frame->setLineWidth( 2 );
+
+- TQLabel *pixLabel;
++ TQLabel *pixLabel = NULL;
+ if (!trinity_desktop_lock_use_system_modal_dialogs) {
+ pixLabel = new TQLabel( frame, "pixlabel" );
+ pixLabel->setPixmap(DesktopIcon("lock"));
+@@ -134,13 +134,13 @@
+ i18n("<nobr><b>The session was locked by %1</b><br>").arg( user.fullName() ), frame );
+ }
+
+- TQLabel *lockDTLabel;
++ TQLabel *lockDTLabel = NULL;
+ if ((trinity_desktop_lock_use_system_modal_dialogs) && (!m_lockStartDT.isNull())) {
+ lockDTLabel = new TQLabel(i18n("This session has been locked since %1").arg(m_lockStartDT.toString()), frame);
+ }
+
+ mStatusLabel = new TQLabel( "<b> </b>", frame );
+- mStatusLabel->tqsetAlignment( TQLabel::AlignCenter );
++ mStatusLabel->setAlignment( TQLabel::AlignCenter );
+
+ mLayoutButton = new TQPushButton( frame );
+ mLayoutButton->setFlat( true );
+@@ -215,6 +215,7 @@
+ mNewSessButton->hide();
+
+ installEventFilter(this);
++ setFixedSize( sizeHint() );
+
+ mFailedTimerId = 0;
+ mTimeoutTimerId = startTimer(PASSDLG_HIDE_TIMEOUT);
+@@ -224,8 +225,15 @@
+
+ DCOPRef kxkb("kxkb", "kxkb");
+ if( !kxkb.isNull() ) {
+- layoutsList = kxkb.call("getLayoutsList");
+- TQString currentLayout = kxkb.call("getCurrentLayout");
++ DCOPReply reply = kxkb.call("getLayoutsList");
++ if (reply.isValid()) {
++ layoutsList = reply;
++ }
++ reply = kxkb.call("getCurrentLayout");
++ TQString currentLayout;
++ if (reply.isValid()) {
++ reply.get(currentLayout);
++ }
+ if( !currentLayout.isEmpty() && layoutsList.count() > 1 ) {
+ currLayout = layoutsList.find(currentLayout);
+ if (currLayout == layoutsList.end())
+@@ -268,7 +276,7 @@
+ {
+ mLayoutButton->setText( txt );
+ TQSize sz = mLayoutButton->fontMetrics().size( 0, txt );
+- int mrg = mLayoutButton->tqstyle().tqpixelMetric( TQStyle::PM_ButtonMargin ) * 2;
++ int mrg = mLayoutButton->style().pixelMetric( TQStyle::PM_ButtonMargin ) * 2;
+ mLayoutButton->setFixedSize( sz.width() + mrg, sz.height() + mrg );
+ }
+
+@@ -577,7 +585,7 @@
+ TQLabel *label2 = new TQLabel( text, winFrame );
+ KPushButton *button = new KPushButton( KStdGuiItem::ok(), winFrame );
+ button->setDefault( true );
+- button->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred ) );
++ button->setSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred ) );
+ connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( accept() ) );
+
+ TQGridLayout *grid = new TQGridLayout( winFrame, 2, 2, 10 );
+@@ -598,6 +606,7 @@
+ {
+ TQDialog::show();
+ TQApplication::flushX();
++ setFixedSize( sizeHint() );
+ }
+
+ void PasswordDlg::slotStartNewSession()
+@@ -788,9 +797,9 @@
+ ns++;
+ }
+ int fw = lv->frameWidth() * 2;
+- TQSize hds( lv->header()->tqsizeHint() );
++ TQSize hds( lv->header()->sizeHint() );
+ lv->setMinimumWidth( fw + hds.width() +
+- (ns > 10 ? tqstyle().tqpixelMetric(TQStyle::PM_ScrollBarExtent) : 0 ) );
++ (ns > 10 ? style().pixelMetric(TQStyle::PM_ScrollBarExtent) : 0 ) );
+ lv->setFixedHeight( fw + hds.height() +
+ itm->height() * (ns < 6 ? 6 : ns > 10 ? 10 : ns) );
+ lv->header()->adjustHeaderSize();
+@@ -818,6 +827,8 @@
+ connect( btn, TQT_SIGNAL(clicked()), &dialog, TQT_SLOT(reject()) );
+ vbox2->addWidget( btn );
+
++ dialog.setFixedSize( dialog.sizeHint() );
++
+ int ret = static_cast< LockProcess* >(parent())->execDialog( &dialog );
+ if (ret != TQDialog::Rejected) {
+ TQDialog::reject();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/lockprocess.cc v3.5.13-sru/kdesktop/lock/lockprocess.cc
+--- /tmp/stable//kdebase/kdesktop/lock/lockprocess.cc 2011-10-23 21:47:02.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/lockprocess.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -4,7 +4,7 @@
+ //
+ // Copyright (c) 1999 Martin R. Jones <mjones@kde.org>
+ // Copyright (c) 2003 Oswald Buddenhagen <ossi@kde.org>
+-// Copyright (c) 2010-2011 Timothy Pearson <kb9vqf@pearsoncomputing.net>
++// Copyright (c) 2010-2012 Timothy Pearson <kb9vqf@pearsoncomputing.net>
+ //
+
+ //kdesktop keeps running and checks user inactivity
+@@ -111,6 +111,10 @@
+ #define LOCK_GRACE_DEFAULT 5000
+ #define AUTOLOGOUT_DEFAULT 600
+
++// Setting this define is INSECURE
++// Use it for debugging purposes ONLY
++// #define KEEP_MOUSE_UNGRABBED 1
++
+ // These lines are taken on 10/2009 from X.org (X11/XF86keysym.h), defining some special multimedia keys
+ #define XF86XK_AudioMute 0x1008FF12
+ #define XF86XK_AudioRaiseVolume 0x1008FF13
+@@ -137,26 +141,27 @@
+ bool trinity_desktop_lock_autohide_lockdlg = TRUE;
+ bool trinity_desktop_lock_closing_windows = FALSE;
+ bool trinity_desktop_lock_in_sec_dlg = FALSE;
++bool trinity_desktop_hack_active = FALSE;
+
+ #define ENABLE_CONTINUOUS_LOCKDLG_DISPLAY \
+ if (!mForceContinualLockDisplayTimer->isActive()) mForceContinualLockDisplayTimer->start(100, FALSE); \
+-trinity_desktop_lock_autohide_lockdlg = FALSE;
++trinity_desktop_lock_autohide_lockdlg = FALSE; \
++mHackDelayStartupTimer->stop();
+
+ #define DISABLE_CONTINUOUS_LOCKDLG_DISPLAY \
+ mForceContinualLockDisplayTimer->stop(); \
+-trinity_desktop_lock_autohide_lockdlg = TRUE;
++trinity_desktop_lock_autohide_lockdlg = TRUE; \
++mHackDelayStartupTimer->stop();
+
+ //===========================================================================
+ //
+ // Screen saver handling process. Handles screensaver window,
+ // starting screensaver hacks, and password entry.
+ //
+-LockProcess::LockProcess(bool child, bool useBlankOnly)
+- : TQWidget(0L, "saver window", (trinity_desktop_lock_use_system_modal_dialogs?((WFlags)(WStyle_StaysOnTop|WStyle_Customize|WStyle_NoBorder)):((WFlags)WX11BypassWM))),
++LockProcess::LockProcess()
++ : TQWidget(0L, "saver window", ((WFlags)(WStyle_StaysOnTop|WStyle_Customize|WStyle_NoBorder))),
+ mOpenGLVisual(0),
+- child_saver(child),
+ mParent(0),
+- mUseBlankOnly(useBlankOnly),
+ mShowLockDateTime(false),
+ mSuspended(false),
+ mVisibility(false),
+@@ -173,21 +178,29 @@
+ mDialogControlLock(false),
+ mForceReject(false),
+ currentDialog(NULL),
++ mEnsureScreenHiddenTimer(NULL),
+ mForceContinualLockDisplayTimer(NULL),
+ mEnsureVRootWindowSecurityTimer(NULL),
+ mHackDelayStartupTimer(NULL),
+ mHackDelayStartupTimeout(0),
+ mHackStartupEnabled(true),
++ mResizingDesktopLock(false),
+ m_rootPixmap(NULL),
+ mBackingStartupDelayTimer(0),
+- m_startupStatusDialog(NULL)
++ m_startupStatusDialog(NULL),
++ m_mouseDown(0),
++ m_mousePrevX(0),
++ m_mousePrevY(0),
++ m_dialogPrevX(0),
++ m_dialogPrevY(0)
+ {
++#ifdef KEEP_MOUSE_UNGRABBED
++ setNFlags(WX11DisableMove|WX11DisableClose|WX11DisableShade|WX11DisableMinimize|WX11DisableMaximize);
++#endif
++
+ setupSignals();
+ setupPipe();
+
+- mShowLockDateTime = KDesktopSettings::showLockDateTime();
+- mlockDateTime = TQDateTime::currentDateTime();
+-
+ kapp->installX11EventFilter(this);
+
+ mForceContinualLockDisplayTimer = new TQTimer( this );
+@@ -199,8 +212,13 @@
+ mEnsureVRootWindowSecurityTimer = new TQTimer( this );
+ connect( mEnsureVRootWindowSecurityTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(repaintRootWindowIfNeeded()) );
+
+- mHackDelayStartupTimeout = trinity_desktop_lock_delay_screensaver_start?KDesktopSettings::timeout()*1000:10*1000;
+- mHackStartupEnabled = trinity_desktop_lock_delay_screensaver_start?KDesktopSettings::screenSaverEnabled():true;
++ connect(tqApp, TQT_SIGNAL(mouseInteraction(XEvent *)), TQT_SLOT(slotMouseActivity(XEvent *)));
++
++ // Try to get the root pixmap
++ if (!m_rootPixmap) m_rootPixmap = new KRootPixmap(this);
++ m_rootPixmap->setCustomPainting(true);
++ connect(m_rootPixmap, TQT_SIGNAL(backgroundUpdated(const TQPixmap &)), this, TQT_SLOT(slotPaintBackground(const TQPixmap &)));
++ m_rootPixmap->start();
+
+ // Get root window size
+ XWindowAttributes rootAttr;
+@@ -243,13 +261,11 @@
+
+ TQStringList dmopt =
+ TQStringList::split(TQChar(','),
+- TQString::tqfromLatin1( ::getenv( "XDM_MANAGED" )));
++ TQString::fromLatin1( ::getenv( "XDM_MANAGED" )));
+ for (TQStringList::ConstIterator it = dmopt.begin(); it != dmopt.end(); ++it)
+ if ((*it).startsWith("method="))
+ mMethod = (*it).mid(7);
+
+- configure();
+-
+ #ifdef HAVE_DPMS
+ if (mDPMSDepend) {
+ BOOL on;
+@@ -266,7 +282,11 @@
+ #endif
+
+ #if (QT_VERSION-0 >= 0x030200) // XRANDR support
+- connect( kapp->desktop(), TQT_SIGNAL( resized( int )), TQT_SLOT( desktopResized()));
++ connect( kapp->desktop(), TQT_SIGNAL( resized( int )), TQT_SLOT( desktopResized()));
++#endif
++
++#ifdef KEEP_MOUSE_UNGRABBED
++ setEnabled(false);
+ #endif
+
+ greetPlugin.library = 0;
+@@ -288,6 +308,10 @@
+ hackResumeTimer->stop();
+ delete hackResumeTimer;
+ }
++ if (mEnsureScreenHiddenTimer != NULL) {
++ mEnsureScreenHiddenTimer->stop();
++ delete mEnsureScreenHiddenTimer;
++ }
+ if (mForceContinualLockDisplayTimer != NULL) {
+ mForceContinualLockDisplayTimer->stop();
+ delete mForceContinualLockDisplayTimer;
+@@ -316,15 +340,36 @@
+ mPipeOpen_out = false;
+ }
+
++//---------------------------------------------------------------------------
++//
++// Initialization for startup
++// This is where instance settings should be set--all objects should have already been created in the constructor above
++//
++void LockProcess::init(bool child, bool useBlankOnly)
++{
++ if (!trinity_desktop_lock_use_system_modal_dialogs) {
++ setWFlags((WFlags)WX11BypassWM);
++ }
++
++ child_saver = child;
++ mUseBlankOnly = useBlankOnly;
++
++ mShowLockDateTime = KDesktopSettings::showLockDateTime();
++ mlockDateTime = TQDateTime::currentDateTime();
++
++ mHackDelayStartupTimeout = trinity_desktop_lock_delay_screensaver_start?KDesktopSettings::timeout()*1000:10*1000;
++ mHackStartupEnabled = trinity_desktop_lock_use_system_modal_dialogs?KDesktopSettings::screenSaverEnabled():true;
++
++ configure();
++}
++
+ static int signal_pipe[2];
+
+ static void sigterm_handler(int)
+ {
+ if (!trinity_desktop_lock_in_sec_dlg) {
+- char tmp = 'T';
+- if (::write( signal_pipe[1], &tmp, 1) == -1) {
+- // Error handler to shut up gcc warnings
+- }
++ // Exit uncleanly
++ exit(1);
+ }
+ }
+
+@@ -410,7 +455,7 @@
+ if (numread > 0) {
+ if (readbuf[0] == 'C') {
+ mInfoMessageDisplayed=false;
+- while (mDialogControlLock == true) sleep(1);
++ while (mDialogControlLock == true) usleep(100000);
+ mDialogControlLock = true;
+ if (currentDialog != NULL) {
+ mForceReject = true;
+@@ -423,7 +468,7 @@
+ to_display = to_display.remove(0,1);
+ // Lock out password dialogs and close any active dialog
+ mInfoMessageDisplayed=true;
+- while (mDialogControlLock == true) sleep(1);
++ while (mDialogControlLock == true) usleep(100000);
+ mDialogControlLock = true;
+ if (currentDialog != NULL) {
+ mForceReject = true;
+@@ -444,7 +489,7 @@
+ to_display = to_display.remove(0,1);
+ // Lock out password dialogs and close any active dialog
+ mInfoMessageDisplayed=true;
+- while (mDialogControlLock == true) sleep(1);
++ while (mDialogControlLock == true) usleep(100000);
+ mDialogControlLock = true;
+ if (currentDialog != NULL) {
+ mForceReject = true;
+@@ -468,7 +513,7 @@
+ to_display = to_display.remove(0,1);
+ // Lock out password dialogs and close any active dialog
+ mInfoMessageDisplayed=true;
+- while (mDialogControlLock == true) sleep(1);
++ while (mDialogControlLock == true) usleep(100000);
+ mDialogControlLock = true;
+ if (currentDialog != NULL) {
+ mForceReject = true;
+@@ -517,7 +562,7 @@
+ sigaddset(&(act.sa_mask), SIGQUIT);
+ act.sa_flags = 0;
+ sigaction(SIGQUIT, &act, 0L);
+- // exit cleanly on SIGTERM
++ // exit uncleanly on SIGTERM
+ act.sa_handler= sigterm_handler;
+ sigemptyset(&(act.sa_mask));
+ sigaddset(&(act.sa_mask), SIGTERM);
+@@ -627,14 +672,21 @@
+ return;
+ }
+
++ setGeometry(0, 0, mRootWidth, mRootHeight);
++
+ int ret;
+ SecureDlg inDlg( this );
+ inDlg.setRetInt(&ret);
+ mBusy = true;
+ execDialog( &inDlg );
+ mBusy = false;
++ bool forcecontdisp = mForceContinualLockDisplayTimer->isActive();
++ if (forcecontdisp) {
++ DISABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ }
+ trinity_desktop_lock_in_sec_dlg = false;
+ if (ret == 0) {
++ trinity_desktop_lock_closing_windows = 1;
+ kapp->quit();
+ }
+ if (ret == 1) {
+@@ -644,6 +696,9 @@
+ // the screensaver kicks in because the user moved the mouse after
+ // selecting "lock screen", that looks really untidy.
+ mBusy = true;
++ trinity_desktop_lock_forced = true;
++ // Make sure the cursor is not showing busy status
++ setCursor( tqarrowCursor );
+ if (startLock())
+ {
+ if (trinity_desktop_lock_delay_screensaver_start) {
+@@ -652,19 +707,48 @@
+ else {
+ TQTimer::singleShot(1000, this, TQT_SLOT(slotDeadTimePassed()));
+ }
++ if (trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced && trinity_desktop_lock_use_system_modal_dialogs) {
++ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
++ }
++ else {
++ if (mHackStartupEnabled == true) {
++ startHack();
++ }
++ else {
++ if (trinity_desktop_lock_use_system_modal_dialogs == true) {
++ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
++ }
++ else {
++ startHack();
++ }
++ }
++ }
+ return;
+ }
+ stopSaver();
+ mBusy = false;
++ return;
+ }
+ if (ret == 2) {
++ trinity_desktop_lock_closing_windows = 1;
+ if (system("ksysguard &") == -1) {
+ // Error handler to shut up gcc warnings
+ }
+ kapp->quit();
+ }
++ if (ret == 3) {
++ trinity_desktop_lock_closing_windows = 1;
++ DCOPRef("ksmserver","ksmserver").send("logout", (int)KApplication::ShutdownConfirmYes, (int)KApplication::ShutdownTypeNone, (int)KApplication::ShutdownModeInteractive);
++ kapp->quit();
++ }
+ // FIXME
+- // Handle remaining two cases (logoff menu and switch user)
++ // Handle remaining case (switch user)
++ if (forcecontdisp) {
++ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
++ }
+ stopSaver();
+ }
+
+@@ -725,8 +809,13 @@
+ if (mPriority > 19) mPriority = 19;
+
+ mSaver = KDesktopSettings::saver();
+- if (mSaver.isEmpty() || mUseBlankOnly)
++ if (mSaver.isEmpty() || mUseBlankOnly) {
+ mSaver = "KBlankscreen.desktop";
++ }
++ if (KDesktopSettings::screenSaverEnabled() == false) {
++ mSaver = "";
++ mSaverExec = "";
++ }
+
+ readSaver();
+
+@@ -869,7 +958,6 @@
+ // this is a security risk and has been deactivated--welcome to the 21st century folks!
+ // setBackgroundMode(TQWidget::NoBackground);
+
+- setCursor( tqblankCursor );
+ setGeometry(0, 0, mRootWidth, mRootHeight);
+
+ kdDebug(1204) << "Saver window Id: " << winId() << endl;
+@@ -878,8 +966,10 @@
+ void LockProcess::desktopResized()
+ {
+ mBusy = true;
+- suspend();
+- setCursor( tqblankCursor );
++ mHackDelayStartupTimer->stop();
++ stopHack();
++ DISABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ mResizingDesktopLock = true;
+
+ // Get root window size
+ XWindowAttributes rootAttr;
+@@ -887,8 +977,13 @@
+ mRootWidth = rootAttr.width;
+ mRootHeight = rootAttr.height;
+
++ // Resize the background widget
+ setGeometry(0, 0, mRootWidth, mRootHeight);
+
++ // Black out the background widget to hide ugly resize tiling artifacts
++ setBackgroundColor(black);
++ erase();
++
+ // This slot needs to be able to execute very rapidly so as to prevent the user's desktop from ever
+ // being displayed, so we finish the hack restarting/display prettying operations in a separate timed slot
+ if (resizeTimer == NULL) {
+@@ -900,20 +995,37 @@
+
+ void LockProcess::doDesktopResizeFinish()
+ {
+- stopHack();
+-
+- while (mDialogControlLock == true) sleep(1);
+- mDialogControlLock = true;
+- if (closeCurrentWindow()) {
+- TQTimer::singleShot( 0, this, SLOT(doDesktopResizeFinish()) );
+- mDialogControlLock = false;
+- }
+- mDialogControlLock = false;
++ while (mDialogControlLock == true) usleep(100000);
++ mDialogControlLock = true;
++ if (closeCurrentWindow()) {
++ TQTimer::singleShot( 0, this, SLOT(doDesktopResizeFinish()) );
++ mDialogControlLock = false;
++ return;
++ }
++ mDialogControlLock = false;
+
+- // Restart the hack as the window size is now different
+- startHack();
++ // Restart the hack as the window size is now different
++ if (trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced && trinity_desktop_lock_use_system_modal_dialogs) {
++ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
++ }
++ else {
++ if (mHackStartupEnabled == true) {
++ startHack();
++ }
++ else {
++ if (trinity_desktop_lock_use_system_modal_dialogs == true) {
++ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
++ }
++ else {
++ startHack();
++ }
++ }
++ }
+
+- mBusy = false;
++ mResizingDesktopLock = false;
++ mBusy = false;
+ }
+
+ //---------------------------------------------------------------------------
+@@ -1047,9 +1159,16 @@
+ //
+ bool LockProcess::grabMouse()
+ {
++ HANDLE cursorHandle;
++ if (trinity_desktop_hack_active) {
++ cursorHandle = TQCursor(tqblankCursor).handle();
++ }
++ else {
++ cursorHandle = TQCursor(tqbusyCursor).handle();
++ }
+ int rv = XGrabPointer( qt_xdisplay(), TQApplication::desktop()->winId(),
+ True, GRABEVENTS, GrabModeAsync, GrabModeAsync, None,
+- TQCursor(tqblankCursor).handle(), CurrentTime );
++ cursorHandle, CurrentTime );
+
+ return (rv == GrabSuccess);
+ }
+@@ -1064,22 +1183,24 @@
+
+ if (!grabKeyboard())
+ {
+- sleep(1);
++ usleep(100000);
+ if (!grabKeyboard())
+ {
+ return false;
+ }
+ }
+
++#ifndef KEEP_MOUSE_UNGRABBED
+ if (!grabMouse())
+ {
+- sleep(1);
++ usleep(100000);
+ if (!grabMouse())
+ {
+ XUngrabKeyboard(qt_xdisplay(), CurrentTime);
+ return false;
+ }
+ }
++#endif
+
+ lockXF86();
+
+@@ -1117,7 +1238,7 @@
+ m_grayImage.fill(0); // Set the alpha buffer to 0 (fully transparent)
+ m_grayImage.setAlphaBuffer(true);
+ TQPixmap m_root;
+- m_root.resize( TQApplication::desktop()->geometry().width(), TQApplication::desktop()->geometry().height() );
++ m_root.resize(mRootWidth, mRootHeight);
+ TQPainter p;
+ p.begin( &m_root );
+ m_grayImage.setAlphaBuffer(false);
+@@ -1134,24 +1255,31 @@
+ createSaverWindow();
+ move(0, 0);
+ show();
+- setCursor( tqblankCursor );
+
+ raise();
+ XSync(qt_xdisplay(), False);
+ setVRoot( winId(), winId() );
+- if (!(trinity_desktop_lock_delay_screensaver_start && (trinity_desktop_lock_forced || trinity_desktop_lock_in_sec_dlg))) {
+- if (backingPixmap.isNull())
++ if (((!(trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced)) && (!trinity_desktop_lock_in_sec_dlg)) && mHackStartupEnabled) {
++ if (backingPixmap.isNull()) {
+ setBackgroundColor(black);
+- else
++ }
++ else {
+ setBackgroundPixmap(backingPixmap);
++ }
++ setGeometry(0, 0, mRootWidth, mRootHeight);
+ erase();
+ }
+ if (trinity_desktop_lock_use_system_modal_dialogs) {
+ // Try to get the root pixmap
+- m_rootPixmap = new KRootPixmap(this);
++ if (!m_rootPixmap) m_rootPixmap = new KRootPixmap(this);
+ m_rootPixmap->setCustomPainting(true);
+- connect(m_rootPixmap, TQT_SIGNAL(backgroundUpdated(const TQPixmap &)), this, TQT_SLOT(slotPaintBackground(const TQPixmap &)));
+ m_rootPixmap->start();
++ // Sometimes KRootPixmap fails...make sure the desktop is hidden regardless
++ if (!mEnsureScreenHiddenTimer) {
++ mEnsureScreenHiddenTimer = new TQTimer( this );
++ connect( mEnsureScreenHiddenTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotForcePaintBackground()) );
++ mEnsureScreenHiddenTimer->start(2000, true);
++ }
+ }
+
+ if (trinity_desktop_lock_in_sec_dlg == FALSE) {
+@@ -1160,7 +1288,18 @@
+ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
+ }
+ else {
+- startHack();
++ if (mHackStartupEnabled == true) {
++ startHack();
++ }
++ else {
++ if (trinity_desktop_lock_use_system_modal_dialogs == true) {
++ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
++ }
++ else {
++ startHack();
++ }
++ }
+ }
+ }
+ return true;
+@@ -1194,7 +1333,7 @@
+ TQVariant LockProcess::getConf(void *ctx, const char *key, const TQVariant &dflt)
+ {
+ LockProcess *that = (LockProcess *)ctx;
+- TQString fkey = TQString::tqfromLatin1( key ) + '=';
++ TQString fkey = TQString::fromLatin1( key ) + '=';
+ for (TQStringList::ConstIterator it = that->mPluginOptions.begin();
+ it != that->mPluginOptions.end(); ++it)
+ if ((*it).startsWith( fkey ))
+@@ -1275,6 +1414,7 @@
+ if (!mHackProc.isRunning()) {
+ if (backingPixmap.isNull()) {
+ setBackgroundColor(black);
++ setGeometry(0, 0, mRootWidth, mRootHeight);
+ erase();
+ }
+ else {
+@@ -1289,15 +1429,23 @@
+
+ bool LockProcess::startHack()
+ {
++ trinity_desktop_hack_active = TRUE;
++
++ setCursor( tqblankCursor );
++ XChangeActivePointerGrab( qt_xdisplay(), GRABEVENTS, TQCursor(tqblankCursor).handle(), CurrentTime);
++
+ if ((mEnsureVRootWindowSecurityTimer) && (!mEnsureVRootWindowSecurityTimer->isActive())) mEnsureVRootWindowSecurityTimer->start(250, FALSE);
+
+ if (currentDialog || (!mDialogs.isEmpty()))
+ {
+ // no resuming with dialog visible or when not visible
+- if (backingPixmap.isNull())
++ if (backingPixmap.isNull()) {
+ setBackgroundColor(black);
+- else
++ }
++ else {
+ setBackgroundPixmap(backingPixmap);
++ }
++ setGeometry(0, 0, mRootWidth, mRootHeight);
+ erase();
+ return false;
+ }
+@@ -1340,10 +1488,13 @@
+
+ if (trinity_desktop_lock_use_system_modal_dialogs) {
+ // Make sure we have a nice clean display to start with!
+- if (backingPixmap.isNull())
++ if (backingPixmap.isNull()) {
+ setBackgroundColor(black);
+- else
++ }
++ else {
+ setBackgroundPixmap(backingPixmap);
++ }
++ setGeometry(0, 0, mRootWidth, mRootHeight);
+ erase();
+ mSuspended = false;
+ }
+@@ -1355,7 +1506,7 @@
+ #endif
+ //bitBlt(this, 0, 0, &mOriginal);
+ DISABLE_CONTINUOUS_LOCKDLG_DISPLAY
+- if (trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced) {
++ if (trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced) {
+ // Close any active dialogs
+ if (closeCurrentWindow()) {
+ TQTimer::singleShot( 0, this, SLOT(closeCurrentWindow()) );
+@@ -1372,15 +1523,21 @@
+ usleep(100);
+ TQApplication::syncX();
+ if (!trinity_desktop_lock_use_system_modal_dialogs) {
+- if (backingPixmap.isNull())
++ if (backingPixmap.isNull()) {
+ setBackgroundColor(black);
+- else
++ }
++ else {
+ setBackgroundPixmap(backingPixmap);
++ }
++ }
++ if (backingPixmap.isNull()) {
++ setGeometry(0, 0, mRootWidth, mRootHeight);
++ erase();
+ }
+- if (backingPixmap.isNull()) erase();
+ else bitBlt(this, 0, 0, &backingPixmap);
+ if (trinity_desktop_lock_use_system_modal_dialogs) {
+ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
+ }
+ }
+ }
+@@ -1400,6 +1557,9 @@
+ mHackProc.kill(SIGKILL);
+ }
+ }
++ setCursor( tqarrowCursor );
++
++ trinity_desktop_hack_active = FALSE;
+ }
+
+ //---------------------------------------------------------------------------
+@@ -1408,15 +1568,21 @@
+ {
+ // Hack exited while we're supposed to be saving the screen.
+ // Make sure the saver window is black.
++ trinity_desktop_hack_active = FALSE;
+ usleep(100);
+ TQApplication::syncX();
+ if (!trinity_desktop_lock_use_system_modal_dialogs) {
+- if (backingPixmap.isNull())
++ if (backingPixmap.isNull()) {
+ setBackgroundColor(black);
+- else
++ }
++ else {
+ setBackgroundPixmap(backingPixmap);
++ }
++ }
++ if (backingPixmap.isNull()) {
++ setGeometry(0, 0, mRootWidth, mRootHeight);
++ erase();
+ }
+- if (backingPixmap.isNull()) erase();
+ else bitBlt(this, 0, 0, &backingPixmap);
+ if (!mSuspended) {
+ if (trinity_desktop_lock_use_system_modal_dialogs) {
+@@ -1428,17 +1594,22 @@
+
+ void LockProcess::displayLockDialogIfNeeded()
+ {
+- if (m_startupStatusDialog) { m_startupStatusDialog->closeSMDialog(); m_startupStatusDialog=NULL; }
+- if (trinity_desktop_lock_use_system_modal_dialogs) {
+- if (!mBusy) {
+- mBusy = true;
+- if (mLocked) {
+- if (checkPass()) {
+- stopSaver();
+- kapp->quit();
++ if (m_startupStatusDialog) {
++ m_startupStatusDialog->closeSMDialog(); m_startupStatusDialog=NULL;
++ }
++ if (!trinity_desktop_lock_in_sec_dlg) {
++ if (trinity_desktop_lock_use_system_modal_dialogs) {
++ if (!mBusy) {
++ mBusy = true;
++ if (mLocked) {
++ if (checkPass()) {
++ trinity_desktop_lock_closing_windows = true;
++ stopSaver();
++ kapp->quit();
++ }
+ }
++ mBusy = false;
+ }
+- mBusy = false;
+ }
+ }
+ }
+@@ -1488,10 +1659,13 @@
+ }
+ if( !force && (!mDialogs.isEmpty() || !mVisibility )) {
+ // no resuming with dialog visible or when not visible
+- if (backingPixmap.isNull())
++ if (backingPixmap.isNull()) {
+ setBackgroundColor(black);
+- else
++ }
++ else {
+ setBackgroundPixmap(backingPixmap);
++ }
++ setGeometry(0, 0, mRootWidth, mRootHeight);
+ erase();
+ return;
+ }
+@@ -1525,6 +1699,18 @@
+ return 0;
+
+ if (trinity_desktop_lock_use_sak) {
++ // Verify SAK operational status
++ KProcess* checkSAKProcess = new KProcess;
++ *checkSAKProcess << "kdmtsak" << "check";
++ checkSAKProcess->start(KProcess::Block, KProcess::NoCommunication);
++ int retcode = checkSAKProcess->exitStatus();
++ delete checkSAKProcess;
++ if (retcode != 0) {
++ trinity_desktop_lock_use_sak = false;
++ }
++ }
++
++ if (trinity_desktop_lock_use_sak) {
+ // Wait for SAK press before continuing...
+ SAKDlg inDlg( this );
+ execDialog( &inDlg );
+@@ -1597,22 +1783,38 @@
+ }
+ mDialogs.prepend( dlg );
+ fakeFocusIn( dlg->winId());
+- if (backingPixmap.isNull() && trinity_desktop_lock_use_system_modal_dialogs) erase();
++ if (backingPixmap.isNull() && trinity_desktop_lock_use_system_modal_dialogs) {
++ setGeometry(0, 0, mRootWidth, mRootHeight);
++ erase();
++ }
+ else bitBlt(this, 0, 0, &backingPixmap);
++ // dlg->exec may generate BadMatch errors, so make sure they are silently ignored
++ int (*oldHandler)(Display *, XErrorEvent *);
++ oldHandler = XSetErrorHandler(ignoreXError);
+ int rt = dlg->exec();
+- while (mDialogControlLock == true) sleep(1);
++ XSetErrorHandler(oldHandler);
++ while (mDialogControlLock == true) usleep(100000);
+ currentDialog = NULL;
+ mDialogs.remove( dlg );
+ if( mDialogs.isEmpty() ) {
++ HANDLE cursorHandle;
++ if (trinity_desktop_hack_active) {
++ cursorHandle = TQCursor(tqblankCursor).handle();
++ }
++ else {
++ cursorHandle = TQCursor(tqbusyCursor).handle();
++ }
+ XChangeActivePointerGrab( qt_xdisplay(), GRABEVENTS,
+- TQCursor(tqblankCursor).handle(), CurrentTime);
++ cursorHandle, CurrentTime);
+ if (trinity_desktop_lock_use_system_modal_dialogs) {
+ // Slight delay before screensaver resume to allow the dialog window to fully disappear
+ if (hackResumeTimer == NULL) {
+ hackResumeTimer = new TQTimer( this );
+ connect( hackResumeTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(resumeUnforced()) );
+ }
+- hackResumeTimer->start( 10, TRUE );
++ if (mResizingDesktopLock == false) {
++ hackResumeTimer->start( 10, TRUE );
++ }
+ }
+ else {
+ resume( false );
+@@ -1624,8 +1826,24 @@
+ return rt;
+ }
+
++void LockProcess::slotForcePaintBackground()
++{
++ TQPixmap blankPixmap(mRootWidth, mRootHeight);
++ blankPixmap.fill(Qt::black);
++ slotPaintBackground(blankPixmap);
++ printf("[WARNING] Unable to obtain desktop wallpaper in a timely manner. High system load or possibly a TDE bug!\n\r"); fflush(stdout);
++}
++
+ void LockProcess::slotPaintBackground(const TQPixmap &rpm)
+ {
++ if (mEnsureScreenHiddenTimer) {
++ mEnsureScreenHiddenTimer->stop();
++ }
++ else {
++ mEnsureScreenHiddenTimer = new TQTimer( this );
++ connect( mEnsureScreenHiddenTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotForcePaintBackground()) );
++ }
++
+ TQPixmap pm = rpm;
+
+ if (TQPaintDevice::x11AppDepth() == 32) {
+@@ -1650,8 +1868,9 @@
+ }
+
+ backingPixmap = pm;
+- if (trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced) {
++ if ((trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced) || (!mHackStartupEnabled)) {
+ setBackgroundPixmap(backingPixmap);
++ setGeometry(0, 0, mRootWidth, mRootHeight);
+ erase();
+ }
+ }
+@@ -1677,13 +1896,12 @@
+ mBusy=true;
+ TQTimer::singleShot(1000, this, TQT_SLOT(slotDeadTimePassed()));
+ if (mkeyCode == XKeysymToKeycode(qt_xdisplay(), XF86XK_Display)) {
+- while (mDialogControlLock == true) sleep(1);
++ while (mDialogControlLock == true) usleep(100000);
+ mDialogControlLock = true;
+ currentDialog->close(); // DO NOT use closeCurrentWindow() here!
+ mDialogControlLock = false;
+ }
+ }
+- setCursor( tqblankCursor );
+
+ DCOPRef ref( "*", "MainApplication-Interface");
+ ref.send("sendFakeKey", DCOPArg(mkeyCode , "unsigned int"));
+@@ -1748,6 +1966,7 @@
+ else {
+ if (!mLocked || checkPass())
+ {
++ trinity_desktop_lock_closing_windows = true;
+ stopSaver();
+ kapp->quit();
+ }
+@@ -1770,7 +1989,26 @@
+ else
+ {
+ mSuspendTimer.stop();
+- resume( false );
++ if (mResizingDesktopLock == false) {
++ if (trinity_desktop_lock_delay_screensaver_start && trinity_desktop_lock_forced && trinity_desktop_lock_use_system_modal_dialogs) {
++ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
++ }
++ else {
++ if (mHackStartupEnabled == true) {
++ resume( false );
++ }
++ else {
++ if (trinity_desktop_lock_use_system_modal_dialogs == true) {
++ ENABLE_CONTINUOUS_LOCKDLG_DISPLAY
++ if (mHackStartupEnabled) mHackDelayStartupTimer->start(mHackDelayStartupTimeout, TRUE);
++ }
++ else {
++ resume( false );
++ }
++ }
++ }
++ }
+ }
+ if (event->xvisibility.state != VisibilityUnobscured)
+ stayOnTop();
+@@ -1870,7 +2108,9 @@
+ suspend();
+ } else if ( mSuspended )
+ {
+- resume( true );
++ if (mResizingDesktopLock == false) {
++ resume( true );
++ }
+ }
+ #endif
+ }
+@@ -1931,7 +2171,7 @@
+ TQLabel *label2 = new TQLabel( txt, winFrame );
+ KPushButton *button = new KPushButton( KStdGuiItem::ok(), winFrame );
+ button->setDefault( true );
+- button->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred ) );
++ button->setSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred ) );
+ connect( button, TQT_SIGNAL( clicked() ), &box, TQT_SLOT( accept() ) );
+
+ TQVBoxLayout *vbox = new TQVBoxLayout( &box );
+@@ -1983,7 +2223,12 @@
+
+ void LockProcess::windowAdded( WId w, bool managed )
+ {
++ // KWin::windowInfo may generate BadWindow errors, so make sure they are silently ignored
++ int (*oldHandler)(Display *, XErrorEvent *);
++ oldHandler = XSetErrorHandler(ignoreXError);
+ KWin::WindowInfo info = KWin::windowInfo( w, 0, NET::WM2WindowClass );
++ XSetErrorHandler(oldHandler);
++
+ if( info.windowClassClass().lower() != "xvkbd" )
+ return;
+ // Unmanaged windows (i.e. popups) don't currently work anyway, since they
+@@ -2140,4 +2385,64 @@
+ }
+ }
+
++void LockProcess::slotMouseActivity(XEvent *event)
++{
++ bool inFrame = 0;
++ bool inDialog = 0;
++ XButtonEvent *be = (XButtonEvent *) event;
++ XMotionEvent *me = (XMotionEvent *) event;
++ if ((event->type == ButtonPress) && (mDialogs.first())) {
++ // Get geometry including window frame/titlebar
++ TQRect fgeom = mDialogs.first()->frameGeometry();
++ TQRect wgeom = mDialogs.first()->geometry();
++
++ if (((be->x_root > fgeom.x()) && (be->y_root > fgeom.y())) && ((be->x_root < (fgeom.x()+fgeom.width())) && (be->y_root < (fgeom.y()+fgeom.height())))) {
++ inFrame = 1;
++ }
++ if (((be->x_root > wgeom.x()) && (be->y_root > wgeom.y())) && ((be->x_root < (wgeom.x()+wgeom.width())) && (be->y_root < (wgeom.y()+wgeom.height())))) {
++ inDialog = 1;
++ }
++
++ // Clicked inside dialog; set focus
++ if (inFrame == TRUE) {
++ WId window = mDialogs.first()->winId();
++ XSetInputFocus(qt_xdisplay(), window, RevertToParent, CurrentTime);
++ fakeFocusIn(window);
++ // Why this needs to be repeated I have no idea...
++ XSetInputFocus(qt_xdisplay(), window, RevertToParent, CurrentTime);
++ fakeFocusIn(window);
++ }
++
++ // Clicked inside window handle (or border); drag window
++ if ((inFrame == TRUE) && (inDialog == FALSE)) {
++ TQPoint oldPoint = mDialogs.first()->pos();
++ m_mouseDown = 1;
++ m_dialogPrevX = oldPoint.x();
++ m_dialogPrevY = oldPoint.y();
++ m_mousePrevX = be->x_root;
++ m_mousePrevY = be->y_root;
++ XChangeActivePointerGrab( qt_xdisplay(), GRABEVENTS, TQCursor(tqsizeAllCursor).handle(), CurrentTime);
++ }
++ }
++
++ // Drag the window...
++ if (event->type == MotionNotify) {
++ if (m_mouseDown == TRUE) {
++ int deltaX = me->x_root - m_mousePrevX;
++ int deltaY = me->y_root - m_mousePrevY;
++ m_dialogPrevX = m_dialogPrevX + deltaX;
++ m_dialogPrevY = m_dialogPrevY + deltaY;
++ if (mDialogs.first()) mDialogs.first()->move(m_dialogPrevX, m_dialogPrevY);
++
++ m_mousePrevX = me->x_root;
++ m_mousePrevY = me->y_root;
++ }
++ }
++
++ if (event->type == ButtonRelease) {
++ m_mouseDown = 0;
++ XChangeActivePointerGrab( qt_xdisplay(), GRABEVENTS, TQCursor(tqarrowCursor).handle(), CurrentTime);
++ }
++}
++
+ #include "lockprocess.moc"
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/lockprocess.h v3.5.13-sru/kdesktop/lock/lockprocess.h
+--- /tmp/stable//kdebase/kdesktop/lock/lockprocess.h 2011-10-23 21:47:02.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/lockprocess.h 2012-09-08 19:41:29.000000000 +0200
+@@ -48,9 +48,11 @@
+ {
+ Q_OBJECT
+ public:
+- LockProcess(bool child_saver = false, bool useBlankOnly = false);
++ LockProcess();
+ ~LockProcess();
+
++ void init(bool child_saver = false, bool useBlankOnly = false);
++
+ bool lock();
+
+ bool defaultSave();
+@@ -74,6 +76,7 @@
+ void doDesktopResizeFinish();
+ void doFunctionKeyBroadcast();
+ void slotPaintBackground(const TQPixmap &pm);
++ void slotForcePaintBackground();
+
+ protected:
+ virtual bool x11Event(XEvent *);
+@@ -93,6 +96,7 @@
+ bool closeCurrentWindow();
+ void repaintRootWindowIfNeeded();
+ void startSecureDialog();
++ void slotMouseActivity(XEvent *event);
+
+ private:
+ void configure();
+@@ -166,7 +170,7 @@
+ struct VkbdWindow
+ {
+ WId id;
+- QRect rect;
++ TQRect rect;
+ };
+ TQValueList< VkbdWindow > mVkbdWindows;
+ WId mVkbdLastEventWindow;
+@@ -181,12 +185,14 @@
+ bool mForceReject;
+ TQDialog *currentDialog;
+
++ TQTimer* mEnsureScreenHiddenTimer;
+ TQTimer* mForceContinualLockDisplayTimer;
+ TQTimer* mEnsureVRootWindowSecurityTimer;
+ TQTimer* mHackDelayStartupTimer;
+
+ int mHackDelayStartupTimeout;
+ bool mHackStartupEnabled;
++ bool mResizingDesktopLock;
+
+ TQPixmap backingPixmap;
+ KRootPixmap *m_rootPixmap;
+@@ -195,6 +201,12 @@
+ KSMModalDialog* m_startupStatusDialog;
+
+ TQDateTime mlockDateTime;
++
++ bool m_mouseDown;
++ int m_mousePrevX;
++ int m_mousePrevY;
++ int m_dialogPrevX;
++ int m_dialogPrevY;
+ };
+
+ #endif
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/main.cc v3.5.13-sru/kdesktop/lock/main.cc
+--- /tmp/stable//kdebase/kdesktop/lock/main.cc 2011-09-16 04:01:44.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/main.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -1,6 +1,7 @@
+ /* This file is part of the KDE project
+ Copyright (C) 1999 David Faure
+ Copyright (c) 2003 Oswald Buddenhagen <ossi@kde.org>
++ Copyright (c) 2010-2012 Timothy Pearson <kb9vqf@pearsoncomputing.net>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+@@ -28,6 +29,7 @@
+ #include <kdebug.h>
+ #include <kglobalsettings.h>
+ #include <dcopref.h>
++#include <ksimpleconfig.h>
+
+ #include <kdmtsak.h>
+
+@@ -36,6 +38,15 @@
+ #include <X11/Xlib.h>
+ #include <fixx11h.h>
+
++#define OPEN_TDMCONFIG_AND_SET_GROUP \
++if( stat( KDE_CONFDIR "/kdm/kdmdistrc" , &st ) == 0) { \
++ tdmconfig = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/kdm/kdmdistrc" )); \
++} \
++else { \
++ tdmconfig = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/kdm/kdmrc" )); \
++} \
++tdmconfig->setGroup("X-*-Greeter");
++
+ // [FIXME] Add GUI configuration checkboxes for these three settings (see kdesktoprc [ScreenSaver] UseUnmanagedLockWindows, DelaySaverStart, and UseTDESAK)
+ bool trinity_desktop_lock_use_system_modal_dialogs = FALSE;
+ bool trinity_desktop_lock_delay_screensaver_start = FALSE;
+@@ -43,10 +54,21 @@
+
+ bool trinity_desktop_lock_forced = FALSE;
+
++bool signalled_forcelock;
++bool signalled_dontlock;
++bool signalled_securedialog;
++bool signalled_blank;
++bool signalled_run;
++bool in_internal_mode = FALSE;
++
+ bool MyApp::x11EventFilter( XEvent *ev )
+ {
+- if (ev->type == XKeyPress || ev->type == ButtonPress)
++ if (ev->type == ButtonPress || ev->type == ButtonRelease || ev->type == MotionNotify) {
++ emit mouseInteraction(ev);
++ }
++ if (ev->type == XKeyPress || ev->type == ButtonPress) {
+ emit activity();
++ }
+ else if (ev->type == MotionNotify) {
+ time_t tick = time( 0 );
+ if (tick != lastTick) {
+@@ -64,140 +86,273 @@
+ { "dontlock", I18N_NOOP("Only start screensaver"), 0 },
+ { "securedialog", I18N_NOOP("Launch the secure dialog"), 0 },
+ { "blank", I18N_NOOP("Only use the blank screensaver"), 0 },
++ { "internal <pid>", I18N_NOOP("TDE internal command for background process loading"), 0 },
+ KCmdLineLastOption
+ };
+
++static void sigusr1_handler(int)
++{
++ signalled_forcelock = TRUE;
++}
++
++static void sigusr2_handler(int)
++{
++ signalled_dontlock = TRUE;
++}
++
++static void sigusr3_handler(int)
++{
++ signalled_securedialog = TRUE;
++}
++
++static void sigusr4_handler(int)
++{
++ signalled_blank = TRUE;
++}
++
++static void sigusr5_handler(int)
++{
++ signalled_run = TRUE;
++}
++
+ // -----------------------------------------------------------------------------
+
+ int main( int argc, char **argv )
+ {
+ KLocale::setMainCatalogue("kdesktop");
+
+- KCmdLineArgs::init( argc, argv, "kdesktop_lock", I18N_NOOP("KDesktop Locker"), I18N_NOOP("Session Locker for KDesktop"), "2.0" );
++ KCmdLineArgs::init( argc, argv, "kdesktop_lock", I18N_NOOP("KDesktop Locker"), I18N_NOOP("Session Locker for KDesktop"), "2.1" );
+ KCmdLineArgs::addCmdLineOptions( options );
+ KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+
+- if (args->isSet( "forcelock" ))
+- trinity_desktop_lock_forced = TRUE;
+-
+ putenv(strdup("SESSION_MANAGER="));
+
+ KApplication::disableAutoDcopRegistration(); // not needed
+
+- int kdesktop_screen_number = 0;
+- int starting_screen = 0;
++ while (1 == 1) {
++ signalled_forcelock = FALSE;
++ signalled_dontlock = FALSE;
++ signalled_securedialog = FALSE;
++ signalled_blank = FALSE;
++ signalled_run = FALSE;
++
++ int kdesktop_screen_number = 0;
++ int starting_screen = 0;
++
++ bool child = false;
++ int parent_connection = 0; // socket to the parent saver
++ TQValueList<int> child_sockets;
++
++ if (KGlobalSettings::isMultiHead())
++ {
++ Display *dpy = XOpenDisplay(NULL);
++ if (! dpy) {
++ fprintf(stderr,
++ "%s: FATAL ERROR: couldn't open display '%s'\n",
++ argv[0], XDisplayName(NULL));
++ exit(1);
++ }
+
+- bool child = false;
+- int parent_connection = 0; // socket to the parent saver
+- TQValueList<int> child_sockets;
+-
+- if (KGlobalSettings::isMultiHead())
+- {
+- Display *dpy = XOpenDisplay(NULL);
+- if (! dpy) {
+- fprintf(stderr,
+- "%s: FATAL ERROR: couldn't open display '%s'\n",
+- argv[0], XDisplayName(NULL));
+- exit(1);
+- }
+-
+- int number_of_screens = ScreenCount(dpy);
+- starting_screen = kdesktop_screen_number = DefaultScreen(dpy);
+- int pos;
+- TQCString display_name = XDisplayString(dpy);
+- XCloseDisplay(dpy);
+- kdDebug() << "screen " << number_of_screens << " " << kdesktop_screen_number << " " << display_name << " " << starting_screen << endl;
+- dpy = 0;
+-
+- if ((pos = display_name.findRev('.')) != -1)
+- display_name.remove(pos, 10);
+-
+- TQCString env;
+- if (number_of_screens != 1) {
+- for (int i = 0; i < number_of_screens; i++) {
+- if (i != starting_screen) {
+- int fd[2];
+- if (pipe(fd)) {
+- perror("pipe");
+- break;
+- }
+- if (fork() == 0) {
+- child = true;
+- kdesktop_screen_number = i;
+- parent_connection = fd[0];
+- // break here because we are the child process, we don't
+- // want to fork() anymore
+- break;
+- } else {
+- child_sockets.append(fd[1]);
++ int number_of_screens = ScreenCount(dpy);
++ starting_screen = kdesktop_screen_number = DefaultScreen(dpy);
++ int pos;
++ TQCString display_name = XDisplayString(dpy);
++ XCloseDisplay(dpy);
++ kdDebug() << "screen " << number_of_screens << " " << kdesktop_screen_number << " " << display_name << " " << starting_screen << endl;
++ dpy = 0;
++
++ if ((pos = display_name.findRev('.')) != -1)
++ display_name.remove(pos, 10);
++
++ TQCString env;
++ if (number_of_screens != 1) {
++ for (int i = 0; i < number_of_screens; i++) {
++ if (i != starting_screen) {
++ int fd[2];
++ if (pipe(fd)) {
++ perror("pipe");
++ break;
++ }
++ if (fork() == 0) {
++ child = true;
++ kdesktop_screen_number = i;
++ parent_connection = fd[0];
++ // break here because we are the child process, we don't
++ // want to fork() anymore
++ break;
++ } else {
++ child_sockets.append(fd[1]);
++ }
+ }
+ }
++
++ env.sprintf("DISPLAY=%s.%d", display_name.data(),
++ kdesktop_screen_number);
++ kdDebug() << "env " << env << endl;
++
++ if (putenv(strdup(env.data()))) {
++ fprintf(stderr,
++ "%s: WARNING: unable to set DISPLAY environment variable\n",
++ argv[0]);
++ perror("putenv()");
++ }
+ }
++ }
+
+- env.sprintf("DISPLAY=%s.%d", display_name.data(),
+- kdesktop_screen_number);
+- kdDebug() << "env " << env << endl;
++ MyApp app;
++ kdDebug() << "app " << kdesktop_screen_number << " " << starting_screen << " " << child << " " << child_sockets.count() << " " << parent_connection << endl;
++ app.disableSessionManagement();
++ KGlobal::locale()->insertCatalogue("libdmctl");
++
++ struct stat st;
++ KSimpleConfig* tdmconfig;
++ OPEN_TDMCONFIG_AND_SET_GROUP
++#ifdef BUILD_TSAK
++ trinity_desktop_lock_use_sak = tdmconfig->readBoolEntry("UseSAK", true);
++#else
++ trinity_desktop_lock_use_sak = false;
++#endif
++ LockProcess process;
++
++ // Start loading core functions, such as the desktop wallpaper interface
++ app.processEvents();
++
++ if (args->isSet( "internal" )) {
++ while (signalled_run == FALSE) {
++ sigset_t new_mask;
++ struct sigaction act;
++
++ in_internal_mode = TRUE;
++
++ // handle SIGUSR1
++ act.sa_handler= sigusr1_handler;
++ sigemptyset(&(act.sa_mask));
++ sigaddset(&(act.sa_mask), SIGUSR1);
++ act.sa_flags = 0;
++ sigaction(SIGUSR1, &act, 0L);
++ // handle SIGUSR2
++ act.sa_handler= sigusr2_handler;
++ sigemptyset(&(act.sa_mask));
++ sigaddset(&(act.sa_mask), SIGUSR2);
++ act.sa_flags = 0;
++ sigaction(SIGUSR2, &act, 0L);
++ // handle SIGWINCH (an ersatz SIGUSR3)
++ act.sa_handler= sigusr3_handler;
++ sigemptyset(&(act.sa_mask));
++ sigaddset(&(act.sa_mask), SIGWINCH);
++ act.sa_flags = 0;
++ sigaction(SIGWINCH, &act, 0L);
++ // handle SIGTTIN (an ersatz SIGUSR4)
++ act.sa_handler= sigusr4_handler;
++ sigemptyset(&(act.sa_mask));
++ sigaddset(&(act.sa_mask), SIGTTIN);
++ act.sa_flags = 0;
++ sigaction(SIGTTIN, &act, 0L);
++ // handle SIGTTOU (an ersatz SIGUSR5)
++ act.sa_handler= sigusr5_handler;
++ sigemptyset(&(act.sa_mask));
++ sigaddset(&(act.sa_mask), SIGTTOU);
++ act.sa_flags = 0;
++ sigaction(SIGTTOU, &act, 0L);
++
++ // initialize the signal masks
++ sigfillset(&new_mask);
++ sigdelset(&new_mask,SIGUSR1);
++ sigdelset(&new_mask,SIGUSR2);
++ sigdelset(&new_mask,SIGWINCH);
++ sigdelset(&new_mask,SIGTTIN);
++ sigdelset(&new_mask,SIGTTOU);
+
+- if (putenv(strdup(env.data()))) {
+- fprintf(stderr,
+- "%s: WARNING: unable to set DISPLAY environment variable\n",
+- argv[0]);
+- perror("putenv()");
++ // wait for SIGUSR1, SIGUSR2, SIGWINCH, SIGTTIN, or SIGTTOU
++ sigsuspend(&new_mask);
+ }
+ }
+- }
+
+- MyApp app;
+- kdDebug() << "app " << kdesktop_screen_number << " " << starting_screen << " " << child << " " << child_sockets.count() << " " << parent_connection << endl;
+- app.disableSessionManagement();
+- KGlobal::locale()->insertCatalogue("libdmctl");
+-
+- // we need to read from the right rc file - possibly taking screen number in account
+- KDesktopSettings::instance("kdesktoprc");
+-
+- trinity_desktop_lock_use_system_modal_dialogs = !KDesktopSettings::useUnmanagedLockWindows();
+- trinity_desktop_lock_delay_screensaver_start = KDesktopSettings::delaySaverStart();
+- trinity_desktop_lock_use_sak = KDesktopSettings::useTDESAK();
+-
+- LockProcess process(child, args->isSet( "blank" ));
+- if (!child)
+- process.setChildren(child_sockets);
+- else
+- process.setParent(parent_connection);
+-
+- bool rt;
+- bool sig = false;
+- if( !child && args->isSet( "forcelock" ))
+- {
+- rt = process.lock();
+- sig = true;
+- }
+- else if( child || args->isSet( "dontlock" )) {
+- rt = process.dontLock();
+- }
+- else if( child || args->isSet( "securedialog" )) {
+- int retcode = tde_sak_verify_calling_process();
+- if (retcode == 0) {
+- rt = process.runSecureDialog();
++ // load settings here so that they actually reflect reality
++ // there is no way to force a reload once KDesktopSettings::instance has been called!
++ // we need to read from the right rc file - possibly taking screen number in account
++ KDesktopSettings::instance("kdesktoprc");
++ trinity_desktop_lock_use_system_modal_dialogs = !KDesktopSettings::useUnmanagedLockWindows();
++ trinity_desktop_lock_delay_screensaver_start = KDesktopSettings::delaySaverStart();
++ if (trinity_desktop_lock_use_system_modal_dialogs) {
++#ifdef BUILD_TSAK
++ trinity_desktop_lock_use_sak = tdmconfig->readBoolEntry("UseSAK", true);
++#else
++ trinity_desktop_lock_use_sak = false;
++#endif
+ }
+ else {
+- return 1;
++ trinity_desktop_lock_use_sak = false; // If SAK is enabled with unmanaged windows, the SAK dialog will never close and will "burn in" the screen
++ trinity_desktop_lock_delay_screensaver_start = false; // If trinity_desktop_lock_delay_screensaver_start is true with unmanaged windows, the lock dialog may never appear
+ }
+- }
+- else {
+- rt = process.defaultSave();
+- }
+- if (!rt) {
+- return 1;
+- }
+
+- if( sig )
+- {
+- DCOPRef ref( "kdesktop", "KScreensaverIface");
+- ref.send( "saverLockReady" );
+- }
++ delete tdmconfig;
++
++ if (args->isSet( "forcelock" ) || (signalled_forcelock == TRUE)) {
++ trinity_desktop_lock_forced = TRUE;
++ }
+
+- return app.exec();
++ process.init(child, (args->isSet( "blank" ) || (signalled_blank == TRUE)));
++ if (!child) {
++ process.setChildren(child_sockets);
++ }
++ else {
++ process.setParent(parent_connection);
++ }
++
++ bool rt;
++ bool sig = false;
++ if( (((!child) && (args->isSet( "forcelock" ))) || (signalled_forcelock == TRUE))) {
++ rt = process.lock();
++ sig = true;
++ }
++ else if( child || (args->isSet( "dontlock" ) || (signalled_dontlock == TRUE))) {
++ rt = process.dontLock();
++ }
++ else if( child || (args->isSet( "securedialog" ) || (signalled_securedialog == TRUE))) {
++ int retcode = tde_sak_verify_calling_process();
++ if (retcode == 0) {
++ rt = process.runSecureDialog();
++ }
++ else {
++ return 1;
++ }
++ }
++ else {
++ rt = process.defaultSave();
++ }
++ if (!rt) {
++ return 0;
++ }
++
++ if( sig )
++ {
++ DCOPRef ref( "kdesktop", "KScreensaverIface");
++ ref.send( "saverLockReady" );
++ }
++
++ if (in_internal_mode == FALSE) {
++ return app.exec();
++ }
++ else {
++ pid_t kdesktop_pid = atoi(args->getOption( "internal" ));
++ if (kill(kdesktop_pid, SIGUSR2) < 0) {
++ // The controlling kdesktop process probably died. Commit suicide...
++ return 12;
++ }
++ app.exec();
++ if (kill(kdesktop_pid, SIGUSR1) < 0) {
++ // The controlling kdesktop process probably died. Commit suicide...
++ return 12;
++ }
++
++ // FIXME
++ // We should not have to return (restart) at all,
++ // but it seems that some X11 connections are left active,
++ // preventing the lock process from restarting properly in the while() loop above.
++ return 0;
++ }
++ }
+ }
+
+ #include "main.moc"
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/main.h v3.5.13-sru/kdesktop/lock/main.h
+--- /tmp/stable//kdebase/kdesktop/lock/main.h 2010-08-12 05:29:22.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/main.h 2012-09-08 19:41:29.000000000 +0200
+@@ -32,6 +32,7 @@
+ bool x11EventFilter( XEvent * );
+ signals:
+ void activity();
++ void mouseInteraction(XEvent *event);
+ private:
+ time_t lastTick;
+ };
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/querydlg.cc v3.5.13-sru/kdesktop/lock/querydlg.cc
+--- /tmp/stable//kdebase/kdesktop/lock/querydlg.cc 2011-09-14 07:31:14.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/querydlg.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -86,8 +86,8 @@
+ KUser user;
+
+ mStatusLabel = new TQLabel( "<b> </b>", frame );
+- //mStatusLabel->tqsetAlignment( TQLabel::AlignCenter );
+- mStatusLabel->tqsetAlignment( TQLabel::AlignLeft );
++ //mStatusLabel->setAlignment( TQLabel::AlignCenter );
++ mStatusLabel->setAlignment( TQLabel::AlignLeft );
+
+ KSeparator *sep = new KSeparator( KSeparator::HLine, frame );
+
+@@ -118,6 +118,7 @@
+ connect(ok, TQT_SIGNAL(clicked()), TQT_SLOT(slotOK()));
+
+ installEventFilter(this);
++ setFixedSize( sizeHint() );
+ }
+
+ QueryDlg::~QueryDlg()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/sakdlg.cc v3.5.13-sru/kdesktop/lock/sakdlg.cc
+--- /tmp/stable//kdebase/kdesktop/lock/sakdlg.cc 2011-09-16 04:01:44.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/sakdlg.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -87,7 +87,7 @@
+ KUser user;
+
+ mStatusLabel = new TQLabel( "<b> </b>", frame );
+- mStatusLabel->tqsetAlignment( TQLabel::AlignVCenter );
++ mStatusLabel->setAlignment( TQLabel::AlignVCenter );
+
+ TQVBoxLayout *unlockDialogLayout = new TQVBoxLayout( this );
+ unlockDialogLayout->addWidget( frame );
+@@ -102,6 +102,7 @@
+ mStatusLabel->setText("<b>" + i18n("Press Ctrl+Alt+Del to begin.") + "</b><p>" + i18n("This process helps keep your password secure.") + "<br>" + i18n("It prevents unauthorized users from emulating the login screen."));
+
+ installEventFilter(this);
++ setFixedSize( sizeHint() );
+
+ mSAKProcess = new KProcess;
+ *mSAKProcess << "kdmtsak";
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lock/securedlg.cc v3.5.13-sru/kdesktop/lock/securedlg.cc
+--- /tmp/stable//kdebase/kdesktop/lock/securedlg.cc 2011-09-18 10:01:59.000000000 +0200
++++ v3.5.13-sru/kdesktop/lock/securedlg.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -87,7 +87,16 @@
+ KUser user;
+
+ mLogonStatus = new TQLabel( frame );
+- mLogonStatus->setText(i18n("'%1' is currently logged on").arg( user.fullName() ));
++ TQString userString = user.fullName();
++ if (userString == "") {
++ userString = user.loginName();
++ }
++ if (userString != "") {
++ mLogonStatus->setText(i18n("'%1' is currently logged on").arg( user.fullName() ));
++ }
++ else {
++ mLogonStatus->setText(i18n("You are currently logged on")); // We should never get here, and this message is somewhat obtuse, but it is better than displaying two qotation marks with no text between them...
++ }
+
+ KSeparator *sep = new KSeparator( KSeparator::HLine, frame );
+
+@@ -97,12 +106,11 @@
+ mTaskButton = new TQPushButton( frame );
+ mTaskButton->setText(i18n("Task Manager"));
+
+- mCancelButton = new TQPushButton( frame );
+- mCancelButton->setText(i18n("Cancel"));
+-
+ mShutdownButton = new TQPushButton( frame );
+ mShutdownButton->setText(i18n("Logoff Menu"));
+- mShutdownButton->setEnabled(false); // FIXME
++
++ mCancelButton = new TQPushButton( frame );
++ mCancelButton->setText(i18n("Cancel"));
+
+ mSwitchButton = new TQPushButton( frame );
+ mSwitchButton->setText(i18n("Switch User"));
+@@ -144,6 +152,7 @@
+ mSwitchButton->setFixedWidth(btnSize);
+
+ installEventFilter(this);
++ setFixedSize( sizeHint() );
+ }
+
+ SecureDlg::~SecureDlg()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lockeng.cc v3.5.13-sru/kdesktop/lockeng.cc
+--- /tmp/stable//kdebase/kdesktop/lockeng.cc 2011-09-23 06:06:43.000000000 +0200
++++ v3.5.13-sru/kdesktop/lockeng.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -1,8 +1,9 @@
+ //===========================================================================
+ //
+-// This file is part of the KDE project
++// This file is part of the TDE project
+ //
+ // Copyright (c) 1999 Martin R. Jones <mjones@kde.org>
++// Copyright (c) 2012 Timothy Pearson <kb9vqf@pearsoncomputing.net>
+ //
+
+
+@@ -29,6 +30,20 @@
+
+ bool trinity_lockeng_sak_available = TRUE;
+
++SaverEngine* m_masterSaverEngine = NULL;
++static void sigusr1_handler(int)
++{
++ if (m_masterSaverEngine) {
++ m_masterSaverEngine->slotLockProcessWaiting();
++ }
++}
++static void sigusr2_handler(int)
++{
++ if (m_masterSaverEngine) {
++ m_masterSaverEngine->slotLockProcessFullyActivated();
++ }
++}
++
+ //===========================================================================
+ //
+ // Screen saver engine. Doesn't handle the actual screensaver window,
+@@ -36,11 +51,30 @@
+ // a newly started process.
+ //
+ SaverEngine::SaverEngine()
+- : KScreensaverIface(),
+- TQWidget(),
++ : TQWidget(),
++ KScreensaverIface(),
+ mBlankOnly(false),
+- mSAKProcess(NULL)
++ mSAKProcess(NULL),
++ mTerminationRequested(false)
+ {
++ struct sigaction act;
++
++ // handle SIGUSR1
++ m_masterSaverEngine = this;
++ act.sa_handler= sigusr1_handler;
++ sigemptyset(&(act.sa_mask));
++ sigaddset(&(act.sa_mask), SIGUSR1);
++ act.sa_flags = 0;
++ sigaction(SIGUSR1, &act, 0L);
++
++ // handle SIGUSR2
++ m_masterSaverEngine = this;
++ act.sa_handler= sigusr2_handler;
++ sigemptyset(&(act.sa_mask));
++ sigaddset(&(act.sa_mask), SIGUSR2);
++ act.sa_flags = 0;
++ sigaction(SIGUSR2, &act, 0L);
++
+ // Save X screensaver parameters
+ XGetScreenSaver(qt_xdisplay(), &mXTimeout, &mXInterval,
+ &mXBlanking, &mXExposures);
+@@ -59,6 +93,19 @@
+ TQTimer::singleShot( 0, this, TQT_SLOT(handleSecureDialog()) );
+
+ configure();
++
++ mLockProcess.clearArguments();
++ TQString path = KStandardDirs::findExe( "kdesktop_lock" );
++ if( path.isEmpty())
++ {
++ kdDebug( 1204 ) << "Can't find kdesktop_lock!" << endl;
++ }
++ mLockProcess << path;
++ mLockProcess << TQString( "--internal" ) << TQString( "%1" ).arg(getpid());
++ if (mLockProcess.start() == false )
++ {
++ kdDebug( 1204 ) << "Failed to start kdesktop_lock!" << endl;
++ }
+ }
+
+ //---------------------------------------------------------------------------
+@@ -67,6 +114,10 @@
+ //
+ SaverEngine::~SaverEngine()
+ {
++ if (mState == Waiting) {
++ kill(mLockProcess.pid(), SIGKILL);
++ }
++
+ mLockProcess.detach(); // don't kill it if we crash
+ delete mXAutoLock;
+
+@@ -81,13 +132,13 @@
+ void SaverEngine::lock()
+ {
+ bool ok = true;
+- if (mState == Waiting)
++ if (mState != Saving)
+ {
+ mSAKProcess->kill(SIGTERM);
+ ok = startLockProcess( ForceLock );
+-// It takes a while for kdesktop_lock to start and lock the screen.
+-// Therefore delay the DCOP call until it tells kdesktop that the locking is in effect.
+-// This is done only for --forcelock .
++ // It takes a while for kdesktop_lock to start and lock the screen.
++ // Therefore delay the DCOP call until it tells kdesktop that the locking is in effect.
++ // This is done only for --forcelock .
+ if( ok && mState != Saving )
+ {
+ DCOPClientTransaction* trans = kapp->dcopClient()->beginTransaction();
+@@ -200,6 +251,27 @@
+ return (mState != Waiting);
+ }
+
++void SaverEngine::enableExports()
++{
++#ifdef Q_WS_X11
++ kdDebug(270) << k_lineinfo << "activating background exports.\n";
++ DCOPClient *client = kapp->dcopClient();
++ if (!client->isAttached()) {
++ client->attach();
++ }
++ TQByteArray data;
++ TQDataStream args( data, IO_WriteOnly );
++ args << 1;
++
++ TQCString appname( "kdesktop" );
++ int screen_number = DefaultScreen(qt_xdisplay());
++ if ( screen_number )
++ appname.sprintf("kdesktop-screen-%d", screen_number );
++
++ client->send( appname, "KBackgroundIface", "setExport(int)", data );
++#endif
++}
++
+ //---------------------------------------------------------------------------
+ void SaverEngine::handleSecureDialog()
+ {
+@@ -210,7 +282,10 @@
+ void SaverEngine::slotSAKProcessExited()
+ {
+ int retcode = mSAKProcess->exitStatus();
+- if ((retcode != 0) && (mSAKProcess->normalExit())) trinity_lockeng_sak_available = FALSE;
++ if ((retcode != 0) && (mSAKProcess->normalExit())) {
++ trinity_lockeng_sak_available = FALSE;
++ printf("[kdesktop] SAK driven secure dialog is not available for use (retcode %d). Check tdmtsak for proper functionality.\n", retcode); fflush(stdout);
++ }
+
+ if ((mSAKProcess->normalExit()) && (trinity_lockeng_sak_available == TRUE)) {
+ bool ok = true;
+@@ -276,46 +351,50 @@
+ //
+ bool SaverEngine::startLockProcess( LockType lock_type )
+ {
+- if (mState != Waiting)
++ if (mState == Saving)
+ return true;
+
++ enableExports();
++
+ kdDebug(1204) << "SaverEngine: starting saver" << endl;
+ emitDCOPSignal("KDE_start_screensaver()", TQByteArray());
+
+- if (mLockProcess.isRunning())
+- {
+- stopLockProcess();
+- }
+- mLockProcess.clearArguments();
+- TQString path = KStandardDirs::findExe( "kdesktop_lock" );
+- if( path.isEmpty())
+- {
+- kdDebug( 1204 ) << "Can't find kdesktop_lock!" << endl;
+- return false;
++ if (!mLockProcess.isRunning()) {
++ mLockProcess.clearArguments();
++ TQString path = KStandardDirs::findExe( "kdesktop_lock" );
++ if( path.isEmpty())
++ {
++ kdDebug( 1204 ) << "Can't find kdesktop_lock!" << endl;
++ return false;
++ }
++ mLockProcess << path;
++ mLockProcess << TQString( "--internal" ) << TQString( "%1" ).arg(getpid());
++ if (mLockProcess.start() == false )
++ {
++ kdDebug( 1204 ) << "Failed to start kdesktop_lock!" << endl;
++ return false;
++ }
+ }
+- mLockProcess << path;
++
+ switch( lock_type )
+ {
+ case ForceLock:
+- mLockProcess << TQString( "--forcelock" );
++ mLockProcess.kill(SIGUSR1); // Request forcelock
+ break;
+ case DontLock:
+- mLockProcess << TQString( "--dontlock" );
++ mLockProcess.kill(SIGUSR2); // Request dontlock
+ break;
+ case SecureDialog:
+- mLockProcess << TQString( "--securedialog" );
++ mLockProcess.kill(SIGWINCH); // Request secure dialog
+ break;
+ default:
+ break;
+ }
+- if (mBlankOnly)
+- mLockProcess << TQString( "--blank" );
+-
+- if (mLockProcess.start() == false )
+- {
+- kdDebug( 1204 ) << "Failed to start kdesktop_lock!" << endl;
+- return false;
++ if (mBlankOnly) {
++ mLockProcess.kill(SIGTTIN); // Request blanking
+ }
++
++ mLockProcess.kill(SIGTTOU); // Start lock
+ XSetScreenSaver(qt_xdisplay(), 0, mXInterval, PreferBlanking, mXExposures);
+
+ mState = Preparing;
+@@ -340,6 +419,7 @@
+ kdDebug(1204) << "SaverEngine: stopping lock" << endl;
+ emitDCOPSignal("KDE_stop_screensaver()", TQByteArray());
+
++ mTerminationRequested=true;
+ mLockProcess.kill();
+
+ if (mEnabled)
+@@ -357,6 +437,65 @@
+
+ void SaverEngine::lockProcessExited()
+ {
++ bool abnormalExit = false;
++ if (mLockProcess.normalExit() == false) {
++ abnormalExit = true;
++ }
++ else {
++ if (mLockProcess.exitStatus() != 0) {
++ abnormalExit = true;
++ }
++ }
++ if (mTerminationRequested == true) {
++ abnormalExit = false;
++ mTerminationRequested = false;
++ }
++ if (abnormalExit == true) {
++ // PROBABLE HACKING ATTEMPT DETECTED
++ // Terminate the TDE session ASAP!
++ // Values are explained at http://lists.kde.org/?l=kde-linux&m=115770988603387
++ TQByteArray data;
++ TQDataStream arg(data, IO_WriteOnly);
++ arg << (int)0 << (int)0 << (int)2;
++ if ( ! kapp->dcopClient()->send("ksmserver", "default", "logout(int,int,int)", data) ) {
++ // Someone got to DCOP before we did
++ // Try an emergency system logout
++ system("logout");
++ }
++ }
++ else {
++ // Restart the lock process
++ if (!mLockProcess.isRunning()) {
++ mLockProcess.clearArguments();
++ TQString path = KStandardDirs::findExe( "kdesktop_lock" );
++ if( path.isEmpty())
++ {
++ kdDebug( 1204 ) << "Can't find kdesktop_lock!" << endl;
++ }
++ mLockProcess << path;
++ mLockProcess << TQString( "--internal" ) << TQString( "%1" ).arg(getpid());
++ if (mLockProcess.start() == false )
++ {
++ kdDebug( 1204 ) << "Failed to start kdesktop_lock!" << endl;
++ }
++ }
++ }
++}
++
++void SaverEngine::slotLockProcessWaiting()
++{
++ // lockProcessWaiting cannot be called directly from a signal handler, as it will hang in certain obscure circumstances
++ // Instead we use a single-shot timer to immediately call lockProcessWaiting once control has returned to the Qt main loop
++ TQTimer::singleShot(0, this, SLOT(lockProcessWaiting()));
++}
++
++void SaverEngine::slotLockProcessFullyActivated()
++{
++ mState = Saving;
++}
++
++void SaverEngine::lockProcessWaiting()
++{
+ kdDebug(1204) << "SaverEngine: lock exited" << endl;
+ if (trinity_lockeng_sak_available == TRUE) {
+ handleSecureDialog();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/lockeng.h v3.5.13-sru/kdesktop/lockeng.h
+--- /tmp/stable//kdebase/kdesktop/lockeng.h 2011-09-16 04:01:44.000000000 +0200
++++ v3.5.13-sru/kdesktop/lockeng.h 2012-09-08 19:41:29.000000000 +0200
+@@ -78,14 +78,24 @@
+ */
+ virtual void saverLockReady();
+
++public slots:
++ void slotLockProcessWaiting();
++ void slotLockProcessFullyActivated();
++
+ protected slots:
+ void idleTimeout();
+ void lockProcessExited();
++ void lockProcessWaiting();
+
+ private slots:
+ void handleSecureDialog();
+ void slotSAKProcessExited();
+
++ /**
++ * Enable wallpaper exports
++ */
++ void enableExports();
++
+ protected:
+ enum LockType { DontLock, DefaultLock, ForceLock, SecureDialog };
+ bool startLockProcess( LockType lock_type );
+@@ -114,6 +124,7 @@
+
+ private:
+ KProcess* mSAKProcess;
++ bool mTerminationRequested;
+ };
+
+ #endif
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/minicli.cpp v3.5.13-sru/kdesktop/minicli.cpp
+--- /tmp/stable//kdebase/kdesktop/minicli.cpp 2011-10-26 21:06:48.000000000 +0200
++++ v3.5.13-sru/kdesktop/minicli.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -87,7 +87,7 @@
+ mainLayout->addWidget(m_dlg);
+
+ m_dlg->lbRunIcon->setPixmap(DesktopIcon("kmenu"));
+- m_dlg->lbComment->tqsetAlignment( TQt::WordBreak );
++ m_dlg->lbComment->setAlignment( TQt::WordBreak );
+
+ m_dlg->cbCommand->setDuplicatesEnabled( false );
+ m_dlg->cbCommand->setTrapReturnKey( true );
+@@ -182,7 +182,7 @@
+ }
+ }
+
+-TQSize Minicli::tqsizeHint() const
++TQSize Minicli::sizeHint() const
+ {
+ int maxWidth = tqApp->desktop()->screenGeometry((TQWidget*)this).width();
+ if (maxWidth < 603)
+@@ -784,7 +784,7 @@
+
+ // Set the focus back to the widget that had it to begin with, i.e.
+ // do not put the focus on the "Options" button.
+- m_FocusWidget = tqfocusWidget();
++ m_FocusWidget = focusWidget();
+
+ if( m_FocusWidget )
+ m_FocusWidget->setFocus();
+@@ -846,7 +846,7 @@
+ void Minicli::setIcon ()
+ {
+ if( m_iconName.isEmpty() || m_iconName == "unknown" || m_iconName == "kde" )
+- m_iconName = TQString::tqfromLatin1("kmenu");
++ m_iconName = TQString::fromLatin1("kmenu");
+
+ TQPixmap icon = DesktopIcon( m_iconName );
+
+@@ -891,9 +891,9 @@
+ m_prevChecked = m_dlg->cbRunAsOther->isChecked();
+ m_prevCached = true;
+ }
+- if (m_dlg->leUsername->text() != TQString::tqfromLatin1("root"))
++ if (m_dlg->leUsername->text() != TQString::fromLatin1("root"))
+ m_dlg->lePassword->setText(TQString::null);
+- m_dlg->leUsername->setText(TQString::tqfromLatin1("root"));
++ m_dlg->leUsername->setText(TQString::fromLatin1("root"));
+ m_dlg->cbRunAsOther->setChecked(true);
+ m_dlg->cbRunAsOther->setEnabled(false);
+ m_dlg->leUsername->setEnabled(false);
+@@ -938,7 +938,7 @@
+ if (enable)
+ {
+ m_prevIconName = m_iconName;
+- m_iconName = TQString::tqfromLatin1( "konsole" );
++ m_iconName = TQString::fromLatin1( "konsole" );
+ setIcon();
+ }
+ else if (!m_prevIconName.isEmpty())
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/minicli.h v3.5.13-sru/kdesktop/minicli.h
+--- /tmp/stable//kdebase/kdesktop/minicli.h 2011-10-26 21:06:48.000000000 +0200
++++ v3.5.13-sru/kdesktop/minicli.h 2012-09-08 19:41:29.000000000 +0200
+@@ -57,7 +57,7 @@
+ void clearHistory();
+
+ virtual void show();
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+
+ public slots:
+ void saveConfig();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesktop/minicli_ui.ui v3.5.13-sru/kdesktop/minicli_ui.ui
+--- /tmp/stable//kdebase/kdesktop/minicli_ui.ui 2011-10-26 21:06:48.000000000 +0200
++++ v3.5.13-sru/kdesktop/minicli_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -61,7 +61,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>80</width>
+ <height>20</height>
+@@ -123,7 +123,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>57</width>
+ <height>20</height>
+@@ -157,7 +157,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>30</height>
+@@ -331,7 +331,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>9</height>
+@@ -405,7 +405,7 @@
+ <property name="text">
+ <string>High</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignRight</set>
+ </property>
+ <property name="whatsThis" stdset="0">
+@@ -460,7 +460,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>40</height>
+@@ -527,7 +527,7 @@
+ <property name="text">
+ <string></string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ </widget>
+@@ -543,7 +543,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>388</width>
+ <height>0</height>
+@@ -568,7 +568,7 @@
+ <property name="text">
+ <string>Enter the name of the application you want to run or the URL you want to view</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesu/kdesu/kdesu.cpp v3.5.13-sru/kdesu/kdesu/kdesu.cpp
+--- /tmp/stable//kdebase/kdesu/kdesu/kdesu.cpp 2011-10-26 21:06:48.000000000 +0200
++++ v3.5.13-sru/kdesu/kdesu/kdesu.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -62,7 +62,8 @@
+ { "t", I18N_NOOP("Enable terminal output (no password keeping)"), 0 },
+ { "p <prio>", I18N_NOOP("Set priority value: 0 <= prio <= 100, 0 is lowest"), "50" },
+ { "r", I18N_NOOP("Use realtime scheduling"), 0 },
+- { "newdcop", I18N_NOOP("Create a new dcopserver instance (this can break your current TDE session)"), 0 },
++ { "nonewdcop", I18N_NOOP("Let command use existing dcopserver"), 0 },
++ { "comment <comment>", I18N_NOOP("Ignored"), "" },
+ { "noignorebutton", I18N_NOOP("Do not display ignore button"), 0 },
+ { "i <icon name>", I18N_NOOP("Specify icon to use in the password dialog"), 0},
+ { "d", I18N_NOOP("Do not show the command to be run in the dialog"), 0},
+@@ -178,7 +179,7 @@
+ TQString file = TQFile::decodeName(args->getOption("f"));
+ if (change_uid && !file.isEmpty())
+ {
+- if (file.tqat(0) != '/')
++ if (file.at(0) != '/')
+ {
+ KStandardDirs dirs;
+ dirs.addKDEDefaults();
+@@ -274,7 +275,7 @@
+
+ // Try to exec the command with kdesud.
+ bool keep = !args->isSet("n") && have_daemon;
+- bool terminal = true;
++ bool terminal = args->isSet("t");
+ bool new_dcop = args->isSet("newdcop");
+ bool withIgnoreButton = args->isSet("ignorebutton");
+
+@@ -360,7 +361,7 @@
+ KStartupInfoData data;
+ data.setSilent( KStartupInfoData::Yes );
+ KStartupInfo::sendChange( id, data );
+- KDEsuDialog dlg(user, auth_user, keep && !terminal,icon, withIgnoreButton);
++ KDEsuDialog dlg(user, auth_user, keep && !terminal,icon, withIgnoreButton, timeout);
+ if (prompt)
+ dlg.addLine(i18n("Command:"), command);
+ if ((priority != 50) || (scheduler != SuProcess::SchedNormal))
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesu/kdesu/sudlg.cpp v3.5.13-sru/kdesu/kdesu/sudlg.cpp
+--- /tmp/stable//kdebase/kdesu/kdesu/sudlg.cpp 2011-03-12 07:58:06.000000000 +0100
++++ v3.5.13-sru/kdesu/kdesu/sudlg.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -14,7 +14,7 @@
+ #include <kdesu/su.h>
+ #include "sudlg.h"
+
+-KDEsuDialog::KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep,const TQString& icon, bool withIgnoreButton)
++KDEsuDialog::KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep,const TQString& icon, bool withIgnoreButton, int timeout)
+ : KPasswordDialog(Password, enableKeep, (withIgnoreButton ? User1:NoDefault), icon)
+ {
+ KConfig* config = KGlobal::config();
+@@ -43,6 +43,7 @@
+ }
+ }
+ setPrompt(prompt);
++ setKeepWarning(i18n("<qt>The stored password will be:<br> * Kept for up to %1 minutes<br> * Destroyed on logout").arg(timeout/60));
+
+ if( withIgnoreButton )
+ setButtonText(User1, i18n("&Ignore"));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdesu/kdesu/sudlg.h v3.5.13-sru/kdesu/kdesu/sudlg.h
+--- /tmp/stable//kdebase/kdesu/kdesu/sudlg.h 2010-08-13 00:39:11.000000000 +0200
++++ v3.5.13-sru/kdesu/kdesu/sudlg.h 2012-09-08 19:41:29.000000000 +0200
+@@ -15,7 +15,7 @@
+ Q_OBJECT
+
+ public:
+- KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep, const TQString& icon , bool withIgnoreButton=false);
++ KDEsuDialog(TQCString user, TQCString auth_user, bool enableKeep, const TQString& icon , bool withIgnoreButton=false, int timeout=-1);
+ ~KDEsuDialog();
+
+ enum ResultCodes { AsUser = 10 };
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdialog/kdialog.cpp v3.5.13-sru/kdialog/kdialog.cpp
+--- /tmp/stable//kdebase/kdialog/kdialog.cpp 2011-08-11 07:25:50.000000000 +0200
++++ v3.5.13-sru/kdialog/kdialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -241,9 +241,9 @@
+
+ TQString text = TQString::fromLocal8Bit(args->getOption( option ));
+ int pos;
+- while ((pos = text.find( TQString::tqfromLatin1("\\n") )) >= 0)
++ while ((pos = text.find( TQString::fromLatin1("\\n") )) >= 0)
+ {
+- text.replace(pos, 2, TQString::tqfromLatin1("\n"));
++ text.replace(pos, 2, TQString::fromLatin1("\n"));
+ }
+
+ if ( type == KMessageBox::WarningContinueCancel ) {
+@@ -492,7 +492,7 @@
+ filter = TQString::fromLocal8Bit(args->arg(0));
+ }
+ // copied from KFileDialog::getSaveFileName(), so we can add geometry
+- bool specialDir = ( startDir.tqat(0) == ':' );
++ bool specialDir = ( startDir.at(0) == ':' );
+ KFileDialog dlg( specialDir ? startDir : TQString::null, filter, 0, "filedialog", true );
+ if ( !specialDir )
+ dlg.setSelection( startDir );
+@@ -597,43 +597,43 @@
+ contextStr = TQString::fromLocal8Bit(args->arg(0));
+ }
+ KIcon::Group group = KIcon::NoGroup;
+- if ( groupStr == TQString::tqfromLatin1( "Desktop" ) )
++ if ( groupStr == TQString::fromLatin1( "Desktop" ) )
+ group = KIcon::Desktop;
+- else if ( groupStr == TQString::tqfromLatin1( "Toolbar" ) )
++ else if ( groupStr == TQString::fromLatin1( "Toolbar" ) )
+ group = KIcon::Toolbar;
+- else if ( groupStr == TQString::tqfromLatin1( "MainToolbar" ) )
++ else if ( groupStr == TQString::fromLatin1( "MainToolbar" ) )
+ group = KIcon::MainToolbar;
+- else if ( groupStr == TQString::tqfromLatin1( "Small" ) )
++ else if ( groupStr == TQString::fromLatin1( "Small" ) )
+ group = KIcon::Small;
+- else if ( groupStr == TQString::tqfromLatin1( "Panel" ) )
++ else if ( groupStr == TQString::fromLatin1( "Panel" ) )
+ group = KIcon::Panel;
+- else if ( groupStr == TQString::tqfromLatin1( "User" ) )
++ else if ( groupStr == TQString::fromLatin1( "User" ) )
+ group = KIcon::User;
+ KIcon::Context context = KIcon::Any;
+ // From kicontheme.cpp
+- if ( contextStr == TQString::tqfromLatin1( "Devices" ) )
++ if ( contextStr == TQString::fromLatin1( "Devices" ) )
+ context = KIcon::Device;
+- else if ( contextStr == TQString::tqfromLatin1( "MimeTypes" ) )
++ else if ( contextStr == TQString::fromLatin1( "MimeTypes" ) )
+ context = KIcon::MimeType;
+- else if ( contextStr == TQString::tqfromLatin1( "FileSystems" ) )
++ else if ( contextStr == TQString::fromLatin1( "FileSystems" ) )
+ context = KIcon::FileSystem;
+- else if ( contextStr == TQString::tqfromLatin1( "Applications" ) )
++ else if ( contextStr == TQString::fromLatin1( "Applications" ) )
+ context = KIcon::Application;
+- else if ( contextStr == TQString::tqfromLatin1( "Actions" ) )
++ else if ( contextStr == TQString::fromLatin1( "Actions" ) )
+ context = KIcon::Action;
+- else if ( contextStr == TQString::tqfromLatin1( "Animations" ) )
++ else if ( contextStr == TQString::fromLatin1( "Animations" ) )
+ context = KIcon::Animation;
+- else if ( contextStr == TQString::tqfromLatin1( "Categories" ) )
++ else if ( contextStr == TQString::fromLatin1( "Categories" ) )
+ context = KIcon::Category;
+- else if ( contextStr == TQString::tqfromLatin1( "Emblems" ) )
++ else if ( contextStr == TQString::fromLatin1( "Emblems" ) )
+ context = KIcon::Emblem;
+- else if ( contextStr == TQString::tqfromLatin1( "Emotes" ) )
++ else if ( contextStr == TQString::fromLatin1( "Emotes" ) )
+ context = KIcon::Emote;
+- else if ( contextStr == TQString::tqfromLatin1( "International" ) )
++ else if ( contextStr == TQString::fromLatin1( "International" ) )
+ context = KIcon::International;
+- else if ( contextStr == TQString::tqfromLatin1( "Places" ) )
++ else if ( contextStr == TQString::fromLatin1( "Places" ) )
+ context = KIcon::Place;
+- else if ( contextStr == TQString::tqfromLatin1( "Status" ) )
++ else if ( contextStr == TQString::fromLatin1( "Status" ) )
+ context = KIcon::StatusIcon;
+
+ KIconDialog dlg(0, "icon dialog");
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdialog/klistboxdialog.cpp v3.5.13-sru/kdialog/klistboxdialog.cpp
+--- /tmp/stable//kdebase/kdialog/klistboxdialog.cpp 2011-03-12 07:58:14.000000000 +0100
++++ v3.5.13-sru/kdialog/klistboxdialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -32,7 +32,7 @@
+ TQVBox *page = makeVBoxMainWidget();
+
+ label = new TQLabel(text, page);
+- label->tqsetAlignment(AlignCenter);
++ label->setAlignment(AlignCenter);
+
+ table = new TQListBox(page);
+ table->setFocus();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdialog/widgets.cpp v3.5.13-sru/kdialog/widgets.cpp
+--- /tmp/stable//kdebase/kdialog/widgets.cpp 2011-03-12 07:58:14.000000000 +0100
++++ v3.5.13-sru/kdialog/widgets.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -218,7 +218,7 @@
+ table.setCurrentItem(0); // This is to circumvent a Qt bug
+
+ for (unsigned int i=0; i+2<args.count(); i += 3) {
+- table.setSelected( i/3, args[i+2] == TQString::tqfromLatin1("on") );
++ table.setSelected( i/3, args[i+2] == TQString::fromLatin1("on") );
+ }
+
+ handleXGeometry(&box);
+@@ -233,7 +233,7 @@
+ } else {
+ for (unsigned int i=0; i<table.count(); i++)
+ if (table.isSelected(i))
+- rs += TQString::tqfromLatin1("\"") + tags[i] + TQString::tqfromLatin1("\" ");
++ rs += TQString::fromLatin1("\"") + tags[i] + TQString::fromLatin1("\" ");
+ result.append(rs);
+ }
+ }
+@@ -260,7 +260,7 @@
+ table.insertStringList(entries);
+
+ for (unsigned int i=0; i+2<args.count(); i += 3) {
+- table.setSelected( i/3, args[i+2] == TQString::tqfromLatin1("on") );
++ table.setSelected( i/3, args[i+2] == TQString::fromLatin1("on") );
+ }
+
+ handleXGeometry(&box);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/backend/CMakeLists.txt v3.5.13-sru/kdm/backend/CMakeLists.txt
+--- /tmp/stable//kdebase/kdm/backend/CMakeLists.txt 2011-09-03 21:32:00.000000000 +0200
++++ v3.5.13-sru/kdm/backend/CMakeLists.txt 2012-09-08 19:41:29.000000000 +0200
+@@ -43,6 +43,6 @@
+ process.c protodpy.c reset.c resource.c rpcauth.c
+ server.c session.c sessreg.c socket.c streams.c
+ util.c xdmauth.c xdmcp.c
+- LINK X11 ${XAU_LIBRARIES} ${DBUS_TQT_LIBRARIES} ${PAM_LIBRARY} ${XDMCP_LIBRARIES}
++ LINK X11 ${XAU_LIBRARIES} ${DBUS_TQT_LIBRARIES} ${CRYPT_LIBRARY} ${PAM_LIBRARY} ${XDMCP_LIBRARIES}
+ DESTINATION ${BIN_INSTALL_DIR}
+ )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/backend/printf.c v3.5.13-sru/kdm/backend/printf.c
+--- /tmp/stable//kdebase/kdm/backend/printf.c 2010-08-12 05:29:20.000000000 +0200
++++ v3.5.13-sru/kdm/backend/printf.c 2012-09-08 19:41:29.000000000 +0200
+@@ -207,7 +207,7 @@
+ {
+ int padlen, strln, curcol;
+ #ifdef PRINT_QUOTES
+- int lastcol;
++ int lastcol = 0;
+ #endif
+ char ch;
+
+@@ -295,9 +295,9 @@
+ void *arptr;
+ #endif
+ unsigned long value;
+- int radix, min, max, flags, cflags, errn;
++ int radix = 0, min, max, flags, cflags, errn;
+ #ifdef PRINT_ARRAYS
+- int arlen;
++ int arlen = 0;
+ unsigned aridx;
+ char sch;
+ #endif
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/ConfigureChecks.cmake v3.5.13-sru/kdm/ConfigureChecks.cmake
+--- /tmp/stable//kdebase/kdm/ConfigureChecks.cmake 2011-03-16 21:49:38.000000000 +0100
++++ v3.5.13-sru/kdm/ConfigureChecks.cmake 2012-09-08 19:41:29.000000000 +0200
+@@ -27,6 +27,16 @@
+ check_function_exists( auth_timeok HAVE_AUTH_TIMEOK )
+ tde_restore( CMAKE_REQUIRED_LIBRARIES )
+
++check_function_exists( crypt LIBC_HAVE_CRYPT )
++if( LIBC_HAVE_CRYPT )
++ set( HAVE_CRYPT 1 CACHE INTERNAL "" FORCE )
++else( )
++ check_library_exists( crypt crypt "" HAVE_CRYPT )
++ if( HAVE_CRYPT )
++ set( CRYPT_LIBRARY crypt )
++ endif( )
++endif( )
++
+ check_include_file( lastlog.h HAVE_LASTLOG_H )
+ check_include_file( termio.h HAVE_TERMIO_H )
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/confproc.pl v3.5.13-sru/kdm/confproc.pl
+--- /tmp/stable//kdebase/kdm/confproc.pl 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/confproc.pl 2012-09-08 19:41:29.000000000 +0200
+@@ -212,7 +212,7 @@
+ "list" => [ "C_TYPE_ARGV", "", "char\t**", "TQStringList\t", "GetCfgStrArr", "GetCfgQStrList" ]
+ );
+
+-my @tl = ("QFont\t", "TQStringList\t", "TQString\t", "char\t**", "char\t*", "int\t", "bool\t");
++my @tl = ("TQFont\t", "TQStringList\t", "TQString\t", "char\t**", "char\t*", "int\t", "bool\t");
+
+ sub init_defs($)
+ {
+@@ -444,7 +444,7 @@
+ } else { # greeter(-c)?
+ my ($typ, $gtr, $isc);
+ if ($isfn) {
+- $typ = "QFont\t";
++ $typ = "TQFont\t";
+ $gtr = "Str2Font( GetCfgQStr( ".$kid." ) )";
+ $isc = 0;
+ } elsif ($user eq "greeter" && $cppget) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/genkdmconf.c v3.5.13-sru/kdm/kfrontend/genkdmconf.c
+--- /tmp/stable//kdebase/kdm/kfrontend/genkdmconf.c 2011-08-21 09:08:18.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/genkdmconf.c 2012-09-08 19:41:29.000000000 +0200
+@@ -945,10 +945,6 @@
+ static void
+ getInitTab( void )
+ {
+- File it;
+- char *p, *eol, *ep;
+- int tty;
+-
+ if (maxTTY)
+ return;
+ if (!maxTTY) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kchooser.cpp v3.5.13-sru/kdm/kfrontend/kchooser.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kchooser.cpp 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/kchooser.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -59,7 +59,7 @@
+ TQBoxLayout *vbox = new TQVBoxLayout( this, 10, 10 );
+
+ TQLabel *title = new TQLabel( i18n("XDMCP Host Menu"), this );
+- title->tqsetAlignment( AlignCenter );
++ title->setAlignment( AlignCenter );
+ vbox->addWidget( title );
+
+ host_view = new TQListView( this, "hosts" );
+@@ -145,14 +145,14 @@
+
+ void ChooserDlg::accept()
+ {
+- if (tqfocusWidget() == iline) {
++ if (focusWidget() == iline) {
+ if (!iline->text().isEmpty()) {
+ GSendInt( G_Ch_DirectChoice );
+ GSendStr( iline->text().latin1() );
+ iline->clear();
+ }
+ return;
+- } else /*if (tqfocusWidget() == host_view)*/ {
++ } else /*if (focusWidget() == host_view)*/ {
+ TQListViewItem *item = host_view->currentItem();
+ if (item) {
+ GSendInt( G_Ready );
+@@ -170,7 +170,7 @@
+ {
+ char *arr = GRecvStr();
+ if (arr) {
+- TQString str = TQString::tqfromLatin1( arr );
++ TQString str = TQString::fromLatin1( arr );
+ free( arr );
+ return str;
+ } else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kdmadmindialog.cpp v3.5.13-sru/kdm/kfrontend/kdmadmindialog.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kdmadmindialog.cpp 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/kdmadmindialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -75,10 +75,10 @@
+ box->addWidget( new KSeparator( KSeparator::HLine, this ) );
+
+ okButton = new KPushButton( KStdGuiItem::ok(), this );
+- okButton->tqsetSizePolicy( fp );
++ okButton->setSizePolicy( fp );
+ okButton->setDefault( true );
+ cancelButton = new KPushButton( KStdGuiItem::cancel(), this );
+- cancelButton->tqsetSizePolicy( fp );
++ cancelButton->setSizePolicy( fp );
+
+ hlay = new TQHBoxLayout( box );
+ hlay->addStretch( 1 );
+@@ -103,7 +103,7 @@
+ KDMAdmin::slotActivatePlugMenu()
+ {
+ TQPopupMenu *cmnu = verify->getPlugMenu();
+- TQSize sh( cmnu->tqsizeHint() / 2 );
++ TQSize sh( cmnu->sizeHint() / 2 );
+ cmnu->exec( geometry().center() - TQPoint( sh.width(), sh.height() ) );
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kdmclock.cpp v3.5.13-sru/kdm/kfrontend/kdmclock.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kdmclock.cpp 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/kdmclock.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -50,7 +50,7 @@
+ mBorder = false;//config->readNumEntry( "border", FALSE );
+
+ //config->setGroup( "Font" );
+- mFont.setFamily( TQString::tqfromLatin1("Utopia")/*config->readEntry( "Family", "Utopia")*/ );
++ mFont.setFamily( TQString::fromLatin1("Utopia")/*config->readEntry( "Family", "Utopia")*/ );
+ mFont.setPointSize( 51/*config->readNumEntry( "Point Size", 51)*/ );
+ mFont.setWeight( 75/*config->readNumEntry( "Weight", 75)*/ );
+ mFont.setItalic( TRUE/*config->readNumEntry( "Italic",TRUE )*/ );
+@@ -76,19 +76,19 @@
+ //setBackgroundOrigin( WindowOrigin );
+ mBackgroundBrush = backgroundBrush();
+ setBackgroundMode( NoBackground );
+- tqrepaint();
++ repaint();
+ }
+
+
+ void KdmClock::showEvent( TQShowEvent * )
+ {
+- tqrepaint();
++ repaint();
+ }
+
+
+ void KdmClock::timeout()
+ {
+- tqrepaint();
++ repaint();
+ }
+
+ void KdmClock::paintEvent( TQPaintEvent * )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kdmconfig.cpp v3.5.13-sru/kdm/kfrontend/kdmconfig.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kdmconfig.cpp 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/kdmconfig.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -72,7 +72,7 @@
+ TQFont aRetFont;
+ TQString chStr;
+
+- TQStringList sl = TQStringList::split( TQString::tqfromLatin1(","), aValue );
++ TQStringList sl = TQStringList::split( TQString::fromLatin1(","), aValue );
+
+ if (sl.count() == 1) {
+ /* X11 font spec */
+@@ -160,7 +160,7 @@
+ sess->vt ?
+ TQString("vt%1").arg( sess->vt ) :
+ #endif
+- TQString::tqfromLatin1( *sess->from ? sess->from : sess->display );
++ TQString::fromLatin1( *sess->from ? sess->from : sess->display );
+ } else {
+ user =
+ !sess->user ?
+@@ -174,6 +174,6 @@
+ sess->vt ?
+ TQString("%1, vt%2").arg( sess->display ).arg( sess->vt ) :
+ #endif
+- TQString::tqfromLatin1( sess->display );
++ TQString::fromLatin1( sess->display );
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kdm_greet.c v3.5.13-sru/kdm/kfrontend/kdm_greet.c
+--- /tmp/stable//kdebase/kdm/kfrontend/kdm_greet.c 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/kdm_greet.c 2012-09-08 19:41:29.000000000 +0200
+@@ -700,11 +700,11 @@
+ }
+
+ void
+-setCursor( Display *mdpy, int window, int tqshape )
++setCursor( Display *mdpy, int window, int shape )
+ {
+ Cursor xcursor;
+
+- if ((xcursor = XCreateFontCursor( mdpy, tqshape ))) {
++ if ((xcursor = XCreateFontCursor( mdpy, shape ))) {
+ XDefineCursor( mdpy, window, xcursor );
+ XFreeCursor( mdpy, xcursor );
+ XFlush( mdpy );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kdm_greet.h v3.5.13-sru/kdm/kfrontend/kdm_greet.h
+--- /tmp/stable//kdebase/kdm/kfrontend/kdm_greet.h 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/kdm_greet.h 2012-09-08 19:41:29.000000000 +0200
+@@ -77,7 +77,7 @@
+ void setup_modifiers( struct _XDisplay *mdpy, int numlock );
+ void restore_modifiers( void );
+
+-void setCursor( struct _XDisplay *mdpy, int window, int tqshape );
++void setCursor( struct _XDisplay *mdpy, int window, int shape );
+
+
+ extern int rfd; /* for select() loops */
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kdmshutdown.cpp v3.5.13-sru/kdm/kfrontend/kdmshutdown.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kdmshutdown.cpp 2011-10-04 04:05:34.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/kdmshutdown.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -117,7 +117,7 @@
+ hlay->addStretch( 1 );
+ if (mayOk) {
+ okButton = new KPushButton( KStdGuiItem::ok(), this );
+- okButton->tqsetSizePolicy( fp );
++ okButton->setSizePolicy( fp );
+ okButton->setDefault( true );
+ hlay->addWidget( okButton );
+ hlay->addStretch( 1 );
+@@ -126,13 +126,13 @@
+ if (maySched) {
+ KPushButton *schedButton =
+ new KPushButton( KGuiItem( i18n("&Schedule...") ), this );
+- schedButton->tqsetSizePolicy( fp );
++ schedButton->setSizePolicy( fp );
+ hlay->addWidget( schedButton );
+ hlay->addStretch( 1 );
+ connect( schedButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotSched()) );
+ }
+ cancelButton = new KPushButton( KStdGuiItem::cancel(), this );
+- cancelButton->tqsetSizePolicy( fp );
++ cancelButton->setSizePolicy( fp );
+ if (!mayOk)
+ cancelButton->setDefault( true );
+ hlay->addWidget( cancelButton );
+@@ -149,7 +149,7 @@
+ TQPopupMenu *cmnu = verify->getPlugMenu();
+ if (!cmnu)
+ return;
+- TQSize sh( cmnu->tqsizeHint() / 2 );
++ TQSize sh( cmnu->sizeHint() / 2 );
+ cmnu->exec( geometry().center() - TQPoint( sh.width(), sh.height() ) );
+ }
+ }
+@@ -276,7 +276,7 @@
+ freeStrArr( tlist );
+ targets->setCurrentItem( oldTarget == -1 ? defaultTarget : oldTarget );
+ TQHBoxLayout *hb = new TQHBoxLayout( hlp, 0, KDsh );
+- int spc = kapp->tqstyle().tqpixelMetric( TQStyle::PM_ExclusiveIndicatorWidth )
++ int spc = kapp->style().pixelMetric( TQStyle::PM_ExclusiveIndicatorWidth )
+ + howGroup->insideSpacing();
+ hb->addSpacing( spc );
+ hb->addWidget( targets );
+@@ -284,7 +284,7 @@
+ }
+ GSet( 0 );
+
+- howGroup->tqsetSizePolicy( fp );
++ howGroup->setSizePolicy( fp );
+
+ schedGroup = new TQGroupBox( i18n("Scheduling"), this );
+ hlay->addWidget( schedGroup, 0, AlignTop );
+@@ -310,7 +310,7 @@
+ grid->addWidget( le_timeout, 2, 1 );
+ grid->addMultiCellWidget( cb_force, 3,3, 0,1 );
+
+- schedGroup->tqsetSizePolicy( fp );
++ schedGroup->setSizePolicy( fp );
+
+ le_start->setText( "0" );
+ if (_defSdMode == SHUT_SCHEDULE)
+@@ -484,7 +484,7 @@
+ lfrm->setFrameStyle( TQFrame::NoFrame );
+ else
+ lfrm->setFrameStyle( TQFrame::StyledPanel | TQFrame::Raised );
+- lfrm->setLineWidth( tqstyle().tqpixelMetric( TQStyle::PM_DefaultFrameWidth, lfrm ) );
++ lfrm->setLineWidth( style().pixelMetric( TQStyle::PM_DefaultFrameWidth, lfrm ) );
+ // we need to set the minimum size for the logout box, since it
+ // gets too small if there all options are not available
+ lfrm->setMinimumSize(300,120);
+@@ -494,7 +494,7 @@
+
+ // first line of buttons
+ hbuttonbox = new TQHBoxLayout( vbox, 8 * KDialog::spacingHint() );
+- hbuttonbox->tqsetAlignment( Qt::AlignHCenter );
++ hbuttonbox->setAlignment( Qt::AlignHCenter );
+
+ // Reboot
+ FlatButton* btnReboot = new FlatButton( lfrm );
+@@ -538,7 +538,7 @@
+
+ // cancel buttonbox
+ TQHBoxLayout* hbuttonbox2 = new TQHBoxLayout( vbox, 8 * KDialog::spacingHint() );
+- hbuttonbox2->tqsetAlignment( Qt::AlignRight );
++ hbuttonbox2->setAlignment( Qt::AlignRight );
+
+ // Back to kdm
+ KSMPushButton* btnBack = new KSMPushButton( KStdGuiItem::cancel(), lfrm );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kfdialog.cpp v3.5.13-sru/kdm/kfrontend/kfdialog.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kfdialog.cpp 2011-09-16 04:01:46.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/kfdialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -169,10 +169,10 @@
+ TQLabel *label2 = new TQLabel( text, this );
+ TQRect d = KGlobalSettings::desktopGeometry(this);
+ if ( label2->fontMetrics().size( 0, text).width() > d.width() * 3 / 5)
+- label2->tqsetAlignment(TQt::WordBreak | TQt::AlignAuto );
++ label2->setAlignment(TQt::WordBreak | TQt::AlignAuto );
+ KPushButton *button = new KPushButton( KStdGuiItem::ok(), this );
+ button->setDefault( true );
+- button->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred ) );
++ button->setSizePolicy( TQSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Preferred ) );
+ connect( button, TQT_SIGNAL(clicked()), TQT_SLOT(accept()) );
+
+ TQGridLayout *grid = new TQGridLayout( this, 2, 2, 10 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kgapp.cpp v3.5.13-sru/kdm/kfrontend/kgapp.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kgapp.cpp 2011-10-29 23:02:15.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/kgapp.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -65,6 +65,8 @@
+
+ #include <pwd.h>
+
++#define TSAK_FIFO_FILE "/tmp/ksocket-global/tsak"
++
+ bool argb_visual_available = false;
+ bool has_kwin = false;
+ bool is_themed = false;
+@@ -190,16 +192,25 @@
+ KProcess *tsak = 0;
+ KProcess *proc = 0;
+ KProcess *comp = 0;
++ KProcess *dcop = 0;
+ KProcess *kwin = 0;
+
++#ifdef BUILD_TSAK
+ trinity_desktop_lock_use_sak = _useSAK;
++#else
++ trinity_desktop_lock_use_sak = false;
++#endif
+ if (trinity_desktop_lock_use_sak) {
+ tsak = new KProcess;
+ *tsak << TQCString( argv0, strrchr( argv0, '/' ) - argv0 + 2 ) + "tsak";
+- tsak->start(KProcess::Block);
++ tsak->start(KProcess::Block, KProcess::AllOutput);
++ }
++ else {
++ remove(TSAK_FIFO_FILE);
+ }
+ if (tsak) {
+ tsak->closeStdin();
++ tsak->closeStdout();
+ tsak->detach();
+ delete tsak;
+ }
+@@ -257,6 +268,7 @@
+
+ XSetIOErrorHandler( xIOErr );
+ TQString login_user;
++ TQString login_session_wm;
+
+ Display *dpy = qt_xdisplay();
+
+@@ -310,6 +322,13 @@
+ }
+
+ if (!_windowManager.isEmpty()) {
++ if (_windowManager == "kwin") {
++ // Special case
++ // Start DCOP...
++ dcop = new KProcess;
++ *dcop << TQCString( argv0, strrchr( argv0, '/' ) - argv0 + 2 ) + "dcopserver" << TQCString("--suicide");
++ dcop->start();
++ }
+ kwin = new KProcess;
+ *kwin << TQCString( argv0, strrchr( argv0, '/' ) - argv0 + 2 ) + _windowManager.ascii();
+ kwin->start();
+@@ -356,7 +375,7 @@
+ if ((cmd != G_GreetTimed && !_autoLoginAgain) ||
+ _autoLoginUser.isEmpty())
+ _autoLoginDelay = 0;
+- if (_useTheme && !_theme.isEmpty()) {
++ if (_useTheme && !_theme.isEmpty() && !trinity_desktop_lock_use_sak) {
+ // Qt4 has a nasty habit of generating BadWindow errors in normal operation, so we simply ignore them
+ // This also prevents the user from being dropped to a console login if Xorg glitches or is buggy
+ XSetErrorHandler( ignoreXError );
+@@ -370,7 +389,9 @@
+ is_themed = false;
+ has_kwin = has_kwin_bkp;
+ delete tgrt;
+- checkSAK(app);
++ if (trinity_desktop_lock_use_sak) {
++ checkSAK(app);
++ }
+ dialog = new KStdGreeter;
+ #ifdef WITH_XRANDR
+ dialog->move(dialog->x() + primaryScreenPosition.x(), dialog->y() + primaryScreenPosition.y());
+@@ -383,7 +404,9 @@
+ }
+ XSetErrorHandler( (XErrorHandler)0 );
+ } else {
+- checkSAK(app);
++ if (trinity_desktop_lock_use_sak) {
++ checkSAK(app);
++ }
+ dialog = new KStdGreeter;
+ #ifdef WITH_XRANDR
+ dialog->move(dialog->x() + primaryScreenPosition.x(), dialog->y() + primaryScreenPosition.y());
+@@ -409,6 +432,7 @@
+ Debug( "left event loop\n" );
+
+ login_user = static_cast<KGreeter*>(dialog)->curUser;
++ login_session_wm = static_cast<KGreeter*>(dialog)->curWMSession;
+
+ if (rslt != ex_greet) {
+ delete dialog;
+@@ -432,28 +456,40 @@
+ KGVerify::done();
+
+ if (comp) {
+- if (_compositor == "kompmgr") {
+- // Change process UID
+- // Get user UID
+- passwd* userinfo = getpwnam(login_user.ascii());
+- if (userinfo) {
+- TQString newuid = TQString("%1").arg(userinfo->pw_uid);
+- // kompmgr allows us to change its uid in this manner:
+- // 1.) Send SIGUSER1
+- // 2.) Send the new UID to it on the command line
+- comp->kill(SIGUSR1);
+- comp->writeStdin(newuid.ascii(), newuid.length());
+- usleep(50000); // Give the above function some time to execute. Note that on REALLY slow systems this could fail, leaving kompmgr running as root. TODO: Look into ways to make this more robust.
++ if (comp->isRunning()) {
++ if (_compositor == "kompmgr") {
++ // Change process UID
++ // Get user UID
++ passwd* userinfo = getpwnam(login_user.ascii());
++ if (userinfo) {
++ TQString newuid = TQString("%1").arg(userinfo->pw_uid);
++ // kompmgr allows us to change its uid in this manner:
++ // 1.) Send SIGUSER1
++ // 2.) Send the new UID to it on the command line
++ comp->kill(SIGUSR1);
++ comp->writeStdin(newuid.ascii(), newuid.length());
++ usleep(50000); // Give the above function some time to execute. Note that on REALLY slow systems this could fail, leaving kompmgr running as root. TODO: Look into ways to make this more robust.
++ }
+ }
++ comp->closeStdin();
++ comp->detach();
+ }
+- comp->closeStdin();
+- comp->detach();
+ delete comp;
+ }
+ if (kwin) {
+- kwin->closeStdin();
+- kwin->detach();
++ if (kwin->isRunning()) {
++ if (login_session_wm.endsWith("/startkde") || (login_session_wm == "failsafe")) {
++ kwin->closeStdin();
++ kwin->detach();
++ dcop->detach();
++ }
++ else {
++ kwin->kill();
++ dcop->kill();
++ }
++ }
+ delete kwin;
++ delete dcop;
+ }
+ delete proc;
+ UnsecureDisplay( dpy );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kgdialog.cpp v3.5.13-sru/kdm/kfrontend/kgdialog.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kgdialog.cpp 2011-08-11 07:25:56.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/kgdialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -134,7 +134,7 @@
+ KGDialog::slotActivateMenu( int id )
+ {
+ TQPopupMenu *cmnu = optMenu->findItem( id )->popup();
+- TQSize sh( cmnu->tqsizeHint() / 2 );
++ TQSize sh( cmnu->sizeHint() / 2 );
+ cmnu->exec( geometry().center() - TQPoint( sh.width(), sh.height() ) );
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kgreeter.cpp v3.5.13-sru/kdm/kfrontend/kgreeter.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kgreeter.cpp 2011-09-22 21:55:09.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/kgreeter.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -83,6 +83,7 @@
+ #include <sys/time.h>
+ #include <termios.h>
+ #include <signal.h>
++#include <libgen.h>
+
+ #include <X11/Xlib.h>
+
+@@ -96,7 +97,7 @@
+ : KListView( parent, name )
+ , themed(_them), cachedSizeHint( -1, 0 )
+ {
+- tqsetSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Ignored );
++ setSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Ignored );
+ header()->hide();
+ addColumn( TQString::null );
+ setColumnAlignment( 0, AlignVCenter );
+@@ -122,10 +123,10 @@
+ return sum;
+ }
+ public:
+- virtual TQSize tqsizeHint() const
++ virtual TQSize sizeHint() const
+ {
+ if (themed)
+- return KListView::tqsizeHint();
++ return KListView::sizeHint();
+
+ if (!cachedSizeHint.isValid()) {
+ constPolish();
+@@ -136,7 +137,7 @@
+ maxw = thisw;
+ }
+ cachedSizeHint.setWidth(
+- tqstyle().tqpixelMetric( TQStyle::PM_ScrollBarExtent ) +
++ style().pixelMetric( TQStyle::PM_ScrollBarExtent ) +
+ frameWidth() * 2 + maxw );
+ }
+ return cachedSizeHint;
+@@ -157,7 +158,7 @@
+ kdDebug() << "paintEmpty " << rect << endl;
+ TQRect devRect = p->xForm( rect );
+ kdDebug() << "paintEmpty2 " << devRect << endl;
+- p->tqdrawPixmap(0, 0, *pm, devRect.left(), devRect.top() );
++ p->drawPixmap(0, 0, *pm, devRect.left(), devRect.top() );
+ }
+
+ TQPixmap background;
+@@ -243,13 +244,20 @@
+ currentDisplay = TQString(getenv("DISPLAY"));
+ currentDisplay = currentDisplay.replace(":", "");
+ displayNumber = currentDisplay.toInt();
+- mPipeFilename = TQString(FIFO_FILE).tqarg(displayNumber);
+- ::unlink((TQString(FIFO_SAK_FILE).tqarg(displayNumber)).ascii());
++ mPipeFilename = TQString(FIFO_FILE).arg(displayNumber);
++ ::unlink((TQString(FIFO_SAK_FILE).arg(displayNumber)).ascii());
+
+ /* Create the FIFOs if they do not exist */
+ umask(0);
+ struct stat buffer;
+ int status;
++ char *fifo_parent_dir = strdup(FIFO_DIR);
++ dirname(fifo_parent_dir);
++ status = stat(fifo_parent_dir, &buffer);
++ if (status != 0) {
++ mkdir(fifo_parent_dir, 0644);
++ }
++ free(fifo_parent_dir);
+ status = stat(FIFO_DIR, &buffer);
+ if (status == 0) {
+ int file_mode = ((buffer.st_mode & S_IRWXU) >> 6) * 100;
+@@ -273,6 +281,9 @@
+ readbuf[numread] = 0;
+ readbuf[2047] = 0;
+ inputcommand += readbuf;
++ if (!tqApp->hasPendingEvents()) {
++ usleep(500);
++ }
+ tqApp->processEvents();
+ }
+ if (closingDown) {
+@@ -338,12 +349,12 @@
+ parent->cachedSizeHint.setWidth( -1 );
+ }
+
+- virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment)
++ virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment)
+ {
+ if (((UserListView*)listView())->themed)
+- TQListViewItem::paintCell(p, cg, column, width, tqalignment);
++ TQListViewItem::paintCell(p, cg, column, width, alignment);
+ else
+- KListViewItem::paintCell(p, cg, column, width, tqalignment);
++ KListViewItem::paintCell(p, cg, column, width, alignment);
+ }
+
+ TQString login;
+@@ -422,7 +433,7 @@
+ if ( randomFace.isNull() ) {
+ TQStringList::size_type index = 0;
+ for ( size_t i = 0; i < username.length(); ++i )
+- index += ( 0x7f - username.tqat( i ).latin1() ) % 37;
++ index += ( 0x7f - username.at( i ).latin1() ) % 37;
+ randomFace = randomFaces[ index % randomFaces.count() ];
+ }
+ p.load( _faceDir + "/../pics/users/" + randomFace + ".png" );
+@@ -508,11 +519,11 @@
+ int count = 0;
+ for (setpwent(); (ps = getpwent()) != 0;) {
+ if (*ps->pw_dir && *ps->pw_shell &&
+- (ps->pw_uid >= (unsigned)_lowUserId ||
+- !ps->pw_uid && _showRoot) &&
+- ps->pw_uid <= (unsigned)_highUserId &&
+- !noUsers.hasUser( ps->pw_name ) &&
+- !noUsers.hasGroup( ps->pw_gid ))
++ ((ps->pw_uid >= (unsigned)_lowUserId) ||
++ ((!ps->pw_uid) && _showRoot)) &&
++ (ps->pw_uid <= (unsigned)_highUserId) &&
++ (!noUsers.hasUser( ps->pw_name )) &&
++ (!noUsers.hasGroup( ps->pw_gid )))
+ {
+ TQString username( TQFile::decodeName( ps->pw_name ) );
+ if (!dupes.find( username )) {
+@@ -574,7 +585,7 @@
+ for (setpwent(); (ps = getpwent()) != 0;) {
+ if (*ps->pw_dir && *ps->pw_shell &&
+ (ps->pw_uid >= (unsigned)_lowUserId ||
+- !ps->pw_uid && _showRoot) &&
++ ((!ps->pw_uid) && _showRoot)) &&
+ ps->pw_uid <= (unsigned)_highUserId &&
+ (users.hasUser( ps->pw_name ) ||
+ users.hasGroup( ps->pw_gid )))
+@@ -839,10 +850,12 @@
+ GSendInt( G_PutDmrc );
+ GSendStr( "Session" );
+ GSendStr( sessionTypes[curSel].type.utf8() );
++ curWMSession = sessionTypes[curSel].type.utf8();
+ } else if (!prevValid) {
+ GSendInt( G_PutDmrc );
+ GSendStr( "Session" );
+ GSendStr( "default" );
++ curWMSession = sessionTypes[curSel].type.utf8();
+ }
+ GSendInt( G_Ready );
+ closingDown = true;
+@@ -890,14 +903,14 @@
+ i18n("This display requires no X authorization.\n"
+ "This means that anybody can connect to it,\n"
+ "open windows on it or intercept your input.") );
+- complainLabel->tqsetAlignment( AlignCenter );
++ complainLabel->setAlignment( AlignCenter );
+ complainLabel->setFont( _failFont );
+ complainLabel->setPaletteForegroundColor( Qt::red );
+ inner_box->addWidget( complainLabel );
+ }
+ if (!_greetString.isEmpty()) {
+ TQLabel *welcomeLabel = new TQLabel( _greetString, this );
+- welcomeLabel->tqsetAlignment( AlignCenter );
++ welcomeLabel->setAlignment( AlignCenter );
+ welcomeLabel->setFont( _greetFont );
+ inner_box->addWidget( welcomeLabel );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kgreeter.h v3.5.13-sru/kdm/kfrontend/kgreeter.h
+--- /tmp/stable//kdebase/kdm/kfrontend/kgreeter.h 2011-09-22 21:55:09.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/kgreeter.h 2012-09-08 19:41:29.000000000 +0200
+@@ -75,7 +75,7 @@
+ void handleInputPipe();
+
+ public:
+- TQString curUser, dName;
++ TQString curUser, curWMSession, dName;
+
+ protected:
+ void readFacesList();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/kgverify.cpp v3.5.13-sru/kdm/kfrontend/kgverify.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/kgverify.cpp 2011-09-22 19:56:10.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/kgverify.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -150,7 +150,7 @@
+ TQString name( greetPlugins[pluginList[curPlugin]].library->fileName() );
+ uint st = name.findRev( '/' ) + 1;
+ uint en = name.find( '.', st );
+- if (en - st > 7 && TQConstString( name.tqunicode() + st, 7 ).string() == "kgreet_")
++ if (en - st > 7 && TQConstString( name.unicode() + st, 7 ).string() == "kgreet_")
+ st += 7;
+ return name.mid( st, en - st );
+ }
+@@ -163,7 +163,7 @@
+
+ if ((w = li->widget()))
+ w->show();
+- else if ((l = li->tqlayout())) {
++ else if ((l = li->layout())) {
+ TQLayoutIterator it = l->iterator();
+ for (TQLayoutItem *itm = it.current(); itm; itm = ++it)
+ showWidgets( itm );
+@@ -856,7 +856,7 @@
+ if (!qstrcmp( key, "EchoMode" ))
+ return TQVariant( _echoMode );
+ else {
+- TQString fkey = TQString::tqfromLatin1( key ) + '=';
++ TQString fkey = TQString::fromLatin1( key ) + '=';
+ for (TQStringList::ConstIterator it = _pluginOptions.begin();
+ it != _pluginOptions.end(); ++it)
+ if ((*it).startsWith( fkey ))
+@@ -930,7 +930,7 @@
+ , failedLabelState( 0 )
+ {
+ grid = new TQGridLayout;
+- grid->tqsetAlignment( AlignCenter );
++ grid->setAlignment( AlignCenter );
+
+ failedLabel = new TQLabel( parent );
+ failedLabel->setFont( _failFont );
+@@ -959,7 +959,7 @@
+ return;
+ if (id != curPlugin) {
+ plugMenu->setItemChecked( curPlugin, false );
+- parent->tqsetUpdatesEnabled( false );
++ parent->setUpdatesEnabled( false );
+ grid->removeItem( greet->getLayoutItem() );
+ Debug( "delete %s\n", pName.data() );
+ delete greet;
+@@ -967,7 +967,7 @@
+ handler->verifyPluginChanged( id );
+ if (running)
+ start();
+- parent->tqsetUpdatesEnabled( true );
++ parent->setUpdatesEnabled( true );
+ }
+ }
+
+@@ -1087,10 +1087,10 @@
+ {
+ TQSizePolicy fp( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
+ okButton = new KPushButton( KStdGuiItem::ok(), this );
+- okButton->tqsetSizePolicy( fp );
++ okButton->setSizePolicy( fp );
+ okButton->setDefault( true );
+ cancelButton = new KPushButton( KStdGuiItem::cancel(), this );
+- cancelButton->tqsetSizePolicy( fp );
++ cancelButton->setSizePolicy( fp );
+
+ verify = new KGStdVerify( this, this, cancelButton, user, pluginList, func, ctx );
+ verify->selectPlugin( curPlugin );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/krootimage.cpp v3.5.13-sru/kdm/kfrontend/krootimage.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/krootimage.cpp 2011-08-13 06:07:04.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/krootimage.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -73,7 +73,7 @@
+
+ // ...set it to the desktop widget...
+ TQT_TQWIDGET(desktop())->setBackgroundPixmap( pm );
+- TQT_TQWIDGET(desktop())->tqrepaint( true );
++ TQT_TQWIDGET(desktop())->repaint( true );
+
+ // ...and export it via Esetroot-style so that composition managers can use it!
+ Pixmap bgPm = pm.handle(); // fetch the actual X handle to it
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/sakdlg.cc v3.5.13-sru/kdm/kfrontend/sakdlg.cc
+--- /tmp/stable//kdebase/kdm/kfrontend/sakdlg.cc 2011-09-22 19:56:10.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/sakdlg.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -66,6 +66,7 @@
+ #include <sys/time.h>
+ #include <termios.h>
+ #include <signal.h>
++#include <libgen.h>
+
+ #include "kfdialog.h"
+
+@@ -108,7 +109,7 @@
+ KUser user;
+
+ mStatusLabel = new TQLabel( "<b> </b>", frame );
+- mStatusLabel->tqsetAlignment( TQLabel::AlignVCenter );
++ mStatusLabel->setAlignment( TQLabel::AlignVCenter );
+
+ TQVBoxLayout *unlockDialogLayout = new TQVBoxLayout( this );
+ unlockDialogLayout->addWidget( frame );
+@@ -157,13 +158,20 @@
+ currentDisplay = TQString(getenv("DISPLAY"));
+ currentDisplay = currentDisplay.replace(":", "");
+ displayNumber = currentDisplay.toInt();
+- mPipeFilename = TQString(FIFO_SAK_FILE).tqarg(displayNumber);
+- ::unlink((TQString(FIFO_FILE).tqarg(displayNumber)).ascii());
++ mPipeFilename = TQString(FIFO_SAK_FILE).arg(displayNumber);
++ ::unlink((TQString(FIFO_FILE).arg(displayNumber)).ascii());
+
+ /* Create the FIFOs if they do not exist */
+ umask(0);
+ struct stat buffer;
+ int status;
++ char *fifo_parent_dir = strdup(FIFO_DIR);
++ dirname(fifo_parent_dir);
++ status = stat(fifo_parent_dir, &buffer);
++ if (status != 0) {
++ mkdir(fifo_parent_dir, 0644);
++ }
++ free(fifo_parent_dir);
+ status = stat(FIFO_DIR, &buffer);
+ if (status == 0) {
+ int file_mode = ((buffer.st_mode & S_IRWXU) >> 6) * 100;
+@@ -187,6 +195,9 @@
+ readbuf[numread] = 0;
+ readbuf[2047] = 0;
+ inputcommand += readbuf;
++ if (!tqApp->hasPendingEvents()) {
++ usleep(500);
++ }
+ tqApp->processEvents();
+ }
+ if (closingDown) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/CMakeLists.txt v3.5.13-sru/kdm/kfrontend/themer/CMakeLists.txt
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/CMakeLists.txt 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/themer/CMakeLists.txt 2012-09-08 19:41:29.000000000 +0200
+@@ -16,6 +16,7 @@
+ ${CMAKE_SOURCE_DIR}/kdmlib
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
++ ${LIBART_INCLUDE_DIRS}
+ )
+
+ link_directories(
+@@ -38,4 +39,5 @@
+ SOURCES
+ kdmthemer.cpp kdmitem.cpp kdmpixmap.cpp
+ kdmrect.cpp kdmlabel.cpp kdmlayout.cpp
++ LINK ${LIBART_LIBRARIES}
+ )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmitem.cpp v3.5.13-sru/kdm/kfrontend/themer/kdmitem.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmitem.cpp 2011-08-13 06:07:04.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmitem.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -280,7 +280,7 @@
+ if (fixedManager && !fixedManager->isEmpty())
+ fixedManager->update( newGeometry, force );
+
+- // TODO send *selective* tqrepaint signal
++ // TODO send *selective* repaint signal
+ }
+
+ void
+@@ -299,7 +299,7 @@
+ if ((_compositor.isEmpty()) || (!argb_visual_available)) {
+ // Software blend only (no compositing support)
+ TQPixmap copy( myWidget->size() );
+- kdDebug() << myWidget->tqgeometry() << " " << area << " " << myWidget->size() << endl;
++ kdDebug() << myWidget->geometry() << " " << area << " " << myWidget->size() << endl;
+ bitBlt( &copy, TQPoint( 0, 0), p->device(), myWidget->geometry(), TQt::CopyROP );
+ // Lighten it slightly
+ TQImage lightVersion;
+@@ -443,12 +443,12 @@
+ // BEGIN protected inheritable
+
+ TQSize
+-KdmItem::tqsizeHint()
++KdmItem::sizeHint()
+ {
+ if (myWidget)
+ return myWidget->size();
+ if (myLayoutItem)
+- return myLayoutItem->tqsizeHint();
++ return myLayoutItem->sizeHint();
+ int w = pos.wType == DTpixel ? kAbs( pos.width ) : -1,
+ h = pos.hType == DTpixel ? kAbs( pos.height ) : -1;
+ return TQSize( w, h );
+@@ -457,7 +457,7 @@
+ TQRect
+ KdmItem::placementHint( const TQRect &parentRect )
+ {
+- TQSize hintedSize = tqsizeHint();
++ TQSize hintedSize = sizeHint();
+ TQSize boxHint;
+
+ int x = parentRect.left(),
+@@ -474,7 +474,7 @@
+ else {
+ if (!boxManager)
+ return parentRect;
+- boxHint = boxManager->tqsizeHint();
++ boxHint = boxManager->sizeHint();
+ }
+ kdDebug() << timestamp() << " boxHint " << boxHint << endl;
+ }
+@@ -592,7 +592,7 @@
+ } else { // int value
+ dType = DTpixel;
+ TQString sCopy = s;
+- if (sCopy.tqat( 0 ) == '-') {
++ if (sCopy.at( 0 ) == '-') {
+ sCopy.remove( 0, 1 );
+ dType = DTnpixel;
+ }
+@@ -616,7 +616,7 @@
+ void
+ KdmItem::parseColor( const TQString &s, TQColor &color )
+ {
+- if (s.tqat( 0 ) != '#')
++ if (s.at( 0 ) != '#')
+ return;
+ bool ok;
+ TQString sCopy = s;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmitem.h v3.5.13-sru/kdm/kfrontend/themer/kdmitem.h
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmitem.h 2011-08-11 07:25:55.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmitem.h 2012-09-08 19:41:29.000000000 +0200
+@@ -96,7 +96,7 @@
+
+ /**
+ * Fixup the geometry of an item and its children (even if fixed
+- * or boxed ones). Note that this will generate tqrepaint signals
++ * or boxed ones). Note that this will generate repaint signals
+ * when needed. The default implementation should fit all needs.
+ */
+ virtual void setGeometry( const TQRect &newGeometry, bool force );
+@@ -109,7 +109,7 @@
+ void paint( TQPainter *painter, const TQRect &boundaries );
+
+ /**
+- * Update representation of contents and tqrepaint.
++ * Update representation of contents and repaint.
+ */
+ virtual void update();
+
+@@ -120,7 +120,7 @@
+ void mouseEvent( int x, int y, bool pressed = false, bool released = false );
+
+ /**
+- * Similar to tqsizeHint(..), this returns the area of the item
++ * Similar to sizeHint(..), this returns the area of the item
+ * given the @p parentGeometry. The default implementation
+ * takes into account geometric constraints and layoutings.
+ * @param parentGeometry the geometry of the caller item or a
+@@ -181,7 +181,7 @@
+ * @return (-1,-1) if no size can be determined (so it should
+ * default to parent's size).
+ */
+- virtual TQSize tqsizeHint();
++ virtual TQSize sizeHint();
+
+ /**
+ * Low level graphical function to paint the item.
+@@ -195,7 +195,7 @@
+
+ /**
+ * Called when item changes its 'state' variable. This must
+- * handle item's tqrepaint.
++ * handle item's repaint.
+ */
+ virtual void statusChanged();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmlabel.cpp v3.5.13-sru/kdm/kfrontend/themer/kdmlabel.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmlabel.cpp 2011-08-11 07:25:55.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmlabel.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -116,7 +116,7 @@
+ if (cAccel != -1) {
+ cText.remove('&');
+ myAccel = new TQAccel(parentWidget());
+- myAccel->insertItem(ALT + UNICODE_ACCEL + cText.tqat(cAccel).lower().tqunicode());
++ myAccel->insertItem(ALT + UNICODE_ACCEL + cText.at(cAccel).lower().unicode());
+ connect(myAccel, TQT_SIGNAL(activated(int)), TQT_SLOT(slotAccel()));
+ }
+ }
+@@ -138,7 +138,7 @@
+ }
+
+ TQSize
+-KdmLabel::tqsizeHint()
++KdmLabel::sizeHint()
+ {
+ // choose the correct label class
+ struct LabelStruct::LabelClass *l = &label.normal;
+@@ -177,8 +177,8 @@
+ TQFont f(l->font);
+ f.setUnderline(true);
+ p->setFont ( f );
+- p->drawText( tarea, AlignLeft | SingleLine, TQString(cText.tqat(cAccel)));
+- tarea.rLeft() += fm.width(cText.tqat(cAccel));
++ p->drawText( tarea, AlignLeft | SingleLine, TQString(cText.at(cAccel)));
++ tarea.rLeft() += fm.width(cText.at(cAccel));
+ p->setFont( l->font );
+ p->drawText( tarea, AlignLeft | SingleLine, right);
+ } else {
+@@ -268,7 +268,7 @@
+ m['s'] = KThemedGreeter::timedUser;
+ // xgettext:no-c-format
+ KGlobal::locale()->setDateFormat( i18n("date format", "%a %d %B") );
+- m['c'] = KGlobal::locale()->formatDateTime( TQDateTime::tqcurrentDateTime(), false, false );
++ m['c'] = KGlobal::locale()->formatDateTime( TQDateTime::currentDateTime(), false, false );
+
+ return KMacroExpander::expandMacros( text, m );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmlabel.h v3.5.13-sru/kdm/kfrontend/themer/kdmlabel.h
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmlabel.h 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmlabel.h 2012-09-08 19:41:29.000000000 +0200
+@@ -42,7 +42,7 @@
+
+ protected:
+ // reimplemented; returns the minimum size of rendered text
+- virtual TQSize tqsizeHint();
++ virtual TQSize sizeHint();
+
+ // draw the label
+ virtual void drawContents( TQPainter *p, const TQRect &r );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmlayout.cpp v3.5.13-sru/kdm/kfrontend/themer/kdmlayout.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmlayout.cpp 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmlayout.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -74,7 +74,7 @@
+ // Check if box size was computed. If not compute it
+ // TODO check if this prevents updating changing items
+ // if (!hintedSize.isValid())
+-// tqsizeHint();
++// sizeHint();
+
+ // kdDebug() << this << " hintedSize " << hintedSize << endl;
+
+@@ -114,30 +114,30 @@
+ if ((*it)->isExplicitlyHidden())
+ continue;
+
+- TQRect temp = childrenRect, tqitemRect;
++ TQRect temp = childrenRect, itemRect;
+ if (box.isVertical) {
+ temp.setHeight( 0 );
+- tqitemRect = (*it)->placementHint( temp );
+- temp.setHeight( tqitemRect.height() );
+- childrenRect.setTop( childrenRect.top() + tqitemRect.size().height() + box.spacing );
++ itemRect = (*it)->placementHint( temp );
++ temp.setHeight( itemRect.height() );
++ childrenRect.setTop( childrenRect.top() + itemRect.size().height() + box.spacing );
+ } else {
+ temp.setWidth( 0 );
+- tqitemRect = (*it)->placementHint( temp );
+- kdDebug() << this << " placementHint " << *it << " " << temp << " " << tqitemRect << endl;
+- temp.setWidth( tqitemRect.width() );
+- childrenRect.setLeft( childrenRect.left() + tqitemRect.size().width() + box.spacing );
++ itemRect = (*it)->placementHint( temp );
++ kdDebug() << this << " placementHint " << *it << " " << temp << " " << itemRect << endl;
++ temp.setWidth( itemRect.width() );
++ childrenRect.setLeft( childrenRect.left() + itemRect.size().width() + box.spacing );
+ kdDebug() << timestamp() << " childrenRect after " << *it << " " << childrenRect << endl;
+ }
+- tqitemRect = (*it)->placementHint( temp );
+- kdDebug() << this << " placementHint2 " << *it << " " << temp << " " << tqitemRect << endl;
+- (*it)->setGeometry( tqitemRect, force );
++ itemRect = (*it)->placementHint( temp );
++ kdDebug() << this << " placementHint2 " << *it << " " << temp << " " << itemRect << endl;
++ (*it)->setGeometry( itemRect, force );
+ }
+ }
+ }
+
+ //FIXME truly experimental (is so close to greeter_geometry.c)
+ TQSize
+-KdmLayoutBox::tqsizeHint()
++KdmLayoutBox::sizeHint()
+ {
+ // Sum up area taken by children
+ int w = 0, h = 0;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmlayout.h v3.5.13-sru/kdm/kfrontend/themer/kdmlayout.h
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmlayout.h 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmlayout.h 2012-09-08 19:41:29.000000000 +0200
+@@ -80,7 +80,7 @@
+
+ // Computes the size hint of the box, telling which is the
+ // smallest size inside which boxed items will fit
+- TQSize tqsizeHint();
++ TQSize sizeHint();
+
+ private:
+ struct {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmpixmap.cpp v3.5.13-sru/kdm/kfrontend/themer/kdmpixmap.cpp
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmpixmap.cpp 2011-08-13 06:07:04.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmpixmap.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -107,7 +107,7 @@
+ }
+
+ TQSize
+-KdmPixmap::tqsizeHint()
++KdmPixmap::sizeHint()
+ {
+ // choose the correct pixmap class
+ PixmapStruct::PixmapClass * pClass = &pixmap.normal;
+@@ -118,7 +118,7 @@
+ // use the pixmap size as the size hint
+ if (!pClass->pixmap.isNull())
+ return pClass->pixmap.size();
+- return KdmItem::tqsizeHint();
++ return KdmItem::sizeHint();
+ }
+
+ void
+@@ -138,7 +138,7 @@
+ return TQString::null;
+
+ TQString fullName = fileName;
+- if (fullName.tqat( 0 ) != '/')
++ if (fullName.at( 0 ) != '/')
+ fullName = baseDir() + "/" + fileName;
+ return fullName;
+ }
+@@ -177,7 +177,7 @@
+ TQString ext = fullpath.right(fullpath.length() - index);
+ fullpath = fullpath.left(index);
+ kdDebug() << timestamp() << " ext " << ext << " " << fullpath << endl;
+- TQString testpath = TQString("-%1x%2").tqarg(area.width()).arg(area.height()) + ext;
++ TQString testpath = TQString("-%1x%2").arg(area.width()).arg(area.height()) + ext;
+ kdDebug() << timestamp() << " testing for " << fullpath + testpath << endl;
+ if (KStandardDirs::exists(fullpath + testpath))
+ pClass->pixmap.load(fullpath + testpath);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmpixmap.h v3.5.13-sru/kdm/kfrontend/themer/kdmpixmap.h
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmpixmap.h 2011-03-12 07:58:23.000000000 +0100
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmpixmap.h 2012-09-08 19:41:29.000000000 +0200
+@@ -42,7 +42,7 @@
+
+ protected:
+ // reimplemented; returns the size of loaded pixmap
+- virtual TQSize tqsizeHint();
++ virtual TQSize sizeHint();
+
+ // draw the pixmap
+ virtual void drawContents( TQPainter *p, const TQRect &r );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdm/kfrontend/themer/kdmthemer.h v3.5.13-sru/kdm/kfrontend/themer/kdmthemer.h
+--- /tmp/stable//kdebase/kdm/kfrontend/themer/kdmthemer.h 2011-08-13 06:07:04.000000000 +0200
++++ v3.5.13-sru/kdm/kfrontend/themer/kdmthemer.h 2012-09-08 19:41:29.000000000 +0200
+@@ -61,9 +61,9 @@
+
+ bool isOK() { return rootItem != 0; }
+ /*
+- * Gives a tqsizeHint to the widget (parent size)
++ * Gives a sizeHint to the widget (parent size)
+ */
+- //TQSize tqsizeHint() const{ return parentWidget()->size(); }
++ //TQSize sizeHint() const{ return parentWidget()->size(); }
+
+ /*
+ * Takes a shot of the current widget
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdmlib/kdmtsak.cpp v3.5.13-sru/kdmlib/kdmtsak.cpp
+--- /tmp/stable//kdebase/kdmlib/kdmtsak.cpp 2011-09-19 03:46:39.000000000 +0200
++++ v3.5.13-sru/kdmlib/kdmtsak.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -76,7 +76,7 @@
+ if (intFound == false) {
+ return true;
+ }
+- curConsole = TQString("vt%1").tqarg(curConsoleNum);;
++ curConsole = TQString("vt%1").arg(curConsoleNum);;
+ TQStringList sessionList = TQStringList::split('\t', output, false);
+ for ( TQStringList::Iterator it = sessionList.begin(); it != sessionList.end(); ++it ) {
+ TQStringList sessionInfoList = TQStringList::split(',', *it, true);
+@@ -121,10 +121,14 @@
+ int verifier_result = tde_sak_verify_calling_process();
+
+ bool isdm = false;
++ bool checkonly = false;
+ if (argc == 2) {
+ if (strcmp(argv[1], "dm") == 0) {
+ isdm = true;
+ }
++ if (strcmp(argv[1], "check") == 0) {
++ checkonly = true;
++ }
+ }
+
+ if (!isdm) {
+@@ -139,6 +143,14 @@
+ // OK, the calling process is authorized to retrieve SAK data
+ // First, flush the buffer
+ mPipe_fd = open(FIFO_FILE, O_RDONLY | O_NONBLOCK);
++ if (checkonly) {
++ if (mPipe_fd < 0) {
++ return 6; // SAK not available
++ }
++ else {
++ return 0;
++ }
++ }
+ numread = 1;
+ while (numread > 0) {
+ numread = read(mPipe_fd, readbuf, 6);
+@@ -177,4 +189,4 @@
+ else {
+ return verifier_result;
+ }
+-}
+\ Pas de fin de ligne à la fin du fichier
++}
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdmlib/kgreet_classic.cpp v3.5.13-sru/kdmlib/kgreet_classic.cpp
+--- /tmp/stable//kdebase/kdmlib/kgreet_classic.cpp 2011-09-22 19:56:10.000000000 +0200
++++ v3.5.13-sru/kdmlib/kgreet_classic.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -167,7 +167,7 @@
+ delete passwdEdit;
+ return;
+ }
+- TQLayoutIterator it = TQT_TQLAYOUT(static_cast<QLayoutItem*>(layoutItem))->iterator();
++ TQLayoutIterator it = TQT_TQLAYOUT(layoutItem)->iterator();
+ for (TQLayoutItem *itm = it.current(); itm; itm = ++it)
+ delete itm->widget();
+ delete layoutItem;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdmlib/kgreet_pam.cpp v3.5.13-sru/kdmlib/kgreet_pam.cpp
+--- /tmp/stable//kdebase/kdmlib/kgreet_pam.cpp 2011-09-22 19:56:10.000000000 +0200
++++ v3.5.13-sru/kdmlib/kgreet_pam.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -209,7 +209,7 @@
+ delete loginEdit;
+ return;
+ }
+- TQLayoutIterator it = TQT_TQLAYOUT(static_cast<QLayoutItem*>(layoutItem))->iterator();
++ TQLayoutIterator it = TQT_TQLAYOUT(layoutItem)->iterator();
+ for (TQLayoutItem *itm = it.current(); itm; itm = ++it)
+ delete itm->widget();
+ delete layoutItem;
+@@ -354,7 +354,6 @@
+ }
+ else if (m_themer) {
+ kg_debug("themer found!");
+- KdmItem *pw_label = 0;
+
+ KdmLabel *kdmlabel = static_cast<KdmLabel*>(m_themer->findNode("pw-label"));
+ if (kdmlabel) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdmlib/kgreet_pam.h v3.5.13-sru/kdmlib/kgreet_pam.h
+--- /tmp/stable//kdebase/kdmlib/kgreet_pam.h 2011-09-22 19:56:10.000000000 +0200
++++ v3.5.13-sru/kdmlib/kgreet_pam.h 2012-09-08 19:41:29.000000000 +0200
+@@ -65,7 +65,7 @@
+ virtual void revive();
+ virtual void clear();
+
+- TQGridLayout *getLayoutItem() const { return static_cast<TQGridLayout*>(TQT_TQLAYOUT(static_cast<QLayoutItem*>(layoutItem))); }
++ TQGridLayout *getLayoutItem() const { return static_cast<TQGridLayout*>(TQT_TQLAYOUT(layoutItem)); }
+
+ public slots:
+ void slotLoginLostFocus();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kdmlib/kgreet_winbind.cpp v3.5.13-sru/kdmlib/kgreet_winbind.cpp
+--- /tmp/stable//kdebase/kdmlib/kgreet_winbind.cpp 2011-09-22 19:56:10.000000000 +0200
++++ v3.5.13-sru/kdmlib/kgreet_winbind.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -213,7 +213,7 @@
+ delete domainCombo;
+ return;
+ }
+- TQLayoutIterator it = TQT_TQLAYOUT(static_cast<QLayoutItem *>(layoutItem))->iterator();
++ TQLayoutIterator it = TQT_TQLAYOUT(layoutItem)->iterator();
+ for (TQLayoutItem *itm = it.current(); itm; itm = ++it)
+ delete itm->widget();
+ delete layoutItem;
+@@ -607,14 +607,14 @@
+
+ TQString current = domainCombo->currentText();
+
+- for (int i = 0; i < domainList.count(); ++i) {
+- if (i < domainCombo->count())
++ for (unsigned int i = 0; i < domainList.count(); ++i) {
++ if (i < (uint)domainCombo->count())
+ domainCombo->changeItem(domainList[i], i);
+ else
+ domainCombo->insertItem(domainList[i], i);
+ }
+
+- while (domainCombo->count() > domainList.count())
++ while ((uint)domainCombo->count() > domainList.count())
+ domainCombo->removeItem(domainCombo->count()-1);
+
+ domainCombo->setCurrentItem( current );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kfind/kdatecombo.cpp v3.5.13-sru/kfind/kdatecombo.cpp
+--- /tmp/stable//kdebase/kfind/kdatecombo.cpp 2011-08-11 07:25:45.000000000 +0200
++++ v3.5.13-sru/kfind/kdatecombo.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -33,7 +33,7 @@
+ popupFrame = new KPopupFrame(this, "popupFrame");
+ popupFrame->installEventFilter(this);
+ datePicker = new KDatePicker(popupFrame, date, "datePicker");
+- datePicker->setMinimumSize(datePicker->tqsizeHint());
++ datePicker->setMinimumSize(datePicker->sizeHint());
+ datePicker->installEventFilter(this);
+ popupFrame->setMainWidget(datePicker);
+ setDate(date);
+@@ -57,9 +57,9 @@
+ return *qd = KGlobal::locale()->readDate(str);
+ }
+
+-TQDate & KDateCombo::getDate(TQDate *tqcurrentDate)
++TQDate & KDateCombo::getDate(TQDate *currentDate)
+ {
+- return string2Date(currentText(), tqcurrentDate);
++ return string2Date(currentText(), currentDate);
+ }
+
+ bool KDateCombo::setDate(const TQDate & newDate)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kfind/kdatecombo.h v3.5.13-sru/kfind/kdatecombo.h
+--- /tmp/stable//kdebase/kfind/kdatecombo.h 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kfind/kdatecombo.h 2012-09-08 19:41:29.000000000 +0200
+@@ -26,7 +26,7 @@
+ KDateCombo(const TQDate & date, TQWidget *parent=0, const char *name=0);
+ ~KDateCombo();
+
+- TQDate & getDate(TQDate *tqcurrentDate);
++ TQDate & getDate(TQDate *currentDate);
+ bool setDate(const TQDate & newDate);
+
+ private:
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kfind/kfind.cpp v3.5.13-sru/kfind/kfind.cpp
+--- /tmp/stable//kdebase/kfind/kfind.cpp 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kfind/kfind.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -70,7 +70,7 @@
+ mTopLayout->addWidget(mButtonBox);
+
+ mSearch = new KPushButton( KGuiItem(i18n("&Find"), "find"), mButtonBox );
+- mButtonBox->setSpacing( (tabWidget->tqsizeHint().height()-4*mSearch->tqsizeHint().height()) / 4);
++ mButtonBox->setSpacing( (tabWidget->sizeHint().height()-4*mSearch->sizeHint().height()) / 4);
+ connect( mSearch, TQT_SIGNAL(clicked()), this, TQT_SLOT( startSearch() ) );
+ mStop = new KPushButton( KGuiItem(i18n("Stop"), "stop"), mButtonBox );
+ connect( mStop, TQT_SIGNAL(clicked()), this, TQT_SLOT( stopSearch() ) );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kfind/kfindpart.cpp v3.5.13-sru/kfind/kfindpart.cpp
+--- /tmp/stable//kdebase/kfind/kfindpart.cpp 2011-07-09 08:16:54.000000000 +0200
++++ v3.5.13-sru/kfind/kfindpart.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -44,7 +44,7 @@
+
+ kdDebug() << "KFindPart::KFindPart " << this << endl;
+ m_kfindWidget = new Kfind( parentWidget, widgetName );
+- m_kfindWidget->setMaximumHeight(m_kfindWidget->tqminimumSizeHint().height());
++ m_kfindWidget->setMaximumHeight(m_kfindWidget->minimumSizeHint().height());
+ const KFileItem *item = ((KonqDirPart*)parent)->currentItem();
+ kdDebug() << "Kfind: currentItem: " << ( item ? item->url().path().local8Bit() : TQString("null") ) << endl;
+ TQDir d;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kfind/kftabdlg.cpp v3.5.13-sru/kfind/kftabdlg.cpp
+--- /tmp/stable//kdebase/kfind/kftabdlg.cpp 2011-08-11 07:25:45.000000000 +0200
++++ v3.5.13-sru/kfind/kftabdlg.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -60,11 +60,11 @@
+ pages[0] = new TQWidget( this, "page1" );
+
+ nameBox = new KComboBox(TRUE, pages[0], "combo1");
+- nameBox->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed); // allow smaller than widest entry
++ nameBox->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed); // allow smaller than widest entry
+ TQLabel * namedL = new TQLabel(nameBox, i18n("&Named:"), pages[0], "named");
+ TQToolTip::add( namedL, i18n("You can use wildcard matching and \";\" for separating multiple names") );
+ dirBox = new KComboBox(TRUE, pages[0], "combo2");
+- dirBox->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed); // allow smaller than widest entry
++ dirBox->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed); // allow smaller than widest entry
+ TQLabel * lookinL = new TQLabel(dirBox, i18n("Look &in:"), pages[0], "named");
+ subdirsCb = new TQCheckBox(i18n("Include &subfolders"), pages[0]);
+ caseSensCb = new TQCheckBox(i18n("Case s&ensitive search"), pages[0]);
+@@ -187,7 +187,7 @@
+ sizeUnitBox ->setCurrentItem(1);
+
+ int tmp = sizeEdit->fontMetrics().width(" 000000000 ");
+- sizeEdit->setMinimumSize(tmp, sizeEdit->tqsizeHint().height());
++ sizeEdit->setMinimumSize(tmp, sizeEdit->sizeHint().height());
+
+ m_usernameBox->setDuplicatesEnabled(FALSE);
+ m_groupBox->setDuplicatesEnabled(FALSE);
+@@ -245,7 +245,7 @@
+ pages[2] = new TQWidget( this, "page3" );
+
+ typeBox =new KComboBox(FALSE, pages[2], "typeBox");
+- typeBox->tqsetSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed); // allow smaller than widest entry
++ typeBox->setSizePolicy(TQSizePolicy::Preferred, TQSizePolicy::Fixed); // allow smaller than widest entry
+ TQLabel * typeL =new TQLabel(typeBox, i18n("File &type:"), pages[2], "type");
+ textEdit=new KLineEdit(pages[2], "textEdit" );
+ TQLabel * textL =new TQLabel(textEdit, i18n("C&ontaining text:"), pages[2], "text");
+@@ -315,7 +315,7 @@
+
+ // Layout
+ tmp = sizeEdit->fontMetrics().width(" 00000 ");
+- sizeEdit->setMinimumSize(tmp, sizeEdit->tqsizeHint().height());
++ sizeEdit->setMinimumSize(tmp, sizeEdit->sizeHint().height());
+
+ TQGridLayout *grid2 = new TQGridLayout( pages[2], 5, 4,
+ KDialog::marginHint(),
+@@ -854,13 +854,13 @@
+ conf->writePathEntry(entry, sl);
+ }
+
+-TQSize KfindTabWidget::tqsizeHint() const
++TQSize KfindTabWidget::sizeHint() const
+ {
+ // #44662: avoid a huge default size when the comboboxes have very large items
+ // Like in minicli, we changed the combobox size policy so that they can resize down,
+ // and then we simply provide a reasonable size hint for the whole window, depending
+ // on the screen width.
+- TQSize sz = TQTabWidget::tqsizeHint();
++ TQSize sz = TQTabWidget::sizeHint();
+ KfindTabWidget* me = const_cast<KfindTabWidget*>( this );
+ const int screenWidth = tqApp->desktop()->screenGeometry(me).width();
+ if ( sz.width() > screenWidth / 2 )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kfind/kftabdlg.h v3.5.13-sru/kfind/kftabdlg.h
+--- /tmp/stable//kdebase/kfind/kftabdlg.h 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kfind/kftabdlg.h 2012-09-08 19:41:29.000000000 +0200
+@@ -49,7 +49,7 @@
+
+ void setURL( const KURL & url );
+
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+
+ public slots:
+ void setFocus();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kfind/kfwin.cpp v3.5.13-sru/kfind/kfwin.cpp
+--- /tmp/stable//kdebase/kfind/kfwin.cpp 2011-08-11 07:25:45.000000000 +0200
++++ v3.5.13-sru/kfind/kfwin.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -178,7 +178,7 @@
+
+ if (drag_obj)
+ {
+- TQClipboard *cb = kapp->tqclipboard();
++ TQClipboard *cb = kapp->clipboard();
+ cb->setData(drag_obj);
+ }
+ }
+@@ -222,7 +222,7 @@
+ stream.setEncoding( TQTextStream::Locale );
+
+ if ( mimeType->name() == "text/html") {
+- stream << TQString::tqfromLatin1("<HTML><HEAD>\n"
++ stream << TQString::fromLatin1("<HTML><HEAD>\n"
+ "<!DOCTYPE %1>\n"
+ "<TITLE>%2</TITLE></HEAD>\n"
+ "<BODY><H1>%3</H1>"
+@@ -236,13 +236,13 @@
+ {
+ TQString path=((KfFileLVI*)item)->fileitem.url().url();
+ TQString pretty=((KfFileLVI*)item)->fileitem.url().htmlURL();
+- stream << TQString::tqfromLatin1("<DT><A HREF=\"") << path
+- << TQString::tqfromLatin1("\">") << pretty
+- << TQString::tqfromLatin1("</A>\n");
++ stream << TQString::fromLatin1("<DT><A HREF=\"") << path
++ << TQString::fromLatin1("\">") << pretty
++ << TQString::fromLatin1("</A>\n");
+
+ item = item->nextSibling();
+ }
+- stream << TQString::tqfromLatin1("</DL><P></BODY></HTML>\n");
++ stream << TQString::fromLatin1("</DL><P></BODY></HTML>\n");
+ }
+ else {
+ item = firstChild();
+@@ -293,7 +293,7 @@
+ // Iterate on all selected elements
+ TQPtrList<TQListViewItem> selected = selectedItems();
+ for ( uint i = 0; i < selected.count(); i++ ) {
+- KfFileLVI *item = (KfFileLVI *) selected.tqat(i);
++ KfFileLVI *item = (KfFileLVI *) selected.at(i);
+ KFileItem file = item->fileitem;
+
+ KIO::NetAccess::del(file.url(), this);
+@@ -335,7 +335,7 @@
+ {
+ KListView::resizeEvent(e);
+ resetColumns(false);
+- clipper()->tqrepaint();
++ clipper()->repaint();
+ }
+
+ TQDragObject * KfindWindow::dragObject()
+@@ -346,7 +346,7 @@
+ // create a list of URIs from selection
+ for ( uint i = 0; i < selected.count(); i++ )
+ {
+- KfFileLVI *item = (KfFileLVI *) selected.tqat( i );
++ KfFileLVI *item = (KfFileLVI *) selected.at( i );
+ if (item)
+ {
+ uris.append( item->fileitem.url() );
+@@ -372,7 +372,7 @@
+ {
+ setColumnWidth(2, QMAX(fm.width(columnText(2)), fm.width("0000000")) + 15);
+ TQString sampleDate =
+- KGlobal::locale()->formatDateTime(TQDateTime::tqcurrentDateTime());
++ KGlobal::locale()->formatDateTime(TQDateTime::currentDateTime());
+ setColumnWidth(3, QMAX(fm.width(columnText(3)), fm.width(sampleDate)) + 15);
+ setColumnWidth(4, QMAX(fm.width(columnText(4)), fm.width(i18n(perm[RO]))) + 15);
+ setColumnWidth(5, QMAX(fm.width(columnText(5)), fm.width("some text")) + 15);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/docentry.cpp v3.5.13-sru/khelpcenter/docentry.cpp
+--- /tmp/stable//kdebase/khelpcenter/docentry.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/docentry.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -278,7 +278,7 @@
+ entry->weight() < mChildren[ i + 1 ]->weight() ) {
+ entry->setNextSibling( mChildren[ i + 1 ] );
+ mChildren[ i ]->setNextSibling( entry );
+- mChildren.insert( mChildren.tqat( i + 1 ), entry );
++ mChildren.insert( mChildren.at( i + 1 ), entry );
+ break;
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/docmetainfo.cpp v3.5.13-sru/khelpcenter/docmetainfo.cpp
+--- /tmp/stable//kdebase/khelpcenter/docmetainfo.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/docmetainfo.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -108,7 +108,7 @@
+ if ( langcode == "en" ) return i18n("English");
+
+ TQString cfgfile = locate( "locale",
+- TQString::tqfromLatin1( "%1/entry.desktop" ).arg( langcode ) );
++ TQString::fromLatin1( "%1/entry.desktop" ).arg( langcode ) );
+
+ kdDebug() << "-- langcode: " << langcode << " cfgfile: " << cfgfile << endl;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/glossary.cpp v3.5.13-sru/khelpcenter/glossary.cpp
+--- /tmp/stable//kdebase/khelpcenter/glossary.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/glossary.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -49,7 +49,7 @@
+ {
+ KListViewItem::setOpen(open);
+
+- setPixmap( 0, SmallIcon( TQString::tqfromLatin1( open ? "contents" : "contents2" ) ) );
++ setPixmap( 0, SmallIcon( TQString::fromLatin1( open ? "contents" : "contents2" ) ) );
+
+ }
+ };
+@@ -92,7 +92,7 @@
+
+ m_cacheFile = locateLocal( "cache", "help/glossary.xml" );
+
+- m_sourceFile = View::View::langLookup( TQString::tqfromLatin1( "khelpcenter/glossary/index.docbook" ) );
++ m_sourceFile = View::View::langLookup( TQString::fromLatin1( "khelpcenter/glossary/index.docbook" ) );
+
+ m_config = kapp->config();
+ m_config->setGroup( "Glossary" );
+@@ -150,10 +150,10 @@
+ connect( meinproc, TQT_SIGNAL( processExited( KProcess * ) ),
+ this, TQT_SLOT( meinprocExited( KProcess * ) ) );
+
+- *meinproc << locate( "exe", TQString::tqfromLatin1( "meinproc" ) );
+- *meinproc << TQString::tqfromLatin1( "--output" ) << m_cacheFile;
+- *meinproc << TQString::tqfromLatin1( "--stylesheet" )
+- << locate( "data", TQString::tqfromLatin1( "khelpcenter/glossary.xslt" ) );
++ *meinproc << locate( "exe", TQString::fromLatin1( "meinproc" ) );
++ *meinproc << TQString::fromLatin1( "--output" ) << m_cacheFile;
++ *meinproc << TQString::fromLatin1( "--stylesheet" )
++ << locate( "data", TQString::fromLatin1( "khelpcenter/glossary.xslt" ) );
+ *meinproc << m_sourceFile;
+
+ meinproc->start( KProcess::NotifyOnExit );
+@@ -189,21 +189,21 @@
+ if ( !doc.setContent( &cacheFile ) )
+ return;
+
+- TQDomNodeList sectionNodes = doc.documentElement().elementsByTagName( TQString::tqfromLatin1( "section" ) );
++ TQDomNodeList sectionNodes = doc.documentElement().elementsByTagName( TQString::fromLatin1( "section" ) );
+ for ( unsigned int i = 0; i < sectionNodes.count(); i++ ) {
+ TQDomElement sectionElement = sectionNodes.item( i ).toElement();
+- TQString title = sectionElement.attribute( TQString::tqfromLatin1( "title" ) );
++ TQString title = sectionElement.attribute( TQString::fromLatin1( "title" ) );
+ SectionItem *topicSection = new SectionItem( m_byTopicItem, title );
+
+- TQDomNodeList entryNodes = sectionElement.elementsByTagName( TQString::tqfromLatin1( "entry" ) );
++ TQDomNodeList entryNodes = sectionElement.elementsByTagName( TQString::fromLatin1( "entry" ) );
+ for ( unsigned int j = 0; j < entryNodes.count(); j++ ) {
+ TQDomElement entryElement = entryNodes.item( j ).toElement();
+
+- TQString entryId = entryElement.attribute( TQString::tqfromLatin1( "id" ) );
++ TQString entryId = entryElement.attribute( TQString::fromLatin1( "id" ) );
+ if ( entryId.isNull() )
+ continue;
+
+- TQDomElement termElement = childElement( entryElement, TQString::tqfromLatin1( "term" ) );
++ TQDomElement termElement = childElement( entryElement, TQString::fromLatin1( "term" ) );
+ TQString term = termElement.text().simplifyWhiteSpace();
+
+ EntryItem *entry = new EntryItem(topicSection, term, entryId );
+@@ -221,19 +221,19 @@
+
+ new EntryItem( alphabSection, term, entryId );
+
+- TQDomElement definitionElement = childElement( entryElement, TQString::tqfromLatin1( "definition" ) );
++ TQDomElement definitionElement = childElement( entryElement, TQString::fromLatin1( "definition" ) );
+ TQString definition = definitionElement.text().simplifyWhiteSpace();
+
+ GlossaryEntryXRef::List seeAlso;
+
+- TQDomElement referencesElement = childElement( entryElement, TQString::tqfromLatin1( "references" ) );
+- TQDomNodeList referenceNodes = referencesElement.elementsByTagName( TQString::tqfromLatin1( "reference" ) );
++ TQDomElement referencesElement = childElement( entryElement, TQString::fromLatin1( "references" ) );
++ TQDomNodeList referenceNodes = referencesElement.elementsByTagName( TQString::fromLatin1( "reference" ) );
+ if ( referenceNodes.count() > 0 )
+ for ( unsigned int k = 0; k < referenceNodes.count(); k++ ) {
+ TQDomElement referenceElement = referenceNodes.item( k ).toElement();
+
+- TQString term = referenceElement.attribute( TQString::tqfromLatin1( "term" ) );
+- TQString id = referenceElement.attribute( TQString::tqfromLatin1( "id" ) );
++ TQString term = referenceElement.attribute( TQString::fromLatin1( "term" ) );
++ TQString id = referenceElement.attribute( TQString::fromLatin1( "id" ) );
+
+ seeAlso += GlossaryEntryXRef( term, id );
+ }
+@@ -279,10 +279,10 @@
+ GlossaryEntryXRef::List::ConstIterator it = seeAlsos.begin();
+ GlossaryEntryXRef::List::ConstIterator end = seeAlsos.end();
+ for (; it != end; ++it) {
+- seeAlso += TQString::tqfromLatin1("<a href=\"glossentry:");
++ seeAlso += TQString::fromLatin1("<a href=\"glossentry:");
+ seeAlso += (*it).id();
+- seeAlso += TQString::tqfromLatin1("\">") + (*it).term();
+- seeAlso += TQString::tqfromLatin1("</a>, ");
++ seeAlso += TQString::fromLatin1("\">") + (*it).term();
++ seeAlso += TQString::fromLatin1("</a>, ");
+ }
+ seeAlso = seeAlso.left(seeAlso.length() - 2);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/history.cpp v3.5.13-sru/khelpcenter/history.cpp
+--- /tmp/stable//kdebase/khelpcenter/history.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/history.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -93,7 +93,7 @@
+ Entry * current = m_entries.current();
+ if (current)
+ {
+- m_entries.tqat( m_entries.count() - 1 ); // go to last one
++ m_entries.at( m_entries.count() - 1 ); // go to last one
+ for ( ; m_entries.current() != current ; )
+ {
+ if ( !m_entries.removeLast() ) { // and remove from the end (faster and easier)
+@@ -101,7 +101,7 @@
+ return;
+ }
+ else
+- m_entries.tqat( m_entries.count() - 1 );
++ m_entries.at( m_entries.count() - 1 );
+ }
+ // Now current is the current again.
+
+@@ -111,7 +111,7 @@
+
+ // Append a new entry
+ m_entries.append( new Entry ); // made current
+- Q_ASSERT( m_entries.tqat() == (int) m_entries.count() - 1 );
++ Q_ASSERT( m_entries.at() == (int) m_entries.count() - 1 );
+ }
+
+ void History::updateCurrentEntry( View *view )
+@@ -199,9 +199,9 @@
+ Entry *current = m_entries.current();
+ if ( current && !current->view ) m_entries.remove();
+
+- int newPos = m_entries.tqat() + steps;
++ int newPos = m_entries.at() + steps;
+
+- current = m_entries.tqat( newPos );
++ current = m_entries.at( newPos );
+ if ( !current ) {
+ kdError() << "No History entry at position " << newPos << endl;
+ return;
+@@ -257,7 +257,7 @@
+ void History::fillGoMenu()
+ {
+ KMainWindow *mainWindow = static_cast<KMainWindow *>( kapp->mainWidget() );
+- TQPopupMenu *goMenu = dynamic_cast<TQPopupMenu *>( mainWindow->guiFactory()->container( TQString::tqfromLatin1( "go" ), mainWindow ) );
++ TQPopupMenu *goMenu = dynamic_cast<TQPopupMenu *>( mainWindow->guiFactory()->container( TQString::fromLatin1( "go" ), mainWindow ) );
+ if ( !goMenu || m_goMenuIndex == -1 )
+ return;
+
+@@ -276,21 +276,21 @@
+ // Second case: big history, in one or both directions
+ {
+ // Assume both directions first (in this case we place the current URL in the middle)
+- m_goMenuHistoryStartPos = m_entries.tqat() + 4;
++ m_goMenuHistoryStartPos = m_entries.at() + 4;
+
+ // Forward not big enough ?
+- if ( m_entries.tqat() > (int)m_entries.count() - 4 )
++ if ( m_entries.at() > (int)m_entries.count() - 4 )
+ m_goMenuHistoryStartPos = m_entries.count() - 1;
+ }
+ Q_ASSERT( m_goMenuHistoryStartPos >= 0 && (uint)m_goMenuHistoryStartPos < m_entries.count() );
+- m_goMenuHistoryCurrentPos = m_entries.tqat(); // for slotActivated
++ m_goMenuHistoryCurrentPos = m_entries.at(); // for slotActivated
+ fillHistoryPopup( goMenu, false, false, true, m_goMenuHistoryStartPos );
+ }
+
+ void History::goMenuActivated( int id )
+ {
+ KMainWindow *mainWindow = static_cast<KMainWindow *>( kapp->mainWidget() );
+- TQPopupMenu *goMenu = dynamic_cast<TQPopupMenu *>( mainWindow->guiFactory()->container( TQString::tqfromLatin1( "go" ), mainWindow ) );
++ TQPopupMenu *goMenu = dynamic_cast<TQPopupMenu *>( mainWindow->guiFactory()->container( TQString::fromLatin1( "go" ), mainWindow ) );
+ if ( !goMenu )
+ return;
+
+@@ -314,7 +314,7 @@
+ TQPtrListIterator<Entry> it( m_entries );
+ if (onlyBack || onlyForward)
+ {
+- it += m_entries.tqat(); // Jump to current item
++ it += m_entries.at(); // Jump to current item
+ if ( !onlyForward ) --it; else ++it; // And move off it
+ } else if ( startPos )
+ it += startPos; // Jump to specified start pos
+@@ -339,12 +339,12 @@
+
+ bool History::canGoBack() const
+ {
+- return m_entries.tqat() > 0;
++ return m_entries.at() > 0;
+ }
+
+ bool History::canGoForward() const
+ {
+- return m_entries.tqat() != static_cast<int>( m_entries.count() ) - 1;
++ return m_entries.at() != static_cast<int>( m_entries.count() ) - 1;
+ }
+
+ #include "history.moc"
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/htmlsearch/htmlsearch.cpp v3.5.13-sru/khelpcenter/htmlsearch/htmlsearch.cpp
+--- /tmp/stable//kdebase/khelpcenter/htmlsearch/htmlsearch.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/htmlsearch/htmlsearch.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -28,7 +28,7 @@
+
+ void HTMLSearch::scanDir(const TQString& dir)
+ {
+- assert( dir.tqat( dir.length() - 1 ) == '/' );
++ assert( dir.at( dir.length() - 1 ) == '/' );
+
+ TQStringList::ConstIterator it;
+
+@@ -83,7 +83,7 @@
+ TQStringList add = config->readListEntry("Paths");
+ TQStringList::Iterator it;
+ for (it = add.begin(); it != add.end(); ++it) {
+- if ( ( *it ).tqat( ( *it ).length() - 1 ) != '/' )
++ if ( ( *it ).at( ( *it ).length() - 1 ) != '/' )
+ ( *it ) += '/';
+ dirs.append(*it);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/htmlsearch/kcmhtmlsearch.cpp v3.5.13-sru/khelpcenter/htmlsearch/kcmhtmlsearch.cpp
+--- /tmp/stable//kdebase/khelpcenter/htmlsearch/kcmhtmlsearch.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/htmlsearch/kcmhtmlsearch.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -50,15 +50,15 @@
+ TQLabel *l = new TQLabel(i18n("The fulltext search feature makes use of the "
+ "ht://dig HTML search engine. "
+ "You can get ht://dig at the"), gb);
+- l->tqsetAlignment(TQLabel::WordBreak);
+- l->setMinimumSize(l->tqsizeHint());
++ l->setAlignment(TQLabel::WordBreak);
++ l->setMinimumSize(l->sizeHint());
+ grid->addMultiCellWidget(l, 1, 1, 0, 1);
+ TQWhatsThis::add( gb, i18n( "Information about where to get the ht://dig package." ) );
+
+ KURLLabel *url = new KURLLabel(gb);
+ url->setURL("http://www.htdig.org");
+ url->setText(i18n("ht://dig home page"));
+- url->tqsetAlignment(TQLabel::AlignHCenter);
++ url->setAlignment(TQLabel::AlignHCenter);
+ grid->addMultiCellWidget(url, 2,2, 0, 1);
+ connect(url, TQT_SIGNAL(leftClickedURL(const TQString&)),
+ this, TQT_SLOT(urlClicked(const TQString&)));
+@@ -157,7 +157,7 @@
+
+ runButton = new TQPushButton(i18n("Generate Index..."), this);
+ TQWhatsThis::add( runButton, i18n( "Click this button to generate the index for the fulltext search." ) );
+- runButton->setFixedSize(runButton->tqsizeHint());
++ runButton->setFixedSize(runButton->sizeHint());
+ vbox->addWidget(runButton, AlignRight);
+ connect(runButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(generateIndex()));
+
+@@ -179,14 +179,14 @@
+
+ // add all languages to the list
+ TQStringList langs = KGlobal::dirs()->findAllResources("locale",
+- TQString::tqfromLatin1("*/entry.desktop"));
++ TQString::fromLatin1("*/entry.desktop"));
+ langs.sort();
+
+ for (TQStringList::ConstIterator it = langs.begin(); it != langs.end(); ++it)
+ {
+ KSimpleConfig entry(*it);
+- entry.setGroup(TQString::tqfromLatin1("KCM Locale"));
+- TQString name = entry.readEntry(TQString::tqfromLatin1("Name"), KGlobal::locale()->translate("without name"));
++ entry.setGroup(TQString::fromLatin1("KCM Locale"));
++ TQString name = entry.readEntry(TQString::fromLatin1("Name"), KGlobal::locale()->translate("without name"));
+
+ TQString path = *it;
+ int index = path.findRev('/');
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/htmlsearch/klangcombo.cpp v3.5.13-sru/khelpcenter/htmlsearch/klangcombo.cpp
+--- /tmp/stable//kdebase/khelpcenter/htmlsearch/klangcombo.cpp 2011-03-12 07:57:50.000000000 +0100
++++ v3.5.13-sru/khelpcenter/htmlsearch/klangcombo.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -39,14 +39,14 @@
+
+ void KLanguageCombo::insertLanguage(const TQString& path, const TQString& name, const TQString& sub, const TQString &submenu, int index)
+ {
+- TQString output = name + TQString::tqfromLatin1(" (") + path + TQString::tqfromLatin1(")");
+- TQPixmap flag(locate("locale", sub + path + TQString::tqfromLatin1("/flag.png")));
++ TQString output = name + TQString::fromLatin1(" (") + path + TQString::fromLatin1(")");
++ TQPixmap flag(locate("locale", sub + path + TQString::fromLatin1("/flag.png")));
+ insertItem(TQIconSet(flag), output, path, submenu, index);
+ }
+
+ void KLanguageCombo::changeLanguage(const TQString& name, int i)
+ {
+ if (i < 0 || i >= count()) return;
+- TQString output = name + TQString::tqfromLatin1(" (") + tag(i) + TQString::tqfromLatin1(")");
++ TQString output = name + TQString::fromLatin1(" (") + tag(i) + TQString::fromLatin1(")");
+ changeItem(output, i);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/htmlsearch/ktagcombobox.cpp v3.5.13-sru/khelpcenter/htmlsearch/ktagcombobox.cpp
+--- /tmp/stable//kdebase/khelpcenter/htmlsearch/ktagcombobox.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/htmlsearch/ktagcombobox.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -83,7 +83,7 @@
+ if (current == index) return;
+ current = index;
+ emit activated( index );
+- tqrepaint();
++ repaint();
+ }
+
+ void KTagComboBox::internalHighlight( int index )
+@@ -192,7 +192,7 @@
+ TQRect clip(2, 2, width() - 4, height() - 4);
+ #if 0
+ if ( hasFocus() && style().guiStyle() != MotifStyle )
+- p.setPen( tqcolorGroup().highlightedText() );
++ p.setPen( colorGroup().highlightedText() );
+ #endif
+ p.drawText(clip, AlignCenter | SingleLine, popup->text( current ));
+
+@@ -211,7 +211,7 @@
+
+ TQString KTagComboBox::currentTag() const
+ {
+- return *tags->tqat(currentItem());
++ return *tags->at(currentItem());
+ }
+
+ TQString KTagComboBox::tag(int i) const
+@@ -221,7 +221,7 @@
+ kdDebug() << "KTagComboBox::tag(), unknown tag " << i << endl;
+ return TQString::null;
+ }
+- return *tags->tqat(i);
++ return *tags->at(i);
+ }
+
+ int KTagComboBox::currentItem() const
+@@ -233,7 +233,7 @@
+ {
+ if (i < 0 || i >= count()) return;
+ current = i;
+- tqrepaint();
++ repaint();
+ }
+
+ void KTagComboBox::setCurrentItem(const TQString &code)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/htmlsearchconfig.cpp v3.5.13-sru/khelpcenter/htmlsearchconfig.cpp
+--- /tmp/stable//kdebase/khelpcenter/htmlsearchconfig.cpp 2011-03-12 07:57:50.000000000 +0100
++++ v3.5.13-sru/khelpcenter/htmlsearchconfig.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -51,15 +51,15 @@
+ TQLabel *l = new TQLabel(i18n("The fulltext search feature makes use of the "
+ "ht://dig HTML search engine. "
+ "You can get ht://dig at the"), gb);
+- l->tqsetAlignment(TQLabel::WordBreak);
+- l->setMinimumSize(l->tqsizeHint());
++ l->setAlignment(TQLabel::WordBreak);
++ l->setMinimumSize(l->sizeHint());
+ grid->addMultiCellWidget(l, 1, 1, 0, 1);
+ TQWhatsThis::add( gb, i18n( "Information about where to get the ht://dig package." ) );
+
+ KURLLabel *url = new KURLLabel(gb);
+ url->setURL("http://www.htdig.org");
+ url->setText(i18n("ht://dig home page"));
+- url->tqsetAlignment(TQLabel::AlignHCenter);
++ url->setAlignment(TQLabel::AlignHCenter);
+ grid->addMultiCellWidget(url, 2,2, 0, 1);
+ connect(url, TQT_SIGNAL(leftClickedURL(const TQString&)),
+ this, TQT_SLOT(urlClicked(const TQString&)));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/kcmhelpcenter.cpp v3.5.13-sru/khelpcenter/kcmhelpcenter.cpp
+--- /tmp/stable//kdebase/khelpcenter/kcmhelpcenter.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/kcmhelpcenter.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -101,7 +101,7 @@
+ topLayout->setSpacing( spacingHint() );
+
+ mLabel = new TQLabel( this );
+- mLabel->tqsetAlignment( AlignHCenter );
++ mLabel->setAlignment( AlignHCenter );
+ topLayout->addWidget( mLabel );
+
+ mProgressBar = new TQProgressBar( this );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/mainwindow.cpp v3.5.13-sru/khelpcenter/mainwindow.cpp
+--- /tmp/stable//kdebase/khelpcenter/mainwindow.cpp 2011-03-12 07:57:50.000000000 +0100
++++ v3.5.13-sru/khelpcenter/mainwindow.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -325,7 +325,7 @@
+
+ mDoc->browserExtension()->setURLArgs( args );
+
+- if ( proto == TQString::tqfromLatin1("glossentry") ) {
++ if ( proto == TQString::fromLatin1("glossentry") ) {
+ TQString decodedEntryId = KURL::decode_string( url.encodedPathAndQuery() );
+ slotGlossSelected( mNavigator->glossEntry( decodedEntryId ) );
+ mNavigator->slotSelectGlossEntry( decodedEntryId );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/navigator.cpp v3.5.13-sru/khelpcenter/navigator.cpp
+--- /tmp/stable//kdebase/khelpcenter/navigator.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/navigator.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -262,8 +262,8 @@
+
+ void Navigator::insertAppletDocs( NavigatorItem *topItem )
+ {
+- TQDir appletDir( locate( "data", TQString::tqfromLatin1( "kicker/applets/" ) ) );
+- appletDir.setNameFilter( TQString::tqfromLatin1( "*.desktop" ) );
++ TQDir appletDir( locate( "data", TQString::fromLatin1( "kicker/applets/" ) ) );
++ appletDir.setNameFilter( TQString::fromLatin1( "*.desktop" ) );
+
+ TQStringList files = appletDir.entryList( TQDir::Files | TQDir::Readable );
+ TQStringList::ConstIterator it = files.begin();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/plugins/CMakeLists.txt v3.5.13-sru/khelpcenter/plugins/CMakeLists.txt
+--- /tmp/stable//kdebase/khelpcenter/plugins/CMakeLists.txt 2011-03-12 07:57:50.000000000 +0100
++++ v3.5.13-sru/khelpcenter/plugins/CMakeLists.txt 2012-09-08 19:41:29.000000000 +0200
+@@ -17,6 +17,6 @@
+ install( FILES
+ applets.desktop contact.desktop faq.desktop info.desktop
+ links.desktop support.desktop userguide.desktop welcome.desktop
+- kicmodules.desktop kcontrolmodules.desktop konqplugins.desktop
++ hardwaremodules.desktop kcontrolmodules.desktop konqplugins.desktop
+ kioslaves.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/khelpcenter/plugins )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/plugins/hardwaremodules.desktop v3.5.13-sru/khelpcenter/plugins/hardwaremodules.desktop
+--- /tmp/stable//kdebase/khelpcenter/plugins/hardwaremodules.desktop 1970-01-01 01:00:00.000000000 +0100
++++ v3.5.13-sru/khelpcenter/plugins/hardwaremodules.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -0,0 +1,63 @@
++[Desktop Entry]
++
++Name=Hardware
++Name[af]=Hardeware
++Name[ar]=العتاد
++Name[be]=Ðпаратнае забеÑпÑчÑнне
++Name[bg]=Хардуер
++Name[bn]=হারà§à¦¡à¦“য়à§à¦¯à¦¾à¦°
++Name[br]=Periantel
++Name[bs]=Hardver
++Name[csb]=Nôrzãdza
++Name[cy]=Caledwedd
++Name[el]=Υλικό
++Name[eo]=Aparataro
++Name[et]=Riistvara
++Name[fa]=سخت‌اÙزار
++Name[fi]=Laitteisto
++Name[fr]=Matériel
++Name[ga]=Crua-Earraí
++Name[he]=חומרה
++Name[hr]=Hardver
++Name[hu]=Hardver
++Name[id]=Perangkat Keras
++Name[is]=Vélbúnaður
++Name[ja]=ãƒãƒ¼ãƒ‰ã‚¦ã‚§ã‚¢
++Name[ka]=მáƒáƒ¬áƒ§áƒáƒ‘ილáƒáƒ‘ები
++Name[kk]=Жабдықтар
++Name[km]=ផ្នែក​រឹង
++Name[ko]=하드웨어
++Name[lt]=Aparatinė įranga
++Name[mk]=Хардвер
++Name[ms]=Perkakasan
++Name[nb]=Maskinvare
++Name[ne]=हारà¥à¤¡à¤µà¥‡à¤¯à¤°
++Name[nn]=Maskinvare
++Name[pa]=ਜੰਤਰ
++Name[pl]=Sprzęt
++Name[ru]=Оборудование
++Name[rw]=Icyuma
++Name[se]=Mašiidnagálvu
++Name[sl]=Strojna oprema
++Name[sr]=Хардвер
++Name[sr@Latn]=Hardver
++Name[sv]=HÃ¥rdvara
++Name[ta]=வனà¯à®ªà¯Šà®°à¯à®³à¯
++Name[te]=హారà±à°¡à± వేరà±
++Name[tg]=Сахтафзор
++Name[th]=อุปà¸à¸£à¸“์ภายในเครื่อง
++Name[tr]=Donanım
++Name[tt]=Cıhazlar
++Name[uk]=ОбладнаннÑ
++Name[uz]=Asbob-uskunalar
++Name[uz@cyrillic]=ÐÑбоб-уÑкуналар
++Name[vi]=Phần cứng
++Name[wa]=Éndjolreye
++Name[zh_CN]=硬件
++Name[zh_TW]=硬體
++
++Icon=contents2
++
++X-DOC-Weight=-400
++
++X-KDE-KHelpcenter-Special=kinfocenter
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/plugins/kicmodules.desktop v3.5.13-sru/khelpcenter/plugins/kicmodules.desktop
+--- /tmp/stable//kdebase/khelpcenter/plugins/kicmodules.desktop 2010-08-12 05:28:42.000000000 +0200
++++ v3.5.13-sru/khelpcenter/plugins/kicmodules.desktop 1970-01-01 01:00:00.000000000 +0100
+@@ -1,87 +0,0 @@
+-[Desktop Entry]
+-
+-Name=KInfoCenter Modules
+-Name[af]=K Inligting Sentrum Modules
+-Name[ar]=وحدات مركز المعلومات
+-Name[be]=Модулі інфармацыйнага цÑнтра
+-Name[bg]=Информационен център
+-Name[bn]=KInfoCenter মডিউল
+-Name[br]=Molladoù KInfoCenter
+-Name[bs]=Moduli za KInfoCenter
+-Name[ca]=Mòduls del KInfoCenter
+-Name[cs]=Moduly InformaÄního centra
+-Name[csb]=Wëdowiédny mòdułë centróm kòntrolë
+-Name[cy]=Modiwlau KInfoCenter
+-Name[da]=KInfoCenter-moduler
+-Name[de]=Infozentrum-Module
+-Name[el]=ΑÏθÏώματα KInfoCenter
+-Name[en_GB]=KInfoCentre Modules
+-Name[eo]=Infocentraj moduloj
+-Name[es]=Módulos del KInfoCenter
+-Name[et]=Infokeskuse moodulid
+-Name[eu]=KInfoCenter moduluak
+-Name[fa]=پیمانه‌های KInfoCenter
+-Name[fi]=KInfoCenter-moduulit
+-Name[fr]=Modules du Centre d'informations
+-Name[fy]=Ynformaasjesintrummodules
+-Name[ga]=Modúil KInfoCenter
+-Name[gl]=Módulos do Centro de Información de KDE
+-Name[he]=מודולי מרכז המידע
+-Name[hi]=के-जानकारी-सेंटर मॉडà¥à¤¯à¥‚लà¥à¤¸
+-Name[hr]=KInfoCenter moduli
+-Name[hu]=KInfoCenter-modulok
+-Name[is]=Upplýsingaborðseiningar
+-Name[it]=Moduli del centro informazioni
+-Name[ja]=KInfoCenter モジュール
+-Name[ka]=სáƒáƒ˜áƒœáƒ¤áƒáƒ áƒ›áƒáƒªáƒ˜áƒ ცენტრის მáƒáƒ“ულები
+-Name[kk]=KInfoCenter модульдері
+-Name[km]=ម៉ូឌុល KInfoCenter
+-Name[ko]=KInfoCenter 모듈
+-Name[lo]=ສູນຄວບຄຸມ
+-Name[lt]=KInfoCenter moduliai
+-Name[lv]=KInfo centra moduļi
+-Name[mk]=KInfoCenter модули
+-Name[mn]=ÐœÑд төв-модул
+-Name[ms]=Modul KInfoCenter
+-Name[mt]=Moduli taċ-Ċentru tal-Informazzjoni
+-Name[nb]=Infosentermoduler
+-Name[nds]=Modulen för dat KDE-Infozentrum
+-Name[ne]=केडीई सूचना केनà¥à¤¦à¥à¤° मोडà¥à¤¯à¥à¤²
+-Name[nl]=Informatiecentrummodules
+-Name[nn]=Infosentermodular
+-Name[nso]=Diripa tsa Bogareng bja Tshedimoso ya K
+-Name[pa]=ਕੇਜਾਣਕਾਰੀ ਕੇਂਦਰ ਮੈਡੀਊਲ
+-Name[pl]=Moduły informacyjne Centrum sterowania
+-Name[pt]=Módulos do KInfoCenter
+-Name[pt_BR]=Módulo do Centro de Informações do KDE
+-Name[ro]=Module Centru de Informații
+-Name[ru]=Модули Центра информации
+-Name[rw]=Ibice K-UmwanyaAmakuru
+-Name[se]=Diehtoguovddášmoduvllat
+-Name[sk]=Moduly pre InformaÄné centrum
+-Name[sl]=Moduli Informacijega srediÅ¡Äa
+-Name[sr]=KInfoCenter модули
+-Name[sr@Latn]=KInfoCenter moduli
+-Name[sv]=Moduler i Informationscentralen
+-Name[ta]=கேதகவல௠மைய பகà¯à®¤à®¿à®•à®³à¯
+-Name[te]=కెసమాచార కేందà±à°°à°‚ మాడà±à°¯à±‚à°³à±à°²à±
+-Name[tg]=Бахшҳои маркази иттилоот
+-Name[th]=โมดูลของศูนย์ข้อมูล
+-Name[tr]=KInfoCenter Modülleri
+-Name[tt]=KInfoCenter Öleşläre
+-Name[uk]=Модулі KInfoCenter
+-Name[uz]=KInfoCenter modullari
+-Name[uz@cyrillic]=KInfoCenter модуллари
+-Name[ven]=Modulu ya senthara ya mafhungo a K
+-Name[vi]=Mô đun Trung tâm Thông tin của KDE
+-Name[wa]=Modules do cinte d' informåcion di KDE
+-Name[xh]=Izicatshulwa ze KInfoCenter
+-Name[zh_CN]=KInfoCenter 模å—
+-Name[zh_TW]=KInfoCenter 模組
+-Name[zu]=Izingxenye ze-KInfoCenter
+-
+-Icon=contents2
+-
+-X-DOC-Weight=-400
+-
+-X-KDE-KHelpcenter-Special=kinfocenter
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/toc.cpp v3.5.13-sru/khelpcenter/toc.cpp
+--- /tmp/stable//kdebase/khelpcenter/toc.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/toc.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -164,7 +164,7 @@
+ TQDomComment timestamp = doc.createComment( TQString::number( sourceFileCTime() ) );
+ doc.documentElement().appendChild( timestamp );
+
+- f.tqat( 0 );
++ f.at( 0 );
+ TQTextStream stream( &f );
+ stream.setEncoding( TQTextStream::UnicodeUTF8 );
+ stream << doc.toString();
+@@ -188,9 +188,9 @@
+ TQDomNodeList chapters = doc.documentElement().elementsByTagName( "chapter" );
+ for ( unsigned int chapterCount = 0; chapterCount < chapters.count(); chapterCount++ ) {
+ TQDomElement chapElem = chapters.item( chapterCount ).toElement();
+- TQDomElement chapTitleElem = childElement( chapElem, TQString::tqfromLatin1( "title" ) );
++ TQDomElement chapTitleElem = childElement( chapElem, TQString::fromLatin1( "title" ) );
+ TQString chapTitle = chapTitleElem.text().simplifyWhiteSpace();
+- TQDomElement chapRefElem = childElement( chapElem, TQString::tqfromLatin1( "anchor" ) );
++ TQDomElement chapRefElem = childElement( chapElem, TQString::fromLatin1( "anchor" ) );
+ TQString chapRef = chapRefElem.text().stripWhiteSpace();
+
+ chapItem = new TOCChapterItem( this, m_parentItem, chapItem, chapTitle, chapRef );
+@@ -199,9 +199,9 @@
+ TQDomNodeList sections = chapElem.elementsByTagName( "section" );
+ for ( unsigned int sectCount = 0; sectCount < sections.count(); sectCount++ ) {
+ TQDomElement sectElem = sections.item( sectCount ).toElement();
+- TQDomElement sectTitleElem = childElement( sectElem, TQString::tqfromLatin1( "title" ) );
++ TQDomElement sectTitleElem = childElement( sectElem, TQString::fromLatin1( "title" ) );
+ TQString sectTitle = sectTitleElem.text().simplifyWhiteSpace();
+- TQDomElement sectRefElem = childElement( sectElem, TQString::tqfromLatin1( "anchor" ) );
++ TQDomElement sectRefElem = childElement( sectElem, TQString::fromLatin1( "anchor" ) );
+ TQString sectRef = sectRefElem.text().stripWhiteSpace();
+
+ sectItem = new TOCSectionItem( this, chapItem, sectItem, sectTitle, sectRef );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khelpcenter/view.cpp v3.5.13-sru/khelpcenter/view.cpp
+--- /tmp/stable//kdebase/khelpcenter/view.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/khelpcenter/view.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -62,7 +62,7 @@
+
+ void View::copySelectedText()
+ {
+- kapp->tqclipboard()->setText( selectedText() );
++ kapp->clipboard()->setText( selectedText() );
+ }
+
+ bool View::openURL( const KURL &url )
+@@ -276,7 +276,7 @@
+
+ void View::slotCopyLink()
+ {
+- TQApplication::tqclipboard()->setText(mCopyURL);
++ TQApplication::clipboard()->setText(mCopyURL);
+ }
+
+ bool View::prevPage(bool checkOnly)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/arts/CMakeLists.txt v3.5.13-sru/khotkeys/arts/CMakeLists.txt
+--- /tmp/stable//kdebase/khotkeys/arts/CMakeLists.txt 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/arts/CMakeLists.txt 2012-09-08 19:41:29.000000000 +0200
+@@ -25,6 +25,7 @@
+ ${CMAKE_SOURCE_DIR}/khotkeys/kcontrol
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
++ ${ARTS_INCLUDE_DIRS}
+ )
+
+ link_directories(
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/gesturedrawer.cpp v3.5.13-sru/khotkeys/kcontrol/gesturedrawer.cpp
+--- /tmp/stable//kdebase/khotkeys/kcontrol/gesturedrawer.cpp 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/gesturedrawer.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -20,7 +20,7 @@
+ GestureDrawer::GestureDrawer(TQWidget *parent, const char *name)
+ : TQFrame(parent, name), _data(TQString::null)
+ {
+- setBackgroundColor( tqcolorGroup().base());
++ setBackgroundColor( colorGroup().base());
+ setFrameStyle(TQFrame::Panel | TQFrame::Sunken);
+ setMinimumSize(30, 30);
+ }
+@@ -33,7 +33,7 @@
+ {
+ _data = data;
+
+- tqrepaint();
++ repaint();
+ }
+
+ void GestureDrawer::paintEvent(TQPaintEvent *ev)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/gesturedrawer.h v3.5.13-sru/khotkeys/kcontrol/gesturedrawer.h
+--- /tmp/stable//kdebase/khotkeys/kcontrol/gesturedrawer.h 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/gesturedrawer.h 2012-09-08 19:41:29.000000000 +0200
+@@ -31,7 +31,7 @@
+
+ void setData(const TQString &data);
+
+- virtual TQSize tqsizeHint() const { return TQSize(30, 30); }
++ virtual TQSize sizeHint() const { return TQSize(30, 30); }
+
+ protected:
+ void paintEvent(TQPaintEvent *ev);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/gesturerecorder.cpp v3.5.13-sru/khotkeys/kcontrol/gesturerecorder.cpp
+--- /tmp/stable//kdebase/khotkeys/kcontrol/gesturerecorder.cpp 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/gesturerecorder.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -20,7 +20,7 @@
+ GestureRecorder::GestureRecorder(TQWidget *parent, const char *name)
+ : TQFrame(parent, name), _mouseButtonDown(false)
+ {
+- setBackgroundColor( tqcolorGroup().base());
++ setBackgroundColor( colorGroup().base());
+ setFrameStyle(TQFrame::Sunken | TQFrame::Panel);
+ setLineWidth(2);
+ setMidLineWidth(0);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/gesturerecordpage.cpp v3.5.13-sru/khotkeys/kcontrol/gesturerecordpage.cpp
+--- /tmp/stable//kdebase/khotkeys/kcontrol/gesturerecordpage.cpp 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/gesturerecordpage.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -43,7 +43,7 @@
+ "button below.\n\nDraw here:");
+
+ TQLabel *label = new TQLabel(message, this, "label");
+- label->tqsetAlignment(TQLabel::AlignLeft | TQLabel::WordBreak |
++ label->setAlignment(TQLabel::AlignLeft | TQLabel::WordBreak |
+ TQLabel::AlignVCenter);
+
+ _recorder = new GestureRecorder(this, "recorder");
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/kcmkhotkeys.cpp v3.5.13-sru/khotkeys/kcontrol/kcmkhotkeys.cpp
+--- /tmp/stable//kdebase/khotkeys/kcontrol/kcmkhotkeys.cpp 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/kcmkhotkeys.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -272,14 +272,14 @@
+
+ void Module::import()
+ {
+- TQString file = KFileDialog::getOpenFileName( TQString::null, "*.khotkeys", tqtopLevelWidget(),
++ TQString file = KFileDialog::getOpenFileName( TQString::null, "*.khotkeys", topLevelWidget(),
+ i18n( "Select File with Actions to Be Imported" ));
+ if( file.isEmpty())
+ return;
+ KSimpleConfig cfg( file, true );
+ if( !settings.import( cfg, true ))
+ {
+- KMessageBox::error( tqtopLevelWidget(),
++ KMessageBox::error( topLevelWidget(),
+ i18n( "Import of the specified file failed. Most probably the file is not a valid "
+ "file with actions." ));
+ return;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/main_buttons_widget.cpp v3.5.13-sru/khotkeys/kcontrol/main_buttons_widget.cpp
+--- /tmp/stable//kdebase/khotkeys/kcontrol/main_buttons_widget.cpp 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/main_buttons_widget.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -38,7 +38,7 @@
+ module, TQT_SLOT( changed()));
+ connect( delete_action_button, TQT_SIGNAL( clicked()),
+ module, TQT_SLOT( changed()));
+- setMaximumHeight( tqsizeHint().height()); // it gets too high and I have no idea why
++ setMaximumHeight( sizeHint().height()); // it gets too high and I have no idea why
+ }
+
+ void Main_buttons_widget::enable_delete( bool enable_P )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/triggers_tab.cpp v3.5.13-sru/khotkeys/kcontrol/triggers_tab.cpp
+--- /tmp/stable//kdebase/khotkeys/kcontrol/triggers_tab.cpp 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/triggers_tab.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -241,8 +241,8 @@
+
+ void Shortcut_trigger_widget::capturedShortcut( const KShortcut& s_P )
+ {
+- if( KKeyChooser::checkGlobalShortcutsConflict( s_P, true, tqtopLevelWidget())
+- || KKeyChooser::checkStandardShortcutsConflict( s_P, true, tqtopLevelWidget()))
++ if( KKeyChooser::checkGlobalShortcutsConflict( s_P, true, topLevelWidget())
++ || KKeyChooser::checkStandardShortcutsConflict( s_P, true, topLevelWidget()))
+ return;
+ // KHotKeys::Module::changed()
+ module->changed();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/action_group_tab_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/action_group_tab_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/action_group_tab_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/action_group_tab_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -48,7 +48,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -73,7 +73,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/dcop_widget_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/dcop_widget_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/dcop_widget_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/dcop_widget_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -48,7 +48,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -81,7 +81,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -114,7 +114,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -147,7 +147,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -178,7 +178,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -203,7 +203,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -228,7 +228,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/general_settings_tab_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/general_settings_tab_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/general_settings_tab_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/general_settings_tab_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -42,7 +42,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -67,7 +67,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -86,7 +86,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>40</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/general_tab_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/general_tab_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/general_tab_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/general_tab_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -80,7 +80,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -105,7 +105,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/gestures_settings_tab_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/gestures_settings_tab_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/gestures_settings_tab_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/gestures_settings_tab_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -116,7 +116,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>50</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/gesture_triggers_tab_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/gesture_triggers_tab_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/gesture_triggers_tab_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/gesture_triggers_tab_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -46,7 +46,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>30</height>
+@@ -77,7 +77,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -102,7 +102,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -121,7 +121,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>100</width>
+ <height>100</height>
+@@ -138,7 +138,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -163,7 +163,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -182,7 +182,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>30</height>
+@@ -213,7 +213,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -238,7 +238,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -257,7 +257,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>100</width>
+ <height>100</height>
+@@ -274,7 +274,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -299,7 +299,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -318,7 +318,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>30</height>
+@@ -349,7 +349,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -374,7 +374,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -393,7 +393,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>100</width>
+ <height>100</height>
+@@ -410,7 +410,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -435,7 +435,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -454,7 +454,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>30</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/info_tab_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/info_tab_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/info_tab_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/info_tab_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -33,7 +33,7 @@
+ <string>&lt;p&gt;This module allows configuring input actions, like mouse gestures, keyboard shortcuts for performing commands, launching applications or DCOP calls, and similar.&lt;/p&gt;
+ &lt;p&gt;&lt;b&gt;NOTE: &lt;/b&gt;If you are not an experienced user, you should be careful with modifying the actions, and should limit your changes mainly to enabling/disabling actions, and changing triggers.&lt;/p&gt;</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+@@ -47,7 +47,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/menuentry_widget_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/menuentry_widget_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/menuentry_widget_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/menuentry_widget_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -72,7 +72,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/voice_input_widget_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/voice_input_widget_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/voice_input_widget_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/voice_input_widget_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -28,7 +28,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>150</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/voice_settings_tab_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/voice_settings_tab_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/voice_settings_tab_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/voice_settings_tab_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -23,7 +23,7 @@
+ <property name="text">
+ <string>In order to trigger a spoken action, you have to press the key (or combination of keys) configured below, speak the command and then press the same key again once you have finished speaking.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+@@ -61,7 +61,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>241</width>
+ <height>21</height>
+@@ -80,7 +80,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>31</width>
+ <height>90</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/windowdef_list_widget_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/windowdef_list_widget_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/windowdef_list_widget_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/windowdef_list_widget_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -154,7 +154,7 @@
+ </connection>
+ </connections>
+ <forwards>
+- <forward>class QListViewItem;</forward>
++ <forward>class TQListViewItem;</forward>
+ </forwards>
+ <Q_SLOTS>
+ <slot access="protected" specifier="pure virtual">copy_pressed()</slot>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/ui/windowdef_simple_widget_ui.ui v3.5.13-sru/khotkeys/kcontrol/ui/windowdef_simple_widget_ui.ui
+--- /tmp/stable//kdebase/khotkeys/kcontrol/ui/windowdef_simple_widget_ui.ui 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/ui/windowdef_simple_widget_ui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -48,7 +48,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -137,7 +137,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -226,7 +226,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -315,7 +315,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+@@ -346,7 +346,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -371,7 +371,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>0</height>
+@@ -390,7 +390,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>0</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/kcontrol/voicerecordpage.cpp v3.5.13-sru/khotkeys/kcontrol/voicerecordpage.cpp
+--- /tmp/stable//kdebase/khotkeys/kcontrol/voicerecordpage.cpp 2011-03-12 07:58:19.000000000 +0100
++++ v3.5.13-sru/khotkeys/kcontrol/voicerecordpage.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -31,7 +31,7 @@
+ _message = i18n("Enter a code for the sound (e.g. the word you are saying) and record the same word twice.");
+
+ _label = new TQLabel(_message, this, "label");
+- _label->tqsetAlignment(TQLabel::AlignLeft | TQLabel::WordBreak |
++ _label->setAlignment(TQLabel::AlignLeft | TQLabel::WordBreak |
+ TQLabel::AlignVCenter);
+
+ _lineEdit = new KLineEdit( this );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/shared/CMakeLists.txt v3.5.13-sru/khotkeys/shared/CMakeLists.txt
+--- /tmp/stable//kdebase/khotkeys/shared/CMakeLists.txt 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/khotkeys/shared/CMakeLists.txt 2012-09-08 19:41:29.000000000 +0200
+@@ -18,6 +18,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XTEST_LIBDIR}
+ )
+
+
+@@ -36,6 +37,6 @@
+ tde_add_library( ${target} SHARED AUTOMOC
+ SOURCES ${${target}_SRCS}
+ VERSION 1.0.0
+- LINK kio-shared
++ LINK kio-shared ${XTEST_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}
+ )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/shared/input.cpp v3.5.13-sru/khotkeys/shared/input.cpp
+--- /tmp/stable//kdebase/khotkeys/shared/input.cpp 2011-08-11 07:25:54.000000000 +0200
++++ v3.5.13-sru/khotkeys/shared/input.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -55,7 +55,7 @@
+
+ void Kbd::insert_item( const KShortcut& shortcut_P, Kbd_receiver* receiver_P )
+ {
+- Receiver_data& rcv = tqreceivers[ receiver_P ];
++ Receiver_data& rcv = receivers[ receiver_P ];
+ rcv.shortcuts.append( shortcut_P );
+ if( rcv.active )
+ grab_shortcut( shortcut_P );
+@@ -63,17 +63,17 @@
+
+ void Kbd::remove_item( const KShortcut& shortcut_P, Kbd_receiver* receiver_P )
+ {
+- Receiver_data& rcv = tqreceivers[ receiver_P ];
++ Receiver_data& rcv = receivers[ receiver_P ];
+ rcv.shortcuts.remove( shortcut_P );
+ if( rcv.active )
+ ungrab_shortcut( shortcut_P );
+ if( rcv.shortcuts.count() == 0 )
+- tqreceivers.remove( receiver_P );
++ receivers.remove( receiver_P );
+ }
+
+ void Kbd::activate_receiver( Kbd_receiver* receiver_P )
+ {
+- Receiver_data& rcv = tqreceivers[ receiver_P ];
++ Receiver_data& rcv = receivers[ receiver_P ];
+ if( rcv.active )
+ return;
+ rcv.active = true;
+@@ -85,7 +85,7 @@
+
+ void Kbd::deactivate_receiver( Kbd_receiver* receiver_P )
+ {
+- Receiver_data& rcv = tqreceivers[ receiver_P ];
++ Receiver_data& rcv = receivers[ receiver_P ];
+ if( !rcv.active )
+ return;
+ rcv.active = false;
+@@ -144,8 +144,8 @@
+ KShortcut shortcut( key_P );
+ if( !grabs.contains( shortcut ))
+ return;
+- for( TQMap< Kbd_receiver*, Receiver_data >::ConstIterator it = tqreceivers.begin();
+- it != tqreceivers.end();
++ for( TQMap< Kbd_receiver*, Receiver_data >::ConstIterator it = receivers.begin();
++ it != receivers.end();
+ ++it )
+ if( ( *it ).shortcuts.contains( shortcut ) && ( *it ).active
+ && it.key()->handle_key( shortcut ))
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/shared/input.h v3.5.13-sru/khotkeys/shared/input.h
+--- /tmp/stable//kdebase/khotkeys/shared/input.h 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/khotkeys/shared/input.h 2012-09-08 19:41:29.000000000 +0200
+@@ -58,7 +58,7 @@
+ TQValueList< KShortcut > shortcuts;
+ bool active;
+ };
+- TQMap< Kbd_receiver*, Receiver_data > tqreceivers;
++ TQMap< Kbd_receiver*, Receiver_data > receivers;
+ TQMap< KShortcut, int > grabs;
+ KGlobalAccel* kga;
+ };
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/shared/sound.cpp v3.5.13-sru/khotkeys/shared/sound.cpp
+--- /tmp/stable//kdebase/khotkeys/shared/sound.cpp 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/khotkeys/shared/sound.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -93,7 +93,7 @@
+ TQ_INT32 nb=0;
+ for(uint k=0;k<BytePS;k++)
+ {
+- nb |= (SoundData.tqat(f*BytePS+k)&0x000000FF) << (k*8);
++ nb |= (SoundData.at(f*BytePS+k)&0x000000FF) << (k*8);
+ }
+ if(nb & (1 << (BytePS*8 -1)) )
+ nb = nb-(1<<BytePS*8);
+@@ -129,11 +129,11 @@
+
+ for(unsigned long int f=0;f<data.size();f++)
+ {
+- TQ_UINT16 val= (signed short int) ( (data.tqat(f) * ((double)(1<<13)/(signed)max) ) );
+- SoundData.tqat( 2*f )= val & 0x00FF;
+- SoundData.tqat(2*f+1)= (val & 0xFF00) >> 8;
++ TQ_UINT16 val= (signed short int) ( (data.at(f) * ((double)(1<<13)/(signed)max) ) );
++ SoundData.at( 2*f )= val & 0x00FF;
++ SoundData.at(2*f+1)= (val & 0xFF00) >> 8;
+
+-// kdDebug( 1217 ) << k_funcinfo << data.tqat(f) << " / " << max << " = " << val << " | " << SoundData[ 2*f ] << " "<< SoundData[ 2*f+1 ] << endl;
++// kdDebug( 1217 ) << k_funcinfo << data.at(f) << " / " << max << " = " << val << " | " << SoundData[ 2*f ] << " "<< SoundData[ 2*f+1 ] << endl;
+ }
+
+ TQ_UINT16 NumberOfChannels=2;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/shared/sound.h v3.5.13-sru/khotkeys/shared/sound.h
+--- /tmp/stable//kdebase/khotkeys/shared/sound.h 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/khotkeys/shared/sound.h 2012-09-08 19:41:29.000000000 +0200
+@@ -42,7 +42,7 @@
+
+ inline float at(int pos) const
+ {
+- return (float)(data.tqat(pos))/max;
++ return (float)(data.at(pos))/max;
+ }
+
+ inline uint fs() const
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/khotkeys/shared/voicesignature.cpp v3.5.13-sru/khotkeys/shared/voicesignature.cpp
+--- /tmp/stable//kdebase/khotkeys/shared/voicesignature.cpp 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/khotkeys/shared/voicesignature.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -210,7 +210,7 @@
+
+ for(uint x=start; x<stop; x++)
+ {
+- Complex s(sound.tqat(x));
++ Complex s(sound.at(x));
+ double angle=-2*PI*f*x/8000;
+ s*= Complex( cos(angle) , sin(angle) );
+ c+=s;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/clock/analog.ui v3.5.13-sru/kicker/applets/clock/analog.ui
+--- /tmp/stable//kdebase/kicker/applets/clock/analog.ui 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/clock/analog.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -75,7 +75,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -149,7 +149,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+@@ -241,7 +241,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>310</width>
+ <height>20</height>
+@@ -269,7 +269,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>50</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/clock/clockapplet.kcfg v3.5.13-sru/kicker/applets/clock/clockapplet.kcfg
+--- /tmp/stable//kdebase/kicker/applets/clock/clockapplet.kcfg 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/clock/clockapplet.kcfg 2012-09-08 19:41:29.000000000 +0200
+@@ -20,16 +20,16 @@
+ <group name="Date">
+ <entry name="DateForegroundColor" type="Color" key="Foreground_Color">
+ <label>Foreground color.</label>
+- <default code="true">KApplication::tqpalette().active().text()</default>
++ <default code="true">KApplication::palette().active().text()</default>
+ </entry>
+ <entry name="DateBackgroundColor" type="Color" key="Background_Color">
+ <label>Foreground color.</label>
+- <default code="true">KApplication::tqpalette().active().background()</default>
++ <default code="true">KApplication::palette().active().background()</default>
+ </entry>
+ <entry name="DateFont" type="Font" key="Font">
+ <label>Font for the clock.</label>
+ <code>
+-QFont defFont=KGlobalSettings::generalFont();
++TQFont defFont=KGlobalSettings::generalFont();
+ defFont.setPointSize(8);
+ </code>
+ <default code="true">defFont</default>
+@@ -63,11 +63,11 @@
+ </entry>
+ <entry name="PlainForegroundColor" type="Color" key="Foreground_Color">
+ <label>Foreground color.</label>
+- <default code="true">KApplication::tqpalette().active().text()</default>
++ <default code="true">KApplication::palette().active().text()</default>
+ </entry>
+ <entry name="PlainBackgroundColor" type="Color" key="Background_Color">
+ <label>Background color.</label>
+- <default code="true">KApplication::tqpalette().active().background()</default>
++ <default code="true">KApplication::palette().active().background()</default>
+ </entry>
+ </group>
+ <group name="Digital">
+@@ -89,15 +89,15 @@
+ </entry>
+ <entry name="DigitalForegroundColor" type="Color" key="Foreground_Color">
+ <label>Foreground color.</label>
+- <default code="true">KApplication::tqpalette().active().text()</default>
++ <default code="true">KApplication::palette().active().text()</default>
+ </entry>
+ <entry name="DigitalBackgroundColor" type="Color" key="Background_Color">
+ <label>Background color.</label>
+- <default code="true">KApplication::tqpalette().active().background()</default>
++ <default code="true">KApplication::palette().active().background()</default>
+ </entry>
+ <entry name="DigitalShadowColor" type="Color" key="Shadow_Color">
+ <label>Shadow color.</label>
+- <default code="true">KApplication::tqpalette().active().mid()</default>
++ <default code="true">KApplication::palette().active().mid()</default>
+ </entry>
+ <entry name="DigitalBlink" type="Bool" key="Blink">
+ <label>Blink</label>
+@@ -127,15 +127,15 @@
+ </entry>
+ <entry name="AnalogForegroundColor" type="Color" key="Foreground_Color">
+ <label>Foreground color.</label>
+- <default code="true">KApplication::tqpalette().active().text()</default>
++ <default code="true">KApplication::palette().active().text()</default>
+ </entry>
+ <entry name="AnalogBackgroundColor" type="Color" key="Background_Color">
+ <label>Background color.</label>
+- <default code="true">KApplication::tqpalette().active().background()</default>
++ <default code="true">KApplication::palette().active().background()</default>
+ </entry>
+ <entry name="AnalogShadowColor" type="Color" key="Shadow_Color">
+ <label>Shadow color.</label>
+- <default code="true">KApplication::tqpalette().active().mid()</default>
++ <default code="true">KApplication::palette().active().mid()</default>
+ </entry>
+ <entry name="AnalogLCDStyle" type="Bool" key="LCD_Style">
+ <label>LCD Style</label>
+@@ -168,11 +168,11 @@
+ </entry>
+ <entry name="FuzzyForegroundColor" type="Color" key="Foreground_Color">
+ <label>Foreground color.</label>
+- <default code="true">KApplication::tqpalette().active().text()</default>
++ <default code="true">KApplication::palette().active().text()</default>
+ </entry>
+ <entry name="FuzzyBackgroundColor" type="Color" key="Background_Color">
+ <label>Background color.</label>
+- <default code="true">KApplication::tqpalette().active().background()</default>
++ <default code="true">KApplication::palette().active().background()</default>
+ </entry>
+ <entry name="Fuzzyness" type="Int">
+ <label>Fuzzyness</label>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/clock/clock.cpp v3.5.13-sru/kicker/applets/clock/clock.cpp
+--- /tmp/stable//kdebase/kicker/applets/clock/clock.cpp 2011-08-11 07:25:48.000000000 +0200
++++ v3.5.13-sru/kicker/applets/clock/clock.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -86,23 +86,23 @@
+ settings = new SettingsWidgetImp(prefs, zone, 0, "General");
+ connect(TQT_TQOBJECT(settings->kcfg_Type), TQT_SIGNAL(activated(int)), TQT_SLOT(selectPage(int)));
+
+- settings->kcfg_PlainBackgroundColor->setDefaultColor(KApplication::tqpalette().active().background());
+- settings->kcfg_DateBackgroundColor->setDefaultColor(KApplication::tqpalette().active().background());
++ settings->kcfg_PlainBackgroundColor->setDefaultColor(KApplication::palette().active().background());
++ settings->kcfg_DateBackgroundColor->setDefaultColor(KApplication::palette().active().background());
+
+ // Digital
+ digitalPage = new DigitalWidget(0, "DigitalClock");
+ settings->widgetStack->addWidget(digitalPage, 1);
+- digitalPage->kcfg_DigitalBackgroundColor->setDefaultColor(KApplication::tqpalette().active().background());
++ digitalPage->kcfg_DigitalBackgroundColor->setDefaultColor(KApplication::palette().active().background());
+
+ // Analog
+ analogPage = new AnalogWidget(0, "AnalogClock");
+ settings->widgetStack->addWidget(analogPage, 2);
+- analogPage->kcfg_AnalogBackgroundColor->setDefaultColor(KApplication::tqpalette().active().background());
++ analogPage->kcfg_AnalogBackgroundColor->setDefaultColor(KApplication::palette().active().background());
+
+ // Fuzzy
+ fuzzyPage = new FuzzyWidget(0, "FuzzyClock");
+ settings->widgetStack->addWidget(fuzzyPage, 3);
+- fuzzyPage->kcfg_FuzzyBackgroundColor->setDefaultColor(KApplication::tqpalette().active().background());
++ fuzzyPage->kcfg_FuzzyBackgroundColor->setDefaultColor(KApplication::palette().active().background());
+
+ connect(TQT_TQOBJECT(settings->kcfg_PlainShowDate), TQT_SIGNAL(toggled(bool)),
+ TQT_SLOT(dateToggled()));
+@@ -123,7 +123,7 @@
+ connect(TQT_TQOBJECT(fuzzyPage->kcfg_FuzzyShowDayOfWeek), TQT_SIGNAL(toggled(bool)),
+ TQT_SLOT(dateToggled()));
+
+- addPage(settings, i18n("General"), TQString::tqfromLatin1("package_settings"));
++ addPage(settings, i18n("General"), TQString::fromLatin1("package_settings"));
+ }
+
+ void KConfigDialogSingle::updateSettings()
+@@ -242,7 +242,7 @@
+ void PlainClock::loadSettings()
+ {
+ setFrameStyle(_prefs->plainShowFrame() ? Panel | Sunken : NoFrame);
+- tqsetAlignment(AlignVCenter | AlignHCenter | SingleLine);
++ setAlignment(AlignVCenter | AlignHCenter | SingleLine);
+
+ setFont(_prefs->plainFont());
+ }
+@@ -353,9 +353,9 @@
+ if (_force || newStr != _timeStr)
+ {
+ _timeStr = newStr;
+- tqsetUpdatesEnabled( FALSE );
++ setUpdatesEnabled( FALSE );
+ display(_timeStr);
+- tqsetUpdatesEnabled( TRUE );
++ setUpdatesEnabled( TRUE );
+ update();
+ }
+
+@@ -386,7 +386,7 @@
+ p.drawTiledPixmap(0, 0, width(), height(), lcdPattern);
+ }
+ else if (_prefs->digitalBackgroundColor() !=
+- KApplication::tqpalette().active().background())
++ KApplication::palette().active().background())
+ {
+ p.fillRect(0, 0, width(), height(), _prefs->digitalBackgroundColor());
+ }
+@@ -415,7 +415,7 @@
+ // but other colors would break the lcd-lock anyway
+ void DigitalClock::drawContents( TQPainter * p)
+ {
+- tqsetUpdatesEnabled( FALSE );
++ setUpdatesEnabled( FALSE );
+ TQPalette pal = palette();
+ if (_prefs->digitalLCDStyle())
+ pal.setColor( TQColorGroup::Foreground, TQColor(128,128,128));
+@@ -430,7 +430,7 @@
+ pal.setColor( TQColorGroup::Foreground, _prefs->digitalForegroundColor());
+ setPalette( pal );
+ p->translate( -2, -2 );
+- tqsetUpdatesEnabled( TRUE );
++ setUpdatesEnabled( TRUE );
+ TQLCDNumber::drawContents( p );
+ p->translate( +1, +1 );
+ }
+@@ -553,7 +553,7 @@
+
+ paint.drawTiledPixmap(0, 0, spWidth, spHeight, lcdPattern);
+ }
+- else if (_prefs->analogBackgroundColor() != KApplication::tqpalette().active().background())
++ else if (_prefs->analogBackgroundColor() != KApplication::palette().active().background())
+ {
+ _spPx->fill(_prefs->analogBackgroundColor());
+ }
+@@ -827,7 +827,7 @@
+ }
+ if (phStart >= 0)
+ newTimeStr.replace(phStart, phLength, hourNames[realHour]);
+- newTimeStr.replace(0, 1, TQString(newTimeStr.tqat(0).upper()));
++ newTimeStr.replace(0, 1, TQString(newTimeStr.at(0).upper()));
+ }
+ } else if (_prefs->fuzzyness() == 3) {
+ newTimeStr = dayTime[_time.hour() / 3];
+@@ -908,12 +908,12 @@
+ setBackgroundOrigin(AncestorOrigin);
+
+ _dayOfWeek = new TQLabel(this);
+- _dayOfWeek->tqsetAlignment(AlignVCenter | AlignHCenter | WordBreak);
++ _dayOfWeek->setAlignment(AlignVCenter | AlignHCenter | WordBreak);
+ _dayOfWeek->setBackgroundOrigin(AncestorOrigin);
+ _dayOfWeek->installEventFilter(this); // catch mouse clicks
+
+ _date = new TQLabel(this);
+- _date->tqsetAlignment(AlignVCenter | AlignHCenter | WordBreak);
++ _date->setAlignment(AlignVCenter | AlignHCenter | WordBreak);
+ _date->setBackgroundOrigin(AncestorOrigin);
+ _date->installEventFilter(this); // catch mouse clicks
+
+@@ -980,18 +980,18 @@
+ bool mustShowDate = showDate || (zone->zoneIndex() != 0);
+ if (mustShowDate)
+ {
+- _date->tqsetAlignment(AlignVCenter | AlignHCenter);
++ _date->setAlignment(AlignVCenter | AlignHCenter);
+ if (!dateToSide)
+ {
+- shareDateHeight = _date->tqsizeHint().height();
++ shareDateHeight = _date->sizeHint().height();
+ }
+ }
+ if (showDayOfWeek)
+ {
+- _dayOfWeek->tqsetAlignment(AlignVCenter | AlignHCenter);
++ _dayOfWeek->setAlignment(AlignVCenter | AlignHCenter);
+ if (!dateToSide)
+ {
+- shareDayOfWeekHeight = _dayOfWeek->tqsizeHint().height();
++ shareDayOfWeekHeight = _dayOfWeek->sizeHint().height();
+ }
+ }
+
+@@ -1007,8 +1007,8 @@
+ }
+ else
+ {
+- int dateWidth = mustShowDate ? _date->tqsizeHint().width() + 4 : 0;
+- int dayOfWeekWidth = showDayOfWeek ? _dayOfWeek->tqsizeHint().width() + 4 : 0;
++ int dateWidth = mustShowDate ? _date->sizeHint().width() + 4 : 0;
++ int dayOfWeekWidth = showDayOfWeek ? _dayOfWeek->sizeHint().width() + 4 : 0;
+
+ if (dateToSide)
+ {
+@@ -1020,7 +1020,7 @@
+ // if the date format STARTS with a year, assume it's in descending
+ // order and should therefore PRECEED the date.
+ TQString dateFormat = KGlobal::locale()->dateFormatShort();
+- dateFirst = dateFormat.tqat(1) == 'y' || dateFormat.tqat(1) == 'Y';
++ dateFirst = dateFormat.at(1) == 'y' || dateFormat.at(1) == 'Y';
+ }
+
+ if (dateFirst)
+@@ -1064,13 +1064,13 @@
+ _clock->widget()->move(0, 0);
+ if (showDayOfWeek)
+ {
+- _dayOfWeek->setFixedSize(w, _dayOfWeek->tqsizeHint().height());
++ _dayOfWeek->setFixedSize(w, _dayOfWeek->sizeHint().height());
+ _dayOfWeek->move(0, _clock->widget()->height());
+ }
+
+ if (mustShowDate)
+ {
+- _date->setFixedSize(w, _date->tqsizeHint().height());
++ _date->setFixedSize(w, _date->sizeHint().height());
+ _date->move(0, _clock->widget()->height() + shareDayOfWeekHeight);
+ }
+ }
+@@ -1094,16 +1094,16 @@
+ // add 4 pixels in height for each of date+dayOfWeek, if visible
+ if (showDayOfWeek)
+ {
+- if (_dayOfWeek->tqminimumSizeHint().width() > w)
++ if (_dayOfWeek->minimumSizeHint().width() > w)
+ {
+- _dayOfWeek->tqsetAlignment(AlignVCenter | WordBreak);
++ _dayOfWeek->setAlignment(AlignVCenter | WordBreak);
+ }
+ else
+ {
+- _dayOfWeek->tqsetAlignment(AlignVCenter | AlignHCenter | WordBreak);
++ _dayOfWeek->setAlignment(AlignVCenter | AlignHCenter | WordBreak);
+ }
+
+- _dayOfWeek->setFixedSize(w, _dayOfWeek->tqminimumSizeHint().height());
++ _dayOfWeek->setFixedSize(w, _dayOfWeek->minimumSizeHint().height());
+ _dayOfWeek->move(0, clockHeight);
+
+ clockHeight += _dayOfWeek->height();
+@@ -1116,7 +1116,7 @@
+ // display on panel that is too narrow and then they made it wider
+ const_cast<ClockApplet*>(this)->updateDateLabel(false);
+
+- if (_date->tqminimumSizeHint().width() > w)
++ if (_date->minimumSizeHint().width() > w)
+ {
+ TQString dateStr = _date->text();
+ // if we're too wide to fit, replace the first non-digit from the end with a space
+@@ -1127,13 +1127,13 @@
+ }
+ }
+
+- if (_date->tqminimumSizeHint().width() > w)
++ if (_date->minimumSizeHint().width() > w)
+ {
+- _date->tqsetAlignment(AlignVCenter | WordBreak);
++ _date->setAlignment(AlignVCenter | WordBreak);
+ }
+ else
+ {
+- _date->tqsetAlignment(AlignVCenter | AlignHCenter | WordBreak);
++ _date->setAlignment(AlignVCenter | AlignHCenter | WordBreak);
+ }
+ _date->setFixedSize(w, _date->heightForWidth(w));
+ _date->move(0, clockHeight);
+@@ -1169,7 +1169,7 @@
+
+ void ClockApplet::updateFollowBackground()
+ {
+- TQColor globalBgroundColor = KApplication::tqpalette().active().background();
++ TQColor globalBgroundColor = KApplication::palette().active().background();
+ TQColor bgColor;
+
+ switch (_prefs->type())
+@@ -1272,7 +1272,7 @@
+ _clock->widget()->installEventFilter(this); // catch mouse clicks
+ _clock->widget()->show();
+
+- _clock->forceUpdate(); /* force tqrepaint */
++ _clock->forceUpdate(); /* force repaint */
+
+ if (showDayOfWeek)
+ {
+@@ -1306,7 +1306,7 @@
+
+ void ClockApplet::setBackground()
+ {
+- TQColor globalBgroundColor = KApplication::tqpalette().active().background();
++ TQColor globalBgroundColor = KApplication::palette().active().background();
+ TQColor fgColor, bgColor;
+
+ if (!_clock)
+@@ -1371,7 +1371,7 @@
+ if (!m_dateFollowBackgroundSetting && !m_followBackgroundSetting)
+ return;
+
+- TQColor globalBgroundColor = KApplication::tqpalette().active().background();
++ TQColor globalBgroundColor = KApplication::palette().active().background();
+
+ if (m_dateFollowBackgroundSetting)
+ _prefs->setDateBackgroundColor(globalBgroundColor);
+@@ -1541,7 +1541,7 @@
+ menu->insertTitle( SmallIcon( "clock" ), i18n( "Clock" ) );
+
+ KLocale *loc = KGlobal::locale();
+- TQDateTime dt = TQDateTime::tqcurrentDateTime();
++ TQDateTime dt = TQDateTime::currentDateTime();
+ dt = TQT_TQDATETIME_OBJECT(dt.addSecs(TZoffset));
+
+ KPopupMenu *copyMenu = new KPopupMenu( menu );
+@@ -1605,7 +1605,7 @@
+ {
+ TQPopupMenu *m = (TQPopupMenu *) sender();
+ TQString s = m->text(id);
+- TQApplication::tqclipboard()->setText(s);
++ TQApplication::clipboard()->setText(s);
+ }
+
+ TQTime ClockApplet::clockGetTime()
+@@ -1615,7 +1615,7 @@
+
+ TQDate ClockApplet::clockGetDate()
+ {
+- return TQT_TQDATE_OBJECT(TQDateTime::tqcurrentDateTime().addSecs(TZoffset).date());
++ return TQT_TQDATE_OBJECT(TQDateTime::currentDateTime().addSecs(TZoffset).date());
+ }
+
+ void ClockApplet::showZone(int z)
+@@ -1623,7 +1623,7 @@
+ zone->setZone(z);
+ TZoffset = zone->calc_TZ_offset( zone->zone() );
+ updateDateLabel();
+- _clock->forceUpdate(); /* force tqrepaint */
++ _clock->forceUpdate(); /* force repaint */
+ }
+
+ void ClockApplet::nextZone()
+@@ -1840,7 +1840,7 @@
+ (m_clock->type() == Prefs::EnumType::Analog) )
+ {
+ // show full time (incl. hour) as tooltip for Fuzzy clock
+- tipText = KGlobal::locale()->formatDateTime(TQT_TQDATETIME_OBJECT(TQDateTime::tqcurrentDateTime().addSecs(m_clock->TZoffset)));
++ tipText = KGlobal::locale()->formatDateTime(TQT_TQDATETIME_OBJECT(TQDateTime::currentDateTime().addSecs(m_clock->TZoffset)));
+ }
+ else
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/clock/digital.ui v3.5.13-sru/kicker/applets/clock/digital.ui
+--- /tmp/stable//kdebase/kicker/applets/clock/digital.ui 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/clock/digital.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -83,7 +83,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -193,7 +193,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>110</width>
+ <height>20</height>
+@@ -226,7 +226,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/clock/fuzzy.ui v3.5.13-sru/kicker/applets/clock/fuzzy.ui
+--- /tmp/stable//kdebase/kicker/applets/clock/fuzzy.ui 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/clock/fuzzy.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -79,7 +79,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -109,7 +109,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>30</height>
+@@ -153,7 +153,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>51</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/clock/settings.ui v3.5.13-sru/kicker/applets/clock/settings.ui
+--- /tmp/stable//kdebase/kicker/applets/clock/settings.ui 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/clock/settings.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -102,7 +102,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -188,7 +188,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -284,7 +284,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>230</width>
+ <height>20</height>
+@@ -306,7 +306,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -371,7 +371,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>343</width>
+ <height>20</height>
+@@ -421,7 +421,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>100</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/launcher/configdlgbase.ui v3.5.13-sru/kicker/applets/launcher/configdlgbase.ui
+--- /tmp/stable//kdebase/kicker/applets/launcher/configdlgbase.ui 2011-08-06 00:56:45.000000000 +0200
++++ v3.5.13-sru/kicker/applets/launcher/configdlgbase.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -83,7 +83,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>332</width>
+ <height>20</height>
+@@ -138,7 +138,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>140</width>
+ <height>20</height>
+@@ -152,7 +152,7 @@
+ <property name="text">
+ <string>Short Term</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ </widget>
+@@ -163,7 +163,7 @@
+ <property name="text">
+ <string>Long Term</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ </widget>
+@@ -192,7 +192,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>50</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/launcher/easyvector.h v3.5.13-sru/kicker/applets/launcher/easyvector.h
+--- /tmp/stable//kdebase/kicker/applets/launcher/easyvector.h 2010-08-12 05:30:01.000000000 +0200
++++ v3.5.13-sru/kicker/applets/launcher/easyvector.h 2012-09-08 19:41:29.000000000 +0200
+@@ -87,7 +87,7 @@
+ template < class VALUE, bool CHECKINDEX >
+ void EasyVector< VALUE, CHECKINDEX >::eraseAt(Index index)
+ { _checkIndex(index);
+- erase(this->begin()+index);
++ this->erase(this->begin()+index);
+ }
+
+
+@@ -108,7 +108,7 @@
+ this->push_back(value);
+ return;
+ }
+- insert(this->begin()+index,value);
++ this->insert(this->begin()+index,value);
+ }
+
+
+@@ -116,7 +116,7 @@
+ void EasyVector< VALUE, CHECKINDEX >::insertAt(EasyVector< VALUE, CHECKINDEX >::Index index,const EasyVector< VALUE, CHECKINDEX > &v)
+ { index=_convertInsertIndex(index);
+ _checkInsertIndex(index);
+- insert(this->begin()+index,v.begin(),v.end());
++ this->insert(this->begin()+index,v.begin(),v.end());
+ }
+
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/launcher/quickbutton.cpp v3.5.13-sru/kicker/applets/launcher/quickbutton.cpp
+--- /tmp/stable//kdebase/kicker/applets/launcher/quickbutton.cpp 2011-09-01 20:40:20.000000000 +0200
++++ v3.5.13-sru/kicker/applets/launcher/quickbutton.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -163,7 +163,7 @@
+
+ TQToolTip::add(this, _qurl->name());
+ resize(int(DEFAULT_ICON_DIM),int(DEFAULT_ICON_DIM));
+- TQBrush bgbrush(tqcolorGroup().brush(TQColorGroup::Background));
++ TQBrush bgbrush(colorGroup().brush(TQColorGroup::Background));
+
+ QuickAddAppsMenu *addAppsMenu = new QuickAddAppsMenu(
+ parent, this, _qurl->url());
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/launcher/quickbuttongroup.h v3.5.13-sru/kicker/applets/launcher/quickbuttongroup.h
+--- /tmp/stable//kdebase/kicker/applets/launcher/quickbuttongroup.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/applets/launcher/quickbuttongroup.h 2012-09-08 19:41:29.000000000 +0200
+@@ -24,15 +24,15 @@
+ void setDragging(bool drag);
+ void setEnableDrag(bool enable);
+ void deleteContents();
+- void tqsetUpdatesEnabled(bool enable);
++ void setUpdatesEnabled(bool enable);
+ };
+
+ QuickButtonGroup::Index QuickButtonGroup::findDescriptor(const TQString &desc)
+ { return findProperty(desc, std::mem_fun(&QuickButton::url));}
+
+-inline void QuickButtonGroup::tqsetUpdatesEnabled(bool enable)
++inline void QuickButtonGroup::setUpdatesEnabled(bool enable)
+ { for (QuickButtonGroup::iterator i=begin();i!=end();++i) {
+- (*i)->tqsetUpdatesEnabled(enable);
++ (*i)->setUpdatesEnabled(enable);
+ if (enable) { (*i)->update();}
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/launcher/quicklauncher.cpp v3.5.13-sru/kicker/applets/launcher/quicklauncher.cpp
+--- /tmp/stable//kdebase/kicker/applets/launcher/quicklauncher.cpp 2011-08-11 07:25:48.000000000 +0200
++++ v3.5.13-sru/kicker/applets/launcher/quicklauncher.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -770,8 +770,8 @@
+
+ unsigned index;
+ TQPoint pos;
+- tqsetUpdatesEnabled(false);
+- m_buttons->tqsetUpdatesEnabled(false);
++ setUpdatesEnabled(false);
++ m_buttons->setUpdatesEnabled(false);
+ for (index = 0; index < m_buttons->size(); index++)
+ {
+ pos = m_manager->pos(index);
+@@ -791,9 +791,9 @@
+ m_dragButtons->setDragging(true);
+ }
+ m_buttons->show();
+- tqsetUpdatesEnabled(true);
++ setUpdatesEnabled(true);
+ update();
+- m_buttons->tqsetUpdatesEnabled(true);
++ m_buttons->setUpdatesEnabled(true);
+ updateGeometry();
+ emit updateLayout();
+ updateStickyHighlightLayer();
+@@ -1097,7 +1097,7 @@
+ }
+ }
+ }
+- tqrepaint();
++ repaint();
+ }
+
+ void QuickLauncher::paintEvent(TQPaintEvent* e)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/lockout/lockout.cpp v3.5.13-sru/kicker/applets/lockout/lockout.cpp
+--- /tmp/stable//kdebase/kicker/applets/lockout/lockout.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/applets/lockout/lockout.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -94,8 +94,8 @@
+ if (!kapp->authorize("logout"))
+ logoutButton->hide();
+
+- lockButton->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding));
+- logoutButton->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding));
++ lockButton->setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding));
++ logoutButton->setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::MinimumExpanding));
+
+ if ( !kapp->dcopClient()->isAttached() )
+ kapp->dcopClient()->attach();
+@@ -113,7 +113,7 @@
+ // direction and wasting a lot of space.
+ void Lockout::checkLayout( int height ) const
+ {
+- TQSize s = tqminimumSizeHint();
++ TQSize s = minimumSizeHint();
+ TQBoxLayout::Direction direction = layout->direction();
+
+ if ( direction == TQBoxLayout::LeftToRight &&
+@@ -131,13 +131,13 @@
+ int Lockout::widthForHeight( int height ) const
+ {
+ checkLayout( height );
+- return tqsizeHint().width();
++ return sizeHint().width();
+ }
+
+ int Lockout::heightForWidth( int width ) const
+ {
+ checkLayout( width );
+- return tqsizeHint().height();
++ return sizeHint().height();
+ }
+
+ void Lockout::lock()
+@@ -177,9 +177,9 @@
+ void Lockout::propagateMouseEvent(TQMouseEvent* e)
+ {
+ if ( !isTopLevel() ) {
+- TQMouseEvent me(e->type(), mapTo( tqtopLevelWidget(), e->pos() ),
++ TQMouseEvent me(e->type(), mapTo( topLevelWidget(), e->pos() ),
+ e->globalPos(), e->button(), e->state() );
+- TQApplication::sendEvent( tqtopLevelWidget(), &me );
++ TQApplication::sendEvent( topLevelWidget(), &me );
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/media/mediumbutton.cpp v3.5.13-sru/kicker/applets/media/mediumbutton.cpp
+--- /tmp/stable//kdebase/kicker/applets/media/mediumbutton.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/applets/media/mediumbutton.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -145,7 +145,7 @@
+ {
+ KonqDrag * obj = KonqDrag::newDrag(mFileItem.url(), false);
+
+- TQApplication::tqclipboard()->setData( obj );
++ TQApplication::clipboard()->setData( obj );
+ }
+
+ void MediumButton::dragEnterEvent(TQDragEnterEvent* e)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/menu/menuapplet.cpp v3.5.13-sru/kicker/applets/menu/menuapplet.cpp
+--- /tmp/stable//kdebase/kicker/applets/menu/menuapplet.cpp 2011-07-09 08:16:55.000000000 +0200
++++ v3.5.13-sru/kicker/applets/menu/menuapplet.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -264,7 +264,7 @@
+ // Kicker's frame).
+ void Applet::updateTopEdgeOffset()
+ {
+- TQPoint p = tqtopLevelWidget()->mapToGlobal( TQPoint( 0, 0 ));
++ TQPoint p = topLevelWidget()->mapToGlobal( TQPoint( 0, 0 ));
+ if( p.y() <= 2 ) // 2 = work also when running in appletproxy
+ topEdgeOffset = mapToGlobal( TQPoint( 0, 0 )).y() - p.y();
+ else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/minipager/CMakeLists.txt v3.5.13-sru/kicker/applets/minipager/CMakeLists.txt
+--- /tmp/stable//kdebase/kicker/applets/minipager/CMakeLists.txt 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/minipager/CMakeLists.txt 2012-09-08 19:41:29.000000000 +0200
+@@ -27,7 +27,7 @@
+ ##### other data ################################
+
+ install( FILES minipagerapplet.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets )
+-
++install( FILES pagersettings.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
+ ##### minipager_panelapplet (module) ############
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/minipager/pagerapplet.cpp v3.5.13-sru/kicker/applets/minipager/pagerapplet.cpp
+--- /tmp/stable//kdebase/kicker/applets/minipager/pagerapplet.cpp 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/minipager/pagerapplet.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -365,7 +365,7 @@
+ if( m_desktopLayoutOwner == NULL )
+ { // must own manager selection before setting global desktop layout
+ int screen = DefaultScreen( qt_xdisplay());
+- m_desktopLayoutOwner = new KSelectionOwner( TQString( "_NET_DESKTOP_LAYOUT_S%1" ).tqarg( screen ).latin1(),
++ m_desktopLayoutOwner = new KSelectionOwner( TQString( "_NET_DESKTOP_LAYOUT_S%1" ).arg( screen ).latin1(),
+ screen, TQT_TQOBJECT(this) );
+ if( !m_desktopLayoutOwner->claim( false ))
+ {
+@@ -442,6 +442,10 @@
+ {
+ int newDesk;
+ int desktops = KWin::numberOfDesktops();
++
++
++ if(cycleWindow()){
++
+ if (m_kwin->numberOfViewports(0).width() * m_kwin->numberOfViewports(0).height() > 1 )
+ desktops = m_kwin->numberOfViewports(0).width() * m_kwin->numberOfViewports(0).height();
+ if (e->delta() < 0)
+@@ -452,8 +456,9 @@
+ {
+ newDesk = (desktops + m_curDesk - 2) % desktops + 1;
+ }
+-
++
+ slotButtonSelected(newDesk);
++ }
+ }
+
+ void KMiniPager::drawButtons()
+@@ -729,6 +734,7 @@
+
+ showMenu->insertItem(i18n("&Window Thumbnails"), WindowThumbnails);
+ showMenu->insertItem(i18n("&Window Icons"), WindowIcons);
++ showMenu->insertItem(i18n("&Cycle on Wheel"), Cycle);
+
+ showMenu->insertTitle(i18n("Text Label"));
+ showMenu->insertItem(i18n("Desktop N&umber"),
+@@ -760,6 +766,7 @@
+
+ m_contextMenu->setItemChecked(WindowThumbnails, m_settings->preview());
+ m_contextMenu->setItemChecked(WindowIcons, m_settings->icons());
++ m_contextMenu->setItemChecked(Cycle, m_settings->cycle());
+ m_contextMenu->setItemEnabled(WindowIcons, m_settings->preview());
+ m_contextMenu->setItemEnabled(RenameDesktop,
+ m_settings->labelType() ==
+@@ -812,11 +819,12 @@
+ m_settings->setPreview(!m_settings->preview());
+ TaskManager::the()->trackGeometry();
+ break;
+-
++ case Cycle:
++ m_settings->setCycle(!m_settings->cycle());
++ break;
+ case WindowIcons:
+ m_settings->setIcons(!m_settings->icons());
+ break;
+-
+ case PagerSettings::EnumBackgroundType::BgPlain + bgOffset:
+ m_settings->setBackgroundType(PagerSettings::EnumBackgroundType::BgPlain);
+ break;
+@@ -865,7 +873,7 @@
+ {
+ TQString name = m_kwin->desktopName(i);
+ (*it)->setDesktopName(name);
+- (*it)->tqrepaint();
++ (*it)->repaint();
+ TQToolTip::remove((*it));
+ TQToolTip::add((*it), name);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/minipager/pagerapplet.h v3.5.13-sru/kicker/applets/minipager/pagerapplet.h
+--- /tmp/stable//kdebase/kicker/applets/minipager/pagerapplet.h 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/minipager/pagerapplet.h 2012-09-08 19:41:29.000000000 +0200
+@@ -64,15 +64,17 @@
+ void setActive( WId active ) { m_activeWindow = active; }
+ WId activeWindow() { return m_activeWindow; }
+
+- enum ConfigOptions { LaunchExtPager = 96, WindowThumbnails,
++ enum ConfigOptions { LaunchExtPager = 96, WindowThumbnails, Cycle,
+ WindowIcons, ConfigureDesktops, RenameDesktop };
+ int labelType() const { return m_settings->labelType(); }
+
+ int bgType() const { return m_settings->backgroundType(); }
+
+ bool desktopPreview() const { return m_settings->preview(); }
++ bool cycleWindow() const { return m_settings->cycle(); }
+ bool windowIcons() const { return m_settings->icons(); }
+
++
+ Orientation orientation() const { return KPanelApplet::orientation(); }
+ Direction popupDirection() { return KPanelApplet::popupDirection(); }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/minipager/pagerbutton.cpp v3.5.13-sru/kicker/applets/minipager/pagerbutton.cpp
+--- /tmp/stable//kdebase/kicker/applets/minipager/pagerbutton.cpp 2011-08-11 07:25:48.000000000 +0200
++++ v3.5.13-sru/kicker/applets/minipager/pagerbutton.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -157,8 +157,8 @@
+ TQRect r = mapGeometryToViewport(*info);
+
+ if (!info->hasState(NET::Sticky) &&
+- !TQApplication::desktop()->tqgeometry().contains(r.topLeft()) &&
+- !TQApplication::desktop()->tqgeometry().contains(r.topRight()))
++ !TQApplication::desktop()->geometry().contains(r.topLeft()) &&
++ !TQApplication::desktop()->geometry().contains(r.topRight()))
+ return false;
+ }
+
+@@ -404,16 +404,16 @@
+ // transparent windows get an 1 pixel frame...
+ if (on)
+ {
+- bp->setPen(tqcolorGroup().midlight());
++ bp->setPen(colorGroup().midlight());
+ }
+ else if (down)
+ {
+- bp->setPen(KickerLib::blendColors(tqcolorGroup().mid(),
+- tqcolorGroup().midlight()));
++ bp->setPen(KickerLib::blendColors(colorGroup().mid(),
++ colorGroup().midlight()));
+ }
+ else
+ {
+- bp->setPen(tqcolorGroup().dark());
++ bp->setPen(colorGroup().dark());
+ }
+
+ bp->drawRect(0, 0, w, h);
+@@ -424,16 +424,16 @@
+
+ if (on)
+ {
+- background = tqcolorGroup().brush(TQColorGroup::Midlight);
++ background = colorGroup().brush(TQColorGroup::Midlight);
+ }
+ else if (down)
+ {
+- background = TQBrush(KickerLib::blendColors(tqcolorGroup().mid(),
+- tqcolorGroup().midlight()));
++ background = TQBrush(KickerLib::blendColors(colorGroup().mid(),
++ colorGroup().midlight()));
+ }
+ else
+ {
+- background = tqcolorGroup().brush(TQColorGroup::Mid);
++ background = colorGroup().brush(TQColorGroup::Mid);
+ }
+
+ bp->fillRect(0, 0, w, h, background);
+@@ -462,12 +462,12 @@
+
+ if (kwin->activeWindow() == info->win())
+ {
+- TQBrush brush = tqcolorGroup().brush(TQColorGroup::Highlight);
+- qDrawShadeRect(bp, r, tqcolorGroup(), false, 1, 0, &brush);
++ TQBrush brush = colorGroup().brush(TQColorGroup::Highlight);
++ qDrawShadeRect(bp, r, colorGroup(), false, 1, 0, &brush);
+ }
+ else
+ {
+- TQBrush brush = tqcolorGroup().brush(TQColorGroup::Button);
++ TQBrush brush = colorGroup().brush(TQColorGroup::Button);
+
+ if (on)
+ {
+@@ -475,7 +475,7 @@
+ }
+
+ bp->fillRect(r, brush);
+- qDrawShadeRect(bp, r, tqcolorGroup(), true, 1, 0);
++ qDrawShadeRect(bp, r, colorGroup(), true, 1, 0);
+ }
+
+ if (m_pager->windowIcons() && r.width() > 15 && r.height() > 15)
+@@ -498,11 +498,11 @@
+ // makes it look a bit more finished.
+ if (on)
+ {
+- bp->setPen(tqcolorGroup().midlight());
++ bp->setPen(colorGroup().midlight());
+ }
+ else
+ {
+- bp->setPen(tqcolorGroup().mid());
++ bp->setPen(colorGroup().mid());
+ }
+
+ bp->drawRect(0, 0, w, h);
+@@ -515,7 +515,7 @@
+
+ if (transparent || liveBkgnd)
+ {
+- bp->setPen(on ? tqcolorGroup().midlight() : tqcolorGroup().buttonText());
++ bp->setPen(on ? colorGroup().midlight() : colorGroup().buttonText());
+ m_pager->shadowEngine()->drawText(*bp, TQRect(0, 0, w, h), AlignCenter, label, size());
+ }
+ else
+@@ -523,7 +523,7 @@
+ }
+
+ if (m_inside)
+- KickerLib::drawBlendedRect(bp, TQRect(1, 1, width() - 2, height() - 2), tqcolorGroup().foreground());
++ KickerLib::drawBlendedRect(bp, TQRect(1, 1, width() - 2, height() - 2), colorGroup().foreground());
+ }
+
+ void KMiniPagerButton::mousePressEvent(TQMouseEvent * e)
+@@ -586,9 +586,9 @@
+ TQPixmap windowImage(ww, wh);
+ TQPainter bp(&windowImage, this);
+
+- bp.setPen(tqcolorGroup().foreground());
++ bp.setPen(colorGroup().foreground());
+ bp.drawRect(0, 0, ww, wh);
+- bp.fillRect(1, 1, ww - 2, wh - 2, tqcolorGroup().background());
++ bp.fillRect(1, 1, ww - 2, wh - 2, colorGroup().background());
+
+ Task::List tasklist;
+ tasklist.append(m_currentWindow);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/minipager/pagersettings.kcfg v3.5.13-sru/kicker/applets/minipager/pagersettings.kcfg
+--- /tmp/stable//kdebase/kicker/applets/minipager/pagersettings.kcfg 2010-08-12 05:30:03.000000000 +0200
++++ v3.5.13-sru/kicker/applets/minipager/pagersettings.kcfg 2012-09-08 19:41:29.000000000 +0200
+@@ -49,10 +49,15 @@
+ <label>Show desktop preview?</label>
+ <default>true</default>
+ </entry>
+-
++
+ <entry name="Icons" type="Bool">
+ <label>Show window icons in previews?</label>
+ <default>true</default>
+ </entry>
++
++ <entry name="Cycle" type="Bool">
++ <label>Cycle through desktops with wheel?</label>
++ <default>true</default>
++ </entry>
+ </group>
+ </kcfg>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/naughty/NaughtyProcessMonitor.cpp v3.5.13-sru/kicker/applets/naughty/NaughtyProcessMonitor.cpp
+--- /tmp/stable//kdebase/kicker/applets/naughty/NaughtyProcessMonitor.cpp 2011-08-11 07:25:47.000000000 +0200
++++ v3.5.13-sru/kicker/applets/naughty/NaughtyProcessMonitor.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -255,7 +255,7 @@
+ }
+
+ // Now strip 'kdeinit:' prefix.
+- TQString tqunicode(TQString::fromLocal8Bit(s));
++ TQString unicode(TQString::fromLocal8Bit(s));
+
+ #elif defined(__OpenBSD__)
+ int mib[4] ;
+@@ -280,12 +280,12 @@
+ }
+
+ // Now strip 'kdeinit:' prefix.
+- TQString tqunicode(TQString::fromLocal8Bit(argv[0]));
++ TQString unicode(TQString::fromLocal8Bit(argv[0]));
+
+ free (argv) ;
+ #endif
+
+- TQStringList parts(TQStringList::split(' ', tqunicode));
++ TQStringList parts(TQStringList::split(' ', unicode));
+
+ TQString processName = parts[0] == "kdeinit:" ? parts[1] : parts[0];
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/run/runapplet.cpp v3.5.13-sru/kicker/applets/run/runapplet.cpp
+--- /tmp/stable//kdebase/kicker/applets/run/runapplet.cpp 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/run/runapplet.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -121,14 +121,14 @@
+ _input->reparent(this, TQPoint(0,0), true);
+ _label->setGeometry(0,0, width(), _label->height());
+
+- if(height() >= _input->tqsizeHint().height() + _label->height())
++ if(height() >= _input->sizeHint().height() + _label->height())
+ {
+- int inputVOffset = height() - _input->tqsizeHint().height() - 2;
+- int labelHeight = _label->tqsizeHint().height();
++ int inputVOffset = height() - _input->sizeHint().height() - 2;
++ int labelHeight = _label->sizeHint().height();
+ _label->setGeometry(0, inputVOffset - labelHeight,
+ width(), labelHeight);
+ _input->setGeometry(0, inputVOffset,
+- width(), _input->tqsizeHint().height());
++ width(), _input->sizeHint().height());
+ _label->show();
+ }
+ else
+@@ -138,7 +138,7 @@
+ // make it as high as the combobox naturally wants to be
+ // but no taller than the panel is!
+ // don't forget to center it vertically either.
+- int newHeight = _input->tqsizeHint().height();
++ int newHeight = _input->sizeHint().height();
+ if (newHeight > height())
+ newHeight = height();
+ _input->setGeometry(0, (height() - newHeight) / 2,
+@@ -184,7 +184,7 @@
+
+ int RunApplet::widthForHeight(int ) const
+ {
+- return _label->tqsizeHint().width();
++ return _label->sizeHint().width();
+ }
+
+ int RunApplet::heightForWidth(int ) const
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/swallow/prefwidgetbase.ui v3.5.13-sru/kicker/applets/swallow/prefwidgetbase.ui
+--- /tmp/stable//kdebase/kicker/applets/swallow/prefwidgetbase.ui 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/swallow/prefwidgetbase.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -110,7 +110,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/systemtray/systemtrayapplet.cpp v3.5.13-sru/kicker/applets/systemtray/systemtrayapplet.cpp
+--- /tmp/stable//kdebase/kicker/applets/systemtray/systemtrayapplet.cpp 2011-08-28 07:16:19.000000000 +0200
++++ v3.5.13-sru/kicker/applets/systemtray/systemtrayapplet.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -388,7 +388,7 @@
+ return;
+ }
+
+- if (!tqgeometry().contains(mapFromGlobal(TQCursor::pos())))
++ if (!geometry().contains(mapFromGlobal(TQCursor::pos())))
+ {
+ m_autoRetractTimer->stop();
+ if (m_autoRetract)
+@@ -427,12 +427,12 @@
+ if (orientation() == Qt::Vertical)
+ {
+ m_expandButton->setFixedSize(width() - 4,
+- m_expandButton->tqsizeHint()
++ m_expandButton->sizeHint()
+ .height());
+ }
+ else
+ {
+- m_expandButton->setFixedSize(m_expandButton->tqsizeHint()
++ m_expandButton->setFixedSize(m_expandButton->sizeHint()
+ .width(),
+ height() - 4);
+ }
+@@ -869,7 +869,7 @@
+ me->setFixedHeight(h);
+ }
+
+- return tqsizeHint().width();
++ return sizeHint().width();
+ }
+
+ int SystemTrayApplet::heightForWidth(int w) const
+@@ -888,7 +888,7 @@
+ me->setFixedWidth(w);
+ }
+
+- return tqsizeHint().height();
++ return sizeHint().height();
+ }
+
+ void SystemTrayApplet::moveEvent( TQMoveEvent* )
+@@ -906,7 +906,7 @@
+
+ void SystemTrayApplet::layoutTray()
+ {
+- tqsetUpdatesEnabled(false);
++ setUpdatesEnabled(false);
+
+ int iconCount = m_shownWins.count();
+
+@@ -927,11 +927,11 @@
+ {
+ if (orientation() == Qt::Vertical)
+ {
+- m_expandButton->setFixedSize(width() - 4, m_expandButton->tqsizeHint().height());
++ m_expandButton->setFixedSize(width() - 4, m_expandButton->sizeHint().height());
+ }
+ else
+ {
+- m_expandButton->setFixedSize(m_expandButton->tqsizeHint().width(), height() - 4);
++ m_expandButton->setFixedSize(m_expandButton->sizeHint().width(), height() - 4);
+ }
+ }
+
+@@ -1102,7 +1102,7 @@
+ }
+ }
+
+- tqsetUpdatesEnabled(true);
++ setUpdatesEnabled(true);
+ updateGeometry();
+ setBackground();
+
+@@ -1138,7 +1138,7 @@
+
+ void TrayEmbed::getIconSize(int defaultIconSize)
+ {
+- TQSize minSize = tqminimumSizeHint();
++ TQSize minSize = minimumSizeHint();
+
+ int width = minSize.width();
+ int height = minSize.height();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/applets/taskbar/taskbarapplet.cpp v3.5.13-sru/kicker/applets/taskbar/taskbarapplet.cpp
+--- /tmp/stable//kdebase/kicker/applets/taskbar/taskbarapplet.cpp 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/applets/taskbar/taskbarapplet.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -82,7 +82,7 @@
+ KPanelExtension::Position d = orientation() == Qt::Horizontal ?
+ KPanelExtension::Top :
+ KPanelExtension::Left;
+- return container->tqsizeHint(d, TQSize(200, h)).width();
++ return container->sizeHint(d, TQSize(200, h)).width();
+ }
+
+ int TaskbarApplet::heightForWidth(int w) const
+@@ -97,7 +97,7 @@
+ KPanelExtension::Position d = orientation() == Qt::Horizontal ?
+ KPanelExtension::Top :
+ KPanelExtension::Left;
+- return container->tqsizeHint(d, TQSize(w, 200)).height();
++ return container->sizeHint(d, TQSize(w, 200)).height();
+ }
+
+ void TaskbarApplet::preferences()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_gray_large_down.png v3.5.13-sru/kicker/data/tiles/light_gray_large_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_gray_large_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_gray_large_down.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,14 +1,5 @@
+ ‰PNG
+ 
+-
+-
+-744Ô 5EUIe]W3Me=Ñ$€
+-˜þ®––º@õ¬ 奥¥õ4å5Õ¬M õ”5 ýý£
+-@@¥ê2!~!!!®fVæææVV¶¶ÆújÆj@Åf …@Aswñ €
+-t¼‘Sp°²²™¾(P©²‰µ‰«P#0#ë››»‰&È[œ@¥ÒêFÁ‰Ò–òF ŽÀXš
+-LæÆ …ææ:¢
+- 7f`œŠ%xˆ*‹*ƒ¥Ê€i) h`ÕJ{[*Ú¸‰‰%8Š*›•m©1×1ÑD€
+-¬"ü’îÀo.)c¥§g`
+- e!~~~ J`¡T
+-s77ö€
+-õ¬t,)J¨ÎÝ$ƒ
+\ Pas de fin de ligne à la fin du fichier
++
++¥¢"Š§ $ËòW$Y„@ɪ#;MUÇë÷Þ @©"6Ä::=UUm%Û¶½DP*Ä·UÓT £í¿àÂF`ß ¤ª*vBt/M¯‚ÀÙì8N|î[=ÞJw¸¸ì©PÌf£4ÍC[1¯â8¶½+/P Ó¦ži6›oÃ5înËïÔ;­–Øà5ت㨲7"AhÞÈ·,ßî÷ÏùCÐï{ñ¸U©Ôx¤BT‡Èr C…¼«‘eŸŸ[B_nêßÕZµZí=ÒUŒ±ªž‘a@€u‹ð'î\orñÞ¸ý®vpÐf(²¥.ØÑÀ¼!!2Xùóó¯Û,WÐV —*Š¢Ë”Võ¥A`šºîXy,]¯qó²´Ž:¥‘ižœœˆɽž®÷z†mÃá·xôu“û¶çá 6ÃѨ lS2òHWùd“!“vf`˜$@³½FÃß\\\ˆ§¢H$ó³/Ë:k´@OEQ.79ç ‡%aÃoj²¼ßhÛÝ.Œ)±uÝ4yÆóšÖ¹|É="8QÅ¢7›í[V³É<TX‡à`jœ^ꀫù¡¸-
++t4h–Jûûû_«©+’°F–Ær}D­ÅâÐR©²Ï{}˃–ñPPBœj×Õ\)-q[…ã…ïÄÇžNP'ÏkaÃ6l¶Â²4‹87e.A·#È@¾QªS@©¡H……pˆKÆsEÅ- ±?8*ÅÚÕ \îAWÁæÁ„–…±›–:{8^B¹€žNËSšÒÕgÀ Q¶älÌk¡,L§å^J1 •1ØÅ+Aèáá๠ÄòôÛÛì,ýŒ-„~Â,r]çrp…ðËù]q,€) «¯û­Œ @#ØV)+¾ül.Ó<ÿøqØétŒm0V+Ìì1¾^çî_§^(Ta9»Ë“L<Nƪm[ÖSý!Xz˜žtI1‡g´L¦y’<å‡]Ë}¼Áa×¹›V´\Î 64Êø¼2Sf³€ÀÔŸ¡zý ®hͳZL³YV©D³Y‡Ñe­gÍr¡‚e@ójEÙŠ0¦ßó<Ï27Ë€„K @Vl‚+, ×ê4ˆ2&:vÝ1ýç§?™¨6³Å dwƒ
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_gray_normal_up.png v3.5.13-sru/kicker/data/tiles/light_gray_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_gray_normal_up.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_gray_normal_up.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,13 +1,11 @@
+ ‰PNG
+ 
+-
+-™êkZ›ûE¥Ÿ”²…s
+-š
+-0nÍ Œõõ]ÍÀÝ3 €”¤<ÃCBB|ƒJAÀYÏÅQÅÀ@” ôõM­ÜÝÍM¼LMȘƒ#|}bb¬a
+-t+@
+-ÒR
+-@ÐÀª•ô³”³quR5*Ú
+-Rc®cÑ
+-@–±±Mx"@
+-Æ@—ºÙ¸¹i{»
+-`
+\ Pas de fin de ligne à la fin du fichier
++
++ìNß¾iß‚@s]—xعŠ³©ë#„ù=j ¦)Š¢Ìv¡Ëóª:â@;^Œ¦¾å
++ó‘šMÁ4AE¸E’´ÿŠ{%î:ÖlÑ%®Œ*_>PËi  Ln+w5© Ò,è@ÜÂ8[ž¥õz²Œ@7¿J%ÎÍÔhšfÛº®fɵïZË‘LÓLzi4Lþˆ
++¯+0¹xI·-Ô»N’Äq®º¸6®TŽO÷¨G7`Klµ*0\[×-Ŷ¥ö``àÈÍ®¦¦™bãxº²Ói•.ÐEN ºb÷ÚÈoœÈ®
++Aˆ¨öûNý¾Ú/Ž¨7’Ù$°ã&¬2!­NÇq*ºÎ#ÝÒ-M †-ÐTøöäAé7OOÃP#‹Žçøº¤ó
++ÜØï÷¾aÀ`s×·ì ÐÄçŸcõ´LÇW2 # Äé_Ð5›m›
++ýÏÑNÔÀu»}­—;4K—óåÉÉx>O‘¢ôóÑçÃêsÜ’
++€–ÒWa£ú<ÜÐV®ÆSÛI
++_-”Ë…ƒòˆ.ä×þ~y~ÚßûðbtgVÄjÀ
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_green_normal_down.png v3.5.13-sru/kicker/data/tiles/light_green_normal_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_green_normal_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_green_normal_down.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,5 +1,20 @@
+ ‰PNG
+ 
+-
+-2(Û0¡¡akǪùL)®­­•|@ |owïß¿v펧6o­\R»äß.0X°`ë°ïÊçΕ|@ ol;p Èuò2
+-\Û°{÷½ýsçfN¿`Áü%@… º6n\ºtšäK€
+\ Pas de fin de ligne à la fin du fichier
++
++‚÷(”è -pô|ð>xobìkZeŸ..ñ´œ'ˆô¾c@ Üz—@:çx(È
++`OßÞp¥ M-ß–!˜‡W 5˜‰Úm&ÚKÔ €ŸÏ4(hŽ‚BXgŠ¨}{ÞõLCõ>­ú'ø’%Ä°H2sðûšÜŸ8xõî½6ašyý‹ËòÕczPU²&ÉOÝ\5Ðt9]¶‡V:”
++f_wß“&ÍY|·­:ë«f
++µn\ë/üb0½3”ÄxOE*#2 ]Kδ1|<X)
++ šƒA °yø°E(L>zOžQòôjF Ï_ß•ú*ËÓÖº
++ât€ôÖ‹¿üÍ ì粿${MP!‘ÍêU11ÈÖQ\‚^ÙS0¾tqê›i…'“—e~;K–¤W櫸~½ :Lüíþ!‹ë
++ >Ëú¢ËR† H]üüþrY€\^œ:Ì¡ßg½‘sJêÁ’§i•€SSÚ
++A:€ÀQÎéóc}v<
++èå^ñ
++4Ù“è®U’?’{ÔÜ<
++Ýu3Ž!Œ,{秋Ë-§­k›ü}Ëžé¹ d†áCˆ¾
++íd
++ÄZ ]RªAqShwv@j+
++aËéúÕE¹?paR
++Aß°¦Ç5 €âµ·f-+WåšJ)]$‹ˆ†a4ˆmõ[E['
++ü0ÎaVˆí"†¼
++ÞÓè1z
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_green_normal_up.png v3.5.13-sru/kicker/data/tiles/light_green_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_green_normal_up.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_green_normal_up.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,7 +1,17 @@
+ ‰PNG
+ 
+-
+-öªªò¦±±EIÞf‘eeQIe™™^é™™™–rVVVI‘«ž
+-¯=  ·Ö¬¹¾÷ìÙ»vâ~ó
+-?],q¯£cÿœ9óçÏo›7NO_ÿ á×Þ
+-ŸT>iÉʉ×VN,|qxͪ å×_
+\ Pas de fin de ligne à la fin du fichier
++
++ýêµG€•_?®— @“Öb·Þ‡l¯[£kЧf²ƒh ÀÞqν˜Š
++*€|+÷Çt“_× ªBxù‘ëO§Öqh½ò<‡
++æ
++š£ È¬3EÔ~½¿uÇP½O«PT…uiKcDMÁ Ò)¹wnm ÀÛ÷_ÙGC¦™wÿøP>¼Ö¥VÝ¢)˹›7MÇ=4=LíÔJ‡R@ÊJKÛIk{
++tw½ªJ„Œf
++ͺy|Ƨæ{ÖÆr.
++Ÿýað‡@Ùnå—Ã^4SÎ_ȯoŠ‰!_;Š ¹ WöhÌ­;Øx2²,ó×s–œ4Ç•ùM\?.¨ÿô¿eãè)†Bßíçe}ìE² -uuó7Ë’
++`y•ì {’ýð´óþLË]šÜ.#
++»ý¾iö€s:Ž,ØEcÐÅð¨éÞ ¼¤›ël¢½üp*®ø'Ž“•žóIïf‘<¦çï?yfãaòF’¶5_{¦¦Š‚~ÃÚ^oùê Š×Þšµ¬\•k*¥ôœ%笆a Ù¶z÷­Y[w
++WŠ+ÙÊù¦{
++ÿß¿Ý»`Mõ*
++ ÞùR2òq£½ÑLž
++
++kF ~ç0+²}Ý>¡Egy7¤­.¶zPWg9ÀÕZ:€}I¶ÌÚ¬CÍ}“0M¡†\³?xÚ‡÷ß|ý²žÒ§KðžFјqÿnúËB%£©©;Ý\yiG´o†áð¦öääœÛš­q’n%8¶=t’”×a÷5ç-µ&ãŸì’!ð‘1±8 ´ß=Á…1èu‘ëažhÕÔópˆ=•tÜN¹ÊË @R#kFã™ÏŸ×!8zÑÀ¡¬Å‡^‹1¾Ý¡t
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_green_tiny_down.png v3.5.13-sru/kicker/data/tiles/light_green_tiny_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_green_tiny_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_green_tiny_down.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,4 +1,6 @@
+ ‰PNG
+ 
+-
+-ˆá©„šœšœ<?¿„$'§  ”€(#@€
+\ Pas de fin de ligne à la fin du fichier
++
++
++HQ‘ÑBwãXc2Ö"ÇÝ7Õ•*3\?<$NîÉñ 7;>ɲd~cÉ»àÃÒ„…a°5
++­LT1—4Ø]žèhV–”|Tv[ËéR’?ov²ÊÞëß¿ûÃxãm'%kÙII
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_green_tiny_up.png v3.5.13-sru/kicker/data/tiles/light_green_tiny_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_green_tiny_up.png 2010-08-12 05:29:56.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_green_tiny_up.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,7 +1,4 @@
+ ‰PNG
+ 
+-
+- µW•-ò6+‹*ËLÏÌ´´²Š\
+-e.®Ý¿¿¢iÿ–¥ g§Ní¿Ö½
+-
+-ÔŸt €T—V¬YX‘•UX¸dÿÒ%íK&NÚ»KUU!@
+\ Pas de fin de ligne à la fin du fichier
++
++£mÒ©Ô<íÈŸ¾ËG›P-é’v-®ÏÊ笾®´QúØNù’…E>'
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_pastel_large_down.png v3.5.13-sru/kicker/data/tiles/light_pastel_large_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_pastel_large_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_pastel_large_down.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,12 +1,16 @@
+ ‰PNG
+ 
+-
+-
+-
+-jzb
+-B\W×7¸nÚ”`–ßÊù €LJ`ãÞ]·nºãÊ•­e¼b 
+-¦M‹ °r­²2[1-¯Æì@
+-[rׯöÎËó
+-ÈH®é¶bECɦöfó÷
+-.Ø|$84ôДµŽn¨Ø²%ºtõ„ÜÒ È®ïîhÞ¾¨ €d^&%_‹ˆˆ85eÇæ;º6TùO›617·$º¼¼¼hæ’%KŒ?C΃ûllnbÁIII×ÎM›vïøáŒÕ«WÏ^X•;iREHe÷¦M3g.7þ@ ;Ù€À=)éÈ‘#+VÜ+,<tzOÇÁ©¥¥¶ íèî
+- ‰}+Wö;Ü ÎcQººÀÜä
+\ Pas de fin de ligne à la fin du fichier
++
++ç
++àó»ÛÀ6€"›ž[Ð|¢¿}w}ã€B
++cPjÕô#—³BO¹8<Úm4ŽËÊí¶¦“b<.·ÚË‹‹'ñÖE§ÕûLÊøB÷µå›
++æ<ÒjÚûƒa;h<yû•ÓñÐbÔážï6 uÛÍ®ãUÅ=Ï.M…"ÞZ]W4Œ“xmá*€,O +îyY:bÜvŽ.”È’Óf£€â0@Y$âž49
++¸Êrx¶ßYš÷<‡à±±Ü» ÙÞÆHc6€K­¢˜x¬òXňxöÆ–Cˆ¬‚€óµ¥ž(D©Ñ »F羫ô/‰ ê8In;Xºr}ûáÞXTZ#1VE©Y’”i^± ÁÃÉñÑàA\Yr…s”
++|
++¸´…2aÔªT•¢Ñ˜‰ó`Qî›J(ŠIœÖ›QeÅÉ WUÓmê,'Œ“¹öz¥Gº^]ºyQZ®Û,I¾¶¾ÇãÓñ~fH¢ /ªJUw‚8M¸Í-j›JŒ§“:ä¾Ç
++^Xá\XÍúŸ¨bR)Á|‡[éY:=îέXÀmÛ D^Š¼4d~žù)ÏÏâ©4ë¥OKŸ–‚%
++ªÙKß|ãp8þîÿ¨~½yãÚÁýß²àðø7
++(
++àæõ§
++‰B^xîJ‹Ú
++jZà ³“ü ÑyvRº~ú€¹çþúŸXóW?îöžßÞ¾›Z
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_pastel_normal_up.png v3.5.13-sru/kicker/data/tiles/light_pastel_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_pastel_normal_up.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_pastel_normal_up.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,8 +1,10 @@
+ ‰PNG
+ 
+-
+-wíÙ³mű)û÷OÙ·oCã•`ÓžHSÿ”WvuKË’é§oü
+-@@Crpp•~ùòþËȾÔÈ”ÖÖÓÅííY³ ÀJ«ããgÄo9þ €2™B]™˜\Cõ—ûû‡……M,-Œ<ÓÚ¶wBkbkb5¤§ÏH¯Ýõ
+- €l¸¹™˜ë r—Ÿ:ef:-LªÔ-Ò®uiëÞùʼn‰ñññÕñÕÕ› ·¸ŽUqÍ=õE¿Â ÷ñ㉩‘þ@SM˜ÞY R˜žÞÙü@
+-¯  §ÖÁ¬
+-Té³Þgý÷ï
+\ Pas de fin de ligne à la fin du fichier
++
++Ýóq”§ñ0“·ÿçn'ƒÙärã¹÷ïm¯ou/³Z¸Ž»ïþÚs\
++eÒJð¨Ö¬íîvן‘@¹+3*ͤ`€t½9ðrg @кRV¤0–VÖVÄèD
++š¦ãºD]‚XõòÍç
++¯°d>GyR¯7b%âL5ƒ®Ñ…Re½ÑR:×Ú)IY’’ Ÿ’ªÒeQDÓè)e€_”Q|&LÕp&ÎDP£í¥íx¶+YúÌå[
++iA
++-æŠK³
++ÞNp}kùâÄ,Í
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_purple_normal_down.png v3.5.13-sru/kicker/data/tiles/light_purple_normal_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_purple_normal_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_purple_normal_down.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,15 +1,17 @@
+ ‰PNG
+ 
+-
+-Øw3fˆ= ñ§g7m¾ä:zú™„-©ß²åÆÁ3’ºgM™2k2Pá”ÎíÛçÍ[(ö €Ä_›yvE[Û?+Ï@ŸüI—/Ç_ïíYÛ9åкuÝÝ‹fîØ
+-³éw
+-Ÿ
+-
+-BN®X1ýP)0°VOéï_VÛ]Ð;­wÕ*ùW
+-K+cbÚb
+-
+-zŸn/ZqzÞ¼ö™3W¯^=kÙ²Úü˜MóVîY,õ
+-˜þgMYLØ óÚ·ù/yßàèh¥ó €T^g—fddxÅ…•–vL*‰]Ø”ßÔÔ‹Õ/²ô~Z29­ºÞÎJ÷+@
+-‚yó¦ßi[0½àÉÉí‹úšTÞ0om?yrÛ¶ ööNØtXXMî­¬æÑöö'OudÞ9¹©:0Iï @
+-
+-JÉÊŠÈ 3þ †ËOÞ½ûòå-€ê©7 ðúõëw@þÇoñëGÞ}øðöÛO€
+\ Pas de fin de ligne à la fin du fichier
++
++€ë‡ãbe
++V@°.Ú<jJ[UXW-
++!k­vô‹¿X­vãñ’˜Lù>í+°’¡Øw
++É•”JÊ\(€ÁMnµ¬NÊ G)tÎþªYkÅ91œM)BFÈ
++›\Ÿ?qšªâBÜï^I®USÓæÝñ
++À#R
++P&i+u ݨ®DßÑ–IUëj²³Ï¹mÖ)çKØÈUaŒ¦tNì"Š:ÅA)É‹`”% —ìÆ9[sA­S
++<
++»«qÕµd7à©¥’ÞO=¡RðgFàH ë¦;ŽSÊ„If½óüäksæJˆJÔÖÛ‰ŒI
++ŒÐÑM!…Âd'#4
++T”k¾šIÏeF»þ8,óa®ùM!~.ÃÎ>lÛµ–§ûÝ_¾úkâ&`UÕÊK±*mL!Í1,i0IU•ÑŠ
++’(æÓ¦ ¥tÞ)¹ ËJÖ>»%Øc?¯¯®E‡§ÇƒiÌŒQ2 ¦ ©ä´AÁ2Ï
++â<S1¥
++ŸÏ¼{ö“V À¸Ø#
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/light_purple_normal_up.png v3.5.13-sru/kicker/data/tiles/light_purple_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/light_purple_normal_up.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/light_purple_normal_up.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,6 +1,21 @@
+ ‰PNG
+ 
+-
+-'µnÛ6oÞü}ˆÍðÔÌ3KZZ;kÚ¸Ùgö]¼•{«»{feë¤k×vt,š¹c(̲Î<  ·¶m»¹ïÆ;®2n“òò&>Ÿ(y«µfSÍôé“&M*™5izsoÍ6 ág^
+-Bç×gÖ×÷ôôLŸ¾hQõ"eë×ãË«µ5ß} 6‰°°°F½Š
+-‡ÔTï‚в²ÌÆéÛº³º¦w½9<o^趋C³€°û%@
+\ Pas de fin de ligne à la fin du fichier
++
++à8išê#€]s`I €˜¼–2ûÍêÍR×q/
++5>
++S£Œ&R+¹÷GÓiÈyž<’+Þß1Ý1í¼[ÒÂ9É5ÈBâàæk>¤mß&ïì”S¬”~%X­OW Ma¼äÃƬK¬¯ÌV1HÀ‰¡”ë-€—÷_­_=è;kýãòû?»½°Ñ å3'¬k.ÄÓù¹eqþÓÙ+É[Öµ´{wùH—€NŸdFq \5Y½Í»æ
++¾B^E”ÞPEÓ‹Ú†[¥{
++öVl¥’TD
++Q èÙ^Œ2}î Á)]Šã™
++£• MRÖY
++Έ \ð¶Y>=š^6SN4ÓZ(ˆÚ­ññËÉWž #Ð(ê+ Šñçñ1#¨N1Ï9øD'7¹˜#€®Ñ¡Ä›~M‹2ÔXWŸ*}jÉíÊ[ü9î·ª!•ìÁpA•ø?Š«'‘nÛõežs!TPç=€XçSxn W¢­ n&ÓL&R@0!˜¨á
++ °ØbkÎ5çVnX駱[iB­Fil΄ýæïé:ŸÆ’Š Åoôêìg
++ÂPH'7BjZY­lÛöKñ`„PJ—l£Ÿ!¥ÜÚ¬o›jÚNy  ¥àC¦yvö•zam]lZ@˜‹–;ëÎÇñnuwñ“T¦mub]W1…bs–44Bµm£%°Ë;_gkM׳?Í~&*±ÕµÍ
++ì\¬-c­YÒîë~çŠðËík
++– mn ‰ /›š’QŠ´Ðý oLðb&S§ÛtA˺\éàÆÁM¯ÖÝàüMßïçáõýÃ<Í”÷aɽ^ݪ›ÙZjt{³¾ 9e¶ëmñ‘Æ°bŠÇĨ
++Pe´ÖK ¾ÎW$é!Ê©œ´µ¦Ùñ8Ç¥!òžÝüí¯þF
++öýþDÑÔç÷£.ÓeÓnlž–çÖÍ6%ÅMDŠµD
++†)N;T,n0bI©^©þ
++ @gÚ©¥™Ã1ƒ(j
++bˆq«¶Dw¯_¿çÓr%ÚV´
++ ?êú ‹ŒGÎ9€ÉŸã%PL-i¢”þ/gÚ¼¨††á
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/nuts_and_bolts_normal_down.png v3.5.13-sru/kicker/data/tiles/nuts_and_bolts_normal_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/nuts_and_bolts_normal_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/nuts_and_bolts_normal_down.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,18 +1,13 @@
+ ‰PNG
+ 
+-
+-rwRˆˆŒR`¿ÀÀÅÀÄÀÏ À ‘˜\\ààÃ
+-ÉIDATxœŒÍÁ
+-P’*Åå€
+-8ÛûG(^ö*øªc
+-Êõ @@gœ
+-A½Et‡‚²
+-ý€m6È Pbq [¹ÝÒæÉ…†$²»âKÛR›™ä>è®c
+-Ì‘ áPšK Œ Bwhww7¸Ñ€î:Æ
+- è­kXYr(;ˆ Ê4èŽDI% ³ð94~T_ ¶.(¶@í Zô(¶Aåuppð€
+-رÈJ7L§›&çéAbp?mFUéï
+- ”±§¿ÿ²¯…¶Q ˜cA%XáJ2Èäê–@…9(9à
+-IPKÉÃÃT$­Æ2;²Û
+- !ctyôQfôhlÑ JJ 4 ,à7üøñƒÝ]
+-iXúCÆ飃 Œ>Ú Â飄 ¡…¤——¼Âç€
+-
+\ Pas de fin de ligne à la fin du fichier
++
++Ee)ŸtÎ)<<<üàé⽨å°îTKWå|Y9dŸ)wŒ2…BῨ¥À?ç<s}碠öi§#Oˆ`T„ßõàA‡¯6œc˜ßÄ!O:/Ä
++C«¢¢ÓQ 0즛ó‚–O8ßæE¥­l±"Q"{КlºUÕ|û„s>O6„4H_”öœ};Á[P‹Çó›¿«
++Aí3NÇ0Yü`•YºYÁ!¶#ù›±ÐtAŠ&l†È#ØÂ+øÁ¸â9/xçë·;A(ìÓNgž\i’ã›ø
++mgðtP…ÉJJ¸K
++¤H…ÀÑÄù9u§!¦Ó
++I½ ‰F ÌZ$®,¹K 2¦SéÅ"ªÀ4µ”1«Ä~µž Áú˜N} /Æ©Ãõ¤—¢É½l¦Y;ÒçHÊã5$ÃØÔ‘NÏJ é¦Ûdpi%Éd|—Š屎8ä+<>ªój’@ÒO–ƒ¬e˜±Àÿ
++7ΩËë R"“Ö\NM$Sôó;{ØÆsŠ¤ÀÇÅÁhÈ”µ@õYÃZ\ÊLQ Áœc¶Až ô°ƒ}Œ2ªÔä.½ìÊwY÷Àá‰[ƒa^S(–“f9É
++C'%èã2û2Çۅ©ï»0ØVKRƒ-0†b‚"ͤ `^Qâ‚Í´²–g¡áäöô|v4]
++pëþêεՑÖn"ãL`â1N‘1&pððIÒH ëX…ÅKÍp‹>®²«ç‹öšRx—ò“½Ýß_Þ7@0‰^Ê$&"ܱ$‚Im•÷¸Â_?o·lAÁ­½õã£#ÍÔ‡jˆŽÃjïè⛤ß8péØÇɉ`f´ñ9u7xtdšÈ/ ú¸ÊžKŸ~RSšzvâ%¯ÿüßá54-VÒO†ÖÌWI;ñ”ÇYv½ûÁá7X]‘BTK%w¹ÂÞÌñöÔ¸Ž"ææQåúk¶½
++Z‚%=ñžËv÷;š.Æ1DerV®»Òý°M X<óqµ–ËΞãí—³å”Ë7É¢€7
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/nuts_and_bolts_normal_up.png v3.5.13-sru/kicker/data/tiles/nuts_and_bolts_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/nuts_and_bolts_normal_up.png 2010-08-12 05:29:59.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/nuts_and_bolts_normal_up.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,20 +1,5 @@
+ ‰PNG
+ 
+-
+-rwRˆˆŒR`¿ÀÀÅÀÄÀÏ À ™˜\\ààÃ
+-cIDATxœŒÍÁ
+-P’*Åå€
+-«²ùëìQv+È $_H9Èý‡ÔCh{k-Æœsxï ! "ÄI)‘s¦”B­•Ö½wÆ/H‹ÞXÍ9`ι×Zr»Ø(C
+-»í}C("0Æ@ïÌŒÖÚ1œ
+-:¾î>$gæóqT©I‚´§æ»«Z Ò¼žå É9p´éî3@iÀŪ:÷d抈µ¨þ¥5…è¹–&A™
+-RÊÀ
+-ÒSQQñ €ž={öXea8T-‚2¨Í ÊáèÑœy@ŽDŽnô„E7²#AéT¨ƒp[[8P“Ì¡ = j €@E¨á‹ìPPÃTwƒ‚jOA½¢Ô‘&L
+-|Pìò(ÀÐ
+-Ò—’’ò €@E6Ÿ€ª-PÚƒupÕßè›#Aé›#[[[ÁE(}‚
+-}PUìP^éKLLü@  œ @V
+-X‡/""j ÒÔ8Bw(H/(ĈÄu'
+-âƒÓÐÐ
+-uäF¶ŒƒîHXš„E7ˆ Ê@ÑÑÑàrÔÞ
+-Ü£ ÙE ŒSº9ÁÀ•ÖqjÝöDã¨IâÑ‘üí´ú3œ]™9·
+-憹9ù«$‘PÊL|×t9NmK
+-ªÊ@™ ½»Þš‡ÕRèÕ)¬lU ³@…?h\ èHx„A‡BË ,Ž¶‚ŠPY *;Aå%¨¬¬¬¬K ¢¨  
+\ Pas de fin de ligne à la fin du fichier
++
++U±‚•D” )â5Uf%ú÷ȱ›íÌ0cÛ‰ÏM®³uXD·‡Æ÷¦iµ±õÈ1 ,°Pùâ
++MWhe ¯³šZ˜voa”Klùª¯­`çR*u}èÁ'Ýv¾‚y"||3!«î}|óËnq‘¿Ùׂ…¨ãÚÏ÷÷õ°Èª¡ö9lv¬M|SŒò;Îþ4U4OÖŸìºúÓý}ËxÙÙó·VF¹Ä¶óŸÖV¨Ž wu§.ÿúÏÞ,}aØ€Û óáð7ƒ°6*’KÙyyèÎÞ×YÞ°„h¶”ÐÜä"Û‡ô¥ç\Q¿Ž*/úóìÝ=¯@âc\«}÷*âŒ>Ô>›Ä‹³r×Å¡»{´©ýär¬21«žEl9ÒW‹euû|9éIÃúÐ
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/solid_green_normal_down.png v3.5.13-sru/kicker/data/tiles/solid_green_normal_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/solid_green_normal_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/solid_green_normal_down.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,8 +1,3 @@
+ ‰PNG
+ 
+-
+-rwRˆˆŒR`¿ÀÀÅÀÄÀÏ À •˜\\ààÃ
+-±3p16ó¶°
+-´³‹rvŒw§)rŽ÷pMööÌô÷Ë «‰ WcyEeC5}SKË`;š"›PÇW·d/ õÑu‰
+-è€2¦äN/Ÿ´xjßâ‰
+-3¦äåhR'å
+\ Pas de fin de ligne à la fin du fichier
++
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/solid_green_normal_up.png v3.5.13-sru/kicker/data/tiles/solid_green_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/solid_green_normal_up.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/solid_green_normal_up.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,4 +1,4 @@
+ ‰PNG
+ 
+-
+-rwRˆˆŒR`¿ÀÀÅÀÄÀÏ À •˜\\ààÃ
+\ Pas de fin de ligne à la fin du fichier
++
++c@4  û´Ým1æ¸äBˆ%re&n‹‹€‚ïŸO׳Ýì68Íóíz}úvü1Žó³[B†f!
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/solid_pastel_normal_down.png v3.5.13-sru/kicker/data/tiles/solid_pastel_normal_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/solid_pastel_normal_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/solid_pastel_normal_down.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,11 +1,10 @@
+ ‰PNG
+ 
+-
+-iz}uwr}u]}wO‡uBXx§bv‘…u3o€-kvlŽsrt\cs…xs9urJXt‘|jXhmtmr@Er­yjEe\ÌJiÁfffyi&|e)XitWkjq]FddDVhLF_bXILV}yO$[VLzN%RV`YTDhN:ISqBQMPSVS$WM<XKA<MCN_uEML>cC.7JtlBc;%<Ch?CNGC/A[<A,1?N34L*7?333$.ÿÿÿCiâ
+-@ JïòÝÜ&MÊ?^UUµ#÷ÀÞ¦niŠpolœPVV h? ™«V­Rý
+-@@SOqqq•^¿~òƞȚÂÈ¢¾¾å]IMMS;ÀJ+šKJf–¬Wy@ ßX½ÝYXܽõ§ùø8::…‡GF꛺fz_u_u3TT̬hö–{ @ Vû9Í9YÙÂì’§õözØÌq”÷‰ôè[Õ·fiWuuIIIsIsskkÊC€
+-RÓ
+-T
+-*ˆy?333 Oh¨~˜‰âºú®® ùˆé@?U@”UÔµÖ‰¼ ±ýl¬@ëÙyøY¦…†š4
+-+ ŽæôÖ
+-AÁКÞ\·»Ná3@
+\ Pas de fin de ligne à la fin du fichier
++
++áTYM–J×"lÆÐÚ,F4ãZ.wÄÒ®WÕS¸½|»¡ 9hjØö6•X”‹“Z
++=‡—ˆéŠª+Wî«$Çí¤ÇºS7ì½4sa˜ÐõÎç/¸^y4Å@Ø+A€G$
++
++“K€
++YüÄv÷\*ú© ÃxŇwZ™Ùî‡ì.D|+Sxº70‡…s`wûˇzoÇÝ €’T„Ãwr›xÌ·6eí7
++ƒ@»@4[Vÿ€[‹?zñƒÿù €qï¿ïÞ÷©‰gÚ¥ yéž¡$ ÈGŸÌÌô
++ÀáánEËîELàê¶÷@ÏU1d.“z9“;QIÚ¾A„cGÒ^³¾w~0CwŒÝWm6f×L1Å,ÐÅ“Š}AOzÍúŠpö!æ_®‡…µÛêÿÞ{ÖmïMd÷
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/solid_pastel_normal_up.png v3.5.13-sru/kicker/data/tiles/solid_pastel_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/solid_pastel_normal_up.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/solid_pastel_normal_up.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,8 +1,16 @@
+ ‰PNG
+ 
+-
+->øR·_¾Üž³max?СÝ^8¨èV€
+-îxªà¬¼fKn‚+ÐÔ…Ó§ÖƒÖקŸ|@ 
+- R§Õ«ÿ@ ŒŒlSøEÁJ™&™Å›mÝÚ?iúòå@EKÁ‘•^^þáQÐñ/
+-ÁQU\~¬|ÿw€
+-SÂÖ¯ëz w8&fyÈØzPx9=Uû
+\ Pas de fin de ligne à la fin du fichier
++
++**T¤ª
++E¢B¨ª¨UQi ”G )" 9„N¿b{½Þ‡}ÌìÎÎÜyÞ¹sßÓ?f±¡åÓÑÕÑ=ç|ßï÷}¿ïríÚ•VG\\º}=[ÒÇvï¨\º6û;
++À²
++g%"3*ˆ‘Œ5—Cw«×³Ü—I´u™îêJŸÕjõÊzU_Ö×9
++ÀM½Þ¥Buü˜eˆ®*‘”'c’1Ú~˱ý
++2Ãé
++B·L¤Ÿ5 F™wÓ©á•îH݉Ót*ò-Ó'©¡7î7õáPŒB1Š™œ@"bx1ª!wFNõ
++ëöš/’«z@×ñn%ĸðå +wð¯ þìÑD
++‰ã7-Ô‘#ÃÙMÆpv@^#Z1$WõÎɧ¾wÿcMýð5iÖ~ô³
++  rj½v €Ýž4Ý:þ½
++"t~+äoaÈÐcy„ãï~»ñÓǹǡ²+Ë/¾2K­îŽ'$¢…Gϵ?ñäÅ/e˜pdêp3ÐÞŽ?•¿ø•J$YÊÃÛŽA² Îv-¨suBw?
++|Éî=»\6Æ8'zó:j$ršÖDV5ÎÿçÁ{§—¾Ãïžþi}ã!ql§]:jÈ[…r @ÙºHð\Ÿ’ ЌȀp ˜_=š´ 6 x>[ûèÅíãOsízÉÏò ò#ßžææµ½ˆrRÁ M/ø¹~¢ÿ ™>À,Ï=%äÞàϽo9·°T¥³¥×ÜŸýÙÚÖ¦›ïPd)¢*H±W¶ø •AÔ›þ eô¿×¿àÚ©—>=õ±ë[`ø£ïf'ïéï{ß·ž!¤³±K½þÔú–·¥w·
++“a}u°_ŠÍ숪ZÐî-@´lp@3ñ¦œýl3ñ¦°¾zš{óïÉOž §lƒù_“JjŠÜÏÞ
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/solid_purple_normal_down.png v3.5.13-sru/kicker/data/tiles/solid_purple_normal_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/solid_purple_normal_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/solid_purple_normal_down.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,5 +1,13 @@
+ ‰PNG
+ 
+-
+-ï¶n½{øÖÎÛ¦ÁÓKJ&?&ƒ®æMͳfMŸ>½|ÆôYm=Í[†+¼
+-‹‚kÚ²³ûŸl-]y~þüÎ9sÖ¬Y3cÙ²ª¬„ó×ïZ,õ
+\ Pas de fin de ligne à la fin du fichier
++
++&x)xÐÛ±‘mÅ'çGÎlÌîºY+Á©¯+J‰OÄ'
++„`Jºq@‹ÀT<цu4/›O®äÕE}]ùθ¸.V/«—_o;§3yÜïÞþnS¬C¢qÈ¿|õë/Éß?Üo§# À‚ð²ey¯ÁQ…Çd´0Ó¬‰+hV”Š­¿ÞÌAp!°)h
++ùþøºS<݉UɧDÇ|Ñm¥ßxÜqÇýC¼³0˺ÓÉEŸÏÅú™º0?™§f?e­1[û´êÚ_
++Jv`vÞú ÂII­uŒ&fB¨i»=ö/–/g£‰Ë=Ÿ7ÕêMÿÖ½"ݾýe칸˜ˆû“îÞŽw…µ½ß/ù™K˜éîEweŽ÷
++À~¾“‹zvãMyÝ
++Õ.îLîÌQ”€õÌXyUâ!oKVø >ô»
++pÆ=WŸL觬?j¿²A³ýÝáþç×í
++Àëáö© Ú;7{’ÀÆ4ÌÞ´XИ’ÿX„U-–Õ¸sÆ|#Òƒ=h…,h”R(ã%…OYR%
++º2y}'5N»/š«uÓÔÅ’MÖêh8ª1¸Si¹}Õ%¬©ÇõesÖÛ£†«xs.–ÜrH¿¬n²à¬¶GÝ-Wgi&.µ‹ÆÚp7>8ï¶Ã€ iïVÅ¥r7Þ3V}@ÿ²xÎJBQ$¬*ëV¬-\MD}jh¥Ú{Í<à³u9Ë’é@Òö¤-·ó-!2¤°·ÓûÖ¹B;ÛÏZGߪŽ‰J¢
++›ì“îv£”À0k
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/solid_purple_normal_up.png v3.5.13-sru/kicker/data/tiles/solid_purple_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/solid_purple_normal_up.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/solid_purple_normal_up.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,8 +1,18 @@
+ ‰PNG
+ 
+-
+- €xœæ÷gån^Y»±±¨hjc%È [g–Ξ=cöÞùóçoÜ·wæÌ'
+-d,P¶¬±¬lUñ¢©7Î)®¬¬<𠀘ì€>™¸yûÚâC“ WåN¬Ü òo'L™²j
+-Øwé3g|@ ¬êg6l< 䚸Y; ‡¬,Û¼ù
+-ÐÑÍS§L™:¨pJç¶móæÍßû €X OÌ>³¼µõ ³¦µ›cZÿµëY×;:f—wN9¼fMsó¢Ù;7‚Â,ýÌ#€
+-É ¯ªJ«œ¹­#½}fû›ƒóæ…o»61Ü9;^·N‘‡odH–¹±qFnnnd$0#A}ý姧·î=²¼ ½Ý:ÊzaÇ#€
+\ Pas de fin de ligne à la fin du fichier
++
++
++‘³c”:3cYò
++ÀÁŽçgG×/ïƇ•ê>òlÂübq`¶5ã¨
++:ÛpþÚ¶f^«µ‚:¤­CIr°a®yÉdÝq’zË%ŒO.çe)M¶” ÊŶ•lTCÏ/ß“ôhŽ
++Kµ`ï†ï`‡š—8¼MÛ½¢‘½”W’6Ò=v¥‘,‰ÝyÐÑFe}« €ÉLG3Ÿ—xî“¿.W>}}J5¹˜m!èéqx`™FŒœ³£±ßê75)¡€ c˜~xñÙëËWxü­å#%rÔãZ¯’µ%Ê µþHF"GwbB0“ªU%,©<@%ÙÖn˜¤™ñ><è
++ÃÞl×Í¥Oú {fr¯³-µ™’,U¹DÙÉUöfM×…PªG3Ù”–ÍEH)ÚX.äÛäHc!E
++DÚÅäb`ª¬)˲$òëã·ËRfb:¹âB
++J昮—’Ò÷÷Á}LÇaÿŸm¿ª–s6EWrs%7
++ç•u
++b{x®
++AÿÿÊÜÂPWlšÕqC$Tm
++ΊTµªóÉÛll6Å?ýòŸƒ#fžXA ¨õu·¹?\ U-CŽ¤ ­¬) ©z£9ãŠÓ9&íû­ÓmÑÖb™C 9(ª~·}#©äA°ÄAé7ï3Í‚×êf™×ÔËN­NcO@6t}Œf¼÷vo}\òÖÓ€ƒÖBÐE[§€¶nè£F9ÏL‚Ó*
++ xï¢ç(eÁ—b1¹°äŠ, {v{“ÆŽµ´`w§·iš¦Ì镺¾7ïY)–ãÁŽ³ ÙÂÙxœ«Jj7 V˜aðæÚpÖÝK^fNKK¯¥,e5øçRÒ€I³õäB^ììî'˾Ù}Ý@ßœ¾ð0nÿ‚V
++çõìW¥ô.hÚE--1D%ÊF–ÜqÆòRÜ´¥dEƒo›…NåbÙ,S&;{ŒÆ>{BAÜ£½¯HWJµŸž|Έ”p?Û‘–Šçºþ¤~¥“\!¡*YïüÄ<9cárV\Œ© èâ\[>é;BTHá`§§gîØଶÀUµa²* ÕÉ
++
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/solid_tigereye_normal_down.png v3.5.13-sru/kicker/data/tiles/solid_tigereye_normal_down.png
+--- /tmp/stable//kdebase/kicker/data/tiles/solid_tigereye_normal_down.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/solid_tigereye_normal_down.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,16 +1,7 @@
+ ‰PNG
+ 
+-
+-D?2K=O=B::F<&P<A;0J:A:):::L9B9$<92C7<7+K7E6H4
+- 
+- 
+- ·„!`í]_@ õÞuu-u U fÔµ´ÔBQÁy†:IU€
+-’j
+-d'—€Ã
+-@ oA¥ò@J“¡JZ’AJÖTVÖ&¦¨ÔT 5%ÁÁ%Q S!¨­­Š‰ÕU–•e¥¥¥¨Ä­ 'ƒ=ܵµå`! Êœ´øøU€
+-@`¥u°ÀJ.‚†k8Q滻ǥdž…Ù‚”P)0€škÁÆ&G!’KT`v¸»;ÈP RÓU€
+-@X"¶ *+Ë€áob¢Tédolœ¢
+-@èɔ逴±¨ÔÑ1ÚDGÇÃÃÉÉÌ ¨ €0a#ÔÔÔÙØ8ë¨Ušš™™¥¨ZÒå9ºšª*`:57ñÕQÆ¿±¡¡aŠ*@
+-RRBBB)ª
+-
+-rspp¥¨C[¸Pú&ÝYMÍÎà ŽöÀ8·°0ÖæWâååâ`efKÑ ¨Ò2 Ò#5m Y@EöÀ89~~))^¨R€
+\ Pas de fin de ligne à la fin du fichier
++
++*%&# þœ8è#ì>µ(«Sÿ÷}ÑM”ñrÚF†ÏîekT|þjÑƸ×íü¸
++ìkº·­’8ö\>{
++!FÐ×B?=&VÕ5K¨:¼^ÌZk
++Y§JÓB…X`Š Ð̳@Ó&Fˆ™E„ bÉ.À[£úÚËUš
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/data/tiles/solid_tigereye_normal_up.png v3.5.13-sru/kicker/data/tiles/solid_tigereye_normal_up.png
+--- /tmp/stable//kdebase/kicker/data/tiles/solid_tigereye_normal_up.png 2010-08-12 05:29:57.000000000 +0200
++++ v3.5.13-sru/kicker/data/tiles/solid_tigereye_normal_up.png 2012-09-08 19:41:29.000000000 +0200
+@@ -1,18 +1,13 @@
+ ‰PNG
+ 
+-
+-;91F7=8*>6!G5 ?5 @4H3
+- 
+- yyyzzz{{{|||}}}~~~€€€‚‚‚ƒƒƒ„„„………†††‡‡‡ˆˆˆ‰‰‰ŠŠŠ‹‹‹ŒŒŒŽŽŽ‘‘‘’’’“““”””•••–––———˜˜˜™™™ššš›››œœœžžžŸŸŸ   ¡¡¡¢¢¢£££¤¤¤¥¥¥¦¦¦§§§¨¨¨©©©ªªª«««¬¬¬­­­®®®¯¯¯°°°±±±²²²³³³´´´µµµ¶¶¶···¸¸¸¹¹¹ººº»»»¼¼¼½½½¾¾¾¿¿¿ÀÀÀÁÁÁÂÂÂÃÃÃÄÄÄÅÅÅÆÆÆÇÇÇÈÈÈÉÉÉÊÊÊËËËÌÌÌÍÍÍÎÎÎÏÏÏÐÐÐÑÑÑÒÒÒÓÓÓÔÔÔÕÕÕÖÖÖ×××ØØØÙÙÙÚÚÚÛÛÛÜÜÜÝÝÝÞÞÞßßßàààáááâââãããäääåååæææçççèèèéééêêêëëëìììíííîîîïïïðððñññòòòóóóôôôõõõööö÷÷÷øøøùùùúúúûûûüüüýýýþþþÿÿÿASpÏ
+-?“®'È' S]€
+- ‰…––¢–···ƒ™ª @
+-’ª¼6
+-ŠZY­pkõØÌÔÜ¢\*ÈMM56öá25ÓÖð   Ð
+-
+-Rsýí•Ýøøl €©DXÎÔ €< ä€*ÍÌ<¤£--s S AJæ溨;ê+rš™jh¨ªŠØ
+-ô—0ñúJ[¦úÇçç—–——çfúëEkJó™
+-P*È*Œp±ô26w¶133°q †@S3§ðp_këT¿B¨S!Ál™êbìë 1Í €¼AåˆsxB‚ºÐW%À …+ÐÅù¶>.êÆ‘‘áVž6
+-
+-ŠINŽÍ°ðK &¬âR SÈòËóñ‰ÏÍÌLN  †po`a– ̪>ññÙ¥ùàx'î¸à,?ËÔÔØØtp¹@ Þ1¡á ÉɹY~qqq@ƒÕ–¦ÅÅYDäçç&ç$$„ûúC$HCNNjjIžmTTp~i)U€ÜZì—•̹@çú†
+-.¨
+-
+\ Pas de fin de ligne à la fin du fichier
++
++ð”^œ¸žƒ3¥6,^¶ˆ˜ò°S&Ý^ÆSÀâx˜0™ dõ—7yq ` ÅXe¬rES‘¹Ñ ÀÌ©¨É
++Àâ€Ô˜»Ê5‚I!0ÚѶõÓ ¯eŒT¤öQQÒÃE\õF^ðÏÇét××;TÚÚZ*wözàá¢zãIÇϨ€ÓÒ?]Ü® ”¸Éì•’5i;Ý_
++ÅÏ^å®rWŽ jª¬FûðþìcQV#l±Õ2»LÆ•N“nW³íýKî ðÿã Z\\ƒ^ƒ¾_©²5…â”®JWŸ"ºXR:Œ†GIJ)µº—¾Û«S¿™Sêó§gÿ´·â4OÞäR©†TgÒ‰ìòþQ<ß=©Ù+Cí´ô+/–DIR’9VÖ<Ъîæ&Ï{-¢¦A:«×’
++´Ñ±¨›o±<O~g"wV¤Y ­Ýgj8.êý£šLï­Øç®_Ê]9-kžs$¹‹%ùÜ$‘Q³WåsíH)ˆYb–ÓA
++€b!îÆX5{¬Qf”’%ïþ¶ŽÉÖÇ
++…*ï½€‘rµmuÌòúØ´Q#a^¨tŠy×öõ>€ÓBdܺ•-“6êæÀ
++<¤ÀÞõfDÐq£¿¼iÿ¸£¾)?~3Å
++€5@ E‰RÞˆpÄ¥R+€T
++
++–ð”¿ˆÆ û´Ö½wàË—•É›˜Û` ¬BKûªôê8ŠťunÝ´Þ
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/dockbar/dockbarextension.cpp v3.5.13-sru/kicker/extensions/dockbar/dockbarextension.cpp
+--- /tmp/stable//kdebase/kicker/extensions/dockbar/dockbarextension.cpp 2011-08-11 07:25:47.000000000 +0200
++++ v3.5.13-sru/kicker/extensions/dockbar/dockbarextension.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -60,7 +60,7 @@
+ kwin_module = new KWinModule(TQT_TQOBJECT(this));
+ connect( kwin_module, TQT_SIGNAL( windowAdded(WId) ), TQT_SLOT( windowAdded(WId) ) );
+ setMinimumSize(DockContainer::sz(), DockContainer::sz());
+- tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
++ setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
+ loadContainerConfig();
+ }
+
+@@ -77,7 +77,7 @@
+ if (dragging_container) delete dragging_container;
+ }
+
+-TQSize DockBarExtension::tqsizeHint(Position p, TQSize) const
++TQSize DockBarExtension::sizeHint(Position p, TQSize) const
+ {
+ if (p == Left || p == Right)
+ return TQSize(DockContainer::sz(), DockContainer::sz() * containers.count());
+@@ -335,7 +335,7 @@
+ it != containers.constEnd();
+ ++it, ++i)
+ {
+- if ((*it)->tqgeometry().contains(p))
++ if ((*it)->geometry().contains(p))
+ {
+ return i;
+ }
+@@ -350,7 +350,7 @@
+ mclic_pos = e->pos();
+ } else if (e->button() == Qt::RightButton) {
+ int pos = findContainerAtPoint(e->pos());
+- if (pos != -1) containers.tqat(pos)->popupMenu(e->globalPos());
++ if (pos != -1) containers.at(pos)->popupMenu(e->globalPos());
+ }
+ }
+
+@@ -374,7 +374,7 @@
+ int pos = findContainerAtPoint(e->pos());
+ original_container = 0;
+ if (pos > -1) {
+- original_container = containers.tqat(pos);
++ original_container = containers.at(pos);
+ mclic_dock_pos = e->pos() - original_container->pos();
+ dragged_container_original_pos = pos;
+ dragging_container = new DockContainer(original_container->command(), 0, original_container->resName(), original_container->resClass(), true);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/dockbar/dockbarextension.h v3.5.13-sru/kicker/extensions/dockbar/dockbarextension.h
+--- /tmp/stable//kdebase/kicker/extensions/dockbar/dockbarextension.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/dockbar/dockbarextension.h 2012-09-08 19:41:29.000000000 +0200
+@@ -40,7 +40,7 @@
+
+ virtual ~DockBarExtension();
+
+- TQSize tqsizeHint(Position, TQSize maxSize) const;
++ TQSize sizeHint(Position, TQSize maxSize) const;
+ Position preferedPosition() const { return Right; }
+
+ protected slots:
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasbar.cpp v3.5.13-sru/kicker/extensions/kasbar/kasbar.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasbar.cpp 2011-08-11 07:25:47.000000000 +0200
++++ v3.5.13-sru/kicker/extensions/kasbar/kasbar.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -93,7 +93,7 @@
+ rootPix( 0 ),
+ enableTint_( false ),
+ tintAmount_( 0.1 ),
+- tintColour_( tqcolorGroup().mid() ),
++ tintColour_( colorGroup().mid() ),
+ useMask_( true ),
+ res(0)
+ {
+@@ -102,7 +102,7 @@
+ setMouseTracking( true );
+ setMaxBoxes( 0 );
+
+- connect( this, TQT_SIGNAL( configChanged() ), TQT_SLOT( tqrepaint() ) );
++ connect( this, TQT_SIGNAL( configChanged() ), TQT_SLOT( repaint() ) );
+ }
+
+ KasBar::KasBar( Orientation o, KasBar *master, TQWidget *parent, const char *name, WFlags f )
+@@ -122,7 +122,7 @@
+ rootPix( 0 ),
+ enableTint_( false ),
+ tintAmount_( 0.1 ),
+- tintColour_( tqcolorGroup().mid() ),
++ tintColour_( colorGroup().mid() ),
+ useMask_( true ),
+ res(0)
+ {
+@@ -130,7 +130,7 @@
+ items.setAutoDelete( true );
+ setMouseTracking( true );
+ setMaxBoxes( 0 );
+- connect( master_, TQT_SIGNAL( configChanged() ), TQT_SLOT( tqrepaint() ) );
++ connect( master_, TQT_SIGNAL( configChanged() ), TQT_SLOT( repaint() ) );
+ }
+
+ KasBar::~KasBar()
+@@ -255,7 +255,7 @@
+ }
+
+ emit configChanged();
+- tqrepaint( true );
++ repaint( true );
+ }
+ }
+
+@@ -269,7 +269,7 @@
+ emit configChanged();
+
+ if ( rootPix->isAvailable() )
+- rootPix->tqrepaint( true );
++ rootPix->repaint( true );
+ }
+ }
+
+@@ -375,7 +375,7 @@
+ emit detachedChanged( detached );
+ }
+
+-TQSize KasBar::tqsizeHint( Orientation o, TQSize sz )
++TQSize KasBar::sizeHint( Orientation o, TQSize sz )
+ {
+ if ( o == Qt::Horizontal )
+ setBoxesPerLine( sz.width() / itemExtent() );
+@@ -414,7 +414,7 @@
+ if ( !isUpdatesEnabled() )
+ return;
+ bool updates = isUpdatesEnabled();
+- tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+
+ // This is for testing a rectangular layout
+ // boxesPerLine_ = (uint) ceil(sqrt( items.count() ));
+@@ -443,32 +443,32 @@
+ resize( sz );
+ }
+
+- tqsetUpdatesEnabled( updates );
++ setUpdatesEnabled( updates );
+
+- TQWidget *top = tqtopLevelWidget();
++ TQWidget *top = topLevelWidget();
+ TQRegion mask;
+
+ KasItem *i;
+ if ( orient == Qt::Horizontal ) {
+ for ( i = items.first(); i; i = items.next() ) {
+- int x = (items.tqat() % c) * itemExtent();
++ int x = (items.at() % c) * itemExtent();
+
+ if ( direction_ == TQBoxLayout::RightToLeft )
+ x = width() - x - itemExtent();
+
+- i->setPos( x, (items.tqat() / c) * itemExtent() );
++ i->setPos( x, (items.at() / c) * itemExtent() );
+ i->update();
+ mask = mask.unite( TQRegion( TQRect( i->pos(), TQSize(itemExtent(),itemExtent()) ) ) );
+ }
+ }
+ else {
+ for ( i = items.first(); i; i = items.next() ) {
+- int y = (items.tqat() / r) * itemExtent();
++ int y = (items.at() / r) * itemExtent();
+
+ if ( direction_ == TQBoxLayout::BottomToTop )
+ y = height() - y - itemExtent();
+
+- i->setPos( (items.tqat() % r) * itemExtent(), y );
++ i->setPos( (items.at() % r) * itemExtent(), y );
+ i->update();
+ mask = mask.unite( TQRegion( TQRect( i->pos(), TQSize(itemExtent(),itemExtent()) ) ) );
+ }
+@@ -658,7 +658,7 @@
+
+ paintBackground( &p, TQRect( pos, TQSize( itemExtent(), itemExtent() ) ) );
+ i->paint( &p, pos.x(), pos.y() );
+- tqrepaint( TQRect( pos, TQSize( itemExtent(), itemExtent() ) ), transparent_ || erase );
++ repaint( TQRect( pos, TQSize( itemExtent(), itemExtent() ) ), transparent_ || erase );
+ }
+
+ KasItem* KasBar::itemAt(const TQPoint &p)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasbarextension.cpp v3.5.13-sru/kicker/extensions/kasbar/kasbarextension.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasbarextension.cpp 2011-07-09 08:16:55.000000000 +0200
++++ v3.5.13-sru/kicker/extensions/kasbar/kasbarextension.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -141,7 +141,7 @@
+ {
+ updateGeometry();
+ resize( kasbar->size() );
+- tqrepaint( true );
++ repaint( true );
+ }
+
+ TQSize KasBarExtension::detachedSize()
+@@ -153,7 +153,7 @@
+
+ }
+
+-TQSize KasBarExtension::tqsizeHint(Position p, TQSize maxSize ) const
++TQSize KasBarExtension::sizeHint(Position p, TQSize maxSize ) const
+ {
+ Orientation o = Qt::Horizontal;
+
+@@ -167,7 +167,7 @@
+ return TQSize( 0, kasbar->itemExtent()/2 );
+ }
+
+- return kasbar->tqsizeHint( o, maxSize );
++ return kasbar->sizeHint( o, maxSize );
+ }
+
+ void KasBarExtension::positionChange( Position /* position */)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasbarextension.h v3.5.13-sru/kicker/extensions/kasbar/kasbarextension.h
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasbarextension.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/kasbar/kasbarextension.h 2012-09-08 19:41:29.000000000 +0200
+@@ -76,7 +76,7 @@
+
+ virtual ~KasBarExtension();
+
+- TQSize tqsizeHint( Position, TQSize maxSize ) const;
++ TQSize sizeHint( Position, TQSize maxSize ) const;
+ Position preferedPosition() const { return Right; }
+
+ virtual void positionChange( Position position );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasbar.h v3.5.13-sru/kicker/extensions/kasbar/kasbar.h
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasbar.h 2011-08-11 07:25:47.000000000 +0200
++++ v3.5.13-sru/kicker/extensions/kasbar/kasbar.h 2012-09-08 19:41:29.000000000 +0200
+@@ -120,7 +120,7 @@
+ void remove( KasItem *i );
+ void clear();
+ KasItem *take( KasItem *i ) { return items.take( indexOf(i) ); }
+- KasItem *itemAt( uint i ) { return items.tqat( i ); }
++ KasItem *itemAt( uint i ) { return items.at( i ); }
+ int indexOf( KasItem *i ) { return items.find( i ); }
+
+ KasItemList *itemList() { return &items; }
+@@ -152,7 +152,7 @@
+
+ bool isDrag() const { return inDrag; }
+
+- TQSize tqsizeHint( Qt::Orientation, TQSize max );
++ TQSize sizeHint( Qt::Orientation, TQSize max );
+
+ //
+ // Look and feel options
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasclockitem.cpp v3.5.13-sru/kicker/extensions/kasbar/kasclockitem.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasclockitem.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/kasbar/kasclockitem.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -45,7 +45,7 @@
+ lcd = new LCD( parent );
+ lcd->hide();
+
+- lcd->tqsetSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
++ lcd->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum );
+ lcd->setBackgroundMode( NoBackground );
+ lcd->setFrameStyle( TQFrame::NoFrame );
+ lcd->setSegmentStyle( TQLCDNumber::Flat );
+@@ -89,7 +89,7 @@
+
+ p->save();
+ p->translate( 3, 15 );
+- lcd->setPaletteForegroundColor( kasbar()->tqcolorGroup().mid() );
++ lcd->setPaletteForegroundColor( kasbar()->colorGroup().mid() );
+ lcd->draw( p );
+ p->restore();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasgroupitem.cpp v3.5.13-sru/kicker/extensions/kasbar/kasgroupitem.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasgroupitem.cpp 2011-07-09 08:16:55.000000000 +0200
++++ v3.5.13-sru/kicker/extensions/kasbar/kasgroupitem.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -213,7 +213,7 @@
+ int ypos = 16;
+
+ for ( int i = 0; ( i < (int) items.count() ) && ( i < microsPerCol ); i++ ) {
+- Task::Ptr t = items.tqat( i );
++ Task::Ptr t = items.at( i );
+
+ if( t->isIconified() )
+ p->drawPixmap( xpos, ypos, res->microMinIcon() );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasgroupitem.h v3.5.13-sru/kicker/extensions/kasbar/kasgroupitem.h
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasgroupitem.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/kasbar/kasgroupitem.h 2012-09-08 19:41:29.000000000 +0200
+@@ -91,7 +91,7 @@
+
+ KasTasker *kasbar() const;
+
+- Task::Ptr task( uint i ) { return items.tqat( i ); }
++ Task::Ptr task( uint i ) { return items.at( i ); }
+ int taskCount() const { return items.count(); }
+
+ TQPixmap icon();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasitem.cpp v3.5.13-sru/kicker/extensions/kasbar/kasitem.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasitem.cpp 2011-07-08 00:00:32.000000000 +0200
++++ v3.5.13-sru/kicker/extensions/kasbar/kasitem.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -301,7 +301,7 @@
+ if ( !frame )
+ return;
+
+- qDrawShadePanel(p, 0, 0, extent(), extent(), tqcolorGroup(), false, 2);
++ qDrawShadePanel(p, 0, 0, extent(), extent(), colorGroup(), false, 2);
+
+ TQPen pen;
+
+@@ -547,12 +547,12 @@
+ p->restore();
+ }
+
+-void KasItem::tqrepaint()
++void KasItem::repaint()
+ {
+- tqrepaint( true );
++ repaint( true );
+ }
+
+-void KasItem::tqrepaint( bool erase )
++void KasItem::repaint( bool erase )
+ {
+ if ( kas->isVisible() )
+ kas->repaintItem( this, erase );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasitem.h v3.5.13-sru/kicker/extensions/kasbar/kasitem.h
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasitem.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/kasbar/kasitem.h 2012-09-08 19:41:29.000000000 +0200
+@@ -171,8 +171,8 @@
+ void paintModified( TQPainter *p );
+
+ public slots:
+- void tqrepaint();
+- void tqrepaint( bool erase );
++ void repaint();
++ void repaint( bool erase );
+ void update();
+
+ void setActive( bool yes );
+@@ -218,7 +218,7 @@
+ TQFontMetrics fontMetrics() const { return kas->fontMetrics(); }
+
+ /** Gets the color group from the parent. */
+- const TQColorGroup &tqcolorGroup() const { return kas->tqcolorGroup(); }
++ const TQColorGroup &colorGroup() const { return kas->colorGroup(); }
+
+ /** Factory method that creates a popup widget for the item. */
+ virtual KasPopup *createPopup();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasloaditem.cpp v3.5.13-sru/kicker/extensions/kasbar/kasloaditem.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasloaditem.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/kasbar/kasloaditem.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -95,7 +95,7 @@
+
+ KasItem::paint( p );
+
+- TQColor light = kasbar()->tqcolorGroup().highlight();
++ TQColor light = kasbar()->colorGroup().highlight();
+ TQColor dark = light.dark();
+
+ KPixmap pix;
+@@ -103,7 +103,7 @@
+ KPixmapEffect::gradient( pix, light, dark, KPixmapEffect::DiagonalGradient );
+ p->drawPixmap( 2, extent()-2-h, pix );
+
+- p->setPen( kasbar()->tqcolorGroup().mid() );
++ p->setPen( kasbar()->colorGroup().mid() );
+ for ( double pos = 0.2 ; pos < 1.0 ; pos += 0.2 ) {
+ int ypos = (int) floor((extent()-2) - (dh*maxValue*pos));
+ p->drawLine( 2, ypos, extent()-3, ypos );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kasresources.cpp v3.5.13-sru/kicker/extensions/kasbar/kasresources.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kasresources.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/kasbar/kasresources.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -308,7 +308,7 @@
+ if ( actBg.isNull() ) {
+ actBg.resize( kasbar->itemExtent(), kasbar->itemExtent() );
+ KPixmapEffect::gradient( actBg,
+- kasbar->tqcolorGroup().light(), kasbar->tqcolorGroup().mid(),
++ kasbar->colorGroup().light(), kasbar->colorGroup().mid(),
+ KPixmapEffect::DiagonalGradient );
+ }
+
+@@ -320,7 +320,7 @@
+ if ( inactBg.isNull() ) {
+ inactBg.resize( kasbar->itemExtent(), kasbar->itemExtent() );
+ KPixmapEffect::gradient( inactBg,
+- kasbar->tqcolorGroup().mid(), kasbar->tqcolorGroup().dark(),
++ kasbar->colorGroup().mid(), kasbar->colorGroup().dark(),
+ KPixmapEffect::DiagonalGradient );
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kastasker.cpp v3.5.13-sru/kicker/extensions/kasbar/kastasker.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kastasker.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/kasbar/kastasker.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -315,7 +315,7 @@
+ void KasTasker::moveToMain( KasGroupItem *gi )
+ {
+ bool updates = isUpdatesEnabled();
+- tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+
+ int i = indexOf( gi );
+
+@@ -327,7 +327,7 @@
+ gi->hidePopup();
+ remove( gi );
+
+- tqsetUpdatesEnabled( updates );
++ setUpdatesEnabled( updates );
+ updateLayout();
+ }
+
+@@ -346,7 +346,7 @@
+ void KasTasker::refreshAll()
+ {
+ bool updates = isUpdatesEnabled();
+- tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+
+ clear();
+
+@@ -365,7 +365,7 @@
+ addTask( t.data() );
+ }
+
+- tqsetUpdatesEnabled( updates );
++ setUpdatesEnabled( updates );
+ updateLayout();
+ }
+
+@@ -572,7 +572,7 @@
+ }
+
+ bool updates = isUpdatesEnabled();
+- tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+
+
+ //
+@@ -653,7 +653,7 @@
+ // fillActiveBg = conf->readBoolEntry( "FillActiveIconBackground", true );
+ // enablePopup = conf->readBoolEntry( "EnablePopup", true );
+
+- tqsetUpdatesEnabled( updates );
++ setUpdatesEnabled( updates );
+ emit configChanged();
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kastaskitem.cpp v3.5.13-sru/kicker/extensions/kasbar/kastaskitem.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kastaskitem.cpp 2011-08-11 07:25:47.000000000 +0200
++++ v3.5.13-sru/kicker/extensions/kasbar/kastaskitem.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -135,7 +135,7 @@
+
+ TQPixmap thumb = task_->thumbnail();
+ TQSize sz = thumb.size();
+- sz.tqscale( sizes[kasbar()->itemSize()], sizes[kasbar()->itemSize()], TQSize::ScaleMin );
++ sz.scale( sizes[kasbar()->itemSize()], sizes[kasbar()->itemSize()], TQSize::ScaleMin );
+
+ TQImage img = thumb.convertToImage();
+ img = img.smoothScale( sz );
+@@ -173,14 +173,14 @@
+ }
+
+ bool updates = kasbar()->isUpdatesEnabled();
+- kasbar()->tqsetUpdatesEnabled( false );
++ kasbar()->setUpdatesEnabled( false );
+
+ setProgress( kasbar()->showProgress() ? 0 : -1 );
+ setText( task_->visibleIconicName() );
+ setModified( task_->isModified() );
+ setActive( task_->isActive() );
+
+- kasbar()->tqsetUpdatesEnabled( updates );
++ kasbar()->setUpdatesEnabled( updates );
+ update();
+ }
+
+@@ -422,7 +422,7 @@
+ taskprops->addColumn( i18n("Value") );
+
+ // Create List Items
+- TQMetaObject *mo = target->tqmetaObject();
++ TQMetaObject *mo = target->metaObject();
+ for ( int i = 0; i < mo->numProperties( recursive ); i++ ) {
+ const TQMetaProperty *p = mo->property(i, recursive);
+
+@@ -456,7 +456,7 @@
+ TQWidget *KasTaskItem::createX11Props( TQWidget *parent )
+ {
+ TQVBox *vb2 = new TQVBox( parent );
+- vb2->tqsetSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Preferred );
++ vb2->setSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Preferred );
+ vb2->setSpacing( KDialog::spacingHint() );
+ vb2->setMargin( KDialog::marginHint() );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/kasbar/kastaskpopup.cpp v3.5.13-sru/kicker/extensions/kasbar/kastaskpopup.cpp
+--- /tmp/stable//kdebase/kicker/extensions/kasbar/kastaskpopup.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/kasbar/kastaskpopup.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -91,7 +91,7 @@
+ }
+
+ KPixmapEffect::gradient( titleBg,
+- Qt::black, tqcolorGroup().mid(),
++ Qt::black, colorGroup().mid(),
+ KPixmapEffect::DiagonalGradient );
+
+ connect( item->task(), TQT_SIGNAL( thumbnailChanged() ), TQT_SLOT( refresh() ) );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/sidebar/sidebarextension.cpp v3.5.13-sru/kicker/extensions/sidebar/sidebarextension.cpp
+--- /tmp/stable//kdebase/kicker/extensions/sidebar/sidebarextension.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/sidebar/sidebarextension.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -94,7 +94,7 @@
+ m_currentWidth=24;
+ m_resizeHandle->hide();
+ }
+- tqtopLevelWidget()->setFixedWidth(m_currentWidth);
++ topLevelWidget()->setFixedWidth(m_currentWidth);
+ emit updateLayout();
+ }
+
+@@ -117,7 +117,7 @@
+ return true;
+ } else if (e->type()==TQEvent::MouseButtonRelease) {
+ m_resizing=false;
+- m_expandedSize=tqtopLevelWidget()->width();
++ m_expandedSize=topLevelWidget()->width();
+ needLayoutUpdate(true);
+ return true;
+ } else if (e->type()==TQEvent::MouseMove) {
+@@ -126,14 +126,14 @@
+ if (p==Left) {
+ int diff=((TQMouseEvent*)e)->globalX()-m_x;
+ if (abs(diff)>3) {
+- tqtopLevelWidget()->setFixedWidth(tqtopLevelWidget()->width()+diff);
++ topLevelWidget()->setFixedWidth(topLevelWidget()->width()+diff);
+ m_x=((TQMouseEvent*)e)->globalX();
+ }
+ } else if (p==Right) {
+ int diff=((TQMouseEvent*)e)->globalX()-m_x;
+ if (abs(diff)>3) {
+- tqtopLevelWidget()->setFixedWidth(tqtopLevelWidget()->width()-diff);
+- tqtopLevelWidget()->move(tqtopLevelWidget()->x()+diff,tqtopLevelWidget()->y());
++ topLevelWidget()->setFixedWidth(topLevelWidget()->width()-diff);
++ topLevelWidget()->move(topLevelWidget()->x()+diff,topLevelWidget()->y());
+ m_x=((TQMouseEvent*)e)->globalX();
+ }
+ }
+@@ -148,7 +148,7 @@
+ return KPanelExtension::Left;
+ }
+
+-TQSize SidebarExtension::tqsizeHint(Position, TQSize maxSize ) const
++TQSize SidebarExtension::sizeHint(Position, TQSize maxSize ) const
+ {
+ return TQSize(m_currentWidth,maxSize.height());
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/sidebar/sidebarextension.h v3.5.13-sru/kicker/extensions/sidebar/sidebarextension.h
+--- /tmp/stable//kdebase/kicker/extensions/sidebar/sidebarextension.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/sidebar/sidebarextension.h 2012-09-08 19:41:29.000000000 +0200
+@@ -36,7 +36,7 @@
+
+ virtual ~SidebarExtension();
+
+- TQSize tqsizeHint( Position, TQSize maxSize ) const;
++ TQSize sizeHint( Position, TQSize maxSize ) const;
+ Position preferedPosition() const;
+
+ virtual void positionChange( Position position );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/taskbar/taskbarextension.cpp v3.5.13-sru/kicker/extensions/taskbar/taskbarextension.cpp
+--- /tmp/stable//kdebase/kicker/extensions/taskbar/taskbarextension.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/taskbar/taskbarextension.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -123,17 +123,17 @@
+ m_container->preferences();
+ }
+
+-TQSize TaskBarExtension::tqsizeHint(Position p, TQSize maxSize) const
++TQSize TaskBarExtension::sizeHint(Position p, TQSize maxSize) const
+ {
+ if (p == Left || p == Right)
+ maxSize.setWidth(sizeInPixels());
+ else
+ maxSize.setHeight(sizeInPixels());
+
+-// kdDebug(1210) << "TaskBarExtension::tqsizeHint( Position, TQSize )" << endl;
++// kdDebug(1210) << "TaskBarExtension::sizeHint( Position, TQSize )" << endl;
+ // kdDebug(1210) << " width: " << size.width() << endl;
+ // kdDebug(1210) << "height: " << size.height() << endl;
+- return m_container->tqsizeHint(p, maxSize);
++ return m_container->sizeHint(p, maxSize);
+ }
+
+ void TaskBarExtension::configure()
+@@ -155,7 +155,7 @@
+ }
+ else
+ {
+- m_rootPixmap->tqrepaint(true);
++ m_rootPixmap->repaint(true);
+ }
+
+ double tint = double(KickerSettings::tintValue()) / 100;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/extensions/taskbar/taskbarextension.h v3.5.13-sru/kicker/extensions/taskbar/taskbarextension.h
+--- /tmp/stable//kdebase/kicker/extensions/taskbar/taskbarextension.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/extensions/taskbar/taskbarextension.h 2012-09-08 19:41:29.000000000 +0200
+@@ -49,7 +49,7 @@
+ int actions = 0, TQWidget *parent = 0, const char *name = 0 );
+ ~TaskBarExtension();
+
+- TQSize tqsizeHint( Position, TQSize maxSize ) const;
++ TQSize sizeHint( Position, TQSize maxSize ) const;
+ Position preferedPosition() const { return Bottom; }
+
+ protected:
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/buttons/browserbutton.cpp v3.5.13-sru/kicker/kicker/buttons/browserbutton.cpp
+--- /tmp/stable//kdebase/kicker/kicker/buttons/browserbutton.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/buttons/browserbutton.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -103,7 +103,7 @@
+ {
+ KURL path ( topMenu->path() );
+ _menuTimer->stop();
+- KFileItem item( path, TQString::tqfromLatin1( "inode/directory" ), KFileItem::Unknown );
++ KFileItem item( path, TQString::fromLatin1( "inode/directory" ), KFileItem::Unknown );
+ KonqOperations::doDrop( &item, path, ev, this );
+ PanelButton::dropEvent(ev);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/buttons/desktopbutton.cpp v3.5.13-sru/kicker/kicker/buttons/desktopbutton.cpp
+--- /tmp/stable//kdebase/kicker/kicker/buttons/desktopbutton.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/buttons/desktopbutton.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -77,7 +77,7 @@
+ void DesktopButton::dropEvent( TQDropEvent *ev )
+ {
+ KURL dPath ( KGlobalSettings::desktopPath() );
+- KFileItem item( dPath, TQString::tqfromLatin1( "inode/directory" ), KFileItem::Unknown );
++ KFileItem item( dPath, TQString::fromLatin1( "inode/directory" ), KFileItem::Unknown );
+ KonqOperations::doDrop( &item, dPath, ev, this );
+ PanelButton::dropEvent(ev);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/buttons/knewbutton.cpp v3.5.13-sru/kicker/kicker/buttons/knewbutton.cpp
+--- /tmp/stable//kdebase/kicker/kicker/buttons/knewbutton.cpp 2011-08-11 07:25:50.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/buttons/knewbutton.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -55,26 +55,28 @@
+ : KButton( parent ),
+ m_oldPos(0,0)
+ {
++
++ setTitle(i18n("K Menu"));
+ Q_ASSERT( !m_self );
+ m_self = this;
+- m_hoverTimer = -1;
+ m_openTimer = -1;
+- m_active = false;
++ m_hoverTimer = -1;
+ m_mouseInside = false;
+ m_drag = false;
+-
+- setIconAlignment((TQ_Alignment)(AlignTop|AlignRight));
+- setAcceptDrops(true);
+- setIcon("kmenu-suse");
+- setDrawArrow(false);
+-
+- m_movie = new TQMovie(locate("data", "kicker/pics/kmenu_basic.mng"));
+- m_movie->connectUpdate(this, TQT_SLOT(updateMovie()));
+- m_movie->connectStatus(TQT_TQOBJECT(this), TQT_SLOT(slotStatus(int)));
+- m_movie->connectResize(this, TQT_SLOT(slotSetSize(const TQSize&)));
+-
++
++ setIcon("kmenu");
++ setIcon(KickerSettings::customKMenuIcon());
++
+ TQApplication::desktop()->screen()->installEventFilter(this);
+- setMouseTracking(true);
++
++ if (KickerSettings::showKMenuText())
++ {
++ setButtonText(KickerSettings::kMenuText());
++ setFont(KickerSettings::buttonFont());
++ setTextColor(KickerSettings::buttonTextColor());
++ }
++
++ repaint();
+ }
+
+ KNewButton::~KNewButton()
+@@ -82,28 +84,15 @@
+ if ( m_self == this )
+ m_self = 0;
+ setMouseTracking(false);
+- delete m_movie;
+ }
+
+-void KNewButton::slotStatus(int status)
+-{
+- if(status == TQMovie::EndOfLoop)
+- slotStopAnimation();
+-}
+
+-TQColor KNewButton::borderColor() const
++void KNewButton::drawButton(TQPainter *p)
+ {
+- TQImage img = m_active_pixmap.convertToImage();
+-
+- for (int i = 0; i < img.width(); ++i) {
+- QRgb rgb = img.pixel(orientation() == Qt::Horizontal ? img.width() - i - 1 :
+- i, 2);
+-
+- if (tqGreen(rgb) > 0x50)
+- return rgb;
+- }
+-
+- return img.pixel( orientation() == Qt::Horizontal ? img.width() - 2 : 2, 2);
++ if (KickerSettings::showDeepButtons())
++ PanelPopupButton::drawDeepButton(p);
++ else
++ PanelPopupButton::drawButton(p);
+ }
+
+ void KNewButton::show()
+@@ -111,103 +100,12 @@
+ KButton::show();
+
+ if (KickerSettings::firstRun()) {
+- TQTimer::singleShot(500,this,TQT_SLOT(slotExecMenu()));
++ TQTimer::singleShot(0,this,TQT_SLOT(slotExecMenu()));
+ KickerSettings::setFirstRun(false);
+ KickerSettings::writeConfig();
+ }
+ }
+
+-void KNewButton::updateMovie()
+-{
+- m_oldPos = TQPoint( -1, -1 );
+- drawEye();
+-
+- if (!m_active && m_movie->running())
+- m_movie->pause();
+-}
+-
+-void KNewButton::setPopupDirection(KPanelApplet::Direction d)
+-{
+- KButton::setPopupDirection(d);
+-
+- delete m_movie;
+-
+- switch (d) {
+- case KPanelApplet::Left:
+- setIconAlignment((TQ_Alignment)(AlignTop|AlignLeft));
+- m_movie = new TQMovie(locate("data", "kicker/pics/kmenu_vertical.mng"));
+- break;
+- case KPanelApplet::Right:
+- setIconAlignment((TQ_Alignment)(AlignTop|AlignRight));
+- m_movie = new TQMovie(locate("data", "kicker/pics/kmenu_vertical.mng"));
+- break;
+- case KPanelApplet::Up:
+- setIconAlignment((TQ_Alignment)(AlignTop|AlignHCenter));
+- m_movie = new TQMovie(locate("data", "kicker/pics/kmenu_basic.mng"));
+- break;
+- case KPanelApplet::Down:
+- setIconAlignment((TQ_Alignment)(AlignBottom|AlignHCenter));
+- m_movie = new TQMovie(locate("data", "kicker/pics/kmenu_flipped.mng"));
+- }
+-
+- m_movie->connectUpdate(this, TQT_SLOT(updateMovie()));
+- m_movie->connectStatus(TQT_TQOBJECT(this), TQT_SLOT(slotStatus(int)));
+- m_movie->connectResize(this, TQT_SLOT(slotSetSize(const TQSize&)));
+-}
+-
+-void KNewButton::slotSetSize(const TQSize& s)
+-{
+- m_iconSize = s;
+-}
+-
+-double KNewButton::buttonScaleFactor(const TQSize& s) const
+-{
+- double sf = 1.0;
+-
+- switch (popupDirection()) {
+- case KPanelApplet::Left:
+- case KPanelApplet::Right:
+-// sf = kMin(double(s.width()) / m_iconSize.height(), double(s.height()) / m_iconSize.width());
+-// break;
+- case KPanelApplet::Up:
+- case KPanelApplet::Down:
+- sf = kMin(double(s.width()) / m_iconSize.width(), double(s.height()) / m_iconSize.height());
+- break;
+- }
+-
+- if (sf > 0.8) sf = 1.0;
+- return sf;
+-}
+-
+-int KNewButton::widthForHeight(int height) const
+-{
+- int r = m_iconSize.width() * buttonScaleFactor(TQSize(m_iconSize.width(), height));
+-
+- if (!m_movie->running() && height != m_active_pixmap.height())
+- {
+- KNewButton* that = const_cast<KNewButton*>(this);
+- TQTimer::singleShot(0, that, TQT_SLOT(slotStopAnimation()));
+- }
+-
+- return r;
+-}
+-
+-int KNewButton::preferredDimension(int panelDim) const
+-{
+- return kMax(m_icon.width(), m_icon.height());
+-}
+-
+-int KNewButton::heightForWidth(int width) const
+-{
+- int r = m_iconSize.width() * buttonScaleFactor(TQSize(width, m_iconSize.height()));
+- if (!m_movie->running() && width != m_active_pixmap.width())
+- {
+- KNewButton* that = const_cast<KNewButton*>(this);
+- TQTimer::singleShot(0, that, TQT_SLOT(slotStopAnimation()));
+- }
+- return r;
+-}
+-
+ bool KNewButton::eventFilter(TQObject *o, TQEvent *e)
+ {
+ if (e->type() == TQEvent::MouseButtonRelease ||
+@@ -223,75 +121,9 @@
+ }
+ }
+
+- if (KickerSettings::kickoffDrawGeekoEye() && e->type() == TQEvent::MouseMove)
+- {
+- TQMouseEvent *me = TQT_TQMOUSEEVENT(e);
+- if ((me->state() & Qt::MouseButtonMask) == Qt::NoButton)
+- drawEye();
+- }
+-
+ return KButton::eventFilter(o, e);
+ }
+
+-void KNewButton::drawEye()
+-{
+-#define eye_x 62
+-#define eye_y 13
+- TQPoint mouse = TQCursor::pos();
+- TQPoint me = mapToGlobal(TQPoint(eye_x, eye_y));
+- double a = atan2(mouse.y() - me.y(), mouse.x() - me.x());
+- int dx = int(2.1 * cos(a));
+- int dy = int(2.1 * sin(a));
+-
+- TQPoint newpos(eye_x+dx,eye_y+dy);
+- if (newpos!=m_oldPos) {
+- m_oldPos = newpos;
+- TQPixmap pixmap = m_active_pixmap;
+-
+- double sf = 1.0;
+-
+- if(!m_movie->framePixmap().isNull())
+- {
+- pixmap = m_movie->framePixmap();
+- pixmap.detach();
+- m_iconSize = pixmap.size();
+- sf = buttonScaleFactor(size());
+-
+- if (KickerSettings::kickoffDrawGeekoEye()) {
+- TQPainter p(&pixmap);
+- p.setPen(white);
+- p.setBrush(white);
+- // p.setPen(TQColor(110,185,55));
+- p.drawRect(eye_x+dx, eye_y+dy, 2, 2);
+- p. end();
+- }
+- }
+-
+- TQWMatrix matrix;
+- switch (popupDirection()) {
+- case KPanelApplet::Left:
+- matrix.scale(sf, -sf);
+- matrix.rotate(90);
+- break;
+- case KPanelApplet::Up:
+- matrix.scale(sf, sf);
+- break;
+- case KPanelApplet::Right:
+- matrix.scale(sf, -sf);
+- matrix.rotate(90);
+- break;
+- case KPanelApplet::Down:
+- matrix.scale(sf, sf);
+- break;
+- }
+- m_active_pixmap = pixmap.xForm(matrix);
+-
+- tqrepaint(false);
+- }
+-#undef eye_x
+-#undef eye_y
+-}
+-
+ void KNewButton::enterEvent(TQEvent* e)
+ {
+ KButton::enterEvent(e);
+@@ -315,15 +147,8 @@
+ }
+
+ m_active = true;
+- m_movie->unpause();
+- m_movie->restart();
+ }
+
+-void KNewButton::rewindMovie()
+-{
+- m_oldPos = TQPoint( -1, -1 );
+- m_movie->unpause();
+-}
+
+ void KNewButton::dragEnterEvent(TQDragEnterEvent* /*e*/)
+ {
+@@ -369,31 +194,12 @@
+ }
+ }
+
+-void KNewButton::slotStopAnimation()
+-{
+- m_active = false;
+- m_movie->pause();
+- m_movie->restart();
+- TQTimer::singleShot(200, this, TQT_SLOT(rewindMovie()));
+-}
+-
+-const TQPixmap& KNewButton::labelIcon() const
+-{
+- return m_active_pixmap;
+-}
+-
+ void KNewButton::slotExecMenu()
+ {
+- if (m_openTimer != -1)
+- killTimer(m_openTimer);
+-
+- m_openTimer = startTimer(TQApplication::doubleClickInterval() * 3);
+
+ if (m_active)
+ {
+ m_active = false;
+- m_movie->pause();
+- m_movie->restart();
+ }
+
+ KButton::slotExecMenu();
+@@ -401,40 +207,12 @@
+ assert(!KickerTip::tippingEnabled());
+ assert(dynamic_cast<KMenu*>(m_popup));
+
+- disconnect(dynamic_cast<KMenu*>(m_popup), TQT_SIGNAL(aboutToHide()), this,
+- TQT_SLOT(slotStopAnimation()));
+- connect(dynamic_cast<KMenu*>(m_popup), TQT_SIGNAL(aboutToHide()),
+- TQT_SLOT(slotStopAnimation()));
+-
+ m_popup->move(KickerLib::popupPosition(popupDirection(), m_popup, this));
+ // I wish KMenu would properly done itself when it closes. But it doesn't.
+
+- bool useEffect = true; // could be TQApplication::isEffectEnabled()
+- useEffect = false; // too many TQt bugs to be useful
+- if (m_drag)
+- useEffect = false;
+-
+ m_drag = false; // once is enough
+
+- if (useEffect)
+- {
+- switch (popupDirection()) {
+- case KPanelApplet::Left:
+- qScrollEffect(m_popup, TQEffects::LeftScroll);
+- break;
+- case KPanelApplet::Up:
+- qScrollEffect(m_popup, TQEffects::UpScroll);
+- break;
+- case KPanelApplet::Right:
+- qScrollEffect(m_popup, TQEffects::RightScroll);
+- break;
+- case KPanelApplet::Down:
+- qScrollEffect(m_popup, TQEffects::DownScroll);
+- break;
+- }
+- }
+- else
+- static_cast<KMenu*>(m_popup)->show();
++ static_cast<KMenu*>(m_popup)->show();
+ }
+
+ void KNewButton::timerEvent(TQTimerEvent* e)
+@@ -447,9 +225,4 @@
+ killTimer(m_hoverTimer);
+ m_hoverTimer = -1;
+ }
+- if (e->timerId() == m_openTimer)
+- {
+- killTimer(m_openTimer);
+- m_openTimer = -1;
+- }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/buttons/knewbutton.h v3.5.13-sru/kicker/kicker/buttons/knewbutton.h
+--- /tmp/stable//kdebase/kicker/kicker/buttons/knewbutton.h 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/buttons/knewbutton.h 2012-09-08 19:41:29.000000000 +0200
+@@ -28,7 +28,6 @@
+
+ #include "kbutton.h"
+
+-#include <tqmovie.h>
+ #include <tqpoint.h>
+
+ /**
+@@ -43,25 +42,10 @@
+ ~KNewButton();
+
+ static KNewButton *self() { return m_self; }
+-
+ void loadConfig( const KConfigGroup& config );
+-
+- virtual const TQPixmap& labelIcon() const;
+-
+- virtual int widthForHeight(int height) const;
+- virtual int preferredDimension(int panelDim) const;
+- virtual int heightForWidth(int width) const;
+-
+ TQColor borderColor() const;
++ //virtual void setPopupDirection(KPanelApplet::Direction d);
+
+- virtual void setPopupDirection(KPanelApplet::Direction d);
+-
+-private slots:
+- void slotStatus(int);
+- void slotSetSize(const TQSize&);
+- void slotStopAnimation();
+- void rewindMovie();
+- void updateMovie();
+
+ protected:
+ virtual void show();
+@@ -78,17 +62,15 @@
+ void timerEvent(TQTimerEvent*);
+
+ private:
+- void drawEye();
+- double buttonScaleFactor(const TQSize& s) const;
+
+- TQMovie* m_movie;
++ void drawButton(TQPainter *p);
+ TQPixmap m_active_pixmap;
+ TQPoint m_oldPos;
+ TQSize m_iconSize;
+ TQRect m_sloppyRegion;
+- int m_hoverTimer;
+ int m_openTimer;
+- bool m_active;
++ int m_hoverTimer;
++ bool m_active;
+ bool m_mouseInside;
+ bool m_drag;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/applethandle.cpp v3.5.13-sru/kicker/kicker/core/applethandle.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/applethandle.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/applethandle.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -75,14 +75,14 @@
+
+ int AppletHandle::heightForWidth( int /* w */ ) const
+ {
+- int size = tqstyle().tqpixelMetric(TQStyle::PM_DockWindowHandleExtent, this);
++ int size = style().pixelMetric(TQStyle::PM_DockWindowHandleExtent, this);
+
+ return size;
+ }
+
+ int AppletHandle::widthForHeight( int /* h */ ) const
+ {
+- int size = tqstyle().tqpixelMetric(TQStyle::PM_DockWindowHandleExtent, this);
++ int size = style().pixelMetric(TQStyle::PM_DockWindowHandleExtent, this);
+
+ return size;
+ }
+@@ -269,7 +269,7 @@
+ {
+ if (!m_handleHoverTimer ||
+ (m_menuButton && m_menuButton->isOn()) ||
+- m_applet->tqgeometry().contains(m_applet->mapToParent(
++ m_applet->geometry().contains(m_applet->mapToParent(
+ m_applet->mapFromGlobal(TQCursor::pos()))))
+ {
+ return;
+@@ -282,7 +282,7 @@
+
+ bool AppletHandle::onMenuButton(const TQPoint& point) const
+ {
+- return m_menuButton && (tqchildAt(mapFromGlobal(point)) == m_menuButton);
++ return m_menuButton && (childAt(mapFromGlobal(point)) == m_menuButton);
+ }
+
+ void AppletHandle::toggleMenuButtonOff()
+@@ -308,9 +308,9 @@
+ setBackgroundOrigin( AncestorOrigin );
+ }
+
+-TQSize AppletHandleDrag::tqminimumSizeHint() const
++TQSize AppletHandleDrag::minimumSizeHint() const
+ {
+- int wh = tqstyle().tqpixelMetric(TQStyle::PM_DockWindowHandleExtent, this);
++ int wh = style().pixelMetric(TQStyle::PM_DockWindowHandleExtent, this);
+
+ if (m_parent->orientation() == Qt::Horizontal)
+ {
+@@ -367,8 +367,8 @@
+
+ TQRect r = rect();
+
+- tqstyle().tqdrawPrimitive(TQStyle::PE_DockWindowHandle, &p, r,
+- tqcolorGroup(), flags);
++ style().tqdrawPrimitive(TQStyle::PE_DockWindowHandle, &p, r,
++ colorGroup(), flags);
+ }
+ else
+ {
+@@ -382,9 +382,9 @@
+ {
+ }
+
+-TQSize AppletHandleButton::tqminimumSizeHint() const
++TQSize AppletHandleButton::minimumSizeHint() const
+ {
+- int height = tqstyle().tqpixelMetric(TQStyle::PM_DockWindowHandleExtent, this);
++ int height = style().pixelMetric(TQStyle::PM_DockWindowHandleExtent, this);
+ int width = height;
+
+ if (m_parent->orientation() == Qt::Horizontal)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/applethandle.h v3.5.13-sru/kicker/kicker/core/applethandle.h
+--- /tmp/stable//kdebase/kicker/kicker/core/applethandle.h 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/applethandle.h 2012-09-08 19:41:29.000000000 +0200
+@@ -92,9 +92,9 @@
+ public:
+ AppletHandleDrag(AppletHandle* parent);
+
+- TQSize tqminimumSizeHint() const;
+- TQSize tqminimumSize() const { return tqminimumSizeHint(); }
+- TQSize tqsizeHint() const { return tqminimumSize(); }
++ TQSize minimumSizeHint() const;
++ TQSize minimumSize() const { return minimumSizeHint(); }
++ TQSize sizeHint() const { return minimumSize(); }
+ TQSizePolicy sizePolicy() const;
+
+ protected:
+@@ -113,9 +113,9 @@
+
+ public:
+ AppletHandleButton(AppletHandle *parent);
+- TQSize tqminimumSizeHint() const;
+- TQSize tqminimumSize() const { return tqminimumSizeHint(); }
+- TQSize tqsizeHint() const { return tqminimumSize(); }
++ TQSize minimumSizeHint() const;
++ TQSize minimumSize() const { return minimumSizeHint(); }
++ TQSize sizeHint() const { return minimumSize(); }
+ TQSizePolicy sizePolicy() const;
+
+ private:
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/container_applet.cpp v3.5.13-sru/kicker/kicker/core/container_applet.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/container_applet.cpp 2011-07-09 08:16:55.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/container_applet.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -117,7 +117,7 @@
+ _valid = true;
+
+ _applet->setPosition((KPanelApplet::Position)KickerLib::directionToPosition(popupDirection()));
+- _applet->tqsetAlignment((KPanelApplet::Alignment)tqalignment());
++ _applet->setAlignment((KPanelApplet::Alignment)alignment());
+
+ _actions = _applet->actions();
+ _type = _applet->type();
+@@ -275,14 +275,14 @@
+
+ void AppletContainer::activateWindow()
+ {
+- KWin::forceActiveWindow(tqtopLevelWidget()->winId());
++ KWin::forceActiveWindow(topLevelWidget()->winId());
+ }
+
+ void AppletContainer::focusRequested(bool focus)
+ {
+ if (focus)
+ {
+- KWin::forceActiveWindow(tqtopLevelWidget()->winId());
++ KWin::forceActiveWindow(topLevelWidget()->winId());
+ }
+
+ emit maintainFocus(focus);
+@@ -361,7 +361,7 @@
+ return;
+ }
+
+- _applet->tqsetAlignment( (KPanelApplet::Alignment)a );
++ _applet->setAlignment( (KPanelApplet::Alignment)a );
+ }
+
+ int AppletContainer::widthForHeight(int h) const
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/containerarea.cpp v3.5.13-sru/kicker/kicker/core/containerarea.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/containerarea.cpp 2011-08-26 01:00:16.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/containerarea.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -1430,7 +1430,7 @@
+
+ if (KickerSettings::transparent() &&
+ (KickerSettings::menubarPanelTransparent() ||
+- !ExtensionManager::the()->isMenuBar(tqtopLevelWidget())))
++ !ExtensionManager::the()->isMenuBar(topLevelWidget())))
+ {
+ if (!_rootPixmap)
+ {
+@@ -1441,7 +1441,7 @@
+ }
+ else
+ {
+- _rootPixmap->tqrepaint(true);
++ _rootPixmap->repaint(true);
+ }
+
+ double tint = double(KickerSettings::tintValue()) / 100;
+@@ -1639,7 +1639,7 @@
+
+ void ContainerArea::updateBackground( const TQPixmap& pm )
+ {
+- TQBrush bgBrush(tqcolorGroup().background(), pm);
++ TQBrush bgBrush(colorGroup().background(), pm);
+ TQPalette pal = kapp->palette();
+ pal.setBrush(TQColorGroup::Background, bgBrush);
+ setPalette(pal);
+@@ -1725,16 +1725,16 @@
+ setBackground();
+
+ // container extension repaints for us!
+- //tqrepaint();
++ //repaint();
+ }
+
+-void ContainerArea::tqsetAlignment(KPanelExtension::Alignment a)
++void ContainerArea::setAlignment(KPanelExtension::Alignment a)
+ {
+ for (BaseContainer::ConstIterator it = m_containers.begin();
+ it != m_containers.end();
+ ++it)
+ {
+- (*it)->tqsetAlignment(a);
++ (*it)->setAlignment(a);
+ }
+ }
+
+@@ -1900,9 +1900,9 @@
+ return m_layout->listItems();
+ }
+
+-void ContainerArea::tqrepaint()
++void ContainerArea::repaint()
+ {
+- Panner::tqrepaint();
++ Panner::repaint();
+ }
+
+ void ContainerArea::showAddAppletDialog()
+@@ -1958,8 +1958,8 @@
+ {
+ TQPainter painter(this);
+ TQRect rect(0, 0, width(), height());
+- tqstyle().tqdrawPrimitive( TQStyle::PE_FocusRect, &painter, rect, tqcolorGroup(),
+- TQStyle::Style_Default, tqcolorGroup().base() );
++ style().tqdrawPrimitive( TQStyle::PE_FocusRect, &painter, rect, colorGroup(),
++ TQStyle::Style_Default, colorGroup().base() );
+ }
+
+ void DragIndicator::mousePressEvent(TQMouseEvent*)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/containerarea.h v3.5.13-sru/kicker/kicker/core/containerarea.h
+--- /tmp/stable//kdebase/kicker/kicker/core/containerarea.h 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/containerarea.h 2012-09-08 19:41:29.000000000 +0200
+@@ -101,9 +101,9 @@
+ void removeContainers(BaseContainer::List containers);
+ void takeContainer(BaseContainer* a);
+ void setPosition(KPanelExtension::Position p);
+- void tqsetAlignment(KPanelExtension::Alignment a);
++ void setAlignment(KPanelExtension::Alignment a);
+ void slotSaveContainerConfig();
+- void tqrepaint();
++ void repaint();
+ void showAddAppletDialog();
+ void addAppletDialogDone();
+
+@@ -153,7 +153,7 @@
+ KConfig* _config;
+ DragIndicator* _dragIndicator;
+ BaseContainer* _dragMoveAC;
+- QPoint _dragMoveOffset;
++ TQPoint _dragMoveOffset;
+ TQPopupMenu* m_opMenu;
+ KRootPixmap* _rootPixmap;
+ bool _transparent;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/containerarealayout.cpp v3.5.13-sru/kicker/kicker/core/containerarealayout.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/containerarealayout.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/containerarealayout.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -43,7 +43,7 @@
+
+ TQLayoutItem* current()
+ {
+- return m_idx < int(m_list->count()) ? (*m_list->tqat(m_idx))->item : 0;
++ return m_idx < int(m_list->count()) ? (*m_list->at(m_idx))->item : 0;
+ }
+
+ TQLayoutItem* next()
+@@ -55,7 +55,7 @@
+ TQLayoutItem* takeCurrent()
+ {
+ TQLayoutItem* item = 0;
+- ContainerAreaLayout::ItemList::iterator b = m_list->tqat(m_idx);
++ ContainerAreaLayout::ItemList::iterator b = m_list->at(m_idx);
+ if (b != m_list->end())
+ {
+ ContainerAreaLayoutItem* layoutItem = *b;
+@@ -81,7 +81,7 @@
+ }
+ else
+ {
+- return item->tqsizeHint().height();
++ return item->sizeHint().height();
+ }
+ }
+
+@@ -94,7 +94,7 @@
+ }
+ else
+ {
+- return item->tqsizeHint().width();
++ return item->sizeHint().width();
+ }
+ }
+
+@@ -223,7 +223,7 @@
+ \reimp
+ */
+ TQLayoutItem* ContainerAreaLayout::itemAt(int index) const {
+- return index >= 0 && index < m_items.count() ? (*m_items.tqat(index))->item : 0;
++ return index >= 0 && index < m_items.count() ? (*m_items.at(index))->item : 0;
+ }
+
+ /*!
+@@ -232,8 +232,8 @@
+ TQLayoutItem* ContainerAreaLayout::takeAt(int index) {
+ if (index < 0 || index >= m_items.count())
+ return 0;
+- ContainerAreaLayoutItem *b = *m_items.tqat(index);
+- m_items.remove(m_items.tqat(index));
++ ContainerAreaLayoutItem *b = *m_items.at(index);
++ m_items.remove(m_items.at(index));
+ TQLayoutItem *item = b->item;
+ b->item = 0;
+ delete b;
+@@ -243,7 +243,7 @@
+ }
+ #endif // USE_QT4
+
+-void ContainerAreaLayout::addItem(QLayoutItem* item)
++void ContainerAreaLayout::addItem(TQLayoutItem* item)
+ {
+ m_items.append(new ContainerAreaLayoutItem(static_cast<TQLayoutItem*>(item), this));
+ }
+@@ -415,7 +415,7 @@
+ return m_items[index]->item->widget();
+ }
+
+-TQSize ContainerAreaLayout::tqsizeHint() const
++TQSize ContainerAreaLayout::sizeHint() const
+ {
+ const int size = KickerLib::sizeValue(KPanelExtension::SizeSmall);
+
+@@ -429,7 +429,7 @@
+ }
+ }
+
+-TQSize ContainerAreaLayout::tqminimumSize() const
++TQSize ContainerAreaLayout::minimumSize() const
+ {
+ const int size = KickerLib::sizeValue(KPanelExtension::SizeTiny);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/containerarealayout.h v3.5.13-sru/kicker/kicker/core/containerarealayout.h
+--- /tmp/stable//kdebase/kicker/kicker/core/containerarealayout.h 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/containerarealayout.h 2012-09-08 19:41:29.000000000 +0200
+@@ -79,12 +79,12 @@
+
+ ContainerAreaLayout(TQWidget* parent);
+
+- void addItem(QLayoutItem* item);
++ void addItem(TQLayoutItem* item);
+ void insertIntoFreeSpace(TQWidget* item, TQPoint insertionPoint);
+ TQStringList listItems() const;
+ TQWidget* widgetAt(int index) const;
+- TQSize tqsizeHint() const;
+- TQSize tqminimumSize() const;
++ TQSize sizeHint() const;
++ TQSize minimumSize() const;
+ TQLayoutIterator iterator();
+ void setGeometry(const TQRect& rect);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/container_base.cpp v3.5.13-sru/kicker/kicker/core/container_base.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/container_base.cpp 2011-07-09 08:16:55.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/container_base.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -38,7 +38,7 @@
+ : TQWidget( parent, name )
+ , _dir(KPanelApplet::Up)
+ , _orient(Qt::Horizontal)
+- , _tqalignment(KPanelExtension::LeftTop)
++ , _alignment(KPanelExtension::LeftTop)
+ , _fspace(0)
+ , _moveOffset(TQPoint(0,0))
+ , _aid(TQString::null)
+@@ -110,14 +110,14 @@
+ config->sync();
+ }
+
+-void BaseContainer::tqsetAlignment(KPanelExtension::Alignment a)
++void BaseContainer::setAlignment(KPanelExtension::Alignment a)
+ {
+- if (_tqalignment == a)
++ if (_alignment == a)
+ {
+ return;
+ }
+
+- _tqalignment = a;
++ _alignment = a;
+ alignmentChange(a);
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/container_base.h v3.5.13-sru/kicker/kicker/core/container_base.h
+--- /tmp/stable//kdebase/kicker/kicker/core/container_base.h 2011-07-09 08:16:55.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/container_base.h 2012-09-08 19:41:29.000000000 +0200
+@@ -73,7 +73,7 @@
+
+ KPanelApplet::Direction popupDirection() const { return _dir; }
+ KPanelExtension::Orientation orientation() const { return _orient; }
+- KPanelExtension::Alignment tqalignment() const { return _tqalignment; }
++ KPanelExtension::Alignment alignment() const { return _alignment; }
+
+ virtual void setBackground() {}
+
+@@ -97,7 +97,7 @@
+ virtual void setPopupDirection(KPanelApplet::Direction d) { _dir = d; }
+ virtual void setOrientation(KPanelExtension::Orientation o) { _orient = o; }
+
+- void tqsetAlignment(KPanelExtension::Alignment a);
++ void setAlignment(KPanelExtension::Alignment a);
+
+ signals:
+ void removeme(BaseContainer*);
+@@ -118,7 +118,7 @@
+
+ KPanelApplet::Direction _dir;
+ KPanelExtension::Orientation _orient;
+- KPanelExtension::Alignment _tqalignment;
++ KPanelExtension::Alignment _alignment;
+ double _fspace;
+ TQPoint _moveOffset;
+ TQString _aid;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/container_extension.cpp v3.5.13-sru/kicker/kicker/core/container_extension.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/container_extension.cpp 2011-09-01 16:50:23.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/container_extension.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -224,7 +224,7 @@
+ {
+ }
+
+-TQSize ExtensionContainer::tqsizeHint(KPanelExtension::Position p, const TQSize &maxSize) const
++TQSize ExtensionContainer::sizeHint(KPanelExtension::Position p, const TQSize &maxSize) const
+ {
+ int width = 0;
+ int height = 0;
+@@ -284,7 +284,7 @@
+
+ if (m_extension)
+ {
+- size = m_extension->tqsizeHint(p, maxSize - size) + size;
++ size = m_extension->sizeHint(p, maxSize - size) + size;
+ }
+
+ return size.boundedTo(maxSize);
+@@ -315,7 +315,7 @@
+ }
+
+ positionChange(position());
+- alignmentChange(tqalignment());
++ alignmentChange(alignment());
+ setSize(static_cast<KPanelExtension::Size>(m_settings.size()),
+ m_settings.customSize());
+
+@@ -510,7 +510,7 @@
+ // on other parameters this can lead to Bad Things(tm)
+ //
+ // we need to find a way to do this that doesn't result in
+- // tqsizeHint's getting called on the extension =/
++ // sizeHint's getting called on the extension =/
+ //
+ // or else we need to change the semantics for applets so that
+ // they don't get their "you're changing position" signals through
+@@ -523,7 +523,7 @@
+ }
+
+ UserRectSel::PanelStrut newStrut = UserRectSel::select(rects, rect().center(), m_highlightColor);
+- arrange(newStrut.m_pos, newStrut.m_tqalignment, newStrut.m_screen);
++ arrange(newStrut.m_pos, newStrut.m_alignment, newStrut.m_screen);
+
+ _is_lmb_down = false;
+
+@@ -578,7 +578,7 @@
+ KickerTip::enableTipping(true);
+ TQPoint globalPos = TQCursor::pos();
+ TQPoint localPos = mapFromGlobal(globalPos);
+- TQWidget* child = tqchildAt(localPos);
++ TQWidget* child = childAt(localPos);
+
+ if (child)
+ {
+@@ -788,7 +788,7 @@
+ blockUserInput(true);
+
+ TQPoint oldpos = pos();
+- TQRect newextent = initialGeometry( position(), tqalignment(), xineramaScreen(), hide, Unhidden );
++ TQRect newextent = initialGeometry( position(), alignment(), xineramaScreen(), hide, Unhidden );
+ TQPoint newpos = newextent.topLeft();
+
+ if (hide)
+@@ -900,7 +900,7 @@
+ }
+
+ TQPoint oldpos = pos();
+- TQRect newextent = initialGeometry(position(), tqalignment(), xineramaScreen(), false, newState);
++ TQRect newextent = initialGeometry(position(), alignment(), xineramaScreen(), false, newState);
+ TQPoint newpos(newextent.topLeft());
+
+ if (newState != Unhidden)
+@@ -987,7 +987,7 @@
+ return !m_extension || m_extension->reserveStrut();
+ }
+
+-KPanelExtension::Alignment ExtensionContainer::tqalignment() const
++KPanelExtension::Alignment ExtensionContainer::alignment() const
+ {
+ // KConfigXT really needs to get support for vars that are enums that
+ // are defined in other classes
+@@ -1005,7 +1005,7 @@
+ int w = 0;
+ int h = 0;
+
+- TQRect geom = initialGeometry(position(), tqalignment(), xineramaScreen());
++ TQRect geom = initialGeometry(position(), alignment(), xineramaScreen());
+ TQRect virtRect(TQApplication::desktop()->geometry());
+ TQRect screenRect(TQApplication::desktop()->screenGeometry(xineramaScreen()));
+
+@@ -1378,7 +1378,7 @@
+ {
+ KConfig *config = KGlobal::config();
+ config->setGroup("WM");
+- TQColor color = TQApplication::tqpalette().active().highlight();
++ TQColor color = TQApplication::palette().active().highlight();
+ m_highlightColor = config->readColorEntry("activeBackground", &color);
+ update();
+ }
+@@ -1408,11 +1408,11 @@
+ // KPanelExtension::Left/Right don't seem to draw the separators at all!
+ if (position() == KPanelExtension::Left) {
+ rect = TQRect(width()-2,0,PANEL_RESIZE_HANDLE_WIDTH,height());
+- tqstyle().tqdrawPrimitive( TQStyle::PE_Separator, &p, rect, tqcolorGroup(), TQStyle::Style_Horizontal );
++ style().tqdrawPrimitive( TQStyle::PE_Separator, &p, rect, colorGroup(), TQStyle::Style_Horizontal );
+ }
+ else if (position() == KPanelExtension::Right) {
+ rect = TQRect(0,0,PANEL_RESIZE_HANDLE_WIDTH,height());
+- tqstyle().tqdrawPrimitive( TQStyle::PE_Separator, &p, rect, tqcolorGroup(), TQStyle::Style_Horizontal );
++ style().tqdrawPrimitive( TQStyle::PE_Separator, &p, rect, colorGroup(), TQStyle::Style_Horizontal );
+ }
+ else if (position() == KPanelExtension::Top) {
+ // Nastiness to both vertically flip the PE_Separator
+@@ -1420,14 +1420,14 @@
+ TQPixmap inv_pm(width(),PANEL_RESIZE_HANDLE_WIDTH);
+ TQPainter myp(TQT_TQPAINTDEVICE(&inv_pm));
+ rect = TQRect(0,0,width(),PANEL_RESIZE_HANDLE_WIDTH);
+- TQColorGroup darkcg = tqcolorGroup();
+- darkcg.setColor(TQColorGroup::Light, tqcolorGroup().dark());
+- tqstyle().tqdrawPrimitive( TQStyle::PE_Separator, &myp, rect, darkcg, TQStyle::Style_Default );
++ TQColorGroup darkcg = colorGroup();
++ darkcg.setColor(TQColorGroup::Light, colorGroup().dark());
++ style().tqdrawPrimitive( TQStyle::PE_Separator, &myp, rect, darkcg, TQStyle::Style_Default );
+ p.drawPixmap(0,height()-2,inv_pm);
+ }
+ else {
+ rect = TQRect(0,0,width(),PANEL_RESIZE_HANDLE_WIDTH);
+- tqstyle().tqdrawPrimitive( TQStyle::PE_Separator, &p, rect, tqcolorGroup(), TQStyle::Style_Default );
++ style().tqdrawPrimitive( TQStyle::PE_Separator, &p, rect, colorGroup(), TQStyle::Style_Default );
+ }
+ }
+ }
+@@ -1444,7 +1444,7 @@
+ return;
+ }
+
+- m_extension->tqsetAlignment(a);
++ m_extension->setAlignment(a);
+ }
+
+ void ExtensionContainer::setSize(KPanelExtension::Size size, int custom)
+@@ -1551,7 +1551,7 @@
+ if (a != m_settings.alignment())
+ {
+ m_settings.setAlignment(a);
+- tqsetAlignment(a);
++ setAlignment(a);
+ }
+
+ if (XineramaScreen != xineramaScreen())
+@@ -1590,7 +1590,7 @@
+
+ void ExtensionContainer::resetLayout()
+ {
+- TQRect g = initialGeometry(position(), tqalignment(), xineramaScreen(),
++ TQRect g = initialGeometry(position(), alignment(), xineramaScreen(),
+ autoHidden(), userHidden());
+
+ // Disable the layout while we rearrange the panel.
+@@ -1777,7 +1777,7 @@
+ ", " << workArea.topLeft().y() << ") to (" << workArea.bottomRight().x() <<
+ ", " << workArea.bottomRight().y() << ")" << endl;*/
+
+- TQSize hint = tqsizeHint(p, workArea.size()).boundedTo(workArea.size());
++ TQSize hint = sizeHint(p, workArea.size()).boundedTo(workArea.size());
+ int width = 0;
+ int height = 0;
+
+@@ -1997,12 +1997,12 @@
+ return;
+ }
+
+- arrange(position(),tqalignment(), screen);
++ arrange(position(),alignment(), screen);
+ }
+
+ TQRect ExtensionContainer::currentGeometry() const
+ {
+- return initialGeometry(position(), tqalignment(), xineramaScreen(),
++ return initialGeometry(position(), alignment(), xineramaScreen(),
+ autoHidden(), userHidden());
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/container_extension.h v3.5.13-sru/kicker/kicker/core/container_extension.h
+--- /tmp/stable//kdebase/kicker/kicker/core/container_extension.h 2011-08-06 00:56:46.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/container_extension.h 2012-09-08 19:41:29.000000000 +0200
+@@ -66,7 +66,7 @@
+ TQWidget *parent = 0);
+ virtual ~ExtensionContainer();
+
+- virtual TQSize tqsizeHint(KPanelExtension::Position, const TQSize &maxSize) const;
++ virtual TQSize sizeHint(KPanelExtension::Position, const TQSize &maxSize) const;
+
+ const AppletInfo& info() const { return _info; }
+
+@@ -86,7 +86,7 @@
+
+ KPanelExtension::Orientation orientation() const;
+ KPanelExtension::Position position() const;
+- void setPosition(KPanelExtension::Position p) { arrange( p, tqalignment(), xineramaScreen() ); }
++ void setPosition(KPanelExtension::Position p) { arrange( p, alignment(), xineramaScreen() ); }
+
+ int xineramaScreen() const;
+ void setXineramaScreen(int screen);
+@@ -100,8 +100,8 @@
+ void unhideIfHidden(int showForHowManyMS = 0);
+ bool reserveStrut() const;
+
+- KPanelExtension::Alignment tqalignment() const;
+- void tqsetAlignment(KPanelExtension::Alignment a) { arrange( position(), a, xineramaScreen() ); }
++ KPanelExtension::Alignment alignment() const;
++ void setAlignment(KPanelExtension::Alignment a) { arrange( position(), a, xineramaScreen() ); }
+
+ TQRect currentGeometry() const;
+ TQRect initialGeometry(KPanelExtension::Position p, KPanelExtension::Alignment a,
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/extensionmanager.cpp v3.5.13-sru/kicker/kicker/core/extensionmanager.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/extensionmanager.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/extensionmanager.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -371,7 +371,7 @@
+ KMenuBar tmpmenu;
+ tmpmenu.insertItem("KDE Rocks!");
+ m_menubarPanel->setSize(KPanelExtension::SizeCustom,
+- tmpmenu.tqsizeHint().height());
++ tmpmenu.sizeHint().height());
+ m_menubarPanel->writeConfig();
+
+ emit desktopIconsAreaChanged(desktopIconsArea(m_menubarPanel->xineramaScreen()),
+@@ -702,7 +702,7 @@
+ return;
+ }
+
+- TQRect geom = extension->initialGeometry(extension->position(), extension->tqalignment(),
++ TQRect geom = extension->initialGeometry(extension->position(), extension->alignment(),
+ extension->xineramaScreen());
+
+ // reduce given area (TQRect) to the space not covered by the given extension
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/extensionSettings.kcfg v3.5.13-sru/kicker/kicker/core/extensionSettings.kcfg
+--- /tmp/stable//kdebase/kicker/kicker/core/extensionSettings.kcfg 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/extensionSettings.kcfg 2012-09-08 19:41:29.000000000 +0200
+@@ -30,7 +30,7 @@
+
+ <entry name="XineramaScreen" type="Int">
+ <label>Primary xinerama screen</label>
+- <default code="true">QApplication::desktop()->primaryScreen()</default>
++ <default code="true">TQApplication::desktop()->primaryScreen()</default>
+ </entry>
+
+ <entry name="HideButtonSize" type="Int" >
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/kicker.cpp v3.5.13-sru/kicker/kicker/core/kicker.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/kicker.cpp 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/kicker.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -199,7 +199,7 @@
+ {
+ KConfigGroup c(KGlobal::config(), "General");
+ KickerSettings::setTintColor(c.readColorEntry("TintColor",
+- &tqpalette().active().mid()));
++ &palette().active().mid()));
+ KickerSettings::self()->writeConfig();
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/kmenubase.ui v3.5.13-sru/kicker/kicker/core/kmenubase.ui
+--- /tmp/stable//kdebase/kicker/kicker/core/kmenubase.ui 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/kmenubase.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -55,13 +55,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>52</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>52</height>
+@@ -129,13 +129,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>32</width>
+ <height>32</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>32</height>
+@@ -165,7 +165,7 @@
+ <property name="sizeType">
+ <enum>Preferred</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+@@ -222,7 +222,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>10</width>
+ <height>20</height>
+@@ -241,7 +241,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>90</width>
+ <height>24</height>
+@@ -270,7 +270,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>14</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/menumanager.cpp v3.5.13-sru/kicker/kicker/core/menumanager.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/menumanager.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/core/menumanager.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -156,8 +156,8 @@
+ r = desktop->geometry();
+ else
+ r = desktop->screenGeometry(desktop->screenNumber(TQCursor::pos()));
+- // kMenu->rect() is not valid before showing, use tqsizeHint()
+- p = r.center() - TQRect( TQPoint( 0, 0 ), m_kmenu->tqsizeHint()).center();
++ // kMenu->rect() is not valid before showing, use sizeHint()
++ p = r.center() - TQRect( TQPoint( 0, 0 ), m_kmenu->sizeHint()).center();
+ m_kmenu->popup(p);
+
+ // when the cursor is in the area where the menu pops up,
+@@ -170,8 +170,8 @@
+ {
+ // We need the kmenu's size to place it at the right position.
+ // We cannot rely on the popup menu's current size(), if it wasn't
+- // shown before, so we resize it here according to its tqsizeHint().
+- const TQSize size = m_kmenu->tqsizeHint();
++ // shown before, so we resize it here according to its sizeHint().
++ const TQSize size = m_kmenu->sizeHint();
+ m_kmenu->resize(size.width(),size.height());
+
+ PanelPopupButton* button = findKButtonFor(m_kmenu->widget());
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/panelextension.cpp v3.5.13-sru/kicker/kicker/core/panelextension.cpp
+--- /tmp/stable//kdebase/kicker/kicker/core/panelextension.cpp 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/panelextension.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -100,7 +100,7 @@
+ {
+ _containerArea->show();
+
+- if (ExtensionManager::the()->isMainPanel(tqtopLevelWidget()))
++ if (ExtensionManager::the()->isMainPanel(topLevelWidget()))
+ {
+ setObjId("Panel");
+ _containerArea->initialize(true);
+@@ -139,7 +139,7 @@
+ _containerArea->setPosition(p);
+ }
+
+-TQSize PanelExtension::tqsizeHint(Position p, TQSize maxSize) const
++TQSize PanelExtension::sizeHint(Position p, TQSize maxSize) const
+ {
+ TQSize size;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/panelextension.h v3.5.13-sru/kicker/kicker/core/panelextension.h
+--- /tmp/stable//kdebase/kicker/kicker/core/panelextension.h 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/panelextension.h 2012-09-08 19:41:29.000000000 +0200
+@@ -80,7 +80,7 @@
+ void configure(); // KDE4: remove, moved to Kikcker
+
+ public:
+- TQSize tqsizeHint(Position, TQSize maxSize) const;
++ TQSize sizeHint(Position, TQSize maxSize) const;
+ Position preferedPosition() const { return Bottom; }
+ bool eventFilter( TQObject *, TQEvent * );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/core/userrectsel.h v3.5.13-sru/kicker/kicker/core/userrectsel.h
+--- /tmp/stable//kdebase/kicker/kicker/core/userrectsel.h 2011-03-12 07:58:12.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/core/userrectsel.h 2012-09-08 19:41:29.000000000 +0200
+@@ -43,17 +43,17 @@
+ PanelStrut()
+ : m_screen(-1),
+ m_pos(KPanelExtension::Bottom),
+- m_tqalignment(KPanelExtension::LeftTop)
++ m_alignment(KPanelExtension::LeftTop)
+ {
+ }
+
+ PanelStrut(const TQRect& rect, int XineramaScreen,
+ KPanelExtension::Position pos,
+- KPanelExtension::Alignment tqalignment)
++ KPanelExtension::Alignment alignment)
+ : m_rect(rect),
+ m_screen(XineramaScreen),
+ m_pos(pos),
+- m_tqalignment(tqalignment)
++ m_alignment(alignment)
+ {
+ }
+
+@@ -61,7 +61,7 @@
+ {
+ return m_screen == rhs.m_screen &&
+ m_pos == rhs.m_pos &&
+- m_tqalignment == rhs.m_tqalignment;
++ m_alignment == rhs.m_alignment;
+ }
+
+ bool operator!=(const PanelStrut& rhs)
+@@ -72,7 +72,7 @@
+ TQRect m_rect;
+ int m_screen;
+ KPanelExtension::Position m_pos;
+- KPanelExtension::Alignment m_tqalignment;
++ KPanelExtension::Alignment m_alignment;
+ };
+
+ typedef TQValueVector<PanelStrut> RectList;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/plugins/beaglesearch.cpp v3.5.13-sru/kicker/kicker/plugins/beaglesearch.cpp
+--- /tmp/stable//kdebase/kicker/kicker/plugins/beaglesearch.cpp 2011-03-12 07:58:11.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/plugins/beaglesearch.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -347,7 +347,7 @@
+ //kdDebug () << "datetime string:" << timestring << endl;
+ // FIXME: error check timestring format
+ if (timestring.isNull () || timestring.stripWhiteSpace () == "" || timestring.length() != 8 )
+- return beagle_timestamp_new_from_unix_time (TQDateTime::tqcurrentDateTime ().toTime_t ());
++ return beagle_timestamp_new_from_unix_time (TQDateTime::currentDateTime ().toTime_t ());
+ //TQDateTime dt = TQDateTime::fromString (timestring, Qt::ISODate);
+ struct tm tm_time;
+ time_t timet_time;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/addapplet.cpp v3.5.13-sru/kicker/kicker/ui/addapplet.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/addapplet.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/addapplet.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -291,7 +291,7 @@
+ {
+ m_appletBox->layout()->activate();
+ w = v->visibleWidth();
+- h = m_appletBox->tqlayout()->tqminimumSize().height();
++ h = m_appletBox->layout()->minimumSize().height();
+ v->resizeContents(w, QMAX(h, v->visibleHeight()));
+ if (w == m_appletBox->width() && h == m_appletBox->height())
+ break;
+@@ -456,7 +456,7 @@
+ if (appletContainer)
+ {
+ ExtensionContainer* ec =
+- dynamic_cast<ExtensionContainer*>(m_containerArea->tqtopLevelWidget());
++ dynamic_cast<ExtensionContainer*>(m_containerArea->topLevelWidget());
+
+ if (ec)
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/addappletvisualfeedback.cpp v3.5.13-sru/kicker/kicker/ui/addappletvisualfeedback.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/addappletvisualfeedback.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/addappletvisualfeedback.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -157,7 +157,7 @@
+ // draw background
+ TQPainter bufferPainter(&m_pixmap);
+ bufferPainter.setPen(Qt::black);
+- bufferPainter.setBrush(tqcolorGroup().background());
++ bufferPainter.setBrush(colorGroup().background());
+ bufferPainter.drawRoundRect(0, 0, width, height,
+ 1600 / width, 1600 / height);
+
+@@ -175,14 +175,14 @@
+ int textY = (height - textRect.height()) / 2;
+
+ // draw text shadow
+- TQColorGroup cg = tqcolorGroup();
++ TQColorGroup cg = colorGroup();
+ cg.setColor(TQColorGroup::Text, cg.background().dark(115));
+ int shadowOffset = TQApplication::reverseLayout() ? -1 : 1;
+ m_richText->draw(&bufferPainter, 5 + textX + shadowOffset,
+ textY + 1, TQRect(), cg);
+
+ // draw text
+- cg = tqcolorGroup();
++ cg = colorGroup();
+ m_richText->draw(&bufferPainter, 5 + textX, textY, rect(), cg);
+ }
+ }
+@@ -225,7 +225,7 @@
+ void AddAppletVisualFeedback::internalUpdate()
+ {
+ m_dirty = true;
+- tqrepaint(false);
++ repaint(false);
+ }
+
+ #include "addappletvisualfeedback.moc"
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/appletitem.ui v3.5.13-sru/kicker/kicker/ui/appletitem.ui
+--- /tmp/stable//kdebase/kicker/kicker/ui/appletitem.ui 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/appletitem.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -20,13 +20,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>80</height>
+@@ -65,7 +65,7 @@
+ <property name="textFormat">
+ <enum>RichText</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop</set>
+ </property>
+ </widget>
+@@ -87,7 +87,7 @@
+ <property name="textFormat">
+ <enum>RichText</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop</set>
+ </property>
+ </widget>
+@@ -105,7 +105,7 @@
+ <property name="name">
+ <cstring>itemPixmap</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>64</width>
+ <height>64</height>
+@@ -117,7 +117,7 @@
+ <property name="text">
+ <string></string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignTop</set>
+ </property>
+ </widget>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/appletop_mnu.cpp v3.5.13-sru/kicker/kicker/ui/appletop_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/appletop_mnu.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/appletop_mnu.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -52,7 +52,7 @@
+ TQString text = isButton ? (isMenu ? i18n("&Move %1 Menu") :
+ i18n("&Move %1 Button")) :
+ i18n("&Move %1");
+- insertItem(SmallIcon("move"), text.tqarg(titleText), Move);
++ insertItem(SmallIcon("move"), text.arg(titleText), Move);
+
+ // we look for a container area to see if we can add containers
+ // this is part of the kiosk support in kicker, allowing
+@@ -76,7 +76,7 @@
+ text = isButton ? (isMenu ? i18n("&Remove %1 Menu") :
+ i18n("&Remove %1 Button")) :
+ i18n("&Remove %1");
+- insertItem(SmallIcon("remove"), text.tqarg(titleText), Remove);
++ insertItem(SmallIcon("remove"), text.arg(titleText), Remove);
+ needSeparator = true;
+ }
+ }
+@@ -103,7 +103,7 @@
+ KIcon::Small, 0,
+ KIcon::DefaultState,
+ 0, true));
+- insertItem(iconPix, i18n("&About %1").tqarg( titleText ), About);
++ insertItem(iconPix, i18n("&About %1").arg( titleText ), About);
+ needSeparator = !(actions & KPanelApplet::Help);
+ }
+
+@@ -123,12 +123,12 @@
+ if (isButton)
+ {
+ insertItem(SmallIcon("configure"),
+- i18n("&Configure %1 Button...").tqarg(titleText), Preferences);
++ i18n("&Configure %1 Button...").arg(titleText), Preferences);
+ }
+ else
+ {
+ insertItem(SmallIcon("configure"),
+- i18n("&Configure %1...").tqarg(titleText), Preferences);
++ i18n("&Configure %1...").arg(titleText), Preferences);
+ }
+ needSeparator = true;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/appletview.ui v3.5.13-sru/kicker/kicker/ui/appletview.ui
+--- /tmp/stable//kdebase/kicker/kicker/ui/appletview.ui 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/appletview.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -110,7 +110,7 @@
+ <verstretch>1</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>32767</height>
+@@ -141,7 +141,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>284</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/browser_mnu.cpp v3.5.13-sru/kicker/kicker/ui/browser_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/browser_mnu.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/browser_mnu.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -429,7 +429,7 @@
+ void PanelBrowserMenu::dropEvent( TQDropEvent *ev )
+ {
+ KURL u( path() );
+- KFileItem item( u, TQString::tqfromLatin1( "inode/directory" ), KFileItem::Unknown );
++ KFileItem item( u, TQString::fromLatin1( "inode/directory" ), KFileItem::Unknown );
+ KonqOperations::doDrop( &item, u, ev, this );
+ KPanelMenu::dropEvent(ev);
+ // ### TODO: Update list
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/clicklineedit.cpp v3.5.13-sru/kicker/kicker/ui/clicklineedit.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/clicklineedit.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/clicklineedit.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -39,13 +39,13 @@
+ void ClickLineEdit::setClickMessage( const TQString &msg )
+ {
+ mClickMessage = msg;
+- tqrepaint();
++ repaint();
+ }
+
+ void ClickLineEdit::setText( const TQString &txt )
+ {
+ mDrawClickMsg = txt.isEmpty();
+- tqrepaint();
++ repaint();
+ KLineEdit::setText( txt );
+ }
+
+@@ -67,7 +67,7 @@
+ if ( mDrawClickMsg == true )
+ {
+ mDrawClickMsg = false;
+- tqrepaint();
++ repaint();
+ }
+ TQLineEdit::focusInEvent( ev );
+ }
+@@ -77,7 +77,7 @@
+ if ( text().isEmpty() )
+ {
+ mDrawClickMsg = true;
+- tqrepaint();
++ repaint();
+ }
+ TQLineEdit::focusOutEvent( ev );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/client_mnu.cpp v3.5.13-sru/kicker/kicker/ui/client_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/client_mnu.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/client_mnu.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -59,7 +59,7 @@
+ TQCString KickerClientMenu::insertMenu( TQPixmap icon, TQString text, int id )
+ {
+ TQString subname("%1-submenu%2");
+- TQCString subid = subname.tqarg(static_cast<const char *>(objId())).tqarg(id).local8Bit();
++ TQCString subid = subname.arg(static_cast<const char *>(objId())).arg(id).local8Bit();
+ KickerClientMenu *sub = new KickerClientMenu(this, subid);
+ int globalid = TQPopupMenu::insertItem( icon, text, sub, id);
+ setItemParameter( globalid, id );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/exe_dlg.cpp v3.5.13-sru/kicker/kicker/ui/exe_dlg.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/exe_dlg.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/exe_dlg.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -78,8 +78,8 @@
+ this, TQT_SLOT(slotIconChanged(TQString)));
+
+ // leave decent space for the commandline
+- resize(tqsizeHint().width() > 300 ? tqsizeHint().width() : 300,
+- tqsizeHint().height());
++ resize(sizeHint().width() > 300 ? sizeHint().width() : 300,
++ sizeHint().height());
+ }
+
+ void PanelExeDialog::slotOk()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/extensionop_mnu.cpp v3.5.13-sru/kicker/kicker/ui/extensionop_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/extensionop_mnu.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/extensionop_mnu.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -59,7 +59,7 @@
+
+ if (!Kicker::the()->isImmutable() && (actions & KPanelExtension::Preferences)) {
+ insertSeparator();
+- insertItem(SmallIcon("configure"), i18n("&Configure %1...").tqarg(extension), Preferences);
++ insertItem(SmallIcon("configure"), i18n("&Configure %1...").arg(extension), Preferences);
+ }
+
+ adjustSize();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/flipscrollview.cpp v3.5.13-sru/kicker/kicker/ui/flipscrollview.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/flipscrollview.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/flipscrollview.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -57,7 +57,7 @@
+ {
+ TQColor gray( 230, 230, 230 );
+ if ( mouse_inside )
+- p->fillRect( 3, 3, width() - 6, height() - 6, tqcolorGroup().color( TQColorGroup::Highlight ) );
++ p->fillRect( 3, 3, width() - 6, height() - 6, colorGroup().color( TQColorGroup::Highlight ) );
+ else
+ p->fillRect( 3, 3, width() - 6, height() - 6, gray );
+ p->setPen( gray.dark(110) );
+@@ -270,7 +270,7 @@
+ if (!mSelectMenuPath.isEmpty()) {
+ if (mSelectMenuPath=="kicker:/goup/") {
+ currentView()->setSelected(currentView()->firstChild(),true);
+- currentView()->firstChild()->tqrepaint();
++ currentView()->firstChild()->repaint();
+ }
+ else {
+ TQListViewItem * child = currentView()->firstChild();
+@@ -278,8 +278,8 @@
+ KMenuItem* kitem = dynamic_cast<KMenuItem*>(child);
+ if (kitem && kitem->menuPath()==mSelectMenuPath) {
+ currentView()->setSelected(child,true);
+- kdDebug() << "child tqrepaint\n";
+- child->tqrepaint();
++ kdDebug() << "child repaint\n";
++ child->repaint();
+ break;
+ }
+ child = child->nextSibling();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/hidebutton.cpp v3.5.13-sru/kicker/kicker/ui/hidebutton.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/hidebutton.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/hidebutton.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -51,22 +51,22 @@
+ {
+ if (m_arrow == Qt::LeftArrow)
+ {
+- p->setPen(tqcolorGroup().mid());
++ p->setPen(colorGroup().mid());
+ p->drawLine(width()-1, 0, width()-1, height());
+ }
+ else if (m_arrow == Qt::RightArrow)
+ {
+- p->setPen(tqcolorGroup().mid());
++ p->setPen(colorGroup().mid());
+ p->drawLine(0, 0, 0, height());
+ }
+ else if (m_arrow == Qt::UpArrow)
+ {
+- p->setPen(tqcolorGroup().mid());
++ p->setPen(colorGroup().mid());
+ p->drawLine(0, height()-1, width(), height()-1);
+ }
+ else if (m_arrow == Qt::DownArrow)
+ {
+- p->setPen(tqcolorGroup().mid());
++ p->setPen(colorGroup().mid());
+ p->drawLine(0, 0, width(), 0);
+ }
+
+@@ -173,14 +173,14 @@
+ }
+
+ generateIcons();
+- tqrepaint(false);
++ repaint(false);
+ }
+
+ void HideButton::enterEvent(TQEvent *e)
+ {
+ m_highlight = true;
+
+- tqrepaint(false);
++ repaint(false);
+ TQButton::enterEvent(e);
+ }
+
+@@ -188,7 +188,7 @@
+ {
+ m_highlight = false;
+
+- tqrepaint(false);
++ repaint(false);
+ TQButton::enterEvent(e);
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/itemview.cpp v3.5.13-sru/kicker/kicker/ui/itemview.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/itemview.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/itemview.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -145,7 +145,7 @@
+ void KMenuItem::setHasChildren( bool flag )
+ {
+ m_has_children = flag;
+- tqrepaint();
++ repaint();
+ }
+
+ void KMenuItem::setup()
+@@ -166,7 +166,7 @@
+ void KMenuItem::paintCell(TQPainter* p, const TQColorGroup & cg, int column, int width, int align)
+ {
+ ItemView *listview = static_cast<ItemView*>( listView() );
+- int bottom = listView()->tqitemRect( this ).bottom();
++ int bottom = listView()->itemRect( this ).bottom();
+ int diff = bottom - listView()->viewport()->height();
+
+ KPixmap pm;
+@@ -197,7 +197,7 @@
+ else
+ listview->m_lastOne = static_cast<KMenuItem*>( itemBelow() );
+ listview->m_old_contentY = -1;
+- tqrepaint();
++ repaint();
+ }
+ }
+ }
+@@ -350,7 +350,7 @@
+ {
+ // the listview caches paint events
+ m_old_width = width;
+- tqrepaint();
++ repaint();
+ }
+ }
+
+@@ -608,7 +608,7 @@
+ if ( item->toolTip().isNull() )
+ return;
+
+- TQRect r = view->tqitemRect( item );
++ TQRect r = view->itemRect( item );
+ int headerPos = view->header()->sectionPos( 0 );
+ r.setLeft( headerPos );
+ r.setRight( headerPos + view->header()->sectionSize( 0 ) );
+@@ -915,7 +915,7 @@
+ KMenuItemSeparator *si = dynamic_cast<KMenuItemSeparator*>( itemAt( vp ) );
+ if ( si )
+ {
+- if ( si->hitsLink( vp - tqitemRect(si).topLeft() ) )
++ if ( si->hitsLink( vp - itemRect(si).topLeft() ) )
+ emit startURL( si->linkUrl() );
+ }
+ }
+@@ -928,7 +928,7 @@
+ bool link_cursor = false;
+ KMenuItemSeparator *si = dynamic_cast<KMenuItemSeparator*>( i );
+ if ( si )
+- link_cursor = si->hitsLink( vp - tqitemRect(si).topLeft() );
++ link_cursor = si->hitsLink( vp - itemRect(si).topLeft() );
+
+ if (i && !i->isSelectable() && !link_cursor) {
+ unsetCursor();
+@@ -965,7 +965,7 @@
+ {
+ KListView::resizeEvent( e );
+ // if ( m_lastOne )
+-// int diff = tqitemRect( m_lastOne ).bottom() - viewport()->height();
++// int diff = itemRect( m_lastOne ).bottom() - viewport()->height();
+ }
+
+ void ItemView::viewportPaintEvent ( TQPaintEvent * pe )
+@@ -975,7 +975,7 @@
+
+ if ( m_lastOne && m_old_contentY != contentsY() ) {
+ m_old_contentY = contentsY();
+- m_lastOne->tqrepaint();
++ m_lastOne->repaint();
+ }
+ }
+
+@@ -1052,7 +1052,7 @@
+ else if(!kitem->path().isEmpty() && !kitem->path().startsWith("kicker:/") && !kitem->path().startsWith("kaddressbook:/")) {
+ TQString uri = kitem->path();
+
+- if (uri.startsWith(locateLocal("data", TQString::tqfromLatin1("RecentDocuments/")))) {
++ if (uri.startsWith(locateLocal("data", TQString::fromLatin1("RecentDocuments/")))) {
+ KDesktopFile df(uri,true);
+ uri=df.readURL();
+ }
+@@ -1103,7 +1103,7 @@
+ return 0;
+ }
+
+-TQByteArray KMenuItemDrag::tqencodedData(const char* mimeType) const
++TQByteArray KMenuItemDrag::encodedData(const char* mimeType) const
+ {
+ if (TQString("application/kmenuitem") == mimeType)
+ return a;
+@@ -1138,7 +1138,7 @@
+
+ bool KMenuItemDrag::decode(const TQMimeSource* e, KMenuItemInfo& item)
+ {
+- TQByteArray a = e->tqencodedData("application/kmenuitem");
++ TQByteArray a = e->encodedData("application/kmenuitem");
+
+ if (a.isEmpty()) {
+ TQStringList l;
+@@ -1211,7 +1211,7 @@
+
+ TQString uri = item.m_path;
+
+- if (uri.startsWith(locateLocal("data", TQString::tqfromLatin1("RecentDocuments/")))) {
++ if (uri.startsWith(locateLocal("data", TQString::fromLatin1("RecentDocuments/")))) {
+ KDesktopFile df(uri,true);
+ uri=df.readURL();
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/itemview.h v3.5.13-sru/kicker/kicker/ui/itemview.h
+--- /tmp/stable//kdebase/kicker/kicker/ui/itemview.h 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/itemview.h 2012-09-08 19:41:29.000000000 +0200
+@@ -248,7 +248,7 @@
+ ~KMenuItemDrag();
+
+ virtual const char * format(int i = 0) const;
+- virtual TQByteArray tqencodedData(const char *) const;
++ virtual TQByteArray encodedData(const char *) const;
+
+ static bool canDecode(const TQMimeSource * e);
+ static bool decode(const TQMimeSource* e, KMenuItemInfo& item);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/kickoff_bar.cpp v3.5.13-sru/kicker/kicker/ui/kickoff_bar.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/kickoff_bar.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/kickoff_bar.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -58,8 +58,8 @@
+ //selection flags
+ if(t->rect().contains(mapFromGlobal(TQCursor::pos())))
+ flags |= TQStyle::Style_MouseOver;
+- tqstyle().tqdrawControl( TQStyle::CE_TabBarTab, p, this, t->rect(),
+- tqcolorGroup(), flags, TQStyleOption(t) );
++ style().drawControl( TQStyle::CE_TabBarTab, p, this, t->rect(),
++ colorGroup(), flags, TQStyleOption(t) );
+
+ paintLabel( p, t->rect(), t, t->identifier() == keyboardFocusTab() );
+ }
+@@ -70,7 +70,7 @@
+ TQRect r = br;
+
+ bool selected = m_tabsActivated && (currentTab() == t->identifier());
+- int vframe = tqstyle().tqpixelMetric( TQStyle::PM_TabBarTabVSpace, this );
++ int vframe = style().pixelMetric( TQStyle::PM_TabBarTabVSpace, this );
+
+ p->setFont( font() );
+ TQFontMetrics fm = p->fontMetrics();
+@@ -116,14 +116,14 @@
+ // flags |= TQStyle::Style_Sunken;
+ if(t->rect().contains(mapFromGlobal(TQCursor::pos())))
+ flags |= TQStyle::Style_MouseOver;
+- tqstyle().tqdrawControl( TQStyle::CE_TabBarLabel, p, this, rt,
+- t->isEnabled() ? tqcolorGroup(): tqpalette().disabled(),
++ style().drawControl( TQStyle::CE_TabBarLabel, p, this, rt,
++ t->isEnabled() ? colorGroup(): palette().disabled(),
+ flags, TQStyleOption(t) );
+ }
+
+-TQSize KickoffTabBar::tqsizeHint() const
++TQSize KickoffTabBar::sizeHint() const
+ {
+- TQSize s = TQTabBar::tqsizeHint();
++ TQSize s = TQTabBar::sizeHint();
+
+ return s;
+ }
+@@ -135,9 +135,9 @@
+ TQFontMetrics fm = fontMetrics();
+ int fh = ((KickerSettings::kickoffTabBarFormat() != KickerSettings::IconOnly) ? fm.height() : 0) + 4;
+
+- int hframe = tqstyle().tqpixelMetric( TQStyle::PM_TabBarTabHSpace, this );
+- int vframe = tqstyle().tqpixelMetric( TQStyle::PM_TabBarTabVSpace, this );
+- int overlap = tqstyle().tqpixelMetric( TQStyle::PM_TabBarTabOverlap, this );
++ int hframe = style().pixelMetric( TQStyle::PM_TabBarTabHSpace, this );
++ int vframe = style().pixelMetric( TQStyle::PM_TabBarTabVSpace, this );
++ int overlap = style().pixelMetric( TQStyle::PM_TabBarTabOverlap, this );
+
+ TQSize s;
+ for (int t = 0; t < count(); ++t)
+@@ -161,7 +161,7 @@
+ iw = tab->iconSet()->pixmap( TQIconSet::Large, TQIconSet::Normal ).width();
+ int w = QMAX(iw, fw + 6 + 6 ) + hframe;
+ h += ((KickerSettings::kickoffTabBarFormat() != KickerSettings::IconOnly) ? fm.height() : 0) + vframe;
+- tab->setRect(TQRect(TQPoint(x, 0), tqstyle().tqsizeFromContents(TQStyle::CT_TabBarTab, this,
++ tab->setRect(TQRect(TQPoint(x, 0), style().tqsizeFromContents(TQStyle::CT_TabBarTab, this,
+ TQSize(w, h), TQStyleOption(tab))));
+ x += tab->rect().width() - overlap;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/kickoff_bar.h v3.5.13-sru/kicker/kicker/ui/kickoff_bar.h
+--- /tmp/stable//kdebase/kicker/kicker/ui/kickoff_bar.h 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/kickoff_bar.h 2012-09-08 19:41:29.000000000 +0200
+@@ -32,7 +32,7 @@
+ KickoffTabBar(TQWidget* parent, const char* name);
+
+ void deactivateTabs(bool b);
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+
+ protected:
+ virtual void paint(TQPainter*, TQTab*, bool) const;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/kmenuitembase.ui v3.5.13-sru/kicker/kicker/ui/kmenuitembase.ui
+--- /tmp/stable//kdebase/kicker/kicker/ui/kmenuitembase.ui 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/kmenuitembase.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -20,13 +20,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32767</width>
+ <height>80</height>
+@@ -73,7 +73,7 @@
+ <property name="textFormat">
+ <enum>RichText</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop</set>
+ </property>
+ </widget>
+@@ -102,7 +102,7 @@
+ <property name="textFormat">
+ <enum>RichText</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop</set>
+ </property>
+ </widget>
+@@ -120,7 +120,7 @@
+ <property name="name">
+ <cstring>itemPixmap</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>64</width>
+ <height>64</height>
+@@ -129,7 +129,7 @@
+ <property name="text">
+ <string></string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignTop|AlignHCenter</set>
+ </property>
+ </widget>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/k_mnu.cpp v3.5.13-sru/kicker/kicker/ui/k_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/k_mnu.cpp 2011-10-24 02:08:24.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/k_mnu.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -211,7 +211,7 @@
+ if (!loadSidePixmap())
+ {
+ sidePixmap = sideTilePixmap = TQPixmap();
+- setMinimumSize( tqsizeHint() );
++ setMinimumSize( sizeHint() );
+ }
+ }
+
+@@ -273,6 +273,8 @@
+ connect(searchEdit, TQT_SIGNAL(textChanged(const TQString&)),
+ this, TQT_SLOT( slotUpdateSearch( const TQString&)));
+ insertItem(hbox, searchLineID, 0);
++ } else {
++ searchEdit = NULL;
+ }
+
+ //TQToolTip::add(clearButton, i18n("Clear Search"));
+@@ -348,7 +350,7 @@
+ if (clients.count() > 0) {
+ TQIntDictIterator<KickerClientMenu> it(clients);
+ while (it){
+- if (it.current()->text.tqat(0) != '.')
++ if (it.current()->text.at(0) != '.')
+ insertItem(
+ it.current()->icon,
+ it.current()->text,
+@@ -419,10 +421,10 @@
+ displayRepairTimer->stop();
+
+ // Now do a nasty hack to prevent search bar merging into the side image
+- // This forces a layout/tqrepaint of the qpopupmenu
+- tqrepaint(); // This ensures that the side bar image was applied
+- styleChange(tqstyle()); // This forces a call to the private function updateSize(TRUE) inside the qpopupmenu.
+- update(); // This repaints the entire popup menu to apply the widget size/tqalignment changes made above
++ // This forces a layout/repaint of the qpopupmenu
++ repaint(); // This ensures that the side bar image was applied
++ styleChange(style()); // This forces a call to the private function updateSize(TRUE) inside the qpopupmenu.
++ update(); // This repaints the entire popup menu to apply the widget size/alignment changes made above
+ }
+ }
+
+@@ -584,7 +586,7 @@
+
+ TQRect PanelKMenu::sideImageRect()
+ {
+- return TQStyle::tqvisualRect( TQRect( frameWidth(), frameWidth(), sidePixmap.width(),
++ return TQStyle::visualRect( TQRect( frameWidth(), frameWidth(), sidePixmap.width(),
+ height() - 2*frameWidth() ), this );
+ }
+
+@@ -595,21 +597,21 @@
+
+ PanelServiceMenu::resizeEvent(e);
+
+- setFrameRect( TQStyle::tqvisualRect( TQRect( sidePixmap.width(), 0,
++ setFrameRect( TQStyle::visualRect( TQRect( sidePixmap.width(), 0,
+ width() - sidePixmap.width(), height() ), this ) );
+ }
+
+ //Workaround Qt3.3.x sizing bug, by ensuring we're always wide enough.
+ void PanelKMenu::resize(int width, int height)
+ {
+- width = kMax(width, tqmaximumSize().width());
++ width = kMax(width, maximumSize().width());
+ PanelServiceMenu::resize(width, height);
+ }
+
+-TQSize PanelKMenu::tqsizeHint() const
++TQSize PanelKMenu::sizeHint() const
+ {
+- TQSize s = PanelServiceMenu::tqsizeHint();
+-// kdDebug(1210) << "PanelKMenu::tqsizeHint()" << endl;
++ TQSize s = PanelServiceMenu::sizeHint();
++// kdDebug(1210) << "PanelKMenu::sizeHint()" << endl;
+ // kdDebug(1210) << s.width() << ", " << s.height() << endl;
+ return s;
+ }
+@@ -624,9 +626,9 @@
+ TQPainter p(this);
+ p.setClipRegion(e->region());
+
+- tqstyle().tqdrawPrimitive( TQStyle::PE_PanelPopup, &p,
++ style().tqdrawPrimitive( TQStyle::PE_PanelPopup, &p,
+ TQRect( 0, 0, width(), height() ),
+- tqcolorGroup(), TQStyle::Style_Default,
++ colorGroup(), TQStyle::Style_Default,
+ TQStyleOption( frameWidth(), 0 ) );
+
+ TQRect r = sideImageRect();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/k_mnu.h v3.5.13-sru/kicker/kicker/ui/k_mnu.h
+--- /tmp/stable//kdebase/kicker/kicker/ui/k_mnu.h 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/k_mnu.h 2012-09-08 19:41:29.000000000 +0200
+@@ -59,7 +59,7 @@
+ int insertClientMenu(KickerClientMenu *p);
+ void removeClientMenu(int id);
+
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ virtual void setMinimumSize(const TQSize &);
+ virtual void setMaximumSize(const TQSize &);
+ virtual void setMinimumSize(int, int);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/k_mnu_stub.cpp v3.5.13-sru/kicker/kicker/ui/k_mnu_stub.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/k_mnu_stub.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/k_mnu_stub.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -97,11 +97,11 @@
+ return m_w.panelkmenu->resize(w, h);
+ }
+
+-TQSize KMenuStub::tqsizeHint() const
++TQSize KMenuStub::sizeHint() const
+ {
+ if(m_type == t_KMenu)
+- return m_w.kmenu->tqsizeHint();
+- return m_w.panelkmenu->tqsizeHint();
++ return m_w.kmenu->sizeHint();
++ return m_w.panelkmenu->sizeHint();
+ }
+
+ bool KMenuStub::highlightMenuItem( const TQString &menuId )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/k_mnu_stub.h v3.5.13-sru/kicker/kicker/ui/k_mnu_stub.h
+--- /tmp/stable//kdebase/kicker/kicker/ui/k_mnu_stub.h 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/k_mnu_stub.h 2012-09-08 19:41:29.000000000 +0200
+@@ -53,7 +53,7 @@
+ void popup(const TQPoint &pos, int indexAtPoint = -1);
+ void selectFirstItem();
+ void resize(int, int);
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+ bool highlightMenuItem( const TQString &menuId );
+ void clearRecentMenuItems();
+ void initialize();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/k_new_mnu.cpp v3.5.13-sru/kicker/kicker/ui/k_new_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/k_new_mnu.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/k_new_mnu.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -302,7 +302,7 @@
+ m_searchInternet->setPixmap(0,icon);
+ setTabOrder(m_kcommand, m_searchResultsWidget);
+
+- m_kerryInstalled = !KStandardDirs::findExe(TQString::tqfromLatin1("kerry")).isEmpty();
++ m_kerryInstalled = !KStandardDirs::findExe(TQString::fromLatin1("kerry")).isEmpty();
+ m_isShowing = false;
+
+ if (!m_kerryInstalled) {
+@@ -421,7 +421,7 @@
+ {
+ m_stacker = new TQWidgetStack( this, "m_stacker" );
+ m_stacker->setGeometry( TQRect( 90, 260, 320, 220 ) );
+- m_stacker->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)3, 1, 1, m_stacker->sizePolicy().hasHeightForWidth() ) );
++ m_stacker->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)3, (TQSizePolicy::SizeType)3, 1, 1, m_stacker->sizePolicy().hasHeightForWidth() ) );
+ m_stacker->setPaletteBackgroundColor( TQColor( 255, 255, 255 ) );
+ // m_stacker->setFocusPolicy( TQ_StrongFocus );
+ m_stacker->setLineWidth( 0 );
+@@ -522,7 +522,7 @@
+ m_sloppySourceClicked = true;
+
+ if (!m_sloppyTimer.isActive() || m_sloppySource != raiseRect) {
+- int timeout= tqstyle().tqstyleHint(TQStyle::SH_PopupMenu_SubMenuPopupDelay);
++ int timeout= style().styleHint(TQStyle::SH_PopupMenu_SubMenuPopupDelay);
+ if (m_sloppySourceClicked)
+ timeout = 3000;
+ m_sloppyTimer.start(timeout);
+@@ -1131,7 +1131,7 @@
+ }
+
+ // Ignore dotfiles.
+- if ((g->name().tqat(0) == '.'))
++ if ((g->name().at(0) == '.'))
+ {
+ continue;
+ }
+@@ -1699,14 +1699,12 @@
+ TQWidget *footer = m_footer->mainWidget();
+ TQPixmap pix( 64, footer->height() );
+ TQPainter p( &pix );
+- p.fillRect( 0, 0, 64, footer->height(), m_branding->tqcolorGroup().brush( TQColorGroup::Base ) );
+- p.fillRect( 0, m_orientation == BottomUp ? footer->height() - 2 : 0,
+- 64, 3, KNewButton::self()->borderColor() );
++ p.fillRect( 0, 0, 64, footer->height(), m_branding->colorGroup().brush( TQColorGroup::Base ) );
+ p.end();
+ footer->setPaletteBackgroundPixmap( pix );
+ }
+
+- resizeEvent(new TQResizeEvent(tqsizeHint(), tqsizeHint()));
++ resizeEvent(new TQResizeEvent(sizeHint(), sizeHint()));
+ }
+
+ void KMenu::showMenu()
+@@ -1762,7 +1760,7 @@
+
+ const BackgroundMode bgmode = backgroundMode();
+ const TQColorGroup::ColorRole crole = TQPalette::backgroundRoleFromMode( bgmode );
+- p.setBrush( tqcolorGroup().brush( crole ) );
++ p.setBrush( colorGroup().brush( crole ) );
+
+ p.drawRect( 0, 0, width(), height() );
+ int ypos = m_search->mainWidget()->geometry().bottom();
+@@ -1923,7 +1921,7 @@
+ m_seenPrograms = KickerSettings::firstSeenApps();
+ m_newInstalledPrograms.clear();
+
+- m_tqcurrentDate = TQDate::currentDate().toString(Qt::ISODate);
++ m_currentDate = TQDate::currentDate().toString(Qt::ISODate);
+
+ bool initialize = (m_seenPrograms.count() == 0);
+
+@@ -1978,7 +1976,7 @@
+ if (!found) {
+ m_seenProgramsChanged=true;
+ m_seenPrograms+=shortStorageId;
+- m_seenPrograms+=m_tqcurrentDate;
++ m_seenPrograms+=m_currentDate;
+ if (m_newInstalledPrograms.find(s->storageId())==m_newInstalledPrograms.end())
+ m_newInstalledPrograms+=s->storageId();
+ }
+@@ -2744,7 +2742,7 @@
+ m_popupPath.path = kitem->path();
+ m_popupPath.icon = kitem->icon();
+
+- if (m_popupPath.path.startsWith(locateLocal("data", TQString::tqfromLatin1("RecentDocuments/")))) {
++ if (m_popupPath.path.startsWith(locateLocal("data", TQString::fromLatin1("RecentDocuments/")))) {
+ KDesktopFile df(m_popupPath.path,true);
+ m_popupPath.path=df.readURL();
+ }
+@@ -2936,7 +2934,7 @@
+ case EditMenu:
+ accept();
+ proc = new KProcess(TQT_TQOBJECT(this));
+- *proc << KStandardDirs::findExe(TQString::tqfromLatin1("kmenuedit"));
++ *proc << KStandardDirs::findExe(TQString::fromLatin1("kmenuedit"));
+ *proc << "/"+m_popupPath.menuPath.section('/',-200,-2) << m_popupPath.menuPath.section('/', -1);
+ proc->start();
+ break;
+@@ -3074,24 +3072,24 @@
+ // put the search widget at the top of the menu and give it its desired
+ // height
+ m_search->mainWidget()->setGeometry( 0, ypos, width(),
+- m_search->tqminimumSize().height() );
+- left_height -= m_search->tqminimumSize().height();
+- ypos += m_search->tqminimumSize().height();
++ m_search->minimumSize().height() );
++ left_height -= m_search->minimumSize().height();
++ ypos += m_search->minimumSize().height();
+
+ // place the footer widget at the bottom of the menu and give it its desired
+ // height
+- m_footer->mainWidget()->setGeometry( 0, height() - m_footer->tqminimumSize().height(),
+- width(), m_footer->tqminimumSize().height() );
+- left_height -= m_footer->tqminimumSize().height();
++ m_footer->mainWidget()->setGeometry( 0, height() - m_footer->minimumSize().height(),
++ width(), m_footer->minimumSize().height() );
++ left_height -= m_footer->minimumSize().height();
+
+ // place the button box above the footer widget, horizontal placement
+ // has the width of the edge graphics subtracted
+ m_tabBar->setGeometry(button_box_left.width(),
+- height() - m_footer->tqminimumSize().height() -
+- m_tabBar->tqsizeHint().height(),
++ height() - m_footer->minimumSize().height() -
++ m_tabBar->sizeHint().height(),
+ width() - button_box_left.width(),
+- m_tabBar->tqsizeHint().height() );
+- left_height -= m_tabBar->tqsizeHint().height();
++ m_tabBar->sizeHint().height() );
++ left_height -= m_tabBar->sizeHint().height();
+
+ // place the main (stacker) widget below the search widget,
+ // in the remaining vertical space
+@@ -3105,28 +3103,28 @@
+ // place the 'footer' widget at the top of the menu and give it
+ // its desired height
+ m_footer->mainWidget()->setGeometry( 0,
+- ypos /*height() - m_footer->tqminimumSize().height()*/,
++ ypos /*height() - m_footer->minimumSize().height()*/,
+ width(),
+- m_footer->tqminimumSize().height() );
+- ypos += m_footer->tqminimumSize().height();
+- left_height -= m_footer->tqminimumSize().height();
++ m_footer->minimumSize().height() );
++ ypos += m_footer->minimumSize().height();
++ left_height -= m_footer->minimumSize().height();
+
+ // place the button box next at the top of the menu.
+ // has the width of the edge graphics subtracted
+ m_tabBar->setGeometry(button_box_left.width(), ypos, width() - button_box_left.width(),
+- m_tabBar->tqsizeHint().height());
++ m_tabBar->sizeHint().height());
+
+- ypos += m_tabBar->tqsizeHint().height();
+- left_height -= m_tabBar->tqsizeHint().height();
++ ypos += m_tabBar->sizeHint().height();
++ left_height -= m_tabBar->sizeHint().height();
+
+ // put the search widget above the footer widget
+ // height
+ m_search->mainWidget()->setGeometry( 0,
+- height() - m_search->tqminimumSize().height(),
++ height() - m_search->minimumSize().height(),
+ width(),
+- m_search->tqminimumSize().height()
++ m_search->minimumSize().height()
+ );
+- left_height -= m_search->tqminimumSize().height();
++ left_height -= m_search->minimumSize().height();
+
+ // place the main (stacker) widget below the button box,
+ // in the remaining vertical space
+@@ -3167,14 +3165,14 @@
+ if ( hasMouseTracking() && m_isresizing ) {
+ m_stacker->setMinimumSize( TQSize(0, 0) );
+ m_stacker->setMaximumSize( TQSize(32000, 32000) );
+- int newWidth = QMAX( e->x() - x(), tqminimumSizeHint().width() );
++ int newWidth = QMAX( e->x() - x(), minimumSizeHint().width() );
+ if ( m_orientation == BottomUp ) {
+- int newHeight = QMAX( height() - e->y(), tqminimumSizeHint().height() + 10 );
++ int newHeight = QMAX( height() - e->y(), minimumSizeHint().height() + 10 );
+ int newY = y() + height() - newHeight;
+ setGeometry( x(), newY, newWidth, newHeight);
+ }
+ else {
+- setGeometry( x(), y(), newWidth, QMAX( e->y(), tqminimumSizeHint().height() + 10 ));
++ setGeometry( x(), y(), newWidth, QMAX( e->y(), minimumSizeHint().height() + 10 ));
+ }
+ }
+ }
+@@ -3331,7 +3329,7 @@
+ RecentlyLaunchedApps::the().m_bNeedToUpdate = true;
+ }
+
+-TQSize KMenu::tqsizeHint() const
++TQSize KMenu::sizeHint() const
+ {
+ #warning FIXME
+ // this should be only for the inner area so layout changes do not break it
+@@ -3339,28 +3337,28 @@
+
+ const int height = kMin(KickerSettings::kMenuHeight(), TQApplication::desktop()->screen()->height()-50);
+ TQSize wanted(width, height);
+- kdDebug() << "show " << tqminimumSizeHint() << " " << m_stacker->tqminimumSizeHint() << " "
+- << m_searchFrame->tqminimumSizeHint() << " " << wanted << endl;
++ kdDebug() << "show " << minimumSizeHint() << " " << m_stacker->minimumSizeHint() << " "
++ << m_searchFrame->minimumSizeHint() << " " << wanted << endl;
+ bool isDefault = wanted.isNull();
+- wanted = wanted.expandedTo(tqminimumSizeHint());
++ wanted = wanted.expandedTo(minimumSizeHint());
+ if ( isDefault )
+- wanted.setHeight( wanted.height() + ( m_favoriteView->goodHeight() - m_stacker->tqminimumSizeHint().height() ) );
++ wanted.setHeight( wanted.height() + ( m_favoriteView->goodHeight() - m_stacker->minimumSizeHint().height() ) );
+
+ return wanted;
+ }
+
+-TQSize KMenu::tqminimumSizeHint() const
++TQSize KMenu::minimumSizeHint() const
+ {
+ TQSize minsize;
+- minsize.setWidth( minsize.width() + m_tabBar->tqsizeHint().width() );
++ minsize.setWidth( minsize.width() + m_tabBar->sizeHint().width() );
+ minsize.setWidth( QMAX( minsize.width(),
+- m_search->tqminimumSize().width() ) );
++ m_search->minimumSize().width() ) );
+ minsize.setWidth( QMAX( minsize.width(),
+- m_search->tqminimumSize().width() ) );
++ m_search->minimumSize().width() ) );
+
+ minsize.setHeight( minsize.height() +
+- m_search->tqminimumSize().height() +
+- m_footer->tqminimumSize().height() +
++ m_search->minimumSize().height() +
++ m_footer->minimumSize().height() +
+ 180 ); // 180 is a very rough guess for 32 icon size
+ return minsize;
+ }
+@@ -3500,7 +3498,8 @@
+ }
+ m_systemView->insertItem( iconName, userLabel.isEmpty() ? label : userLabel,
+ descr, "system:/media/" + name, nId++, -1 );
+-
++ ++it;
++ ++it;
+ ++it; // skip separator
+ }
+ }
+@@ -3558,7 +3557,7 @@
+ else
+ {
+ TQString uri = item.m_path;
+- if (uri.startsWith(locateLocal("data", TQString::tqfromLatin1("RecentDocuments/")))) {
++ if (uri.startsWith(locateLocal("data", TQString::fromLatin1("RecentDocuments/")))) {
+ KDesktopFile df(uri,true);
+ uri=df.readURL();
+ }
+@@ -3625,7 +3624,7 @@
+ df.writeEntry("Encoding", "UTF-8");
+ df.writeEntry("Type","Link");
+ df.writeEntry("Name", item->name());
+- df.writeEntry("GenericName", i18n("Directory: %1").tqarg(kurl.upURL().path()));
++ df.writeEntry("GenericName", i18n("Directory: %1").arg(kurl.upURL().path()));
+ df.writeEntry("Icon", item->iconName());
+ df.writeEntry("URL", text);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/k_new_mnu.h v3.5.13-sru/kicker/kicker/ui/k_new_mnu.h
+--- /tmp/stable//kdebase/kicker/kicker/ui/k_new_mnu.h 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/k_new_mnu.h 2012-09-08 19:41:29.000000000 +0200
+@@ -104,8 +104,8 @@
+
+ enum MaskEffect { Plain, Dissolve };
+
+- virtual TQSize tqsizeHint() const;
+- virtual TQSize tqminimumSizeHint() const;
++ virtual TQSize sizeHint() const;
++ virtual TQSize minimumSizeHint() const;
+
+ void searchOver();
+ void initCategoryTitlesUpdate();
+@@ -319,7 +319,7 @@
+ TQStringList m_programsInMenu;
+ TQStringList m_newInstalledPrograms, m_seenPrograms;
+ bool m_seenProgramsChanged;
+- TQString m_tqcurrentDate;
++ TQString m_currentDate;
+
+ MenuOrientation m_orientation;
+ bool m_toolTipsEnabled;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/nonKDEButtonSettings.ui v3.5.13-sru/kicker/kicker/ui/nonKDEButtonSettings.ui
+--- /tmp/stable//kdebase/kicker/kicker/ui/nonKDEButtonSettings.ui 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/nonKDEButtonSettings.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -121,7 +121,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+@@ -140,13 +140,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>58</width>
+ <height>58</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>58</width>
+ <height>58</height>
+@@ -199,7 +199,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>8</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/popupmenutitle.h v3.5.13-sru/kicker/kicker/ui/popupmenutitle.h
+--- /tmp/stable//kdebase/kicker/kicker/ui/popupmenutitle.h 2011-08-06 00:56:46.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/popupmenutitle.h 2012-09-08 19:41:29.000000000 +0200
+@@ -46,7 +46,7 @@
+ {
+ p->save();
+ TQRect r(x, y, w, h);
+- kapp->tqstyle().tqdrawPrimitive(TQStyle::PE_HeaderSectionMenu,
++ kapp->style().tqdrawPrimitive(TQStyle::PE_HeaderSectionMenu,
+ p, r, cg);
+
+ if (!m_desktopName.isEmpty())
+@@ -69,11 +69,11 @@
+ m_font.setBold(true);
+ }
+
+- TQSize tqsizeHint()
++ TQSize sizeHint()
+ {
+ TQSize size = TQFontMetrics(m_font).size(AlignHCenter, m_desktopName);
+ size.setHeight(size.height() +
+- (kapp->tqstyle().tqpixelMetric(TQStyle::PM_DefaultFrameWidth) * 2 + 1));
++ (kapp->style().pixelMetric(TQStyle::PM_DefaultFrameWidth) * 2 + 1));
+ return size;
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/removeapplet_mnu.cpp v3.5.13-sru/kicker/kicker/ui/removeapplet_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/removeapplet_mnu.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/removeapplet_mnu.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -87,9 +87,9 @@
+
+ void PanelRemoveAppletMenu::slotExec(int id)
+ {
+- if (m_containers.tqat(id) != m_containers.end())
++ if (m_containers.at(id) != m_containers.end())
+ {
+- m_containerArea->removeContainer(*m_containers.tqat(id));
++ m_containerArea->removeContainer(*m_containers.at(id));
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/removebutton_mnu.cpp v3.5.13-sru/kicker/kicker/ui/removebutton_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/removebutton_mnu.cpp 2011-03-12 07:58:13.000000000 +0100
++++ v3.5.13-sru/kicker/kicker/ui/removebutton_mnu.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -95,9 +95,9 @@
+
+ void PanelRemoveButtonMenu::slotExec( int id )
+ {
+- if (containers.tqat(id) != containers.end())
++ if (containers.at(id) != containers.end())
+ {
+- containerArea->removeContainer(*containers.tqat(id));
++ containerArea->removeContainer(*containers.at(id));
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/removeextension_mnu.cpp v3.5.13-sru/kicker/kicker/ui/removeextension_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/removeextension_mnu.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/removeextension_mnu.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -100,9 +100,9 @@
+ {
+ ExtensionManager::the()->removeAllContainers();
+ }
+- else if (m_containers.tqat(id) != m_containers.end())
++ else if (m_containers.at(id) != m_containers.end())
+ {
+- ExtensionManager::the()->removeContainer(*m_containers.tqat(id));
++ ExtensionManager::the()->removeContainer(*m_containers.at(id));
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/kicker/ui/service_mnu.cpp v3.5.13-sru/kicker/kicker/ui/service_mnu.cpp
+--- /tmp/stable//kdebase/kicker/kicker/ui/service_mnu.cpp 2011-08-11 07:25:49.000000000 +0200
++++ v3.5.13-sru/kicker/kicker/ui/service_mnu.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -281,7 +281,7 @@
+ }
+
+ // Ignore dotfiles.
+- if ((g->name().tqat(0) == '.'))
++ if ((g->name().at(0) == '.'))
+ {
+ continue;
+ }
+@@ -445,7 +445,7 @@
+ return;
+
+ // ignore dotfiles.
+- if ((serviceName.tqat(0) == '.'))
++ if ((serviceName.at(0) == '.'))
+ return;
+
+ // item names may contain ampersands. To avoid them being converted
+@@ -695,7 +695,7 @@
+
+ case EditItem:
+ proc = new KProcess(TQT_TQOBJECT(this));
+- *proc << KStandardDirs::findExe(TQString::tqfromLatin1("kmenuedit"));
++ *proc << KStandardDirs::findExe(TQString::fromLatin1("kmenuedit"));
+ *proc << "/"+relPath_ << static_cast<KService *>(contextKSycocaEntry_)->menuId();
+ proc->start();
+ break;
+@@ -739,7 +739,7 @@
+
+ case EditMenu:
+ proc = new KProcess(TQT_TQOBJECT(this));
+- *proc << KStandardDirs::findExe(TQString::tqfromLatin1("kmenuedit"));
++ *proc << KStandardDirs::findExe(TQString::fromLatin1("kmenuedit"));
+ *proc << "/"+static_cast<KServiceGroup *>(contextKSycocaEntry_)->relPath();
+ proc->start();
+ break;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/global.cpp v3.5.13-sru/kicker/libkicker/global.cpp
+--- /tmp/stable//kdebase/kicker/libkicker/global.cpp 2011-08-11 07:25:47.000000000 +0200
++++ v3.5.13-sru/kicker/libkicker/global.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -161,7 +161,7 @@
+ int maxDim;
+ //return (2 * KickerSettings::iconMargin()) + KIcon::SizeLarge;
+
+- KSimpleConfig *kickerconfig = new KSimpleConfig( TQString::tqfromLatin1( "kickerrc" ));
++ KSimpleConfig *kickerconfig = new KSimpleConfig( TQString::fromLatin1( "kickerrc" ));
+ kickerconfig->setGroup("General");
+ maxDim = (2 * KickerSettings::iconMargin()) + kickerconfig->readNumEntry("panelIconWidth", KIcon::SizeLarge);;
+ delete kickerconfig;
+@@ -236,13 +236,13 @@
+ {
+ case KPanelApplet::Left:
+ case KPanelApplet::Right:
+- r.setLeft( source->tqtopLevelWidget()->x() );
+- r.setWidth( source->tqtopLevelWidget()->width() );
++ r.setLeft( source->topLevelWidget()->x() );
++ r.setWidth( source->topLevelWidget()->width() );
+ break;
+ case KPanelApplet::Up:
+ case KPanelApplet::Down:
+- r.setTop( source->tqtopLevelWidget()->y() );
+- r.setHeight( source->tqtopLevelWidget()->height() );
++ r.setTop( source->topLevelWidget()->y() );
++ r.setHeight( source->topLevelWidget()->height() );
+ break;
+ }
+ }
+@@ -328,7 +328,7 @@
+ {
+ KConfig *config = KGlobal::config();
+ config->setGroup("WM");
+- TQColor color = TQApplication::tqpalette().active().highlight();
++ TQColor color = TQApplication::palette().active().highlight();
+ TQColor activeTitle = config->readColorEntry("activeBackground", &color);
+ TQColor inactiveTitle = config->readColorEntry("inactiveBackground", &color);
+
+@@ -336,7 +336,7 @@
+ int h1, s1, v1, h2, s2, v2, h3, s3, v3;
+ activeTitle.hsv(&h1, &s1, &v1);
+ inactiveTitle.hsv(&h2, &s2, &v2);
+- TQApplication::tqpalette().active().background().hsv(&h3, &s3, &v3);
++ TQApplication::palette().active().background().hsv(&h3, &s3, &v3);
+
+ if ( (kAbs(h1-h3)+kAbs(s1-s3)+kAbs(v1-v3) < kAbs(h2-h3)+kAbs(s2-s3)+kAbs(v2-v3)) &&
+ ((kAbs(h1-h3)+kAbs(s1-s3)+kAbs(v1-v3) < 32) || (s1 < 32)) && (s2 > s1))
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/kickerSettings.kcfg v3.5.13-sru/kicker/libkicker/kickerSettings.kcfg
+--- /tmp/stable//kdebase/kicker/libkicker/kickerSettings.kcfg 2011-08-26 01:00:16.000000000 +0200
++++ v3.5.13-sru/kicker/libkicker/kickerSettings.kcfg 2012-09-08 19:41:29.000000000 +0200
+@@ -81,7 +81,7 @@
+
+ <entry name="TintColor" type="Color" >
+ <label>The tint color used to colorize transparent panels</label>
+- <default code="true">(TQApplication::tqpalette().active().mid())</default>
++ <default code="true">(TQApplication::palette().active().mid())</default>
+ <whatsthis>This option sets the color to use when tinting transparent panels</whatsthis>
+ </entry>
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/kickertip.cpp v3.5.13-sru/kicker/libkicker/kickertip.cpp
+--- /tmp/stable//kdebase/kicker/libkicker/kickertip.cpp 2011-09-11 06:57:56.000000000 +0200
++++ v3.5.13-sru/kicker/libkicker/kickertip.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -392,8 +392,8 @@
+
+ // draw background
+ TQPainter bufferPainter(&m_pixmap);
+- bufferPainter.setPen(tqcolorGroup().foreground());
+- bufferPainter.setBrush(tqcolorGroup().background());
++ bufferPainter.setPen(colorGroup().foreground());
++ bufferPainter.setBrush(colorGroup().background());
+ //bufferPainter.drawRoundRect(0, 0, width, height, 1600 / width, 1600 / height);
+ drawRoundRect(bufferPainter, TQRect(0, 0, width, height));
+
+@@ -409,13 +409,13 @@
+ if (KickerSettings::mouseOversShowText())
+ {
+ // draw text shadow
+- TQColorGroup cg = tqcolorGroup();
++ TQColorGroup cg = colorGroup();
+ cg.setColor(TQColorGroup::Text, cg.background().dark(115));
+ int shadowOffset = TQApplication::reverseLayout() ? -1 : 1;
+ m_richText->draw(&bufferPainter, textX + shadowOffset, textY + 1, TQRect(), cg);
+
+ // draw text
+- cg = tqcolorGroup();
++ cg = colorGroup();
+ m_richText->draw(&bufferPainter, textX, textY, rect(), cg);
+ }
+ }
+@@ -458,7 +458,7 @@
+ void KickerTip::internalUpdate()
+ {
+ m_dirty = true;
+- tqrepaint(false);
++ repaint(false);
+ }
+
+ void KickerTip::enableTipping(bool tip)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/menuinfo.cpp v3.5.13-sru/kicker/libkicker/menuinfo.cpp
+--- /tmp/stable//kdebase/kicker/libkicker/menuinfo.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/libkicker/menuinfo.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -35,7 +35,7 @@
+
+ MenuInfo::MenuInfo(const TQString& desktopFile)
+ {
+- KSimpleConfig df(locate("data", TQString::tqfromLatin1("kicker/menuext/%1").arg(desktopFile)));
++ KSimpleConfig df(locate("data", TQString::fromLatin1("kicker/menuext/%1").arg(desktopFile)));
+ df.setGroup("Desktop Entry");
+
+ TQStringList list = df.readListEntry("X-KDE-AuthorizeAction");
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/panelbutton.cpp v3.5.13-sru/kicker/libkicker/panelbutton.cpp
+--- /tmp/stable//kdebase/kicker/libkicker/panelbutton.cpp 2011-08-11 07:25:47.000000000 +0200
++++ v3.5.13-sru/kicker/libkicker/panelbutton.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -438,7 +438,7 @@
+ if (!m_highlight && m_disableHighlighting == FALSE)
+ {
+ m_highlight = true;
+- tqrepaint(false);
++ repaint(false);
+ }
+
+ TQButton::enterEvent(e);
+@@ -449,7 +449,7 @@
+ if (m_highlight)
+ {
+ m_highlight = false;
+- tqrepaint(false);
++ repaint(false);
+ }
+
+ TQButton::leaveEvent(e);
+@@ -539,7 +539,7 @@
+ if (m_tileColor.isValid())
+ {
+ p->fillRect(rect(), m_tileColor);
+- tqstyle().tqdrawPrimitive(TQStyle::PE_Panel, p, rect(), tqcolorGroup());
++ style().tqdrawPrimitive(TQStyle::PE_Panel, p, rect(), colorGroup());
+ }
+ else if (paletteBackgroundPixmap())
+ {
+@@ -558,8 +558,8 @@
+ }
+ else if (isDown() || isOn())
+ {
+- // Draw tqshapes to indicate the down state.
+- tqstyle().tqdrawPrimitive(TQStyle::PE_Panel, p, rect(), tqcolorGroup(), TQStyle::Style_Sunken);
++ // Draw shapes to indicate the down state.
++ style().tqdrawPrimitive(TQStyle::PE_Panel, p, rect(), colorGroup(), TQStyle::Style_Sunken);
+ }
+
+ drawButtonLabel(p);
+@@ -569,8 +569,8 @@
+ int x1, y1, x2, y2;
+ TQT_TQRECT_OBJECT(rect()).coords(&x1, &y1, &x2, &y2);
+ TQRect r(x1+2, y1+2, x2-x1-3, y2-y1-3);
+- tqstyle().tqdrawPrimitive(TQStyle::PE_FocusRect, p, r, tqcolorGroup(),
+- TQStyle::Style_Default, tqcolorGroup().button());
++ style().tqdrawPrimitive(TQStyle::PE_FocusRect, p, r, colorGroup(),
++ TQStyle::Style_Default, colorGroup().button());
+ }
+ }
+
+@@ -581,7 +581,7 @@
+ if (m_tileColor.isValid())
+ {
+ p->fillRect(rect(), m_tileColor);
+- tqstyle().tqdrawPrimitive(TQStyle::PE_Panel, p, rect(), tqcolorGroup());
++ style().tqdrawPrimitive(TQStyle::PE_Panel, p, rect(), colorGroup());
+ }
+ else if (paletteBackgroundPixmap())
+ {
+@@ -595,10 +595,10 @@
+
+ TQRect btn_rect = TQRect(rect().x(), rect().y()+1, rect().width(), rect().height()-2);
+ if (isDown() || isOn()) {
+- tqstyle().tqdrawPrimitive(TQStyle::PE_ButtonBevel, p, btn_rect, tqcolorGroup(), TQStyle::Style_Down);
++ style().tqdrawPrimitive(TQStyle::PE_ButtonBevel, p, btn_rect, colorGroup(), TQStyle::Style_Down);
+ }
+ else {
+- tqstyle().tqdrawPrimitive(TQStyle::PE_ButtonBevel, p, btn_rect, tqcolorGroup(), TQStyle::Style_Raised);
++ style().tqdrawPrimitive(TQStyle::PE_ButtonBevel, p, btn_rect, colorGroup(), TQStyle::Style_Raised);
+ }
+
+ drawButtonLabel(p,0,FALSE);
+@@ -608,8 +608,8 @@
+ int x1, y1, x2, y2;
+ TQT_TQRECT_OBJECT(rect()).coords(&x1, &y1, &x2, &y2);
+ TQRect r(x1+2, y1+2, x2-x1-3, y2-y1-3);
+- tqstyle().tqdrawPrimitive(TQStyle::PE_FocusRect, p, r, tqcolorGroup(),
+- TQStyle::Style_Default, tqcolorGroup().button());
++ style().tqdrawPrimitive(TQStyle::PE_FocusRect, p, r, colorGroup(),
++ TQStyle::Style_Default, colorGroup().button());
+ }
+ }
+
+@@ -718,7 +718,7 @@
+ if (m_drawArrow && (m_highlight || active) && drawArrow)
+ {
+ TQStyle::PrimitiveElement e = TQStyle::PE_ArrowUp;
+- int arrowSize = tqstyle().tqpixelMetric(TQStyle::PM_MenuButtonIndicator);
++ int arrowSize = style().pixelMetric(TQStyle::PM_MenuButtonIndicator);
+ TQRect r((width() - arrowSize)/2, 0, arrowSize, arrowSize);
+
+ switch (m_arrowDirection)
+@@ -762,7 +762,7 @@
+ {
+ flags |= TQStyle::Style_Down;
+ }
+- tqstyle().tqdrawPrimitive(e, p, r, tqcolorGroup(), flags);
++ style().tqdrawPrimitive(e, p, r, colorGroup(), flags);
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/paneldrag.cpp v3.5.13-sru/kicker/libkicker/paneldrag.cpp
+--- /tmp/stable//kdebase/kicker/libkicker/paneldrag.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/libkicker/paneldrag.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -46,7 +46,7 @@
+
+ bool PanelDrag::decode(const TQMimeSource* e, BaseContainer** container)
+ {
+- TQByteArray a = e->tqencodedData("application/basecontainerptr");
++ TQByteArray a = e->encodedData("application/basecontainerptr");
+
+ if (a.size() != PANELDRAG_BUFSIZE)
+ {
+@@ -73,7 +73,7 @@
+ return false;
+ }
+
+- TQByteArray a = e->tqencodedData("application/basecontainerptr");
++ TQByteArray a = e->encodedData("application/basecontainerptr");
+ if (a.size() != PANELDRAG_BUFSIZE)
+ {
+ return false;
+@@ -91,7 +91,7 @@
+ return true;
+ }
+
+-TQByteArray PanelDrag::tqencodedData(const char * mimeType) const
++TQByteArray PanelDrag::encodedData(const char * mimeType) const
+ {
+ if (TQString("application/basecontainerptr") == mimeType &&
+ a.size() == PANELDRAG_BUFSIZE)
+@@ -136,7 +136,7 @@
+ return 0;
+ }
+
+-TQByteArray AppletInfoDrag::tqencodedData(const char* mimeType) const
++TQByteArray AppletInfoDrag::encodedData(const char* mimeType) const
+ {
+ if (TQString("application/appletinfo") == mimeType)
+ {
+@@ -158,7 +158,7 @@
+
+ bool AppletInfoDrag::decode(const TQMimeSource* e, AppletInfo& container)
+ {
+- TQByteArray a = e->tqencodedData("application/appletinfo");
++ TQByteArray a = e->encodedData("application/appletinfo");
+
+ if (a.isEmpty())
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/paneldrag.h v3.5.13-sru/kicker/libkicker/paneldrag.h
+--- /tmp/stable//kdebase/kicker/libkicker/paneldrag.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/libkicker/paneldrag.h 2012-09-08 19:41:29.000000000 +0200
+@@ -39,7 +39,7 @@
+ ~PanelDrag();
+
+ virtual const char * format(int i = 0) const;
+- virtual TQByteArray tqencodedData(const char *) const;
++ virtual TQByteArray encodedData(const char *) const;
+
+ static bool canDecode(const TQMimeSource * e);
+ static bool decode(const TQMimeSource* e, BaseContainer** container);
+@@ -55,7 +55,7 @@
+ ~AppletInfoDrag();
+
+ virtual const char * format(int i = 0) const;
+- virtual TQByteArray tqencodedData(const char *) const;
++ virtual TQByteArray encodedData(const char *) const;
+
+ static bool canDecode(const TQMimeSource * e);
+ static bool decode(const TQMimeSource* e, AppletInfo& container);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/panner.cpp v3.5.13-sru/kicker/libkicker/panner.cpp
+--- /tmp/stable//kdebase/kicker/libkicker/panner.cpp 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/libkicker/panner.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -103,8 +103,8 @@
+ {
+ _luSB->setArrowType(Qt::LeftArrow);
+ _rdSB->setArrowType(Qt::RightArrow);
+- _luSB->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Expanding));
+- _rdSB->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Expanding));
++ _luSB->setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Expanding));
++ _rdSB->setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Expanding));
+ TQToolTip::add(_luSB, i18n("Scroll left"));
+ TQToolTip::add(_rdSB, i18n("Scroll right"));
+ setMinimumSize(24, 0);
+@@ -117,8 +117,8 @@
+ {
+ _luSB->setArrowType(Qt::UpArrow);
+ _rdSB->setArrowType(Qt::DownArrow);
+- _luSB->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Minimum));
+- _rdSB->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Minimum));
++ _luSB->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Minimum));
++ _rdSB->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Minimum));
+ TQToolTip::add(_luSB, i18n("Scroll up"));
+ TQToolTip::add(_rdSB, i18n("Scroll down"));
+ setMinimumSize(0, 24);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/panner.h v3.5.13-sru/kicker/libkicker/panner.h
+--- /tmp/stable//kdebase/kicker/libkicker/panner.h 2011-03-12 07:58:10.000000000 +0100
++++ v3.5.13-sru/kicker/libkicker/panner.h 2012-09-08 19:41:29.000000000 +0200
+@@ -39,7 +39,7 @@
+ Panner( TQWidget* parent, const char* name = 0 );
+ ~Panner();
+
+- TQSize tqminimumSizeHint() const { return TQWidget::tqminimumSizeHint(); }
++ TQSize minimumSizeHint() const { return TQWidget::minimumSizeHint(); }
+
+ Qt::Orientation orientation() const { return _orient; }
+ virtual void setOrientation(Qt::Orientation orientation);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/simplebutton.cpp v3.5.13-sru/kicker/libkicker/simplebutton.cpp
+--- /tmp/stable//kdebase/kicker/libkicker/simplebutton.cpp 2011-08-06 00:56:45.000000000 +0200
++++ v3.5.13-sru/kicker/libkicker/simplebutton.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -71,22 +71,22 @@
+ update();
+ }
+
+-TQSize SimpleButton::tqsizeHint() const
++TQSize SimpleButton::sizeHint() const
+ {
+ const TQPixmap* pm = pixmap();
+
+ if (!pm)
+- return TQButton::tqsizeHint();
++ return TQButton::sizeHint();
+ else
+ return TQSize(pm->width() + BUTTON_MARGIN, pm->height() + BUTTON_MARGIN);
+ }
+
+-TQSize SimpleButton::tqminimumSizeHint() const
++TQSize SimpleButton::minimumSizeHint() const
+ {
+ const TQPixmap* pm = pixmap();
+
+ if (!pm)
+- return TQButton::tqminimumSizeHint();
++ return TQButton::minimumSizeHint();
+ else
+ return TQSize(pm->width(), pm->height());
+ }
+@@ -99,7 +99,7 @@
+ if (m_highlight || isDown() || isOn()) {
+ int flags = TQStyle::Style_Default | TQStyle::Style_Enabled;
+ if (isDown() || isOn()) flags |= TQStyle::Style_Down;
+- tqstyle().tqdrawPrimitive(TQStyle::PE_ButtonTool, p, r, tqcolorGroup(), flags);
++ style().tqdrawPrimitive(TQStyle::PE_ButtonTool, p, r, colorGroup(), flags);
+ }
+ }
+
+@@ -202,7 +202,7 @@
+ if (KickerSettings::showMouseOverEffects())
+ m_highlight = true;
+
+- tqrepaint( false );
++ repaint( false );
+ TQButton::enterEvent( e );
+ }
+
+@@ -210,7 +210,7 @@
+ {
+ m_highlight = false;
+
+- tqrepaint( false );
++ repaint( false );
+ TQButton::enterEvent( e );
+ }
+
+@@ -229,7 +229,7 @@
+ _inside = false;
+ }
+
+-TQSize SimpleArrowButton::tqsizeHint() const
++TQSize SimpleArrowButton::sizeHint() const
+ {
+ return TQSize( 12, 12 );
+ }
+@@ -263,7 +263,7 @@
+
+ int flags = TQStyle::Style_Default | TQStyle::Style_Enabled;
+ if (isDown() || isOn()) flags |= TQStyle::Style_Down;
+- tqstyle().tqdrawPrimitive(pe, p, r, tqcolorGroup(), flags);
++ style().tqdrawPrimitive(pe, p, r, colorGroup(), flags);
+
+ if (m_forceStandardCursor) {
+ SimpleButton::drawButton(p);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/libkicker/simplebutton.h v3.5.13-sru/kicker/libkicker/simplebutton.h
+--- /tmp/stable//kdebase/kicker/libkicker/simplebutton.h 2011-08-06 00:56:45.000000000 +0200
++++ v3.5.13-sru/kicker/libkicker/simplebutton.h 2012-09-08 19:41:29.000000000 +0200
+@@ -34,8 +34,8 @@
+ SimpleButton(TQWidget *parent, const char *name = 0, bool forceStandardCursor = FALSE);
+ void setPixmap(const TQPixmap &pix);
+ void setOrientation(Qt::Orientation orientaton);
+- TQSize tqsizeHint() const;
+- TQSize tqminimumSizeHint() const;
++ TQSize sizeHint() const;
++ TQSize minimumSizeHint() const;
+
+ protected:
+ void drawButton( TQPainter *p );
+@@ -68,7 +68,7 @@
+ public:
+ SimpleArrowButton(TQWidget *parent = 0, Qt::ArrowType arrow = Qt::UpArrow, const char *name = 0, bool forceStandardCursor = FALSE);
+ virtual ~SimpleArrowButton() {};
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+
+ protected:
+ virtual void enterEvent( TQEvent *e );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/menuext/konsole/konsole_mnu.cpp v3.5.13-sru/kicker/menuext/konsole/konsole_mnu.cpp
+--- /tmp/stable//kdebase/kicker/menuext/konsole/konsole_mnu.cpp 2011-03-12 07:58:09.000000000 +0100
++++ v3.5.13-sru/kicker/menuext/konsole/konsole_mnu.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -185,7 +185,7 @@
+ screenList.append(TQFile::decodeName(entry->d_name));
+ insertItem(SmallIconSet("konsole"),
+ i18n("Screen is a program controlling screens!",
+- "Screen at %1").tqarg(entry->d_name), id);
++ "Screen at %1").arg(entry->d_name), id);
+ id++;
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/menuext/prefmenu/prefmenu.cpp v3.5.13-sru/kicker/menuext/prefmenu/prefmenu.cpp
+--- /tmp/stable//kdebase/kicker/menuext/prefmenu/prefmenu.cpp 2011-08-11 07:25:45.000000000 +0200
++++ v3.5.13-sru/kicker/menuext/prefmenu/prefmenu.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -113,7 +113,7 @@
+ }
+
+ // ignore dotfiles.
+- if ((serviceName.tqat(0) == '.'))
++ if ((serviceName.at(0) == '.'))
+ {
+ return;
+ }
+@@ -290,7 +290,7 @@
+ }
+
+ // Ignore dotfiles.
+- if ((g->name().tqat(0) == '.'))
++ if ((g->name().at(0) == '.'))
+ {
+ continue;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/menuext/tom/tom.cc v3.5.13-sru/kicker/menuext/tom/tom.cc
+--- /tmp/stable//kdebase/kicker/menuext/tom/tom.cc 2011-08-11 07:25:45.000000000 +0200
++++ v3.5.13-sru/kicker/menuext/tom/tom.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -109,7 +109,7 @@
+ l2->setBuddy(this);
+ runLayout->addWidget(l2);*/
+ m_runEdit = new KHistoryCombo(this);
+- m_runEdit->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Preferred);
++ m_runEdit->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Preferred);
+ runLayout->addWidget(m_runEdit, 10);
+ runLayout->addSpacing(KDialog::spacingHint());
+
+@@ -143,7 +143,7 @@
+ TQPainter p(this);
+ TQRect r(rect());
+ // ew, nasty hack. may result in coredumps due to horrid C-style cast???
+- kapp->style().tqdrawControl(TQStyle::CE_PopupMenuItem, &p, m_menu, r, palette().active(), TQStyle::Style_Enabled,
++ kapp->style().drawControl(TQStyle::CE_PopupMenuItem, &p, m_menu, r, palette().active(), TQStyle::Style_Enabled,
+ TQStyleOption(static_cast<TQMenuItem*>(this), 0, KIcon::SizeMedium ));
+ p.drawPixmap(KDialog::spacingHint(), 1, icon);
+ p.drawText((KDialog::spacingHint() * 2) + KIcon::SizeMedium, textRect.height() + ((height() - textRect.height()) / 2), i18n("Run:"));
+@@ -736,13 +736,13 @@
+
+ TQRect TOM::sideImageRect()
+ {
+- return TQStyle::tqvisualRect( TQRect( frameWidth(), frameWidth(), m_sidePixmap.width(),
++ return TQStyle::visualRect( TQRect( frameWidth(), frameWidth(), m_sidePixmap.width(),
+ height() - 2*frameWidth() ), this );
+ }
+
+ void TOM::resizeEvent(TQResizeEvent * e)
+ {
+- setFrameRect( TQStyle::tqvisualRect( TQRect( m_sidePixmap.width(), 0,
++ setFrameRect( TQStyle::visualRect( TQRect( m_sidePixmap.width(), 0,
+ width() - m_sidePixmap.width(), height() ), this ) );
+ }
+
+@@ -755,9 +755,9 @@
+
+ TQPainter p(this);
+
+- tqstyle().tqdrawPrimitive( TQStyle::PE_PanelPopup, &p,
++ style().tqdrawPrimitive( TQStyle::PE_PanelPopup, &p,
+ TQRect( 0, 0, width(), height() ),
+- tqcolorGroup(), TQStyle::Style_Default,
++ colorGroup(), TQStyle::Style_Default,
+ TQStyleOption( frameWidth(), 0 ) );
+
+ TQRect r = sideImageRect();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/proxy/appletproxy.cpp v3.5.13-sru/kicker/proxy/appletproxy.cpp
+--- /tmp/stable//kdebase/kicker/proxy/appletproxy.cpp 2011-07-08 00:00:31.000000000 +0200
++++ v3.5.13-sru/kicker/proxy/appletproxy.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -228,7 +228,7 @@
+
+ void AppletProxy::repaintApplet(TQWidget* widget)
+ {
+- widget->tqrepaint();
++ widget->repaint();
+
+ const TQObjectList children = widget->childrenListObject();
+
+@@ -372,14 +372,14 @@
+ }
+ return true;
+ }
+- else if ( fun == "tqsetAlignment(int)" )
++ else if ( fun == "setAlignment(int)" )
+ {
+ TQDataStream dataStream( data, IO_ReadOnly );
+- int tqalignment;
+- dataStream >> tqalignment;
++ int alignment;
++ dataStream >> alignment;
+
+ if(_applet) {
+- _applet->tqsetAlignment( (KPanelApplet::Alignment)tqalignment );
++ _applet->setAlignment( (KPanelApplet::Alignment)alignment );
+ }
+ return true;
+ }
+@@ -435,7 +435,7 @@
+ if(_applet)
+ if ( _bg.isNull() ) { // no transparency
+ _applet->unsetPalette();
+- _applet->tqrepaint();
++ _applet->repaint();
+ }
+ else { //transparency
+ _applet->blockSignals(true);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/proxy/extensionproxy.cpp v3.5.13-sru/kicker/proxy/extensionproxy.cpp
+--- /tmp/stable//kdebase/kicker/proxy/extensionproxy.cpp 2011-03-12 07:58:08.000000000 +0100
++++ v3.5.13-sru/kicker/proxy/extensionproxy.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -258,7 +258,7 @@
+ bool ExtensionProxy::process(const TQCString &fun, const TQByteArray &data,
+ TQCString& replyType, TQByteArray &replyData)
+ {
+- if ( fun == "tqsizeHint(int,TQSize)" )
++ if ( fun == "sizeHint(int,TQSize)" )
+ {
+ TQDataStream dataStream( data, IO_ReadOnly );
+ int pos;
+@@ -272,7 +272,7 @@
+ if(!_extension)
+ reply << maxSize;
+ else
+- reply << _extension->tqsizeHint((KPanelExtension::Position)pos, maxSize);
++ reply << _extension->sizeHint((KPanelExtension::Position)pos, maxSize);
+
+ return true;
+ }
+@@ -287,14 +287,14 @@
+ }
+ return true;
+ }
+- else if ( fun == "tqsetAlignment(int)" )
++ else if ( fun == "setAlignment(int)" )
+ {
+ TQDataStream dataStream( data, IO_ReadOnly );
+- int tqalignment;
+- dataStream >> tqalignment;
++ int alignment;
++ dataStream >> alignment;
+
+ if(_extension) {
+- _extension->tqsetAlignment( (KPanelExtension::Alignment)tqalignment );
++ _extension->setAlignment( (KPanelExtension::Alignment)alignment );
+ }
+ return true;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/taskbar/taskbarcontainer.cpp v3.5.13-sru/kicker/taskbar/taskbarcontainer.cpp
+--- /tmp/stable//kdebase/kicker/taskbar/taskbarcontainer.cpp 2011-03-12 07:58:09.000000000 +0100
++++ v3.5.13-sru/kicker/taskbar/taskbarcontainer.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -135,7 +135,7 @@
+ windowListButton->setPixmap(kapp->iconLoader()->loadIcon(icon,
+ KIcon::Panel,
+ 16));
+- windowListButton->setMinimumSize(windowListButton->tqsizeHint());
++ windowListButton->setMinimumSize(windowListButton->sizeHint());
+ layout->insertWidget(0, windowListButton);
+ windowListButton->show();
+ }
+@@ -230,7 +230,7 @@
+ windowListButton->setPixmap(kapp->iconLoader()->loadIcon(icon,
+ KIcon::Panel,
+ 16));
+- windowListButton->setMinimumSize(windowListButton->tqsizeHint());
++ windowListButton->setMinimumSize(windowListButton->sizeHint());
+ }
+ }
+
+@@ -249,13 +249,13 @@
+ pos.setX( pos.x() + width() );
+ break;
+ case KPanelApplet::Left:
+- pos.setX( pos.x() - windowListMenu->tqsizeHint().width() );
++ pos.setX( pos.x() - windowListMenu->sizeHint().width() );
+ break;
+ case KPanelApplet::Down:
+ pos.setY( pos.y() + height() );
+ break;
+ case KPanelApplet::Up:
+- pos.setY( pos.y() - windowListMenu->tqsizeHint().height() );
++ pos.setY( pos.y() - windowListMenu->sizeHint().height() );
+ default:
+ break;
+ }
+@@ -277,9 +277,9 @@
+ connect( windowListButton, TQT_SIGNAL( pressed() ), TQT_SLOT( showWindowListMenu() ) );
+ }
+
+-TQSize TaskBarContainer::tqsizeHint( KPanelExtension::Position p, TQSize maxSize) const
++TQSize TaskBarContainer::sizeHint( KPanelExtension::Position p, TQSize maxSize) const
+ {
+- TQSize size = taskBar->tqsizeHint( p, maxSize );
++ TQSize size = taskBar->sizeHint( p, maxSize );
+ if ( (p == KPanelExtension::Left || p == KPanelExtension::Right) && showWindowListButton ) {
+ return TQSize( size.width(), size.height() + WINDOWLISTBUTTON_SIZE );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/taskbar/taskbarcontainer.h v3.5.13-sru/kicker/taskbar/taskbarcontainer.h
+--- /tmp/stable//kdebase/kicker/taskbar/taskbarcontainer.h 2011-03-12 07:58:09.000000000 +0100
++++ v3.5.13-sru/kicker/taskbar/taskbarcontainer.h 2012-09-08 19:41:29.000000000 +0200
+@@ -48,7 +48,7 @@
+ void popupDirectionChange( KPanelApplet::Direction );
+ void preferences();
+ //FIXME: don't use Position, use Orientation
+- TQSize tqsizeHint( KPanelExtension::Position, TQSize maxSize ) const;
++ TQSize sizeHint( KPanelExtension::Position, TQSize maxSize ) const;
+ void setBackground();
+
+ k_dcop:
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/taskbar/taskbar.cpp v3.5.13-sru/kicker/taskbar/taskbar.cpp
+--- /tmp/stable//kdebase/kicker/taskbar/taskbar.cpp 2011-08-11 07:25:46.000000000 +0200
++++ v3.5.13-sru/kicker/taskbar/taskbar.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -66,7 +66,7 @@
+ blocklayout = true;
+
+ // init
+- tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding ) );
++ setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding ) );
+
+ // setup animation frames
+ for (int i = 1; i < 11; i++)
+@@ -160,7 +160,7 @@
+ }
+
+
+-TQSize TaskBar::tqsizeHint() const
++TQSize TaskBar::sizeHint() const
+ {
+ // get our minimum height based on the minimum button height or the
+ // height of the font in use, which is largest
+@@ -171,7 +171,7 @@
+ return TQSize(BUTTON_MIN_WIDTH, minButtonHeight);
+ }
+
+-TQSize TaskBar::tqsizeHint( KPanelExtension::Position p, TQSize maxSize) const
++TQSize TaskBar::sizeHint( KPanelExtension::Position p, TQSize maxSize) const
+ {
+ // get our minimum height based on the minimum button height or the
+ // height of the font in use, which is largest
+@@ -898,9 +898,9 @@
+ {
+ if ( !isTopLevel() )
+ {
+- TQMouseEvent me( e->type(), mapTo( tqtopLevelWidget(), e->pos() ),
++ TQMouseEvent me( e->type(), mapTo( topLevelWidget(), e->pos() ),
+ e->globalPos(), e->button(), e->state() );
+- TQApplication::sendEvent( tqtopLevelWidget(), &me );
++ TQApplication::sendEvent( topLevelWidget(), &me );
+ }
+ }
+
+@@ -1074,7 +1074,7 @@
+ TaskContainer::List::iterator it;
+ for (int i = 0; i < numContainers; ++i)
+ {
+- it = forward ? list.tqat(i) : list.tqat(numContainers - i - 1);
++ it = forward ? list.at(i) : list.at(numContainers - i - 1);
+
+ if (it != list.end() && (*it)->activateNextTask(forward, forcenext))
+ {
+@@ -1087,7 +1087,7 @@
+ // moving forward from the last, or backward from the first, loop around
+ for (int i = 0; i < numContainers; ++i)
+ {
+- it = forward ? list.tqat(i) : list.tqat(numContainers - i - 1);
++ it = forward ? list.at(i) : list.at(numContainers - i - 1);
+
+ if (it != list.end() && (*it)->activateNextTask(forward, forcenext))
+ {
+@@ -1101,7 +1101,7 @@
+ forcenext = true; // select first
+ for (int i = 0; i < numContainers; ++i)
+ {
+- it = forward ? list.tqat(i) : list.tqat(numContainers - i - 1);
++ it = forward ? list.at(i) : list.at(numContainers - i - 1);
+
+ if (it == list.end())
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/taskbar/taskbar.h v3.5.13-sru/kicker/taskbar/taskbar.h
+--- /tmp/stable//kdebase/kicker/taskbar/taskbar.h 2011-03-12 07:58:09.000000000 +0100
++++ v3.5.13-sru/kicker/taskbar/taskbar.h 2012-09-08 19:41:29.000000000 +0200
+@@ -47,8 +47,8 @@
+ TaskBar( TQWidget *parent = 0, const char *name = 0 );
+ ~TaskBar();
+
+- TQSize tqsizeHint() const;
+- TQSize tqsizeHint( KPanelExtension::Position, TQSize maxSize ) const;
++ TQSize sizeHint() const;
++ TQSize sizeHint( KPanelExtension::Position, TQSize maxSize ) const;
+
+ void setOrientation( Orientation );
+ void setArrowType( TQt::ArrowType at );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/taskbar/taskcontainer.cpp v3.5.13-sru/kicker/taskbar/taskcontainer.cpp
+--- /tmp/stable//kdebase/kicker/taskbar/taskcontainer.cpp 2011-09-01 16:50:23.000000000 +0200
++++ v3.5.13-sru/kicker/taskbar/taskcontainer.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -233,9 +233,9 @@
+
+ void TaskContainer::animationTimerFired()
+ {
+- if (!frames.isEmpty() && taskBar->showIcon() && frames.tqat(currentFrame) != frames.end())
++ if (!frames.isEmpty() && taskBar->showIcon() && frames.at(currentFrame) != frames.end())
+ {
+- TQPixmap *pm = *frames.tqat(currentFrame);
++ TQPixmap *pm = *frames.at(currentFrame);
+
+ // draw pixmap
+ if ( pm && !pm->isNull() ) {
+@@ -314,8 +314,8 @@
+ void TaskContainer::resizeEvent( TQResizeEvent * )
+ {
+ // calculate the icon rect
+- TQRect br( tqstyle().subRect( TQStyle::SR_PushButtonContents, this ) );
+- iconRect = TQStyle::tqvisualRect( TQRect(br.x() + 2, (height() - 16) / 2, 16, 16), this );
++ TQRect br( style().subRect( TQStyle::SR_PushButtonContents, this ) );
++ iconRect = TQStyle::visualRect( TQRect(br.x() + 2, (height() - 16) / 2, 16, 16), this );
+ }
+
+ void TaskContainer::add(Task::Ptr task)
+@@ -477,7 +477,7 @@
+ }
+
+ TQPainter p;
+- p.tqbegin(pm ,this);
++ p.begin(pm ,this);
+ drawButton(&p);
+ p.end();
+
+@@ -533,7 +533,7 @@
+
+ font.setBold(active);
+
+- TQColorGroup colors = tqpalette().active();
++ TQColorGroup colors = palette().active();
+
+ if (TaskBarSettings::useCustomColors())
+ {
+@@ -582,20 +582,20 @@
+
+ bool sunken = isDown() || (alwaysDrawButtons && (active || aboutToActivate));
+ bool reverse = TQApplication::reverseLayout();
+- TQRect br(tqstyle().subRect(TQStyle::SR_PushButtonContents, this));
+- TQPoint shift = TQPoint(tqstyle().tqpixelMetric(TQStyle::PM_ButtonShiftHorizontal),
+- tqstyle().tqpixelMetric(TQStyle::PM_ButtonShiftVertical));
++ TQRect br(style().subRect(TQStyle::SR_PushButtonContents, this));
++ TQPoint shift = TQPoint(style().pixelMetric(TQStyle::PM_ButtonShiftHorizontal),
++ style().pixelMetric(TQStyle::PM_ButtonShiftVertical));
+
+ // draw button background
+ if (drawButton)
+ {
+ if (KickerSettings::showDeepButtons()) {
+- tqstyle().tqdrawPrimitive(TQStyle::PE_ButtonBevel, p,
++ style().tqdrawPrimitive(TQStyle::PE_ButtonBevel, p,
+ TQRect(1, 1, width()-3, height()-2),
+ colors, sunken ? TQStyle::Style_On : TQStyle::Style_Raised);
+ }
+ else {
+- tqstyle().tqdrawPrimitive(TQStyle::PE_ButtonTool, p,
++ style().tqdrawPrimitive(TQStyle::PE_ButtonTool, p,
+ TQRect(1, 1, width()-2, height()-2),
+ colors, sunken ? TQStyle::Style_Down : TQStyle::Style_Raised);
+ }
+@@ -653,7 +653,7 @@
+ // draw modified overlay
+ if (!modPixmap.isNull())
+ {
+- TQRect r = TQStyle::tqvisualRect(TQRect(br.x() + textPos,
++ TQRect r = TQStyle::visualRect(TQRect(br.x() + textPos,
+ (height() - 16) / 2, 16, 16),
+ this);
+
+@@ -670,7 +670,7 @@
+ // draw text
+ if (!text.isEmpty())
+ {
+- TQRect tr = TQStyle::tqvisualRect(TQRect(br.x() + textPos + 1, 0,
++ TQRect tr = TQStyle::visualRect(TQRect(br.x() + textPos + 1, 0,
+ width() - textPos, height()),
+ this);
+ int textFlags = AlignVCenter | SingleLine;
+@@ -733,10 +733,10 @@
+ KImageEffect::blend(img, timg, *taskBar->blendGradient(size()), KImageEffect::Red);
+
+ // End painting before assigning the pixmap
+- QPaintDevice* opd = p->device();
++ TQPaintDevice* opd = p->device();
+ p->end();
+ pm->convertFromImage(img);
+- p->tqbegin(opd ,this);
++ p->begin(opd ,this);
+ }
+ else
+ {
+@@ -754,9 +754,9 @@
+ }
+ }
+
+- if (!frames.isEmpty() && m_startup && frames.tqat(currentFrame) != frames.end())
++ if (!frames.isEmpty() && m_startup && frames.at(currentFrame) != frames.end())
+ {
+- TQPixmap *anim = *frames.tqat(currentFrame);
++ TQPixmap *anim = *frames.at(currentFrame);
+
+ if (anim && !anim->isNull())
+ {
+@@ -787,19 +787,19 @@
+ }
+
+ int flags = TQStyle::Style_Enabled;
+- TQRect ar = TQStyle::tqvisualRect(TQRect(br.x() + br.width() - 8 - 2,
++ TQRect ar = TQStyle::visualRect(TQRect(br.x() + br.width() - 8 - 2,
+ br.y(), 8, br.height()), this);
+ if (sunken)
+ {
+ flags |= TQStyle::Style_Down;
+ }
+
+- tqstyle().tqdrawPrimitive(e, p, ar, colors, flags);
++ style().tqdrawPrimitive(e, p, ar, colors, flags);
+ }
+
+ // draw mouse over frame in transparent mode
+ if (m_mouseOver && halo)
+- KickerLib::drawBlendedRect(p, TQRect(0, 0, width(), height()), tqcolorGroup().foreground());
++ KickerLib::drawBlendedRect(p, TQRect(0, 0, width(), height()), colorGroup().foreground());
+
+ if (aboutToActivate)
+ {
+@@ -830,13 +830,13 @@
+ // in common, and then use everything UP TO that as the name in the button
+ while (i < maxLength)
+ {
+- TQChar check = match.tqat(i).lower();
++ TQChar check = match.at(i).lower();
+ Task::List::iterator itEnd = m_filteredTasks.end();
+ for (Task::List::iterator it = m_filteredTasks.begin(); it != itEnd; ++it)
+ {
+ // we're doing a lot of Utf8 -> TQString conversions here
+ // by repeatedly calling visibleIconicName() =/
+- if (check != (*it)->visibleName().tqat(i).lower())
++ if (check != (*it)->visibleName().at(i).lower())
+ {
+ if (i > 0)
+ {
+@@ -856,7 +856,7 @@
+ }
+
+ // strip trailing crap
+- while (i > 0 && !match.tqat(i).isLetterOrNumber())
++ while (i > 0 && !match.at(i).isLetterOrNumber())
+ {
+ --i;
+ }
+@@ -1161,17 +1161,17 @@
+ pos.setX(pos.x() + width());
+ break;
+ case LeftArrow:
+- pos.setX(pos.x() - m_menu->tqsizeHint().width());
++ pos.setX(pos.x() - m_menu->sizeHint().width());
+ break;
+ case DownArrow:
+ if ( TQApplication::reverseLayout() )
+- pos.setX( pos.x() + width() - m_menu->tqsizeHint().width() );
++ pos.setX( pos.x() + width() - m_menu->sizeHint().width() );
+ pos.setY( pos.y() + height() );
+ break;
+ case UpArrow:
+ if ( TQApplication::reverseLayout() )
+- pos.setX( pos.x() + width() - m_menu->tqsizeHint().width() );
+- pos.setY(pos.y() - m_menu->tqsizeHint().height());
++ pos.setX( pos.x() + width() - m_menu->sizeHint().width() );
++ pos.setY(pos.y() - m_menu->sizeHint().height());
+ break;
+ default:
+ break;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/taskmanager/tasklmbmenu.cpp v3.5.13-sru/kicker/taskmanager/tasklmbmenu.cpp
+--- /tmp/stable//kdebase/kicker/taskmanager/tasklmbmenu.cpp 2011-08-11 07:25:46.000000000 +0200
++++ v3.5.13-sru/kicker/taskmanager/tasklmbmenu.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -75,7 +75,7 @@
+ p->drawText(x, y, w, h, AlignAuto|AlignVCenter|DontClip|ShowPrefix, m_text);
+ }
+
+-TQSize TaskMenuItem::tqsizeHint()
++TQSize TaskMenuItem::sizeHint()
+ {
+ TQFont font = TQFont();
+ if (m_isActive)
+@@ -213,7 +213,7 @@
+ void TaskLMBMenu::dragSwitch()
+ {
+ bool ok = false;
+- Task::Ptr t = m_tasks.tqat(indexOf(m_lastDragId), &ok);
++ Task::Ptr t = m_tasks.at(indexOf(m_lastDragId), &ok);
+ if (ok)
+ {
+ t->activate();
+@@ -264,7 +264,7 @@
+ if (index != -1)
+ {
+ bool ok = false;
+- Task::Ptr task = m_tasks.tqat(index, &ok);
++ Task::Ptr task = m_tasks.at(index, &ok);
+ if (ok)
+ {
+ Task::List tasks;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/taskmanager/tasklmbmenu.h v3.5.13-sru/kicker/taskmanager/tasklmbmenu.h
+--- /tmp/stable//kdebase/kicker/taskmanager/tasklmbmenu.h 2011-03-12 07:58:09.000000000 +0100
++++ v3.5.13-sru/kicker/taskmanager/tasklmbmenu.h 2012-09-08 19:41:29.000000000 +0200
+@@ -38,7 +38,7 @@
+ ~TaskMenuItem();
+
+ void paint(TQPainter*, const TQColorGroup&, bool, bool, int, int, int, int);
+- TQSize tqsizeHint();
++ TQSize sizeHint();
+ void setAttentionState(bool state) { m_attentionState = state; }
+
+ private:
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kicker/taskmanager/taskmanager.cpp v3.5.13-sru/kicker/taskmanager/taskmanager.cpp
+--- /tmp/stable//kdebase/kicker/taskmanager/taskmanager.cpp 2011-08-11 07:25:46.000000000 +0200
++++ v3.5.13-sru/kicker/taskmanager/taskmanager.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -1356,7 +1356,7 @@
+ Picture picture = XRenderCreatePicture(dpy, m_windowPixmap, format,
+ CPSubwindowMode, &picAttr);
+
+- // Get tqshaped windows handled correctly.
++ // Get shaped windows handled correctly.
+ XserverRegion region = XFixesCreateRegionFromWindow(dpy, m_frameId,
+ WindowRegionBounding);
+ XFixesSetPictureClipRegion(dpy, picture, 0, 0, region);
+@@ -1375,7 +1375,7 @@
+ int thumbnailHeight = (int)(winAttr.height * factor);
+
+ TQPixmap thumbnail(thumbnailWidth, thumbnailHeight);
+- thumbnail.fill(TQApplication::tqpalette().active().background());
++ thumbnail.fill(TQApplication::palette().active().background());
+
+ #if 0 // TQImage::smoothScale() scaling
+ TQPixmap full(winAttr.width, winAttr.height);
+@@ -1499,7 +1499,7 @@
+
+ Task::List TaskDrag::decode( const TQMimeSource* e )
+ {
+- TQByteArray data(e->tqencodedData("taskbar/task"));
++ TQByteArray data(e->encodedData("taskbar/task"));
+ Task::List tasks;
+
+ if (data.size())
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/filter/filter.cc v3.5.13-sru/kioslave/filter/filter.cc
+--- /tmp/stable//kdebase/kioslave/filter/filter.cc 2011-03-12 07:57:56.000000000 +0100
++++ v3.5.13-sru/kioslave/filter/filter.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -56,7 +56,7 @@
+ FilterProtocol::FilterProtocol( const TQCString & protocol, const TQCString &pool, const TQCString &app )
+ : KIO::SlaveBase( protocol, pool, app )
+ {
+- TQString mimetype = TQString::tqfromLatin1("application/x-") + TQString::tqfromLatin1(protocol);
++ TQString mimetype = TQString::fromLatin1("application/x-") + TQString::fromLatin1(protocol);
+ filter = KFilterBase::findFilterByMimeType( mimetype );
+ Q_ASSERT(filter);
+ }
+@@ -157,7 +157,7 @@
+
+ void FilterProtocol::put( const KURL &/*url*/, int, bool /*_overwrite*/, bool /*_resume*/ )
+ {
+- error( KIO::ERR_UNSUPPORTED_ACTION, TQString::tqfromLatin1("put"));
++ error( KIO::ERR_UNSUPPORTED_ACTION, TQString::fromLatin1("put"));
+ }
+
+ void FilterProtocol::setSubURL(const KURL &url)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/fish/fish.cpp v3.5.13-sru/kioslave/fish/fish.cpp
+--- /tmp/stable//kdebase/kioslave/fish/fish.cpp 2011-08-11 07:25:36.000000000 +0200
++++ v3.5.13-sru/kioslave/fish/fish.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -1436,7 +1436,7 @@
+ if (rc > 0) {
+ int noff = received(buf,rc+offset);
+ if (noff > 0) memmove(buf,buf+offset+rc-noff,noff);
+- //myDebug( << "left " << noff << " bytes: " << TQString::tqfromLatin1(buf,offset) << endl);
++ //myDebug( << "left " << noff << " bytes: " << TQString::fromLatin1(buf,offset) << endl);
+ offset = noff;
+ } else {
+ if (errno == EINTR)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/ldap/kio_ldap.cpp v3.5.13-sru/kioslave/ldap/kio_ldap.cpp
+--- /tmp/stable//kdebase/kioslave/ldap/kio_ldap.cpp 2011-08-11 07:25:35.000000000 +0200
++++ v3.5.13-sru/kioslave/ldap/kio_ldap.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -166,8 +166,8 @@
+ {
+ TQString oid; bool critical; TQByteArray value;
+ int i = 0;
+- while ( hasMetaData( TQString::tqfromLatin1("SERVER_CTRL%1").arg(i) ) ) {
+- TQCString val = metaData( TQString::tqfromLatin1("SERVER_CTRL%1").arg(i) ).utf8();
++ while ( hasMetaData( TQString::fromLatin1("SERVER_CTRL%1").arg(i) ) ) {
++ TQCString val = metaData( TQString::fromLatin1("SERVER_CTRL%1").arg(i) ).utf8();
+ LDIF::splitControl( val, oid, critical, value );
+ kdDebug(7125) << "server ctrl #" << i << " value: " << val <<
+ " oid: " << oid << " critical: " << critical << " value: " <<
+@@ -176,8 +176,8 @@
+ i++;
+ }
+ i = 0;
+- while ( hasMetaData( TQString::tqfromLatin1("CLIENT_CTRL%1").arg(i) ) ) {
+- TQCString val = metaData( TQString::tqfromLatin1("CLIENT_CTRL%1").arg(i) ).utf8();
++ while ( hasMetaData( TQString::fromLatin1("CLIENT_CTRL%1").arg(i) ) ) {
++ TQCString val = metaData( TQString::fromLatin1("CLIENT_CTRL%1").arg(i) ).utf8();
+ LDIF::splitControl( val, oid, critical, value );
+ kdDebug(7125) << "client ctrl #" << i << " value: " << val <<
+ " oid: " << oid << " critical: " << critical << " value: " <<
+@@ -197,7 +197,7 @@
+ if ( count > 0 ) {
+ attrs = static_cast<char**>( malloc((count+1) * sizeof(char*)) );
+ for (int i=0; i<count; i++)
+- attrs[i] = strdup( (*usrc.attributes().tqat(i)).utf8() );
++ attrs[i] = strdup( (*usrc.attributes().at(i)).utf8() );
+ attrs[count] = 0;
+ }
+
+@@ -519,7 +519,7 @@
+ info.url.setPort( mPort );
+ info.url.setUser( mUser );
+ info.caption = i18n("LDAP Login");
+- info.comment = TQString::tqfromLatin1( mProtocol ) + "://" + mHost + ":" +
++ info.comment = TQString::fromLatin1( mProtocol ) + "://" + mHost + ":" +
+ TQString::number( mPort );
+ info.commentLabel = i18n("site:");
+ info.username = mAuthSASL ? mUser : mBindName;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/mac/kio_mac.cpp v3.5.13-sru/kioslave/mac/kio_mac.cpp
+--- /tmp/stable//kdebase/kioslave/mac/kio_mac.cpp 2011-08-11 07:25:37.000000000 +0200
++++ v3.5.13-sru/kioslave/mac/kio_mac.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -455,12 +455,12 @@
+ // otherwise it only prints the year
+ TQRegExp hourMin("(..):(..)");
+ if (hourMin.exactMatch(third)) {
+- TQDate tqcurrentDate(TQDate::currentDate());
++ TQDate currentDate(TQDate::currentDate());
+
+- if (month > tqcurrentDate.month()) {
+- year = tqcurrentDate.year() - 1;
++ if (month > currentDate.month()) {
++ year = currentDate.year() - 1;
+ } else {
+- year = tqcurrentDate.year();
++ year = currentDate.year();
+ }
+ TQString h(hourMin.cap(1));
+ TQString m(hourMin.cap(2));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/man/kio_man.cpp v3.5.13-sru/kioslave/man/kio_man.cpp
+--- /tmp/stable//kdebase/kioslave/man/kio_man.cpp 2011-08-11 07:25:38.000000000 +0200
++++ v3.5.13-sru/kioslave/man/kio_man.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -82,7 +82,7 @@
+ section = TQString::null;
+
+ TQString url = _url;
+- if (url.tqat(0) == '/') {
++ if (url.at(0) == '/') {
+ if (KStandardDirs::exists(url)) {
+ title = url;
+ return true;
+@@ -93,7 +93,7 @@
+ }
+ }
+
+- while (url.tqat(0) == '/')
++ while (url.at(0) == '/')
+ url.remove(0,1);
+
+ title = url;
+@@ -259,7 +259,7 @@
+ TQStringList list;
+
+ // kdDebug() << "findPages '" << section << "' '" << title << "'\n";
+- if (title.tqat(0) == '/') {
++ if (title.at(0) == '/') {
+ list.append(title);
+ return list;
+ }
+@@ -279,7 +279,7 @@
+ // Section given as argument
+ //
+ sect_list += section;
+- while (section.tqat(section.length() - 1).isLetter()) {
++ while (section.at(section.length() - 1).isLetter()) {
+ section.truncate(section.length() - 1);
+ sect_list += section;
+ }
+@@ -400,11 +400,11 @@
+ {
+ m_outputBuffer.writeBlock(insert,strlen(insert));
+ }
+- if (!insert || m_outputBuffer.tqat() >= 2048)
++ if (!insert || m_outputBuffer.at() >= 2048)
+ {
+ m_outputBuffer.close();
+ data(m_outputBuffer.buffer());
+- m_outputBuffer.tqsetBufferFromCopy(TQByteArray());
++ m_outputBuffer.setBuffer(TQByteArray());
+ m_outputBuffer.open(IO_WriteOnly);
+ }
+ }
+@@ -505,7 +505,7 @@
+
+ m_outputBuffer.close();
+ data(m_outputBuffer.buffer());
+- m_outputBuffer.tqsetBufferFromCopy(TQByteArray());
++ m_outputBuffer.setBuffer(TQByteArray());
+ // tell we are done
+ data(TQByteArray());
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/man/man2html.cpp v3.5.13-sru/kioslave/man/man2html.cpp
+--- /tmp/stable//kdebase/kioslave/man/man2html.cpp 2011-08-16 01:07:51.000000000 +0200
++++ v3.5.13-sru/kioslave/man/man2html.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -1905,7 +1905,7 @@
+ return (index >= 0) && (index < (int)items.count());
+ }
+ TABLEITEM &at(int index) {
+- return *items.tqat(index);
++ return *items.at(index);
+ }
+
+ TABLEROW *copyLayout() const;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kcmodule/main.cpp v3.5.13-sru/kioslave/media/kcmodule/main.cpp
+--- /tmp/stable//kdebase/kioslave/media/kcmodule/main.cpp 2011-03-12 07:57:54.000000000 +0100
++++ v3.5.13-sru/kioslave/media/kcmodule/main.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -67,6 +67,7 @@
+ I18N_NOOP("(c) 2005 Jean-Remy Falleri"));
+ about->addAuthor("Jean-Remy Falleri", I18N_NOOP("Maintainer"), "jr.falleri@laposte.net");
+ about->addAuthor("Kevin Ottens", 0, "ervin ipsquad net");
++ about->addAuthor("Valentine Sinitsyn", 0, "e_val@inbox.ru");
+ about->addCredit("Achim Bohnet", I18N_NOOP("Help for the application design"));
+
+ setAboutData( about );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kcmodule/managermodule.cpp v3.5.13-sru/kioslave/media/kcmodule/managermodule.cpp
+--- /tmp/stable//kdebase/kioslave/media/kcmodule/managermodule.cpp 2010-08-13 00:37:22.000000000 +0200
++++ v3.5.13-sru/kioslave/media/kcmodule/managermodule.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -1,5 +1,6 @@
+ /* This file is part of the KDE Project
+ Copyright (c) 2005 Kévin Ottens <ervin ipsquad net>
++ Copyright (c) 2006 Valentine Sinitsyn <e_val@inbox.ru>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+@@ -20,9 +21,13 @@
+
+ #include "managermodule.h"
+
++#include <kconfig.h>
+ #include <klocale.h>
+ #include <dcopref.h>
++#include <tqbutton.h>
+ #include <tqcheckbox.h>
++#include <tqcombobox.h>
++#include <tqobjectlist.h>
+ #include <kdirnotify_stub.h>
+
+ #include "managermoduleview.h"
+@@ -31,7 +36,7 @@
+ ManagerModule::ManagerModule( TQWidget* parent, const char* name )
+ : KCModule( parent, name )
+ {
+- ManagerModuleView *view = new ManagerModuleView( this );
++ view = new ManagerModuleView( this );
+
+ addConfig( MediaManagerSettings::self(), view );
+
+@@ -49,12 +54,87 @@
+ #endif
+ view->kcfg_CdPollingEnabled->setEnabled( false );
+
++ connect( view->option_automount, SIGNAL( stateChanged(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_ro, SIGNAL( stateChanged(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_quiet, SIGNAL( stateChanged(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_flush, SIGNAL( stateChanged(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_uid, SIGNAL( stateChanged(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_utf8, SIGNAL( stateChanged(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_sync, SIGNAL( stateChanged(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_atime, SIGNAL( stateChanged(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_shortname, SIGNAL( activated(int) ), this, SLOT( emitChanged() ) );
++ connect( view->option_journaling, SIGNAL( activated(int) ), this, SLOT( emitChanged() ) );
++
+ load();
++}
++
++
++void ManagerModule::load()
++{
++ KCModule::load();
++
++ KConfig config("mediamanagerrc");
++ config.setGroup("DefaultOptions");
++
++ view->option_automount->setChecked( config.readBoolEntry("automount", false) );
++ view->option_ro->setChecked( config.readBoolEntry("ro", false) );
++ view->option_quiet->setChecked( config.readBoolEntry("quiet", false) );
++ if (config.hasKey("flush"))
++ view->option_flush->setChecked( config.readBoolEntry("flush") );
++ else
++ view->option_flush->setNoChange();
++ view->option_uid->setChecked( config.readBoolEntry("uid", true) );
++ view->option_utf8->setChecked( config.readBoolEntry("utf8", true) );
++ if (config.hasKey("sync"))
++ view->option_sync->setChecked( config.readBoolEntry("sync") );
++ else
++ view->option_sync->setNoChange();
++ if (config.hasKey("atime"))
++ view->option_atime->setChecked( config.readBoolEntry("atime") );
++ else
++ view->option_atime->setNoChange();
++
++ QString value;
++
++ value = config.readEntry("shortname", "lower").lower();
++ for (int i = 0; i < view->option_shortname->count(); i++)
++ if (view->option_shortname->text(i).lower() == value) view->option_shortname->setCurrentItem(i);
++
++ value = config.readEntry("journaling", "ordered").lower();
++ for (int i = 0; i < view->option_journaling->count(); i++)
++ if (view->option_journaling->text(i).lower() == value) view->option_journaling->setCurrentItem(i);
++
++ rememberSettings();
+ }
+
+ void ManagerModule::save()
+ {
+ KCModule::save();
++
++ KConfig config("mediamanagerrc");
++ config.setGroup("DefaultOptions");
++
++ config.writeEntry("automount", view->option_automount->isChecked());
++ config.writeEntry("ro", view->option_ro->isChecked());
++ config.writeEntry("quiet", view->option_quiet->isChecked());
++ if (view->option_flush->state() == TQButton::NoChange)
++ config.deleteEntry("flush");
++ else
++ config.writeEntry("flush", view->option_flush->isChecked());
++ config.writeEntry("uid", view->option_uid->isChecked());
++ config.writeEntry("utf8", view->option_utf8->isChecked());
++ if (view->option_sync->state() == TQButton::NoChange)
++ config.deleteEntry("sync");
++ else
++ config.writeEntry("sync", view->option_sync->isChecked());
++ if (view->option_atime->state() == TQButton::NoChange)
++ config.deleteEntry("atime");
++ else
++ config.writeEntry("atime", view->option_atime->isChecked());
++ config.writeEntry("journaling", view->option_journaling->currentText().lower());
++ config.writeEntry("shortname", view->option_shortname->currentText().lower());
++
++ rememberSettings();
+
+ //Well... reloadBackends is buggy with HAL, it seems to be linked
+ //to a bug in the unmaintained Qt3 DBUS binding ;-/
+@@ -70,5 +150,64 @@
+ notifier.FilesAdded( "media:/" );
+ }
+
++void ManagerModule::defaults()
++{
++ KCModule::defaults();
++
++ view->option_automount->setChecked(false);
++ view->option_ro->setChecked(false);
++ view->option_quiet->setChecked(false);
++ view->option_flush->setNoChange();
++ view->option_uid->setChecked(true);
++ view->option_utf8->setChecked(true);
++ view->option_sync->setNoChange();
++ view->option_atime->setNoChange();
++ view->option_journaling->setCurrentItem(1);
++ view->option_shortname->setCurrentItem(0);
++}
++
++void ManagerModule::rememberSettings()
++{
++ TQObjectList *options = view->queryList(0, "^option_");
++ TQObject *current = 0;
++ TQObjectListIterator it(*options);
++
++ settings.clear();
++ while ( (current = it.current()) != 0 ) {
++ if (current->isA("TQCheckBox"))
++ settings[current] = ((TQCheckBox *)current)->state();
++ else if (current->isA("TQComboBox"))
++ settings[current] = ((TQComboBox *)current)->currentItem();
++ ++it;
++ }
++ delete options;
++
++}
++
++void ManagerModule::emitChanged()
++{
++ TQObjectList *options = view->queryList(0, "^option_");
++ TQObject *current = 0;
++ TQObjectListIterator it(*options);
++ int value = -1;
++ bool somethingChanged = false;
++
++ while ( (current = it.current()) != 0 ) {
++ if (current->isA("TQCheckBox"))
++ value = ((TQCheckBox *)current)->state();
++ else if (current->isA("TQComboBox"))
++ value = ((TQComboBox *)current)->currentItem();
++
++ if (settings[current] != value) {
++ somethingChanged = true;
++ break;
++ }
++
++ ++it;
++ }
++ delete options;
++
++ emit changed(somethingChanged);
++}
+
+ #include "managermodule.moc"
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kcmodule/managermodule.h v3.5.13-sru/kioslave/media/kcmodule/managermodule.h
+--- /tmp/stable//kdebase/kioslave/media/kcmodule/managermodule.h 2010-08-13 00:37:22.000000000 +0200
++++ v3.5.13-sru/kioslave/media/kcmodule/managermodule.h 2012-09-08 19:41:29.000000000 +0200
+@@ -1,5 +1,6 @@
+ /* This file is part of the KDE Project
+ Copyright (c) 2005 Kévin Ottens <ervin ipsquad net>
++ Copyright (c) 2006 Valentine Sinitsyn <e_val@inbox.ru>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+@@ -19,8 +20,11 @@
+ #ifndef _MANAGERMODULE_H_
+ #define _MANAGERMODULE_H_
+
++#include <tqmap.h>
+ #include <kcmodule.h>
+
++class ManagerModuleView;
++
+ class ManagerModule : public KCModule
+ {
+ Q_OBJECT
+@@ -28,7 +32,18 @@
+ public:
+ ManagerModule( TQWidget* parent = 0, const char* name = 0);
+
++ void load();
+ void save();
++ void defaults();
++
++private:
++ void rememberSettings();
++
++ ManagerModuleView *view;
++ TQMap<TQObject *, int> settings;
++
++private slots:
++ void emitChanged();
+ };
+
+ #endif
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kcmodule/managermoduleview.ui v3.5.13-sru/kioslave/media/kcmodule/managermoduleview.ui
+--- /tmp/stable//kdebase/kioslave/media/kcmodule/managermoduleview.ui 2011-03-12 07:57:54.000000000 +0100
++++ v3.5.13-sru/kioslave/media/kcmodule/managermoduleview.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -12,6 +12,9 @@
+ <height>480</height>
+ </rect>
+ </property>
++ <property name="caption">
++ <string>ManagerModuleView</string>
++ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+@@ -49,6 +52,245 @@
+ <string>Select this if you want to enable application autostart after mounting a device.</string>
+ </property>
+ </widget>
++ <widget class="TQGroupBox">
++ <property name="name">
++ <cstring>groupbox_mount</cstring>
++ </property>
++ <property name="title">
++ <string>Mount options</string>
++ </property>
++ <vbox>
++ <property name="name">
++ <cstring>unnamed</cstring>
++ </property>
++ <widget class="TQLabel">
++ <property name="name">
++ <cstring>textLabel3</cstring>
++ </property>
++ <property name="text">
++ <string>Here you can specify default mount options for your storage media. Please note that some options are not supported for certain filesystems and/or medium. You will be able to redefine all these options on per-volume basis later, using Properties dialog of the corresponding volume.&lt;br&gt;
++Some of the options are tristate. Leave them "undefined" to let KDE choose the best value depending on your media.</string>
++ </property>
++ <property name="alignment">
++ <set>WordBreak|AlignVCenter</set>
++ </property>
++ </widget>
++ <widget class="TQLayoutWidget">
++ <property name="name">
++ <cstring>layout30</cstring>
++ </property>
++ <grid>
++ <property name="name">
++ <cstring>unnamed</cstring>
++ </property>
++ <widget class="TQCheckBox" row="1" column="0">
++ <property name="name">
++ <cstring>option_ro</cstring>
++ </property>
++ <property name="text">
++ <string>Read only</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>By default, mount all file systems read-only.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox" row="2" column="1">
++ <property name="name">
++ <cstring>option_uid</cstring>
++ </property>
++ <property name="text">
++ <string>Mount as user</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Mount this file system as user.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox" row="0" column="1">
++ <property name="name">
++ <cstring>option_flush</cstring>
++ </property>
++ <property name="text">
++ <string>Flushed IO</string>
++ </property>
++ <property name="tristate">
++ <bool>true</bool>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Always flush all data to the hot plug devices immediately and don't cache it.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox" row="3" column="0">
++ <property name="name">
++ <cstring>option_sync</cstring>
++ </property>
++ <property name="text">
++ <string>Synchronous</string>
++ </property>
++ <property name="tristate">
++ <bool>true</bool>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>All I/O to the file system should be done synchronously.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox" row="2" column="0">
++ <property name="name">
++ <cstring>option_quiet</cstring>
++ </property>
++ <property name="text">
++ <string>Quiet</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Attempts to chown or chmod files do not return errors, although they fail. Use with caution!</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox" row="1" column="1">
++ <property name="name">
++ <cstring>option_utf8</cstring>
++ </property>
++ <property name="text">
++ <string>UTF-8 charset</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>UTF8 is the filesystem safe 8-bit encoding of Unicode that is used by the console. It can be be enabled for the filesystem with this option.</string>
++ </property>
++ </widget>
++ <widget class="TQLayoutWidget" row="3" column="1" rowspan="2" colspan="1">
++ <property name="name">
++ <cstring>layout29</cstring>
++ </property>
++ <grid>
++ <property name="name">
++ <cstring>unnamed</cstring>
++ </property>
++ <widget class="TQLabel" row="1" column="0">
++ <property name="name">
++ <cstring>text_shortname</cstring>
++ </property>
++ <property name="text">
++ <string>Short names:</string>
++ </property>
++ <property name="buddy" stdset="0">
++ <cstring>option_shortname</cstring>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>&lt;h2&gt;Defines the behaviour for creation and display of filenames which fit into 8.3 characters. If a long name for a file exists, it will always be preferred display.&lt;/h2&gt;
++
++&lt;h3&gt;&lt;b&gt;Lower&lt;/b&gt;&lt;/h3&gt;
++Force the short name to lower case upon display; store a long name when the short name is not all upper case.
++
++&lt;h3&gt;&lt;b&gt;Windows 95&lt;/b&gt;&lt;/h3&gt;
++Force the short name to upper case upon display; store a long name when the short name is not all upper case.
++
++&lt;h3&gt;&lt;b&gt;Windows NT&lt;/b&gt;&lt;/h3&gt;
++Display the shortname as is; store a long name when the short name is not all lower case or all upper case.
++
++&lt;h3&gt;&lt;b&gt;Mixed&lt;/b&gt;&lt;/h3&gt;
++Display the short name as is; store a long name when the short name is not all upper case.</string>
++ </property>
++ </widget>
++ <widget class="TQComboBox" row="0" column="1">
++ <item>
++ <property name="text">
++ <string>All Data</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Ordered</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Writeback</string>
++ </property>
++ </item>
++ <property name="name">
++ <cstring>option_journaling</cstring>
++ </property>
++ <property name="currentItem">
++ <number>1</number>
++ </property>
++ </widget>
++ <widget class="TQLabel" row="0" column="0">
++ <property name="name">
++ <cstring>text_journaling</cstring>
++ </property>
++ <property name="text">
++ <string>Journaling:</string>
++ </property>
++ <property name="buddy" stdset="0">
++ <cstring>option_journaling</cstring>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>&lt;h2&gt;Specifies the journalling mode for file data. Metadata is always journaled. &lt;/h2&gt;
++
++&lt;h3&gt;&lt;b&gt;All Data&lt;/b&gt;&lt;/h3&gt;
++ All data is committed into the journal prior to being written into the main file system. This is the slowest variant with the highest data security.
++
++&lt;h3&gt;&lt;b&gt;Ordered&lt;/b&gt;&lt;/h3&gt;
++ All data is forced directly out to the main file system prior to its metadata being committed to the journal.
++
++&lt;h3&gt;&lt;b&gt;Write Back&lt;/b&gt;&lt;/h3&gt;
++ Data ordering is not preserved - data may be written into the main file system after its metadata has been committed to the journal. This is rumoured to be the highest-throughput option. It guarantees internal file system integrity, however it can allow old data to appear in files after a crash and journal recovery.</string>
++ </property>
++ </widget>
++ <widget class="TQComboBox" row="1" column="1">
++ <item>
++ <property name="text">
++ <string>Lower</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Windows 95</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Windows NT</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Mixed</string>
++ </property>
++ </item>
++ <property name="name">
++ <cstring>option_shortname</cstring>
++ </property>
++ </widget>
++ </grid>
++ </widget>
++ <widget class="TQCheckBox" row="0" column="0">
++ <property name="name">
++ <cstring>option_automount</cstring>
++ </property>
++ <property name="text">
++ <string>Mount automatically</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>By default, mount all file systems automatically.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox" row="4" column="0">
++ <property name="name">
++ <cstring>option_atime</cstring>
++ </property>
++ <property name="text">
++ <string>Access time updates</string>
++ </property>
++ <property name="tristate">
++ <bool>true</bool>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Update inode access time for each access.</string>
++ </property>
++ </widget>
++ </grid>
++ </widget>
++ </vbox>
++ </widget>
+ <spacer>
+ <property name="name">
+ <cstring>spacer1</cstring>
+@@ -59,14 +301,43 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>21</width>
+- <height>360</height>
++ <height>130</height>
+ </size>
+ </property>
+ </spacer>
+ </vbox>
+ </widget>
++<connections>
++ <connection>
++ <sender>kcfg_HalBackendEnabled</sender>
++ <signal>toggled(bool)</signal>
++ <receiver>groupbox_mount</receiver>
++ <slot>setEnabled(bool)</slot>
++ </connection>
++</connections>
++<tabstops>
++ <tabstop>kcfg_HalBackendEnabled</tabstop>
++ <tabstop>kcfg_CdPollingEnabled</tabstop>
++ <tabstop>kcfg_AutostartEnabled</tabstop>
++ <tabstop>option_automount</tabstop>
++ <tabstop>option_ro</tabstop>
++ <tabstop>option_quiet</tabstop>
++ <tabstop>option_sync</tabstop>
++ <tabstop>option_atime</tabstop>
++ <tabstop>option_flush</tabstop>
++ <tabstop>option_utf8</tabstop>
++ <tabstop>option_uid</tabstop>
++ <tabstop>option_journaling</tabstop>
++ <tabstop>option_shortname</tabstop>
++</tabstops>
++<includes>
++ <include location="local" impldecl="in implementation">managermoduleview.ui.h</include>
++</includes>
++<functions>
++ <function access="private" specifier="non virtual">init()</function>
++</functions>
+ <layoutdefaults spacing="6" margin="11"/>
+ </UI>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kcmodule/notifiermodule.cpp v3.5.13-sru/kioslave/media/kcmodule/notifiermodule.cpp
+--- /tmp/stable//kdebase/kioslave/media/kcmodule/notifiermodule.cpp 2011-08-11 07:25:34.000000000 +0200
++++ v3.5.13-sru/kioslave/media/kcmodule/notifiermodule.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -159,7 +159,7 @@
+
+ if ( value == TQDialog::Accepted )
+ {
+- m_settings.tqaddAction( action );
++ m_settings.addAction( action );
+ updateListBox();
+ emit changed( true );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kcmodule/notifiermodule.h v3.5.13-sru/kioslave/media/kcmodule/notifiermodule.h
+--- /tmp/stable//kdebase/kioslave/media/kcmodule/notifiermodule.h 2010-08-13 00:37:22.000000000 +0200
++++ v3.5.13-sru/kioslave/media/kcmodule/notifiermodule.h 2012-09-08 19:41:29.000000000 +0200
+@@ -1,6 +1,6 @@
+ /* This file is part of the KDE Project
+ Copyright (c) 2005 Jean-Remy Falleri <jr.falleri@laposte.net>
+- Copyright (c) 2005 Kévin Ottens <ervin ipsquad net>
++ Copyright (c) 2005 K�vin Ottens <ervin ipsquad net>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+@@ -21,6 +21,7 @@
+ #define _NOTIFIERMODULE_H_
+
+ #include <kcmodule.h>
++#include <tqlistbox.h>
+
+ #include "notifiersettings.h"
+ #include "notifiermoduleview.h"
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kcmodule/notifiermoduleview.ui v3.5.13-sru/kioslave/media/kcmodule/notifiermoduleview.ui
+--- /tmp/stable//kdebase/kioslave/media/kcmodule/notifiermoduleview.ui 2011-03-12 07:57:54.000000000 +0100
++++ v3.5.13-sru/kioslave/media/kcmodule/notifiermoduleview.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -138,7 +138,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>70</width>
+ <height>101</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kcmodule/serviceview.ui v3.5.13-sru/kioslave/media/kcmodule/serviceview.ui
+--- /tmp/stable//kdebase/kioslave/media/kcmodule/serviceview.ui 2011-03-12 07:57:54.000000000 +0100
++++ v3.5.13-sru/kioslave/media/kcmodule/serviceview.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -20,7 +20,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>640</width>
+ <height>480</height>
+@@ -80,13 +80,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>40</width>
+ <height>40</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>40</width>
+ <height>40</height>
+@@ -117,7 +117,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -147,7 +147,7 @@
+ <property name="sizeType">
+ <enum>Minimum</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>21</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/kfile-plugin/kfilemediaplugin.cpp v3.5.13-sru/kioslave/media/kfile-plugin/kfilemediaplugin.cpp
+--- /tmp/stable//kdebase/kioslave/media/kfile-plugin/kfilemediaplugin.cpp 2011-03-12 07:57:54.000000000 +0100
++++ v3.5.13-sru/kioslave/media/kfile-plugin/kfilemediaplugin.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -140,7 +140,7 @@
+
+ group = appendGroup(info, "mediumSummary");
+
+- appendItem(group, "percent", TQString("%1%").tqarg(percent));
++ appendItem(group, "percent", TQString("%1%").arg(percent));
+
+ TQPixmap bar(150, 20);
+ TQPainter p(&bar);
+@@ -148,9 +148,9 @@
+ p.fillRect(0, 0, length, 20, Qt::red);
+ p.fillRect(length, 0, 150-length, 20, Qt::green);
+
+- TQColorGroup cg = TQApplication::tqpalette().active();
++ TQColorGroup cg = TQApplication::palette().active();
+
+- TQApplication::tqstyle().tqdrawPrimitive(TQStyle::PE_Panel, &p,
++ TQApplication::style().tqdrawPrimitive(TQStyle::PE_Panel, &p,
+ TQRect(0, 0, 150, 20), cg,
+ TQStyle::Style_Sunken);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/libmediacommon/notifiersettings.cpp v3.5.13-sru/kioslave/media/libmediacommon/notifiersettings.cpp
+--- /tmp/stable//kdebase/kioslave/media/libmediacommon/notifiersettings.cpp 2011-08-11 07:25:34.000000000 +0200
++++ v3.5.13-sru/kioslave/media/libmediacommon/notifiersettings.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -109,7 +109,7 @@
+ return result;
+ }
+
+-bool NotifierSettings::tqaddAction( NotifierServiceAction *action )
++bool NotifierSettings::addAction( NotifierServiceAction *action )
+ {
+ if ( !m_idMap.contains( action->id() ) )
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/libmediacommon/notifiersettings.h v3.5.13-sru/kioslave/media/libmediacommon/notifiersettings.h
+--- /tmp/stable//kdebase/kioslave/media/libmediacommon/notifiersettings.h 2011-03-12 07:57:53.000000000 +0100
++++ v3.5.13-sru/kioslave/media/libmediacommon/notifiersettings.h 2012-09-08 19:41:29.000000000 +0200
+@@ -36,7 +36,7 @@
+ TQValueList<NotifierAction*> actions();
+ TQValueList<NotifierAction*> actionsForMimetype( const TQString &mimetype );
+
+- bool tqaddAction( NotifierServiceAction *action );
++ bool addAction( NotifierServiceAction *action );
+ bool deleteAction( NotifierServiceAction *action );
+
+ void setAutoAction( const TQString &mimetype, NotifierAction *action );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/mediamanager/CMakeLists.txt v3.5.13-sru/kioslave/media/mediamanager/CMakeLists.txt
+--- /tmp/stable//kdebase/kioslave/media/mediamanager/CMakeLists.txt 2011-08-28 02:02:07.000000000 +0200
++++ v3.5.13-sru/kioslave/media/mediamanager/CMakeLists.txt 2012-09-08 19:41:29.000000000 +0200
+@@ -20,6 +20,7 @@
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${HAL_INCLUDE_DIRS}
++ ${DBUS_TQT_INCLUDE_DIRS}
+ )
+
+ link_directories(
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/mediamanager/halbackend.cpp v3.5.13-sru/kioslave/media/mediamanager/halbackend.cpp
+--- /tmp/stable//kdebase/kioslave/media/mediamanager/halbackend.cpp 2011-08-30 22:53:58.000000000 +0200
++++ v3.5.13-sru/kioslave/media/mediamanager/halbackend.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -1,5 +1,6 @@
+ /* This file is part of the KDE Project
+ Copyright (c) 2004-2005 Jérôme Lodewyck <jerome dot lodewyck at normalesup dot org>
++ Copyright (c) 2006 Valentine Sinitsyn <e_val@inbox.ru>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+@@ -56,9 +57,7 @@
+ {
+ char* _ppt_string;
+ TQString _ppt_QString;
+- DBusError error;
+- dbus_error_init(&error);
+- _ppt_string = libhal_device_get_property_string(ctx, udi, key, &error);
++ _ppt_string = libhal_device_get_property_string(ctx, udi, key, NULL);
+ if ( _ppt_string )
+ _ppt_QString = _ppt_string;
+ libhal_free_string(_ppt_string);
+@@ -447,7 +446,7 @@
+ void HALBackend::ResetProperties(const char* mediumUdi, bool allowNotification)
+ {
+ kdDebug(1219) << "HALBackend::setProperties" << endl;
+- if ( TQString::tqfromLatin1( mediumUdi ).startsWith( "/org/kde/" ) )
++ if ( TQString::fromLatin1( mediumUdi ).startsWith( "/org/kde/" ) )
+ {
+ const Medium *cmedium = m_mediaList.findById(mediumUdi);
+ if ( cmedium )
+@@ -873,6 +872,33 @@
+ s_HALBackend->DeviceCondition(udi, condition_name);
+ }
+
++TQStringList HALBackend::getHALmountoptions(TQString udi)
++{
++ const char* _ppt_string;
++ LibHalVolume* volume;
++ LibHalDrive* drive;
++
++ TQString _ppt_TQString;
++
++ volume = libhal_volume_from_udi( m_halContext, udi.latin1() );
++ if( volume )
++ drive = libhal_drive_from_udi( m_halContext, libhal_volume_get_storage_device_udi( volume ) );
++ else
++ drive = libhal_drive_from_udi( m_halContext, udi.latin1() );
++
++ if( !drive )
++ return TQString::null;
++
++ if( volume )
++ _ppt_string = libhal_volume_policy_get_mount_options ( drive, volume, NULL );
++ else
++ _ppt_string = libhal_drive_policy_get_mount_options ( drive, NULL );
++
++ _ppt_TQString = TQString(_ppt_string ? _ppt_string : "");
++
++ return TQStringList::split(",",_ppt_TQString);
++}
++
+ TQStringList HALBackend::mountoptions(const TQString &name)
+ {
+ const Medium* medium = m_mediaList.findById(name);
+@@ -902,7 +928,16 @@
+ }
+
+ KConfig config("mediamanagerrc");
+- config.setGroup(name);
++
++ bool use_defaults = true;
++ if (config.hasGroup(name))
++ {
++ config.setGroup(name);
++ use_defaults = config.readBoolEntry("use_defaults", false);
++ }
++
++ if (use_defaults)
++ config.setGroup("DefaultOptions");
+
+ char ** array = libhal_device_get_property_strlist(m_halContext, volume_udi.latin1(), "volume.mount.valid_options", NULL);
+ TQMap<TQString,bool> valids;
+@@ -917,6 +952,8 @@
+ libhal_free_string_array(array);
+ TQStringList result;
+ TQString tmp;
++
++ result << TQString("use_defaults=%1").arg(use_defaults ? "true" : "false");
+
+ TQString fstype = libhal_device_get_property_QString(m_halContext, volume_udi.latin1(), "volume.fstype");
+ if (fstype.isNull())
+@@ -929,9 +966,18 @@
+ removable = libhal_device_get_property_bool(m_halContext, drive_udi.latin1(), "storage.removable", NULL)
+ || libhal_device_get_property_bool(m_halContext, drive_udi.latin1(), "storage.hotpluggable", NULL);
+
+- config.setGroup(drive_udi);
+- bool value = config.readBoolEntry("automount", false);
+- config.setGroup(name);
++ bool value;
++ if (use_defaults)
++ {
++ value = config.readBoolEntry("automount", false);
++ }
++ else
++ {
++ QString current_group = config.group();
++ config.setGroup(drive_udi);
++ value = config.readBoolEntry("automount", false);
++ config.setGroup(current_group);
++ }
+
+ if (libhal_device_get_property_bool(m_halContext, volume_udi.latin1(), "volume.disc.is_blank", NULL)
+ || libhal_device_get_property_bool(m_halContext, volume_udi.latin1(), "volume.disc.is_vcd", NULL)
+@@ -1056,7 +1102,7 @@
+
+ TQMap<TQString,TQString> valids = MediaManagerUtils::splitOptions(options);
+
+- const char *names[] = { "ro", "quiet", "atime", "uid", "utf8", "flush", "sync", 0 };
++ const char *names[] = { "use_defaults", "ro", "quiet", "atime", "uid", "utf8", "flush", "sync", 0 };
+ for (int index = 0; names[index]; ++index)
+ if (valids.contains(names[index]))
+ config.writeEntry(names[index], valids[names[index]] == "true");
+@@ -1472,10 +1518,26 @@
+ soptions << TQString("data=ordered");
+ }
+
++ TQStringList hal_mount_options = getHALmountoptions(medium->id());
++ for (TQValueListIterator<TQString> it=hal_mount_options.begin();it!=hal_mount_options.end();it++)
++ {
++ soptions << *it;
++ kdDebug()<<"HALOption: "<<*it<<endl;
++ if ((*it).startsWith("iocharset="))
++ {
++ soptions.remove("utf8");
++ kdDebug()<<"\"iocharset=\" found. Removing \"utf8\" from options."<<endl;
++ }
++ }
++
++
+ const char **options = new const char*[soptions.size() + 1];
+ uint noptions = 0;
+ for (TQStringList::ConstIterator it = soptions.begin(); it != soptions.end(); ++it, ++noptions)
++ {
+ options[noptions] = (*it).latin1();
++ kdDebug()<<"Option: "<<*it<<endl;
++ }
+ options[noptions] = NULL;
+
+ TQString qerror = i18n("Cannot mount encrypted drives!");
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/mediamanager/halbackend.h v3.5.13-sru/kioslave/media/mediamanager/halbackend.h
+--- /tmp/stable//kdebase/kioslave/media/mediamanager/halbackend.h 2010-08-13 00:37:24.000000000 +0200
++++ v3.5.13-sru/kioslave/media/mediamanager/halbackend.h 2012-09-08 19:41:29.000000000 +0200
+@@ -187,6 +187,7 @@
+ const char* message
+ );
+
++ TQStringList getHALmountoptions(TQString udi);
+ /* HAL and DBus structures */
+ private:
+ /**
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/mediamanager/mediamanager.cpp v3.5.13-sru/kioslave/media/mediamanager/mediamanager.cpp
+--- /tmp/stable//kdebase/kioslave/media/mediamanager/mediamanager.cpp 2010-08-13 00:37:24.000000000 +0200
++++ v3.5.13-sru/kioslave/media/mediamanager/mediamanager.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -83,6 +83,7 @@
+ #ifdef COMPILE_HALBACKEND
+ if ( MediaManagerSettings::self()->halBackendEnabled() )
+ {
++ m_mediaList.blockSignals(false);
+ m_halbackend = new HALBackend(m_mediaList, this);
+ if (m_halbackend->InitHal())
+ {
+@@ -97,6 +98,7 @@
+ {
+ delete m_halbackend;
+ m_halbackend = 0;
++ m_mediaList.blockSignals(true);
+ }
+ }
+ #endif // COMPILE_HALBACKEND
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/medianotifier/notificationdialog.cpp v3.5.13-sru/kioslave/media/medianotifier/notificationdialog.cpp
+--- /tmp/stable//kdebase/kioslave/media/medianotifier/notificationdialog.cpp 2011-03-12 07:57:53.000000000 +0100
++++ v3.5.13-sru/kioslave/media/medianotifier/notificationdialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -53,7 +53,7 @@
+
+ updateActionsListBox();
+
+- resize( TQSize(400,400).expandedTo( tqminimumSizeHint() ) );
++ resize( TQSize(400,400).expandedTo( minimumSizeHint() ) );
+
+
+ m_actionWatcher = new KDirWatch();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/medianotifier/notificationdialogview.ui v3.5.13-sru/kioslave/media/medianotifier/notificationdialogview.ui
+--- /tmp/stable//kdebase/kioslave/media/medianotifier/notificationdialogview.ui 2011-03-12 07:57:53.000000000 +0100
++++ v3.5.13-sru/kioslave/media/medianotifier/notificationdialogview.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -42,13 +42,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>64</width>
+ <height>64</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>64</width>
+ <height>64</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/mounthelper/decryptdialog.ui v3.5.13-sru/kioslave/media/mounthelper/decryptdialog.ui
+--- /tmp/stable//kdebase/kioslave/media/mounthelper/decryptdialog.ui 2011-03-12 07:57:54.000000000 +0100
++++ v3.5.13-sru/kioslave/media/mounthelper/decryptdialog.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -55,13 +55,13 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>48</width>
+ <height>48</height>
+ </size>
+ </property>
+- <property name="tqmaximumSize">
++ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>32</height>
+@@ -70,7 +70,7 @@
+ <property name="scaledContents">
+ <bool>true</bool>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignTop</set>
+ </property>
+ </widget>
+@@ -84,7 +84,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>31</width>
+ <height>41</height>
+@@ -109,7 +109,7 @@
+ <string>&lt;p&gt;&lt;b&gt;%1&lt;/b&gt; is an encrypted storage device.&lt;/p&gt;
+ &lt;p&gt;Please enter the password to decrypt the storage device.&lt;/p&gt;</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop</set>
+ </property>
+ </widget>
+@@ -189,7 +189,7 @@
+ <property name="text">
+ <string></string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop</set>
+ </property>
+ </widget>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/propsdlgplugin/propertiespage.cpp v3.5.13-sru/kioslave/media/propsdlgplugin/propertiespage.cpp
+--- /tmp/stable//kdebase/kioslave/media/propsdlgplugin/propertiespage.cpp 2011-08-11 07:25:34.000000000 +0200
++++ v3.5.13-sru/kioslave/media/propsdlgplugin/propertiespage.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -140,12 +140,23 @@
+ option_automount->setChecked(options["automount"] == "true");
+ connect( option_automount, TQT_SIGNAL( stateChanged(int) ), TQT_SIGNAL( changed() ) );
+
++ bool has_groupbox_specific = true;
+ if (!options.contains("journaling") &&
+ !options.contains("shortname") &&
+ !options.contains("uid") &&
+ !options.contains("utf8") &&
+- !options.contains("flush"))
++ !options.contains("flush")) {
+ groupbox_specific->hide();
++ has_groupbox_specific = false;
++ }
++
++ // The order is important - we want groupboxes to hide automatically depending on use_defaults
++ // but don't want to emit changed() until user actually changes something.
++ connect( option_defaults, TQT_SIGNAL( toggled(bool) ), groupbox_generic, SLOT( setHidden(bool) ) );
++ if (has_groupbox_specific)
++ connect( option_defaults, TQT_SIGNAL( toggled(bool) ), groupbox_specific, SLOT( setHidden(bool) ) );
++ option_defaults->setChecked(options["use_defaults"] == "true");
++ connect( option_defaults, TQT_SIGNAL( stateChanged(int) ), TQT_SIGNAL( changed() ) );
+
+ } else {
+
+@@ -198,6 +209,7 @@
+ }
+ result << TQString("mountpoint=%1").arg(mp);
+ result << TQString("automount=%1").arg(option_automount->isChecked() ? "true" : "false");
++ result << TQString("use_defaults=%1").arg(option_defaults->isChecked() ? "true" : "false");
+
+ kdDebug() << result << endl;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/media/propsdlgplugin/propertiespagegui.ui v3.5.13-sru/kioslave/media/propsdlgplugin/propertiespagegui.ui
+--- /tmp/stable//kdebase/kioslave/media/propsdlgplugin/propertiespagegui.ui 2011-03-26 05:26:22.000000000 +0100
++++ v3.5.13-sru/kioslave/media/propsdlgplugin/propertiespagegui.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -8,207 +8,207 @@
+ <rect>
+ <x>0</x>
+ <y>0</y>
+- <width>527</width>
+- <height>476</height>
++ <width>219</width>
++ <height>446</height>
+ </rect>
+ </property>
+- <hbox>
++ <property name="caption">
++ <string>PropertiesPageGUI</string>
++ </property>
++ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+- <property name="margin">
+- <number>0</number>
+- </property>
+- <widget class="TQLayoutWidget">
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_defaults</cstring>
++ </property>
++ <property name="text">
++ <string>Use default mount options</string>
++ </property>
++ </widget>
++ <widget class="TQGroupBox">
+ <property name="name">
+- <cstring>layout17</cstring>
++ <cstring>groupbox_generic</cstring>
++ </property>
++ <property name="title">
++ <string>Generic Mount Options</string>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+- <widget class="TQGroupBox">
++ <widget class="TQLayoutWidget">
+ <property name="name">
+- <cstring>groupbox_generic</cstring>
+- </property>
+- <property name="title">
+- <string>Generic Mount Options</string>
++ <cstring>layout15</cstring>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_ro</cstring>
++ </property>
++ <property name="text">
++ <string>Read only</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Mount the file system read-only.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_quiet</cstring>
++ </property>
++ <property name="text">
++ <string>Quiet</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Attempts to chown or chmod files do not return errors, although they fail. Use with caution!</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_sync</cstring>
++ </property>
++ <property name="text">
++ <string>Synchronous</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>All I/O to the file system should be done synchronously.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_atime</cstring>
++ </property>
++ <property name="text">
++ <string>Access time updates</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Update inode access time for each access.</string>
++ </property>
++ </widget>
+ <widget class="TQLayoutWidget">
+ <property name="name">
+- <cstring>layout15</cstring>
++ <cstring>layout14</cstring>
+ </property>
+- <vbox>
++ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+- <widget class="TQCheckBox">
+- <property name="name">
+- <cstring>option_ro</cstring>
+- </property>
+- <property name="text">
+- <string>Read only</string>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>Mount the file system read-only.</string>
+- </property>
+- </widget>
+- <widget class="TQCheckBox">
+- <property name="name">
+- <cstring>option_quiet</cstring>
+- </property>
+- <property name="text">
+- <string>Quiet</string>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>Attempts to chown or chmod files do not return errors, although they fail. Use with caution!</string>
+- </property>
+- </widget>
+- <widget class="TQCheckBox">
++ <widget class="TQLabel">
+ <property name="name">
+- <cstring>option_sync</cstring>
++ <cstring>textLabel3</cstring>
+ </property>
+ <property name="text">
+- <string>Synchronous</string>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>All I/O to the file system should be done synchronously.</string>
++ <string>Mountpoint:</string>
+ </property>
+- </widget>
+- <widget class="TQCheckBox">
+- <property name="name">
+- <cstring>option_atime</cstring>
+- </property>
+- <property name="text">
+- <string>Access time updates</string>
++ <property name="buddy" stdset="0">
++ <cstring>option_mountpoint</cstring>
+ </property>
+ <property name="whatsThis" stdset="0">
+- <string>Update inode access time for each access.</string>
++ <string>Under what directory this file system shall be mounted. Please note that there is no guarantee that the system will respect your wish. For one the directory has to be below /media - and it does not yet have to exist.</string>
+ </property>
+ </widget>
+- <widget class="TQLayoutWidget">
++ <widget class="TQLineEdit">
+ <property name="name">
+- <cstring>layout14</cstring>
+- </property>
+- <hbox>
+- <property name="name">
+- <cstring>unnamed</cstring>
+- </property>
+- <widget class="TQLabel">
+- <property name="name">
+- <cstring>textLabel3</cstring>
+- </property>
+- <property name="text">
+- <string>Mountpoint:</string>
+- </property>
+- <property name="buddy" stdset="0">
+- <cstring>option_mountpoint</cstring>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>Under what directory this file system shall be mounted. Please note that there is no guarantee that the system will respect your wish. For one the directory has to be below /media - and it does not yet have to exist.</string>
+- </property>
+- </widget>
+- <widget class="TQLineEdit">
+- <property name="name">
+- <cstring>option_mountpoint</cstring>
+- </property>
+- <property name="text">
+- <string></string>
+- </property>
+- </widget>
+- </hbox>
+- </widget>
+- <widget class="TQCheckBox">
+- <property name="name">
+- <cstring>option_automount</cstring>
++ <cstring>option_mountpoint</cstring>
+ </property>
+ <property name="text">
+- <string>Mount automatically</string>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>Mount this file system automatically.</string>
++ <string></string>
+ </property>
+ </widget>
+- </vbox>
++ </hbox>
++ </widget>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_automount</cstring>
++ </property>
++ <property name="text">
++ <string>Mount automatically</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Mount this file system automatically.</string>
++ </property>
+ </widget>
+ </vbox>
+ </widget>
+- <widget class="TQGroupBox">
++ </vbox>
++ </widget>
++ <widget class="TQGroupBox">
++ <property name="name">
++ <cstring>groupbox_specific</cstring>
++ </property>
++ <property name="title">
++ <string>Filesystem Specific Mount Options</string>
++ </property>
++ <vbox>
++ <property name="name">
++ <cstring>unnamed</cstring>
++ </property>
++ <widget class="TQLayoutWidget">
+ <property name="name">
+- <cstring>groupbox_specific</cstring>
+- </property>
+- <property name="title">
+- <string>Filesystem Specific Mount Options</string>
++ <cstring>layout11</cstring>
+ </property>
+ <vbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_flush</cstring>
++ </property>
++ <property name="text">
++ <string>Flushed IO</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Always flush all data to the hot plug devices immediately and don't cache it.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_utf8</cstring>
++ </property>
++ <property name="text">
++ <string>UTF-8 charset</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>UTF8 is the filesystem safe 8-bit encoding of Unicode that is used by the console. It can be be enabled for the filesystem with this option.</string>
++ </property>
++ </widget>
++ <widget class="TQCheckBox">
++ <property name="name">
++ <cstring>option_uid</cstring>
++ </property>
++ <property name="text">
++ <string>Mount as user</string>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>Mount this file system as user.</string>
++ </property>
++ </widget>
+ <widget class="TQLayoutWidget">
+ <property name="name">
+- <cstring>layout11</cstring>
++ <cstring>layout7</cstring>
+ </property>
+- <vbox>
++ <hbox>
+ <property name="name">
+ <cstring>unnamed</cstring>
+ </property>
+- <widget class="TQCheckBox">
++ <widget class="TQLabel">
+ <property name="name">
+- <cstring>option_flush</cstring>
++ <cstring>text_journaling</cstring>
+ </property>
+ <property name="text">
+- <string>Flushed IO</string>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>Always flush all data to the hot plug devices immediately and don't cache it.</string>
+- </property>
+- </widget>
+- <widget class="TQCheckBox">
+- <property name="name">
+- <cstring>option_utf8</cstring>
+- </property>
+- <property name="text">
+- <string>UTF-8 charset</string>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>UTF8 is the filesystem safe 8-bit encoding of Unicode that is used by the console. It can be be enabled for the filesystem with this option.</string>
+- </property>
+- </widget>
+- <widget class="TQCheckBox">
+- <property name="name">
+- <cstring>option_uid</cstring>
++ <string>Journaling:</string>
+ </property>
+- <property name="text">
+- <string>Mount as user</string>
++ <property name="buddy" stdset="0">
++ <cstring>option_journaling</cstring>
+ </property>
+ <property name="whatsThis" stdset="0">
+- <string>Mount this file system as user.</string>
+- </property>
+- </widget>
+- <widget class="TQLayoutWidget">
+- <property name="name">
+- <cstring>layout7</cstring>
+- </property>
+- <hbox>
+- <property name="name">
+- <cstring>unnamed</cstring>
+- </property>
+- <widget class="TQLabel">
+- <property name="name">
+- <cstring>text_journaling</cstring>
+- </property>
+- <property name="text">
+- <string>Journaling:</string>
+- </property>
+- <property name="buddy" stdset="0">
+- <cstring>option_journaling</cstring>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>&lt;h2&gt;Specifies the journalling mode for file data. Metadata is always journaled. &lt;/h2&gt;
++ <string>&lt;h2&gt;Specifies the journalling mode for file data. Metadata is always journaled. &lt;/h2&gt;
+
+ &lt;h3&gt;&lt;b&gt;All Data&lt;/b&gt;&lt;/h3&gt;
+ All data is committed into the journal prior to being written into the main file system. This is the slowest variant with the highest data security.
+@@ -218,29 +218,29 @@
+
+ &lt;h3&gt;&lt;b&gt;Write Back&lt;/b&gt;&lt;/h3&gt;
+ Data ordering is not preserved - data may be written into the main file system after its metadata has been committed to the journal. This is rumoured to be the highest-throughput option. It guarantees internal file system integrity, however it can allow old data to appear in files after a crash and journal recovery.</string>
+- </property>
+- </widget>
+- <widget class="TQComboBox">
+- <item>
+- <property name="text">
+- <string>All Data</string>
+- </property>
+- </item>
+- <item>
+- <property name="text">
+- <string>Ordered</string>
+- </property>
+- </item>
+- <item>
+- <property name="text">
+- <string>Write Back</string>
+- </property>
+- </item>
+- <property name="name">
+- <cstring>option_journaling</cstring>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>&lt;h2&gt;Specifies the journalling mode for file data. Metadata is always journaled. &lt;/h2&gt;
++ </property>
++ </widget>
++ <widget class="TQComboBox">
++ <item>
++ <property name="text">
++ <string>All Data</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Ordered</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Write Back</string>
++ </property>
++ </item>
++ <property name="name">
++ <cstring>option_journaling</cstring>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>&lt;h2&gt;Specifies the journalling mode for file data. Metadata is always journaled. &lt;/h2&gt;
+
+ &lt;h3&gt;&lt;b&gt;All Data&lt;/b&gt;&lt;/h3&gt;
+ All data is committed into the journal prior to being written into the main file system. This is the slowest variant with the highest data security.
+@@ -250,30 +250,30 @@
+
+ &lt;h3&gt;&lt;b&gt;Write Back&lt;/b&gt;&lt;/h3&gt;
+ Data ordering is not preserved - data may be written into the main file system after its metadata has been committed to the journal. This is rumoured to be the highest-throughput option. It guarantees internal file system integrity, however it can allow old data to appear in files after a crash and journal recovery.</string>
+- </property>
+- </widget>
+- </hbox>
++ </property>
+ </widget>
+- <widget class="TQLayoutWidget">
++ </hbox>
++ </widget>
++ <widget class="TQLayoutWidget">
++ <property name="name">
++ <cstring>layout14</cstring>
++ </property>
++ <hbox>
++ <property name="name">
++ <cstring>unnamed</cstring>
++ </property>
++ <widget class="TQLabel">
+ <property name="name">
+- <cstring>layout14</cstring>
++ <cstring>text_shortname</cstring>
+ </property>
+- <hbox>
+- <property name="name">
+- <cstring>unnamed</cstring>
+- </property>
+- <widget class="TQLabel">
+- <property name="name">
+- <cstring>text_shortname</cstring>
+- </property>
+- <property name="text">
+- <string>Short names:</string>
+- </property>
+- <property name="buddy" stdset="0">
+- <cstring>option_shortname</cstring>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>&lt;h2&gt;Defines the behaviour for creation and display of filenames which fit into 8.3 characters. If a long name for a file exists, it will always be preferred display.&lt;/h2&gt;
++ <property name="text">
++ <string>Short names:</string>
++ </property>
++ <property name="buddy" stdset="0">
++ <cstring>option_shortname</cstring>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>&lt;h2&gt;Defines the behaviour for creation and display of filenames which fit into 8.3 characters. If a long name for a file exists, it will always be preferred display.&lt;/h2&gt;
+
+ &lt;h3&gt;&lt;b&gt;Lower&lt;/b&gt;&lt;/h3&gt;
+ Force the short name to lower case upon display; store a long name when the short name is not all upper case.
+@@ -286,34 +286,34 @@
+
+ &lt;h3&gt;&lt;b&gt;Mixed&lt;/b&gt;&lt;/h3&gt;
+ Display the short name as is; store a long name when the short name is not all upper case.</string>
+- </property>
+- </widget>
+- <widget class="TQComboBox">
+- <item>
+- <property name="text">
+- <string>Lower</string>
+- </property>
+- </item>
+- <item>
+- <property name="text">
+- <string>Windows 95</string>
+- </property>
+- </item>
+- <item>
+- <property name="text">
+- <string>Windows NT</string>
+- </property>
+- </item>
+- <item>
+- <property name="text">
+- <string>Mixed</string>
+- </property>
+- </item>
+- <property name="name">
+- <cstring>option_shortname</cstring>
+- </property>
+- <property name="whatsThis" stdset="0">
+- <string>&lt;h2&gt;Defines the behaviour for creation and display of filenames which fit into 8.3 characters. If a long name for a file exists, it will always be preferred display.&lt;/h2&gt;
++ </property>
++ </widget>
++ <widget class="TQComboBox">
++ <item>
++ <property name="text">
++ <string>Lower</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Windows 95</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Windows NT</string>
++ </property>
++ </item>
++ <item>
++ <property name="text">
++ <string>Mixed</string>
++ </property>
++ </item>
++ <property name="name">
++ <cstring>option_shortname</cstring>
++ </property>
++ <property name="whatsThis" stdset="0">
++ <string>&lt;h2&gt;Defines the behaviour for creation and display of filenames which fit into 8.3 characters. If a long name for a file exists, it will always be preferred display.&lt;/h2&gt;
+
+ &lt;h3&gt;&lt;b&gt;Lower&lt;/b&gt;&lt;/h3&gt;
+ Force the short name to lower case upon display; store a long name when the short name is not all upper case.
+@@ -326,42 +326,40 @@
+
+ &lt;h3&gt;&lt;b&gt;Mixed&lt;/b&gt;&lt;/h3&gt;
+ Display the short name as is; store a long name when the short name is not all upper case.</string>
+- </property>
+- </widget>
+- </hbox>
++ </property>
+ </widget>
+- </vbox>
++ </hbox>
+ </widget>
+ </vbox>
+ </widget>
+- <widget class="TQLabel">
+- <property name="name">
+- <cstring>label_filesystem</cstring>
+- </property>
+- <property name="text">
+- <string>Filesystem: iso9660</string>
+- </property>
+- </widget>
+- <spacer>
+- <property name="name">
+- <cstring>spacer1</cstring>
+- </property>
+- <property name="orientation">
+- <enum>Vertical</enum>
+- </property>
+- <property name="sizeType">
+- <enum>Expanding</enum>
+- </property>
+- <property name="tqsizeHint">
+- <size>
+- <width>20</width>
+- <height>20</height>
+- </size>
+- </property>
+- </spacer>
+ </vbox>
+ </widget>
+- </hbox>
++ <widget class="TQLabel">
++ <property name="name">
++ <cstring>label_filesystem</cstring>
++ </property>
++ <property name="text">
++ <string>Filesystem: iso9660</string>
++ </property>
++ </widget>
++ <spacer>
++ <property name="name">
++ <cstring>spacer1</cstring>
++ </property>
++ <property name="orientation">
++ <enum>Vertical</enum>
++ </property>
++ <property name="sizeType">
++ <enum>Expanding</enum>
++ </property>
++ <property name="sizeHint">
++ <size>
++ <width>20</width>
++ <height>20</height>
++ </size>
++ </property>
++ </spacer>
++ </vbox>
+ </widget>
+ <connections>
+ <connection>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/nfs/kio_nfs.cpp v3.5.13-sru/kioslave/nfs/kio_nfs.cpp
+--- /tmp/stable//kdebase/kioslave/nfs/kio_nfs.cpp 2011-08-16 01:07:51.000000000 +0200
++++ v3.5.13-sru/kioslave/nfs/kio_nfs.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -807,7 +807,7 @@
+ struct passwd *user = getpwuid( uid );
+ if ( user )
+ {
+- m_usercache.insert( uid, new TQString(TQString::tqfromLatin1(user->pw_name)) );
++ m_usercache.insert( uid, new TQString(TQString::fromLatin1(user->pw_name)) );
+ atom.m_str = user->pw_name;
+ }
+ else
+@@ -825,7 +825,7 @@
+ struct group *grp = getgrgid( gid );
+ if ( grp )
+ {
+- m_groupcache.insert( gid, new TQString(TQString::tqfromLatin1(grp->gr_name)) );
++ m_groupcache.insert( gid, new TQString(TQString::fromLatin1(grp->gr_name)) );
+ atom.m_str = grp->gr_name;
+ }
+ else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/pop3/pop3.cc v3.5.13-sru/kioslave/pop3/pop3.cc
+--- /tmp/stable//kdebase/kioslave/pop3/pop3.cc 2011-08-11 07:25:35.000000000 +0200
++++ v3.5.13-sru/kioslave/pop3/pop3.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -242,8 +242,8 @@
+ QMIN(r_len, (buf[4] == ' ' ? recv_len - 5 : recv_len - 4)));
+ }
+
+- TQString command = TQString::tqfromLatin1(cmd);
+- TQString serverMsg = TQString::tqfromLatin1(buf).mid(5).stripWhiteSpace();
++ TQString command = TQString::fromLatin1(cmd);
++ TQString serverMsg = TQString::fromLatin1(buf).mid(5).stripWhiteSpace();
+
+ if (command.left(4) == "PASS") {
+ command = i18n("PASS <your password>");
+@@ -353,7 +353,7 @@
+ {
+ char buf[512];
+
+- TQString apop_string = TQString::tqfromLatin1("APOP ");
++ TQString apop_string = TQString::fromLatin1("APOP ");
+ if (m_sUser.isEmpty() || m_sPass.isEmpty()) {
+ // Prompt for usernames
+ if (!openPassDlg(ai)) {
+@@ -461,7 +461,7 @@
+ {
+ #ifdef HAVE_LIBSASL2
+ char buf[512];
+- TQString sasl_buffer = TQString::tqfromLatin1("AUTH");
++ TQString sasl_buffer = TQString::fromLatin1("AUTH");
+
+ int result;
+ sasl_conn_t *conn = NULL;
+@@ -525,13 +525,13 @@
+
+ TQByteArray challenge, tmp;
+
+- TQString firstCommand = "AUTH " + TQString::tqfromLatin1( mechusing );
++ TQString firstCommand = "AUTH " + TQString::fromLatin1( mechusing );
+ challenge.setRawData( out, outlen );
+ KCodecs::base64Encode( challenge, tmp );
+ challenge.resetRawData( out, outlen );
+ if ( !tmp.isEmpty() ) {
+ firstCommand += " ";
+- firstCommand += TQString::tqfromLatin1( tmp.data(), tmp.size() );
++ firstCommand += TQString::fromLatin1( tmp.data(), tmp.size() );
+ }
+
+ challenge.resize( 2049 );
+@@ -624,7 +624,7 @@
+ m_sOldUser = m_sUser;
+ m_sOldPass = m_sPass;
+
+- TQString one_string = TQString::tqfromLatin1("USER ");
++ TQString one_string = TQString::fromLatin1("USER ");
+ one_string.append( m_sUser );
+
+ if ( command(one_string.local8Bit(), buf, sizeof(buf)) != Ok ) {
+@@ -638,7 +638,7 @@
+ return false;
+ }
+
+- one_string = TQString::tqfromLatin1("PASS ");
++ one_string = TQString::fromLatin1("PASS ");
+ one_string.append(m_sPass);
+
+ if ( command(one_string.local8Bit(), buf, sizeof(buf)) != Ok ) {
+@@ -857,7 +857,7 @@
+ TQString cmd, path = url.path();
+ int maxCommands = (metaData("pipelining") == "on") ? MAX_COMMANDS : 1;
+
+- if (path.tqat(0) == '/')
++ if (path.at(0) == '/')
+ path.remove(0, 1);
+ if (path.isEmpty()) {
+ POP3_DEBUG << "We should be a dir!!" << endl;
+@@ -1176,7 +1176,7 @@
+ uds_url.setUser(m_sUser);
+ uds_url.setPass(m_sPass);
+ uds_url.setHost(m_sServer);
+- uds_url.setPath(TQString::tqfromLatin1("/download/%1").arg(i + 1));
++ uds_url.setPath(TQString::fromLatin1("/download/%1").arg(i + 1));
+ atom.m_str = uds_url.url();
+ atom.m_long = 0;
+ entry.append(atom);
+@@ -1207,7 +1207,7 @@
+ {
+ TQString _path = url.path();
+
+- if (_path.tqat(0) == '/')
++ if (_path.at(0) == '/')
+ _path.remove(0, 1);
+
+ UDSEntry entry;
+@@ -1244,7 +1244,7 @@
+ }
+
+ TQString _path = url.path();
+- if (_path.tqat(0) == '/') {
++ if (_path.at(0) == '/') {
+ _path.remove(0, 1);
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/settings/kio_settings.cc v3.5.13-sru/kioslave/settings/kio_settings.cc
+--- /tmp/stable//kdebase/kioslave/settings/kio_settings.cc 2011-03-12 07:57:56.000000000 +0100
++++ v3.5.13-sru/kioslave/settings/kio_settings.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -127,7 +127,7 @@
+
+ kdDebug() << "Trying harder to find group " << relPath << endl;
+ for (unsigned int i=0; i<rest.count(); i++)
+- kdDebug() << "Item (" << *rest.tqat(i) << ")" << endl;
++ kdDebug() << "Item (" << *rest.at(i) << ")" << endl;
+
+ while (!rest.isEmpty()) {
+ KServiceGroup::Ptr tmp = KServiceGroup::group(alreadyFound);
+@@ -251,7 +251,7 @@
+ continue;
+
+ // Ignore dotfiles.
+- if ((g->name().tqat(0) == '.'))
++ if ((g->name().at(0) == '.'))
+ continue;
+
+ TQString relPath = g->relPath();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/sftp/kio_sftp.cpp v3.5.13-sru/kioslave/sftp/kio_sftp.cpp
+--- /tmp/stable//kdebase/kioslave/sftp/kio_sftp.cpp 2011-03-12 07:57:57.000000000 +0100
++++ v3.5.13-sru/kioslave/sftp/kio_sftp.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -481,11 +481,7 @@
+ if( port > 0 )
+ mPort = port;
+ else {
+- struct servent *pse;
+- if( (pse = getservbyname("ssh", "tcp") ) == NULL )
+- mPort = 22;
+- else
+- mPort = ntohs(pse->s_port);
++ mPort = -1;
+ }
+
+ mUsername = user;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/sftp/ksshprocess.cpp v3.5.13-sru/kioslave/sftp/ksshprocess.cpp
+--- /tmp/stable//kdebase/kioslave/sftp/ksshprocess.cpp 2011-08-11 07:25:38.000000000 +0200
++++ v3.5.13-sru/kioslave/sftp/ksshprocess.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -206,7 +206,7 @@
+ KSshProcess::KSshProcess()
+ : mVersion(UNKNOWN_VER), mConnected(false),
+ mRunning(false), mConnectState(0) {
+- mSshPath = KStandardDirs::findExe(TQString::tqfromLatin1("ssh"));
++ mSshPath = KStandardDirs::findExe(TQString::fromLatin1("ssh"));
+ kdDebug(KSSHPROC) << "KSshProcess::KSshProcess(): ssh path [" <<
+ mSshPath << "]" << endl;
+
+@@ -292,7 +292,7 @@
+ return TQString::null;
+ }
+
+- return TQString::tqfromLatin1(versionStrs[mVersion]);
++ return TQString::fromLatin1(versionStrs[mVersion]);
+ }
+ */
+
+@@ -569,7 +569,9 @@
+ // If we still don't have anything in our buffer so there must
+ // not be anything on the pty or stderr. Setup a select()
+ // to wait for some data from SSH.
+- if( buffer.empty() ) {
++ // Hack around select() failure on newer systems
++ unsigned long milliseconds = 0;
++ while ((buffer.size() == 0) && (milliseconds < (60*1000))) {
+ //kdDebug(KSSHPROC) << "KSshProcess::getLine(): " <<
+ // "Line buffer empty, calling select() to wait for data." << endl;
+ int errfd = ssh.stderrFd();
+@@ -616,14 +618,18 @@
+ // had data on it first.
+ if( FD_ISSET(ptyfd, &rfds) ) {
+ ptyLine = ssh.readLineFromPty(false);
+- buffer.prepend(TQString(ptyLine));
++ if (ptyLine.size() > 0) {
++ buffer.prepend(TQString(ptyLine));
++ }
+ //kdDebug(KSSHPROC) << "KSshProcess::getLine(): "
+ // "line from pty -" << ptyLine << endl;
+ }
+-
++
+ if( FD_ISSET(errfd, &rfds) ) {
+ errLine = ssh.readLineFromStderr(false);
+- buffer.prepend(TQString(errLine));
++ if (errLine.size() > 0) {
++ buffer.prepend(TQString(errLine));
++ }
+ //kdDebug(KSSHPROC) << "KSshProcess::getLine(): "
+ // "line from err -" << errLine << endl;
+ }
+@@ -637,7 +643,11 @@
+ kdDebug(KSSHPROC) << "KSshProcess::getLine(): "
+ "Exception on std err file descriptor." << endl;
+ }
+-
++
++ if (buffer.size() == 0) {
++ milliseconds++;
++ usleep(1000);
++ }
+ }
+ }
+
+@@ -776,7 +786,7 @@
+ i18n("Error encountered while talking to ssh.");
+ mConnectState = STATE_FATAL;
+ }
+- else if( line.find(TQString::tqfromLatin1(passwordPrompt[mVersion]), 0, false) != -1 ) {
++ else if( line.find(TQString::fromLatin1(passwordPrompt[mVersion]), 0, false) != -1 ) {
+ mConnectState = STATE_TRY_PASSWD;
+ }
+ else if( line.find(passphrasePrompt[mVersion]) != -1 ) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/smb/kio_smb_auth.cpp v3.5.13-sru/kioslave/smb/kio_smb_auth.cpp
+--- /tmp/stable//kdebase/kioslave/smb/kio_smb_auth.cpp 2011-08-11 07:25:35.000000000 +0200
++++ v3.5.13-sru/kioslave/smb/kio_smb_auth.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -121,7 +121,7 @@
+ int index = share.find('/', 1);
+ if (index > 1)
+ share = share.left(index);
+- if (share.tqat(0) == '/')
++ if (share.at(0) == '/')
+ share = share.mid(1);
+ info.url.setPath("/" + share);
+ info.verifyPath = true;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/smb/kio_smb_browse.cpp v3.5.13-sru/kioslave/smb/kio_smb_browse.cpp
+--- /tmp/stable//kdebase/kioslave/smb/kio_smb_browse.cpp 2011-08-11 07:25:35.000000000 +0200
++++ v3.5.13-sru/kioslave/smb/kio_smb_browse.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -199,7 +199,7 @@
+ if (surl.length() == 5) // just the above
+ return kurl; // unchanged
+
+- if (surl.tqat(5) != '/') {
++ if (surl.at(5) != '/') {
+ surl = "smb://" + surl.mid(5);
+ kdDebug(KIO_SMB) << "checkURL return1 " << surl << " " << KURL(surl) << endl;
+ return KURL(surl);
+@@ -349,7 +349,7 @@
+ TQString comment = TQString::fromUtf8( dirp->comment );
+ if ( dirp->smbc_type == SMBC_SERVER || dirp->smbc_type == SMBC_WORKGROUP ) {
+ atom.m_str = dirpName.lower();
+- atom.m_str.tqat( 0 ) = dirpName.tqat( 0 ).upper();
++ atom.m_str.at( 0 ) = dirpName.at( 0 ).upper();
+ if ( !comment.isEmpty() && dirp->smbc_type == SMBC_SERVER )
+ atom.m_str += " (" + comment + ")";
+ } else
+@@ -409,7 +409,7 @@
+ udsentry.append(atom);
+
+ atom.m_uds = KIO::UDS_MIME_TYPE;
+- atom.m_str = TQString::tqfromLatin1("application/x-smb-server");
++ atom.m_str = TQString::fromLatin1("application/x-smb-server");
+ udsentry.append(atom);
+ }
+
+@@ -429,7 +429,7 @@
+ udsentry.append(atom);
+
+ atom.m_uds = KIO::UDS_MIME_TYPE;
+- atom.m_str = TQString::tqfromLatin1("application/x-smb-workgroup");
++ atom.m_str = TQString::fromLatin1("application/x-smb-workgroup");
+ udsentry.append(atom);
+
+ atom.m_uds = KIO::UDS_URL;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/smb/kio_smb_mount.cpp v3.5.13-sru/kioslave/smb/kio_smb_mount.cpp
+--- /tmp/stable//kdebase/kioslave/smb/kio_smb_mount.cpp 2011-08-11 07:25:35.000000000 +0200
++++ v3.5.13-sru/kioslave/smb/kio_smb_mount.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -54,8 +54,8 @@
+ TQString share,host;
+ if (sl.count()>=2)
+ {
+- host=(*sl.tqat(0)).mid(2);
+- share=(*sl.tqat(1));
++ host=(*sl.at(0)).mid(2);
++ share=(*sl.at(1));
+ kdDebug(KIO_SMB)<<"special() host -"<< host <<"- share -" << share <<"-"<<endl;
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/smtp/capabilities.h v3.5.13-sru/kioslave/smtp/capabilities.h
+--- /tmp/stable//kdebase/kioslave/smtp/capabilities.h 2011-08-11 07:25:36.000000000 +0200
++++ v3.5.13-sru/kioslave/smtp/capabilities.h 2012-09-08 19:41:29.000000000 +0200
+@@ -57,7 +57,7 @@
+ return mCapabilities.find( cap.upper() ) != mCapabilities.end();
+ }
+ bool have( const TQCString & cap ) const { return have( TQString( cap.data() ) ); }
+- bool have( const char * cap ) const { return have( TQString::tqfromLatin1( cap ) ); }
++ bool have( const char * cap ) const { return have( TQString::fromLatin1( cap ) ); }
+
+ TQString asMetaDataString() const;
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/smtp/command.cc v3.5.13-sru/kioslave/smtp/command.cc
+--- /tmp/stable//kdebase/kioslave/smtp/command.cc 2011-03-12 07:57:55.000000000 +0100
++++ v3.5.13-sru/kioslave/smtp/command.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -321,14 +321,14 @@
+ cmd = mUngetSASLResponse;
+ mUngetSASLResponse = 0;
+ } else if ( mFirstTime ) {
+- TQString firstCommand = "AUTH " + TQString::tqfromLatin1( mMechusing );
++ TQString firstCommand = "AUTH " + TQString::fromLatin1( mMechusing );
+
+ tmp.setRawData( mOut, mOutlen );
+ KCodecs::base64Encode( tmp, challenge );
+ tmp.resetRawData( mOut, mOutlen );
+ if ( !challenge.isEmpty() ) {
+ firstCommand += " ";
+- firstCommand += TQString::tqfromLatin1( challenge.data(), challenge.size() );
++ firstCommand += TQString::fromLatin1( challenge.data(), challenge.size() );
+ }
+ cmd = firstCommand.latin1();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/smtp/request.cc v3.5.13-sru/kioslave/smtp/request.cc
+--- /tmp/stable//kdebase/kioslave/smtp/request.cc 2011-08-11 07:25:36.000000000 +0200
++++ v3.5.13-sru/kioslave/smtp/request.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -93,7 +93,7 @@
+
+ static bool isUsAscii( const TQString & s ) {
+ for ( uint i = 0 ; i < s.length() ; ++i )
+- if ( s[i].tqunicode() > 127 ) return false;
++ if ( s[i].unicode() > 127 ) return false;
+ return true;
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/system/entries/documents.desktop v3.5.13-sru/kioslave/system/entries/documents.desktop
+--- /tmp/stable//kdebase/kioslave/system/entries/documents.desktop 2010-09-24 08:36:47.000000000 +0200
++++ v3.5.13-sru/kioslave/system/entries/documents.desktop 2012-09-08 19:41:29.000000000 +0200
+@@ -1,69 +1,58 @@
+ [Desktop Entry]
+ Type=Link
+-Path=$( kxdglauncher --getpath --xdgname DOCUMENTS )
++URL=$( kxdglauncher --getpath --xdgname DOCUMENTS )
+ Icon=folder_man
+ Name=Documents Folder
+ Name[af]=Dokument Gids
+-Name[ar]=مستنداتي
++Name[ar]=مستنداتي
+ Name[be]=âÑÂчúð ôûѠôðúуüõýтðў
+ Name[bg]=Ãâ€Ã¸Ñ€ÃµÃºÑ‚þрøѠѠôþúуüõýтø
+ Name[bn]=ডকà§Âমেনà§Âট ফোলà§Âডার
+-Name[br]=Renkell an teulioù
++Name[br]=Renkell an teulioù
+ Name[bs]=Direktorij dokumenata
+ Name[ca]=Carpeta de documents
+-Name[cs]=Složka s dokumenty
+-Name[csb]=Katalog dokùmentów
++Name[cs]=Složka s dokumenty
++Name[csb]=Katalog dokùmentów
+ Name[da]=Dokumentmappe
+ Name[de]=Dokumente
+-Name[el]=Φάκελο εγγÃÂάÆÉν
+ Name[eo]=Dokumenta dosierujo
+ Name[es]=Carpeta de documentos
+ Name[et]=Dokumentide kataloog
+ Name[eu]=Dokumentuen karpeta
+-Name[fa]=پوشۀ مستندات
++Name[fa]=پوشۀ مستندات
+ Name[fi]=Asiakirjakansio
+ Name[fr]=Dossier des documents
+ Name[fy]=Ofkeppele kamera
+-Name[ga]=Fillteán na gCáipéisí
++Name[ga]=Fillteán na gCáipéisí
+ Name[gl]=Cartafol de Documentos
+-Name[he]=תיקיית מסמכי×Â
+ Name[hr]=Mapa dokumenata
+-Name[hu]=Dokumentumok könyvtár
++Name[hu]=Dokumentumok könyvtár
+ Name[is]=Skjalamappa
+ Name[it]=Cartella documenti
+-Name[ja]=ドキュメントフォルダ
+-Name[ka]=დáƒÂკუმáƒâ€Ã¡Æ’œáƒ¢áƒâ€Ã¡Æ’‘ის დáƒÂსტáƒÂ
+-Name[kk]=Құöðттðр қðÿшығы
+-Name[km]=ážÂážÂ​ឯកសារ
+-Name[ko]=문서 íƒÂ색기
+-Name[lt]=Dokumentų aplankai
+-Name[mk]=ßðÿúð ÑÂþ ôþúуüõýтø
++Name[ja]=ドキュメントフォルダ
++Name[kk]=Құжаттар қапшығы
++Name[lt]=Dokumentų aplankai
+ Name[nb]=Dokumentmappe
+ Name[nds]=Dokmenten-Orner
+-Name[ne]=कागजात फोलà¥Âडर
+ Name[nl]=Documenten
+ Name[nn]=Dokumentmappe
+-Name[pa]=ਦਸਤਾਵੇਜ਼ ਫੋਲਡਰ
+-Name[pl]=Katalog dokumentów
++Name[pa]=ਦਸਤਾਵੇਜ਼ ਫੋਲਡਰ
++Name[pl]=Katalog dokumentów
+ Name[pt]=Pasta de Documentos
+ Name[pt_BR]=Pasta de Documentos
+ Name[ro]=Folder documente
+-Name[ru]=Ãâ€Ã¾ÃºÑƒÃ¼ÃµÃ½Ñ‚Ñ‹
+-Name[se]=Dokumeantamáhppa
+-Name[sk]=PrieÄÂinok dokumentov
++Name[ru]=Документы
++Name[se]=Dokumeantamáhppa
+ Name[sl]=Mapa z dokumenti
+-Name[sr]=äðÑÂцøúûð ÑÂð ôþúуüõýтøüð
+ Name[sr@Latn]=Fascikla sa dokumentima
+ Name[sv]=Dokumentkatalog
+-Name[te]=పతà±Âరాల ఫొలà±Âà°¡à°°à±Â
+-Name[tg]=Ҳуҷҷðтҳþ
+-Name[th]=โฟลเà¸â€Ã Â¸Â­Ã Â¸Â£Ã Â¹Å’เอà¸Âสาร
++Name[tg]=Ҳуҷҷатҳо
+ Name[tr]=Belgeler Dizini
+-Name[uk]=âõúð ôþúуüõýтіò
++Name[uk]=Тека документів
+ Name[uz]=Hujjatlar jildi
+-Name[uz@cyrillic]=Ҳуööðтûðр öøûôø
+-Name[vi]=Thư mục Tà i liệu
++Name[uz@cyrillic]=Ҳужжатлар жилди
++Name[vi]=Thư mục T� i liệu
+ Name[wa]=Ridant documints
+-Name[zh_CN]=文档文件夹
+-Name[zh_TW]=文件目錄
++Name[zh_CN]=文档文件夹
++Name[zh_TW]=文件目錄
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/system/kdedmodule/systemdirnotify.cpp v3.5.13-sru/kioslave/system/kdedmodule/systemdirnotify.cpp
+--- /tmp/stable//kdebase/kioslave/system/kdedmodule/systemdirnotify.cpp 2011-08-11 07:25:36.000000000 +0200
++++ v3.5.13-sru/kioslave/system/kdedmodule/systemdirnotify.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -36,6 +36,9 @@
+ void SystemDirNotify::init()
+ {
+ if( mInited )
++ // FIXME Work around a probable race condition by inserting printf delay before following
++ // code is executed -- the root cause of the race needs investigation and resolution.
++ printf("[systemdirnotify] SystemDirNotify::init(mInited)");
+ return;
+ mInited = true;
+ KGlobal::dirs()->addResourceType("system_entries",
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/tar/tar.cc v3.5.13-sru/kioslave/tar/tar.cc
+--- /tmp/stable//kdebase/kioslave/tar/tar.cc 2011-08-11 07:25:36.000000000 +0200
++++ v3.5.13-sru/kioslave/tar/tar.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -125,7 +125,7 @@
+ path.truncate( len - 1 );
+ }
+ else
+- path = TQString::tqfromLatin1("/");
++ path = TQString::fromLatin1("/");
+ kdDebug(7109) << "Found. archiveFile=" << archiveFile << " path=" << path << endl;
+ break;
+ }
+@@ -248,9 +248,9 @@
+
+ if ( path.isEmpty() )
+ {
+- KURL redir( url.protocol() + TQString::tqfromLatin1( ":/") );
++ KURL redir( url.protocol() + TQString::fromLatin1( ":/") );
+ kdDebug( 7109 ) << "url.path()==" << url.path() << endl;
+- redir.setPath( url.path() + TQString::tqfromLatin1("/") );
++ redir.setPath( url.path() + TQString::fromLatin1("/") );
+ kdDebug( 7109 ) << "ArchiveProtocol::listDir: redirection " << redir.url() << endl;
+ redirection( redir );
+ finished();
+@@ -360,7 +360,7 @@
+ const KArchiveEntry* archiveEntry;
+ if ( path.isEmpty() )
+ {
+- path = TQString::tqfromLatin1( "/" );
++ path = TQString::fromLatin1( "/" );
+ archiveEntry = root;
+ } else {
+ path = TQString::fromLocal8Bit(remoteEncoding()->encode(path));
+@@ -504,7 +504,7 @@
+ if ( !firstRead )
+ {
+ bufferSize = kMin( maxSize, fileSize );
+- buffer.tqresize( bufferSize, TQGArray::SpeedOptim );
++ buffer.resize( bufferSize, TQGArray::SpeedOptim );
+ }
+ const TQ_LONG read = io->readBlock( buffer.data(), buffer.size() ); // Avoid to use bufferSize here, in case something went wrong.
+ if ( read != bufferSize )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/thumbnail/textcreator.cpp v3.5.13-sru/kioslave/thumbnail/textcreator.cpp
+--- /tmp/stable//kdebase/kioslave/thumbnail/textcreator.cpp 2011-08-11 07:25:35.000000000 +0200
++++ v3.5.13-sru/kioslave/thumbnail/textcreator.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -158,13 +158,13 @@
+ }
+
+ // check for newlines in the text (unix,dos)
+- TQChar ch = text.tqat( i );
++ TQChar ch = text.at( i );
+ if ( ch == '\n' )
+ {
+ newLine = true;
+ continue;
+ }
+- else if ( ch == '\r' && text.tqat(i+1) == '\n' )
++ else if ( ch == '\r' && text.at(i+1) == '\n' )
+ {
+ newLine = true;
+ i++; // skip the next character (\n) as well
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/trash/kio_trash.cpp v3.5.13-sru/kioslave/trash/kio_trash.cpp
+--- /tmp/stable//kdebase/kioslave/trash/kio_trash.cpp 2011-03-12 07:57:55.000000000 +0100
++++ v3.5.13-sru/kioslave/trash/kio_trash.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -78,10 +78,10 @@
+ {
+ struct passwd *user = getpwuid( getuid() );
+ if ( user )
+- m_userName = TQString::tqfromLatin1(user->pw_name);
++ m_userName = TQString::fromLatin1(user->pw_name);
+ struct group *grp = getgrgid( getgid() );
+ if ( grp )
+- m_groupName = TQString::tqfromLatin1(grp->gr_name);
++ m_groupName = TQString::fromLatin1(grp->gr_name);
+ }
+
+ TrashProtocol::~TrashProtocol()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kioslave/trash/trashimpl.cpp v3.5.13-sru/kioslave/trash/trashimpl.cpp
+--- /tmp/stable//kdebase/kioslave/trash/trashimpl.cpp 2011-08-11 07:25:35.000000000 +0200
++++ v3.5.13-sru/kioslave/trash/trashimpl.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -262,7 +262,7 @@
+ info += KURL::encode_string( makeRelativePath( topDirectoryPath( trashId ), origPath ), m_mibEnum ).latin1();
+ info += "\n";
+ info += "DeletionDate=";
+- info += TQDateTime::tqcurrentDateTime().toString( Qt::ISODate ).latin1();
++ info += TQDateTime::currentDateTime().toString( Qt::ISODate ).latin1();
+ info += "\n";
+ size_t sz = info.size() - 1; // avoid trailing 0 from QCString
+
+@@ -429,7 +429,7 @@
+ kdDebug() << k_funcinfo << src << " -> " << dest << endl;
+ if ( ::rename( TQFile::encodeName( src ), TQFile::encodeName( dest ) ) != 0 ) {
+ if (errno == EXDEV) {
+- error( KIO::ERR_UNSUPPORTED_ACTION, TQString::tqfromLatin1("rename") );
++ error( KIO::ERR_UNSUPPORTED_ACTION, TQString::fromLatin1("rename") );
+ } else {
+ if (( errno == EACCES ) || (errno == EPERM)) {
+ error( KIO::ERR_ACCESS_DENIED, dest );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/applet.cpp v3.5.13-sru/klipper/applet.cpp
+--- /tmp/stable//kdebase/klipper/applet.cpp 2011-03-12 07:58:08.000000000 +0100
++++ v3.5.13-sru/klipper/applet.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -91,7 +91,7 @@
+
+ void KlipperApplet::help()
+ {
+- kapp->invokeHelp(TQString::null, TQString::tqfromLatin1("klipper"));
++ kapp->invokeHelp(TQString::null, TQString::fromLatin1("klipper"));
+ }
+
+ void KlipperApplet::about()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/clipboardpoll.cpp v3.5.13-sru/klipper/clipboardpoll.cpp
+--- /tmp/stable//kdebase/klipper/clipboardpoll.cpp 2011-04-04 02:00:41.000000000 +0200
++++ v3.5.13-sru/klipper/clipboardpoll.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -109,8 +109,8 @@
+
+ void ClipboardPoll::initPolling()
+ {
+- connect( kapp->tqclipboard(), TQT_SIGNAL( selectionChanged() ), TQT_SLOT(qtSelectionChanged()));
+- connect( kapp->tqclipboard(), TQT_SIGNAL( dataChanged() ), TQT_SLOT( qtClipboardChanged() ));
++ connect( kapp->clipboard(), TQT_SIGNAL( selectionChanged() ), TQT_SLOT(qtSelectionChanged()));
++ connect( kapp->clipboard(), TQT_SIGNAL( dataChanged() ), TQT_SLOT( qtClipboardChanged() ));
+ connect( &timer, TQT_SIGNAL( timeout()), TQT_SLOT( timeout()));
+ timer.start( 1000, false );
+ selection.atom = XA_PRIMARY;
+@@ -147,7 +147,7 @@
+ if( xfixes_event_base != -1 && e->type == xfixes_event_base + XFixesSelectionNotify )
+ {
+ XFixesSelectionNotifyEvent* ev = reinterpret_cast< XFixesSelectionNotifyEvent* >( e );
+- if( ev->selection == XA_PRIMARY && !kapp->tqclipboard()->ownsSelection())
++ if( ev->selection == XA_PRIMARY && !kapp->clipboard()->ownsSelection())
+ {
+ #ifdef NOISY_KLIPPER_
+ kdDebug() << "SELECTION CHANGED (XFIXES)" << endl;
+@@ -155,7 +155,7 @@
+ SET_QT_X_TIME(ev->timestamp);
+ emit clipboardChanged( true );
+ }
+- else if( ev->selection == xa_clipboard && !kapp->tqclipboard()->ownsClipboard())
++ else if( ev->selection == xa_clipboard && !kapp->clipboard()->ownsClipboard())
+ {
+ #ifdef NOISY_KLIPPER_
+ kdDebug() << "CLIPBOARD CHANGED (XFIXES)" << endl;
+@@ -218,13 +218,13 @@
+ void ClipboardPoll::timeout()
+ {
+ KlipperWidget::updateTimestamp();
+- if( !kapp->tqclipboard()->ownsSelection() && checkTimestamp( selection ) ) {
++ if( !kapp->clipboard()->ownsSelection() && checkTimestamp( selection ) ) {
+ #ifdef NOISY_KLIPPER_
+ kdDebug() << "SELECTION CHANGED" << endl;
+ #endif
+ emit clipboardChanged( true );
+ }
+- if( !kapp->tqclipboard()->ownsClipboard() && checkTimestamp( clipboard ) ) {
++ if( !kapp->clipboard()->ownsClipboard() && checkTimestamp( clipboard ) ) {
+ #ifdef NOISY_KLIPPER_
+ kdDebug() << "CLIPBOARD CHANGED" << endl;
+ #endif
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/CMakeLists.txt v3.5.13-sru/klipper/CMakeLists.txt
+--- /tmp/stable//kdebase/klipper/CMakeLists.txt 2011-08-21 09:08:16.000000000 +0200
++++ v3.5.13-sru/klipper/CMakeLists.txt 2012-09-08 19:41:29.000000000 +0200
+@@ -27,7 +27,7 @@
+ install( FILES klipper.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+ install( FILES klipper.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
+ install( FILES klipper.desktop DESTINATION ${DATA_INSTALL_DIR}/kicker/applets )
+-install( FILES klipper.desktop DESTINATION ${CONFIG_INSTALL_DIR} RENAME klipperrc )
++install( FILES klipperrc.desktop DESTINATION ${CONFIG_INSTALL_DIR} RENAME klipperrc )
+ install( FILES klipperrc.upd klippershortcuts.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+ install( PROGRAMS klipper-1-2.pl klipper-trinity1.sh DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/configdialog.cpp v3.5.13-sru/klipper/configdialog.cpp
+--- /tmp/stable//kdebase/klipper/configdialog.cpp 2011-08-11 07:25:45.000000000 +0200
++++ v3.5.13-sru/klipper/configdialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -66,7 +66,7 @@
+ {
+ if ( !isVisible() ) {
+ KWinModule module(0, KWinModule::INFO_DESKTOP);
+- TQSize s1 = tqsizeHint();
++ TQSize s1 = sizeHint();
+ TQSize s2 = module.workArea().size();
+ int w = s1.width();
+ int h = s1.height();
+@@ -299,13 +299,13 @@
+ connect( delActionButton, TQT_SIGNAL( clicked() ), TQT_SLOT( slotDeleteAction() ));
+
+ TQLabel *label = new TQLabel(i18n("Click on a highlighted item's column to change it. \"%s\" in a command will be replaced with the clipboard contents."), box);
+- label->tqsetAlignment( WordBreak | AlignLeft | AlignVCenter );
++ label->setAlignment( WordBreak | AlignLeft | AlignVCenter );
+
+ box->setStretchFactor( label, 5 );
+
+ box = new TQHBox( this );
+ TQPushButton *advanced = new TQPushButton( i18n("Advanced..."), box );
+- advanced->setFixedSize( advanced->tqsizeHint() );
++ advanced->setFixedSize( advanced->sizeHint() );
+ connect( advanced, TQT_SIGNAL( clicked() ), TQT_SLOT( slotAdvanced() ));
+ (void) new TQWidget( box ); // spacer
+
+@@ -410,8 +410,8 @@
+ AdvancedWidget *widget = new AdvancedWidget( box );
+ widget->setWMClasses( m_wmClasses );
+
+- dlg.resize( dlg.tqsizeHint().width(),
+- dlg.tqsizeHint().height() +40); // or we get an ugly scrollbar :(
++ dlg.resize( dlg.sizeHint().width(),
++ dlg.sizeHint().height() +40); // or we get an ugly scrollbar :(
+
+ if ( dlg.exec() == TQDialog::Accepted ) {
+ m_wmClasses = widget->wmClasses();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/configdialog.h v3.5.13-sru/klipper/configdialog.h
+--- /tmp/stable//kdebase/klipper/configdialog.h 2011-03-12 07:58:08.000000000 +0100
++++ v3.5.13-sru/klipper/configdialog.h 2012-09-08 19:41:29.000000000 +0200
+@@ -237,11 +237,11 @@
+ ListView( ConfigDialog* configWidget, TQWidget *parent, const char *name )
+ : KListView( parent, name ), _configWidget( configWidget ),
+ _regExpEditor(0L) {}
+- // TQListView has a weird idea of a tqsizeHint...
+- virtual TQSize tqsizeHint () const {
+- int w = tqminimumSizeHint().width();
++ // TQListView has a weird idea of a sizeHint...
++ virtual TQSize sizeHint () const {
++ int w = minimumSizeHint().width();
+ int h = header()->height();
+- h += viewport()->tqsizeHint().height();
++ h += viewport()->sizeHint().height();
+ h += horizontalScrollBar()->height();
+
+ TQListViewItem *item = firstChild();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/historyitem.cpp v3.5.13-sru/klipper/historyitem.cpp
+--- /tmp/stable//kdebase/klipper/historyitem.cpp 2011-03-12 07:58:08.000000000 +0100
++++ v3.5.13-sru/klipper/historyitem.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -52,8 +52,8 @@
+ TQMap<TQString,TQString> metaData;
+ if( KURLDrag::decode( &aSource, urls, metaData )) {
+ // this is from KonqDrag (libkonq)
+- TQByteArray a = aSource.tqencodedData( "application/x-kde-cutselection" );
+- bool cut = !a.isEmpty() && (a.tqat(0) == '1'); // true if 1
++ TQByteArray a = aSource.encodedData( "application/x-kde-cutselection" );
++ bool cut = !a.isEmpty() && (a.at(0) == '1'); // true if 1
+ return new HistoryURLItem( urls, metaData, cut );
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/popupproxy.cpp v3.5.13-sru/klipper/popupproxy.cpp
+--- /tmp/stable//kdebase/klipper/popupproxy.cpp 2011-08-11 07:25:45.000000000 +0200
++++ v3.5.13-sru/klipper/popupproxy.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -109,7 +109,7 @@
+ Q_ASSERT( id != -1 ); // Be sure that the item was inserted.
+ TQMenuItem* mi = proxy_for_menu->findItem( id );
+ int fontheight = TQFontMetrics( proxy_for_menu->fontMetrics() ).height();
+- int itemheight = proxy_for_menu->tqstyle().tqsizeFromContents(TQStyle::CT_PopupMenuItem,
++ int itemheight = proxy_for_menu->style().tqsizeFromContents(TQStyle::CT_PopupMenuItem,
+ proxy_for_menu,
+ TQSize( 0, fontheight ),
+ TQStyleOption(mi,10,0) ).height();
+@@ -133,7 +133,7 @@
+ // discarding any that doesn't match the current filter.
+ // stop when the total number of items equal m_itemsPerMenu;
+ int count = 0;
+- int remainingHeight = m_menu_height - proxy_for_menu->tqsizeHint().height();
++ int remainingHeight = m_menu_height - proxy_for_menu->sizeHint().height();
+ // Force at least one item to be inserted.
+ remainingHeight = QMAX( remainingHeight, 0 );
+ for ( const HistoryItem* item = spillPointer.current();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/toplevel.cpp v3.5.13-sru/klipper/toplevel.cpp
+--- /tmp/stable//kdebase/klipper/toplevel.cpp 2011-07-09 08:16:55.000000000 +0200
++++ v3.5.13-sru/klipper/toplevel.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -110,7 +110,7 @@
+ *
+ * Saving history on session save
+ */
+- virtual bool commitData( QSessionManager& ) {
++ virtual bool commitData( TQSessionManager& ) {
+ klipper->saveSession();
+ return true;
+ }
+@@ -119,7 +119,7 @@
+ };
+
+ extern bool qt_qclipboard_bailout_hack;
+-#if KDE_IS_VERSION( 3, 9, 0 )
++#if KDE_IS_VERSION( 15, 0, 0 )
+ #error Check status of #80072 with Qt4.
+ #endif
+
+@@ -142,7 +142,7 @@
+
+ updateTimestamp(); // read initial X user time
+ setBackgroundMode( X11ParentRelative );
+- clip = kapp->tqclipboard();
++ clip = kapp->clipboard();
+
+ connect( &m_overflowClearTimer, TQT_SIGNAL( timeout()), TQT_SLOT( slotClearOverflow()));
+ m_overflowClearTimer.start( 1000 );
+@@ -327,7 +327,7 @@
+ {
+ Q_ASSERT( menu != 0L );
+
+- TQSize size = menu->tqsizeHint(); // geometry is not valid until it's shown
++ TQSize size = menu->sizeHint(); // geometry is not valid until it's shown
+ if (bPopupAtMouse) {
+ TQPoint g = TQCursor::pos();
+ if ( size.height() < g.y() )
+@@ -1013,13 +1013,13 @@
+ //
+ bool KlipperWidget::ignoreClipboardChanges() const
+ {
+- TQWidget *tqfocusWidget = tqApp->tqfocusWidget();
+- if ( tqfocusWidget )
++ TQWidget *focusWidget = tqApp->focusWidget();
++ if ( focusWidget )
+ {
+- if ( tqfocusWidget->inherits( TQSPINBOX_OBJECT_NAME_STRING ) ||
+- (tqfocusWidget->parentWidget() &&
+- tqfocusWidget->inherits(TQLINEEDIT_OBJECT_NAME_STRING) &&
+- tqfocusWidget->parentWidget()->inherits(TQSPINWIDGET_OBJECT_NAME_STRING)) )
++ if ( focusWidget->inherits( TQSPINBOX_OBJECT_NAME_STRING ) ||
++ (focusWidget->parentWidget() &&
++ focusWidget->inherits(TQLINEEDIT_OBJECT_NAME_STRING) &&
++ focusWidget->parentWidget()->inherits(TQSPINWIDGET_OBJECT_NAME_STRING)) )
+ {
+ return true;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/urlgrabber.cpp v3.5.13-sru/klipper/urlgrabber.cpp
+--- /tmp/stable//kdebase/klipper/urlgrabber.cpp 2011-08-11 07:25:45.000000000 +0200
++++ v3.5.13-sru/klipper/urlgrabber.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -379,7 +379,7 @@
+ {
+ if ( myMenu && myMenu->isVisible() )
+ {
+- if ( myMenu->tqgeometry().contains( TQCursor::pos() ) &&
++ if ( myMenu->geometry().contains( TQCursor::pos() ) &&
+ myPopupKillTimeout > 0 )
+ {
+ myPopupKillTimer->start( 1000 * myPopupKillTimeout, true );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/klipper/urlgrabber.h v3.5.13-sru/klipper/urlgrabber.h
+--- /tmp/stable//kdebase/klipper/urlgrabber.h 2011-03-12 07:58:08.000000000 +0100
++++ v3.5.13-sru/klipper/urlgrabber.h 2012-09-08 19:41:29.000000000 +0200
+@@ -132,7 +132,7 @@
+ inline bool matches( const TQString& string ) {
+ int res = myRegExp.search( string ) ;
+ if ( res != -1 ) {
+- myCapturedTexts = myRegExp.tqcapturedTexts();
++ myCapturedTexts = myRegExp.capturedTexts();
+ return true;
+ }
+ return false;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kmenuedit/basictab.cpp v3.5.13-sru/kmenuedit/basictab.cpp
+--- /tmp/stable//kdebase/kmenuedit/basictab.cpp 2011-03-12 07:57:59.000000000 +0100
++++ v3.5.13-sru/kmenuedit/basictab.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -468,8 +468,8 @@
+ if (signalsBlocked())
+ return;
+
+- if( KKeyChooser::checkGlobalShortcutsConflict( cut, true, tqtopLevelWidget())
+- || KKeyChooser::checkStandardShortcutsConflict( cut, true, tqtopLevelWidget()))
++ if( KKeyChooser::checkGlobalShortcutsConflict( cut, true, topLevelWidget())
++ || KKeyChooser::checkStandardShortcutsConflict( cut, true, topLevelWidget()))
+ return;
+
+ if ( KHotKeys::present() )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kmenuedit/kmenuedit.cpp v3.5.13-sru/kmenuedit/kmenuedit.cpp
+--- /tmp/stable//kdebase/kmenuedit/kmenuedit.cpp 2011-03-12 07:58:00.000000000 +0100
++++ v3.5.13-sru/kmenuedit/kmenuedit.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -121,7 +121,7 @@
+ #endif
+
+ // disabling the updates prevents unnecessary redraws
+- tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+ guiFactory()->removeClient( this );
+
+ delete m_actionDelete;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/knetattach/knetattach.ui v3.5.13-sru/knetattach/knetattach.ui
+--- /tmp/stable//kdebase/knetattach/knetattach.ui 2011-03-12 07:58:00.000000000 +0100
++++ v3.5.13-sru/knetattach/knetattach.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -96,7 +96,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>250</width>
+ <height>0</height>
+@@ -131,7 +131,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>31</width>
+ <height>16</height>
+@@ -145,7 +145,7 @@
+ <property name="text">
+ <string>Select the type of network folder you wish to connect to and press the Next button.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+@@ -159,7 +159,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>21</height>
+@@ -186,7 +186,7 @@
+ <property name="text">
+ <string>Enter a name for this &lt;i&gt;%1&lt;/i&gt; as well as the server address, port and folder path to use and press the Next button.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+@@ -200,7 +200,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>21</height>
+@@ -327,7 +327,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>560</width>
+ <height>16</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/about/konq_aboutpage.cc v3.5.13-sru/konqueror/about/konq_aboutpage.cc
+--- /tmp/stable//kdebase/konqueror/about/konq_aboutpage.cc 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/about/konq_aboutpage.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -77,9 +77,9 @@
+ res = t.read();
+
+ // otherwise all embedded objects are referenced as about:/...
+- TQString basehref = TQString::tqfromLatin1("<BASE HREF=\"file:") +
++ TQString basehref = TQString::fromLatin1("<BASE HREF=\"file:") +
+ file.left( file.findRev( '/' )) +
+- TQString::tqfromLatin1("/\">\n");
++ TQString::fromLatin1("/\">\n");
+ TQRegExp reg("<head>");
+ reg.setCaseSensitive(FALSE);
+ res.replace(reg, "<head>\n\t" + basehref);
+@@ -110,11 +110,11 @@
+ TQString home_folder = TQDir::homeDirPath();
+ TQString continue_icon_path = TQApplication::reverseLayout()?iconloader->iconPath("1leftarrow", KIcon::Small ):iconloader->iconPath("1rightarrow", KIcon::Small );
+
+- res = res.tqarg( locate( "data", "kdeui/about/kde_infopage.css" ) );
++ res = res.arg( locate( "data", "kdeui/about/kde_infopage.css" ) );
+ if ( kapp->reverseLayout() )
+- res = res.tqarg( "@import \"%1\";" ).tqarg( locate( "data", "kdeui/about/kde_infopage_rtl.css" ) );
++ res = res.arg( "@import \"%1\";" ).arg( locate( "data", "kdeui/about/kde_infopage_rtl.css" ) );
+ else
+- res = res.tqarg( "" );
++ res = res.arg( "" );
+
+ // Try to split page in three. If it succeeds, insert the default search into the middle part.
+ TQStringList parts = TQStringList::split( "<!--search bar splitter-->", res );
+@@ -123,56 +123,56 @@
+ config.setGroup( "General" );
+ TQString name = config.readEntry("DefaultSearchEngine");
+ KService::Ptr service =
+- KService::serviceByDesktopPath(TQString("searchproviders/%1.desktop").tqarg(name));
++ KService::serviceByDesktopPath(TQString("searchproviders/%1.desktop").arg(name));
+ if ( service ) {
+ TQString searchBar = parts[1];
+ searchBar = searchBar
+- .tqarg( iconSize ).tqarg( iconSize )
+- .tqarg( service->name() )
+- .tqarg( service->property("Keys").toStringList()[0] )
++ .arg( iconSize ).arg( iconSize )
++ .arg( service->name() )
++ .arg( service->property("Keys").toStringList()[0] )
+ ;
+ res = parts[0] + searchBar + parts[2];
+ }
+ else res = parts[0] + parts[2];
+ }
+
+- res = res.tqarg( i18n("Conquer your Desktop!") )
+- .tqarg( i18n( "Konqueror" ) )
+- .tqarg( i18n("Conquer your Desktop!") )
+- .tqarg( i18n("Konqueror is your file manager, web browser and universal document viewer.") )
+- .tqarg( i18n( "Starting Points" ) )
+- .tqarg( i18n( "Introduction" ) )
+- .tqarg( i18n( "Tips" ) )
+- .tqarg( i18n( "Specifications" ) )
+- .tqarg( home_folder )
+- .tqarg( home_icon_path )
+- .tqarg(iconSize).tqarg(iconSize)
+- .tqarg( home_folder )
+- .tqarg( i18n( "Home Folder" ) )
+- .tqarg( i18n( "Your personal files" ) )
+- .tqarg( storage_icon_path )
+- .tqarg(iconSize).tqarg(iconSize)
+- .tqarg( i18n( "Storage Media" ) )
+- .tqarg( i18n( "Disks and removable media" ) )
+- .tqarg( remote_icon_path )
+- .tqarg(iconSize).tqarg(iconSize)
+- .tqarg( i18n( "Network Folders" ) )
+- .tqarg( i18n( "Shared files and folders" ) )
+- .tqarg( wastebin_icon_path )
+- .tqarg(iconSize).tqarg(iconSize)
+- .tqarg( i18n( "Trash" ) )
+- .tqarg( i18n( "Browse and restore the trash" ) )
+- .tqarg( applications_icon_path )
+- .tqarg(iconSize).tqarg(iconSize)
+- .tqarg( i18n( "Applications" ) )
+- .tqarg( i18n( "Installed programs" ) )
+- .tqarg( help_icon_path )
+- .tqarg(iconSize).tqarg(iconSize)
+- .tqarg( i18n( "About Kubuntu" ) )
+- .tqarg( i18n( "<a href=\"help:/kubuntu/\">Kubuntu Documentation</a>" ) )
+- .tqarg( continue_icon_path )
+- .tqarg( KIcon::SizeSmall ).tqarg( KIcon::SizeSmall )
+- .tqarg( i18n( "Next: An Introduction to Konqueror" ) )
++ res = res.arg( i18n("Conquer your Desktop!") )
++ .arg( i18n( "Konqueror" ) )
++ .arg( i18n("Conquer your Desktop!") )
++ .arg( i18n("Konqueror is your file manager, web browser and universal document viewer.") )
++ .arg( i18n( "Starting Points" ) )
++ .arg( i18n( "Introduction" ) )
++ .arg( i18n( "Tips" ) )
++ .arg( i18n( "Specifications" ) )
++ .arg( home_folder )
++ .arg( home_icon_path )
++ .arg(iconSize).arg(iconSize)
++ .arg( home_folder )
++ .arg( i18n( "Home Folder" ) )
++ .arg( i18n( "Your personal files" ) )
++ .arg( storage_icon_path )
++ .arg(iconSize).arg(iconSize)
++ .arg( i18n( "Storage Media" ) )
++ .arg( i18n( "Disks and removable media" ) )
++ .arg( remote_icon_path )
++ .arg(iconSize).arg(iconSize)
++ .arg( i18n( "Network Folders" ) )
++ .arg( i18n( "Shared files and folders" ) )
++ .arg( wastebin_icon_path )
++ .arg(iconSize).arg(iconSize)
++ .arg( i18n( "Trash" ) )
++ .arg( i18n( "Browse and restore the trash" ) )
++ .arg( applications_icon_path )
++ .arg(iconSize).arg(iconSize)
++ .arg( i18n( "Applications" ) )
++ .arg( i18n( "Installed programs" ) )
++ .arg( settings_icon_path )
++ .arg(iconSize).arg(iconSize)
++ .arg( i18n( "Settings" ) )
++ .arg( i18n( "Desktop configuration" ) )
++ .arg( continue_icon_path )
++ .arg( KIcon::SizeSmall ).arg( KIcon::SizeSmall )
++ .arg( i18n( "Next: An Introduction to Konqueror" ) )
+ ;
+ i18n("Search the Web");//i18n for possible future use
+
+@@ -195,42 +195,42 @@
+ TQString gohome_icon_path = iconloader->iconPath("gohome", KIcon::Small );
+ TQString continue_icon_path = TQApplication::reverseLayout()?iconloader->iconPath("1leftarrow", KIcon::Small ):iconloader->iconPath("1rightarrow", KIcon::Small );
+
+- res = res.tqarg( locate( "data", "kdeui/about/kde_infopage.css" ) );
++ res = res.arg( locate( "data", "kdeui/about/kde_infopage.css" ) );
+ if ( kapp->reverseLayout() )
+- res = res.tqarg( "@import \"%1\";" ).tqarg( locate( "data", "kdeui/about/kde_infopage_rtl.css" ) );
++ res = res.arg( "@import \"%1\";" ).arg( locate( "data", "kdeui/about/kde_infopage_rtl.css" ) );
+ else
+- res = res.tqarg( "" );
++ res = res.arg( "" );
+
+- res = res.tqarg( i18n("Conquer your Desktop!") )
+- .tqarg( i18n( "Konqueror" ) )
+- .tqarg( i18n( "Conquer your Desktop!") )
+- .tqarg( i18n( "Konqueror is your file manager, web browser and universal document viewer.") )
+- .tqarg( i18n( "Starting Points" ) )
+- .tqarg( i18n( "Introduction" ) )
+- .tqarg( i18n( "Tips" ) )
+- .tqarg( i18n( "Specifications" ) )
+- .tqarg( i18n( "Konqueror makes working with and managing your files easy. You can browse "
++ res = res.arg( i18n("Conquer your Desktop!") )
++ .arg( i18n( "Konqueror" ) )
++ .arg( i18n( "Conquer your Desktop!") )
++ .arg( i18n( "Konqueror is your file manager, web browser and universal document viewer.") )
++ .arg( i18n( "Starting Points" ) )
++ .arg( i18n( "Introduction" ) )
++ .arg( i18n( "Tips" ) )
++ .arg( i18n( "Specifications" ) )
++ .arg( i18n( "Konqueror makes working with and managing your files easy. You can browse "
+ "both local and networked folders while enjoying advanced features "
+ "such as the powerful sidebar and file previews."
+ ) )
+- .tqarg( i18n( "Konqueror is also a full featured and easy to use web browser which you "
++ .arg( i18n( "Konqueror is also a full featured and easy to use web browser which you "
+ "can use to explore the Internet. "
+ "Enter the address (e.g. <a href=\"http://www.kde.org\">http://www.kde.org</A>) "
+ "of a web page you would like to visit in the location bar and press Enter, "
+ "or choose an entry from the Bookmarks menu.") )
+- .tqarg( i18n( "To return to the previous "
++ .arg( i18n( "To return to the previous "
+ "location, press the back button <img width='16' height='16' src=\"%1\"> "
+- "in the toolbar. ").tqarg( back_icon_path ) )
+- .tqarg( i18n( "To quickly go to your Home folder press the "
+- " home button <img width='16' height='16' src=\"%1\">." ).tqarg(gohome_icon_path) )
+- .tqarg( i18n( "For more detailed documentation on Konqueror click <a href=\"%1\">here</a>." )
+- .tqarg("exec:/khelpcenter") )
+- .tqarg( i18n( "<em>Tuning Tip:</em> If you want the Konqueror web browser to start faster,"
++ "in the toolbar. ").arg( back_icon_path ) )
++ .arg( i18n( "To quickly go to your Home folder press the "
++ " home button <img width='16' height='16' src=\"%1\">." ).arg(gohome_icon_path) )
++ .arg( i18n( "For more detailed documentation on Konqueror click <a href=\"%1\">here</a>." )
++ .arg("exec:/khelpcenter") )
++ .arg( i18n( "<em>Tuning Tip:</em> If you want the Konqueror web browser to start faster,"
+ " you can turn off this information screen by clicking <a href=\"%1\">here</a>. You can re-enable it"
+ " by choosing the Help -> Konqueror Introduction menu option, and then pressing "
+- "Settings -> Save View Profile \"Web Browsing\".").tqarg("config:/disable_overview") )
+- .tqarg( "<img width='16' height='16' src=\"%1\">" ).tqarg( continue_icon_path )
+- .tqarg( i18n( "Next: Tips &amp; Tricks" ) )
++ "Settings -> Save View Profile \"Web Browsing\".").arg("config:/disable_overview") )
++ .arg( "<img width='16' height='16' src=\"%1\">" ).arg( continue_icon_path )
++ .arg( i18n( "Next: Tips &amp; Tricks" ) )
+ ;
+
+
+@@ -250,69 +250,69 @@
+ if ( res.isEmpty() )
+ return res;
+
+- res = res.tqarg( locate( "data", "kdeui/about/kde_infopage.css" ) );
++ res = res.arg( locate( "data", "kdeui/about/kde_infopage.css" ) );
+ if ( kapp->reverseLayout() )
+- res = res.tqarg( "@import \"%1\";" ).tqarg( locate( "data", "kdeui/about/kde_infopage_rtl.css" ) );
++ res = res.arg( "@import \"%1\";" ).arg( locate( "data", "kdeui/about/kde_infopage_rtl.css" ) );
+ else
+- res = res.tqarg( "" );
++ res = res.arg( "" );
+
+- res = res.tqarg( i18n("Conquer your Desktop!") )
+- .tqarg( i18n( "Konqueror" ) )
+- .tqarg( i18n("Conquer your Desktop!") )
+- .tqarg( i18n("Konqueror is your file manager, web browser and universal document viewer.") )
+- .tqarg( i18n( "Starting Points" ) )
+- .tqarg( i18n( "Introduction" ) )
+- .tqarg( i18n( "Tips" ) )
+- .tqarg( i18n( "Specifications" ) )
+- .tqarg( i18n("Specifications") )
+- .tqarg( i18n("Konqueror is designed to embrace and support Internet standards. "
++ res = res.arg( i18n("Conquer your Desktop!") )
++ .arg( i18n( "Konqueror" ) )
++ .arg( i18n("Conquer your Desktop!") )
++ .arg( i18n("Konqueror is your file manager, web browser and universal document viewer.") )
++ .arg( i18n( "Starting Points" ) )
++ .arg( i18n( "Introduction" ) )
++ .arg( i18n( "Tips" ) )
++ .arg( i18n( "Specifications" ) )
++ .arg( i18n("Specifications") )
++ .arg( i18n("Konqueror is designed to embrace and support Internet standards. "
+ "The aim is to fully implement the officially sanctioned standards "
+ "from organizations such as the W3 and OASIS, while also adding "
+ "extra support for other common usability features that arise as "
+ "de facto standards across the Internet. Along with this support, "
+ "for such functions as favicons, Internet Keywords, and <A HREF=\"%1\">XBEL bookmarks</A>, "
+- "Konqueror also implements:").tqarg("http://pyxml.sourceforge.net/topics/xbel/") )
+- .tqarg( i18n("Web Browsing") )
+- .tqarg( i18n("Supported standards") )
+- .tqarg( i18n("Additional requirements*") )
+- .tqarg( i18n("<A HREF=\"%1\">DOM</A> (Level 1, partially Level 2) based "
+- "<A HREF=\"%2\">HTML 4.01</A>").tqarg("http://www.w3.org/DOM").tqarg("http://www.w3.org/TR/html4/") )
+- .tqarg( i18n("built-in") )
+- .tqarg( i18n("<A HREF=\"%1\">Cascading Style Sheets</A> (CSS 1, partially CSS 2)").tqarg("http://www.w3.org/Style/CSS/") )
+- .tqarg( i18n("built-in") )
+- .tqarg( i18n("<A HREF=\"%1\">ECMA-262</A> Edition 3 (roughly equals JavaScript 1.5)").tqarg("http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM") )
+- .tqarg( i18n("JavaScript disabled (globally). Enable JavaScript <A HREF=\"%1\">here</A>.").tqarg("exec:/kcmshell khtml_java_js") )
+- .tqarg( i18n("JavaScript enabled (globally). Configure JavaScript <A HREF=\\\"%1\\\">here</A>.").tqarg("exec:/kcmshell khtml_java_js") ) // leave the double backslashes here, they are necessary for javascript !
+- .tqarg( i18n("Secure <A HREF=\"%1\">Java</A><SUP>&reg;</SUP> support").tqarg("http://java.sun.com") )
+- .tqarg( i18n("JDK 1.2.0 (Java 2) compatible VM (<A HREF=\"%1\">Blackdown</A>, <A HREF=\"%2\">IBM</A> or <A HREF=\"%3\">Sun</A>)")
+- .tqarg("http://www.blackdown.org").tqarg("http://www.ibm.com").tqarg("http://java.sun.com") )
+- .tqarg( i18n("Enable Java (globally) <A HREF=\"%1\">here</A>.").tqarg("exec:/kcmshell khtml_java_js") ) // TODO Maybe test if Java is enabled ?
+- .tqarg( i18n("Netscape Communicator<SUP>&reg;</SUP> <A HREF=\"%4\">plugins</A> (for viewing <A HREF=\"%1\">Flash<SUP>&reg;</SUP></A>, <A HREF=\"%2\">Real<SUP>&reg;</SUP></A>Audio, <A HREF=\"%3\">Real<SUP>&reg;</SUP></A>Video, etc.)")
+- .tqarg("http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash")
+- .tqarg("http://www.real.com").tqarg("http://www.real.com")
+- .tqarg("about:plugins") )
+- .tqarg( i18n("built-in") )
+- .tqarg( i18n("Secure Sockets Layer") )
+- .tqarg( i18n("(TLS/SSL v2/3) for secure communications up to 168bit") )
+- .tqarg( i18n("OpenSSL") )
+- .tqarg( i18n("Bidirectional 16bit tqunicode support") )
+- .tqarg( i18n("built-in") )
+- .tqarg( i18n("AutoCompletion for forms") )
+- .tqarg( i18n("built-in") )
+- .tqarg( i18n("G E N E R A L") )
+- .tqarg( i18n("Feature") )
+- .tqarg( i18n("Details") )
+- .tqarg( i18n("Image formats") )
+- .tqarg( i18n("Transfer protocols") )
+- .tqarg( i18n("HTTP 1.1 (including gzip/bzip2 compression)") )
+- .tqarg( i18n("FTP") )
+- .tqarg( i18n("and <A HREF=\"%1\">many more...</A>").tqarg("exec:/kcmshell ioslaveinfo") )
+- .tqarg( i18n("URL-Completion") )
+- .tqarg( i18n("Manual"))
+- .tqarg( i18n("Popup"))
+- .tqarg( i18n("(Short-) Automatic"))
+- .tqarg( "<img width='16' height='16' src=\"%1\">" ).tqarg( continue_icon_path )
+- .tqarg( i18n("<a href=\"%1\">Return to Starting Points</a>").tqarg("launch.html") )
++ "Konqueror also implements:").arg("http://pyxml.sourceforge.net/topics/xbel/") )
++ .arg( i18n("Web Browsing") )
++ .arg( i18n("Supported standards") )
++ .arg( i18n("Additional requirements*") )
++ .arg( i18n("<A HREF=\"%1\">DOM</A> (Level 1, partially Level 2) based "
++ "<A HREF=\"%2\">HTML 4.01</A>").arg("http://www.w3.org/DOM").arg("http://www.w3.org/TR/html4/") )
++ .arg( i18n("built-in") )
++ .arg( i18n("<A HREF=\"%1\">Cascading Style Sheets</A> (CSS 1, partially CSS 2)").arg("http://www.w3.org/Style/CSS/") )
++ .arg( i18n("built-in") )
++ .arg( i18n("<A HREF=\"%1\">ECMA-262</A> Edition 3 (roughly equals JavaScript 1.5)").arg("http://www.ecma.ch/ecma1/STAND/ECMA-262.HTM") )
++ .arg( i18n("JavaScript disabled (globally). Enable JavaScript <A HREF=\"%1\">here</A>.").arg("exec:/kcmshell khtml_java_js") )
++ .arg( i18n("JavaScript enabled (globally). Configure JavaScript <A HREF=\\\"%1\\\">here</A>.").arg("exec:/kcmshell khtml_java_js") ) // leave the double backslashes here, they are necessary for javascript !
++ .arg( i18n("Secure <A HREF=\"%1\">Java</A><SUP>&reg;</SUP> support").arg("http://java.sun.com") )
++ .arg( i18n("JDK 1.2.0 (Java 2) compatible VM (<A HREF=\"%1\">Blackdown</A>, <A HREF=\"%2\">IBM</A> or <A HREF=\"%3\">Sun</A>)")
++ .arg("http://www.blackdown.org").arg("http://www.ibm.com").arg("http://java.sun.com") )
++ .arg( i18n("Enable Java (globally) <A HREF=\"%1\">here</A>.").arg("exec:/kcmshell khtml_java_js") ) // TODO Maybe test if Java is enabled ?
++ .arg( i18n("Netscape Communicator<SUP>&reg;</SUP> <A HREF=\"%4\">plugins</A> (for viewing <A HREF=\"%1\">Flash<SUP>&reg;</SUP></A>, <A HREF=\"%2\">Real<SUP>&reg;</SUP></A>Audio, <A HREF=\"%3\">Real<SUP>&reg;</SUP></A>Video, etc.)")
++ .arg("http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash")
++ .arg("http://www.real.com").arg("http://www.real.com")
++ .arg("about:plugins") )
++ .arg( i18n("built-in") )
++ .arg( i18n("Secure Sockets Layer") )
++ .arg( i18n("(TLS/SSL v2/3) for secure communications up to 168bit") )
++ .arg( i18n("OpenSSL") )
++ .arg( i18n("Bidirectional 16bit unicode support") )
++ .arg( i18n("built-in") )
++ .arg( i18n("AutoCompletion for forms") )
++ .arg( i18n("built-in") )
++ .arg( i18n("G E N E R A L") )
++ .arg( i18n("Feature") )
++ .arg( i18n("Details") )
++ .arg( i18n("Image formats") )
++ .arg( i18n("Transfer protocols") )
++ .arg( i18n("HTTP 1.1 (including gzip/bzip2 compression)") )
++ .arg( i18n("FTP") )
++ .arg( i18n("and <A HREF=\"%1\">many more...</A>").arg("exec:/kcmshell ioslaveinfo") )
++ .arg( i18n("URL-Completion") )
++ .arg( i18n("Manual"))
++ .arg( i18n("Popup"))
++ .arg( i18n("(Short-) Automatic"))
++ .arg( "<img width='16' height='16' src=\"%1\">" ).arg( continue_icon_path )
++ .arg( i18n("<a href=\"%1\">Return to Starting Points</a>").arg("launch.html") )
+
+ ;
+
+@@ -347,57 +347,57 @@
+ iconloader->iconPath("view_left_right", KIcon::Small );
+ TQString continue_icon_path = TQApplication::reverseLayout()?iconloader->iconPath("1leftarrow", KIcon::Small ):iconloader->iconPath("1rightarrow", KIcon::Small );
+
+- res = res.tqarg( locate( "data", "kdeui/about/kde_infopage.css" ) );
++ res = res.arg( locate( "data", "kdeui/about/kde_infopage.css" ) );
+ if ( kapp->reverseLayout() )
+- res = res.tqarg( "@import \"%1\";" ).tqarg( locate( "data", "kdeui/about/kde_infopage_rtl.css" ) );
++ res = res.arg( "@import \"%1\";" ).arg( locate( "data", "kdeui/about/kde_infopage_rtl.css" ) );
+ else
+- res = res.tqarg( "" );
++ res = res.arg( "" );
+
+- res = res.tqarg( i18n("Conquer your Desktop!") )
+- .tqarg( i18n( "Konqueror" ) )
+- .tqarg( i18n("Conquer your Desktop!") )
+- .tqarg( i18n("Konqueror is your file manager, web browser and universal document viewer.") )
+- .tqarg( i18n( "Starting Points" ) )
+- .tqarg( i18n( "Introduction" ) )
+- .tqarg( i18n( "Tips" ) )
+- .tqarg( i18n( "Specifications" ) )
+- .tqarg( i18n( "Tips &amp; Tricks" ) )
+- .tqarg( i18n( "Use Internet-Keywords and Web-Shortcuts: by typing \"gg: KDE\" one can search the Internet, "
++ res = res.arg( i18n("Conquer your Desktop!") )
++ .arg( i18n( "Konqueror" ) )
++ .arg( i18n("Conquer your Desktop!") )
++ .arg( i18n("Konqueror is your file manager, web browser and universal document viewer.") )
++ .arg( i18n( "Starting Points" ) )
++ .arg( i18n( "Introduction" ) )
++ .arg( i18n( "Tips" ) )
++ .arg( i18n( "Specifications" ) )
++ .arg( i18n( "Tips &amp; Tricks" ) )
++ .arg( i18n( "Use Internet-Keywords and Web-Shortcuts: by typing \"gg: KDE\" one can search the Internet, "
+ "using Google, for the search phrase \"KDE\". There are a lot of "
+ "Web-Shortcuts predefined to make searching for software or looking "
+ "up certain words in an encyclopedia a breeze. You can even "
+- "<a href=\"%1\">create your own</a> Web-Shortcuts." ).tqarg("exec:/kcmshell ebrowsing") )
+- .tqarg( i18n( "Use the magnifier button <img width='16' height='16' src=\"%1\"> in the"
+- " toolbar to increase the font size on your web page.").tqarg(viewmag_icon_path) )
+- .tqarg( i18n( "When you want to paste a new address into the Location toolbar you might want to "
++ "<a href=\"%1\">create your own</a> Web-Shortcuts." ).arg("exec:/kcmshell ebrowsing") )
++ .arg( i18n( "Use the magnifier button <img width='16' height='16' src=\"%1\"> in the"
++ " toolbar to increase the font size on your web page.").arg(viewmag_icon_path) )
++ .arg( i18n( "When you want to paste a new address into the Location toolbar you might want to "
+ "clear the current entry by pressing the black arrow with the white cross "
+ "<img width='16' height='16' src=\"%1\"> in the toolbar.")
+- .tqarg(TQApplication::reverseLayout() ? locationbar_erase_rtl_icon_path : locationbar_erase_icon_path))
+- .tqarg( i18n( "To create a link on your desktop pointing to the current page, "
++ .arg(TQApplication::reverseLayout() ? locationbar_erase_rtl_icon_path : locationbar_erase_icon_path))
++ .arg( i18n( "To create a link on your desktop pointing to the current page, "
+ "simply drag the \"Location\" label that is to the left of the Location toolbar, drop it on to "
+ "the desktop, and choose \"Link\"." ) )
+- .tqarg( i18n( "You can also find <img width='16' height='16' src=\"%1\"> \"Full-Screen Mode\" "
++ .arg( i18n( "You can also find <img width='16' height='16' src=\"%1\"> \"Full-Screen Mode\" "
+ "in the Settings menu. This feature is very useful for \"Talk\" "
+- "sessions.").tqarg(window_fullscreen_icon_path) )
+- .tqarg( i18n( "Divide et impera (lat. \"Divide and conquer\") - by splitting a window "
++ "sessions.").arg(window_fullscreen_icon_path) )
++ .arg( i18n( "Divide et impera (lat. \"Divide and conquer\") - by splitting a window "
+ "into two parts (e.g. Window -> <img width='16' height='16' src=\"%1\"> Split View "
+ "Left/Right) you can make Konqueror appear the way you like. You"
+ " can even load some example view-profiles (e.g. Midnight Commander)"
+- ", or create your own ones." ).tqarg(view_left_right_icon_path))
+- .tqarg( i18n( "Use the <a href=\"%1\">user-agent</a> feature if the website you are visiting "
++ ", or create your own ones." ).arg(view_left_right_icon_path))
++ .arg( i18n( "Use the <a href=\"%1\">user-agent</a> feature if the website you are visiting "
+ "asks you to use a different browser "
+- "(and do not forget to send a complaint to the webmaster!)" ).tqarg("exec:/kcmshell useragent") )
+- .tqarg( i18n( "The <img width='16' height='16' src=\"%1\"> History in your SideBar ensures "
+- "that you can keep track of the pages you have visited recently.").tqarg(history_icon_path) )
+- .tqarg( i18n( "Use a caching <a href=\"%1\">proxy</a> to speed up your"
+- " Internet connection.").tqarg("exec:/kcmshell proxy") )
+- .tqarg( i18n( "Advanced users will appreciate the Konsole which you can embed into "
++ "(and do not forget to send a complaint to the webmaster!)" ).arg("exec:/kcmshell useragent") )
++ .arg( i18n( "The <img width='16' height='16' src=\"%1\"> History in your SideBar ensures "
++ "that you can keep track of the pages you have visited recently.").arg(history_icon_path) )
++ .arg( i18n( "Use a caching <a href=\"%1\">proxy</a> to speed up your"
++ " Internet connection.").arg("exec:/kcmshell proxy") )
++ .arg( i18n( "Advanced users will appreciate the Konsole which you can embed into "
+ "Konqueror (Window -> <img width='16' height='16' SRC=\"%1\"> Show "
+- "Terminal Emulator).").tqarg(openterm_icon_path))
+- .tqarg( i18n( "Thanks to <a href=\"%1\">DCOP</a> you can have full control over Konqueror using a script."
+-).tqarg("exec:/kdcop") )
+- .tqarg( i18n( "<img width='16' height='16' src=\"%1\">" ).tqarg( continue_icon_path ) )
+- .tqarg( i18n( "Next: Specifications" ) )
++ "Terminal Emulator).").arg(openterm_icon_path))
++ .arg( i18n( "Thanks to <a href=\"%1\">DCOP</a> you can have full control over Konqueror using a script."
++).arg("exec:/kdcop") )
++ .arg( i18n( "<img width='16' height='16' src=\"%1\">" ).arg( continue_icon_path ) )
++ .arg( i18n( "Next: Specifications" ) )
+ ;
+
+
+@@ -413,10 +413,10 @@
+ return *s_plugins_html;
+
+ TQString res = loadFile( locate( "data", kapp->reverseLayout() ? "konqueror/about/plugins_rtl.html" : "konqueror/about/plugins.html" ))
+- .tqarg(i18n("Installed Plugins"))
+- .tqarg(i18n("<td>Plugin</td><td>Description</td><td>File</td><td>Types</td>"))
+- .tqarg(i18n("Installed"))
+- .tqarg(i18n("<td>Mime Type</td><td>Description</td><td>Suffixes</td><td>Plugin</td>"));
++ .arg(i18n("Installed Plugins"))
++ .arg(i18n("<td>Plugin</td><td>Description</td><td>File</td><td>Types</td>"))
++ .arg(i18n("Installed"))
++ .arg(i18n("<td>Mime Type</td><td>Description</td><td>Suffixes</td><td>Plugin</td>"));
+ if ( res.isEmpty() )
+ return res;
+
+@@ -489,7 +489,7 @@
+ void KonqAboutPage::serve( const TQString& html, const TQString& what )
+ {
+ m_what = what;
+- begin( KURL( TQString("about:%1").tqarg(what) ) );
++ begin( KURL( TQString("about:%1").arg(what) ) );
+ write( html );
+ end();
+ m_htmlDoc = html;
+@@ -507,32 +507,32 @@
+ return;
+ }
+
+- if ( url == TQString::tqfromLatin1("launch.html") )
++ if ( url == TQString::fromLatin1("launch.html") )
+ {
+ emit browserExtension()->openURLNotify();
+ serve( KonqAboutPageFactory::launch(), "konqueror" );
+ return;
+ }
+- else if ( url == TQString::tqfromLatin1("intro.html") )
++ else if ( url == TQString::fromLatin1("intro.html") )
+ {
+ emit browserExtension()->openURLNotify();
+ serve( KonqAboutPageFactory::intro(), "konqueror" );
+ return;
+ }
+- else if ( url == TQString::tqfromLatin1("specs.html") )
++ else if ( url == TQString::fromLatin1("specs.html") )
+ {
+ emit browserExtension()->openURLNotify();
+ serve( KonqAboutPageFactory::specs(), "konqueror" );
+ return;
+ }
+- else if ( url == TQString::tqfromLatin1("tips.html") )
++ else if ( url == TQString::fromLatin1("tips.html") )
+ {
+ emit browserExtension()->openURLNotify();
+ serve( KonqAboutPageFactory::tips(), "konqueror" );
+ return;
+ }
+
+- else if ( url == TQString::tqfromLatin1("config:/disable_overview") )
++ else if ( url == TQString::fromLatin1("config:/disable_overview") )
+ {
+ if ( KMessageBox::questionYesNo( widget(),
+ i18n("Do you want to disable showing "
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/about/launch.html v3.5.13-sru/konqueror/about/launch.html
+--- /tmp/stable//kdebase/konqueror/about/launch.html 2011-03-12 07:58:17.000000000 +0100
++++ v3.5.13-sru/konqueror/about/launch.html 2012-09-08 19:41:29.000000000 +0200
+@@ -110,10 +110,10 @@
+ <a href="applications:/">%1</a><br><span id="subtext"><nobr>%1</span>
+ </td>
+ <td>
+- <a href="help:/kubuntu/about-kubuntu/index.html"><img src="%1" height="%1" width="%1" /></a>
++ <a href="settings:/"><img src="%1" height="%1" width="%1" /></a>
+ </td>
+ <td valign="bottom">
+- <a href="help:/kubuntu/about-kubuntu/index.html">%1</a><br><span id="subtext"><nobr>%1</span>
++ <a href="settings:/">%1</a><br><span id="subtext"><nobr>%1</span>
+ </td>
+ </tr>
+ </table>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/about/specs.html v3.5.13-sru/konqueror/about/specs.html
+--- /tmp/stable//kdebase/konqueror/about/specs.html 2011-03-12 07:58:17.000000000 +0100
++++ v3.5.13-sru/konqueror/about/specs.html 2012-09-08 19:41:29.000000000 +0200
+@@ -121,7 +121,7 @@
+ <td valign="top"><a href="http://www.openssl.org">%1<!--OpenSSL--></a></td>
+ </tr>
+ <tr bgcolor="#fff4c9">
+- <td valign="top">%1<!--Bidirectional 16bit tqunicode support--></td>
++ <td valign="top">%1<!--Bidirectional 16bit unicode support--></td>
+ <td valign="top">&nbsp;</td>
+ <td valign="top">%1<!--built-in--></td>
+ </tr>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/client/kfmclient.cc v3.5.13-sru/konqueror/client/kfmclient.cc
+--- /tmp/stable//kdebase/konqueror/client/kfmclient.cc 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/client/kfmclient.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -178,33 +178,33 @@
+ */
+ static bool startNewKonqueror( TQString url, TQString mimetype, const TQString& profile )
+ {
+- KConfig cfg( TQString::tqfromLatin1( "konquerorrc" ), true );
++ KConfig cfg( TQString::fromLatin1( "konquerorrc" ), true );
+ cfg.setGroup( "Reusing" );
+ TQStringList allowed_parts;
+ // is duplicated in ../KonquerorIface.cc
+- allowed_parts << TQString::tqfromLatin1( "konq_iconview.desktop" )
+- << TQString::tqfromLatin1( "konq_multicolumnview.desktop" )
+- << TQString::tqfromLatin1( "konq_sidebartng.desktop" )
+- << TQString::tqfromLatin1( "konq_infolistview.desktop" )
+- << TQString::tqfromLatin1( "konq_treeview.desktop" )
+- << TQString::tqfromLatin1( "konq_detailedlistview.desktop" );
++ allowed_parts << TQString::fromLatin1( "konq_iconview.desktop" )
++ << TQString::fromLatin1( "konq_multicolumnview.desktop" )
++ << TQString::fromLatin1( "konq_sidebartng.desktop" )
++ << TQString::fromLatin1( "konq_infolistview.desktop" )
++ << TQString::fromLatin1( "konq_treeview.desktop" )
++ << TQString::fromLatin1( "konq_detailedlistview.desktop" );
+ if( cfg.hasKey( "SafeParts" )
+- && cfg.readEntry( "SafeParts" ) != TQString::tqfromLatin1( "SAFE" ))
++ && cfg.readEntry( "SafeParts" ) != TQString::fromLatin1( "SAFE" ))
+ allowed_parts = cfg.readListEntry( "SafeParts" );
+- if( allowed_parts.count() == 1 && allowed_parts.first() == TQString::tqfromLatin1( "ALL" ))
++ if( allowed_parts.count() == 1 && allowed_parts.first() == TQString::fromLatin1( "ALL" ))
+ return false; // all parts allowed
+ if( url.isEmpty())
+ {
+ if( profile.isEmpty())
+ return true;
+- TQString profilepath = locate( "data", TQString::tqfromLatin1("konqueror/profiles/") + profile );
++ TQString profilepath = locate( "data", TQString::fromLatin1("konqueror/profiles/") + profile );
+ if( profilepath.isEmpty())
+ return true;
+ KConfig cfg( profilepath, true );
+ cfg.setDollarExpansion( true );
+ cfg.setGroup( "Profile" );
+- TQMap< TQString, TQString > entries = cfg.entryMap( TQString::tqfromLatin1( "Profile" ));
+- TQRegExp urlregexp( TQString::tqfromLatin1( "^View[0-9]*_URL$" ));
++ TQMap< TQString, TQString > entries = cfg.entryMap( TQString::fromLatin1( "Profile" ));
++ TQRegExp urlregexp( TQString::fromLatin1( "^View[0-9]*_URL$" ));
+ TQStringList urls;
+ for( TQMap< TQString, TQString >::ConstIterator it = entries.begin();
+ it != entries.end();
+@@ -218,16 +218,16 @@
+ if( urls.count() != 1 )
+ return true;
+ url = urls.first();
+- mimetype = TQString::tqfromLatin1( "" );
++ mimetype = TQString::fromLatin1( "" );
+ }
+ if( mimetype.isEmpty())
+ mimetype = KMimeType::findByURL( KURL( url ) )->name();
+- KTrader::OfferList offers = KTrader::self()->query( mimetype, TQString::tqfromLatin1( "KParts/ReadOnlyPart" ),
++ KTrader::OfferList offers = KTrader::self()->query( mimetype, TQString::fromLatin1( "KParts/ReadOnlyPart" ),
+ TQString::null, TQString::null );
+ KService::Ptr serv;
+ if( offers.count() > 0 )
+ serv = offers.first();
+- return serv == NULL || !allowed_parts.contains( serv->desktopEntryName() + TQString::tqfromLatin1(".desktop") );
++ return serv == NULL || !allowed_parts.contains( serv->desktopEntryName() + TQString::fromLatin1(".desktop") );
+ }
+
+ static int currentScreen()
+@@ -248,7 +248,7 @@
+ // when reusing a preloaded konqy, make sure your always use a DCOP call which opens a profile !
+ static TQCString getPreloadedKonqy()
+ {
+- KConfig cfg( TQString::tqfromLatin1( "konquerorrc" ), true );
++ KConfig cfg( TQString::fromLatin1( "konquerorrc" ), true );
+ cfg.setGroup( "Reusing" );
+ if( cfg.readNumEntry( "MaxPreloadCount", 1 ) == 0 )
+ return "";
+@@ -301,8 +301,8 @@
+ // check if user wants to use external browser
+ // ###### this option seems to have no GUI and to be redundant with BrowserApplication now.
+ // ###### KDE4: remove
+- KConfig config( TQString::tqfromLatin1("kfmclientrc"));
+- config.setGroup( TQString::tqfromLatin1("Settings"));
++ KConfig config( TQString::fromLatin1("kfmclientrc"));
++ config.setGroup( TQString::fromLatin1("Settings"));
+ TQString strBrowser = config.readPathEntry("ExternalBrowser");
+ if (!strBrowser.isEmpty())
+ {
+@@ -314,7 +314,7 @@
+ return true;
+ }
+
+- if (url.protocol().startsWith(TQString::tqfromLatin1("http")))
++ if (url.protocol().startsWith(TQString::fromLatin1("http")))
+ {
+ config.setGroup("General");
+ if (!config.readEntry("BrowserApplication").isEmpty())
+@@ -330,7 +330,7 @@
+ }
+ }
+
+- KConfig cfg( TQString::tqfromLatin1( "konquerorrc" ), true );
++ KConfig cfg( TQString::fromLatin1( "konquerorrc" ), true );
+ cfg.setGroup( "FMSettings" );
+ if ( newTab || cfg.readBoolEntry( "KonquerorTabforExternalURL", false ) )
+ {
+@@ -361,7 +361,7 @@
+ {
+ TQString error;
+ /* Well, we can't pass a mimetype through startServiceByDesktopPath !
+- if ( KApplication::startServiceByDesktopPath( TQString::tqfromLatin1("konqueror.desktop"),
++ if ( KApplication::startServiceByDesktopPath( TQString::fromLatin1("konqueror.desktop"),
+ url.url(), &error ) > 0 )
+ {
+ kdError() << "Couldn't start konqueror from konqueror.desktop: " << error << endl;
+@@ -391,8 +391,8 @@
+ if( appId.isEmpty())
+ {
+ TQString error;
+- if ( KApplication::startServiceByDesktopPath( TQString::tqfromLatin1("konqueror.desktop"),
+- TQString::tqfromLatin1("--silent"), &error, &appId, NULL, startup_id_str ) > 0 )
++ if ( KApplication::startServiceByDesktopPath( TQString::fromLatin1("konqueror.desktop"),
++ TQString::fromLatin1("--silent"), &error, &appId, NULL, startup_id_str ) > 0 )
+ {
+ kdError() << "Couldn't start konqueror from konqueror.desktop: " << error << endl;
+ return false;
+@@ -401,10 +401,10 @@
+ // so when we arrive here, konq is up and running already, and appId contains the identification
+ }
+
+- TQString profile = locate( "data", TQString::tqfromLatin1("konqueror/profiles/") + profileName );
++ TQString profile = locate( "data", TQString::fromLatin1("konqueror/profiles/") + profileName );
+ if ( profile.isEmpty() )
+ {
+- fprintf( stderr, "%s", i18n("Profile %1 not found\n").tqarg(profileName).local8Bit().data() );
++ fprintf( stderr, "%s", i18n("Profile %1 not found\n").arg(profileName).local8Bit().data() );
+ ::exit( 0 );
+ }
+ KonquerorIface_stub konqy( appId, "KonquerorIface" );
+@@ -479,7 +479,7 @@
+ }
+ if ( argc == 3 )
+ {
+- return createNewWindow( args->url(1), command == "newTab", tempFile, TQString::tqfromLatin1(args->arg(2)) );
++ return createNewWindow( args->url(1), command == "newTab", tempFile, TQString::fromLatin1(args->arg(2)) );
+ }
+ }
+ else if ( command == "openProfile" )
+@@ -529,7 +529,7 @@
+ {
+ KURL::List urls;
+ urls.append( args->url(1) );
+- const KTrader::OfferList offers = KTrader::self()->query( TQString::fromLocal8Bit( args->arg( 2 ) ), TQString::tqfromLatin1( "Application" ), TQString::null, TQString::null );
++ const KTrader::OfferList offers = KTrader::self()->query( TQString::fromLocal8Bit( args->arg( 2 ) ), TQString::fromLatin1( "Application" ), TQString::null, TQString::null );
+ if (offers.isEmpty()) return 1;
+ KService::Ptr serv = offers.first();
+ return KRun::run( *serv, urls );
+@@ -630,7 +630,7 @@
+ }
+ else
+ {
+- fprintf( stderr, "%s", i18n("Syntax Error: Unknown command '%1'\n").tqarg(TQString::fromLocal8Bit(command)).local8Bit().data() );
++ fprintf( stderr, "%s", i18n("Syntax Error: Unknown command '%1'\n").arg(TQString::fromLocal8Bit(command)).local8Bit().data() );
+ return false;
+ }
+ return true;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/iconview/konq_iconview.cc v3.5.13-sru/konqueror/iconview/konq_iconview.cc
+--- /tmp/stable//kdebase/konqueror/iconview/konq_iconview.cc 2011-08-11 07:25:51.000000000 +0200
++++ v3.5.13-sru/konqueror/iconview/konq_iconview.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -206,7 +206,7 @@
+
+ setXMLFile( "konq_iconview.rc" );
+
+- // Don't tqrepaint on configuration changes during construction
++ // Don't repaint on configuration changes during construction
+ m_bInit = true;
+
+ m_paDotFiles = new KToggleAction( i18n( "Show &Hidden Files" ), 0, this, TQT_SLOT( slotShowDot() ),
+@@ -359,7 +359,7 @@
+ // Create the directory lister
+ m_dirLister = new KDirLister( true );
+ setDirLister( m_dirLister );
+- m_dirLister->setMainWindow(m_pIconView->tqtopLevelWidget());
++ m_dirLister->setMainWindow(m_pIconView->topLevelWidget());
+
+ connect( m_dirLister, TQT_SIGNAL( started( const KURL & ) ),
+ this, TQT_SLOT( slotStarted() ) );
+@@ -686,7 +686,7 @@
+ // Stop a preview job that might be running
+ m_pIconView->stopImagePreview();
+
+- // Set icons size, arrage items in grid and tqrepaint the whole view
++ // Set icons size, arrage items in grid and repaint the whole view
+ m_pIconView->setIcons( size );
+
+ // If previews are enabled start a new job
+@@ -872,8 +872,8 @@
+ // the completed() signal, so handle that case.
+ if ( !m_pIconView->viewport()->isUpdatesEnabled() )
+ {
+- m_pIconView->viewport()->tqsetUpdatesEnabled( true );
+- m_pIconView->viewport()->tqrepaint();
++ m_pIconView->viewport()->setUpdatesEnabled( true );
++ m_pIconView->viewport()->repaint();
+ }
+ if ( m_pEnsureVisible ){
+ m_pIconView->ensureItemVisible( m_pEnsureVisible );
+@@ -889,11 +889,11 @@
+ m_pTimeoutRefreshTimer->stop();
+
+ // If updates to the viewport are still blocked (so slotNewItems() has
+- // not been called), a viewport tqrepaint is forced.
++ // not been called), a viewport repaint is forced.
+ if ( !m_pIconView->viewport()->isUpdatesEnabled() )
+ {
+- m_pIconView->viewport()->tqsetUpdatesEnabled( true );
+- m_pIconView->viewport()->tqrepaint();
++ m_pIconView->viewport()->setUpdatesEnabled( true );
++ m_pIconView->viewport()->repaint();
+ }
+
+ // Root item ? Store root item in konqiconviewwidget (whether 0L or not)
+@@ -952,7 +952,7 @@
+ // We need to disable graphics updates on the iconview when
+ // inserting items, or else a blank paint operation will be
+ // performed on the top-left corner for each inserted item!
+- m_pIconView->tqsetUpdatesEnabled( false );
++ m_pIconView->setUpdatesEnabled( false );
+ for (KFileItemListIterator it(entries); it.current(); ++it)
+ {
+ //kdDebug(1202) << "KonqKfmIconView::slotNewItem(...)" << _fileitem->url().url() << endl;
+@@ -1006,11 +1006,11 @@
+ m_itemDict.insert( *it, item );
+ }
+ // After filtering out updates-on-insertions we can re-enable updates
+- m_pIconView->tqsetUpdatesEnabled( true );
++ m_pIconView->setUpdatesEnabled( true );
+ // Locking the viewport has filtered out blanking and now, since we
+ // have some items to draw, we can restore updating.
+ if ( !m_pIconView->viewport()->isUpdatesEnabled() )
+- m_pIconView->viewport()->tqsetUpdatesEnabled( true );
++ m_pIconView->viewport()->setUpdatesEnabled( true );
+ KonqDirPart::newItems( entries );
+ }
+
+@@ -1136,7 +1136,7 @@
+ }
+ else
+ {
+- // In case we replace a big icon with a small one, need to tqrepaint.
++ // In case we replace a big icon with a small one, need to repaint.
+ if ( bNeedRepaint )
+ m_pIconView->updateContents();
+ }
+@@ -1150,7 +1150,7 @@
+ // meaningless paint operations (such as a clear() just before drawing
+ // fresh contents) we disable updating the viewport until we'll
+ // receive some data or a timeout timer expires.
+- m_pIconView->viewport()->tqsetUpdatesEnabled( false );
++ m_pIconView->viewport()->setUpdatesEnabled( false );
+ if ( !m_pTimeoutRefreshTimer )
+ {
+ m_pTimeoutRefreshTimer = new TQTimer( this );
+@@ -1247,9 +1247,9 @@
+ kdDebug(1202) << "KonqKfmIconView::slotRefreshViewport()" << endl;
+ TQWidget * vp = m_pIconView->viewport();
+ bool prevState = vp->isUpdatesEnabled();
+- vp->tqsetUpdatesEnabled( true );
+- vp->tqrepaint();
+- vp->tqsetUpdatesEnabled( prevState );
++ vp->setUpdatesEnabled( true );
++ vp->repaint();
++ vp->setUpdatesEnabled( prevState );
+ }
+
+ bool KonqKfmIconView::doOpenURL( const KURL & url )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/keditbookmarks/actionsimpl.cpp v3.5.13-sru/konqueror/keditbookmarks/actionsimpl.cpp
+--- /tmp/stable//kdebase/konqueror/keditbookmarks/actionsimpl.cpp 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/keditbookmarks/actionsimpl.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -345,7 +345,7 @@
+ TQValueList<KBookmark> bookmarks
+ = ListView::self()->itemsToBookmarks(ListView::self()->selectedItemsMap());
+ KBookmarkDrag* data = KBookmarkDrag::newDrag(bookmarks, 0 /* not this ! */);
+- kapp->tqclipboard()->setData(data, TQClipboard::Clipboard);
++ kapp->clipboard()->setData(data, TQClipboard::Clipboard);
+ }
+
+ void ActionsImpl::slotPaste() {
+@@ -353,7 +353,7 @@
+ KEBMacroCommand *mcmd =
+ CmdGen::insertMimeSource(
+ i18n("Paste"),
+- kapp->tqclipboard()->data(TQClipboard::Clipboard),
++ kapp->clipboard()->data(TQClipboard::Clipboard),
+ ListView::self()->userAddress());
+ CmdHistory::self()->didCommand(mcmd);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/keditbookmarks/commands.cpp v3.5.13-sru/konqueror/keditbookmarks/commands.cpp
+--- /tmp/stable//kdebase/konqueror/keditbookmarks/commands.cpp 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/keditbookmarks/commands.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -218,7 +218,7 @@
+ KBookmark bk = CurrentMgr::bookmarkAt(m_to);
+ Q_ASSERT(!bk.isNull() && !bk.parentGroup().isNull());
+
+- ListView::self()->tqinvalidate(bk.address());
++ ListView::self()->invalidate(bk.address());
+
+ bk.parentGroup().deleteBookmark(bk);
+ }
+@@ -643,13 +643,13 @@
+ bool modified = false;
+ const char *format = 0;
+ for (int i = 0; format = data->format(i), format; i++) {
+- // qt docs don't say if tqencodedData(blah) where
++ // qt docs don't say if encodedData(blah) where
+ // blah is not a stored mimetype should return null
+ // or not. so, we search. sucky...
+ if (strcmp(format, "GALEON_BOOKMARK") == 0) {
+ modified = true;
+ TQStoredDrag *mydrag = new TQStoredDrag("application/x-xbel");
+- mydrag->setEncodedData(data->tqencodedData("GALEON_BOOKMARK"));
++ mydrag->setEncodedData(data->encodedData("GALEON_BOOKMARK"));
+ data = mydrag;
+ break;
+ } else if( strcmp(format, "application/x-xbel" )==0) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/keditbookmarks/listview.cpp v3.5.13-sru/konqueror/keditbookmarks/listview.cpp
+--- /tmp/stable//kdebase/konqueror/keditbookmarks/listview.cpp 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/keditbookmarks/listview.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -158,12 +158,12 @@
+ return bookmarks;
+ }
+
+-void ListView::tqinvalidate(const TQString & address)
++void ListView::invalidate(const TQString & address)
+ {
+- tqinvalidate(getItemAtAddress(address));
++ invalidate(getItemAtAddress(address));
+ }
+
+-void ListView::tqinvalidate(TQListViewItem * item)
++void ListView::invalidate(TQListViewItem * item)
+ {
+ if(item->isSelected())
+ {
+@@ -181,7 +181,7 @@
+ TQListViewItem * child = item->firstChild();
+ while(child)
+ {
+- //tqinvalidate(child);
++ //invalidate(child);
+ child = child->nextSibling();
+ }
+ }
+@@ -277,7 +277,7 @@
+ else
+ deselectAllChildren(child);
+ }
+- child->tqrepaint();
++ child->repaint();
+ child = static_cast<KEBListViewItem *>(child->nextSibling());
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/keditbookmarks/listview.h v3.5.13-sru/konqueror/keditbookmarks/listview.h
+--- /tmp/stable//kdebase/konqueror/keditbookmarks/listview.h 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/keditbookmarks/listview.h 2012-09-08 19:41:29.000000000 +0200
+@@ -56,7 +56,7 @@
+ void setTmpStatus(const TQString &);
+ void restoreStatus();
+
+- void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment);
++ void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment);
+ void setSelected ( bool s );
+
+ virtual void setOpen(bool);
+@@ -140,8 +140,8 @@
+ // selected item stuff
+ void selected(KEBListViewItem * item, bool s);
+
+- void tqinvalidate(const TQString & address);
+- void tqinvalidate(TQListViewItem * item);
++ void invalidate(const TQString & address);
++ void invalidate(TQListViewItem * item);
+ void fixUpCurrent(const TQString & address);
+
+ KEBListViewItem * firstSelected() const;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/keditbookmarks/main.cpp v3.5.13-sru/konqueror/keditbookmarks/main.cpp
+--- /tmp/stable//kdebase/konqueror/keditbookmarks/main.cpp 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/keditbookmarks/main.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -139,8 +139,8 @@
+ bool gotArg = (args->count() == 1);
+
+ TQString filename = gotArg
+- ? TQString::tqfromLatin1(args->arg(0))
+- : locateLocal("data", TQString::tqfromLatin1("konqueror/bookmarks.xml"));
++ ? TQString::fromLatin1(args->arg(0))
++ : locateLocal("data", TQString::fromLatin1("konqueror/bookmarks.xml"));
+
+ if (!isGui) {
+ CurrentMgr::self()->createManager(filename);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/keditbookmarks/toplevel.cpp v3.5.13-sru/konqueror/keditbookmarks/toplevel.cpp
+--- /tmp/stable//kdebase/konqueror/keditbookmarks/toplevel.cpp 2011-07-09 08:16:57.000000000 +0200
++++ v3.5.13-sru/konqueror/keditbookmarks/toplevel.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -184,7 +184,7 @@
+ {
+ TQDateTime dt;
+ dt.setTime_t(b);
+- return (dt.daysTo(TQDateTime::tqcurrentDateTime()) > 31)
++ return (dt.daysTo(TQDateTime::currentDateTime()) > 31)
+ ? KGlobal::locale()->formatDate(TQT_TQDATE_OBJECT(dt.date()), false)
+ : KGlobal::locale()->formatDateTime(dt, false);
+ }
+@@ -233,11 +233,11 @@
+
+ vsplitter->setOrientation(Qt::Vertical);
+ vsplitter->setSizes(TQValueList<int>() << h << 380
+- << m_bkinfo->tqsizeHint().height() );
++ << m_bkinfo->sizeHint().height() );
+
+ setCentralWidget(vsplitter);
+- resize(ListView::self()->widget()->tqsizeHint().width(),
+- vsplitter->tqsizeHint().height());
++ resize(ListView::self()->widget()->sizeHint().width(),
++ vsplitter->sizeHint().height());
+
+ createActions();
+ if (m_browser)
+@@ -247,7 +247,7 @@
+
+ m_dcopIface = new KBookmarkEditorIface();
+
+- connect(kapp->tqclipboard(), TQT_SIGNAL( dataChanged() ),
++ connect(kapp->clipboard(), TQT_SIGNAL( dataChanged() ),
+ TQT_SLOT( slotClipboardDataChanged() ));
+
+ ListView::self()->connectSignals();
+@@ -319,7 +319,7 @@
+ // kdDebug() << "KEBApp::slotClipboardDataChanged" << endl;
+ if (!m_readOnly) {
+ m_canPaste = KBookmarkDrag::canDecode(
+- kapp->tqclipboard()->data(TQClipboard::Clipboard));
++ kapp->clipboard()->data(TQClipboard::Clipboard));
+ updateActions();
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_actions.cc v3.5.13-sru/konqueror/konq_actions.cc
+--- /tmp/stable//kdebase/konqueror/konq_actions.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_actions.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -48,12 +48,12 @@
+ {
+ assert ( popup ); // kill me if this 0... :/
+
+- //kdDebug(1202) << "fillHistoryPopup position: " << history.tqat() << endl;
++ //kdDebug(1202) << "fillHistoryPopup position: " << history.at() << endl;
+ HistoryEntry * current = history.current();
+ TQPtrListIterator<HistoryEntry> it( history );
+ if (onlyBack || onlyForward)
+ {
+- it += history.tqat(); // Jump to current item
++ it += history.at(); // Jump to current item
+ if ( !onlyForward ) --it; else ++it; // And move off it
+ } else if ( startPos )
+ it += startPos; // Jump to specified start pos
+@@ -75,7 +75,7 @@
+ break;
+ if ( !onlyForward ) --it; else ++it;
+ }
+- //kdDebug(1202) << "After fillHistoryPopup position: " << history.tqat() << endl;
++ //kdDebug(1202) << "After fillHistoryPopup position: " << history.at() << endl;
+ }
+
+ ///////////////////////////////
+@@ -116,7 +116,7 @@
+ if (history.isEmpty())
+ return; // nothing to do
+
+- //kdDebug(1202) << "fillGoMenu position: " << history.tqat() << endl;
++ //kdDebug(1202) << "fillGoMenu position: " << history.at() << endl;
+ if ( m_firstIndex == 0 ) // should never happen since done in plug
+ m_firstIndex = m_goMenu->count();
+ else
+@@ -136,10 +136,10 @@
+ // Second case: big history, in one or both directions
+ {
+ // Assume both directions first (in this case we place the current URL in the middle)
+- m_startPos = history.tqat() + 4;
++ m_startPos = history.at() + 4;
+
+ // Forward not big enough ?
+- if ( history.tqat() > (int)history.count() - 4 )
++ if ( history.at() > (int)history.count() - 4 )
+ m_startPos = history.count() - 1;
+ }
+ Q_ASSERT( m_startPos >= 0 && (uint)m_startPos < history.count() );
+@@ -148,7 +148,7 @@
+ kdWarning() << "m_startPos=" << m_startPos << " history.count()=" << history.count() << endl;
+ return;
+ }
+- m_currentPos = history.tqat(); // for slotActivated
++ m_currentPos = history.at(); // for slotActivated
+ KonqBidiHistoryAction::fillHistoryPopup( history, m_goMenu, false, false, true, m_startPos );
+ }
+
+@@ -444,7 +444,7 @@
+ m_popupList.clear();
+
+ int id = s_mostEntries->count() -1;
+- KonqHistoryEntry *entry = s_mostEntries->tqat( id );
++ KonqHistoryEntry *entry = s_mostEntries->at( id );
+ while ( entry ) {
+ // we take either title, typedURL or URL (in this order)
+ TQString text = entry->title.isEmpty() ? (entry->typedURL.isEmpty() ?
+@@ -459,7 +459,7 @@
+ // This prevents crashes when another process tells us to remove an entry.
+ m_popupList.prepend( entry->url );
+
+- entry = (id > 0) ? s_mostEntries->tqat( --id ) : 0L;
++ entry = (id > 0) ? s_mostEntries->at( --id ) : 0L;
+ }
+ setEnabled( !s_mostEntries->isEmpty() );
+ Q_ASSERT( s_mostEntries->count() == m_popupList.count() );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_actions.h v3.5.13-sru/konqueror/konq_actions.h
+--- /tmp/stable//kdebase/konqueror/konq_actions.h 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/konq_actions.h 2012-09-08 19:41:29.000000000 +0200
+@@ -62,7 +62,7 @@
+ private:
+ uint m_firstIndex; // first index in the Go menu
+ int m_startPos;
+- int m_currentPos; // == history.tqat()
++ int m_currentPos; // == history.at()
+ TQPopupMenu *m_goMenu; // hack
+ };
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_combo.cc v3.5.13-sru/konqueror/konq_combo.cc
+--- /tmp/stable//kdebase/konqueror/konq_combo.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_combo.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -99,7 +99,7 @@
+ m_pageSecurity( KonqMainWindow::NotCrypted )
+ {
+ setInsertionPolicy( NoInsertion );
+- tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
++ setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
+
+ Q_ASSERT( s_config );
+
+@@ -272,14 +272,14 @@
+ listBox()->changeItem( item, index );
+
+ /*
+- tqsetUpdatesEnabled( false );
+- lineEdit()->tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
++ lineEdit()->setUpdatesEnabled( false );
+
+ removeItem( index );
+ insertItem( pix, t, index );
+
+- tqsetUpdatesEnabled( true );
+- lineEdit()->tqsetUpdatesEnabled( true );
++ setUpdatesEnabled( true );
++ lineEdit()->setUpdatesEnabled( true );
+ update();
+ */
+ }
+@@ -301,13 +301,13 @@
+ {
+ saveState();
+
+- tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+ KonqPixmapProvider *prov = KonqPixmapProvider::self();
+ for ( int i = 1; i < count(); i++ ) {
+ updateItem( prov->pixmapFor( text( i ) ), text( i ), i, titleOfURL( text( i ) ) );
+ }
+- tqsetUpdatesEnabled( true );
+- tqrepaint();
++ setUpdatesEnabled( true );
++ repaint();
+
+ restoreState();
+ }
+@@ -521,15 +521,15 @@
+
+ void KonqCombo::removeURL( const TQString& url )
+ {
+- tqsetUpdatesEnabled( false );
+- lineEdit()->tqsetUpdatesEnabled( false );
++ setUpdatesEnabled( false );
++ lineEdit()->setUpdatesEnabled( false );
+
+ removeFromHistory( url );
+ applyPermanent();
+ setTemporary( currentText() );
+
+- tqsetUpdatesEnabled( true );
+- lineEdit()->tqsetUpdatesEnabled( true );
++ setUpdatesEnabled( true );
++ lineEdit()->setUpdatesEnabled( true );
+ update();
+ }
+
+@@ -540,7 +540,7 @@
+ if ( e->button() == Qt::LeftButton && pixmap( currentItem()) ) {
+ // check if the pixmap was clicked
+ int x = e->pos().x();
+- int x0 = TQStyle::tqvisualRect( tqstyle().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQStyle::SC_ComboBoxEditField ), this ).x();
++ int x0 = TQStyle::visualRect( style().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQStyle::SC_ComboBoxEditField ), this ).x();
+
+ if ( x > x0 + 2 && x < lineEdit()->x() ) {
+ m_dragStart = e->pos();
+@@ -551,7 +551,7 @@
+ if ( e->button() == Qt::LeftButton && m_pageSecurity!=KonqMainWindow::NotCrypted ) {
+ // check if the lock icon was clicked
+ int x = e->pos().x();
+- int x0 = TQStyle::tqvisualRect( tqstyle().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQStyle::SC_ComboBoxArrow ), this ).x();
++ int x0 = TQStyle::visualRect( style().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQStyle::SC_ComboBoxArrow ), this ).x();
+ if ( x < x0 )
+ emit showPageSecurity();
+
+@@ -604,8 +604,8 @@
+ TQComboBox::paintEvent( pe );
+
+ TQLineEdit *edit = lineEdit();
+- TQRect re = tqstyle().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQStyle::SC_ComboBoxEditField );
+- re = TQStyle::tqvisualRect(re, this);
++ TQRect re = style().querySubControlMetrics( TQStyle::CC_ComboBox, this, TQStyle::SC_ComboBoxEditField );
++ re = TQStyle::visualRect(re, this);
+
+ if ( m_pageSecurity!=KonqMainWindow::NotCrypted ) {
+ TQColor color(245, 246, 190);
+@@ -646,7 +646,7 @@
+ void KonqCombo::setPageSecurity( int pageSecurity )
+ {
+ m_pageSecurity = pageSecurity;
+- tqrepaint();
++ repaint();
+ }
+
+ bool KonqCombo::hasSufficientContrast(const TQColor &c1, const TQColor &c2)
+@@ -723,8 +723,8 @@
+ pmWidth = pm->width() + 5;
+ }
+
+- int entryWidth = listBox()->width() - listBox()->tqstyle().tqpixelMetric( TQStyle::PM_ScrollBarExtent ) -
+- 2 * listBox()->tqstyle().tqpixelMetric( TQStyle::PM_DefaultFrameWidth );
++ int entryWidth = listBox()->width() - listBox()->style().pixelMetric( TQStyle::PM_ScrollBarExtent ) -
++ 2 * listBox()->style().pixelMetric( TQStyle::PM_DefaultFrameWidth );
+ int titleWidth = ( entryWidth / 3 ) - 1;
+ int urlWidth = entryWidth - titleWidth - pmWidth - 2;
+
+@@ -850,7 +850,7 @@
+ insertStringList( items );
+ else {
+ //Keep track of whether we need to change anything,
+- //so we can avoid a tqrepaint for identical updates,
++ //so we can avoid a repaint for identical updates,
+ //to reduce flicker
+ bool dirty = false;
+
+@@ -884,7 +884,7 @@
+ triggerUpdate( false );
+ }
+
+- if ( isVisible() && size().height() != tqsizeHint().height() )
++ if ( isVisible() && size().height() != sizeHint().height() )
+ sizeAndPosition();
+
+ blockSignals( block );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_factory.cc v3.5.13-sru/konqueror/konq_factory.cc
+--- /tmp/stable//kdebase/konqueror/konq_factory.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_factory.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -42,7 +42,7 @@
+ : m_factory( factory ), m_args( args ), m_createBrowser( createBrowser )
+ {
+ if ( m_createBrowser )
+- m_args << TQString::tqfromLatin1( "Browser/View" );
++ m_args << TQString::fromLatin1( "Browser/View" );
+ }
+
+ KParts::ReadOnlyPart *KonqViewFactory::create( TQWidget *parentWidget, const char *widgetName,
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_frame.cc v3.5.13-sru/konqueror/konq_frame.cc
+--- /tmp/stable//kdebase/konqueror/konq_frame.cc 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/konq_frame.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -68,20 +68,20 @@
+ setSizeGripEnabled( false );
+
+ m_led = new TQLabel( this );
+- m_led->tqsetAlignment( Qt::AlignCenter );
+- m_led->tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ));
++ m_led->setAlignment( Qt::AlignCenter );
++ m_led->setSizePolicy(TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ));
+ addWidget( m_led, 0, false ); // led (active view indicator)
+ m_led->hide();
+
+ m_pStatusLabel = new KSqueezedTextLabel( this );
+ m_pStatusLabel->setMinimumSize( 0, 0 );
+- m_pStatusLabel->tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Fixed ));
++ m_pStatusLabel->setSizePolicy(TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::Fixed ));
+ m_pStatusLabel->installEventFilter(this);
+ addWidget( m_pStatusLabel, 1 /*stretch*/, false ); // status label
+
+ m_pLinkedViewCheckBox = new KonqCheckBox( this, "m_pLinkedViewCheckBox" );
+ m_pLinkedViewCheckBox->setFocusPolicy(TQ_NoFocus);
+- m_pLinkedViewCheckBox->tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ));
++ m_pLinkedViewCheckBox->setSizePolicy(TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ));
+ TQWhatsThis::add( m_pLinkedViewCheckBox,
+ i18n("Checking this box on at least two views sets those views as 'linked'. "
+ "Then, when you change directories in one view, the other views "
+@@ -274,7 +274,7 @@
+
+ bool hasFocus = m_pParentKonqFrame->isActivePart();
+
+- const TQColorGroup& activeCg = kapp->tqpalette().active();
++ const TQColorGroup& activeCg = kapp->palette().active();
+ setPaletteBackgroundColor( hasFocus ? activeCg.midlight() : activeCg.mid() );
+
+ static TQPixmap indicator_viewactive( UserIcon( "indicator_viewactive" ) );
+@@ -301,7 +301,7 @@
+
+ // the frame statusbar
+ m_pStatusBar = new KonqFrameStatusBar( this, "KonquerorFrameStatusBar");
+- m_pStatusBar->tqsetSizePolicy(TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
++ m_pStatusBar->setSizePolicy(TQSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed ));
+ connect(m_pStatusBar, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotStatusBarClicked()));
+ connect( m_pStatusBar, TQT_SIGNAL( linkedViewClicked( bool ) ), this, TQT_SLOT( slotLinkedViewClicked( bool ) ) );
+ m_separator = 0;
+@@ -327,16 +327,16 @@
+ void KonqFrame::saveConfig( KConfig* config, const TQString &prefix, bool saveURLs, KonqFrameBase* docContainer, int /*id*/, int /*depth*/ )
+ {
+ if (saveURLs)
+- config->writePathEntry( TQString::tqfromLatin1( "URL" ).prepend( prefix ),
++ config->writePathEntry( TQString::fromLatin1( "URL" ).prepend( prefix ),
+ childView()->url().url() );
+- config->writeEntry( TQString::tqfromLatin1( "ServiceType" ).prepend( prefix ), childView()->serviceType() );
+- config->writeEntry( TQString::tqfromLatin1( "ServiceName" ).prepend( prefix ), childView()->service()->desktopEntryName() );
+- config->writeEntry( TQString::tqfromLatin1( "PassiveMode" ).prepend( prefix ), childView()->isPassiveMode() );
+- config->writeEntry( TQString::tqfromLatin1( "LinkedView" ).prepend( prefix ), childView()->isLinkedView() );
+- config->writeEntry( TQString::tqfromLatin1( "ToggleView" ).prepend( prefix ), childView()->isToggleView() );
+- config->writeEntry( TQString::tqfromLatin1( "LockedLocation" ).prepend( prefix ), childView()->isLockedLocation() );
+- //config->writeEntry( TQString::tqfromLatin1( "ShowStatusBar" ).prepend( prefix ), statusbar()->isVisible() );
+- if (this == docContainer) config->writeEntry( TQString::tqfromLatin1( "docContainer" ).prepend( prefix ), true );
++ config->writeEntry( TQString::fromLatin1( "ServiceType" ).prepend( prefix ), childView()->serviceType() );
++ config->writeEntry( TQString::fromLatin1( "ServiceName" ).prepend( prefix ), childView()->service()->desktopEntryName() );
++ config->writeEntry( TQString::fromLatin1( "PassiveMode" ).prepend( prefix ), childView()->isPassiveMode() );
++ config->writeEntry( TQString::fromLatin1( "LinkedView" ).prepend( prefix ), childView()->isLinkedView() );
++ config->writeEntry( TQString::fromLatin1( "ToggleView" ).prepend( prefix ), childView()->isToggleView() );
++ config->writeEntry( TQString::fromLatin1( "LockedLocation" ).prepend( prefix ), childView()->isLockedLocation() );
++ //config->writeEntry( TQString::fromLatin1( "ShowStatusBar" ).prepend( prefix ), statusbar()->isVisible() );
++ if (this == docContainer) config->writeEntry( TQString::fromLatin1( "docContainer" ).prepend( prefix ), true );
+
+ KonqConfigEvent ev( config, prefix+"_", true/*save*/);
+ TQApplication::sendEvent( childView()->part(), &ev );
+@@ -352,8 +352,8 @@
+ {
+ TQString className = "NoPart";
+ if (part()) className = part()->widget()->className();
+- kdDebug(1202) << spaces << "KonqFrame " << this << " visible=" << TQString("%1").tqarg(isVisible()) << " containing view "
+- << childView() << " visible=" << TQString("%1").tqarg(isVisible())
++ kdDebug(1202) << spaces << "KonqFrame " << this << " visible=" << TQString("%1").arg(isVisible()) << " containing view "
++ << childView() << " visible=" << TQString("%1").arg(isVisible())
+ << " and part " << part() << " whose widget is a " << className << endl;
+ }
+
+@@ -463,7 +463,7 @@
+ #ifdef USE_QT4
+ #warning [INFO] Repaint call disabled in Qt4 to prevent recursive repaint (which otherwise occurs for unknown reasons)
+ #else // USE_QT4
+- m_pStatusBar->tqrepaint();
++ m_pStatusBar->repaint();
+ #endif // USE_QT4
+ }
+
+@@ -521,40 +521,40 @@
+ int idSecond = id + (int)pow( 2.0, depth );
+
+ //write children sizes
+- config->writeEntry( TQString::tqfromLatin1( "SplitterSizes" ).prepend( prefix ), sizes() );
++ config->writeEntry( TQString::fromLatin1( "SplitterSizes" ).prepend( prefix ), sizes() );
+
+ //write children
+ TQStringList strlst;
+ if( firstChild() )
+- strlst.append( TQString::tqfromLatin1( firstChild()->frameType() ) + TQString::number(idSecond - 1) );
++ strlst.append( TQString::fromLatin1( firstChild()->frameType() ) + TQString::number(idSecond - 1) );
+ if( secondChild() )
+- strlst.append( TQString::tqfromLatin1( secondChild()->frameType() ) + TQString::number( idSecond ) );
++ strlst.append( TQString::fromLatin1( secondChild()->frameType() ) + TQString::number( idSecond ) );
+
+- config->writeEntry( TQString::tqfromLatin1( "Children" ).prepend( prefix ), strlst );
++ config->writeEntry( TQString::fromLatin1( "Children" ).prepend( prefix ), strlst );
+
+ //write orientation
+ TQString o;
+ if( orientation() == Qt::Horizontal )
+- o = TQString::tqfromLatin1("Horizontal");
++ o = TQString::fromLatin1("Horizontal");
+ else if( orientation() == Qt::Vertical )
+- o = TQString::tqfromLatin1("Vertical");
+- config->writeEntry( TQString::tqfromLatin1( "Orientation" ).prepend( prefix ), o );
++ o = TQString::fromLatin1("Vertical");
++ config->writeEntry( TQString::fromLatin1( "Orientation" ).prepend( prefix ), o );
+
+ //write docContainer
+- if (this == docContainer) config->writeEntry( TQString::tqfromLatin1( "docContainer" ).prepend( prefix ), true );
++ if (this == docContainer) config->writeEntry( TQString::fromLatin1( "docContainer" ).prepend( prefix ), true );
+
+- if (m_pSecondChild == m_pActiveChild) config->writeEntry( TQString::tqfromLatin1( "activeChildIndex" ).prepend( prefix ), 1 );
+- else config->writeEntry( TQString::tqfromLatin1( "activeChildIndex" ).prepend( prefix ), 0 );
++ if (m_pSecondChild == m_pActiveChild) config->writeEntry( TQString::fromLatin1( "activeChildIndex" ).prepend( prefix ), 1 );
++ else config->writeEntry( TQString::fromLatin1( "activeChildIndex" ).prepend( prefix ), 0 );
+
+ //write child configs
+ if( firstChild() ) {
+- TQString newPrefix = TQString::tqfromLatin1( firstChild()->frameType() ) + TQString::number(idSecond - 1);
++ TQString newPrefix = TQString::fromLatin1( firstChild()->frameType() ) + TQString::number(idSecond - 1);
+ newPrefix.append( '_' );
+ firstChild()->saveConfig( config, newPrefix, saveURLs, docContainer, id, depth + 1 );
+ }
+
+ if( secondChild() ) {
+- TQString newPrefix = TQString::tqfromLatin1( secondChild()->frameType() ) + TQString::number( idSecond );
++ TQString newPrefix = TQString::fromLatin1( secondChild()->frameType() ) + TQString::number( idSecond );
+ newPrefix.append( '_' );
+ secondChild()->saveConfig( config, newPrefix, saveURLs, docContainer, idSecond, depth + 1 );
+ }
+@@ -580,7 +580,7 @@
+
+ void KonqFrameContainer::printFrameInfo( const TQString& spaces )
+ {
+- kdDebug(1202) << spaces << "KonqFrameContainer " << this << " visible=" << TQString("%1").tqarg(isVisible())
++ kdDebug(1202) << spaces << "KonqFrameContainer " << this << " visible=" << TQString("%1").arg(isVisible())
+ << " activeChild=" << m_pActiveChild << endl;
+ if (!m_pActiveChild)
+ kdDebug(1202) << "WARNING: " << this << " has a null active child!" << endl;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_guiclients.cc v3.5.13-sru/konqueror/konq_guiclients.cc
+--- /tmp/stable//kdebase/konqueror/konq_guiclients.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_guiclients.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -104,8 +104,8 @@
+ openInSameWindow.setAttribute( "name", "sameview" );
+ openInSameWindow.setAttribute( "group", "tabhandling" );
+ menu.appendChild( openInSameWindow );
+-
+- TQDomElement openInWindow = m_doc.createElement( "action" );
++
++ TQDomElement openInWindow = m_doc.createElement( "action" );
+ openInWindow.setAttribute( "name", "newview" );
+ openInWindow.setAttribute( "group", "tabhandling" );
+ menu.appendChild( openInWindow );
+@@ -115,6 +115,11 @@
+ openInTabElement.setAttribute( "group", "tabhandling" );
+ menu.appendChild( openInTabElement );
+
++ TQDomElement openInTabFrontElement = m_doc.createElement( "action" );
++ openInTabFrontElement.setAttribute( "name", "openintabfront" );
++ openInTabFrontElement.setAttribute( "group", "tabhandling" );
++ menu.appendChild( openInTabFrontElement );
++
+ TQDomElement separatorElement = m_doc.createElement( "separator" );
+ separatorElement.setAttribute( "group", "tabhandling" );
+ menu.appendChild( separatorElement );
+@@ -191,7 +196,7 @@
+ TQString name = (*cIt)->desktopEntryName();
+ //kdDebug(1202) << "ToggleViewGUIClient: name=" << name << endl;
+ KToggleAction *action = new KToggleAction( description, 0, mainWindow->actionCollection(), name.latin1() );
+- action->setCheckedState( i18n( "Hide %1" ).tqarg( (*cIt)->name() ) );
++ action->setCheckedState( i18n( "Hide %1" ).arg( (*cIt)->name() ) );
+
+ // HACK
+ if ( (*cIt)->icon() != "unknown" )
+@@ -230,7 +235,7 @@
+
+ void ToggleViewGUIClient::slotToggleView( bool toggle )
+ {
+- TQString serviceName = TQString::tqfromLatin1( TQT_TQOBJECT_CONST(sender())->name() );
++ TQString serviceName = TQString::fromLatin1( TQT_TQOBJECT_CONST(sender())->name() );
+
+ bool horizontal = m_mapOrientation[ serviceName ];
+
+@@ -240,7 +245,7 @@
+ {
+
+ KonqView *childView = viewManager->splitWindow( horizontal ? Qt::Vertical : Qt::Horizontal,
+- TQString::tqfromLatin1( "Browser/View" ),
++ TQString::fromLatin1( "Browser/View" ),
+ serviceName,
+ !horizontal /* vertical = make it first */);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_main.cc v3.5.13-sru/konqueror/konq_main.cc
+--- /tmp/stable//kdebase/konqueror/konq_main.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_main.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -76,7 +76,7 @@
+ while ( KonqMainWindow::canBeRestored( n ) )
+ {
+ TQString className = KMainWindow::classNameOfToplevel( n );
+- if( className == TQString::tqfromLatin1( "KonqMainWindow" ))
++ if( className == TQString::fromLatin1( "KonqMainWindow" ))
+ (new KonqMainWindow( KURL(), false ) )->restore( n );
+ else
+ kdWarning() << "Unknown class " << className << " in session saved data!" << endl;
+@@ -104,7 +104,7 @@
+ TQString profile = TQString::fromLocal8Bit(args->getOption("profile"));
+ TQString profilePath = profile;
+ if (profile[0] != '/')
+- profilePath = locate( "data", TQString::tqfromLatin1("konqueror/profiles/")+profile );
++ profilePath = locate( "data", TQString::fromLatin1("konqueror/profiles/")+profile );
+ TQString url;
+ TQStringList filesToSelect;
+ if (args->count() == 1)
+@@ -150,7 +150,7 @@
+ {
+ // By default try to open in webbrowser mode. People can use "konqueror ." to get a filemanager.
+ TQString profile = "webbrowsing";
+- TQString profilePath = locate( "data", TQString::tqfromLatin1("konqueror/profiles/")+profile );
++ TQString profilePath = locate( "data", TQString::fromLatin1("konqueror/profiles/")+profile );
+ if ( !profilePath.isEmpty() ) {
+ KonqMisc::createBrowserWindowFromProfile( profilePath, profile );
+ } else {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_mainwindow.cc v3.5.13-sru/konqueror/konq_mainwindow.cc
+--- /tmp/stable//kdebase/konqueror/konq_mainwindow.cc 2011-08-20 09:14:06.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_mainwindow.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -235,7 +235,7 @@
+ connect(toolBarMenuAction(),TQT_SIGNAL(activated()),this,TQT_SLOT(slotForceSaveMainWindowSettings()) );
+
+ if ( !m_toggleViewGUIClient->empty() )
+- plugActionList( TQString::tqfromLatin1( "toggleview" ), m_toggleViewGUIClient->actions() );
++ plugActionList( TQString::fromLatin1( "toggleview" ), m_toggleViewGUIClient->actions() );
+ else
+ {
+ delete m_toggleViewGUIClient;
+@@ -342,8 +342,8 @@
+
+ TQWidget * KonqMainWindow::createContainer( TQWidget *parent, int index, const TQDomElement &element, int &id )
+ {
+- static TQString nameBookmarkBar = TQString::tqfromLatin1( "bookmarkToolBar" );
+- static TQString tagToolBar = TQString::tqfromLatin1( "ToolBar" );
++ static TQString nameBookmarkBar = TQString::fromLatin1( "bookmarkToolBar" );
++ static TQString tagToolBar = TQString::fromLatin1( "ToolBar" );
+
+ TQWidget *res = KParts::MainWindow::createContainer( parent, index, element, id );
+
+@@ -393,8 +393,8 @@
+
+ void KonqMainWindow::removeContainer( TQWidget *container, TQWidget *parent, TQDomElement &element, int id )
+ {
+- static TQString nameBookmarkBar = TQString::tqfromLatin1( "bookmarkToolBar" );
+- static TQString tagToolBar = TQString::tqfromLatin1( "ToolBar" );
++ static TQString nameBookmarkBar = TQString::fromLatin1( "bookmarkToolBar" );
++ static TQString tagToolBar = TQString::fromLatin1( "ToolBar" );
+
+ if ( element.tagName() == tagToolBar && element.attribute( "name" ) == nameBookmarkBar )
+ {
+@@ -966,10 +966,10 @@
+
+ if ( !frameName.isEmpty() )
+ {
+- static TQString _top = TQString::tqfromLatin1( "_top" );
+- static TQString _self = TQString::tqfromLatin1( "_self" );
+- static TQString _parent = TQString::tqfromLatin1( "_parent" );
+- static TQString _blank = TQString::tqfromLatin1( "_blank" );
++ static TQString _top = TQString::fromLatin1( "_top" );
++ static TQString _self = TQString::fromLatin1( "_self" );
++ static TQString _parent = TQString::fromLatin1( "_parent" );
++ static TQString _blank = TQString::fromLatin1( "_blank" );
+
+ if ( frameName.lower() == _blank )
+ {
+@@ -1234,7 +1234,7 @@
+ mainWindow->viewManager()->setActivePart( part, true );
+ }
+
+- TQString profileName = TQString::tqfromLatin1( url.isLocalFile() ? "konqueror/profiles/filemanagement" : "konqueror/profiles/webbrowsing" );
++ TQString profileName = TQString::fromLatin1( url.isLocalFile() ? "konqueror/profiles/filemanagement" : "konqueror/profiles/webbrowsing" );
+ KSimpleConfig cfg( locate( "data", profileName ), true );
+ cfg.setGroup( "Profile" );
+
+@@ -1284,7 +1284,7 @@
+
+ if ( !windowArgs.resizable )
+ // ### this doesn't seem to work :-(
+- mainWindow->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
++ mainWindow->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
+
+ // Trying to show the window initially behind the current window is a bit tricky,
+ // as this involves the window manager, which may see things differently.
+@@ -1336,12 +1336,12 @@
+ if ( profile.isEmpty() )
+ {
+ if ( m_currentView && m_currentView->url().protocol().startsWith( "http" ) )
+- profile = TQString::tqfromLatin1("webbrowsing");
++ profile = TQString::fromLatin1("webbrowsing");
+ else
+- profile = TQString::tqfromLatin1("filemanagement");
++ profile = TQString::fromLatin1("filemanagement");
+ }
+ KonqMisc::createBrowserWindowFromProfile(
+- locate( "data", TQString::tqfromLatin1("konqueror/profiles/")+profile ),
++ locate( "data", TQString::fromLatin1("konqueror/profiles/")+profile ),
+ profile );
+ }
+
+@@ -1528,7 +1528,7 @@
+ else
+ url.setPath( TQDir::homeDirPath() );
+ KonqMainWindow * mw = KonqMisc::createBrowserWindowFromProfile(
+- locate( "data", TQString::tqfromLatin1("konqueror/profiles/filemanagement") ),
++ locate( "data", TQString::fromLatin1("konqueror/profiles/filemanagement") ),
+ "filemanagement", url, KParts::URLArgs(), true /* forbid "use html"*/ );
+ mw->m_paFindFiles->setChecked(true);
+ // Delay it after the openURL call (hacky!)
+@@ -1652,7 +1652,7 @@
+ // current viewmode
+ TQPtrListIterator<KAction> it( m_toolBarViewModeActions );
+ for (; it.current(); ++it )
+- if ( TQString::tqfromLatin1( it.current()->name() ) == oldService->desktopEntryName() )
++ if ( TQString::fromLatin1( it.current()->name() ) == oldService->desktopEntryName() )
+ {
+ assert( it.current()->inherits( "KonqViewModeAction" ) );
+
+@@ -1815,7 +1815,7 @@
+ if ( !reloadView || reloadView->url().isEmpty() )
+ return;
+
+- if ( reloadView->part() && (reloadView->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ if ( reloadView->part() && (reloadView->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = reloadView->part()->property("modified");
+ if (prop.isValid() && prop.toBool())
+ if ( KMessageBox::warningContinueCancel( this,
+@@ -2032,7 +2032,7 @@
+ void KonqMainWindow::slotNewToolbarConfig() // This is called when OK or Apply is clicked
+ {
+ if ( m_toggleViewGUIClient )
+- plugActionList( TQString::tqfromLatin1( "toggleview" ), m_toggleViewGUIClient->actions() );
++ plugActionList( TQString::fromLatin1( "toggleview" ), m_toggleViewGUIClient->actions() );
+ if ( m_currentView && m_currentView->appServiceOffers().count() > 0 )
+ plugActionList( "openwith", m_openWithActions );
+
+@@ -2048,7 +2048,7 @@
+ if ( avail && m_currentView && m_currentView->part() )
+ {
+ // Avoid qWarning from TQObject::property if it doesn't exist
+- if ( m_currentView->part()->tqmetaObject()->findProperty( "supportsUndo" ) != -1 )
++ if ( m_currentView->part()->metaObject()->findProperty( "supportsUndo" ) != -1 )
+ {
+ TQVariant prop = m_currentView->part()->property( "supportsUndo" );
+ if ( prop.isValid() && prop.toBool() )
+@@ -2665,7 +2665,7 @@
+ void KonqMainWindow::slotBreakOffTab()
+ {
+ if (m_currentView && m_currentView->part() &&
+- (m_currentView->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ (m_currentView->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = m_currentView->part()->property("modified");
+ if (prop.isValid() && prop.toBool())
+ if ( KMessageBox::warningContinueCancel( this,
+@@ -2682,7 +2682,7 @@
+ {
+ KonqView* originalView = m_currentView;
+ KonqView *view = m_pWorkingTab->activeChildView();
+- if (view && view->part() && (view->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ if (view && view->part() && (view->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = view->part()->property("modified");
+ if (prop.isValid() && prop.toBool()) {
+ m_pViewManager->showTab( view );
+@@ -2726,6 +2726,14 @@
+ openURL( 0L, popupItems.getFirst()->url() );
+ }
+
++void KonqMainWindow::slotPopupNewTabAtFront()
++{
++ KConfig *config = KGlobal::config();
++ KConfigGroupSaver cs( config, TQString::fromLatin1("FMSettings") );
++ bool openAfterCurrentPage = config->readBoolEntry( "OpenAfterCurrentPage", false );
++ popupNewTab(true, openAfterCurrentPage);
++}
++
+ void KonqMainWindow::slotPopupNewTab()
+ {
+ bool openAfterCurrentPage = KonqSettings::openAfterCurrentPage();
+@@ -2787,7 +2795,7 @@
+ void KonqMainWindow::slotRemoveView()
+ {
+ if (m_currentView && m_currentView->part() &&
+- (m_currentView->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ (m_currentView->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = m_currentView->part()->property("modified");
+ if (prop.isValid() && prop.toBool())
+ if ( KMessageBox::warningContinueCancel( this,
+@@ -2803,7 +2811,7 @@
+ void KonqMainWindow::slotRemoveTab()
+ {
+ if (m_currentView && m_currentView->part() &&
+- (m_currentView->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ (m_currentView->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = m_currentView->part()->property("modified");
+ if (prop.isValid() && prop.toBool())
+ if ( KMessageBox::warningContinueCancel( this,
+@@ -2819,7 +2827,7 @@
+ {
+ KonqView *originalView = m_currentView;
+ KonqView *view = m_pWorkingTab->activeChildView();
+- if (view && view->part() && (view->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ if (view && view->part() && (view->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = view->part()->property("modified");
+ if (prop.isValid() && prop.toBool()) {
+ m_pViewManager->showTab( view );
+@@ -2856,7 +2864,7 @@
+ MapViews::ConstIterator end = m_mapViews.end();
+ for (; it != end; ++it ) {
+ KonqView *view = it.data();
+- if ( view != originalView && view && view->part() && (view->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ if ( view != originalView && view && view->part() && (view->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = view->part()->property("modified");
+ if (prop.isValid() && prop.toBool()) {
+ m_pViewManager->showTab( view );
+@@ -2889,7 +2897,7 @@
+ MapViews::ConstIterator end = m_mapViews.end();
+ for (; it != end; ++it ) {
+ KonqView *view = it.data();
+- if (view && view->part() && (view->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ if (view && view->part() && (view->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = view->part()->property("modified");
+ if (prop.isValid() && prop.toBool()) {
+ m_pViewManager->showTab( view );
+@@ -3454,7 +3462,7 @@
+ ext = m_currentView->browserExtension();
+ TQStrList slotNames;
+ if (ext)
+- slotNames = ext->tqmetaObject()->slotNames();
++ slotNames = ext->metaObject()->slotNames();
+
+ //for ( char * s = slotNames.first() ; s ; s = slotNames.next() )
+ //{
+@@ -3494,7 +3502,7 @@
+ connect( m_paCut, TQT_SIGNAL( activated() ), m_combo->lineEdit(), TQT_SLOT( cut() ) );
+ connect( m_paCopy, TQT_SIGNAL( activated() ), m_combo->lineEdit(), TQT_SLOT( copy() ) );
+ connect( m_paPaste, TQT_SIGNAL( activated() ), m_combo->lineEdit(), TQT_SLOT( paste() ) );
+- connect( TQApplication::tqclipboard(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotClipboardDataChanged()) );
++ connect( TQApplication::clipboard(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotClipboardDataChanged()) );
+ connect( m_combo->lineEdit(), TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotCheckComboSelection()) );
+ connect( m_combo->lineEdit(), TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotCheckComboSelection()) );
+
+@@ -3535,7 +3543,7 @@
+ disconnect( m_paCut, TQT_SIGNAL( activated() ), m_combo->lineEdit(), TQT_SLOT( cut() ) );
+ disconnect( m_paCopy, TQT_SIGNAL( activated() ), m_combo->lineEdit(), TQT_SLOT( copy() ) );
+ disconnect( m_paPaste, TQT_SIGNAL( activated() ), m_combo->lineEdit(), TQT_SLOT( paste() ) );
+- disconnect( TQApplication::tqclipboard(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotClipboardDataChanged()) );
++ disconnect( TQApplication::clipboard(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotClipboardDataChanged()) );
+ disconnect( m_combo->lineEdit(), TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotCheckComboSelection()) );
+ disconnect( m_combo->lineEdit(), TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotCheckComboSelection()) );
+
+@@ -3563,7 +3571,7 @@
+ void KonqMainWindow::slotClipboardDataChanged()
+ {
+ //kdDebug(1202) << "KonqMainWindow::slotClipboardDataChanged()" << endl;
+- TQMimeSource *data = TQApplication::tqclipboard()->data();
++ TQMimeSource *data = TQApplication::clipboard()->data();
+ m_paPaste->setEnabled( data->provides( "text/plain" ) );
+ slotCheckComboSelection();
+ }
+@@ -3583,7 +3591,7 @@
+ m_combo->clearTemporary();
+ focusLocationBar();
+ if ( state & Qt::MidButton )
+- m_combo->setURL( TQApplication::tqclipboard()->text( TQClipboard::Selection ) );
++ m_combo->setURL( TQApplication::clipboard()->text( TQClipboard::Selection ) );
+ }
+
+ void KonqMainWindow::slotForceSaveMainWindowSettings()
+@@ -4327,7 +4335,7 @@
+ KParts::BrowserExtension::ActionSlotMap::ConstIterator it = actionSlotMap->begin();
+ KParts::BrowserExtension::ActionSlotMap::ConstIterator itEnd = actionSlotMap->end();
+
+- TQStrList slotNames = ext->tqmetaObject()->slotNames();
++ TQStrList slotNames = ext->metaObject()->slotNames();
+
+ for ( ; it != itEnd ; ++it )
+ {
+@@ -4361,7 +4369,7 @@
+ KParts::BrowserExtension::ActionSlotMap::ConstIterator it = actionSlotMap->begin();
+ KParts::BrowserExtension::ActionSlotMap::ConstIterator itEnd = actionSlotMap->end();
+
+- TQStrList slotNames = ext->tqmetaObject()->slotNames();
++ TQStrList slotNames = ext->metaObject()->slotNames();
+
+ for ( ; it != itEnd ; ++it )
+ {
+@@ -4782,8 +4790,14 @@
+ else
+ tab_new_x = "tab_new_bg" ;
+
+- actNewTab = new KAction( i18n( "Open in &New Tab" ), tab_new_x, 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTab() ), konqyMenuClient->actionCollection(), "openintab" );
+- actNewTab->setToolTip( i18n( "Open the document in a new tab" ) );
++ KAction *actNewTab = new KAction( i18n( "Open in &Background Tab" ), "tab_new_bg", 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTab() ), actionCollection(), "openintab" );
++ actNewTab->setStatusText( i18n( "Open the document in a new background tab" ) );
++ KAction *actNewTabFront = new KAction( i18n( "Open in &New Tab" ), "tab_new", 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTabAtFront() ), actionCollection(), "openintabfront" );
++ actNewTabFront->setStatusText( i18n( "Open the document in a new foreground tab" ) );
++ actNewTab = new KAction( i18n( "Open in &Background Tab" ), tab_new_x, 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTab() ), konqyMenuClient->actionCollection(), "openintab" );
++ actNewTabFront = new KAction( i18n( "Open in &New Tab" ), tab_new_x, 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewTabAtFront() ), konqyMenuClient->actionCollection(), "openintabfront" );
++ actNewTab->setToolTip( i18n( "Open the document in a new background tab" ) );
++ actNewTabFront->setToolTip( i18n( "Open the document in a new foreground tab" ) );
+ doTabHandling = true;
+ }
+
+@@ -4888,7 +4902,7 @@
+ m_currentView = m_oldView;
+ }
+ // Special case: RMB + renaming in sidebar; setFocus would abort editing.
+- TQWidget* fw = tqfocusWidget();
++ TQWidget* fw = focusWidget();
+ if ( !fw || !::tqqt_cast<TQLineEdit*>( fw ) )
+ m_oldView->part()->widget()->setFocus();
+ }
+@@ -5111,7 +5125,7 @@
+ itname = (*it)->name();
+
+ TQString icon = (*it)->icon();
+- if ( icon != TQString::tqfromLatin1( "unknown" ) )
++ if ( icon != TQString::fromLatin1( "unknown" ) )
+ // we *have* to specify a parent qobject, otherwise the exclusive group stuff doesn't work!(Simon)
+ action = new KRadioAction( itname, icon, 0, TQT_TQOBJECT(this), (*it)->desktopEntryName().ascii() );
+ else
+@@ -5282,7 +5296,7 @@
+ if ( tabContainer->count() > 1 )
+ {
+ KConfig *config = KGlobal::config();
+- KConfigGroupSaver cs( config, TQString::tqfromLatin1("Notification Messages") );
++ KConfigGroupSaver cs( config, TQString::fromLatin1("Notification Messages") );
+
+ if ( !config->hasKey( "MultipleTabConfirm" ) )
+ {
+@@ -5320,7 +5334,7 @@
+ MapViews::ConstIterator end = m_mapViews.end();
+ for (; it != end; ++it ) {
+ KonqView *view = it.data();
+- if (view && view->part() && (view->part()->tqmetaObject()->findProperty("modified") != -1) ) {
++ if (view && view->part() && (view->part()->metaObject()->findProperty("modified") != -1) ) {
+ TQVariant prop = view->part()->property("modified");
+ if (prop.isValid() && prop.toBool()) {
+ m_pViewManager->showTab( view );
+@@ -5338,7 +5352,7 @@
+ // m_pViewManager->showTab( originalView );
+ }
+ else if ( m_currentView && m_currentView->part() &&
+- (m_currentView->part()->tqmetaObject()->findProperty("modified") != -1) )
++ (m_currentView->part()->metaObject()->findProperty("modified") != -1) )
+ {
+ TQVariant prop = m_currentView->part()->property("modified");
+ if (prop.isValid() && prop.toBool())
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_mainwindow.h v3.5.13-sru/konqueror/konq_mainwindow.h
+--- /tmp/stable//kdebase/konqueror/konq_mainwindow.h 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/konq_mainwindow.h 2012-09-08 19:41:29.000000000 +0200
+@@ -444,6 +444,7 @@
+ void slotPopupNewWindow();
+ void slotPopupThisWindow();
+ void slotPopupNewTab();
++ void slotPopupNewTabAtFront();
+ void slotPopupNewTabRight();
+ void slotPopupPasteTo();
+ void slotRemoveView();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_misc.cc v3.5.13-sru/konqueror/konq_misc.cc
+--- /tmp/stable//kdebase/konqueror/konq_misc.cc 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/konq_misc.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -106,7 +106,7 @@
+ KMimeType::findByURL(url)->name() == "text/html")
+ ? "webbrowsing" : "filemanagement";
+
+- TQString profile = locate( "data", TQString::tqfromLatin1("konqueror/profiles/") + profileName );
++ TQString profile = locate( "data", TQString::fromLatin1("konqueror/profiles/") + profileName );
+ return createBrowserWindowFromProfile(profile, profileName,
+ url, args,
+ forbidUseHTML, filesToSelect, tempFile, openURL );
+@@ -225,7 +225,7 @@
+ , m_mw(mw)
+ {
+ setBackgroundMode( TQt::PaletteButton );
+- tqsetAlignment( (TQApplication::reverseLayout() ? Qt::AlignRight : Qt::AlignLeft) |
++ setAlignment( (TQApplication::reverseLayout() ? Qt::AlignRight : Qt::AlignLeft) |
+ Qt::AlignVCenter | TQt::ShowPrefix );
+ setAcceptDrops(true);
+ adjustSize();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_profiledlg.cc v3.5.13-sru/konqueror/konq_profiledlg.cc
+--- /tmp/stable//kdebase/konqueror/konq_profiledlg.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_profiledlg.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -104,7 +104,7 @@
+ TQT_SLOT( slotItemRenamed( TQListViewItem * ) ) );
+
+ loadAllProfiles( preselectProfile );
+- m_pListView->setMinimumSize( m_pListView->tqsizeHint() );
++ m_pListView->setMinimumSize( m_pListView->sizeHint() );
+
+ m_cbSaveURLs = new TQCheckBox( i18n("Save &URLs in profile"), box );
+ m_cbSaveURLs->setChecked( KonqSettings::saveURLInProfile() );
+@@ -121,7 +121,7 @@
+ enableButton( BTN_RENAME, m_pListView->selectedItem ()!=0 );
+ enableButton( BTN_DELETE, m_pListView->selectedItem ()!=0 );
+
+- resize( tqsizeHint() );
++ resize( sizeHint() );
+ }
+
+ KonqProfileDlg::~KonqProfileDlg()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_tabs.cc v3.5.13-sru/konqueror/konq_tabs.cc
+--- /tmp/stable//kdebase/konqueror/konq_tabs.cc 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/konq_tabs.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -196,16 +196,16 @@
+ TQString newPrefix;
+ for (KonqFrameBase* it = m_pChildFrameList->first(); it; it = m_pChildFrameList->next())
+ {
+- newPrefix = TQString::tqfromLatin1( it->frameType() ) + "T" + TQString::number(i);
++ newPrefix = TQString::fromLatin1( it->frameType() ) + "T" + TQString::number(i);
+ strlst.append( newPrefix );
+ newPrefix.append( '_' );
+ it->saveConfig( config, newPrefix, saveURLs, docContainer, id, depth + i );
+ i++;
+ }
+
+- config->writeEntry( TQString::tqfromLatin1( "Children" ).prepend( prefix ), strlst );
++ config->writeEntry( TQString::fromLatin1( "Children" ).prepend( prefix ), strlst );
+
+- config->writeEntry( TQString::tqfromLatin1( "activeChildIndex" ).prepend( prefix ),
++ config->writeEntry( TQString::fromLatin1( "activeChildIndex" ).prepend( prefix ),
+ currentPageIndex() );
+ }
+
+@@ -218,14 +218,14 @@
+
+ for (uint i = 0; i < m_pChildFrameList->count(); i++ )
+ {
+- m_pChildFrameList->tqat(i)->copyHistory( static_cast<KonqFrameTabs *>( other )->m_pChildFrameList->tqat(i) );
++ m_pChildFrameList->at(i)->copyHistory( static_cast<KonqFrameTabs *>( other )->m_pChildFrameList->at(i) );
+ }
+ }
+
+ void KonqFrameTabs::printFrameInfo( const TQString& spaces )
+ {
+ kdDebug(1202) << spaces << "KonqFrameTabs " << this << " visible="
+- << TQString("%1").tqarg(isVisible()) << " activeChild="
++ << TQString("%1").arg(isVisible()) << " activeChild="
+ << m_pActiveChild << endl;
+
+ if (!m_pActiveChild)
+@@ -234,7 +234,7 @@
+ KonqFrameBase* child;
+ int childFrameCount = m_pChildFrameList->count();
+ for (int i = 0 ; i < childFrameCount ; i++) {
+- child = m_pChildFrameList->tqat(i);
++ child = m_pChildFrameList->at(i);
+ if (child != 0L)
+ child->printFrameInfo(spaces + " ");
+ else
+@@ -346,7 +346,7 @@
+
+ void KonqFrameTabs::slotMovedTab( int from, int to )
+ {
+- KonqFrameBase* fromFrame = m_pChildFrameList->tqat( from );
++ KonqFrameBase* fromFrame = m_pChildFrameList->at( from );
+ m_pChildFrameList->remove( fromFrame );
+ m_pChildFrameList->insert( to, fromFrame );
+
+@@ -440,8 +440,8 @@
+
+ void KonqFrameTabs::slotMouseMiddleClick()
+ {
+- TQApplication::tqclipboard()->setSelectionMode( TQClipboard::Selection );
+- KURL filteredURL ( KonqMisc::konqFilteredURL( this, TQApplication::tqclipboard()->text() ) );
++ TQApplication::clipboard()->setSelectionMode( TQClipboard::Selection );
++ KURL filteredURL ( KonqMisc::konqFilteredURL( this, TQApplication::clipboard()->text() ) );
+ if ( !filteredURL.isEmpty() ) {
+ KonqView* newView = m_pViewManager->addTab(TQString::null, TQString::null, false, false);
+ if (newView == 0L) return;
+@@ -461,8 +461,8 @@
+ }
+ }
+ else {
+- TQApplication::tqclipboard()->setSelectionMode( TQClipboard::Selection );
+- KURL filteredURL ( KonqMisc::konqFilteredURL( this, TQApplication::tqclipboard()->text() ) );
++ TQApplication::clipboard()->setSelectionMode( TQClipboard::Selection );
++ KURL filteredURL ( KonqMisc::konqFilteredURL( this, TQApplication::clipboard()->text() ) );
+ if ( !filteredURL.isEmpty() ) {
+ KonqFrameBase* frame = tqt_dynamic_cast<KonqFrameBase*>(w);
+ if (frame) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/KonquerorIface.cc v3.5.13-sru/konqueror/KonquerorIface.cc
+--- /tmp/stable//kdebase/konqueror/KonquerorIface.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/KonquerorIface.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -251,18 +251,18 @@
+ TQStringList allowed_parts = KonqSettings::safeParts();
+ bool all_parts_allowed = false;
+
+- if( allowed_parts.count() == 1 && allowed_parts.first() == TQString::tqfromLatin1( "SAFE" ))
++ if( allowed_parts.count() == 1 && allowed_parts.first() == TQString::fromLatin1( "SAFE" ))
+ {
+ allowed_parts.clear();
+ // is duplicated in client/kfmclient.cc
+- allowed_parts << TQString::tqfromLatin1( "konq_iconview.desktop" )
+- << TQString::tqfromLatin1( "konq_multicolumnview.desktop" )
+- << TQString::tqfromLatin1( "konq_sidebartng.desktop" )
+- << TQString::tqfromLatin1( "konq_infolistview.desktop" )
+- << TQString::tqfromLatin1( "konq_treeview.desktop" )
+- << TQString::tqfromLatin1( "konq_detailedlistview.desktop" );
++ allowed_parts << TQString::fromLatin1( "konq_iconview.desktop" )
++ << TQString::fromLatin1( "konq_multicolumnview.desktop" )
++ << TQString::fromLatin1( "konq_sidebartng.desktop" )
++ << TQString::fromLatin1( "konq_infolistview.desktop" )
++ << TQString::fromLatin1( "konq_treeview.desktop" )
++ << TQString::fromLatin1( "konq_detailedlistview.desktop" );
+ }
+- else if( allowed_parts.count() == 1 && allowed_parts.first() == TQString::tqfromLatin1( "ALL" ))
++ else if( allowed_parts.count() == 1 && allowed_parts.first() == TQString::fromLatin1( "ALL" ))
+ {
+ allowed_parts.clear();
+ all_parts_allowed = true;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_view.cc v3.5.13-sru/konqueror/konq_view.cc
+--- /tmp/stable//kdebase/konqueror/konq_view.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_view.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -117,7 +117,7 @@
+ if (part_url.isNull())
+ part_url = "";
+ TQCString line;
+- line = ( TQString("close(%1):%2\n").tqarg(m_randID,0,16).tqarg(part_url) ).utf8();
++ line = ( TQString("close(%1):%2\n").arg(m_randID,0,16).arg(part_url) ).utf8();
+ KonqMainWindow::s_crashlog_file->writeBlock(line, line.length());
+ KonqMainWindow::s_crashlog_file->flush();
+ }
+@@ -155,9 +155,9 @@
+
+ TQCString line;
+
+- line = ( TQString("closed(%1):%2\n").tqarg(m_randID,0,16).tqarg(part_url) ).utf8();
++ line = ( TQString("closed(%1):%2\n").arg(m_randID,0,16).arg(part_url) ).utf8();
+ KonqMainWindow::s_crashlog_file->writeBlock(line,line.length());
+- line = ( TQString("opened(%3):%4\n").tqarg(m_randID,0,16).tqarg(url_url) ).utf8();
++ line = ( TQString("opened(%3):%4\n").arg(m_randID,0,16).arg(url_url) ).utf8();
+ KonqMainWindow::s_crashlog_file->writeBlock(line,line.length());
+ KonqMainWindow::s_crashlog_file->flush();
+ }
+@@ -227,7 +227,7 @@
+ KonqHistoryManager::kself()->addPending( url, locationBarURL, TQString::null);
+
+ #ifdef DEBUG_HISTORY
+- kdDebug(1202) << "Current position : " << m_lstHistory.tqat() << endl;
++ kdDebug(1202) << "Current position : " << m_lstHistory.at() << endl;
+ #endif
+ }
+
+@@ -528,8 +528,8 @@
+ // Manage passwords properly...
+ if (m_pMainWindow)
+ {
+- kdDebug(7035) << "slotStarted: Window ID = " << m_pMainWindow->tqtopLevelWidget()->winId() << endl;
+- job->setWindow (m_pMainWindow->tqtopLevelWidget ());
++ kdDebug(7035) << "slotStarted: Window ID = " << m_pMainWindow->topLevelWidget()->winId() << endl;
++ job->setWindow (m_pMainWindow->topLevelWidget ());
+ }
+
+ connect( job, TQT_SIGNAL( percent( KIO::Job *, unsigned long ) ), this, TQT_SLOT( slotPercent( KIO::Job *, unsigned long ) ) );
+@@ -711,7 +711,7 @@
+ #ifdef DEBUG_HISTORY
+ kdDebug(1202) << "Truncating history" << endl;
+ #endif
+- m_lstHistory.tqat( m_lstHistory.count() - 1 ); // go to last one
++ m_lstHistory.at( m_lstHistory.count() - 1 ); // go to last one
+ for ( ; m_lstHistory.current() != current ; )
+ {
+ if ( !m_lstHistory.removeLast() ) // and remove from the end (faster and easier)
+@@ -720,7 +720,7 @@
+ // makes current() null if it's the last item. however in qt2
+ // the behaviour was different than the documentation. this is
+ // changed in qt3 to behave as documented ;-) (Simon)
+- m_lstHistory.tqat( m_lstHistory.count() - 1 );
++ m_lstHistory.at( m_lstHistory.count() - 1 );
+ }
+ // Now current is the current again.
+ }
+@@ -730,9 +730,9 @@
+ #endif
+ m_lstHistory.append( new HistoryEntry ); // made current
+ #ifdef DEBUG_HISTORY
+- kdDebug(1202) << "at=" << m_lstHistory.tqat() << " count=" << m_lstHistory.count() << endl;
++ kdDebug(1202) << "at=" << m_lstHistory.at() << " count=" << m_lstHistory.count() << endl;
+ #endif
+- assert( m_lstHistory.tqat() == (int) m_lstHistory.count() - 1 );
++ assert( m_lstHistory.at() == (int) m_lstHistory.count() - 1 );
+ }
+
+ void KonqView::updateHistoryEntry( bool saveLocationBarURL )
+@@ -752,20 +752,20 @@
+ }
+
+ #ifdef DEBUG_HISTORY
+- kdDebug(1202) << "Saving part URL : " << m_pPart->url() << " in history position " << m_lstHistory.tqat() << endl;
++ kdDebug(1202) << "Saving part URL : " << m_pPart->url() << " in history position " << m_lstHistory.at() << endl;
+ #endif
+ current->url = m_pPart->url();
+
+ if (saveLocationBarURL)
+ {
+ #ifdef DEBUG_HISTORY
+- kdDebug(1202) << "Saving location bar URL : " << m_sLocationBarURL << " in history position " << m_lstHistory.tqat() << endl;
++ kdDebug(1202) << "Saving location bar URL : " << m_sLocationBarURL << " in history position " << m_lstHistory.at() << endl;
+ #endif
+ current->locationBarURL = m_sLocationBarURL;
+ current->pageSecurity = m_pageSecurity;
+ }
+ #ifdef DEBUG_HISTORY
+- kdDebug(1202) << "Saving title : " << m_caption << " in history position " << m_lstHistory.tqat() << endl;
++ kdDebug(1202) << "Saving title : " << m_caption << " in history position " << m_lstHistory.at() << endl;
+ #endif
+ current->title = m_caption;
+ current->strServiceType = m_serviceType;
+@@ -800,7 +800,7 @@
+ return;
+ }
+
+- int newPos = m_lstHistory.tqat() + steps;
++ int newPos = m_lstHistory.at() + steps;
+ #ifdef DEBUG_HISTORY
+ kdDebug(1202) << "go : steps=" << steps
+ << " newPos=" << newPos
+@@ -813,13 +813,13 @@
+ stop();
+
+ // Yay, we can move there without a loop !
+- HistoryEntry *currentHistoryEntry = m_lstHistory.tqat( newPos ); // sets current item
++ HistoryEntry *currentHistoryEntry = m_lstHistory.at( newPos ); // sets current item
+
+ assert( currentHistoryEntry );
+- assert( newPos == m_lstHistory.tqat() ); // check we moved (i.e. if I understood the docu)
++ assert( newPos == m_lstHistory.at() ); // check we moved (i.e. if I understood the docu)
+ assert( currentHistoryEntry == m_lstHistory.current() );
+ #ifdef DEBUG_HISTORY
+- kdDebug(1202) << "New position " << m_lstHistory.tqat() << endl;
++ kdDebug(1202) << "New position " << m_lstHistory.at() << endl;
+ #endif
+
+ restoreHistory();
+@@ -866,7 +866,7 @@
+ m_pMainWindow->updateToolBarActions();
+
+ #ifdef DEBUG_HISTORY
+- kdDebug(1202) << "New position (2) " << m_lstHistory.tqat() << endl;
++ kdDebug(1202) << "New position (2) " << m_lstHistory.at() << endl;
+ #endif
+ }
+
+@@ -874,9 +874,9 @@
+ {
+ if(pos<0 || pos>=(int)m_lstHistory.count())
+ return 0L;
+- int oldpos = m_lstHistory.tqat();
+- const HistoryEntry* h = m_lstHistory.tqat(pos);
+- m_lstHistory.tqat( oldpos );
++ int oldpos = m_lstHistory.at();
++ const HistoryEntry* h = m_lstHistory.at(pos);
++ m_lstHistory.at( oldpos );
+ return h;
+ }
+
+@@ -887,7 +887,7 @@
+ TQPtrListIterator<HistoryEntry> it( other->m_lstHistory );
+ for (; it.current(); ++it )
+ m_lstHistory.append( new HistoryEntry( *it.current() ) );
+- m_lstHistory.tqat(other->m_lstHistory.tqat());
++ m_lstHistory.at(other->m_lstHistory.at());
+ }
+
+ KURL KonqView::url() const
+@@ -1077,7 +1077,7 @@
+ if ( !obj ) // not all views have a browser extension !
+ return false;
+
+- int id = obj->tqmetaObject()->findSlot( methodName );
++ int id = obj->metaObject()->findSlot( methodName );
+ if ( id == -1 )
+ return false;
+ TQUObject o[ 1 ];
+@@ -1092,7 +1092,7 @@
+ if ( !obj ) // not all views have a browser extension !
+ return false;
+
+- int id = obj->tqmetaObject()->findSlot( methodName );
++ int id = obj->metaObject()->findSlot( methodName );
+ if ( id == -1 )
+ return false;
+ TQUObject o[ 2 ];
+@@ -1109,7 +1109,7 @@
+ if ( !obj ) // not all views have a browser extension !
+ return false;
+
+- int id = obj->tqmetaObject()->findSlot( methodName );
++ int id = obj->metaObject()->findSlot( methodName );
+ if ( id == -1 )
+ return false;
+ TQUObject o[ 2 ];
+@@ -1126,7 +1126,7 @@
+ if ( !obj ) // not all views have a browser extension !
+ return false;
+
+- int id = obj->tqmetaObject()->findSlot( methodName );
++ int id = obj->metaObject()->findSlot( methodName );
+ if ( id == -1 )
+ return false;
+ TQUObject o[ 2 ];
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_view.h v3.5.13-sru/konqueror/konq_view.h
+--- /tmp/stable//kdebase/konqueror/konq_view.h 2011-03-12 07:58:18.000000000 +0100
++++ v3.5.13-sru/konqueror/konq_view.h 2012-09-08 19:41:29.000000000 +0200
+@@ -125,17 +125,17 @@
+ /**
+ * @return true if view can go back
+ */
+- bool canGoBack()const { return m_lstHistory.tqat() > 0; }
++ bool canGoBack()const { return m_lstHistory.at() > 0; }
+
+ /**
+ * @return true if view can go forward
+ */
+- bool canGoForward()const { return m_lstHistory.tqat() != ((int)m_lstHistory.count())-1; }
++ bool canGoForward()const { return m_lstHistory.at() != ((int)m_lstHistory.count())-1; }
+
+ /**
+ * @return the position in the history
+ */
+- int historyPos() const { return m_lstHistory.tqat(); }
++ int historyPos() const { return m_lstHistory.at(); }
+
+ uint historyLength() { return m_lstHistory.count(); }
+
+@@ -149,7 +149,7 @@
+ */
+ void restoreHistory();
+
+- void setHistoryPos(int newPos) { m_lstHistory.tqat( newPos ); }
++ void setHistoryPos(int newPos) { m_lstHistory.at( newPos ); }
+
+ /**
+ * @return the history of this view
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/konq_viewmgr.cc v3.5.13-sru/konqueror/konq_viewmgr.cc
+--- /tmp/stable//kdebase/konqueror/konq_viewmgr.cc 2011-08-11 07:25:53.000000000 +0200
++++ v3.5.13-sru/konqueror/konq_viewmgr.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -132,7 +132,7 @@
+ //printSizeInfo( splitFrame, parentContainer, "before split");
+ #endif
+
+- parentContainer->widget()->tqsetUpdatesEnabled( false );
++ parentContainer->widget()->setUpdatesEnabled( false );
+
+ //kdDebug(1202) << "Move out child" << endl;
+ TQPoint pos = splitFrame->widget()->pos();
+@@ -184,7 +184,7 @@
+ //newView->frame()->show();
+ newContainer->show();
+
+- parentContainer->widget()->tqsetUpdatesEnabled( true );
++ parentContainer->widget()->setUpdatesEnabled( true );
+
+ if (m_pDocContainer == splitFrame) m_pDocContainer = newContainer;
+
+@@ -226,7 +226,7 @@
+
+ KonqFrameBase* mainFrame = m_pMainWindow->childFrame();
+
+- mainFrame->widget()->tqsetUpdatesEnabled( false );
++ mainFrame->widget()->setUpdatesEnabled( false );
+
+ //kdDebug(1202) << "Move out child" << endl;
+ TQPoint pos = mainFrame->widget()->pos();
+@@ -249,7 +249,7 @@
+
+ newContainer->show();
+
+- mainFrame->widget()->tqsetUpdatesEnabled( true );
++ mainFrame->widget()->setUpdatesEnabled( true );
+
+ if( childView )
+ childView->openURL( url, locationBarURL );
+@@ -279,7 +279,7 @@
+ splitterSizes = static_cast<KonqFrameContainer*>(parentContainer)->sizes();
+ }
+
+- parentContainer->widget()->tqsetUpdatesEnabled( false );
++ parentContainer->widget()->setUpdatesEnabled( false );
+
+ //kdDebug(1202) << "Move out child" << endl;
+ TQPoint pos = m_pDocContainer->widget()->pos();
+@@ -302,7 +302,7 @@
+
+ newContainer->show();
+
+- parentContainer->widget()->tqsetUpdatesEnabled( true );
++ parentContainer->widget()->setUpdatesEnabled( true );
+
+ m_pDocContainer = newContainer;
+ }
+@@ -423,7 +423,7 @@
+ KConfig config( tempFile.name() );
+ config.setGroup( "View Profile" );
+
+- TQString prefix = TQString::tqfromLatin1( currentFrame->frameType() ) + TQString::number(0);
++ TQString prefix = TQString::fromLatin1( currentFrame->frameType() ) + TQString::number(0);
+ config.writeEntry( "RootItem", prefix );
+ prefix.append( '_' );
+ currentFrame->saveConfig( &config, prefix, true, 0L, 0, 1);
+@@ -493,10 +493,10 @@
+ KConfig config( tempFile.name() );
+ config.setGroup( "View Profile" );
+
+- TQString prefix = TQString::tqfromLatin1( currentFrame->frameType() ) + TQString::number(0);
++ TQString prefix = TQString::fromLatin1( currentFrame->frameType() ) + TQString::number(0);
+ config.writeEntry( "RootItem", prefix );
+ prefix.append( '_' );
+- config.writeEntry( TQString::tqfromLatin1( "docContainer" ).prepend( prefix ), true );
++ config.writeEntry( TQString::fromLatin1( "docContainer" ).prepend( prefix ), true );
+ currentFrame->saveConfig( &config, prefix, true, 0L, 0, 1);
+
+ KonqMainWindow *mainWindow = new KonqMainWindow( KURL(), false );
+@@ -784,7 +784,7 @@
+
+ if (m_pDocContainer == parentContainer) m_pDocContainer = otherFrame;
+
+- grandParentContainer->widget()->tqsetUpdatesEnabled( false );
++ grandParentContainer->widget()->setUpdatesEnabled( false );
+ static_cast<KonqFrameContainer*>(parentContainer)->setAboutToBeDeleted();
+
+ //kdDebug(1202) << "--- Reparenting otherFrame to m_pMainWindow " << m_pMainWindow << endl;
+@@ -826,7 +826,7 @@
+ grandParentContainer->setActiveChild( otherFrame );
+ grandParentContainer->activateChild();
+
+- grandParentContainer->widget()->tqsetUpdatesEnabled( true );
++ grandParentContainer->widget()->setUpdatesEnabled( true );
+ }
+ else if (parentContainer->frameType()=="Tabs") {
+ kdDebug(1202) << "parentContainer " << parentContainer << " is a KonqFrameTabs" << endl;
+@@ -1077,7 +1077,7 @@
+ void KonqViewManager::saveViewProfile( const TQString & fileName, const TQString & profileName, bool saveURLs, bool saveWindowSize )
+ {
+
+- TQString path = locateLocal( "data", TQString::tqfromLatin1( "konqueror/profiles/" ) +
++ TQString path = locateLocal( "data", TQString::fromLatin1( "konqueror/profiles/" ) +
+ fileName, KGlobal::instance() );
+
+ if ( TQFile::exists( path ) )
+@@ -1096,7 +1096,7 @@
+ {
+ //kdDebug(1202) << "KonqViewManager::saveViewProfile" << endl;
+ if( m_pMainWindow->childFrame() != 0L ) {
+- TQString prefix = TQString::tqfromLatin1( m_pMainWindow->childFrame()->frameType() )
++ TQString prefix = TQString::fromLatin1( m_pMainWindow->childFrame()->frameType() )
+ + TQString::number(0);
+ cfg.writeEntry( "RootItem", prefix );
+ prefix.append( '_' );
+@@ -1156,7 +1156,7 @@
+ for ( it.toFirst(); it != 0L; ++it )
+ {
+ KonqView *view = it.current()->activeChildView();
+- if (view && view->part() && (view->part()->tqmetaObject()->findProperty("modified") != -1)) {
++ if (view && view->part() && (view->part()->metaObject()->findProperty("modified") != -1)) {
+ TQVariant prop = view->part()->property("modified");
+ if (prop.isValid() && prop.toBool()) {
+ showTab( view );
+@@ -1175,7 +1175,7 @@
+ else
+ {
+ KonqView *view = m_pMainWindow->currentView();
+- if (view && view->part() && (view->part()->tqmetaObject()->findProperty("modified") != -1)) {
++ if (view && view->part() && (view->part()->metaObject()->findProperty("modified") != -1)) {
+ TQVariant prop = view->part()->property("modified");
+ if (prop.isValid() && prop.toBool())
+ if ( KMessageBox::warningContinueCancel( 0,
+@@ -1465,8 +1465,8 @@
+ serviceType = "text/html";
+ serviceName = "html";
+ } else {
+- serviceType = cfg.readEntry( TQString::tqfromLatin1( "ServiceType" ).prepend( prefix ), "inode/directory");
+- serviceName = cfg.readEntry( TQString::tqfromLatin1( "ServiceName" ).prepend( prefix ) );
++ serviceType = cfg.readEntry( TQString::fromLatin1( "ServiceType" ).prepend( prefix ), "inode/directory");
++ serviceName = cfg.readEntry( TQString::fromLatin1( "ServiceName" ).prepend( prefix ) );
+ }
+ //kdDebug(1202) << "KonqViewManager::loadItem: ServiceType " << serviceType << " " << serviceName << endl;
+
+@@ -1480,17 +1480,17 @@
+ return; //ugh..
+ }
+
+- bool passiveMode = cfg.readBoolEntry( TQString::tqfromLatin1( "PassiveMode" ).prepend( prefix ), false );
++ bool passiveMode = cfg.readBoolEntry( TQString::fromLatin1( "PassiveMode" ).prepend( prefix ), false );
+
+ //kdDebug(1202) << "KonqViewManager::loadItem: Creating View Stuff" << endl;
+ KonqView *childView = setupView( parent, viewFactory, service, partServiceOffers, appServiceOffers, serviceType, passiveMode, openAfterCurrentPage );
+
+- if (!childView->isFollowActive()) childView->setLinkedView( cfg.readBoolEntry( TQString::tqfromLatin1( "LinkedView" ).prepend( prefix ), false ) );
+- childView->setToggleView( cfg.readBoolEntry( TQString::tqfromLatin1( "ToggleView" ).prepend( prefix ), false ) );
+- if( !cfg.readBoolEntry( TQString::tqfromLatin1( "ShowStatusBar" ).prepend( prefix ), true ) )
++ if (!childView->isFollowActive()) childView->setLinkedView( cfg.readBoolEntry( TQString::fromLatin1( "LinkedView" ).prepend( prefix ), false ) );
++ childView->setToggleView( cfg.readBoolEntry( TQString::fromLatin1( "ToggleView" ).prepend( prefix ), false ) );
++ if( !cfg.readBoolEntry( TQString::fromLatin1( "ShowStatusBar" ).prepend( prefix ), true ) )
+ childView->frame()->statusbar()->hide();
+
+- if (cfg.readBoolEntry( TQString::tqfromLatin1( "docContainer" ).prepend( prefix ), false ))
++ if (cfg.readBoolEntry( TQString::fromLatin1( "docContainer" ).prepend( prefix ), false ))
+ m_pDocContainer = childView->frame();
+
+ if (!m_pDocContainer)
+@@ -1536,7 +1536,7 @@
+
+ childView->frame()->show();
+
+- TQString key = TQString::tqfromLatin1( "URL" ).prepend( prefix );
++ TQString key = TQString::fromLatin1( "URL" ).prepend( prefix );
+ if ( openURL )
+ {
+ KURL url;
+@@ -1546,11 +1546,11 @@
+ {
+ TQString u = cfg.readPathEntry( key );
+ if ( u.isEmpty() )
+- u = TQString::tqfromLatin1("about:blank");
++ u = TQString::fromLatin1("about:blank");
+ url = u;
+ }
+ else if(key == "empty_URL")
+- url = TQString::tqfromLatin1("about:blank");
++ url = TQString::fromLatin1("about:blank");
+ else
+ url = defaultURL;
+
+@@ -1567,13 +1567,13 @@
+ //else kdDebug(1202) << "KonqViewManager::loadItem: url is empty" << endl;
+ }
+ // Do this after opening the URL, so that it's actually possible to open it :)
+- childView->setLockedLocation( cfg.readBoolEntry( TQString::tqfromLatin1( "LockedLocation" ).prepend( prefix ), false ) );
++ childView->setLockedLocation( cfg.readBoolEntry( TQString::fromLatin1( "LockedLocation" ).prepend( prefix ), false ) );
+ }
+ else if( name.startsWith("Container") ) {
+ //kdDebug(1202) << "KonqViewManager::loadItem Item is Container" << endl;
+
+ //load container config
+- TQString ostr = cfg.readEntry( TQString::tqfromLatin1( "Orientation" ).prepend( prefix ) );
++ TQString ostr = cfg.readEntry( TQString::fromLatin1( "Orientation" ).prepend( prefix ) );
+ //kdDebug(1202) << "Orientation: " << ostr << endl;
+ Qt::Orientation o;
+ if( ostr == "Vertical" )
+@@ -1586,12 +1586,12 @@
+ }
+
+ TQValueList<int> sizes =
+- cfg.readIntListEntry( TQString::tqfromLatin1( "SplitterSizes" ).prepend( prefix ));
++ cfg.readIntListEntry( TQString::fromLatin1( "SplitterSizes" ).prepend( prefix ));
+
+- int index = cfg.readNumEntry( TQString::tqfromLatin1( "activeChildIndex" ).prepend(prefix), -1 );
++ int index = cfg.readNumEntry( TQString::fromLatin1( "activeChildIndex" ).prepend(prefix), -1 );
+
+ TQStrList childList;
+- if( cfg.readListEntry( TQString::tqfromLatin1( "Children" ).prepend( prefix ), childList ) < 2 )
++ if( cfg.readListEntry( TQString::fromLatin1( "Children" ).prepend( prefix ), childList ) < 2 )
+ {
+ kdWarning() << "Profile Loading Error: Less than two children in " << name << endl;
+ // fallback to defaults
+@@ -1608,11 +1608,11 @@
+ parent->insertChildFrame( newContainer, tabindex );
+
+
+- if (cfg.readBoolEntry( TQString::tqfromLatin1( "docContainer" ).prepend( prefix ), false ))
++ if (cfg.readBoolEntry( TQString::fromLatin1( "docContainer" ).prepend( prefix ), false ))
+ m_pDocContainer = newContainer;
+
+- loadItem( cfg, newContainer, childList.tqat(0), defaultURL, openURL );
+- loadItem( cfg, newContainer, childList.tqat(1), defaultURL, openURL );
++ loadItem( cfg, newContainer, childList.at(0), defaultURL, openURL );
++ loadItem( cfg, newContainer, childList.at(1), defaultURL, openURL );
+
+ newContainer->setSizes( sizes );
+
+@@ -1634,9 +1634,9 @@
+ parent->insertChildFrame( newContainer );
+ m_pDocContainer = newContainer;
+
+- int index = cfg.readNumEntry( TQString::tqfromLatin1( "activeChildIndex" ).prepend(prefix), 0 );
++ int index = cfg.readNumEntry( TQString::fromLatin1( "activeChildIndex" ).prepend(prefix), 0 );
+
+- TQStringList childList = cfg.readListEntry( TQString::tqfromLatin1( "Children" ).prepend( prefix ) );
++ TQStringList childList = cfg.readListEntry( TQString::fromLatin1( "Children" ).prepend( prefix ) );
+ for ( TQStringList::Iterator it = childList.begin(); it != childList.end(); ++it )
+ {
+ loadItem( cfg, newContainer, *it, defaultURL, openURL );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/kttsplugin/khtmlkttsd.cpp v3.5.13-sru/konqueror/kttsplugin/khtmlkttsd.cpp
+--- /tmp/stable//kdebase/konqueror/kttsplugin/khtmlkttsd.cpp 2011-03-12 07:58:15.000000000 +0100
++++ v3.5.13-sru/konqueror/kttsplugin/khtmlkttsd.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -118,13 +118,13 @@
+ }
+ // kdDebug() << "KHTMLPluginKTTSD::slotReadOut: query = " << query << endl;
+
+- dataBuf.tqat(0); // reset data
++ dataBuf.at(0); // reset data
+ arg << query << "";
+ if ( !client->call("kttsd", "KSpeech", "setText(TQString,TQString)",
+ data, replyType, replyData, true) )
+ TQMessageBox::warning( 0, i18n( "DCOP Call Failed" ),
+ i18n( "The DCOP call setText failed." ));
+- dataBuf.tqat(0);
++ dataBuf.at(0);
+ arg << 0;
+ if ( !client->call("kttsd", "KSpeech", "startText(uint)",
+ data, replyType, replyData, true) )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_infolistviewitem.cc v3.5.13-sru/konqueror/listview/konq_infolistviewitem.cc
+--- /tmp/stable//kdebase/konqueror/listview/konq_infolistviewitem.cc 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/listview/konq_infolistviewitem.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -206,7 +206,7 @@
+ setPixmap( 0, m_fileitem->pixmap( iconSize, state() ) );
+ }
+
+-void KonqInfoListViewItem::paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _tqalignment )
++void KonqInfoListViewItem::paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _alignment )
+ {
+ TQColorGroup cg( _cg );
+
+@@ -242,7 +242,7 @@
+ _width = newWidth;
+ }
+
+- KListViewItem::paintCell( _painter, cg, _column, _width, _tqalignment );
++ KListViewItem::paintCell( _painter, cg, _column, _width, _alignment );
+ }
+
+ void KonqInfoListViewItem::paintFocus( TQPainter * _painter, const TQColorGroup & cg, const TQRect & _r )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_infolistviewitem.h v3.5.13-sru/konqueror/listview/konq_infolistviewitem.h
+--- /tmp/stable//kdebase/konqueror/listview/konq_infolistviewitem.h 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/listview/konq_infolistviewitem.h 2012-09-08 19:41:29.000000000 +0200
+@@ -56,7 +56,7 @@
+ virtual ~KonqInfoListViewItem() { }
+
+ virtual void paintCell( TQPainter *_painter, const TQColorGroup & cg,
+- int column, int width, int tqalignment );
++ int column, int width, int alignment );
+ virtual void paintFocus( TQPainter * _painter, const TQColorGroup & cg, const TQRect & r );
+ virtual void updateContents();
+ virtual void setDisabled( bool disabled );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_infolistviewwidget.cc v3.5.13-sru/konqueror/listview/konq_infolistviewwidget.cc
+--- /tmp/stable//kdebase/konqueror/listview/konq_infolistviewwidget.cc 2011-08-11 07:25:51.000000000 +0200
++++ v3.5.13-sru/konqueror/listview/konq_infolistviewwidget.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -181,8 +181,8 @@
+
+ if ( !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+ }
+@@ -215,8 +215,8 @@
+
+ if ( !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_listview.cc v3.5.13-sru/konqueror/listview/konq_listview.cc
+--- /tmp/stable//kdebase/konqueror/listview/konq_listview.cc 2011-08-11 07:25:51.000000000 +0200
++++ v3.5.13-sru/konqueror/listview/konq_listview.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -144,7 +144,7 @@
+ void ListViewBrowserExtension::copySelection( bool move )
+ {
+ KonqDrag *urlData = new KonqDrag( m_listView->listViewWidget()->selectedUrls(false), m_listView->listViewWidget()->selectedUrls(true), move );
+- TQApplication::tqclipboard()->setData( urlData );
++ TQApplication::clipboard()->setData( urlData );
+ }
+
+ void ListViewBrowserExtension::paste()
+@@ -169,7 +169,7 @@
+ const TQString txt = le->text();
+ TQString pattern;
+ KMimeType::diagnoseFileName( txt, pattern );
+- if (!pattern.isEmpty() && pattern.tqat(0)=='*' && pattern.find('*',1)==-1)
++ if (!pattern.isEmpty() && pattern.at(0)=='*' && pattern.find('*',1)==-1)
+ le->setSelection(0, txt.length()-pattern.stripWhiteSpace().length()+1);
+ else
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_listviewitems.cc v3.5.13-sru/konqueror/listview/konq_listviewitems.cc
+--- /tmp/stable//kdebase/konqueror/listview/konq_listviewitems.cc 2011-07-09 08:16:57.000000000 +0200
++++ v3.5.13-sru/konqueror/listview/konq_listviewitems.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -173,7 +173,7 @@
+ if ( m_bActive == active )
+ return;
+
+- //#### Optimize away tqrepaint if possible, like the iconview does?
++ //#### Optimize away repaint if possible, like the iconview does?
+ KonqBaseListViewItem::setActive( active );
+ int iconSize = m_pListViewWidget->iconSize();
+ iconSize = iconSize ? iconSize : KGlobal::iconLoader()->currentSize( KIcon::Small ); // Default = small
+@@ -203,7 +203,7 @@
+ int newWidth = pm.isNull() ? 0 : pm.width();
+ int newHeight = pm.isNull() ? 0 : pm.height();
+
+- // If the height or width have changed then we're going to have to tqrepaint
++ // If the height or width have changed then we're going to have to repaint
+ // this whole thing. Fortunately since most of the calls are coming from
+ // setActive() this is the uncommon case.
+
+@@ -234,7 +234,7 @@
+ if ((int)m_pixmaps.count() <= column)
+ return 0;
+
+- TQPixmap *pm = m_pixmaps.tqat( column, &ok );
++ TQPixmap *pm = m_pixmaps.at( column, &ok );
+ if( !ok )
+ return 0;
+ return pm;
+@@ -294,7 +294,7 @@
+ }
+ }
+
+-void KonqListViewItem::paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _tqalignment )
++void KonqListViewItem::paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _alignment )
+ {
+ TQColorGroup cg( _cg );
+
+@@ -330,7 +330,7 @@
+ _width = newWidth;
+ }
+
+- KListViewItem::paintCell( _painter, cg, _column, _width, _tqalignment );
++ KListViewItem::paintCell( _painter, cg, _column, _width, _alignment );
+ }
+
+ void KonqListViewItem::paintFocus( TQPainter * _painter, const TQColorGroup & cg, const TQRect & _r )
+@@ -421,7 +421,7 @@
+
+ TQRect KonqBaseListViewItem::rect() const
+ {
+- TQRect r = m_pListViewWidget->tqitemRect(this);
++ TQRect r = m_pListViewWidget->itemRect(this);
+ return TQRect( m_pListViewWidget->viewportToContents( r.topLeft() ), TQSize( r.width(), r.height() ) );
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_listviewitems.h v3.5.13-sru/konqueror/listview/konq_listviewitems.h
+--- /tmp/stable//kdebase/konqueror/listview/konq_listviewitems.h 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/listview/konq_listviewitems.h 2012-09-08 19:41:29.000000000 +0200
+@@ -107,7 +107,7 @@
+ virtual ~KonqListViewItem();
+
+ virtual void paintCell( TQPainter *_painter, const TQColorGroup & cg,
+- int column, int width, int tqalignment );
++ int column, int width, int alignment );
+ virtual void paintFocus( TQPainter * _painter, const TQColorGroup & cg, const TQRect & r );
+ virtual void updateContents();
+ virtual void setDisabled( bool disabled );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_listviewwidget.cc v3.5.13-sru/konqueror/listview/konq_listviewwidget.cc
+--- /tmp/stable//kdebase/konqueror/listview/konq_listviewwidget.cc 2011-08-11 07:25:51.000000000 +0200
++++ v3.5.13-sru/konqueror/listview/konq_listviewwidget.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -107,7 +107,7 @@
+ {
+ kdDebug(1202) << "+KonqBaseListViewWidget" << endl;
+
+- m_dirLister->setMainWindow(tqtopLevelWidget());
++ m_dirLister->setMainWindow(topLevelWidget());
+
+ m_bTopLevelComplete = true;
+
+@@ -259,7 +259,7 @@
+ //search the column in confColumns
+ for ( unsigned int j = 0; j < NumberOfAtoms; j++ )
+ {
+- if ( confColumns[j].name == *lstColumns.tqat(i) )
++ if ( confColumns[j].name == *lstColumns.at(i) )
+ {
+ confColumns[j].displayThisOne = true;
+ confColumns[j].displayInColumn = currentColumn;
+@@ -268,7 +268,7 @@
+ currentColumn++;
+
+ if ( i < lstColumnWidths.count() )
+- confColumns[j].width = *lstColumnWidths.tqat(i);
++ confColumns[j].width = *lstColumnWidths.at(i);
+ else
+ {
+ // Default Column widths
+@@ -489,7 +489,7 @@
+ emit m_pBrowserView->setStatusBarText( item->item()->getStatusBarInfo() );
+ m_pBrowserView->emitMouseOver( item->item() );
+
+- vp.setY( tqitemRect( item ).y() );
++ vp.setY( itemRect( item ).y() );
+ TQRect rect( viewportToContents( vp ), TQSize(20, item->height()) );
+ m_fileTip->setItem( item->item(), rect, item->pixmap( 0 ) );
+ m_fileTip->setPreview( KGlobalSettings::showFilePreview( item->item()->url() ) );
+@@ -551,9 +551,9 @@
+
+ TQPoint pt( m_rubber->x(), m_rubber->y() );
+ pt = contentsToViewport( pt );
+- tqstyle().tqdrawPrimitive( TQStyle::PE_RubberBand, p,
++ style().tqdrawPrimitive( TQStyle::PE_RubberBand, p,
+ TQRect( pt.x(), pt.y(), m_rubber->width(), m_rubber->height() ),
+- tqcolorGroup(), TQStyle::Style_Default, tqcolorGroup().base() );
++ colorGroup(), TQStyle::Style_Default, colorGroup().base() );
+
+ }
+
+@@ -591,9 +591,9 @@
+ {
+ TQRect rect;
+ if ( allColumnsShowFocus() )
+- rect = tqitemRect( cur );
++ rect = itemRect( cur );
+ else {
+- rect = tqitemRect( cur );
++ rect = itemRect( cur );
+ rect.setWidth( executeArea( cur ) );
+ }
+
+@@ -623,7 +623,7 @@
+ {
+ setSelected( cur, true );
+ changed = TRUE;
+- rr = rr.unite( tqitemRect( cur ) );
++ rr = rr.unite( itemRect( cur ) );
+ }
+ }
+ else
+@@ -631,7 +631,7 @@
+ if ( cur->isSelected() )
+ {
+ changed = TRUE;
+- rr = rr.unite( tqitemRect( cur ) );
++ rr = rr.unite( itemRect( cur ) );
+ }
+
+ if ( !m_selected || !m_selected->contains( (KonqBaseListViewItem*)cur ) )
+@@ -659,7 +659,7 @@
+ {
+ setSelected( cur, true );
+ changed = TRUE;
+- rr = rr.unite( tqitemRect( cur ) );
++ rr = rr.unite( itemRect( cur ) );
+ }
+ }
+ else
+@@ -667,7 +667,7 @@
+ if ( cur->isSelected() )
+ {
+ changed = TRUE;
+- rr = rr.unite( tqitemRect( cur ) );
++ rr = rr.unite( itemRect( cur ) );
+ }
+
+ if ( !m_selected || !m_selected->contains( (KonqBaseListViewItem*)cur ) )
+@@ -985,7 +985,7 @@
+ if (_item->pixmap(0) != 0)
+ {
+ // Rect of the TQListViewItem's pixmap area.
+- TQRect rect = _item->listView()->tqitemRect(_item);
++ TQRect rect = _item->listView()->itemRect(_item);
+
+ // calculate nesting depth
+ int nestingDepth = 0;
+@@ -1009,9 +1009,12 @@
+ // gather pixmap
+ TQPixmap *pix = new TQPixmap(*(_item->pixmap(0)));
+
+- // call the icon effect
+- KIconEffect::visualActivate(viewport(), rect, pix);
+-
++ // call the icon effect if enabled
++ if (KGlobalSettings::showKonqIconActivationEffect() == true) {
++ KIconEffect::visualActivate(viewport(), rect, pix);
++ }
++
++ // clean up
+ delete(pix);
+ }
+ }
+@@ -1111,7 +1114,7 @@
+ args.yOffset = contentsY();
+ m_pBrowserView->extension()->setURLArgs( args );
+
+- if ( currentItem() && tqitemRect( currentItem() ).isValid() )
++ if ( currentItem() && itemRect( currentItem() ).isValid() )
+ m_itemToGoTo = currentItem()->text(0);
+
+ m_pBrowserView->m_filesToSelect.clear();
+@@ -1192,8 +1195,8 @@
+
+ if ( !isUpdatesEnabled() || !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+
+@@ -1237,8 +1240,8 @@
+ m_pBrowserView->resetCount();
+ m_pBrowserView->lstPendingMimeIconItems().clear();
+
+- viewport()->tqsetUpdatesEnabled( false );
+- tqsetUpdatesEnabled( false );
++ viewport()->setUpdatesEnabled( false );
++ setUpdatesEnabled( false );
+ clear();
+ }
+
+@@ -1268,8 +1271,8 @@
+
+ if ( !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+ slotUpdateBackground();
+@@ -1314,8 +1317,8 @@
+ // OK, but this code also gets activated when deleting a hidden file... (dfaure)
+ if ( !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+ slotUpdateBackground();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_listviewwidget.h v3.5.13-sru/konqueror/listview/konq_listviewwidget.h
+--- /tmp/stable//kdebase/konqueror/listview/konq_listviewwidget.h 2011-07-09 08:16:57.000000000 +0200
++++ v3.5.13-sru/konqueror/listview/konq_listviewwidget.h 2012-09-08 19:41:29.000000000 +0200
+@@ -177,7 +177,7 @@
+ virtual void slotRedirection( const KURL & );
+ void slotPopupMenu( TQListViewItem *, const TQPoint&, int );
+
+- // forces a tqrepaint on column size changes / branch expansion
++ // forces a repaint on column size changes / branch expansion
+ // when there is a background pixmap
+ void slotUpdateBackground();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_textviewitem.cc v3.5.13-sru/konqueror/listview/konq_textviewitem.cc
+--- /tmp/stable//kdebase/konqueror/listview/konq_textviewitem.cc 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/listview/konq_textviewitem.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -200,7 +200,7 @@
+ };
+ }
+
+-void KonqTextViewItem::paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _tqalignment )
++void KonqTextViewItem::paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _alignment )
+ {
+ TQColorGroup cg( _cg );
+ cg.setColor(TQColorGroup::Text, static_cast<KonqTextViewWidget *>(listView())->colors[type]);
+@@ -208,7 +208,7 @@
+ // cg.setColor(TQColorGroup::HighlightedText, static_cast<KonqTextViewWidget *>(listView())->highlight[type]);
+ // cg.setColor(TQColorGroup::Highlight, Qt::darkGray);
+
+- KListViewItem::paintCell( _painter, cg, _column, _width, _tqalignment );
++ KListViewItem::paintCell( _painter, cg, _column, _width, _alignment );
+ }
+
+ /*void KonqTextViewItem::paintFocus( TQPainter *_p, const TQColorGroup &_cg, const TQRect &_r )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_textviewitem.h v3.5.13-sru/konqueror/listview/konq_textviewitem.h
+--- /tmp/stable//kdebase/konqueror/listview/konq_textviewitem.h 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/listview/konq_textviewitem.h 2012-09-08 19:41:29.000000000 +0200
+@@ -57,7 +57,7 @@
+ // virtual TQString key( int _column, bool asc) const;
+ /** Call this before destroying the text view (decreases reference count
+ * on the view)*/
+- virtual void paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _tqalignment );
++ virtual void paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _alignment );
+ // virtual void paintFocus( TQPainter *_painter, const TQColorGroup & _cg, const TQRect & r );
+ virtual void updateContents();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_textviewwidget.cc v3.5.13-sru/konqueror/listview/konq_textviewwidget.cc
+--- /tmp/stable//kdebase/konqueror/listview/konq_textviewwidget.cc 2011-08-11 07:25:51.000000000 +0200
++++ v3.5.13-sru/konqueror/listview/konq_textviewwidget.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -101,8 +101,8 @@
+
+ if ( !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+ slotUpdateBackground();
+@@ -146,8 +146,8 @@
+
+ if ( !isUpdatesEnabled() || !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/listview/konq_treeviewwidget.cc v3.5.13-sru/konqueror/listview/konq_treeviewwidget.cc
+--- /tmp/stable//kdebase/konqueror/listview/konq_treeviewwidget.cc 2011-08-11 07:25:51.000000000 +0200
++++ v3.5.13-sru/konqueror/listview/konq_treeviewwidget.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -121,8 +121,8 @@
+
+ if ( !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+ }
+@@ -268,8 +268,8 @@
+
+ if ( !viewport()->isUpdatesEnabled() )
+ {
+- viewport()->tqsetUpdatesEnabled( true );
+- tqsetUpdatesEnabled( true );
++ viewport()->setUpdatesEnabled( true );
++ setUpdatesEnabled( true );
+ triggerUpdate();
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/preloader/preloader.cc v3.5.13-sru/konqueror/preloader/preloader.cc
+--- /tmp/stable//kdebase/konqueror/preloader/preloader.cc 2011-03-12 07:58:17.000000000 +0100
++++ v3.5.13-sru/konqueror/preloader/preloader.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -109,8 +109,8 @@
+ {
+ if( !check_always_preloaded_timer.isActive())
+ {
+- if( kapp->kdeinitExec( TQString::tqfromLatin1( "konqueror" ),
+- TQStringList() << TQString::tqfromLatin1( "--preload" ), NULL, NULL, "0" ) == 0 )
++ if( kapp->kdeinitExec( TQString::fromLatin1( "konqueror" ),
++ TQStringList() << TQString::fromLatin1( "--preload" ), NULL, NULL, "0" ) == 0 )
+ {
+ kdDebug( 1202 ) << "Preloading Konqueror instance" << endl;
+ check_always_preloaded_timer.start( 5000, true );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/remoteencodingplugin/kremoteencodingplugin.cpp v3.5.13-sru/konqueror/remoteencodingplugin/kremoteencodingplugin.cpp
+--- /tmp/stable//kdebase/konqueror/remoteencodingplugin/kremoteencodingplugin.cpp 2011-08-11 07:25:51.000000000 +0200
++++ v3.5.13-sru/konqueror/remoteencodingplugin/kremoteencodingplugin.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -41,7 +41,7 @@
+
+ #include "kremoteencodingplugin.h"
+
+-#define DATA_KEY TQString::tqfromLatin1("Charset")
++#define DATA_KEY TQString::fromLatin1("Charset")
+
+ KRemoteEncodingPlugin::KRemoteEncodingPlugin(TQObject * parent,
+ const char *name,
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/shellcmdplugin/kshellcmddialog.cpp v3.5.13-sru/konqueror/shellcmdplugin/kshellcmddialog.cpp
+--- /tmp/stable//kdebase/konqueror/shellcmdplugin/kshellcmddialog.cpp 2011-03-12 07:58:17.000000000 +0100
++++ v3.5.13-sru/konqueror/shellcmdplugin/kshellcmddialog.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -43,10 +43,10 @@
+ closeButton= new KPushButton(KStdGuiItem::close(), buttonsBox);
+ closeButton->setDefault(true);
+
+- label->resize(label->tqsizeHint());
+- m_shell->resize(m_shell->tqsizeHint());
+- closeButton->setFixedSize(closeButton->tqsizeHint());
+- cancelButton->setFixedSize(cancelButton->tqsizeHint());
++ label->resize(label->sizeHint());
++ m_shell->resize(m_shell->sizeHint());
++ closeButton->setFixedSize(closeButton->sizeHint());
++ cancelButton->setFixedSize(cancelButton->sizeHint());
+
+ box->addWidget(label,0);
+ box->addWidget(m_shell,1);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/konqsidebar.cpp v3.5.13-sru/konqueror/sidebar/konqsidebar.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/konqsidebar.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/konqsidebar.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -30,7 +30,7 @@
+ setInstance( KonqSidebarFactory::instance() );
+ m_extension = 0;
+ // this should be your custom internal widget
+- m_widget = new Sidebar_Widget( parentWidget, this, widgetName ,universalMode, parentWidget->tqtopLevelWidget()->property("currentProfile").toString() );
++ m_widget = new Sidebar_Widget( parentWidget, this, widgetName ,universalMode, parentWidget->topLevelWidget()->property("currentProfile").toString() );
+ m_extension = new KonqSidebarBrowserExtension( this, m_widget,"KonqSidebar::BrowserExtension" );
+ connect(m_widget,TQT_SIGNAL(started(KIO::Job *)),
+ this, TQT_SIGNAL(started(KIO::Job*)));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/sidebar_widget.cpp v3.5.13-sru/konqueror/sidebar/sidebar_widget.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/sidebar_widget.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/sidebar_widget.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -169,7 +169,7 @@
+
+ void addBackEnd::activatedAddMenu(int id)
+ {
+- kdDebug() << "activatedAddMenu: " << TQString("%1").tqarg(id) << endl;
++ kdDebug() << "activatedAddMenu: " << TQString("%1").arg(id) << endl;
+ if (((uint)id) == libNames.size())
+ doRollBack();
+ if(((uint)id) >= libNames.size())
+@@ -178,13 +178,13 @@
+ KLibLoader *loader = KLibLoader::self();
+
+ // try to load the library
+- TQString libname = *libNames.tqat(id);
++ TQString libname = *libNames.at(id);
+ KLibrary *lib = loader->library(TQFile::encodeName(libname));
+ if (lib)
+ {
+ // get the create_ function
+ TQString factory("add_");
+- factory = factory+(*libNames.tqat(id));
++ factory = factory+(*libNames.at(id));
+ void *add = lib->symbol(TQFile::encodeName(factory));
+
+ if (add)
+@@ -194,7 +194,7 @@
+ TQMap<TQString,TQString> map;
+ func = (bool (*)(TQString*, TQString*, TQMap<TQString,TQString> *)) add;
+ TQString *tmp = new TQString("");
+- if (func(tmp,libParam.tqat(id),&map))
++ if (func(tmp,libParam.at(id),&map))
+ {
+ TQString myFile = findFileName(tmp,m_universal,m_currentProfile);
+
+@@ -219,7 +219,7 @@
+ delete tmp;
+ }
+ } else {
+- kdWarning() << "libname:" << libNames.tqat(id)
++ kdWarning() << "libname:" << libNames.at(id)
+ << " doesn't specify a library!" << endl;
+ }
+ }
+@@ -252,7 +252,7 @@
+ m_buttons.setAutoDelete(true);
+ m_hasStoredUrl = false;
+ m_latestViewed = -1;
+- tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding));
++ setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding));
+
+ TQSplitter *splitterWidget = splitter();
+ if (splitterWidget) {
+@@ -262,7 +262,7 @@
+ }
+
+ m_area = new KDockArea(this);
+- m_area->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding));
++ m_area->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding));
+ m_mainDockWidget = m_area->createDockWidget("free", 0);
+ m_mainDockWidget->setWidget(new TQWidget(m_mainDockWidget));
+ m_area->setMainDockWidget(m_mainDockWidget);
+@@ -574,7 +574,7 @@
+ {
+ int tmpViewID=m_latestViewed;
+ for (uint i=0; i<m_buttons.count(); i++) {
+- ButtonInfo *button = m_buttons.tqat(i);
++ ButtonInfo *button = m_buttons.at(i);
+ if ((int) i != tmpViewID)
+ {
+ if (button->dock && button->dock->isVisibleTo(this))
+@@ -598,7 +598,7 @@
+ m_mainDockWidget->show();
+ if ((tmpLatestViewed>=0) && (tmpLatestViewed < (int) m_buttons.count()))
+ {
+- ButtonInfo *button = m_buttons.tqat(tmpLatestViewed);
++ ButtonInfo *button = m_buttons.at(tmpLatestViewed);
+ if (button && button->dock)
+ {
+ m_noUpdate=true;
+@@ -675,7 +675,7 @@
+
+ kdDebug() << "Try calling >active< module's (" << mod->module->className() << ") slot " << handlestd << endl;
+
+- int id = mod->module->tqmetaObject()->findSlot( handlestd );
++ int id = mod->module->metaObject()->findSlot( handlestd );
+ if ( id == -1 )
+ return;
+ kdDebug() << "Action slot was found, it will be called now" << endl;
+@@ -694,7 +694,7 @@
+ {
+ for (uint i = 0; i < m_buttons.count(); i++)
+ {
+- ButtonInfo *button = m_buttons.tqat(i);
++ ButtonInfo *button = m_buttons.at(i);
+ if (button->dock)
+ {
+ m_noUpdate = true;
+@@ -742,7 +742,7 @@
+
+ for (uint i = 0; i < m_buttons.count(); i++)
+ {
+- ButtonInfo *button = m_buttons.tqat(i);
++ ButtonInfo *button = m_buttons.at(i);
+ if (m_openViews.contains(button->file))
+ {
+ m_buttonBar->setTab(i,true);
+@@ -763,7 +763,7 @@
+ if (url.protocol()=="sidebar")
+ {
+ for (unsigned int i=0;i<m_buttons.count();i++)
+- if (m_buttons.tqat(i)->file==url.path())
++ if (m_buttons.at(i)->file==url.path())
+ {
+ KMultiTabBarTab *tab = m_buttonBar->tab(i);
+ if (!tab->isOn())
+@@ -778,7 +778,7 @@
+ bool ret = false;
+ for (unsigned int i=0;i<m_buttons.count();i++)
+ {
+- ButtonInfo *button = m_buttons.tqat(i);
++ ButtonInfo *button = m_buttons.at(i);
+ if (button->dock)
+ {
+ if ((button->dock->isVisibleTo(this)) && (button->module))
+@@ -845,7 +845,7 @@
+ {
+ if (bt==m_buttonBar->tab(i))
+ {
+- m_currentButton = m_buttons.tqat(i);
++ m_currentButton = m_buttons.at(i);
+ break;
+ }
+ }
+@@ -953,7 +953,7 @@
+
+ void Sidebar_Widget::showHidePage(int page)
+ {
+- ButtonInfo *info = m_buttons.tqat(page);
++ ButtonInfo *info = m_buttons.at(page);
+ if (!info->dock)
+ {
+ if (m_buttonBar->isTabRaised(page))
+@@ -1049,7 +1049,7 @@
+ if (m_visibleViews.count()==0)
+ {
+ m_somethingVisible = false;
+- parentWidget()->setMaximumWidth(tqminimumSizeHint().width());
++ parentWidget()->setMaximumWidth(minimumSizeHint().width());
+ updateGeometry();
+ emit panelHasBeenExpanded(false);
+ } else {
+@@ -1060,11 +1060,11 @@
+ }
+ }
+
+-TQSize Sidebar_Widget::tqsizeHint() const
++TQSize Sidebar_Widget::sizeHint() const
+ {
+ if (m_somethingVisible)
+ return TQSize(m_savedWidth,200);
+- return tqminimumSizeHint();
++ return minimumSizeHint();
+ }
+
+ void Sidebar_Widget::dockWidgetHasUndocked(KDockWidget* wid)
+@@ -1072,7 +1072,7 @@
+ kdDebug()<<" Sidebar_Widget::dockWidgetHasUndocked(KDockWidget*)"<<endl;
+ for (unsigned int i=0;i<m_buttons.count();i++)
+ {
+- ButtonInfo *button = m_buttons.tqat(i);
++ ButtonInfo *button = m_buttons.at(i);
+ if (button->dock==wid)
+ {
+ if (m_buttonBar->isTabRaised(i))
+@@ -1195,50 +1195,50 @@
+
+ void Sidebar_Widget::connectModule(TQObject *mod)
+ {
+- if (mod->tqmetaObject()->findSignal("started(KIO::Job*)") != -1) {
++ if (mod->metaObject()->findSignal("started(KIO::Job*)") != -1) {
+ connect(mod,TQT_SIGNAL(started(KIO::Job *)),this, TQT_SIGNAL(started(KIO::Job*)));
+ }
+
+- if (mod->tqmetaObject()->findSignal("completed()") != -1) {
++ if (mod->metaObject()->findSignal("completed()") != -1) {
+ connect(mod,TQT_SIGNAL(completed()),this,TQT_SIGNAL(completed()));
+ }
+
+- if (mod->tqmetaObject()->findSignal("popupMenu(const " TQPOINT_OBJECT_NAME_STRING "&,const KURL&,const " TQSTRING_OBJECT_NAME_STRING "&,mode_t)") != -1) {
++ if (mod->metaObject()->findSignal("popupMenu(const " TQPOINT_OBJECT_NAME_STRING "&,const KURL&,const " TQSTRING_OBJECT_NAME_STRING "&,mode_t)") != -1) {
+ connect(mod,TQT_SIGNAL(popupMenu( const TQPoint &, const KURL &,
+ const TQString &, mode_t)),this,TQT_SLOT(popupMenu( const
+ TQPoint &, const KURL&, const TQString &, mode_t)));
+ }
+
+- if (mod->tqmetaObject()->findSignal("popupMenu(KXMLGUIClient*,const " TQPOINT_OBJECT_NAME_STRING " &,const KURL&,const " TQSTRING_OBJECT_NAME_STRING "&,mode_t)") != -1) {
++ if (mod->metaObject()->findSignal("popupMenu(KXMLGUIClient*,const " TQPOINT_OBJECT_NAME_STRING " &,const KURL&,const " TQSTRING_OBJECT_NAME_STRING "&,mode_t)") != -1) {
+ connect(mod,TQT_SIGNAL(popupMenu( KXMLGUIClient *, const TQPoint &,
+ const KURL &,const TQString &, mode_t)),this,
+ TQT_SLOT(popupMenu( KXMLGUIClient *, const TQPoint &,
+ const KURL &,const TQString &, mode_t)));
+ }
+
+- if (mod->tqmetaObject()->findSignal("popupMenu(const " TQPOINT_OBJECT_NAME_STRING "&,const KFileItemList&)") != -1) {
++ if (mod->metaObject()->findSignal("popupMenu(const " TQPOINT_OBJECT_NAME_STRING "&,const KFileItemList&)") != -1) {
+ connect(mod,TQT_SIGNAL(popupMenu( const TQPoint &, const KFileItemList & )),
+ this,TQT_SLOT(popupMenu( const TQPoint &, const KFileItemList & )));
+ }
+
+- if (mod->tqmetaObject()->findSignal("openURLRequest(const KURL&,const KParts::URLArgs&)") != -1) {
++ if (mod->metaObject()->findSignal("openURLRequest(const KURL&,const KParts::URLArgs&)") != -1) {
+ connect(mod,TQT_SIGNAL(openURLRequest( const KURL &, const KParts::URLArgs &)),
+ this,TQT_SLOT(openURLRequest( const KURL &, const KParts::URLArgs &)));
+ }
+
+- if (mod->tqmetaObject()->findSignal("submitFormRequest(const char*,const " TQSTRING_OBJECT_NAME_STRING "&,const " TQBYTEARRAY_OBJECT_NAME_STRING "&,const " TQSTRING_OBJECT_NAME_STRING "&,const " TQSTRING_OBJECT_NAME_STRING "&,const " TQSTRING_OBJECT_NAME_STRING "&)") != -1) {
++ if (mod->metaObject()->findSignal("submitFormRequest(const char*,const " TQSTRING_OBJECT_NAME_STRING "&,const " TQBYTEARRAY_OBJECT_NAME_STRING "&,const " TQSTRING_OBJECT_NAME_STRING "&,const " TQSTRING_OBJECT_NAME_STRING "&,const " TQSTRING_OBJECT_NAME_STRING "&)") != -1) {
+ connect(mod,
+ TQT_SIGNAL(submitFormRequest(const char*,const TQString&,const TQByteArray&,const TQString&,const TQString&,const TQString&)),
+ this,
+ TQT_SLOT(submitFormRequest(const char*,const TQString&,const TQByteArray&,const TQString&,const TQString&,const TQString&)));
+ }
+
+- if (mod->tqmetaObject()->findSignal("enableAction(const char*,bool)") != -1) {
++ if (mod->metaObject()->findSignal("enableAction(const char*,bool)") != -1) {
+ connect(mod,TQT_SIGNAL(enableAction( const char *, bool)),
+ this,TQT_SLOT(enableAction(const char *, bool)));
+ }
+
+- if (mod->tqmetaObject()->findSignal("createNewWindow(const KURL&,const KParts::URLArgs&)") != -1) {
++ if (mod->metaObject()->findSignal("createNewWindow(const KURL&,const KParts::URLArgs&)") != -1) {
+ connect(mod,TQT_SIGNAL(createNewWindow( const KURL &, const KParts::URLArgs &)),
+ this,TQT_SLOT(createNewWindow( const KURL &, const KParts::URLArgs &)));
+ }
+@@ -1255,7 +1255,7 @@
+ m_noUpdate = true;
+ for (uint i=0;i<m_buttons.count();i++)
+ {
+- ButtonInfo *button = m_buttons.tqat(i);
++ ButtonInfo *button = m_buttons.at(i);
+ if (button->dock)
+ button->dock->undock();
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/sidebar_widget.h v3.5.13-sru/konqueror/sidebar/sidebar_widget.h
+--- /tmp/stable//kdebase/konqueror/sidebar/sidebar_widget.h 2011-03-12 07:58:17.000000000 +0100
++++ v3.5.13-sru/konqueror/sidebar/sidebar_widget.h 2012-09-08 19:41:29.000000000 +0200
+@@ -107,7 +107,7 @@
+ void stdAction(const char *handlestd);
+ //virtual KParts::ReadOnlyPart *getPart();
+ KParts::BrowserExtension *getExtension();
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+
+ public slots:
+ void addWebSideBar(const KURL& url, const TQString& name);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp v3.5.13-sru/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/trees/bookmark_module/bookmark_module.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -387,7 +387,7 @@
+ else
+ return;
+
+- DCOPRef ref(kapp->dcopClient()->appId(), tree()->tqtopLevelWidget()->name());
++ DCOPRef ref(kapp->dcopClient()->appId(), tree()->topLevelWidget()->name());
+
+ if (bookmark.isGroup()) {
+ KBookmarkGroup group = bookmark.toGroup();
+@@ -412,9 +412,9 @@
+
+ if ( !bookmark.isGroup() )
+ {
+- kapp->tqclipboard()->setData( KBookmarkDrag::newDrag(bookmark, 0),
++ kapp->clipboard()->setData( KBookmarkDrag::newDrag(bookmark, 0),
+ TQClipboard::Selection );
+- kapp->tqclipboard()->setData( KBookmarkDrag::newDrag(bookmark, 0),
++ kapp->clipboard()->setData( KBookmarkDrag::newDrag(bookmark, 0),
+ TQClipboard::Clipboard );
+ }
+ }
+@@ -490,7 +490,7 @@
+ item->setOpen(false);
+ }
+ else if ( bk.isSeparator() )
+- item->tqsetVisible( false );
++ item->setVisible( false );
+ else
+ item->setExpandable( false );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp v3.5.13-sru/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -108,7 +108,7 @@
+ return m_fileItem->iconName() == "folder";
+ }
+
+-void KonqSidebarDirTreeItem::paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _tqalignment )
++void KonqSidebarDirTreeItem::paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _alignment )
+ {
+ if (m_fileItem->isLink())
+ {
+@@ -116,7 +116,7 @@
+ f.setItalic( TRUE );
+ _painter->setFont( f );
+ }
+- TQListViewItem::paintCell( _painter, _cg, _column, _width, _tqalignment );
++ TQListViewItem::paintCell( _painter, _cg, _column, _width, _alignment );
+ }
+
+ KURL KonqSidebarDirTreeItem::externalURL() const
+@@ -162,8 +162,8 @@
+ if ( m_fileItem->url().directory(false) == KGlobalSettings::trashPath() )
+ bInTrash = true;
+
+- TQMimeSource *data = TQApplication::tqclipboard()->data();
+- bool paste = ( data->tqencodedData( data->format() ).size() != 0 );
++ TQMimeSource *data = TQApplication::clipboard()->data();
++ bool paste = ( data->encodedData( data->format() ).size() != 0 );
+
+ tree()->enableActions( true, true, paste, true && !bInTrash, true, true );
+ }
+@@ -197,7 +197,7 @@
+ {
+ // move or not move ?
+ bool move = false;
+- TQMimeSource *data = TQApplication::tqclipboard()->data();
++ TQMimeSource *data = TQApplication::clipboard()->data();
+ if ( data->provides( "application/x-kde-cutselection" ) ) {
+ move = KonqDrag::decodeIsCutSelection( data );
+ kdDebug(1201) << "move (from clipboard data) = " << move << endl;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/dirtree_module/dirtree_item.h v3.5.13-sru/konqueror/sidebar/trees/dirtree_module/dirtree_item.h
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/dirtree_module/dirtree_item.h 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/sidebar/trees/dirtree_module/dirtree_item.h 2012-09-08 19:41:29.000000000 +0200
+@@ -36,7 +36,7 @@
+
+ virtual void setOpen( bool open );
+
+- virtual void paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _tqalignment );
++ virtual void paintCell( TQPainter *_painter, const TQColorGroup & _cg, int _column, int _width, int _alignment );
+
+ virtual bool acceptsDrops( const TQStrList & formats );
+ virtual void drop( TQDropEvent * ev );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp v3.5.13-sru/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/trees/dirtree_module/dirtree_module.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -357,7 +357,7 @@
+ if (openItem)
+ {
+ // We have this directory listed already, just copy the entries as we
+- // can't use the dirlister, it would tqinvalidate the old entries
++ // can't use the dirlister, it would invalidate the old entries
+ int size = KGlobal::iconLoader()->currentSize( KIcon::Small );
+ KonqSidebarTreeItem * parentItem = item;
+ KonqSidebarDirTreeItem *oldItem = static_cast<KonqSidebarDirTreeItem *> (openItem->firstChild());
+@@ -400,7 +400,7 @@
+ kdDebug(1201) << this << " KonqSidebarDirTreeModule::slotNewItems " << entries.count() << endl;
+
+ Q_ASSERT(entries.count());
+- KFileItem * firstItem = const_cast<KFileItemList&>(entries).first(); // qlist sucks for constness
++ KFileItem * firstItem = const_cast<KFileItemList&>(entries).last(); // qlist sucks for constness
+
+ // Find parent item - it's the same for all the items
+ KURL dir( firstItem->url().url(-1) );
+@@ -574,7 +574,7 @@
+ if ( item->childCount() == 0 )
+ {
+ item->setExpandable( false );
+- item->tqrepaint();
++ item->repaint();
+ }
+ m_pTree->stopAnimation( item );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_dlg.ui v3.5.13-sru/konqueror/sidebar/trees/history_module/history_dlg.ui
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_dlg.ui 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/sidebar/trees/history_module/history_dlg.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -40,7 +40,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>240</width>
+ <height>16</height>
+@@ -193,7 +193,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>418</width>
+ <height>0</height>
+@@ -212,7 +212,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>30</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_item.cpp v3.5.13-sru/konqueror/sidebar/trees/history_module/history_item.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_item.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/trees/history_module/history_item.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -126,10 +126,10 @@
+ }
+
+ void KonqSidebarHistoryItem::paintCell( TQPainter *p, const TQColorGroup & cg,
+- int column, int width, int tqalignment )
++ int column, int width, int alignment )
+ {
+ TQDateTime dt;
+- TQDateTime current = TQDateTime::tqcurrentDateTime();
++ TQDateTime current = TQDateTime::currentDateTime();
+
+ if ( s_settings->m_metricYoungerThan == KonqSidebarHistorySettings::DAYS )
+ dt = TQT_TQDATETIME_OBJECT(current.addDays( - s_settings->m_valueYoungerThan ));
+@@ -149,7 +149,7 @@
+ p->setFont( s_settings->m_fontOlderThan );
+ }
+
+- KonqSidebarTreeItem::paintCell( p, cg, column, width, tqalignment );
++ KonqSidebarTreeItem::paintCell( p, cg, column, width, alignment );
+ }
+
+ ///////////////////////////////////////////////////////////////////
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_item.h v3.5.13-sru/konqueror/sidebar/trees/history_module/history_item.h
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_item.h 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/sidebar/trees/history_module/history_item.h 2012-09-08 19:41:29.000000000 +0200
+@@ -60,7 +60,7 @@
+ static void setSettings( KonqSidebarHistorySettings *s ) { s_settings = s; }
+
+ virtual void paintCell( TQPainter *, const TQColorGroup & cg, int column,
+- int width, int tqalignment );
++ int width, int alignment );
+
+ private:
+ const KonqHistoryEntry *m_entry;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_module.cpp v3.5.13-sru/konqueror/sidebar/trees/history_module/history_module.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_module.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/trees/history_module/history_module.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -54,7 +54,7 @@
+ connect( s_settings, TQT_SIGNAL( settingsChanged() ), TQT_SLOT( slotSettingsChanged() ));
+
+ m_dict.setAutoDelete( true );
+- m_currentTime = TQDateTime::tqcurrentDateTime();
++ m_currentTime = TQDateTime::currentDateTime();
+
+ KConfig *kc = KGlobal::config();
+ KConfigGroupSaver cs( kc, "HistorySettings" );
+@@ -132,7 +132,7 @@
+ KonqHistoryEntry *entry;
+ KonqHistoryList entries( KonqHistoryManager::kself()->entries() );
+ KonqHistoryIterator it( entries );
+- m_currentTime = TQDateTime::tqcurrentDateTime();
++ m_currentTime = TQDateTime::currentDateTime();
+
+ // the group item and the item of the serverroot '/' get a fav-icon
+ // if available. All others get the protocol icon.
+@@ -171,7 +171,7 @@
+ if ( !m_initialized )
+ return;
+
+- m_currentTime = TQDateTime::tqcurrentDateTime();
++ m_currentTime = TQDateTime::currentDateTime();
+ KonqSidebarHistoryGroupItem *group = getGroupItem( entry->url );
+ KonqSidebarHistoryItem *item = group->findChild( entry );
+ if ( !item )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_settings.cpp v3.5.13-sru/konqueror/sidebar/trees/history_module/history_settings.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/history_module/history_settings.cpp 2011-03-12 07:58:16.000000000 +0100
++++ v3.5.13-sru/konqueror/sidebar/trees/history_module/history_settings.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -56,8 +56,8 @@
+ m_valueYoungerThan = config->readNumEntry("Value youngerThan", 1 );
+ m_valueOlderThan = config->readNumEntry("Value olderThan", 2 );
+
+- TQString minutes = TQString::tqfromLatin1("minutes");
+- TQString days = TQString::tqfromLatin1("days");
++ TQString minutes = TQString::fromLatin1("minutes");
++ TQString days = TQString::fromLatin1("days");
+ TQString metric = config->readEntry("Metric youngerThan", days );
+ m_metricYoungerThan = (metric == days) ? DAYS : MINUTES;
+ metric = config->readEntry("Metric olderThan", days );
+@@ -83,8 +83,8 @@
+ config->writeEntry("Value youngerThan", m_valueYoungerThan );
+ config->writeEntry("Value olderThan", m_valueOlderThan );
+
+- TQString minutes = TQString::tqfromLatin1("minutes");
+- TQString days = TQString::tqfromLatin1("days");
++ TQString minutes = TQString::fromLatin1("minutes");
++ TQString days = TQString::fromLatin1("days");
+ config->writeEntry("Metric youngerThan", m_metricYoungerThan == DAYS ?
+ days : minutes );
+ config->writeEntry("Metric olderThan", m_metricOlderThan == DAYS ?
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/konq_sidebartree.cpp v3.5.13-sru/konqueror/sidebar/trees/konq_sidebartree.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/konq_sidebartree.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/trees/konq_sidebartree.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -516,7 +516,7 @@
+ return;
+
+ m_dropItem->setOpen( true );
+- m_dropItem->tqrepaint();
++ m_dropItem->repaint();
+ }
+
+ void KonqSidebarTree::rescanConfiguration()
+@@ -606,7 +606,7 @@
+ // Version 5 includes the audiocd browser
+ // Version 6 includes the printmanager and lan browser
+ const int currentVersion = 6;
+- TQString key = TQString::tqfromLatin1("X-KDE-DirTreeVersionNumber");
++ TQString key = TQString::fromLatin1("X-KDE-DirTreeVersionNumber");
+ KSimpleConfig versionCfg( path + "/.directory" );
+ int versionNumber = versionCfg.readNumEntry( key, 1 );
+ kdDebug(1201) << "KonqSidebarTree::scanDir found version " << versionNumber << endl;
+@@ -813,7 +813,7 @@
+ for (; it != end; ++it )
+ {
+ uint & iconNumber = it.data().iconNumber;
+- TQString icon = TQString::tqfromLatin1( it.data().iconBaseName ).append( TQString::number( iconNumber ) );
++ TQString icon = TQString::fromLatin1( it.data().iconBaseName ).append( TQString::number( iconNumber ) );
+ it.key()->setPixmap( 0, SmallIcon( icon));
+
+ iconNumber++;
+@@ -882,7 +882,7 @@
+ bool KonqSidebarTree::tabSupport()
+ {
+ // see if the newTab() dcop function is available (i.e. the sidebar is embedded into konqueror)
+- DCOPRef ref(kapp->dcopClient()->appId(), tqtopLevelWidget()->name());
++ DCOPRef ref(kapp->dcopClient()->appId(), topLevelWidget()->name());
+ DCOPReply reply = ref.call("functions()");
+ if (reply.isValid()) {
+ QCStringList funcs;
+@@ -1023,7 +1023,7 @@
+ void KonqSidebarTree::slotOpenTab()
+ {
+ if (!m_currentTopLevelItem) return;
+- DCOPRef ref(kapp->dcopClient()->appId(), tqtopLevelWidget()->name());
++ DCOPRef ref(kapp->dcopClient()->appId(), topLevelWidget()->name());
+ ref.call( "newTab(TQString)", m_currentTopLevelItem->externalURL().url() );
+ }
+
+@@ -1031,8 +1031,8 @@
+ {
+ if (!m_currentTopLevelItem) return;
+ KURL url = m_currentTopLevelItem->externalURL();
+- kapp->tqclipboard()->setData( new KURLDrag(url, 0), TQClipboard::Selection );
+- kapp->tqclipboard()->setData( new KURLDrag(url, 0), TQClipboard::Clipboard );
++ kapp->clipboard()->setData( new KURLDrag(url, 0), TQClipboard::Selection );
++ kapp->clipboard()->setData( new KURLDrag(url, 0), TQClipboard::Clipboard );
+ }
+
+ ///////////////////////////////////////////////////////////////////
+@@ -1045,7 +1045,7 @@
+ if ( item ) {
+ TQString text = static_cast<KonqSidebarTreeItem*>( item )->toolTipText();
+ if ( !text.isEmpty() )
+- tip ( m_view->tqitemRect( item ), text );
++ tip ( m_view->itemRect( item ), text );
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/konqsidebar_tree.cpp v3.5.13-sru/konqueror/sidebar/trees/konqsidebar_tree.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/konqsidebar_tree.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/trees/konqsidebar_tree.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -76,14 +76,14 @@
+ {
+ TQDragObject * drag = static_cast<KonqSidebarTreeItem*>(tree->selectedItem())->dragObject( 0L, true );
+ if (drag)
+- TQApplication::tqclipboard()->setData( drag );
++ TQApplication::clipboard()->setData( drag );
+ }
+
+ void KonqSidebar_Tree::copy()
+ {
+ TQDragObject * drag = static_cast<KonqSidebarTreeItem*>(tree->selectedItem())->dragObject( 0L );
+ if (drag)
+- TQApplication::tqclipboard()->setData( drag );
++ TQApplication::clipboard()->setData( drag );
+ }
+
+ void KonqSidebar_Tree::paste()
+@@ -150,7 +150,7 @@
+ {
+ int id=names.findIndex( item );
+ if (id==-1) return false;
+- KSimpleConfig ksc2(*list.tqat(id));
++ KSimpleConfig ksc2(*list.at(id));
+ ksc2.setGroup("Desktop Entry");
+ map->insert("Type","Link");
+ map->insert("Icon",ksc2.readEntry("Icon"));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konqueror/sidebar/trees/konq_sidebartreetoplevelitem.cpp v3.5.13-sru/konqueror/sidebar/trees/konq_sidebartreetoplevelitem.cpp
+--- /tmp/stable//kdebase/konqueror/sidebar/trees/konq_sidebartreetoplevelitem.cpp 2011-08-11 07:25:52.000000000 +0200
++++ v3.5.13-sru/konqueror/sidebar/trees/konq_sidebartreetoplevelitem.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -50,7 +50,7 @@
+ void KonqSidebarTreeTopLevelItem::itemSelected()
+ {
+ kdDebug() << "KonqSidebarTreeTopLevelItem::itemSelected" << endl;
+- TQMimeSource *data = TQApplication::tqclipboard()->data();
++ TQMimeSource *data = TQApplication::clipboard()->data();
+ bool paste = m_bTopLevelGroup && data->provides("text/uri-list");
+ tree()->enableActions( true, true, paste, true, true, true /*rename*/ );
+ }
+@@ -157,7 +157,7 @@
+ {
+ // move or not move ?
+ bool move = false;
+- TQMimeSource *data = TQApplication::tqclipboard()->data();
++ TQMimeSource *data = TQApplication::clipboard()->data();
+ if ( data->provides( "application/x-kde-cutselection" ) ) {
+ move = KonqDrag::decodeIsCutSelection( data );
+ kdDebug(1201) << "move (from clipboard data) = " << move << endl;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/doc/VT100/Table.Codes v3.5.13-sru/konsole/doc/VT100/Table.Codes
+--- /tmp/stable//kdebase/konsole/doc/VT100/Table.Codes 2011-03-12 07:58:21.000000000 +0100
++++ v3.5.13-sru/konsole/doc/VT100/Table.Codes 2012-09-08 19:41:29.000000000 +0200
+@@ -1070,7 +1070,7 @@
+ DECALN.code HSH|8|
+ DECALN.text
+ Causes the VT100 to fill it's screen with
+- uppercase Es for screen focus and tqalignment.
++ uppercase Es for screen focus and alignment.
+ DECALN.table.XPS
+ Subcode|Emulation|Scope|Operation|Args|Meaning
+ N/A|VT100|scr|helpAlign||see above
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/doc/VT100/techref.html v3.5.13-sru/konsole/doc/VT100/techref.html
+--- /tmp/stable//kdebase/konsole/doc/VT100/techref.html 2011-03-12 07:58:21.000000000 +0100
++++ v3.5.13-sru/konsole/doc/VT100/techref.html 2012-09-08 19:41:29.000000000 +0200
+@@ -2234,7 +2234,7 @@
+ <tr><td><p></td>
+ <tr><td></td>
+ <td colspan=6> Causes the VT100 to fill it's screen with
+- uppercase Es for screen focus and tqalignment.
++ uppercase Es for screen focus and alignment.
+ <tr><td><p></td></tr>
+ <tr>
+ <td></td>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/keytrans.cpp v3.5.13-sru/konsole/konsole/keytrans.cpp
+--- /tmp/stable//kdebase/konsole/konsole/keytrans.cpp 2011-08-16 01:07:51.000000000 +0200
++++ v3.5.13-sru/konsole/konsole/keytrans.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -362,7 +362,7 @@
+ ;
+ TQBuffer* newbuf;
+ newbuf = new TQBuffer();
+- newbuf->tqsetBufferFromCopy(txt);
++ newbuf->setBuffer(txt);
+ buf=TQT_TQIODEVICE(newbuf);
+ }
+ else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/konsole.cpp v3.5.13-sru/konsole/konsole/konsole.cpp
+--- /tmp/stable//kdebase/konsole/konsole/konsole.cpp 2011-10-16 21:40:23.000000000 +0200
++++ v3.5.13-sru/konsole/konsole/konsole.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -1158,7 +1158,7 @@
+ TQT_TQOBJECT(this), TQT_SLOT(nextSession()), m_shortcuts, "next_session");
+
+ for (int i=1;i<13;i++) { // Due to 12 function keys?
+- new KAction(i18n("Switch to Session %1").tqarg(i), 0, TQT_TQOBJECT(this), TQT_SLOT(switchToSession()), m_shortcuts, TQString(TQString().sprintf("switch_to_session_%02d", i)).latin1());
++ new KAction(i18n("Switch to Session %1").arg(i), 0, TQT_TQOBJECT(this), TQT_SLOT(switchToSession()), m_shortcuts, TQString(TQString().sprintf("switch_to_session_%02d", i)).latin1());
+ }
+
+ new KAction(i18n("Enlarge Font"), 0, TQT_TQOBJECT(this), TQT_SLOT(biggerFont()), m_shortcuts, "bigger_font");
+@@ -1289,7 +1289,7 @@
+ te->setSize(columns, lines);
+ adjustSize();
+ if (b_fixedSize)
+- setFixedSize(tqsizeHint());
++ setFixedSize(sizeHint());
+ notifySize(columns, lines); // set menu items
+ }
+ }
+@@ -1313,7 +1313,7 @@
+ if (!m_menuCreated)
+ makeGUI();
+
+- m_contextMenuSession = sessions.tqat( tabwidget->indexOf( _te ) );
++ m_contextMenuSession = sessions.at( tabwidget->indexOf( _te ) );
+
+ m_tabDetachSession->setEnabled( tabwidget->count()>1 );
+
+@@ -1384,12 +1384,12 @@
+ for(int i = 0; i < tabwidget->count(); i++) {
+
+ TQWidget *page = tabwidget->page(i);
+- TQIconSet icon = iconSetForSession(sessions.tqat(i));
++ TQIconSet icon = iconSetForSession(sessions.at(i));
+ TQString title;
+ if (b_matchTabWinTitle)
+- title = sessions.tqat(i)->fullTitle();
++ title = sessions.at(i)->fullTitle();
+ else
+- title = sessions.tqat(i)->Title();
++ title = sessions.at(i)->Title();
+
+ title=title.replace('&',"&&");
+ switch(mode) {
+@@ -1437,7 +1437,7 @@
+ TQString::null, &ok, this );
+ if ( ok ) {
+ TQString path = locateLocal( "data",
+- TQString::tqfromLatin1( "konsole/profiles/" ) + prof,
++ TQString::fromLatin1( "konsole/profiles/" ) + prof,
+ KGlobal::instance() );
+
+ if ( TQFile::exists( path ) )
+@@ -1622,7 +1622,7 @@
+ ColorSchema* sch = colors->find(schema.isEmpty() ? s_kconfigSchema : schema);
+ if (!sch)
+ {
+- sch = (ColorSchema*)colors->tqat(0); //the default one
++ sch = (ColorSchema*)colors->at(0); //the default one
+ kdWarning() << "Could not find schema named " <<s_kconfigSchema<<"; using "<<sch->relPath()<<endl;
+ s_kconfigSchema = sch->relPath();
+ }
+@@ -1650,7 +1650,7 @@
+ delete rootxpms[te];
+ rootxpms.remove(te);
+ }
+- pixmap_menu_activated(sch->tqalignment());
++ pixmap_menu_activated(sch->alignment());
+ }
+
+ te->setColorTable(sch->table()); //FIXME: set twice here to work around a bug
+@@ -1886,7 +1886,7 @@
+ m_schema->clear();
+ for (int i = 0; i < (int) colors->count(); i++)
+ {
+- ColorSchema* s = (ColorSchema*)colors->tqat(i);
++ ColorSchema* s = (ColorSchema*)colors->at(i);
+ assert( s );
+ TQString title=s->title();
+ m_schema->insertItem(title.replace('&',"&&"),s->numb(),0);
+@@ -1927,7 +1927,7 @@
+ if (b_fixedSize)
+ {
+ adjustSize();
+- setFixedSize(tqsizeHint());
++ setFixedSize(sizeHint());
+ }
+ if (!showMenubar->isChecked()) {
+ setCaption(i18n("Use the right mouse button to bring back the menu"));
+@@ -2002,12 +2002,12 @@
+ /* FIXME: Still necessary ? */
+ TQPtrDictIterator<KRootPixmap> it(rootxpms);
+ for (;it.current();++it)
+- it.current()->tqrepaint(true);
++ it.current()->repaint(true);
+
+ if (b_fixedSize)
+ {
+ adjustSize();
+- setFixedSize(tqsizeHint());
++ setFixedSize(sizeHint());
+ }
+ }
+
+@@ -2129,7 +2129,7 @@
+ ColorSchema* sch = colors->find(s_kconfigSchema);
+ if (!sch)
+ {
+- sch = (ColorSchema*)colors->tqat(0); //the default one
++ sch = (ColorSchema*)colors->at(0); //the default one
+ kdWarning() << "Could not find schema named " <<s_kconfigSchema<<"; using "<<sch->relPath()<<endl;
+ s_kconfigSchema = sch->relPath();
+ }
+@@ -2500,7 +2500,7 @@
+ if (position<=0 || position>(int)sessions.count())
+ return "";
+
+- return sessions.tqat(position-1)->SessionId();
++ return sessions.at(position-1)->SessionId();
+ }
+
+ void Konsole::listSessions()
+@@ -2526,7 +2526,7 @@
+ {
+ if (position<0 || position>=(int)sessions.count())
+ return;
+- activateSession( sessions.tqat(position) );
++ activateSession( sessions.at(position) );
+ }
+
+ void Konsole::activateSession(TQWidget* w)
+@@ -2586,11 +2586,11 @@
+ // Set the required schema variables for the current session
+ ColorSchema* cs = colors->find( se->schemaNo() );
+ if (!cs)
+- cs = (ColorSchema*)colors->tqat(0); //the default one
++ cs = (ColorSchema*)colors->at(0); //the default one
+ s_schema = cs->relPath();
+ curr_schema = cs->numb();
+ pmPath = cs->imagePath();
+- n_render = cs->tqalignment();
++ n_render = cs->alignment();
+
+ // BR 106464 temporary fix...
+ // only 2 sessions opened, 2nd session viewable, right-click on 1st tab and
+@@ -2632,7 +2632,7 @@
+ if (monitorSilence) monitorSilence->setChecked( se->isMonitorSilence() );
+ masterMode->setChecked( se->isMasterMode() );
+ sessions.find(se);
+- uint position=sessions.tqat();
++ uint position=sessions.at();
+ if (m_moveSessionLeft) m_moveSessionLeft->setEnabled(position>0);
+ if (m_moveSessionRight) m_moveSessionRight->setEnabled(position<sessions.count()-1);
+ }
+@@ -2871,7 +2871,7 @@
+
+ ColorSchema* schema = colors->find(sch);
+ if (!schema)
+- schema=(ColorSchema*)colors->tqat(0); //the default one
++ schema=(ColorSchema*)colors->at(0); //the default one
+ int schmno = schema->numb();
+
+ if (sessions.count()==1 && n_tabbar!=TabNone)
+@@ -3063,7 +3063,7 @@
+ se = 0;
+ if (sessions.count())
+ {
+- se = sessions.tqat(sessionIndex ? sessionIndex - 1 : 0);
++ se = sessions.at(sessionIndex ? sessionIndex - 1 : 0);
+
+ session2action.find(se)->setChecked(true);
+ //FIXME: this Timer stupidity originated from the connected
+@@ -3081,7 +3081,7 @@
+ }
+ else {
+ sessions.find(se);
+- uint position=sessions.tqat();
++ uint position=sessions.at();
+ m_moveSessionLeft->setEnabled(position>0);
+ m_moveSessionRight->setEnabled(position<sessions.count()-1);
+ }
+@@ -3135,7 +3135,7 @@
+ void Konsole::moveSessionLeft()
+ {
+ sessions.find(se);
+- uint position=sessions.tqat();
++ uint position=sessions.at();
+ if (position==0)
+ return;
+
+@@ -3167,7 +3167,7 @@
+ void Konsole::moveSessionRight()
+ {
+ sessions.find(se);
+- uint position=sessions.tqat();
++ uint position=sessions.at();
+
+ if (position==sessions.count()-1)
+ return;
+@@ -3498,7 +3498,7 @@
+ co->writeEntry("Name", socket);
+ TQString txt = i18n("Screen is a program controlling screens!", "Screen at %1").arg(socket);
+ co->writeEntry("Comment", txt);
+- co->writePathEntry("Exec", TQString::tqfromLatin1("SCREENDIR=%1 screen -r %2")
++ co->writePathEntry("Exec", TQString::fromLatin1("SCREENDIR=%1 screen -r %2")
+ .arg(path).arg(socket));
+ TQString icon = "konsole";
+ cmd_serial++;
+@@ -3570,7 +3570,7 @@
+ ColorSchema* s = colors->find(numb);
+ if (!s)
+ {
+- s = (ColorSchema*)colors->tqat(0);
++ s = (ColorSchema*)colors->at(0);
+ kdWarning() << "No schema with serial #"<<numb<<", using "<<s->relPath()<<" (#"<<s->numb()<<")." << endl;
+ s_kconfigSchema = s->relPath();
+ }
+@@ -3587,7 +3587,7 @@
+ ColorSchema* s = colors->find(path);
+ if (!s)
+ {
+- s = (ColorSchema*)colors->tqat(0); //the default one
++ s = (ColorSchema*)colors->at(0); //the default one
+ kdWarning() << "No schema with the name " <<path<<", using "<<s->relPath()<<endl;
+ s_kconfigSchema = s->relPath();
+ }
+@@ -3639,7 +3639,7 @@
+ delete rootxpms[tewidget];
+ rootxpms.remove(tewidget);
+ }
+- pixmap_menu_activated(s->tqalignment(), tewidget);
++ pixmap_menu_activated(s->alignment(), tewidget);
+ tewidget->setBlendColor(tqRgba(0, 0, 0, 0xff));
+ }
+
+@@ -3718,7 +3718,7 @@
+ if (se_previous)
+ se = se_previous;
+ else
+- se = sessions.tqat(sessionIndex ? sessionIndex - 1 : 0);
++ se = sessions.at(sessionIndex ? sessionIndex - 1 : 0);
+ session2action.find(se)->setChecked(true);
+ TQTimer::singleShot(1,this,TQT_SLOT(activateSession()));
+ }
+@@ -3992,7 +3992,7 @@
+
+ m_filterData = new KURIFilterData( selectedURL );
+ KURIFilter::self()->filterURI( *(m_filterData) );
+- m_openSelection->insertItem( SmallIconSet( m_filterData->iconName() ),i18n( "%1" ).tqarg(m_filterData->uri().url()), 1 );
++ m_openSelection->insertItem( SmallIconSet( m_filterData->iconName() ),i18n( "%1" ).arg(m_filterData->uri().url()), 1 );
+
+ connect(m_openSelection, TQT_SIGNAL(activated(int)), TQT_SLOT(slotOpenURI(int)));
+ }
+@@ -4207,7 +4207,7 @@
+ TQPtrList<TEWidget> tes = activeTEs();
+ for (TEWidget *_te = tes.first(); _te; _te = tes.next()) {
+ _te->setBidiEnabled(b_bidiEnabled);
+- _te->tqrepaint();
++ _te->repaint();
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/konsole_part.cpp v3.5.13-sru/konsole/konsole/konsole_part.cpp
+--- /tmp/stable//kdebase/konsole/konsole/konsole_part.cpp 2011-10-16 21:40:23.000000000 +0200
++++ v3.5.13-sru/konsole/konsole/konsole_part.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -577,7 +577,7 @@
+ s_kconfigSchema=config->readEntry("schema");
+ ColorSchema* sch = colors->find(schema.isEmpty() ? s_kconfigSchema : schema);
+ if (!sch) {
+- sch=(ColorSchema*)colors->tqat(0); //the default one
++ sch=(ColorSchema*)colors->at(0); //the default one
+ }
+ if (sch->hasSchemaFileChanged()) sch->rereadSchemaFile();
+ s_schema = sch->relPath();
+@@ -591,7 +591,7 @@
+ rootxpm = new KRootPixmap(TQT_TQWIDGET(te));
+ rootxpm->setFadeEffect(sch->tr_x(), TQColor(sch->tr_r(), sch->tr_g(), sch->tr_b()));
+ rootxpm->start();
+- rootxpm->tqrepaint(true);
++ rootxpm->repaint(true);
+ }
+ else {
+ te->setBlendColor(tqRgba(sch->tr_r(), sch->tr_g(), sch->tr_b(), int(sch->tr_x() * 255)));
+@@ -604,7 +604,7 @@
+ delete rootxpm;
+ rootxpm=0;
+ }
+- pixmap_menu_activated(sch->tqalignment());
++ pixmap_menu_activated(sch->alignment());
+ }
+
+ te->setBellMode(n_bell);
+@@ -737,7 +737,7 @@
+
+ m_schema->clear();
+ for (int i = 0; i < (int) colors->count(); i++) {
+- ColorSchema* s = (ColorSchema*)colors->tqat(i);
++ ColorSchema* s = (ColorSchema*)colors->at(i);
+ TQString title=s->title();
+ m_schema->insertItem(title.replace('&',"&&"),s->numb(),0);
+ }
+@@ -752,7 +752,7 @@
+ ColorSchema* s = colors->find(numb);
+ if (!s) {
+ kdWarning() << "No schema found. Using default." << endl;
+- s=(ColorSchema*)colors->tqat(0);
++ s=(ColorSchema*)colors->at(0);
+ }
+ if (s->numb() != numb) {
+ kdWarning() << "No schema with number " << numb << endl;
+@@ -785,7 +785,7 @@
+ rootxpm = new KRootPixmap(TQT_TQWIDGET(te));
+ rootxpm->setFadeEffect(s->tr_x(), TQColor(s->tr_r(), s->tr_g(), s->tr_b()));
+ rootxpm->start();
+- rootxpm->tqrepaint(true);
++ rootxpm->repaint(true);
+ }
+ else {
+ te->setBlendColor(tqRgba(s->tr_r(), s->tr_g(), s->tr_b(), int(s->tr_x() * 255)));
+@@ -798,7 +798,7 @@
+ delete rootxpm;
+ rootxpm=0;
+ }
+- pixmap_menu_activated(s->tqalignment());
++ pixmap_menu_activated(s->alignment());
+ }
+
+ te->setColorTable(s->table());
+@@ -809,8 +809,8 @@
+ {
+ ColorSchema *sch=colors->find(s_schema);
+
+- if (sch && sch->tqalignment() >= 3)
+- pixmap_menu_activated(sch->tqalignment());
++ if (sch && sch->alignment() >= 3)
++ pixmap_menu_activated(sch->alignment());
+ }
+
+ void konsolePart::pixmap_menu_activated(int item)
+@@ -1137,7 +1137,7 @@
+ {
+ TQString text = dir;
+ KRun::shellQuote(text);
+- text = TQString::tqfromLatin1("cd ") + text + '\n';
++ text = TQString::fromLatin1("cd ") + text + '\n';
+ te->emitText( text );
+ };
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/konsole_wcwidth.cpp v3.5.13-sru/konsole/konsole/konsole_wcwidth.cpp
+--- /tmp/stable//kdebase/konsole/konsole/konsole_wcwidth.cpp 2011-03-12 07:58:22.000000000 +0100
++++ v3.5.13-sru/konsole/konsole/konsole_wcwidth.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -214,7 +214,7 @@
+ int w = 0;
+
+ for ( uint i = 1; i < txt.length(); ++i ) {
+- w += konsole_wcwidth(txt[i].tqunicode());
++ w += konsole_wcwidth(txt[i].unicode());
+ }
+ return w;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/main.cpp v3.5.13-sru/konsole/konsole/main.cpp
+--- /tmp/stable//kdebase/konsole/konsole/main.cpp 2011-10-16 21:40:23.000000000 +0200
++++ v3.5.13-sru/konsole/konsole/main.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -271,7 +271,7 @@
+
+ TQString term = "";
+ if(args->isSet("tn")) {
+- term=TQString::tqfromLatin1(args->getOption("tn"));
++ term=TQString::fromLatin1(args->getOption("tn"));
+ }
+ login_shell = args->isSet("ls");
+
+@@ -591,7 +591,7 @@
+ //// Temporary code, waiting for Qt to do this properly
+
+ // Delete all toplevel widgets that have WDestructiveClose
+- TQWidgetList *list = TQApplication::tqtopLevelWidgets();
++ TQWidgetList *list = TQApplication::topLevelWidgets();
+ // remove all toplevel widgets that have a parent (i.e. they
+ // got WTopLevel explicitly), they'll be deleted by the parent
+ list->first();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/schema.cpp v3.5.13-sru/konsole/konsole/schema.cpp
+--- /tmp/stable//kdebase/konsole/konsole/schema.cpp 2011-08-11 07:25:55.000000000 +0200
++++ v3.5.13-sru/konsole/konsole/schema.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -131,7 +131,7 @@
+ ,lastRead(new TQDateTime())
+ {
+ //start with a valid time, aleXXX
+- *lastRead = TQDateTime::tqcurrentDateTime();
++ *lastRead = TQDateTime::currentDateTime();
+ TQString fPath = pathname.startsWith("/") ? pathname : locate("data", "konsole/"+pathname);
+ if (fPath.isEmpty() || !TQFile::exists(fPath))
+ {
+@@ -169,7 +169,7 @@
+
+ m_title = c.readEntry("Title",i18n("[no title]"));
+ m_imagePath = c.readEntry("ImagePath");
+- m_tqalignment = c.readNumEntry("ImageAlignment",1);
++ m_alignment = c.readNumEntry("ImageAlignment",1);
+ m_useTransparency = c.readBoolEntry("UseTransparency",false);
+
+ m_tr_r = c.readNumEntry("TransparentR",0);
+@@ -203,7 +203,7 @@
+ }
+ m_title = i18n("[no title]");
+ m_imagePath = "";
+- m_tqalignment = 1;
++ m_alignment = 1;
+ m_useTransparency = false;
+ m_tr_x = 0.0;
+ m_tr_r = 0;
+@@ -216,7 +216,7 @@
+ m_numb = 0;
+ m_title = i18n("Konsole Default");
+ m_imagePath = ""; // background pixmap
+- m_tqalignment = 1; // none
++ m_alignment = 1; // none
+ m_useTransparency = false; // not use pseudo-transparency by default
+ m_tr_r = m_tr_g = m_tr_b = 0; // just to be on the safe side
+ m_tr_x = 0.0;
+@@ -273,7 +273,7 @@
+ c.setGroup("SchemaGeneral");
+ c.writeEntry("Title",m_title);
+ c.writeEntry("ImagePath",m_imagePath);
+- c.writeEntry("ImageAlignment",m_tqalignment);
++ c.writeEntry("ImageAlignment",m_alignment);
+ c.writeEntry("UseTransparency",m_useTransparency);
+
+ c.writeEntry("TransparentR",m_tr_r);
+@@ -313,7 +313,7 @@
+
+ char line[100];
+
+- *lastRead = TQDateTime::tqcurrentDateTime();
++ *lastRead = TQDateTime::currentDateTime();
+
+ while (fscanf(sysin,"%80[^\n]\n",line) > 0)
+ {
+@@ -334,7 +334,7 @@
+
+ TQString qline(line);
+ m_imagePath = locate("wallpaper", qline.mid( qline.find(" ",7)+1 ) );
+- m_tqalignment = attr;
++ m_alignment = attr;
+ }
+ if (!strncmp(line,"transparency",12))
+ { float rx;
+@@ -388,7 +388,7 @@
+ if (!(0 <= fi && fi <= TABLE_COLORS)) continue;
+ if (!(0 <= tr && tr <= 1 )) continue;
+ if (!(0 <= bo && bo <= 1 )) continue;
+- m_table[fi].color = kapp->tqpalette().active().text();
++ m_table[fi].color = kapp->palette().active().text();
+ m_table[fi].transparent = tr;
+ m_table[fi].bold = bo;
+ }
+@@ -399,7 +399,7 @@
+ if (!(0 <= fi && fi <= TABLE_COLORS)) continue;
+ if (!(0 <= tr && tr <= 1 )) continue;
+ if (!(0 <= bo && bo <= 1 )) continue;
+- m_table[fi].color = kapp->tqpalette().active().base();
++ m_table[fi].color = kapp->palette().active().base();
+ m_table[fi].transparent = tr;
+ m_table[fi].bold = bo;
+ }
+@@ -615,7 +615,7 @@
+ // now.
+ //
+ //
+- TQDateTime now = TQDateTime::tqcurrentDateTime();
++ TQDateTime now = TQDateTime::currentDateTime();
+
+
+ r = updateAllSchemaTimes(now);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/schema.h v3.5.13-sru/konsole/konsole/schema.h
+--- /tmp/stable//kdebase/konsole/konsole/schema.h 2011-03-12 07:58:22.000000000 +0100
++++ v3.5.13-sru/konsole/konsole/schema.h 2012-09-08 19:41:29.000000000 +0200
+@@ -150,7 +150,7 @@
+ int numb() {if (!m_fileRead) rereadSchemaFile();return m_numb;};
+ const TQString& title() {if (!m_fileRead) rereadSchemaFile();return m_title;};
+ const TQString& imagePath() {if (!m_fileRead) rereadSchemaFile();return m_imagePath;};
+- int tqalignment() {if (!m_fileRead) rereadSchemaFile();return m_tqalignment;};
++ int alignment() {if (!m_fileRead) rereadSchemaFile();return m_alignment;};
+ const ColorEntry* table() {if (!m_fileRead) rereadSchemaFile();return m_table;};
+ bool useTransparency() {if (!m_fileRead) rereadSchemaFile();return m_useTransparency;};
+ double tr_x() {if (!m_fileRead) rereadSchemaFile();return m_tr_x;};
+@@ -162,7 +162,7 @@
+ private:
+ int m_numb;
+ int m_tr_r, m_tr_g, m_tr_b;
+- int m_tqalignment;
++ int m_alignment;
+ TQString m_title;
+ TQString m_imagePath;
+ ColorEntry m_table[TABLE_COLORS];
+@@ -188,7 +188,7 @@
+ const ColorSchema *at(unsigned int i)
+ { return TQPtrList<ColorSchema>::at(i); } ;
+ #ifdef USE_QT4
+- const ColorSchema *tqat(unsigned int i)
++ const ColorSchema *at(unsigned int i)
+ { return at(i); } ;
+ #endif // USE_QT4
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/session.cpp v3.5.13-sru/konsole/konsole/session.cpp
+--- /tmp/stable//kdebase/konsole/konsole/session.cpp 2011-08-11 07:25:55.000000000 +0200
++++ v3.5.13-sru/konsole/konsole/session.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -133,11 +133,11 @@
+ {
+ // FIXME: sh->error() is always empty
+ if ( sh->error().isEmpty() )
+- KMessageBox::error( te->tqtopLevelWidget(),
++ KMessageBox::error( te->topLevelWidget(),
+ i18n("Konsole is unable to open a PTY (pseudo teletype). It is likely that this is due to an incorrect configuration of the PTY devices. Konsole needs to have read/write access to the PTY devices."),
+ i18n("A Fatal Error Has Occurred") );
+ else
+- KMessageBox::error(te->tqtopLevelWidget(), sh->error());
++ KMessageBox::error(te->topLevelWidget(), sh->error());
+ emit done(this);
+ }
+
+@@ -645,7 +645,7 @@
+ connect( sh,TQT_SIGNAL(block_in(const char*,int)), this, TQT_SLOT(zmodemRcvBlock(const char*,int)) );
+ connect( sh,TQT_SIGNAL(buffer_empty()), this, TQT_SLOT(zmodemContinue()));
+
+- zmodemProgress = new ZModemDialog(te->tqtopLevelWidget(), false,
++ zmodemProgress = new ZModemDialog(te->topLevelWidget(), false,
+ i18n("ZModem Progress"));
+
+ connect(zmodemProgress, TQT_SIGNAL(user1Clicked()),
+@@ -767,7 +767,7 @@
+ void TESession::onRcvBlock( const char* buf, int len )
+ {
+ em->onRcvBlock( buf, len );
+- emit receivedData( TQString::tqfromLatin1( buf, len ) );
++ emit receivedData( TQString::fromLatin1( buf, len ) );
+ }
+
+ void TESession::print( TQPainter &paint, bool friendly, bool exact )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/TEmulation.cpp v3.5.13-sru/konsole/konsole/TEmulation.cpp
+--- /tmp/stable//kdebase/konsole/konsole/TEmulation.cpp 2011-08-11 07:25:55.000000000 +0200
++++ v3.5.13-sru/konsole/konsole/TEmulation.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -251,7 +251,7 @@
+ */
+
+ void TEmulation::onRcvChar(int c)
+-// process application tqunicode input to terminal
++// process application unicode input to terminal
+ // this is a trivial scanner
+ {
+ c &= 0xff;
+@@ -284,7 +284,7 @@
+ scr->setHistCursor(scr->getHistLines());
+ if (!ev->text().isEmpty())
+ { // A block of text
+- // Note that the text is proper tqunicode.
++ // Note that the text is proper unicode.
+ // We should do a conversion here, but since this
+ // routine will never be used, we simply emit plain ascii.
+ emit sndBlock(TQString(ev->text()).ascii(),ev->text().length());
+@@ -299,7 +299,7 @@
+ // Unblocking, Byte to Unicode translation --------------------------------- --
+
+ /*
+- We are doing code conversion from locale to tqunicode first.
++ We are doing code conversion from locale to unicode first.
+ */
+
+ void TEmulation::onRcvBlock(const char *s, int len)
+@@ -345,7 +345,7 @@
+ if (r[j].category() == TQChar::Mark_NonSpacing)
+ scr->compose(r.mid(j,1));
+ else
+- onRcvChar(r[j].tqunicode());
++ onRcvChar(r[j].unicode());
+ }
+ i = l;
+ }
+@@ -392,7 +392,7 @@
+ void TEmulation::copySelection() {
+ if (!connected) return;
+ TQString t = scr->getSelText(true);
+- TQApplication::tqclipboard()->setText(t);
++ TQApplication::clipboard()->setText(t);
+ }
+
+ TQString TEmulation::getSelection() {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/TEmuVt102.cpp v3.5.13-sru/konsole/konsole/TEmuVt102.cpp
+--- /tmp/stable//kdebase/konsole/konsole/TEmuVt102.cpp 2011-03-12 07:58:22.000000000 +0100
++++ v3.5.13-sru/konsole/konsole/TEmuVt102.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -307,7 +307,7 @@
+ #define ESC 27
+ #define CNTL(c) ((c)-'@')
+
+-// process an incoming tqunicode character
++// process an incoming unicode character
+
+ void TEmuVt102::onRcvChar(int cc)
+ { int i;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/TEScreen.cpp v3.5.13-sru/konsole/konsole/TEScreen.cpp
+--- /tmp/stable//kdebase/konsole/konsole/TEScreen.cpp 2011-03-12 07:58:22.000000000 +0100
++++ v3.5.13-sru/konsole/konsole/TEScreen.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -783,7 +783,7 @@
+ TQChar c(image[lastPos].c);
+ compose.prepend(c);
+ compose.compose();
+- image[lastPos].c = compose[0].tqunicode();
++ image[lastPos].c = compose[0].unicode();
+ }
+
+ // Region commands -------------------------------------------------------------
+@@ -1023,7 +1023,7 @@
+ }
+
+ /*! fill screen with 'E'
+- This is to aid screen tqalignment
++ This is to aid screen alignment
+ */
+
+ void TEScreen::helpAlign()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/TEWidget.cpp v3.5.13-sru/konsole/konsole/TEWidget.cpp
+--- /tmp/stable//kdebase/konsole/konsole/TEWidget.cpp 2011-09-01 03:15:58.000000000 +0200
++++ v3.5.13-sru/konsole/konsole/TEWidget.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -193,10 +193,10 @@
+ xterm fonts have these at 0x00..0x1f.
+
+ QT's iso mapping leaves 0x00..0x7f without any changes. But the graphicals
+- come in here as proper tqunicode characters.
++ come in here as proper unicode characters.
+
+ We treat non-iso10646 fonts as VT100 extended and do the requiered mapping
+- from tqunicode to 0x00..0x1f. The remaining translation is then left to the
++ from unicode to 0x00..0x1f. The remaining translation is then left to the
+ QCodec.
+ */
+
+@@ -215,7 +215,7 @@
+ /*
+ static TQChar vt100extended(TQChar c)
+ {
+- switch (c.tqunicode())
++ switch (c.unicode())
+ {
+ case 0x25c6 : return 1;
+ case 0x2592 : return 2;
+@@ -391,7 +391,7 @@
+ // konsole in opaque mode.
+ bY = bX = 1;
+
+- cb = TQApplication::tqclipboard();
++ cb = TQApplication::clipboard();
+ TQObject::connect( (TQObject*)cb, TQT_SIGNAL(selectionChanged()),
+ this, TQT_SLOT(onClearSelection()) );
+
+@@ -441,7 +441,7 @@
+ /* ------------------------------------------------------------------------- */
+
+ /**
+- A table for emulating the simple (single width) tqunicode drawing chars.
++ A table for emulating the simple (single width) unicode drawing chars.
+ It represents the 250x - 257x glyphs. If it's zero, we can't use it.
+ if it's not, it's encoded as follows: imagine a 5x5 grid where the points are numbered
+ 0 to 24 left to top, top to bottom. Each point is represented by the corresponding bit.
+@@ -564,7 +564,7 @@
+ int w;
+ for(unsigned int i=0;i<str.length();i++)
+ {
+- drawstr = str.tqat(i);
++ drawstr = str.at(i);
+ // Add double of the width if next c is 0;
+ if ((attr+nc+1)->c) // This may access image[image_size] See makeImage()
+ {
+@@ -578,7 +578,7 @@
+ }
+
+ //Check for line-drawing char
+- if (isLineChar(drawstr[0].tqunicode()))
++ if (isLineChar(drawstr[0].unicode()))
+ {
+ uchar code = drawstr[0].cell();
+ if (LineChars[code])
+@@ -814,7 +814,7 @@
+ int y,x,len;
+ const TQPixmap* pm = backgroundPixmap();
+ TQPainter paint;
+- tqsetUpdatesEnabled(false);
++ setUpdatesEnabled(false);
+ paint.begin( this );
+
+ TQPoint tL = contentsRect().topLeft();
+@@ -926,7 +926,7 @@
+ }
+ drawFrame( &paint );
+ paint.end();
+- tqsetUpdatesEnabled(true);
++ setUpdatesEnabled(true);
+ if ( hasBlinker && !blinkT->isActive()) blinkT->start(1000); // 1000 ms
+ if (!hasBlinker && blinkT->isActive()) { blinkT->stop(); blinking = false; }
+ free(dirtyMask);
+@@ -954,7 +954,7 @@
+ mResizeLabel = new TQLabel(i18n("Size: XXX x XXX"), mResizeWidget);
+ l->addWidget(mResizeLabel, 1, AlignCenter);
+ mResizeWidget->setMinimumWidth(mResizeLabel->fontMetrics().width(i18n("Size: XXX x XXX"))+20);
+- mResizeWidget->setMinimumHeight(mResizeLabel->tqsizeHint().height()+20);
++ mResizeWidget->setMinimumHeight(mResizeLabel->sizeHint().height()+20);
+ mResizeTimer = new TQTimer(this);
+ connect(mResizeTimer, TQT_SIGNAL(timeout()), mResizeWidget, TQT_SLOT(hide()));
+ }
+@@ -993,7 +993,7 @@
+ {
+ const TQPixmap* pm = backgroundPixmap();
+ TQPainter paint;
+- tqsetUpdatesEnabled(false);
++ setUpdatesEnabled(false);
+ paint.begin( this );
+ paint.setBackgroundMode( Qt::TransparentMode );
+
+@@ -1051,7 +1051,7 @@
+ erase( er );
+
+ paint.end();
+- tqsetUpdatesEnabled(true);
++ setUpdatesEnabled(true);
+ }
+
+ void TEWidget::print(TQPainter &paint, bool friendly, bool exact)
+@@ -1072,7 +1072,7 @@
+ pm.fill();
+
+ TQPainter pm_paint;
+- pm_paint.tqbegin(&pm, TQT_TQWIDGET(this));
++ pm_paint.begin(&pm, TQT_TQWIDGET(this));
+ paintContents(pm_paint, contentsRect(), true);
+ pm_paint.end();
+ paint.drawPixmap(0, 0, pm);
+@@ -1159,14 +1159,14 @@
+ {
+ blinking = !blinking;
+ isBlinkEvent = true;
+- tqrepaint(false);
++ repaint(false);
+ isBlinkEvent = false;
+ }
+
+ void TEWidget::blinkCursorEvent()
+ {
+ cursorBlinking = !cursorBlinking;
+- tqrepaint(cursorRect, true);
++ repaint(cursorRect, true);
+ }
+
+ /* ------------------------------------------------------------------------- */
+@@ -1185,9 +1185,9 @@
+ if (isFixedSize)
+ {
+ setSize(columns, lines);
+- TQFrame::setFixedSize(tqsizeHint());
++ TQFrame::setFixedSize(sizeHint());
+ parentWidget()->adjustSize();
+- parentWidget()->setFixedSize(parentWidget()->tqsizeHint());
++ parentWidget()->setFixedSize(parentWidget()->sizeHint());
+ return;
+ }
+ if (image)
+@@ -1742,14 +1742,14 @@
+
+ void TEWidget::focusInEvent( TQFocusEvent * )
+ {
+- tqrepaint(cursorRect, true); // *do* erase area, to get rid of the
++ repaint(cursorRect, true); // *do* erase area, to get rid of the
+ // hollow cursor rectangle.
+ }
+
+
+ void TEWidget::focusOutEvent( TQFocusEvent * )
+ {
+- tqrepaint(cursorRect, true); // don't erase area
++ repaint(cursorRect, true); // don't erase area
+ }
+
+ bool TEWidget::focusNextPrevChild( bool next )
+@@ -1803,8 +1803,8 @@
+ void TEWidget::emitSelection(bool useXselection,bool appendReturn)
+ // Paste Clipboard by simulating keypress events
+ {
+- TQApplication::tqclipboard()->setSelectionMode( useXselection );
+- TQString text = TQApplication::tqclipboard()->text();
++ TQApplication::clipboard()->setSelectionMode( useXselection );
++ TQString text = TQApplication::clipboard()->text();
+ if(appendReturn)
+ text.append("\r");
+ if ( ! text.isEmpty() )
+@@ -1814,13 +1814,13 @@
+ emit keyPressedSignal(&e); // expose as a big fat keypress event
+ emit clearSelectionSignal();
+ }
+- TQApplication::tqclipboard()->setSelectionMode( false );
++ TQApplication::clipboard()->setSelectionMode( false );
+ }
+
+ void TEWidget::setSelection(const TQString& t)
+ {
+ // Disconnect signal while WE set the clipboard
+- TQClipboard *cb = TQApplication::tqclipboard();
++ TQClipboard *cb = TQApplication::clipboard();
+ TQObject::disconnect( cb, TQT_SIGNAL(selectionChanged()),
+ this, TQT_SLOT(onClearSelection()) );
+
+@@ -1860,7 +1860,7 @@
+
+ //FIXME: an `eventFilter' has been installed instead of a `keyPressEvent'
+ // due to a bug in `QT' or the ignorance of the author to prevent
+-// tqrepaint events being emitted to the screen whenever one leaves
++// repaint events being emitted to the screen whenever one leaves
+ // or reenters the screen to/from another application.
+ //
+ // Troll says one needs to change focusInEvent() and focusOutEvent(),
+@@ -1880,7 +1880,7 @@
+ bool TEWidget::eventFilter( TQObject *obj, TQEvent *e )
+ {
+ if ( (e->type() == TQEvent::Accel ||
+- e->type() == TQEvent::AccelAvailable ) && tqApp->tqfocusWidget() == this )
++ e->type() == TQEvent::AccelAvailable ) && tqApp->focusWidget() == this )
+ {
+ TQT_TQKEYEVENT( e )->ignore();
+ return false;
+@@ -1984,7 +1984,7 @@
+ m_imPreeditLength = 0;
+
+ m_isIMEdit = m_isIMSel = false;
+- tqrepaint( repaintRect, true );
++ repaint( repaintRect, true );
+ }
+
+ // Override any Ctrl+<key> accelerator when pressed with the keyboard
+@@ -2104,7 +2104,7 @@
+
+ void TEWidget::calcGeometry()
+ {
+- scrollbar->resize(TQApplication::tqstyle().tqpixelMetric(TQStyle::PM_ScrollBarExtent),
++ scrollbar->resize(TQApplication::style().pixelMetric(TQStyle::PM_ScrollBarExtent),
+ contentsRect().height());
+ switch(scrollLoc)
+ {
+@@ -2177,7 +2177,7 @@
+ TQFrame::setFixedSize(m_size);
+ }
+
+-TQSize TEWidget::tqsizeHint() const
++TQSize TEWidget::sizeHint() const
+ {
+ return m_size;
+ }
+@@ -2242,7 +2242,7 @@
+ TQString tmp;
+ if (url.isLocalFile()) {
+ tmp = url.path(); // local URL : remove protocol. This helps "ln" & "cd" and doesn't harm the others
+- } else if ( url.protocol() == TQString::tqfromLatin1( "mailto" ) ) {
++ } else if ( url.protocol() == TQString::fromLatin1( "mailto" ) ) {
+ justPaste = true;
+ break;
+ } else {
+@@ -2268,7 +2268,7 @@
+ void TEWidget::doDrag()
+ {
+ dragInfo.state = diDragging;
+- dragInfo.dragObject = new TQTextDrag(TQApplication::tqclipboard()->text(TQClipboard::Selection), this);
++ dragInfo.dragObject = new TQTextDrag(TQApplication::clipboard()->text(TQClipboard::Selection), this);
+ dragInfo.dragObject->dragCopy();
+ // Don't delete the TQTextDrag object. Qt will delete it when it's done with it.
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/konsole/konsole/TEWidget.h v3.5.13-sru/konsole/konsole/TEWidget.h
+--- /tmp/stable//kdebase/konsole/konsole/TEWidget.h 2011-03-12 07:58:22.000000000 +0100
++++ v3.5.13-sru/konsole/konsole/TEWidget.h 2012-09-08 19:41:29.000000000 +0200
+@@ -98,7 +98,7 @@
+ void updateImageSize();
+ void setSize(int cols, int lins);
+ void setFixedSize(int cols, int lins);
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+
+ void setWordCharacters(TQString wc);
+ TQString wordCharacters() { return word_characters; }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpager/desktop.cpp v3.5.13-sru/kpager/desktop.cpp
+--- /tmp/stable//kdebase/kpager/desktop.cpp 2011-08-11 07:25:33.000000000 +0200
++++ v3.5.13-sru/kpager/desktop.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -295,7 +295,7 @@
+
+ p.begin(pixmap);
+ p.setFont(font());
+- p.fillRect( r, tqcolorGroup().brush(TQColorGroup::Dark));
++ p.fillRect( r, colorGroup().brush(TQColorGroup::Dark));
+ paintWindow(p, info, false);
+ p.end();
+
+@@ -425,7 +425,7 @@
+
+ p.begin(&pixmap);
+ // p.setFont(font());
+-// p.fillRect(rect(), tqcolorGroup().brush(TQColorGroup::Dark));
++// p.fillRect(rect(), colorGroup().brush(TQColorGroup::Dark));
+ // p.setPen(Qt::black);
+ // p.drawRect(rect());
+
+@@ -450,7 +450,7 @@
+ else pixmap.fill(Qt::gray);
+ }
+ else
+- p.fillRect(rect(), tqcolorGroup().brush(TQColorGroup::Mid));
++ p.fillRect(rect(), colorGroup().brush(TQColorGroup::Mid));
+
+ // set in/active pen
+ if (isCurrent())
+@@ -523,8 +523,8 @@
+
+ TQBrush brush;
+
+- if ( isActive ) brush=tqcolorGroup().brush( TQColorGroup::Highlight );
+- else brush=tqcolorGroup().brush( TQColorGroup::Button );
++ if ( isActive ) brush=colorGroup().brush( TQColorGroup::Highlight );
++ else brush=colorGroup().brush( TQColorGroup::Button );
+
+ if ( m_transparentMode==AllWindows
+ || (m_transparentMode==MaximizedWindows && ( info->state() & NET::Max )) )
+@@ -532,12 +532,12 @@
+
+ if ( isActive )
+ {
+- qDrawShadeRect( &p, r, tqcolorGroup(), false, 1, 0, &brush );
++ qDrawShadeRect( &p, r, colorGroup(), false, 1, 0, &brush );
+ }
+ else
+ {
+ p.fillRect( r, brush );
+- qDrawShadeRect( &p, r, tqcolorGroup(), true, 1, 0 );
++ qDrawShadeRect( &p, r, colorGroup(), true, 1, 0 );
+ }
+
+ }
+@@ -669,7 +669,7 @@
+ } else kdDebug() << "Error getting the background\n";
+ }
+
+-TQSize Desktop::tqsizeHint() const
++TQSize Desktop::sizeHint() const
+ {
+ return TQSize(67,50);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpager/desktop.h v3.5.13-sru/kpager/desktop.h
+--- /tmp/stable//kdebase/kpager/desktop.h 2011-03-12 07:57:53.000000000 +0100
++++ v3.5.13-sru/kpager/desktop.h 2012-09-08 19:41:29.000000000 +0200
+@@ -74,7 +74,7 @@
+
+ static void removeCachedPixmap(int nWin) { m_windowPixmaps.remove(nWin); };
+
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+
+ /**
+ * active is a bool that specifies if the frame is the active
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpager/kpager.cpp v3.5.13-sru/kpager/kpager.cpp
+--- /tmp/stable//kdebase/kpager/kpager.cpp 2011-03-12 07:57:53.000000000 +0100
++++ v3.5.13-sru/kpager/kpager.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -76,7 +76,7 @@
+ if (w > 0 && h > 0)
+ resize(w,h);
+ else
+- resize(m_pPager->tqsizeHint());
++ resize(m_pPager->sizeHint());
+ // resize(cfg->readNumEntry(lWidth(),200),cfg->readNumEntry(lHeight(),90));
+
+ int xpos=cfg->readNumEntry("xPos",-1);
+@@ -91,7 +91,7 @@
+ // rect.pos.y+rect.size.height-m_pPager->height());
+ // antonio:The above lines don't work. I should look at them when I have
+ // more time
+- move(kapp->desktop()->width()-m_pPager->tqsizeHint().width()-5,kapp->desktop()->height()-m_pPager->tqsizeHint().height()-25);
++ move(kapp->desktop()->width()-m_pPager->sizeHint().width()-5,kapp->desktop()->height()-m_pPager->sizeHint().height()-25);
+ }
+
+ // Set the wm flags to this window
+@@ -374,7 +374,7 @@
+
+ updateLayout();
+ for( TQValueList <Desktop *>::Iterator it = m_desktops.begin(); it != m_desktops.end(); ++it )
+- (*it)->tqrepaint();
++ (*it)->repaint();
+ }
+ }
+
+@@ -409,7 +409,7 @@
+ {
+ if ( (inf1 && inf1->isOnDesktop(i))
+ || (inf2 && inf2->isOnDesktop(i) ) )
+- m_desktops[i-1]->tqrepaint(false);
++ m_desktops[i-1]->repaint(false);
+ }
+ }
+
+@@ -422,7 +422,7 @@
+ for ( int i=1; i <= (int) m_desktops.count(); ++i)
+ {
+ if ( inf->isOnDesktop( i ))
+- m_desktops[i-1]->tqrepaint(false);
++ m_desktops[i-1]->repaint(false);
+ }
+ }
+
+@@ -438,14 +438,14 @@
+ for (int i = 1; i <= (int) m_desktops.count(); ++i)
+ {
+ if (onAllDesktops || desktop == i)
+- m_desktops[i-1]->tqrepaint(false);
++ m_desktops[i-1]->repaint(false);
+ }
+ }
+ }
+
+ void KPager::slotWindowChanged( WId win , unsigned int prop)
+ {
+- bool tqrepaint=false;
++ bool repaint=false;
+
+ KWin::WindowInfo* inf = m_windows[win];
+ if (!inf)
+@@ -453,7 +453,7 @@
+ inf=info(win);
+ prop=0; // info already calls KWin::info, so there's no need
+ // to update anything else.
+- tqrepaint=true;
++ repaint=true;
+ };
+
+ bool onAllDesktops = inf ? inf->onAllDesktops() : false;
+@@ -466,15 +466,15 @@
+ }
+
+ if((prop & ~( NET::WMName | NET::WMVisibleName )) != 0 )
+- tqrepaint = true;
++ repaint = true;
+
+- if (tqrepaint)
++ if (repaint)
+ for ( int i=1; i <= (int) m_desktops.count(); ++i)
+ {
+ if ((inf && (inf->isOnDesktop(i)))
+ || onAllDesktops || desktop == i )
+ {
+- m_desktops[i-1]->tqrepaint(false);
++ m_desktops[i-1]->repaint(false);
+ }
+ }
+ // redrawDesktops();
+@@ -485,9 +485,9 @@
+ m_desktops[m_currentDesktop-1]->m_grabWindows=true;
+ for ( int i=1; i <= (int) m_desktops.count(); ++i)
+ {
+- m_desktops[i-1]->tqrepaint(false);
++ m_desktops[i-1]->repaint(false);
+ }
+-// tqrepaint(true);
++// repaint(true);
+ }
+
+ void KPager::slotDesktopNamesChanged()
+@@ -547,8 +547,8 @@
+ m_desktops[m_currentDesktop-1]->update();
+ m_desktops[desk-1]->paintFrame( true );
+ m_desktops[desk-1]->update();
+-// m_desktops[m_currentDesktop-1]->tqrepaint();
+-// m_desktops[desk-1]->tqrepaint();
++// m_desktops[m_currentDesktop-1]->repaint();
++// m_desktops[desk-1]->repaint();
+
+ m_currentDesktop=desk;
+
+@@ -643,21 +643,21 @@
+ {
+ TQValueList <Desktop *>::Iterator it;
+ for( it = m_desktops.begin(); it != m_desktops.end(); ++it )
+- (*it)->tqrepaint();
++ (*it)->repaint();
+ }
+
+ void KPager::slotGrabWindows()
+ {
+ m_desktops[m_currentDesktop-1]->m_grabWindows=true;
+- m_desktops[m_currentDesktop-1]->tqrepaint();
++ m_desktops[m_currentDesktop-1]->repaint();
+ }
+
+-TQSize KPager::tqsizeHint() const
++TQSize KPager::sizeHint() const
+ {
+ int n=m_desktops.count();
+ int w=-1,h=-1;
+
+- TQSize size=m_desktops[0]->tqsizeHint();
++ TQSize size=m_desktops[0]->sizeHint();
+ int wDsk=size.width();
+ int hDsk=size.height();
+ switch (m_layoutType)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpager/kpager.h v3.5.13-sru/kpager/kpager.h
+--- /tmp/stable//kdebase/kpager/kpager.h 2011-03-12 07:57:53.000000000 +0100
++++ v3.5.13-sru/kpager/kpager.h 2012-09-08 19:41:29.000000000 +0200
+@@ -76,7 +76,7 @@
+
+ KWin::WindowInfo* info( WId win );
+
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+
+ enum LayoutTypes { Classical=0, Horizontal, Vertical };
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpager/main.cpp v3.5.13-sru/kpager/main.cpp
+--- /tmp/stable//kdebase/kpager/main.cpp 2011-03-12 07:57:53.000000000 +0100
++++ v3.5.13-sru/kpager/main.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -47,7 +47,7 @@
+
+ void commitData(TQSessionManager& sm) {
+ if (mainWidget()->isHidden()) {
+- sm.setRestartHint( QSessionManager::RestartNever );
++ sm.setRestartHint( TQSessionManager::RestartNever );
+ return;
+ }
+ closed_by_sm = true;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/kcountrypage.cpp v3.5.13-sru/kpersonalizer/kcountrypage.cpp
+--- /tmp/stable//kdebase/kpersonalizer/kcountrypage.cpp 2011-08-11 07:25:44.000000000 +0200
++++ v3.5.13-sru/kpersonalizer/kcountrypage.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -76,7 +76,7 @@
+
+ void KCountryPage::loadCountryList(KLanguageButton *combo) {
+
+- TQString sub = TQString::tqfromLatin1("l10n/");
++ TQString sub = TQString::fromLatin1("l10n/");
+
+ // clear the list
+ combo->clear();
+@@ -86,8 +86,8 @@
+
+ for ( TQStringList::ConstIterator it = regionfiles.begin(); it != regionfiles.end(); ++it ) {
+ KSimpleConfig entry(*it);
+- entry.setGroup(TQString::tqfromLatin1("KCM Locale"));
+- TQString name = entry.readEntry(TQString::tqfromLatin1("Name"), i18n("without name"));
++ entry.setGroup(TQString::fromLatin1("KCM Locale"));
++ TQString name = entry.readEntry(TQString::fromLatin1("Name"), i18n("without name"));
+
+ TQString tag = *it;
+ int index;
+@@ -113,8 +113,8 @@
+
+ for ( TQStringList::ConstIterator it = countrylist.begin(); it != countrylist.end(); ++it ) {
+ KSimpleConfig entry(*it);
+- entry.setGroup(TQString::tqfromLatin1("KCM Locale"));
+- TQString name = entry.readEntry(TQString::tqfromLatin1("Name"), i18n("without name"));
++ entry.setGroup(TQString::fromLatin1("KCM Locale"));
++ TQString name = entry.readEntry(TQString::fromLatin1("Name"), i18n("without name"));
+ TQString submenu = '-' + entry.readEntry("Region");
+
+ TQString tag = *it;
+@@ -123,7 +123,7 @@
+ index = tag.findRev('/');
+ tag = tag.mid(index+1);
+
+- TQPixmap flag( locate( "locale", TQString::tqfromLatin1("l10n/%1/flag.png").arg(tag) ) );
++ TQPixmap flag( locate( "locale", TQString::fromLatin1("l10n/%1/flag.png").arg(tag) ) );
+ TQIconSet icon( flag );
+ combo->insertItem( icon, name, tag, submenu );
+ }
+@@ -138,7 +138,7 @@
+ for ( it = langlist.begin(); it != langlist.end(); ++it ) {
+ if ((*it).isNull()) {
+ combo->insertSeparator();
+- submenu = TQString::tqfromLatin1("all");
++ submenu = TQString::fromLatin1("all");
+ combo->insertSubmenu(i18n("All"), submenu, TQString::null);
+ continue;
+ }
+@@ -151,9 +151,9 @@
+ kdDebug() << "KCountryPage::save()" << endl;
+ KConfigBase *config = KGlobal::config();
+
+- config->setGroup(TQString::tqfromLatin1("Locale"));
+- config->writeEntry(TQString::tqfromLatin1("Country"), comboCountry->current(), true, true);
+- config->writeEntry(TQString::tqfromLatin1("Language"), comboLang->current(), true, true);
++ config->setGroup(TQString::fromLatin1("Locale"));
++ config->writeEntry(TQString::fromLatin1("Country"), comboCountry->current(), true, true);
++ config->writeEntry(TQString::fromLatin1("Language"), comboLang->current(), true, true);
+ config->sync();
+
+ // only make the system reload the language, if the selected one deferes from the old saved one.
+@@ -167,7 +167,7 @@
+ kapp->dcopClient()->attach();
+ // ksycoca needs to be rebuilt
+ KProcess proc;
+- proc << TQString::tqfromLatin1("kbuildsycoca");
++ proc << TQString::fromLatin1("kbuildsycoca");
+ proc.start(KProcess::DontCare);
+ kdDebug() << "KLocaleConfig::save : sending signal to kdesktop" << endl;
+ // inform kicker and kdeskop about the new language
+@@ -182,10 +182,10 @@
+
+ void KCountryPage::setLangForCountry(const TQString &country) {
+ KSimpleConfig ent(locate("locale", "l10n/" + country + "/entry.desktop"), true);
+- ent.setGroup(TQString::tqfromLatin1("KCM Locale"));
+- langs = ent.readListEntry(TQString::tqfromLatin1("Languages"));
++ ent.setGroup(TQString::fromLatin1("KCM Locale"));
++ langs = ent.readListEntry(TQString::fromLatin1("Languages"));
+
+- TQString lang = TQString::tqfromLatin1("en_US");
++ TQString lang = TQString::fromLatin1("en_US");
+ // use the first INSTALLED langauge in the list, or default to C
+ for ( TQStringList::Iterator it = langs.begin(); it != langs.end(); ++it ) {
+ if (cb_language->contains(*it)) {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/kcountrypagedlg.ui v3.5.13-sru/kpersonalizer/kcountrypagedlg.ui
+--- /tmp/stable//kdebase/kpersonalizer/kcountrypagedlg.ui 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kpersonalizer/kcountrypagedlg.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -36,7 +36,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>150</width>
+ <height>0</height>
+@@ -84,7 +84,7 @@
+ <property name="textFormat">
+ <enum>RichText</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop|AlignLeft</set>
+ </property>
+ <property name="vAlign" stdset="0">
+@@ -120,7 +120,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>150</width>
+ <height>0</height>
+@@ -160,7 +160,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>170</width>
+ <height>430</height>
+@@ -189,7 +189,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>30</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/keyecandypagedlg.ui v3.5.13-sru/kpersonalizer/keyecandypagedlg.ui
+--- /tmp/stable//kdebase/kpersonalizer/keyecandypagedlg.ui 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kpersonalizer/keyecandypagedlg.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -28,7 +28,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>170</width>
+ <height>430</height>
+@@ -63,7 +63,7 @@
+ <string>&lt;P&gt;Trinity offers many visually appealing special effects, such as smoothed fonts, previews in the file manager and animated menus. All this beauty, however, comes at a small performance cost. &lt;/P&gt;
+ If you have a fast, new processor, you might want to turn them all on, but for those of us with slower processors, starting off with less eye candy helps to keep your desktop more responsive.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop|AlignLeft</set>
+ </property>
+ <property name="vAlign" stdset="0">
+@@ -98,7 +98,7 @@
+ <property name="textFormat">
+ <enum>PlainText</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ <property name="hAlign" stdset="0">
+@@ -136,7 +136,7 @@
+ <string>Fast Processor
+ (more effects)</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignCenter</set>
+ </property>
+ <property name="hAlign" stdset="0">
+@@ -222,7 +222,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>120</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/kfindlanguage.cpp v3.5.13-sru/kpersonalizer/kfindlanguage.cpp
+--- /tmp/stable//kdebase/kpersonalizer/kfindlanguage.cpp 2011-08-11 07:25:44.000000000 +0200
++++ v3.5.13-sru/kpersonalizer/kfindlanguage.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -38,7 +38,7 @@
+
+ m_country = config->readEntry("Country", "C");
+ if (m_country == "C") {
+- m_country = TQString::tqfromLatin1(getenv("LANG"));
++ m_country = TQString::fromLatin1(getenv("LANG"));
+ if(m_country.left(5) == "nn_NO") // glibc's nn_NO is KDE's no_NY
+ m_country = "no";
+ if(m_country.contains("_"))
+@@ -54,7 +54,7 @@
+ }
+
+ // get the users primary Languages
+- KSimpleConfig ent(locate("locale", TQString::tqfromLatin1("l10n/%1/entry.desktop").arg(m_country)), true);
++ KSimpleConfig ent(locate("locale", TQString::fromLatin1("l10n/%1/entry.desktop").arg(m_country)), true);
+ ent.setGroup("KCM Locale");
+ TQStringList langs = ent.readListEntry("Languages");
+ if (langs.isEmpty())
+@@ -96,7 +96,7 @@
+ if (m_oldlang.isEmpty()) {
+ compare = langs.first();
+ for(TQStringList::Iterator it = langs.begin(); it != langs.end(); ++it) {
+- if (*it == TQString::tqfromLatin1(getenv("LANG")).mid(3, 2).lower())
++ if (*it == TQString::fromLatin1(getenv("LANG")).mid(3, 2).lower())
+ compare = *it;
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/kospage.cpp v3.5.13-sru/kpersonalizer/kospage.cpp
+--- /tmp/stable//kdebase/kpersonalizer/kospage.cpp 2011-08-21 09:08:16.000000000 +0200
++++ v3.5.13-sru/kpersonalizer/kospage.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -142,7 +142,7 @@
+ ckcmdisplay->writeEntry("macStyle", false, true, true);
+
+ cglobal->setGroup("KDE");
+- cglobal->writeEntry("SingleClick", true, true, true);
++ cglobal->writeEntry("SingleClick", false, true, true);
+
+ claunch->setGroup("FeedbackStyle");
+ claunch->writeEntry("BusyCursor", false);
+@@ -351,8 +351,8 @@
+ textview_ospage->setText(i18n(
+ "<b>Window activation:</b> <i>Focus on click</i><br>"
+ "<b>Titlebar double-click:</b> <i>Shade window</i><br>"
+- "<b>Mouse selection:</b> <i>Single click</i><br>"
+- "<b>Application startup notification:</b> <i>busy cursor</i><br>"
++ "<b>Mouse selection:</b> <i>Double click</i><br>"
++ "<b>Application startup notification:</b> <i>none</i><br>"
+ "<b>Keyboard scheme:</b> <i>Trinity default</i><br>"
+ ));
+ }
+@@ -376,7 +376,7 @@
+ "<b>Window activation:</b> <i>Focus on click</i><br>"
+ "<b>Titlebar double-click:</b> <i>Maximize window</i><br>"
+ "<b>Mouse selection:</b> <i>Double click</i><br>"
+- "<b>Application startup notification:</b> <i>busy cursor</i><br>"
++ "<b>Application startup notification:</b> <i>none</i><br>"
+ "<b>Keyboard scheme:</b> <i>Windows</i><br>"
+ ));
+ }
+@@ -400,7 +400,7 @@
+ b_MacMenuBar = ckcmdisplay->readBoolEntry("macStyle", false);
+
+ cglobal->setGroup("KDE");
+- b_SingleClick = cglobal->readBoolEntry("SingleClick", true);
++ b_SingleClick = cglobal->readBoolEntry("SingleClick", false);
+
+ claunch->setGroup("FeedbackStyle");
+ b_BusyCursor = claunch->readBoolEntry("BusyCursor", false);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/kospagedlg.ui v3.5.13-sru/kpersonalizer/kospagedlg.ui
+--- /tmp/stable//kdebase/kpersonalizer/kospagedlg.ui 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kpersonalizer/kospagedlg.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -33,7 +33,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>170</width>
+ <height>430</height>
+@@ -136,7 +136,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>22</width>
+ <height>10</height>
+@@ -153,7 +153,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>22</width>
+ <height>16</height>
+@@ -167,7 +167,7 @@
+ <property name="text">
+ <string>For motion impaired users, Trinity provides keyboard gestures to activate special keyboard settings.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/kpersonalizer.cpp v3.5.13-sru/kpersonalizer/kpersonalizer.cpp
+--- /tmp/stable//kdebase/kpersonalizer/kpersonalizer.cpp 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kpersonalizer/kpersonalizer.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -232,11 +232,11 @@
+
+ /** there seems to be a bug in TQWizard, that makes this evil hack necessary */
+ void KPersonalizer::setPosition() {
+- TQSize hint = countrypage->tqsizeHint();
+- TQSize os_size = ospage->tqsizeHint();
+- TQSize candy_size = eyecandy->tqsizeHint();
+- TQSize style_size = stylepage->tqsizeHint();
+- TQSize refine_size = refinepage->tqsizeHint();
++ TQSize hint = countrypage->sizeHint();
++ TQSize os_size = ospage->sizeHint();
++ TQSize candy_size = eyecandy->sizeHint();
++ TQSize style_size = stylepage->sizeHint();
++ TQSize refine_size = refinepage->sizeHint();
+
+ // get the width of the broadest child-widget
+ if ( hint.width() < os_size.width() )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/krefinepagedlg.ui v3.5.13-sru/kpersonalizer/krefinepagedlg.ui
+--- /tmp/stable//kdebase/kpersonalizer/krefinepagedlg.ui 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kpersonalizer/krefinepagedlg.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -32,7 +32,7 @@
+ <string>&lt;h3&gt;Finished&lt;/h3&gt;
+ &lt;p&gt;After closing this dialog you can always restart this Wizard by choosing the entry &lt;b&gt;Desktop Settings Wizard&lt;/b&gt; from the Settings menu.&lt;/p&gt;</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter|AlignLeft</set>
+ </property>
+ <property name="wordwrap" stdset="0">
+@@ -80,7 +80,7 @@
+ <property name="text">
+ <string>You can refine the settings you made by starting the Trinity Control Center by choosing the entry &lt;b&gt;Control Center&lt;/b&gt; in the K menu.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignTop|AlignLeft</set>
+ </property>
+ </widget>
+@@ -98,7 +98,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>170</width>
+ <height>430</height>
+@@ -132,7 +132,7 @@
+ <property name="text">
+ <string>You can also start the Trinity Control Center using the button below.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignCenter</set>
+ </property>
+ </widget>
+@@ -146,7 +146,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>16</height>
+@@ -163,7 +163,7 @@
+ <property name="sizeType">
+ <enum>Fixed</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+@@ -188,7 +188,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -213,7 +213,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -232,7 +232,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/kstylepage.cpp v3.5.13-sru/kpersonalizer/kstylepage.cpp
+--- /tmp/stable//kdebase/kpersonalizer/kstylepage.cpp 2011-08-21 09:08:16.000000000 +0200
++++ v3.5.13-sru/kpersonalizer/kstylepage.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -238,7 +238,7 @@
+ for (KIcon::Group i=KIcon::FirstGroup; i<KIcon::LastGroup; i++) {
+ if (groups[i] == 0L)
+ break;
+- KGlobal::config()->setGroup(TQString::tqfromLatin1(groups[i]) + "Icons");
++ KGlobal::config()->setGroup(TQString::fromLatin1(groups[i]) + "Icons");
+ KGlobal::config()->writeEntry("Size", icontheme.defaultSize(i));
+ }
+ KGlobal::config()->sync();
+@@ -428,12 +428,12 @@
+ else if (*it == "Light, 3rd revision") kde_light_exist = true;
+ }
+ // and disable the ListItems, if they are not.
+- if ( !(kde_plastik_exist || kde_light_exist) ) kde->tqsetVisible(false);
+- if ( !(kde_hc_exist || kde_def_exist) ) classic->tqsetVisible(false);
+- if (!kde_keramik_exist || TQPixmap::defaultDepth() <= 8) keramik->tqsetVisible(false);
+- if (!cde_exist) cde->tqsetVisible(false);
+- if (!win_exist) win->tqsetVisible(false);
+- if (!platinum_exist) platinum->tqsetVisible(false);
++ if ( !(kde_plastik_exist || kde_light_exist) ) kde->setVisible(false);
++ if ( !(kde_hc_exist || kde_def_exist) ) classic->setVisible(false);
++ if (!kde_keramik_exist || TQPixmap::defaultDepth() <= 8) keramik->setVisible(false);
++ if (!cde_exist) cde->setVisible(false);
++ if (!win_exist) win->setVisible(false);
++ if (!platinum_exist) platinum->setVisible(false);
+
+ // test, wich KWin-styles are available
+ kwin_keramik_exist = kwin_system_exist = kwin_plastik_exist
+@@ -542,7 +542,7 @@
+ // go ahead
+ setStyleRecursive( stylePreview, palette, style );
+ // this flickers, but reliably draws the widgets corretly.
+- stylePreview->resize( stylePreview->tqsizeHint() );
++ stylePreview->resize( stylePreview->sizeHint() );
+
+ delete appliedStyle;
+ appliedStyle = style;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/kstylepagedlg.ui v3.5.13-sru/kpersonalizer/kstylepagedlg.ui
+--- /tmp/stable//kdebase/kpersonalizer/kstylepagedlg.ui 2011-03-12 07:58:07.000000000 +0100
++++ v3.5.13-sru/kpersonalizer/kstylepagedlg.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -31,7 +31,7 @@
+ <property name="text">
+ <string>Please choose the way your computer should look by selecting one of the items below.</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter|AlignLeft</set>
+ </property>
+ <property name="wordwrap" stdset="0">
+@@ -49,7 +49,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>170</width>
+ <height>430</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kpersonalizer/ksysinfo.cpp v3.5.13-sru/kpersonalizer/ksysinfo.cpp
+--- /tmp/stable//kdebase/kpersonalizer/ksysinfo.cpp 2011-08-11 07:25:44.000000000 +0200
++++ v3.5.13-sru/kpersonalizer/ksysinfo.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -99,12 +99,12 @@
+
+ void KSysInfo::initFontFamilies() {
+ TQFontDatabase fdb;
+- TQStringList families = fdb.tqfamilies();
++ TQStringList families = fdb.families();
+ m_normal_font = TQString::null;
+ m_fixed_font = TQString::null;
+ int normal_priority = 0, fixed_priority = 0;
+ for (uint i=0; i < families.count(); i++) {
+- TQString font = *families.tqat(i);
++ TQString font = *families.at(i);
+ //add further NORMAL fonts here
+ if ( (font.contains("Arial [") || font=="Arial") && normal_priority < 15 ) {
+ m_normal_font = font;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kreadconfig/kwriteconfig.cpp v3.5.13-sru/kreadconfig/kwriteconfig.cpp
+--- /tmp/stable//kdebase/kreadconfig/kwriteconfig.cpp 2011-03-12 07:57:53.000000000 +0100
++++ v3.5.13-sru/kreadconfig/kwriteconfig.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -52,7 +52,7 @@
+
+ KConfig *konfig;
+ if (file.isEmpty())
+- konfig = new KConfig(TQString::tqfromLatin1("kdeglobals"), false, false);
++ konfig = new KConfig(TQString::fromLatin1("kdeglobals"), false, false);
+ else
+ konfig = new KConfig(file, false, false);
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/krootbacking/krootbacking.cpp v3.5.13-sru/krootbacking/krootbacking.cpp
+--- /tmp/stable//kdebase/krootbacking/krootbacking.cpp 2011-08-28 02:02:07.000000000 +0200
++++ v3.5.13-sru/krootbacking/krootbacking.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -54,6 +54,8 @@
+ KRootBacking::KRootBacking()
+ : TQObject(KApplication::desktop(), "KRootBacking" ), m_Desk(0), m_timeout(0)
+ {
++ enableExports();
++
+ init();
+ }
+
+@@ -67,7 +69,7 @@
+ m_bActive = false;
+
+ connect(kapp, TQT_SIGNAL(backgroundChanged(int)), TQT_SLOT(slotBackgroundChanged(int)));
+- connect(m_pTimer, TQT_SIGNAL(timeout()), TQT_SLOT(tqrepaint()));
++ connect(m_pTimer, TQT_SIGNAL(timeout()), TQT_SLOT(repaint()));
+ #ifdef Q_WS_X11
+ connect(m_pPixmap, TQT_SIGNAL(done(bool)), TQT_SLOT(slotDone(bool)));
+
+@@ -111,7 +113,7 @@
+ }
+ }
+ if (m_bInit) {
+- tqrepaint(true);
++ repaint(true);
+ }
+ }
+
+@@ -133,16 +135,16 @@
+ m_Fade = fade;
+ m_FadeColor = color;
+
+- if ( m_bActive && m_bInit ) tqrepaint(true);
++ if ( m_bActive && m_bInit ) repaint(true);
+ }
+
+-void KRootBacking::tqrepaint()
++void KRootBacking::repaint()
+ {
+- tqrepaint(false);
++ repaint(false);
+ }
+
+
+-void KRootBacking::tqrepaint(bool force)
++void KRootBacking::repaint(bool force)
+ {
+ TQWidget* desktopWidget = KApplication::desktop();
+ TQPoint p1 = desktopWidget->mapToGlobal(desktopWidget->rect().topLeft());
+@@ -255,7 +257,7 @@
+ return;
+
+ if (desk == m_Desk)
+- tqrepaint(true);
++ repaint(true);
+ }
+
+ #include "krootbacking.moc"
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/krootbacking/krootbacking.h v3.5.13-sru/krootbacking/krootbacking.h
+--- /tmp/stable//kdebase/krootbacking/krootbacking.h 2011-08-28 02:02:07.000000000 +0200
++++ v3.5.13-sru/krootbacking/krootbacking.h 2012-09-08 19:41:29.000000000 +0200
+@@ -116,16 +116,16 @@
+ * Repaints the widget background. Normally, you shouldn't need this
+ * as it is handled automatically.
+ *
+- * @param force Force a tqrepaint, even if the contents did not change.
++ * @param force Force a repaint, even if the contents did not change.
+ */
+- void tqrepaint( bool force );
++ void repaint( bool force );
+
+ /**
+ * Repaints the widget background. Normally, you shouldn't need this
+ * as it is handled automatically. This is equivalent to calling
+- * tqrepaint( false ).
++ * repaint( false ).
+ */
+- void tqrepaint();
++ void repaint();
+
+ /**
+ * Asks KDesktop to export the desktop background as a KSharedPixmap.
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/krootbacking/main.cpp v3.5.13-sru/krootbacking/main.cpp
+--- /tmp/stable//kdebase/krootbacking/main.cpp 2011-08-28 02:02:07.000000000 +0200
++++ v3.5.13-sru/krootbacking/main.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -61,7 +61,7 @@
+ args->clear();
+
+ TQObject* mainWin = new KRootBacking();
+- TQTimer *timer = new QTimer( mainWin );
++ TQTimer *timer = new TQTimer( mainWin );
+ TQObject::connect( timer, SIGNAL(timeout()), mainWin, SLOT(start()) );
+ timer->start( 100, TRUE ); // 100ms single shot timer
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kscreensaver/blankscrn.cpp v3.5.13-sru/kscreensaver/blankscrn.cpp
+--- /tmp/stable//kdebase/kscreensaver/blankscrn.cpp 2011-03-12 07:58:00.000000000 +0100
++++ v3.5.13-sru/kscreensaver/blankscrn.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -69,7 +69,7 @@
+ grid->setRowStretch( 2, 10 );
+ grid->setRowStretch( 3, 20 );
+
+- setMinimumSize( tqsizeHint() );
++ setMinimumSize( sizeHint() );
+ }
+
+ // read settings from config file
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kscreensaver/random.cpp v3.5.13-sru/kscreensaver/random.cpp
+--- /tmp/stable//kdebase/kscreensaver/random.cpp 2011-08-11 07:25:40.000000000 +0200
++++ v3.5.13-sru/kscreensaver/random.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -41,7 +41,7 @@
+ {
+ puts(i18n("Usage: %1 [-setup] [args]\n"
+ "Starts a random screen saver.\n"
+- "Any arguments (except -setup) are passed on to the screen saver.").tqarg( name ).local8Bit().data());
++ "Any arguments (except -setup) are passed on to the screen saver.").arg( name ).local8Bit().data());
+ }
+
+ static const char appName[] = "random";
+@@ -201,7 +201,7 @@
+
+ KRandomSequence rnd;
+ int indx = rnd.getLong(saverFileList.count());
+- TQString filename = *(saverFileList.tqat(indx));
++ TQString filename = *(saverFileList.at(indx));
+
+ KDesktopFile config(filename, true);
+
+@@ -271,7 +271,7 @@
+ manipulateScreen = new TQCheckBox(i18n("Use screen savers that manipulate the screen"), main);
+ grid->addWidget(manipulateScreen, 1, 0);
+
+- setMinimumSize( tqsizeHint() );
++ setMinimumSize( sizeHint() );
+
+ KConfig config("krandom.kssrc");
+ config.setGroup("Settings");
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksmserver/client.cpp v3.5.13-sru/ksmserver/client.cpp
+--- /tmp/stable//kdebase/ksmserver/client.cpp 2011-03-12 07:57:33.000000000 +0100
++++ v3.5.13-sru/ksmserver/client.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -146,7 +146,7 @@
+ SmProp* p = property( SmProgram );
+ if ( !p || qstrcmp( p->type, SmARRAY8) || p->num_vals < 1)
+ return TQString::null;
+- return TQString::tqfromLatin1( (const char*) p->vals[0].value );
++ return TQString::fromLatin1( (const char*) p->vals[0].value );
+ }
+
+ TQStringList KSMClient::restartCommand() const
+@@ -156,7 +156,7 @@
+ if ( !p || qstrcmp( p->type, SmLISTofARRAY8) || p->num_vals < 1)
+ return result;
+ for ( int i = 0; i < p->num_vals; i++ )
+- result +=TQString::tqfromLatin1( (const char*) p->vals[i].value );
++ result +=TQString::fromLatin1( (const char*) p->vals[i].value );
+ return result;
+ }
+
+@@ -167,7 +167,7 @@
+ if ( !p || qstrcmp( p->type, SmLISTofARRAY8) || p->num_vals < 1)
+ return result;
+ for ( int i = 0; i < p->num_vals; i++ )
+- result +=TQString::tqfromLatin1( (const char*) p->vals[i].value );
++ result +=TQString::fromLatin1( (const char*) p->vals[i].value );
+ return result;
+ }
+
+@@ -184,7 +184,7 @@
+ SmProp* p = property( SmUserID );
+ if ( !p || qstrcmp( p->type, SmARRAY8) || p->num_vals < 1)
+ return TQString::null;
+- return TQString::tqfromLatin1( (const char*) p->vals[0].value );
++ return TQString::fromLatin1( (const char*) p->vals[0].value );
+ }
+
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksmserver/legacy.cpp v3.5.13-sru/ksmserver/legacy.cpp
+--- /tmp/stable//kdebase/ksmserver/legacy.cpp 2011-08-16 01:07:50.000000000 +0200
++++ v3.5.13-sru/ksmserver/legacy.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -315,7 +315,7 @@
+ if (!data)
+ return result;
+ for (int i=0; i<(int)nitems; i++) {
+- result << TQString::tqfromLatin1( (const char*)data + i );
++ result << TQString::fromLatin1( (const char*)data + i );
+ while(data[i]) i++;
+ }
+ XFree(data);
+@@ -363,7 +363,7 @@
+ }
+ }
+ }
+- return TQString::tqfromLatin1(result);
++ return TQString::fromLatin1(result);
+ }
+
+ WId KSMServer::windowWmClientLeader(WId w)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksmserver/main.cpp v3.5.13-sru/ksmserver/main.cpp
+--- /tmp/stable//kdebase/ksmserver/main.cpp 2011-08-14 04:41:54.000000000 +0200
++++ v3.5.13-sru/ksmserver/main.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -170,7 +170,7 @@
+ qmsg.sprintf(msg.data(), path.data());
+ qmsg = msg_pre+qmsg+msg_post;
+ TQMessageBox::critical(0, "KDE Installation Problem!",
+- TQString::tqfromLatin1(qmsg.data()));
++ TQString::fromLatin1(qmsg.data()));
+ exit(255);
+ }
+ }
+@@ -218,7 +218,7 @@
+ only_local = false;
+ #endif
+
+- KSMServer *server = new KSMServer( TQString::tqfromLatin1(wm), only_local);
++ KSMServer *server = new KSMServer( TQString::fromLatin1(wm), only_local);
+ kapp->dcopClient()->setDefaultObject( server->objId() );
+
+ IceSetIOErrorHandler( IoErrorHandler );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksmserver/shutdown.cpp v3.5.13-sru/ksmserver/shutdown.cpp
+--- /tmp/stable//kdebase/ksmserver/shutdown.cpp 2011-10-10 03:40:45.000000000 +0200
++++ v3.5.13-sru/ksmserver/shutdown.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -160,23 +160,33 @@
+ if (sdmode == KApplication::ShutdownModeDefault)
+ sdmode = KApplication::ShutdownModeInteractive;
+
+- // shall we show a nice fancy logout screen?
+- bool showFancyLogout = KConfigGroup(KGlobal::config(), "Logout").readBoolEntry("showFancyLogout", true);
++ // shall we show a logout status dialog box?
++ bool showLogoutStatusDlg = KConfigGroup(KGlobal::config(), "Logout").readBoolEntry("showLogoutStatusDlg", true);
+
+- if (showFancyLogout) {
++ if (showLogoutStatusDlg) {
+ KSMShutdownIPFeedback::start();
+ }
+
+ dialogActive = true;
+ if ( !logoutConfirmed ) {
++ int selection;
+ KSMShutdownFeedback::start(); // make the screen gray
+ logoutConfirmed =
+- KSMShutdownDlg::confirmShutdown( maysd, sdtype, bopt );
++ KSMShutdownDlg::confirmShutdown( maysd, sdtype, bopt, &selection );
+ // ###### We can't make the screen remain gray while talking to the apps,
+ // because this prevents interaction ("do you want to save", etc.)
+ // TODO: turn the feedback widget into a list of apps to be closed,
+ // with an indicator of the current status for each.
+ KSMShutdownFeedback::stop(); // make the screen become normal again
++ if (selection != 0) {
++ // respect lock on resume & disable suspend/hibernate settings
++ // from power-manager
++ KConfig config("power-managerrc");
++ bool lockOnResume = config.readBoolEntry("lockOnResume", true);
++ if (lockOnResume) {
++ DCOPRef("kdesktop", "KScreensaverIface").send("lock");
++ }
++ }
+ }
+
+ if ( logoutConfirmed ) {
+@@ -189,30 +199,12 @@
+ // shall we save the session on logout?
+ saveSession = ( config->readEntry( "loginMode", "restorePreviousLogout" ) == "restorePreviousLogout" );
+
+- if (showFancyLogout) {
+- KSMShutdownIPFeedback::showit(); // hide the UGLY logout process from the user
+- shutdownNotifierIPDlg = KSMShutdownIPDlg::showShutdownIP();
+- while (!KSMShutdownIPFeedback::ispainted()) {
+- tqApp->processEvents();
+- }
+- }
+-
+- // synchronize any folders that were requested for shutdown sync
+- if (shutdownNotifierIPDlg) {
+- static_cast<KSMShutdownIPDlg*>(shutdownNotifierIPDlg)->setStatusMessage(i18n("Synchronizing remote folders").append("..."));
+- }
+- KRsync krs(this, "");
+- krs.executeLogoutAutoSync();
+- if (shutdownNotifierIPDlg) {
+- static_cast<KSMShutdownIPDlg*>(shutdownNotifierIPDlg)->setStatusMessage(i18n("Saving your settings..."));
+- }
+-
+ if ( saveSession )
+ sessionGroup = TQString("Session: ") + SESSION_PREVIOUS_LOGOUT;
+
+ // Set the real desktop background to black so that exit looks
+ // clean regardless of what was on "our" desktop.
+- if (!showFancyLogout) {
++ if (!showLogoutStatusDlg) {
+ TQT_TQWIDGET(kapp->desktop())->setBackgroundColor( Qt::black );
+ }
+ state = Shutdown;
+@@ -252,9 +244,9 @@
+ completeShutdownOrCheckpoint();
+ }
+ else {
+- if (showFancyLogout) {
+- KSMShutdownIPFeedback::stop();
+- }
++ if (showLogoutStatusDlg) {
++ KSMShutdownIPFeedback::stop();
++ }
+ }
+ dialogActive = false;
+ }
+@@ -502,6 +494,25 @@
+ if ( waitForPhase2 )
+ return;
+
++ bool showLogoutStatusDlg = KConfigGroup(KGlobal::config(), "Logout").readBoolEntry("showLogoutStatusDlg", true);
++ if (showLogoutStatusDlg && state != Checkpoint) {
++ KSMShutdownIPFeedback::showit(); // hide the UGLY logout process from the user
++ shutdownNotifierIPDlg = KSMShutdownIPDlg::showShutdownIP();
++ while (!KSMShutdownIPFeedback::ispainted()) {
++ tqApp->processEvents();
++ }
++ }
++
++ // synchronize any folders that were requested for shutdown sync
++ if (shutdownNotifierIPDlg) {
++ static_cast<KSMShutdownIPDlg*>(shutdownNotifierIPDlg)->setStatusMessage(i18n("Synchronizing remote folders").append("..."));
++ }
++ KRsync krs(this, "");
++ krs.executeLogoutAutoSync();
++ if (shutdownNotifierIPDlg) {
++ static_cast<KSMShutdownIPDlg*>(shutdownNotifierIPDlg)->setStatusMessage(i18n("Saving your settings..."));
++ }
++
+ if ( saveSession )
+ storeSession();
+ else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksmserver/shutdowndlg.cpp v3.5.13-sru/ksmserver/shutdowndlg.cpp
+--- /tmp/stable//kdebase/ksmserver/shutdowndlg.cpp 2011-10-10 03:40:45.000000000 +0200
++++ v3.5.13-sru/ksmserver/shutdowndlg.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -519,6 +519,11 @@
+ : TQWidget( 0L, "systemmodaldialogclass", Qt::WStyle_Customize | Qt::WStyle_NoBorder | Qt::WStyle_StaysOnTop ), m_timeout(0), m_isPainted(false), m_sharedRootPixmap(NULL), mPixmapTimeout(0)
+
+ {
++ setShown(false);
++ hide();
++
++ enableExports();
++
+ m_sharedRootPixmap = new KRootPixmap(this);
+ m_sharedRootPixmap->setCustomPainting(true);
+ connect(m_sharedRootPixmap, TQT_SIGNAL(backgroundUpdated(const TQPixmap &)), this, TQT_SLOT(slotSetBackgroundPixmap(const TQPixmap &)));
+@@ -545,15 +550,36 @@
+ setBackgroundPixmap( m_root );
+ setGeometry( TQApplication::desktop()->geometry() );
+ setBackgroundMode( TQWidget::NoBackground );
+-
+- setShown(true);
+ }
+
+ void KSMShutdownIPFeedback::showNow()
+ {
++ setShown(true);
++
+ TQTimer::singleShot( 0, this, SLOT(slotPaintEffect()) );
+ }
+
++void KSMShutdownIPFeedback::enableExports()
++{
++#ifdef Q_WS_X11
++ kdDebug(270) << k_lineinfo << "activating background exports.\n";
++ DCOPClient *client = kapp->dcopClient();
++ if (!client->isAttached()) {
++ client->attach();
++ }
++ TQByteArray data;
++ TQDataStream args( data, IO_WriteOnly );
++ args << 1;
++
++ TQCString appname( "kdesktop" );
++ int screen_number = DefaultScreen(qt_xdisplay());
++ if ( screen_number )
++ appname.sprintf("kdesktop-screen-%d", screen_number );
++
++ client->send( appname, "KBackgroundIface", "setExport(int)", data );
++#endif
++}
++
+ KSMShutdownIPFeedback::~KSMShutdownIPFeedback()
+ {
+ if (m_sharedRootPixmap) {
+@@ -639,18 +665,21 @@
+ //////
+
+ KSMShutdownDlg::KSMShutdownDlg( TQWidget* parent,
+- bool maysd, KApplication::ShutdownType sdtype )
+- : TQDialog( parent, 0, TRUE, (WFlags)WType_Popup ), targets(0)
++ bool maysd, KApplication::ShutdownType sdtype, int* selection )
++ : TQDialog( parent, 0, TRUE, (WFlags)WType_Popup ), targets(0), m_selection(selection)
+ // this is a WType_Popup on purpose. Do not change that! Not
+ // having a popup here has severe side effects.
+
+ {
+ TQVBoxLayout* vbox = new TQVBoxLayout( this );
+
++ if (m_selection) {
++ *m_selection = 0;
++ }
+
+ TQFrame* frame = new TQFrame( this );
+ frame->setFrameStyle( TQFrame::StyledPanel | TQFrame::Raised );
+- frame->setLineWidth( tqstyle().tqpixelMetric( TQStyle::PM_DefaultFrameWidth, frame ) );
++ frame->setLineWidth( style().pixelMetric( TQStyle::PM_DefaultFrameWidth, frame ) );
+ // we need to set the minimum size for the logout box, since it
+ // gets too small if there isn't all options available
+ frame->setMinimumWidth(400);
+@@ -691,7 +720,7 @@
+ {
+ // first line of buttons
+ hbuttonbox = new TQHBoxLayout( hbox, factor * KDialog::spacingHint() );
+- hbuttonbox->tqsetAlignment( Qt::AlignHCenter );
++ hbuttonbox->setAlignment( Qt::AlignHCenter );
+ // End session
+ FlatButton* btnLogout = new FlatButton( frame );
+ btnLogout->setTextLabel( TQString("&") + i18n("Log out"), false );
+@@ -711,12 +740,12 @@
+ hbox->addWidget( lfrm, AlignCenter );
+
+ buttonlay = new TQVBoxLayout( hbox, factor * KDialog::spacingHint() );
+- buttonlay->tqsetAlignment( Qt::AlignHCenter );
++ buttonlay->setAlignment( Qt::AlignHCenter );
+
+ TQLabel* icon = new TQLabel( lfrm );
+ icon->setPixmap( UserIcon( "shutdownkonq" ) );
+- lfrm->setFixedSize( icon->tqsizeHint());
+- icon->setFixedSize( icon->tqsizeHint());
++ lfrm->setFixedSize( icon->sizeHint());
++ icon->setFixedSize( icon->sizeHint());
+
+ buttonlay->addStretch( 1 );
+ // End session
+@@ -832,7 +861,7 @@
+
+ // bottom buttons
+ TQHBoxLayout* hbuttonbox2 = new TQHBoxLayout( vbox, factor * KDialog::spacingHint() );
+- hbuttonbox2->tqsetAlignment( Qt::AlignHCenter );
++ hbuttonbox2->setAlignment( Qt::AlignHCenter );
+
+ // Reboot
+ FlatButton* btnReboot = new FlatButton( frame );
+@@ -882,7 +911,7 @@
+
+ // cancel buttonbox
+ TQHBoxLayout* hbuttonbox3 = new TQHBoxLayout( vbox, factor * KDialog::spacingHint() );
+- hbuttonbox3->tqsetAlignment( Qt::AlignRight );
++ hbuttonbox3->setAlignment( Qt::AlignRight );
+
+ // Back to Desktop
+ KSMPushButton* btnBack = new KSMPushButton( KStdGuiItem::cancel(), frame );
+@@ -969,7 +998,7 @@
+ {
+ // cancel buttonbox
+ TQHBoxLayout* hbuttonbox3 = new TQHBoxLayout( vbox, factor * KDialog::spacingHint() );
+- hbuttonbox3->tqsetAlignment( Qt::AlignRight );
++ hbuttonbox3->setAlignment( Qt::AlignRight );
+
+ // Back to Desktop
+ KSMPushButton* btnBack = new KSMPushButton( KStdGuiItem::cancel(), frame );
+@@ -1043,17 +1072,15 @@
+
+ void KSMShutdownDlg::slotSuspend()
+ {
+-#ifdef COMPILE_HALBACKEND
+- if (m_lockOnResume) {
+- DCOPRef("kdesktop", "KScreensaverIface").send("lock");
+- }
++ *m_selection = 1; // Suspend
+
+- if (m_dbusConn)
++#ifdef COMPILE_HALBACKEND
++ if (m_dbusConn)
+ {
+ DBusMessage *msg = dbus_message_new_method_call(
+ "org.freedesktop.Hal",
+- "/org/freedesktop/Hal/devices/computer",
+- "org.freedesktop.Hal.Device.SystemPowerManagement",
++ "/org/freedesktop/Hal/devices/computer",
++ "org.freedesktop.Hal.Device.SystemPowerManagement",
+ "Suspend");
+
+ int wakeup=0;
+@@ -1063,44 +1090,40 @@
+
+ dbus_message_unref(msg);
+ }
+-
+- reject(); // continue on resume
+ #endif
++ reject(); // continue on resume
+ }
+
+ void KSMShutdownDlg::slotHibernate()
+ {
+-#ifdef COMPILE_HALBACKEND
+- if (m_lockOnResume) {
+- DCOPRef("kdesktop", "KScreensaverIface").send("lock");
+- }
++ *m_selection = 2; // Hibernate
+
+- if (m_dbusConn)
++#ifdef COMPILE_HALBACKEND
++ if (m_dbusConn)
+ {
+ DBusMessage *msg = dbus_message_new_method_call(
+ "org.freedesktop.Hal",
+- "/org/freedesktop/Hal/devices/computer",
+- "org.freedesktop.Hal.Device.SystemPowerManagement",
++ "/org/freedesktop/Hal/devices/computer",
++ "org.freedesktop.Hal.Device.SystemPowerManagement",
+ "Hibernate");
+
+ dbus_connection_send(m_dbusConn, msg, NULL);
+
+ dbus_message_unref(msg);
+ }
+-
+- reject(); // continue on resume
+ #endif
++ reject(); // continue on resume
+ }
+
+-bool KSMShutdownDlg::confirmShutdown( bool maysd, KApplication::ShutdownType& sdtype, TQString& bootOption )
++bool KSMShutdownDlg::confirmShutdown( bool maysd, KApplication::ShutdownType& sdtype, TQString& bootOption, int* selection )
+ {
+ kapp->enableStyles();
+ KSMShutdownDlg* l = new KSMShutdownDlg( 0,
+ //KSMShutdownFeedback::self(),
+- maysd, sdtype );
++ maysd, sdtype, selection );
+
+ // Show dialog (will save the background in showEvent)
+- TQSize sh = l->tqsizeHint();
++ TQSize sh = l->sizeHint();
+ TQRect rect = KGlobalSettings::desktopGeometry(TQCursor::pos());
+
+ l->move(rect.x() + (rect.width() - sh.width())/2,
+@@ -1230,7 +1253,7 @@
+ {
+ kapp->enableStyles();
+ KSMDelayedMessageBox msg( sdtype, bootOption, confirmDelay );
+- TQSize sh = msg.tqsizeHint();
++ TQSize sh = msg.sizeHint();
+ TQRect rect = KGlobalSettings::desktopGeometry(TQCursor::pos());
+
+ msg.move(rect.x() + (rect.width() - sh.width())/2,
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksmserver/shutdowndlg.h v3.5.13-sru/ksmserver/shutdowndlg.h
+--- /tmp/stable//kdebase/ksmserver/shutdowndlg.h 2011-09-21 09:01:03.000000000 +0200
++++ v3.5.13-sru/ksmserver/shutdowndlg.h 2012-09-08 19:41:29.000000000 +0200
+@@ -97,6 +97,13 @@
+ void slotSetBackgroundPixmap(const TQPixmap &);
+
+ private:
++ /**
++ * Asks KDesktop to export the desktop background as a KSharedPixmap.
++ * This method uses DCOP to call KBackgroundIface/setExport(int).
++ */
++ void enableExports();
++
++private:
+ static KSMShutdownIPFeedback * s_pSelf;
+ KSMShutdownIPFeedback();
+ int m_currentY;
+@@ -116,7 +123,7 @@
+ Q_OBJECT
+
+ public:
+- static bool confirmShutdown( bool maysd, KApplication::ShutdownType& sdtype, TQString& bopt );
++ static bool confirmShutdown( bool maysd, KApplication::ShutdownType& sdtype, TQString& bopt, int* selection=0 );
+
+ public slots:
+ void slotLogout();
+@@ -130,7 +137,7 @@
+ ~KSMShutdownDlg();
+
+ private:
+- KSMShutdownDlg( TQWidget* parent, bool maysd, KApplication::ShutdownType sdtype );
++ KSMShutdownDlg( TQWidget* parent, bool maysd, KApplication::ShutdownType sdtype, int* selection=0 );
+ KApplication::ShutdownType m_shutdownType;
+ TQString m_bootOption;
+ TQPopupMenu *targets;
+@@ -140,6 +147,7 @@
+ DBusConnection *m_dbusConn;
+ #endif
+ bool m_lockOnResume;
++ int* m_selection;
+ };
+
+ // The shutdown-in-progress dialog
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksmserver/timed.ui v3.5.13-sru/ksmserver/timed.ui
+--- /tmp/stable//kdebase/ksmserver/timed.ui 2011-03-12 07:57:33.000000000 +0100
++++ v3.5.13-sru/ksmserver/timed.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -110,7 +110,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>2</height>
+@@ -129,7 +129,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>48</width>
+ <height>48</height>
+@@ -149,7 +149,7 @@
+ <property name="sizeType">
+ <enum>MinimumExpanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>2</height>
+@@ -192,7 +192,7 @@
+ <property name="textFormat">
+ <enum>PlainText</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>AlignVCenter|AlignLeft</set>
+ </property>
+ </widget>
+@@ -215,7 +215,7 @@
+ <property name="textFormat">
+ <enum>RichText</enum>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter</set>
+ </property>
+ </widget>
+@@ -229,7 +229,7 @@
+ <property name="sizeType">
+ <enum>Preferred</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>30</width>
+ <height>0</height>
+@@ -258,7 +258,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>90</width>
+ <height>20</height>
+@@ -286,7 +286,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>90</width>
+ <height>20</height>
+@@ -319,7 +319,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>90</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksplashml/kcmksplash/installer.cpp v3.5.13-sru/ksplashml/kcmksplash/installer.cpp
+--- /tmp/stable//kdebase/ksplashml/kcmksplash/installer.cpp 2011-08-11 07:25:40.000000000 +0200
++++ v3.5.13-sru/ksplashml/kcmksplash/installer.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -99,7 +99,7 @@
+ hbox->setStretchFactor( leftbox, 1 );
+
+ mThemesList = new ThemeListBox(this);
+- mThemesList->tqsetSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Expanding );
++ mThemesList->setSizePolicy( TQSizePolicy::Preferred, TQSizePolicy::Expanding );
+ connect(mThemesList, TQT_SIGNAL(highlighted(int)), TQT_SLOT(slotSetTheme(int)));
+ connect(mThemesList, TQT_SIGNAL(filesDropped(const KURL::List&)), TQT_SLOT(slotFilesDropped(const KURL::List&)));
+ leftbox->addWidget(mThemesList);
+@@ -120,16 +120,16 @@
+ hbox->setStretchFactor( rightbox, 3 );
+
+ mPreview = new TQLabel(this);
+- mPreview->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding );
++ mPreview->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding );
+ mPreview->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
+ mPreview->setMinimumSize(TQSize(320,240));
+- mPreview->tqsetAlignment(Qt::AlignHCenter|Qt::AlignVCenter);
++ mPreview->setAlignment(Qt::AlignHCenter|Qt::AlignVCenter);
+ rightbox->addWidget(mPreview);
+ rightbox->setStretchFactor( mPreview, 3 );
+
+ mText = new TQTextEdit(this);
+- mText->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred );
+- mText->setMinimumSize(mText->tqsizeHint());
++ mText->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Preferred );
++ mText->setMinimumSize(mText->sizeHint());
+ mText->setReadOnly(true);
+ rightbox->addWidget(mText);
+ rightbox->setStretchFactor( mText, 1 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksplashml/themeengine/default/themelegacy.cpp v3.5.13-sru/ksplashml/themeengine/default/themelegacy.cpp
+--- /tmp/stable//kdebase/ksplashml/themeengine/default/themelegacy.cpp 2011-03-12 07:58:00.000000000 +0100
++++ v3.5.13-sru/ksplashml/themeengine/default/themelegacy.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -164,7 +164,7 @@
+ mProgressBar->setPaletteBackgroundPixmap( blimage );
+
+ bottom_label->setFixedWidth( QMAX(blimage.width(),tlimage.width()) );
+- bottom_label->setFixedHeight( mLabel->tqsizeHint().height()+4 );
++ bottom_label->setFixedHeight( mLabel->sizeHint().height()+4 );
+
+ // 3 pixels of whitespace between the label and the progressbar.
+ mLabel->resize( bottom_label->width(), bottom_label->height() );
+@@ -274,7 +274,7 @@
+ p.drawPixmap(0, 0, *mInactivePixmap, 0, 0, tmp.width()-offs );
+ else
+ #endif
+- p.tqdrawPixmap(offs, 0, *mInactivePixmap, offs, 0);
++ p.drawPixmap(offs, 0, *mInactivePixmap, offs, 0);
+ return tmp ;
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksplashml/themeengine/redmond/themeredmond.cpp v3.5.13-sru/ksplashml/themeengine/redmond/themeredmond.cpp
+--- /tmp/stable//kdebase/ksplashml/themeengine/redmond/themeredmond.cpp 2011-03-12 07:58:00.000000000 +0100
++++ v3.5.13-sru/ksplashml/themeengine/redmond/themeredmond.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -199,11 +199,11 @@
+ kdmconfig->setGroup("X-*-Greeter");
+ TQString userPicsDir = kdmconfig->readEntry( "FaceDir", KGlobal::dirs()->resourceDirs("data").last() + "kdm/faces" ) + '/';
+ TQString fs = kdmconfig->readEntry( "FaceSource" );
+- if (fs == TQString::tqfromLatin1("UserOnly"))
++ if (fs == TQString::fromLatin1("UserOnly"))
+ faceSource = fUserOnly;
+- else if (fs == TQString::tqfromLatin1("PreferUser"))
++ else if (fs == TQString::fromLatin1("PreferUser"))
+ faceSource = fUserFirst;
+- else if (fs == TQString::tqfromLatin1("PreferAdmin"))
++ else if (fs == TQString::fromLatin1("PreferAdmin"))
+ faceSource = fAdminFirst;
+ else
+ faceSource = fAdminOnly; // Admin Only
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksplashml/themeengine/redmond/themeredmond.h v3.5.13-sru/ksplashml/themeengine/redmond/themeredmond.h
+--- /tmp/stable//kdebase/ksplashml/themeengine/redmond/themeredmond.h 2011-03-12 07:58:00.000000000 +0100
++++ v3.5.13-sru/ksplashml/themeengine/redmond/themeredmond.h 2012-09-08 19:41:29.000000000 +0200
+@@ -57,7 +57,7 @@
+ if( mText != s )
+ {
+ mText = s;
+- tqrepaint( false );
++ repaint( false );
+ }
+ };
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksplashml/themeengine/unified/themeunified.cpp v3.5.13-sru/ksplashml/themeengine/unified/themeunified.cpp
+--- /tmp/stable//kdebase/ksplashml/themeengine/unified/themeunified.cpp 2011-09-16 04:01:45.000000000 +0200
++++ v3.5.13-sru/ksplashml/themeengine/unified/themeunified.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -80,7 +80,7 @@
+ const TQRect rect = kapp->desktop()->screenGeometry( mTheme->xineramaScreen() );
+
+ // Center the dialog
+- TQSize sh = tqsizeHint();
++ TQSize sh = sizeHint();
+ TQRect rect1 = KGlobalSettings::desktopGeometry(TQCursor::pos());
+ move(rect1.x() + (rect1.width() - sh.width())/2, rect1.y() + (rect1.height() - sh.height())/2);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/KSGAppletSettings.cc v3.5.13-sru/ksysguard/gui/KSGAppletSettings.cc
+--- /tmp/stable//kdebase/ksysguard/gui/KSGAppletSettings.cc 2011-03-12 07:58:25.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/KSGAppletSettings.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -65,7 +65,7 @@
+ topLayout->addWidget( mInterval, 2, 1 );
+ label->setBuddy( mInterval );
+
+- resize( TQSize( 250, 130 ).expandedTo( tqminimumSizeHint() ) );
++ resize( TQSize( 250, 130 ).expandedTo( minimumSizeHint() ) );
+
+ KAcceleratorManager::manage( page );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/ksgrd/HostConnector.cc v3.5.13-sru/ksysguard/gui/ksgrd/HostConnector.cc
+--- /tmp/stable//kdebase/ksysguard/gui/ksgrd/HostConnector.cc 2011-03-12 07:58:25.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/ksgrd/HostConnector.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -59,9 +59,9 @@
+
+ TQButtonGroup *group = new TQButtonGroup( 0, Qt::Vertical,
+ i18n( "Connection Type" ), page );
+- TQGridLayout *groupLayout = new TQGridLayout( group->tqlayout(), 4, 4,
++ TQGridLayout *groupLayout = new TQGridLayout( group->layout(), 4, 4,
+ spacingHint() );
+- groupLayout->tqsetAlignment( Qt::AlignTop );
++ groupLayout->setAlignment( Qt::AlignTop );
+
+ mUseSsh = new TQRadioButton( i18n( "ssh" ), group );
+ mUseSsh->setEnabled( true );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/ksgrd/StyleEngine.cc v3.5.13-sru/ksysguard/gui/ksgrd/StyleEngine.cc
+--- /tmp/stable//kdebase/ksysguard/gui/ksgrd/StyleEngine.cc 2011-03-12 07:58:25.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/ksgrd/StyleEngine.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -122,7 +122,7 @@
+ static TQColor dummy;
+
+ if ( pos < mSensorColors.count() )
+- return *mSensorColors.tqat( pos );
++ return *mSensorColors.at( pos );
+ else
+ return dummy;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/ksgrd/StyleSettings.cc v3.5.13-sru/ksysguard/gui/ksgrd/StyleSettings.cc
+--- /tmp/stable//kdebase/ksysguard/gui/ksgrd/StyleSettings.cc 2011-03-12 07:58:25.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/ksgrd/StyleSettings.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -162,7 +162,7 @@
+
+ for ( uint i = 0; i < list.count(); ++i ) {
+ TQPixmap pm( 12, 12 );
+- pm.fill( *list.tqat( i ) );
++ pm.fill( *list.at( i ) );
+ mColorListBox->insertItem( pm, i18n( "Color %1" ).arg( i ) );
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/BarGraph.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/BarGraph.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/BarGraph.cc 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/BarGraph.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -52,7 +52,7 @@
+
+ // Anything smaller than this does not make sense.
+ setMinimumSize( 16, 16 );
+- tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding,
++ setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding,
+ TQSizePolicy::Expanding, false ) );
+ }
+
+@@ -78,7 +78,7 @@
+ }
+
+ samples.resize( --bars );
+- footers.remove( footers.tqat( idx ) );
++ footers.remove( footers.at( idx ) );
+ update();
+
+ return true;
+@@ -103,7 +103,7 @@
+
+ TQPixmap pm( w, h );
+ TQPainter p;
+- p.tqbegin( &pm, this );
++ p.begin( &pm, this );
+ p.setFont( TQFont( p.font().family(), fontSize ) );
+ TQFontMetrics fm( p.font() );
+
+@@ -111,7 +111,7 @@
+
+ /* Draw white line along the bottom and the right side of the
+ * widget to create a 3D like look. */
+- p.setPen( TQColor( tqcolorGroup().light() ) );
++ p.setPen( TQColor( colorGroup().light() ) );
+ p.drawLine( 0, h - 1, w - 1, h - 1 );
+ p.drawLine( w - 1, 0, w - 1, h - 1 );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/DancingBars.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/DancingBars.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/DancingBars.cc 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/DancingBars.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -53,7 +53,7 @@
+ else
+ mPlotter = new BarGraph( frame() );
+
+- setMinimumSize( tqsizeHint() );
++ setMinimumSize( sizeHint() );
+
+ /* All RMB clicks to the mPlotter widget will be handled by
+ * SensorDisplay::eventFilter. */
+@@ -94,11 +94,11 @@
+ TQValueList< TQStringList > list;
+ for ( uint i = mBars - 1; i < mBars; i-- ) {
+ TQStringList entry;
+- entry << sensors().tqat( i )->hostName();
+- entry << KSGRD::SensorMgr->translateSensor( sensors().tqat( i )->name() );
++ entry << sensors().at( i )->hostName();
++ entry << KSGRD::SensorMgr->translateSensor( sensors().at( i )->name() );
+ entry << mPlotter->footers[ i ];
+- entry << KSGRD::SensorMgr->translateUnit( sensors().tqat( i )->unit() );
+- entry << ( sensors().tqat( i )->isOk() ? i18n( "OK" ) : i18n( "Error" ) );
++ entry << KSGRD::SensorMgr->translateUnit( sensors().at( i )->unit() );
++ entry << ( sensors().at( i )->isOk() ? i18n( "OK" ) : i18n( "Error" ) );
+
+ list.append( entry );
+ }
+@@ -135,8 +135,8 @@
+ for ( uint i = 0; i < sensors().count(); i++ ) {
+ bool found = false;
+ for ( it = list.begin(); it != list.end(); ++it ) {
+- if ( (*it)[ 0 ] == sensors().tqat( i )->hostName() &&
+- (*it)[ 1 ] == KSGRD::SensorMgr->translateSensor( sensors().tqat( i )->name() ) ) {
++ if ( (*it)[ 0 ] == sensors().at( i )->hostName() &&
++ (*it)[ 1 ] == KSGRD::SensorMgr->translateSensor( sensors().at( i )->name() ) ) {
+ mPlotter->footers[ i ] = (*it)[ 2 ];
+ found = true;
+ break;
+@@ -147,7 +147,7 @@
+ removeSensor( i );
+ }
+
+- tqrepaint();
++ repaint();
+ setModified( true );
+ }
+
+@@ -158,7 +158,7 @@
+ mPlotter->backgroundColor = KSGRD::Style->backgroundColor();
+ mPlotter->fontSize = KSGRD::Style->fontSize();
+
+- tqrepaint();
++ repaint();
+ setModified( true );
+ }
+
+@@ -185,8 +185,8 @@
+ TQString tooltip;
+ for ( uint i = 0; i < mBars; ++i ) {
+ tooltip += TQString( "%1%2:%3" ).arg( i != 0 ? "\n" : "" )
+- .arg( sensors().tqat( i )->hostName() )
+- .arg( sensors().tqat( i )->name() );
++ .arg( sensors().at( i )->hostName() )
++ .arg( sensors().at( i )->name() );
+ }
+ TQToolTip::remove( mPlotter );
+ TQToolTip::add( mPlotter, tooltip );
+@@ -209,8 +209,8 @@
+ TQString tooltip;
+ for ( uint i = 0; i < mBars; ++i ) {
+ tooltip += TQString( "%1%2:%3" ).arg( i != 0 ? "\n" : "" )
+- .arg( sensors().tqat( i )->hostName() )
+- .arg( sensors().tqat( i )->name() );
++ .arg( sensors().at( i )->hostName() )
++ .arg( sensors().at( i )->name() );
+ }
+ TQToolTip::remove( mPlotter );
+ TQToolTip::add( mPlotter, tooltip );
+@@ -231,12 +231,12 @@
+ frame()->setGeometry( 0, 0, width(), height() );
+ }
+
+-TQSize DancingBars::tqsizeHint()
++TQSize DancingBars::sizeHint()
+ {
+ if ( noFrame() )
+- return ( mPlotter->tqsizeHint() );
++ return ( mPlotter->sizeHint() );
+ else
+- return ( frame()->tqsizeHint() );
++ return ( frame()->sizeHint() );
+ }
+
+ void DancingBars::answerReceived( int id, const TQString &answer )
+@@ -272,7 +272,7 @@
+ mPlotter->changeRange( info.min(), info.max() );
+ }
+
+- sensors().tqat( id - 100 )->setUnit( info.unit() );
++ sensors().at( id - 100 )->setUnit( info.unit() );
+ }
+ }
+
+@@ -331,9 +331,9 @@
+ for ( uint i = 0; i < mBars; ++i ) {
+ TQDomElement beam = doc.createElement( "beam" );
+ element.appendChild( beam );
+- beam.setAttribute( "hostName", sensors().tqat( i )->hostName() );
+- beam.setAttribute( "sensorName", sensors().tqat( i )->name() );
+- beam.setAttribute( "sensorType", sensors().tqat( i )->type() );
++ beam.setAttribute( "hostName", sensors().at( i )->hostName() );
++ beam.setAttribute( "sensorName", sensors().at( i )->name() );
++ beam.setAttribute( "sensorType", sensors().at( i )->type() );
+ beam.setAttribute( "sensorDescr", mPlotter->footers[ i ] );
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/DancingBars.h v3.5.13-sru/ksysguard/gui/SensorDisplayLib/DancingBars.h
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/DancingBars.h 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/DancingBars.h 2012-09-08 19:41:29.000000000 +0200
+@@ -54,7 +54,7 @@
+
+ void updateSamples( const TQMemArray<double> &samples );
+
+- virtual TQSize tqsizeHint();
++ virtual TQSize sizeHint();
+
+ virtual void answerReceived( int id, const TQString &answer );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.cc 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -48,7 +48,7 @@
+ TQGridLayout *pageLayout = new TQGridLayout( page, 3, 1, 0, spacingHint() );
+
+ TQGroupBox *groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Title" ), page );
+- TQGridLayout *boxLayout = new TQGridLayout( groupBox->tqlayout(), 1, 1 );
++ TQGridLayout *boxLayout = new TQGridLayout( groupBox->layout(), 1, 1 );
+
+ mTitle = new KLineEdit( groupBox );
+ TQWhatsThis::add( mTitle, i18n( "Enter the title of the display here." ) );
+@@ -57,7 +57,7 @@
+ pageLayout->addWidget( groupBox, 0, 0 );
+
+ groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Display Range" ), page );
+- boxLayout = new TQGridLayout( groupBox->tqlayout(), 1, 5 );
++ boxLayout = new TQGridLayout( groupBox->layout(), 1, 5 );
+ boxLayout->setColStretch( 2, 1 );
+
+ TQLabel *label = new TQLabel( i18n( "Minimum value:" ), groupBox );
+@@ -85,7 +85,7 @@
+ pageLayout = new TQGridLayout( page, 3, 1, 0, spacingHint() );
+
+ groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Alarm for Minimum Value" ), page );
+- boxLayout = new TQGridLayout( groupBox->tqlayout(), 1, 4 );
++ boxLayout = new TQGridLayout( groupBox->layout(), 1, 4 );
+ boxLayout->setColStretch( 1, 1 );
+
+ mUseLowerLimit = new TQCheckBox( i18n( "Enable alarm" ), groupBox );
+@@ -103,7 +103,7 @@
+ pageLayout->addWidget( groupBox, 0, 0 );
+
+ groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Alarm for Maximum Value" ), page );
+- boxLayout = new TQGridLayout( groupBox->tqlayout(), 1, 4 );
++ boxLayout = new TQGridLayout( groupBox->layout(), 1, 4 );
+ boxLayout->setColStretch( 1, 1 );
+
+ mUseUpperLimit = new TQCheckBox( i18n( "Enable alarm" ), groupBox );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/FancyPlotter.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/FancyPlotter.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/FancyPlotter.cc 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/FancyPlotter.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -52,7 +52,7 @@
+ mPlotter->setTitle( title );
+ mPlotter->setThinFrame(!isApplet); //if we aren't an applet, draw a thin white frame on the left and bottom, for a 3d effect
+
+- setMinimumSize( tqsizeHint() );
++ setMinimumSize( sizeHint() );
+
+ /* All RMB clicks to the mPlotter widget will be handled by
+ * SensorDisplay::eventFilter. */
+@@ -101,10 +101,10 @@
+ for ( uint i = 0; i < mBeams; ++i ) {
+ TQStringList entry;
+ entry << TQString::number(i);
+- entry << sensors().tqat( i )->hostName();
+- entry << KSGRD::SensorMgr->translateSensor( sensors().tqat( i )->name() );
+- entry << KSGRD::SensorMgr->translateUnit( sensors().tqat( i )->unit() );
+- entry << ( sensors().tqat( i )->isOk() ? i18n( "OK" ) : i18n( "Error" ) );
++ entry << sensors().at( i )->hostName();
++ entry << KSGRD::SensorMgr->translateSensor( sensors().at( i )->name() );
++ entry << KSGRD::SensorMgr->translateUnit( sensors().at( i )->unit() );
++ entry << ( sensors().at( i )->isOk() ? i18n( "OK" ) : i18n( "Error" ) );
+ entry << ( mPlotter->beamColors()[ i ].name() );
+
+ list.append( entry );
+@@ -214,10 +214,10 @@
+ if ( type != "integer" && type != "float" )
+ return false;
+
+- if ( mBeams > 0 && hostName != sensors().tqat( 0 )->hostName() ) {
++ if ( mBeams > 0 && hostName != sensors().at( 0 )->hostName() ) {
+ KMessageBox::sorry( this, TQString( "All sensors of this display need "
+ "to be from the host %1!" )
+- .arg( sensors().tqat( 0 )->hostName() ) );
++ .arg( sensors().at( 0 )->hostName() ) );
+
+ /* We have to enforce this since the answers to value requests
+ * need to be received in order. */
+@@ -238,8 +238,8 @@
+ TQString tooltip;
+ for ( uint i = 0; i < mBeams; ++i ) {
+ tooltip += TQString( "%1%2:%3" ).arg( i != 0 ? "\n" : "" )
+- .arg( sensors().tqat( mBeams - i - 1 )->hostName() )
+- .arg( sensors().tqat( mBeams - i - 1 )->name() );
++ .arg( sensors().at( mBeams - i - 1 )->hostName() )
++ .arg( sensors().at( mBeams - i - 1 )->name() );
+ }
+
+ TQToolTip::remove( TQT_TQWIDGET(mPlotter) );
+@@ -263,8 +263,8 @@
+ TQString tooltip;
+ for ( uint i = 0; i < mBeams; ++i ) {
+ tooltip += TQString( "%1%2:%3" ).arg( i != 0 ? "\n" : "" )
+- .arg( sensors().tqat( mBeams - i - 1 )->hostName() )
+- .arg( sensors().tqat( mBeams - i - 1 )->name() );
++ .arg( sensors().at( mBeams - i - 1 )->hostName() )
++ .arg( sensors().at( mBeams - i - 1 )->name() );
+ }
+
+ TQToolTip::remove( TQT_TQWIDGET(mPlotter) );
+@@ -281,12 +281,12 @@
+ frame()->setGeometry( 0, 0, width(), height() );
+ }
+
+-TQSize FancyPlotter::tqsizeHint()
++TQSize FancyPlotter::sizeHint()
+ {
+ if ( noFrame() )
+- return mPlotter->tqsizeHint();
++ return mPlotter->sizeHint();
+ else
+- return frame()->tqsizeHint();
++ return frame()->sizeHint();
+ }
+
+ void FancyPlotter::answerReceived( int id, const TQString &answer )
+@@ -319,7 +319,7 @@
+ if ( info.min() == 0.0 && info.max() == 0.0 )
+ mPlotter->setUseAutoRange( true );
+ }
+- sensors().tqat( id - 100 )->setUnit( info.unit() );
++ sensors().at( id - 100 )->setUnit( info.unit() );
+ }
+ }
+
+@@ -405,9 +405,9 @@
+ for ( uint i = 0; i < mBeams; ++i ) {
+ TQDomElement beam = doc.createElement( "beam" );
+ element.appendChild( beam );
+- beam.setAttribute( "hostName", sensors().tqat( i )->hostName() );
+- beam.setAttribute( "sensorName", sensors().tqat( i )->name() );
+- beam.setAttribute( "sensorType", sensors().tqat( i )->type() );
++ beam.setAttribute( "hostName", sensors().at( i )->hostName() );
++ beam.setAttribute( "sensorName", sensors().at( i )->name() );
++ beam.setAttribute( "sensorType", sensors().at( i )->type() );
+ saveColor( beam, "color", mPlotter->beamColors()[ i ] );
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/FancyPlotter.h v3.5.13-sru/ksysguard/gui/SensorDisplayLib/FancyPlotter.h
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/FancyPlotter.h 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/FancyPlotter.h 2012-09-08 19:41:29.000000000 +0200
+@@ -66,7 +66,7 @@
+
+ bool removeSensor( uint pos );
+
+- virtual TQSize tqsizeHint(void);
++ virtual TQSize sizeHint(void);
+
+ virtual void answerReceived( int id, const TQString &answer );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cc 2011-07-09 08:16:58.000000000 +0200
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -79,7 +79,7 @@
+ pageLayout = new TQGridLayout( page, 2, 1, 0, spacingHint() );
+
+ groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Vertical Scale" ), page );
+- boxLayout = new TQGridLayout( groupBox->tqlayout(), 2, 5, spacingHint() );
++ boxLayout = new TQGridLayout( groupBox->layout(), 2, 5, spacingHint() );
+ boxLayout->setColStretch( 2, 1 );
+
+ mUseAutoRange = new TQCheckBox( i18n( "Automatic range detection" ), groupBox );
+@@ -90,7 +90,7 @@
+ boxLayout->addWidget( label, 1, 0 );
+
+ mMinValue = new KLineEdit( groupBox );
+- mMinValue->tqsetAlignment( AlignRight );
++ mMinValue->setAlignment( AlignRight );
+ mMinValue->setEnabled( false );
+ TQWhatsThis::add( mMinValue, i18n( "Enter the minimum value for the display here. If both values are 0, automatic range detection is enabled." ) );
+ boxLayout->addWidget( mMinValue, 1, 1 );
+@@ -100,7 +100,7 @@
+ boxLayout->addWidget( label, 1, 3 );
+
+ mMaxValue = new KLineEdit( groupBox );
+- mMaxValue->tqsetAlignment( AlignRight );
++ mMaxValue->setAlignment( AlignRight );
+ mMaxValue->setEnabled( false );
+ TQWhatsThis::add( mMaxValue, i18n( "Enter the maximum value for the display here. If both values are 0, automatic range detection is enabled." ) );
+ boxLayout->addWidget( mMaxValue, 1, 4 );
+@@ -109,7 +109,7 @@
+ pageLayout->addWidget( groupBox, 0, 0 );
+
+ groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Horizontal Scale" ), page );
+- boxLayout = new TQGridLayout( groupBox->tqlayout(), 2, 2, spacingHint() );
++ boxLayout = new TQGridLayout( groupBox->layout(), 2, 2, spacingHint() );
+ boxLayout->setRowStretch( 1, 1 );
+
+ mHorizontalScale = new KIntNumInput( 1, groupBox );
+@@ -127,7 +127,7 @@
+ pageLayout = new TQGridLayout( page, 3, 2, 0, spacingHint() );
+
+ groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Lines" ), page );
+- boxLayout = new TQGridLayout( groupBox->tqlayout(), 2, 5, spacingHint() );
++ boxLayout = new TQGridLayout( groupBox->layout(), 2, 5, spacingHint() );
+ boxLayout->setColStretch( 1, 1 );
+
+ mShowVerticalLines = new TQCheckBox( i18n( "Vertical lines" ), groupBox );
+@@ -166,7 +166,7 @@
+ pageLayout->addMultiCellWidget( groupBox, 0, 0, 0, 1 );
+
+ groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Text" ), page );
+- boxLayout = new TQGridLayout( groupBox->tqlayout(), 3, 4, spacingHint() );
++ boxLayout = new TQGridLayout( groupBox->layout(), 3, 4, spacingHint() );
+ boxLayout->setColStretch( 1, 1 );
+
+ mShowLabels = new TQCheckBox( i18n( "Labels" ), groupBox );
+@@ -191,7 +191,7 @@
+ pageLayout->addWidget( groupBox, 1, 0 );
+
+ groupBox = new TQGroupBox( 0, Qt::Vertical, i18n( "Colors" ), page );
+- boxLayout = new TQGridLayout( groupBox->tqlayout(), 4, 2, spacingHint() );
++ boxLayout = new TQGridLayout( groupBox->layout(), 4, 2, spacingHint() );
+
+ label = new TQLabel( i18n( "Vertical lines:" ), groupBox );
+ boxLayout->addWidget( label, 0, 0 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ListView.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ListView.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ListView.cc 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ListView.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -105,7 +105,7 @@
+ PrivateListView::PrivateListView(TQWidget *parent, const char *name)
+ : TQListView(parent, name)
+ {
+- TQColorGroup cg = tqcolorGroup();
++ TQColorGroup cg = colorGroup();
+
+ cg.setColor(TQColorGroup::Link, KSGRD::Style->firstForegroundColor());
+ cg.setColor(TQColorGroup::Text, KSGRD::Style->secondForegroundColor());
+@@ -116,8 +116,8 @@
+
+ void PrivateListView::update(const TQString& answer)
+ {
+- tqsetUpdatesEnabled(false);
+- viewport()->tqsetUpdatesEnabled(false);
++ setUpdatesEnabled(false);
++ viewport()->setUpdatesEnabled(false);
+
+ int vpos = verticalScrollBar()->value();
+ int hpos = horizontalScrollBar()->value();
+@@ -143,8 +143,8 @@
+ verticalScrollBar()->setValue(vpos);
+ horizontalScrollBar()->setValue(hpos);
+
+- viewport()->tqsetUpdatesEnabled(true);
+- tqsetUpdatesEnabled(true);
++ viewport()->setUpdatesEnabled(true);
++ setUpdatesEnabled(true);
+
+ triggerUpdate();
+ }
+@@ -239,7 +239,7 @@
+ void
+ ListView::updateList()
+ {
+- sendRequest(sensors().tqat(0)->hostName(), sensors().tqat(0)->name(), 19);
++ sendRequest(sensors().at(0)->hostName(), sensors().at(0)->name(), 19);
+ }
+
+ void
+@@ -290,12 +290,12 @@
+ {
+ addSensor(element.attribute("hostName"), element.attribute("sensorName"), (element.attribute("sensorType").isEmpty() ? "listview" : element.attribute("sensorType")), element.attribute("title"));
+
+- TQColorGroup tqcolorGroup = monitor->tqcolorGroup();
+- tqcolorGroup.setColor(TQColorGroup::Link, restoreColor(element, "gridColor", KSGRD::Style->firstForegroundColor()));
+- tqcolorGroup.setColor(TQColorGroup::Text, restoreColor(element, "textColor", KSGRD::Style->secondForegroundColor()));
+- tqcolorGroup.setColor(TQColorGroup::Base, restoreColor(element, "backgroundColor", KSGRD::Style->backgroundColor()));
++ TQColorGroup colorGroup = monitor->colorGroup();
++ colorGroup.setColor(TQColorGroup::Link, restoreColor(element, "gridColor", KSGRD::Style->firstForegroundColor()));
++ colorGroup.setColor(TQColorGroup::Text, restoreColor(element, "textColor", KSGRD::Style->secondForegroundColor()));
++ colorGroup.setColor(TQColorGroup::Base, restoreColor(element, "backgroundColor", KSGRD::Style->backgroundColor()));
+
+- monitor->setPalette(TQPalette(tqcolorGroup, tqcolorGroup, tqcolorGroup));
++ monitor->setPalette(TQPalette(colorGroup, colorGroup, colorGroup));
+
+ SensorDisplay::restoreSettings(element);
+
+@@ -307,14 +307,14 @@
+ bool
+ ListView::saveSettings(TQDomDocument& doc, TQDomElement& element, bool save)
+ {
+- element.setAttribute("hostName", sensors().tqat(0)->hostName());
+- element.setAttribute("sensorName", sensors().tqat(0)->name());
+- element.setAttribute("sensorType", sensors().tqat(0)->type());
+-
+- TQColorGroup tqcolorGroup = monitor->tqcolorGroup();
+- saveColor(element, "gridColor", tqcolorGroup.color(TQColorGroup::Link));
+- saveColor(element, "textColor", tqcolorGroup.color(TQColorGroup::Text));
+- saveColor(element, "backgroundColor", tqcolorGroup.color(TQColorGroup::Base));
++ element.setAttribute("hostName", sensors().at(0)->hostName());
++ element.setAttribute("sensorName", sensors().at(0)->name());
++ element.setAttribute("sensorType", sensors().at(0)->type());
++
++ TQColorGroup colorGroup = monitor->colorGroup();
++ saveColor(element, "gridColor", colorGroup.color(TQColorGroup::Link));
++ saveColor(element, "textColor", colorGroup.color(TQColorGroup::Text));
++ saveColor(element, "backgroundColor", colorGroup.color(TQColorGroup::Base));
+
+ SensorDisplay::saveSettings(doc, element);
+
+@@ -331,10 +331,10 @@
+ Q_CHECK_PTR(lvs);
+ connect(lvs, TQT_SIGNAL(applyClicked()), TQT_SLOT(applySettings()));
+
+- TQColorGroup tqcolorGroup = monitor->tqcolorGroup();
+- lvs->setGridColor(tqcolorGroup.color(TQColorGroup::Link));
+- lvs->setTextColor(tqcolorGroup.color(TQColorGroup::Text));
+- lvs->setBackgroundColor(tqcolorGroup.color(TQColorGroup::Base));
++ TQColorGroup colorGroup = monitor->colorGroup();
++ lvs->setGridColor(colorGroup.color(TQColorGroup::Link));
++ lvs->setTextColor(colorGroup.color(TQColorGroup::Text));
++ lvs->setBackgroundColor(colorGroup.color(TQColorGroup::Base));
+ lvs->setTitle(title());
+
+ if (lvs->exec())
+@@ -347,11 +347,11 @@
+ void
+ ListView::applySettings()
+ {
+- TQColorGroup tqcolorGroup = monitor->tqcolorGroup();
+- tqcolorGroup.setColor(TQColorGroup::Link, lvs->gridColor());
+- tqcolorGroup.setColor(TQColorGroup::Text, lvs->textColor());
+- tqcolorGroup.setColor(TQColorGroup::Base, lvs->backgroundColor());
+- monitor->setPalette(TQPalette(tqcolorGroup, tqcolorGroup, tqcolorGroup));
++ TQColorGroup colorGroup = monitor->colorGroup();
++ colorGroup.setColor(TQColorGroup::Link, lvs->gridColor());
++ colorGroup.setColor(TQColorGroup::Text, lvs->textColor());
++ colorGroup.setColor(TQColorGroup::Base, lvs->backgroundColor());
++ monitor->setPalette(TQPalette(colorGroup, colorGroup, colorGroup));
+
+ setTitle(lvs->title());
+
+@@ -361,11 +361,11 @@
+ void
+ ListView::applyStyle()
+ {
+- TQColorGroup tqcolorGroup = monitor->tqcolorGroup();
+- tqcolorGroup.setColor(TQColorGroup::Link, KSGRD::Style->firstForegroundColor());
+- tqcolorGroup.setColor(TQColorGroup::Text, KSGRD::Style->secondForegroundColor());
+- tqcolorGroup.setColor(TQColorGroup::Base, KSGRD::Style->backgroundColor());
+- monitor->setPalette(TQPalette(tqcolorGroup, tqcolorGroup, tqcolorGroup));
++ TQColorGroup colorGroup = monitor->colorGroup();
++ colorGroup.setColor(TQColorGroup::Link, KSGRD::Style->firstForegroundColor());
++ colorGroup.setColor(TQColorGroup::Text, KSGRD::Style->secondForegroundColor());
++ colorGroup.setColor(TQColorGroup::Base, KSGRD::Style->backgroundColor());
++ monitor->setPalette(TQPalette(colorGroup, colorGroup, colorGroup));
+
+ setModified(true);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ListView.h v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ListView.h
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ListView.h 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ListView.h 2012-09-08 19:41:29.000000000 +0200
+@@ -57,9 +57,9 @@
+ public:
+ PrivateListViewItem(PrivateListView *parent = 0);
+
+- void paintCell(TQPainter *p, const TQColorGroup &, int column, int width, int tqalignment) {
+- TQColorGroup cgroup = _parent->tqcolorGroup();
+- TQListViewItem::paintCell(p, cgroup, column, width, tqalignment);
++ void paintCell(TQPainter *p, const TQColorGroup &, int column, int width, int alignment) {
++ TQColorGroup cgroup = _parent->colorGroup();
++ TQListViewItem::paintCell(p, cgroup, column, width, alignment);
+ p->setPen(cgroup.color(TQColorGroup::Link));
+ p->drawLine(0, height() - 1, width - 1, height() - 1);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ListViewSettingsWidget.ui v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ListViewSettingsWidget.ui
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ListViewSettingsWidget.ui 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ListViewSettingsWidget.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -55,7 +55,7 @@
+ <property name="title">
+ <string>Colors</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter|AlignLeft</set>
+ </property>
+ <property name="vAlign" stdset="0">
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/LogFile.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/LogFile.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/LogFile.cc 2011-08-11 07:25:56.000000000 +0200
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/LogFile.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -51,7 +51,7 @@
+
+ LogFile::~LogFile(void)
+ {
+- sendRequest(sensors().tqat(0)->hostName(), TQString("logfile_unregister %1" ).arg(logFileID), 43);
++ sendRequest(sensors().at(0)->hostName(), TQString("logfile_unregister %1" ).arg(logFileID), 43);
+ }
+
+ bool
+@@ -64,10 +64,10 @@
+
+ TQString sensorID = sensorName.right(sensorName.length() - (sensorName.findRev("/") + 1));
+
+- sendRequest(sensors().tqat(0)->hostName(), TQString("logfile_register %1" ).arg(sensorID), 42);
++ sendRequest(sensors().at(0)->hostName(), TQString("logfile_register %1" ).arg(sensorID), 42);
+
+ if (title.isEmpty())
+- setTitle(sensors().tqat(0)->hostName() + ":" + sensorID);
++ setTitle(sensors().at(0)->hostName() + ":" + sensorID);
+ else
+ setTitle(title);
+
+@@ -79,7 +79,7 @@
+
+ void LogFile::configureSettings(void)
+ {
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+
+ lfs = new LogFileSettings(this);
+ Q_CHECK_PTR(lfs);
+@@ -147,7 +147,7 @@
+
+ void LogFile::applySettings(void)
+ {
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+
+ cgroup.setColor(TQColorGroup::Text, lfs->fgColor->color());
+ cgroup.setColor(TQColorGroup::Base, lfs->bgColor->color());
+@@ -166,7 +166,7 @@
+ void
+ LogFile::applyStyle()
+ {
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+
+ cgroup.setColor(TQColorGroup::Text, KSGRD::Style->firstForegroundColor());
+ cgroup.setColor(TQColorGroup::Base, KSGRD::Style->backgroundColor());
+@@ -179,7 +179,7 @@
+ LogFile::restoreSettings(TQDomElement& element)
+ {
+ TQFont font;
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+
+ cgroup.setColor(TQColorGroup::Text, restoreColor(element, "textColor", Qt::green));
+ cgroup.setColor(TQColorGroup::Base, restoreColor(element, "backgroundColor", Qt::black));
+@@ -206,14 +206,14 @@
+ bool
+ LogFile::saveSettings(TQDomDocument& doc, TQDomElement& element, bool save)
+ {
+- element.setAttribute("hostName", sensors().tqat(0)->hostName());
+- element.setAttribute("sensorName", sensors().tqat(0)->name());
+- element.setAttribute("sensorType", sensors().tqat(0)->type());
++ element.setAttribute("hostName", sensors().at(0)->hostName());
++ element.setAttribute("sensorName", sensors().at(0)->name());
++ element.setAttribute("sensorType", sensors().at(0)->type());
+
+ element.setAttribute("font", monitor->font().toString());
+
+- saveColor(element, "textColor", monitor->tqcolorGroup().text());
+- saveColor(element, "backgroundColor", monitor->tqcolorGroup().base());
++ saveColor(element, "textColor", monitor->colorGroup().text());
++ saveColor(element, "backgroundColor", monitor->colorGroup().base());
+
+ for (TQStringList::Iterator it = filterRules.begin();
+ it != filterRules.end(); it++)
+@@ -234,8 +234,8 @@
+ void
+ LogFile::updateMonitor()
+ {
+- sendRequest(sensors().tqat(0)->hostName(),
+- TQString("%1 %2" ).arg(sensors().tqat(0)->name()).arg(logFileID), 19);
++ sendRequest(sensors().at(0)->hostName(),
++ TQString("%1 %2" ).arg(sensors().at(0)->name()).arg(logFileID), 19);
+ }
+
+ void
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/LogFileSettings.ui v3.5.13-sru/ksysguard/gui/SensorDisplayLib/LogFileSettings.ui
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/LogFileSettings.ui 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/LogFileSettings.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -142,7 +142,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+@@ -172,7 +172,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -264,7 +264,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -313,7 +313,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/MultiMeter.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/MultiMeter.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/MultiMeter.cc 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/MultiMeter.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -53,7 +53,7 @@
+ Q_CHECK_PTR(lcd);
+ lcd->setSegmentStyle(TQLCDNumber::Filled);
+ setDigitColor(KSGRD::Style->backgroundColor());
+- lcd->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::Expanding,
++ lcd->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding,
+ TQSizePolicy::Expanding, false));
+
+ setBackgroundColor(KSGRD::Style->backgroundColor());
+@@ -166,9 +166,9 @@
+ bool
+ MultiMeter::saveSettings(TQDomDocument& doc, TQDomElement& element, bool save)
+ {
+- element.setAttribute("hostName", sensors().tqat(0)->hostName());
+- element.setAttribute("sensorName", sensors().tqat(0)->name());
+- element.setAttribute("sensorType", sensors().tqat(0)->type());
++ element.setAttribute("hostName", sensors().at(0)->hostName());
++ element.setAttribute("sensorName", sensors().at(0)->name());
++ element.setAttribute("sensorType", sensors().at(0)->type());
+ element.setAttribute("showUnit", showUnit());
+ element.setAttribute("lowerLimitActive", (int) lowerLimitActive);
+ element.setAttribute("lowerLimit", (int) lowerLimit);
+@@ -225,7 +225,7 @@
+ alarmDigitColor = mms->alarmDigitColor();
+ setBackgroundColor(mms->meterBackgroundColor());
+
+- tqrepaint();
++ repaint();
+ setModified(true);
+ }
+
+@@ -234,7 +234,7 @@
+ {
+ normalDigitColor = KSGRD::Style->firstForegroundColor();
+ setBackgroundColor(KSGRD::Style->backgroundColor());
+- tqrepaint();
++ repaint();
+ setModified(true);
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/MultiMeterSettingsWidget.ui v3.5.13-sru/ksysguard/gui/SensorDisplayLib/MultiMeterSettingsWidget.ui
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/MultiMeterSettingsWidget.ui 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/MultiMeterSettingsWidget.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -96,7 +96,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -121,7 +121,7 @@
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>70</width>
+ <height>0</height>
+@@ -162,7 +162,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>20</height>
+@@ -187,7 +187,7 @@
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>70</width>
+ <height>0</height>
+@@ -334,14 +334,14 @@
+ <slot access="public" specifier="">update()</slot>
+ <slot access="public" specifier="">update(int,int,int,int)</slot>
+ <slot access="public" specifier="">update(const QRect&amp;)</slot>
+- <slot access="public" specifier="">tqrepaint()</slot>
+- <slot access="public" specifier="">tqrepaint(bool)</slot>
+- <slot access="public" specifier="">tqrepaint(int,int,int,int)</slot>
+- <slot access="public" specifier="">tqrepaint(int,int,int,int,bool)</slot>
+- <slot access="public" specifier="">tqrepaint(const QRect&amp;)</slot>
+- <slot access="public" specifier="">tqrepaint(const QRect&amp;,bool)</slot>
+- <slot access="public" specifier="">tqrepaint(const QRegion&amp;)</slot>
+- <slot access="public" specifier="">tqrepaint(const QRegion&amp;,bool)</slot>
++ <slot access="public" specifier="">repaint()</slot>
++ <slot access="public" specifier="">repaint(bool)</slot>
++ <slot access="public" specifier="">repaint(int,int,int,int)</slot>
++ <slot access="public" specifier="">repaint(int,int,int,int,bool)</slot>
++ <slot access="public" specifier="">repaint(const QRect&amp;)</slot>
++ <slot access="public" specifier="">repaint(const QRect&amp;,bool)</slot>
++ <slot access="public" specifier="">repaint(const QRegion&amp;)</slot>
++ <slot access="public" specifier="">repaint(const QRegion&amp;,bool)</slot>
+ <slot access="public" specifier="">show()</slot>
+ <slot access="public" specifier="">hide()</slot>
+ <slot access="public" specifier="">setShown(bool)</slot>
+@@ -377,8 +377,8 @@
+ <property type="Bool">enabled</property>
+ <property type="Rect">geometry</property>
+ <property type="SizePolicy">sizePolicy</property>
+- <property type="Size">tqminimumSize</property>
+- <property type="Size">tqmaximumSize</property>
++ <property type="Size">minimumSize</property>
++ <property type="Size">maximumSize</property>
+ <property type="Size">sizeIncrement</property>
+ <property type="Size">baseSize</property>
+ <property type="Color">paletteForegroundColor</property>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ProcessController.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ProcessController.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ProcessController.cc 2011-07-09 08:16:58.000000000 +0200
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ProcessController.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -98,11 +98,11 @@
+ cbFilter->insertItem(i18n("System Processes"), 1);
+ cbFilter->insertItem(i18n("User Processes"), 2);
+ cbFilter->insertItem(i18n("Own Processes"), 3);
+- cbFilter->setMinimumSize(cbFilter->tqsizeHint());
++ cbFilter->setMinimumSize(cbFilter->sizeHint());
+ // Create the check box to switch between tree view and list view.
+ xbTreeView = new TQCheckBox(i18n("&Tree"), this, "xbTreeView");
+ Q_CHECK_PTR(xbTreeView);
+- xbTreeView->setMinimumSize(xbTreeView->tqsizeHint());
++ xbTreeView->setMinimumSize(xbTreeView->sizeHint());
+ connect(xbTreeView, TQT_SIGNAL(toggled(bool)),
+ this, TQT_SLOT(setTreeView(bool)));
+
+@@ -116,13 +116,13 @@
+ bRefresh = new KPushButton( KGuiItem( i18n( "&Refresh" ), "reload" ),
+ this, "bRefresh" );
+ Q_CHECK_PTR(bRefresh);
+- bRefresh->setMinimumSize(bRefresh->tqsizeHint());
++ bRefresh->setMinimumSize(bRefresh->sizeHint());
+ connect(bRefresh, TQT_SIGNAL(clicked()), this, TQT_SLOT(updateList()));
+
+ // Create the 'Kill' button.
+ bKill = new KPushButton(i18n("&Kill"), this, "bKill");
+ Q_CHECK_PTR(bKill);
+- bKill->setMinimumSize(bKill->tqsizeHint());
++ bKill->setMinimumSize(bKill->sizeHint());
+ connect(bKill, TQT_SIGNAL(clicked()), this, TQT_SLOT(killProcess()));
+ /* Disable the kill button until we know that the daemon supports the
+ * kill command. */
+@@ -147,7 +147,7 @@
+
+ setPlotterWidget(pList);
+
+- setMinimumSize(tqsizeHint());
++ setMinimumSize(sizeHint());
+ fixTabOrder();
+ }
+
+@@ -213,13 +213,13 @@
+ void
+ ProcessController::updateList()
+ {
+- sendRequest(sensors().tqat(0)->hostName(), "ps", 2);
++ sendRequest(sensors().at(0)->hostName(), "ps", 2);
+ }
+
+ void
+ ProcessController::killProcess(int pid, int sig)
+ {
+- sendRequest(sensors().tqat(0)->hostName(),
++ sendRequest(sensors().at(0)->hostName(),
+ TQString("kill %1 %2" ).arg(pid).arg(sig), 3);
+
+ if ( !timerOn() )
+@@ -269,7 +269,7 @@
+ // send kill signal to all seleted processes
+ TQValueListConstIterator<int> it;
+ for (it = selectedPIds.begin(); it != selectedPIds.end(); ++it)
+- sendRequest(sensors().tqat(0)->hostName(), TQString("kill %1 %2" ).arg(*it)
++ sendRequest(sensors().at(0)->hostName(), TQString("kill %1 %2" ).arg(*it)
+ .arg(MENU_ID_SIGKILL), 3);
+
+ if ( !timerOn())
+@@ -283,9 +283,9 @@
+ ProcessController::reniceProcess(const TQValueList<int> &pids, int niceValue)
+ {
+ for( TQValueList<int>::ConstIterator it = pids.constBegin(), end = pids.constEnd(); it != end; ++it )
+- sendRequest(sensors().tqat(0)->hostName(),
++ sendRequest(sensors().at(0)->hostName(),
+ TQString("setpriority %1 %2" ).arg(*it).arg(niceValue), 5);
+- sendRequest(sensors().tqat(0)->hostName(), "ps", 2); //update the display afterwards
++ sendRequest(sensors().at(0)->hostName(), "ps", 2); //update the display afterwards
+ }
+
+ void
+@@ -401,7 +401,7 @@
+ void
+ ProcessController::sensorError(int, bool err)
+ {
+- if (err == sensors().tqat(0)->isOk())
++ if (err == sensors().at(0)->isOk())
+ {
+ if (!err)
+ {
+@@ -409,15 +409,15 @@
+ * (re-)established we need to requests the full set of
+ * properties again, since the back-end might be a new
+ * one. */
+- sendRequest(sensors().tqat(0)->hostName(), "test kill", 4);
+- sendRequest(sensors().tqat(0)->hostName(), "ps?", 1);
+- sendRequest(sensors().tqat(0)->hostName(), "ps", 2);
++ sendRequest(sensors().at(0)->hostName(), "test kill", 4);
++ sendRequest(sensors().at(0)->hostName(), "ps?", 1);
++ sendRequest(sensors().at(0)->hostName(), "ps", 2);
+ }
+
+ /* This happens only when the sensorOk status needs to be changed. */
+- sensors().tqat(0)->setIsOk( !err );
++ sensors().at(0)->setIsOk( !err );
+ }
+- setSensorOk(sensors().tqat(0)->isOk());
++ setSensorOk(sensors().at(0)->isOk());
+ }
+
+ bool
+@@ -452,9 +452,9 @@
+ bool
+ ProcessController::saveSettings(TQDomDocument& doc, TQDomElement& element, bool save)
+ {
+- element.setAttribute("hostName", sensors().tqat(0)->hostName());
+- element.setAttribute("sensorName", sensors().tqat(0)->name());
+- element.setAttribute("sensorType", sensors().tqat(0)->type());
++ element.setAttribute("hostName", sensors().at(0)->hostName());
++ element.setAttribute("sensorName", sensors().at(0)->name());
++ element.setAttribute("sensorType", sensors().at(0)->type());
+ element.setAttribute("tree", (uint) xbTreeView->isChecked());
+ element.setAttribute("filter", cbFilter->currentItem());
+ element.setAttribute("sortColumn", pList->getSortColumn());
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ProcessList.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ProcessList.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ProcessList.cc 2011-08-11 07:25:56.000000000 +0200
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ProcessList.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -297,8 +297,8 @@
+ /* Disable painting to avoid flickering effects,
+ * especially when in tree view mode.
+ * Ditto for the scrollbar. */
+- tqsetUpdatesEnabled(false);
+- viewport()->tqsetUpdatesEnabled(false);
++ setUpdatesEnabled(false);
++ viewport()->setUpdatesEnabled(false);
+
+ pl.clear();
+
+@@ -349,8 +349,8 @@
+ horizontalScrollBar()->setValue(hpos);
+
+ // Re-enable painting, and force an update.
+- tqsetUpdatesEnabled(true);
+- viewport()->tqsetUpdatesEnabled(true);
++ setUpdatesEnabled(true);
++ viewport()->setUpdatesEnabled(true);
+
+ triggerUpdate();
+
+@@ -532,8 +532,8 @@
+ {
+ unsigned int i;
+ for (i = 0; i < pl.count() &&
+- (!isLeafProcess(pl.tqat(i)->pid()) ||
+- matchesFilter(pl.tqat(i))); i++)
++ (!isLeafProcess(pl.at(i)->pid()) ||
++ matchesFilter(pl.at(i))); i++)
+ ;
+ if (i == pl.count())
+ return;
+@@ -546,7 +546,7 @@
+ ProcessList::isLeafProcess(int pid)
+ {
+ for (unsigned int i = 0; i < pl.count(); i++)
+- if (pl.tqat(i)->ppid() == pid)
++ if (pl.at(i)->ppid() == pid)
+ return (false);
+
+ return (true);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ReniceDlg.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ReniceDlg.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/ReniceDlg.cc 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/ReniceDlg.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -43,7 +43,7 @@
+ "the number is the higher the priority.\n\n"
+ "Please enter the desired nice level:").arg(pid);
+ message = new TQLabel(msg, page);
+- message->setMinimumSize(message->tqsizeHint());
++ message->setMinimumSize(message->sizeHint());
+ vLay->addWidget(message);
+
+ /*
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc 2011-08-11 07:25:56.000000000 +0200
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorDisplay.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -66,7 +66,7 @@
+ if(!nf) {
+ mFrame = new TQGroupBox( 2, Qt::Vertical, "", this, "displayFrame");
+ mFrame->setFlat(true);
+- mFrame->tqsetAlignment(Qt::AlignHCenter);
++ mFrame->setAlignment(Qt::AlignHCenter);
+ mFrame->setInsideMargin(2);
+
+ setTitle( title );
+@@ -219,14 +219,14 @@
+ if ( sensorId >= (int)mSensors.count() || sensorId < 0 )
+ return;
+
+- if ( err == mSensors.tqat( sensorId )->isOk() ) {
++ if ( err == mSensors.at( sensorId )->isOk() ) {
+ // this happens only when the sensorOk status needs to be changed.
+- mSensors.tqat( sensorId )->setIsOk( !err );
++ mSensors.at( sensorId )->setIsOk( !err );
+ }
+
+ bool ok = true;
+ for ( uint i = 0; i < mSensors.count(); ++i )
+- if ( !mSensors.tqat( i )->isOk() ) {
++ if ( !mSensors.at( i )->isOk() ) {
+ ok = false;
+ break;
+ }
+@@ -524,7 +524,7 @@
+ {
+ TQPtrList<SensorProperties> newSensors;
+ for ( uint i = 0; i < orderOfSensors.count(); ++i ) {
+- newSensors.append( mSensors.tqat(orderOfSensors[i] ));
++ newSensors.append( mSensors.at(orderOfSensors[i] ));
+ }
+
+ mSensors.setAutoDelete( false );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorLogger.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorLogger.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorLogger.cc 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorLogger.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -50,7 +50,7 @@
+ pixmap_waiting = UserIcon( "waiting" );
+
+ lvi->setPixmap(0, pixmap_waiting);
+- lvi->setTextColor(monitor->tqcolorGroup().text());
++ lvi->setTextColor(monitor->colorGroup().text());
+
+ monitor->insertItem(lvi);
+ }
+@@ -72,8 +72,8 @@
+ LogSensor::stopLogging(void)
+ {
+ lvi->setPixmap(0, pixmap_waiting);
+- lvi->setTextColor(monitor->tqcolorGroup().text());
+- lvi->tqrepaint();
++ lvi->setTextColor(monitor->colorGroup().text());
++ lvi->repaint();
+ timerOff();
+ }
+
+@@ -104,21 +104,21 @@
+ {
+ timerOff();
+ lowerLimitActive = false;
+- lvi->setTextColor(monitor->tqcolorGroup().foreground());
+- lvi->tqrepaint();
++ lvi->setTextColor(monitor->colorGroup().foreground());
++ lvi->repaint();
+ KNotifyClient::event(monitor->winId(), "sensor_alarm", TQString("sensor '%1' at '%2' reached lower limit").arg(sensorName).arg(hostName));
+ timerOn();
+ } else if (upperLimitActive && value > upperLimit)
+ {
+ timerOff();
+ upperLimitActive = false;
+- lvi->setTextColor(monitor->tqcolorGroup().foreground());
+- lvi->tqrepaint();
++ lvi->setTextColor(monitor->colorGroup().foreground());
++ lvi->repaint();
+ KNotifyClient::event(monitor->winId(), "sensor_alarm", TQString("sensor '%1' at '%2' reached upper limit").arg(sensorName).arg(hostName));
+ timerOn();
+ }
+- TQDate date = TQT_TQDATE_OBJECT(TQDateTime::tqcurrentDateTime().date());
+- TQTime time = TQT_TQTIME_OBJECT(TQDateTime::tqcurrentDateTime().time());
++ TQDate date = TQT_TQDATE_OBJECT(TQDateTime::currentDateTime().date());
++ TQTime time = TQT_TQTIME_OBJECT(TQDateTime::currentDateTime().time());
+
+ stream << TQString("%1 %2 %3 %4 %5: %6\n").arg(date.shortMonthName(date.month())).arg(date.day()).arg(time.toString()).arg(hostName).arg(sensorName).arg(value);
+ }
+@@ -139,7 +139,7 @@
+ monitor->addColumn(i18n("Host Name"));
+ monitor->addColumn(i18n("Log File"));
+
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+ cgroup.setColor(TQColorGroup::Text, KSGRD::Style->firstForegroundColor());
+ cgroup.setColor(TQColorGroup::Base, KSGRD::Style->backgroundColor());
+ cgroup.setColor(TQColorGroup::Foreground, KSGRD::Style->alarmColor());
+@@ -232,7 +232,7 @@
+ void
+ SensorLogger::configureSettings()
+ {
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+
+ sls = new SensorLoggerSettings(this, "SensorLoggerSettings");
+ Q_CHECK_PTR(sls);
+@@ -254,7 +254,7 @@
+ void
+ SensorLogger::applySettings()
+ {
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+
+ setTitle(sls->title());
+
+@@ -269,7 +269,7 @@
+ void
+ SensorLogger::applyStyle(void)
+ {
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+
+ cgroup.setColor(TQColorGroup::Text, KSGRD::Style->firstForegroundColor());
+ cgroup.setColor(TQColorGroup::Base, KSGRD::Style->backgroundColor());
+@@ -282,7 +282,7 @@
+ bool
+ SensorLogger::restoreSettings(TQDomElement& element)
+ {
+- TQColorGroup cgroup = monitor->tqcolorGroup();
++ TQColorGroup cgroup = monitor->colorGroup();
+
+ cgroup.setColor(TQColorGroup::Text, restoreColor(element, "textColor", Qt::green));
+ cgroup.setColor(TQColorGroup::Base, restoreColor(element, "backgroundColor", Qt::black));
+@@ -319,9 +319,9 @@
+ bool
+ SensorLogger::saveSettings(TQDomDocument& doc, TQDomElement& element, bool save)
+ {
+- saveColor(element, "textColor", monitor->tqcolorGroup().text());
+- saveColor(element, "backgroundColor", monitor->tqcolorGroup().base());
+- saveColor(element, "alarmColor", monitor->tqcolorGroup().foreground());
++ saveColor(element, "textColor", monitor->colorGroup().text());
++ saveColor(element, "backgroundColor", monitor->colorGroup().base());
++ saveColor(element, "alarmColor", monitor->colorGroup().foreground());
+
+ for (LogSensor* sensor = logSensors.first(); sensor != 0; sensor = logSensors.next())
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorLoggerDlgWidget.ui v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorLoggerDlgWidget.ui
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorLoggerDlgWidget.ui 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorLoggerDlgWidget.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -102,7 +102,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+@@ -127,7 +127,7 @@
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>70</width>
+ <height>0</height>
+@@ -168,7 +168,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>16</width>
+ <height>20</height>
+@@ -193,7 +193,7 @@
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>70</width>
+ <height>0</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorLogger.h v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorLogger.h
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorLogger.h 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorLogger.h 2012-09-08 19:41:29.000000000 +0200
+@@ -44,10 +44,10 @@
+
+ void setTextColor(const TQColor& color) { textColor = color; }
+
+- void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment) {
++ void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment) {
+ TQColorGroup cgroup(cg);
+ cgroup.setColor(TQColorGroup::Text, textColor);
+- TQListViewItem::paintCell(p, cgroup, column, width, tqalignment);
++ TQListViewItem::paintCell(p, cgroup, column, width, alignment);
+
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorLoggerSettingsWidget.ui v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorLoggerSettingsWidget.ui
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SensorLoggerSettingsWidget.ui 2011-03-12 07:58:24.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SensorLoggerSettingsWidget.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -61,7 +61,7 @@
+ <property name="title">
+ <string>Colors</string>
+ </property>
+- <property name="tqalignment">
++ <property name="alignment">
+ <set>WordBreak|AlignVCenter|AlignLeft</set>
+ </property>
+ <property name="vAlign" stdset="0">
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SignalPlotter.cc v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SignalPlotter.cc
+--- /tmp/stable//kdebase/ksysguard/gui/SensorDisplayLib/SignalPlotter.cc 2011-07-08 00:00:33.000000000 +0200
++++ v3.5.13-sru/ksysguard/gui/SensorDisplayLib/SignalPlotter.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -50,7 +50,7 @@
+
+ // Anything smaller than this does not make sense.
+ setMinimumSize( 16, 16 );
+- tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Expanding,
++ setSizePolicy( TQSizePolicy( TQSizePolicy::Expanding,
+ TQSizePolicy::Expanding, false ) );
+
+ mShowVerticalLines = true;
+@@ -134,8 +134,8 @@
+
+ for(uint i = 0; i < newOrder.count(); i++) {
+ int newIndex = newOrder[i];
+- newBeamData.append(mBeamData.tqat(newIndex));
+- newBeamColor.append(*mBeamColor.tqat(newIndex));
++ newBeamData.append(mBeamData.at(newIndex));
++ newBeamColor.append(*mBeamColor.at(newIndex));
+ }
+ mBeamData = newBeamData;
+ mBeamColor = newBeamColor;
+@@ -159,7 +159,7 @@
+
+ void SignalPlotter::removeBeam( uint pos )
+ {
+- mBeamColor.remove( mBeamColor.tqat( pos ) );
++ mBeamColor.remove( mBeamColor.at( pos ) );
+ double *p = mBeamData.take( pos );
+ delete [] p;
+ }
+@@ -374,7 +374,7 @@
+ memset( nd, 0, sizeof( double ) * ( newSampleNum - overlap ) );
+
+ // copy overlap from old buffer to new buffer
+- memcpy( nd + ( newSampleNum - overlap ), mBeamData.tqat( i ) +
++ memcpy( nd + ( newSampleNum - overlap ), mBeamData.at( i ) +
+ ( mSamples - overlap ), overlap * sizeof( double ) );
+
+ double *p = mBeamData.take( i );
+@@ -396,12 +396,12 @@
+
+ TQPixmap pm( w, h );
+ TQPainter p;
+- p.tqbegin( &pm, this );
++ p.begin( &pm, this );
+
+ pm.fill( mBackgroundColor );
+ /* Draw white line along the bottom and the right side of the
+ * widget to create a 3D like look. */
+- p.setPen( TQColor( tqcolorGroup().light() ) );
++ p.setPen( TQColor( colorGroup().light() ) );
+ if(mShowThinFrame) {
+ p.drawLine( 0, h - 1, w - 1, h - 1 );
+ p.drawLine( w - 1, 0, w - 1, h - 1 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/WorkSheet.cc v3.5.13-sru/ksysguard/gui/WorkSheet.cc
+--- /tmp/stable//kdebase/ksysguard/gui/WorkSheet.cc 2011-08-11 07:25:56.000000000 +0200
++++ v3.5.13-sru/ksysguard/gui/WorkSheet.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -241,7 +241,7 @@
+ if ( !currentDisplay() || currentDisplay()->isA( "DummyDisplay" ) )
+ return;
+
+- TQClipboard* clip = TQApplication::tqclipboard();
++ TQClipboard* clip = TQApplication::clipboard();
+
+ clip->setText( currentDisplayAsXML() );
+
+@@ -253,7 +253,7 @@
+ if ( !currentDisplay() || currentDisplay()->isA( "DummyDisplay" ) )
+ return;
+
+- TQClipboard* clip = TQApplication::tqclipboard();
++ TQClipboard* clip = TQApplication::clipboard();
+
+ clip->setText( currentDisplayAsXML() );
+ }
+@@ -264,7 +264,7 @@
+ if ( !currentDisplay( &row, &column ) )
+ return;
+
+- TQClipboard* clip = TQApplication::tqclipboard();
++ TQClipboard* clip = TQApplication::clipboard();
+
+ TQDomDocument doc;
+ /* Get text from clipboard and check for a valid XML header and
+@@ -450,14 +450,14 @@
+ * event and replace or add sensor. */
+ for ( uint r = 0; r < mRows; ++r )
+ for ( uint c = 0; c < mColumns; ++c )
+- if ( mDisplayList[ r ][ c ]->tqgeometry().contains( e->pos() ) ) {
++ if ( mDisplayList[ r ][ c ]->geometry().contains( e->pos() ) ) {
+ addDisplay( hostName, sensorName, sensorType, sensorDescr, r, c );
+ return;
+ }
+ }
+ }
+
+-TQSize WorkSheet::tqsizeHint() const
++TQSize WorkSheet::sizeHint() const
+ {
+ return TQSize( 200,150 );
+ }
+@@ -531,7 +531,7 @@
+ mDisplayList[ row ][ column ]->show();
+ }
+
+- setMinimumSize(tqsizeHint());
++ setMinimumSize(sizeHint());
+
+ setModified( true );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/WorkSheet.h v3.5.13-sru/ksysguard/gui/WorkSheet.h
+--- /tmp/stable//kdebase/ksysguard/gui/WorkSheet.h 2011-03-12 07:58:25.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/WorkSheet.h 2012-09-08 19:41:29.000000000 +0200
+@@ -90,7 +90,7 @@
+ void titleChanged( TQWidget *sheet );
+
+ protected:
+- virtual TQSize tqsizeHint() const;
++ virtual TQSize sizeHint() const;
+ void dragEnterEvent( TQDragEnterEvent* );
+ void dropEvent( TQDropEvent* );
+ void customEvent( TQCustomEvent* );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksysguard/gui/WorkSheetSettings.cc v3.5.13-sru/ksysguard/gui/WorkSheetSettings.cc
+--- /tmp/stable//kdebase/ksysguard/gui/WorkSheetSettings.cc 2011-03-12 07:58:25.000000000 +0100
++++ v3.5.13-sru/ksysguard/gui/WorkSheetSettings.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -46,11 +46,11 @@
+ TQVBoxLayout *topLayout = new TQVBoxLayout( page, 0, spacingHint() );
+
+ TQGroupBox *group = new TQGroupBox( 0, Qt::Vertical, i18n( "Title" ), page );
+- group->tqlayout()->setMargin( marginHint() );
+- group->tqlayout()->setSpacing( spacingHint() );
++ group->layout()->setMargin( marginHint() );
++ group->layout()->setSpacing( spacingHint() );
+
+- TQGridLayout *groupLayout = new TQGridLayout( group->tqlayout(), 1, 1 );
+- groupLayout->tqsetAlignment( Qt::AlignTop );
++ TQGridLayout *groupLayout = new TQGridLayout( group->layout(), 1, 1 );
++ groupLayout->setAlignment( Qt::AlignTop );
+
+ mSheetTitle = new KLineEdit( group );
+ groupLayout->addWidget( mSheetTitle, 0, 0 );
+@@ -58,11 +58,11 @@
+ topLayout->addWidget( group );
+
+ group = new TQGroupBox( 0, Qt::Vertical, i18n( "Properties" ), page );
+- group->tqlayout()->setMargin( marginHint() );
+- group->tqlayout()->setSpacing( spacingHint() );
++ group->layout()->setMargin( marginHint() );
++ group->layout()->setSpacing( spacingHint() );
+
+- groupLayout = new TQGridLayout( group->tqlayout(), 3, 2 );
+- groupLayout->tqsetAlignment( Qt::AlignTop );
++ groupLayout = new TQGridLayout( group->layout(), 3, 2 );
++ groupLayout->setAlignment( Qt::AlignTop );
+
+ TQLabel *label = new TQLabel( i18n( "Rows:" ), group );
+ groupLayout->addWidget( label, 0, 0 );
+@@ -103,7 +103,7 @@
+
+ mSheetTitle->setFocus();
+
+- resize( TQSize( 250, 230 ).expandedTo( tqminimumSizeHint() ) );
++ resize( TQSize( 250, 230 ).expandedTo( minimumSizeHint() ) );
+ }
+
+ WorkSheetSettings::~WorkSheetSettings()
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/ksystraycmd/ksystraycmd.cpp v3.5.13-sru/ksystraycmd/ksystraycmd.cpp
+--- /tmp/stable//kdebase/ksystraycmd/ksystraycmd.cpp 2011-03-12 07:58:25.000000000 +0100
++++ v3.5.13-sru/ksystraycmd/ksystraycmd.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -25,7 +25,7 @@
+ isVisible(true), lazyStart( false ), noquit( false ), quitOnHide( false ), onTop(false), ownIcon(false),
+ win(0), client(0), kwinmodule(0), top(0), left(0)
+ {
+- tqsetAlignment( AlignCenter );
++ setAlignment( AlignCenter );
+ kwinmodule = new KWinModule( TQT_TQOBJECT(this) );
+ refresh();
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/client.cpp v3.5.13-sru/kwin/client.cpp
+--- /tmp/stable//kdebase/kwin/client.cpp 2011-09-14 07:31:14.000000000 +0200
++++ v3.5.13-sru/kwin/client.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -140,7 +140,7 @@
+ deleting = false;
+ keep_above = FALSE;
+ keep_below = FALSE;
+- is_tqshape = FALSE;
++ is_shape = FALSE;
+ motif_noborder = false;
+ motif_may_move = TRUE;
+ motif_may_resize = TRUE;
+@@ -285,7 +285,7 @@
+ destroyDecoration();
+ cleanGrouping();
+ workspace()->removeClient( this, Allowed );
+- client = None; // tqinvalidate
++ client = None; // invalidate
+ XDestroyWindow( qt_xdisplay(), wrapper );
+ wrapper = None;
+ XDestroyWindow( qt_xdisplay(), frame );
+@@ -306,7 +306,7 @@
+ destroyDecoration();
+ if( !noBorder())
+ {
+- setMask( TQRegion()); // reset tqshape mask
++ setMask( TQRegion()); // reset shape mask
+ decoration = workspace()->createDecoration( bridge );
+ // TODO check decoration's minimum size?
+ decoration->init();
+@@ -344,7 +344,7 @@
+ decoration = NULL;
+ TQPoint grav = calculateGravitation( true );
+ border_left = border_right = border_top = border_bottom = 0;
+- setMask( TQRegion()); // reset tqshape mask
++ setMask( TQRegion()); // reset shape mask
+ int save_workarea_diff_x = workarea_diff_x;
+ int save_workarea_diff_y = workarea_diff_y;
+ plainResize( sizeForClientSize( clientSize()), ForceGeometrySet );
+@@ -515,32 +515,32 @@
+
+ void Client::updateShape()
+ {
+- // workaround for #19644 - tqshaped windows shouldn't have decoration
+- if( tqshape() && !noBorder())
++ // workaround for #19644 - shaped windows shouldn't have decoration
++ if( shape() && !noBorder())
+ {
+ noborder = true;
+ updateDecoration( true );
+ }
+ updateOpacityCache();
+- if ( tqshape() )
++ if ( shape() )
+ {
+ XShapeCombineShape(qt_xdisplay(), frameId(), ShapeBounding,
+ clientPos().x(), clientPos().y(),
+ window(), ShapeBounding, ShapeSet);
+ setShapable(TRUE);
+ }
+- // !tqshape() mask setting is done in setMask() when the decoration
++ // !shape() mask setting is done in setMask() when the decoration
+ // calls it or when the decoration is created/destroyed
+
+- if( Shape::version() >= 0x11 ) // 1.1, has input tqshape support
++ if( Shape::version() >= 0x11 ) // 1.1, has input shape support
+ { // There appears to be no way to find out if a window has input
+- // tqshape set or not, so always propagate the input tqshape
+- // (it's the same like the bounding tqshape by default).
+- // Also, build the tqshape using a helper window, not directly
+- // in the frame window, because the sequence set-tqshape-to-frame,
+- // remove-tqshape-of-client, add-input-tqshape-of-client has the problem
+- // that after the second step there's a hole in the input tqshape
+- // until the real tqshape of the client is added and that can make
++ // shape set or not, so always propagate the input shape
++ // (it's the same like the bounding shape by default).
++ // Also, build the shape using a helper window, not directly
++ // in the frame window, because the sequence set-shape-to-frame,
++ // remove-shape-of-client, add-input-shape-of-client has the problem
++ // that after the second step there's a hole in the input shape
++ // until the real shape of the client is added and that can make
+ // the window lose focus (which is a problem with mouse focus policies)
+ static Window helper_window = None;
+ if( helper_window == None )
+@@ -571,7 +571,7 @@
+ reg.handle(), ShapeSet );
+ else
+ {
+- TQMemArray< TQRect > rects = reg.tqrects();
++ TQMemArray< TQRect > rects = reg.rects();
+ XRectangle* xrects = new XRectangle[ rects.count() ];
+ for( unsigned int i = 0;
+ i < rects.count();
+@@ -874,7 +874,7 @@
+ XSelectInput( qt_xdisplay(), wrapper, ClientWinMask | SubstructureNotifyMask );
+ //as we hid the unmap event, xcompmgr didn't recognize the client wid has vanished, so we'll extra inform it
+ //done xcompmgr workaround
+-// FRAME tqrepaint( FALSE );
++// FRAME repaint( FALSE );
+ // bool wasStaticContents = testWFlags( WStaticContents );
+ // setWFlags( WStaticContents );
+ int step = QMAX( 4, QABS( h - s.height() ) / as )+1;
+@@ -915,7 +915,7 @@
+ resizeDecoration( TQSize( s.width(), h ));
+ // assume a border
+ // we do not have time to wait for X to send us paint events
+-// FRAME tqrepaint( 0, h - step-5, width(), step+5, TRUE);
++// FRAME repaint( 0, h - step-5, width(), step+5, TRUE);
+ TQApplication::syncX();
+ } while ( h < s.height() - step );
+ // if ( !wasStaticContents )
+@@ -1078,7 +1078,7 @@
+ // active window has a shadow.
+ return;
+
+- region = tqshapeBoundingRegion;
++ region = shapeBoundingRegion;
+
+ // Generate list of Clients whose shadows need to be redrawn. That is,
+ // those that are currently intersecting or intersected by other windows or
+@@ -1116,7 +1116,7 @@
+ // active window has a shadow.
+ return;
+
+- region = tqshapeBoundingRegion;
++ region = shapeBoundingRegion;
+
+ stacking_order = workspace()->stackingOrder();
+ for (it = stacking_order.fromLast(); it != stacking_order.end(); --it) {
+@@ -1167,7 +1167,7 @@
+
+ /*!
+ Draw shadow after some time has elapsed, to give recently exposed windows a
+- chance to tqrepaint before a shadow gradient is drawn over them.
++ chance to repaint before a shadow gradient is drawn over them.
+ */
+ void Client::drawDelayedShadow()
+ {
+@@ -1190,7 +1190,7 @@
+ void Client::drawShadow()
+ {
+ Window shadows[2];
+- XRectangle *tqshapes;
++ XRectangle *shapes;
+ int i, count, ordering;
+
+ // If we are waiting for another Client's shadow to be drawn, stop waiting now
+@@ -1206,31 +1206,31 @@
+ * this type of window. Otherwise, drawIntersectingShadows() won't update
+ * properly when this window is moved/resized/hidden/closed.
+ */
+- tqshapes = XShapeGetRectangles(qt_xdisplay(), frameId(), ShapeBounding,
++ shapes = XShapeGetRectangles(qt_xdisplay(), frameId(), ShapeBounding,
+ &count, &ordering);
+- if (!tqshapes)
++ if (!shapes)
+ // XShape extension not supported
+- tqshapeBoundingRegion = TQRegion(x(), y(), width(), height());
++ shapeBoundingRegion = TQRegion(x(), y(), width(), height());
+ else {
+- tqshapeBoundingRegion = TQRegion();
++ shapeBoundingRegion = TQRegion();
+ for (i = 0; i < count; i++) {
+ // Translate XShaped window into a TQRegion
+- TQRegion tqshapeRectangle(tqshapes[i].x, tqshapes[i].y, tqshapes[i].width,
+- tqshapes[i].height);
+- tqshapeBoundingRegion += tqshapeRectangle;
++ TQRegion shapeRectangle(shapes[i].x, shapes[i].y, shapes[i].width,
++ shapes[i].height);
++ shapeBoundingRegion += shapeRectangle;
+ }
+ if (isShade())
+ // Since XResize() doesn't change a window's XShape regions, ensure that
+- // tqshapeBoundingRegion is not taller than the window's shaded height,
++ // shapeBoundingRegion is not taller than the window's shaded height,
+ // or the bottom shadow will appear to be missing
+- tqshapeBoundingRegion &= TQRegion(0, 0, width(), height());
+- tqshapeBoundingRegion.translate(x(), y());
++ shapeBoundingRegion &= TQRegion(0, 0, width(), height());
++ shapeBoundingRegion.translate(x(), y());
+ }
+
+ if (!isShadowed() || hidden || isMinimized() ||
+ maximizeMode() == MaximizeFull ||
+ !options->shadowWindowType(windowType())) {
+- XFree(tqshapes);
++ XFree(shapes);
+
+ // Tell whatever Clients are listening that this Client's shadow has been drawn.
+ // It hasn't, but there's no sense waiting for something that won't happen.
+@@ -1264,9 +1264,9 @@
+ ButtonPressMask | ButtonReleaseMask | StructureNotifyMask);
+ shadowWidget->installEventFilter(this);
+
+- if (!tqshapes) {
++ if (!shapes) {
+ // XShape extension not supported
+- exposedRegion = getExposedRegion(tqshapeBoundingRegion, shadow.x(),
++ exposedRegion = getExposedRegion(shapeBoundingRegion, shadow.x(),
+ shadow.y(), shadow.width(), shadow.height(), thickness,
+ xOffset, yOffset);
+ shadowRegion.region = exposedRegion;
+@@ -1274,7 +1274,7 @@
+ shadowRegions.append(shadowRegion);
+
+ if (opacityCache->isNull())
+- imposeRegionShadow(shadowPixmap, tqshapeBoundingRegion,
++ imposeRegionShadow(shadowPixmap, shapeBoundingRegion,
+ exposedRegion, thickness,
+ options->shadowOpacity(isActive()));
+ else
+@@ -1285,7 +1285,7 @@
+ TQMemArray<TQRect>::Iterator it, itEnd;
+ XRectangle *shadowShapes;
+
+- exposedRegion = getExposedRegion(tqshapeBoundingRegion, shadow.x(),
++ exposedRegion = getExposedRegion(shapeBoundingRegion, shadow.x(),
+ shadow.y(), shadow.width(), shadow.height(), thickness,
+ xOffset, yOffset);
+ shadowRegion.region = exposedRegion;
+@@ -1293,7 +1293,7 @@
+ shadowRegions.append(shadowRegion);
+
+ // XShape the shadow
+- exposedRects = exposedRegion.tqrects();
++ exposedRects = exposedRegion.rects();
+ i = 0;
+ itEnd = exposedRects.end();
+ shadowShapes = new XRectangle[exposedRects.count()];
+@@ -1311,14 +1311,14 @@
+ delete [] shadowShapes;
+
+ if (opacityCache->isNull())
+- imposeRegionShadow(shadowPixmap, tqshapeBoundingRegion,
++ imposeRegionShadow(shadowPixmap, shapeBoundingRegion,
+ exposedRegion, thickness,
+ options->shadowOpacity(isActive()));
+ else
+ imposeCachedShadow(shadowPixmap, exposedRegion);
+ }
+
+- XFree(tqshapes);
++ XFree(shapes);
+
+ // Set the background pixmap
+ //shadowPixmap.convertFromImage(shadowImage);
+@@ -1391,10 +1391,10 @@
+ TQMemArray<TQRect>::Iterator it, itEnd;
+ TQRegion shadowRegion;
+
+- occludedRects = occludedRegion.tqrects();
++ occludedRects = occludedRegion.rects();
+ itEnd = occludedRects.end();
+ for (it = occludedRects.begin(); it != itEnd; ++it) {
+- // Expand each of the occluded region's tqshape rectangles to contain
++ // Expand each of the occluded region's shape rectangles to contain
+ // where a shadow of the specified thickness will be drawn. Create
+ // a new TQRegion that contains the expanded occluded region
+ it->setTop(it->top() - thickness + yOffset);
+@@ -1425,7 +1425,7 @@
+ Window rootWindow;
+ int thickness, windowX, windowY, xOffset, yOffset;
+
+- rectangles = exposed.tqrects();
++ rectangles = exposed.rects();
+ rootWindow = qt_xrootwin();
+ thickness = options->shadowThickness(isActive());
+ windowX = this->x();
+@@ -1485,7 +1485,7 @@
+ Window rootWindow;
+ int windowX, windowY, xOffset, yOffset;
+
+- rectangles = exposed.tqrects();
++ rectangles = exposed.rects();
+ rootWindow = qt_xrootwin();
+ windowX = this->x();
+ windowY = this->y();
+@@ -2430,7 +2430,7 @@
+ }
+
+ /*!
+- Sets an appropriate cursor tqshape for the logical mouse position \a m
++ Sets an appropriate cursor shape for the logical mouse position \a m
+
+ */
+ void Client::setCursor( Position m )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/client.h v3.5.13-sru/kwin/client.h
+--- /tmp/stable//kdebase/kwin/client.h 2011-09-11 06:57:55.000000000 +0200
++++ v3.5.13-sru/kwin/client.h 2012-09-08 19:41:29.000000000 +0200
+@@ -214,8 +214,8 @@
+ // window to be redrawn.
+ friend void Workspace::updateOverlappingShadows(WId);
+
+- // tqshape extensions
+- bool tqshape() const;
++ // shape extensions
++ bool shape() const;
+ void updateShape();
+
+ void setGeometry( int x, int y, int w, int h, ForceGeometry_t force = NormalGeometrySet );
+@@ -501,7 +501,7 @@
+ uint active :1;
+ uint deleting : 1; // true when doing cleanup and destroying the client
+ uint keep_above : 1; // NET::KeepAbove (was stays_on_top)
+- uint is_tqshape :1;
++ uint is_shape :1;
+ uint skip_taskbar :1;
+ uint original_skip_taskbar :1; // unaffected by KWin
+ uint Pdeletewindow :1; // does the window understand the DeleteWindow protocol?
+@@ -570,7 +570,7 @@
+ TQMemArray<double> activeOpacityCache;
+ TQMemArray<double> inactiveOpacityCache;
+ TQMemArray<double>* opacityCache;
+- TQRegion tqshapeBoundingRegion;
++ TQRegion shapeBoundingRegion;
+ TQTimer* shadowDelayTimer;
+ bool shadowMe;
+
+@@ -797,9 +797,9 @@
+ return keep_below;
+ }
+
+-inline bool Client::tqshape() const
++inline bool Client::shape() const
+ {
+- return is_tqshape;
++ return is_shape;
+ }
+
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/b2/b2client.cpp v3.5.13-sru/kwin/clients/b2/b2client.cpp
+--- /tmp/stable//kdebase/kwin/clients/b2/b2client.cpp 2011-09-19 16:26:16.000000000 +0200
++++ v3.5.13-sru/kwin/clients/b2/b2client.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -419,7 +419,7 @@
+
+ titleLayout->addSpacing(3);
+
+- TQColor c = options()->tqcolorGroup(KDecoration::ColorTitleBar, isActive()).
++ TQColor c = options()->colorGroup(KDecoration::ColorTitleBar, isActive()).
+ color(TQColorGroup::Button);
+
+ for (int i = 0; i < BtnCount; i++) {
+@@ -558,7 +558,7 @@
+ void B2Client::iconChange()
+ {
+ if (button[BtnMenu])
+- button[BtnMenu]->tqrepaint(false);
++ button[BtnMenu]->repaint(false);
+ }
+
+ // Gallium: New button show/hide magic for customizable
+@@ -607,7 +607,7 @@
+ titleMoveAbs(bar_x_ofs);
+
+ doShape();
+- widget()->tqrepaint(); // the frame is misrendered without this
++ widget()->repaint(); // the frame is misrendered without this
+ }
+
+ void B2Client::captionChange()
+@@ -616,7 +616,7 @@
+ titleMoveAbs(bar_x_ofs);
+ doShape();
+ titlebar->recalcBuffer();
+- titlebar->tqrepaint(false);
++ titlebar->repaint(false);
+ }
+
+ void B2Client::paintEvent(TQPaintEvent* e)
+@@ -635,7 +635,7 @@
+ int bb = mustDrawHandle() ? 4 : 0;
+ int bDepth = thickness + bb;
+
+- TQColorGroup fillColor = options()->tqcolorGroup(frameColorGroup, isActive());
++ TQColorGroup fillColor = options()->colorGroup(frameColorGroup, isActive());
+ TQBrush fillBrush(options()->color(frameColorGroup, isActive()));
+
+ // outer frame rect
+@@ -710,7 +710,7 @@
+ visibilitinotify events until its state changes, so we just try
+ */
+ if (titlebar->isFullyObscured()) {
+- /* We first see, if our tqrepaint contained the titlebar area */
++ /* We first see, if our repaint contained the titlebar area */
+ TQRegion reg(TQRect(0, 0, width(), buttonSize + 4));
+ reg = reg.intersect(e->region());
+ if (!reg.isEmpty())
+@@ -815,8 +815,8 @@
+ bar_x_ofs = new_ofs;
+ positionButtons();
+ doShape();
+- widget()->tqrepaint(0, 0, width(), buttonSize + 4, false);
+- titlebar->tqrepaint(false);
++ widget()->repaint(0, 0, width(), buttonSize + 4, false);
++ titlebar->repaint(false);
+ }
+ }
+
+@@ -841,7 +841,7 @@
+ bool m = maximizeMode() == MaximizeFull;
+ if (button[BtnMax]) {
+ button[BtnMax]->setPixmaps(m ? P_NORMALIZE : P_MAX);
+- button[BtnMax]->tqrepaint();
++ button[BtnMax]->repaint();
+ TQToolTip::remove(button[BtnMax]);
+ TQToolTip::add(button[BtnMax],
+ m ? i18n("Restore") : i18n("Maximize"));
+@@ -851,21 +851,21 @@
+
+ g->activate();
+ doShape();
+- widget()->tqrepaint(false);
++ widget()->repaint(false);
+ }
+
+ void B2Client::activeChange()
+ {
+- widget()->tqrepaint(false);
+- titlebar->tqrepaint(false);
++ widget()->repaint(false);
++ titlebar->repaint(false);
+
+- TQColor c = options()->tqcolorGroup(
++ TQColor c = options()->colorGroup(
+ KDecoration::ColorTitleBar, isActive()).color(TQColorGroup::Button);
+
+ for (int i = 0; i < BtnCount; i++)
+ if (button[i]) {
+ button[i]->setBg(c);
+- button[i]->tqrepaint(false);
++ button[i]->repaint(false);
+ }
+ }
+
+@@ -881,7 +881,7 @@
+ }
+ }
+
+-TQSize B2Client::tqminimumSize() const
++TQSize B2Client::minimumSize() const
+ {
+ int left, right, top, bottom;
+ borders(left, right, top, bottom);
+@@ -960,8 +960,8 @@
+ static void redraw_pixmaps()
+ {
+ int i;
+- TQColorGroup aGrp = options()->tqcolorGroup(KDecoration::ColorButtonBg, true);
+- TQColorGroup iGrp = options()->tqcolorGroup(KDecoration::ColorButtonBg, false);
++ TQColorGroup aGrp = options()->colorGroup(KDecoration::ColorButtonBg, true);
++ TQColorGroup iGrp = options()->colorGroup(KDecoration::ColorButtonBg, false);
+
+ // close
+ drawB2Rect(PIXMAP_A(P_CLOSE), aGrp.button(), false);
+@@ -1128,7 +1128,7 @@
+ // Transparent bound stuff.
+
+ static TQRect *visible_bound;
+-static TQPointArray bound_tqshape;
++static TQPointArray bound_shape;
+
+ bool B2Client::drawbound(const TQRect& geom, bool clear)
+ {
+@@ -1153,7 +1153,7 @@
+ barLeft += 2;
+ barRight -= 2;
+
+- bound_tqshape.putPoints(0, 8,
++ bound_shape.putPoints(0, 8,
+ g.left(), frameTop,
+ barLeft, frameTop,
+ barLeft, g.top(),
+@@ -1168,7 +1168,7 @@
+ TQPainter p(workspaceWidget());
+ p.setPen(TQPen(Qt::white, 5));
+ p.setRasterOp(TQt::XorROP);
+- p.drawPolygon(bound_tqshape);
++ p.drawPolygon(bound_shape);
+
+ if (clear) {
+ delete visible_bound;
+@@ -1222,7 +1222,7 @@
+ }
+
+
+-TQSize B2Button::tqsizeHint() const
++TQSize B2Button::sizeHint() const
+ {
+ return TQSize(buttonSize, buttonSize);
+ }
+@@ -1273,7 +1273,7 @@
+ for (int i = 0; i < NumStates; i++) {
+ icon[i] = B2::pixmap[button_id + i];
+ }
+- tqrepaint(false);
++ repaint(false);
+ }
+
+ void B2Button::mousePressEvent(TQMouseEvent * e)
+@@ -1297,14 +1297,14 @@
+ void B2Button::enterEvent(TQEvent *e)
+ {
+ hover = true;
+- tqrepaint(false);
++ repaint(false);
+ TQButton::enterEvent(e);
+ }
+
+ void B2Button::leaveEvent(TQEvent *e)
+ {
+ hover = false;
+- tqrepaint(false);
++ repaint(false);
+ TQButton::leaveEvent(e);
+ }
+
+@@ -1363,7 +1363,7 @@
+
+ // titlebar fill
+ const TQColorGroup cg =
+- options()->tqcolorGroup(KDecoration::ColorTitleBar, state);
++ options()->colorGroup(KDecoration::ColorTitleBar, state);
+ TQBrush brush(cg.background());
+ if (gradient) brush.setPixmap(*gradient);
+ qDrawShadeRect(&p, 1, 1, t.right() - 1, t.height() - 1,
+@@ -1388,7 +1388,7 @@
+ void B2Titlebar::resizeEvent(TQResizeEvent *)
+ {
+ recalcBuffer();
+- tqrepaint(false);
++ repaint(false);
+ }
+
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/b2/b2client.h v3.5.13-sru/kwin/clients/b2/b2client.h
+--- /tmp/stable//kdebase/kwin/clients/b2/b2client.h 2011-09-19 16:26:16.000000000 +0200
++++ v3.5.13-sru/kwin/clients/b2/b2client.h 2012-09-08 19:41:29.000000000 +0200
+@@ -38,7 +38,7 @@
+ void setToggle(){setToggleType(Toggle);}
+ void setActive(bool on){setOn(on);}
+ void setUseMiniIcon(){useMiniIcon = true;}
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+ TQSizePolicy sizePolicy() const;
+ protected:
+ virtual void drawButton(TQPainter *p);
+@@ -119,7 +119,7 @@
+ Position mousePosition( const TQPoint& p ) const;
+ void resize(const TQSize&);
+ void borders(int &, int &, int &, int &) const;
+- TQSize tqminimumSize() const;
++ TQSize minimumSize() const;
+ bool eventFilter(TQObject *, TQEvent *);
+ private slots:
+ void menuButtonPressed();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/default/kdedefault.cpp v3.5.13-sru/kwin/clients/default/kdedefault.cpp
+--- /tmp/stable//kdebase/kwin/clients/default/kdedefault.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/default/kdedefault.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -240,7 +240,7 @@
+ || new_useGradients != useGradients
+ || new_titleHeight != normalTitleHeight
+ || new_toolTitleHeight != toolTitleHeight )
+- changed |= SettingColors; // just recreate the pixmaps and tqrepaint
++ changed |= SettingColors; // just recreate the pixmaps and repaint
+ }
+
+ showGrabBar = new_showGrabBar;
+@@ -328,7 +328,7 @@
+ TQPainter p;
+
+ // Active pins
+- g = options()->tqcolorGroup( ColorButtonBg, true );
++ g = options()->colorGroup( ColorButtonBg, true );
+ pinUpPix = new KPixmap();
+ pinUpPix->resize(16, 16);
+ p.begin( pinUpPix );
+@@ -346,7 +346,7 @@
+ pinDownPix->setMask( TQBitmap(16, 16, pindown_mask_bits, true) );
+
+ // Inactive pins
+- g = options()->tqcolorGroup( ColorButtonBg, false );
++ g = options()->colorGroup( ColorButtonBg, false );
+ ipinUpPix = new KPixmap();
+ ipinUpPix->resize(16, 16);
+ p.begin( ipinUpPix );
+@@ -404,25 +404,25 @@
+ irightBtnDownPix[false]->resize(toolTitleHeight, toolTitleHeight);
+
+ // Draw the button state pixmaps
+- g = options()->tqcolorGroup( ColorTitleBar, true );
++ g = options()->colorGroup( ColorTitleBar, true );
+ drawButtonBackground( leftBtnUpPix[true], g, false );
+ drawButtonBackground( leftBtnDownPix[true], g, true );
+ drawButtonBackground( leftBtnUpPix[false], g, false );
+ drawButtonBackground( leftBtnDownPix[false], g, true );
+
+- g = options()->tqcolorGroup( ColorButtonBg, true );
++ g = options()->colorGroup( ColorButtonBg, true );
+ drawButtonBackground( rightBtnUpPix[true], g, false );
+ drawButtonBackground( rightBtnDownPix[true], g, true );
+ drawButtonBackground( rightBtnUpPix[false], g, false );
+ drawButtonBackground( rightBtnDownPix[false], g, true );
+
+- g = options()->tqcolorGroup( ColorTitleBar, false );
++ g = options()->colorGroup( ColorTitleBar, false );
+ drawButtonBackground( ileftBtnUpPix[true], g, false );
+ drawButtonBackground( ileftBtnDownPix[true], g, true );
+ drawButtonBackground( ileftBtnUpPix[false], g, false );
+ drawButtonBackground( ileftBtnDownPix[false], g, true );
+
+- g = options()->tqcolorGroup( ColorButtonBg, false );
++ g = options()->colorGroup( ColorButtonBg, false );
+ drawButtonBackground( irightBtnUpPix[true], g, false );
+ drawButtonBackground( irightBtnDownPix[true], g, true );
+ drawButtonBackground( irightBtnUpPix[false], g, false );
+@@ -720,7 +720,7 @@
+ void KDEDefaultButton::enterEvent(TQEvent *e)
+ {
+ isMouseOver=true;
+- tqrepaint(false);
++ repaint(false);
+ TQButton::enterEvent(e);
+ }
+
+@@ -728,7 +728,7 @@
+ void KDEDefaultButton::leaveEvent(TQEvent *e)
+ {
+ isMouseOver=false;
+- tqrepaint(false);
++ repaint(false);
+ TQButton::leaveEvent(e);
+ }
+
+@@ -856,7 +856,7 @@
+
+ void KDEDefaultClient::reset( unsigned long changed)
+ {
+- widget()->tqrepaint();
++ widget()->repaint();
+
+ KCommonDecoration::reset(changed);
+ }
+@@ -909,7 +909,7 @@
+ p.drawRect(x,y,w,h);
+
+ // Draw part of the frame that is the titlebar color
+- g = options()->tqcolorGroup(ColorTitleBar, isActive());
++ g = options()->colorGroup(ColorTitleBar, isActive());
+ p.setPen(g.light());
+ p.drawLine(x+1, y+1, rightOffset-1, y+1);
+ p.drawLine(x+1, y+1, x+1, leftFrameStart+borderWidth-4);
+@@ -929,7 +929,7 @@
+ p.drawLine(x+borderWidth-2, y+titleHeight+3, x+borderWidth-2, leftFrameStart-2);
+
+ // Fill out the border edges
+- g = options()->tqcolorGroup(ColorFrame, isActive());
++ g = options()->colorGroup(ColorFrame, isActive());
+ p.setPen(g.light());
+ p.drawLine(rightOffset, y+1, x2-1, y+1);
+ p.drawLine(x+1, leftFrameStart+borderWidth-3, x+1, y2-1);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/keramik/CMakeLists.txt v3.5.13-sru/kwin/clients/keramik/CMakeLists.txt
+--- /tmp/stable//kdebase/kwin/clients/keramik/CMakeLists.txt 2011-03-26 21:41:57.000000000 +0100
++++ v3.5.13-sru/kwin/clients/keramik/CMakeLists.txt 2012-09-08 19:41:29.000000000 +0200
+@@ -42,22 +42,11 @@
+
+ ##### tiles.h (header) ##########################
+
+-set( pics
+- pics/caption-large-left.png pics/caption-small-right.png
+- pics/titlebar-center.png pics/titlebutton-square.png
+- pics/border-left.png pics/caption-large-right.png
+- pics/grabbar-center.png pics/titlebar-left.png
+- pics/border-right.png pics/caption-small-center.png
+- pics/grabbar-left.png pics/titlebar-right.png
+- pics/caption-large-center.png pics/caption-small-left.png
+- pics/grabbar-right.png pics/titlebutton-round.png
+- pics/bottom-left.png pics/bottom-right.png pics/bottom-center.png
+- pics/titlebutton-square-large.png pics/titlebutton-square-huge.png
+- pics/titlebutton-round-large.png pics/titlebutton-round-huge.png )
++file(GLOB _pics "${CMAKE_CURRENT_SOURCE_DIR}/pics/*.png" )
+
+ add_custom_command( OUTPUT tiles.h
+- COMMAND ${CMAKE_CURRENT_BINARY_DIR}/embedtool ${pics}
+- DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/embedtool ${pics} )
++ COMMAND ${CMAKE_CURRENT_BINARY_DIR}/embedtool ${_pics}
++ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/embedtool ${_pics} )
+
+ tde_add_executable( embedtool
+ SOURCES embedtool.cpp
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/keramik/embedtool.cpp v3.5.13-sru/kwin/clients/keramik/embedtool.cpp
+--- /tmp/stable//kdebase/kwin/clients/keramik/embedtool.cpp 2011-08-11 07:25:42.000000000 +0200
++++ v3.5.13-sru/kwin/clients/keramik/embedtool.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -60,7 +60,7 @@
+
+ KeramikEmbedder::KeramikEmbedder()
+ {
+- TQDateTime date( TQDateTime::tqcurrentDateTime() );
++ TQDateTime date( TQDateTime::currentDateTime() );
+ TQString datestring( date.toString() );
+
+ file = new TQFile( "tiles.h" );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/keramik/keramik.cpp v3.5.13-sru/kwin/clients/keramik/keramik.cpp
+--- /tmp/stable//kdebase/kwin/clients/keramik/keramik.cpp 2011-09-19 16:26:16.000000000 +0200
++++ v3.5.13-sru/kwin/clients/keramik/keramik.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -784,7 +784,7 @@
+ TQButton::enterEvent( e );
+
+ hover = true;
+- tqrepaint( false );
++ repaint( false );
+ }
+
+
+@@ -793,7 +793,7 @@
+ TQButton::leaveEvent( e );
+
+ hover = false;
+- tqrepaint( false );
++ repaint( false );
+ }
+
+
+@@ -832,14 +832,14 @@
+
+ if ( isDown() ) {
+ // Pressed
+- p->drawPixmap( TQPoint(), *pix, TQStyle::tqvisualRect( TQRect(2*size, 0, size, size), pix->rect() ) );
++ p->drawPixmap( TQPoint(), *pix, TQStyle::visualRect( TQRect(2*size, 0, size, size), pix->rect() ) );
+ p->translate( TQApplication::reverseLayout() ? -1 : 1, 1 );
+ } else if ( hover )
+ // Mouse over
+- p->drawPixmap( TQPoint(), *pix, TQStyle::tqvisualRect( TQRect(size, 0, size, size), pix->rect() ) );
++ p->drawPixmap( TQPoint(), *pix, TQStyle::visualRect( TQRect(size, 0, size, size), pix->rect() ) );
+ else
+ // Normal
+- p->drawPixmap( TQPoint(), *pix, TQStyle::tqvisualRect( TQRect(0, 0, size, size), pix->rect() ) );
++ p->drawPixmap( TQPoint(), *pix, TQStyle::visualRect( TQRect(0, 0, size, size), pix->rect() ) );
+
+
+ // Draw the button deco on the bevel
+@@ -1014,13 +1014,13 @@
+
+ captionBufferDirty = maskDirty = true;
+
+- // Only tqrepaint the window if it's visible
++ // Only repaint the window if it's visible
+ // (i.e. not minimized and on the current desktop)
+ if ( widget()->isVisible() ) {
+- widget()->tqrepaint( false );
++ widget()->repaint( false );
+
+ for ( int i = 0; i < NumButtons; i++ )
+- if ( button[i] ) button[i]->tqrepaint( false );
++ if ( button[i] ) button[i]->repaint( false );
+ }
+ }
+
+@@ -1280,7 +1280,7 @@
+ ( clientHandler->showAppIcons() ? 16 + iconSpacing : 0 );
+
+ int xpos = QMAX( (captionRect.width() - tw) / 3, 8 );
+- TQRect tr = TQStyle::tqvisualRect( TQRect(xpos, 1, captionRect.width() - xpos - 10,
++ TQRect tr = TQStyle::visualRect( TQRect(xpos, 1, captionRect.width() - xpos - 10,
+ captionRect.height() - 4), captionBuffer.rect() );
+
+ //p.setPen( Qt::red ); // debug
+@@ -1289,7 +1289,7 @@
+ // Application icon
+ if ( clientHandler->showAppIcons() )
+ {
+- TQRect iconRect = TQStyle::tqvisualRect( TQRect(tr.x(),
++ TQRect iconRect = TQStyle::visualRect( TQRect(tr.x(),
+ 1 + (captionRect.height() - 4 - 16) / 2, 16, 16), tr );
+ TQRect r( icon->rect() );
+ r.moveCenter( iconRect.center() );
+@@ -1349,7 +1349,7 @@
+ cw += 16 + 4; // icon width + space
+
+ cw = QMIN( cw, titlebar->geometry().width() );
+- captionRect = TQStyle::tqvisualRect( TQRect(titlebar->geometry().x(), (largeCaption ? 0 : titleBaseY),
++ captionRect = TQStyle::visualRect( TQRect(titlebar->geometry().x(), (largeCaption ? 0 : titleBaseY),
+ cw, clientHandler->titleBarHeight(largeCaption) ),
+ titlebar->geometry() );
+ }
+@@ -1365,7 +1365,7 @@
+
+ captionBufferDirty = true;
+
+- widget()->tqrepaint( r | captionRect, false );
++ widget()->repaint( r | captionRect, false );
+ }
+
+
+@@ -1381,7 +1381,7 @@
+ activeIcon = inactiveIcon = NULL;
+
+ captionBufferDirty = true;
+- widget()->tqrepaint( captionRect, false );
++ widget()->repaint( captionRect, false );
+ }
+ }
+
+@@ -1400,10 +1400,10 @@
+
+ captionBufferDirty = true;
+
+- widget()->tqrepaint( false );
++ widget()->repaint( false );
+
+ for ( int i=0; i < NumButtons; i++ )
+- if ( button[i] ) button[i]->tqrepaint( false );
++ if ( button[i] ) button[i]->repaint( false );
+ }
+
+
+@@ -1420,7 +1420,7 @@
+ captionBufferDirty = maskDirty = true;
+
+ widget()->layout()->activate();
+- widget()->tqrepaint( false );
++ widget()->repaint( false );
+ } else if (( maximizeMode() & MaximizeVertical ) == 0 && !largeTitlebar ) {
+ // We've been restored - enlarge the titlebar by 3 pixels
+ topSpacer->changeSize( 10, 4, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
+@@ -1430,14 +1430,14 @@
+ captionBufferDirty = maskDirty = true;
+
+ widget()->layout()->activate();
+- widget()->tqrepaint( false );
++ widget()->repaint( false );
+ }
+ }
+
+ if ( button[ MaxButton ] ) {
+ TQToolTip::remove( button[ MaxButton ] );
+ TQToolTip::add( button[ MaxButton ], maximizeMode() == MaximizeFull ? i18n("Restore") : i18n("Maximize") );
+- button[ MaxButton ]->tqrepaint();
++ button[ MaxButton ]->repaint();
+ }
+ }
+
+@@ -1446,7 +1446,7 @@
+ {
+ if ( button[ OnAllDesktopsButton ] )
+ {
+- button[ OnAllDesktopsButton ]->tqrepaint( true );
++ button[ OnAllDesktopsButton ]->repaint( true );
+ TQToolTip::remove( button[ OnAllDesktopsButton ] );
+ TQToolTip::add( button[ OnAllDesktopsButton ], isOnAllDesktops() ? i18n("Not on all desktops") : i18n("On all desktops") );
+ }
+@@ -1457,7 +1457,7 @@
+ {
+ if ( button[ ShadeButton ] )
+ {
+- button[ ShadeButton ]->tqrepaint( true );
++ button[ ShadeButton ]->repaint( true );
+ TQToolTip::remove( button[ ShadeButton ] );
+ TQToolTip::add( button[ ShadeButton ], isSetShade() ? i18n("Unshade") : i18n("Shade") );
+ }
+@@ -1467,14 +1467,14 @@
+ void KeramikClient::keepAboveChange( bool )
+ {
+ if ( button[ AboveButton ] )
+- button[ AboveButton ]->tqrepaint( true );
++ button[ AboveButton ]->repaint( true );
+ }
+
+
+ void KeramikClient::keepBelowChange( bool )
+ {
+ if ( button[ BelowButton ] )
+- button[ BelowButton ]->tqrepaint( true );
++ button[ BelowButton ]->repaint( true );
+ }
+
+
+@@ -1502,21 +1502,21 @@
+ void KeramikClient::slotAbove()
+ {
+ setKeepAbove( !keepAbove());
+- button[ AboveButton ]->tqrepaint( true );
++ button[ AboveButton ]->repaint( true );
+ }
+
+
+ void KeramikClient::slotBelow()
+ {
+ setKeepBelow( !keepBelow());
+- button[ BelowButton ]->tqrepaint( true );
++ button[ BelowButton ]->repaint( true );
+ }
+
+
+ void KeramikClient::slotShade()
+ {
+ setShade( !isSetShade());
+- button[ ShadeButton ]->tqrepaint( true );
++ button[ ShadeButton ]->repaint( true );
+ }
+
+
+@@ -1794,9 +1794,9 @@
+ }
+
+
+-TQSize KeramikClient::tqminimumSize() const
++TQSize KeramikClient::minimumSize() const
+ {
+- return widget()->tqminimumSize();
++ return widget()->minimumSize();
+ }
+
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/keramik/keramik.h v3.5.13-sru/kwin/clients/keramik/keramik.h
+--- /tmp/stable//kdebase/kwin/clients/keramik/keramik.h 2011-09-19 16:26:16.000000000 +0200
++++ v3.5.13-sru/kwin/clients/keramik/keramik.h 2012-09-08 19:41:29.000000000 +0200
+@@ -148,7 +148,7 @@
+ virtual Position mousePosition( const TQPoint& p ) const;
+ virtual void borders( int& left, int& right, int& top, int& bottom ) const;
+ virtual void resize( const TQSize& s );
+- virtual TQSize tqminimumSize() const;
++ virtual TQSize minimumSize() const;
+ virtual bool eventFilter( TQObject* o, TQEvent* e );
+ virtual void activeChange();
+ virtual void captionChange();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/kwmtheme/cli_installer/main.cpp v3.5.13-sru/kwin/clients/kwmtheme/cli_installer/main.cpp
+--- /tmp/stable//kdebase/kwin/clients/kwmtheme/cli_installer/main.cpp 2011-03-12 07:58:03.000000000 +0100
++++ v3.5.13-sru/kwin/clients/kwmtheme/cli_installer/main.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -73,36 +73,36 @@
+ input.setGroup("Window Border");
+ output->setGroup("General");
+
+- tmpStr = input.readEntry("tqshapePixmapTop");
++ tmpStr = input.readEntry("shapePixmapTop");
+ if(!tmpStr.isEmpty()){
+ copy(srcStr+tmpStr, localDirStr+tmpStr);
+ }
+ output->writeEntry("wm_top", tmpStr, true, true);
+- tmpStr = input.readEntry("tqshapePixmapBottom");
++ tmpStr = input.readEntry("shapePixmapBottom");
+ if(!tmpStr.isEmpty())
+ copy(srcStr+tmpStr, localDirStr+tmpStr);
+ output->writeEntry("wm_bottom", tmpStr, true, true);
+- tmpStr = input.readEntry("tqshapePixmapLeft");
++ tmpStr = input.readEntry("shapePixmapLeft");
+ if(!tmpStr.isEmpty())
+ copy(srcStr+tmpStr, localDirStr+tmpStr);
+ output->writeEntry("wm_left", tmpStr, true, true);
+- tmpStr = input.readEntry("tqshapePixmapRight");
++ tmpStr = input.readEntry("shapePixmapRight");
+ if(!tmpStr.isEmpty())
+ copy(srcStr+tmpStr, localDirStr+tmpStr);
+ output->writeEntry("wm_right", tmpStr, true, true);
+- tmpStr = input.readEntry("tqshapePixmapTopLeft");
++ tmpStr = input.readEntry("shapePixmapTopLeft");
+ if(!tmpStr.isEmpty())
+ copy(srcStr+tmpStr, localDirStr+tmpStr);
+ output->writeEntry("wm_topleft", tmpStr, true, true);
+- tmpStr = input.readEntry("tqshapePixmapTopRight");
++ tmpStr = input.readEntry("shapePixmapTopRight");
+ if(!tmpStr.isEmpty())
+ copy(srcStr+tmpStr, localDirStr+tmpStr);
+ output->writeEntry("wm_topright", tmpStr, true, true);
+- tmpStr = input.readEntry("tqshapePixmapBottomLeft");
++ tmpStr = input.readEntry("shapePixmapBottomLeft");
+ if(!tmpStr.isEmpty())
+ copy(srcStr+tmpStr, localDirStr+tmpStr);
+ output->writeEntry("wm_bottomleft", tmpStr, true, true);
+- tmpStr = input.readEntry("tqshapePixmapBottomRight");
++ tmpStr = input.readEntry("shapePixmapBottomRight");
+ if(!tmpStr.isEmpty())
+ copy(srcStr+tmpStr, localDirStr+tmpStr);
+ output->writeEntry("wm_bottomright", tmpStr, true, true);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/kwmtheme/kwmthemeclient.cpp v3.5.13-sru/kwin/clients/kwmtheme/kwmthemeclient.cpp
+--- /tmp/stable//kdebase/kwin/clients/kwmtheme/kwmthemeclient.cpp 2011-08-11 07:25:42.000000000 +0200
++++ v3.5.13-sru/kwin/clients/kwmtheme/kwmthemeclient.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -231,7 +231,7 @@
+ int offset = (isDown() && ((pixmap()->width() >= width()) ||
+ (pixmap()->height() >= height()))) ? 1 : 0;
+ style().drawItem(p, TQRect( offset, offset, width(), height() ),
+- AlignCenter, tqcolorGroup(),
++ AlignCenter, colorGroup(),
+ true, pixmap(), TQString::null);
+ }
+ }
+@@ -364,7 +364,7 @@
+ p.begin(&buffer);
+
+ if(titleSunken){
+- qDrawShadeRect(&p, r, options()->tqcolorGroup(KDecorationOptions::ColorFrame, isActive()),
++ qDrawShadeRect(&p, r, options()->colorGroup(KDecorationOptions::ColorFrame, isActive()),
+ true, 1, 0);
+ r.setRect(r.x()+1, r.y()+1, r.width()-2, r.height()-2);
+ }
+@@ -384,7 +384,7 @@
+ p.drawTiledPixmap(r, *fill);
+ }
+ else{
+- p.fillRect(r, options()->tqcolorGroup(KDecorationOptions::ColorTitleBar, isActive()).
++ p.fillRect(r, options()->colorGroup(KDecorationOptions::ColorTitleBar, isActive()).
+ brush(TQColorGroup::Button));
+ }
+ p.setFont(options()->font(isActive()));
+@@ -402,12 +402,12 @@
+ void KWMThemeClient::resizeEvent( TQResizeEvent* )
+ {
+ doShape();
+- widget()->tqrepaint();
++ widget()->repaint();
+ }
+
+ void KWMThemeClient::captionChange()
+ {
+- widget()->tqrepaint( titlebar->geometry(), false );
++ widget()->repaint( titlebar->geometry(), false );
+ }
+
+ void KWMThemeClient::paintEvent( TQPaintEvent *)
+@@ -557,7 +557,7 @@
+ }
+ drawTitle(p);
+
+- TQColor c = widget()->tqcolorGroup().background();
++ TQColor c = widget()->colorGroup().background();
+
+ // KWM evidently had a 1 pixel border around the client window. We
+ // emulate it here, but should be removed at some point in order to
+@@ -576,10 +576,10 @@
+ void KWMThemeClient::doShape()
+ {
+
+- TQBitmap tqshapemask(width(), height());
+- tqshapemask.fill(color0);
++ TQBitmap shapemask(width(), height());
++ shapemask.fill(color0);
+ TQPainter p;
+- p.begin(&tqshapemask);
++ p.begin(&shapemask);
+ p.setBrush(color1);
+ p.setPen(color1);
+ int x,y;
+@@ -740,14 +740,14 @@
+ }
+ }
+ p.fillRect(maxExtent-1, maxExtent-1, width()-2*maxExtent+2, height()-2*maxExtent+2, color1);
+- setMask(tqshapemask);
++ setMask(shapemask);
+ }
+
+
+ void KWMThemeClient::showEvent(TQShowEvent *)
+ {
+ doShape();
+- widget()->tqrepaint(false);
++ widget()->repaint(false);
+ }
+
+ void KWMThemeClient::mouseDoubleClickEvent( TQMouseEvent * e )
+@@ -868,9 +868,9 @@
+ }
+ }
+
+-TQSize KWMThemeClient::tqminimumSize() const
++TQSize KWMThemeClient::minimumSize() const
+ {
+- return widget()->tqminimumSize().expandedTo( TQSize( 100, 50 ));
++ return widget()->minimumSize().expandedTo( TQSize( 100, 50 ));
+ }
+
+ void KWMThemeClient::resize( const TQSize& s )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/kwmtheme/kwmthemeclient.h v3.5.13-sru/kwin/clients/kwmtheme/kwmthemeclient.h
+--- /tmp/stable//kdebase/kwin/clients/kwmtheme/kwmthemeclient.h 2011-03-12 07:58:03.000000000 +0100
++++ v3.5.13-sru/kwin/clients/kwmtheme/kwmthemeclient.h 2012-09-08 19:41:29.000000000 +0200
+@@ -30,7 +30,7 @@
+ ~KWMThemeClient(){;}
+ void init();
+ void resize( const TQSize& s );
+- TQSize tqminimumSize() const;
++ TQSize minimumSize() const;
+ void borders( int& left, int& right, int& top, int& bottom ) const;
+ protected:
+ void doShape();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/laptop/laptopclient.cpp v3.5.13-sru/kwin/clients/laptop/laptopclient.cpp
+--- /tmp/stable//kdebase/kwin/clients/laptop/laptopclient.cpp 2011-03-12 07:58:03.000000000 +0100
++++ v3.5.13-sru/kwin/clients/laptop/laptopclient.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -157,7 +157,7 @@
+ KPixmapEffect::VerticalGradient);
+ }
+ // buttons (active/inactive, sunken/unsunken, 2 sizes each)
+- TQColorGroup g = options()->tqcolorGroup(KDecoration::ColorButtonBg, true);
++ TQColorGroup g = options()->colorGroup(KDecoration::ColorButtonBg, true);
+ TQColor c = g.background();
+ btnPix1 = new KPixmap;
+ btnPix1->resize(btnWidth1, titleHeight);
+@@ -184,7 +184,7 @@
+ KPixmapEffect::DiagonalGradient);
+ KPixmapEffect::gradient(*btnDownPix2, c.dark(130), c.light(120),
+ KPixmapEffect::DiagonalGradient);
+- g = options()->tqcolorGroup(KDecoration::ColorButtonBg, false);
++ g = options()->colorGroup(KDecoration::ColorButtonBg, false);
+ c = g.background();
+ KPixmapEffect::gradient(*iBtnPix1, c.light(120), c.dark(130),
+ KPixmapEffect::DiagonalGradient);
+@@ -200,20 +200,20 @@
+ btnDownPix1->fill(c.rgb());
+ btnPix2->fill(c.rgb());
+ btnDownPix2->fill(c.rgb());
+- g = options()->tqcolorGroup(KDecoration::ColorButtonBg, false);
++ g = options()->colorGroup(KDecoration::ColorButtonBg, false);
+ c = g.background();
+ iBtnPix1->fill(c.rgb());
+ iBtnDownPix1->fill(c.rgb());
+ iBtnPix2->fill(c.rgb());
+ iBtnDownPix2->fill(c.rgb());
+ }
+- g = options()->tqcolorGroup(KDecoration::ColorButtonBg, true);
++ g = options()->colorGroup(KDecoration::ColorButtonBg, true);
+ c = g.background();
+ drawButtonFrame(btnPix1, g, false);
+ drawButtonFrame(btnDownPix1, g, true);
+ drawButtonFrame(btnPix2, g, false);
+ drawButtonFrame(btnDownPix2, g, true);
+- g = options()->tqcolorGroup(KDecoration::ColorButtonBg, false);
++ g = options()->colorGroup(KDecoration::ColorButtonBg, false);
+ c = g.background();
+ drawButtonFrame(iBtnPix1, g, false);
+ drawButtonFrame(iBtnDownPix1, g, true);
+@@ -293,7 +293,7 @@
+ deco.fill(Qt::color0);
+ }
+ deco.setMask(deco);
+- tqrepaint();
++ repaint();
+ }
+
+ void LaptopButton::drawButton(TQPainter *p)
+@@ -314,7 +314,7 @@
+ }
+ }
+ else{
+- TQColorGroup g = options()->tqcolorGroup(KDecoration::ColorButtonBg, decoration()->isActive());
++ TQColorGroup g = options()->colorGroup(KDecoration::ColorButtonBg, decoration()->isActive());
+ int w = width();
+ int h = height();
+ p->fillRect(1, 1, w-2, h-2, isDown() ? g.mid() : g.button());
+@@ -469,7 +469,7 @@
+ void LaptopClient::paintEvent( TQPaintEvent* )
+ {
+ TQPainter p(widget());
+- TQColorGroup g = options()->tqcolorGroup(KDecoration::ColorFrame, isActive());
++ TQColorGroup g = options()->colorGroup(KDecoration::ColorFrame, isActive());
+
+ TQRect r(widget()->rect());
+ p.setPen(Qt::black);
+@@ -546,7 +546,7 @@
+
+ p.setFont(options()->font(false, isToolWindow() ));
+ TQFontMetrics fm(options()->font(false));
+- g = options()->tqcolorGroup(KDecoration::ColorTitleBar, false);
++ g = options()->colorGroup(KDecoration::ColorTitleBar, false);
+ if(iUpperGradient)
+ p.drawTiledPixmap(r.x()+((r.width()-fm.width(caption()))/2)-4,
+ r.y(), fm.width(caption())+8, r.height()-1,
+@@ -564,7 +564,7 @@
+ p.setPen(options()->color(KDecoration::ColorFont, false));
+ p.drawText(r.x(), r.y(), r.width(), r.height()-1,
+ AlignCenter, caption() );
+- g = options()->tqcolorGroup(KDecoration::ColorFrame, true);
++ g = options()->colorGroup(KDecoration::ColorFrame, true);
+ p.setPen(g.background());
+ p.drawPoint(r.x(), r.y());
+ p.drawPoint(r.right(), r.y());
+@@ -629,7 +629,7 @@
+
+ p.setFont(options()->font(true, isToolWindow() ));
+ TQFontMetrics fm(options()->font(true));
+- TQColorGroup g = options()->tqcolorGroup(KDecoration::ColorTitleBar, true);
++ TQColorGroup g = options()->colorGroup(KDecoration::ColorTitleBar, true);
+ if(aUpperGradient)
+ p.drawTiledPixmap(r.x()+((r.width()-fm.width(caption()))/2)-4,
+ r.y(), fm.width(caption())+8, r.height()-1,
+@@ -647,7 +647,7 @@
+ p.setPen(options()->color(KDecoration::ColorFont, true));
+ p.drawText(r.x(), r.y(), r.width(), r.height()-1,
+ AlignCenter, caption() );
+- g = options()->tqcolorGroup(KDecoration::ColorFrame, true);
++ g = options()->colorGroup(KDecoration::ColorFrame, true);
+ p.setPen(g.background());
+ p.drawPoint(r.x(), r.y());
+ p.drawPoint(r.right(), r.y());
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/modernsystem/config/config.cpp v3.5.13-sru/kwin/clients/modernsystem/config/config.cpp
+--- /tmp/stable//kdebase/kwin/clients/modernsystem/config/config.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/modernsystem/config/config.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -59,11 +59,11 @@
+
+ bool rtl = kapp->reverseLayout();
+ label1 = new TQLabel(i18n("Small"), hbox);
+- label1->tqsetAlignment(rtl ? AlignRight : AlignLeft);
++ label1->setAlignment(rtl ? AlignRight : AlignLeft);
+ label2 = new TQLabel(i18n("Medium"), hbox);
+- label2->tqsetAlignment(AlignHCenter);
++ label2->setAlignment(AlignHCenter);
+ label3 = new TQLabel(i18n("Large"), hbox);
+- label3->tqsetAlignment(rtl ? AlignLeft : AlignRight);
++ label3->setAlignment(rtl ? AlignLeft : AlignRight);
+
+ vbox->addWidget(handleBox);
+ vbox->addStretch(1);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/modernsystem/modernsys.cpp v3.5.13-sru/kwin/clients/modernsystem/modernsys.cpp
+--- /tmp/stable//kdebase/kwin/clients/modernsystem/modernsys.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/modernsystem/modernsys.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -171,13 +171,13 @@
+ KPixmapEffect::VerticalGradient);
+ }
+ // buttons
+- TQColorGroup btnColor(options()->tqcolorGroup(KDecoration::ColorButtonBg, true));
++ TQColorGroup btnColor(options()->colorGroup(KDecoration::ColorButtonBg, true));
+ buttonPix = new TQPixmap(14, 15);
+ make_button_fx(btnColor, buttonPix);
+ buttonPixDown = new TQPixmap(14, 15);
+ make_button_fx(btnColor, buttonPixDown, true);
+
+- btnColor = options()->tqcolorGroup(KDecoration::ColorButtonBg, false);
++ btnColor = options()->colorGroup(KDecoration::ColorButtonBg, false);
+ iButtonPix = new TQPixmap(14, 15);
+ make_button_fx(btnColor, iButtonPix);
+ iButtonPixDown = new TQPixmap(14, 15);
+@@ -515,7 +515,7 @@
+ p.drawTiledPixmap(0, 0, width(), title_height+2, *aUpperGradient);
+ else
+ p.fillRect(0, 0, width(), title_height+2,
+- options()->tqcolorGroup(ColorTitleBar, true).
++ options()->colorGroup(ColorTitleBar, true).
+ brush(TQColorGroup::Button));
+
+ TQRect t = titleRect(); // titlebar->geometry();
+@@ -554,7 +554,7 @@
+ void ModernSys::drawRoundFrame(TQPainter &p, int x, int y, int w, int h)
+ {
+ kDrawRoundButton(&p, x, y, w, h,
+- options()->tqcolorGroup(ColorFrame, isActive()), false);
++ options()->colorGroup(ColorFrame, isActive()), false);
+
+ }
+
+@@ -570,9 +570,9 @@
+ TQPainter p( widget() );
+ TQRect t = titleRect(); // titlebar->geometry();
+
+- TQBrush fillBrush(widget()->tqcolorGroup().tqbrush(TQColorGroup::Background).pixmap() ?
+- widget()->tqcolorGroup().brush(TQColorGroup::Background) :
+- options()->tqcolorGroup(ColorFrame, isActive()).
++ TQBrush fillBrush(widget()->colorGroup().brush(TQColorGroup::Background).pixmap() ?
++ widget()->colorGroup().brush(TQColorGroup::Background) :
++ options()->colorGroup(ColorFrame, isActive()).
+ brush(TQColorGroup::Button));
+
+ p.fillRect(1, title_height+3, width()-2, height()-(title_height+3), fillBrush);
+@@ -586,7 +586,7 @@
+ int h = height() - hw;
+
+ // titlebar
+- TQColorGroup g = options()->tqcolorGroup(ColorTitleBar, isActive());
++ TQColorGroup g = options()->colorGroup(ColorTitleBar, isActive());
+ if(isActive()){
+ p.drawPixmap(1, 1, titleBuffer, 0, 0, w-2, title_height+2);
+ }
+@@ -609,7 +609,7 @@
+ p.drawLine(0, title_height+2, w-2, title_height+2);
+
+ // frame
+- g = options()->tqcolorGroup(ColorFrame, isActive());
++ g = options()->colorGroup(ColorFrame, isActive());
+ p.setPen(g.light());
+ p.drawLine(1, title_height+3, 1, h-2);
+ p.setPen(g.dark());
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/plastik/plastikbutton.cpp v3.5.13-sru/kwin/clients/plastik/plastikbutton.cpp
+--- /tmp/stable//kdebase/kwin/clients/plastik/plastikbutton.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/plastik/plastikbutton.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -140,7 +140,7 @@
+ }
+ }
+
+- tqrepaint(false);
++ repaint(false);
+ }
+
+ void PlastikButton::enterEvent(TQEvent *e)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/plastik/plastikclient.cpp v3.5.13-sru/kwin/clients/plastik/plastikclient.cpp
+--- /tmp/stable//kdebase/kwin/clients/plastik/plastikclient.cpp 2011-08-11 07:25:42.000000000 +0200
++++ v3.5.13-sru/kwin/clients/plastik/plastikclient.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -435,7 +435,7 @@
+ {
+ if (changed & SettingColors)
+ {
+- // tqrepaint the whole thing
++ // repaint the whole thing
+ clearCaptionPixmaps();
+ widget()->update();
+ updateButtons();
+@@ -445,7 +445,7 @@
+
+ updateLayout();
+
+- // then tqrepaint
++ // then repaint
+ clearCaptionPixmaps();
+ widget()->update();
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/plastik/plastik.cpp v3.5.13-sru/kwin/clients/plastik/plastik.cpp
+--- /tmp/stable//kdebase/kwin/clients/plastik/plastik.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/plastik/plastik.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -290,7 +290,7 @@
+ } else {
+ pm = new TQPixmap(1, titleBarTileHeight);
+ painter.begin(pm);
+- painter.tqdrawPixmap(0, 0, gradient, 0,2);
++ painter.drawPixmap(0, 0, gradient, 0,2);
+ if (m_coloredBorder) {
+ painter.setPen(getColor(TitleGradient3, active).dark(110) );
+ } else {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/quartz/quartz.cpp v3.5.13-sru/kwin/clients/quartz/quartz.cpp
+--- /tmp/stable//kdebase/kwin/clients/quartz/quartz.cpp 2011-08-11 07:25:42.000000000 +0200
++++ v3.5.13-sru/kwin/clients/quartz/quartz.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -291,18 +291,18 @@
+ void QuartzHandler::createPixmaps()
+ {
+ // Obtain titlebar blend colours, and create the block stuff on pixmaps.
+- TQColorGroup g2 = options()->tqcolorGroup(ColorTitleBlend, true);
++ TQColorGroup g2 = options()->colorGroup(ColorTitleBlend, true);
+ TQColor c2 = g2.background();
+- g2 = options()->tqcolorGroup(ColorTitleBar, true );
++ g2 = options()->colorGroup(ColorTitleBar, true );
+ TQColor c = g2.background().light(130);
+
+ titleBlocks = new KPixmap();
+ titleBlocks->resize( normalTitleHeight*25/18, normalTitleHeight );
+ drawBlocks( titleBlocks, *titleBlocks, c, c2 );
+
+- g2 = options()->tqcolorGroup(ColorTitleBlend, false);
++ g2 = options()->colorGroup(ColorTitleBlend, false);
+ c2 = g2.background();
+- g2 = options()->tqcolorGroup(ColorTitleBar, false );
++ g2 = options()->colorGroup(ColorTitleBar, false );
+ c = g2.background().light(130);
+
+ ititleBlocks = new KPixmap();
+@@ -313,9 +313,9 @@
+ TQColorGroup g;
+ TQPainter p;
+
+- g = options()->tqcolorGroup( onAllDesktopsButtonOnLeft ? ColorTitleBar : ColorTitleBlend, true );
++ g = options()->colorGroup( onAllDesktopsButtonOnLeft ? ColorTitleBar : ColorTitleBlend, true );
+ c = onAllDesktopsButtonOnLeft ? TQColor(g.background().light(130)) : g.background();
+- g2 = options()->tqcolorGroup( ColorButtonBg, true );
++ g2 = options()->colorGroup( ColorButtonBg, true );
+
+ pinUpPix = new KPixmap();
+ pinUpPix->resize(16, 16);
+@@ -335,9 +335,9 @@
+
+
+ // Inactive pins
+- g = options()->tqcolorGroup( onAllDesktopsButtonOnLeft ? ColorTitleBar : ColorTitleBlend, false );
++ g = options()->colorGroup( onAllDesktopsButtonOnLeft ? ColorTitleBar : ColorTitleBlend, false );
+ c = onAllDesktopsButtonOnLeft ? TQColor(g.background().light(130)) : g.background();
+- g2 = options()->tqcolorGroup( ColorButtonBg, false );
++ g2 = options()->colorGroup( ColorButtonBg, false );
+
+ ipinUpPix = new KPixmap();
+ ipinUpPix->resize(16, 16);
+@@ -437,7 +437,7 @@
+ if (bitmap) {
+ deco = new TQBitmap(10, 10, bitmap, true);
+ deco->setMask( *deco );
+- tqrepaint( false );
++ repaint( false );
+ }
+ }
+
+@@ -643,8 +643,8 @@
+ {
+ if (changed & SettingColors || changed & SettingFont)
+ {
+- // tqrepaint the whole thing
+- widget()->tqrepaint(false);
++ // repaint the whole thing
++ widget()->repaint(false);
+ }
+
+ KCommonDecoration::reset(changed);
+@@ -675,9 +675,9 @@
+ // Draw part of the frame that is the title color
+
+ if( coloredFrame )
+- g = options()->tqcolorGroup(ColorTitleBar, isActive());
++ g = options()->colorGroup(ColorTitleBar, isActive());
+ else
+- g = options()->tqcolorGroup(ColorFrame, isActive());
++ g = options()->colorGroup(ColorFrame, isActive());
+
+ // Draw outer highlights and lowlights
+ p.setPen( g.light().light(120) );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/redmond/redmond.cpp v3.5.13-sru/kwin/clients/redmond/redmond.cpp
+--- /tmp/stable//kdebase/kwin/clients/redmond/redmond.cpp 2011-07-30 07:15:31.000000000 +0200
++++ v3.5.13-sru/kwin/clients/redmond/redmond.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -149,7 +149,7 @@
+ defaultMenuPix = new TQPixmap(kdelogo);
+
+ // buttons (active/inactive, sunken/unsunken)
+- TQColorGroup g = options()->tqcolorGroup(KDecoration::ColorButtonBg, true);
++ TQColorGroup g = options()->colorGroup(KDecoration::ColorButtonBg, true);
+ TQColor c = g.background();
+ btnPix1->resize(normalTitleHeight, normalTitleHeight-2);
+ btnDownPix1->resize(normalTitleHeight, normalTitleHeight-2);
+@@ -172,7 +172,7 @@
+ KPixmapEffect::gradient(*miniBtnDownPix1, c.dark(130), c.light(130),
+ KPixmapEffect::VerticalGradient);
+
+- g = options()->tqcolorGroup(KDecoration::ColorButtonBg, false);
++ g = options()->colorGroup(KDecoration::ColorButtonBg, false);
+ c = g.background();
+ KPixmapEffect::gradient(*iBtnPix1, c.light(130), c.dark(130),
+ KPixmapEffect::VerticalGradient);
+@@ -188,7 +188,7 @@
+ miniBtnPix1->fill(c.rgb());
+ miniBtnDownPix1->fill(c.rgb());
+
+- g = options()->tqcolorGroup(KDecoration::ColorButtonBg, false);
++ g = options()->colorGroup(KDecoration::ColorButtonBg, false);
+ c = g.background();
+ iBtnPix1->fill(c.rgb());
+ iBtnDownPix1->fill(c.rgb());
+@@ -196,13 +196,13 @@
+ iMiniBtnDownPix1->fill(c.rgb());
+ }
+
+- g = options()->tqcolorGroup(KDecoration::ColorButtonBg, true);
++ g = options()->colorGroup(KDecoration::ColorButtonBg, true);
+ drawButtonFrame(btnPix1, g, false);
+ drawButtonFrame(btnDownPix1, g, true);
+ drawButtonFrame(miniBtnPix1, g, false);
+ drawButtonFrame(miniBtnDownPix1, g, true);
+
+- g = options()->tqcolorGroup(KDecoration::ColorButtonBg, false);
++ g = options()->colorGroup(KDecoration::ColorButtonBg, false);
+ drawButtonFrame(iBtnPix1, g, false);
+ drawButtonFrame(iBtnDownPix1, g, true);
+ drawButtonFrame(iMiniBtnPix1, g, false);
+@@ -294,7 +294,7 @@
+ deco.resize(0, 0);
+ pix = p;
+
+- tqrepaint(false);
++ repaint(false);
+ }
+
+
+@@ -491,7 +491,7 @@
+
+ // Draw part of the frame that is the frame color
+ // ==============================================
+- TQColorGroup g = options()->tqcolorGroup(KDecoration::ColorFrame, isActive());
++ TQColorGroup g = options()->colorGroup(KDecoration::ColorFrame, isActive());
+ p.setPen( g.background() );
+ p.drawLine( x, y, x2-1, y );
+ p.drawLine( x, y, x, y2-1 );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/test/test.cpp v3.5.13-sru/kwin/clients/test/test.cpp
+--- /tmp/stable//kdebase/kwin/clients/test/test.cpp 2011-03-12 07:58:03.000000000 +0100
++++ v3.5.13-sru/kwin/clients/test/test.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -93,7 +93,7 @@
+ widget()->resize( s );
+ }
+
+-TQSize Decoration::tqminimumSize() const
++TQSize Decoration::minimumSize() const
+ {
+ return TQSize( 100, 50 );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/test/test.h v3.5.13-sru/kwin/clients/test/test.h
+--- /tmp/stable//kdebase/kwin/clients/test/test.h 2011-03-12 07:58:03.000000000 +0100
++++ v3.5.13-sru/kwin/clients/test/test.h 2012-09-08 19:41:29.000000000 +0200
+@@ -22,7 +22,7 @@
+ virtual MousePosition mousePosition( const TQPoint& p ) const;
+ virtual void borders( int& left, int& right, int& top, int& bottom ) const;
+ virtual void resize( const TQSize& s );
+- virtual TQSize tqminimumSize() const;
++ virtual TQSize minimumSize() const;
+ virtual void activeChange() {};
+ virtual void captionChange() {};
+ virtual void maximizeChange() {};
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/web/WebButton.cpp v3.5.13-sru/kwin/clients/web/WebButton.cpp
+--- /tmp/stable//kdebase/kwin/clients/web/WebButton.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/web/WebButton.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -69,10 +69,10 @@
+ 0xff, 0x81, 0x81, 0xff, 0x81, 0xff, 0x81, 0xff
+ };
+
+-WebButton::WebButton(ButtonType type, WebClient *parent, const char *name, bool tqshape)
++WebButton::WebButton(ButtonType type, WebClient *parent, const char *name, bool shape)
+ : KCommonDecorationButton (type, parent, name),
+ mouseOver_ (false),
+- tqshape_ (tqshape),
++ shape_ (shape),
+ deco_ (parent)
+ {
+ setBackgroundMode(NoBackground);
+@@ -127,7 +127,7 @@
+ WebButton::enterEvent(TQEvent * e)
+ {
+ mouseOver_ = true;
+- tqrepaint();
++ repaint();
+ TQButton::enterEvent(e);
+ }
+
+@@ -135,7 +135,7 @@
+ WebButton::leaveEvent(TQEvent * e)
+ {
+ mouseOver_ = false;
+- tqrepaint();
++ repaint();
+ TQButton::leaveEvent(e);
+ }
+
+@@ -145,17 +145,17 @@
+ TQPen highlightPen;
+
+ if (isDown() )
+- highlightPen = TQPen(tqcolorGroup().light());
++ highlightPen = TQPen(colorGroup().light());
+
+ else
+ {
+ if (mouseOver_)
+- highlightPen = TQPen(tqcolorGroup().highlight());
++ highlightPen = TQPen(colorGroup().highlight());
+ else
+ highlightPen = TQPen(NoPen);
+ }
+
+- p->fillRect(rect(), tqcolorGroup().background());
++ p->fillRect(rect(), colorGroup().background());
+
+ Position position_;
+ if (0 == mapToParent(rect().topLeft() ).x() )
+@@ -174,7 +174,7 @@
+
+ p->drawLine(0, 0, width(), 0);
+ p->drawLine(0, 1, 0, height() - 1);
+- if (tqshape_)
++ if (shape_)
+ {
+ p->drawPoint(3, 1);
+ p->drawPoint(4, 1);
+@@ -187,11 +187,11 @@
+ p->setBrush(NoBrush);
+ p->setPen(highlightPen);
+
+- if (tqshape_)
++ if (shape_)
+ p->setClipRegion(TQRegion(rect()) - TQRect(0, 0, 6, 6));
+
+ p->drawRect(2, 2, width() - 4, height() - 4);
+- if (tqshape_)
++ if (shape_)
+ {
+ p->setClipRect(rect());
+ p->drawPoint(4, 3);
+@@ -210,7 +210,7 @@
+ p->setPen(Qt::black);
+ p->drawLine(0, 0, width(), 0);
+ p->drawLine(width() - 1, 1, width() - 1, height() - 1);
+- if (tqshape_)
++ if (shape_)
+ {
+ p->drawPoint(width() - 5, 1);
+ p->drawPoint(width() - 4, 1);
+@@ -223,11 +223,11 @@
+ p->setBrush(NoBrush);
+ p->setPen(highlightPen);
+
+- if (tqshape_)
++ if (shape_)
+ p->setClipRegion(TQRegion(rect()) - TQRect(width() - 6, 0, 6, 6));
+
+ p->drawRect(2, 2, width() - 4, height() - 4);
+- if (tqshape_)
++ if (shape_)
+ {
+ p->setClipRect(rect());
+ p->drawPoint(width() - 5, 3);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/web/WebButton.h v3.5.13-sru/kwin/clients/web/WebButton.h
+--- /tmp/stable//kdebase/kwin/clients/web/WebButton.h 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/web/WebButton.h 2012-09-08 19:41:29.000000000 +0200
+@@ -41,7 +41,7 @@
+ Left, Mid, Right
+ };
+
+- WebButton(ButtonType type, WebClient *parent, const char *name, bool tqshape);
++ WebButton(ButtonType type, WebClient *parent, const char *name, bool shape);
+
+ virtual ~WebButton();
+
+@@ -59,7 +59,7 @@
+
+ bool mouseOver_;
+
+- bool tqshape_;
++ bool shape_;
+ WebClient* deco_;
+ };
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/web/Web.cpp v3.5.13-sru/kwin/clients/web/Web.cpp
+--- /tmp/stable//kdebase/kwin/clients/web/Web.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/web/Web.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -120,31 +120,31 @@
+ {
+ switch (type) {
+ case MenuButton:
+- return new WebButton(MenuButton, this, "menu", tqshape_);
++ return new WebButton(MenuButton, this, "menu", shape_);
+
+ case OnAllDesktopsButton:
+- return new WebButton(OnAllDesktopsButton, this, "on_all_desktops", tqshape_);
++ return new WebButton(OnAllDesktopsButton, this, "on_all_desktops", shape_);
+
+ case HelpButton:
+- return new WebButton(HelpButton, this, "help", tqshape_);
++ return new WebButton(HelpButton, this, "help", shape_);
+
+ case MinButton:
+- return new WebButton(MinButton, this, "minimize", tqshape_);
++ return new WebButton(MinButton, this, "minimize", shape_);
+
+ case MaxButton:
+- return new WebButton(MaxButton, this, "maximize", tqshape_);
++ return new WebButton(MaxButton, this, "maximize", shape_);
+
+ case CloseButton:
+- return new WebButton(CloseButton, this, "close", tqshape_);
++ return new WebButton(CloseButton, this, "close", shape_);
+
+ case AboveButton:
+- return new WebButton(AboveButton, this, "above", tqshape_);
++ return new WebButton(AboveButton, this, "above", shape_);
+
+ case BelowButton:
+- return new WebButton(BelowButton, this, "below", tqshape_);
++ return new WebButton(BelowButton, this, "below", shape_);
+
+ case ShadeButton:
+- return new WebButton(ShadeButton, this, "shade", tqshape_);
++ return new WebButton(ShadeButton, this, "shade", shape_);
+
+ default:
+ return 0;
+@@ -185,7 +185,7 @@
+
+ KConfig c("kwinwebrc");
+ c.setGroup("General");
+- tqshape_ = c.readBoolEntry("Shape", true);
++ shape_ = c.readBoolEntry("Shape", true);
+
+ KCommonDecoration::init();
+ }
+@@ -195,8 +195,8 @@
+ {
+ if (changed & SettingColors)
+ {
+- // tqrepaint the whole thing
+- widget()->tqrepaint(false);
++ // repaint the whole thing
++ widget()->repaint(false);
+ } else if (changed & SettingFont) {
+ // font has changed -- update title height
+ // title height
+@@ -206,7 +206,7 @@
+ if (0 != titleHeight_ % 2)
+ titleHeight_ += 1;
+
+- widget()->tqrepaint(false);
++ widget()->repaint(false);
+ }
+
+ KCommonDecoration::reset(changed);
+@@ -231,7 +231,7 @@
+ TQPainter p(widget());
+
+ p.setPen(Qt::black);
+- p.setBrush(options()->tqcolorGroup(ColorFrame, isActive()).background());
++ p.setBrush(options()->colorGroup(ColorFrame, isActive()).background());
+
+ p.setClipRegion(pe->region() - titleRect);
+
+@@ -241,7 +241,7 @@
+
+ p.fillRect(titleRect, options()->color(ColorTitleBar, isActive()));
+
+- if (tqshape_)
++ if (shape_)
+ {
+ int r(width());
+ int b(height());
+@@ -288,7 +288,7 @@
+
+ void WebClient::updateWindowShape()
+ {
+- if (!tqshape_)
++ if (!shape_)
+ return;
+
+ TQRegion mask(0, 0, width(), height());
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/clients/web/Web.h v3.5.13-sru/kwin/clients/web/Web.h
+--- /tmp/stable//kdebase/kwin/clients/web/Web.h 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/clients/web/Web.h 2012-09-08 19:41:29.000000000 +0200
+@@ -62,7 +62,7 @@
+
+ int titleHeight_, borderSize_;
+
+- bool tqshape_;
++ bool shape_;
+
+ TQBitmap _buttonBitmap(ButtonType t) const;
+ };
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/events.cpp v3.5.13-sru/kwin/events.cpp
+--- /tmp/stable//kdebase/kwin/events.cpp 2011-08-11 07:25:43.000000000 +0200
++++ v3.5.13-sru/kwin/events.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -626,9 +626,9 @@
+ default:
+ if( e->xany.window == window())
+ {
+- if( e->type == Shape::tqshapeEvent() )
++ if( e->type == Shape::shapeEvent() )
+ {
+- is_tqshape = Shape::hasShape( window()); // workaround for #19644
++ is_shape = Shape::hasShape( window()); // workaround for #19644
+ updateShape();
+ }
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/geometry.cpp v3.5.13-sru/kwin/geometry.cpp
+--- /tmp/stable//kdebase/kwin/geometry.cpp 2011-09-14 07:31:14.000000000 +0200
++++ v3.5.13-sru/kwin/geometry.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -1120,7 +1120,7 @@
+ TQSize max_size = maxSize();
+ if( decoration != NULL )
+ {
+- TQSize decominsize = decoration->tqminimumSize();
++ TQSize decominsize = decoration->minimumSize();
+ TQSize border_size( border_left + border_right, border_top + border_bottom );
+ if( border_size.width() > decominsize.width()) // just in case
+ decominsize.setWidth( border_size.width());
+@@ -2637,7 +2637,7 @@
+ ( isResize() ? options->resizeMode : options->moveMode ) == Options::Transparent )
+ {
+ clearbound(); // it's necessary to move the geometry tip when there's no outline
+- positionGeometryTip(); // shown, otherwise it would cause tqrepaint problems in case
++ positionGeometryTip(); // shown, otherwise it would cause repaint problems in case
+ drawbound( moveResizeGeom ); // they overlap; the paint event will come after this,
+ } // so the geometry tip will be painted above the outline
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/geometrytip.cpp v3.5.13-sru/kwin/geometrytip.cpp
+--- /tmp/stable//kdebase/kwin/geometrytip.cpp 2011-07-18 08:45:48.000000000 +0200
++++ v3.5.13-sru/kwin/geometrytip.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -20,7 +20,7 @@
+ setIndent(0);
+ setLineWidth(1);
+ setFrameStyle( TQFrame::Raised | TQFrame::StyledPanel );
+- tqsetAlignment( AlignCenter | AlignTop );
++ setAlignment( AlignCenter | AlignTop );
+ sizeHints = xSizeHints;
+ if( save_under )
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwindecoration/buttons.cpp v3.5.13-sru/kwin/kcmkwin/kwindecoration/buttons.cpp
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwindecoration/buttons.cpp 2011-08-11 07:25:42.000000000 +0200
++++ v3.5.13-sru/kwin/kcmkwin/kwindecoration/buttons.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -54,7 +54,7 @@
+ TQDataStream stream(data, IO_WriteOnly);
+ stream << btn.name;
+ stream << btn.icon;
+- stream << btn.type.tqunicode();
++ stream << btn.type.unicode();
+ stream << (int) btn.duplicate;
+ stream << (int) btn.supported;
+ setEncodedData( data );
+@@ -123,7 +123,7 @@
+ ButtonSource::ButtonSource(TQWidget *parent, const char* name)
+ : KListView(parent, name)
+ {
+- tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
++ setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
+
+ setResizeMode(TQListView::AllColumns);
+ setDragEnabled(true);
+@@ -140,19 +140,19 @@
+ {
+ }
+
+-TQSize ButtonSource::tqsizeHint() const
++TQSize ButtonSource::sizeHint() const
+ {
+- // make the tqsizeHint height a bit smaller than the one of TQListView...
++ // make the sizeHint height a bit smaller than the one of TQListView...
+
+ if ( cachedSizeHint().isValid() )
+ return cachedSizeHint();
+
+ constPolish();
+
+- TQSize s( header()->tqsizeHint() );
++ TQSize s( header()->sizeHint() );
+
+ if ( verticalScrollBar()->isVisible() )
+- s.setWidth( s.width() + tqstyle().tqpixelMetric(TQStyle::PM_ScrollBarExtent) );
++ s.setWidth( s.width() + style().pixelMetric(TQStyle::PM_ScrollBarExtent) );
+ s += TQSize(frameWidth()*2,frameWidth()*2);
+
+ // size hint: 4 lines of text...
+@@ -167,7 +167,7 @@
+ {
+ TQListViewItemIterator it(this);
+ while (it.current() ) {
+- it.current()->tqsetVisible(false);
++ it.current()->setVisible(false);
+ ++it;
+ }
+ }
+@@ -176,7 +176,7 @@
+ {
+ TQListViewItemIterator it(this);
+ while (it.current() ) {
+- it.current()->tqsetVisible(true);
++ it.current()->setVisible(true);
+ ++it;
+ }
+ }
+@@ -187,7 +187,7 @@
+ while (it.current() ) {
+ ButtonSourceItem *item = dynamic_cast<ButtonSourceItem*>(it.current() );
+ if (item && item->button().type == btn) {
+- it.current()->tqsetVisible(true);
++ it.current()->setVisible(true);
+ return;
+ }
+ ++it;
+@@ -200,7 +200,7 @@
+ while (it.current() ) {
+ ButtonSourceItem *item = dynamic_cast<ButtonSourceItem*>(it.current() );
+ if (item && item->button().type == btn && !item->button().duplicate) {
+- it.current()->tqsetVisible(false);
++ it.current()->setVisible(false);
+ return;
+ }
+ ++it;
+@@ -218,7 +218,7 @@
+
+ if (i) {
+ ButtonDrag *bd = new ButtonDrag(i->button(), viewport(), "button_drag");
+- bd->setPixmap(bitmapPixmap(i->button().icon, tqcolorGroup().foreground() ));
++ bd->setPixmap(bitmapPixmap(i->button().icon, colorGroup().foreground() ));
+ return bd;
+ }
+
+@@ -487,7 +487,7 @@
+ m_selected = buttonAt(e->pos() );
+ if (m_selected) {
+ ButtonDrag *bd = new ButtonDrag(m_selected->button(), this);
+- bd->setPixmap(bitmapPixmap(m_selected->button().icon, tqcolorGroup().foreground() ) );
++ bd->setPixmap(bitmapPixmap(m_selected->button().icon, colorGroup().foreground() ) );
+ bd->dragMove();
+ }
+ }
+@@ -572,7 +572,7 @@
+ delete m_selected;
+ m_selected = 0;
+ recalcItemGeometry();
+- update(); // tqrepaint...
++ update(); // repaint...
+ }
+
+ return succ;
+@@ -581,9 +581,9 @@
+ void ButtonDropSite::drawButtonList(TQPainter *p, const ButtonList& btns, int offset)
+ {
+ for (ButtonList::const_iterator it = btns.begin(); it != btns.end(); ++it) {
+- TQRect tqitemRect = (*it)->rect;
+- if (tqitemRect.isValid() ) {
+- (*it)->draw(p, tqcolorGroup(), tqitemRect);
++ TQRect itemRect = (*it)->rect;
++ if (itemRect.isValid() ) {
++ (*it)->draw(p, colorGroup(), itemRect);
+ }
+ offset += (*it)->width();
+ }
+@@ -675,11 +675,11 @@
+ m_factory(0)
+ {
+ TQVBoxLayout *layout = new TQVBoxLayout(this, 0, KDialog::spacingHint() );
+- tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Maximum);
++ setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Maximum);
+
+ TQLabel* label = new TQLabel( this );
+ m_dropSite = new ButtonDropSite( this );
+- label->tqsetAlignment( int( TQLabel::WordBreak ) );
++ label->setAlignment( int( TQLabel::WordBreak ) );
+ label->setText( i18n( "To add or remove titlebar buttons, simply <i>drag</i> items "
+ "between the available item list and the titlebar preview. Similarly, "
+ "drag items within the titlebar preview to re-position them.") );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwindecoration/buttons.h v3.5.13-sru/kwin/kcmkwin/kwindecoration/buttons.h
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwindecoration/buttons.h 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwindecoration/buttons.h 2012-09-08 19:41:29.000000000 +0200
+@@ -117,7 +117,7 @@
+ ButtonSource(TQWidget *parent = 0, const char* name = 0);
+ virtual ~ButtonSource();
+
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+
+ void hideAllButtons();
+ void showAllButtons();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwindecoration/kwindecoration.cpp v3.5.13-sru/kwin/kcmkwin/kwindecoration/kwindecoration.cpp
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwindecoration/kwindecoration.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwindecoration/kwindecoration.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -112,13 +112,13 @@
+ TQWhatsThis::add( cBorder, i18n( "Use this combobox to change the border size of the decoration." ));
+ lBorder->hide();
+ cBorder->hide();
+- TQHBoxLayout *borderSizeLayout = new TQHBoxLayout(pluginSettingsGrp->tqlayout() );
++ TQHBoxLayout *borderSizeLayout = new TQHBoxLayout(pluginSettingsGrp->layout() );
+ borderSizeLayout->addWidget(lBorder);
+ borderSizeLayout->addWidget(cBorder);
+ borderSizeLayout->addStretch();
+
+ pluginConfigWidget = new TQVBox(pluginSettingsGrp);
+- pluginSettingsGrp->tqlayout()->add( pluginConfigWidget );
++ pluginSettingsGrp->layout()->add( pluginConfigWidget );
+
+ // Page 2 (Button Selector)
+ TQWidget* buttonPage = new TQWidget( tabWidget );
+@@ -154,8 +154,8 @@
+ preview = new KDecorationPreview( this );
+ previewLayout->addWidget(preview);
+
+- preview->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
+- tabWidget->tqsetSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Maximum);
++ preview->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding);
++ tabWidget->setSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Maximum);
+
+ // Page 3 (Window Shadows)
+ TQHBox *inactiveShadowColourHBox, *shadowColourHBox;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwindecoration/preview.cpp v3.5.13-sru/kwin/kcmkwin/kwindecoration/preview.cpp
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwindecoration/preview.cpp 2011-03-12 07:58:04.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwindecoration/preview.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -49,7 +49,7 @@
+ "Most probably there\n"
+ "was a problem loading the plugin." ), this );
+
+- no_preview->tqsetAlignment( AlignCenter );
++ no_preview->setAlignment( AlignCenter );
+
+ setMinimumSize( 100, 100 );
+ no_preview->resize( size());
+@@ -127,15 +127,15 @@
+
+ // Resize the active window
+ size = TQSize( width() - xoffset, height() - titleBarHeight )
+- .expandedTo( deco[Active]->tqminimumSize() );
++ .expandedTo( deco[Active]->minimumSize() );
+ geometry = TQRect( TQPoint( 0, titleBarHeight ), size );
+- deco[Active]->widget()->setGeometry( TQStyle::tqvisualRect( geometry, this ) );
++ deco[Active]->widget()->setGeometry( TQStyle::visualRect( geometry, this ) );
+
+ // Resize the inactive window
+ size = TQSize( width() - xoffset, height() - titleBarHeight )
+- .expandedTo( deco[Inactive]->tqminimumSize() );
++ .expandedTo( deco[Inactive]->minimumSize() );
+ geometry = TQRect( TQPoint( xoffset, 0 ), size );
+- deco[Inactive]->widget()->setGeometry( TQStyle::tqvisualRect( geometry, this ) );
++ deco[Inactive]->widget()->setGeometry( TQStyle::visualRect( geometry, this ) );
+ }
+
+ void KDecorationPreview::setPreviewMask( const TQRegion& reg, int mode, bool active )
+@@ -150,7 +150,7 @@
+ }
+ else
+ {
+- TQMemArray< TQRect > rects = reg.tqrects();
++ TQMemArray< TQRect > rects = reg.rects();
+ XRectangle* xrects = new XRectangle[ rects.count() ];
+ for( unsigned int i = 0;
+ i < rects.count();
+@@ -166,7 +166,7 @@
+ delete[] xrects;
+ }
+ if( active )
+- mask = reg; // keep tqshape of the active window for unobscuredRegion()
++ mask = reg; // keep shape of the active window for unobscuredRegion()
+ }
+
+ TQRect KDecorationPreview::windowGeometry( bool active ) const
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwinoptions/mouse.cpp v3.5.13-sru/kwin/kcmkwin/kwinoptions/mouse.cpp
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwinoptions/mouse.cpp 2011-03-12 07:58:05.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwinoptions/mouse.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -163,7 +163,7 @@
+ combo->insertItem(i18n("Lower"));
+ combo->insertItem(i18n("On All Desktops"));
+ combo->insertItem(i18n("Nothing"));
+- combo->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Fixed));
++ combo->setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Fixed));
+ connect(combo, TQT_SIGNAL(activated(int)), TQT_SLOT(changed()));
+ hlayout->addWidget(combo);
+ coTiDbl = combo;
+@@ -188,7 +188,7 @@
+ comboW->insertItem(i18n("Move to Previous/Next Desktop"));
+ comboW->insertItem(i18n("Change Opacity"));
+ comboW->insertItem(i18n("Nothing"));
+- comboW->tqsetSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Fixed));
++ comboW->setSizePolicy(TQSizePolicy(TQSizePolicy::MinimumExpanding, TQSizePolicy::Fixed));
+ connect(comboW, TQT_SIGNAL(activated(int)), TQT_SLOT(changed()));
+ hlayoutW->addWidget(comboW);
+ coTiAct4 = comboW;
+@@ -235,7 +235,7 @@
+
+
+ label = new TQLabel(i18n("Active"), grid);
+- label->tqsetAlignment(AlignCenter);
++ label->setAlignment(AlignCenter);
+ TQWhatsThis::add( label, i18n("In this column you can customize mouse clicks into the titlebar"
+ " or the frame of an active window.") );
+
+@@ -292,7 +292,7 @@
+ if ( leftHandedMouse ) tqSwap(txtButton1, txtButton3);
+
+ label = new TQLabel(i18n("Inactive"), grid);
+- label->tqsetAlignment(AlignCenter);
++ label->setAlignment(AlignCenter);
+ TQWhatsThis::add( label, i18n("In this column you can customize mouse clicks into the titlebar"
+ " or the frame of an inactive window.") );
+
+@@ -356,14 +356,14 @@
+
+ TQLabel * label = new TQLabel(strMouseButton[b], box);
+ TQWhatsThis::add( label, txtButton[b] );
+- label ->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum ));
++ label ->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum ));
+
+ coMax[b] = new ToolTipComboBox(box, tbl_Max);
+ for (int t = 0; t < 3; ++t) coMax[b]->insertItem(maxButtonPixmaps[t]);
+ connect(coMax[b], TQT_SIGNAL(activated(int)), TQT_SLOT(changed()));
+ connect(coMax[b], TQT_SIGNAL(activated(int)), coMax[b], TQT_SLOT(changed()));
+ TQWhatsThis::add( coMax[b], txtButton[b] );
+- coMax[b]->tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum ));
++ coMax[b]->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Minimum ));
+ }
+
+ connect(kapp, TQT_SIGNAL(kdisplayPaletteChanged()), TQT_SLOT(paletteChanged()));
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwinoptions/windows.cpp v3.5.13-sru/kwin/kcmkwin/kwinoptions/windows.cpp
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwinoptions/windows.cpp 2011-08-26 01:00:16.000000000 +0200
++++ v3.5.13-sru/kwin/kcmkwin/kwinoptions/windows.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -110,7 +110,7 @@
+ //iTLabel = new TQLabel(i18n(" Allowed overlap:\n"
+ // "(% of desktop space)"),
+ // plcBox);
+- //iTLabel->tqsetAlignment(AlignTop|AlignHCenter);
++ //iTLabel->setAlignment(AlignTop|AlignHCenter);
+ //pLay->addWidget(iTLabel,1,1);
+
+ //interactiveTrigger = new TQSpinBox(0, 500, 1, plcBox);
+@@ -124,7 +124,7 @@
+ fcsBox = new TQButtonGroup(i18n("Focus"),this);
+ fcsBox->setColumnLayout( 0, Qt::Horizontal );
+
+- TQBoxLayout *fLay = new TQVBoxLayout(fcsBox->tqlayout(),
++ TQBoxLayout *fLay = new TQVBoxLayout(fcsBox->layout(),
+ KDialog::spacingHint());
+
+ TQBoxLayout *cLay = new TQHBoxLayout(fLay);
+@@ -192,8 +192,8 @@
+ connect(clickRaiseOn,TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(clickRaiseOnTog(bool)));
+ fLay->addWidget(clickRaiseOn);
+
+-// fLay->addColSpacing(0,QMAX(autoRaiseOn->tqsizeHint().width(),
+-// clickRaiseOn->tqsizeHint().width()) + 15);
++// fLay->addColSpacing(0,QMAX(autoRaiseOn->sizeHint().width(),
++// clickRaiseOn->sizeHint().width()) + 15);
+
+ TQWhatsThis::add( autoRaiseOn, i18n("When this option is enabled, a window in the background will automatically"
+ " come to the front when the mouse pointer has been over it for some time.") );
+@@ -236,7 +236,7 @@
+
+ kbdBox = new TQButtonGroup(i18n("Navigation"), this);
+ kbdBox->setColumnLayout( 0, Qt::Horizontal );
+- TQVBoxLayout *kLay = new TQVBoxLayout(kbdBox->tqlayout(), KDialog::spacingHint());
++ TQVBoxLayout *kLay = new TQVBoxLayout(kbdBox->layout(), KDialog::spacingHint());
+
+ altTabPopup = new TQCheckBox( i18n("Show window list while switching windows"), kbdBox );
+ kLay->addWidget( altTabPopup );
+@@ -573,7 +573,7 @@
+ //iTLabel = new TQLabel(i18n(" Allowed overlap:\n"
+ // "(% of desktop space)"),
+ // plcBox);
+- //iTLabel->tqsetAlignment(AlignTop|AlignHCenter);
++ //iTLabel->setAlignment(AlignTop|AlignHCenter);
+ //pLay->addWidget(iTLabel,1,1);
+
+ //interactiveTrigger = new TQSpinBox(0, 500, 1, plcBox);
+@@ -831,7 +831,7 @@
+ windowsBox = new TQButtonGroup(i18n("Windows"), this);
+ windowsBox->setColumnLayout( 0, Qt::Horizontal );
+
+- TQBoxLayout *wLay = new TQVBoxLayout (windowsBox->tqlayout(), KDialog::spacingHint());
++ TQBoxLayout *wLay = new TQVBoxLayout (windowsBox->layout(), KDialog::spacingHint());
+
+ TQBoxLayout *bLay = new TQVBoxLayout;
+ wLay->addLayout(bLay);
+@@ -877,11 +877,11 @@
+ connect(minimizeAnimSlider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(setMinimizeAnimSpeed(int)));
+
+ minimizeAnimSlowLabel= new TQLabel(i18n("Slow"),windowsBox);
+- minimizeAnimSlowLabel->tqsetAlignment(Qt::AlignTop|Qt::AlignLeft);
++ minimizeAnimSlowLabel->setAlignment(Qt::AlignTop|Qt::AlignLeft);
+ rLay->addWidget(minimizeAnimSlowLabel,1,1);
+
+ minimizeAnimFastLabel= new TQLabel(i18n("Fast"),windowsBox);
+- minimizeAnimFastLabel->tqsetAlignment(Qt::AlignTop|Qt::AlignRight);
++ minimizeAnimFastLabel->setAlignment(Qt::AlignTop|Qt::AlignRight);
+ rLay->addWidget(minimizeAnimFastLabel,1,2);
+
+ wtstr = i18n("Here you can set the speed of the animation shown when windows are"
+@@ -940,7 +940,7 @@
+ //iTLabel = new TQLabel(i18n(" Allowed overlap:\n"
+ // "(% of desktop space)"),
+ // plcBox);
+- //iTLabel->tqsetAlignment(AlignTop|AlignHCenter);
++ //iTLabel->setAlignment(AlignTop|AlignHCenter);
+ //pLay->addWidget(iTLabel,1,1);
+
+ //interactiveTrigger = new TQSpinBox(0, 500, 1, plcBox);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/detectwidgetbase.ui v3.5.13-sru/kwin/kcmkwin/kwinrules/detectwidgetbase.ui
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/detectwidgetbase.ui 2011-03-12 07:58:05.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwinrules/detectwidgetbase.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -29,7 +29,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>40</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/editshortcutbase.ui v3.5.13-sru/kwin/kcmkwin/kwinrules/editshortcutbase.ui
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/editshortcutbase.ui 2011-03-12 07:58:05.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwinrules/editshortcutbase.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -66,7 +66,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -91,7 +91,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+@@ -116,7 +116,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>40</width>
+ <height>20</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/main.cpp v3.5.13-sru/kwin/kcmkwin/kwinrules/main.cpp
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/main.cpp 2011-08-11 07:25:43.000000000 +0200
++++ v3.5.13-sru/kwin/kcmkwin/kwinrules/main.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -151,7 +151,7 @@
+ Rules* ret = new Rules;
+ if( whole_app )
+ {
+- ret->description = i18n( "Application settings for %1" ).tqarg( static_cast<const char *>(wmclass_class) );
++ ret->description = i18n( "Application settings for %1" ).arg( static_cast<const char *>(wmclass_class) );
+ // TODO maybe exclude some types? If yes, then also exclude them above
+ // when searching.
+ ret->types = NET::AllTypesMask;
+@@ -175,7 +175,7 @@
+ }
+ return ret;
+ }
+- ret->description = i18n( "Window settings for %1" ).tqarg( static_cast<const char *>(wmclass_class) );
++ ret->description = i18n( "Window settings for %1" ).arg( static_cast<const char *>(wmclass_class) );
+ if( type == NET::Unknown )
+ ret->types = NET::NormalMask;
+ else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/ruleslistbase.ui v3.5.13-sru/kwin/kcmkwin/kwinrules/ruleslistbase.ui
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/ruleslistbase.ui 2011-03-12 07:58:05.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwinrules/ruleslistbase.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -77,7 +77,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>294</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/ruleswidgetbase.ui v3.5.13-sru/kwin/kcmkwin/kwinrules/ruleswidgetbase.ui
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/ruleswidgetbase.ui 2011-03-12 07:58:05.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwinrules/ruleswidgetbase.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -87,7 +87,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>40</height>
+@@ -129,7 +129,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>212</width>
+ <height>20</height>
+@@ -157,7 +157,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>211</width>
+ <height>20</height>
+@@ -199,7 +199,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>212</width>
+ <height>20</height>
+@@ -230,7 +230,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>211</width>
+ <height>20</height>
+@@ -271,7 +271,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>270</width>
+ <height>20</height>
+@@ -296,7 +296,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>269</width>
+ <height>20</height>
+@@ -470,7 +470,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>199</width>
+ <height>20</height>
+@@ -501,7 +501,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>199</width>
+ <height>20</height>
+@@ -543,7 +543,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>199</width>
+ <height>20</height>
+@@ -574,7 +574,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>199</width>
+ <height>20</height>
+@@ -616,7 +616,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>199</width>
+ <height>20</height>
+@@ -647,7 +647,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>199</width>
+ <height>20</height>
+@@ -1181,7 +1181,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>16</height>
+@@ -1347,7 +1347,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>171</width>
+ <height>20</height>
+@@ -1364,7 +1364,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>290</width>
+ <height>20</height>
+@@ -1381,7 +1381,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>290</width>
+ <height>20</height>
+@@ -1398,7 +1398,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>290</width>
+ <height>20</height>
+@@ -1415,7 +1415,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>290</width>
+ <height>20</height>
+@@ -1432,7 +1432,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>290</width>
+ <height>20</height>
+@@ -1449,7 +1449,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>290</width>
+ <height>20</height>
+@@ -1466,7 +1466,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>290</width>
+ <height>20</height>
+@@ -1796,7 +1796,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>80</height>
+@@ -1847,7 +1847,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>181</width>
+ <height>20</height>
+@@ -2278,7 +2278,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>160</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/ruleswidget.cpp v3.5.13-sru/kwin/kcmkwin/kwinrules/ruleswidget.cpp
+--- /tmp/stable//kdebase/kwin/kcmkwin/kwinrules/ruleswidget.cpp 2011-03-12 07:58:05.000000000 +0100
++++ v3.5.13-sru/kwin/kcmkwin/kwinrules/ruleswidget.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -661,7 +661,7 @@
+ all_types = false;
+ if( wmclass_match->currentItem() == Rules::UnimportantMatch && all_types )
+ {
+- if( KMessageBox::warningContinueCancel( tqtopLevelWidget(),
++ if( KMessageBox::warningContinueCancel( topLevelWidget(),
+ i18n( "You have specified the window class as unimportant.\n"
+ "This means the settings will possibly apply to windows from all applications. "
+ "If you really want to create a generic setting, it is recommended you at least "
+@@ -680,7 +680,7 @@
+
+ void RulesWidget::shortcutEditClicked()
+ {
+- EditShortcutDialog dlg( tqtopLevelWidget());
++ EditShortcutDialog dlg( topLevelWidget());
+ dlg.setShortcut( shortcut->text());
+ if( dlg.exec() == TQDialog::Accepted )
+ shortcut->setText( dlg.shortcut());
+@@ -735,7 +735,7 @@
+
+ void EditShortcut::editShortcut()
+ {
+- ShortcutDialog dlg( KShortcut( shortcut->text()), tqtopLevelWidget());
++ ShortcutDialog dlg( KShortcut( shortcut->text()), topLevelWidget());
+ if( dlg.exec() == TQDialog::Accepted )
+ shortcut->setText( dlg.shortcut().toString());
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/killer/killer.cpp v3.5.13-sru/kwin/killer/killer.cpp
+--- /tmp/stable//kdebase/kwin/killer/killer.cpp 2011-03-12 07:58:03.000000000 +0100
++++ v3.5.13-sru/kwin/killer/killer.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -55,7 +55,7 @@
+ bool pid_ok = false;
+ pid_t pid = args->getOption( "pid" ).toULong( &pid_ok );
+ TQString caption = TQString::fromUtf8( args->getOption( "windowname" ));
+- TQString appname = TQString::tqfromLatin1( args->getOption( "applicationname" ));
++ TQString appname = TQString::fromLatin1( args->getOption( "applicationname" ));
+ bool id_ok = false;
+ Window id = args->getOption( "wid" ).toULong( &id_ok );
+ bool time_ok = false;
+@@ -71,7 +71,7 @@
+ "<qt>Window with title \"<b>%2</b>\" is not responding. "
+ "This window belongs to application <b>%1</b> (PID=%3, hostname=%4).<p>"
+ "Do you wish to terminate this application? (All unsaved data in this application will be lost.)</qt>" )
+- .tqarg( appname ).tqarg( caption ).tqarg( pid ).tqarg( static_cast<const char *>(hostname) );
++ .arg( appname ).arg( caption ).arg( pid ).arg( static_cast<const char *>(hostname) );
+ app.updateUserTimestamp( timestamp );
+ if( KMessageBox::warningYesNoWId( id, question, TQString::null, i18n("Terminate"), i18n("Keep Running") ) == KMessageBox::Yes )
+ {
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/kompmgr/kompmgr.c v3.5.13-sru/kwin/kompmgr/kompmgr.c
+--- /tmp/stable//kdebase/kwin/kompmgr/kompmgr.c 2011-10-24 03:36:55.000000000 +0200
++++ v3.5.13-sru/kwin/kompmgr/kompmgr.c 2012-09-08 19:41:29.000000000 +0200
+@@ -1,5 +1,5 @@
+ /*
+- * $Id: kompmgr.c 1260431 2011-10-24 01:12:32Z tpearson $
++ * $Id$
+ *
+ * Copyright © 2003 Keith Packard
+ *
+@@ -60,6 +60,7 @@
+ #include <signal.h>
+ #include <time.h>
+ #include <unistd.h>
++#include <libgen.h>
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
+ #include <X11/Xatom.h>
+@@ -397,7 +398,7 @@
+ int chars = readlink("/proc/self/exe", me, sizeof(me));
+ me[chars] = 0;
+ me[2047] = 0;
+- execl(me, NULL);
++ execl(me, basename(me), (char*)NULL);
+ }
+ #endif
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/layers.cpp v3.5.13-sru/kwin/layers.cpp
+--- /tmp/stable//kdebase/kwin/layers.cpp 2011-08-11 07:25:43.000000000 +0200
++++ v3.5.13-sru/kwin/layers.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -87,7 +87,7 @@
+ if( c->layer() == c->belongsToLayer())
+ return;
+ StackingUpdatesBlocker blocker( this );
+- c->invalidateLayer(); // tqinvalidate, will be updated when doing restacking
++ c->invalidateLayer(); // invalidate, will be updated when doing restacking
+ for( ClientList::ConstIterator it = c->transients().begin();
+ it != c->transients().end();
+ ++it )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/lib/kcommondecoration.cpp v3.5.13-sru/kwin/lib/kcommondecoration.cpp
+--- /tmp/stable//kdebase/kwin/lib/kcommondecoration.cpp 2011-09-11 06:57:55.000000000 +0200
++++ v3.5.13-sru/kwin/lib/kcommondecoration.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -522,7 +522,7 @@
+ widget()->resize( s );
+ }
+
+-TQSize KCommonDecoration::tqminimumSize() const
++TQSize KCommonDecoration::minimumSize() const
+ {
+ const int minWidth = QMAX(layoutMetric(LM_TitleEdgeLeft), layoutMetric(LM_BorderLeft))
+ +QMAX(layoutMetric(LM_TitleEdgeRight), layoutMetric(LM_BorderRight))
+@@ -684,7 +684,7 @@
+
+ updateWindowShape();
+ // FIXME: don't update() here! this would result in two paintEvent()s
+- // because there is already "something" else triggering the tqrepaint...
++ // because there is already "something" else triggering the repaint...
+ // widget()->update();
+ }
+
+@@ -946,7 +946,7 @@
+ }
+ }
+
+-TQSize KCommonDecorationButton::tqsizeHint() const
++TQSize KCommonDecorationButton::sizeHint() const
+ {
+ return m_size;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/lib/kcommondecoration.h v3.5.13-sru/kwin/lib/kcommondecoration.h
+--- /tmp/stable//kdebase/kwin/lib/kcommondecoration.h 2011-09-11 06:57:55.000000000 +0200
++++ v3.5.13-sru/kwin/lib/kcommondecoration.h 2012-09-08 19:41:29.000000000 +0200
+@@ -178,7 +178,7 @@
+ /**
+ * This updates the window mask using the information provided by
+ * cornerShape(). Edges which are aligned to screen corners are not
+- * tqshaped for better usability (remember to paint these areas in paintEvent(), too).
++ * shaped for better usability (remember to paint these areas in paintEvent(), too).
+ * You normally don't want/need to reimplement updateWindowShape().
+ * @see cornerShape()
+ */
+@@ -234,7 +234,7 @@
+ virtual void borders( int& left, int& right, int& top, int& bottom ) const;
+ virtual void show();
+ virtual void resize(const TQSize& s);
+- virtual TQSize tqminimumSize() const;
++ virtual TQSize minimumSize() const;
+ virtual void maximizeChange();
+ virtual void desktopChange();
+ virtual void shadeChange();
+@@ -348,7 +348,7 @@
+ */
+ ButtonState lastMousePress() const { return m_lastMouse; }
+
+- TQSize tqsizeHint() const;
++ TQSize sizeHint() const;
+
+ protected:
+ void setToggleButton(bool toggle);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/lib/kdecoration.cpp v3.5.13-sru/kwin/lib/kdecoration.cpp
+--- /tmp/stable//kdebase/kwin/lib/kdecoration.cpp 2011-04-11 20:53:01.000000000 +0200
++++ v3.5.13-sru/kwin/lib/kdecoration.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -388,14 +388,14 @@
+ return(active ? d->activeFont : d->inactiveFont);
+ }
+
+-const TQColorGroup& KDecorationOptions::tqcolorGroup(ColorType type, bool active) const
++const TQColorGroup& KDecorationOptions::colorGroup(ColorType type, bool active) const
+ {
+ int idx = type + (active ? 0 : NUM_COLORS);
+ if(d->cg[idx])
+ return(*d->cg[idx]);
+ d->cg[idx] = new TQColorGroup(Qt::black, d->colors[idx], d->colors[idx].light(150),
+ d->colors[idx].dark(), d->colors[idx].dark(120),
+- Qt::black, TQApplication::tqpalette().active().
++ Qt::black, TQApplication::palette().active().
+ base());
+ return(*d->cg[idx]);
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/lib/kdecorationfactory.h v3.5.13-sru/kwin/lib/kdecorationfactory.h
+--- /tmp/stable//kdebase/kwin/lib/kdecorationfactory.h 2011-03-12 07:58:05.000000000 +0100
++++ v3.5.13-sru/kwin/lib/kdecorationfactory.h 2012-09-08 19:41:29.000000000 +0200
+@@ -56,7 +56,7 @@
+ * The argument specifies what has changed, using the SettingXXX masks.
+ * It should be determined whether the decorations need to be completely
+ * remade, in which case true should be returned, or whether only e.g.
+- * a tqrepaint will be sufficient, in which case false should be returned,
++ * a repaint will be sufficient, in which case false should be returned,
+ * and resetDecorations() can be called to reset all decoration objects.
+ * Note that true should be returned only when really necessary.
+ */
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/lib/kdecoration.h v3.5.13-sru/kwin/lib/kdecoration.h
+--- /tmp/stable//kdebase/kwin/lib/kdecoration.h 2011-07-08 00:00:31.000000000 +0200
++++ v3.5.13-sru/kwin/lib/kdecoration.h 2012-09-08 19:41:29.000000000 +0200
+@@ -97,10 +97,10 @@
+ LowerOp,
+ FullScreenOp,
+ NoBorderOp,
+- ShadowOp,
+ NoOp,
+ SetupWindowShortcutOp,
+- ApplicationRulesOp ///< @since 3.5
++ ApplicationRulesOp, ///< @since 3.5
++ ShadowOp ///< @since 3.5.12
+ };
+ /**
+ * Basic color types that should be recognized by all decoration styles.
+@@ -205,7 +205,7 @@
+ * @param type The requested color type.
+ * @param active Whether to return the color for active or inactive windows.
+ */
+- const TQColorGroup& tqcolorGroup(ColorType type, bool active=true) const;
++ const TQColorGroup& colorGroup(ColorType type, bool active=true) const;
+ /**
+ * Returns the active or inactive decoration font.
+ * The changed flags for this setting is SettingFont.
+@@ -481,15 +481,15 @@
+ void performWindowOperation( WindowOperation op );
+ /**
+ * If the decoration is non-rectangular, this function needs to be called
+- * to set the tqshape of the decoration.
++ * to set the shape of the decoration.
+ *
+- * @param reg The tqshape of the decoration.
++ * @param reg The shape of the decoration.
+ * @param mode The X11 values Unsorted, YSorted, YXSorted and YXBanded that specify
+ * the sorting of the rectangles, default value is Unsorted.
+ */
+ void setMask( const TQRegion& reg, int mode = 0 );
+ /**
+- * This convenience function resets the tqshape mask.
++ * This convenience function resets the shape mask.
+ */
+ void clearMask(); // convenience
+ /**
+@@ -594,7 +594,7 @@
+ * Note that the returned size shouldn't be too large, because it will be
+ * used to keep the decorated window at least as large.
+ */
+- virtual TQSize tqminimumSize() const = 0;
++ virtual TQSize minimumSize() const = 0;
+ /**
+ * This function is called whenever the window either becomes or stops being active.
+ * Use isActive() to find out the current state.
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/manage.cpp v3.5.13-sru/kwin/manage.cpp
+--- /tmp/stable//kdebase/kwin/manage.cpp 2011-08-11 07:25:43.000000000 +0200
++++ v3.5.13-sru/kwin/manage.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -264,7 +264,7 @@
+ usePosition = true;
+ if( !rules()->checkIgnoreGeometry( !usePosition ))
+ {
+- bool ignorePPosition = ( options->ignorePositionClasses.contains(TQString::tqfromLatin1(resourceClass())));
++ bool ignorePPosition = ( options->ignorePositionClasses.contains(TQString::fromLatin1(resourceClass())));
+
+ if ( ( (xSizeHint.flags & PPosition) && !ignorePPosition ) ||
+ (xSizeHint.flags & USPosition) )
+@@ -319,7 +319,7 @@
+ keepInArea( area, partial_keep_in_area );
+
+ XShapeSelectInput( qt_xdisplay(), window(), ShapeNotifyMask );
+- is_tqshape = Shape::hasShape( window());
++ is_shape = Shape::hasShape( window());
+ updateShape();
+
+ //CT extra check for stupid jdk 1.3.1. But should make sense in general
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/options.cpp v3.5.13-sru/kwin/options.cpp
+--- /tmp/stable//kdebase/kwin/options.cpp 2011-08-12 02:05:41.000000000 +0200
++++ v3.5.13-sru/kwin/options.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -383,7 +383,7 @@
+
+ bool Options::checkIgnoreFocusStealing( const Client* c )
+ {
+- return ignoreFocusStealingClasses.contains(TQString::tqfromLatin1(c->resourceClass()));
++ return ignoreFocusStealingClasses.contains(TQString::fromLatin1(c->resourceClass()));
+ }
+
+ Options::MouseCommand Options::wheelToMouseCommand( MouseWheelCommand com, int delta )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/popupinfo.cpp v3.5.13-sru/kwin/popupinfo.cpp
+--- /tmp/stable//kdebase/kwin/popupinfo.cpp 2011-03-12 07:58:06.000000000 +0100
++++ v3.5.13-sru/kwin/popupinfo.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -75,8 +75,8 @@
+ void PopupInfo::paintEvent( TQPaintEvent* )
+ {
+ TQPainter p( this );
+- tqstyle().tqdrawPrimitive( TQStyle::PE_Panel, &p, TQRect( 0, 0, width(), height() ),
+- tqcolorGroup(), TQStyle::Style_Default );
++ style().tqdrawPrimitive( TQStyle::PE_Panel, &p, TQRect( 0, 0, width(), height() ),
++ colorGroup(), TQStyle::Style_Default );
+ paintContents();
+ }
+
+@@ -90,7 +90,7 @@
+ TQPainter p( this );
+ TQRect r( 6, 6, width()-12, height()-12 );
+
+- p.fillRect( r, tqcolorGroup().brush( TQColorGroup::Background ) );
++ p.fillRect( r, colorGroup().brush( TQColorGroup::Background ) );
+
+ /*
+ p.setPen(Qt::white);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/sm.cpp v3.5.13-sru/kwin/sm.cpp
+--- /tmp/stable//kdebase/kwin/sm.cpp 2011-08-11 07:25:43.000000000 +0200
++++ v3.5.13-sru/kwin/sm.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -27,7 +27,7 @@
+ namespace KWinInternal
+ {
+
+-bool SessionManaged::saveState( QSessionManager& sm )
++bool SessionManaged::saveState( TQSessionManager& sm )
+ {
+ // If the session manager is ksmserver, save stacking
+ // order, active window, active desktop etc. in phase 1,
+@@ -53,7 +53,7 @@
+ }
+
+ // I bet this is broken, just like everywhere else in KDE
+-bool SessionManaged::commitData( QSessionManager& sm )
++bool SessionManaged::commitData( TQSessionManager& sm )
+ {
+ if ( !sm.isPhase2() )
+ Workspace::self()->sessionSaveStarted();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/sm.h v3.5.13-sru/kwin/sm.h
+--- /tmp/stable//kdebase/kwin/sm.h 2011-03-12 07:58:06.000000000 +0100
++++ v3.5.13-sru/kwin/sm.h 2012-09-08 19:41:29.000000000 +0200
+@@ -80,8 +80,8 @@
+ : public KSessionManaged
+ {
+ public:
+- virtual bool saveState( QSessionManager& sm );
+- virtual bool commitData( QSessionManager& sm );
++ virtual bool saveState( TQSessionManager& sm );
++ virtual bool commitData( TQSessionManager& sm );
+ };
+
+ } // namespace
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/tabbox.cpp v3.5.13-sru/kwin/tabbox.cpp
+--- /tmp/stable//kdebase/kwin/tabbox.cpp 2011-08-11 07:25:43.000000000 +0200
++++ v3.5.13-sru/kwin/tabbox.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -373,7 +373,7 @@
+ pix.fill(this, 0, 0);
+
+ TQPainter p;
+- p.tqbegin(&pix, this);
++ p.begin(&pix, this);
+
+ TQPixmap* menu_pix = kwin_get_menu_pix_hack();
+
+@@ -400,7 +400,7 @@
+ {
+ // draw highlight background
+ if ( (*it) == current_client )
+- p.fillRect(x, y, r.width(), lineHeight, tqcolorGroup().highlight());
++ p.fillRect(x, y, r.width(), lineHeight, colorGroup().highlight());
+
+ // draw icon
+ TQPixmap icon;
+@@ -437,11 +437,11 @@
+
+ // draw text
+ if ( (*it) == current_client )
+- p.setPen(tqcolorGroup().highlightedText());
++ p.setPen(colorGroup().highlightedText());
+ else if( (*it)->isMinimized())
+ {
+- TQColor c1 = tqcolorGroup().text();
+- TQColor c2 = tqcolorGroup().background();
++ TQColor c1 = colorGroup().text();
++ TQColor c2 = colorGroup().background();
+ // from kicker's TaskContainer::blendColors()
+ int r1, g1, b1;
+ int r2, g2, b2;
+@@ -456,7 +456,7 @@
+ p.setPen(TQColor( r1, g1, b1 ));
+ }
+ else
+- p.setPen(tqcolorGroup().text());
++ p.setPen(colorGroup().text());
+
+ p.drawText(x+5 + iconWidth + 8, y, r.width() - 5 - iconWidth - 8, lineHeight,
+ Qt::AlignLeft | Qt::AlignVCenter | TQt::SingleLine, s);
+@@ -494,13 +494,13 @@
+ {
+ // draw highlight background
+ if ( iDesktop == desk ) // current desktop
+- p.fillRect(x, y, r.width(), lineHeight, tqcolorGroup().highlight());
++ p.fillRect(x, y, r.width(), lineHeight, colorGroup().highlight());
+
+ p.save();
+
+ // draw "icon" (here: number of desktop)
+- p.fillRect(x+5, y+2, iconWidth, iconHeight, tqcolorGroup().base());
+- p.setPen(tqcolorGroup().text());
++ p.fillRect(x+5, y+2, iconWidth, iconHeight, colorGroup().base());
++ p.setPen(colorGroup().text());
+ p.drawRect(x+5, y+2, iconWidth, iconHeight);
+
+ // draw desktop-number
+@@ -512,9 +512,9 @@
+
+ // draw desktop name text
+ if ( iDesktop == desk )
+- p.setPen(tqcolorGroup().highlightedText());
++ p.setPen(colorGroup().highlightedText());
+ else
+- p.setPen(tqcolorGroup().text());
++ p.setPen(colorGroup().text());
+
+ p.drawText(x+5 + iconWidth + 8, y, r.width() - 5 - iconWidth - 8, lineHeight,
+ Qt::AlignLeft | Qt::AlignVCenter | TQt::SingleLine,
+@@ -696,7 +696,7 @@
+ if( e->type != ButtonPress )
+ return;
+ TQPoint pos( e->xbutton.x_root, e->xbutton.y_root );
+- if( !tqgeometry().contains( pos ))
++ if( !geometry().contains( pos ))
+ {
+ workspace()->closeTabBox(); // click outside closes tab
+ return;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/tools/decobenchmark/main.cpp v3.5.13-sru/kwin/tools/decobenchmark/main.cpp
+--- /tmp/stable//kdebase/kwin/tools/decobenchmark/main.cpp 2011-03-12 07:58:03.000000000 +0100
++++ v3.5.13-sru/kwin/tools/decobenchmark/main.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -40,7 +40,7 @@
+ static KCmdLineOptions options[] =
+ {
+ { "+decoration", "Decoration library to use, such as kwin3_plastik.", 0 },
+- { "+tests", "Which test should be executed ('all', 'tqrepaint', 'caption', 'resize', 'recreation')", 0 },
++ { "+tests", "Which test should be executed ('all', 'repaint', 'caption', 'resize', 'recreation')", 0 },
+ { "+repetitions", "Number of test repetitions.", 0 },
+ { 0, 0, 0 }
+ };
+@@ -117,7 +117,7 @@
+ Tests test;
+ if (t == "all")
+ test = AllTests;
+- else if (t == "tqrepaint")
++ else if (t == "repaint")
+ test = RepaintTest;
+ else if (t == "caption")
+ test = CaptionTest;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/tools/decobenchmark/preview.cpp v3.5.13-sru/kwin/tools/decobenchmark/preview.cpp
+--- /tmp/stable//kdebase/kwin/tools/decobenchmark/preview.cpp 2011-07-08 00:00:31.000000000 +0200
++++ v3.5.13-sru/kwin/tools/decobenchmark/preview.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -66,7 +66,7 @@
+ deco->captionChange();
+ positionPreviews(0);
+ for (int i = 0; i < n; ++i) {
+- deco->widget()->tqrepaint();
++ deco->widget()->repaint();
+ kapp->processEvents();
+ }
+ }
+@@ -79,7 +79,7 @@
+ for (int i = 0; i < n; ++i) {
+ bridge->setCaption(caption.arg(i) );
+ deco->captionChange();
+- deco->widget()->tqrepaint();
++ deco->widget()->repaint();
+ kapp->processEvents();
+ }
+ }
+@@ -127,7 +127,7 @@
+ if ( !deco )
+ return;
+
+- TQSize size = TQSize(width()-2*10-shrink, height()-2*10-shrink)/*.expandedTo(deco->tqminimumSize()*/;
++ TQSize size = TQSize(width()-2*10-shrink, height()-2*10-shrink)/*.expandedTo(deco->minimumSize()*/;
+
+ TQRect geometry(TQPoint(10, 10), size);
+ deco->widget()->setGeometry(geometry);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/useractions.cpp v3.5.13-sru/kwin/useractions.cpp
+--- /tmp/stable//kdebase/kwin/useractions.cpp 2011-09-16 04:01:45.000000000 +0200
++++ v3.5.13-sru/kwin/useractions.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -293,7 +293,7 @@
+ client_keys_client = c;
+ connect( client_keys_dialog, TQT_SIGNAL( dialogDone( bool )), TQT_SLOT( setupWindowShortcutDone( bool )));
+ TQRect r = clientArea( ScreenArea, c );
+- TQSize size = client_keys_dialog->tqsizeHint();
++ TQSize size = client_keys_dialog->sizeHint();
+ TQPoint pos = c->pos() + c->clientPos();
+ if( pos.x() + size.width() >= r.right())
+ pos.setX( r.right() - size.width());
+@@ -1045,8 +1045,8 @@
+ else
+ {
+ TQRect area = clientArea(ScreenArea, TQPoint(x, y), currentDesktop());
+- clientPopupAboutToShow(); // needed for tqsizeHint() to be correct :-/
+- int popupHeight = p->tqsizeHint().height();
++ clientPopupAboutToShow(); // needed for sizeHint() to be correct :-/
++ int popupHeight = p->sizeHint().height();
+ if (y + popupHeight < area.height())
+ p->exec( TQPoint( x, y ) );
+ else
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/utils.cpp v3.5.13-sru/kwin/utils.cpp
+--- /tmp/stable//kdebase/kwin/utils.cpp 2011-08-16 01:07:51.000000000 +0200
++++ v3.5.13-sru/kwin/utils.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -18,6 +18,8 @@
+ #include "utils.h"
+
+ #include <unistd.h>
++#include <string.h>
++#include <netdb.h>
+
+ #ifndef KCMRULES
+
+@@ -46,11 +48,11 @@
+
+ // used to store the return values of
+ // XShapeQueryExtension.
+-// Necessary since tqshaped window are an extension to X
+-int Shape::kwin_tqshape_version = 0;
+-int Shape::kwin_tqshape_event = 0;
++// Necessary since shaped window are an extension to X
++int Shape::kwin_shape_version = 0;
++int Shape::kwin_shape_event = 0;
+
+-// does the window w need a tqshape combine mask around it?
++// does the window w need a shape combine mask around it?
+ bool Shape::hasShape( WId w)
+ {
+ int xws, yws, xbs, ybs;
+@@ -64,21 +66,21 @@
+ return boundingShaped != 0;
+ }
+
+-int Shape::tqshapeEvent()
++int Shape::shapeEvent()
+ {
+- return kwin_tqshape_event;
++ return kwin_shape_event;
+ }
+
+ void Shape::init()
+ {
+- kwin_tqshape_version = 0;
++ kwin_shape_version = 0;
+ int dummy;
+- if( !XShapeQueryExtension(qt_xdisplay(), &kwin_tqshape_event, &dummy))
++ if( !XShapeQueryExtension(qt_xdisplay(), &kwin_shape_event, &dummy))
+ return;
+ int major, minor;
+ if( !XShapeQueryVersion( qt_xdisplay(), &major, &minor ))
+ return;
+- kwin_tqshape_version = major * 0x10 + minor;
++ kwin_shape_version = major * 0x10 + minor;
+ }
+
+ void Motif::readFlags( WId w, bool& noborder, bool& resize, bool& move,
+@@ -323,6 +325,27 @@
+ if( host == hostnamebuf )
+ return true;
+ }
++ else
++ { // e.g. LibreOffice likes to give FQDN, even if gethostname() doesn't include domain
++ struct addrinfo hints, *res, *addr;
++ bool is_local = false;
++
++ memset (&hints, 0, sizeof (hints));
++ hints.ai_family = PF_UNSPEC;
++ hints.ai_socktype = SOCK_STREAM;
++ hints.ai_flags |= AI_CANONNAME;
++
++ if( getaddrinfo( host, NULL, &hints, &res ) != 0)
++ return false;
++ for(addr = res; !is_local && addr; addr = addr->ai_next)
++ {
++ if( res->ai_canonname &&
++ host == TQCString( res->ai_canonname ))
++ is_local = true;
++ }
++ freeaddrinfo(res);
++ return is_local;
++ }
+ }
+ return false;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/utils.h v3.5.13-sru/kwin/utils.h
+--- /tmp/stable//kdebase/kwin/utils.h 2011-03-12 07:58:06.000000000 +0100
++++ v3.5.13-sru/kwin/utils.h 2012-09-08 19:41:29.000000000 +0200
+@@ -111,14 +111,14 @@
+ class Shape
+ {
+ public:
+- static bool available() { return kwin_tqshape_version > 0; }
+- static int version() { return kwin_tqshape_version; } // as 16*major+minor, i.e. two hex digits
++ static bool available() { return kwin_shape_version > 0; }
++ static int version() { return kwin_shape_version; } // as 16*major+minor, i.e. two hex digits
+ static bool hasShape( WId w);
+- static int tqshapeEvent();
++ static int shapeEvent();
+ static void init();
+ private:
+- static int kwin_tqshape_version;
+- static int kwin_tqshape_event;
++ static int kwin_shape_version;
++ static int kwin_shape_event;
+ };
+
+ // compile with XShape older than 1.0
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/wm-spec/x351.html v3.5.13-sru/kwin/wm-spec/x351.html
+--- /tmp/stable//kdebase/kwin/wm-spec/x351.html 2011-03-12 07:58:05.000000000 +0100
++++ v3.5.13-sru/kwin/wm-spec/x351.html 2012-09-08 19:41:29.000000000 +0200
+@@ -97,10 +97,10 @@
+ ></H2
+ ><P
+ >This spec suggests implementing the file manager desktop by mapping a
+-desktop-sized window (no tqshape) to all desktops, with
++desktop-sized window (no shape) to all desktops, with
+ _NET_WM_WINDOW_TYPE_DESKTOP. This makes the desktop focusable and greatly
+ simplifies implementation of the file manager. It is also faster than
+-managing lots of small tqshaped windows. The file manager draws the background
++managing lots of small shaped windows. The file manager draws the background
+ on this window. There should be a root property with a window handle for use
+ in applications that want to draw the background (xearth).
+ </P
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kwin/workspace.cpp v3.5.13-sru/kwin/workspace.cpp
+--- /tmp/stable//kdebase/kwin/workspace.cpp 2011-09-03 21:32:00.000000000 +0200
++++ v3.5.13-sru/kwin/workspace.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -1056,7 +1056,7 @@
+ topmenu_selection->release();
+ lostTopMenuSelection();
+ }
+- topmenu_height = 0; // tqinvalidate used menu height
++ topmenu_height = 0; // invalidate used menu height
+ if( managingTopMenus())
+ {
+ updateTopMenuGeometry();
+@@ -1938,7 +1938,7 @@
+ int count, order;
+ XRectangle* rects = XShapeGetRectangles( qt_xdisplay(), active_client->frameId(),
+ ShapeBounding, &count, &order);
+- //The ShapeBounding region is the outermost tqshape of the window;
++ //The ShapeBounding region is the outermost shape of the window;
+ //ShapeBounding - ShapeClipping is defined to be the border.
+ //Since the border area is part of the window, we use bounding
+ // to limit our work region
+@@ -1956,7 +1956,7 @@
+
+ //Get the masked away area.
+ TQRegion maskedAway = bbox - contents;
+- TQMemArray<TQRect> maskedAwayRects = maskedAway.tqrects();
++ TQMemArray<TQRect> maskedAwayRects = maskedAway.rects();
+
+ //Construct a bitmap mask from the rectangles
+ TQBitmap mask( snapshot.width(), snapshot.height());
+@@ -1969,7 +1969,7 @@
+ }
+ }
+
+- TQClipboard *cb = TQApplication::tqclipboard();
++ TQClipboard *cb = TQApplication::clipboard();
+ cb->setPixmap( snapshot );
+ }
+ else
+@@ -1982,7 +1982,7 @@
+ void Workspace::slotGrabDesktop()
+ {
+ TQPixmap p = TQPixmap::grabWindow( qt_xrootwin() );
+- TQClipboard *cb = TQApplication::tqclipboard();
++ TQClipboard *cb = TQApplication::clipboard();
+ cb->setPixmap( p );
+ }
+
+@@ -2606,7 +2606,7 @@
+ { // simply create a dummy menubar and use its preffered height as the menu height
+ KMenuBar tmpmenu;
+ tmpmenu.insertItem( "dummy" );
+- topmenu_height = tmpmenu.tqsizeHint().height();
++ topmenu_height = tmpmenu.sizeHint().height();
+ }
+ return topmenu_height;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kxkb/CMakeLists.txt v3.5.13-sru/kxkb/CMakeLists.txt
+--- /tmp/stable//kdebase/kxkb/CMakeLists.txt 2011-03-12 07:58:02.000000000 +0100
++++ v3.5.13-sru/kxkb/CMakeLists.txt 2012-09-08 19:41:29.000000000 +0200
+@@ -22,6 +22,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XTEST_LIBDIR}
+ )
+
+
+@@ -39,7 +40,7 @@
+ extension.cpp x11helper.cpp rules.cpp kxkbconfig.cpp
+ pixmap.cpp kcmlayout.cpp kcmlayoutwidget.ui
+ kcmmisc.cpp kcmmiscwidget.ui
+- LINK kio-shared xkbfile
++ LINK kio-shared xkbfile ${XTEST_LIBRARIES}
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kxkb/kcmlayoutwidget.ui v3.5.13-sru/kxkb/kcmlayoutwidget.ui
+--- /tmp/stable//kdebase/kxkb/kcmlayoutwidget.ui 2011-03-12 07:58:02.000000000 +0100
++++ v3.5.13-sru/kxkb/kcmlayoutwidget.ui 2012-09-08 19:41:29.000000000 +0200
+@@ -20,7 +20,7 @@
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>600</width>
+ <height>510</height>
+@@ -34,7 +34,7 @@
+ <property name="name">
+ <cstring>tabWidget</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>600</width>
+ <height>500</height>
+@@ -303,7 +303,7 @@
+ <property name="name">
+ <cstring>listLayoutsSrc</cstring>
+ </property>
+- <property name="tqminimumSize">
++ <property name="minimumSize">
+ <size>
+ <width>260</width>
+ <height>0</height>
+@@ -393,7 +393,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>210</width>
+ <height>20</height>
+@@ -410,7 +410,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>210</width>
+ <height>20</height>
+@@ -442,7 +442,7 @@
+ <property name="sizeType">
+ <enum>Expanding</enum>
+ </property>
+- <property name="tqsizeHint">
++ <property name="sizeHint">
+ <size>
+ <width>20</width>
+ <height>40</height>
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/kxkb/kcmmisc.cpp v3.5.13-sru/kxkb/kcmmisc.cpp
+--- /tmp/stable//kdebase/kxkb/kcmmisc.cpp 2011-10-27 17:55:41.000000000 +0200
++++ v3.5.13-sru/kxkb/kcmmisc.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -235,7 +235,7 @@
+
+ NumLockX
+
+- $Id: kcmmisc.cpp 1261045 2011-10-27 15:39:53Z tpearson $
++ $Id$
+
+ Copyright (C) 2000-2001 Lubos Lunak <l.lunak@kde.org>
+ Copyright (C) 2001 Oswald Buddenhagen <ossi@kde.org>
+@@ -344,6 +344,21 @@
+ return 1;
+ }
+
++int xkb_state()
++ {
++ unsigned int mask;
++ unsigned int numlockState;
++ XkbStateRec xkbState;
++ if( !xkb_init())
++ return 0;
++ mask = xkb_numlock_mask();
++ if( mask == 0 )
++ return 0;
++ XkbGetState( dpy, XkbUseCoreKbd, &xkbState);
++ numlockState = xkbState.locked_mods & mask;
++ return numlockState;
++ }
++
+ int xkb_toggle()
+ {
+ unsigned int mask;
+@@ -443,7 +458,14 @@
+ return;
+ #endif
+ #ifdef HAVE_XTEST
++#ifdef HAVE_XKB
++ if (xkb_state())
++ xtest_set_on();
++ else
++ xtest_set_off();
++#else // HAVE_XKB
+ xtest_toggle();
++#endif // HAVE_XKB
+ #endif
+ }
+ // This code is taken from xset utility from XFree 4.3 (http://www.xfree86.org/)
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/knewmenu.cc v3.5.13-sru/libkonq/knewmenu.cc
+--- /tmp/stable//kdebase/libkonq/knewmenu.cc 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/libkonq/knewmenu.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -233,7 +233,7 @@
+
+ if ( !bSkip )
+ {
+- Entry entry = *(s_templatesList->tqat( i-1 ));
++ Entry entry = *(s_templatesList->at( i-1 ));
+
+ // The best way to identify the "Create Directory", "Link to Location", "Link to Application" was the template
+ if ( (*templ).templatePath.endsWith( "emptydir" ) )
+@@ -378,7 +378,7 @@
+
+ emit activated(); // for KDIconView::slotNewMenuActivated()
+
+- Entry entry = *(s_templatesList->tqat( id - 1 ));
++ Entry entry = *(s_templatesList->at( id - 1 ));
+ //kdDebug(1203) << TQString("sFile = %1").arg(sFile) << endl;
+
+ if ( !TQFile::exists( entry.templatePath ) ) {
+@@ -545,7 +545,7 @@
+
+ TQLabel * label = new TQLabel( textFileName, fileNameBox );
+ m_leFileName = new KLineEdit( fileNameBox, 0L );
+- m_leFileName->setMinimumWidth(m_leFileName->tqsizeHint().width() * 3);
++ m_leFileName->setMinimumWidth(m_leFileName->sizeHint().width() * 3);
+ label->setBuddy(m_leFileName); // please "scheck" style
+ m_leFileName->setText( defaultName );
+ m_leFileName->setSelection(0, m_leFileName->text().length()); // autoselect
+@@ -559,7 +559,7 @@
+ m_urlRequester = new KURLRequester( defaultUrl, urlBox, "urlRequester" );
+ m_urlRequester->setMode( KFile::File | KFile::Directory );
+
+- m_urlRequester->setMinimumWidth( m_urlRequester->tqsizeHint().width() * 3 );
++ m_urlRequester->setMinimumWidth( m_urlRequester->sizeHint().width() * 3 );
+ connect( m_urlRequester->lineEdit(), TQT_SIGNAL(textChanged(const TQString&)),
+ TQT_SLOT(slotURLTextChanged(const TQString&)) );
+ label->setBuddy(m_urlRequester); // please "scheck" style
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_bgnddlg.cc v3.5.13-sru/libkonq/konq_bgnddlg.cc
+--- /tmp/stable//kdebase/libkonq/konq_bgnddlg.cc 2011-03-12 07:58:01.000000000 +0100
++++ v3.5.13-sru/libkonq/konq_bgnddlg.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -48,10 +48,10 @@
+
+ m_buttonGroup = new TQButtonGroup( i18n("Background"), page );
+ m_buttonGroup->setColumnLayout( 0, Qt::Vertical );
+- m_buttonGroup->tqlayout()->setMargin( KDialog::marginHint() );
+- m_buttonGroup->tqlayout()->setSpacing( KDialog::spacingHint() );
+- TQGridLayout* groupLayout = new TQGridLayout( m_buttonGroup->tqlayout() );
+- groupLayout->tqsetAlignment( Qt::AlignTop );
++ m_buttonGroup->layout()->setMargin( KDialog::marginHint() );
++ m_buttonGroup->layout()->setSpacing( KDialog::spacingHint() );
++ TQGridLayout* groupLayout = new TQGridLayout( m_buttonGroup->layout() );
++ groupLayout->setAlignment( Qt::AlignTop );
+ mainLayout->addWidget( m_buttonGroup );
+
+ connect( m_buttonGroup, TQT_SIGNAL( clicked(int) ),
+@@ -61,7 +61,7 @@
+ m_radioColor = new TQRadioButton( i18n("Co&lor:"), m_buttonGroup );
+ groupLayout->addWidget( m_radioColor, 0, 0 );
+ m_buttonColor = new KColorButton( theColor, defaultColor, m_buttonGroup );
+- m_buttonColor->tqsetSizePolicy( TQSizePolicy::Preferred,
++ m_buttonColor->setSizePolicy( TQSizePolicy::Preferred,
+ TQSizePolicy::Minimum );
+ groupLayout->addWidget( m_buttonColor, 0, 1 );
+
+@@ -90,14 +90,14 @@
+ TQLabel* lbl = new TQLabel( i18n("Preview"), page );
+ hlay->addWidget( lbl );
+ TQFrame* frame = new TQFrame( page );
+- frame->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Minimum );
++ frame->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Minimum );
+ frame->setFrameShape( TQFrame::HLine );
+ frame->setFrameShadow( TQFrame::Sunken );
+ hlay->addWidget( frame );
+
+ // preview frame
+ m_preview = new TQFrame( page );
+- m_preview->tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding );
++ m_preview->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding );
+ m_preview->setMinimumSize( 370, 180 );
+ m_preview->setFrameShape( TQFrame::Panel );
+ m_preview->setFrameShadow( TQFrame::Raised );
+@@ -142,7 +142,7 @@
+ TQStringList::ConstIterator it;
+ for ( it = list.begin(); it != list.end(); it++ )
+ m_comboPicture->comboBox()->insertItem(
+- ( (*it).tqat(0) == '/' ) ? // if absolute path
++ ( (*it).at(0) == '/' ) ? // if absolute path
+ KURL( *it ).fileName() : // then only fileName
+ *it );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konqbookmarkmanager.h v3.5.13-sru/libkonq/konqbookmarkmanager.h
+--- /tmp/stable//kdebase/libkonq/konqbookmarkmanager.h 2011-03-12 07:58:01.000000000 +0100
++++ v3.5.13-sru/libkonq/konqbookmarkmanager.h 2012-09-08 19:41:29.000000000 +0200
+@@ -11,7 +11,7 @@
+ static KBookmarkManager * self() {
+ if ( !s_bookmarkManager )
+ {
+- TQString bookmarksFile = locateLocal("data", TQString::tqfromLatin1("konqueror/bookmarks.xml"));
++ TQString bookmarksFile = locateLocal("data", TQString::fromLatin1("konqueror/bookmarks.xml"));
+ s_bookmarkManager = KBookmarkManager::managerForFile( bookmarksFile );
+ }
+ return s_bookmarkManager;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_dirpart.cc v3.5.13-sru/libkonq/konq_dirpart.cc
+--- /tmp/stable//kdebase/libkonq/konq_dirpart.cc 2011-07-08 00:00:31.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_dirpart.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -133,7 +133,7 @@
+ resetCount();
+ //m_bMultipleItemsSelected = false;
+
+- connect( TQApplication::tqclipboard(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotClipboardDataChanged()) );
++ connect( TQApplication::clipboard(), TQT_SIGNAL(dataChanged()), this, TQT_SLOT(slotClipboardDataChanged()) );
+
+ actionCollection()->setHighlightingEnabled( true );
+
+@@ -301,7 +301,7 @@
+ m_pProps->setBgPixmapFile( dlg->pixmapFile() );
+ }
+ m_pProps->applyColors( scrollWidget()->viewport() );
+- scrollWidget()->viewport()->tqrepaint();
++ scrollWidget()->viewport()->repaint();
+ }
+
+ delete dlg;
+@@ -418,7 +418,7 @@
+ // This is very related to KDIconView::slotClipboardDataChanged
+
+ KURL::List lst;
+- TQMimeSource *data = TQApplication::tqclipboard()->data();
++ TQMimeSource *data = TQApplication::clipboard()->data();
+ if ( data->provides( "application/x-kde-cutselection" ) && data->provides( "text/uri-list" ) )
+ if ( KonqDrag::decodeIsCutSelection( data ) )
+ (void) KURLDrag::decode( data, lst );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_drag.cc v3.5.13-sru/libkonq/konq_drag.cc
+--- /tmp/stable//kdebase/libkonq/konq_drag.cc 2011-03-12 07:58:01.000000000 +0100
++++ v3.5.13-sru/libkonq/konq_drag.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -47,12 +47,12 @@
+ else return 0;
+ }
+
+-TQByteArray KonqIconDrag::tqencodedData( const char* mime ) const
++TQByteArray KonqIconDrag::encodedData( const char* mime ) const
+ {
+ TQByteArray a;
+ TQCString mimetype( mime );
+ if ( mimetype == "application/x-qiconlist" )
+- a = TQIconDrag::tqencodedData( mime );
++ a = TQIconDrag::encodedData( mime );
+ else if ( mimetype == "text/uri-list" ) {
+ TQCString s = urls.join( "\r\n" ).latin1();
+ if( urls.count() > 0 )
+@@ -145,7 +145,7 @@
+ return KonqIconDrag::format( i );
+ }
+
+-TQByteArray KonqIconDrag2::tqencodedData( const char* mime ) const
++TQByteArray KonqIconDrag2::encodedData( const char* mime ) const
+ {
+ TQCString mimetype( mime );
+ if ( mimetype == "application/x-kde-urilist" )
+@@ -164,7 +164,7 @@
+ a[c] = 0;
+ return a;
+ }
+- return KonqIconDrag::tqencodedData( mime );
++ return KonqIconDrag::encodedData( mime );
+ }
+
+ //
+@@ -223,7 +223,7 @@
+ else return 0;
+ }
+
+-TQByteArray KonqDrag::tqencodedData( const char* mime ) const
++TQByteArray KonqDrag::encodedData( const char* mime ) const
+ {
+ TQByteArray a;
+ TQCString mimetype( mime );
+@@ -243,7 +243,7 @@
+ }
+ else if ( mimetype == "application/x-kde-urilist" )
+ {
+- return TQUriDrag::tqencodedData( "text/uri-list" );
++ return TQUriDrag::encodedData( "text/uri-list" );
+ }
+ else if ( mimetype == "application/x-kde-cutselection" )
+ {
+@@ -271,13 +271,13 @@
+
+ bool KonqDrag::decodeIsCutSelection( const TQMimeSource *e )
+ {
+- TQByteArray a = e->tqencodedData( "application/x-kde-cutselection" );
++ TQByteArray a = e->encodedData( "application/x-kde-cutselection" );
+ if ( a.isEmpty() )
+ return false;
+ else
+ {
+ kdDebug(1203) << "KonqDrag::decodeIsCutSelection : a=" << TQCString(a.data(), a.size() + 1) << endl;
+- return (a.tqat(0) == '1'); // true if 1
++ return (a.at(0) == '1'); // true if 1
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_drag.h v3.5.13-sru/libkonq/konq_drag.h
+--- /tmp/stable//kdebase/libkonq/konq_drag.h 2011-03-12 07:58:01.000000000 +0100
++++ v3.5.13-sru/libkonq/konq_drag.h 2012-09-08 19:41:29.000000000 +0200
+@@ -44,7 +44,7 @@
+ virtual ~KonqIconDrag() {}
+
+ const char* format( int i ) const;
+- TQByteArray tqencodedData( const char* mime ) const;
++ TQByteArray encodedData( const char* mime ) const;
+
+ void append( const TQIconDragItem &item, const TQRect &pr,
+ const TQRect &tr, const TQString &url );
+@@ -72,7 +72,7 @@
+ virtual ~KonqIconDrag2() {}
+
+ virtual const char* format( int i ) const;
+- virtual TQByteArray tqencodedData( const char* mime ) const;
++ virtual TQByteArray encodedData( const char* mime ) const;
+
+ void append( const TQIconDragItem &item, const TQRect &pr,
+ const TQRect &tr, const TQString &url, const KURL &mostLocalURL );
+@@ -107,7 +107,7 @@
+ virtual ~KonqDrag() {}
+
+ virtual const char* format( int i ) const;
+- virtual TQByteArray tqencodedData( const char* mime ) const;
++ virtual TQByteArray encodedData( const char* mime ) const;
+
+ void setMoveSelection( bool move ) { m_bCutSelection = move; }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_filetip.cc v3.5.13-sru/libkonq/konq_filetip.cc
+--- /tmp/stable//kdebase/libkonq/konq_filetip.cc 2011-03-12 07:58:01.000000000 +0100
++++ v3.5.13-sru/libkonq/konq_filetip.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -49,7 +49,7 @@
+ {
+ m_iconLabel = new TQLabel(this);
+ m_textLabel = new TQLabel(this);
+- m_textLabel->tqsetAlignment(TQt::AlignAuto | TQt::AlignTop);
++ m_textLabel->setAlignment(TQt::AlignAuto | TQt::AlignTop);
+
+ TQGridLayout* layout = new TQGridLayout(this, 1, 2, 8, 0);
+ layout->addWidget(m_iconLabel, 0, 0);
+@@ -189,7 +189,7 @@
+ }
+
+ if ( m_corners[m_corner].isNull())
+- m_corners[m_corner].load( locate( "data", TQString::tqfromLatin1( "konqueror/pics/%1.png" ).arg( names[m_corner] ) ) );
++ m_corners[m_corner].load( locate( "data", TQString::fromLatin1( "konqueror/pics/%1.png" ).arg( names[m_corner] ) ) );
+
+ TQPixmap &pix = m_corners[m_corner];
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_historymgr.cc v3.5.13-sru/libkonq/konq_historymgr.cc
+--- /tmp/stable//kdebase/libkonq/konq_historymgr.cc 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_historymgr.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -48,7 +48,7 @@
+
+ m_history.setAutoDelete( true );
+ m_filename = locateLocal( "data",
+- TQString::tqfromLatin1("konqueror/konq_history" ));
++ TQString::fromLatin1("konqueror/konq_history" ));
+
+ if ( !kapp->dcopClient()->isAttached() )
+ kapp->dcopClient()->attach();
+@@ -295,7 +295,7 @@
+ // konqueror's window caption).
+ if ( !pending && u != title )
+ entry.title = title;
+- entry.firstVisited = TQDateTime::tqcurrentDateTime();
++ entry.firstVisited = TQDateTime::currentDateTime();
+ entry.lastVisited = entry.firstVisited;
+
+ // always remove from pending if available, otherwise the else branch leaks
+@@ -342,7 +342,7 @@
+ // Local URL -> add to history
+ KonqHistoryEntry entry;
+ entry.url = u;
+- entry.firstVisited = TQDateTime::tqcurrentDateTime();
++ entry.firstVisited = TQDateTime::currentDateTime();
+ entry.lastVisited = entry.firstVisited;
+ emitAddToHistory( entry );
+ }
+@@ -589,7 +589,7 @@
+ // compatibility fallback, try to load the old completion history
+ bool KonqHistoryManager::loadFallback()
+ {
+- TQString file = locateLocal( "config", TQString::tqfromLatin1("konq_history"));
++ TQString file = locateLocal( "config", TQString::fromLatin1("konq_history"));
+ if ( file.isEmpty() )
+ return false;
+
+@@ -646,7 +646,7 @@
+ entry->url = u;
+ entry->numberOfTimesVisited = weight;
+ // to make it not expire immediately...
+- entry->lastVisited = TQDateTime::tqcurrentDateTime();
++ entry->lastVisited = TQDateTime::currentDateTime();
+ }
+
+ return entry;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_historymgr.h v3.5.13-sru/libkonq/konq_historymgr.h
+--- /tmp/stable//kdebase/libkonq/konq_historymgr.h 2011-03-12 07:58:01.000000000 +0100
++++ v3.5.13-sru/libkonq/konq_historymgr.h 2012-09-08 19:41:29.000000000 +0200
+@@ -327,7 +327,7 @@
+ private slots:
+ /**
+ * Called by the updateTimer to emit the KParts::HistoryProvider::updated()
+- * signal so that khtml can tqrepaint the updated links.
++ * signal so that khtml can repaint the updated links.
+ */
+ void slotEmitUpdated();
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_iconviewwidget.cc v3.5.13-sru/libkonq/konq_iconviewwidget.cc
+--- /tmp/stable//kdebase/libkonq/konq_iconviewwidget.cc 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_iconviewwidget.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -151,7 +151,7 @@
+ m_LineupMode = LineupBoth;
+ // emit our signals
+ slotSelectionChanged();
+- m_iconPositionGroupPrefix = TQString::tqfromLatin1( "IconPosition::" );
++ m_iconPositionGroupPrefix = TQString::fromLatin1( "IconPosition::" );
+ KonqUndoManager::incRef();
+ }
+
+@@ -308,7 +308,7 @@
+ if (!hasPixmap && backgroundMode() != NoBackground)
+ d->m_movie->setBackgroundColor( viewport()->backgroundColor() );
+ d->m_movie->connectUpdate( this, TQT_SLOT( slotMovieUpdate(const TQRect &) ) );
+- d->m_movie->connectqStatus( TQT_TQOBJECT(this), TQT_SLOT( slotMovieStatus(int) ) );
++ d->m_movie->connectStatus( TQT_TQOBJECT(this), TQT_SLOT( slotMovieStatus(int) ) );
+ d->movieFileName = d->pActiveItem->mouseOverAnimation();
+ d->pActiveItem->setAnimated( true );
+ }
+@@ -331,7 +331,7 @@
+ else // No change in current item
+ {
+ // No effect. If we want to underline on hover, we should
+- // force the IVI to tqrepaint here, though!
++ // force the IVI to repaint here, though!
+ d->pActiveItem = 0L;
+ d->pFileTip->setItem( 0L );
+ }
+@@ -349,7 +349,7 @@
+ d->pSoundPlayer->mimeTypes().contains(
+ item->item()->mimetype())
+ && KGlobalSettings::showFilePreview(item->item()->url())
+- && tqtopLevelWidget() == kapp->activeWindow())
++ && topLevelWidget() == kapp->activeWindow())
+ {
+ d->pSoundItem = item;
+ d->bSoundItemClicked = false;
+@@ -650,10 +650,10 @@
+
+ // Disable repaints that can be triggered by ivi->setIcon(). Since icons are
+ // resized in-place, if the icon size is increasing it can happens that the right
+- // or bottom icons exceed the size of the viewport.. here we prevent the tqrepaint
++ // or bottom icons exceed the size of the viewport.. here we prevent the repaint
+ // event that will be triggered in that case.
+ bool prevUpdatesState = viewport()->isUpdatesEnabled();
+- viewport()->tqsetUpdatesEnabled( false );
++ viewport()->setUpdatesEnabled( false );
+
+ // Do this even if size didn't change, since this is used by refreshMimeTypes...
+ for ( TQIconViewItem *it = firstItem(); it; it = it->nextItem() ) {
+@@ -673,11 +673,11 @@
+ }
+
+ // Restore viewport update to previous state
+- viewport()->tqsetUpdatesEnabled( prevUpdatesState );
++ viewport()->setUpdatesEnabled( prevUpdatesState );
+
+ if ( ( sizeChanged || previewSizeChanged || oldGridX != gridX() ||
+ !stopImagePreviewFor.isEmpty() ) && autoArrange() )
+- arrangeItemsInGrid( true ); // take new grid into account and tqrepaint
++ arrangeItemsInGrid( true ); // take new grid into account and repaint
+ else
+ viewport()->update(); //Repaint later..
+ }
+@@ -995,7 +995,7 @@
+ {
+ if ( e->provides( "text/uri-list" ) )
+ {
+- TQByteArray payload = e->tqencodedData( "text/uri-list" );
++ TQByteArray payload = e->encodedData( "text/uri-list" );
+ if ( !payload.size() )
+ kdError() << "Empty data !" << endl;
+ // Cache the URLs, since we need them every time we move over a file
+@@ -1147,14 +1147,14 @@
+ kdDebug(1203) << " -- KonqIconViewWidget::cutSelection() -- " << endl;
+ KonqIconDrag * obj = konqDragObject( /* no parent ! */ );
+ obj->setMoveSelection( true );
+- TQApplication::tqclipboard()->setData( obj );
++ TQApplication::clipboard()->setData( obj );
+ }
+
+ void KonqIconViewWidget::copySelection()
+ {
+ kdDebug(1203) << " -- KonqIconViewWidget::copySelection() -- " << endl;
+ KonqIconDrag * obj = konqDragObject( /* no parent ! */ );
+- TQApplication::tqclipboard()->setData( obj );
++ TQApplication::clipboard()->setData( obj );
+ }
+
+ void KonqIconViewWidget::pasteSelection()
+@@ -1221,7 +1221,7 @@
+ // The following call is SO expensive (the ::widgetAt call eats up to 80%
+ // of the mouse move cpucycles!), so it's mandatory to place that function
+ // under strict checks, such as d->pSoundPlayer->isPlaying()
+- if ( TQApplication::widgetAt( TQCursor::pos() ) != tqtopLevelWidget() )
++ if ( TQApplication::widgetAt( TQCursor::pos() ) != topLevelWidget() )
+ {
+ if (d->pSoundPlayer)
+ d->pSoundPlayer->stop();
+@@ -1249,7 +1249,7 @@
+ if ( !i && (ev->action() == TQDropEvent::Copy || ev->action() == TQDropEvent::Link)
+ && ev->source() && ev->source() == viewport())
+ {
+- // First we need to call TQIconView though, to clear the drag tqshape
++ // First we need to call TQIconView though, to clear the drag shape
+ bool bMovable = itemsMovable();
+ setItemsMovable(false); // hack ? call it what you want :-)
+ KIconView::contentsDropEvent( ev );
+@@ -1488,7 +1488,7 @@
+ y = QMAX(y, i->y() + i->height());
+ }
+
+- TQMemArray<TQRect> rects = r.tqrects();
++ TQMemArray<TQRect> rects = r.rects();
+ TQMemArray<TQRect>::Iterator it = rects.begin();
+ bool foundPlace = FALSE;
+ for (; it != rects.end(); ++it)
+@@ -1730,12 +1730,12 @@
+ }
+ }
+
+- // tqrepaint
++ // repaint
+ if ( newItemWidth )
+ updateContents();
+ else {
+ // Repaint only repaintRegion...
+- TQMemArray<TQRect> rects = repaintRegion.tqrects();
++ TQMemArray<TQRect> rects = repaintRegion.rects();
+ for ( uint l = 0; l < rects.count(); l++ ) {
+ kdDebug( 1203 ) << "Repainting (" << rects[l].x() << ","
+ << rects[l].y() << ")\n";
+@@ -1794,7 +1794,7 @@
+ }
+
+ // Repaint only repaintRegion...
+- TQMemArray<TQRect> rects = repaintRegion.tqrects();
++ TQMemArray<TQRect> rects = repaintRegion.rects();
+ for ( uint l = 0; l < rects.count(); l++ ) {
+ kdDebug( 1203 ) << "Repainting (" << rects[l].x() << ","
+ << rects[l].y() << ")\n";
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_operations.cc v3.5.13-sru/libkonq/konq_operations.cc
+--- /tmp/stable//kdebase/libkonq/konq_operations.cc 2011-07-09 08:16:54.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_operations.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -76,7 +76,7 @@
+
+ void KonqOperations::editMimeType( const TQString & mimeType )
+ {
+- TQString keditfiletype = TQString::tqfromLatin1("keditfiletype");
++ TQString keditfiletype = TQString::fromLatin1("keditfiletype");
+ KRun::runCommand( keditfiletype + " " + KProcess::quote(mimeType),
+ keditfiletype, keditfiletype /*unused*/);
+ }
+@@ -124,7 +124,7 @@
+ {
+ // move or not move ?
+ bool move = false;
+- TQMimeSource *data = TQApplication::tqclipboard()->data();
++ TQMimeSource *data = TQApplication::clipboard()->data();
+ if ( data->provides( "application/x-kde-cutselection" ) ) {
+ move = KonqDrag::decodeIsCutSelection( data );
+ kdDebug(1203) << "move (from clipboard data) = " << move << endl;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_pixmapprovider.cc v3.5.13-sru/libkonq/konq_pixmapprovider.cc
+--- /tmp/stable//kdebase/libkonq/konq_pixmapprovider.cc 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_pixmapprovider.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -70,9 +70,9 @@
+ else
+ {
+ KURL u;
+- if ( url.tqat(0) == '~' )
++ if ( url.at(0) == '~' )
+ u.setPath( KShell::tildeExpand( url ) );
+- else if ( url.tqat(0) == '/' )
++ else if ( url.at(0) == '/' )
+ u.setPath( url );
+ else
+ u = url;
+@@ -166,7 +166,7 @@
+ return SmallIcon( icon, size );
+
+ KURL u;
+- if ( url.tqat(0) == '/' )
++ if ( url.at(0) == '/' )
+ u.setPath( url );
+ else
+ u = url;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_popupmenu.cc v3.5.13-sru/libkonq/konq_popupmenu.cc
+--- /tmp/stable//kdebase/libkonq/konq_popupmenu.cc 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_popupmenu.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -291,7 +291,7 @@
+ act->setIconSet( pix );
+ }
+
+- tqaddAction( act, menu ); // Add to toplevel menu
++ addAction( act, menu ); // Add to toplevel menu
+
+ m_mapPopupServices[ id++ ] = *it;
+ ++count;
+@@ -355,7 +355,7 @@
+ m_pluginList.setAutoDelete( true );
+ m_ownActions.setHighlightingEnabled( true );
+
+- attrName = TQString::tqfromLatin1( "name" );
++ attrName = TQString::fromLatin1( "name" );
+
+ prepareXMLGUIStuff();
+ m_builder = new KonqPopupMenuGUIBuilder( this );
+@@ -497,7 +497,7 @@
+ m_pMenuNew->slotCheckUpToDate();
+ m_pMenuNew->setPopupFiles( m_lstPopupURLs );
+
+- tqaddAction( m_pMenuNew );
++ addAction( m_pMenuNew );
+
+ addSeparator();
+ }
+@@ -506,31 +506,31 @@
+ if (d->m_itemFlags & KParts::BrowserExtension::ShowCreateDirectory)
+ {
+ KAction *actNewDir = new KAction( i18n( "Create &Folder..." ), "folder_new", 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupNewDir() ), &m_ownActions, "newdir" );
+- tqaddAction( actNewDir );
++ addAction( actNewDir );
+ addSeparator();
+ }
+ }
+ } else if ( isIntoTrash ) {
+ // Trashed item, offer restoring
+ act = new KAction( i18n( "&Restore" ), 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupRestoreTrashedItems() ), &m_ownActions, "restore" );
+- tqaddAction( act );
++ addAction( act );
+ }
+
+ if (d->m_itemFlags & KParts::BrowserExtension::ShowNavigationItems)
+ {
+ if (d->m_itemFlags & KParts::BrowserExtension::ShowUp)
+- tqaddAction( "up" );
+- tqaddAction( "back" );
+- tqaddAction( "forward" );
++ addAction( "up" );
++ addAction( "back" );
++ addAction( "forward" );
+ if (d->m_itemFlags & KParts::BrowserExtension::ShowReload)
+- tqaddAction( "reload" );
++ addAction( "reload" );
+ addSeparator();
+ }
+
+ // "open in new window" is either provided by us, or by the tabhandling group
+ if (actNewWindow)
+ {
+- tqaddAction( actNewWindow );
++ addAction( actNewWindow );
+ addSeparator();
+ }
+ addGroup( "tabhandling" ); // includes a separator
+@@ -539,21 +539,21 @@
+ {
+ if ( !currentDir && sReading ) {
+ if ( sDeleting ) {
+- tqaddAction( "cut" );
++ addAction( "cut" );
+ }
+- tqaddAction( "copy" );
++ addAction( "copy" );
+ }
+
+ if ( S_ISDIR(mode) && sWriting ) {
+ if ( currentDir )
+- tqaddAction( "paste" );
++ addAction( "paste" );
+ else
+- tqaddAction( "pasteto" );
++ addAction( "pasteto" );
+ }
+ if ( !currentDir )
+ {
+ if ( m_lstItems.count() == 1 && sMoving )
+- tqaddAction( "rename" );
++ addAction( "rename" );
+
+ bool addTrash = false;
+ bool addDel = false;
+@@ -576,9 +576,9 @@
+ }
+
+ if ( addTrash )
+- tqaddAction( "trash" );
++ addAction( "trash" );
+ if ( addDel )
+- tqaddAction( "del" );
++ addAction( "del" );
+ }
+ }
+ if ( isCurrentTrash )
+@@ -587,7 +587,7 @@
+ KSimpleConfig trashConfig( "trashrc", true );
+ trashConfig.setGroup( "Status" );
+ act->setEnabled( !trashConfig.readBoolEntry( "Empty", true ) );
+- tqaddAction( act );
++ addAction( act );
+ }
+ addGroup( "editactions" );
+
+@@ -620,7 +620,7 @@
+ if (m_lstItems.count() > 1)
+ act->setEnabled(false);
+ if (kapp->authorizeKAction("bookmarks"))
+- tqaddAction( act );
++ addAction( act );
+ if (bIsLink)
+ addGroup( "linkactions" );
+ }
+@@ -903,7 +903,7 @@
+ act = new KAction( actionName, (*it)->pixmap( KIcon::Small ), 0,
+ TQT_TQOBJECT(this), TQT_SLOT( slotRunService() ),
+ &m_ownActions, nam.prepend( "appservice_" ) );
+- tqaddAction( act, menu );
++ addAction( act, menu );
+
+ m_mapPopup[ id++ ] = *it;
+ }
+@@ -919,12 +919,12 @@
+ openWithActionName = i18n( "&Open With..." );
+ }
+ KAction *openWithAct = new KAction( openWithActionName, 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupOpenWith() ), &m_ownActions, "openwith" );
+- tqaddAction( openWithAct, menu );
++ addAction( openWithAct, menu );
+ }
+ else // no app offers -> Open With...
+ {
+ act = new KAction( i18n( "&Open With..." ), 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupOpenWith() ), &m_ownActions, "openwith" );
+- tqaddAction( act );
++ addAction( act );
+ }
+
+ }
+@@ -979,7 +979,7 @@
+ {
+ act = new KAction( i18n( "&Properties" ), 0, TQT_TQOBJECT(this), TQT_SLOT( slotPopupProperties() ),
+ &m_ownActions, "properties" );
+- tqaddAction( act );
++ addAction( act );
+ }
+
+ while ( !m_menuElement.lastChild().isNull() &&
+@@ -993,7 +993,7 @@
+ addSeparator();
+ act = new KAction( i18n("Share"), 0, TQT_TQOBJECT(this), TQT_SLOT( slotOpenShareFileDialog() ),
+ &m_ownActions, "sharefile" );
+- tqaddAction( act );
++ addAction( act );
+ }
+ }
+
+@@ -1157,7 +1157,7 @@
+ //search for a plugin with the right protocol
+ KTrader::OfferList plugin_offers;
+ unsigned int pluginCount = 0;
+- plugin_offers = KTrader::self()->query( m_sMimeType.isNull() ? TQString::tqfromLatin1( "all/all" ) : m_sMimeType, "'KonqPopupMenu/Plugin' in ServiceTypes");
++ plugin_offers = KTrader::self()->query( m_sMimeType.isNull() ? TQString::fromLatin1( "all/all" ) : m_sMimeType, "'KonqPopupMenu/Plugin' in ServiceTypes");
+ if ( plugin_offers.isEmpty() )
+ return; // no plugins installed do not bother about it
+
+@@ -1176,7 +1176,7 @@
+ if ( !plugin )
+ continue;
+ // This make the kuick plugin insert its stuff above "Properties"
+- TQString pluginClientName = TQString::tqfromLatin1( "Plugin%1" ).arg( pluginCount );
++ TQString pluginClientName = TQString::fromLatin1( "Plugin%1" ).arg( pluginCount );
+ addMerge( pluginClientName );
+ plugin->domDocument().documentElement().setAttribute( "name", pluginClientName );
+ m_pluginList.append( plugin );
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_popupmenu.h v3.5.13-sru/libkonq/konq_popupmenu.h
+--- /tmp/stable//kdebase/libkonq/konq_popupmenu.h 2011-07-09 08:16:54.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_popupmenu.h 2012-09-08 19:41:29.000000000 +0200
+@@ -210,7 +210,7 @@
+ * Constructor
+ * If you want to insert a dynamic item or menu to konqpopupmenu
+ * this class is the right choice.
+- * Create a KAction and use _popup->tqaddAction(new KAction );
++ * Create a KAction and use _popup->addAction(new KAction );
+ * If you want to create a submenu use _popup->addGroup( );
+ */
+ KonqPopupMenuPlugin( KonqPopupMenu *_popup, const char *name ); // this should also be the parent
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_propsview.cc v3.5.13-sru/libkonq/konq_propsview.cc
+--- /tmp/stable//kdebase/libkonq/konq_propsview.cc 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_propsview.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -474,7 +474,7 @@
+ const TQColor & KonqPropsView::bgColor( TQWidget * widget ) const
+ {
+ if ( !m_bgColor.isValid() )
+- return widget->tqcolorGroup().base();
++ return widget->colorGroup().base();
+ else
+ return m_bgColor;
+ }
+@@ -501,7 +501,7 @@
+ const TQColor & KonqPropsView::textColor( TQWidget * widget ) const
+ {
+ if ( !m_textColor.isValid() )
+- return widget->tqcolorGroup().text();
++ return widget->colorGroup().text();
+ else
+ return m_textColor;
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_propsview.h v3.5.13-sru/libkonq/konq_propsview.h
+--- /tmp/stable//kdebase/libkonq/konq_propsview.h 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_propsview.h 2012-09-08 19:41:29.000000000 +0200
+@@ -133,7 +133,7 @@
+
+ TQString currentGroup() const {
+ return isDefaultProperties() ?
+- TQString::tqfromLatin1("Settings") : TQString::tqfromLatin1("URL properties");
++ TQString::fromLatin1("Settings") : TQString::fromLatin1("URL properties");
+ }
+
+ private:
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_settings.cc v3.5.13-sru/libkonq/konq_settings.cc
+--- /tmp/stable//kdebase/libkonq/konq_settings.cc 2011-08-11 07:25:41.000000000 +0200
++++ v3.5.13-sru/libkonq/konq_settings.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -146,10 +146,10 @@
+ kdDebug(1203) << "KonqFMSettings::shouldEmbed : serviceTypeGroup=" << serviceTypeGroup << endl;
+ if ( serviceTypeGroup == "inode" || serviceTypeGroup == "Browser" || serviceTypeGroup == "Konqueror" )
+ return true; //always embed mimetype inode/*, Browser/* and Konqueror/*
+- TQMap<TQString, TQString>::ConstIterator it = m_embedMap.find( TQString::tqfromLatin1("embed-")+serviceTypeGroup );
++ TQMap<TQString, TQString>::ConstIterator it = m_embedMap.find( TQString::fromLatin1("embed-")+serviceTypeGroup );
+ if ( it != m_embedMap.end() ) {
+ kdDebug(1203) << "KonqFMSettings::shouldEmbed: " << it.data() << endl;
+- return it.data() == TQString::tqfromLatin1("true");
++ return it.data() == TQString::fromLatin1("true");
+ }
+ // 3 - if no config found, use default.
+ // Note: if you change those defaults, also change kcontrol/filetypes/typeslistitem.cpp !
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_xmlguiclient.cc v3.5.13-sru/libkonq/konq_xmlguiclient.cc
+--- /tmp/stable//kdebase/libkonq/konq_xmlguiclient.cc 2011-03-12 07:58:01.000000000 +0100
++++ v3.5.13-sru/libkonq/konq_xmlguiclient.cc 2012-09-08 19:41:29.000000000 +0200
+@@ -70,12 +70,12 @@
+ return m_doc;
+ }
+
+-void KonqXMLGUIClient::tqaddAction( KAction *act, const TQDomElement &menu )
++void KonqXMLGUIClient::addAction( KAction *act, const TQDomElement &menu )
+ {
+- tqaddAction( act->name(), menu );
++ addAction( act->name(), menu );
+ }
+
+-void KonqXMLGUIClient::tqaddAction( const char *name, const TQDomElement &menu )
++void KonqXMLGUIClient::addAction( const char *name, const TQDomElement &menu )
+ {
+ static const TQString& tagAction = KGlobal::staticQString( "action" );
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/libkonq/konq_xmlguiclient.h v3.5.13-sru/libkonq/konq_xmlguiclient.h
+--- /tmp/stable//kdebase/libkonq/konq_xmlguiclient.h 2011-03-12 07:58:01.000000000 +0100
++++ v3.5.13-sru/libkonq/konq_xmlguiclient.h 2012-09-08 19:41:29.000000000 +0200
+@@ -45,8 +45,8 @@
+ TQDomElement DomElement( ) const; // KDE4: s/D/d/
+
+ protected:
+- void tqaddAction( KAction *action, const TQDomElement &menu = TQDomElement() );
+- void tqaddAction( const char *name, const TQDomElement &menu = TQDomElement() );
++ void addAction( KAction *action, const TQDomElement &menu = TQDomElement() );
++ void addAction( const char *name, const TQDomElement &menu = TQDomElement() );
+ void addSeparator( const TQDomElement &menu = TQDomElement() );
+ /// only add a separator if an action is added afterwards
+ void addPendingSeparator();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/nspluginloader.cpp v3.5.13-sru/nsplugins/nspluginloader.cpp
+--- /tmp/stable//kdebase/nsplugins/nspluginloader.cpp 2011-08-11 07:25:38.000000000 +0200
++++ v3.5.13-sru/nsplugins/nspluginloader.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -130,7 +130,7 @@
+ setBackgroundMode(w == 0 ? TQWidget::PaletteBackground : TQWidget::NoBackground);
+ if (w == 0) {
+ // FIXME: Put a notice here to tell the user that it crashed.
+- tqrepaint();
++ repaint();
+ }
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/plugin_part.cpp v3.5.13-sru/nsplugins/plugin_part.cpp
+--- /tmp/stable//kdebase/nsplugins/plugin_part.cpp 2011-08-11 07:25:38.000000000 +0200
++++ v3.5.13-sru/nsplugins/plugin_part.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -307,7 +307,7 @@
+ _widget = inst;
+ } else {
+ TQLabel *label = new TQLabel( i18n("Unable to load Netscape plugin for %1").arg(url.url()), _canvas );
+- label->tqsetAlignment( AlignCenter | WordBreak );
++ label->setAlignment( AlignCenter | WordBreak );
+ _widget = label;
+ }
+
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/pluginscan.cpp v3.5.13-sru/nsplugins/pluginscan.cpp
+--- /tmp/stable//kdebase/nsplugins/pluginscan.cpp 2011-08-11 07:25:38.000000000 +0200
++++ v3.5.13-sru/nsplugins/pluginscan.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -251,14 +251,14 @@
+ NPError err = func_GetValue( 0, NPPVpluginNameString,
+ (void*)&buf );
+ if ( err==NPERR_NO_ERROR )
+- name = TQString::tqfromLatin1( buf );
++ name = TQString::fromLatin1( buf );
+ kdDebug() << "name = " << name << endl;
+
+ // get name
+ NPError nperr = func_GetValue( 0, NPPVpluginDescriptionString,
+ (void*)&buf );
+ if ( nperr==NPERR_NO_ERROR )
+- description = TQString::tqfromLatin1( buf );
++ description = TQString::fromLatin1( buf );
+ kdDebug() << "description = " << description << endl;
+ }
+ else
+@@ -346,7 +346,7 @@
+ // open the library and ask for the mimetype
+ kdDebug(1433) << " - opening " << absFile << endl;
+
+- cache.tqdevice()->flush();
++ cache.device()->flush();
+ // fork, so that a crash in the plugin won't stop the scanning of other plugins
+ int pipes[2];
+ if (pipe(pipes) != 0) continue;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/sdk/jni.h v3.5.13-sru/nsplugins/sdk/jni.h
+--- /tmp/stable//kdebase/nsplugins/sdk/jni.h 2011-03-12 07:57:57.000000000 +0100
++++ v3.5.13-sru/nsplugins/sdk/jni.h 2012-09-08 19:41:29.000000000 +0200
+@@ -580,7 +580,7 @@
+ (JNIEnv *env, jclass clazz, jfieldID fieldID, jdouble value);
+
+ jstring (JNICALL *NewString)
+- (JNIEnv *env, const jchar *tqunicode, jsize len);
++ (JNIEnv *env, const jchar *unicode, jsize len);
+ jsize (JNICALL *GetStringLength)
+ (JNIEnv *env, jstring str);
+ const jchar *(JNICALL *GetStringChars)
+@@ -1508,8 +1508,8 @@
+ functions->SetStaticDoubleField(this,clazz,fieldID,value);
+ }
+
+- jstring NewString(const jchar *tqunicode, jsize len) {
+- return functions->NewString(this,tqunicode,len);
++ jstring NewString(const jchar *unicode, jsize len) {
++ return functions->NewString(this,unicode,len);
+ }
+ jsize GetStringLength(jstring str) {
+ return functions->GetStringLength(this,str);
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/sdk/jri.h v3.5.13-sru/nsplugins/sdk/jri.h
+--- /tmp/stable//kdebase/nsplugins/sdk/jri.h 2011-03-12 07:57:57.000000000 +0100
++++ v3.5.13-sru/nsplugins/sdk/jri.h 2012-09-08 19:41:29.000000000 +0200
+@@ -341,8 +341,8 @@
+ #define JRI_SetStaticFieldDouble(env, clazz, fieldID, value) \
+ (((*(env))->SetStaticFieldDouble)(env, JRI_SetStaticFieldDouble_op, clazz, fieldID, value))
+
+-#define JRI_NewString(env, tqunicode, len) \
+- (((*(env))->NewString)(env, JRI_NewString_op, tqunicode, len))
++#define JRI_NewString(env, unicode, len) \
++ (((*(env))->NewString)(env, JRI_NewString_op, unicode, len))
+
+ #define JRI_GetStringLength(env, string) \
+ (((*(env))->GetStringLength)(env, JRI_GetStringLength_op, string))
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/sdk/npruntime.h v3.5.13-sru/nsplugins/sdk/npruntime.h
+--- /tmp/stable//kdebase/nsplugins/sdk/npruntime.h 2011-03-12 07:57:57.000000000 +0100
++++ v3.5.13-sru/nsplugins/sdk/npruntime.h 2012-09-08 19:41:29.000000000 +0200
+@@ -306,7 +306,7 @@
+
+ NPInvalidateFunctionPtr is called by the scripting environment
+ when the native code is shutdown. Any attempt to message a
+- NPObject instance after the tqinvalidate callback has been
++ NPObject instance after the invalidate callback has been
+ called will result in undefined behavior, even if the native code
+ is still retaining those NPObject instances. (The runtime
+ will typically return immediately, with 0 or NULL, from an attempt
+@@ -318,7 +318,7 @@
+ uint32_t structVersion;
+ NPAllocateFunctionPtr allocate;
+ NPDeallocateFunctionPtr deallocate;
+- NPInvalidateFunctionPtr tqinvalidate;
++ NPInvalidateFunctionPtr invalidate;
+ NPHasMethodFunctionPtr hasMethod;
+ NPInvokeFunctionPtr invoke;
+ NPInvokeDefaultFunctionPtr invokeDefault;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/viewer/kxt.cpp v3.5.13-sru/nsplugins/viewer/kxt.cpp
+--- /tmp/stable//kdebase/nsplugins/viewer/kxt.cpp 2011-03-12 07:57:57.000000000 +0100
++++ v3.5.13-sru/nsplugins/viewer/kxt.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -567,7 +567,7 @@
+ TQWidget *w = find( (WId)win );
+ if ( w ) {
+ // We know that window
+- return w->tqtopLevelWidget() == tqtopLevelWidget();
++ return w->topLevelWidget() == topLevelWidget();
+ } else {
+ // Window still may be a parent (if top-level is foreign window)
+ Window root, parent;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/viewer/nsplugin.cpp v3.5.13-sru/nsplugins/viewer/nsplugin.cpp
+--- /tmp/stable//kdebase/nsplugins/viewer/nsplugin.cpp 2011-09-27 00:37:49.000000000 +0200
++++ v3.5.13-sru/nsplugins/viewer/nsplugin.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -138,7 +138,7 @@
+ }
+
+
+-// tqinvalidate rect
++// invalidate rect
+ void g_NPN_InvalidateRect(NPP /*instance*/, NPRect* /*invalidRect*/)
+ {
+ // http://devedge.netscape.com/library/manuals/2002/plugin/1.0/npn_api7.html#999503
+@@ -147,7 +147,7 @@
+ }
+
+
+-// tqinvalidate region
++// invalidate region
+ void g_NPN_InvalidateRegion(NPP /*instance*/, NPRegion /*invalidRegion*/)
+ {
+ // http://devedge.netscape.com/library/manuals/2002/plugin/1.0/npn_api8.html#999528
+@@ -252,8 +252,8 @@
+
+ NSPluginInstance *inst = static_cast<NSPluginInstance*>(instance->ndata);
+ if (inst) {
+- inst->requestURL( TQString::tqfromLatin1(url), TQString::null,
+- TQString::tqfromLatin1(target), 0 );
++ inst->requestURL( TQString::fromLatin1(url), TQString::null,
++ TQString::fromLatin1(target), 0 );
+ }
+
+ return NPERR_NO_ERROR;
+@@ -267,8 +267,8 @@
+ NSPluginInstance *inst = static_cast<NSPluginInstance*>(instance->ndata);
+ if (inst) {
+ kdDebug(1431) << "g_NPN_GetURLNotify: ndata=" << (void*)inst << endl;
+- inst->requestURL( TQString::tqfromLatin1(url), TQString::null,
+- TQString::tqfromLatin1(target), notifyData, true );
++ inst->requestURL( TQString::fromLatin1(url), TQString::null,
++ TQString::fromLatin1(target), notifyData, true );
+ }
+
+ return NPERR_NO_ERROR;
+@@ -318,7 +318,7 @@
+ break;
+ }
+
+- TQString thisLine = TQString::tqfromLatin1(previousStart, &buf[l-1] - previousStart).stripWhiteSpace();
++ TQString thisLine = TQString::fromLatin1(previousStart, &buf[l-1] - previousStart).stripWhiteSpace();
+
+ previousStart = &buf[l];
+ previousCR = true;
+@@ -360,9 +360,9 @@
+ }
+
+ NSPluginInstance *inst = static_cast<NSPluginInstance*>(instance->ndata);
+- if (inst && !inst->normalizedURL(TQString::tqfromLatin1(url)).isNull()) {
+- inst->postURL( TQString::tqfromLatin1(url), postdata, args.contentType(),
+- TQString::tqfromLatin1(target), notifyData, args, true );
++ if (inst && !inst->normalizedURL(TQString::fromLatin1(url)).isNull()) {
++ inst->postURL( TQString::fromLatin1(url), postdata, args.contentType(),
++ TQString::fromLatin1(target), notifyData, args, true );
+ } else {
+ // Unsupported / insecure
+ return NPERR_INVALID_URL;
+@@ -415,7 +415,7 @@
+ break;
+ }
+
+- TQString thisLine = TQString::tqfromLatin1(previousStart, &buf[l-1] - previousStart).stripWhiteSpace();
++ TQString thisLine = TQString::fromLatin1(previousStart, &buf[l-1] - previousStart).stripWhiteSpace();
+
+ previousStart = &buf[l];
+ previousCR = true;
+@@ -457,9 +457,9 @@
+ }
+
+ NSPluginInstance *inst = static_cast<NSPluginInstance*>(instance->ndata);
+- if (inst && !inst->normalizedURL(TQString::tqfromLatin1(url)).isNull()) {
+- inst->postURL( TQString::tqfromLatin1(url), postdata, args.contentType(),
+- TQString::tqfromLatin1(target), 0L, args, false );
++ if (inst && !inst->normalizedURL(TQString::fromLatin1(url)).isNull()) {
++ inst->postURL( TQString::fromLatin1(url), postdata, args.contentType(),
++ TQString::fromLatin1(target), 0L, args, false );
+ } else {
+ // Unsupported / insecure
+ return NPERR_INVALID_URL;
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/nsplugins/viewer/viewer.cpp v3.5.13-sru/nsplugins/viewer/viewer.cpp
+--- /tmp/stable//kdebase/nsplugins/viewer/viewer.cpp 2011-03-12 07:57:57.000000000 +0100
++++ v3.5.13-sru/nsplugins/viewer/viewer.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -190,7 +190,7 @@
+ }
+ #endif
+ if ( p )
+- _notifiers[type].insert( _notifiers[type].tqat(), sn );
++ _notifiers[type].insert( _notifiers[type].at(), sn );
+ else
+ _notifiers[type].append( sn );
+ }
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/pics/crystalsvg/cr16-app-package_games_kids.png v3.5.13-sru/pics/crystalsvg/cr16-app-package_games_kids.png
+--- /tmp/stable//kdebase/pics/crystalsvg/cr16-app-package_games_kids.png 1970-01-01 01:00:00.000000000 +0100
++++ v3.5.13-sru/pics/crystalsvg/cr16-app-package_games_kids.png 2012-09-08 19:41:29.000000000 +0200
+@@ -0,0 +1,6 @@
++‰PNG
++
++
++ê
++À|À}Í°A)õ /õ/Àmp,%I¬ßlÚ¶#n¡}ßÏsÚ–ã‘Ãat:KÄq ä¹Ýv†Va:n£-`±`µr8AàÝ”!"MÓü#? ­5"ÁéÄ|Î~ï8a¹t­µµ4™àûÌfCÊÍÆI=ϳ
++†f0«QÄngS¥”ˆÜÎç[ƒ¹”I¯f™öÒEQ\‰³,êºîºÎ }ß—eiuýÞ¿G¸Š@jm²Z
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/pics/crystalsvg/cr32-app-package_games_kids.png v3.5.13-sru/pics/crystalsvg/cr32-app-package_games_kids.png
+--- /tmp/stable//kdebase/pics/crystalsvg/cr32-app-package_games_kids.png 1970-01-01 01:00:00.000000000 +0100
++++ v3.5.13-sru/pics/crystalsvg/cr32-app-package_games_kids.png 2012-09-08 19:41:29.000000000 +0200
+@@ -0,0 +1,5 @@
++‰PNG
++
++
++ÑÕU­® ÷ ¢Ñèññ±|ïè
++™Œ“¦iÖoæ7nµµµ^¯×4[[9?go“'syyÙ2JKôülÕÇÌÝëõš4Y"Çcbss³ød+,066V>|I›˜˜(OK$Ž£Ó*Öêêêíím©ÏÝÝÝââ¢i®­­ÝÜÜ”ÒîïïÃá°aŽñjïEŒÿnúî¥B±¾
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/pics/crystalsvg/cr48-app-package_games_kids.png v3.5.13-sru/pics/crystalsvg/cr48-app-package_games_kids.png
+--- /tmp/stable//kdebase/pics/crystalsvg/cr48-app-package_games_kids.png 1970-01-01 01:00:00.000000000 +0100
++++ v3.5.13-sru/pics/crystalsvg/cr48-app-package_games_kids.png 2012-09-08 19:41:29.000000000 +0200
+@@ -0,0 +1,7 @@
++‰PNG
++
++
++ŒAFjbÙñTl$t|÷âLÇù:£ÆváŸß9çù?ïož÷<ç¼3JB¾&%üß
++ª«ÉÉá̺»ùøõW ¸£hüZžP…UÈãñTTT¬Èmý+ªMƒË¥z*D?ÃßQü©y€Š‹‹···$ØÉÏ'Ö‚‡†ÐÞµ¾{§ s :ÂϧÁôk¥Pš|ddD+î Ëf³E>\ëëëÂÂØOùùµµÅü¼jÒÓ§1™0›)(ˆ04d
++…^ø.ב+”œ4ß¿Ó‰ÅÂð0>œ?¯ÿ !h÷z¹tÉP|¨´–ar ¸˜ü|òóãHšÀþ>N'‰‰Øí†6'ÉÉÉ:@{{¼zPRŠ¬sçXXàéS€S§ 544G1»L¦¦‚oßÆÝeׯòð!››úÞ––C¨ºàæMýÖ•$I.¸â½wÀbÁn§¨ŸOËÛÑѺ S’Ÿ¾N§Édêéé‰ðvv†Å<{¦êíîîŽØªݺðò¥Édˆö®®b·c·ÓÔÄÄ„ª·¿¿?z›ª
++$Ÿ>éÜm].—šW÷N=88MTUUc‘Õ5>>®xkjjâòŽÅ¤ zóæÁt’$uuu…f‰ËÛÙÙ©F#„ûõ£··w%ô+`,­­­Ùív[Ô׋¾¾¾ååemïúúz}}}´7ŒXˆ“-hêHO_ÐH¼Û‹ûsÍV
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/pics/crystalsvg/crsc-app-package_games_kids.svgz v3.5.13-sru/pics/crystalsvg/crsc-app-package_games_kids.svgz
+--- /tmp/stable//kdebase/pics/crystalsvg/crsc-app-package_games_kids.svgz 1970-01-01 01:00:00.000000000 +0100
++++ v3.5.13-sru/pics/crystalsvg/crsc-app-package_games_kids.svgz 2012-09-08 19:41:29.000000000 +0200
+@@ -0,0 +1,17 @@
++‹Te-P
++”Æãñ×ï©jRlJrÖŽ6k6¤ÓÕÝÕu9]EΓï߯WÅ»ºÝ-›ÍÕD–bRÔ›y³Xnn¯&ÿúõåe˜»}µYT«fS_M6Íäû§ß<Ù½»ý¦(
++LÞìf‹ùÕän¿ßΦÓí}»*›övº˜OëU½®7ûÝT–r:Äçƒø¼­«ýò]=oÖëf³ã™›Ý·™p»¸9H?<<”š…dŒq*ÔT©KH\î7ûêýåx*t<7U !¦$?Mj¶ƒU¶øwïr×Ü·óúóêrSï§/~}q¼åb¿È–YnÞîæÕ¶íÚƒÉÕºÞm«y½›ö8Ï¿«—·wû«‰üóa¹Øß~½~õÛ/—«úõëüOK\MšÕ³Wõ´ÚnwS¬ø¶º­_ï›Ç]Ùmäz¯&éËûþËrq5¸äý±f‡‰¢Ô*ÉuºæC&”º”ECpãù‹fž”ìÕº¥S¿~»\ì.çͪi*Ö­ßo›v9œoz׬ëé¢z·\L÷‹zº\ßN?ºÜvs~¹÷‹-\ÅÙÁÇ~ð)FŸ”§íï–õÍIzSí’—Šb‹ýyÏ«É·7üéÞ4í¢nû!ÇŸÑPí—ûÇÁ™F´êa\”"}ÎIíîªEóp5QǃšfÓ”6H-ýÉð.W±FiãO±«¶¥rRÚx<ø°Ü`ÇË."¥ò'zu}Gá>"´ùØt²ŒÑ'ªÝ·-ˆærU=Öm«ˆ¶»æá¶%÷ÜT«ƒŽW]Wï—ëå‡zA_LÙÕ‹úf78—~é~h]ï«Eµ¯†á‘Žã2¿¼x™†“
++
++ï¾¢àœ~QÎgcB'>
++ó˜Ï:yq û’–ý2ÇÑ¢½¼ç(‘ˆéýy³S>™öÿÚVû»îzÝ?®j
++O\¾;\ 3©ººä;i«Ù-»ì
++—™ìë–·÷+”ZïêM³X|·Û·ÍÛzÖ•LÝÏTSÌB)•‰1È^-75îðYÛÜo9ø{³ÜŒQ¥nW¸á÷3sؾ;Ñ«‹]„ÇO¸(K©væ"–Òå¼,® éK¼
++îß‚×P¬x~•®Œ•Ž¹(ƒM”Â1g• ŽÖ< Ê–Ñ`º'T—!(ŵ¥´:je/´)I)ï±?P­SQ‹I
++˜ˆuž±`£6„9a€f•ÐBòìSÔ”.8-­ºÐ´¥’NŒ1c-‡Fj"P‚ÀšjE©`e±–"`)‚µ^ë•"Dé¼Ê°k&€•zŒF,”u‘­Ç)Gh¶ÿ€ûk4+¨N]¾ª–d&øf´“±%*]ݵt
++æ £Ú´UF†È1unÝ3©ùYÕ\U1è_'5©ÅâÚS¥–l4ÅM–Cx¢¿!D£L9 d4é5u²èPE@/Ùu½Çëž1å×TÌQÓ.Ñä:²Š*5ÚøŽ®W(“¡Ô¾£Xv"'¢?Ï1˜aÈ÷î€ÂÌð‡·ÄrªKãŠ6Û‡9A
++ë3ŒFÝ­öúœ3"
++ïu†óè"µÍöÉ°ƒF×:hÿ<Gçöì1h4`×gíy†å>³–#ìß*Íâ'²Þ(€22¤¥nªõrõ8ûíÙÅ/!õ¢ø窚¿-^½ZŽª ^ˆAÆ ¥Ê€Ëó“ ÂlÈ-Ã(ª m¥„Ò-á]m¨&œ †Q¬ ŠóT«NRY–¦a·È˜ÀÍ"y¶ÃÅh´êK\a&²dðJÆœö‘0 ¸0(¡Ól8@z~²„q€aI4Örùˆgb,¥Ó()u7ÛhÔ9©:òA;–4
++.eÌ¢ÈL{k#É¡©V¦ß[‹šÖR(]Ó¹Q6±¤.ÔB1z71*Ñ|gµ(£
++ZZG’°/Z ͘u’ž}amãa7ö£Ùg¼ö¡ø‰º”hP%QI•º$L„õHZK6æ.ÉÓ3& ²Äbž4€$Å;c¸oi€È’*JÆ4ü’l'KENdT’_YA£50$!PÔ
++zÝ€~ÝFš»šè¨‰ðU’”M
++aÔšf#±e,ÒÖ{ÍÒ›‹ C—.&×[30¦oÉrÎÈfÂ,È-I‚È\ìP¯qµ¥q*ðk òñ£ÒGzÆ“Îù¥¡ߤ=ŠŠcÂ@ð‡áŒÔž1¢RòlX£ŽQKo$Xñn cÞéCÄJÎK¸ç0Û(&Cê—Á€¾›é¡%g0nDÆdzñe¨2vVu³©Ð'IjF`š¤¹‘N1¦pãwñŽëY' ·eŠ.GWžH³q tY ʶ¸OjÀ¥Ž0¤{yåå‹æÂŒÊC¨é8tš­%*˜”ÿ8¤` Æ%¯Ÿc©3”«?N¹‡·©Ô ¡êþ´Þ‡ßˆž{=zÒõÀ¢ÚÝUm[=²¯ ,RIHÃŒƒ0ÂyçSŠ¦}ä^GXPú¢_° ÙD yòwbófƒ³í›ör~ß¾«ö÷mýÝÖÿ“é$•²óæè­©•“G0ßÅ%¸?ì±I|ø“<¡?3xúÍ
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/startkde v3.5.13-sru/startkde
+--- /tmp/stable//kdebase/startkde 2011-08-21 09:08:18.000000000 +0200
++++ v3.5.13-sru/startkde 2012-09-08 19:41:29.000000000 +0200
+@@ -1,53 +1,80 @@
+ #!/bin/sh
+ #
+-# DEFAULT TRINITY STARTUP SCRIPT ( KDE-3.5.12 )
++# DEFAULT TRINITY STARTUP SCRIPT
+ #
+
++# This block may not be appropriate for all systems.
++# It should work for command line logins but graphical
++# login managers may source these files already.
++# Multiple sourcing is not a problem when the files are only
++# containers for environment variables and such.
++if [ -r /etc/xprofile ]; then
++ source /etc/xprofile
++fi
++if [ -r $HOME/.xprofile ]; then
++ source $HOME/.xprofile
++fi
++
+ echo "[startkde] Starting startkde." 1>&2
++echo "[startkde] This script is $0" 1>&2
++
++# Avoid any possible conflict with KDE4. Therefore within this script
++# use full path names to all binaries used.
++
++# The binaries for TDE are located in the same place as this script.
++# To determine that location use the following method rather than presuming
++# the existence of $KDEDIR. That environment variable might not be
++# defined or defined to point to KDE4 binaries.
++BIN_DIR="`dirname \`readlink -f $0\``"
++# Do not use kde-config to determine the version. That command creates a
++# profile directory in the root of the file system. Refer to Bug Report 293.
++if [ -x $BIN_DIR/konqueror ]; then
++ KDE_VERSION="`$BIN_DIR/konqueror --version | grep KDE | awk '{print $2}'`"
++ echo "[startkde] TDE version is $KDE_VERSION" 1>&2
++ export KDEDIR=${BIN_DIR%/bin}
++ echo "[startkde] TDE base directory is $KDEDIR" 1>&2
++else
++ echo "[startkde] Unable to determine TDE base directory."
++ echo "[startkde] This script should be installed in the same directory."
++ echo "[startkde] Exiting."
++ exit 1
++fi
++unset BIN_DIR
+
+ # When the X server dies we get a HUP signal from xinit. We must ignore it
+ # because we still need to do some cleanup.
+ trap '[startkde] echo GOT SIGHUP' HUP
+
+-# Check if a KDE session is already running.
++# Check if a TDE session is already running.
+ if kcheckrunning >/dev/null 2>&1; then
+- echo "[startkde] KDE seems to be already running on this display."
+- xmessage -geometry 500x100 "KDE seems to be already running on this display." > /dev/null 2>/dev/null
+- exit 1
++ echo "[startkde] TDE seems to be already running on this display."
++ xmessage -center -geometry 500x100 "TDE seems to be already running on this display." > /dev/null 2>/dev/null
++ exit 1
+ fi
+
+ # Set the background color.
+ # The standard X background is nasty, causing moire effects and exploding
+-# people's heads. We use colours from the standard KDE palette for those with
++# people's heads. We use colours from the standard TDE palette for those with
+ # palettised displays.
+ if test -z "$XDM_MANAGED" || echo "$XDM_MANAGED" | grep ",auto" > /dev/null; then
+ xsetroot -solid "#618DCC" # sky blue
+ fi
+
+-# Unset this for Darwin since it will screw up KDE's dynamic-loading
++# Unset this for Darwin since it will screw up TDE's dynamic-loading
+ unset DYLD_FORCE_FLAT_NAMESPACE
+
+ # Check whether prelinking is enabled. If so, exporting KDE_IS_PRELINKED improves
+-# loading KDE. The $KDE_IS_PRELINKED variable might already be set on some systems
++# loading TDE. The $KDE_IS_PRELINKED variable might already be set on some systems
+ # through /etc/profile.d, so first check whether the variable exists.
+-if [ -z $KDE_IS_PRELINKED ]; then
++if [ "$KDE_IS_PRELINKED" = "" ]; then
+ if [ -r /etc/default/prelink ]; then
+ . /etc/default/prelink
+- if [ "$PRELINKING" == "yes" ]; then
++ if [ "$PRELINKING" = "yes" ]; then
+ export KDE_IS_PRELINKED=1
+ fi
+ fi
+ fi
+
+-# In case we have been started with full pathname spec without being in PATH.
+-bindir=`echo "$0" | sed -n 's,^\(/.*\)/[^/][^/]*$,\1,p'`
+-if [ -n "$bindir" ]; then
+- case $PATH in
+- $bindir|$bindir:*|*:$bindir|*:$bindir:*) ;;
+- *) PATH=$bindir:$PATH; export PATH;;
+- esac
+-fi
+-
+ # Boot sequence:
+ #
+ # kdeinit is used to fork off processes which improves memory usage
+@@ -62,29 +89,25 @@
+ #
+ # * Then ksmserver is started which takes control of the rest of the startup sequence
+
+-# The user's personal KDE directory usually is $HOME/.kde or $HOME/.trinity.
+-# This setting may be overridden by setting $KDEHOME.
+-# Must be careful here because $HOME/.kde was used commonly in the pre-KDE4
+-# days for the user's KDE3 profile, but now with KDE4 common on systems,
+-# $HOME/.kde might point to KDE4 profile settings. Further, the existence
+-# of KDE4 does not mean all people have KDE4 installed and might want to keep
+-# $HOME/.kde as their preferred profile location for Trinity KDE.
++# The user's personal TDE directory usually is $HOME/.trinity.
++# This setting may be overridden by setting $KDEHOME. When migrating profiles
++# must be careful here because $HOME/.kde was used commonly in the pre-KDE4
++# days for the user's TDE profile, but now with KDE4 common on systems,
++# $HOME/.kde might point to KDE4 profile settings. The existence of KDE4
++# does not mean all people are using KDE4.
+
+-if [ -n "$KDEHOME" ]; then
++if [ "$KDEHOME" != "" ]; then
+ echo "[startkde] KDEHOME is preset to $KDEHOME." 1>&2
+ export KDEHOME=$KDEHOME
+ else
+ # $KDEHOME is NOT already preset in the environment. Try to help.
+ # This might be overkill but does provide flexibility.
++ # This script and kstandardirs.h and kstandardirs.cpp must match.
++ # The latter two must be edited/patched before compiling.
+ echo "[startkde] KDEHOME is not set." 1>&2
+ if [ -d $HOME/.trinity ]; then
+ # OK, this one is obvious.
+ export KDEHOME=$HOME/.trinity
+- elif [ -d $HOME/.trinity ]; then
+- # Looks like the user had an old version of Trinity installed at last login
+- echo "[startkde] Migrating old ~/.trinity directory to new ~/.trinity name." 1>&2
+- mv $HOME/.trinity $HOME/.trinity
+- export KDEHOME=$HOME/.trinity
+ elif [ -f /usr/bin/kde4-config ]; then
+ # Looks like KDE4 is installed.
+ if [ -d $HOME/.kde ] && [ ! -d $HOME/.trinity ]; then
+@@ -95,13 +118,10 @@
+ export KDEHOME=$HOME/.trinity
+ fi
+ elif [ -f /opt/trinity/bin/kde-config ]; then
+- # Looks like KDE3 or Trinity is installed and playing second fiddle to KDE4.
+- export KDEHOME=$HOME/.trinity
+- elif [ -f /opt/trinity/bin/kde-config ]; then
+- # Looks like KDE3 or Trinity is installed and playing second fiddle to KDE4.
++ # Looks like Trinity is installed.
+ export KDEHOME=$HOME/.trinity
+ elif [ -f /usr/bin/kde-config ] && [ -d $HOME/.kde ]; then
+- # Looks like KDE3 or Trinity is installed and not playing second fiddle to KDE4.
++ # Looks like Trinity is installed and not playing second fiddle to KDE4.
+ export KDEHOME=$HOME/.kde
+ else
+ # Resort to this and hope for the best!
+@@ -110,70 +130,146 @@
+ echo "[startkde] Set KDEHOME to $KDEHOME." 1>&2
+ fi
+
+-# Run a quick test for root.
+-if [ -z "$KDEROOTHOME" ] && [ "$UID" = "0" ]; then
+- echo "[startkde] User ID is $UID. Setting KDEROOTHOME to $KDEHOME."
+- export KDEROOTHOME=$KDEHOME
++# Do we want to run this script from here in such an automated manner?
++# Or leave the script to be run only at the user's discretion?
++# The migratekde3 script as written (in draft) requires user intervention,
++# which to succeed in TDE needs something like KDialog. Refer to the
++# commentary in migratekde3 for more details.
++# if [ -x $KDEDIR/migratekde3 ]; then
++# sh $KDEDIR/migratekde3
++# fi
++
++# kdesu needs something to find root's TDE profile. Set the KDEROOTHOME variable
++# here as last resort. /root/.trinity is a safe presumption. If an admin wants
++# a different location then set the KDEROOTHOME variable elsewhere.
++if [ "$KDEROOTHOME" = "" ]; then
++ export KDEROOTHOME=/root/.trinity
++ echo "[startkde] Setting KDEROOTHOME to $KDEROOTHOME."
+ fi
+
+ # Modify the following environment variables only as necessary.
+-if [ -d /opt/trinity/games ]; then
+- export PATH=/opt/trinity/games:$PATH
+-fi
+-if [ -d /opt/trinity/bin ]; then
+- export PATH=/opt/trinity/bin:$PATH
+-fi
+-if [ -d /opt/trinity/games ]; then
+- export PATH=/opt/trinity/games:$PATH
+-fi
+-if [ -d /opt/trinity/bin ]; then
+- export PATH=/opt/trinity/bin:$PATH
+-fi
+-if [ -d /opt/trinity/share ]; then
+- export XDG_DATA_DIRS=$XDG_DATA_DIRS:/opt/trinity/share/:/usr/share/
+-fi
+-if [ -d /opt/trinity/share ]; then
+- export XDG_DATA_DIRS=$XDG_DATA_DIRS:/opt/trinity/share/:/usr/share/
++if [ -d $KDEDIR/games ]; then
++ if [ "`echo $PATH | grep \"$KDEDIR/games\"`" = "" ]; then
++ # Respect the traditional path order. Don't blindly place $KDEDIR/games
++ # first in the path. Only place $KDEDIR/games before /usr/games. If packagers
++ # are adding $KDEDIR/games elsewhere, then they need to ensure the traditional
++ # search patch is respected.
++ # Is there a way we can check that $KDEDIR/games is always placed only just before
++ # /usr/games in the search path?
++ if [ "`echo $PATH | grep \"^\\(.*:\\)\\?/usr/games\\(:.*\\)\\?$\"`" != "" ]; then
++ export PATH="`echo $PATH | sed \"s|^\\(.*:\\)\\?/usr/games\\(:.*\\)\\?$|\\1$KDEDIR/games:/usr/games\\2|\"`"
++ else
++ export PATH=$KDEDIR/games:$PATH
++ fi
++ fi
+ fi
+-if [ -d /opt/trinity/etc/xdg ]; then
+- export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:/opt/trinity/etc/xdg/:/etc/xdg/
++if [ -d $KDEDIR/bin ]; then
++ if [ "`echo $PATH | grep \"$KDEDIR/bin\"`" = "" ]; then
++ # Respect the traditional path order. Don't blindly place $KDEDIR/bin
++ # first in the path. Only place $KDEDIR/bin before /usr/bin. This order is
++ # consistent with kdelibs/kdesu/stub.cpp. If packagers are adding $KDEDIR/bin
++ # elsewhere, then they need to ensure the traditional search patch is respected.
++ # Is there a way we can check that $KDEDIR/bin is always placed only just before
++ # /usr/bin in the search path?
++ if [ "`echo $PATH | grep \"^\\(.*:\\)\\?/usr/bin\\(:.*\\)\\?$\"`" != "" ]; then
++ export PATH="`echo $PATH | sed \"s|^\\(.*:\\)\\?/usr/bin\\(:.*\\)\\?$|\\1$KDEDIR/bin:/usr/bin\\2|\"`"
++ else
++ export PATH=$KDEDIR/bin:$PATH
++ fi
++ fi
+ fi
+-if [ -d /opt/trinity/etc/xdg ]; then
+- export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:/opt/trinity/etc/xdg/:/etc/xdg/
++if [ -d $KDEDIR/share/man ]; then
++ if [ -x /usr/bin/manpath ]; then
++ if [ "`manpath 2>/dev/null | grep \"$KDEDIR/share/man\"`" = "" ]; then
++ export MANPATH=$KDEDIR/share/man:$MANPATH
++ fi
++ else
++ if [ "`echo $MANPATH | grep \"$KDEDIR/share/man\"`" = "" ]; then
++ export MANPATH=$KDEDIR/share/man:$MANPATH
++ fi
++ fi
+ fi
+-if [ -d /opt/trinity/share/man ]; then
+- export MANPATH=/opt/trinity/share/man:$MANPATH
++
++if [ "$XDG_CONFIG_DIRS" = "" ]; then
++ if [ -d /etc/xdg ]; then
++ XDG_CONFIG_DIRS=/etc/xdg
++ fi
++fi
++if [ -d /etc/trinity/xdg ]; then
++ TDE_XDG_DIR="/etc/trinity/xdg"
++elif [ -d /etc/tde/xdg ]; then
++ TDE_XDG_DIR="/etc/tde/xdg"
++elif [ -d $KDEDIR/xdg ]; then
++ TDE_XDG_DIR="$KDEDIR/xdg"
++elif [ -d $KDEDIR/etc/xdg ]; then
++ TDE_XDG_DIR="$KDEDIR/etc/xdg"
++elif [ -d $KDEDIR/etc/trinity/xdg ]; then
++ TDE_XDG_DIR="$KDEDIR/etc/trinity/xdg"
++elif [ -d $KDEDIR/etc/tde/xdg ]; then
++ TDE_XDG_DIR="$KDEDIR/etc/tde/xdg"
++elif [ -d $KDEDIR/trinity/xdg ]; then
++ TDE_XDG_DIR="$KDEDIR/trinity/xdg"
++elif [ -d $KDEDIR/tde/xdg ]; then
++ TDE_XDG_DIR="$KDEDIR/tde/xdg"
++fi
++if [ -d $TDE_XDG_DIR ]; then
++ if [ "`echo $XDG_CONFIG_DIRS | grep \"$TDE_XDG_DIR\"`" = "" ]; then
++ if [ "$XDG_CONFIG_DIRS" = "" ]; then
++ XDG_CONFIG_DIRS=$TDE_XDG_DIR
++ else
++ XDG_CONFIG_DIRS=$TDE_XDG_DIR:$XDG_CONFIG_DIRS
++ fi
++ fi
+ fi
+-if [ -d /opt/trinity/share/man ]; then
+- export MANPATH=/opt/trinity/share/man:$MANPATH
++if [ "$XDG_CONFIG_DIRS" != "" ]; then
++ export XDG_CONFIG_DIRS
+ fi
+-if [ -d /opt/trinity ]; then
+- if [ -n "$KDEDIRS" ]; then
+- export KDEDIRS=$KDEDIRS:/opt/trinity/:/usr/
++
++# Explicitly set $XDG_DATA_DIRS only when Trinity is not installed in /usr.
++# Explicitly declaring $XDG_DATA_DIRS will override the default search path of /usr/share.
++# Explicitly declaring $XDG_DATA_DIRS will override $KDEDIRS, which must then be
++# explicitly identified in the $XDG_DATA_DIRS string to remain useful.
++# The $KDEDIR variable is intended to be singular and $KDEDIRS plural. When $KDEDIRS
++# exists in the environment then parse that variable into separate directories.
++# $KDEDIRS should contain whatever is set in $KDEDIR. Therefore any additional directories
++# set in $KDEDIRS are intended to override data files found in $KDEDIR. Those additional
++# directories should be placed before $KDEDIR and before /usr/share.
++if [ "$KDEDIR" != "/usr" ] && [ -d $KDEDIR/share ]; then
++ if [ "$XDG_DATA_DIRS" = "" ]; then
++ # Ensure the standard location of /usr/share is included.
++ XDG_DATA_DIRS=/usr/share
+ else
+- export KDEDIRS=/opt/trinity/:/usr/
++ if [ "`echo $XDG_DATA_DIRS | grep \"/usr/share\"`" = "" ]; then
++ XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share
++ fi
+ fi
+-fi
+-if [ -d /opt/trinity ]; then
+- if [ -n "$KDEDIRS" ]; then
+- export KDEDIRS=$KDEDIRS:/opt/trinity/:/usr/
+- else
+- export KDEDIRS=/opt/trinity/:/usr/
++ if [ "`echo $XDG_DATA_DIRS | grep \"$KDEDIR/share\"`" = "" ]; then
++ XDG_DATA_DIRS=$KDEDIR/share:$XDG_DATA_DIRS
++ fi
++ if [ "$KDEDIRS" != "" ]; then
++ for i in `seq \`echo $KDEDIRS | awk -F : '{print NF}'\` -1 1`; do
++ if [ "`echo $XDG_DATA_DIRS | grep \"\`echo $KDEDIRS | cut -d: -f${i}\`\"`" = "" ]; then
++ XDG_DATA_DIRS=`echo $KDEDIRS | cut -d: -f${i}`/share:$XDG_DATA_DIRS
++ fi
++ done
+ fi
++ export XDG_DATA_DIRS
+ fi
+
+ test -n "$KDEHOME" && kdehome=`echo "$KDEHOME" | sed "s,^~/,$HOME/,"`
+-echo "[startkde] kdehome: $kdehome" 1>&2
+
+ # Allow interested applications, such as the Plasma control wrapper,
+-# to know that this is a Trinity desktop and not a KDE one.
++# to know that this is a Trinity desktop and not a TDE one.
+ export DESKTOP_SESSION=trinity
+
+ # Please see kstartupconfig source for usage.
+-mkdir -m 700 -p $kdehome
+-mkdir -m 700 -p $kdehome/share
+-mkdir -m 700 -p $kdehome/share/config
+-cat >$kdehome/share/config/startupconfigkeys <<EOF
++if [ ! -d "$HOME/.trinity" ]; then
++ echo "[startkde] Creating $HOME/.trinity." 1>&2
++fi
++mkdir -m 700 -p "$kdehome"
++mkdir -m 700 -p "$kdehome/share"
++mkdir -m 700 -p "$kdehome/share/config"
++cat >"$kdehome/share/config/startupconfigkeys" <<EOF
+ kcminputrc Mouse cursorTheme ''
+ kcminputrc Mouse cursorSize ''
+ kpersonalizerrc General FirstLogin true
+@@ -185,20 +281,20 @@
+ kcmrandrrc [Screen3]
+ kcmfonts General forceFontDPI 0
+ EOF
+-kstartupconfig
++$KDEDIR/bin/kstartupconfig
+ if test $? -ne 0; then
+- xmessage -geometry 500x100 "Could not start kstartupconfig. Check your installation."
++ xmessage -center -geometry 500x100 "Could not start kstartupconfig. Check your installation."
+ fi
+ # $kdehome/share/config/startupconfig should exist but avoid script failure if not.
+-if [ -r $kdehome/share/config/startupconfig ]; then
+- . $kdehome/share/config/startupconfig
++if [ -r "$kdehome/share/config/startupconfig" ]; then
++ . "$kdehome/share/config/startupconfig"
+ fi
+
+ # Make sure a default wallpaper is set.
+-if [ ! -e $kdehome/share/config/kdesktoprc ]; then
++if [ ! -e "$kdehome/share/config/kdesktoprc" ]; then
+ # With Trinity KDE this file should exist, but test first.
+ if [ -r /usr/share/wallpapers/isadora.png.desktop ]; then
+-cat >$kdehome/share/config/kdesktoprc <<EOF
++cat >"$kdehome/share/config/kdesktoprc" <<EOF
+ [Desktop0]
+ Wallpaper=isadora.png
+ WallpaperMode=Scaled
+@@ -208,84 +304,84 @@
+
+ # XCursor mouse theme needs to be applied here to work even for kded or ksmserver.
+ if test -n "$kcminputrc_mouse_cursortheme" -o -n "$kcminputrc_mouse_cursorsize" ; then
+- kapplymousetheme "$kcminputrc_mouse_cursortheme" "$kcminputrc_mouse_cursorsize"
+- if test $? -eq 10; then
+- export XCURSOR_THEME=default
+- elif test -n "$kcminputrc_mouse_cursortheme"; then
+- export XCURSOR_THEME="$kcminputrc_mouse_cursortheme"
+- fi
+- if test -n "$kcminputrc_mouse_cursorsize"; then
+- export XCURSOR_SIZE="$kcminputrc_mouse_cursorsize"
+- fi
++ kapplymousetheme "$kcminputrc_mouse_cursortheme" "$kcminputrc_mouse_cursorsize"
++ if test $? -eq 10; then
++ export XCURSOR_THEME=default
++ elif test -n "$kcminputrc_mouse_cursortheme"; then
++ export XCURSOR_THEME="$kcminputrc_mouse_cursortheme"
++ fi
++ if test -n "$kcminputrc_mouse_cursorsize"; then
++ export XCURSOR_SIZE="$kcminputrc_mouse_cursorsize"
++ fi
+ fi
+
+ if test "$kcmrandrrc_display_applyonstartup" = "true"; then
+- # 4 screens is hopefully enough
+- for scrn in 0 1 2 3; do
+- args=
+- width="\$kcmrandrrc_screen${scrn}_width" ; eval "width=$width"
+- height="\$kcmrandrrc_screen${scrn}_height" ; eval "height=$height"
+- if test -n "${width}" -a -n "${height}"; then
+- args="$args -s ${width}x${height}"
+- fi
+- refresh="\$kcmrandrrc_screen${scrn}_refresh" ; eval "refresh=$refresh"
+- if test -n "${refresh}"; then
+- args="$args -r ${refresh}"
+- fi
+- rotation="\$kcmrandrrc_screen${scrn}_rotation" ; eval "rotation=$rotation"
+- if test -n "${rotation}"; then
+- case "${rotation}" in
+- 0)
+- args="$args -o 0"
+- ;;
+- 90)
+- args="$args -o 1"
+- ;;
+- 180)
+- args="$args -o 2"
+- ;;
+- 270)
+- args="$args -o 3"
+- ;;
+- esac
+- fi
+- reflectx="\$kcmrandrrc_screen${scrn}_reflectx" ; eval "reflectx=$reflectx"
+- if test "${refrectx}" = "true"; then
+- args="$args -x"
+- fi
+- reflecty="\$kcmrandrrc_screen${scrn}_reflecty" ; eval "reflecty=$reflecty"
+- if test "${refrecty}" = "true"; then
+- args="$args -y"
+- fi
+- if test -n "$args"; then
+- xrandr $args
+- fi
+- done
++ # 4 screens is hopefully enough
++ for scrn in 0 1 2 3; do
++ args=
++ width="\$kcmrandrrc_screen${scrn}_width" ; eval "width=$width"
++ height="\$kcmrandrrc_screen${scrn}_height" ; eval "height=$height"
++ if test -n "${width}" -a -n "${height}"; then
++ args="$args -s ${width}x${height}"
++ fi
++ refresh="\$kcmrandrrc_screen${scrn}_refresh" ; eval "refresh=$refresh"
++ if test -n "${refresh}"; then
++ args="$args -r ${refresh}"
++ fi
++ rotation="\$kcmrandrrc_screen${scrn}_rotation" ; eval "rotation=$rotation"
++ if test -n "${rotation}"; then
++ case "${rotation}" in
++ 0)
++ args="$args -o 0"
++ ;;
++ 90)
++ args="$args -o 1"
++ ;;
++ 180)
++ args="$args -o 2"
++ ;;
++ 270)
++ args="$args -o 3"
++ ;;
++ esac
++ fi
++ reflectx="\$kcmrandrrc_screen${scrn}_reflectx" ; eval "reflectx=$reflectx"
++ if test "${refrectx}" = "true"; then
++ args="$args -x"
++ fi
++ reflecty="\$kcmrandrrc_screen${scrn}_reflecty" ; eval "reflecty=$reflecty"
++ if test "${refrecty}" = "true"; then
++ args="$args -y"
++ fi
++ if test -n "$args"; then
++ xrandr $args
++ fi
++ done
+ fi
+
+ dl=$DESKTOP_LOCKED
+ unset DESKTOP_LOCKED # Don't want it in the environment
+
+-# Launch splash that doesn't need any KDE libraries here, before
+-# KDE libraries are loaded into memory (which may take some time
++# Launch splash that doesn't need any TDE libraries here, before
++# TDE libraries are loaded into memory (which may take some time
+ # with cold caches). Makes the splash appear sooner.
+ # If kpersonalizer needs to be run splash will be started only later.
+ if test -z "$dl" && test "$kpersonalizerrc_general_firstlogin" != "true"; then
+- case "$ksplashrc_ksplash_theme" in
+- Simple)
+- ksplashsimple
+- ;;
+- *)
+- ;;
+- esac
++ case "$ksplashrc_ksplash_theme" in
++ Simple)
++ ksplashsimple
++ ;;
++ *)
++ ;;
++ esac
+ fi
+
+ if test "$kcmfonts_general_forcefontdpi" -eq 120; then
+- xrdb -quiet -merge -nocpp <<EOF
++ xrdb -quiet -merge -nocpp <<EOF
+ Xft.dpi: 120
+ EOF
+ elif test "$kcmfonts_general_forcefontdpi" -eq 96; then
+- xrdb -quiet -merge -nocpp <<EOF
++ xrdb -quiet -merge -nocpp <<EOF
+ Xft.dpi: 96
+ EOF
+ fi
+@@ -293,7 +389,7 @@
+ # Configuration of the gtk_qt_engine if not already set.
+
+ if test -n "$KDEDIRS"; then
+- kdedirs_first=`echo "$KDEDIRS" | sed -e 's/:.*//'`
++ kdedirs_first=${KDEDIRS%%:*}
+ KGTK_RC_ENGINE=$kdedirs_first/share/kgtk/gtk-qt-engine.rc.sh
+ KGTK_RC_KDE1=$kdedirs_first/share/kgtk/.gtkrc-2.0-kde4
+ KGTK_RC_KDE2=$kdedirs_first/share/kgtk/.gtkrc-2.0-kde-kde4
+@@ -303,11 +399,10 @@
+ KGTK_RC_KDE2=$KDEDIR/share/kgtk/.gtkrc-2.0-kde-kde4
+ fi
+
+-if [ ! -e $kdehome/env/gtk-qt-engine.rc.sh ] && [ -e $KGTK_RC_ENGINE ]
+-then
+- mkdir -p $kdehome/env
+- cp -f $KGTK_RC_ENGINE $kdehome/env
+- chmod 755 $kdehome/env/gtk-qt-engine.rc.sh
++if [ ! -e "$kdehome/env/gtk-qt-engine.rc.sh" ] && [ -e $KGTK_RC_ENGINE ]; then
++ mkdir -p "$kdehome/env"
++ cp -f $KGTK_RC_ENGINE "$kdehome/env"
++ chmod 755 "$kdehome/env/gtk-qt-engine.rc.sh"
+ fi
+
+ if [ ! -e $HOME/.gtkrc-2.0-kde4 ] && [ -e $KGTK_RC_KDE1 ]
+@@ -321,10 +416,10 @@
+ fi
+
+ # Source scripts found in <localprefix>/env/*.sh and <prefixes>/env/*.sh
+-# (where <localprefix> is $KDEHOME or ~/.trinity, and <prefixes> is where KDE is installed)
++# (where <localprefix> is $KDEHOME or ~/.trinity, and <prefixes> is where TDE is installed)
+ #
+ # This is where you can define environment variables that will be available to
+-# all KDE programs, so this is where you can run agents using e.g. eval `ssh-agent`
++# all TDE programs, so this is where you can run agents using e.g. eval `ssh-agent`
+ # or eval `gpg-agent --daemon`.
+ # Note: if you do that, you should also put "ssh-agent -k" as a shutdown script
+ #
+@@ -340,9 +435,9 @@
+ done
+ done
+
+-# Activate the kde font directories.
++# Activate the TDE font directories.
+ #
+-# There are 4 directories that may be used for supplying fonts for KDE.
++# There are 4 directories that may be used for supplying fonts for TDE.
+ #
+ # There are two system directories. These belong to the administrator.
+ # There are two user directories, where the user may add her own fonts.
+@@ -365,33 +460,29 @@
+ do_usr_fdir=1
+ do_usr_odir=1
+ if test -r "$kde_fontpaths" ; then
+- savifs=$IFS
+- IFS="
++ savifs=$IFS
++ IFS="
+ "
+- for fpath in `grep -v '^[ ]*#' < "$kde_fontpaths"` ; do
+- rfpath=`echo $fpath | sed "s:^~:$HOME:g"`
+- if test -s "$rfpath"/fonts.dir; then
+- xset fp+ "$rfpath"
+- if test "$rfpath" = "$usr_fdir"; then
+- do_usr_fdir=0
+- fi
+- if test "$rfpath" = "$usr_odir"; then
+- do_usr_odir=0
+- fi
+- fi
+- done
+- IFS=$savifs
+-fi
+-
+-if [ ! -n "$KDEDIR" ]; then
+- export KDEDIR=`echo "$KDEDIRS" | sed -e 's/:.*//'`
++ for fpath in `grep -v '^[ ]*#' < "$kde_fontpaths"` ; do
++ rfpath=`echo $fpath | sed "s:^~:$HOME:g"`
++ if test -s "$rfpath"/fonts.dir; then
++ xset fp+ "$rfpath"
++ if test "$rfpath" = "$usr_fdir"; then
++ do_usr_fdir=0
++ fi
++ if test "$rfpath" = "$usr_odir"; then
++ do_usr_odir=0
++ fi
++ fi
++ done
++ IFS=$savifs
+ fi
+
+ echo "[startkde] KDEDIR: $KDEDIR" 1>&2
+ echo "[startkde] KDEDIRS: $KDEDIRS" 1>&2
+
+ if test -n "$KDEDIRS"; then
+- kdedirs_first=`echo "$KDEDIRS" | sed -e 's/:.*//'`
++ kdedirs_first=${KDEDIRS%%:*}
+ sys_odir=$kdedirs_first/share/fonts/override
+ sys_fdir=$kdedirs_first/share/fonts
+ else
+@@ -400,7 +491,7 @@
+ fi
+
+ if test -n "$KDEDIRS"; then
+- kdedirs_first=`echo "$KDEDIRS" | sed -e 's/:.*//'`
++ kdedirs_first=${KDEDIRS%%:*}
+ echo "[startkde] kdedirs_first: $kdedirs_first"
+ if [ -r $kdedirs_first/share/kgtk/preload ]; then
+ echo "[startkde] Reading from $kdedirs_first/share/kgtk/preload"
+@@ -412,8 +503,10 @@
+ fi
+ fi
+
+-if [ -n $KGTK_PRELOAD ]; then
+- if [ -e /usr/lib/libnspr4.so ]; then
++if [ "$KGTK_PRELOAD" != "" ]; then
++ if [ -e /usr/lib64/libnspr4.so ]; then
++ KGTK_NSPR_PRELOAD="/usr/lib64/libnspr4.so:"
++ elif [ -e /usr/lib/libnspr4.so ]; then
+ KGTK_NSPR_PRELOAD="/usr/lib/libnspr4.so:"
+ fi
+ export LD_PRELOAD=$KGTK_PRELOAD:$KGTK_NSPR_PRELOAD$LD_PRELOAD
+@@ -438,7 +531,7 @@
+
+ # Set a left cursor instead of the standard X11 "X" cursor, since I've heard
+ # from some users that they're confused and don't know what to do. This is
+-# especially necessary on slow machines, where starting KDE takes one or two
++# especially necessary on slow machines, where starting TDE takes one or two
+ # minutes until anything appears on the screen.
+ #
+ # If the user has overwritten fonts, the cursor font may be different now
+@@ -446,7 +539,7 @@
+ #
+ xsetroot -cursor_name left_ptr
+
+-# Get Ghostscript to look into user's KDE fonts dir for additional Fontmap
++# Get Ghostscript to look into user's TDE fonts dir for additional Fontmap
+ if test -n "$GS_LIB" ; then
+ GS_LIB=$usr_fdir:$GS_LIB
+ export GS_LIB
+@@ -455,23 +548,23 @@
+ export GS_LIB
+ fi
+
+-# Link "tmp" "socket" and "cache" resources to directory in /tmp
++# Link "tmp" "socket" and "cache" resources to directory in $TMP
+ # Creates:
+-# - a directory /tmp/kde-$USER and links $KDEHOME/tmp-$HOSTNAME to it.
+-# - a directory /tmp/ksocket-$USER and links $KDEHOME/socket-$HOSTNAME to it.
+-# - a directory /var/tmp/kdecache-$USER and links $KDEHOME/cache-$HOSTNAME to it.
+-# Note: temporary locations can be overriden through the KDETMP and KDEVARTMP
++# - a directory $TMP/kde-$USER and is linked from $KDEHOME/tmp-$HOSTNAME to it.
++# - a directory $TMP/ksocket-$USER and is linked from $KDEHOME/socket-$HOSTNAME to it.
++# - a directory /var/tmp/kdecache-$USER and is linked from $KDEHOME/cache-$HOSTNAME to it.
++# Note: temporary locations can be overridden through the KDETMP and KDEVARTMP
+ # environment variables.
+ for resource in tmp cache socket; do
+ if ! lnusertemp $resource >/dev/null; then
+ echo "[startkde] Call to lnusertemp failed (temporary directories full?). Check your installation." 1>&2
+- xmessage -geometry 600x100 "Call to lnusertemp failed (temporary directories full?). Check your installation."
++ xmessage -center -geometry 600x100 "Call to lnusertemp failed (temporary directories full?). Check your installation."
+ exit 1
+ fi
+ done
+
+ # In case of dcop sockets left by a previous session, cleanup.
+-dcopserver_shutdown
++$KDEDIR/bin/dcopserver_shutdown
+
+ echo '[startkde] Starting Trinity...' 1>&2
+
+@@ -481,26 +574,26 @@
+ # Run KPersonalizer before the session if this is the first login.
+ if test "$kpersonalizerrc_general_firstlogin" = "true"; then
+ if [ ! -x $KDEDIR/bin/kpersonalizer ]; then
+- echo "[startkde] kpersonalizer not found! Please install it in order to properly configure your user profile." 1>&2
++ echo "[startkde] kpersonalizer not found! Please install in order to properly configure your user profile." 1>&2
+ else
+ # start only dcopserver, don't start whole kdeinit (takes too long)
+ echo "[startkde] Running kpersonalizer..." 1>&2
+- dcopserver
+- kwin --lock &
+- kpersonalizer --before-session
++ $KDEDIR/bin/dcopserver
++ $KDEDIR/bin/kwin --lock &
++ $KDEDIR/bin/kpersonalizer --before-session
+ # handle kpersonalizer restarts (language change)
+ while test $? -eq 1; do
+- kpersonalizer --r --before-session
++ $KDEDIR/bin/kpersonalizer --r --before-session
+ done
+- dcopquit kwin
+- dcopserver_shutdown --wait
++ $KDEDIR/bin/dcopquit kwin
++ $KDEDIR/bin/dcopserver_shutdown --wait
+ fi
+ fi
+
+ # Remove moodin cache if we have a new wallpaper installed, jriddell. Distro-specific.
+-if [ -d $kdehome/share/apps/ksplash/cache/Moodin/kubuntu ]; then
+- if [ /usr/share/wallpapers/kubuntu-wallpaper.png -nt $kdehome/share/apps/ksplash/cache/Moodin/kubuntu/ ]; then
+- rm -rf $kdehome/share/apps/ksplash/cache/Moodin/kubuntu/
++if [ -d "$kdehome/share/apps/ksplash/cache/Moodin/kubuntu" ]; then
++ if [ /usr/share/wallpapers/kubuntu-wallpaper.png -nt "$kdehome/share/apps/ksplash/cache/Moodin/kubuntu/" ]; then
++ rm -rf "$kdehome/share/apps/ksplash/cache/Moodin/kubuntu/"
+ fi
+ fi
+
+@@ -508,25 +601,24 @@
+ # the splashscreen and progress indicator
+ case "$ksplashrc_ksplash_theme" in
+ None)
+- ;; # nothing
++ ;; # nothing
+ Simple)
+- if test "$kpersonalizerrc_general_firstlogin" = "true"; then
+- ksplashsimple
+- fi # otherwise started earlier
+- ;;
++ if test "$kpersonalizerrc_general_firstlogin" = "true"; then
++ $KDEDIR/bin/ksplashsimple
++ fi # otherwise started earlier
++ ;;
+ *)
+- ksplash --nodcop
+- ;;
++ $KDEDIR/bin/ksplash --nodcop
++ ;;
+ esac
+ fi
+
+-# Mark that full KDE session is running (e.g. Konqueror preloading works only
+-# with full KDE running). The TDE_FULL_SESSION property can be detected by
++# Mark that full TDE session is running (e.g. Konqueror preloading works only
++# with full TDE running). The TDE_FULL_SESSION property can be detected by
+ # any X client connected to the same X session, even if not launched
+-# directly from the KDE session but e.g. using "ssh -X", kdesu. $TDE_FULL_SESSION
++# directly from the TDE session but e.g. using "ssh -X", kdesu. $TDE_FULL_SESSION
+ # however guarantees that the application is launched in the same environment
+-# like the KDE session and that e.g. KDE utilities/libraries are available.
+-# TDE_FULL_SESSION property is also only available since KDE 3.5.5.
++# like the TDE session and that e.g. TDE utilities/libraries are available.
+ # The matching tests are:
+ # For $TDE_FULL_SESSION:
+ # if test -n "$TDE_FULL_SESSION"; then ... whatever
+@@ -534,32 +626,35 @@
+ # xprop -root | grep "^TDE_FULL_SESSION" >/dev/null 2>/dev/null
+ # if test $? -eq 0; then ... whatever
+ #
+-# Additionally there is (since KDE 3.5.7) $KDE_SESSION_UID with the uid
+-# of the user running the KDE session. It should be rarely needed (e.g.
++# Additionally there is $KDE_SESSION_UID with the uid of the user
++# running the TDE session. It should be rarely needed (for example,
+ # after sudo to prevent desktop-wide functionality in the new user's kded).
+ #
+ TDE_FULL_SESSION=true
+ export TDE_FULL_SESSION
+ xprop -root -f TDE_FULL_SESSION 8t -set TDE_FULL_SESSION true
+ echo "[startkde] TDE_FULL_SESSION: $TDE_FULL_SESSION" 1>&2
+-KDE_SESSION_UID=$UID
++KDE_SESSION_UID=`id -u`
+ export KDE_SESSION_UID
+ echo "[startkde] KDE_SESSION_UID: $KDE_SESSION_UID" 1>&2
+
+ # We set LD_BIND_NOW to increase the efficiency of kdeinit.
+ # kdeinit unsets this variable before loading applications.
+-LD_BIND_NOW=true start_kdeinit_wrapper --new-startup +kcminit_startup
++LD_BIND_NOW=true $KDEDIR/bin/start_kdeinit_wrapper --new-startup +kcminit_startup
+ if test $? -ne 0; then
+ # Startup error
+ echo '[startkde] Could not start kdeinit. Check your installation.' 1>&2
+- xmessage -geometry 500x100 "Could not start kdeinit. Check your installation."
++ xmessage -center -geometry 500x100 "Could not start kdeinit. Check your installation."
+ fi
+ echo "[startkde] kdeinit started successfully." 1>&2
+
+ # If the session should be locked from the start (locked autologin),
+-# lock now and do the rest of the KDE startup underneath the locker.
++# lock now and do the rest of the TDE startup underneath the locker.
++# FIXME
++# kdesktop needs to be notified of this locker process somehow so that
++# it does not attempt to launch its own locker process on startup!
+ if test -n "$dl"; then
+- kwrapper kdesktop_lock --forcelock &
++ $KDEDIR/bin/kwrapper kdesktop_lock --forcelock &
+ # Give it some time for starting up. This is somewhat unclean; some
+ # notification would be better.
+ sleep 1
+@@ -576,27 +671,27 @@
+ # started, any problems thereafter, e.g. ksmserver failing to initialize,
+ # will remain undetected.
+ test -n "$KDEWM" && KDEWM="--windowmanager $KDEWM"
+-kwrapper ksmserver $KDEWM
++$KDEDIR/bin/kwrapper ksmserver $KDEWM
+ if test $? -eq 255; then
+ # Startup error
+ echo '[startkde] Could not start ksmserver. Check your installation.' 1>&2
+- xmessage -geometry 500x100 "Could not start ksmserver. Check your installation."
++ xmessage -center -geometry 500x100 "Could not start ksmserver. Check your installation."
+ fi
+
+ # wait if there's any crashhandler shown
+-while dcop | grep -q ^drkonqi- ; do
+- sleep 5
++while $KDEDIR/bin/dcop | grep -q ^drkonqi- ; do
++ sleep 5
+ done
+
+ echo '[startkde] Shutting down Trinity...' 1>&2
+
+ # Clean up
+-kdeinit_shutdown
+-dcopserver_shutdown --wait
+-artsshell -q terminate
++$KDEDIR/bin/kdeinit_shutdown
++$KDEDIR/bin/dcopserver_shutdown --wait
++$KDEDIR/bin/artsshell -q terminate
+ # KDE4 support
+ if [ -f /usr/bin/kdeinit4_shutdown ]; then
+- kde4 kdeinit4_shutdown 2>/dev/null
++ /usr/bin/kde4 kdeinit4_shutdown 2>/dev/null
+ fi
+
+ echo '[startkde] Running Trinity shutdown scripts...' 1>&2
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/tqt3integration/module/module.cpp v3.5.13-sru/tqt3integration/module/module.cpp
+--- /tmp/stable//kdebase/tqt3integration/module/module.cpp 2011-10-23 21:47:03.000000000 +0200
++++ v3.5.13-sru/tqt3integration/module/module.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -57,8 +57,8 @@
+ KWin::setState( w->winId(), NET::Modal );
+ KWin::WindowInfo info = KWin::windowInfo( parent, (unsigned long)NET::WMGeometry );
+ if( info.valid())
+- w->move( info.tqgeometry().x() + ( info.tqgeometry().width() - w->width())/2,
+- info.tqgeometry().y() + ( info.tqgeometry().height()- w->height())/2 );
++ w->move( info.geometry().x() + ( info.geometry().width() - w->width())/2,
++ info.geometry().y() + ( info.geometry().height()- w->height())/2 );
+ }
+
+ // duped in qtkde
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/tqt3integration/utils/qt/in/qtkdeintegration_x11_1.cpp v3.5.13-sru/tqt3integration/utils/qt/in/qtkdeintegration_x11_1.cpp
+--- /tmp/stable//kdebase/tqt3integration/utils/qt/in/qtkdeintegration_x11_1.cpp 2011-10-23 21:47:03.000000000 +0200
++++ v3.5.13-sru/tqt3integration/utils/qt/in/qtkdeintegration_x11_1.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -56,7 +56,7 @@
+ static long parentToWinId( const TQWidget* w )
+ {
+ if( w != NULL )
+- return w->tqtopLevelWidget()->winId();
++ return w->topLevelWidget()->winId();
+ // try to find some usable parent
+ if( tqApp->activeWindow() && w != tqApp->activeWindow())
+ return tqApp->activeWindow()->winId();
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/TRINITY.RELEASE v3.5.13-sru/TRINITY.RELEASE
+--- /tmp/stable//kdebase/TRINITY.RELEASE 2011-10-30 08:44:27.000000000 +0100
++++ v3.5.13-sru/TRINITY.RELEASE 1970-01-01 01:00:00.000000000 +0100
+@@ -1 +0,0 @@
+-3.5.13
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/tsak/CMakeLists.txt v3.5.13-sru/tsak/CMakeLists.txt
+--- /tmp/stable//kdebase/tsak/CMakeLists.txt 2011-09-16 04:01:43.000000000 +0200
++++ v3.5.13-sru/tsak/CMakeLists.txt 2012-09-08 19:41:29.000000000 +0200
+@@ -23,5 +23,6 @@
+
+ tde_add_executable( tsak
+ SOURCES main.cpp
++ LINK udev
+ DESTINATION ${BIN_INSTALL_DIR}
+ )
+diff -Nuar '--exclude=admin' '--exclude=cmake' '--exclude=libltdl' /tmp/stable//kdebase/tsak/main.cpp v3.5.13-sru/tsak/main.cpp
+--- /tmp/stable//kdebase/tsak/main.cpp 2011-09-27 00:37:49.000000000 +0200
++++ v3.5.13-sru/tsak/main.cpp 2012-09-08 19:41:29.000000000 +0200
+@@ -1,8 +1,8 @@
+ /*
+ Copyright 2010 Adam Marchetti
+-Copyright 2011 Timothy Pearson <kb9vqf@pearsoncomputing.net>
++Copyright 2011-2012 Timothy Pearson <kb9vqf@pearsoncomputing.net>
+
+-This file is part of tsak.
++This file is part of tsak, the TDE Secure Attention Key daemon
+
+ tsak is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as
+@@ -21,6 +21,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <exception>
+ #include <string.h>
+ #include <unistd.h>
+ #include <errno.h>
+@@ -35,9 +36,19 @@
+ #include <sys/time.h>
+ #include <termios.h>
+ #include <signal.h>
++extern "C" {
++#include <libudev.h>
++}
++#include <libgen.h>
++
++using namespace std;
+
+ #define FIFO_DIR "/tmp/ksocket-global"
+ #define FIFO_FILE_OUT "/tmp/ksocket-global/tsak"
++#define FIFO_LOCKFILE_OUT "/tmp/ksocket-global/tsak.lock"
++
++#define MAX_KEYBOARDS 64
++#define MAX_INPUT_NODE 128
+
+ #define TestBit(bit, array) (array[(bit) / 8] & (1 << ((bit) % 8)))
+
+@@ -46,9 +57,18 @@
+ bool mPipeOpen_out = false;
+ int mPipe_fd_out = -1;
+
++int mPipe_lockfd_out = -1;
++
++char filename[32];
++char key_bitmask[(KEY_MAX + 7) / 8];
++
+ struct sigaction usr_action;
+ sigset_t block_mask;
+
++int keyboard_fd_num;
++int keyboard_fds[MAX_KEYBOARDS];
++int child_pids[MAX_KEYBOARDS];
++
+ const char *keycode[256] =
+ {
+ "", "<esc>", "1", "2", "3", "4", "5", "6", "7", "8",
+@@ -79,6 +99,57 @@
+ return a[i/CHAR_BIT] & (1 << i%CHAR_BIT);
+ }
+
++/* exception handling */
++struct exit_exception {
++ int c;
++ exit_exception(int c):c(c) { }
++};
++
++/* signal handler */
++void signal_callback_handler(int signum)
++{
++ // Terminate program
++ throw exit_exception(signum);
++}
++
++/* termination handler */
++void tsak_friendly_termination() {
++ int i;
++
++ // Close down all child processes
++ for (i=0; i<MAX_KEYBOARDS; i++) {
++ if (child_pids[i] != 0) {
++ kill(child_pids[i], SIGTERM);
++ }
++ }
++
++ // Wait for process termination
++ sleep(1);
++
++ fprintf(stderr, "tsak terminated by external request\n");
++ exit(17);
++}
++
++// --------------------------------------------------------------------------------------
++// Useful function from Stack Overflow
++// http://stackoverflow.com/questions/874134/find-if-string-endswith-another-string-in-c
++// --------------------------------------------------------------------------------------
++/* returns 1 iff str ends with suffix */
++int str_ends_with(const char * str, const char * suffix) {
++
++ if( str == NULL || suffix == NULL )
++ return 0;
++
++ size_t str_len = strlen(str);
++ size_t suffix_len = strlen(suffix);
++
++ if(suffix_len > str_len)
++ return 0;
++
++ return 0 == strncmp( str + str_len - suffix_len, suffix, suffix_len );
++}
++// --------------------------------------------------------------------------------------
++
+ /* Assign features (supported axes and keys) of the physical input device (devin)
+ * to the virtual input device (devout) */
+ static void copy_features(int devin, int devout)
+@@ -91,46 +162,61 @@
+ for(i=0;i<EV_MAX;++i) {
+ if (bit_set(i, evtypes)) {
+ switch(i) {
+- case EV_KEY: op = UI_SET_KEYBIT; break;
+- case EV_REL: op = UI_SET_RELBIT; break;
+- case EV_ABS: op = UI_SET_ABSBIT; break;
+- case EV_MSC: op = UI_SET_MSCBIT; break;
+- case EV_LED: op = UI_SET_LEDBIT; break;
+- case EV_SND: op = UI_SET_SNDBIT; break;
+- case EV_SW: op = UI_SET_SWBIT; break;
+- default: op = -1;
++ case EV_KEY: op = UI_SET_KEYBIT; break;
++ case EV_REL: op = UI_SET_RELBIT; break;
++ case EV_ABS: op = UI_SET_ABSBIT; break;
++ case EV_MSC: op = UI_SET_MSCBIT; break;
++ case EV_LED: op = UI_SET_LEDBIT; break;
++ case EV_SND: op = UI_SET_SNDBIT; break;
++ case EV_SW: op = UI_SET_SWBIT; break;
++ default: op = -1;
++ }
+ }
+- }
+- if (op == -1) continue;
+- ioctl(devout, UI_SET_EVBIT, i);
+- memset(codes,0,sizeof(codes));
+- if (ioctl(devin, EVIOCGBIT(i, sizeof(codes)), codes) < 0) return;
+- for(code=0;code<KEY_MAX;code++) {
+- if (bit_set(code, codes)) ioctl(devout, op, code);
++ if (op == -1) continue;
++ ioctl(devout, UI_SET_EVBIT, i);
++ memset(codes,0,sizeof(codes));
++ if (ioctl(devin, EVIOCGBIT(i, sizeof(codes)), codes) >= 0) {
++ for(code=0;code<KEY_MAX;code++) {
++ if (bit_set(code, codes)) ioctl(devout, op, code);
++ }
+ }
+ }
+ }
+
+-int find_keyboard() {
++int find_keyboards() {
+ int i, j;
+ int fd;
+- char filename[32];
+- char key_bitmask[(KEY_MAX + 7) / 8];
+-
+- for (i=0; i<32; i++) {
++ char name[256] = "Unknown";
++
++ keyboard_fd_num = 0;
++ for (i=0; i<MAX_KEYBOARDS; i++) {
++ keyboard_fds[i] = 0;
++ }
++
++ for (i=0; i<MAX_INPUT_NODE; i++) {
+ snprintf(filename,sizeof(filename), "/dev/input/event%d", i);
+-
++
+ fd = open(filename, O_RDWR|O_SYNC);
+ ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(key_bitmask)), key_bitmask);
+-
+- /* We assume that anything that has an alphabetic key in the
+- QWERTYUIOP range in it is the main keyboard. */
+- for (j = KEY_Q; j <= KEY_P; j++) {
+- if (TestBit(j, key_bitmask))
+- return fd;
++
++ // Ensure that we do not detect our own tsak faked keyboards
++ ioctl (fd, EVIOCGNAME (sizeof (name)), name);
++ if (str_ends_with(name, "+tsak") == 0) {
++ /* We assume that anything that has an alphabetic key in the
++ QWERTYUIOP range in it is the main keyboard. */
++ for (j = KEY_Q; j <= KEY_P; j++) {
++ if (TestBit(j, key_bitmask)) {
++ keyboard_fds[keyboard_fd_num] = fd;
++ }
++ }
++ }
++
++ if (keyboard_fds[keyboard_fd_num] == 0) {
++ close (fd);
++ }
++ else {
++ keyboard_fd_num++;
+ }
+-
+- close (fd);
+ }
+ return 0;
+ }
+@@ -144,18 +230,24 @@
+ }
+ }
+
++void tearDownLockingPipe()
++{
++ close(mPipe_lockfd_out);
++ unlink(FIFO_LOCKFILE_OUT);
++}
++
+ bool setFileLock(int fd, bool close_on_failure)
+ {
+ struct flock fl;
+-
++
+ fl.l_type = F_WRLCK;
+ fl.l_whence = SEEK_SET;
+ fl.l_start = 0;
+ fl.l_len = 1;
+
+ // Set the exclusive file lock
+- if (fcntl(mPipe_fd_out, F_SETLK, &fl) == -1) {
+- close(mPipe_fd_out);
++ if (fcntl(fd, F_SETLK, &fl) == -1) {
++ close(fd);
+ return false;
+ }
+
+@@ -171,7 +263,7 @@
+ fl.l_whence = SEEK_SET;
+ fl.l_len = 0;
+
+- int fd = open(FIFO_FILE_OUT, O_RDWR | O_NONBLOCK);
++ int fd = open(FIFO_LOCKFILE_OUT, O_RDWR | O_NONBLOCK);
+ fcntl(fd, F_GETLK, &fl); /* Overwrites lock structure with preventors. */
+
+ if (fd > -1) {
+@@ -189,10 +281,10 @@
+ /* Create the FIFOs if they do not exist */
+ umask(0);
+ mkdir(FIFO_DIR,0644);
+-
++
+ mknod(FIFO_FILE_OUT, S_IFIFO|0600, 0);
+ chmod(FIFO_FILE_OUT, 0600);
+-
++
+ mPipe_fd_out = open(FIFO_FILE_OUT, O_RDWR | O_NONBLOCK);
+ if (mPipe_fd_out > -1) {
+ mPipeOpen_out = true;
+@@ -202,182 +294,426 @@
+ return setFileLock(mPipe_fd_out, true);
+ }
+
++bool setupLockingPipe(bool writepid)
++{
++ /* Create the FIFOs if they do not exist */
++ umask(0);
++ mkdir(FIFO_DIR,0644);
++
++ mknod(FIFO_LOCKFILE_OUT, 0600, 0);
++ chmod(FIFO_LOCKFILE_OUT, 0600);
++
++ mPipe_lockfd_out = open(FIFO_LOCKFILE_OUT, O_RDWR | O_NONBLOCK);
++ if (mPipe_lockfd_out > -1) {
++ if (writepid) {
++ // Write my PID to the file
++ pid_t tsakpid = getpid();
++ char pidstring[1024];
++ sprintf(pidstring, "%d", tsakpid);
++ write(mPipe_lockfd_out, pidstring, strlen(pidstring));
++ }
++ // Set the exclusive file lock
++ return setFileLock(mPipe_lockfd_out, true);
++ }
++
++ return false;
++}
++
++void broadcast_sak()
++{
++ // Let anyone listening to our interface know that an SAK keypress was received
++ // I highly doubt there are more than 255 VTs active at once...
++ int i;
++ for (i=0;i<255;i++) {
++ if (write(mPipe_fd_out, "SAK\n\r", 6) < 0) {
++ fprintf(stderr, "Unable to send SAK signal to clients\n");
++ }
++ }
++}
++
++void restart_tsak()
++{
++ int i;
++
++ fprintf(stderr, "Forcibly terminating...\n");
++
++ // Close down all child processes
++ for (i=0; i<MAX_KEYBOARDS; i++) {
++ if (child_pids[i] != 0) {
++ kill(child_pids[i], SIGKILL);
++ }
++ }
++
++ // Wait for process termination
++ sleep(1);
++
++ // Release all exclusive keyboard locks
++ for (int current_keyboard=0;current_keyboard<keyboard_fd_num;current_keyboard++) {
++ if(ioctl(keyboard_fds[current_keyboard], EVIOCGRAB, 0) < 0) {
++ fprintf(stderr, "Failed to release exclusive input device lock");
++ }
++ close(keyboard_fds[current_keyboard]);
++ }
++
++#if 1
++ // Restart now
++ // Note that the execl function never returns
++ char me[2048];
++ int chars = readlink("/proc/self/exe", me, sizeof(me));
++ me[chars] = 0;
++ me[2047] = 0;
++ execl(me, basename(me), (char*)NULL);
++#else
++ _exit(0);
++#endif
++}
++
+ class PipeHandler
+ {
+ public:
+ PipeHandler();
+ ~PipeHandler();
++
++ bool active;
+ };
+
+ PipeHandler::PipeHandler()
+ {
++ active = false;
+ }
+
+ PipeHandler::~PipeHandler()
+ {
+- tearDownPipe();
++ if (active) {
++ tearDownPipe();
++ tearDownLockingPipe();
++ }
+ }
+
+ int main (int argc, char *argv[])
+ {
+ struct input_event ev[64];
+ struct input_event event;
+- struct uinput_user_dev devinfo={0};
+- int fd, devout, rd, value, size = sizeof (struct input_event);
++ struct input_event revev;
++ struct uinput_user_dev devinfo={{0},{0}};
++ int devout[MAX_KEYBOARDS], rd, i, size = sizeof (struct input_event);
+ char name[256] = "Unknown";
+ bool ctrl_down = false;
+ bool alt_down = false;
+ bool hide_event = false;
+ bool established = false;
+ bool testrun = false;
++ bool depcheck = false;
++ int current_keyboard;
++ bool can_proceed;
++
++ // Ignore SIGPIPE
++ signal(SIGPIPE, SIG_IGN);
++
++ // Register signal handlers
++ // Register signal and signal handler
++ signal(SIGINT, signal_callback_handler);
++ signal(SIGTERM, signal_callback_handler);
++
++ set_terminate(tsak_friendly_termination);
++
++ try {
++ for (i=0; i<MAX_KEYBOARDS; i++) {
++ child_pids[i] = 0;
++ }
+
+- if (argc == 2) {
+- if (strcmp(argv[1], "checkactive") == 0) {
+- testrun = true;
++ if (argc == 2) {
++ if (strcmp(argv[1], "checkactive") == 0) {
++ testrun = true;
++ }
++ if (strcmp(argv[1], "checkdeps") == 0) {
++ depcheck = true;
++ }
+ }
+- }
+
+- // Check for existing file locks
+- if (!checkFileLock()) {
+- fprintf(stderr, "Another instance of this program is already running\n");
+- return 8;
+- }
+-
+- // Create the output pipe
+- PipeHandler controlpipe;
+- if (!setupPipe()) {
+- fprintf(stderr, "Another instance of this program is already running\n");
+- return 8;
+- }
+-
+- while (1) {
+- if ((getuid ()) != 0) {
+- printf ("You are not root! This WILL NOT WORK!\nDO NOT attempt to bypass security restrictions, e.g. by changing keyboard permissions or owner, if you want the SAK system to remain secure...\n");
+- return 5;
+- }
+-
+- // Open Device
+- fd = find_keyboard();
+- if (fd == -1) {
+- printf ("Could not find your keyboard!\n");
+- if (established)
+- sleep(1);
+- else
+- return 4;
++ if (depcheck == false) {
++ // Check for existing file locks
++ if (!checkFileLock()) {
++ fprintf(stderr, "Another instance of this program is already running [1]\n");
++ return 8;
++ }
++ if (!setupLockingPipe(true)) {
++ fprintf(stderr, "Another instance of this program is already running [2]\n");
++ return 8;
++ }
+ }
+- else {
+- // Print Device Name
+- ioctl (fd, EVIOCGNAME (sizeof (name)), name);
+- fprintf(stderr, "Reading From : (%s)\n", name);
+-
+- // Create filtered virtual output device
+- devout=open("/dev/misc/uinput",O_WRONLY|O_NONBLOCK);
+- if (devout<0) {
+- perror("open(\"/dev/misc/uinput\")");
+- devout=open("/dev/uinput",O_WRONLY|O_NONBLOCK);
+- }
+- if (devout<0) {
+- fprintf(stderr,"Unable to open /dev/uinput or /dev/misc/uinput (char device 10:223).\nPossible causes:\n 1) Device node does not exist\n 2) Kernel not compiled with evdev [INPUT_EVDEV] and uinput [INPUT_UINPUT] user level driver support\n 3) Permission denied.\n");
+- perror("open(\"/dev/uinput\")");
++
++ // Create the output pipe
++ PipeHandler controlpipe;
++ if (depcheck == false) {
++ if (!setupPipe()) {
++ fprintf(stderr, "Another instance of this program is already running\n");
++ return 8;
++ }
++ }
++
++ while (1) {
++ if (depcheck == false) {
++ controlpipe.active = true;
++ }
++
++ if ((getuid ()) != 0) {
++ printf ("You are not root! This WILL NOT WORK!\nDO NOT attempt to bypass security restrictions, e.g. by changing keyboard permissions or owner, if you want the SAK system to remain secure...\n");
++ return 5;
++ }
++
++ // Find keyboards
++ find_keyboards();
++ if (keyboard_fd_num == 0) {
++ printf ("Could not find any usable keyboard(s)!\n");
++ if (depcheck == true) {
++ return 50;
++ }
++ // Make sure everyone knows we physically can't detect a SAK
++ // Before we do this we broadcast one so that active dialogs are updated appropriately
++ // Also, we keep watching for a keyboard to be added via a forked child process...
++ broadcast_sak();
+ if (established)
+ sleep(1);
+- else
+- return 3;
++ else {
++ int i=fork();
++ if (i<0) {
++ return 12; // fork failed
++ }
++ if (i>0) {
++ return 4;
++ }
++ sleep(1);
++ restart_tsak();
++ }
+ }
+ else {
+- if(ioctl(fd, EVIOCGRAB, 2) < 0) {
+- close(fd);
+- fprintf(stderr, "Failed to grab exclusive input device lock");
+- if (established)
+- sleep(1);
+- else
+- return 1;
+- }
+- else {
+- ioctl(fd, EVIOCGNAME(UINPUT_MAX_NAME_SIZE), devinfo.name);
+- strncat(devinfo.name, "+tsak", UINPUT_MAX_NAME_SIZE-1);
+- fprintf(stderr, "%s\n", devinfo.name);
+- ioctl(fd, EVIOCGID, &devinfo.id);
+-
+- copy_features(fd, devout);
+- write(devout,&devinfo,sizeof(devinfo));
+- if (ioctl(devout,UI_DEV_CREATE)<0) {
+- fprintf(stderr,"Unable to create input device with UI_DEV_CREATE\n");
++ fprintf(stderr, "Found %d keyboard(s)\n", keyboard_fd_num);
++
++ can_proceed = true;
++ for (current_keyboard=0;current_keyboard<keyboard_fd_num;current_keyboard++) {
++ // Print Device Name
++ ioctl (keyboard_fds[current_keyboard], EVIOCGNAME (sizeof (name)), name);
++ fprintf(stderr, "Reading from keyboard: (%s)\n", name);
++
++ // Create filtered virtual output device
++ devout[current_keyboard]=open("/dev/misc/uinput",O_RDWR|O_NONBLOCK);
++ if (devout[current_keyboard]<0) {
++ devout[current_keyboard]=open("/dev/uinput",O_RDWR|O_NONBLOCK);
++ if (devout[current_keyboard]<0) {
++ perror("open(\"/dev/misc/uinput\")");
++ }
++ }
++ if (devout[current_keyboard]<0) {
++ can_proceed = false;
++ fprintf(stderr, "Unable to open /dev/uinput or /dev/misc/uinput (char device 10:223).\nPossible causes:\n 1) Device node does not exist\n 2) Kernel not compiled with evdev [INPUT_EVDEV] and uinput [INPUT_UINPUT] user level driver support\n 3) Permission denied.\n");
++ perror("open(\"/dev/uinput\")");
+ if (established)
+ sleep(1);
+ else
+- return 2;
++ return 3;
+ }
+- else {
+- fprintf(stderr,"Device created.\n");
++ }
++ if (depcheck == true) {
++ return 0;
++ }
+
+- if (established == false) {
+- tearDownPipe();
+- int i=fork();
+- if (i<0) return 9; // fork failed
+- if (i>0) {
+- // close parent process
+- close(mPipe_fd_out);
+- return 0;
+- }
+- setupPipe();
++ if (can_proceed == true) {
++ for (current_keyboard=0;current_keyboard<keyboard_fd_num;current_keyboard++) {
++ if(ioctl(keyboard_fds[current_keyboard], EVIOCGRAB, 2) < 0) {
++ close(keyboard_fds[current_keyboard]);
++ fprintf(stderr, "Failed to grab exclusive input device lock");
++ if (established)
++ sleep(1);
++ else
++ return 1;
+ }
++ else {
++ ioctl(keyboard_fds[current_keyboard], EVIOCGNAME(UINPUT_MAX_NAME_SIZE), devinfo.name);
++ strncat(devinfo.name, "+tsak", UINPUT_MAX_NAME_SIZE-1);
++ fprintf(stderr, "%s\n", devinfo.name);
++ ioctl(keyboard_fds[current_keyboard], EVIOCGID, &devinfo.id);
++
++ copy_features(keyboard_fds[current_keyboard], devout[current_keyboard]);
++ if (write(devout[current_keyboard],&devinfo,sizeof(devinfo)) < 0) {
++ fprintf(stderr, "Unable to write to output device\n");
++ }
++ if (ioctl(devout[current_keyboard],UI_DEV_CREATE)<0) {
++ fprintf(stderr, "Unable to create input device with UI_DEV_CREATE\n");
++ if (established)
++ sleep(1);
++ else
++ return 2;
++ }
++ else {
++ fprintf(stderr, "Device created.\n");
+
+- established = true;
++ if (established == false) {
++ int i=fork();
++ if (i<0) return 9; // fork failed
++ if (i>0) {
++ child_pids[current_keyboard] = i;
++ continue;
++ }
++ setupLockingPipe(false);
++ }
+
+- if (testrun == true) {
+- return 0;
+- }
+-
+- while (1) {
+- if ((rd = read (fd, ev, size * 2)) < size) {
+- fprintf(stderr,"Read failed.\n");
+- break;
+- }
+-
+- value = ev[0].value;
+-
+- if (value != ' ' && ev[1].value == 0 && ev[1].type == 1){ // Read the key release event
+- if (keycode[(ev[1].code)]) {
+- if (strcmp(keycode[(ev[1].code)], "<control>") == 0) ctrl_down = false;
+- if (strcmp(keycode[(ev[1].code)], "<alt>") == 0) alt_down = false;
++ established = true;
++
++ if (testrun == true) {
++ return 0;
+ }
+- }
+- if (value != ' ' && ev[1].value == 1 && ev[1].type == 1){ // Read the key press event
+- if (keycode[(ev[1].code)]) {
+- if (strcmp(keycode[(ev[1].code)], "<control>") == 0) ctrl_down = true;
+- if (strcmp(keycode[(ev[1].code)], "<alt>") == 0) alt_down = true;
++
++ while (1) {
++ if ((rd = read (keyboard_fds[current_keyboard], ev, size)) < size) {
++ fprintf(stderr, "Read failed.\n");
++ break;
++ }
++
++ // Replicate LED events from the virtual keyboard to the physical keyboard
++ int rrd = read(devout[current_keyboard], &revev, size);
++ if (rrd >= size) {
++ if (revev.type == EV_LED) {
++ if (write(keyboard_fds[current_keyboard], &revev, sizeof(revev)) < 0) {
++ fprintf(stderr, "Unable to replicate LED event\n");
++ }
++ }
++ }
++
++ if (ev[0].value == 0 && ev[0].type == 1) { // Read the key release event
++ if (keycode[(ev[0].code)]) {
++ if (strcmp(keycode[(ev[0].code)], "<control>") == 0) ctrl_down = false;
++ if (strcmp(keycode[(ev[0].code)], "<alt>") == 0) alt_down = false;
++ }
++ }
++ if (ev[0].value == 1 && ev[0].type == 1) { // Read the key press event
++ if (keycode[(ev[0].code)]) {
++ if (strcmp(keycode[(ev[0].code)], "<control>") == 0) ctrl_down = true;
++ if (strcmp(keycode[(ev[0].code)], "<alt>") == 0) alt_down = true;
++ }
++ }
++
++ hide_event = false;
++ if (ev[0].value == 1 && ev[0].type == 1) { // Read the key press event
++ if (keycode[(ev[0].code)]) {
++ if (alt_down && ctrl_down && (strcmp(keycode[(ev[0].code)], "<del>") == 0)) {
++ hide_event = true;
++ }
++ }
++ }
++
++ if ((hide_event == false) && (ev[0].type != EV_LED) && (ev[1].type != EV_LED)) {
++ // Pass the event on...
++ event = ev[0];
++ if (write(devout[current_keyboard], &event, sizeof event) < 0) {
++ fprintf(stderr, "Unable to replicate keyboard event!\n");
++ }
++ }
++ if (hide_event == true) {
++ // Let anyone listening to our interface know that an SAK keypress was received
++ broadcast_sak();
++ }
+ }
+ }
+-
+- hide_event = false;
+- if (keycode[(ev[1].code)]) {
+- if (alt_down && ctrl_down && (strcmp(keycode[(ev[1].code)], "<del>") == 0)) {
+- hide_event = true;
++ }
++ }
++
++ // fork udev monitor process
++ int i=fork();
++ if (i<0) {
++ return 10; // fork failed
++ }
++ if (i>0) {
++ // Terminate parent
++ controlpipe.active = false;
++ return 0;
++ }
++
++ // Prevent multiple process instances from starting
++ setupLockingPipe(true);
++
++ // Wait a little bit so that udev hotplug can stabilize before we start monitoring
++ sleep(1);
++
++ fprintf(stderr, "Hotplug monitoring process started\n");
++
++ // Monitor for hotplugged keyboards
++ int j;
++ int hotplug_fd;
++ bool is_new_keyboard;
++ struct udev *udev;
++ struct udev_device *dev;
++ struct udev_monitor *mon;
++
++ // Create the udev object
++ udev = udev_new();
++ if (!udev) {
++ fprintf(stderr, "Cannot connect to udev interface\n");
++ return 11;
++ }
++
++ // Set up a udev monitor to monitor input devices
++ mon = udev_monitor_new_from_netlink(udev, "udev");
++ udev_monitor_filter_add_match_subsystem_devtype(mon, "input", NULL);
++ udev_monitor_enable_receiving(mon);
++
++ while (1) {
++ // Watch for input from the monitoring process
++ dev = udev_monitor_receive_device(mon);
++ if (dev) {
++ // If a keyboard was removed we need to restart...
++ if (strcmp(udev_device_get_action(dev), "remove") == 0) {
++ udev_device_unref(dev);
++ udev_unref(udev);
++ restart_tsak();
++ }
++
++ is_new_keyboard = false;
++ snprintf(filename,sizeof(filename), "%s", udev_device_get_devnode(dev));
++ udev_device_unref(dev);
++
++ // Print name of keyboard
++ hotplug_fd = open(filename, O_RDWR|O_SYNC);
++ ioctl(hotplug_fd, EVIOCGBIT(EV_KEY, sizeof(key_bitmask)), key_bitmask);
++
++ /* We assume that anything that has an alphabetic key in the
++ QWERTYUIOP range in it is the main keyboard. */
++ for (j = KEY_Q; j <= KEY_P; j++) {
++ if (TestBit(j, key_bitmask)) {
++ is_new_keyboard = true;
+ }
+ }
+-
+- if (hide_event == false) {
+- // Pass the event on...
+- event = ev[0];
+- write(devout, &event, sizeof event);
+- event = ev[1];
+- write(devout, &event, sizeof event);
++ ioctl (hotplug_fd, EVIOCGNAME (sizeof (name)), name);
++ close(hotplug_fd);
++
++ // Ensure that we do not detect our own tsak faked keyboards
++ if (str_ends_with(name, "+tsak") == 1) {
++ is_new_keyboard = false;
+ }
+- if (hide_event == true) {
+- // Let anyone listening to our interface know that an SAK keypress was received
+- // I highly doubt there are more than 255 VTs active at once...
+- int i;
+- for (i=0;i<255;i++) {
+- write(mPipe_fd_out, "SAK\n\r", 6);
+- }
++
++ // If a keyboard was added we need to restart...
++ if (is_new_keyboard == true) {
++ fprintf(stderr, "Hotplugged new keyboard: (%s)\n", name);
++ udev_unref(udev);
++ restart_tsak();
+ }
+ }
++ else {
++ fprintf(stderr, "No Device from receive_device(). A udev error has occurred; terminating hotplug monitoring process.\n");
++ return 11;
++ }
+ }
++
++ udev_unref(udev);
++
++ fprintf(stderr, "Hotplug monitoring process terminated\n");
+ }
+ }
+ }
+ }
++ catch(exit_exception& e) {
++ tsak_friendly_termination();
++ }
+
+ return 6;
+ }
diff --git a/redhat/kdebase/kdebase-3.5.13-support_hal_04.patch b/redhat/kdebase/kdebase-3.5.13-support_hal_04.patch
new file mode 100644
index 000000000..0a92b6b98
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13-support_hal_04.patch
@@ -0,0 +1,1033 @@
+--- kdebase/ksmserver/shutdowndlg.h.rhel4 2012-09-08 05:43:47.950945974 -0400
++++ kdebase/ksmserver/shutdowndlg.h 2012-09-08 05:45:55.807337959 -0400
+@@ -32,6 +32,9 @@
+
+ #include <config.h>
+
++// RHEL 4 dirty hack to remove HAL support in ksmshutdown
++#undef COMPILE_HALBACKEND
++
+ #ifndef NO_QT3_DBUS_SUPPORT
+ /* We acknowledge the the dbus API is unstable */
+ #define DBUS_API_SUBJECT_TO_CHANGE
+--- kdebase/kioslave/media/mediamanager/halbackend.cpp.hal04 2012-09-08 14:15:10.324373357 -0400
++++ kdebase/kioslave/media/mediamanager/halbackend.cpp 2012-09-08 14:26:12.422302958 -0400
+@@ -41,12 +41,10 @@
+ #include <kprocess.h>
+
+ #define MOUNT_SUFFIX ( \
+- (medium->isMounted() ? TQString("_mounted") : TQString("_unmounted")) + \
+- (medium->isEncrypted() ? (halClearVolume ? "_decrypted" : "_encrypted") : "" ) \
++ (medium->isMounted() ? TQString("_mounted") : TQString("_unmounted")) \
+ )
+ #define MOUNT_ICON_SUFFIX ( \
+- (medium->isMounted() ? TQString("_mount") : TQString("_unmount")) + \
+- (medium->isEncrypted() ? (halClearVolume ? "_decrypt" : "_encrypt") : "" ) \
++ (medium->isMounted() ? TQString("_mount") : TQString("_unmount")) \
+ )
+
+ /* Static instance of this class, for static HAL callbacks */
+@@ -57,10 +55,10 @@
+ {
+ char* _ppt_string;
+ TQString _ppt_QString;
+- _ppt_string = libhal_device_get_property_string(ctx, udi, key, NULL);
++ _ppt_string = hal_device_get_property_string(ctx, udi, key);
+ if ( _ppt_string )
+ _ppt_QString = _ppt_string;
+- libhal_free_string(_ppt_string);
++ hal_free_string(_ppt_string);
+ return _ppt_QString;
+ }
+
+@@ -92,7 +90,7 @@
+
+ /* Remove all the registered media first */
+ int numDevices;
+- char** halDeviceList = libhal_get_all_devices( m_halContext, &numDevices, NULL );
++ char** halDeviceList = hal_get_all_devices( m_halContext, &numDevices );
+
+ if ( halDeviceList )
+ {
+@@ -102,70 +100,39 @@
+ }
+ }
+
+- libhal_free_string_array( halDeviceList );
++ hal_free_string_array( halDeviceList );
+
+- DBusError error;
+- dbus_error_init(&error);
+- libhal_ctx_shutdown(m_halContext, &error);
+- libhal_ctx_free(m_halContext);
++ hal_shutdown(m_halContext);
+ }
+
+ if (m_halStoragePolicy)
+- libhal_storage_policy_free(m_halStoragePolicy);
++ hal_storage_policy_free(m_halStoragePolicy);
+ }
+
+ /* Connect to the HAL */
+ bool HALBackend::InitHal()
+ {
+ kdDebug(1219) << "Context new" << endl;
+- m_halContext = libhal_ctx_new();
++
++ /* libhal initialization */
++ m_halFunctions.main_loop_integration = HALBackend::hal_main_loop_integration;
++ m_halFunctions.device_added = HALBackend::hal_device_added;
++ m_halFunctions.device_removed = HALBackend::hal_device_removed;
++ m_halFunctions.device_new_capability = NULL;
++ m_halFunctions.device_lost_capability = NULL;
++ m_halFunctions.device_property_modified = HALBackend::hal_device_property_modified;
++ m_halFunctions.device_condition = HALBackend::hal_device_condition;
++
++ m_halContext = hal_initialize(&m_halFunctions, false);
+ if (!m_halContext)
+ {
+ kdDebug(1219) << "Failed to initialize HAL!" << endl;
+ return false;
+ }
+
+- // Main loop integration
+- kdDebug(1219) << "Main loop integration" << endl;
+- DBusError error;
+- dbus_error_init(&error);
+- dbus_connection = dbus_bus_get_private(DBUS_BUS_SYSTEM, &error);
+-
+- if (!dbus_connection || dbus_error_is_set(&error)) {
+- dbus_error_free(&error);
+- libhal_ctx_free(m_halContext);
+- m_halContext = NULL;
+- return false;
+- }
+-
+- dbus_connection_set_exit_on_disconnect (dbus_connection, FALSE);
+-
+- MainLoopIntegration(dbus_connection);
+- libhal_ctx_set_dbus_connection(m_halContext, dbus_connection);
+-
+- // HAL callback functions
+- kdDebug(1219) << "Callback functions" << endl;
+- libhal_ctx_set_device_added(m_halContext, HALBackend::hal_device_added);
+- libhal_ctx_set_device_removed(m_halContext, HALBackend::hal_device_removed);
+- libhal_ctx_set_device_new_capability (m_halContext, NULL);
+- libhal_ctx_set_device_lost_capability (m_halContext, NULL);
+- libhal_ctx_set_device_property_modified (m_halContext, HALBackend::hal_device_property_modified);
+- libhal_ctx_set_device_condition(m_halContext, HALBackend::hal_device_condition);
+-
+- kdDebug(1219) << "Context Init" << endl;
+- if (!libhal_ctx_init(m_halContext, &error))
+- {
+- if (dbus_error_is_set(&error))
+- dbus_error_free(&error);
+- libhal_ctx_free(m_halContext);
+- m_halContext = NULL;
+- kdDebug(1219) << "Failed to init HAL context!" << endl;
+- return false;
+- }
+-
+ /** @todo customize watch policy */
+ kdDebug(1219) << "Watch properties" << endl;
+- if (!libhal_device_property_watch_all(m_halContext, &error))
++ if (hal_device_property_watch_all(m_halContext))
+ {
+ kdDebug(1219) << "Failed to watch HAL properties!" << endl;
+ return false;
+@@ -173,7 +140,7 @@
+
+ /* libhal-storage initialization */
+ kdDebug(1219) << "Storage Policy" << endl;
+- m_halStoragePolicy = libhal_storage_policy_new();
++ m_halStoragePolicy = hal_storage_policy_new();
+ /** @todo define libhal-storage icon policy */
+
+ /* List devices at startup */
+@@ -186,16 +153,19 @@
+ kdDebug(1219) << "ListDevices" << endl;
+
+ int numDevices;
+- char** halDeviceList = libhal_get_all_devices(m_halContext, &numDevices, NULL);
++ char** halDeviceList = hal_get_all_devices(m_halContext, &numDevices);
+
+ if (!halDeviceList)
+ return false;
+
+ kdDebug(1219) << "HALBackend::ListDevices : " << numDevices << " devices found" << endl;
+- for (int i = 0; i < numDevices; i++)
++ for (int i = 0; i < numDevices; i++) {
++ kdDebug(1219) << "HALBackend::ListDevices : adding device " << i << endl;
+ AddDevice(halDeviceList[i], false);
++ kdDebug(1219) << "HALBackend::ListDevices : end adding device " << i << endl;
++ }
+
+- libhal_free_string_array( halDeviceList );
++ hal_free_string_array( halDeviceList );
+
+ return true;
+ }
+@@ -206,63 +176,54 @@
+ {
+ /* We don't deal with devices that do not expose their capabilities.
+ If we don't check this, we will get a lot of warning messages from libhal */
+- if (!libhal_device_property_exists(m_halContext, udi, "info.capabilities", NULL))
++ if (!hal_device_property_exists(m_halContext, udi, "info.capabilities")) {
++ kdDebug(1219) << "HALBackend::AddDevice : Device does not expose capability. Skipping." << endl;
+ return;
++ }
+
+ /* If the device is already listed, do not process.
+ This should not happen, but who knows... */
+ /** @todo : refresh properties instead ? */
+- if (m_mediaList.findById(udi))
++ if (m_mediaList.findById(udi)) {
++ kdDebug(1219) << "HALBackend::AddDevice : Device is already listed. Skipping." << endl;
+ return;
++ }
+
+- if (libhal_device_get_property_bool(m_halContext, "/org/freedesktop/Hal/devices/computer", "storage.disable_volume_handling", NULL))
++ if (hal_device_get_property_bool(m_halContext, "/org/freedesktop/Hal/devices/computer", "storage.disable_volume_handling"))
+ allowNotification=false;
+
+ /* Add volume block devices */
+- if (libhal_device_query_capability(m_halContext, udi, "volume", NULL))
++ if (hal_device_query_capability(m_halContext, udi, "volume"))
+ {
++ kdDebug(1219) << "HALBackend::AddDevice : Device is a volume." << endl;
+ /* We only list volumes that...
+- * - are encrypted with LUKS or
+ * - have a filesystem or
+ * - have an audio track
+ */
+- if ( ( libhal_device_get_property_QString(m_halContext, udi, "volume.fsusage") != "crypto" ||
+- libhal_device_get_property_QString(m_halContext, udi, "volume.fstype") != "crypto_LUKS"
+- ) &&
+- libhal_device_get_property_QString(m_halContext, udi, "volume.fsusage") != "filesystem" &&
+- !libhal_device_get_property_bool(m_halContext, udi, "volume.disc.has_audio", NULL) &&
+- !libhal_device_get_property_bool(m_halContext, udi, "volume.disc.is_blank", NULL) )
++ if ( (libhal_device_get_property_QString(m_halContext, udi, "volume.fsusage") != "filesystem") &&
++ (!hal_device_get_property_bool(m_halContext, udi, "volume.disc.has_audio")) &&
++ (!hal_device_get_property_bool(m_halContext, udi, "volume.disc.is_blank")) ) {
++ kdDebug(1219) << "HALBackend::AddDevice : no filesystem, no audio track on device. Skipping." << endl;
+ return;
++ }
+
+ /* Query drive udi */
+ TQString driveUdi = libhal_device_get_property_QString(m_halContext, udi, "block.storage_device");
+- if ( driveUdi.isNull() ) // no storage - no fun
++ if ( driveUdi.isNull() ) { // no storage - no fun
++ kdDebug(1219) << "HALBackend::AddDevice : UDI is null. Skipping." << endl;
+ return;
++ }
+
+ // if the device is locked do not act upon it
+- if (libhal_device_get_property_bool(m_halContext, driveUdi.ascii(), "info.locked", NULL))
++ if (hal_device_get_property_bool(m_halContext, driveUdi.ascii(), "info.locked"))
+ allowNotification=false;
+
+ // if the device is locked do not act upon it
+- if (libhal_device_get_property_bool(m_halContext, driveUdi.ascii(), "storage.partition_table_changed", NULL))
++ if (hal_device_get_property_bool(m_halContext, driveUdi.ascii(), "storage.partition_table_changed"))
+ allowNotification=false;
+
+ /** @todo check exclusion list **/
+
+- /* Special handling for clear crypto volumes */
+- LibHalVolume* halVolume = libhal_volume_from_udi(m_halContext, udi);
+- if (!halVolume)
+- return;
+- const char* backingVolumeUdi = libhal_volume_crypto_get_backing_volume_udi(halVolume);
+- if ( backingVolumeUdi != NULL )
+- {
+- /* The crypto drive was unlocked and may now be mounted... */
+- kdDebug(1219) << "HALBackend::AddDevice : ClearVolume appeared for " << backingVolumeUdi << endl;
+- ResetProperties(backingVolumeUdi, allowNotification);
+- libhal_volume_free(halVolume);
+- return;
+- }
+- libhal_volume_free(halVolume);
+
+ /* Create medium */
+ Medium* medium = new Medium(udi, "");
+@@ -272,18 +233,20 @@
+ {
+ // if it's not mountable by user and not by HAL, don't show it at all
+ if ( ( libhal_device_get_property_QString(m_halContext, udi, "volume.fsusage") == "filesystem" &&
+- !libhal_device_get_property_bool(m_halContext, udi, "volume.is_mounted", NULL ) ) &&
+- ( libhal_device_get_property_bool(m_halContext, udi, "volume.ignore", NULL ) ) )
++ !hal_device_get_property_bool(m_halContext, udi, "volume.is_mounted") ) &&
++ ( hal_device_get_property_bool(m_halContext, udi, "volume.ignore") ) )
+ {
++ kdDebug(1219) << "HALBackend::AddDevice : Device is not mountable. Skipping." << endl;
+ delete medium;
+ return;
+ }
+ }
+
+- // instert medium into list
+- m_mediaList.addMedium(medium, allowNotification);
++ // insert medium into list
++ kdDebug(1219) << "HALBackend::AddDevice : Adding medium into list." << endl;
++ m_mediaList.addMedium(medium, allowNotification);
+
+- // finally check for automount
++ // finally check for automount
+ TQMap<TQString,TQString> options = MediaManagerUtils::splitOptions(mountoptions(udi));
+ kdDebug() << "automount " << options["automount"] << endl;
+ if (options["automount"] == "true" && allowNotification ) {
+@@ -294,14 +257,18 @@
+
+ return;
+ }
++ else
++ {
++ kdDebug(1219) << "HALBackend::AddDevice : Device is not a volume." << endl;
++ }
+
+ /* Floppy & zip drives */
+- if (libhal_device_query_capability(m_halContext, udi, "storage", NULL))
++ if (hal_device_query_capability(m_halContext, udi, "storage"))
+ if ((libhal_device_get_property_QString(m_halContext, udi, "storage.drive_type") == "floppy") ||
+ (libhal_device_get_property_QString(m_halContext, udi, "storage.drive_type") == "zip") ||
+ (libhal_device_get_property_QString(m_halContext, udi, "storage.drive_type") == "jaz"))
+ {
+- if (! libhal_device_get_property_bool(m_halContext, udi, "storage.removable.media_available", NULL) )
++ if (! hal_device_get_property_bool(m_halContext, udi, "storage.removable.media_available") )
+ allowNotification = false;
+ /* Create medium */
+ Medium* medium = new Medium(udi, "");
+@@ -314,11 +281,9 @@
+ }
+
+ /* Camera handled by gphoto2*/
+- if (libhal_device_query_capability(m_halContext, udi, "camera", NULL) &&
+- ((libhal_device_get_property_QString(m_halContext, udi, "camera.access_method")=="ptp") ||
+-
+- (libhal_device_property_exists(m_halContext, udi, "camera.libgphoto2.support", NULL) &&
+- libhal_device_get_property_bool(m_halContext, udi, "camera.libgphoto2.support", NULL)))
++ if (hal_device_query_capability(m_halContext, udi, "camera") &&
++ hal_device_property_exists(m_halContext, udi, "camera.libgphoto2.support") &&
++ hal_device_get_property_bool(m_halContext, udi, "camera.libgphoto3.support")
+ )
+ {
+ /* Create medium */
+@@ -327,6 +292,7 @@
+ m_mediaList.addMedium(medium, allowNotification);
+ return;
+ }
++ kdDebug(1219) << "HALBackend::AddDevice : Device was intentionally not added. Skipping." << endl;
+ }
+
+ void HALBackend::RemoveDevice(const char *udi)
+@@ -348,7 +314,7 @@
+ return;
+ bool allowNotification = false;
+ if (strcmp(key, "storage.removable.media_available") == 0)
+- allowNotification = libhal_device_get_property_bool(m_halContext, udi, key, NULL);
++ allowNotification = hal_device_get_property_bool(m_halContext, udi, key);
+ ResetProperties(mediumUdi, allowNotification);
+ }
+
+@@ -421,19 +387,13 @@
+ return medium->id().ascii();
+
+ /* Hard part : this is a volume whose drive is registered */
+- if (libhal_device_property_exists(m_halContext, udi, "info.capabilities", NULL))
+- if (libhal_device_query_capability(m_halContext, udi, "volume", NULL))
++ if (hal_device_property_exists(m_halContext, udi, "info.capabilities"))
++ if (hal_device_query_capability(m_halContext, udi, "volume"))
+ {
+ /* check if this belongs to an encrypted volume */
+- LibHalVolume* halVolume = libhal_volume_from_udi(m_halContext, udi);
++ HalVolume* halVolume = hal_volume_from_udi(m_halContext, udi);
+ if (!halVolume) return NULL;
+- const char* backingUdi = libhal_volume_crypto_get_backing_volume_udi(halVolume);
+- if (backingUdi != NULL) {
+- const char* result = findMediumUdiFromUdi(backingUdi);
+- libhal_volume_free(halVolume);
+- return result;
+- }
+- libhal_volume_free(halVolume);
++ hal_volume_free(halVolume);
+
+ /* this is a volume whose drive is registered */
+ TQString driveUdi = libhal_device_get_property_QString(m_halContext, udi, "block.storage_device");
+@@ -462,11 +422,11 @@
+
+ Medium* m = new Medium(mediumUdi, "");
+
+- if (libhal_device_query_capability(m_halContext, mediumUdi, "volume", NULL))
++ if (hal_device_query_capability(m_halContext, mediumUdi, "volume"))
+ setVolumeProperties(m);
+- if (libhal_device_query_capability(m_halContext, mediumUdi, "storage", NULL))
++ if (hal_device_query_capability(m_halContext, mediumUdi, "storage"))
+ setFloppyProperties(m);
+- if (libhal_device_query_capability(m_halContext, mediumUdi, "camera", NULL))
++ if (hal_device_query_capability(m_halContext, mediumUdi, "camera"))
+ setCameraProperties(m);
+
+ m_mediaList.changeMediumState(*m, allowNotification);
+@@ -480,84 +440,50 @@
+
+ const char* udi = medium->id().ascii();
+ /* Check if the device still exists */
+- if (!libhal_device_exists(m_halContext, udi, NULL))
++ if (!hal_device_exists(m_halContext, udi))
+ return;
+
+ /* Get device information from libhal-storage */
+- LibHalVolume* halVolume = libhal_volume_from_udi(m_halContext, udi);
++ HalVolume* halVolume = hal_volume_from_udi(m_halContext, udi);
+ if (!halVolume)
+ return;
+- TQString driveUdi = libhal_volume_get_storage_device_udi(halVolume);
+- LibHalDrive* halDrive = 0;
++ TQString driveUdi = hal_volume_get_storage_device_udi(halVolume);
++ HalDrive* halDrive = 0;
+ if ( !driveUdi.isNull() )
+- halDrive = libhal_drive_from_udi(m_halContext, driveUdi.ascii());
++ halDrive = hal_drive_from_udi(m_halContext, driveUdi.ascii());
+ if (!halDrive) {
+ // at times HAL sends an UnmountForced event before the device is removed
+- libhal_volume_free(halVolume);
++ hal_volume_free(halVolume);
+ return;
+ }
+
+ medium->setName(
+- generateName(libhal_volume_get_device_file(halVolume)) );
+-
+- LibHalVolume* halClearVolume = NULL;
+- if ( libhal_device_get_property_QString(m_halContext, udi, "volume.fsusage") == "crypto" )
+- {
+- kdDebug(1219) << "HALBackend::setVolumeProperties : crypto volume" << endl;
++ generateName(hal_volume_get_device_file(halVolume)) );
+
+- medium->setEncrypted(true);
+- char* clearUdi = libhal_volume_crypto_get_clear_volume_udi(m_halContext, halVolume);
+- TQString clearUdiString;
+- if (clearUdi != NULL) {
+- kdDebug(1219) << "HALBackend::setVolumeProperties : crypto clear volume avail - " << clearUdi << endl;
+- halClearVolume = libhal_volume_from_udi(m_halContext, clearUdi);
+- // ignore if halClearVolume is NULL -> just not decrypted in this case
+- clearUdiString = clearUdi;
+- libhal_free_string(clearUdi);
+- }
+-
+- if (halClearVolume)
+- medium->mountableState(
+- libhal_volume_get_device_file(halVolume), /* Device node */
+- clearUdiString,
+- libhal_volume_get_mount_point(halClearVolume), /* Mount point */
+- libhal_volume_get_fstype(halClearVolume), /* Filesystem type */
+- libhal_volume_is_mounted(halClearVolume) ); /* Mounted ? */
+- else
+- medium->mountableState(
+- libhal_volume_get_device_file(halVolume), /* Device node */
+- TQString::null,
+- TQString::null, /* Mount point */
+- TQString::null, /* Filesystem type */
+- false ); /* Mounted ? */
+- }
+- else
+- {
+- kdDebug(1219) << "HALBackend::setVolumeProperties : normal volume" << endl;
+- medium->mountableState(
+- libhal_volume_get_device_file(halVolume), /* Device node */
+- libhal_volume_get_mount_point(halVolume), /* Mount point */
+- libhal_volume_get_fstype(halVolume), /* Filesystem type */
+- libhal_volume_is_mounted(halVolume) ); /* Mounted ? */
+- }
++ kdDebug(1219) << "HALBackend::setVolumeProperties : normal volume" << endl;
++ medium->mountableState(
++ hal_volume_get_device_file(halVolume), /* Device node */
++ hal_volume_get_mount_point(halVolume), /* Mount point */
++ hal_volume_get_fstype(halVolume), /* Filesystem type */
++ hal_volume_is_mounted(halVolume) ); /* Mounted ? */
+
+
+- char* name = libhal_volume_policy_compute_display_name(halDrive, halVolume, m_halStoragePolicy);
++ char* name = hal_volume_policy_compute_display_name(halDrive, halVolume, m_halStoragePolicy);
+ TQString volume_name = TQString::fromUtf8(name);
+ TQString media_name = volume_name;
+ medium->setLabel(media_name);
+ free(name);
+
+ TQString mimeType;
+- if (libhal_volume_is_disc(halVolume))
++ if (hal_volume_is_disc(halVolume))
+ {
+ mimeType = "media/cdrom" + MOUNT_SUFFIX;
+
+- LibHalVolumeDiscType discType = libhal_volume_get_disc_type(halVolume);
+- if ((discType == LIBHAL_VOLUME_DISC_TYPE_CDROM) ||
+- (discType == LIBHAL_VOLUME_DISC_TYPE_CDR) ||
+- (discType == LIBHAL_VOLUME_DISC_TYPE_CDRW))
+- if (libhal_volume_disc_is_blank(halVolume))
++ HalVolumeDiscType discType = hal_volume_get_disc_type(halVolume);
++ if ((discType == HAL_VOLUME_DISC_TYPE_CDROM) ||
++ (discType == HAL_VOLUME_DISC_TYPE_CDR) ||
++ (discType == HAL_VOLUME_DISC_TYPE_CDRW))
++ if (hal_volume_disc_is_blank(halVolume))
+ {
+ mimeType = "media/blankcd";
+ medium->unmountableState("");
+@@ -565,10 +491,10 @@
+ else
+ mimeType = "media/cdwriter" + MOUNT_SUFFIX;
+
+- if ((discType == LIBHAL_VOLUME_DISC_TYPE_DVDROM) || (discType == LIBHAL_VOLUME_DISC_TYPE_DVDRAM) ||
+- (discType == LIBHAL_VOLUME_DISC_TYPE_DVDR) || (discType == LIBHAL_VOLUME_DISC_TYPE_DVDRW) ||
+- (discType == LIBHAL_VOLUME_DISC_TYPE_DVDPLUSR) || (discType == LIBHAL_VOLUME_DISC_TYPE_DVDPLUSRW) )
+- if (libhal_volume_disc_is_blank(halVolume))
++ if ((discType == HAL_VOLUME_DISC_TYPE_DVDROM) || (discType == HAL_VOLUME_DISC_TYPE_DVDRAM) ||
++ (discType == HAL_VOLUME_DISC_TYPE_DVDR) || (discType == HAL_VOLUME_DISC_TYPE_DVDRW) ||
++ (discType == HAL_VOLUME_DISC_TYPE_DVDPLUSR) || (discType == HAL_VOLUME_DISC_TYPE_DVDPLUSRW) )
++ if (hal_volume_disc_is_blank(halVolume))
+ {
+ mimeType = "media/blankdvd";
+ medium->unmountableState("");
+@@ -576,16 +502,16 @@
+ else
+ mimeType = "media/dvd" + MOUNT_SUFFIX;
+
+- if (libhal_volume_disc_has_audio(halVolume) && !libhal_volume_disc_has_data(halVolume))
++ if (hal_volume_disc_has_audio(halVolume) && !hal_volume_disc_has_data(halVolume))
+ {
+ mimeType = "media/audiocd";
+- medium->unmountableState( "audiocd:/?device=" + TQString(libhal_volume_get_device_file(halVolume)) );
++ medium->unmountableState( "audiocd:/?device=" + TQString(hal_volume_get_device_file(halVolume)) );
+ }
+
+ medium->setIconName(TQString::null);
+
+ /* check if the disc id a vcd or a video dvd */
+- DiscType type = LinuxCDPolling::identifyDiscType(libhal_volume_get_device_file(halVolume));
++ DiscType type = LinuxCDPolling::identifyDiscType(hal_volume_get_device_file(halVolume));
+ switch (type)
+ {
+ case DiscType::VCD:
+@@ -603,24 +529,24 @@
+ {
+ mimeType = "media/hdd" + MOUNT_SUFFIX;
+ medium->setIconName(TQString::null); // reset icon
+- if (libhal_drive_is_hotpluggable(halDrive))
++ if (hal_drive_is_hotpluggable(halDrive))
+ {
+ mimeType = "media/removable" + MOUNT_SUFFIX;
+ medium->needMounting();
+- switch (libhal_drive_get_type(halDrive)) {
+- case LIBHAL_DRIVE_TYPE_COMPACT_FLASH:
++ switch (hal_drive_get_type(halDrive)) {
++ case HAL_DRIVE_TYPE_COMPACT_FLASH:
+ medium->setIconName("compact_flash" + MOUNT_ICON_SUFFIX);
+ break;
+- case LIBHAL_DRIVE_TYPE_MEMORY_STICK:
++ case HAL_DRIVE_TYPE_MEMORY_STICK:
+ medium->setIconName("memory_stick" + MOUNT_ICON_SUFFIX);
+ break;
+- case LIBHAL_DRIVE_TYPE_SMART_MEDIA:
++ case HAL_DRIVE_TYPE_SMART_MEDIA:
+ medium->setIconName("smart_media" + MOUNT_ICON_SUFFIX);
+ break;
+- case LIBHAL_DRIVE_TYPE_SD_MMC:
++ case HAL_DRIVE_TYPE_SD_MMC:
+ medium->setIconName("sd_mmc" + MOUNT_ICON_SUFFIX);
+ break;
+- case LIBHAL_DRIVE_TYPE_PORTABLE_AUDIO_PLAYER:
++ case HAL_DRIVE_TYPE_PORTABLE_AUDIO_PLAYER:
+ {
+ medium->setIconName("ipod" + MOUNT_ICON_SUFFIX);
+
+@@ -628,25 +554,25 @@
+ KProtocolInfo::isKnownProtocol( TQString("ipod") ) )
+ {
+ medium->unmountableState( "ipod:/" );
+- medium->mountableState( libhal_volume_is_mounted(halVolume) );
++ medium->mountableState( hal_volume_is_mounted(halVolume) );
+ }
+ break;
+ }
+- case LIBHAL_DRIVE_TYPE_CAMERA:
++ case HAL_DRIVE_TYPE_CAMERA:
+ {
+ mimeType = "media/camera" + MOUNT_SUFFIX;
+- const char *physdev = libhal_drive_get_physical_device_udi(halDrive);
++ const char *physdev = hal_drive_get_physical_device_udi(halDrive);
+ // get model from camera
+- if (physdev && libhal_device_query_capability(m_halContext, physdev, "camera", NULL))
++ if (physdev && hal_device_query_capability(m_halContext, physdev, "camera"))
+ {
+- if (libhal_device_property_exists(m_halContext, physdev, "usb_device.product", NULL))
++ if (hal_device_property_exists(m_halContext, physdev, "usb_device.product"))
+ medium->setLabel(libhal_device_get_property_QString(m_halContext, physdev, "usb_device.product"));
+- else if (libhal_device_property_exists(m_halContext, physdev, "usb.product", NULL))
++ else if (hal_device_property_exists(m_halContext, physdev, "usb.product"))
+ medium->setLabel(libhal_device_get_property_QString(m_halContext, physdev, "usb.product"));
+ }
+ break;
+ }
+- case LIBHAL_DRIVE_TYPE_TAPE:
++ case HAL_DRIVE_TYPE_TAPE:
+ medium->setIconName(TQString::null); //FIXME need icon
+ break;
+ default:
+@@ -661,8 +587,8 @@
+ }
+ medium->setMimeType(mimeType);
+
+- libhal_drive_free(halDrive);
+- libhal_volume_free(halVolume);
++ hal_drive_free(halDrive);
++ hal_volume_free(halVolume);
+ }
+
+ bool HALBackend::setFstabProperties( Medium *medium )
+@@ -713,10 +639,10 @@
+
+ const char* udi = medium->id().ascii();
+ /* Check if the device still exists */
+- if (!libhal_device_exists(m_halContext, udi, NULL))
++ if (!hal_device_exists(m_halContext, udi))
+ return false;
+
+- LibHalDrive* halDrive = libhal_drive_from_udi(m_halContext, udi);
++ HalDrive* halDrive = hal_drive_from_udi(m_halContext, udi);
+ if (!halDrive)
+ return false;
+
+@@ -724,21 +650,21 @@
+
+ if (drive_type == "zip") {
+ int numVolumes;
+- char** volumes = libhal_drive_find_all_volumes(m_halContext, halDrive, &numVolumes);
+- libhal_free_string_array(volumes);
++ char** volumes = hal_drive_find_all_volumes(m_halContext, halDrive, &numVolumes);
++ hal_free_string_array(volumes);
+ kdDebug(1219) << " found " << numVolumes << " volumes" << endl;
+ if (numVolumes)
+ {
+- libhal_drive_free(halDrive);
++ hal_drive_free(halDrive);
+ return false;
+ }
+ }
+
+- medium->setName( generateName(libhal_drive_get_device_file(halDrive)) );
++ medium->setName( generateName(hal_drive_get_device_file(halDrive)) );
+ medium->setLabel(i18n("Unknown Drive"));
+
+ // HAL hates floppies - so we have to do it twice ;(
+- medium->mountableState(libhal_drive_get_device_file(halDrive), TQString::null, TQString::null, false);
++ medium->mountableState(hal_drive_get_device_file(halDrive), TQString::null, TQString::null, false);
+ setFloppyMountState(medium);
+
+ if (drive_type == "floppy")
+@@ -762,7 +688,7 @@
+
+ medium->setIconName(TQString::null);
+
+- libhal_drive_free(halDrive);
++ hal_drive_free(halDrive);
+
+ return true;
+ }
+@@ -796,7 +722,7 @@
+
+ const char* udi = medium->id().ascii();
+ /* Check if the device still exists */
+- if (!libhal_device_exists(m_halContext, udi, NULL))
++ if (!hal_device_exists(m_halContext, udi))
+ return;
+
+ /** @todo find name */
+@@ -804,25 +730,25 @@
+
+ TQString device = "camera:/";
+
+- char *cam = libhal_device_get_property_string(m_halContext, udi, "camera.libgphoto2.name", NULL);
++ char *cam = hal_device_get_property_string(m_halContext, udi, "camera.libgphoto2.name");
+ DBusError error;
+ dbus_error_init(&error);
+ if (cam &&
+- libhal_device_property_exists(m_halContext, udi, "usb.linux.device_number", NULL) &&
+- libhal_device_property_exists(m_halContext, udi, "usb.bus_number", NULL))
++ hal_device_property_exists(m_halContext, udi, "usb.linux.device_number") &&
++ hal_device_property_exists(m_halContext, udi, "usb.bus_number"))
+ device.sprintf("camera://%s@[usb:%03d,%03d]/", cam,
+- libhal_device_get_property_int(m_halContext, udi, "usb.bus_number", &error),
+- libhal_device_get_property_int(m_halContext, udi, "usb.linux.device_number", &error));
++ hal_device_get_property_int(m_halContext, udi, "usb.bus_number"),
++ hal_device_get_property_int(m_halContext, udi, "usb.linux.device_number"));
+
+- libhal_free_string(cam);
++ hal_free_string(cam);
+
+ /** @todo find the rest of this URL */
+ medium->unmountableState(device);
+ medium->setMimeType("media/gphoto2camera");
+ medium->setIconName(TQString::null);
+- if (libhal_device_property_exists(m_halContext, udi, "usb_device.product", NULL))
++ if (hal_device_property_exists(m_halContext, udi, "usb_device.product"))
+ medium->setLabel(libhal_device_get_property_QString(m_halContext, udi, "usb_device.product"));
+- else if (libhal_device_property_exists(m_halContext, udi, "usb.product", NULL))
++ else if (hal_device_property_exists(m_halContext, udi, "usb.product"))
+ medium->setLabel(libhal_device_get_property_QString(m_halContext, udi, "usb.product"));
+ else
+ medium->setLabel(i18n("Camera"));
+@@ -837,6 +763,14 @@
+ ** HAL CALL-BACKS **
+ ******************************************/
+
++void HALBackend::hal_main_loop_integration(LibHalContext *ctx,
++ DBusConnection *dbus_connection)
++{
++ kdDebug(1219) << "HALBackend::hal_main_loop_integration" << endl;
++ Q_UNUSED(ctx);
++ s_HALBackend->MainLoopIntegration(dbus_connection);
++}
++
+ void HALBackend::hal_device_added(LibHalContext *ctx, const char *udi)
+ {
+ kdDebug(1219) << "HALBackend::hal_device_added " << udi << endl;
+@@ -863,7 +797,7 @@
+
+ void HALBackend::hal_device_condition(LibHalContext *ctx, const char *udi,
+ const char *condition_name,
+- const char* message
++ DBusMessage* message
+ )
+ {
+ kdDebug(1219) << "HALBackend::hal_device_condition " << udi << " -- " << condition_name << endl;
+@@ -875,24 +809,24 @@
+ TQStringList HALBackend::getHALmountoptions(TQString udi)
+ {
+ const char* _ppt_string;
+- LibHalVolume* volume;
+- LibHalDrive* drive;
++ HalVolume* volume;
++ HalDrive* drive;
+
+ TQString _ppt_TQString;
+
+- volume = libhal_volume_from_udi( m_halContext, udi.latin1() );
++ volume = hal_volume_from_udi( m_halContext, udi.latin1() );
+ if( volume )
+- drive = libhal_drive_from_udi( m_halContext, libhal_volume_get_storage_device_udi( volume ) );
++ drive = hal_drive_from_udi( m_halContext, hal_volume_get_storage_device_udi( volume ) );
+ else
+- drive = libhal_drive_from_udi( m_halContext, udi.latin1() );
++ drive = hal_drive_from_udi( m_halContext, udi.latin1() );
+
+ if( !drive )
+ return TQString::null;
+
+ if( volume )
+- _ppt_string = libhal_volume_policy_get_mount_options ( drive, volume, NULL );
++ _ppt_string = hal_volume_policy_get_mount_options ( drive, volume, NULL );
+ else
+- _ppt_string = libhal_drive_policy_get_mount_options ( drive, NULL );
++ _ppt_string = hal_drive_policy_get_mount_options ( drive, NULL );
+
+ _ppt_TQString = TQString(_ppt_string ? _ppt_string : "");
+
+@@ -908,24 +842,6 @@
+ return TQStringList(); // not handled by HAL - fstab entry
+
+ TQString volume_udi = name;
+- if (medium->isEncrypted()) {
+- // see if we have a clear volume
+- LibHalVolume* halVolume = libhal_volume_from_udi(m_halContext, medium->id().latin1());
+- if (halVolume) {
+- char* clearUdi = libhal_volume_crypto_get_clear_volume_udi(m_halContext, halVolume);
+- if (clearUdi != NULL) {
+- volume_udi = clearUdi;
+- libhal_free_string(clearUdi);
+- } else {
+- // if not decrypted yet then no mountoptions
+- return TQStringList();
+- }
+- libhal_volume_free(halVolume);
+- } else {
+- // strange...
+- return TQStringList();
+- }
+- }
+
+ KConfig config("mediamanagerrc");
+
+@@ -939,17 +855,7 @@
+ if (use_defaults)
+ config.setGroup("DefaultOptions");
+
+- char ** array = libhal_device_get_property_strlist(m_halContext, volume_udi.latin1(), "volume.mount.valid_options", NULL);
+ TQMap<TQString,bool> valids;
+-
+- for (int index = 0; array && array[index]; ++index) {
+- TQString t = array[index];
+- if (t.endsWith("="))
+- t = t.left(t.length() - 1);
+- valids[t] = true;
+- kdDebug() << "valid " << t << endl;
+- }
+- libhal_free_string_array(array);
+ TQStringList result;
+ TQString tmp;
+
+@@ -963,8 +869,8 @@
+
+ bool removable = false;
+ if ( !drive_udi.isNull() )
+- removable = libhal_device_get_property_bool(m_halContext, drive_udi.latin1(), "storage.removable", NULL)
+- || libhal_device_get_property_bool(m_halContext, drive_udi.latin1(), "storage.hotpluggable", NULL);
++ removable = hal_device_get_property_bool(m_halContext, drive_udi.latin1(), "storage.removable")
++ || hal_device_get_property_bool(m_halContext, drive_udi.latin1(), "storage.hotpluggable");
+
+ bool value;
+ if (use_defaults)
+@@ -979,11 +885,11 @@
+ config.setGroup(current_group);
+ }
+
+- if (libhal_device_get_property_bool(m_halContext, volume_udi.latin1(), "volume.disc.is_blank", NULL)
+- || libhal_device_get_property_bool(m_halContext, volume_udi.latin1(), "volume.disc.is_vcd", NULL)
+- || libhal_device_get_property_bool(m_halContext, volume_udi.latin1(), "volume.disc.is_svcd", NULL)
+- || libhal_device_get_property_bool(m_halContext, volume_udi.latin1(), "volume.disc.is_videodvd", NULL)
+- || libhal_device_get_property_bool(m_halContext, volume_udi.latin1(), "volume.disc.has_audio", NULL))
++ if (hal_device_get_property_bool(m_halContext, volume_udi.latin1(), "volume.disc.is_blank")
++ || hal_device_get_property_bool(m_halContext, volume_udi.latin1(), "volume.disc.is_vcd")
++ || hal_device_get_property_bool(m_halContext, volume_udi.latin1(), "volume.disc.is_svcd")
++ || hal_device_get_property_bool(m_halContext, volume_udi.latin1(), "volume.disc.is_videodvd")
++ || hal_device_get_property_bool(m_halContext, volume_udi.latin1(), "volume.disc.has_audio"))
+ value = false;
+
+ result << TQString("automount=%1").arg(value ? "true" : "false");
+@@ -1540,29 +1446,6 @@
+ }
+ options[noptions] = NULL;
+
+- TQString qerror = i18n("Cannot mount encrypted drives!");
+-
+- if (!medium->isEncrypted()) {
+- // normal volume
+- qerror = mount_priv(medium->id().latin1(), mount_point.utf8(), options, noptions, dbus_connection);
+- } else {
+- // see if we have a clear volume
+- LibHalVolume* halVolume = libhal_volume_from_udi(m_halContext, medium->id().latin1());
+- if (halVolume) {
+- char* clearUdi = libhal_volume_crypto_get_clear_volume_udi(m_halContext, halVolume);
+- if (clearUdi != NULL) {
+- qerror = mount_priv(clearUdi, mount_point.utf8(), options, noptions, dbus_connection);
+- libhal_free_string(clearUdi);
+- }
+- libhal_volume_free(halVolume);
+- }
+- }
+-
+- if (!qerror.isEmpty()) {
+- kdError() << "mounting " << medium->id() << " returned " << qerror << endl;
+- return qerror;
+- }
+-
+ medium->setHalMounted(true);
+ ResetProperties(medium->id().latin1());
+
+@@ -1584,11 +1467,11 @@
+ if (!medium)
+ { // now we get fancy: if the udi is no volume, it _might_ be a device with only one
+ // volume on it (think CDs) - so we're so nice to the caller to unmount that volume
+- LibHalDrive* halDrive = libhal_drive_from_udi(m_halContext, _udi.latin1());
++ HalDrive* halDrive = hal_drive_from_udi(m_halContext, _udi.latin1());
+ if (halDrive)
+ {
+ int numVolumes;
+- char** volumes = libhal_drive_find_all_volumes(m_halContext, halDrive, &numVolumes);
++ char** volumes = hal_drive_find_all_volumes(m_halContext, halDrive, &numVolumes);
+ if (numVolumes == 1)
+ medium = m_mediaList.findById( volumes[0] );
+ }
+@@ -1626,19 +1509,8 @@
+ const char *options[2];
+ TQString udi = TQString::null;
+
+- if (!medium->isEncrypted()) {
+- // normal volume
+- udi = medium->id();
+- } else {
+- // see if we have a clear volume
+- LibHalVolume* halVolume = libhal_volume_from_udi(m_halContext, medium->id().latin1());
+- if (halVolume) {
+- char *clearUdi = libhal_volume_crypto_get_clear_volume_udi(m_halContext, halVolume);
+- udi = clearUdi;
+- libhal_free_string(clearUdi);
+- libhal_volume_free(halVolume);
+- }
+- }
++ udi = medium->id();
++
+ if (udi.isNull()) {
+ kdDebug() << "unmount failed: no udi" << endl;
+ return i18n("Internal Error");
+@@ -1748,111 +1620,4 @@
+ return TQString();
+ }
+
+-TQString HALBackend::decrypt(const TQString &_udi, const TQString &password)
+-{
+- const Medium* medium = m_mediaList.findById(_udi);
+- if (!medium)
+- return i18n("No such medium: %1").arg(_udi);
+-
+- if (!medium->isEncrypted() || !medium->clearDeviceUdi().isNull())
+- return TQString();
+-
+- const char *udi = medium->id().latin1();
+- DBusMessage *msg = NULL;
+- DBusMessage *reply = NULL;
+- DBusError error;
+-
+- kdDebug() << "Setting up " << udi << " for crypto\n" <<endl;
+-
+- msg = dbus_message_new_method_call ("org.freedesktop.Hal", udi,
+- "org.freedesktop.Hal.Device.Volume.Crypto",
+- "Setup");
+- if (msg == NULL) {
+- kdDebug() << "decrypt failed for " << udi << ": could not create dbus message\n";
+- return i18n("Internal Error");
+- }
+-
+- TQCString pwdUtf8 = password.utf8();
+- const char *pwd_utf8 = pwdUtf8;
+- if (!dbus_message_append_args (msg, DBUS_TYPE_STRING, &pwd_utf8, DBUS_TYPE_INVALID)) {
+- kdDebug() << "decrypt failed for " << udi << ": could not append args to dbus message\n";
+- dbus_message_unref (msg);
+- return i18n("Internal Error");
+- }
+-
+- dbus_error_init (&error);
+- if (!(reply = dbus_connection_send_with_reply_and_block (dbus_connection, msg, -1, &error)) ||
+- dbus_error_is_set (&error))
+- {
+- TQString qerror = i18n("Internal Error");
+- kdDebug() << "decrypt failed for " << udi << ": " << error.name << " " << error.message << endl;
+- if (strcmp (error.name, "org.freedesktop.Hal.Device.Volume.Crypto.SetupPasswordError") == 0) {
+- qerror = i18n("Wrong password");
+- }
+- dbus_error_free (&error);
+- dbus_message_unref (msg);
+- while (dbus_connection_dispatch(dbus_connection) == DBUS_DISPATCH_DATA_REMAINS) ;
+- return qerror;
+- }
+-
+- dbus_message_unref (msg);
+- dbus_message_unref (reply);
+-
+- while (dbus_connection_dispatch(dbus_connection) == DBUS_DISPATCH_DATA_REMAINS) ;
+-
+- return TQString();
+-}
+-
+-TQString HALBackend::undecrypt(const TQString &_udi)
+-{
+- const Medium* medium = m_mediaList.findById(_udi);
+- if (!medium)
+- return i18n("No such medium: %1").arg(_udi);
+-
+- if (!medium->isEncrypted() || medium->clearDeviceUdi().isNull())
+- return TQString();
+-
+- const char *udi = medium->id().latin1();
+- DBusMessage *msg = NULL;
+- DBusMessage *reply = NULL;
+- DBusError error;
+-
+- kdDebug() << "Tear down " << udi << "\n" <<endl;
+-
+- msg = dbus_message_new_method_call ("org.freedesktop.Hal", udi,
+- "org.freedesktop.Hal.Device.Volume.Crypto",
+- "Teardown");
+- if (msg == NULL) {
+- kdDebug() << "teardown failed for " << udi << ": could not create dbus message\n";
+- return i18n("Internal Error");
+- }
+-
+- if (!dbus_message_append_args (msg, DBUS_TYPE_INVALID)) {
+- kdDebug() << "teardown failed for " << udi << ": could not append args to dbus message\n";
+- dbus_message_unref (msg);
+- return i18n("Internal Error");
+- }
+-
+- dbus_error_init (&error);
+- if (!(reply = dbus_connection_send_with_reply_and_block (dbus_connection, msg, -1, &error)) ||
+- dbus_error_is_set (&error))
+- {
+- TQString qerror = i18n("Internal Error");
+- kdDebug() << "teardown failed for " << udi << ": " << error.name << " " << error.message << endl;
+- dbus_error_free (&error);
+- dbus_message_unref (msg);
+- while (dbus_connection_dispatch(dbus_connection) == DBUS_DISPATCH_DATA_REMAINS) ;
+- return qerror;
+- }
+-
+- dbus_message_unref (msg);
+- dbus_message_unref (reply);
+-
+- ResetProperties(udi);
+-
+- while (dbus_connection_dispatch(dbus_connection) == DBUS_DISPATCH_DATA_REMAINS) ;
+-
+- return TQString();
+-}
+-
+ #include "halbackend.moc"
+--- kdebase/kioslave/media/mediamanager/halbackend.h.hal04 2012-09-08 14:15:10.324373357 -0400
++++ kdebase/kioslave/media/mediamanager/halbackend.h 2012-09-08 14:27:34.564678553 -0400
+@@ -85,8 +85,6 @@
+ TQString mount(const TQString &id);
+ TQString mount(const Medium *medium);
+ TQString unmount(const TQString &id);
+- TQString decrypt(const TQString &id, const TQString &password);
+- TQString undecrypt(const TQString &id);
+
+ private:
+ /**
+@@ -152,6 +150,13 @@
+
+ /* Hal call-backs -- from gvm*/
+ public:
++ /** Invoked by libhal for integration with our mainloop.
++ *
++ * @param ctx LibHal context
++ * @param dbus_connection D-BUS connection to integrate
++ */
++ static void hal_main_loop_integration(LibHalContext *ctx, DBusConnection *dbus_connection);
++
+ /** Invoked when a device is added to the Global Device List.
+ *
+ * @param ctx LibHal context
+@@ -184,7 +189,7 @@
+ */
+ static void hal_device_condition(LibHalContext *ctx, const char *udi,
+ const char *condition_name,
+- const char* message
++ DBusMessage* message
+ );
+
+ TQStringList getHALmountoptions(TQString udi);
+@@ -196,9 +201,14 @@
+ LibHalContext* m_halContext;
+
+ /**
++ * Structure defining the hal callback function for devices events
++ */
++ LibHalFunctions m_halFunctions;
++
++ /**
+ * libhal-storage HAL policy, e.g. for icon names
+ */
+- LibHalStoragePolicy* m_halStoragePolicy;
++ HalStoragePolicy* m_halStoragePolicy;
+
+ /**
+ * The DBus-Qt bindings connection for mainloop integration
diff --git a/redhat/kdebase/kdebase-3.5.13.1-fix_displayconfig_icon.patch b/redhat/kdebase/kdebase-3.5.13.1-fix_displayconfig_icon.patch
new file mode 100644
index 000000000..529824f7f
--- /dev/null
+++ b/redhat/kdebase/kdebase-3.5.13.1-fix_displayconfig_icon.patch
@@ -0,0 +1,20 @@
+--- kdebase-3.5.13.1/kcontrol/displayconfig/displayconfig.desktop.ORI 2012-10-04 23:36:14.085070870 +0200
++++ kdebase-3.5.13.1/kcontrol/displayconfig/displayconfig.desktop 2012-10-04 23:36:23.449879298 +0200
+@@ -3,7 +3,7 @@
+ Comment=Configure display
+ Comment[en_US]=Configure display
+ DocPath=kcontrol/displayconfig.html
+-Exec[$e]=kcmshell displayconfig
++Exec=kcmshell displayconfig
+ GenericName=
+ GenericName[en_US]=
+ Icon=background
+@@ -12,7 +12,7 @@
+ Name=Monitor & Display
+ Name[en_US]=Monitor & Display
+ NoDisplay=false
+-Path[$e]=
++Path=
+ StartupNotify=true
+ Terminal=false
+ TerminalOptions=
diff --git a/redhat/kdebase/kdebase-bp126-553923b2.diff b/redhat/kdebase/kdebase-bp126-553923b2.diff
new file mode 100644
index 000000000..62a4e20b7
--- /dev/null
+++ b/redhat/kdebase/kdebase-bp126-553923b2.diff
@@ -0,0 +1,135 @@
+commit 553923b25dc41e2c17ba9038eb225cd3bb9b1770
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1348270079 -0500
+
+ Forcibly prevent transient override redirect windows from showing up over the lock screen
+ This closes Bug 1079
+
+diff --git a/kdesktop/lock/lockdlg.cc b/kdesktop/lock/lockdlg.cc
+index 236bf8a..005ac99 100644
+--- a/kdesktop/lock/lockdlg.cc
++++ b/kdesktop/lock/lockdlg.cc
+@@ -573,9 +573,19 @@ void PasswordDlg::gplugActivity()
+
+ void PasswordDlg::gplugMsgBox( TQMessageBox::Icon type, const TQString &text )
+ {
+- TQDialog dialog( this, 0, true, (WFlags)WX11BypassWM );
++ TQDialog dialog( this, 0, true, (trinity_desktop_lock_use_system_modal_dialogs?((WFlags)WStyle_StaysOnTop):((WFlags)WX11BypassWM)) );
++ if (trinity_desktop_lock_use_system_modal_dialogs) {
++ // Signal that we do not want any window controls to be shown at all
++ Atom kde_wm_system_modal_notification;
++ kde_wm_system_modal_notification = XInternAtom(qt_xdisplay(), "_KDE_WM_MODAL_SYS_NOTIFICATION", False);
++ XChangeProperty(qt_xdisplay(), dialog.winId(), kde_wm_system_modal_notification, XA_INTEGER, 32, PropModeReplace, (unsigned char *) "TRUE", 1L);
++ }
++ dialog.setCaption(i18n("Authentication Subsystem Notice"));
+ TQFrame *winFrame = new TQFrame( &dialog );
+- winFrame->setFrameStyle( TQFrame::WinPanel | TQFrame::Raised );
++ if (trinity_desktop_lock_use_system_modal_dialogs)
++ winFrame->setFrameStyle( TQFrame::NoFrame );
++ else
++ winFrame->setFrameStyle( TQFrame::WinPanel | TQFrame::Raised );
+ winFrame->setLineWidth( 2 );
+ TQVBoxLayout *vbox = new TQVBoxLayout( &dialog );
+ vbox->addWidget( winFrame );
+diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc
+index 2ce7507..5265bc6 100644
+--- a/kdesktop/lock/lockprocess.cc
++++ b/kdesktop/lock/lockprocess.cc
+@@ -960,6 +960,27 @@ void LockProcess::createSaverWindow()
+
+ setGeometry(0, 0, mRootWidth, mRootHeight);
+
++ // HACK
++ // Close all tooltips and notification windows
++ {
++ Window rootWindow = RootWindow(x11Display(), x11Screen());
++ Window parent;
++ Window* children = NULL;
++ unsigned int noOfChildren = 0;
++ XWindowAttributes childAttr;
++ Window childTransient;
++
++ if (XQueryTree(x11Display(), rootWindow, &rootWindow, &parent, &children, &noOfChildren) && noOfChildren>0 ) {
++ for (unsigned int i=0; i<noOfChildren; i++) {
++ if (XGetWindowAttributes(x11Display(), children[i], &childAttr) && XGetTransientForHint(x11Display(), children[i], &childTransient)) {
++ if ((childAttr.map_state == IsViewable) && (childAttr.override_redirect) && (childTransient)) {
++ XUnmapWindow(x11Display(), children[i]);
++ }
++ }
++ }
++ }
++ }
++
+ kdDebug(1204) << "Saver window Id: " << winId() << endl;
+ }
+
+@@ -2162,9 +2183,19 @@ void LockProcess::unlockXF86()
+
+ void LockProcess::msgBox( TQMessageBox::Icon type, const TQString &txt )
+ {
+- TQDialog box( 0, "messagebox", true, (WFlags)WX11BypassWM );
++ TQDialog box( 0, "messagebox", true, (trinity_desktop_lock_use_system_modal_dialogs?((WFlags)WStyle_StaysOnTop):((WFlags)WX11BypassWM)) );
++ if (trinity_desktop_lock_use_system_modal_dialogs) {
++ // Signal that we do not want any window controls to be shown at all
++ Atom kde_wm_system_modal_notification;
++ kde_wm_system_modal_notification = XInternAtom(qt_xdisplay(), "_KDE_WM_MODAL_SYS_NOTIFICATION", False);
++ XChangeProperty(qt_xdisplay(), box.winId(), kde_wm_system_modal_notification, XA_INTEGER, 32, PropModeReplace, (unsigned char *) "TRUE", 1L);
++ }
++ box.setCaption(i18n("Authentication Subsystem Notice"));
+ TQFrame *winFrame = new TQFrame( &box );
+- winFrame->setFrameStyle( TQFrame::WinPanel | TQFrame::Raised );
++ if (trinity_desktop_lock_use_system_modal_dialogs)
++ winFrame->setFrameStyle( TQFrame::NoFrame );
++ else
++ winFrame->setFrameStyle( TQFrame::WinPanel | TQFrame::Raised );
+ winFrame->setLineWidth( 2 );
+ TQLabel *label1 = new TQLabel( winFrame );
+ label1->setPixmap( TQMessageBox::standardIcon( type ) );
+@@ -2264,8 +2295,10 @@ void LockProcess::windowAdded( WId w, bool managed )
+ int y = XDisplayHeight( qt_xdisplay(), qt_xscreen()) - attr_geom.height;
+ if( managed ) {
+ XSetWindowAttributes attr;
+- attr.override_redirect = True;
+- XChangeWindowAttributes( qt_xdisplay(), w, CWOverrideRedirect, &attr );
++ if (!trinity_desktop_lock_use_system_modal_dialogs) {
++ attr.override_redirect = True;
++ XChangeWindowAttributes( qt_xdisplay(), w, CWOverrideRedirect, &attr );
++ }
+ XReparentWindow( qt_xdisplay(), w, qt_xrootwin(), x, y );
+ XMapWindow( qt_xdisplay(), w );
+ }
+diff --git a/kdesktop/lock/main.cc b/kdesktop/lock/main.cc
+index 56b4b5f..e74d9f9 100644
+--- a/kdesktop/lock/main.cc
++++ b/kdesktop/lock/main.cc
+@@ -76,6 +76,30 @@ bool MyApp::x11EventFilter( XEvent *ev )
+ emit activity();
+ }
+ }
++ else if (ev->type == MapNotify) {
++ // HACK
++ // Close all tooltips and notification windows
++ XMapEvent map_event = ev->xmap;
++ XWindowAttributes childAttr;
++ Window childTransient;
++ if (XGetWindowAttributes(map_event.display, map_event.window, &childAttr) && XGetTransientForHint(map_event.display, map_event.window, &childTransient)) {
++ if((childAttr.map_state == IsViewable) && (childAttr.override_redirect) && (childTransient)) {
++ XUnmapWindow(map_event.display, map_event.window);
++ }
++ }
++ }
++ else if (ev->type == CreateNotify) {
++ // HACK
++ // Close all tooltips and notification windows
++ XCreateWindowEvent create_event = ev->xcreatewindow;
++ XWindowAttributes childAttr;
++ Window childTransient;
++ if (XGetWindowAttributes(create_event.display, create_event.window, &childAttr) && XGetTransientForHint(create_event.display, create_event.window, &childTransient)) {
++ if ((childAttr.override_redirect) && (childTransient)) {
++ XDestroyWindow(create_event.display, create_event.window);
++ }
++ }
++ }
+ return KApplication::x11EventFilter( ev );
+ }
+
diff --git a/redhat/kdebase/kdebase-bp127-57f5c069.diff b/redhat/kdebase/kdebase-bp127-57f5c069.diff
new file mode 100644
index 000000000..da6a95d22
--- /dev/null
+++ b/redhat/kdebase/kdebase-bp127-57f5c069.diff
@@ -0,0 +1,159 @@
+commit 57f5c0698d49f0a0a7a55c75404f5b9ded910002
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1348355175 -0500
+
+ Lower override redirect windows instead of unmapping them on lock start
+ Restore lowered windows on lock exit
+ This provides a better solution to Bug 1079
+
+diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc
+index 5265bc6..7191346 100644
+--- a/kdesktop/lock/lockprocess.cc
++++ b/kdesktop/lock/lockprocess.cc
+@@ -138,6 +138,8 @@ extern bool trinity_desktop_lock_delay_screensaver_start;
+ extern bool trinity_desktop_lock_use_sak;
+ extern bool trinity_desktop_lock_forced;
+
++extern TQXLibWindowList trinity_desktop_lock_hidden_window_list;
++
+ bool trinity_desktop_lock_autohide_lockdlg = TRUE;
+ bool trinity_desktop_lock_closing_windows = FALSE;
+ bool trinity_desktop_lock_in_sec_dlg = FALSE;
+@@ -961,7 +963,7 @@ void LockProcess::createSaverWindow()
+ setGeometry(0, 0, mRootWidth, mRootHeight);
+
+ // HACK
+- // Close all tooltips and notification windows
++ // Hide all tooltips and notification windows
+ {
+ Window rootWindow = RootWindow(x11Display(), x11Screen());
+ Window parent;
+@@ -974,7 +976,10 @@ void LockProcess::createSaverWindow()
+ for (unsigned int i=0; i<noOfChildren; i++) {
+ if (XGetWindowAttributes(x11Display(), children[i], &childAttr) && XGetTransientForHint(x11Display(), children[i], &childTransient)) {
+ if ((childAttr.map_state == IsViewable) && (childAttr.override_redirect) && (childTransient)) {
+- XUnmapWindow(x11Display(), children[i]);
++ if (!trinity_desktop_lock_hidden_window_list.contains(children[i])) {
++ trinity_desktop_lock_hidden_window_list.append(children[i]);
++ }
++ XLowerWindow(x11Display(), children[i]);
+ }
+ }
+ }
+diff --git a/kdesktop/lock/lockprocess.h b/kdesktop/lock/lockprocess.h
+index 0dacc46..7fd4236 100644
+--- a/kdesktop/lock/lockprocess.h
++++ b/kdesktop/lock/lockprocess.h
+@@ -38,6 +38,8 @@ struct GreeterPluginHandle {
+ #define FIFO_FILE_OUT "/tmp/ksocket-global/kdesktoplockcontrol_out"
+ #define PIPE_CHECK_INTERVAL 50
+
++typedef TQValueList<Window> TQXLibWindowList;
++
+ //===========================================================================
+ //
+ // Screen saver handling process. Handles screensaver window,
+diff --git a/kdesktop/lock/main.cc b/kdesktop/lock/main.cc
+index e74d9f9..a95747e 100644
+--- a/kdesktop/lock/main.cc
++++ b/kdesktop/lock/main.cc
+@@ -47,6 +47,8 @@ else { \
+ } \
+ tdmconfig->setGroup("X-*-Greeter");
+
++TQXLibWindowList trinity_desktop_lock_hidden_window_list;
++
+ // [FIXME] Add GUI configuration checkboxes for these three settings (see kdesktoprc [ScreenSaver] UseUnmanagedLockWindows, DelaySaverStart, and UseTDESAK)
+ bool trinity_desktop_lock_use_system_modal_dialogs = FALSE;
+ bool trinity_desktop_lock_delay_screensaver_start = FALSE;
+@@ -78,16 +80,43 @@ bool MyApp::x11EventFilter( XEvent *ev )
+ }
+ else if (ev->type == MapNotify) {
+ // HACK
+- // Close all tooltips and notification windows
++ // Hide all tooltips and notification windows
+ XMapEvent map_event = ev->xmap;
+ XWindowAttributes childAttr;
+ Window childTransient;
+ if (XGetWindowAttributes(map_event.display, map_event.window, &childAttr) && XGetTransientForHint(map_event.display, map_event.window, &childTransient)) {
+ if((childAttr.map_state == IsViewable) && (childAttr.override_redirect) && (childTransient)) {
+- XUnmapWindow(map_event.display, map_event.window);
++ if (!trinity_desktop_lock_hidden_window_list.contains(map_event.window)) {
++ trinity_desktop_lock_hidden_window_list.append(map_event.window);
++ }
++ XLowerWindow(map_event.display, map_event.window);
+ }
+ }
+ }
++ else if (ev->type == VisibilityNotify) {
++ // HACK
++ // Hide all tooltips and notification windows
++ XVisibilityEvent visibility_event = ev->xvisibility;
++ XWindowAttributes childAttr;
++ Window childTransient;
++ if ((visibility_event.state == VisibilityUnobscured) || (visibility_event.state == VisibilityPartiallyObscured)) {
++ if (XGetWindowAttributes(visibility_event.display, visibility_event.window, &childAttr) && XGetTransientForHint(visibility_event.display, visibility_event.window, &childTransient)) {
++ if((childAttr.map_state == IsViewable) && (childAttr.override_redirect) && (childTransient)) {
++ if (!trinity_desktop_lock_hidden_window_list.contains(visibility_event.window)) {
++ trinity_desktop_lock_hidden_window_list.append(visibility_event.window);
++ }
++ XLowerWindow(visibility_event.display, visibility_event.window);
++ }
++ }
++ }
++ }
++ else if (ev->type == DestroyNotify) {
++ XDestroyWindowEvent destroy_event = ev->xdestroywindow;
++ if (trinity_desktop_lock_hidden_window_list.contains(destroy_event.window)) {
++ trinity_desktop_lock_hidden_window_list.remove(destroy_event.window);
++ }
++ }
++#if 0
+ else if (ev->type == CreateNotify) {
+ // HACK
+ // Close all tooltips and notification windows
+@@ -100,6 +129,7 @@ bool MyApp::x11EventFilter( XEvent *ev )
+ }
+ }
+ }
++#endif
+ return KApplication::x11EventFilter( ev );
+ }
+
+@@ -114,6 +144,14 @@ static KCmdLineOptions options[] =
+ KCmdLineLastOption
+ };
+
++void restore_hidden_override_redirect_windows() {
++ TQXLibWindowList::iterator it;
++ for (it = trinity_desktop_lock_hidden_window_list.begin(); it != trinity_desktop_lock_hidden_window_list.end(); ++it) {
++ Window win = *it;
++ XRaiseWindow(qt_xdisplay(), win);
++ }
++}
++
+ static void sigusr1_handler(int)
+ {
+ signalled_forcelock = TRUE;
+@@ -356,7 +394,10 @@ int main( int argc, char **argv )
+ }
+
+ if (in_internal_mode == FALSE) {
+- return app.exec();
++ trinity_desktop_lock_hidden_window_list.clear();
++ int ret = app.exec();
++ restore_hidden_override_redirect_windows();
++ return ret;
+ }
+ else {
+ pid_t kdesktop_pid = atoi(args->getOption( "internal" ));
+@@ -364,7 +405,9 @@ int main( int argc, char **argv )
+ // The controlling kdesktop process probably died. Commit suicide...
+ return 12;
+ }
++ trinity_desktop_lock_hidden_window_list.clear();
+ app.exec();
++ restore_hidden_override_redirect_windows();
+ if (kill(kdesktop_pid, SIGUSR1) < 0) {
+ // The controlling kdesktop process probably died. Commit suicide...
+ return 12;
diff --git a/redhat/kdebase/kdebase-bp128-1f33dc8f.diff b/redhat/kdebase/kdebase-bp128-1f33dc8f.diff
new file mode 100644
index 000000000..e552a069b
--- /dev/null
+++ b/redhat/kdebase/kdebase-bp128-1f33dc8f.diff
@@ -0,0 +1,58 @@
+commit 1f33dc8fd2fc14c2abb74be4e27ef08fdda784d6
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1348374670 -0500
+
+ Attempt to minimize the time in which new notifications are displayed before being hidden
+
+diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc
+index 7191346..db92c00 100644
+--- a/kdesktop/lock/lockprocess.cc
++++ b/kdesktop/lock/lockprocess.cc
+@@ -980,6 +980,7 @@ void LockProcess::createSaverWindow()
+ trinity_desktop_lock_hidden_window_list.append(children[i]);
+ }
+ XLowerWindow(x11Display(), children[i]);
++ XFlush(x11Display());
+ }
+ }
+ }
+diff --git a/kdesktop/lock/main.cc b/kdesktop/lock/main.cc
+index a95747e..7235776 100644
+--- a/kdesktop/lock/main.cc
++++ b/kdesktop/lock/main.cc
+@@ -90,6 +90,7 @@ bool MyApp::x11EventFilter( XEvent *ev )
+ trinity_desktop_lock_hidden_window_list.append(map_event.window);
+ }
+ XLowerWindow(map_event.display, map_event.window);
++ XFlush(map_event.display);
+ }
+ }
+ }
+@@ -106,10 +107,27 @@ bool MyApp::x11EventFilter( XEvent *ev )
+ trinity_desktop_lock_hidden_window_list.append(visibility_event.window);
+ }
+ XLowerWindow(visibility_event.display, visibility_event.window);
++ XFlush(visibility_event.display);
+ }
+ }
+ }
+ }
++ else if (ev->type == CreateNotify) {
++ // HACK
++ // Close all tooltips and notification windows
++ XCreateWindowEvent create_event = ev->xcreatewindow;
++ XWindowAttributes childAttr;
++ Window childTransient;
++ if (XGetWindowAttributes(create_event.display, create_event.window, &childAttr) && XGetTransientForHint(create_event.display, create_event.window, &childTransient)) {
++ if ((childAttr.override_redirect) && (childTransient)) {
++ if (!trinity_desktop_lock_hidden_window_list.contains(create_event.window)) {
++ trinity_desktop_lock_hidden_window_list.append(create_event.window);
++ }
++ XLowerWindow(create_event.display, create_event.window);
++ XFlush(create_event.display);
++ }
++ }
++ }
+ else if (ev->type == DestroyNotify) {
+ XDestroyWindowEvent destroy_event = ev->xdestroywindow;
+ if (trinity_desktop_lock_hidden_window_list.contains(destroy_event.window)) {
diff --git a/redhat/kdebase/pamd.kcheckpass-trinity.el4 b/redhat/kdebase/pamd.kcheckpass-trinity.el4
new file mode 100644
index 000000000..48e0276a6
--- /dev/null
+++ b/redhat/kdebase/pamd.kcheckpass-trinity.el4
@@ -0,0 +1,11 @@
+#%PAM-1.0
+auth required pam_stack.so service=system-auth
+auth required pam_nologin.so
+auth sufficient pam_timestamp.so
+account required pam_stack.so service=system-auth
+password required pam_stack.so service=system-auth
+session required pam_stack.so service=system-auth
+session required pam_loginuid.so
+session optional pam_timestamp.so
+session optional pam_selinux.so
+session optional pam_console.so
diff --git a/redhat/kdebase/pamd.kcheckpass-trinity.opensuse1220 b/redhat/kdebase/pamd.kcheckpass-trinity.opensuse1220
new file mode 100644
index 000000000..c6a7c9c90
--- /dev/null
+++ b/redhat/kdebase/pamd.kcheckpass-trinity.opensuse1220
@@ -0,0 +1,5 @@
+#%PAM-1.0
+auth include common-auth
+account include common-account
+password include common-password
+session include common-session
diff --git a/redhat/kdebase/pamd.kdm-trinity-np.el4 b/redhat/kdebase/pamd.kdm-trinity-np.el4
new file mode 100644
index 000000000..687312da5
--- /dev/null
+++ b/redhat/kdebase/pamd.kdm-trinity-np.el4
@@ -0,0 +1,9 @@
+#%PAM-1.0
+auth required pam_env.so
+auth required pam_nologin.so
+auth required pam_permit.so
+account required pam_stack.so service=system-auth
+password required pam_stack.so service=system-auth
+session required pam_stack.so service=system-auth
+session required pam_loginuid.so
+session optional pam_console.so
diff --git a/redhat/kdebase/pamd.kdm-trinity.el4 b/redhat/kdebase/pamd.kdm-trinity.el4
new file mode 100644
index 000000000..48e0276a6
--- /dev/null
+++ b/redhat/kdebase/pamd.kdm-trinity.el4
@@ -0,0 +1,11 @@
+#%PAM-1.0
+auth required pam_stack.so service=system-auth
+auth required pam_nologin.so
+auth sufficient pam_timestamp.so
+account required pam_stack.so service=system-auth
+password required pam_stack.so service=system-auth
+session required pam_stack.so service=system-auth
+session required pam_loginuid.so
+session optional pam_timestamp.so
+session optional pam_selinux.so
+session optional pam_console.so
diff --git a/redhat/kdebase/pamd.kscreensaver-trinity.el4 b/redhat/kdebase/pamd.kscreensaver-trinity.el4
new file mode 100644
index 000000000..48e0276a6
--- /dev/null
+++ b/redhat/kdebase/pamd.kscreensaver-trinity.el4
@@ -0,0 +1,11 @@
+#%PAM-1.0
+auth required pam_stack.so service=system-auth
+auth required pam_nologin.so
+auth sufficient pam_timestamp.so
+account required pam_stack.so service=system-auth
+password required pam_stack.so service=system-auth
+session required pam_stack.so service=system-auth
+session required pam_loginuid.so
+session optional pam_timestamp.so
+session optional pam_selinux.so
+session optional pam_console.so
diff --git a/redhat/kdebase/trinity-kdebase-3.5.13-sru.spec b/redhat/kdebase/trinity-kdebase-3.5.13.1.spec
index df7b387e8..4a983bba9 100644
--- a/redhat/kdebase/trinity-kdebase-3.5.13-sru.spec
+++ b/redhat/kdebase/trinity-kdebase-3.5.13.1.spec
@@ -11,20 +11,20 @@
%define tde_libdir %{tde_prefix}/%{_lib}
%define tde_tdeappdir %{tde_datadir}/applications/kde
-%define tde_tdedocdir %{tde_docdir}/kde
-%define tde_tdeincludedir %{tde_includedir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
# Older RHEL/Fedora versions use packages named "qt", "qt-devel", ..
# whereas newer versions use "qt3", "qt3-devel" ...
-%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8 || 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define _qt_suffix 3
%endif
Name: trinity-tdebase
Version: 3.5.13.1
-Release: 0%{?dist}%{?_variant}
+Release: 1%{?dist}%{?_variant}
License: GPL
Summary: Trinity Base Programs
Group: User Interface/Desktops
@@ -45,23 +45,25 @@ URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source0: kdebase-3.5.13.tar.gz
+Source0: kdebase-3.5.13.1.tar.gz
# Wrapper script to prevent Plasma launch at Trinity Startup
Source1: plasma-desktop
# Pam configuration files for RHEL / Fedora
+%if 0%{?suse_version}
+Source4: pamd.kcheckpass-trinity.opensuse%{?suse_version}
+%else
Source2: pamd.kdm-trinity%{?dist}
Source3: pamd.kdm-trinity-np%{?dist}
Source4: pamd.kcheckpass-trinity%{?dist}
Source5: pamd.kscreensaver-trinity%{?dist}
+%endif
-# [kdebase] Switch to v3.5.13-sru
-Patch0: kdebase-3.5.13-sru-20120806.patch
-Patch1: cmake-3.5.13-sru-20120807.patch
-Patch2: tdebase-3.5.13.1-missing_ldflags.patch
# TDE 3.5.13 patches
+## [kdebase] Fix syntax error in icon
+Patch1: kdebase-3.5.13.1-fix_displayconfig_icon.patch
## [kdebase/kdesktop] Modifies 'open terminal here' on desktop [RHEL/Fedora]
Patch11: kdebase-3.5.12-desktop-openterminalhere.patch
## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xinit/Xsession' [RHEL/Fedora]
@@ -70,25 +72,25 @@ Patch13: kdebase-3.5.13-genkdmconf_Xsession_location.patch
Patch15: kdebase-3.5.13.1-startkde_icon.patch
## [kdebase/kioslave/man] Fix kio_man for older distros without 'man-db' [Bug #714]
Patch21: kdebase-3.5.13-kio_man_utf8.patch
-## [kdebase/kpersonalizer] Repair KPersonalizer settings to match system defaults [Bug #759]
-Patch26: kdebase-3.5.13-kpersonalizer_default_doubleclick.patch
## [kdebase/kdm/kfrontend] Allows to hide KDM menu button [RHEL/Fedora]
Patch30: kdebase-3.5.12-kdm_hide_menu_button.patch
-## [kdebase/kicker/applets] Adds option to disable desktop switch on mouse wheel cycling [Bug #908]
-Patch36: kdebase-3.5.13-option_to_disable_scroll_desktop.patch
-## [kdebase/kicker] Ensures that 'pagersettings.kcfg' is installed [Bug #908, Commit bd9c1479]
-Patch44: kdebase-3.5.13-ensure_pagersettings_is_installed.patch
-## [tdebase] Add the ability to reorder documents in kate [Commit #46a657f7]
-Patch55: kdebase-3.5.13-add_reorder_documents_in_kate.patch
-## [tdebase] Add drag and drop to kate file list in manual mode [Commit #b0fa10df]
-Patch56: kdebase-3.5.13-add_drag_drop_to_kate_file_list.patch
-## [tdebase] Disable keyboard shortcuts for file location moving, as they did not work properly
-## and have very little practical use [Commit #9a948c1a]
-Patch57: kdebase-3.5.13-disable_keyboard_shortcuts_for_file_location_moving.patch
-## [tdebase] Update default konqueror maximum image preview size to 10MB. [Commit #03e19305]
-Patch60: kdebase-3.5.13-update_default_konq_max_image_prev_size.patch
-
-### FEDORA / RHEL distribution-specific settings ###
+
+### Patches for RHEL4 (should not go upstream)
+
+## [tdebase] Fix build on RHEL4, detect old libraries without pkg file
+Patch201: kdebase-3.5.13-fix_lib_detection.patch
+## [tdebase] Do not build against DBUS-TQT, only DBUS and DBUS-QT
+Patch202: kdebase-3.5.13-build_without_dbustqt.patch
+## [tdebase] Do not build against ConsoleKit
+Patch203: kdebase-3.5.13-build_without_consolekit.patch
+## [tdebase] Add WITH_COMPOSITE option to CMakeLists.txt
+Patch204: kdebase-3.5.13-add_disable_composite_option.patch
+## [tdebase] Downgrade halbackend to support Hal 0.4
+Patch205: kdebase-3.5.13-support_hal_04.patch
+## [tdebase] Other(s) FTBFS ...
+Patch206: kdebase-3.5.13-fix_rhel4_compilation.patch
+
+### Distribution-specific settings ###
# Fedora 15 Theme: "Lovelock"
%if 0%{?fedora} == 15
@@ -123,6 +125,18 @@ Requires: fedora-release-notes
%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html
%endif
+# RHEL 4 Theme
+%if 0%{?rhel} == 4
+Requires: desktop-backgrounds-basic
+%define tde_bg /usr/share/backgrounds/images/default.png
+Requires: redhat-logos
+%define tde_starticon /usr/share/pixmaps/redhat/rpmlogo-64.xpm
+
+Requires: indexhtml
+%define tde_aboutlabel Enterprise Linux 4
+%define tde_aboutpage /usr/share/doc/HTML/index.html
+%endif
+
# RHEL 5 Theme
%if 0%{?rhel} == 5
Requires: desktop-backgrounds-basic
@@ -167,68 +181,169 @@ Requires: indexhtml
%define tde_aboutpage /usr/share/mdk/about/index.html
%endif
+# OpenSuse 12.2 Theme
+%if "%{?suse_version}" == "1220"
+Requires: wallpaper-branding
+%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
+Requires: hicolor-icon-theme-branding
+%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
+
+Requires: opensuse-manuals_en
+%define tde_aboutlabel OpenSuse 12.2
+%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html
+%endif
+
BuildRequires: cmake >= 2.8
-BuildRequires: tqtinterface-devel
-BuildRequires: trinity-arts-devel
-BuildRequires: trinity-kdelibs-devel
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
BuildRequires: gcc-c++ make
BuildRequires: qt%{?_qt_suffix}-devel
BuildRequires: openssl-devel
-BuildRequires: imake
-BuildRequires: OpenEXR-devel
-BuildRequires: libsmbclient-devel
-BuildRequires: dbus-devel
-BuildRequires: dbus-tqt-devel
-BuildRequires: lm_sensors-devel
-BuildRequires: libfontenc-devel
-BuildRequires: hal-devel
-BuildRequires: audiofile-devel alsa-lib-devel
+BuildRequires: audiofile-devel
+BuildRequires: alsa-lib-devel
BuildRequires: libraw1394-devel
-BuildRequires: openldap-devel
BuildRequires: libvorbis-devel
BuildRequires: pam-devel
-BuildRequires: libxkbfile-devel
BuildRequires: libusb-devel
BuildRequires: esound-devel
BuildRequires: glib2-devel
-BuildRequires: nas-devel
BuildRequires: pcre-devel
-BuildRequires: avahi-tqt-devel
-%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion}
+# OPENLDAP support
+%if 0%{?suse_version}
+BuildRequires: openldap2-devel
+%else
+BuildRequires: openldap-devel
+%endif
+
+# SENSORS support
+# Disabled on OpenSuse
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel}
+BuildRequires: lm_sensors-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libsensors4-devel
+%endif
+
+# TSAK support (requires libudev-devel)
+# On RHEL5, udev is built statically, so TSAK cannot build.
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
+%define with_tsak 1
BuildRequires: libudev-devel
%endif
+# XRANDR support
+# On RHEL5, xrandr library is too old.
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
+%define with_xrandr 1
+%endif
+
+# HAL support
+# On RHEL4, we do not use HAL (too old)
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
+%define with_hal 1
+BuildRequires: hal-devel >= 0.4.8
+%endif
+
+# OPENEXR support
+# Disabled on RHEL4
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
+%define with_exr 1
+BuildRequires: OpenEXR-devel
+%endif
+
+# XSCREENSAVER support
+# Disabled on RHEL4
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
+%define with_xscreensaver 1
+%if 0%{?rhel} == 5
+BuildRequires: xorg-x11-proto-devel
+BuildRequires: gnome-screensaver
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
+%endif
+%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?suse_version}
+BuildRequires: libXScrnSaver-devel
+%endif
+%endif
+
+# AVAHI support
+# Disabled on RHEL4 and RHEL5
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
+BuildRequires: trinity-avahi-tqt-devel
+Requires: trinity-avahi-tqt
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}avahi-client-devel
+Requires: %{_lib}avahi-client3
+%else
+BuildRequires: avahi-devel
+Requires: avahi
+%endif
+%endif
+
+# NAS support
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: nas-devel
+%endif
+
+# DBUS support
+# TQT bindings not available for RHEL4
+%if 0%{?rhel} == 4
+# Dbus bindings were rebuilt with Qt support
+BuildRequires: dbus-devel >= 0.22-12.EL.9p1
+Requires: dbus-qt
+%else
+BuildRequires: trinity-dbus-tqt-devel
+Requires: trinity-dbus-tqt >= %{version}
+%endif
+
%if 0%{?fedora} >= 17
BuildRequires: perl-Digest-MD5
%endif
+# JACK support
%if 0%{?mgaversion} || 0%{?mdkversion}
-BuildRequires: %{_lib}avahi-client-devel
BuildRequires: %{_lib}jack-devel
+%endif
+%if 0%{?fedora} || 0%{?rhel} >= 5
+BuildRequires: jack-audio-connection-kit-devel
+%endif
+
+# X11 stuff ...
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+BuildRequires: samba-common
+%else
+BuildRequires: imake
+BuildRequires: libxkbfile-devel
+BuildRequires: libsmbclient-devel
+BuildRequires: libfontenc-devel
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel
BuildRequires: %{_lib}xdamage-devel
BuildRequires: %{_lib}xdmcp%{?mgaversion:6}-devel
BuildRequires: %{_lib}xtst-devel
BuildRequires: x11-font-util
BuildRequires: x11-proto-devel
-BuildRequires: %{_lib}xscrnsaver%{?mgaversion:1}-devel
-Requires: %{_lib}avahi-client3
%else
-BuildRequires: avahi-devel
-BuildRequires: jack-audio-connection-kit-devel
BuildRequires: libXcomposite-devel
BuildRequires: libXdamage-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXtst-devel
-BuildRequires: xorg-x11-font-utils
BuildRequires: xorg-x11-proto-devel
-%if 0%{?rhel} == 5
-BuildRequires: gnome-screensaver
+
+%if 0%{?suse_version}
+BuildRequires: font-util
+BuildRequires: bdftopcf
%else
-BuildRequires: xscreensaver
+BuildRequires: xorg-x11-font-utils
%endif
-Requires: avahi-qt3
+
+%endif
+
%endif
# tdebase is a metapackage that installs all sub-packages
@@ -264,13 +379,12 @@ Requires: trinity-twin = %{version}-%{release}
Requires: trinity-libkonq = %{version}-%{release}
Requires: %{name}-libtqt3-integration = %{version}-%{release}
-Requires: tqtinterface
-Requires: trinity-arts
-Requires: trinity-kdelibs
+Requires: trinity-tqtinterface >= %{version}
+Requires: trinity-arts >= %{version}
+Requires: trinity-tdelibs >= %{version}
Requires: qt%{?_qt_suffix}
Requires: openssl
-Requires: avahi
-Requires: dbus-tqt
+
# RHEL 6 Configuration files are provided in separate packages
%if 0%{?rhel} || 0%{?fedora}
@@ -280,6 +394,10 @@ Requires: kde-settings-kdm
Requires: redhat-menus
%endif
+%if 0%{?suse_version}
+Requires: desktop-data-openSUSE
+%endif
+
%description
TDE (the Trinity Desktop Environment) is a powerful Open Source graphical
desktop environment for Unix workstations. It combines ease of use,
@@ -301,7 +419,7 @@ web browser, X terminal emulator, and many other programs and components.
Summary: %{summary} - Development files
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: trinity-kdelibs-devel
+Requires: trinity-tdelibs-devel
Requires: %{name}-bin-devel = %{version}-%{release}
Requires: trinity-kate-devel = %{version}-%{release}
@@ -456,6 +574,12 @@ Group: Environment/Libraries
%files -n trinity-libkateinterfaces
%{tde_libdir}/libkateinterfaces.so.*
+%post -n trinity-libkateinterfaces
+/sbin/ldconfig || :
+
+%postun -n trinity-libkateinterfaces
+/sbin/ldconfig || :
+
##########
%package -n trinity-kate
@@ -585,9 +709,12 @@ update-desktop-database %{tde_appdir} 2> /dev/null || :
Summary: control center for TDE
Group: Applications/Utilities
Requires: %{name}-data = %{version}-%{release}
-Requires: hwdata
Requires: usbutils
+%if 0%{?suse_version} == 0
+Requires: hwdata
+%endif
+
%description -n trinity-kcontrol
The TDE Control Center provides you with a centralized and convenient
way to configure all of your TDE settings.
@@ -835,7 +962,7 @@ plugdev group.
%{tde_datadir}/apps/kcmview1394/oui.db
# The following features are not compiled under RHEL 5
-%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
%{tde_bindir}/krandrtray
%{tde_tdelibdir}/kcm_displayconfig.la
%{tde_tdelibdir}/kcm_displayconfig.so
@@ -897,8 +1024,10 @@ TDE applications, particularly those in the TDE base module.
%defattr(-,root,root,-)
%{tde_bindir}/krootbacking
#%{tde_bindir}/tdeinit_phase1
+%if 0%{?with_tsak}
%attr(4511,root,root) %{tde_bindir}/[kt]dmtsak
%{tde_bindir}/tsak
+%endif
%{tde_bindir}/kdebugdialog
%{tde_bindir}/kreadconfig
%{tde_bindir}/kwriteconfig
@@ -965,7 +1094,9 @@ TDE applications, particularly those in the TDE base module.
%{tde_datadir}/services/kded/khotkeys.desktop
%{tde_datadir}/services/kxkb.desktop
%{_sysconfdir}/pam.d/kcheckpass-trinity
+%if 0%{?suse_version} == 0
%{_sysconfdir}/pam.d/kscreensaver-trinity
+%endif
%{tde_tdedocdir}/HTML/en/kdcop/
%{tde_tdedocdir}/HTML/en/kdebugdialog//
%{tde_tdedocdir}/HTML/en/[kt]desu/
@@ -1090,6 +1221,7 @@ needed for a basic TDE desktop installation.
%{tde_datadir}/icons/crystalsvg/*/apps/package_development.png
%{tde_datadir}/icons/crystalsvg/*/apps/package_favourite.png
%{tde_datadir}/icons/crystalsvg/*/apps/package_games.png
+%{tde_datadir}/icons/crystalsvg/*/apps/package_games_kids.png
%{tde_datadir}/icons/crystalsvg/*/apps/package_multimedia.png
%{tde_datadir}/icons/crystalsvg/*/apps/package_network.png
%{tde_datadir}/icons/crystalsvg/*/apps/package.png
@@ -1150,6 +1282,7 @@ needed for a basic TDE desktop installation.
%{tde_datadir}/icons/crystalsvg/scalable/apps/netscape.svgz
%{tde_datadir}/icons/crystalsvg/scalable/apps/openoffice.svgz
%{tde_datadir}/icons/crystalsvg/scalable/apps/package_development.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/apps/package_games_kids.svgz
%{tde_datadir}/icons/crystalsvg/scalable/apps/package_toys.svgz
%{tde_datadir}/icons/crystalsvg/scalable/apps/penguin.svgz
%{tde_datadir}/icons/crystalsvg/scalable/apps/personal.svgz
@@ -1296,7 +1429,7 @@ for f in crystalsvg ; do
done
%if 0%{?mdkversion}
-# Mandriva-specific: we have to choose a background for current distribution variant
+# Mandriva-specific: we have to choose a background for current distribution variant (Free, One, Powerpack, ...)
# First, we read the "product" key in /etc/product.id
eval $(tr "," ";" </etc/product.id) 2>/dev/null
# Then, we create a symbolic link to the corresponding background
@@ -1317,7 +1450,14 @@ Group: Applications/Utilities
Requires: trinity-kdesktop = %{version}-%{release}
Requires: cyrus-sasl
Requires: psmisc
+%if 0%{?with_hal}
+Requires: hal >= 0.4.8
+%endif
+%if 0%{?rhel} == 4 || 0%{?suse_version}
+Requires: cryptsetup
+%else
Requires: cryptsetup-luks
+%endif
Obsoletes: tdebase-kio-plugins < %{version}-%{release}
Provides: tdebase-kio-plugins = %{version}-%{release}
@@ -1340,8 +1480,6 @@ group.
%{tde_tdelibdir}/cursorthumbnail.so
%{tde_tdelibdir}/djvuthumbnail.la
%{tde_tdelibdir}/djvuthumbnail.so
-%{tde_tdelibdir}/exrthumbnail.la
-%{tde_tdelibdir}/exrthumbnail.so
%{tde_tdelibdir}/htmlthumbnail.la
%{tde_tdelibdir}/htmlthumbnail.so
%{tde_tdelibdir}/imagethumbnail.la
@@ -1406,8 +1544,6 @@ group.
%{tde_tdelibdir}/kio_trash.so
%{tde_tdelibdir}/libkmanpart.la
%{tde_tdelibdir}/libkmanpart.so
-%{tde_tdelibdir}/media_propsdlgplugin.la
-%{tde_tdelibdir}/media_propsdlgplugin.so
%{tde_tdelibdir}/textthumbnail.la
%{tde_tdelibdir}/textthumbnail.so
%{tde_tdeappdir}/kcmcgi.desktop
@@ -1432,7 +1568,6 @@ group.
%{tde_datadir}/services/cgi.protocol
%{tde_datadir}/services/cursorthumbnail.desktop
%{tde_datadir}/services/djvuthumbnail.desktop
-%{tde_datadir}/services/exrthumbnail.desktop
%{tde_datadir}/services/finger.protocol
%{tde_datadir}/services/fish.protocol
%{tde_datadir}/services/floppy.protocol
@@ -1452,7 +1587,6 @@ group.
%{tde_datadir}/services/mac.protocol
%{tde_datadir}/services/man.protocol
%{tde_datadir}/services/media.protocol
-%{tde_datadir}/services/media_propsdlgplugin.desktop
%{tde_datadir}/services/nfs.protocol
%{tde_datadir}/services/nxfish.protocol
%{tde_datadir}/services/programs.protocol
@@ -1469,6 +1603,16 @@ group.
%{tde_datadir}/servicetypes/thumbcreator.desktop
%{tde_datadir}/services/kfile_trash.desktop
%{tde_tdedocdir}/HTML/en/kioslave/
+%if 0%{?with_exr}
+%{tde_tdelibdir}/exrthumbnail.la
+%{tde_tdelibdir}/exrthumbnail.so
+%{tde_datadir}/services/exrthumbnail.desktop
+%endif
+%if 0%{?with_hal}
+%{tde_tdelibdir}/media_propsdlgplugin.la
+%{tde_tdelibdir}/media_propsdlgplugin.so
+%{tde_datadir}/services/media_propsdlgplugin.desktop
+%endif
%post kio-plugins
update-desktop-database %{tde_appdir} 2> /dev/null || :
@@ -1592,7 +1736,9 @@ Requires: %{name}-bin = %{version}-%{release}
Requires: %{name}-data = %{version}-%{release}
Requires: trinity-libkonq = %{version}-%{release}
Requires: eject
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
Requires: xdg-utils
+%endif
%description -n trinity-kdesktop
This package contains miscellaneous binaries and files integral to
@@ -1659,9 +1805,13 @@ Requires: %{name}-data = %{version}-%{release}
Requires: pam
# Provides the global Xsession script (/etc/X11/xinit/Xsession or /etc/X11/Xsession)
-%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 4
Requires: xinitrc
-%else
+%endif
+%if 0%{?suse_version}
+Requires: xdm
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora}
Requires: xorg-x11-xinit
%endif
@@ -1705,21 +1855,20 @@ already. Most users won't need this.
%{tde_datadir}/apps/[kt]dm/themes/
%{tde_datadir}/config/[kt]dm/
%{tde_tdedocdir}/HTML/en/[kt]dm/
+%if 0%{?suse_version} == 0
+%{_sysconfdir}/pam.d/kdm-trinity
+%{_sysconfdir}/pam.d/kdm-trinity-np
+%endif
# Distribution specific stuff
-%if 0%{?rhel} || 0%{?fedora}
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%{_usr}/share/xsessions/tde.desktop
%endif
-%{_sysconfdir}/pam.d/kdm-trinity
-%{_sysconfdir}/pam.d/kdm-trinity-np
-%if 0%{?mgaversion} || 0%{?mdkversion}
-%{_sysconfdir}/X11/wmsession.d/*
-
-%post -n trinity-tdm
-%make_session
-%postun -n trinity-tdm
-%make_session
+# https://wiki.mageia.org/en/How_to_add_a_new_Window_Manager_or_Display_Manager
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%{_sysconfdir}/X11/wmsession.d/45TDE
+%{_datadir}/X11/dm.d/45TDE.conf
%endif
##########
@@ -1924,7 +2073,7 @@ functionality.
%{tde_datadir}/autostart/panel.desktop
%{tde_datadir}/config.kcfg/kickerSettings.kcfg
%{tde_datadir}/config.kcfg/launcherapplet.kcfg
-#%{tde_datadir}/config.kcfg/pagersettings.kcfg
+%{tde_datadir}/config.kcfg/pagersettings.kcfg
%{tde_datadir}/config.kcfg/taskbar.kcfg
%{tde_datadir}/icons/crystalsvg/*/apps/systemtray.png
%{tde_datadir}/icons/crystalsvg/*/apps/taskbar.png
@@ -2209,11 +2358,15 @@ for f in crystalsvg hicolor ; do
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
done
/sbin/ldconfig || :
+%if 0%{?suse_version}
+update-alternatives --install \
+%else
alternatives --install \
+%endif
%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \
media_safelyremove.desktop_konqueror \
%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase \
- 10
+ 10 || :
%postun -n trinity-konqueror
update-desktop-database %{tde_appdir} 2> /dev/null || :
@@ -2225,9 +2378,13 @@ done
%preun -n trinity-konqueror
if [ $1 -eq 0 ]; then
+%if 0%{?suse_version}
+ update-alternatives --remove \
+%else
alternatives --remove \
+%endif
media_safelyremove.desktop_konqueror \
- %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase
+ %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase || :
fi
##########
@@ -2452,6 +2609,12 @@ KDE will start, but many good defaults will not be set.
%{tde_bindir}/plasma-desktop
%endif
+%post -n trinity-ksmserver
+/sbin/ldconfig || :
+
+%postun -n trinity-ksmserver
+/sbin/ldconfig || :
+
##########
%package -n trinity-ksplash
@@ -2817,13 +2980,16 @@ Konqueror libraries.
##########
-%prep
-%setup -q -n kdebase
+%if 0%{?suse_version}
+%debug_package
+%endif
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+##########
+
+%prep
+%setup -q -n kdebase-3.5.13.1
+%patch1 -p1 -b .icon
%patch11 -p1 -b .openterminalhere
%if 0%{?rhel} || 0%{?fedora}
%patch13 -p1 -b .Xsession
@@ -2832,14 +2998,16 @@ Konqueror libraries.
%if 0%{?rhel} || 0%{?mgaversion} || 0%{?mdkversion}
%patch21 -p1 -b .man
%endif
-%patch26 -p1 -b .doubleclick
%patch30 -p1 -b .xtestsupport
-%patch36 -p1 -b .disablescrolldesktop
-%patch44 -p1 -b .kxdglauncherdoc
-%patch55 -p1 -b .addreorderdocinkate
-%patch56 -p1 -b .adddraganddropinkate
-%patch57 -p1 -b .disablekeybshortcut
-%patch60 -p1 -b .defaultkonqmaxsizepreview
+
+%if 0%{?rhel} == 4
+%patch201 -p1 -b .libdetect
+%patch202 -p1 -b .dbustqt
+%patch203 -p1 -b .consolekit
+%patch204 -p1 -b .composite
+%patch205 -p1 -b .hal04
+%patch206 -p1 -b .rhel4
+%endif
# Applies an optional distro-specific graphical theme
%if "%{?tde_bg}" != ""
@@ -2877,13 +3045,23 @@ Konqueror libraries.
%build
-unset QTDIR || : ; . /etc/profile.d/qt.sh
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
export LD_LIBRARY_PATH="%{tde_libdir}"
-%if 0%{?rhel} || 0%{?fedora}
+# Avoids building against KDE3's old stuff, if installed
+export KDEDIR=%{tde_prefix}
+
+# Shitty hack for RHEL4 ...
+if [ -d /usr/X11R6 ]; then
+ export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH=}:/usr/X11R6/include:/usr/X11R6/%{_lib}"
+ export CFLAGS="${CFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%__mkdir_p build
cd build
%endif
@@ -2897,53 +3075,63 @@ cd build
-DWITH_SASL=ON \
-DWITH_LDAP=ON \
-DWITH_SAMBA=ON \
- -DWITH_OPENEXR=ON \
- -DWITH_XCOMPOSITE=ON \
- -DWITH_XCURSOR=ON \
- -DWITH_XFIXES=ON \
-%if 0%{?fedora} || 0%{?rhel} >= 6
- -DWITH_XRANDR=ON \
+ %{?with_exr:-DWITH_OPENEXR=ON} \
+ %{?with_hal:-DWITH_HAL=ON} \
+ %{?with_xscreensaver:-DWITH_XSCREENSAVER=ON} \
+%if 0%{?rhel} == 4
+ -DWITH_XTEST=OFF \
%else
- -DWITH_XRANDR=OFF \
+ -DWITH_XTEST=ON \
%endif
- -DWITH_XRENDER=ON \
+ -DWITH_XCURSOR=ON \
+ -DWITH_XFIXES=ON \
+ %{?with_xrandr:-DWITH_XRANDR=ON} \
-DWITH_XDAMAGE=ON \
-DWITH_XEXT=ON \
- -DWITH_XTEST=ON \
-DWITH_LIBUSB=ON \
-DWITH_LIBRAW1394=ON \
-DWITH_PAM=ON \
-DWITH_XDMCP=ON \
-DWITH_XINERAMA=ON \
+ -DWITH_XCOMPOSITE=ON \
+ -DWITH_XRENDER=ON \
-DWITH_ARTS=ON \
-DWITH_I8K=ON \
- -DWITH_HAL=ON \
-DBUILD_ALL=ON \
-DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \
+%if 0%{?suse_version}
+ -DKDM_PAM_SERVICE="xdm" \
+ -DKSCREENSAVER_PAM_SERVICE="kcheckpass-trinity" \
+%else
-DKDM_PAM_SERVICE="kdm-trinity" \
-DKSCREENSAVER_PAM_SERVICE="kscreensaver-trinity" \
- -DWITH_XSCREENSAVER=ON \
+%endif
+ %{!?with_tsak:-DBUILD_TSAK=OFF} \
..
-%__make %{?_smp_mflags}
+%__make %{?_smp_mflags} || %__make
+
%install
%__rm -rf %{?buildroot}
%__make install DESTDIR=%{?buildroot} -C build
+# Under RHEL/Fedora/Suse, static 'xsessions' files go to '/usr/share/xsessions'.
+
# Adds a GDM/KDM/XDM session called 'TDE'
-%if 0%{?rhel} || 0%{?fedora}
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%__install -D -m 644 \
"%{?buildroot}%{tde_datadir}/apps/kdm/sessions/tde.desktop" \
- "%{?buildroot}%{_usr}/share/xsessions/tde.desktop"
+ "%{?buildroot}%{_datadir}/xsessions/tde.desktop"
# Force session name to be 'TDE'
-%__sed -i "%{?buildroot}%{_usr}/share/xsessions/tde.desktop" \
+%__sed -i "%{?buildroot}%{_datadir}/xsessions/tde.desktop" \
-e "s,^Name=.*,Name=TDE,"
%endif
# Mageia/Mandriva stores its session file in different folder than RHEL/Fedora
+# Generated files for TDM/KDM4 are in '/usr/share/apps/kdm/sessions'
%if 0%{?mgaversion} || 0%{?mdkversion}
%__install -d -m 755 %{?buildroot}%{_sysconfdir}/X11/wmsession.d
cat <<EOF >"%{?buildroot}%{_sysconfdir}/X11/wmsession.d/45TDE"
@@ -2954,6 +3142,15 @@ EXEC=%{tde_bindir}/startkde
SCRIPT:
exec %{tde_bindir}/startkde
EOF
+
+%__install -d -m 755 %{?buildroot}%{_datadir}/X11/dm.d
+cat <<EOF >"%{?buildroot}%{_datadir}/X11/dm.d/45TDE.conf"
+NAME=TDM
+DESCRIPTION=TDM (Trinity Display Manager)
+PACKAGE=trinity-tdm
+EXEC=%{tde_bindir}/kdm
+FNDSESSION_EXEC="/usr/sbin/chksession -K"
+EOF
%endif
# Renames '/etc/ksysguarddrc' to avoid conflict with KDE4 'ksysguard'
@@ -2967,14 +3164,18 @@ EOF
%endif
# PAM configuration files
+%if 0%{?suse_version}
+%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity"
+%else
%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity"
%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity-np"
%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity"
%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/kscreensaver-trinity"
+%endif
# KDM configuration for RHEL/Fedora
%__sed -i "%{?buildroot}%{tde_datadir}/config/kdm/kdmrc" \
-%if 0%{?fedora} >= 16
+%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1220
-e "s/^#*MinShowUID=.*/MinShowUID=1000/"
%else
-e "s/^#*MinShowUID=.*/MinShowUID=500/"
@@ -2987,8 +3188,10 @@ EOF
%endif
# Symlinks 'usb.ids'
+%if 0%{?suse_version} == 0
%__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids"
%__ln_s -f "/usr/share/hwdata/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids"
+%endif
# Makes 'media_safelyremove.desktop' an alternative
%__mv -f %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase
@@ -3002,8 +3205,5 @@ EOF
%changelog
-* Sat Jul 14 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-26
-- Add xscreensaver support to CMake [Bug #659] [Commit #80deb529]
-- Enables 'shadow' support
-- Enables 'i8k' support
-
+* Mon Sep 24 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/kdebase/trinity-kdebase-3.5.13.spec b/redhat/kdebase/trinity-kdebase-3.5.13.spec
index cdeb5a17c..db71a38ff 100644
--- a/redhat/kdebase/trinity-kdebase-3.5.13.spec
+++ b/redhat/kdebase/trinity-kdebase-3.5.13.spec
@@ -17,7 +17,7 @@
# Older RHEL/Fedora versions use packages named "qt", "qt-devel", ..
# whereas newer versions use "qt3", "qt3-devel" ...
-%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8 || 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 8 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
%define _qt_suffix 3
%endif
@@ -51,10 +51,14 @@ Source0: kdebase-%{version}.tar.gz
Source1: plasma-desktop
# Pam configuration files for RHEL / Fedora
+%if 0%{?suse_version}
+Source4: pamd.kcheckpass-trinity.opensuse%{?suse_version}
+%else
Source2: pamd.kdm-trinity%{?dist}
Source3: pamd.kdm-trinity-np%{?dist}
Source4: pamd.kcheckpass-trinity%{?dist}
Source5: pamd.kscreensaver-trinity%{?dist}
+%endif
# [kdebase] Fix corrupted PNG images [Bug #298]
Source6: tiles-fixed-png-images.tar.gz
@@ -170,10 +174,36 @@ Patch60: kdebase-3.5.13-update_default_konq_max_image_prev_size.patch
Patch61: kdebase-3.5.13-fix_menu_crash_with_disabled_search.patch
## [tdebase] Add xscreensaver support to CMake [Bug #659] [Commit #80deb529]
Patch62: kdebase-3.5.13-add_xscreensaver_support.patch
-## [tdebase] Dirty patch to close tooltips when screensaver engages
-Patch63: kdebase-3.5.13-fix_tooltip_lock.patch
+## [tdebase] Forcibly prevent transient override redirect windows from showing up over the lock screen [Bug #1079] [Commit #553923b2]
+Patch63: kdebase-3.5.13-prevent_tooltip_over_lockscreen.patch
+## [tdebase] Fix tsak FTBFS on RHEL6
+Patch64: kdebase-3.5.13-fix_tsak_ftbfs.patch
+## [tdebase] Do not require DBUS-TQT if TSAK is not built
+Patch65: kdebase-3.5.13-do_not_require_dbustqt_if_no_tsak.patch
+## [kdebase/kdm/kfrontend] Global Xsession file is '/etc/X11/xdm/Xsession' [RHEL4/Suse]
+Patch66: kdebase-3.5.13-genkdmconf_Xsession_location_xdm.patch
+## [kdebase/kdm/backend] Fix DBUS include directory
+Patch67: kdebase-3.5.13-fix_dbus_include.patch
+
## [tdebase] Upgrade to v3.5.13-sru branch
Patch100: kdebase-3.5.13-upgrade_to_sru_20120806.patch
+## [tdebase] Fix for SAK dialog are displayed even if TSAK is not built.
+Patch101: kdebase-3.5.13-disable_tsak_dialog_if_not_built.patch
+
+### Patches for RHEL4 (should not go upstream)
+
+## [tdebase] Fix build on RHEL4, detect old libraries without pkg file
+Patch201: kdebase-3.5.13-fix_lib_detection.patch
+## [tdebase] Do not build against DBUS-TQT, only DBUS and DBUS-QT
+Patch202: kdebase-3.5.13-build_without_dbustqt.patch
+## [tdebase] Do not build against ConsoleKit
+Patch203: kdebase-3.5.13-build_without_consolekit.patch
+## [tdebase] Add WITH_COMPOSITE option to CMakeLists.txt
+Patch204: kdebase-3.5.13-add_disable_composite_option.patch
+## [tdebase] Downgrade halbackend to support Hal 0.4
+Patch205: kdebase-3.5.13-support_hal_04.patch
+## [tdebase] Other(s) FTBFS ...
+Patch206: kdebase-3.5.13-fix_rhel4_compilation.patch
### FEDORA / RHEL distribution-specific settings ###
@@ -210,6 +240,18 @@ Requires: fedora-release-notes
%define tde_aboutpage /usr/share/doc/HTML/fedora-release-notes/index.html
%endif
+# RHEL 4 Theme
+%if 0%{?rhel} == 4
+Requires: desktop-backgrounds-basic
+%define tde_bg /usr/share/backgrounds/images/default.png
+Requires: redhat-logos
+%define tde_starticon /usr/share/pixmaps/redhat/rpmlogo-64.xpm
+
+Requires: indexhtml
+%define tde_aboutlabel Enterprise Linux 4
+%define tde_aboutpage /usr/share/doc/HTML/index.html
+%endif
+
# RHEL 5 Theme
%if 0%{?rhel} == 5
Requires: desktop-backgrounds-basic
@@ -254,47 +296,85 @@ Requires: indexhtml
%define tde_aboutpage /usr/share/mdk/about/index.html
%endif
+# OpenSuse 12.2 Theme
+%if "%{?suse_version}" == "1220"
+Requires: wallpaper-branding
+%define tde_bg /usr/share/wallpapers/openSUSEdefault/contents/images/1600x1200.jpg
+Requires: hicolor-icon-theme-branding
+%define tde_starticon /usr/share/icons/hicolor/scalable/apps/distributor.svg
+
+Requires: opensuse-manuals_en
+%define tde_aboutlabel OpenSuse 12.2
+%define tde_aboutpage /usr/share/doc/manual/opensuse-manuals_en/book.opensuse.startup.html
+%endif
+
BuildRequires: cmake >= 2.8
BuildRequires: tqtinterface-devel
BuildRequires: trinity-arts-devel
-BuildRequires: trinity-kdelibs-devel
+BuildRequires: trinity-tdelibs-devel
BuildRequires: gcc-c++ make
BuildRequires: qt%{?_qt_suffix}-devel
BuildRequires: openssl-devel
-BuildRequires: imake
-BuildRequires: OpenEXR-devel
-BuildRequires: libsmbclient-devel
-BuildRequires: dbus-devel
-BuildRequires: dbus-tqt-devel
-BuildRequires: lm_sensors-devel
-BuildRequires: libfontenc-devel
-BuildRequires: hal-devel
BuildRequires: audiofile-devel
BuildRequires: alsa-lib-devel
BuildRequires: libraw1394-devel
-BuildRequires: openldap-devel
BuildRequires: libvorbis-devel
BuildRequires: pam-devel
-BuildRequires: libxkbfile-devel
BuildRequires: libusb-devel
BuildRequires: esound-devel
BuildRequires: glib2-devel
-BuildRequires: nas-devel
BuildRequires: pcre-devel
-BuildRequires: avahi-tqt-devel
+
+%if 0%{?suse_version}
+BuildRequires: openldap2-devel
+%else
+BuildRequires: lm_sensors-devel
+BuildRequires: openldap-devel
+%endif
+
# TSAK support requires libudev-devel
-# On RHEL5, udev is built statically, so TSAK cannot build
-# On RHEL6, libudev-devel exists but is too old. No TSAK neither.
-%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion}
+# On RHEL5, udev is built statically, so TSAK cannot build.
+# On RHEL5, xrandr library is too old.
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
%define with_tsak 1
+%define with_xrandr 1
BuildRequires: libudev-devel
%endif
+# On RHEL4, we do not have openexr
+# On RHEL4, we do not use HAL
+%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?suse_version}
+%define with_exr 1
+BuildRequires: OpenEXR-devel
+%define with_hal 1
+BuildRequires: hal-devel >= 0.4.8
+%endif
+
+
%if 0%{?fedora} >= 17
BuildRequires: perl-Digest-MD5
%endif
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+BuildRequires: samba-common
+# Dbus bindings were rebuilt with Qt support
+BuildRequires: dbus-devel >= 0.22-12.EL.9p1
+%else
+BuildRequires: imake
+%if 0%{?suse_version}
+BuildRequires: dbus-1-devel
+%else
+BuildRequires: dbus-devel
+BuildRequires: nas-devel
+%endif
+BuildRequires: dbus-tqt-devel
+BuildRequires: avahi-tqt-devel
+BuildRequires: libxkbfile-devel
+BuildRequires: libsmbclient-devel
+BuildRequires: libfontenc-devel
+
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}avahi-client-devel
BuildRequires: %{_lib}jack-devel
@@ -313,14 +393,20 @@ BuildRequires: libXcomposite-devel
BuildRequires: libXdamage-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXtst-devel
+%if 0%{?suse_version}
+BuildRequires: font-util
+BuildRequires: bdftopcf
+%else
BuildRequires: xorg-x11-font-utils
+%endif
BuildRequires: xorg-x11-proto-devel
%if 0%{?rhel} == 5
BuildRequires: gnome-screensaver
%else
BuildRequires: xscreensaver
%endif
-Requires: avahi-qt3
+Requires: avahi-tqt
+%endif
%endif
# tdebase is a metapackage that installs all sub-packages
@@ -358,11 +444,16 @@ Requires: %{name}-libtqt3-integration = %{version}-%{release}
Requires: tqtinterface
Requires: trinity-arts
-Requires: trinity-kdelibs
+Requires: trinity-tdelibs
Requires: qt%{?_qt_suffix}
Requires: openssl
-Requires: avahi
+
+%if 0%{?rhel} == 4
+Requires: dbus-qt
+%else
Requires: dbus-tqt
+Requires: avahi
+%endif
# RHEL 6 Configuration files are provided in separate packages
%if 0%{?rhel} || 0%{?fedora}
@@ -372,6 +463,10 @@ Requires: kde-settings-kdm
Requires: redhat-menus
%endif
+%if 0%{?suse_version}
+Requires: desktop-data-openSUSE
+%endif
+
%description
TDE (the Trinity Desktop Environment) is a powerful Open Source graphical
desktop environment for Unix workstations. It combines ease of use,
@@ -393,7 +488,7 @@ web browser, X terminal emulator, and many other programs and components.
Summary: %{summary} - Development files
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: trinity-kdelibs-devel
+Requires: trinity-tdelibs-devel
Requires: %{name}-bin-devel = %{version}-%{release}
Requires: trinity-kate-devel = %{version}-%{release}
@@ -548,6 +643,12 @@ Group: Environment/Libraries
%files -n trinity-libkateinterfaces
%{tde_libdir}/libkateinterfaces.so.*
+%post -n trinity-libkateinterfaces
+/sbin/ldconfig || :
+
+%postun -n trinity-libkateinterfaces
+/sbin/ldconfig || :
+
##########
%package -n trinity-kate
@@ -677,9 +778,12 @@ update-desktop-database %{tde_appdir} 2> /dev/null || :
Summary: control center for TDE
Group: Applications/Utilities
Requires: %{name}-data = %{version}-%{release}
-Requires: hwdata
Requires: usbutils
+%if 0%{?suse_version} == 0
+Requires: hwdata
+%endif
+
%description -n trinity-kcontrol
The TDE Control Center provides you with a centralized and convenient
way to configure all of your TDE settings.
@@ -927,7 +1031,7 @@ plugdev group.
%{tde_datadir}/apps/kcmview1394/oui.db
# The following features are not compiled under RHEL 5
-%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
%{tde_bindir}/krandrtray
%{tde_tdelibdir}/kcm_displayconfig.la
%{tde_tdelibdir}/kcm_displayconfig.so
@@ -1059,7 +1163,9 @@ TDE applications, particularly those in the TDE base module.
%{tde_datadir}/services/kded/khotkeys.desktop
%{tde_datadir}/services/kxkb.desktop
%{_sysconfdir}/pam.d/kcheckpass-trinity
+%if 0%{?suse_version} == 0
%{_sysconfdir}/pam.d/kscreensaver-trinity
+%endif
%{tde_tdedocdir}/HTML/en/kdcop/
%{tde_tdedocdir}/HTML/en/kdebugdialog//
%{tde_tdedocdir}/HTML/en/[kt]desu/
@@ -1411,7 +1517,14 @@ Group: Applications/Utilities
Requires: trinity-kdesktop = %{version}-%{release}
Requires: cyrus-sasl
Requires: psmisc
+%if 0%{?with_hal}
+Requires: hal >= 0.4.8
+%endif
+%if 0%{?rhel} == 4 || 0%{?suse_version}
+Requires: cryptsetup
+%else
Requires: cryptsetup-luks
+%endif
Obsoletes: tdebase-kio-plugins < %{version}-%{release}
Provides: tdebase-kio-plugins = %{version}-%{release}
@@ -1434,8 +1547,6 @@ group.
%{tde_tdelibdir}/cursorthumbnail.so
%{tde_tdelibdir}/djvuthumbnail.la
%{tde_tdelibdir}/djvuthumbnail.so
-%{tde_tdelibdir}/exrthumbnail.la
-%{tde_tdelibdir}/exrthumbnail.so
%{tde_tdelibdir}/htmlthumbnail.la
%{tde_tdelibdir}/htmlthumbnail.so
%{tde_tdelibdir}/imagethumbnail.la
@@ -1500,8 +1611,6 @@ group.
%{tde_tdelibdir}/kio_trash.so
%{tde_tdelibdir}/libkmanpart.la
%{tde_tdelibdir}/libkmanpart.so
-%{tde_tdelibdir}/media_propsdlgplugin.la
-%{tde_tdelibdir}/media_propsdlgplugin.so
%{tde_tdelibdir}/textthumbnail.la
%{tde_tdelibdir}/textthumbnail.so
%{tde_tdeappdir}/kcmcgi.desktop
@@ -1526,7 +1635,6 @@ group.
%{tde_datadir}/services/cgi.protocol
%{tde_datadir}/services/cursorthumbnail.desktop
%{tde_datadir}/services/djvuthumbnail.desktop
-%{tde_datadir}/services/exrthumbnail.desktop
%{tde_datadir}/services/finger.protocol
%{tde_datadir}/services/fish.protocol
%{tde_datadir}/services/floppy.protocol
@@ -1546,7 +1654,6 @@ group.
%{tde_datadir}/services/mac.protocol
%{tde_datadir}/services/man.protocol
%{tde_datadir}/services/media.protocol
-%{tde_datadir}/services/media_propsdlgplugin.desktop
%{tde_datadir}/services/nfs.protocol
%{tde_datadir}/services/nxfish.protocol
%{tde_datadir}/services/programs.protocol
@@ -1563,6 +1670,16 @@ group.
%{tde_datadir}/servicetypes/thumbcreator.desktop
%{tde_datadir}/services/kfile_trash.desktop
%{tde_tdedocdir}/HTML/en/kioslave/
+%if 0%{?with_exr}
+%{tde_tdelibdir}/exrthumbnail.la
+%{tde_tdelibdir}/exrthumbnail.so
+%{tde_datadir}/services/exrthumbnail.desktop
+%endif
+%if 0%{?with_hal}
+%{tde_tdelibdir}/media_propsdlgplugin.la
+%{tde_tdelibdir}/media_propsdlgplugin.so
+%{tde_datadir}/services/media_propsdlgplugin.desktop
+%endif
%post kio-plugins
update-desktop-database %{tde_appdir} 2> /dev/null || :
@@ -1686,7 +1803,9 @@ Requires: %{name}-bin = %{version}-%{release}
Requires: %{name}-data = %{version}-%{release}
Requires: trinity-libkonq = %{version}-%{release}
Requires: eject
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
Requires: xdg-utils
+%endif
%description -n trinity-kdesktop
This package contains miscellaneous binaries and files integral to
@@ -1753,9 +1872,13 @@ Requires: %{name}-data = %{version}-%{release}
Requires: pam
# Provides the global Xsession script (/etc/X11/xinit/Xsession or /etc/X11/Xsession)
-%if 0%{?mgaversion} || 0%{?mdkversion}
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} == 4
Requires: xinitrc
-%else
+%endif
+%if 0%{?suse_version}
+Requires: xdm
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora}
Requires: xorg-x11-xinit
%endif
@@ -1799,11 +1922,13 @@ already. Most users won't need this.
%{tde_datadir}/apps/[kt]dm/themes/
%{tde_datadir}/config/[kt]dm/
%{tde_tdedocdir}/HTML/en/[kt]dm/
+%if 0%{?suse_version} == 0
%{_sysconfdir}/pam.d/kdm-trinity
%{_sysconfdir}/pam.d/kdm-trinity-np
+%endif
# Distribution specific stuff
-%if 0%{?rhel} || 0%{?fedora}
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%{_usr}/share/xsessions/tde.desktop
%endif
@@ -2300,11 +2425,15 @@ for f in crystalsvg hicolor ; do
gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
done
/sbin/ldconfig || :
+%if 0%{?suse_version}
+update-alternatives --install \
+%else
alternatives --install \
+%endif
%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop \
media_safelyremove.desktop_konqueror \
%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase \
- 10
+ 10 || :
%postun -n trinity-konqueror
update-desktop-database %{tde_appdir} 2> /dev/null || :
@@ -2316,9 +2445,13 @@ done
%preun -n trinity-konqueror
if [ $1 -eq 0 ]; then
+%if 0%{?suse_version}
+ update-alternatives --remove \
+%else
alternatives --remove \
+%endif
media_safelyremove.desktop_konqueror \
- %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase
+ %{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase || :
fi
##########
@@ -2543,6 +2676,12 @@ KDE will start, but many good defaults will not be set.
%{tde_bindir}/plasma-desktop
%endif
+%post -n trinity-ksmserver
+/sbin/ldconfig || :
+
+%postun -n trinity-ksmserver
+/sbin/ldconfig || :
+
##########
%package -n trinity-ksplash
@@ -2908,6 +3047,12 @@ Konqueror libraries.
##########
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
%prep
%setup -q -n kdebase
%__tar xfz %{SOURCE6} -C kicker/data/tiles
@@ -2920,7 +3065,10 @@ Konqueror libraries.
%patch10 -p1
%patch11 -p1
%patch12 -p1
-%if 0%{?rhel} || 0%{?fedora}
+%if 0%{?rhel} == 4 || 0%{?suse_version}
+%patch66 -p1 -b .Xsession
+%endif
+%if 0%{?rhel} >= 5|| 0%{?fedora}
%patch13 -p1 -b .Xsession
%endif
%patch14 -p1
@@ -2973,7 +3121,22 @@ Konqueror libraries.
%patch61 -p1
%patch62 -p1
%patch63 -p1 -b .tooltips
+%patch64 -p1 -b .tsak
+%patch65 -p1 -b .dbustsak
+%patch67 -p1 -b .dbus
+
%patch100 -p1
+%patch101 -p1 -b .tsak
+
+
+%if 0%{?rhel} == 4
+%patch201 -p1 -b .libdetect
+%patch202 -p1 -b .dbustqt
+%patch203 -p1 -b .consolekit
+%patch204 -p1 -b .composite
+%patch205 -p1 -b .hal04
+%patch206 -p1 -b .rhel4
+%endif
# Applies an optional distro-specific graphical theme
%if "%{?tde_bg}" != ""
@@ -3005,19 +3168,29 @@ Konqueror libraries.
%__sed -i "startkde" \
-e "s|/opt/trinity|%{tde_prefix}|g"
-# TDE default start button icon [See Patch15]
+# TDE default start button icon
%__sed -i "startkde" \
-e "s|%%{tde_starticon}|%{tde_starticon}|g"
%build
-unset QTDIR || : ; . /etc/profile.d/qt.sh
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
export LD_LIBRARY_PATH="%{tde_libdir}"
-%if 0%{?rhel} || 0%{?fedora}
+# Avoids building against KDE3's old stuff, if installed
+export KDEDIR=%{tde_prefix}
+
+# Shitty hack for RHEL4 ...
+if [ -d /usr/X11R6 ]; then
+ export CMAKE_INCLUDE_PATH="${CMAKE_INCLUDE_PATH=}:/usr/X11R6/include:/usr/X11R6/%{_lib}"
+ export CFLAGS="${CFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%__mkdir_p build
cd build
%endif
@@ -3031,56 +3204,64 @@ cd build
-DWITH_SASL=ON \
-DWITH_LDAP=ON \
-DWITH_SAMBA=ON \
- -DWITH_OPENEXR=ON \
- -DWITH_XCOMPOSITE=ON \
- -DWITH_XCURSOR=ON \
- -DWITH_XFIXES=ON \
-%if 0%{?fedora} || 0%{?rhel} >= 6 || 0%{?mgaversion} || 0%{?mdkversion}
- -DWITH_XRANDR=ON \
+ %{?with_exr:-DWITH_OPENEXR=ON} \
+ %{?with_hal:-DWITH_HAL=ON} \
+%if 0%{?rhel} == 4
+ -DWITH_XTEST=OFF \
+ -DWITH_XSCREENSAVER=OFF \
%else
- -DWITH_XRANDR=OFF \
+ -DWITH_XTEST=ON \
+ -DWITH_XSCREENSAVER=ON \
%endif
- -DWITH_XRENDER=ON \
+ -DWITH_XCURSOR=ON \
+ -DWITH_XFIXES=ON \
+ %{?with_xrandr:-DWITH_XRANDR=ON} \
-DWITH_XDAMAGE=ON \
-DWITH_XEXT=ON \
- -DWITH_XTEST=ON \
-DWITH_LIBUSB=ON \
-DWITH_LIBRAW1394=ON \
-DWITH_PAM=ON \
-DWITH_XDMCP=ON \
-DWITH_XINERAMA=ON \
+ -DWITH_XCOMPOSITE=ON \
+ -DWITH_XRENDER=ON \
-DWITH_ARTS=ON \
-DWITH_I8K=ON \
- -DWITH_HAL=ON \
-DBUILD_ALL=ON \
-DKCHECKPASS_PAM_SERVICE="kcheckpass-trinity" \
+%if 0%{?suse_version}
+ -DKDM_PAM_SERVICE="xdm" \
+ -DKSCREENSAVER_PAM_SERVICE="kcheckpass-trinity" \
+%else
-DKDM_PAM_SERVICE="kdm-trinity" \
-DKSCREENSAVER_PAM_SERVICE="kscreensaver-trinity" \
- -DWITH_XSCREENSAVER=ON \
-%if 0%{?with_tsak} == 0
- -DBUILD_TSAK=OFF \
%endif
+ %{!?with_tsak:-DBUILD_TSAK=OFF} \
..
%__make %{?_smp_mflags}
+
%install
%__rm -rf %{?buildroot}
%__make install DESTDIR=%{?buildroot} -C build
+# Under RHEL/Fedora/Suse, static 'xsessions' files go to '/usr/share/xsessions'.
+
# Adds a GDM/KDM/XDM session called 'TDE'
-%if 0%{?rhel} || 0%{?fedora}
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%__install -D -m 644 \
"%{?buildroot}%{tde_datadir}/apps/kdm/sessions/tde.desktop" \
- "%{?buildroot}%{_usr}/share/xsessions/tde.desktop"
+ "%{?buildroot}%{_datadir}/xsessions/tde.desktop"
# Force session name to be 'TDE'
-%__sed -i "%{?buildroot}%{_usr}/share/xsessions/tde.desktop" \
+%__sed -i "%{?buildroot}%{_datadir}/xsessions/tde.desktop" \
-e "s,^Name=.*,Name=TDE,"
%endif
# Mageia/Mandriva stores its session file in different folder than RHEL/Fedora
+# Generated files for TDM/KDM4 are in '/usr/share/apps/kdm/sessions'
%if 0%{?mgaversion} || 0%{?mdkversion}
%__install -d -m 755 %{?buildroot}%{_sysconfdir}/X11/wmsession.d
cat <<EOF >"%{?buildroot}%{_sysconfdir}/X11/wmsession.d/45TDE"
@@ -3098,7 +3279,7 @@ NAME=TDM
DESCRIPTION=TDM (Trinity Display Manager)
PACKAGE=trinity-tdm
EXEC=%{tde_bindir}/kdm
-FNDSESSION_EXEC="/usr/sbin/chksession --generate=/usr/share/xsessions"
+FNDSESSION_EXEC="/usr/sbin/chksession -K"
EOF
%endif
@@ -3113,14 +3294,18 @@ EOF
%endif
# PAM configuration files
+%if 0%{?suse_version}
+%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity"
+%else
%__install -D -m 644 "%{SOURCE2}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity"
%__install -D -m 644 "%{SOURCE3}" "%{?buildroot}%{_sysconfdir}/pam.d/kdm-trinity-np"
%__install -D -m 644 "%{SOURCE4}" "%{?buildroot}%{_sysconfdir}/pam.d/kcheckpass-trinity"
%__install -D -m 644 "%{SOURCE5}" "%{?buildroot}%{_sysconfdir}/pam.d/kscreensaver-trinity"
+%endif
# KDM configuration for RHEL/Fedora
%__sed -i "%{?buildroot}%{tde_datadir}/config/kdm/kdmrc" \
-%if 0%{?fedora} >= 16
+%if 0%{?fedora} >= 16 || 0%{?suse_version} >= 1220
-e "s/^#*MinShowUID=.*/MinShowUID=1000/"
%else
-e "s/^#*MinShowUID=.*/MinShowUID=500/"
@@ -3133,8 +3318,10 @@ EOF
%endif
# Symlinks 'usb.ids'
+%if 0%{?suse_version} == 0
%__rm -f "%{?buildroot}%{tde_datadir}/apps/usb.ids"
%__ln_s -f "/usr/share/hwdata/usb.ids" "%{?buildroot}%{tde_datadir}/apps/usb.ids"
+%endif
# Makes 'media_safelyremove.desktop' an alternative
%__mv -f %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop %{buildroot}%{tde_datadir}/apps/konqueror/servicemenus/media_safelyremove.desktop_tdebase
diff --git a/redhat/kdebindings/kdebindings-3.5.13.1-detect_ruby_pkg.patch b/redhat/kdebindings/kdebindings-3.5.13.1-detect_ruby_pkg.patch
new file mode 100644
index 000000000..47dcc16b5
--- /dev/null
+++ b/redhat/kdebindings/kdebindings-3.5.13.1-detect_ruby_pkg.patch
@@ -0,0 +1,86 @@
+commit de49c7480893e7d52f64ec1166a55cdf97b2541e
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1347381606 -0500
+
+ Detect presence of Ruby pkg-config file and adjust directory search accordingly
+
+diff --git a/korundum/rubylib/korundum/configure.in.in b/korundum/rubylib/korundum/configure.in.in
+index 81ad0bc..5782123 100644
+--- a/korundum/rubylib/korundum/configure.in.in
++++ b/korundum/rubylib/korundum/configure.in.in
+@@ -1,13 +1,28 @@
++KDE_FIND_PATH(pkg-config, PKGCONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [
++ AC_MSG_WARN([Could not find pkg-config])
++])
++
+ AC_CHECK_PROG(RUBY, ruby, ruby)
+
+ if test -z "$RUBY"; then
+ DO_NOT_COMPILE="$DO_NOT_COMPILE korundum"
+ else
+ AC_MSG_CHECKING(for ruby dirs)
+- RUBY_ARCHDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"archdir"@:>@)'`
+- RUBY_SITEARCHDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitearchdir"@:>@)'`
+- RUBY_SITEDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitelibdir"@:>@)'`
+- RUBY_RUBYLIBDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"rubylibdir"@:>@)'`
++ if test -n "$PKGCONFIG"; then
++ RUBY_VERSION=`$PKGCONFIG ruby --modversion 2>/dev/null`
++ if test -n "$RUBY_VERSION"; then
++ RUBY_ARCHDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"archdir"@:>@)'`
++ RUBY_SITEARCHDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"sitearchdir"@:>@)'`
++ RUBY_SITEDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"sitelibdir"@:>@)'`
++ RUBY_RUBYLIBDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubylibdir"@:>@)'`
++ fi
++ fi
++ if test -z "$RUBY_VERSION"; then
++ RUBY_ARCHDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"archdir"@:>@)'`
++ RUBY_SITEARCHDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitearchdir"@:>@)'`
++ RUBY_SITEDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitelibdir"@:>@)'`
++ RUBY_RUBYLIBDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"rubylibdir"@:>@)'`
++ fi
+ AC_MSG_RESULT([archdir $RUBY_ARCHDIR, sitearchdir $RUBY_SITEARCHDIR, sitedir $RUBY_SITEDIR])
+ AC_SUBST(RUBY_ARCHDIR)
+ AC_SUBST(RUBY_SITEARCHDIR)
+diff --git a/qtruby/rubylib/qtruby/configure.in.in b/qtruby/rubylib/qtruby/configure.in.in
+index 453bb68..3cfa630 100644
+--- a/qtruby/rubylib/qtruby/configure.in.in
++++ b/qtruby/rubylib/qtruby/configure.in.in
+@@ -1,15 +1,32 @@
++KDE_FIND_PATH(pkg-config, PKGCONFIG, [${prefix}/bin ${exec_prefix}/bin /usr/bin /usr/local/bin /opt/local/bin], [
++ AC_MSG_WARN([Could not find pkg-config])
++])
++
+ AC_CHECK_PROG(RUBY, ruby, ruby)
+
+ if test -z "$RUBY"; then
+ DO_NOT_COMPILE="$DO_NOT_COMPILE qtruby"
+ else
+ AC_MSG_CHECKING(for ruby dirs)
+- RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"archdir"@:>@)'`
+- RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitearchdir"@:>@)'`
+- RUBY_SITEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitelibdir"@:>@)'`
+- RUBY_RUBYLIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"rubylibdir"@:>@)'`
+- RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"libdir"@:>@)'`
+- RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
++ if test -n "$PKGCONFIG"; then
++ RUBY_VERSION=`$PKGCONFIG ruby --modversion 2>/dev/null`
++ if test -n "$RUBY_VERSION"; then
++ RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"archdir"@:>@)'`
++ RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"sitearchdir"@:>@)'`
++ RUBY_SITEDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"sitelibdir"@:>@)'`
++ RUBY_RUBYLIBDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubylibdir"@:>@)'`
++ RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"libdir"@:>@)'`
++ RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
++ fi
++ fi
++ if test -z "$RUBY_VERSION"; then
++ RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"archdir"@:>@)'`
++ RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitearchdir"@:>@)'`
++ RUBY_SITEDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitelibdir"@:>@)'`
++ RUBY_RUBYLIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"rubylibdir"@:>@)'`
++ RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"libdir"@:>@)'`
++ RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
++ fi
+ AC_MSG_RESULT([archdir $RUBY_ARCHDIR, sitearchdir $RUBY_SITEARCHDIR, sitedir $RUBY_SITEDIR, libdir $RUBY_LIBDIR, librubyarg $RUBY_LIBRUBYARG])
+ AC_SUBST(RUBY_ARCHDIR)
+ AC_SUBST(RUBY_SITEARCHDIR)
diff --git a/redhat/kdebindings/kdebindings-3.5.13.1-fallback_to_ruby19_pc_file.patch b/redhat/kdebindings/kdebindings-3.5.13.1-fallback_to_ruby19_pc_file.patch
new file mode 100644
index 000000000..85c496d10
--- /dev/null
+++ b/redhat/kdebindings/kdebindings-3.5.13.1-fallback_to_ruby19_pc_file.patch
@@ -0,0 +1,34 @@
+commit 2f6e9c735fe8486ee3484c47c0e8ff999b699abc
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1347987185 -0500
+
+ Fall back to ruby-1.9 pkgconfig file if needed
+
+diff --git a/korundum/rubylib/korundum/configure.in.in b/korundum/rubylib/korundum/configure.in.in
+index e4ab2fd..924f42f 100644
+--- a/korundum/rubylib/korundum/configure.in.in
++++ b/korundum/rubylib/korundum/configure.in.in
+@@ -10,6 +10,9 @@ else
+ AC_MSG_CHECKING(for ruby dirs)
+ if test -n "$PKGCONFIG"; then
+ RUBY_VERSION=`$PKGCONFIG ruby --modversion 2>/dev/null`
++ if test -z "$RUBY_VERSION"; then
++ RUBY_VERSION=`$PKGCONFIG ruby-1.9 --modversion 2>/dev/null`
++ fi
+ if test -n "$RUBY_VERSION"; then
+ RUBY_ARCHDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"archdir"@:>@)'`
+ RUBY_SITEARCHDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"sitearchdir"@:>@)'`
+diff --git a/qtruby/rubylib/qtruby/configure.in.in b/qtruby/rubylib/qtruby/configure.in.in
+index 7ad0e4d..e7f4f2c 100644
+--- a/qtruby/rubylib/qtruby/configure.in.in
++++ b/qtruby/rubylib/qtruby/configure.in.in
+@@ -10,6 +10,9 @@ else
+ AC_MSG_CHECKING(for ruby dirs)
+ if test -n "$PKGCONFIG"; then
+ RUBY_VERSION=`$PKGCONFIG ruby --modversion 2>/dev/null`
++ if test -z "$RUBY_VERSION"; then
++ RUBY_VERSION=`$PKGCONFIG ruby-1.9 --modversion 2>/dev/null`
++ fi
+ if test -n "$RUBY_VERSION"; then
+ RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"archdir"@:>@)'`
+ RUBY_SITEARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"sitearchdir"@:>@)'`
diff --git a/redhat/kdebindings/kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch b/redhat/kdebindings/kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch
new file mode 100644
index 000000000..99fceae54
--- /dev/null
+++ b/redhat/kdebindings/kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch
@@ -0,0 +1,11 @@
+--- kdebindings-3.5.13.1/dcopjava/binding/Makefile.am.ORI 2012-09-29 19:17:32.829295550 +0200
++++ kdebindings-3.5.13.1/dcopjava/binding/Makefile.am 2012-09-29 19:17:07.309943594 +0200
+@@ -1,7 +1,7 @@
+ lib_LTLIBRARIES = libjavadcop.la
+
+ libjavadcop_la_SOURCES = client.cpp
+-libjavadcop_la_LDFLAGS = $(KDE_LDFLAGS) $(KDE_PLUGIN) -lDCOP -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx
++libjavadcop_la_LDFLAGS = $(KDE_LDFLAGS) $(KDE_PLUGIN) -lDCOP -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx $(QT_LDFLAGS)
+ libjavadcop_la_LIBADD = $(LIB_KDECORE)
+
+ INCLUDES = $(jni_includes) $(all_includes)
diff --git a/redhat/kdebindings/kdebindings-3.5.13.1-fix_ftbfs_on_x86.patch b/redhat/kdebindings/kdebindings-3.5.13.1-fix_ftbfs_on_x86.patch
new file mode 100644
index 000000000..9190c9940
--- /dev/null
+++ b/redhat/kdebindings/kdebindings-3.5.13.1-fix_ftbfs_on_x86.patch
@@ -0,0 +1,82 @@
+commit a901a1232ab8f8432c63dc97e0efd9fed051d2c7
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1348264715 -0500
+
+ Fix FTBFS on x86 systems
+
+diff --git a/korundum/bin/krubyinit.cpp b/korundum/bin/krubyinit.cpp
+index 12b0f6e..2a7f6c5 100644
+--- a/korundum/bin/krubyinit.cpp
++++ b/korundum/bin/krubyinit.cpp
+@@ -1,5 +1,7 @@
+ #include <ruby.h>
+
++#define HAVE_STRLCAT_PROTO 1
++#define HAVE_STRLCPY_PROTO 1
+ #include "config.h"
+
+ #ifndef HAVE_RUBY_1_9
+diff --git a/korundum/rubylib/korundum/Korundum.cpp b/korundum/rubylib/korundum/Korundum.cpp
+index 124e2a1..da9f099 100644
+--- a/korundum/rubylib/korundum/Korundum.cpp
++++ b/korundum/rubylib/korundum/Korundum.cpp
+@@ -40,6 +40,8 @@
+ #include <smokeruby.h>
+ #include <smoke.h>
+
++#define HAVE_STRLCAT_PROTO 1
++#define HAVE_STRLCPY_PROTO 1
+ #include "config.h"
+
+ #ifndef HAVE_RUBY_1_9
+diff --git a/korundum/rubylib/korundum/kdehandlers.cpp b/korundum/rubylib/korundum/kdehandlers.cpp
+index 6961301..11b97b5 100644
+--- a/korundum/rubylib/korundum/kdehandlers.cpp
++++ b/korundum/rubylib/korundum/kdehandlers.cpp
+@@ -52,6 +52,8 @@
+ #include <dom/dom_string.h>
+ #include <dom/html_element.h>
+
++#define HAVE_STRLCAT_PROTO 1
++#define HAVE_STRLCPY_PROTO 1
+ #include "config.h"
+
+ #ifndef HAVE_RUBY_1_9
+diff --git a/qtruby/bin/qtrubyinit.cpp b/qtruby/bin/qtrubyinit.cpp
+index c9569d9..dd732b1 100644
+--- a/qtruby/bin/qtrubyinit.cpp
++++ b/qtruby/bin/qtrubyinit.cpp
+@@ -1,5 +1,7 @@
+ #include <ruby.h>
+
++#define HAVE_STRLCAT_PROTO 1
++#define HAVE_STRLCPY_PROTO 1
+ #include "config.h"
+
+ #ifndef HAVE_RUBY_1_9
+diff --git a/qtruby/rubylib/qtruby/Qt.cpp b/qtruby/rubylib/qtruby/Qt.cpp
+index 370ad6d..b264d44 100644
+--- a/qtruby/rubylib/qtruby/Qt.cpp
++++ b/qtruby/rubylib/qtruby/Qt.cpp
+@@ -60,6 +60,8 @@
+ #include "smokeruby.h"
+ #include "smoke.h"
+
++#define HAVE_STRLCAT_PROTO 1
++#define HAVE_STRLCPY_PROTO 1
+ #include "config.h"
+
+ #ifndef HAVE_RUBY_1_9
+diff --git a/qtruby/rubylib/qtruby/handlers.cpp b/qtruby/rubylib/qtruby/handlers.cpp
+index f3d0dda..2f6b5e7 100644
+--- a/qtruby/rubylib/qtruby/handlers.cpp
++++ b/qtruby/rubylib/qtruby/handlers.cpp
+@@ -47,6 +47,8 @@
+ #define HINT_BYTES HINT_BYTE
+ #endif
+
++#define HAVE_STRLCAT_PROTO 1
++#define HAVE_STRLCPY_PROTO 1
+ #include "config.h"
+
+ #ifndef HAVE_RUBY_1_9
diff --git a/redhat/kdebindings/kdebindings-3.5.13.1-fix_ftbfs_ruby18.patch b/redhat/kdebindings/kdebindings-3.5.13.1-fix_ftbfs_ruby18.patch
new file mode 100644
index 000000000..2798aa904
--- /dev/null
+++ b/redhat/kdebindings/kdebindings-3.5.13.1-fix_ftbfs_ruby18.patch
@@ -0,0 +1,56 @@
+commit 14594d81891b0bdf9aa03f72b88d6939eee59f02
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1347389903 -0500
+
+ Fix FTBFS on ruby 1.8.x
+
+diff --git a/korundum/bin/krubyinit.cpp b/korundum/bin/krubyinit.cpp
+index f53f830..12b0f6e 100644
+--- a/korundum/bin/krubyinit.cpp
++++ b/korundum/bin/krubyinit.cpp
+@@ -25,13 +25,18 @@
+ * *
+ ***************************************************************************/
+
+-// this name can be used to allow apps
++// this name can be used to allow apps
+ // to detect what they were started with
+ static const char* script_name = "krubyinit_app";
+
+ int main(int argc, char **argv) {
+ ruby_init();
+ ruby_script((char*)script_name);
+- void* node = ruby_options(argc, argv);
++#ifdef HAVE_RUBY_1_9
++ void* node = ruby_options(argc, argv);
+ ruby_run_node(node);
++#else // HAVE_RUBY_1_9
++ ruby_options(argc, argv);
++ ruby_run();
++#endif // HAVE_RUBY_1_9
+ }
+diff --git a/qtruby/bin/qtrubyinit.cpp b/qtruby/bin/qtrubyinit.cpp
+index 65c00c4..c9569d9 100644
+--- a/qtruby/bin/qtrubyinit.cpp
++++ b/qtruby/bin/qtrubyinit.cpp
+@@ -25,13 +25,18 @@ qrubyinit - makes use of tdeinit_wrapper possible for ruby programs
+ * *
+ ***************************************************************************/
+
+-// this name can be used to allow apps
++// this name can be used to allow apps
+ // to detect what they were started with
+ static const char* script_name = "qrubyinit_app";
+
+ int main(int argc, char **argv) {
+ ruby_init();
+ ruby_script((char*)script_name);
+- void* node = ruby_options(argc, argv);
++#ifdef HAVE_RUBY_1_9
++ void* node = ruby_options(argc, argv);
+ ruby_run_node(node);
++#else // HAVE_RUBY_1_9
++ ruby_options(argc, argv);
++ ruby_run();
++#endif // HAVE_RUBY_1_9
+ }
diff --git a/redhat/kdebindings/kdebindings-3.5.13.1-fix_ftbfs_ruby19.patch b/redhat/kdebindings/kdebindings-3.5.13.1-fix_ftbfs_ruby19.patch
new file mode 100644
index 000000000..aefdb6019
--- /dev/null
+++ b/redhat/kdebindings/kdebindings-3.5.13.1-fix_ftbfs_ruby19.patch
@@ -0,0 +1,683 @@
+commit ef7a60860d18e9be343b6fa5fe8d76fd080cead0
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1347385969 -0500
+
+ Fix FTBS on ruby 1.9.x
+ Thanks to Darrell Anderson for the majority of the patch!
+
+diff --git a/korundum/bin/Makefile.am b/korundum/bin/Makefile.am
+index f8c0942..4c3e637 100644
+--- a/korundum/bin/Makefile.am
++++ b/korundum/bin/Makefile.am
+@@ -1,4 +1,4 @@
+-INCLUDES = $(all_includes) -I$(RUBY_ARCHDIR)
++INCLUDES = $(all_includes) -I$(RUBY_ARCHDIR) $(RUBY_CFLAGS)
+
+ bin_PROGRAMS = krubyinit
+ krubyinit_LDFLAGS = -module $(all_libraries) -version-info 0:0:0 -L$(top_srcdir)/smoke/kde/ -L$(RUBY_LIBDIR) -lkmdi -lknewstuff
+diff --git a/korundum/bin/krubyinit.cpp b/korundum/bin/krubyinit.cpp
+index 7ed0b0a..f53f830 100644
+--- a/korundum/bin/krubyinit.cpp
++++ b/korundum/bin/krubyinit.cpp
+@@ -1,5 +1,13 @@
+ #include <ruby.h>
+
++#include "config.h"
++
++#ifndef HAVE_RUBY_1_9
++#define RARRAY_LEN(x) (RARRAY(x)->len)
++#define RSTRING_LEN(x) (RSTRING(x)->len)
++#define rb_str_catf_1 rb_str_catf
++#endif
++
+ /***************************************************************************
+ krubyinit - makes use of kdeinit_wrapper possible for ruby programs
+ -------------------
+@@ -24,6 +32,6 @@ static const char* script_name = "krubyinit_app";
+ int main(int argc, char **argv) {
+ ruby_init();
+ ruby_script((char*)script_name);
+- ruby_options(argc, argv);
+- ruby_run();
++ void* node = ruby_options(argc, argv);
++ ruby_run_node(node);
+ }
+diff --git a/korundum/rubylib/korundum/Korundum.cpp b/korundum/rubylib/korundum/Korundum.cpp
+index cc3ce2a..124e2a1 100644
+--- a/korundum/rubylib/korundum/Korundum.cpp
++++ b/korundum/rubylib/korundum/Korundum.cpp
+@@ -40,6 +40,14 @@
+ #include <smokeruby.h>
+ #include <smoke.h>
+
++#include "config.h"
++
++#ifndef HAVE_RUBY_1_9
++#define RARRAY_LEN(x) (RARRAY(x)->len)
++#define RSTRING_LEN(x) (RSTRING(x)->len)
++#define rb_str_catf_1 rb_str_catf
++#endif
++
+ extern "C" {
+ extern VALUE qt_internal_module;
+ extern VALUE kconfigskeleton_class;
+@@ -805,7 +813,7 @@ public:
+ // isn't in the Smoke runtime
+ TQValueList<DCOPRef> windowList;
+
+- for (long i = 0; i < RARRAY(result)->len; i++) {
++ for (long i = 0; i < RARRAY_LEN(result); i++) {
+ VALUE item = rb_ary_entry(result, i);
+ smokeruby_object *o = value_obj_info(item);
+ if( !o || !o->ptr)
+@@ -822,7 +830,7 @@ public:
+ // And special case this type too
+ TQValueList<TQCString> propertyList;
+
+- for (long i = 0; i < RARRAY(result)->len; i++) {
++ for (long i = 0; i < RARRAY_LEN(result); i++) {
+ VALUE item = rb_ary_entry(result, i);
+ propertyList.append(TQCString(StringValuePtr(item)));
+ }
+@@ -836,7 +844,7 @@ public:
+ // Convert the ruby hash to an array of key/value arrays
+ VALUE temp = rb_funcall(result, rb_intern("to_a"), 0);
+
+- for (long i = 0; i < RARRAY(temp)->len; i++) {
++ for (long i = 0; i < RARRAY_LEN(temp); i++) {
+ VALUE action = rb_ary_entry(rb_ary_entry(temp, i), 0);
+ VALUE item = rb_ary_entry(rb_ary_entry(temp, i), 1);
+
+@@ -926,7 +934,7 @@ k_dcop_signal(int argc, VALUE * argv, VALUE self)
+ {
+ VALUE dcopObject = rb_funcall(kde_module, rb_intern("createDCOPObject"), 1, self);
+
+- TQString signalname(rb_id2name(rb_frame_last_func()));
++ TQString signalname(rb_id2name(rb_frame_this_func()));
+ VALUE args = getdcopinfo(self, signalname);
+
+ if(args == Qnil) return Qfalse;
+@@ -1020,7 +1028,7 @@ new_kde(int argc, VALUE * argv, VALUE klass)
+
+ if (rb_funcall(kde_module, rb_intern("hasDCOPSignals"), 1, klass) == Qtrue) {
+ VALUE signalNames = rb_funcall(kde_module, rb_intern("getDCOPSignalNames"), 1, klass);
+- for (long index = 0; index < RARRAY(signalNames)->len; index++) {
++ for (long index = 0; index < RARRAY_LEN(signalNames); index++) {
+ VALUE signal = rb_ary_entry(signalNames, index);
+ rb_define_method(klass, StringValuePtr(signal), (VALUE (*) (...)) k_dcop_signal, -1);
+ }
+@@ -1088,9 +1096,9 @@ konsole_part_startprogram(VALUE self, VALUE value_program, VALUE value_args)
+ TQStrList *args = new TQStrList;
+
+ if (value_args != Qnil) {
+- for (long i = 0; i < RARRAY(value_args)->len; i++) {
++ for (long i = 0; i < RARRAY_LEN(value_args); i++) {
+ VALUE item = rb_ary_entry(value_args, i);
+- args->append(TQString::fromLatin1(StringValuePtr(item), RSTRING(item)->len));
++ args->append(TQString::fromLatin1(StringValuePtr(item), RSTRING_LEN(item)));
+ }
+ }
+
+diff --git a/korundum/rubylib/korundum/kdehandlers.cpp b/korundum/rubylib/korundum/kdehandlers.cpp
+index 70932d5..6961301 100644
+--- a/korundum/rubylib/korundum/kdehandlers.cpp
++++ b/korundum/rubylib/korundum/kdehandlers.cpp
+@@ -52,6 +52,14 @@
+ #include <dom/dom_string.h>
+ #include <dom/html_element.h>
+
++#include "config.h"
++
++#ifndef HAVE_RUBY_1_9
++#define RARRAY_LEN(x) (RARRAY(x)->len)
++#define RSTRING_LEN(x) (RSTRING(x)->len)
++#define rb_str_catf_1 rb_str_catf
++#endif
++
+ extern "C" {
+ extern VALUE set_obj_info(const char * className, smokeruby_object * o);
+ };
+@@ -122,7 +130,7 @@ void marshall_TQCStringList(Marshall *m) {
+ break;
+ }
+
+- int count = RARRAY(list)->len;
++ int count = RARRAY_LEN(list);
+ QCStringList *stringlist = new QCStringList;
+
+ for(long i = 0; i < count; i++) {
+@@ -131,7 +139,7 @@ void marshall_TQCStringList(Marshall *m) {
+ stringlist->append(TQCString());
+ continue;
+ }
+- stringlist->append(TQCString(StringValuePtr(item), RSTRING(item)->len + 1));
++ stringlist->append(TQCString(StringValuePtr(item), RSTRING_LEN(item) + 1));
+ }
+
+ m->item().s_voidp = stringlist;
+@@ -184,19 +192,19 @@ void marshall_KCmdLineOptions(Marshall *m) {
+ VALUE optionslist = *(m->var());
+ if (optionslist == Qnil
+ || TYPE(optionslist) != T_ARRAY
+- || RARRAY(optionslist)->len == 0 )
++ || RARRAY_LEN(optionslist) == 0 )
+ {
+ m->item().s_voidp = 0;
+ break;
+ }
+
+ // Allocate 'length + 1' entries, to include an all NULLs last entry
+- KCmdLineOptions *cmdLineOptions = (KCmdLineOptions *) calloc( RARRAY(optionslist)->len + 1,
++ KCmdLineOptions *cmdLineOptions = (KCmdLineOptions *) calloc( RARRAY_LEN(optionslist) + 1,
+ sizeof(struct KCmdLineOptions) );
+
+ VALUE options;
+ long i;
+- for(i = 0; i < RARRAY(optionslist)->len; i++) {
++ for(i = 0; i < RARRAY_LEN(optionslist); i++) {
+ options = rb_ary_entry(optionslist, i);
+ VALUE temp = rb_ary_entry(options, 0);
+ cmdLineOptions[i].name = StringValuePtr(temp);
+@@ -244,7 +252,7 @@ void marshall_WIdList(Marshall *m) {
+ m->item().s_voidp = 0;
+ break;
+ }
+- int count = RARRAY(list)->len;
++ int count = RARRAY_LEN(list);
+ TQValueList<WId> *valuelist = new TQValueList<WId>;
+ long i;
+ for(i = 0; i < count; i++) {
+@@ -815,7 +823,7 @@ void marshall_KURLList(Marshall *m) {
+ m->item().s_voidp = 0;
+ break;
+ }
+- int count = RARRAY(list)->len;
++ int count = RARRAY_LEN(list);
+ KURL::List *kurllist = new KURL::List;
+ long i;
+ for(i = 0; i < count; i++) {
+@@ -916,11 +924,11 @@ void marshall_UDSEntryList(Marshall *m) {
+
+ KIO::UDSEntryList *cpplist = new KIO::UDSEntryList;
+
+- for(long i = 0; i < RARRAY(list)->len; i++) {
++ for(long i = 0; i < RARRAY_LEN(list); i++) {
+ VALUE item = rb_ary_entry(list, i);
+ KIO::UDSEntry *cppsublist = new KIO::UDSEntry;
+
+- for (int j = 0; j < RARRAY(item)->len; j++) {
++ for (int j = 0; j < RARRAY_LEN(item); j++) {
+ VALUE subitem = rb_ary_entry(item, j);
+ smokeruby_object *o = value_obj_info(subitem);
+ if(!o || !o->ptr)
+@@ -998,7 +1006,7 @@ void marshall_ItemList(Marshall *m) {
+ m->item().s_voidp = 0;
+ break;
+ }
+- int count = RARRAY(list)->len;
++ int count = RARRAY_LEN(list);
+ ItemList *cpplist = new ItemList;
+ long i;
+ for(i = 0; i < count; i++) {
+@@ -1103,7 +1111,7 @@ void marshall_ValueItemList(Marshall *m) {
+ m->item().s_voidp = 0;
+ break;
+ }
+- int count = RARRAY(list)->len;
++ int count = RARRAY_LEN(list);
+ ItemList *cpplist = new ItemList;
+ long i;
+ for(i = 0; i < count; i++) {
+@@ -1211,7 +1219,7 @@ void marshall_Map(Marshall *m) {
+ // Convert the ruby hash to an array of key/value arrays
+ VALUE temp = rb_funcall(hash, rb_intern("to_a"), 0);
+
+- for (long i = 0; i < RARRAY(temp)->len; i++) {
++ for (long i = 0; i < RARRAY_LEN(temp); i++) {
+ VALUE key = rb_ary_entry(rb_ary_entry(temp, i), 0);
+ VALUE value = rb_ary_entry(rb_ary_entry(temp, i), 1);
+
+@@ -1316,7 +1324,7 @@ void marshall_TQMapTQCStringDCOPRef(Marshall *m) {
+ // Convert the ruby hash to an array of key/value arrays
+ VALUE temp = rb_funcall(hash, rb_intern("to_a"), 0);
+
+- for (long i = 0; i < RARRAY(temp)->len; i++) {
++ for (long i = 0; i < RARRAY_LEN(temp); i++) {
+ VALUE key = rb_ary_entry(rb_ary_entry(temp, i), 0);
+ VALUE value = rb_ary_entry(rb_ary_entry(temp, i), 1);
+
+diff --git a/qtruby/bin/Makefile.am b/qtruby/bin/Makefile.am
+index e53bd0f..0e1dbdb 100644
+--- a/qtruby/bin/Makefile.am
++++ b/qtruby/bin/Makefile.am
+@@ -1,4 +1,4 @@
+-INCLUDES = $(all_includes) -I$(RUBY_ARCHDIR)
++INCLUDES = $(all_includes) -I$(RUBY_ARCHDIR) $(RUBY_CFLAGS)
+
+ bin_PROGRAMS = qtrubyinit
+ qtrubyinit_LDFLAGS = -module $(all_libraries) -version-info 0:0:0 -L$(top_srcdir)/smoke/qt/ -L$(RUBY_LIBDIR)
+diff --git a/qtruby/bin/qtrubyinit.cpp b/qtruby/bin/qtrubyinit.cpp
+index c4e8024..65c00c4 100644
+--- a/qtruby/bin/qtrubyinit.cpp
++++ b/qtruby/bin/qtrubyinit.cpp
+@@ -1,5 +1,13 @@
+ #include <ruby.h>
+
++#include "config.h"
++
++#ifndef HAVE_RUBY_1_9
++#define RARRAY_LEN(x) (RARRAY(x)->len)
++#define RSTRING_LEN(x) (RSTRING(x)->len)
++#define rb_str_catf_1 rb_str_catf
++#endif
++
+ /***************************************************************************
+ qrubyinit - makes use of kdeinit_wrapper possible for ruby programs
+ -------------------
+@@ -24,6 +32,6 @@ static const char* script_name = "qrubyinit_app";
+ int main(int argc, char **argv) {
+ ruby_init();
+ ruby_script((char*)script_name);
+- ruby_options(argc, argv);
+- ruby_run();
++ void* node = ruby_options(argc, argv);
++ ruby_run_node(node);
+ }
+diff --git a/qtruby/rubylib/designer/uilib/Makefile.am b/qtruby/rubylib/designer/uilib/Makefile.am
+index 04ce1c8..9900635 100644
+--- a/qtruby/rubylib/designer/uilib/Makefile.am
++++ b/qtruby/rubylib/designer/uilib/Makefile.am
+@@ -1,7 +1,7 @@
+-INCLUDES = -I$(top_srcdir)/smoke -I$(top_srcdir)/qtruby/rubylib/qtruby $(all_includes) -I$(RUBY_ARCHDIR)
++INCLUDES = -I$(top_srcdir)/smoke -I$(top_srcdir)/qtruby/rubylib/qtruby $(all_includes) -I$(RUBY_ARCHDIR) $(RUBY_CFLAGS)
+
+ rubylibdir = $(RUBY_ARCHDIR)
+ rubylib_LTLIBRARIES = qui.la
+ qui_la_SOURCES = qui.cpp
+ qui_la_LDFLAGS = -module -export-dynamic $(all_libraries) -version-info 0:0:0
+-qui_la_LIBADD = -lqui
+\ No newline at end of file
++qui_la_LIBADD = -lqui
+diff --git a/qtruby/rubylib/qtruby/Qt.cpp b/qtruby/rubylib/qtruby/Qt.cpp
+index 3d71cfc..370ad6d 100644
+--- a/qtruby/rubylib/qtruby/Qt.cpp
++++ b/qtruby/rubylib/qtruby/Qt.cpp
+@@ -60,6 +60,14 @@
+ #include "smokeruby.h"
+ #include "smoke.h"
+
++#include "config.h"
++
++#ifndef HAVE_RUBY_1_9
++#define RARRAY_LEN(x) (RARRAY(x)->len)
++#define RSTRING_LEN(x) (RSTRING(x)->len)
++#define rb_str_catf_1 rb_str_catf
++#endif
++
+ // #define DEBUG
+
+ #define QTRUBY_VERSION "1.0.13"
+@@ -110,7 +118,7 @@ bool application_terminated = false;
+ };
+
+ #define logger logger_backend
+-void rb_str_catf(VALUE self, const char *format, ...) __attribute__ ((format (printf, 2, 3)));
++void rb_str_catf_1(VALUE self, const char *format, ...) __attribute__ ((format (printf, 2, 3)));
+
+ static VALUE (*_new_kde)(int, VALUE *, VALUE) = 0;
+ static VALUE (*_kconfigskeletonitem_immutable)(VALUE) = 0;
+@@ -820,7 +828,7 @@ public:
+ }
+ };
+
+-void rb_str_catf(VALUE self, const char *format, ...)
++void rb_str_catf_1(VALUE self, const char *format, ...)
+ {
+ va_list ap;
+ va_start(ap, format);
+@@ -985,16 +993,16 @@ VALUE prettyPrintMethod(Smoke::Index id)
+ VALUE r = rb_str_new2("");
+ Smoke::Method &meth = qt_Smoke->methods[id];
+ const char *tname = qt_Smoke->types[meth.ret].name;
+- if(meth.flags & Smoke::mf_static) rb_str_catf(r, "static ");
+- rb_str_catf(r, "%s ", (tname ? tname:"void"));
+- rb_str_catf(r, "%s::%s(", qt_Smoke->classes[meth.classId].className, qt_Smoke->methodNames[meth.name]);
++ if(meth.flags & Smoke::mf_static) rb_str_catf_1(r, "static ");
++ rb_str_catf_1(r, "%s ", (tname ? tname:"void"));
++ rb_str_catf_1(r, "%s::%s(", qt_Smoke->classes[meth.classId].className, qt_Smoke->methodNames[meth.name]);
+ for(int i = 0; i < meth.numArgs; i++) {
+- if(i) rb_str_catf(r, ", ");
++ if(i) rb_str_catf_1(r, ", ");
+ tname = qt_Smoke->types[qt_Smoke->argumentList[meth.args+i]].name;
+- rb_str_catf(r, "%s", (tname ? tname:"void"));
++ rb_str_catf_1(r, "%s", (tname ? tname:"void"));
+ }
+- rb_str_catf(r, ")");
+- if(meth.flags & Smoke::mf_const) rb_str_catf(r, " const");
++ rb_str_catf_1(r, ")");
++ if(meth.flags & Smoke::mf_const) rb_str_catf_1(r, " const");
+ return r;
+ }
+
+@@ -1177,7 +1185,7 @@ inspect_qobject(VALUE self)
+ // Start with #<Qt::HBoxLayout:0x30139030> from the original inspect() call
+ // Drop the closing '>'
+ VALUE inspect_str = rb_call_super(0, 0);
+- rb_str_resize(inspect_str, RSTRING(inspect_str)->len - 1);
++ rb_str_resize(inspect_str, RSTRING_LEN(inspect_str) - 1);
+
+ smokeruby_object * o = 0;
+ Data_Get_Struct(self, smokeruby_object, o);
+@@ -1220,7 +1228,7 @@ pretty_print_qobject(VALUE self, VALUE pp)
+ // Start with #<Qt::HBoxLayout:0x30139030>
+ // Drop the closing '>'
+ VALUE inspect_str = rb_funcall(self, rb_intern("to_s"), 0, 0);
+- rb_str_resize(inspect_str, RSTRING(inspect_str)->len - 1);
++ rb_str_resize(inspect_str, RSTRING_LEN(inspect_str) - 1);
+ rb_funcall(pp, rb_intern("text"), 1, inspect_str);
+ rb_funcall(pp, rb_intern("breakable"), 0);
+
+@@ -1236,7 +1244,7 @@ pretty_print_qobject(VALUE self, VALUE pp)
+ VALUE obj = getPointerObject(qobject->parent());
+ if (obj != Qnil) {
+ VALUE parent_inspect_str = rb_funcall(obj, rb_intern("to_s"), 0, 0);
+- rb_str_resize(parent_inspect_str, RSTRING(parent_inspect_str)->len - 1);
++ rb_str_resize(parent_inspect_str, RSTRING_LEN(parent_inspect_str) - 1);
+ parentInspectString = StringValuePtr(parent_inspect_str);
+ } else {
+ parentInspectString.sprintf("#<%s:0x0", qobject->parent()->className());
+@@ -1382,7 +1390,7 @@ static Smoke::Index new_qvariant_qmap = 0;
+ return *(c.var());
+ } else if ( argc == 1
+ && TYPE(argv[0]) == T_ARRAY
+- && RARRAY(argv[0])->len > 0
++ && RARRAY_LEN(argv[0]) > 0
+ && TYPE(rb_ary_entry(argv[0], 0)) != T_STRING )
+ {
+ _current_method = new_qvariant_qlist;
+@@ -1741,7 +1749,7 @@ new_qapplication(int argc, VALUE * argv, VALUE klass)
+ VALUE * local_argv = (VALUE *) calloc(argc + 1, sizeof(VALUE));
+ VALUE temp = rb_ary_dup(argv[0]);
+ rb_ary_unshift(temp, rb_gv_get("$0"));
+- local_argv[0] = INT2NUM(RARRAY(temp)->len);
++ local_argv[0] = INT2NUM(RARRAY_LEN(temp));
+ local_argv[1] = temp;
+ result = new_qt(2, local_argv, klass);
+ free(local_argv);
+@@ -1772,7 +1780,7 @@ qapplication_argv(VALUE /*self*/)
+ VALUE
+ getmetainfo(VALUE self, int &offset, int &index)
+ {
+- const char * signalname = rb_id2name(rb_frame_last_func());
++ const char * signalname = rb_id2name(rb_frame_this_func());
+ VALUE metaObject_value = rb_funcall(qt_internal_module, rb_intern("getMetaObject"), 1, self);
+
+ smokeruby_object *ometa = value_obj_info(metaObject_value);
+@@ -1862,7 +1870,7 @@ tqt_invoke(int /*argc*/, VALUE * argv, VALUE self)
+ // Now, I need to find out if this means me
+ int index;
+ char *slotname;
+- bool isSignal = qstrcmp(rb_id2name(rb_frame_last_func()), "qt_emit") == 0;
++ bool isSignal = qstrcmp(rb_id2name(rb_frame_this_func()), "qt_emit") == 0;
+ VALUE mocArgs = getslotinfo(self, id, slotname, index, isSignal);
+ if(mocArgs == Qnil) {
+ // No ruby slot/signal found, assume the target is a C++ one
+@@ -2009,7 +2017,7 @@ qbytearray_setRawData(VALUE self, VALUE data)
+ return Qnil;
+ }
+ TQByteArray * dataArray = (TQByteArray*) o->ptr;
+- dataArray->setRawData(StringValuePtr(data), RSTRING(data)->len);
++ dataArray->setRawData(StringValuePtr(data), RSTRING_LEN(data));
+ return self;
+ }
+
+@@ -2195,7 +2203,7 @@ make_QUMethod(VALUE /*self*/, VALUE name_value, VALUE params)
+ m->name = new char[strlen(name) + 1]; // this too
+ strcpy((char*)m->name, name);
+ m->parameters = 0;
+- m->count = RARRAY(params)->len;
++ m->count = RARRAY_LEN(params);
+
+ if (m->count > 0) {
+ m->parameters = new QUParameter[m->count];
+@@ -2213,7 +2221,7 @@ make_QUMethod(VALUE /*self*/, VALUE name_value, VALUE params)
+ static VALUE
+ make_QMetaData_tbl(VALUE /*self*/, VALUE list)
+ {
+- long count = RARRAY(list)->len;
++ long count = RARRAY_LEN(list);
+ QMetaData *m = new QMetaData[count];
+
+ for (long i = 0; i < count; i++) {
+@@ -2281,7 +2289,7 @@ add_metaobject_methods(VALUE self, VALUE klass)
+ static VALUE
+ add_signal_methods(VALUE self, VALUE klass, VALUE signalNames)
+ {
+- for (long index = 0; index < RARRAY(signalNames)->len; index++) {
++ for (long index = 0; index < RARRAY_LEN(signalNames); index++) {
+ VALUE signal = rb_ary_entry(signalNames, index);
+ rb_define_method(klass, StringValuePtr(signal), (VALUE (*) (...)) qt_signal, -1);
+ }
+@@ -2597,28 +2605,28 @@ dumpCandidates(VALUE /*self*/, VALUE rmeths)
+ {
+ VALUE errmsg = rb_str_new2("");
+ if(rmeths != Qnil) {
+- int count = RARRAY(rmeths)->len;
++ int count = RARRAY_LEN(rmeths);
+ for(int i = 0; i < count; i++) {
+- rb_str_catf(errmsg, "\t");
++ rb_str_catf_1(errmsg, "\t");
+ int id = NUM2INT(rb_ary_entry(rmeths, i));
+ Smoke::Method &meth = qt_Smoke->methods[id];
+ const char *tname = qt_Smoke->types[meth.ret].name;
+ if(meth.flags & Smoke::mf_enum) {
+- rb_str_catf(errmsg, "enum ");
+- rb_str_catf(errmsg, "%s::%s", qt_Smoke->classes[meth.classId].className, qt_Smoke->methodNames[meth.name]);
+- rb_str_catf(errmsg, "\n");
++ rb_str_catf_1(errmsg, "enum ");
++ rb_str_catf_1(errmsg, "%s::%s", qt_Smoke->classes[meth.classId].className, qt_Smoke->methodNames[meth.name]);
++ rb_str_catf_1(errmsg, "\n");
+ } else {
+ if(meth.flags & Smoke::mf_static) rb_str_catf(errmsg, "static ");
+- rb_str_catf(errmsg, "%s ", (tname ? tname:"void"));
+- rb_str_catf(errmsg, "%s::%s(", qt_Smoke->classes[meth.classId].className, qt_Smoke->methodNames[meth.name]);
++ rb_str_catf_1(errmsg, "%s ", (tname ? tname:"void"));
++ rb_str_catf_1(errmsg, "%s::%s(", qt_Smoke->classes[meth.classId].className, qt_Smoke->methodNames[meth.name]);
+ for(int i = 0; i < meth.numArgs; i++) {
+- if(i) rb_str_catf(errmsg, ", ");
++ if(i) rb_str_catf_1(errmsg, ", ");
+ tname = qt_Smoke->types[qt_Smoke->argumentList[meth.args+i]].name;
+- rb_str_catf(errmsg, "%s", (tname ? tname:"void"));
++ rb_str_catf_1(errmsg, "%s", (tname ? tname:"void"));
+ }
+- rb_str_catf(errmsg, ")");
+- if(meth.flags & Smoke::mf_const) rb_str_catf(errmsg, " const");
+- rb_str_catf(errmsg, "\n");
++ rb_str_catf_1(errmsg, ")");
++ if(meth.flags & Smoke::mf_const) rb_str_catf_1(errmsg, " const");
++ rb_str_catf_1(errmsg, "\n");
+ }
+ }
+ }
+diff --git a/qtruby/rubylib/qtruby/handlers.cpp b/qtruby/rubylib/qtruby/handlers.cpp
+index 703c9d0..f3d0dda 100644
+--- a/qtruby/rubylib/qtruby/handlers.cpp
++++ b/qtruby/rubylib/qtruby/handlers.cpp
+@@ -47,6 +47,14 @@
+ #define HINT_BYTES HINT_BYTE
+ #endif
+
++#include "config.h"
++
++#ifndef HAVE_RUBY_1_9
++#define RARRAY_LEN(x) (RARRAY(x)->len)
++#define RSTRING_LEN(x) (RSTRING(x)->len)
++#define rb_str_catf_1 rb_str_catf
++#endif
++
+ extern "C" {
+ extern VALUE set_obj_info(const char * className, smokeruby_object * o);
+ extern VALUE qt_internal_module;
+@@ -755,7 +763,7 @@ static void marshall_charP(Marshall *m) {
+ break;
+ }
+
+- int len = RSTRING(rv)->len;
++ int len = RSTRING_LEN(rv);
+ char* mem = (char*) malloc(len+1);
+ memcpy(mem, StringValuePtr(rv), len);
+ mem[len] ='\0';
+@@ -788,7 +796,7 @@ void marshall_ucharP(Marshall *m) {
+ m->item().s_voidp = 0;
+ break;
+ }
+- int len = RSTRING(rv)->len;
++ int len = RSTRING_LEN(rv);
+ char* mem = (char*) malloc(len+1);
+ memcpy(mem, StringValuePtr(rv), len);
+ mem[len] ='\0';
+@@ -824,7 +832,7 @@ qstringFromRString(VALUE rstring) {
+
+ TQString * s;
+ if (qstrcmp(KCODE, "UTF8") == 0)
+- s = new TQString(TQString::fromUtf8(StringValuePtr(rstring), RSTRING(rstring)->len));
++ s = new TQString(TQString::fromUtf8(StringValuePtr(rstring), RSTRING_LEN(rstring)));
+ else if (qstrcmp(KCODE, "EUC") == 0)
+ s = new TQString(codec->toUnicode(StringValuePtr(rstring)));
+ else if (qstrcmp(KCODE, "SJIS") == 0)
+@@ -832,7 +840,7 @@ qstringFromRString(VALUE rstring) {
+ else if(qstrcmp(KCODE, "NONE") == 0)
+ s = new TQString(TQString::fromLatin1(StringValuePtr(rstring)));
+ else
+- s = new TQString(TQString::fromLocal8Bit(StringValuePtr(rstring), RSTRING(rstring)->len));
++ s = new TQString(TQString::fromLocal8Bit(StringValuePtr(rstring), RSTRING_LEN(rstring)));
+ return s;
+ }
+
+@@ -944,7 +952,7 @@ static void marshall_TQCString(Marshall *m) {
+ s = new TQCString();
+ } else {
+ // Add 1 to the ruby string length to allow for a TQCString '\0' terminator
+- s = new TQCString(StringValuePtr(*(m->var())), RSTRING(*(m->var()))->len + 1);
++ s = new TQCString(StringValuePtr(*(m->var())), RSTRING_LEN(*(m->var())) + 1);
+ }
+ m->item().s_voidp = s;
+
+@@ -1007,7 +1015,7 @@ static void marshall_TQCOORD_array(Marshall *m) {
+ m->item().s_voidp = 0;
+ break;
+ }
+- int count = RARRAY(av)->len;
++ int count = RARRAY_LEN(av);
+ QCOORD *coord = new QCOORD[count + 2];
+ for(long i = 0; i < count; i++) {
+ VALUE svp = rb_ary_entry(av, i);
+@@ -1167,15 +1175,15 @@ static void marshall_charP_array(Marshall *m) {
+ VALUE arglist = *(m->var());
+ if (arglist == Qnil
+ || TYPE(arglist) != T_ARRAY
+- || RARRAY(arglist)->len == 0 )
++ || RARRAY_LEN(arglist) == 0 )
+ {
+ m->item().s_voidp = 0;
+ break;
+ }
+
+- char **argv = new char *[RARRAY(arglist)->len + 1];
++ char **argv = new char *[RARRAY_LEN(arglist) + 1];
+ long i;
+- for(i = 0; i < RARRAY(arglist)->len; i++) {
++ for(i = 0; i < RARRAY_LEN(arglist); i++) {
+ VALUE item = rb_ary_entry(arglist, i);
+ char *s = StringValuePtr(item);
+ argv[i] = new char[strlen(s) + 1];
+@@ -1207,7 +1215,7 @@ void marshall_TQStringList(Marshall *m) {
+ break;
+ }
+
+- int count = RARRAY(list)->len;
++ int count = RARRAY_LEN(list);
+ TQStringList *stringlist = new QStringList;
+
+ for(long i = 0; i < count; i++) {
+@@ -1269,7 +1277,7 @@ void marshall_TQStrList(Marshall *m) {
+ break;
+ }
+
+- int count = RARRAY(list)->len;
++ int count = RARRAY_LEN(list);
+ TQStrList *stringlist = new QStrList;
+
+ for(long i = 0; i < count; i++) {
+@@ -1278,7 +1286,7 @@ void marshall_TQStrList(Marshall *m) {
+ stringlist->append(TQString());
+ continue;
+ }
+- stringlist->append(TQString::fromUtf8(StringValuePtr(item), RSTRING(item)->len));
++ stringlist->append(TQString::fromUtf8(StringValuePtr(item), RSTRING_LEN(item)));
+ }
+
+ m->item().s_voidp = stringlist;
+@@ -1331,7 +1339,7 @@ void marshall_ItemList(Marshall *m) {
+ m->item().s_voidp = 0;
+ break;
+ }
+- int count = RARRAY(list)->len;
++ int count = RARRAY_LEN(list);
+ ItemList *cpplist = new ItemList;
+ long i;
+ for(i = 0; i < count; i++) {
+@@ -1421,7 +1429,7 @@ void marshall_TQValueListInt(Marshall *m) {
+ m->item().s_voidp = 0;
+ break;
+ }
+- int count = RARRAY(list)->len;
++ int count = RARRAY_LEN(list);
+ TQValueList<int> *valuelist = new TQValueList<int>;
+ long i;
+ for(i = 0; i < count; i++) {
+@@ -1513,7 +1521,7 @@ void marshall_TQMapTQStringTQString(Marshall *m) {
+ // Convert the ruby hash to an array of key/value arrays
+ VALUE temp = rb_funcall(hash, rb_intern("to_a"), 0);
+
+- for (long i = 0; i < RARRAY(temp)->len; i++) {
++ for (long i = 0; i < RARRAY_LEN(temp); i++) {
+ VALUE key = rb_ary_entry(rb_ary_entry(temp, i), 0);
+ VALUE value = rb_ary_entry(rb_ary_entry(temp, i), 1);
+ (*map)[TQString(StringValuePtr(key))] = TQString(StringValuePtr(value));
+@@ -1569,7 +1577,7 @@ void marshall_TQMapTQStringTQVariant(Marshall *m) {
+ // Convert the ruby hash to an array of key/value arrays
+ VALUE temp = rb_funcall(hash, rb_intern("to_a"), 0);
+
+- for (long i = 0; i < RARRAY(temp)->len; i++) {
++ for (long i = 0; i < RARRAY_LEN(temp); i++) {
+ VALUE key = rb_ary_entry(rb_ary_entry(temp, i), 0);
+ VALUE value = rb_ary_entry(rb_ary_entry(temp, i), 1);
+
+@@ -1673,7 +1681,7 @@ void marshall_TQRgb_array(Marshall *m) {
+ m->item().s_voidp = 0;
+ break;
+ }
+- int count = RARRAY(list)->len;
++ int count = RARRAY_LEN(list);
+ QRgb *rgb = new QRgb[count + 2];
+ long i;
+ for(i = 0; i < count; i++) {
+@@ -1702,7 +1710,7 @@ void marshall_TQPairintint(Marshall *m) {
+ case Marshall::FromVALUE:
+ {
+ VALUE list = *(m->var());
+- if (TYPE(list) != T_ARRAY || RARRAY(list)->len != 2) {
++ if (TYPE(list) != T_ARRAY || RARRAY_LEN(list) != 2) {
+ m->item().s_voidp = 0;
+ break;
+ }
+@@ -1770,7 +1778,7 @@ void marshall_ValueItemList(Marshall *m) {
+ m->item().s_voidp = 0;
+ break;
+ }
+- int count = RARRAY(list)->len;
++ int count = RARRAY_LEN(list);
+ ItemList *cpplist = new ItemList;
+ long i;
+ for(i = 0; i < count; i++) {
diff --git a/redhat/kdebindings/kdebindings-3.5.13.1-fix_rhel5_ftbfs.patch b/redhat/kdebindings/kdebindings-3.5.13.1-fix_rhel5_ftbfs.patch
new file mode 100644
index 000000000..326e7c72e
--- /dev/null
+++ b/redhat/kdebindings/kdebindings-3.5.13.1-fix_rhel5_ftbfs.patch
@@ -0,0 +1,31 @@
+--- kdebindings-3.5.13.1/qtruby/rubylib/qtruby/Qt.cpp.OLD 2012-09-29 20:08:00.156164195 +0200
++++ kdebindings-3.5.13.1/qtruby/rubylib/qtruby/Qt.cpp 2012-09-29 20:08:43.936538689 +0200
+@@ -1782,7 +1782,7 @@
+ VALUE
+ getmetainfo(VALUE self, int &offset, int &index)
+ {
+- const char * signalname = rb_id2name(rb_frame_this_func());
++ const char * signalname = rb_id2name(rb_frame_last_func());
+ VALUE metaObject_value = rb_funcall(qt_internal_module, rb_intern("getMetaObject"), 1, self);
+
+ smokeruby_object *ometa = value_obj_info(metaObject_value);
+@@ -1872,7 +1872,7 @@
+ // Now, I need to find out if this means me
+ int index;
+ char *slotname;
+- bool isSignal = qstrcmp(rb_id2name(rb_frame_this_func()), "qt_emit") == 0;
++ bool isSignal = qstrcmp(rb_id2name(rb_frame_last_func()), "qt_emit") == 0;
+ VALUE mocArgs = getslotinfo(self, id, slotname, index, isSignal);
+ if(mocArgs == Qnil) {
+ // No ruby slot/signal found, assume the target is a C++ one
+--- kdebindings-3.5.13.1/korundum/rubylib/korundum/Korundum.cpp.OLD 2012-09-29 20:11:43.597168589 +0200
++++ kdebindings-3.5.13.1/korundum/rubylib/korundum/Korundum.cpp 2012-09-29 20:11:56.908163792 +0200
+@@ -936,7 +936,7 @@
+ {
+ VALUE dcopObject = rb_funcall(kde_module, rb_intern("createDCOPObject"), 1, self);
+
+- TQString signalname(rb_id2name(rb_frame_this_func()));
++ TQString signalname(rb_id2name(rb_frame_last_func()));
+ VALUE args = getdcopinfo(self, signalname);
+
+ if(args == Qnil) return Qfalse;
diff --git a/redhat/kdebindings/kdebindings-3.5.13.1-fix_ruby_detect_when_pc_file_is_19.patch b/redhat/kdebindings/kdebindings-3.5.13.1-fix_ruby_detect_when_pc_file_is_19.patch
new file mode 100644
index 000000000..f9fc1aec8
--- /dev/null
+++ b/redhat/kdebindings/kdebindings-3.5.13.1-fix_ruby_detect_when_pc_file_is_19.patch
@@ -0,0 +1,55 @@
+commit 10fc891a7e282d2cbab27ab53d9b980147fadb9a
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1348248800 -0500
+
+ Fix Ruby detection when .pc file is ruby-1.9
+
+diff --git a/korundum/rubylib/korundum/configure.in.in b/korundum/rubylib/korundum/configure.in.in
+index 924f42f..e19d5b4 100644
+--- a/korundum/rubylib/korundum/configure.in.in
++++ b/korundum/rubylib/korundum/configure.in.in
+@@ -10,15 +10,17 @@ else
+ AC_MSG_CHECKING(for ruby dirs)
+ if test -n "$PKGCONFIG"; then
+ RUBY_VERSION=`$PKGCONFIG ruby --modversion 2>/dev/null`
+- if test -z "$RUBY_VERSION"; then
++ if test -n "$RUBY_VERSION"; then
++ RUBY_CFLAGS=`$PKGCONFIG ruby --cflags`
++ else
+ RUBY_VERSION=`$PKGCONFIG ruby-1.9 --modversion 2>/dev/null`
++ RUBY_CFLAGS=`$PKGCONFIG ruby-1.9 --cflags`
+ fi
+ if test -n "$RUBY_VERSION"; then
+ RUBY_ARCHDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"archdir"@:>@)'`
+ RUBY_SITEARCHDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"sitearchdir"@:>@)'`
+ RUBY_SITEDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"sitelibdir"@:>@)'`
+ RUBY_RUBYLIBDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubylibdir"@:>@)'`
+- RUBY_CFLAGS=`$PKGCONFIG ruby --cflags`
+ AC_DEFINE_UNQUOTED(HAVE_RUBY_1_9, 1, [Defines if your system has Ruby 1.9.x])
+ fi
+ fi
+diff --git a/qtruby/rubylib/qtruby/configure.in.in b/qtruby/rubylib/qtruby/configure.in.in
+index e7f4f2c..f0594c6 100644
+--- a/qtruby/rubylib/qtruby/configure.in.in
++++ b/qtruby/rubylib/qtruby/configure.in.in
+@@ -10,8 +10,11 @@ else
+ AC_MSG_CHECKING(for ruby dirs)
+ if test -n "$PKGCONFIG"; then
+ RUBY_VERSION=`$PKGCONFIG ruby --modversion 2>/dev/null`
+- if test -z "$RUBY_VERSION"; then
++ if test -n "$RUBY_VERSION"; then
++ RUBY_CFLAGS=`$PKGCONFIG ruby --cflags`
++ else
+ RUBY_VERSION=`$PKGCONFIG ruby-1.9 --modversion 2>/dev/null`
++ RUBY_CFLAGS=`$PKGCONFIG ruby-1.9 --cflags`
+ fi
+ if test -n "$RUBY_VERSION"; then
+ RUBY_ARCHDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"archdir"@:>@)'`
+@@ -20,7 +23,6 @@ else
+ RUBY_RUBYLIBDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubylibdir"@:>@)'`
+ RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"libdir"@:>@)'`
+ RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
+- RUBY_CFLAGS=`$PKGCONFIG ruby --cflags`
+ AC_DEFINE_UNQUOTED(HAVE_RUBY_1_9, 1, [Defines if your system has Ruby 1.9.x])
+ fi
+ fi
diff --git a/redhat/kdebindings/kdebindings-3.5.13.1-set_have_ruby19.patch b/redhat/kdebindings/kdebindings-3.5.13.1-set_have_ruby19.patch
new file mode 100644
index 000000000..9c41fd9eb
--- /dev/null
+++ b/redhat/kdebindings/kdebindings-3.5.13.1-set_have_ruby19.patch
@@ -0,0 +1,30 @@
+commit 46659f992d49f86347c43528a8705657b6896cb7
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1347384077 -0500
+
+ Set HAVE_RUBY_1_9 if ruby 1.9.x installed
+
+diff --git a/korundum/rubylib/korundum/configure.in.in b/korundum/rubylib/korundum/configure.in.in
+index e0d581b..e4ab2fd 100644
+--- a/korundum/rubylib/korundum/configure.in.in
++++ b/korundum/rubylib/korundum/configure.in.in
+@@ -16,6 +16,7 @@ else
+ RUBY_SITEDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"sitelibdir"@:>@)'`
+ RUBY_RUBYLIBDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubylibdir"@:>@)'`
+ RUBY_CFLAGS=`$PKGCONFIG ruby --cflags`
++ AC_DEFINE_UNQUOTED(HAVE_RUBY_1_9, 1, [Defines if your system has Ruby 1.9.x])
+ fi
+ fi
+ if test -z "$RUBY_VERSION"; then
+diff --git a/qtruby/rubylib/qtruby/configure.in.in b/qtruby/rubylib/qtruby/configure.in.in
+index a875b2f..7ad0e4d 100644
+--- a/qtruby/rubylib/qtruby/configure.in.in
++++ b/qtruby/rubylib/qtruby/configure.in.in
+@@ -18,6 +18,7 @@ else
+ RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"libdir"@:>@)'`
+ RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
+ RUBY_CFLAGS=`$PKGCONFIG ruby --cflags`
++ AC_DEFINE_UNQUOTED(HAVE_RUBY_1_9, 1, [Defines if your system has Ruby 1.9.x])
+ fi
+ fi
+ if test -z "$RUBY_VERSION"; then
diff --git a/redhat/kdebindings/kdebindings-3.5.13.1-use_cflags_from_pc_file.patch b/redhat/kdebindings/kdebindings-3.5.13.1-use_cflags_from_pc_file.patch
new file mode 100644
index 000000000..ba6a6175f
--- /dev/null
+++ b/redhat/kdebindings/kdebindings-3.5.13.1-use_cflags_from_pc_file.patch
@@ -0,0 +1,78 @@
+commit c1faffb8ed0ebae85f21eb3e3ca81a2692a81ae9
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1347382645 -0500
+
+ Use cflags from ruby pc file
+
+diff --git a/korundum/rubylib/korundum/Makefile.am b/korundum/rubylib/korundum/Makefile.am
+index 5642728..541e3f5 100644
+--- a/korundum/rubylib/korundum/Makefile.am
++++ b/korundum/rubylib/korundum/Makefile.am
+@@ -1,4 +1,4 @@
+-INCLUDES = -I$(top_srcdir)/smoke -I$(top_srcdir)/qtruby/rubylib/qtruby $(all_includes) -I$(RUBY_ARCHDIR)
++INCLUDES = -I$(top_srcdir)/smoke -I$(top_srcdir)/qtruby/rubylib/qtruby $(all_includes) -I$(RUBY_ARCHDIR) $(RUBY_CFLAGS)
+
+ rubylibdir = $(RUBY_ARCHDIR)
+ rubylib_LTLIBRARIES = korundum.la
+diff --git a/korundum/rubylib/korundum/configure.in.in b/korundum/rubylib/korundum/configure.in.in
+index 5782123..e0d581b 100644
+--- a/korundum/rubylib/korundum/configure.in.in
++++ b/korundum/rubylib/korundum/configure.in.in
+@@ -15,6 +15,7 @@ else
+ RUBY_SITEARCHDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"sitearchdir"@:>@)'`
+ RUBY_SITEDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"sitelibdir"@:>@)'`
+ RUBY_RUBYLIBDIR=`ruby -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubylibdir"@:>@)'`
++ RUBY_CFLAGS=`$PKGCONFIG ruby --cflags`
+ fi
+ fi
+ if test -z "$RUBY_VERSION"; then
+@@ -23,10 +24,11 @@ else
+ RUBY_SITEDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"sitelibdir"@:>@)'`
+ RUBY_RUBYLIBDIR=`ruby -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"rubylibdir"@:>@)'`
+ fi
+- AC_MSG_RESULT([archdir $RUBY_ARCHDIR, sitearchdir $RUBY_SITEARCHDIR, sitedir $RUBY_SITEDIR])
++ AC_MSG_RESULT([archdir $RUBY_ARCHDIR, sitearchdir $RUBY_SITEARCHDIR, sitedir $RUBY_SITEDIR, cflags $RUBY_CFLAGS])
+ AC_SUBST(RUBY_ARCHDIR)
+ AC_SUBST(RUBY_SITEARCHDIR)
+ AC_SUBST(RUBY_RUBYLIBDIR)
+ AC_SUBST(RUBY_SITEDIR)
++ AC_SUBST(RUBY_CFLAGS)
+ fi
+
+diff --git a/qtruby/rubylib/qtruby/Makefile.am b/qtruby/rubylib/qtruby/Makefile.am
+index 156f80a..56b320f 100644
+--- a/qtruby/rubylib/qtruby/Makefile.am
++++ b/qtruby/rubylib/qtruby/Makefile.am
+@@ -1,4 +1,4 @@
+-INCLUDES = -I$(top_srcdir)/smoke $(all_includes) -I$(RUBY_ARCHDIR)
++INCLUDES = -I$(top_srcdir)/smoke $(all_includes) -I$(RUBY_ARCHDIR) $(RUBY_CFLAGS)
+
+ noinst_HEADERS = qtruby.h marshall.h smokeruby.h extconf.rb
+
+diff --git a/qtruby/rubylib/qtruby/configure.in.in b/qtruby/rubylib/qtruby/configure.in.in
+index 3cfa630..a875b2f 100644
+--- a/qtruby/rubylib/qtruby/configure.in.in
++++ b/qtruby/rubylib/qtruby/configure.in.in
+@@ -17,6 +17,7 @@ else
+ RUBY_RUBYLIBDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"rubylibdir"@:>@)'`
+ RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"libdir"@:>@)'`
+ RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",RbConfig::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
++ RUBY_CFLAGS=`$PKGCONFIG ruby --cflags`
+ fi
+ fi
+ if test -z "$RUBY_VERSION"; then
+@@ -27,12 +28,13 @@ else
+ RUBY_LIBDIR=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"libdir"@:>@)'`
+ RUBY_LIBRUBYARG=`$RUBY -r rbconfig -e 'printf("%s",Config::CONFIG@<:@"LIBRUBYARG_SHARED"@:>@)'`
+ fi
+- AC_MSG_RESULT([archdir $RUBY_ARCHDIR, sitearchdir $RUBY_SITEARCHDIR, sitedir $RUBY_SITEDIR, libdir $RUBY_LIBDIR, librubyarg $RUBY_LIBRUBYARG])
++ AC_MSG_RESULT([archdir $RUBY_ARCHDIR, sitearchdir $RUBY_SITEARCHDIR, sitedir $RUBY_SITEDIR, libdir $RUBY_LIBDIR, librubyarg $RUBY_LIBRUBYARG, cflags $RUBY_CFLAGS])
+ AC_SUBST(RUBY_ARCHDIR)
+ AC_SUBST(RUBY_SITEARCHDIR)
+ AC_SUBST(RUBY_SITEDIR)
+ AC_SUBST(RUBY_RUBYLIBDIR)
+ AC_SUBST(RUBY_LIBDIR)
+ AC_SUBST(RUBY_LIBRUBYARG)
++ AC_SUBST(RUBY_CFLAGS)
+ fi
+
diff --git a/redhat/kdebindings/trinity-kdebindings-3.5.13.1.spec b/redhat/kdebindings/trinity-kdebindings-3.5.13.1.spec
new file mode 100644
index 000000000..3f0a6abf5
--- /dev/null
+++ b/redhat/kdebindings/trinity-kdebindings-3.5.13.1.spec
@@ -0,0 +1,1100 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-tdebindings
+Summary: TDE bindings to non-C++ languages
+Version: 3.5.13.1
+Release: 1%{?dist}%{_variant}
+
+License: GPLv2
+Group: User Interface/Desktops
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: kdebindings-3.5.13.1.tar.gz
+
+# RedHat Legacy patches (from Fedora)
+Patch1: kdebindings-3.5.6-libgcj.patch
+
+# [kdebindings] Removes 'hpi' support in openjdk (obsolete in openjdk 1.7.0) [Bug #978]
+Patch2: kdebindings-3.5.13-openjdk_remove_hpi_support.patch
+# [kdebindings] Fix directory for dcopc include
+Patch6: kdebindings-3.5.13-fix_dcopc_header_location.patch
+# [kdebindings] Fix FTBFS in dcopjava/bindings
+Patch7: kdebindings-3.5.13.1-fix_dcopjava_ldflags.patch
+
+# [tdebindings] Detect presence of Ruby pkg-config file and adjust directory search accordingly [Commit #de49c748]
+Patch10: kdebindings-3.5.13.1-detect_ruby_pkg.patch
+# [tdebindings] Use cflags from ruby pc file [Commit #c1faffb8]
+Patch11: kdebindings-3.5.13.1-use_cflags_from_pc_file.patch
+# [tdebindings] Set HAVE_RUBY_1_9 if ruby 1.9.x installed [Commit #46659f99]
+Patch12: kdebindings-3.5.13.1-set_have_ruby19.patch
+# [tdebindings] Fix FTBS on ruby 1.9.x [Commit #ef7a6086]
+Patch13: kdebindings-3.5.13.1-fix_ftbfs_ruby19.patch
+# [tdebindings] Fix FTBFS on ruby 1.8.x [Commit #14594d81]
+Patch14: kdebindings-3.5.13.1-fix_ftbfs_ruby18.patch
+# [tdebindings] Fall back to ruby-1.9 pkgconfig file if needed [Commit #2f6e9c73]
+Patch15: kdebindings-3.5.13.1-fallback_to_ruby19_pc_file.patch
+# [tdebindings] Fix Ruby detection when .pc file is ruby-1.9 [Commit #10fc891a]
+Patch16: kdebindings-3.5.13.1-fix_ruby_detect_when_pc_file_is_19.patch
+# [tdebindings] Fix FTBFS on x86 systems [Commit #a901a123]
+Patch17: kdebindings-3.5.13.1-fix_ftbfs_on_x86.patch
+# [tdebindings] Function 'rb_frame_this_func' does not exist in RHEL5
+Patch18: kdebindings-3.5.13.1-fix_rhel5_ftbfs.patch
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+
+BuildRequires: desktop-file-utils
+BuildRequires: zlib-devel
+BuildRequires: perl(ExtUtils::MakeMaker)
+
+%if 0%{?rhel} == 4
+BuildRequires: evolution28-gtk2-devel
+%else
+BuildRequires: gtk2-devel
+BuildRequires: xulrunner-devel
+%endif
+
+%if 0%{?fedora} || 0%{?rhel}
+%define with_gtk1 1
+BuildRequires: glib-devel
+BuildRequires: gtk+-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+%define with_gtk1 1
+BuildRequires: %{_lib}glib1.2-devel
+BuildRequires: %{_lib}gtk+-devel
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}gdk_pixbuf2.0-devel
+%else
+%if 0%{?fedora} >= 17
+BuildRequires: gdk-pixbuf2-devel
+%else
+BuildRequires: gdk-pixbuf-devel
+%endif
+%endif
+
+
+## Python
+BuildRequires: python-devel
+%define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")
+
+## ruby
+BuildRequires: ruby-devel >= 1.8, ruby
+%{!?ruby_arch: %define ruby_arch %(ruby -rrbconfig -e 'puts Config::CONFIG["archdir"]')}
+%{!?ruby_rubylibdir: %define ruby_rubylibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["rubylibdir"]')}
+# Ruby 1.9 includes are located in strance directories ... (taken from ruby 1.9 spec file)
+%global _normalized_cpu %(echo %{_target_cpu} | sed 's/^ppc/powerpc/;s/i.86/i386/;s/sparcv./sparc/;s/armv.*/arm/')
+
+## java
+%if 0%{?rhel} > 0 && 0%{?rhel} < 6
+BuildRequires: java-1.4.2-gcj-compat-devel
+BuildRequires: libgcj-devel
+BuildRequires: gcc-java
+%else
+BuildRequires: java-openjdk
+BuildRequires: java-devel >= 1.4.2
+%if 0%{?fedora} >= 17 || 0%{?suse_version} >= 1220
+BuildRequires: java-1.7.0-openjdk-devel
+%else
+BuildRequires: java-1.6.0-openjdk-devel
+%endif
+%endif
+
+%if 0%{?suse_version}
+%define java_home %{_usr}/%{_lib}/jvm/java
+%else
+%if 0%{?rhel} == 4
+%define java_home %{_usr}/lib/jvm/java-1.4.2-gcj-1.4.2.0
+%else
+%define java_home %{_usr}/lib/jvm/java
+%endif
+%endif
+%define _with_java --with-java=%{java_home}
+
+## Perl
+# There is no 'perl-devel' package on RHEL5
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion}
+BuildRequires: perl-devel
+%endif
+%define perl_vendorarch %{expand:%%(eval `perl -V:installvendorarch`; echo $installvendorarch)}
+
+
+Obsoletes: trinity-kdebindings < %{version}-%{release}
+Provides: trinity-kdebindings = %{version}-%{release}
+
+# Metapackage requires
+Requires: trinity-tdebindings-java = %{version}-%{release}
+Requires: trinity-libsmokeqt1 = %{version}-%{release}
+Requires: trinity-libsmokekde1 = %{version}-%{release}
+Requires: trinity-perl-dcop = %{version}-%{release}
+Requires: trinity-python-dcop = %{version}-%{release}
+Requires: trinity-libkjsembed1 = %{version}-%{release}
+Requires: trinity-kjscmd = %{version}-%{release}
+Requires: trinity-juic = %{version}-%{release}
+Requires: trinity-libkorundum0-ruby = %{version}-%{release}
+Requires: trinity-libqt0-ruby = %{version}-%{release}
+
+
+%description
+TDE/DCOP bindings to non-C++ languages
+
+%files
+
+##########
+
+%package java
+Summary: TDE Java bindings metapackage [Trinity]
+Group: Environment/Libraries
+Requires: trinity-libdcop3-java = %{version}-%{release}
+Requires: trinity-libdcop3-jni = %{version}-%{release}
+Requires: trinity-libqt3-java = %{version}-%{release}
+Requires: trinity-libqt3-jni = %{version}-%{release}
+Requires: trinity-libtrinity-java = %{version}-%{release}
+Requires: trinity-libtrinity-jni = %{version}-%{release}
+
+%description java
+A metapackage depending on all TDE, Qt and DCOP bindings libraries
+related to the Java language.
+
+This package is part of the official TDE bindings module.
+
+%files java
+%defattr(-,root,root,-)
+
+##########
+
+%package -n trinity-libdcop3-java
+Summary: DCOP bindings for Java [Trinity]
+Group: Environment/Libraries
+
+Requires: trinity-libdcop3-jni = %{version}-%{release}
+
+%description -n trinity-libdcop3-java
+This package contains the Java classes necessary to run Java programs
+using the Java DCOP bindings. DCOP is the TDE Desktop COmmunications
+Protocol, used for communicating with running TDE applications.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libdcop3-java
+%defattr(-,root,root,-)
+#%{tde_datadir}/java/dcopjava*.jar
+%{tde_libdir}/java/org/kde/DCOP/*.class
+
+##########
+
+%package -n trinity-libdcop3-java-devel
+Summary: DCOP bindings for Java (dcopidl2java program) [Trinity]
+Group: Development/Libraries
+Requires: trinity-libdcop3-java = %{version}-%{release}
+
+%description -n trinity-libdcop3-java-devel
+This package contains the dcopidl2java program which generates Java
+stubs from DCOP IDL files, necessary to do development with the DCOP Java
+bindings. DCOP is the TDE Desktop COmmunications Protocol, used for
+communicating with running TDE applications.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libdcop3-java-devel
+%defattr(-,root,root,-)
+%{tde_bindir}/dcopidl2java
+
+##########
+
+%package -n trinity-libdcop3-jni
+Summary: DCOP bindings for Java ( Native libraries ) [Trinity]
+Group: Environment/Libraries
+
+%description -n trinity-libdcop3-jni
+This package contains the shared libraries and scripts necessary to
+run programs using the Java DCOP bindings. DCOP is the TDE Desktop
+COmmunications Protocol, used for communicating with running TDE
+applications.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libdcop3-jni
+%defattr(-,root,root,-)
+%{tde_libdir}/libjavadcop.la
+%{tde_libdir}/libjavadcop.so
+
+%post -n trinity-libdcop3-jni
+/sbin/ldconfig || :
+
+%postun -n trinity-libdcop3-jni
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libqt3-java
+Summary: Java bindings for Qt [Trinity]
+Group: Environment/Libraries
+Requires: trinity-libdcop3-jni = %{version}-%{release}
+Requires: trinity-libqt3-jni = %{version}-%{release}
+Requires: trinity-juic = %{version}-%{release}
+
+%description -n trinity-libqt3-java
+This package contains the Java classes necessary to run Java programs
+using the Java Qt bindings. Qt is a very popular GUI toolkit, used by
+the TDE desktop environment.
+
+It also includes many example programs that make use of these bindings,
+plus many of the Qt Tutorial examples translated into Java.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libqt3-java
+%defattr(-,root,root,-)
+%{tde_libdir}/java/qtjava*.jar
+%{tde_tdedocdir}/HTML/en/javalib/
+
+##########
+
+%package -n trinity-libqt3-jni
+Summary: Java bindings for Qt ( Native libraries ) [Trinity]
+Group: Environment/Libraries
+
+%description -n trinity-libqt3-jni
+This package contains the shared libraries necessary to run Java
+programs using the Java Qt bindings. Qt is a very popular GUI
+toolkit, used by the TDE desktop environment.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libqt3-jni
+%defattr(-,root,root,-)
+%{tde_libdir}/libqtjavasupport.la
+%{tde_libdir}/libqtjavasupport.so.*
+%{tde_libdir}/jni/libqtjava.la
+%{tde_libdir}/jni/libqtjava.so.*
+%doc qtjava/ChangeLog
+
+##########
+
+%package -n trinity-libqt3-jni-devel
+Summary: Development files fo Java bindings for Qt ( Native libraries ) [Trinity]
+Group: Development/Libraries
+Requires: trinity-libqt3-jni = %{version}-%{release}
+
+%description -n trinity-libqt3-jni-devel
+This package contains the development files for trinity-libqt3-jni.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libqt3-jni-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libqtjavasupport.so
+%{tde_libdir}/jni/libqtjava.so
+
+##########
+
+%package -n trinity-libtrinity-java
+Summary: tdelibs bindings for Java [Trinity]
+Group: Environment/Libraries
+
+Requires: trinity-libtrinity-jni = %{version}-%{release}
+
+%description -n trinity-libtrinity-java
+This package contains the Java classes necessary to run Java programs
+using the Java tdelibs bindings. TDE is the Trinity Desktop Environment, a
+very popular UNIX Desktop Environment.
+
+It also includes some example applications that use these Java
+classes, and multiple usage samples of the most common TDE classes.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libtrinity-java
+%defattr(-,root,root,-)
+%{tde_libdir}/java/koala*.jar
+
+##########
+
+%package -n trinity-libtrinity-jni
+Summary: tdelibs bindings for java ( Native libraries ) [Trinity]
+Group: Environment/Libraries
+
+%description -n trinity-libtrinity-jni
+This package contains the shared libraries necessary to run Java
+programs using the Java tdelibs bindings. TDE is the Trinity Desktop
+Environment, a very popular UNIX Desktop Environment.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libtrinity-jni
+%defattr(-,root,root,-)
+%{tde_libdir}/jni/libkdejava.la
+%{tde_libdir}/jni/libkdejava.so.*
+%doc kdejava/ChangeLog
+
+##########
+
+%package -n trinity-libtrinity-jni-devel
+Summary: Development files for tdelibs bindings for java ( Native libraries ) [Trinity]
+Group: Development/Libraries
+Requires: trinity-libtrinity-jni = %{version}-%{release}
+
+%description -n trinity-libtrinity-jni-devel
+This package contains the development files for trinity-libtrinity-jni.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libtrinity-jni-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/jni/libkdejava.so
+
+##########
+
+%package -n trinity-libsmokeqt1
+Summary: SMOKE Binding Library to Qt
+Group: Environment/Libraries
+
+%description -n trinity-libsmokeqt1
+The "Scripting Meta Object Kompiler Engine" library is used by
+various TDE language bindings packages to provide interfaces to the
+Qt library.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libsmokeqt1
+%defattr(-,root,root,-)
+%{tde_libdir}/libsmokeqt.so.*
+
+%post -n trinity-libsmokeqt1
+/sbin/ldconfig || :
+
+%postun -n trinity-libsmokeqt1
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libsmokeqt-devel
+Summary: SMOKE Binding Library to Qt - Development Files
+Group: Development/Libraries
+Requires: trinity-libsmokeqt1 = %{version}-%{release}
+
+%description -n trinity-libsmokeqt-devel
+The "Scripting Meta Object Kompiler Engine" library is used by
+various TDE language bindings packages to provide interfaces to the
+Qt library. This package contains the development files for the
+library.
+
+If you are a normal user, you probably don't need this
+package.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libsmokeqt-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/smoke.h
+%{tde_libdir}/libsmokeqt.so
+%{tde_libdir}/libsmokeqt.la
+
+%post -n trinity-libsmokeqt-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libsmokeqt-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libsmokekde1
+Summary: SMOKE Binding Library to TDE
+Group: Environment/Libraries
+
+%description -n trinity-libsmokekde1
+The "Scripting Meta Object Kompiler Engine" library is used by
+various TDE language bindings packages to provide interfaces to the
+TDE libraries.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libsmokekde1
+%defattr(-,root,root,-)
+%{tde_libdir}/libsmokekde.so.*
+
+%post -n trinity-libsmokekde1
+/sbin/ldconfig || :
+
+%postun -n trinity-libsmokekde1
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libsmokekde-devel
+Summary: SMOKE Binding Library to TDE - Development Files
+Group: Development/Libraries
+Requires: trinity-libsmokekde1 = %{version}-%{release}
+
+%description -n trinity-libsmokekde-devel
+The "Scripting Meta Object Kompiler Engine" library is used by
+various TDE language bindings packages to provide interfaces to the
+Qt and TDE libraries. This package contains the development files for
+the library.
+
+If you are a normal user, you probably don't need this
+package.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libsmokekde-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libsmokekde.so
+%{tde_libdir}/libsmokekde.la
+
+%post -n trinity-libsmokekde-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libsmokekde-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-perl-dcop
+Summary: DCOP Bindings for Perl
+Group: Development/Libraries
+
+Obsoletes: trinity-kdebindings-dcopperl < %{version}-%{release}
+Provides: trinity-kdebindings-dcopperl = %{version}-%{release}
+
+%description -n trinity-perl-dcop
+Perl bindings to the DCOP interprocess communication protocol used by TDE
+
+%files -n trinity-perl-dcop
+%defattr(-,root,root,-)
+%{perl_vendorarch}/auto/DCOP/*
+%{perl_vendorarch}/DCOP.pm
+%{perl_vendorarch}/DCOP/*
+%doc dcopperl/AUTHORS dcopperl/Changes dcopperl/README dcopperl/TODO
+%{tde_mandir}/man3/DCOP.3pm*
+
+##########
+
+%package -n trinity-python-dcop
+Summary: DCOP bindings for Python
+Group: Environment/Libraries
+Requires: python
+#Provides: %{name}-dcoppython = %{version}-%{release}
+
+%description -n trinity-python-dcop
+This package contains the shared libraries necessary to run and
+develop Python programs using the Python DCOP bindings
+libraries. DCOP is the TDE Desktop COmmunications Protocol, used for
+communicating with running TDE applications.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-python-dcop
+%defattr(-,root,root,-)
+%{python_sitearch}/pcop.la
+%{python_sitearch}/pcop.so
+%{python_sitearch}/pydcop.py*
+
+##########
+
+%package -n trinity-libkjsembed1
+Summary: Embedded JavaScript library
+Group: Environment/Libraries
+
+%description -n trinity-libkjsembed1
+This package contains the shared libraries necessary to run programs
+linked with the KJSEmbed library. This library provides JavaScript
+embedded scripting facilities to TDE applications.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libkjsembed1
+%defattr(-,root,root,-)
+%{tde_libdir}/libkjsembed.so.*
+%{tde_tdelibdir}/libimagefxplugin.la
+%{tde_tdelibdir}/libimagefxplugin.so
+%{tde_datadir}/services/imagefx_plugin.desktop
+%{tde_tdelibdir}/libqprocessplugin.so
+%{tde_tdelibdir}/libqprocessplugin.la
+%{tde_datadir}/services/qprocess_plugin.desktop
+%{tde_tdelibdir}/libfileitemplugin.la
+%{tde_tdelibdir}/libfileitemplugin.so
+%{tde_datadir}/services/kfileitem_plugin.desktop
+%{tde_datadir}/apps/kjsembed/cmdline.js
+%{tde_datadir}/servicetypes/binding_type.desktop
+%{tde_bindir}/embedjs
+%{tde_datadir}/apps/embedjs/embedjsui.rc
+%{tde_datadir}/applnk/Utilities/embedjs.desktop
+%{tde_datadir}/icons/hicolor/16x16/apps/embedjs.png
+%{tde_datadir}/icons/hicolor/32x32/apps/embedjs.png
+%{tde_tdelibdir}/libjavascript.la
+%{tde_tdelibdir}/libjavascript.so
+%{tde_datadir}/apps/kate/scripts/swaptabs.js
+%{tde_datadir}/apps/kate/scripts/swaptabs.ui
+%{tde_datadir}/apps/kate/scripts/swaptabs.desktop
+%{tde_datadir}/services/javascript.desktop
+%doc kjsembed/docs/ChangeLog
+
+%post -n trinity-libkjsembed1
+/sbin/ldconfig ||:
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database >& /dev/null ||:
+
+%postun -n trinity-libkjsembed1
+/sbin/ldconfig ||:
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database >& /dev/null ||:
+
+##########
+
+%package -n trinity-libkjsembed-devel
+Summary: Embedded JavaScript library (Development files)
+Group: Development/Libraries
+Requires: trinity-libkjsembed1 = %{version}-%{release}
+
+%description -n trinity-libkjsembed-devel
+This package contains the header files and symbolic links necessary
+to develop and compile programs using the KJSEmbed library. This
+library provides JavaScript embedded scripting facilities to TDE
+applications.
+
+It also includes lots of example programs that make use of these
+bindings, plus comprehensive documentation of the bindings.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libkjsembed-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kjsembed/
+%{tde_libdir}/libkjsembed.so
+%{tde_libdir}/libkjsembed.la
+%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+
+%post -n trinity-libkjsembed-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkjsembed-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kjscmd
+Summary: A script interpreter using the TDE JavaScript library
+Group: Environment/Libraries
+
+%description -n trinity-kjscmd
+This package contains the kjscmd program, which is a standalone
+JavaScript interpreter using the KJSEmbed library.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-kjscmd
+%defattr(-,root,root,-)
+%{tde_bindir}/kjscmd
+%{tde_tdeappdir}/kjscmd.desktop
+%{tde_mandir}/man1/kjscmd.*
+%{tde_tdelibdir}/libjsconsoleplugin.la
+%{tde_tdelibdir}/libjsconsoleplugin.so
+
+%post -n trinity-kjscmd
+update-desktop-database >& /dev/null ||:
+
+%postun -n trinity-kjscmd
+update-desktop-database >& /dev/null ||:
+
+##########
+
+%package -n trinity-juic
+Summary: The Qt Java UI Compiler
+Group: Environment/Libraries
+Requires: trinity-libqt3-java = %{version}-%{release}
+
+%description -n trinity-juic
+This package contains the juic program, which is used to convert
+a UI description file generated by the Qt Designer, and converts
+it into a Qt Java class. It is necessary for compiling and
+developing programs using the Qt Java bindings together with Qt
+Designer.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-juic
+%defattr(-,root,root,-)
+%{tde_bindir}/juic
+%{tde_datadir}/juic/
+
+##########
+
+%package -n trinity-libkorundum0-ruby
+Summary: TDE bindings for Ruby [Trinity]
+Group: Environment/Libraries
+Requires: trinity-libqt0-ruby = %{version}-%{release}
+
+%description -n trinity-libkorundum0-ruby
+This package contains the files necessary for running and developing
+Ruby code using the Korundum TDE Ruby bindings.
+
+It also includes some example programs and templates that make use of
+these bindings.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libkorundum0-ruby
+%defattr(-,root,root,-)
+%{tde_bindir}/rbkdesh
+%{tde_bindir}/rbkdeapi
+%{tde_bindir}/krubyinit
+%{tde_bindir}/rbkconfig_compiler
+%{ruby_rubylibdir}/Korundum.rb
+%{ruby_rubylibdir}/KDE/korundum.rb
+%{ruby_arch}/korundum.la
+%{ruby_arch}/korundum.so*
+%doc korundum/ChangeLog
+
+%post -n trinity-libkorundum0-ruby
+/sbin/ldconfig || :
+
+%postun -n trinity-libkorundum0-ruby
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libqt0-ruby
+Summary: Qt bindings for Ruby [Trinity]
+Group: Environment/Libraries
+Requires: ruby
+
+%description -n trinity-libqt0-ruby
+This package contains the files necessary for running and developing
+Ruby code using the Qt Ruby bindings.
+
+It also includes some example programs that make use of these bindings,
+plus many of the Qt Tutorial examples translated into Ruby.
+
+This package is part of the official TDE bindings module.
+
+%files -n trinity-libqt0-ruby
+%defattr(-,root,root,-)
+%{tde_bindir}/rbqtsh
+%{tde_bindir}/rbqtapi
+%{tde_bindir}/rbuic
+%{tde_bindir}/qtrubyinit
+%{ruby_rubylibdir}/Qt/qtruby.rb
+%{ruby_rubylibdir}/Qt.rb
+%{ruby_arch}/qtruby.so*
+%{ruby_arch}/qtruby.la
+%{ruby_arch}/qui.so*
+%{ruby_arch}/qui.la
+%doc qtruby/ChangeLog
+
+%post -n trinity-libqt0-ruby
+/sbin/ldconfig || :
+
+%postun -n trinity-libqt0-ruby
+/sbin/ldconfig || :
+
+##########
+
+%if 0
+%package -n trinity-kmozilla
+Summary: Kmozilla for TDE
+Group: Environment/Libraries
+
+%description -n trinity-kmozilla
+%{summary}
+
+%files -n trinity-kmozilla
+%defattr(-,root,root,-)
+%{tde_bindir}/kmozilla
+%{tde_libdir}/libkmozillapart.so.*
+%{tde_libdir}/libkmozillapart.so
+%{tde_libdir}/libkmozillapart.la
+%{tde_datadir}/services/kmozilla.desktop
+%endif
+
+##########
+
+%package -n trinity-xpart-notepad
+Summary: A small XPart editor
+Group: Applications/Utilities
+
+%description -n trinity-xpart-notepad
+xpart_notepad is a small XPart editor. Use it to understand how to use XPart.
+
+%files -n trinity-xpart-notepad
+%defattr(-,root,root,-)
+%{tde_bindir}/shell_xparthost
+%{tde_bindir}/xp_notepad
+%{tde_libdir}/libxp_notepadpart.la
+%{tde_libdir}/libxp_notepadpart.so
+%{tde_libdir}/libxp_notepadpart.so.*
+%{tde_datadir}/services/xp_notepad.desktop
+%doc xparts/xpart_notepad/README
+
+%post -n trinity-xpart-notepad
+/sbin/ldconfig || :
+
+%postun -n trinity-xpart-notepad
+/sbin/ldconfig || :
+
+##########
+
+%if 0%{?with_gtk1}
+%package -n trinity-libgtkxparts1
+Summary: Xparts library for GTK
+Group: Environment/Libraries
+
+%description -n trinity-libgtkxparts1
+%{summary}
+
+%files -n trinity-libgtkxparts1
+%defattr(-,root,root,-)
+%{tde_libdir}/libgtkxparts.so.*
+%{tde_libdir}/libgtkxparts.la
+
+%post -n trinity-libgtkxparts1
+/sbin/ldconfig || :
+
+%postun -n trinity-libgtkxparts1
+/sbin/ldconfig || :
+%endif
+
+##########
+
+%package -n trinity-libkdexparts1
+Summary: Xparts library for KDE
+Group: Environment/Libraries
+
+%description -n trinity-libkdexparts1
+%{summary}
+
+%files -n trinity-libkdexparts1
+%defattr(-,root,root,-)
+%{tde_libdir}/libkdexparts.so.*
+%{tde_libdir}/libkdexparts.la
+
+%post -n trinity-libkdexparts1
+/sbin/ldconfig || :
+
+%postun -n trinity-libkdexparts1
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libxparts-devel
+Summary: Xparts development files
+Group: Development/Libraries
+%if 0%{?with_gtk1}
+Requires: trinity-libgtkxparts1 = %{version}-%{release}
+%endif
+Requires: trinity-libkdexparts1 = %{version}-%{release}
+
+%description -n trinity-libxparts-devel
+%{summary}
+
+%files -n trinity-libxparts-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/xkparts/
+%if 0%{?with_gtk1}
+%{tde_libdir}/libgtkxparts.so
+%endif
+%{tde_libdir}/libkdexparts.so
+
+%post -n trinity-libxparts-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libxparts-devel
+/sbin/ldconfig || :
+
+##########
+
+%package xparts-extras
+Summary: Extra xparts for TDE [Trinity]
+Group: Environment/Libraries
+
+# Metapckage requires
+Requires: trinity-xpart-notepad = %{version}-%{release}
+%if 0%{?with_gtk1}
+Requires: trinity-libgtkxparts1 = %{version}-%{release}
+%endif
+Requires: trinity-libkdexparts1 = %{version}-%{release}
+Requires: trinity-libdcop-c = %{version}-%{release}
+
+%description xparts-extras
+This package contains extra xparts-based modules for Trinity
+This includes the mozilla-konqueror plugin
+
+This package is part of the official TDE bindings module.
+
+%files xparts-extras
+
+###########
+
+%package -n trinity-libdcop-c
+Summary: DCOP bindings for C [Trinity]
+Group: Environment/Libraries
+
+%description -n trinity-libdcop-c
+%{summary}
+
+%files -n trinity-libdcop-c
+%defattr(-,root,root,-)
+%{tde_libdir}/libdcopc.so.*
+
+%post -n trinity-libdcop-c
+/sbin/ldconfig || :
+
+%postun -n trinity-libdcop-c
+/sbin/ldconfig || :
+
+###########
+
+%package -n trinity-libdcop-c-devel
+Summary: DCOP bindings for C, development files [Trinity]
+Group: Development/Libraries
+Requires: trinity-libdcop-c = %{version}-%{release}
+
+%description -n trinity-libdcop-c-devel
+%{summary}
+
+%files -n trinity-libdcop-c-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libdcopc.so
+%{tde_libdir}/libdcopc.la
+%{tde_tdeincludedir}/dcopc/
+
+%post -n trinity-libdcop-c-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libdcop-c-devel
+/sbin/ldconfig || :
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: trinity-tdelibs-devel
+
+Obsoletes: trinity-kdebindings-devel < %{version}-%{release}
+Provides: trinity-kdebindings-devel = %{version}-%{release}
+
+# Metapackage
+Requires: trinity-libsmokeqt-devel = %{version}-%{release}
+Requires: trinity-libdcop3-java-devel = %{version}-%{release}
+Requires: trinity-libsmokekde-devel = %{version}-%{release}
+Requires: trinity-libkjsembed-devel = %{version}-%{release}
+Requires: trinity-libxparts-devel = %{version}-%{release}
+Requires: trinity-libdcop-c-devel = %{version}-%{release}
+Requires: trinity-libqt3-jni-devel = %{version}-%{release}
+Requires: trinity-libtrinity-jni-devel = %{version}-%{release}
+
+%description devel
+Development files for the TDE bindings.
+
+%files devel
+
+##########
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n kdebindings-3.5.13.1
+%patch1 -p1 -b .libgcj
+
+%if 0%{?fedora} >= 17 || 0%{?suse_version} >= 1220
+%patch2 -p1 -b .libhpi
+%endif
+%patch6 -p1 -b .dcopcinclude
+%patch7 -p1 -b .dcopjavaldflags
+
+%patch10 -p1 -b .ruby19
+%patch11 -p1 -b .ruby19
+%patch12 -p1 -b .ruby19
+%patch13 -p1 -b .ruby19
+%patch14 -p1 -b .ruby19
+%patch15 -p1 -b .ruby19
+%patch16 -p1 -b .ruby19
+%patch17 -p1 -b .ruby19
+%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
+%patch18 -p1 -b .ruby
+%endif
+
+# Adds non-standard Ruby include path in include dirs
+%if 0%{?rhel} == 5
+#for d in \
+# qtruby/rubylib/qtruby \
+# qtruby/rubylib/designer/uilib \
+# qtruby/bin \
+# korundum/rubylib/korundum \
+# korundum/bin \
+#; do
+# echo -e "\nINCLUDES += -I%{_usr}/include/%{_normalized_cpu}-%{_target_os}" >> "${d}/Makefile.am"
+#done
+%endif
+
+# Disable kmozilla, it does not build with recent xulrunner (missing 'libmozjs.so')
+%__sed -i "xparts/Makefile.am" \
+ -e "s|SUBDIRS = .*|SUBDIRS = src xpart_notepad|"
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i "admin/acinclude.m4.in" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; source /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+unset JAVA_HOME ||:
+%{?java_home:JAVA_HOME=%{java_home}; export JAVA_HOME}
+
+# sip/PyQt/PyKDE built separately, not here
+export DO_NOT_COMPILE="$DO_NOT_COMPILE python"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --docdir=%{tde_docdir} \
+ --includedir=%{tde_tdeincludedir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --disable-rpath \
+ --enable-new-ldflags \
+ --disable-debug --disable-warnings \
+ --disable-dependency-tracking \
+ --with-extra-libs=%{tde_libdir} \
+ --with-pythondir=%{_usr} \
+ --enable-closure \
+ --enable-final \
+ %{?_with_java} %{!?_with_java:--without-java} \
+ %{?_enable_qscintilla} %{!?_enable_qscintilla:--disable-qscintilla} \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+pushd dcopperl
+CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
+
+# Ugly hack to add TQT include directory in Makefile
+# Also modifies the man pages directory
+sed -i Makefile \
+ -e "s|^\(INC = .*\)|\1 -I%{tde_includedir}/tqt|" \
+ -e "s|/usr/share/man|%{tde_mandir}|g"
+
+%__make OPTIMIZE="$RPM_OPT_FLAGS" ||:
+popd
+
+# smoke (not smp-safe)
+%__make -C smoke
+
+# The rest is smp-safe
+%__make %{?_smp_mflags} PYTHON=%{__python}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf $RPM_BUILD_ROOT
+
+%__make install DESTDIR=%{?buildroot} \
+ PYTHON=%{__python}
+
+# Removes some perl files
+find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
+ -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
+
+# locale's
+%find_lang %{name} || touch %{name}.lang
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d $RPM_BUILD_ROOT$HTML_DIR ]; then
+for lang_dir in $RPM_BUILD_ROOT$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# Installs juic
+%__install -D -m 755 qtjava/designer/juic/bin/juic %{?buildroot}%{tde_bindir}/juic
+%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/common
+%__install qtjava/designer/juic/common/*.xml %{?buildroot}%{tde_datadir}/juic/common
+%__install qtjava/designer/juic/common/*.xsl %{?buildroot}%{tde_datadir}/juic/common
+%__install -d -m 755 %{?buildroot}%{tde_datadir}/juic/java
+%__install qtjava/designer/juic/java/*.xml %{?buildroot}%{tde_datadir}/juic/java
+%__install qtjava/designer/juic/java/*.xsl %{?buildroot}%{tde_datadir}/juic/java
+%__install qtjava/designer/juic/juic.xsl %{?buildroot}%{tde_datadir}/juic
+
+# kjsembed sample files
+%__install -d -m 755 %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install kjsembed/plugins/customobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install kjsembed/plugins/customobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install kjsembed/plugins/customobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install kjsembed/plugins/customqobject_plugin.cpp %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install kjsembed/plugins/customqobject_plugin.h %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+%__install kjsembed/plugins/customqobject_plugin.desktop %{?buildroot}%{tde_docdir}/trinity-libkjsembed-devel/plugin-examples/customobject/
+
+
+# Man installation location is wrong on RHEL4...
+if [ -d "%{buildroot}%{_mandir}/man3" ]; then
+ mv -f %{buildroot}%{_mandir}/man3 %{buildroot}%{tde_mandir}/man3/
+ rm -rf %{buildroot}%{_mandir}
+fi
+
+
+%clean
+%__rm -rf $RPM_BUILD_ROOT
+
+
+
+%changelog
+* Sat Sep 29 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/kdeedu/trinity-kdeedu-3.5.13.1.spec b/redhat/kdeedu/trinity-kdeedu-3.5.13.1.spec
new file mode 100644
index 000000000..026b60d99
--- /dev/null
+++ b/redhat/kdeedu/trinity-kdeedu-3.5.13.1.spec
@@ -0,0 +1,1400 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+# Required for Mageia 2: removes the ldflag '--no-undefined'
+%define _disable_ld_no_undefined 1
+
+Name: trinity-tdeedu
+Summary: Educational/Edutainment applications
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2
+Group: Amusements/Games
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: kdeedu-3.5.13.1.tar.gz
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: desktop-file-utils
+BuildRequires: trinity-kdelibs-devel
+BuildRequires: python-devel python
+BuildRequires: boost-devel
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15
+BuildRequires: ocaml(compiler)
+%else
+BuildRequires: ocaml
+%endif
+
+Obsoletes: trinity-kdeedu < %{version}-%{release}
+Provides: trinity-kdeedu = %{version}-%{release}
+Obsoletes: trinity-kdeedu-libs < %{version}-%{release}
+Provides: trinity-kdeedu-libs = %{version}-%{release}
+
+# Meta-package
+Requires: %{name}-data = %{version}-%{release}
+Requires: trinity-blinken = %{version}-%{release}
+Requires: trinity-kalzium = %{version}-%{release}
+Requires: trinity-kalzium-data = %{version}-%{release}
+Requires: trinity-kanagram = %{version}-%{release}
+Requires: trinity-kbruch = %{version}-%{release}
+Requires: trinity-keduca = %{version}-%{release}
+Requires: trinity-kgeography = %{version}-%{release}
+Requires: trinity-kgeography-data = %{version}-%{release}
+Requires: trinity-khangman = %{version}-%{release}
+Requires: trinity-kig = %{version}-%{release}
+Requires: trinity-kiten = %{version}-%{release}
+Requires: trinity-klatin = %{version}-%{release}
+Requires: trinity-klettres = %{version}-%{release}
+Requires: trinity-klettres-data = %{version}-%{release}
+Requires: trinity-kmplot = %{version}-%{release}
+Requires: trinity-kpercentage = %{version}-%{release}
+Requires: trinity-kstars = %{version}-%{release}
+Requires: trinity-kstars-data = %{version}-%{release}
+Requires: trinity-ktouch = %{version}-%{release}
+Requires: trinity-kturtle = %{version}-%{release}
+Requires: trinity-kverbos = %{version}-%{release}
+Requires: trinity-kvoctrain = %{version}-%{release}
+Requires: trinity-kwordquiz = %{version}-%{release}
+Requires: trinity-libtdeedu3 = %{version}-%{release}
+Requires: trinity-libkiten1 = %{version}-%{release}
+Requires: trinity-indi = %{version}-%{release}
+
+
+%description
+Educational/Edutainment applications, including:
+* blinken: Simon Says Game
+* kalzium: Periodic Table of Elements
+* kanagram: Letter Order Game
+* kbruch: Exercise Fractions
+* keduca: Tests and Exams
+* kgeography: Geography Trainer
+* khangman: Hangman Game
+* kig: Interactive Geometry
+* kiten: Japanese Reference/Study Tool
+* klatin: Latin Reviser
+* klettres: French alphabet tutor
+* kmplot: Mathematical Function Plotter
+* kpercentage: Excersie Percentages
+* kstars: Desktop Planetarium
+* ktouch: Touch Typing Tutor
+* kturtle: Logo Programming Environment
+* kverbos: Study Spanish Verbforms
+* kvoctrain: Vocabulary Trainer
+* kwordquiz: Vocabulary Trainer
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING README
+
+##########
+
+%package data
+Summary: shared data for Trinity educational applications
+Group: Amusements/Games
+
+%description data
+This package contains shared data necessary for running the
+educational applications provided with KDE (the K Desktop
+Environment).
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files data
+%defattr(-,root,root,-)
+%{tde_datadir}/applnk/Edutainment/Languages/.directory
+%{tde_datadir}/applnk/Edutainment/Miscellaneous/.directory
+%{tde_datadir}/applnk/Edutainment/Mathematics/.directory
+%{tde_datadir}/applnk/Edutainment/Science/.directory
+%{tde_datadir}/applnk/Edutainment/Tools/.directory
+
+##########
+
+%package -n trinity-blinken
+Summary: Trinity version of the Simon Says electronic memory game
+Group: Amusements/Games
+#Requires: sj-delphine-fonts
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-blinken
+Blinken is based on an electronic game released in 1978, which
+challenges players to remember sequences of increasing length. On
+the face of the device, there are 4 different color buttons, each
+with its own distinctive sound. These buttons light up randomly,
+creating the sequence that the player must then recall. If the
+player is successful in remembering the sequence of lights in the
+correct order, they advance to the next stage, where an identical
+sequence with one extra step is presented.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-blinken
+%defattr(-,root,root,-)
+%{tde_bindir}/blinken
+%{tde_tdeappdir}/blinken.desktop
+%{tde_datadir}/apps/blinken/
+%{tde_datadir}/config.kcfg/blinken.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/blinken.png
+%{tde_datadir}/icons/hicolor/scalable/apps/blinken.svgz
+%{tde_tdedocdir}/HTML/en/blinken/
+
+%post -n trinity-blinken
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-blinken
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kalzium
+Summary: chemistry teaching tool for Trinity
+Group: Amusements/Games
+Requires: trinity-kalzium-data = %{version}-%{release}
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kalzium
+Kalzium is a program which shows you the Periodic System of Elements
+(PSE). You can use Kalzium to search for information about the
+elements or to learn facts about the PSE.
+
+Kalzium provides you with all kinds of information about the PSE.
+You can look up lots of information about the elements and also use
+visualisations to show them.
+
+You can visualise the Periodic Table of the Elements by blocks,
+groups, acidic behavior or different states of matter. You can also
+plot data for a range of elements (weight, mean weight, density, IE1,
+IE2, electronegativity), and you can go back in time to see what
+elements were known at a given date. In addition, on platforms where
+OCaml supports native code generation, Kalzium includes a chemical
+equation solver.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-kalzium
+%defattr(-,root,root,-)
+%{tde_bindir}/kalzium
+%{tde_tdeappdir}/kalzium.desktop
+%{tde_datadir}/config.kcfg/kalzium.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kalzium.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kalzium.svgz
+%{tde_tdedocdir}/HTML/en/kalzium/
+
+%post -n trinity-kalzium
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kalzium
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kalzium-data
+Summary: data files for Kalzium
+Group: Amusements/Games
+
+%description -n trinity-kalzium-data
+This package contains architecture-independent data files for
+Kalzium, the KDE periodic table application. This includes pictures
+of various chemical equipment and of samples of several elements, in
+addition to the actual chemical data.
+
+See the kalzium package for further information.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-kalzium-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kalzium/
+
+##########
+
+%package -n trinity-kanagram
+Summary: letter order game for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kanagram
+KAnagram is a game that is based on the word/letter puzzles that the
+author played as a child. A word is picked at random and displayed
+with its letters in a messed order, with difficulty dependent on the
+chosen level. You have an unlimited number of attempts, and scores
+are kept.
+
+It is a very simply constructed game, with 3 difficulty levels of
+play. It is fully customizable, allowing you to write in your own
+words and set your own 'look and feel' of the game. It is aimed for
+children aged 10+ because of the difficulty, but of course everyone
+is welcome to try.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-kanagram
+%defattr(-,root,root,-)
+%{tde_bindir}/kanagram
+%{tde_tdeappdir}/kanagram.desktop
+%{tde_datadir}/apps/kanagram/
+%{tde_datadir}/config.kcfg/kanagram.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kanagram.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kanagram.svgz
+%{tde_tdedocdir}/HTML/en/kanagram/
+
+%post -n trinity-kanagram
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kanagram
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kbruch
+Summary: fraction calculation teaching tool for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kbruch
+KBruch is a small program to practice calculating with fractions.
+Different exercises are provided for this purpose. The program
+checks the user's input and gives feedback.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-kbruch
+%defattr(-,root,root,-)
+%{tde_bindir}/kbruch
+%{tde_datadir}/apps/kbruch/kbruchui.rc
+%{tde_tdeappdir}/kbruch.desktop
+%{tde_datadir}/config.kcfg/kbruch.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kbruch.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kbruch.svgz
+%{tde_datadir}/icons/crystalsvg/*/actions/kbruch_*.png
+%{tde_tdedocdir}/HTML/en/kbruch/
+
+%post -n trinity-kbruch
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbruch
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-keduca
+Summary: interactive form-based tests for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-keduca
+KEduca is a flash-card application which allows you to make
+interactive form-based tests.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-keduca
+%defattr(-,root,root,-)
+%{tde_bindir}/keduca
+%{tde_bindir}/keducabuilder
+%{tde_tdelibdir}/libkeducapart.la
+%{tde_tdelibdir}/libkeducapart.so
+%{tde_tdeappdir}/keduca.desktop
+%{tde_tdeappdir}/keducabuilder.desktop
+%{tde_datadir}/apps/keduca/
+%{tde_datadir}/config.kcfg/keduca.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/keduca.png
+%{tde_datadir}/mimelnk/application/x-edu.desktop
+%{tde_datadir}/mimelnk/application/x-edugallery.desktop
+%{tde_datadir}/services/keduca_part.desktop
+%{tde_tdedocdir}/HTML/en/keduca/
+
+%post -n trinity-keduca
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-keduca
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kgeography
+Summary: Geography learning tool for Trinity
+Group: Amusements/Games
+Requires: trinity-kgeography-data = %{version}-%{release}
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kgeography
+KGeography contains maps allowing you to learn various countries or
+the political divisions of several countries. It has several modes,
+including a map browser and games involving the names, capitals, or
+flags of the map divisions.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-kgeography
+%defattr(-,root,root,-)
+%{tde_bindir}/kgeography
+%{tde_tdeappdir}/kgeography.desktop
+%{tde_datadir}/config.kcfg/kgeography.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/kgeography.png
+%{tde_datadir}/icons/crystalsvg/scalable/apps/kgeography.svgz
+%{tde_datadir}/icons/hicolor/*/apps/kgeography.png
+%{tde_tdedocdir}/HTML/en/kgeography
+
+%post -n trinity-kgeography
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kgeography
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kgeography-data
+Summary: data files for KGeography
+Group: Amusements/Games
+
+%description -n trinity-kgeography-data
+This package contains architecture-independent data files for
+KGeography, the geography learning tool for KDE. This includes map
+and flag images.
+
+See the kgeography package for further information.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-kgeography-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kgeography/
+
+##########
+
+%package -n trinity-khangman
+Summary: the classical hangman game for Trinity
+Group: Amusements/Games
+#Requires: dustin-dustismo-sans-fonts
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-khangman
+KHangMan is a game based on the well known hangman game. It is aimed
+for children aged 6 and above. It has four levels of difficulty:
+Animals (animals words), Easy, Medium and Hard.
+
+A word is picked at random and the letters are hidden. You must
+guess the word by trying one letter after another. Each time you
+guess a wrong letter, a picture of a hangman is drawn. You must
+guess the word before getting hanged! You have 10 tries.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-khangman
+%defattr(-,root,root,-)
+%{tde_datadir}/config/khangmanrc
+%{tde_bindir}/khangman
+%{tde_tdeappdir}/khangman.desktop
+%{tde_datadir}/apps/khangman/
+%{tde_datadir}/config.kcfg/khangman.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/khangman.png
+%{tde_datadir}/icons/hicolor/scalable/apps/khangman.svgz
+%{tde_tdedocdir}/HTML/en/khangman/
+
+%post -n trinity-khangman
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-khangman
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kig
+Summary: interactive geometry program for KDE
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kig
+Kig is an application for interactive geometry. It is intended to
+serve two purposes:
+
+- to allow students to interactively explore mathematical figures and
+ concepts using the computer;
+- to serve as a WYSIWYG tool for drawing mathematical figures and
+ including them in other documents.
+
+With this program you can do geometry on a computer just like you
+would on a blackboard in a classroom. However, the program allows
+you to move and change parts of a geometrical drawing so that you can
+see how the other parts change as a result.
+
+Kig supports loci and user-defined macros. It also supports imports
+and exports to/from foreign file formats including Cabri, Dr. Geo,
+KGeo, KSeg and XFig.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-kig
+%defattr(-,root,root,-)
+%{tde_datadir}/config/magic/cabri.magic
+%{tde_datadir}/config/magic/drgeo.magic
+%{tde_bindir}/kig
+%{tde_bindir}/pykig.py*
+%{tde_tdelibdir}/kfile_drgeo.la
+%{tde_tdelibdir}/kfile_drgeo.so
+%{tde_tdelibdir}/kfile_kig.la
+%{tde_tdelibdir}/kfile_kig.so
+%{tde_tdelibdir}/libkigpart.la
+%{tde_tdelibdir}/libkigpart.so
+%{tde_tdeappdir}/kig.desktop
+%if 0%{?rhel} >= 6 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%{tde_datadir}/apps/katepart/syntax/python-kig.xml
+%endif
+%{tde_datadir}/apps/kig/
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/kig_doc.png
+%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kig_doc.svgz
+%{tde_datadir}/icons/hicolor/*/apps/kig.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kig.svgz
+%{tde_datadir}/mimelnk/application/x-cabri.desktop
+%{tde_datadir}/mimelnk/application/x-drgeo.desktop
+%{tde_datadir}/mimelnk/application/x-kig.desktop
+%{tde_datadir}/mimelnk/application/x-kgeo.desktop
+%{tde_datadir}/mimelnk/application/x-kseg.desktop
+%{tde_datadir}/services/kfile_drgeo.desktop
+%{tde_datadir}/services/kfile_kig.desktop
+%{tde_datadir}/services/kig_part.desktop
+%{tde_tdedocdir}/HTML/en/kig/
+
+%post -n trinity-kig
+for i in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kig
+for i in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kiten
+Summary: Japanese reference/study tool for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+#Requires: ttf-kochi-gothic | ttf-kochi-mincho
+
+%description -n trinity-kiten
+Kiten is a Japanese reference and study tool for KDE. It is an
+application with multiple functions. Firstly, it is a convenient
+English to Japanese and Japanese to English dictionary. Secondly, it
+is a Kanji dictionary, with multiple ways to look up specific
+characters. Thirdly, it is a tool to help you learn Kanji.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-kiten
+%defattr(-,root,root,-)
+%{tde_bindir}/kiten
+%{tde_bindir}/kitengen
+%{tde_tdeappdir}/kiten.desktop
+%{tde_tdedocdir}/HTML/en/kiten/
+%{tde_datadir}/icons/hicolor/*/apps/kiten.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kiten.svgz
+
+%post -n trinity-kiten
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kiten
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klatin
+Summary: application to help revise/teach Latin
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-klatin
+KLatin is a program to help revise Latin. There are three "sections"
+in which different aspects of the language can be revised. These are
+the vocabulary, grammar and verb testing sections. In addition there
+is a set of revision notes that can be used for self-guided revision.
+
+In the vocabulary section an XML file is loaded containing various
+words and their local language translations. KLatin asks you what
+each of these words translate into. The questions take place in a
+multiple-choice environment.
+
+In the grammar and verb sections KLatin asks for a particular part of
+a noun or a verb, such as the "ablative singular", or the "1st person
+indicative passive plural", and is not multiple choice.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-klatin
+%defattr(-,root,root,-)
+%{tde_bindir}/klatin
+%{tde_tdeappdir}/klatin.desktop
+%{tde_datadir}/apps/klatin/
+%{tde_datadir}/config.kcfg/klatin.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/klatin.png
+%{tde_datadir}/icons/hicolor/scalable/apps/klatin.svgz
+%{tde_tdedocdir}/HTML/en/klatin/
+
+%post -n trinity-klatin
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klatin
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klettres
+Summary: foreign alphabet tutor for Trinity
+Group: Amusements/Games
+Requires: trinity-klettres-data = %{version}-%{release}
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-klettres
+KLettres is an application specially designed to help the user to
+learn the alphabet in a new language and then to learn to read simple
+syllables. The user can be a young child aged from two and a half or
+an adult that wants to learn the basics of a foreign language.
+
+Seven languages are currently available: Czech, Danish, Dutch,
+English, French, Italian and Slovak.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-klettres
+%defattr(-,root,root,-)
+%{tde_datadir}/config/klettresrc
+%{tde_bindir}/klettres
+%{tde_tdeappdir}/klettres.desktop
+%{tde_datadir}/config.kcfg/klettres.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/klettres.png
+%{tde_datadir}/icons/hicolor/scalable/apps/klettres.svgz
+%{tde_tdedocdir}/HTML/en/klettres/
+
+%post -n trinity-klettres
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klettres
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klettres-data
+Summary: data files for KLettres foreign alphabet tutor
+Group: Amusements/Games
+
+%description -n trinity-klettres-data
+This package contains architecture-independent data files for
+KLettres, the foreign alphabet tutor for KDE. This includes sound
+files and graphics.
+
+See the klettres package for further information.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-klettres-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/klettres/
+
+##########
+
+%package -n trinity-kmplot
+Summary: mathematical function plotter for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kmplot
+KmPlot is a mathematical function plotter for KDE. It has a powerful
+built-in parser. You can plot different functions simultaneously and
+combine them to build new functions.
+
+KmPlot supports parametric functions and functions in polar
+coordinates. Several grid modes are supported. Plots may be printed
+with high precision in the correct scale.
+
+KmPlot also provides some numerical and visual features, like filling
+and calculating the area between the plot and the first axis, finding
+maximum and minimum values, changing function parameters dynamically
+and plotting derivatives and integral functions.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-kmplot
+%defattr(-,root,root,-)
+%{tde_bindir}/kmplot
+%{tde_tdelibdir}/libkmplotpart.la
+%{tde_tdelibdir}/libkmplotpart.so
+%{tde_tdeappdir}/kmplot.desktop
+%{tde_datadir}/apps/kmplot/
+%{tde_datadir}/config.kcfg/kmplot.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kmplot.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kmplot.svgz
+%{tde_datadir}/mimelnk/application/x-kmplot.desktop
+%{tde_datadir}/services/kmplot_part.desktop
+%{tde_tdedocdir}/HTML/en/kmplot/
+
+%post -n trinity-kmplot
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kmplot
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kpercentage
+Summary: percentage calculation teaching tool for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kpercentage
+KPercentage is a small math application that will help pupils to
+improve their skills in calculating percentages.
+
+There is a special training section for the three basic tasks.
+Finally the pupil can select a random mode, in which all three tasks
+are mixed randomly.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-kpercentage
+%defattr(-,root,root,-)
+%{tde_bindir}/kpercentage
+%{tde_tdeappdir}/kpercentage.desktop
+%{tde_datadir}/apps/kpercentage/
+%{tde_datadir}/icons/hicolor/*/apps/kpercentage.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kpercentage.svgz
+%{tde_tdedocdir}/HTML/en/kpercentage/
+
+%post -n trinity-kpercentage
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kpercentage
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kstars
+Summary: desktop planetarium for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+Requires: trinity-kstars-data = %{version}-%{release}
+Requires: trinity-indi = %{version}-%{release}
+
+%description -n trinity-kstars
+KStars is a graphical desktop planetarium for KDE. It depicts an
+accurate simulation of the night sky, including stars,
+constellations, star clusters, nebulae, galaxies, all planets, the
+Sun, the Moon, comets and asteroids. You can see the sky as it
+appears from any location on Earth, on any date.
+
+The user interface is highly intuitive and flexible. The display can
+be panned and zoomed with the mouse, and you can easily identify
+objects and track their motion across the sky. KStars includes many
+powerful features, yet the interface is clean and simple and fun to
+use.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-kstars
+%defattr(-,root,root,-)
+%{tde_datadir}/config/kstarsrc
+%{tde_bindir}/kstars
+%{tde_tdeappdir}/kstars.desktop
+%{tde_datadir}/config.kcfg/kstars.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kstars.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kstars.svgz
+%{tde_tdedocdir}/HTML/en/kstars/
+
+%post -n trinity-kstars
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kstars
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kstars-data
+Summary: data files for KStars desktop planetarium
+Group: Amusements/Games
+
+%description -n trinity-kstars-data
+This package contains architecture-independent data files for KStars,
+the graphical desktop planetarium for KDE. This includes star
+catalogues and astronomical images.
+
+See the kstars package for further information.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-kstars-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kstars/
+
+##########
+
+%package -n trinity-ktouch
+Summary: touch typing tutor for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-ktouch
+KTouch is a program for learning touch typing - it helps you learn to
+type on a keyboard quickly and correctly. Every finger has its place
+on the keyboard with associated keys to press.
+
+KTouch helps you learn to touch type by providing you with text to
+train on, and adjusts to different levels depending on how good you
+are. It can display which key to press next, and the correct finger
+to use.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-ktouch
+%defattr(-,root,root,-)
+%{tde_bindir}/ktouch
+%{tde_tdeappdir}/ktouch.desktop
+%{tde_datadir}/apps/ktouch/
+%{tde_datadir}/config.kcfg/ktouch.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/ktouch.png
+%{tde_datadir}/icons/hicolor/scalable/apps/ktouch.svgz
+%{tde_tdedocdir}/HTML/en/ktouch/
+
+%post -n trinity-ktouch
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ktouch
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kturtle
+Summary: educational Logo programming environment
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kturtle
+KTurtle is an educational programming environment using the Logo
+programming language. It tries to make programming as easy and
+accessible as possible. This makes KTurtle suitable for teaching
+kids the basics of mathematics, geometry and programming.
+
+The commands used to program are in the style of the Logo programming
+language. The unique feature of Logo is that the commands are often
+translated into the speaking language of the programmer.
+
+KTurtle is named after "the turtle" that plays a central role in the
+programming environment. The user programs the turtle, using the
+Logo commands, to draw a picture on the canvas.
+
+Note that this version of Logo is only focused on the educational
+qualities of the programming language and will not try to suit
+professional programmers' needs.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-kturtle
+%defattr(-,root,root,-)
+%{tde_bindir}/kturtle
+%{tde_tdeappdir}/kturtle.desktop
+%{tde_datadir}/apps/katepart/syntax/logohighlightstyle*
+%{tde_datadir}/apps/kturtle/
+%{tde_datadir}/config.kcfg/kturtle.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kturtle.png
+%{tde_tdedocdir}/HTML/en/kturtle/
+
+%post -n trinity-kturtle
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kturtle
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kverbos
+Summary: Spanish verb form study application for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kverbos
+Kverbos allows the user to learn the forms of Spanish verbs. The
+program suggests a verb and a time and the user enters the different
+verb forms. The program corrects the user input and gives feedback.
+
+The user can edit the list of the verbs that can be studied. The
+program can build regular verb forms by itself. Irregular verb forms
+have to be entered by the user.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-kverbos
+%defattr(-,root,root,-)
+%{tde_bindir}/kverbos
+%{tde_tdeappdir}/kverbos.desktop
+%{tde_datadir}/apps/kverbos/
+%{tde_datadir}/config.kcfg/kverbos.kcfg
+%{tde_datadir}/icons/crystalsvg/16x16/actions/kverbosuser.png
+%{tde_datadir}/icons/hicolor/*/apps/kverbos.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kverbos.svgz
+%{tde_tdedocdir}/HTML/en/kverbos/
+
+%post -n trinity-kverbos
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kverbos
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kvoctrain
+Summary: vocabulary trainer for Trinity
+Group: Amusements/Games
+Requires: perl
+Requires: perl-libwww-perl
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kvoctrain
+KVocTrain is a little utility to help you train your vocabulary when
+you are trying to learn a foreign language. You can create your own
+database with the words you need. It is intended as a replacement
+for index (flash) cards.
+
+You probably remember flashcards from school. The teacher would
+write the original expression on the front side of the card and the
+translation on the back. Then look at the cards one after another.
+If you knew the translation, you could put it away. If you failed,
+you put it back to try again.
+
+KVocTrain is not intended to teach you grammar or other sophisticated
+things. This is and probably will stay beyond the scope of this
+application.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-kvoctrain
+%defattr(-,root,root,-)
+%{tde_datadir}/config/kvoctrainrc
+%{tde_bindir}/kvoctrain
+%{tde_bindir}/spotlight2kvtml
+%{tde_libdir}/libkvoctraincore.so.*
+%{tde_tdeappdir}/kvoctrain.desktop
+%{tde_datadir}/apps/kvoctrain/
+%{tde_datadir}/mimelnk/text/x-kvtml.desktop
+%{tde_datadir}/config.kcfg/kvoctrain.kcfg
+%{tde_datadir}/config.kcfg/languagesettings.kcfg
+%{tde_datadir}/config.kcfg/presettings.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kvoctrain.png
+%{tde_tdedocdir}/HTML/en/kvoctrain/
+
+%post -n trinity-kvoctrain
+/sbin/ldconfig || :
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kvoctrain
+/sbin/ldconfig || :
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kwordquiz
+Summary: flashcard and vocabulary learning program for Trinity
+Group: Amusements/Games
+Requires: trinity-tdeedu-data = %{version}-%{release}
+
+%description -n trinity-kwordquiz
+KWordQuiz is a flashcard-based tool that helps you to master new
+vocabularies. It may be a language or any other kind of terminology.
+
+KWordQuiz can open several types of vocabulary data. Supported are
+kvtml files used by other KDE programs such as KVocTrain, wql files
+used by WordQuiz for Windows, csv files with comma-separated text,
+and xml.gz files created by Pauker (http://pauker.sourceforge.net).
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-kwordquiz
+%defattr(-,root,root,-)
+%{tde_datadir}/config/kwordquizrc
+%{tde_bindir}/kwordquiz
+%{tde_tdeappdir}/kwordquiz.desktop
+%{tde_datadir}/apps/kwordquiz/
+%{tde_datadir}/config.kcfg/kwordquiz.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kwordquiz.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kwordquiz.svg
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/kwordquiz_doc.png
+%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/kwordquiz_doc.svg
+%{tde_datadir}/mimelnk/application/x-kwordquiz.desktop
+%{tde_tdedocdir}/HTML/en/kwordquiz/
+
+%post -n trinity-kwordquiz
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kwordquiz
+for i in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-libtdeedu3
+Summary: library for use with Trinity educational apps
+Group: Environment/Libraries
+
+%description -n trinity-libtdeedu3
+The KDE-based library libtdeedu is used with educational
+applications. It currently provides support for data plotting and
+vocabulary items (including a parser for kvtml vocabulary files).
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-libtdeedu3
+%defattr(-,root,root,-)
+%{tde_libdir}/libextdate.so.*
+%{tde_libdir}/lib[kt]deeducore.so.*
+%{tde_libdir}/lib[kt]deeduplot.so.*
+%{tde_libdir}/lib[kt]deeduui.so.*
+
+%post -n trinity-libtdeedu3
+/sbin/ldconfig || :
+
+%postun -n trinity-libtdeedu3
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libtdeedu-devel
+Summary: development files for Trinity educational library
+Group: Development/Libraries
+Requires: trinity-libtdeedu3 = %{version}-%{release}
+
+%description -n trinity-libtdeedu-devel
+The KDE-based library libtdeedu is used with educational
+applications. It currently provides support for data plotting and
+vocabulary items (including a parser for kvtml vocabulary files).
+
+Development files for libtdeedu are included in this package.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-libtdeedu-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/lib[kt]deedu/
+%{tde_libdir}/libextdate.la
+%{tde_libdir}/libextdate.so
+%{tde_libdir}/lib[kt]deeducore.la
+%{tde_libdir}/lib[kt]deeducore.so
+%{tde_libdir}/lib[kt]deeduui.la
+%{tde_libdir}/lib[kt]deeduui.so
+%{tde_libdir}/lib[kt]deeduplot.la
+%{tde_libdir}/lib[kt]deeduplot.so
+
+%post -n trinity-libtdeedu-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libtdeedu-devel
+/sbin/ldconfig || :
+
+
+##########
+
+%package -n trinity-libkiten1
+Summary: library for Kiten Japanese reference/study tool
+Group: Environment/Libraries
+#Requires: kanjidic
+
+%description -n trinity-libkiten1
+Kiten is a Japanese reference/study tool for KDE. The library
+libkiten contains portions of Kiten that may be useful for other
+applications. These portions include dictionary, character lookup
+and widget classes.
+
+This package contains the libkiten library along with supporting
+data, such as Japanese language data files and GUI resource files.
+For further information, see the kiten package.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-libkiten1
+%defattr(-,root,root,-)
+%{tde_libdir}/libkiten.so.*
+%{tde_datadir}/apps/kiten/
+%{tde_datadir}/config.kcfg/kiten.kcfg
+%{tde_datadir}/icons/crystalsvg/16x16/actions/kanjidic.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_add.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/edit_remove.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/kanjidic.png
+%{tde_datadir}/icons/locolor/16x16/actions/edit_add.png
+%{tde_datadir}/icons/locolor/16x16/actions/edit_remove.png
+
+%post -n trinity-libkiten1
+for i in crystalsvg locolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-libkiten1
+for i in crystalsvg locolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$i 2>/dev/null || :
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/$i 2>/dev/null || :
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkiten-devel
+Summary: development files for Kiten library
+Group: Development/Libraries
+Requires: trinity-libkiten1 = %{version}-%{release}
+Requires: trinity-tdelibs-devel >= %{version}
+
+%description -n trinity-libkiten-devel
+Kiten is a Japanese reference/study tool for KDE. The library
+libkiten contains portions of Kiten that may be useful for other
+applications. These portions include dictionary, character lookup
+and widget classes.
+
+Development files for libkiten are included in this package. For
+further information, see the kiten package.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-libkiten-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/libkiten/
+%{tde_libdir}/libkiten.la
+%{tde_libdir}/libkiten.so
+
+%post -n trinity-libkiten-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkiten-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-indi
+Summary: Instrument Neutral Distributed Interface for astronomical devices
+Group: Amusements/Games
+
+%description -n trinity-indi
+INDI is an Instrument Neutral Distributed Interface control protocol for
+astronomical devices, which provides a framework that decouples low level
+hardware drivers from high level front end clients. Clients that use the
+device drivers are completely unaware of the device capabilities and
+communicate with the device drivers and build a completely dynamic GUI
+based on the services provided by the device.
+
+This package is part of Trinity, as a component of the KDE education module.
+
+%files -n trinity-indi
+%defattr(-,root,root,-)
+%{tde_bindir}/apmount
+%{tde_bindir}/apogee_ppi
+%{tde_bindir}/celestrongps
+%{tde_bindir}/fliccd
+%{tde_bindir}/fliwheel
+%{tde_bindir}/indiserver
+%{tde_bindir}/lx200_16
+%{tde_bindir}/lx200autostar
+%{tde_bindir}/lx200basic
+%{tde_bindir}/lx200classic
+%{tde_bindir}/lx200generic
+%{tde_bindir}/lx200gps
+%{tde_bindir}/meade_lpi
+%{tde_bindir}/sbigccd
+%{tde_bindir}/skycommander
+%{tde_bindir}/temma
+%{tde_bindir}/v4ldriver
+%{tde_bindir}/v4lphilips
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-libtdeedu-devel = %{version}-%{release}
+Requires: trinity-libkiten-devel = %{version}-%{release}
+
+Obsoletes: trinity-kdeedu-devel < %{version}-%{release}
+Provides: trinity-kdeedu-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+%defattr(-,root,root,-)
+%doc libkdeedu/AUTHORS libkdeedu/README
+# kstars
+%{tde_tdeincludedir}/kstarsinterface.h
+%{tde_tdeincludedir}/simclockinterface.h
+# kvoctrain
+%{tde_libdir}/libkvoctraincore.la
+%{tde_libdir}/libkvoctraincore.so
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+##########
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q -n kdeedu-3.5.13.1
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i "admin/acinclude.m4.in" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+# Do not build against any "/usr" installed KDE
+export KDEDIR=%{tde_prefix}
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+ export CFLAGS="${CFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%configure \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --enable-new-ldflags \
+ --disable-dependency-tracking \
+ --disable-rpath \
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion}
+ --enable-kig-python-scripting \
+%else
+ --disable-kig-python-scripting \
+%endif
+ --disable-debug \
+ --disable-warnings \
+ --enable-final \
+ --enable-closure \
+ --disable-ocamlsolver \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+
+%__make %{_smp_mflags} \
+ OCAMLLIB=$(ocamlc -where) \
+ FACILELIB=$(ocamlc -where)
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# locale's
+%find_lang %{name} || touch %{name}.lang
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%changelog
+* Sun Sep 30 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/kdegames/trinity-kdegames-3.5.13.1.spec b/redhat/kdegames/trinity-kdegames-3.5.13.1.spec
new file mode 100644
index 000000000..e37fb1071
--- /dev/null
+++ b/redhat/kdegames/trinity-kdegames-3.5.13.1.spec
@@ -0,0 +1,1604 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-tdegames
+Summary: Trinity Desktop Environment - Games
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2
+Group: Amusements/Games
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source: kdegames-3.5.13.1.tar.gz
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: trinity-tdelibs-devel
+BuildRequires: libtool
+
+BuildRequires: tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdemultimedia-devel >= %{version}
+BuildRequires: qt3-devel
+
+Obsoletes: trinity-kdegames < %{version}-%{release}
+Provides: trinity-kdegames = %{version}-%{release}
+Obsoletes: trinity-kdegames-libs < %{version}-%{release}
+Provides: trinity-kdegames-libs = %{version}-%{release}
+
+Requires: trinity-libtdegames1 = %{version}-%{release}
+Requires: trinity-tdegames-card-data = %{version}-%{release}
+Requires: trinity-atlantik = %{version}-%{release}
+Requires: trinity-kasteroids = %{version}-%{release}
+Requires: trinity-katomic = %{version}-%{release}
+Requires: trinity-kbackgammon = %{version}-%{release}
+Requires: trinity-kbattleship = %{version}-%{release}
+Requires: trinity-kblackbox = %{version}-%{release}
+Requires: trinity-kbounce = %{version}-%{release}
+Requires: trinity-kenolaba = %{version}-%{release}
+Requires: trinity-kfouleggs = %{version}-%{release}
+Requires: trinity-kgoldrunner = %{version}-%{release}
+Requires: trinity-kjumpingcube = %{version}-%{release}
+Requires: trinity-klickety = %{version}-%{release}
+Requires: trinity-klines = %{version}-%{release}
+Requires: trinity-kmahjongg = %{version}-%{release}
+Requires: trinity-kmines = %{version}-%{release}
+Requires: trinity-knetwalk = %{version}-%{release}
+Requires: trinity-kolf = %{version}-%{release}
+Requires: trinity-konquest = %{version}-%{release}
+Requires: trinity-kpat = %{version}-%{release}
+Requires: trinity-kpoker = %{version}-%{release}
+Requires: trinity-kreversi = %{version}-%{release}
+Requires: trinity-ksame = %{version}-%{release}
+Requires: trinity-kshisen = %{version}-%{release}
+Requires: trinity-ksirtet = %{version}-%{release}
+Requires: trinity-ksmiletris = %{version}-%{release}
+Requires: trinity-ksnake = %{version}-%{release}
+Requires: trinity-ksokoban = %{version}-%{release}
+Requires: trinity-kspaceduel = %{version}-%{release}
+Requires: trinity-ktron = %{version}-%{release}
+Requires: trinity-ktuberling = %{version}-%{release}
+Requires: trinity-twin4 = %{version}-%{release}
+Requires: trinity-lskat = %{version}-%{release}
+
+
+%description
+Games and gaming libraries for the Trinity Desktop Environment.
+Included with this package are: kenolaba, kasteroids, kblackbox, kmahjongg,
+kmines, konquest, kpat, kpoker, kreversi, ksame, kshisen, ksmiletris,
+ksnake, ksirtet, katomic, kjumpingcube, ktuberling.
+
+%files
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+License: LGPLv2
+
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tdelibs-devel >= 3.5.13
+Requires: trinity-libtdegames-devel = %{version}-%{release}
+Requires: trinity-atlantik-devel = %{version}-%{release}
+Requires: trinity-kolf-devel = %{version}-%{release}
+
+Obsoletes: trinity-kdegames-devel < %{version}-%{release}
+Provides: trinity-kdegames-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+Install %{name}-devel if you wish to develop or compile games for the
+TDE desktop.
+
+%files devel
+%defattr(-,root,root,-)
+
+##########
+
+%package -n trinity-libtdegames1
+Summary: Trinity games library and common files
+Group: Amusements/Games
+
+%description -n trinity-libtdegames1
+This library provides a common infrastructure for several of the
+games in the TDE distribution. Features include standardized menu
+items, high score handling, card display, and network connections
+including chat capabilities.
+
+This package is part of TDE, and a component of the TDE games module.
+
+%files -n trinity-libtdegames1
+%defattr(-,root,root,-)
+%{tde_libdir}/lib[kt]degames.so.*
+%{tde_datadir}/apps/[kt]degames/pics/star.png
+%{tde_datadir}/icons/crystalsvg/*/actions/roll.png
+%{tde_datadir}/icons/crystalsvg/*/actions/highscore.png
+%{tde_tdedocdir}/HTML/en/[kt]degames-3.5.13.1-apidocs/
+
+%post -n trinity-libtdegames1
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-libtdegames1
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libtdegames-devel
+Summary: Trinity games library headers
+Group: Development/Libraries
+Requires: trinity-libtdegames1 = %{version}-%{release}
+
+%description -n trinity-libtdegames-devel
+This package is necessary if you want to develop your own games using
+the TDE games library.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-libtdegames-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/*.h
+%{tde_tdeincludedir}/kgame
+%{tde_libdir}/lib[kt]degames.so
+%{tde_libdir}/lib[kt]degames.la
+
+##########
+
+%package card-data
+Summary: Card decks for Trinity games
+Group: Amusements/Games
+
+%description card-data
+Several different collections of card images for use by TDE games.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files card-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/carddecks/*
+
+##########
+
+%package -n trinity-atlantik
+Summary: TDE client for Monopoly-like network games
+Group: Amusements/Games
+
+%description -n trinity-atlantik
+This is a TDE client for playing Monopoly-like boardgames on the
+monopd network. It can play any board supported by the network
+server, including the classic Monopoly game, as well as the Atlantik
+game in which the property includes several major cities in North
+America and Europe.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-atlantik
+%defattr(-,root,root,-)
+%{tde_bindir}/atlantik
+%{tde_libdir}/libatlantic.so.*
+%{tde_libdir}/libatlantikclient.so.*
+%{tde_libdir}/libatlantikui.so.*
+%{tde_tdelibdir}/kio_atlantik.la
+%{tde_tdelibdir}/kio_atlantik.so
+%{tde_datadir}/services/atlantik.protocol
+%{tde_tdeappdir}/atlantik.desktop
+%{tde_datadir}/icons/hicolor/*/apps/atlantik.png
+%{tde_datadir}/apps/atlantik/
+%{tde_tdedocdir}/HTML/en/atlantik/
+
+%post -n trinity-atlantik
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-atlantik
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-atlantik-devel
+Summary: Development files for Atlantik
+Group: Development/Libraries
+Requires: trinity-atlantik = %{version}-%{release}
+
+%description -n trinity-atlantik-devel
+This package contains header files for compiling programs against the
+libraries which come with Atlantik.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-atlantik-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/atlantik
+%{tde_tdeincludedir}/atlantic
+%{tde_libdir}/libatlantic.so
+%{tde_libdir}/libatlantic.la
+%{tde_libdir}/libatlantikclient.so
+%{tde_libdir}/libatlantikclient.la
+%{tde_libdir}/libatlantikui.so
+%{tde_libdir}/libatlantikui.la
+
+%post -n trinity-atlantik-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-atlantik-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kasteroids
+Summary: Asteroids for Trinity
+Group: Amusements/Games
+
+%description -n trinity-kasteroids
+You know this game. It is based on Warwick Allison's QwSpriteField
+widget.
+
+The objective of kasteroids is to destroy all the asteroids on the
+screen to advance to the next level. Your ship is destroyed if it
+makes contact with an asteroid.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kasteroids
+%defattr(-,root,root,-)
+%{tde_bindir}/kasteroids
+%{tde_datadir}/icons/hicolor/*/apps/kasteroids.png
+%{tde_tdeappdir}/kasteroids.desktop
+%{tde_datadir}/apps/kasteroids/
+%{tde_datadir}/config.kcfg/kasteroids.kcfg
+%{tde_tdedocdir}/HTML/en/kasteroids/
+
+%post -n trinity-kasteroids
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kasteroids
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-katomic
+Summary: Atomic Entertainment game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-katomic
+This is a puzzle game, in which the object is to assemble a molecule
+from its atoms on a Sokoban-like board. On each move, an atom goes
+as far as it can in a specified direction before being stopped by a
+wall or another atom.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-katomic
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/katomic/
+%{tde_datadir}/icons/hicolor/*/apps/katomic.png
+%{tde_tdeappdir}/katomic.desktop
+%{tde_bindir}/katomic
+%{tde_tdedocdir}/HTML/en/katomic/
+
+%post -n trinity-katomic
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-katomic
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kbackgammon
+Summary: A Backgammon game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-kbackgammon
+KBackgammon is a backgammon program for Trinity. It is based on the
+code, ideas and concepts of KFibs (which is a FIBS client for
+TDE1). For a short time, KBackgammon was called bacKgammon (if you
+know somebody who is still using bacKgammon, please force them to
+upgrade :-)).
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kbackgammon
+%defattr(-,root,root,-)
+%{tde_bindir}/kbackgammon
+%{tde_tdeappdir}/kbackgammon.desktop
+%{tde_datadir}/apps/kbackgammon/
+%{tde_datadir}/icons/hicolor/*/apps/kbackgammon.png
+%{tde_datadir}/icons/hicolor/*/apps/kbackgammon_engine.png
+%{tde_tdedocdir}/HTML/en/kbackgammon/
+
+%post -n trinity-kbackgammon
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbackgammon
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kbattleship
+Summary: Battleship game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-kbattleship
+This is an implementation of the Battleship game. Each player tries
+to be the first to sink all the opponent's ships by firing "blindly"
+at them. The game has options to play over a network connection or
+against the computer.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kbattleship
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kbattleship/
+%{tde_datadir}/apps/zeroconf/_kbattleship._tcp
+%{tde_datadir}/icons/hicolor/*/apps/kbattleship.png
+%{tde_tdeappdir}/kbattleship.desktop
+%{tde_bindir}/kbattleship
+%{tde_tdedocdir}/HTML/en/kbattleship/
+
+%post -n trinity-kbattleship
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbattleship
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kblackbox
+Summary: A simple logical game for the Trinity project
+Group: Amusements/Games
+
+%description -n trinity-kblackbox
+KBlackBox is a game of hide and seek played on an grid of boxes. Your
+opponent (Random number generator, in this case) has hidden several
+balls within this box. By shooting rays into the box and observing
+where they emerge it is possible to deduce the positions of the
+hidden balls. The fewer rays you use to find the balls, the lower
+your score.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kblackbox
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kblackbox/
+%{tde_datadir}/icons/hicolor/*/apps/kblackbox.png
+%{tde_tdeappdir}/kblackbox.desktop
+%{tde_bindir}/kblackbox
+%{tde_tdedocdir}/HTML/en/kblackbox/
+
+%post -n trinity-kblackbox
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kblackbox
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kbounce
+Summary: Jezzball clone for the K Desktop Environment
+Group: Amusements/Games
+
+%description -n trinity-kbounce
+This is a clone of the popular Jezzball game originally created by
+Microsoft. Jezzball is one of the rare and simple games requiring
+skill, timing, and patience in order to be successful. A ball begins
+to bounce off of an area enclosed by four borders (like a
+square). You must move your pointer to certain areas within the
+square. Upon clicking, a new border is constructed at a relatively
+quick pace. You can change the direction of the borders by 90 degrees
+as well. Ultimately, you must force the ball to bounce around in a
+smaller, and smaller area as time goes by without the ball ever
+touching the borders as they are being constructed. If a ball touches
+a certain part of the border as it is being built, the game is over.
+After 75% of the original space has been blocked off from the moving
+ball, you advance one level, and one more ball is added to the mix in
+the following level.
+
+This game was previously known as kjezz.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kbounce
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kbounce/
+%{tde_tdeappdir}/kbounce.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kbounce.png
+%{tde_bindir}/kbounce
+%{tde_tdedocdir}/HTML/en/kbounce/
+
+%post -n trinity-kbounce
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbounce
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kenolaba
+Summary: Enolaba board game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-kenolaba
+kenolaba is a simple board strategy game that is played by two
+players. There are red and yellow pieces for each player. Beginning
+from a start position where each player has 14 pieces, moves are
+drawn until one player has pushed 6 pieces of his opponent out of the
+board.
+
+This game was previously known as kabalone, and was inspired by the
+board game Abalone by Abalone SA, France.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kenolaba
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kenolaba/
+%{tde_datadir}/icons/hicolor/*/apps/kenolaba.png
+%{tde_tdeappdir}/kenolaba.desktop
+%{tde_bindir}/kenolaba
+%{tde_tdedocdir}/HTML/en/kenolaba/
+
+%post -n trinity-kenolaba
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kenolaba
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kfouleggs
+Summary: A TDE clone of the Japanese PuyoPuyo game
+Group: Amusements/Games
+
+%description -n trinity-kfouleggs
+KFouleggs is a clone of the Japanese PuyoPuyo game, with advanced
+features such as multiplayer games against human or AI, and network
+play. If you have played Tetris or one of its many clones, you will
+find KFouleggs easy to learn.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kfouleggs
+%defattr(-,root,root,-)
+%{tde_tdeappdir}/kfouleggs.desktop
+%{tde_datadir}/apps/kfouleggs/
+%{tde_datadir}/config.kcfg/kfouleggs.kcfg
+%{tde_bindir}/kfouleggs
+%{tde_datadir}/icons/hicolor/*/apps/kfouleggs.png
+%{tde_tdedocdir}/HTML/en/kfouleggs/
+
+%post -n trinity-kfouleggs
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kfouleggs
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kgoldrunner
+Summary: A Trinity clone of the Loderunner arcade game
+Group: Amusements/Games
+
+%description -n trinity-kgoldrunner
+KGoldrunner, a game of action and puzzle solving. Run through the
+maze, dodge your enemies, collect all the gold and climb up to the
+next level.
+
+You must guide the hero with the mouse or keyboard and collect all
+the gold nuggets, then you can climb up into the next level. Your
+enemies are also after the gold and they will kill you if they catch
+you!
+
+The problem is you have no weapon to kill them. All you can do is
+run away, dig holes in the floor to trap them or lure them into some
+area where they cannot hurt you. After a short time a trapped enemy
+climbs out of his hole, but if it closes before that, he will die and
+reappear somewhere else.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kgoldrunner
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kgoldrunner/
+%{tde_datadir}/icons/hicolor/*/apps/kgoldrunner.png
+%{tde_tdeappdir}/KGoldrunner.desktop
+%{tde_bindir}/kgoldrunner
+%{tde_tdedocdir}/HTML/en/kgoldrunner/
+
+%post -n trinity-kgoldrunner
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kgoldrunner
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kjumpingcube
+Summary: Tactical one or two player game
+Group: Amusements/Games
+
+%description -n trinity-kjumpingcube
+KJumpingCube is a simple tactical game. You can play it against the
+computer or against a friend. The playing field consists of squares
+that contains points. By clicking on the squares you can increase
+the points and if the points reach a maximum the points will jump to
+the squares neighbours and take them over. Winner is the one, who
+owns all squares.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kjumpingcube
+%defattr(-,root,root,-)
+%{tde_bindir}/kjumpingcube
+%{tde_datadir}/icons/hicolor/*/apps/kjumpingcube.png
+%{tde_datadir}/apps/kjumpingcube/
+%{tde_tdeappdir}/kjumpingcube.desktop
+%{tde_datadir}/config.kcfg/kjumpingcube.kcfg
+%{tde_tdedocdir}/HTML/en/kjumpingcube/
+
+%post -n trinity-kjumpingcube
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kjumpingcube
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klickety
+Summary: A Clickomania-like game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-klickety
+Klickety is an adaptation of the (perhaps) well-known Clickomania
+game; it is very similar to the "same" game.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-klickety
+%defattr(-,root,root,-)
+%{tde_bindir}/klickety
+%{tde_tdeappdir}/klickety.desktop
+%{tde_datadir}/icons/hicolor/*/apps/klickety.png
+%{tde_datadir}/icons/crystalsvg/*/actions/endturn.png
+%{tde_datadir}/apps/klickety/klicketyui.rc
+%{tde_datadir}/apps/klickety/eventsrc
+%{tde_tdedocdir}/HTML/en/klickety/
+
+%post -n trinity-klickety
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klickety
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klines
+Summary: Color lines for Trinity
+Group: Amusements/Games
+
+%description -n trinity-klines
+KLines is a simple game. It is played by one player, so there is only
+one winner :-). You play for fun and against the high score. It was
+inspired by a well known game - "Color lines", written for DOS by
+Olga Demina, Igor Demina, Igor Ivkin and Gennady Denisov back in
+1992.
+
+The main rules of the game are as simple as possible: you move (using
+the mouse) marbles from cell to cell and build lines (horizontal,
+vertical or diagonal). When a line contains 5 or more marbles, they
+are removed and your score grows. After each turn the computer drops
+three more marbles.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-klines
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/klines/
+%{tde_tdeappdir}/klines.desktop
+%{tde_bindir}/klines
+%{tde_datadir}/config.kcfg/klines.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/klines.png
+%{tde_tdedocdir}/HTML/en/klines/
+
+%post -n trinity-klines
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klines
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmahjongg
+Summary: the classic mahjongg game for Trinity project
+Group: Amusements/Games
+
+%description -n trinity-kmahjongg
+Your mission in this game is to remove all tiles from the game board. A
+matching pair of tiles can be removed, if they are 'free', which means that
+no other tiles block them on the left or right side.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kmahjongg
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kmahjongg/
+%{tde_datadir}/icons/hicolor/*/apps/kmahjongg.png
+%{tde_tdeappdir}/kmahjongg.desktop
+%{tde_bindir}/kmahjongg
+%{tde_datadir}/config.kcfg/kmahjongg.kcfg
+%{tde_tdedocdir}/HTML/en/kmahjongg/
+
+%post -n trinity-kmahjongg
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kmahjongg
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmines
+Summary: Minesweeper for Trinity
+Group: Amusements/Games
+
+%description -n trinity-kmines
+KMines is the classic Minesweeper game. You must uncover all the
+empty cases without blowing on a mine.
+
+When you uncover a case, a number appears : it indicates how many
+mines surround this case. If there is no number the neighbour cases
+are automatically uncovered. In your process of uncovering secure
+cases, it is very useful to put a flag on the cases which contain a
+mine.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kmines
+%defattr(-,root,root,-)
+%{tde_datadir}/icons/hicolor/*/apps/kmines.png
+%{tde_tdeappdir}/kmines.desktop
+%{tde_datadir}/apps/kmines/
+%{tde_bindir}/kmines
+%{tde_tdedocdir}/HTML/en/kmines/
+
+%post -n trinity-kmines
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kmines
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-knetwalk
+Summary: A game for system administrators
+Group: Amusements/Games
+
+%description -n trinity-knetwalk
+This game presents the player with a rectangular field consisting of
+a server, several clients, and pieces of wire. The object is to
+rotate these elements until every client is connected to the server,
+and no wires are left unconnected.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-knetwalk
+%defattr(-,root,root,-)
+%{tde_bindir}/knetwalk
+%{tde_datadir}/apps/knetwalk
+%{tde_datadir}/icons/hicolor/*/apps/knetwalk.png
+%{tde_tdeappdir}/knetwalk.desktop
+
+%post -n trinity-knetwalk
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-knetwalk
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kolf
+Summary: Minigolf game for TDE
+Group: Amusements/Games
+
+%description -n trinity-kolf
+This is a minigolf game for TDE that allows you to go through different
+golf courses and waste an exorbitant amount of time.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kolf
+%defattr(-,root,root,-)
+%{tde_datadir}/config/magic/kolf.magic
+%{tde_datadir}/apps/kolf/
+%{tde_bindir}/kolf
+%{tde_tdeappdir}/kolf.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kolf.png
+%{tde_datadir}/mimelnk/application/x-kolf.desktop
+%{tde_datadir}/mimelnk/application/x-kourse.desktop
+%{tde_libdir}/lib[kt]deinit_kolf.so
+%{tde_libdir}/lib[kt]deinit_kolf.la
+%{tde_tdelibdir}/kolf.la
+%{tde_tdelibdir}/kolf.so
+%{tde_libdir}/libkolf.so.1
+%{tde_libdir}/libkolf.so.1.2.0
+%{tde_tdedocdir}/HTML/en/kolf/
+
+%post -n trinity-kolf
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kolf
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kolf-devel
+Summary: Development files for Kolf
+Group: Development/Libraries
+Requires: trinity-kolf = %{version}-%{release}
+
+%description -n trinity-kolf-devel
+This package contains headers and development libraries for compiling
+Kolf plugins.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kolf-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kolf
+%{tde_libdir}/libkolf.la
+%{tde_libdir}/libkolf.so
+
+%post -n trinity-kolf-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kolf-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-konquest
+Summary: TDE based GNU-Lactic Konquest game
+Group: Amusements/Games
+
+%description -n trinity-konquest
+This the TDE version of Gnu-Lactic Konquest, a multi-player strategy
+game. The goal of the game is to expand your interstellar empire
+across the galaxy and, of course, crush your rivals in the process.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-konquest
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/konquest/
+%{tde_datadir}/icons/hicolor/*/apps/konquest.png
+%{tde_tdeappdir}/konquest.desktop
+%{tde_bindir}/konquest
+%{tde_tdedocdir}/HTML/en/konquest/
+
+%post -n trinity-konquest
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-konquest
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kpat
+Summary: Trinity solitaire patience game
+Group: Amusements/Games
+
+%description -n trinity-kpat
+KPatience is a collection of 14 card games. All the games are single
+player games.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kpat
+%defattr(-,root,root,-)
+%{tde_datadir}/icons/hicolor/*/apps/kpat.png
+%{tde_datadir}/apps/kpat/
+%{tde_tdeappdir}/kpat.desktop
+%{tde_bindir}/kpat
+%{tde_tdedocdir}/HTML/en/kpat/
+
+%post -n trinity-kpat
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kpat
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kpoker
+Summary: Trinity based Poker clone
+Group: Amusements/Games
+
+%description -n trinity-kpoker
+KPoker is a TDE compliant clone of those highly addictive pocket
+video poker games which are sometimes called "Videopoker" as well.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kpoker
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kpoker/
+%{tde_datadir}/icons/hicolor/*/apps/kpoker.png
+%{tde_tdeappdir}/kpoker.desktop
+%{tde_bindir}/kpoker
+%{tde_tdedocdir}/HTML/en/kpoker/
+
+%post -n trinity-kpoker
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kpoker
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kreversi
+Summary: Reversi for Trinity
+Group: Amusements/Games
+
+%description -n trinity-kreversi
+Reversi is a simple strategy game that is played by two
+players. There is only one type of piece - one side of it is black,
+the other white. If a player captures a piece on the board, that
+piece is turned and belongs to that player. The winner is the person
+that has more pieces of his own color on the board and if there are
+no more moves possible.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kreversi
+%defattr(-,root,root,-)
+%{tde_bindir}/kreversi
+%{tde_tdeappdir}/kreversi.desktop
+%{tde_datadir}/apps/kreversi/
+%{tde_datadir}/config.kcfg/kreversi.kcfg
+%{tde_datadir}/icons/crystalsvg/*/actions/lastmoves.png
+%{tde_datadir}/icons/crystalsvg/*/actions/legalmoves.png
+%{tde_datadir}/icons/crystalsvg/scalable/actions/lastmoves.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/legalmoves.svgz
+%{tde_datadir}/icons/hicolor/*/apps/kreversi.png
+%{tde_tdedocdir}/HTML/en/kreversi/
+
+%post -n trinity-kreversi
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kreversi
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksame
+Summary: SameGame for Trinity
+Group: Amusements/Games
+
+%description -n trinity-ksame
+KSame is a simple game. It's played by one player, so there is only
+one winner :-) You play for fun and against the high score. It has
+been inspired by SameGame, that is only famous on the Macintosh
+platform.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ksame
+%defattr(-,root,root,-)
+%{tde_bindir}/ksame
+%{tde_datadir}/icons/hicolor/*/apps/ksame.png
+%{tde_datadir}/apps/ksame/*
+%{tde_tdeappdir}/ksame.desktop
+%{tde_tdedocdir}/HTML/en/ksame/
+
+%post -n trinity-ksame
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksame
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kshisen
+Summary: Shisen-Sho for Trinity
+Group: Amusements/Games
+
+%description -n trinity-kshisen
+KShisen-Sho is a single-player-game similar to Mahjongg and uses the
+same set of tiles as Mahjongg.
+
+The object of the game is to remove all tiles from the field.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kshisen
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kshisen/
+%{tde_datadir}/config.kcfg/kshisen.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kshisen.png
+%{tde_tdeappdir}/kshisen.desktop
+%{tde_bindir}/kshisen
+%{tde_tdedocdir}/HTML/en/kshisen/
+
+%post -n trinity-kshisen
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kshisen
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksirtet
+Summary: Tetris and Puyo-Puyo games for Trinity
+Group: Amusements/Games
+
+%description -n trinity-ksirtet
+This program is a clone of the well known game Tetris. You must fit
+the falling pieces to form full lines. You can rotate and translate
+the falling piece. The game ends when no more piece can fall ie when
+your incomplete lines reach the top of the board.
+
+Every time you have destroyed 10 lines, you gain a level and the
+pieces fall quicker (exactly the piece falls from a line each
+1/(1+level) second).
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ksirtet
+%defattr(-,root,root,-)
+%{tde_tdeappdir}/ksirtet.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ksirtet.png
+%{tde_datadir}/apps/ksirtet/
+%{tde_bindir}/ksirtet
+%{tde_datadir}/config.kcfg/ksirtet.kcfg
+%{tde_tdedocdir}/HTML/en/ksirtet/
+
+%post -n trinity-ksirtet
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksirtet
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksmiletris
+Summary: Tetris like game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-ksmiletris
+This is a game with falling blocks composed of different types of
+smilies. The object of the game is to "crack a smile" by guiding
+blocks so there are two or more of the same symbol vertically.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ksmiletris
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/ksmiletris/
+%{tde_datadir}/icons/hicolor/*/apps/ksmiletris.png
+%{tde_tdeappdir}/ksmiletris.desktop
+%{tde_bindir}/ksmiletris
+%{tde_tdedocdir}/HTML/en/ksmiletris/
+
+%post -n trinity-ksmiletris
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksmiletris
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksnake
+Summary: Snake Race for Trinity
+Group: Amusements/Games
+
+%description -n trinity-ksnake
+Snake Race is a game of speed and agility. You are a hungry snake and
+are trying to eat all the apples in the room before getting out!
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ksnake
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/ksnake/
+%{tde_datadir}/config.kcfg/ksnake.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/ksnake.png
+%{tde_tdeappdir}/ksnake.desktop
+%{tde_bindir}/ksnake
+%{tde_tdedocdir}/HTML/en/ksnake/
+
+%post -n trinity-ksnake
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksnake
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksokoban
+Summary: Sokoban game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-ksokoban
+The first sokoban game was created in 1982 by Hiroyuki Imabayashi at
+the Japanese company Thinking Rabbit, Inc. "Sokoban" is japanese for
+"warehouse keeper". The idea is that you are a warehouse keeper
+trying to push crates to their proper locations in a warehouse.
+
+The problem is that you cannot pull the crates or step over them. If
+you are not careful, some of the crates can get stuck in wrong places
+and/or block your way.
+
+It can be rather difficult just to solve a level. But if you want to
+make it even harder, you can try to minimise the number of moves
+and/or pushes you use to solve the level.
+
+To make the game more fun for small kids (below 10 years or so), some
+collections with easier levels are also included in KSokoban. These
+are marked (easy) in the level collection menu. Of course, these
+levels can be fun for adults too, for example if you don't want to
+expose yourself to too much mental strain.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ksokoban
+%defattr(-,root,root,-)
+%{tde_tdeappdir}/ksokoban.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ksokoban.png
+%{tde_bindir}/ksokoban
+%{tde_tdedocdir}/HTML/en/ksokoban/
+
+%post -n trinity-ksokoban
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksokoban
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kspaceduel
+Summary: Arcade two-player space game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-kspaceduel
+KSpaceduel is an space arcade game for two players.
+
+Each player controls a ship that flies around the sun and tries to
+shoot at the other ship. You can play KSpaceduel with another person,
+against the computer, or you can have the computer control both ships
+and play each other.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-kspaceduel
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kspaceduel/
+%{tde_datadir}/icons/hicolor/*/apps/kspaceduel.png
+%{tde_tdeappdir}/kspaceduel.desktop
+%{tde_bindir}/kspaceduel
+%{tde_datadir}/config.kcfg/kspaceduel.kcfg
+%{tde_tdedocdir}/HTML/en/kspaceduel/
+
+%post -n trinity-kspaceduel
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kspaceduel
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ktron
+Summary: Tron clone for the K Desktop Environment
+Group: Amusements/Games
+
+%description -n trinity-ktron
+The object of the game is to avoid running into walls, your own tail,
+and that of your opponent.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ktron
+%defattr(-,root,root,-)
+%{tde_bindir}/ktron
+%{tde_datadir}/icons/hicolor/*/apps/ktron.png
+%{tde_tdeappdir}/ktron.desktop
+%{tde_datadir}/apps/ktron/
+%{tde_datadir}/config.kcfg/ktron.kcfg
+%{tde_tdedocdir}/HTML/en/ktron/
+
+%post -n trinity-ktron
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ktron
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ktuberling
+Summary: Potato Guy for Trinity
+Group: Amusements/Games
+
+%description -n trinity-ktuberling
+KTuberling is a game intended for small children. Of course, it may
+be suitable for adults who have remained young at heart.
+
+It is a potato editor. That means that you can drag and drop eyes,
+mouths, moustache, and other parts of face and goodies onto a
+potato-like guy. Similarly, you have a penguin on which you can drop
+other stuff.
+
+There is no winner for the game. The only purpose is to make the
+funniest faces you can.
+
+There is a museum (like a "Madame Tusseau" gallery) where you can
+find many funny examples of decorated potatoes. Of course, you can
+send your own creations to the programmer, Eric Bischoff, who will
+include them in the museum if he gets some spare time.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-ktuberling
+%defattr(-,root,root,-)
+%{tde_bindir}/ktuberling
+%{tde_datadir}/icons/hicolor/*/apps/ktuberling.png
+%{tde_tdeappdir}/ktuberling.desktop
+%{tde_datadir}/apps/ktuberling/
+%{tde_datadir}/mimelnk/application/x-tuberling.desktop
+%{tde_tdedocdir}/HTML/en/ktuberling/
+
+%post -n trinity-ktuberling
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ktuberling
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-twin4
+Summary: Connect Four clone for Trinity
+Group: Amusements/Games
+
+%description -n trinity-twin4
+Four wins is a game for two players. Each player is represented by a
+colour (yellow and red). The goal of the game is to get four
+connected pieces of your colour into a row, column or any
+diagonal. This is done by placing one of your pieces into any of the
+seven columns. A piece will begin to fill a column from the bottom,
+i.e. it will fall down until it reaches the ground level or another
+stone. After a move is done it is the turn of the other player. This
+is repeated until the game is over, i.e. one of the players has four
+pieces in a row, column or diagonal or no more moves are possible
+because the board is filled.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-twin4
+%defattr(-,root,root,-)
+%{tde_bindir}/[kt]win4
+%{tde_bindir}/[kt]win4proc
+%{tde_datadir}/apps/[kt]win4/
+%{tde_datadir}/config.kcfg/[kt]win4.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/[kt]win4.png
+%{tde_tdeappdir}/[kt]win4.desktop
+%{tde_tdedocdir}/HTML/en/[kt]win4/
+
+%post -n trinity-twin4
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-twin4
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-lskat
+Summary: Lieutnant Skat card game for Trinity
+Group: Amusements/Games
+
+%description -n trinity-lskat
+Lieutnant Skat (from German Offiziersskat) is a card game for two
+players. It is roughly played according to the rules of Skat but with
+only two players and simplified rules.
+
+Every player has a set of cards in front of him/her, half of them
+covered and half of them open. Both players try to win more than 60
+of the 120 possible points. After 16 moves all cards are played and
+the game ends.
+
+This package is part of Trinity, and a component of the TDE games module.
+
+%files -n trinity-lskat
+%defattr(-,root,root,-)
+%{tde_bindir}/lskat
+%{tde_bindir}/lskatproc
+%{tde_datadir}/apps/lskat/
+%{tde_datadir}/icons/hicolor/*/apps/lskat.png
+%{tde_tdeappdir}/lskat.desktop
+%{tde_tdedocdir}/HTML/en/lskat/
+
+%post -n trinity-lskat
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-lskat
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q -n kdegames-3.5.13.1
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i admin/acinclude.m4.in \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+# Do not build against any "/usr" installed KDE
+export KDEDIR=%{tde_prefix}
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --enable-new-ldflags \
+ --disable-dependency-tracking \
+ --disable-rpath \
+ --enable-final \
+ --disable-debug \
+ --disable-warnings \
+ --enable-closure \
+ --disable-setgid \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+# WTF hack for RHEL4
+%if 0%{?rhel} == 4
+mkdir atlantik/libatlantic/.libs
+ln -s . atlantik/libatlantic/.libs/.libs
+%endif
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# locale's
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%changelog
+* Sun Sep 30 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/kdegames/trinity-kdegames-3.5.13.spec b/redhat/kdegames/trinity-kdegames-3.5.13.spec
index d81424740..db5f20495 100644
--- a/redhat/kdegames/trinity-kdegames-3.5.13.spec
+++ b/redhat/kdegames/trinity-kdegames-3.5.13.spec
@@ -21,7 +21,7 @@
Name: trinity-tdegames
Summary: Trinity Desktop Environment - Games
Version: 3.5.13
-Release: 4%{?dist}%{?_variant}
+Release: 5%{?dist}%{?_variant}
License: GPLv2
Group: Amusements/Games
@@ -36,9 +36,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: kdegames-%{version}.tar.gz
# [kdegames/ktuberling] Fix ktuberling pictures loading
-Patch0: kdegames-3.5.13-ktuberling_fail_load_picture.patch
+Patch1: kdegames-3.5.13-ktuberling_fail_load_picture.patch
# [kdegames] Missing LDFLAGS cause FTBFS on Mageia 2
-Patch1: kdegames-3.5.13-missing_ldflags.patch
+Patch2: kdegames-3.5.13-missing_ldflags.patch
+# [kdegames] Switch to v3.5.13-sru branch
+Patch3: kdegames-3.5.13-sru-20120827.patch
BuildRequires: autoconf automake libtool m4
BuildRequires: trinity-tdelibs-devel
@@ -1519,8 +1521,9 @@ update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
%prep
%setup -q -n kdegames
-%patch0 -p1
-%patch1 -p1 -b .ftbfs
+#patch1 -p1
+#patch2 -p1 -b .ftbfs
+%patch3 -p1
# Ugly hack to modify TQT include directory inside autoconf files.
# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
@@ -1587,6 +1590,9 @@ fi
%changelog
+* Mon Aug 27 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-5
+- Switch to v3.5.13-sru branch
+
* Tue Jul 31 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13-4
- Split into several packages
- Add support for Mageia 2
diff --git a/redhat/kdegraphics/kdegraphics-3.5.13.1-fix_poppler_pkgconfig.patch b/redhat/kdegraphics/kdegraphics-3.5.13.1-fix_poppler_pkgconfig.patch
new file mode 100644
index 000000000..0001e859f
--- /dev/null
+++ b/redhat/kdegraphics/kdegraphics-3.5.13.1-fix_poppler_pkgconfig.patch
@@ -0,0 +1,12 @@
+--- kdegraphics-3.5.13.1/kfile-plugins/dependencies/poppler-tqt/poppler-tqt.pc.cmake.ORI 2012-10-14 15:03:54.880338162 +0200
++++ kdegraphics-3.5.13.1/kfile-plugins/dependencies/poppler-tqt/poppler-tqt.pc.cmake 2012-10-14 15:04:12.400975329 +0200
+@@ -1,7 +1,7 @@
+ prefix=@CMAKE_INSTALL_PREFIX@
+ exec_prefix=${prefix}
+-libdir=${exec_prefix}/lib
+-includedir=${prefix}/include/kde
++libdir=@LIB_INSTALL_DIR@
++includedir=@INCLUDE_INSTALL_DIR@
+
+ Name: poppler-tqt
+ Description: TQt bindings for poppler
diff --git a/redhat/kdegraphics/kdegraphics-3.5.13.1-fix_rhel4_libraries.patch b/redhat/kdegraphics/kdegraphics-3.5.13.1-fix_rhel4_libraries.patch
new file mode 100644
index 000000000..4fbcb80ad
--- /dev/null
+++ b/redhat/kdegraphics/kdegraphics-3.5.13.1-fix_rhel4_libraries.patch
@@ -0,0 +1,38 @@
+--- kdegraphics-3.5.13.1/kgamma/ConfigureChecks.cmake.ORI 2012-10-10 21:25:24.204928664 +0200
++++ kdegraphics-3.5.13.1/kgamma/ConfigureChecks.cmake 2012-10-10 21:26:51.812154610 +0200
+@@ -11,10 +11,10 @@
+
+ include( CheckIncludeFileCXX )
+
+ pkg_search_module( XXF86VM xxf86vm )
+ if( NOT XXF86VM_FOUND )
+- tde_message_fatal( "xxf86vm is required, but was not found on your system" )
++ set( XXF86VM_LIBRARIES "-lXxf86vm" )
+ endif( )
+
+ tde_save( CMAKE_REQUIRED_INCLUDES )
+ set( CMAKE_REQUIRED_INCLUDES ${TQT_INCLUDE_DIRS} )
+--- kdegraphics-3.5.13.1/kpovmodeler/ConfigureChecks.cmake.ORI 2012-10-10 21:33:43.491841294 +0200
++++ kdegraphics-3.5.13.1/kpovmodeler/ConfigureChecks.cmake 2012-10-10 21:34:11.245282172 +0200
+@@ -23,5 +23,5 @@
+ # xmu
+ pkg_search_module( XMU xmu )
+ if( NOT XMU_FOUND )
+- tde_message_fatal( "xmu is required, but was not found on your system" )
++ set( XMU_LIBRARIES "-lXmu" )
+ endif( )
+--- kdegraphics-3.5.13.1/ksvg/plugin/backends/libart/GlyphTracerLibart.cpp.ORI 2012-10-11 22:17:26.285831149 +0200
++++ kdegraphics-3.5.13.1/ksvg/plugin/backends/libart/GlyphTracerLibart.cpp 2012-10-11 22:17:31.815712301 +0200
+@@ -31,11 +31,7 @@
+
+ #include <config.h>
+
+-#ifdef HAVE_FREETYPE_2_2_x
+- #define FT_VECTOR_PARAMETER const FT_Vector
+-#else
+- #define FT_VECTOR_PARAMETER FT_Vector
+-#endif
++#define FT_VECTOR_PARAMETER FT_Vector
+
+ using namespace T2P;
+
diff --git a/redhat/kdegraphics/trinity-kdegraphics-3.5.13.1.spec b/redhat/kdegraphics/trinity-kdegraphics-3.5.13.1.spec
new file mode 100644
index 000000000..98392bd71
--- /dev/null
+++ b/redhat/kdegraphics/trinity-kdegraphics-3.5.13.1.spec
@@ -0,0 +1,1312 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-tdegraphics
+Version: 3.5.13.1
+Release: 1%{?dist}%{_variant}
+License: GPL
+Summary: Trinity Desktop Environment - Graphics Applications
+
+Group: Applications/Multimedia
+Prefix: %{tde_prefix}
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: kdegraphics-3.5.13.1.tar.gz
+
+# TDE 3.5.13
+## RHEL / Fedora specific patches
+# [kdegraphics/kpdf/xpdf] Disable 'mkstemps' support for RHEL5
+Patch3: kdegraphics-3.5.13-xpdf_disable_mkstemps.patch
+# [tdegraphics] Fix poppler include directory location
+Patch9: kdegraphics-3.5.13-fix_poppler_include_dir.patch
+# [tdegraohics] Fix poppler include directory location (2)
+Patch10: kdegraphics-3.5.13.1-fix_poppler_pkgconfig.patch
+
+# [tdegraphics] Fix build on RHEL4
+Patch201: kdegraphics-3.5.13.1-fix_rhel4_libraries.patch
+
+BuildRequires: cmake >= 2.8
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tdebase-devel >= %{version}
+BuildRequires: gettext
+BuildRequires: libmng-devel
+%if 0%{?mdkversion}
+BuildRequires: %{_lib}png15-devel
+%else
+BuildRequires: libpng-devel
+%endif
+BuildRequires: libtiff-devel
+BuildRequires: automake libtool
+BuildRequires: libusb-devel
+BuildRequires: pcre-devel
+
+# GIF support
+%if 0%{?suse_version}
+BuildRequires: giflib-devel
+%else
+BuildRequires: libungif-devel
+%endif
+
+# GPHOTO2 support
+%if 0%{?suse_version}
+BuildRequires: libgphoto2-devel
+%else
+BuildRequires: gphoto2-devel
+%endif
+
+# PAPER support
+%if 0%{?rhel} || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_paper 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}paper-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: libpaper-devel
+%endif
+%endif
+
+# T1LIB support
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+%define with_t1lib 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}t1lib-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: t1lib-devel
+%endif
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}sane1-devel
+# kuickshow
+#BuildRequires: %{_lib}imlib-devel
+# kpovmodeler
+BuildRequires: %{_lib}xi-devel
+# kgamma
+BuildRequires: %{_lib}xxf86vm-devel
+# ksvg
+BuildRequires: %{_lib}xmu%{?mgaversion:6}-devel
+# kpovmodeler
+BuildRequires: %{_lib}mesagl1-devel
+BuildRequires: %{_lib}mesaglu1-devel
+%else
+BuildRequires: sane-backends-devel
+
+# kuickshow
+#BuildRequires: imlib-devel
+
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+%else
+BuildRequires: libdrm-devel
+
+# kpovmodeler
+BuildRequires: libXi-devel
+
+# kgamma
+BuildRequires: libXxf86vm-devel
+
+# ksvg
+BuildRequires: libXmu-devel
+%endif
+
+# kpovmodeler
+%if 0%{?suse_version}
+BuildRequires: Mesa-libGL-devel
+BuildRequires: Mesa-libGLU-devel
+%else
+BuildRequires: libGL-devel
+BuildRequires: libGLU-devel
+%endif
+%endif
+
+#kfile-plugin
+BuildRequires: OpenEXR-devel
+
+# kpdf
+BuildRequires: freetype-devel
+
+# poppler
+%if 0%{?rhel} >=6 || 0%{?fedora} >= 15 || 0%{?suse_version}
+BuildRequires: poppler-devel >= 0.12
+#BuildRequires: poppler-qt-devel >= 0.12
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}poppler-devel
+%endif
+%if 0%{?rhel} >= 4 && 0%{?rhel} <= 5
+# On RHEL 5, the distro-provided poppler is too old. We built a newer one.
+BuildRequires: trinity-poppler-devel
+BuildRequires: trinity-poppler-qt3-devel >= 0.12
+%endif
+
+# ksvg
+BuildRequires: fontconfig-devel
+%if 0%{?suse_version}
+BuildRequires: liblcms-devel
+%else
+BuildRequires: lcms-devel
+%endif
+BuildRequires: libart_lgpl-devel
+
+# kuickshow
+BuildRequires: fribidi-devel
+
+# kamera
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+%define build_kamera 1
+%endif
+
+Obsoletes: trinity-kdegraphics < %{version}-%{release}
+Provides: trinity-kdegraphics = %{version}-%{release}
+Obsoletes: trinity-kdegraphics-libs < %{version}-%{release}
+Provides: trinity-kdegraphics-libs = %{version}-%{release}
+Obsoletes: trinity-kdegraphics-extras < %{version}-%{release}
+Provides: trinity-kdegraphics-extras = %{version}-%{release}
+
+
+%{?build_kamera:Requires: trinity-kamera = %{version}-%{release}}
+Requires: trinity-kcoloredit = %{version}-%{release}
+Requires: %{name}-kfile-plugins = %{version}-%{release}
+Requires: trinity-kdvi = %{version}-%{release}
+Requires: trinity-kfax = %{version}-%{release}
+Requires: trinity-kfaxview = %{version}-%{release}
+Requires: trinity-kgamma = %{version}-%{release}
+Requires: trinity-kghostview = %{version}-%{release}
+Requires: trinity-kiconedit = %{version}-%{release}
+Requires: trinity-kmrml = %{version}-%{release}
+Requires: trinity-kolourpaint = %{version}-%{release}
+Requires: trinity-kooka = %{version}-%{release}
+Requires: trinity-kpdf = %{version}-%{release}
+Requires: trinity-kpovmodeler = %{version}-%{release}
+Requires: trinity-kruler = %{version}-%{release}
+Requires: trinity-ksnapshot = %{version}-%{release}
+Requires: trinity-ksvg = %{version}-%{release}
+Requires: trinity-kview = %{version}-%{release}
+Requires: trinity-kviewshell = %{version}-%{release}
+Requires: trinity-libkscan = %{version}-%{release}
+Requires: %{name}-libpoppler-tqt = %{version}-%{release}
+
+%description
+Graphics applications for the Trinity Desktop Environment, including
+%if 0%{?build_kamera}
+* kamera (digital camera support)
+%endif
+* kcoloredit (palette editor and color chooser)
+* kdvi (displays TeX .dvi files)
+* kfax
+* kfaxview
+* kghostview (displays postscript files)
+* kiconedit (icon editor)
+* kooka (scanner application)
+* kpdf (displays PDF files)
+* kpovmodler
+* kruler (screen ruler and color measurement tool)
+* ksnapshot (screen capture utility)
+* kview (image viewer for GIF, JPEG, TIFF, etc.)
+
+%files
+
+##########
+
+%if 0%{?build_kamera}
+
+%package -n trinity-kamera
+Summary: Digital camera io_slave for Konqueror
+Group: Applications/Graphics
+
+%description -n trinity-kamera
+This is a digital camera io_slave for TDE which uses gphoto2 and libgpio
+to allow access to your camera's pictures with the URL camera:/
+
+%post -n trinity-kamera
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kamera
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%files -n trinity-kamera
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcm_kamera.la
+%{tde_tdelibdir}/kcm_kamera.so
+%{tde_tdelibdir}/kio_kamera.la
+%{tde_tdelibdir}/kio_kamera.so
+%{tde_tdeappdir}/kamera.desktop
+%{tde_datadir}/icons/crystalsvg/*/actions/camera_test.png
+%{tde_datadir}/icons/crystalsvg/*/apps/camera.png
+%{tde_datadir}/icons/crystalsvg/*/devices/camera.png
+%{tde_datadir}/icons/crystalsvg/*/filesystems/camera.png
+%{tde_datadir}/services/camera.protocol
+%{tde_tdedocdir}/HTML/en/kamera/
+
+%endif
+
+##########
+
+%package -n trinity-kcoloredit
+Summary: A color palette editor and color picker for TDE
+Group: Applications/Graphics
+
+%description -n trinity-kcoloredit
+This package contains two programs, a color palette editor and also a color
+picker.
+
+%files -n trinity-kcoloredit
+%defattr(-,root,root,-)
+%{tde_bindir}/kcolorchooser
+%{tde_bindir}/kcoloredit
+%{tde_tdeappdir}/kcolorchooser.desktop
+%{tde_tdeappdir}/kcoloredit.desktop
+%{tde_datadir}/apps/kcoloredit/kcoloreditui.rc
+%{tde_datadir}/icons/hicolor/*/apps/kcolorchooser.png
+%{tde_datadir}/icons/hicolor/*/apps/kcoloredit.png
+%{tde_tdedocdir}/HTML/en/kcoloredit/
+
+%post -n trinity-kcoloredit
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kcoloredit
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package kfile-plugins
+Summary: TDE metainfo plugins for graphic files
+Group: Environment/Libraries
+
+%description kfile-plugins
+This packages provides meta information for graphic files (file sizes,
+tags, etc. all from within the file manager).
+
+%files kfile-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/gsthumbnail.la
+%{tde_tdelibdir}/gsthumbnail.so
+%{tde_tdelibdir}/kfile_bmp.la
+%{tde_tdelibdir}/kfile_bmp.so
+%{tde_tdelibdir}/kfile_dds.la
+%{tde_tdelibdir}/kfile_dds.so
+%{tde_tdelibdir}/kfile_dvi.la
+%{tde_tdelibdir}/kfile_dvi.so
+%{tde_tdelibdir}/kfile_exr.la
+%{tde_tdelibdir}/kfile_exr.so
+%{tde_tdelibdir}/kfile_gif.la
+%{tde_tdelibdir}/kfile_gif.so
+%{tde_tdelibdir}/kfile_ico.la
+%{tde_tdelibdir}/kfile_ico.so
+%{tde_tdelibdir}/kfile_jpeg.la
+%{tde_tdelibdir}/kfile_jpeg.so
+%{tde_tdelibdir}/kfile_pcx.la
+%{tde_tdelibdir}/kfile_pcx.so
+%{tde_tdelibdir}/kfile_pdf.la
+%{tde_tdelibdir}/kfile_pdf.so
+%{tde_tdelibdir}/kfile_png.la
+%{tde_tdelibdir}/kfile_png.so
+%{tde_tdelibdir}/kfile_pnm.la
+%{tde_tdelibdir}/kfile_pnm.so
+%{tde_tdelibdir}/kfile_ps.la
+%{tde_tdelibdir}/kfile_ps.so
+%{tde_tdelibdir}/kfile_raw.la
+%{tde_tdelibdir}/kfile_raw.so
+%{tde_tdelibdir}/kfile_rgb.la
+%{tde_tdelibdir}/kfile_rgb.so
+%{tde_tdelibdir}/kfile_tga.la
+%{tde_tdelibdir}/kfile_tga.so
+%{tde_tdelibdir}/kfile_tiff.la
+%{tde_tdelibdir}/kfile_tiff.so
+%{tde_tdelibdir}/kfile_xbm.la
+%{tde_tdelibdir}/kfile_xbm.so
+%{tde_tdelibdir}/kfile_xpm.la
+%{tde_tdelibdir}/kfile_xpm.so
+%{tde_datadir}/services/gsthumbnail.desktop
+%{tde_datadir}/services/kfile_bmp.desktop
+%{tde_datadir}/services/kfile_dds.desktop
+%{tde_datadir}/services/kfile_dvi.desktop
+%{tde_datadir}/services/kfile_exr.desktop
+%{tde_datadir}/services/kfile_gif.desktop
+%{tde_datadir}/services/kfile_ico.desktop
+%{tde_datadir}/services/kfile_jpeg.desktop
+%{tde_datadir}/services/kfile_pcx.desktop
+%{tde_datadir}/services/kfile_pdf.desktop
+%{tde_datadir}/services/kfile_png.desktop
+%{tde_datadir}/services/kfile_pnm.desktop
+%{tde_datadir}/services/kfile_ps.desktop
+%{tde_datadir}/services/kfile_raw.desktop
+%{tde_datadir}/services/kfile_rgb.desktop
+%{tde_datadir}/services/kfile_tga.desktop
+%{tde_datadir}/services/kfile_tiff.desktop
+%{tde_datadir}/services/kfile_xbm.desktop
+%{tde_datadir}/services/kfile_xpm.desktop
+
+##########
+
+%package -n trinity-kdvi
+Summary: Dvi viewer for TDE
+Group: Applications/Graphics
+
+%description -n trinity-kdvi
+This program and KPart allow the user to display *.DVI files from TeX.
+
+%files -n trinity-kdvi
+%defattr(-,root,root,-)
+%{tde_bindir}/kdvi
+%{tde_tdelibdir}/kdvipart.la
+%{tde_tdelibdir}/kdvipart.so
+%{tde_tdeappdir}/kdvi.desktop
+%{tde_datadir}/apps/kdvi/
+%{tde_datadir}/config.kcfg/kdvi.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kdvi.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kdvi.svgz
+%{tde_datadir}/services/kdvimultipage.desktop
+%{tde_tdedocdir}/HTML/en/kdvi/
+
+%post -n trinity-kdvi
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kdvi
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kfax
+Summary: G3/G4 fax viewer for Trinity
+Group: Applications/Graphics
+Requires: libtiff
+
+%description -n trinity-kfax
+A fax viewer for Trinity, supporting the display of raw and tiffed fax images
+(g3, g3-2d, g4).
+
+%files -n trinity-kfax
+%defattr(-,root,root,-)
+%doc rpmdocs/kfax/
+%{tde_bindir}/kfax
+%{tde_tdeappdir}/kfax.desktop
+%{tde_datadir}/apps/kfax/
+%{tde_datadir}/icons/hicolor/??x??/apps/kfax.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kfax.svgz
+
+%post -n trinity-kfax
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kfax
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kfaxview
+Summary: G3/G4 fax viewer for Trinity using kviewshell
+Group: Applications/Graphics
+
+%description -n trinity-kfaxview
+A fax viewer for Trinity, supporting the display of raw and tiffed fax images
+(g3, g3-2d, g4).
+
+This faxviewer uses kviewshell and is intended to replace the standalone
+kfax application once it reproduces all of kfax's features.
+
+%files -n trinity-kfaxview
+%defattr(-,root,root,-)
+%{tde_bindir}/kfaxview
+%{tde_libdir}/libkfaximage.so.*
+%{tde_tdelibdir}/kfaxviewpart.*
+%{tde_tdeappdir}/kfaxview.desktop
+%{tde_datadir}/apps/kfaxview/
+%{tde_datadir}/icons/hicolor/??x??/apps/kfaxview.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kfaxview.svgz
+%{tde_datadir}/services/kfaxmultipage.desktop
+%{tde_datadir}/services/kfaxmultipage_tiff.desktop
+
+%post -n trinity-kfaxview
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kfaxview
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kgamma
+Summary: Gamma correction module for the Trinity Control Center
+Group: Applications/Graphics
+
+%description -n trinity-kgamma
+KGamma is a Trinity Control Center module for gamma calibration/correction
+of XFree86. With proper gamma settings, your display (websites, images,
+etc.) will look the same on your monitor as on other monitors.
+
+Homepage: http://kgamma.berlios.de/index2.php
+
+%files -n trinity-kgamma
+%defattr(-,root,root,-)
+%{tde_bindir}/xf86gammacfg
+%{tde_tdelibdir}/kcm_kgamma.la
+%{tde_tdelibdir}/kcm_kgamma.so
+%{tde_tdeappdir}/kgamma.desktop
+%{tde_datadir}/apps/kgamma/
+%{tde_datadir}/icons/hicolor/*/apps/kgamma.png
+%{tde_tdedocdir}/HTML/en/kgamma/
+
+%post -n trinity-kgamma
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kgamma
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kghostview
+Summary: PostScript viewer for Trinity
+Group: Applications/Graphics
+Requires: ghostscript
+
+%description -n trinity-kghostview
+KGhostview is Trinity's PostScript viewer. It is a port of Tim Theisen's
+Ghostview program which is used to view documents prepared in Adobe's
+PostScript page description language. PostScript is the major page
+description language for printing on UNIX systems, and this application is
+useful to preview material intended for printing, or for reading documents
+online.
+
+%files -n trinity-kghostview
+%defattr(-,root,root,-)
+%{tde_bindir}/kghostview
+%{tde_tdelibdir}/libkghostviewpart.la
+%{tde_tdelibdir}/libkghostviewpart.so
+%{tde_libdir}/libkghostviewlib.so.*
+%{tde_tdeappdir}/kghostview.desktop
+%{tde_datadir}/apps/kconf_update/kghostview.upd
+%{tde_datadir}/apps/kconf_update/update-to-xt-names.pl
+%{tde_datadir}/apps/kghostview/
+%{tde_datadir}/config.kcfg/kghostview.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kghostview.png
+%{tde_datadir}/services/kghostview_part.desktop
+%{tde_tdedocdir}/HTML/en/kghostview/
+
+%post -n trinity-kghostview
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kghostview
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kiconedit
+Summary: An icon editor for Trinity
+Group: Applications/Graphics
+
+%description -n trinity-kiconedit
+KIconedit allows you easily to create and edit icons.
+
+%files -n trinity-kiconedit
+%defattr(-,root,root,-)
+%{tde_bindir}/kiconedit
+%{tde_tdeappdir}/kiconedit.desktop
+%{tde_datadir}/apps/kiconedit/
+%{tde_datadir}/icons/hicolor/*/apps/kiconedit.png
+%{tde_tdedocdir}/HTML/en/kiconedit/
+
+%post -n trinity-kiconedit
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kiconedit
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmrml
+Summary: A Konqueror plugin for searching pictures
+Group: Applications/Graphics
+
+%description -n trinity-kmrml
+MRML is short for Multimedia Retrieval Markup Language, which defines a
+protocol for querying a server for images based on their content. See
+http://www.mrml.net about MRML and the GNU Image Finding Tool (GIFT), an
+MRML server.
+
+%files -n trinity-kmrml
+%defattr(-,root,root,-)
+%{tde_bindir}/mrmlsearch
+%{tde_tdelibdir}/kcm_kmrml.la
+%{tde_tdelibdir}/kcm_kmrml.so
+%{tde_tdelibdir}/kded_daemonwatcher.la
+%{tde_tdelibdir}/kded_daemonwatcher.so
+%{tde_tdelibdir}/kio_mrml.la
+%{tde_tdelibdir}/kio_mrml.so
+%{tde_tdelibdir}/libkmrmlpart.la
+%{tde_tdelibdir}/libkmrmlpart.so
+%{tde_tdelibdir}/mrmlsearch.la
+%{tde_tdelibdir}/mrmlsearch.so
+%{tde_libdir}/lib[kt]deinit_mrmlsearch.so
+%{tde_tdeappdir}/kcmkmrml.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/mrml-servicemenu.desktop
+%{tde_datadir}/mimelnk/text/mrml.desktop
+%{tde_datadir}/services/kded/daemonwatcher.desktop
+%{tde_datadir}/services/mrml.protocol
+%{tde_datadir}/services/mrml_part.desktop
+
+%post -n trinity-kmrml
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kmrml
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kolourpaint
+Summary: A simple paint program for Trinity
+Group: Applications/Graphics
+
+%description -n trinity-kolourpaint
+KolourPaint is a very simple paint program for Trinity. It aims to be
+conceptually simple to understand; providing a level of functionality
+targeted towards the average user. It's designed for daily tasks like:
+
+* Painting - drawing diagrams and "finger painting"
+* Image Manipulation - editing screenshots and photos; applying effects
+* Icon Editing - drawing clipart and logos with transparency
+
+It's not an unusable and monolithic program where simple tasks like
+drawing lines become near impossible. Nor is it so simple that it lacks
+essential features like Undo/Redo.
+
+Homepage: http://kolourpaint.sourceforge.net
+
+%files -n trinity-kolourpaint
+%defattr(-,root,root,-)
+%{tde_bindir}/kolourpaint
+%{tde_tdeappdir}/kolourpaint.desktop
+%{tde_datadir}/apps/kolourpaint/
+%{tde_datadir}/icons/hicolor/*/apps/kolourpaint.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kolourpaint.svgz
+%{tde_tdedocdir}/HTML/en/kolourpaint/
+
+%post -n trinity-kolourpaint
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kolourpaint
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kooka
+Summary: Scanner program for Trinity
+Group: Applications/Graphics
+
+%description -n trinity-kooka
+Kooka is an open source GNU/Linux scan program based on SANE and
+KScan library.
+
+Kooka helps you to handle the most important scan parameters, find the
+correct image file format to save and manage your scanned images. It
+offers support for different OCR modules. Libkscan, a autonomous part
+of Kooka, provides a scan service for easy and consistent use to all
+KDE applications.
+
+Install ocrad or gocr if you wish to enable optical character recognition
+in kooka.
+
+Homepage: http://kooka.kde.org/
+
+%files -n trinity-kooka
+%defattr(-,root,root,-)
+%{tde_datadir}/config/kookarc
+%{tde_bindir}/kooka
+%{tde_tdeappdir}/kooka.desktop
+%{tde_datadir}/apps/kooka/
+%{tde_tdedocdir}/HTML/en/kooka/
+
+%post -n trinity-kooka
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kooka
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kpdf
+Summary: PDF viewer for Trinity
+Group: Applications/Graphics
+#Recommends: kghostview-trinity (= ${binary:Version})
+
+%description -n trinity-kpdf
+KPDF allows you to view PDF (Portable Document Format) files. This package
+includes kpdfpart so you can embed in konqueror or run as a standalone
+application.
+
+%files -n trinity-kpdf
+%defattr(-,root,root,-)
+%{tde_bindir}/kpdf
+%{tde_tdelibdir}/libkpdfpart.la
+%{tde_tdelibdir}/libkpdfpart.so
+%{tde_tdeappdir}/kpdf.desktop
+%{tde_datadir}/apps/kpdf/shell.rc
+%{tde_datadir}/apps/kpdfpart/part.rc
+%{tde_datadir}/config.kcfg/kpdf.kcfg
+%{tde_tdedocdir}/HTML/en/kpdf/
+%{tde_datadir}/icons/hicolor/*/apps/kpdf.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kpdf.svgz
+%{tde_datadir}/services/kpdf_part.desktop
+
+%post -n trinity-kpdf
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kpdf
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kpovmodeler
+Summary: A graphical editor for povray scenes
+Group: Applications/Graphics
+#Requires: povray
+
+%description -n trinity-kpovmodeler
+KPovmodeler is KDE's graphical editor for povray scenes. KPovModeler is a
+modeling and composition program for creating POV-Ray scenes in KDE.
+
+For most modelers, POV-Ray is nothing but a rendering engine. This greatly
+limits the innate possibilities of the POV-Ray scripted language. This
+is not the case for KPovModeler, which allows you to use all the features
+of POV-Ray through the translation of POV-Ray language into a graphical
+tree.
+
+kpovmodeler uses the povray package, currently available only in Debian's
+non-free, unsupported repository.
+
+Homepage: http://www.kpovmodeler.org
+
+%files -n trinity-kpovmodeler
+%defattr(-,root,root,-)
+%doc rpmdocs/kpovmodeler/
+%{tde_bindir}/kpovmodeler
+%{tde_libdir}/libkpovmodeler.so.*
+%{tde_tdelibdir}/libkpovmodelerpart.*
+%{tde_tdeappdir}/kpovmodeler.desktop
+%{tde_datadir}/apps/kpovmodeler/
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/kpovmodeler_doc.*
+%{tde_datadir}/icons/hicolor/*/apps/kpovmodeler.*
+%doc %{tde_tdedocdir}/HTML/en/kpovmodeler/
+
+%post -n trinity-kpovmodeler
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kpovmodeler
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kruler
+Summary: A screen ruler and color measurement tool for Trinity
+Group: Applications/Graphics
+
+%description -n trinity-kruler
+Kruler is a screen ruler (using pixels) and color measurement tool for KDE.
+
+%files -n trinity-kruler
+%defattr(-,root,root,-)
+%{tde_bindir}/kruler
+%{tde_tdeappdir}/kruler.desktop
+%{tde_datadir}/applnk/Graphics/kruler.desktop
+%{tde_datadir}/apps/kruler/
+%{tde_datadir}/icons/hicolor/*/apps/kruler.png
+%{tde_tdedocdir}/HTML/en/kruler/
+
+%post -n trinity-kruler
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kruler
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksnapshot
+Summary: Screenshot utility for Trinity
+Group: Applications/Graphics
+
+%description -n trinity-ksnapshot
+KSnapshot is a simple applet for taking screenshots. It is capable of
+capturing images of either the whole desktop or just a single window.
+The images can then be saved in a variety of formats.
+
+%files -n trinity-ksnapshot
+%defattr(-,root,root,-)
+%{tde_bindir}/ksnapshot
+%{tde_tdeappdir}/ksnapshot.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ksnapshot.png
+%{tde_datadir}/icons/hicolor/scalable/apps/ksnapshot.svgz
+%{tde_tdedocdir}/HTML/en/ksnapshot/
+
+%post -n trinity-ksnapshot
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ksnapshot
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksvg
+Summary: SVG viewer for Trinity
+Group: Applications/Graphics
+
+%description -n trinity-ksvg
+KSVG allows you view SVG (scalable vector graphics) files. This package
+includes kpart so you can embed it in konqueror and a standalone
+application.
+
+%files -n trinity-ksvg
+%defattr(-,root,root,-)
+%{tde_bindir}/printnodetest
+%{tde_bindir}/svgdisplay
+%{tde_tdelibdir}/libksvgplugin.la
+%{tde_tdelibdir}/libksvgplugin.so
+%{tde_tdelibdir}/libksvgrendererlibart.la
+%{tde_tdelibdir}/libksvgrendererlibart.so
+%{tde_tdelibdir}/svgthumbnail.la
+%{tde_tdelibdir}/svgthumbnail.so
+%{tde_libdir}/libksvg.so.0
+%{tde_libdir}/libksvg.so.0.0.1
+%{tde_libdir}/libtext2path.so.0
+%{tde_libdir}/libtext2path.so.0.0.0
+%{tde_datadir}/apps/ksvg/ksvgplugin.rc
+%{tde_datadir}/services/ksvglibartcanvas.desktop
+%{tde_datadir}/services/ksvgplugin.desktop
+%{tde_datadir}/services/svgthumbnail.desktop
+%{tde_datadir}/servicetypes/ksvgrenderer.desktop
+
+%post -n trinity-ksvg
+/sbin/ldconfig || :
+
+%postun -n trinity-ksvg
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kview
+Summary: Simple image viewer/converter for Trinity
+Group: Applications/Graphics
+
+%description -n trinity-kview
+KView is a simple image viewer and converter application. It supports
+a number of plugins, which add an array of basic editing capabilities
+as well.
+
+%files -n trinity-kview
+%defattr(-,root,root,-)
+%{tde_bindir}/kview
+%{tde_tdelibdir}/kcm_kviewcanvasconfig.la
+%{tde_tdelibdir}/kcm_kviewcanvasconfig.so
+%{tde_tdelibdir}/kcm_kviewgeneralconfig.la
+%{tde_tdelibdir}/kcm_kviewgeneralconfig.so
+%{tde_tdelibdir}/kcm_kviewpluginsconfig.la
+%{tde_tdelibdir}/kcm_kviewpluginsconfig.so
+%{tde_tdelibdir}/kcm_kviewpresenterconfig.la
+%{tde_tdelibdir}/kcm_kviewpresenterconfig.so
+%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.la
+%{tde_tdelibdir}/kcm_kviewviewerpluginsconfig.so
+%{tde_tdelibdir}/kview.la
+%{tde_tdelibdir}/kview.so
+%{tde_tdelibdir}/kview_browserplugin.la
+%{tde_tdelibdir}/kview_browserplugin.so
+%{tde_tdelibdir}/kview_effectsplugin.la
+%{tde_tdelibdir}/kview_effectsplugin.so
+%{tde_tdelibdir}/kview_presenterplugin.la
+%{tde_tdelibdir}/kview_presenterplugin.so
+%{tde_tdelibdir}/kview_scannerplugin.la
+%{tde_tdelibdir}/kview_scannerplugin.so
+%{tde_tdelibdir}/libkviewcanvas.la
+%{tde_tdelibdir}/libkviewcanvas.so
+%{tde_tdelibdir}/libkviewviewer.la
+%{tde_tdelibdir}/libkviewviewer.so
+%{tde_libdir}/lib[kt]deinit_kview.so
+%{tde_libdir}/libkimageviewer.so.*
+%{tde_tdelibdir}/libphotobook.la
+%{tde_tdelibdir}/libphotobook.so
+%{tde_tdeappdir}/kview.desktop
+%{tde_datadir}/apps/kview/
+%{tde_datadir}/apps/kviewviewer/
+%{tde_datadir}/apps/photobook/photobookui.rc
+%{tde_datadir}/icons/crystalsvg/*/apps/photobook.png
+%{tde_datadir}/icons/hicolor/*/apps/kview.png
+%{tde_datadir}/services/kconfiguredialog/kviewcanvasconfig.desktop
+%{tde_datadir}/services/kconfiguredialog/kviewgeneralconfig.desktop
+%{tde_datadir}/services/kconfiguredialog/kviewpluginsconfig.desktop
+%{tde_datadir}/services/kconfiguredialog/kviewpresenterconfig.desktop
+%{tde_datadir}/services/kconfiguredialog/kviewviewerpluginsconfig.desktop
+%{tde_datadir}/services/kviewcanvas.desktop
+%{tde_datadir}/services/kviewviewer.desktop
+%{tde_datadir}/services/photobook.desktop
+%{tde_datadir}/servicetypes/kimageviewer.desktop
+%{tde_datadir}/servicetypes/kimageviewercanvas.desktop
+%{tde_tdedocdir}/HTML/en/kview/
+
+%post -n trinity-kview
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+%postun -n trinity-kview
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kviewshell
+Summary: Generic framework for viewer applications in Trinity
+Group: Applications/Graphics
+
+%description -n trinity-kviewshell
+KViewShell is a generic viewing framework that allows the graphical
+applications, such as the kview image viewer, to be embedded in other
+KDE applications, such as Konqueror.
+
+KViewShell comes with a djvuviewpart plugin included, for viewing
+DjVu images.
+
+%files -n trinity-kviewshell
+%defattr(-,root,root,-)
+%{tde_bindir}/kviewshell
+%{tde_libdir}/libdjvu.la
+%{tde_libdir}/libdjvu.so
+%{tde_tdelibdir}/djvuviewpart.so
+%{tde_tdelibdir}/djvuviewpart.la
+%{tde_tdelibdir}/emptymultipagepart.la
+%{tde_tdelibdir}/emptymultipagepart.so
+%{tde_tdelibdir}/kviewerpart.la
+%{tde_tdelibdir}/kviewerpart.so
+%{tde_libdir}/libkmultipage.so.*
+%{tde_datadir}/apps/djvumultipage.rc
+%{tde_datadir}/apps/kviewerpart/
+%{tde_datadir}/apps/kviewshell/kviewshell.rc
+%{tde_datadir}/config.kcfg/djvumultipage.kcfg
+%{tde_datadir}/config.kcfg/kviewshell.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/kviewshell.png
+%{tde_datadir}/services/emptymultipage.desktop
+%{tde_datadir}/services/djvumultipage.desktop
+%{tde_datadir}/servicetypes/kmultipage.desktop
+
+%post -n trinity-kviewshell
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-kviewshell
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkscan
+Summary: Scanner library for Trinity
+Group: Environment/Libraries
+
+%description -n trinity-libkscan
+KScan is TDE's scanner library. It's used by kooka and by koffice currently.
+It provides an easy-to-use library, which allows you to access your scanner
+(as long as it's sane compatible).
+
+%files -n trinity-libkscan
+%defattr(-,root,root,-)
+%{tde_libdir}/libkscan.so.*
+%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_color.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_gray.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_halftone.png
+%{tde_datadir}/icons/crystalsvg/16x16/actions/palette_lineart.png
+%{tde_datadir}/services/scanservice.desktop
+
+%post -n trinity-libkscan
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-libkscan
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkscan-devel
+Summary: Development files for the Trinity scanner library
+Group: Development/Libraries
+
+%description -n trinity-libkscan-devel
+This package contains development files for Trinity's scanner library.
+
+%files -n trinity-libkscan-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkscan.la
+%{tde_libdir}/libkscan.so
+
+%post -n trinity-libkscan-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkscan-devel
+/sbin/ldconfig || :
+
+##########
+
+%package libpoppler-tqt
+Summary: TQt support for Poppler
+Group: Environment/Libraries
+Provides: poppler-tqt = %{version}-%{release}
+
+%description libpoppler-tqt
+TQt support library for Poppler.
+This library is used by the Trinity graphics file plugins for PDF support.
+
+%files libpoppler-tqt
+%defattr(-,root,root,-)
+%{tde_libdir}/libpoppler-tqt.so.*
+
+%post libpoppler-tqt
+/sbin/ldconfig || :
+
+%postun libpoppler-tqt
+/sbin/ldconfig || :
+
+##########
+
+%package libpoppler-tqt-devel
+Summary: Development files for TQt support for Poppler
+Group: Development/Libraries
+Requires: %{name}-libpoppler-tqt
+Provides: poppler-tqt-devel = %{version}-%{release}
+
+%description libpoppler-tqt-devel
+Development files of TQt support library for Poppler.
+This package contains the development files needed to compile applications against poppler-tqt.
+
+%files libpoppler-tqt-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/poppler-link-qt3.h
+%{tde_tdeincludedir}/poppler-page-transition.h
+%{tde_tdeincludedir}/poppler-qt.h
+%{tde_libdir}/libpoppler-tqt.la
+%{tde_libdir}/libpoppler-tqt.so
+%{tde_libdir}/pkgconfig/poppler-tqt.pc
+
+%post libpoppler-tqt-devel
+/sbin/ldconfig || :
+
+%postun libpoppler-tqt-devel
+/sbin/ldconfig || :
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+
+Obsoletes: trinity-kdegraphics-devel < %{version}-%{release}
+Provides: trinity-kdegraphics-devel = %{version}-%{release}
+
+Requires: trinity-libkscan-devel = %{version}-%{release}
+Requires: %{name}-libpoppler-tqt-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/dom/
+#%{tde_tdeincludedir}/kfaximage.h
+%{tde_tdeincludedir}/kmultipageInterface.h
+%{tde_tdeincludedir}/ksvg/
+%{tde_tdeincludedir}/kviewshell/
+%{tde_tdeincludedir}/libtext2path-0.1/BezierPath.h
+%{tde_tdeincludedir}/libtext2path-0.1/Glyph.h
+%{tde_tdeincludedir}/libtext2path-0.1/GlyphTracer.h
+%{tde_libdir}/lib[kt]deinit_kview.la
+%{tde_libdir}/lib[kt]deinit_mrmlsearch.la
+%{tde_libdir}/libkghostviewlib.la
+%{tde_libdir}/libkghostviewlib.so
+%{tde_libdir}/libkimageviewer.la
+%{tde_libdir}/libkimageviewer.so
+%{tde_libdir}/libkmultipage.la
+%{tde_libdir}/libkmultipage.so
+%{tde_libdir}/libkpovmodeler.la
+%{tde_libdir}/libkpovmodeler.so
+%{tde_libdir}/libksvg.la
+%{tde_libdir}/libksvg.so
+%{tde_libdir}/libtext2path.la
+%{tde_libdir}/libtext2path.so
+# kfaxview
+%{tde_libdir}/libkfaximage.so
+%{tde_libdir}/libkfaximage.la
+# cmake
+%{tde_datadir}/cmake/*
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+############
+
+# Excludes kuickshow (built separately)
+#%exclude %{tde_bindir}/kuickshow
+#%exclude %{tde_tdelibdir}/kuickshow.la
+#%exclude %{tde_tdelibdir}/kuickshow.so
+#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.la
+#%exclude %{tde_libdir}/lib[kt]deinit_kuickshow.so
+#%exclude %{tde_tdeappdir}/kuickshow.desktop
+#%exclude %{tde_datadir}/apps/kuickshow/
+#%exclude %{tde_datadir}/icons/hicolor/*/apps/kuickshow.png
+#%exclude %{tde_tdedocdir}/HTML/en/kuickshow/
+
+##########
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n kdegraphics-3.5.13.1
+%if 0%{?rhel} && 0%{?rhel} <= 5
+%patch3 -p1 -b .mkstemps
+%endif
+%patch9 -p1
+%patch10 -p1
+
+%if 0%{?rhel} == 4
+%patch201 -p1 -b .rhel4
+%endif
+
+%if 0%{?build_kamera} == 0
+%__rm -rf doc/kamera/
+%endif
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+
+# Do not build against any "/usr" installed KDE
+export KDEDIR=%{tde_prefix}
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DPKGCONFIG_INSTALL_DIR="%{tde_libdir}/pkgconfig" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ %{?with_t1lib:-DWITH_T1LIB=ON} \
+ %{?with_paper:-DWITH_LIBPAPER=ON} \
+ -DWITH_TIFF=ON \
+ -DWITH_OPENEXR=ON \
+ -DWITH_PDF=ON \
+ -DBUILD_ALL=ON \
+ -DBUILD_KUICKSHOW=OFF \
+ %{!?build_kamera:-DBUILD_KAMERA=OFF} \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+# locale's
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# rpmdocs
+for dir in k* ; do
+ for file in AUTHORS ChangeLog README TODO ; do
+ if test -s "$dir/$file" ; then
+ install -p -m644 -D "$dir/$file" "rpmdocs/$dir/$file"
+ echo "%doc rpmdocs/$dir/" >> %{name}.lang
+ fi
+ done
+done
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%changelog
+* Sun Sep 30 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/kdelibs/kdelibs-3.5.13-add_ability_to_set_kled_off_color.patch b/redhat/kdelibs/kdelibs-3.5.13-add_ability_to_set_kled_off_color.patch
deleted file mode 100644
index bdaac75ad..000000000
--- a/redhat/kdelibs/kdelibs-3.5.13-add_ability_to_set_kled_off_color.patch
+++ /dev/null
@@ -1,100 +0,0 @@
-commit 513ffc6edff67b5f7f121c3064b059ce82cbb842
-Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
-Date: 1341187933 -0500
-
- Add ability to set KLed off color
-
-diff --git a/kdeui/kled.cpp b/kdeui/kled.cpp
-index 3a3aa2a..dc245cd 100644
---- a/kdeui/kled.cpp
-+++ b/kdeui/kled.cpp
-@@ -536,6 +536,12 @@ KLed::color() const
- return led_color;
- }
-
-+TQColor
-+KLed::offColor() const
-+{
-+ return led_off_color;
-+}
-+
- KLed::Look
- KLed::look() const
- {
-@@ -581,6 +587,17 @@ KLed::setColor(const TQColor& col)
- }
-
- void
-+KLed::setOffColor(const TQColor& col)
-+{
-+ if(led_off_color!=col) {
-+ if(d->on_map) { delete d->on_map; d->on_map = 0; }
-+ if(d->off_map) { delete d->off_map; d->off_map = 0; }
-+ d->offcolor = col;
-+ update();
-+ }
-+}
-+
-+void
- KLed::setDarkFactor(int darkfactor)
- {
- if (d->dark_factor != darkfactor) {
-diff --git a/kdeui/kled.h b/kdeui/kled.h
-index 7b9f327..b4f828e 100644
---- a/kdeui/kled.h
-+++ b/kdeui/kled.h
-@@ -50,6 +50,7 @@ class TDEUI_EXPORT KLed : public TQWidget
- Q_PROPERTY( Shape tqshape READ tqshape WRITE setShape )
- Q_PROPERTY( Look look READ look WRITE setLook )
- Q_PROPERTY( TQColor color READ color WRITE setColor )
-+ Q_PROPERTY( TQColor offColor READ color WRITE setOffColor )
- Q_PROPERTY( int darkFactor READ darkFactor WRITE setDarkFactor )
-
- public:
-@@ -148,6 +149,14 @@ public:
- TQColor color() const;
-
- /**
-+ * Returns the off color of the widget
-+ *
-+ * @see OffColor
-+ * @short Returns LED off color.
-+ */
-+ TQColor offColor() const;
-+
-+ /**
- * Returns the look of the widget.
- *
- * @see Look
-@@ -204,6 +213,23 @@ public:
- void setColor(const TQColor& color);
-
- /**
-+ * Set the off color of the widget.
-+ * The Color is shown with the KLed::On state.
-+ * The KLed::Off state is shown with this color if set
-+ *
-+ * The widget calls the update() method, so it will
-+ * be updated when entering the main event loop.
-+ *
-+ * Note that calling setColor will override this value
-+ *
-+ * @see Color
-+ *
-+ * @param color New off color of the LED.
-+ * @short Sets the LED off color.
-+ */
-+ void setOffColor(const TQColor& color);
-+
-+ /**
- * Sets the factor to darken the LED in OFF state.
- * Same as TQColor::dark().
- * "darkfactor should be greater than 100, else the LED gets lighter
-@@ -316,6 +342,7 @@ protected:
- private:
- State led_state;
- TQColor led_color;
-+ TQColor led_off_color;
- Look led_look;
- Shape led_tqshape;
-
diff --git a/redhat/kdelibs/kdelibs-3.5.13-fix_xrender_libdir.patch b/redhat/kdelibs/kdelibs-3.5.13-fix_xrender_libdir.patch
new file mode 100644
index 000000000..64cf9d6c1
--- /dev/null
+++ b/redhat/kdelibs/kdelibs-3.5.13-fix_xrender_libdir.patch
@@ -0,0 +1,987 @@
+--- kdelibs/kdefx/CMakeLists.txt.ORI 2012-09-05 14:49:17.332664590 -0400
++++ kdelibs/kdefx/CMakeLists.txt 2012-09-05 14:50:29.605179741 -0400
+@@ -20,6 +20,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kstyles/keramik/CMakeLists.txt.ORI 2012-09-05 14:52:39.488511648 -0400
++++ kdelibs/kstyles/keramik/CMakeLists.txt 2012-09-05 14:52:46.135375114 -0400
+@@ -26,6 +26,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kstyles/plastik/CMakeLists.txt.ORI 2012-09-05 14:55:52.184554103 -0400
++++ kdelibs/kstyles/plastik/CMakeLists.txt 2012-09-05 14:55:59.389406152 -0400
+@@ -25,6 +25,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kstyles/asteroid/CMakeLists.txt.ORI 2012-09-05 14:57:14.714859423 -0400
++++ kdelibs/kstyles/asteroid/CMakeLists.txt 2012-09-05 14:57:25.833631121 -0400
+@@ -23,6 +23,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kstyles/highcolor/CMakeLists.txt.ORI 2012-09-05 14:59:43.880796883 -0400
++++ kdelibs/kstyles/highcolor/CMakeLists.txt 2012-09-05 14:59:52.769614406 -0400
+@@ -23,6 +23,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kstyles/highcontrast/CMakeLists.txt.ORI 2012-09-05 15:00:52.531387606 -0400
++++ kdelibs/kstyles/highcontrast/CMakeLists.txt 2012-09-05 15:00:59.908236179 -0400
+@@ -26,6 +26,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kstyles/light/CMakeLists.txt.ORI 2012-09-05 15:02:37.873225343 -0400
++++ kdelibs/kstyles/light/CMakeLists.txt 2012-09-05 15:02:46.535047560 -0400
+@@ -23,6 +23,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kdecore/CMakeLists.txt.ORI 2012-09-05 15:04:44.597624532 -0400
++++ kdelibs/kdecore/CMakeLists.txt 2012-09-05 15:04:58.009349300 -0400
+@@ -37,6 +37,7 @@
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${LIBIDN_LIBRARY_DIRS}
++ ${XCOMPOSITE_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/dcop/client/CMakeLists.txt.ORI 2012-09-05 15:09:40.211558975 -0400
++++ kdelibs/dcop/client/CMakeLists.txt 2012-09-05 15:09:46.973420255 -0400
+@@ -19,6 +19,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kjs/CMakeLists.txt.ORI 2012-09-05 15:10:44.871247689 -0400
++++ kdelibs/kjs/CMakeLists.txt 2012-09-05 15:10:55.546035695 -0400
+@@ -21,6 +21,7 @@
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${LIBPCRE_LIBDIR}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kio/misc/CMakeLists.txt.ORI 2012-09-05 15:11:50.982934593 -0400
++++ kdelibs/kio/misc/CMakeLists.txt 2012-09-05 15:11:59.380767769 -0400
+@@ -40,6 +40,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kdecore/kconfig_compiler/CMakeLists.txt.ORI 2012-09-05 15:12:54.956663587 -0400
++++ kdelibs/kdecore/kconfig_compiler/CMakeLists.txt 2012-09-05 15:13:01.689529800 -0400
+@@ -17,6 +17,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kwallet/client/CMakeLists.txt.ORI 2012-09-05 15:13:46.102647178 -0400
++++ kdelibs/kwallet/client/CMakeLists.txt 2012-09-05 15:13:54.441481441 -0400
+@@ -19,6 +19,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kwallet/backend/CMakeLists.txt.ORI 2012-09-05 15:14:39.946576908 -0400
++++ kdelibs/kwallet/backend/CMakeLists.txt 2012-09-05 15:14:46.189452800 -0400
+@@ -20,6 +20,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kunittest/CMakeLists.txt.ORI 2012-09-05 15:15:30.724567350 -0400
++++ kdelibs/kunittest/CMakeLists.txt 2012-09-05 15:15:37.191438762 -0400
+@@ -18,6 +18,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kio/misc/kdesasl/CMakeLists.txt.ORI 2012-09-05 15:16:23.686514140 -0400
++++ kdelibs/kio/misc/kdesasl/CMakeLists.txt 2012-09-05 15:16:30.107386437 -0400
+@@ -18,6 +18,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kdesu/CMakeLists.txt.ORI 2012-09-05 15:17:18.220429423 -0400
++++ kdelibs/kdesu/CMakeLists.txt 2012-09-05 15:17:25.132291924 -0400
+@@ -19,6 +19,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kio/misc/kntlm/CMakeLists.txt.ORI 2012-09-05 15:18:10.203395218 -0400
++++ kdelibs/kio/misc/kntlm/CMakeLists.txt 2012-09-05 15:18:16.090278085 -0400
+@@ -19,6 +19,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kdewidgets/CMakeLists.txt.ORI 2012-09-05 15:19:01.043383536 -0400
++++ kdelibs/kdewidgets/CMakeLists.txt 2012-09-05 15:19:08.404237043 -0400
+@@ -29,6 +29,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kded/CMakeLists.txt.ORI 2012-09-05 15:19:53.290343643 -0400
++++ kdelibs/kded/CMakeLists.txt 2012-09-05 15:19:59.050228986 -0400
+@@ -24,6 +24,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kinit/CMakeLists.txt.ORI 2012-09-05 15:20:56.013094954 -0400
++++ kdelibs/kinit/CMakeLists.txt 2012-09-05 15:21:01.877978180 -0400
+@@ -26,6 +26,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kconf_update/CMakeLists.txt.ORI 2012-09-05 15:21:46.470090230 -0400
++++ kdelibs/kconf_update/CMakeLists.txt 2012-09-05 15:21:52.129977515 -0400
+@@ -17,6 +17,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kabc/vcard/CMakeLists.txt.ORI 2012-09-05 15:22:33.653150519 -0400
++++ kdelibs/kabc/vcard/CMakeLists.txt 2012-09-05 15:22:39.350037047 -0400
+@@ -21,6 +21,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kdeui/CMakeLists.txt.ORI 2012-09-05 15:23:43.705755018 -0400
++++ kdelibs/kdeui/CMakeLists.txt 2012-09-05 15:23:52.102587723 -0400
+@@ -33,6 +33,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kimgio/CMakeLists.txt.ORI 2012-09-05 15:24:52.729379655 -0400
++++ kdelibs/kimgio/CMakeLists.txt 2012-09-05 15:24:59.825238243 -0400
+@@ -20,6 +20,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kstyles/kthemestyle/CMakeLists.txt.ORI 2012-09-05 15:25:41.501407611 -0400
++++ kdelibs/kstyles/kthemestyle/CMakeLists.txt 2012-09-05 15:25:48.051277056 -0400
+@@ -23,6 +23,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/libkmid/CMakeLists.txt.ORI 2012-09-05 15:26:30.215436548 -0400
++++ kdelibs/libkmid/CMakeLists.txt 2012-09-05 15:26:36.349314265 -0400
+@@ -19,6 +19,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kioslave/http/kcookiejar/CMakeLists.txt.ORI 2012-09-05 15:27:21.689410284 -0400
++++ kdelibs/kioslave/http/kcookiejar/CMakeLists.txt 2012-09-05 15:27:28.281278845 -0400
+@@ -22,6 +22,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kstyles/utils/installtheme/CMakeLists.txt.ORI 2012-09-05 15:28:14.233362491 -0400
++++ kdelibs/kstyles/utils/installtheme/CMakeLists.txt 2012-09-05 15:28:21.719213198 -0400
+@@ -17,6 +17,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+ ##### kinstalltheme #############################
+--- kdelibs/dnssd/CMakeLists.txt.ORI 2012-09-05 15:29:09.718255841 -0400
++++ kdelibs/dnssd/CMakeLists.txt 2012-09-05 15:29:15.350143500 -0400
+@@ -20,6 +20,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+ ##### headers ###################################
+--- kdelibs/kstyles/highcontrast/config/CMakeLists.txt.ORI 2012-09-05 15:30:26.325727548 -0400
++++ kdelibs/kstyles/highcontrast/config/CMakeLists.txt 2012-09-05 15:30:31.885616614 -0400
+@@ -19,6 +19,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/libkscreensaver/CMakeLists.txt.ORI 2012-09-05 15:31:25.686543044 -0400
++++ kdelibs/libkscreensaver/CMakeLists.txt 2012-09-05 15:31:31.287431270 -0400
+@@ -21,6 +21,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/pics/CMakeLists.txt.ORI 2012-09-05 15:33:15.116358829 -0400
++++ kdelibs/pics/CMakeLists.txt 2012-09-05 15:33:22.821205010 -0400
+@@ -28,6 +28,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kdeprint/tools/escputil/CMakeLists.txt.ORI 2012-09-05 15:34:18.809087161 -0400
++++ kdelibs/kdeprint/tools/escputil/CMakeLists.txt 2012-09-05 15:34:24.838966757 -0400
+@@ -19,6 +19,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/arts/message/CMakeLists.txt.ORI 2012-09-05 15:35:54.035185423 -0400
++++ kdelibs/arts/message/CMakeLists.txt 2012-09-05 15:35:59.572074829 -0400
+@@ -18,6 +18,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kstyles/plastik/config/CMakeLists.txt.ORI 2012-09-05 15:37:59.047687962 -0400
++++ kdelibs/kstyles/plastik/config/CMakeLists.txt 2012-09-05 15:38:04.596577086 -0400
+@@ -19,6 +19,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/networkstatus/CMakeLists.txt.ORI 2012-09-05 15:39:15.031169518 -0400
++++ kdelibs/networkstatus/CMakeLists.txt 2012-09-05 15:39:22.330023641 -0400
+@@ -22,6 +22,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kio/CMakeLists.txt.ORI 2012-09-05 15:40:44.810374939 -0400
++++ kdelibs/kio/CMakeLists.txt 2012-09-05 15:40:54.052190177 -0400
+@@ -30,6 +30,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kio/tests/CMakeLists.txt.ORI 2012-09-05 15:41:48.532100927 -0400
++++ kdelibs/kio/tests/CMakeLists.txt 2012-09-05 15:41:54.080989975 -0400
+@@ -18,6 +18,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kio/kioexec/CMakeLists.txt.ORI 2012-09-05 15:42:48.434903055 -0400
++++ kdelibs/kio/kioexec/CMakeLists.txt 2012-09-05 15:42:54.144788864 -0400
+@@ -22,6 +22,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kio/misc/kfile/CMakeLists.txt.ORI 2012-09-05 15:43:44.232787087 -0400
++++ kdelibs/kio/misc/kfile/CMakeLists.txt 2012-09-05 15:43:51.120649315 -0400
+@@ -21,6 +21,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+@@ -36,4 +37,4 @@
+ SOURCES ${${target}_SRCS}
+ LINK kio-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+-)
+\ No newline at end of file
++)
+--- kdelibs/kdoctools/CMakeLists.txt.ORI 2012-09-05 15:44:33.205807471 -0400
++++ kdelibs/kdoctools/CMakeLists.txt 2012-09-05 15:44:39.466682225 -0400
+@@ -25,6 +25,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kio/misc/ksendbugmail/CMakeLists.txt.ORI 2012-09-05 15:45:24.401783247 -0400
++++ kdelibs/kio/misc/ksendbugmail/CMakeLists.txt 2012-09-05 15:45:31.286645499 -0400
+@@ -19,6 +19,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/interfaces/kscript/CMakeLists.txt.ORI 2012-09-05 15:46:39.496306960 -0400
++++ kdelibs/interfaces/kscript/CMakeLists.txt 2012-09-05 15:46:45.331193604 -0400
+@@ -25,6 +25,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kparts/CMakeLists.txt.ORI 2012-09-05 15:47:41.529101602 -0400
++++ kdelibs/kparts/CMakeLists.txt 2012-09-05 15:47:47.294989542 -0400
+@@ -25,6 +25,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kdeprint/CMakeLists.txt.ORI 2012-09-05 15:48:34.508071783 -0400
++++ kdelibs/kdeprint/CMakeLists.txt 2012-09-05 15:48:41.700931937 -0400
+@@ -40,6 +40,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kdeprint/cups/cupsdconf2/CMakeLists.txt.ORI 2012-09-05 15:49:26.236065937 -0400
++++ kdelibs/kdeprint/cups/cupsdconf2/CMakeLists.txt 2012-09-05 15:49:31.824957243 -0400
+@@ -24,6 +24,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kioslave/http/CMakeLists.txt.ORI 2012-09-05 15:50:45.284528209 -0400
++++ kdelibs/kioslave/http/CMakeLists.txt 2012-09-05 15:50:52.468388422 -0400
+@@ -27,6 +27,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kioslave/file/CMakeLists.txt.ORI 2012-09-05 15:51:43.357398032 -0400
++++ kdelibs/kioslave/file/CMakeLists.txt 2012-09-05 15:51:50.506258876 -0400
+@@ -26,6 +26,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kioslave/ftp/CMakeLists.txt.ORI 2012-09-05 15:52:39.615302790 -0400
++++ kdelibs/kioslave/ftp/CMakeLists.txt 2012-09-05 15:52:45.935179729 -0400
+@@ -21,6 +21,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/arts/kde/CMakeLists.txt.ORI 2012-09-05 15:53:32.040281826 -0400
++++ kdelibs/arts/kde/CMakeLists.txt 2012-09-05 15:53:38.541155204 -0400
+@@ -25,6 +25,7 @@
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${ARTS_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+ # pkg-config stripping -I/usr/include
+--- kdelibs/interfaces/kimproxy/library/CMakeLists.txt.ORI 2012-09-05 15:54:52.117721726 -0400
++++ kdelibs/interfaces/kimproxy/library/CMakeLists.txt 2012-09-05 15:55:02.693515629 -0400
+@@ -23,6 +23,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kresources/CMakeLists.txt.ORI 2012-09-05 15:55:55.219491830 -0400
++++ kdelibs/kresources/CMakeLists.txt 2012-09-05 15:56:01.964360344 -0400
+@@ -24,6 +24,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kioslave/iso/CMakeLists.txt.ORI 2012-09-05 15:57:00.178225273 -0400
++++ kdelibs/kioslave/iso/CMakeLists.txt 2012-09-05 15:57:06.535101301 -0400
+@@ -24,6 +24,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kioslave/gzip/CMakeLists.txt.ORI 2012-09-05 15:58:24.363583139 -0400
++++ kdelibs/kioslave/gzip/CMakeLists.txt 2012-09-05 15:58:29.777477507 -0400
+@@ -18,6 +18,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kioslave/bzip2/CMakeLists.txt.ORI 2012-09-05 15:59:29.076320316 -0400
++++ kdelibs/kioslave/bzip2/CMakeLists.txt 2012-09-05 15:59:34.117221927 -0400
+@@ -19,6 +19,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kioslave/metainfo/CMakeLists.txt.ORI 2012-09-05 16:00:23.606255852 -0400
++++ kdelibs/kioslave/metainfo/CMakeLists.txt 2012-09-05 16:00:29.200146638 -0400
+@@ -20,6 +20,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/krsync/CMakeLists.txt.ORI 2012-09-05 16:01:17.567202186 -0400
++++ kdelibs/krsync/CMakeLists.txt 2012-09-05 16:01:23.763081184 -0400
+@@ -24,6 +24,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kio/misc/kssld/CMakeLists.txt.ORI 2012-09-05 16:02:12.759124170 -0400
++++ kdelibs/kio/misc/kssld/CMakeLists.txt 2012-09-05 16:02:19.426993911 -0400
+@@ -23,6 +23,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kdeui/kdetrayproxy/CMakeLists.txt.ORI 2012-09-05 16:03:48.650271606 -0400
++++ kdelibs/kdeui/kdetrayproxy/CMakeLists.txt 2012-09-05 16:03:54.752156274 -0400
+@@ -20,6 +20,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kio/misc/kwalletd/CMakeLists.txt.ORI 2012-09-05 16:04:55.631005088 -0400
++++ kdelibs/kio/misc/kwalletd/CMakeLists.txt 2012-09-05 16:05:03.666853065 -0400
+@@ -24,6 +24,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/knewstuff/CMakeLists.txt.ORI 2012-09-05 16:05:51.805942029 -0400
++++ kdelibs/knewstuff/CMakeLists.txt 2012-09-05 16:05:57.713830182 -0400
+@@ -23,6 +23,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kio/kpasswdserver/CMakeLists.txt.ORI 2012-09-05 16:06:46.686902706 -0400
++++ kdelibs/kio/kpasswdserver/CMakeLists.txt 2012-09-05 16:06:53.345776552 -0400
+@@ -24,6 +24,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kio/misc/kpac/CMakeLists.txt.ORI 2012-09-05 16:07:43.907818289 -0400
++++ kdelibs/kio/misc/kpac/CMakeLists.txt 2012-09-05 16:07:49.444713316 -0400
+@@ -26,6 +26,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+ ##### other data ################################
+--- kdelibs/kabc/CMakeLists.txt.ORI 2012-09-05 16:08:49.154580815 -0400
++++ kdelibs/kabc/CMakeLists.txt 2012-09-05 16:08:57.154429020 -0400
+@@ -36,6 +36,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/khtml/java/CMakeLists.txt.ORI 2012-09-05 16:09:55.224326707 -0400
++++ kdelibs/khtml/java/CMakeLists.txt 2012-09-05 16:10:02.194194348 -0400
+@@ -28,6 +28,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kutils/CMakeLists.txt.ORI 2012-09-05 16:10:45.848365097 -0400
++++ kdelibs/kutils/CMakeLists.txt 2012-09-05 16:10:51.715253615 -0400
+@@ -26,6 +26,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/interfaces/kscript/sample/CMakeLists.txt.ORI 2012-09-05 16:11:52.986088900 -0400
++++ kdelibs/interfaces/kscript/sample/CMakeLists.txt 2012-09-05 16:12:00.529945437 -0400
+@@ -20,6 +20,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/khtml/kmultipart/CMakeLists.txt.ORI 2012-09-05 16:12:49.105021375 -0400
++++ kdelibs/khtml/kmultipart/CMakeLists.txt 2012-09-05 16:12:55.035908513 -0400
+@@ -25,6 +25,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kcert/CMakeLists.txt.ORI 2012-09-05 16:13:43.686982413 -0400
++++ kdelibs/kcert/CMakeLists.txt 2012-09-05 16:13:51.788828139 -0400
+@@ -26,6 +26,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/arts/knotify/CMakeLists.txt.ORI 2012-09-05 16:14:42.802856412 -0400
++++ kdelibs/arts/knotify/CMakeLists.txt 2012-09-05 16:14:50.217715126 -0400
+@@ -24,6 +24,7 @@
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${ARTS_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/interfaces/kmediaplayer/CMakeLists.txt.ORI 2012-09-05 16:15:47.850616551 -0400
++++ kdelibs/interfaces/kmediaplayer/CMakeLists.txt 2012-09-05 16:15:53.805503001 -0400
+@@ -26,6 +26,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kdeprint/management/CMakeLists.txt.ORI 2012-09-05 16:16:51.704398570 -0400
++++ kdelibs/kdeprint/management/CMakeLists.txt 2012-09-05 16:16:58.402270762 -0400
+@@ -32,6 +32,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kdeprint/lpdunix/CMakeLists.txt.ORI 2012-09-05 16:18:05.348992771 -0400
++++ kdelibs/kdeprint/lpdunix/CMakeLists.txt 2012-09-05 16:18:13.274841407 -0400
+@@ -28,6 +28,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kdeprint/ext/CMakeLists.txt.ORI 2012-09-05 16:19:06.696820851 -0400
++++ kdelibs/kdeprint/ext/CMakeLists.txt 2012-09-05 16:19:13.589689130 -0400
+@@ -26,6 +26,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/interfaces/kmediaplayer/kfileaudiopreview/CMakeLists.txt.ORI 2012-09-05 16:20:09.255625011 -0400
++++ kdelibs/interfaces/kmediaplayer/kfileaudiopreview/CMakeLists.txt 2012-09-05 16:20:16.883479148 -0400
+@@ -28,6 +28,7 @@
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${ARTS_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/khtml/CMakeLists.txt.ORI 2012-09-05 16:21:17.056328088 -0400
++++ kdelibs/khtml/CMakeLists.txt 2012-09-05 16:21:23.855197987 -0400
+@@ -46,6 +46,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kspell2/ui/CMakeLists.txt.ORI 2012-09-05 16:22:21.155101145 -0400
++++ kdelibs/kspell2/ui/CMakeLists.txt 2012-09-05 16:22:28.929952270 -0400
+@@ -25,6 +25,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kcmshell/CMakeLists.txt.ORI 2012-09-05 16:23:26.764844457 -0400
++++ kdelibs/kcmshell/CMakeLists.txt 2012-09-05 16:23:32.943726066 -0400
+@@ -23,6 +23,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kmdi/kmdi/CMakeLists.txt.ORI 2012-09-05 16:24:30.703618985 -0400
++++ kdelibs/kmdi/kmdi/CMakeLists.txt 2012-09-05 16:24:36.946499290 -0400
+@@ -25,6 +25,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kmdi/CMakeLists.txt.ORI 2012-09-05 16:25:27.631527239 -0400
++++ kdelibs/kmdi/CMakeLists.txt 2012-09-05 16:25:33.639411986 -0400
+@@ -27,6 +27,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kspell2/plugins/ispell/CMakeLists.txt.ORI 2012-09-05 16:26:26.062406048 -0400
++++ kdelibs/kspell2/plugins/ispell/CMakeLists.txt 2012-09-05 16:26:31.159308217 -0400
+@@ -19,6 +19,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kspell2/plugins/aspell/CMakeLists.txt.ORI 2012-09-05 16:27:38.670011962 -0400
++++ kdelibs/kspell2/plugins/aspell/CMakeLists.txt 2012-09-05 16:27:44.931891687 -0400
+@@ -21,6 +21,7 @@
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${ASPELL_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kabc/formats/CMakeLists.txt.ORI 2012-09-05 16:28:38.501862464 -0400
++++ kdelibs/kabc/formats/CMakeLists.txt 2012-09-05 16:28:44.382749443 -0400
+@@ -24,6 +24,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kabc/plugins/ldapkio/CMakeLists.txt.ORI 2012-09-05 16:29:38.283713293 -0400
++++ kdelibs/kabc/plugins/ldapkio/CMakeLists.txt 2012-09-05 16:29:44.129600887 -0400
+@@ -27,6 +27,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kabc/plugins/file/CMakeLists.txt.ORI 2012-09-05 16:30:42.311481817 -0400
++++ kdelibs/kabc/plugins/file/CMakeLists.txt 2012-09-05 16:30:47.634379406 -0400
+@@ -27,6 +27,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/interfaces/ktexteditor/CMakeLists.txt.ORI 2012-09-05 16:31:40.221367404 -0400
++++ kdelibs/interfaces/ktexteditor/CMakeLists.txt 2012-09-05 16:31:47.174233563 -0400
+@@ -28,6 +28,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kabc/plugins/dir/CMakeLists.txt.ORI 2012-09-05 16:32:39.930217776 -0400
++++ kdelibs/kabc/plugins/dir/CMakeLists.txt 2012-09-05 16:32:45.775105207 -0400
+@@ -27,6 +27,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kabc/plugins/net/CMakeLists.txt.ORI 2012-09-05 16:33:52.745814992 -0400
++++ kdelibs/kabc/plugins/net/CMakeLists.txt 2012-09-05 16:34:01.271650687 -0400
+@@ -27,6 +27,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kdeprint/cups/CMakeLists.txt.ORI 2012-09-05 16:35:01.843483032 -0400
++++ kdelibs/kdeprint/cups/CMakeLists.txt 2012-09-05 16:35:10.784310629 -0400
+@@ -35,6 +35,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kdeprint/rlpr/CMakeLists.txt.ORI 2012-09-05 16:36:01.783326981 -0400
++++ kdelibs/kdeprint/rlpr/CMakeLists.txt 2012-09-05 16:36:08.502197359 -0400
+@@ -29,6 +29,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kate/plugins/wordcompletion/CMakeLists.txt.ORI 2012-09-05 16:37:02.425156810 -0400
++++ kdelibs/kate/plugins/wordcompletion/CMakeLists.txt 2012-09-05 16:37:08.514039285 -0400
+@@ -21,6 +21,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+ ##### other data ################################
+--- kdelibs/kate/plugins/isearch/CMakeLists.txt.ORI 2012-09-05 16:38:01.583014723 -0400
++++ kdelibs/kate/plugins/isearch/CMakeLists.txt 2012-09-05 16:38:07.610898319 -0400
+@@ -22,6 +22,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kate/interfaces/CMakeLists.txt.ORI 2012-09-05 16:39:02.822865446 -0400
++++ kdelibs/kate/interfaces/CMakeLists.txt 2012-09-05 16:39:11.673700838 -0400
+@@ -21,6 +21,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kdeprint/lpr/CMakeLists.txt.ORI 2012-09-05 16:40:04.179723987 -0400
++++ kdelibs/kdeprint/lpr/CMakeLists.txt 2012-09-05 16:40:15.471513833 -0400
+@@ -29,6 +29,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kate/plugins/insertfile/CMakeLists.txt.ORI 2012-09-05 16:41:07.687541674 -0400
++++ kdelibs/kate/plugins/insertfile/CMakeLists.txt 2012-09-05 16:41:13.326436653 -0400
+@@ -24,6 +24,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kate/plugins/kdatatool/CMakeLists.txt.ORI 2012-09-05 16:42:09.313393591 -0400
++++ kdelibs/kate/plugins/kdatatool/CMakeLists.txt 2012-09-05 16:42:15.058286525 -0400
+@@ -24,6 +24,7 @@
+
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+
+--- kdelibs/kate/part/CMakeLists.txt.ORI 2012-09-05 16:43:06.975318648 -0400
++++ kdelibs/kate/part/CMakeLists.txt 2012-09-05 16:43:13.228202040 -0400
+@@ -35,6 +35,7 @@
+ link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${LUA_LIBRARY_DIRS}
++ ${XRENDER_LIBRARY_DIRS}
+ )
+
+ ##### kate (static library) #####################
diff --git a/redhat/kdelibs/trinity-kdelibs-3.5.13-sru.spec b/redhat/kdelibs/trinity-kdelibs-3.5.13.1.spec
index 46c1d7619..9c9bcf2a6 100755
--- a/redhat/kdelibs/trinity-kdelibs-3.5.13-sru.spec
+++ b/redhat/kdelibs/trinity-kdelibs-3.5.13.1.spec
@@ -10,15 +10,15 @@
%define tde_includedir %{tde_prefix}/include
%define tde_libdir %{tde_prefix}/%{_lib}
-%define tde_tdedocdir %{tde_docdir}/kde
-%define tde_tdeincludedir %{tde_includedir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
%define tde_tdelibdir %{tde_libdir}/trinity
%define _docdir %{tde_docdir}
Name: trinity-tdelibs
Version: 3.5.13.1
-Release: 0%{?dist}%{?_variant}
+Release: 1%{?dist}%{?_variant}
License: GPL
Summary: TDE Libraries
Group: Environment/Libraries
@@ -30,9 +30,7 @@ URL: http://www.trinitydesktop.org/
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source0: kdelibs-3.5.13.tar.gz
-# [tdelibs] Diff between 3.5.13-stable and 3.5.13-sru
-Patch0: tdelibs-3.5.13-sru-20120805.patch
+Source0: kdelibs-3.5.13.1.tar.gz
Obsoletes: tdelibs < %{version}-%{release}
Provides: tdelibs = %{version}-%{release}
@@ -44,45 +42,113 @@ Provides: trinity-kdelibs-apidocs = %{version}-%{release}
BuildRequires: cmake >= 2.8
BuildRequires: libtool
-BuildRequires: tqtinterface-devel
-BuildRequires: trinity-arts-devel
-BuildRequires: krb5-devel libxslt-devel cups-devel libart_lgpl-devel pcre-devel
-BuildRequires: libutempter-devel
-BuildRequires: bzip2-devel
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: krb5-devel
+BuildRequires: libxslt-devel
+BuildRequires: cups-devel
+BuildRequires: libart_lgpl-devel
+BuildRequires: pcre-devel
BuildRequires: openssl-devel
BuildRequires: gcc-c++
BuildRequires: alsa-lib-devel
BuildRequires: libidn-devel
BuildRequires: qt3-devel
-BuildRequires: jasper-devel
BuildRequires: libtiff-devel
-BuildRequires: OpenEXR-devel
BuildRequires: glib2-devel
BuildRequires: gamin-devel
+BuildRequires: aspell
BuildRequires: aspell-devel
-BuildRequires: hspell-devel
-BuildRequires: avahi-tqt-devel >= 3.5.13
# LUA support are not ready yet
#BuildRequires: lua-devel
+
+
+# BZIP2 support
+%if 0%{?suse_version}
+BuildRequires: libbz2-devel
+%else
+BuildRequires: bzip2-devel
+%endif
+
+# UTEMPTER support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: libutempter-devel
+%endif
+%if 0%{?rhel} == 4
+BuildRequires: utempter
+%endif
+%if 0%{?suse_version}
+BuildRequires: utempter-devel
+%endif
+
+# HSPELL support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_hspell 1
+BuildRequires: hspell-devel
+%endif
+
+# JASPER support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_jasper 1
+%if 0%{?suse_version}
+BuildRequires: libjasper-devel
+%else
+BuildRequires: jasper-devel
+%endif
+%endif
+
+# AVAHI support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_avahi 1
%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: trinity-avahi-tqt-devel >= %{version}
BuildRequires: %{_lib}avahi-client-devel
-BuildRequires: %{_lib}ltdl-devel
-BuildRequires: x11-proto-devel
-BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel
Requires: %{_lib}avahi-client3
-%else
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: trinity-avahi-tqt-devel >= %{version}
BuildRequires: avahi-devel
+Requires: avahi
+%endif
+%endif
+
+# OPENEXR support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_openexr 1
+BuildRequires: OpenEXR-devel
+%endif
+
+# LIBTOOL
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}ltdl-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
BuildRequires: libtool-ltdl-devel
+%endif
+%if 0%{?rhel} == 4
+BuildRequires: libtool
+%endif
+
+# X11 support
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: x11-proto-devel
+BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
BuildRequires: xorg-x11-proto-devel
BuildRequires: libXcomposite-devel
%endif
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+%endif
-Requires: tqtinterface >= 3.5.13
-Requires: trinity-arts >= 3.5.13
-Requires: avahi
+
+Requires: trinity-tqtinterface >= %{version}
+Requires: trinity-arts >= %{version}
Requires: qt3 >= 3.3.8.d
+
%description
Libraries for the Trinity Desktop Environment:
TDE Libraries included: tdecore (TDE core library), kdeui (user interface),
@@ -202,6 +268,12 @@ kimgio (image manipulation).
# New in TDE 3.5.13
%{tde_bindir}/kdetcompmgr
+%pre
+# Bug 1074
+if [ -d %{tde_datadir}/locale/all_languages ]; then
+ rm -rf %{tde_datadir}/locale/all_languages
+fi
+
%post
/sbin/ldconfig || :
@@ -248,13 +320,18 @@ applications for TDE.
##########
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
%prep
-%setup -q -n kdelibs
-%patch0 -p1
+%setup -q -n kdelibs-3.5.13.1
%build
-unset QTDIR || : ; . /etc/profile.d/qt.sh
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
@@ -262,8 +339,12 @@ export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
# We need LD_LIBRARY_PATH here because ld.so.conf file has not been written yet
export LD_LIBRARY_PATH="%{tde_libdir}"
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${CXXFLAGS} -L/usr/X11R6/%{_lib} -I/usr/X11R6/include"
+fi
-%if 0%{?rhel} || 0%{?fedora}
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%__mkdir_p build
cd build
%endif
@@ -285,14 +366,19 @@ cd build
-DWITH_CUPS=ON \
-DWITH_LUA=OFF \
-DWITH_TIFF=ON \
- -DWITH_JASPER=ON \
- -DWITH_OPENEXR=ON \
- -DWITH_UTEMPTER=ON \
- -DWITH_AVAHI=ON \
- -DWITH_ASPELL=ON \
- -DWITH_HSPELL=ON \
+ %{?with_jasper:-DWITH_JASPER=ON} \
+ %{?with_hspell:-DWITH_HSPELL=ON} \
+ %{?with_openexr:-DWITH_OPENEXR=ON} \
+ %{?with_avahi:-DWITH_AVAHI=ON} \
+%if 0%{?rhel} == 4
+ -DWITH_PCRE=OFF \
+ -DWITH_INOTIFY=OFF \
+%else
-DWITH_PCRE=ON \
-DWITH_INOTIFY=ON \
+%endif
+ -DWITH_UTEMPTER=ON \
+ -DWITH_ASPELL=ON \
-DWITH_GAMIN=ON \
..
@@ -326,5 +412,5 @@ EOF
%changelog
-* Sun Aug 05 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-0
-- Initial SRU build
+* Tue Sep 11 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/kdelibs/trinity-kdelibs-3.5.13.spec b/redhat/kdelibs/trinity-kdelibs-3.5.13.spec
index 6f861db77..0392162bf 100755
--- a/redhat/kdelibs/trinity-kdelibs-3.5.13.spec
+++ b/redhat/kdelibs/trinity-kdelibs-3.5.13.spec
@@ -91,34 +91,62 @@ Patch34: kdelibs-3.5.13-restore_tdesu_keeppassword_default_disabled.patch
Patch35: kdelibs-3.5.13-fix_all_languages_installation.patch
## [tdelibs] Prevent XDG autostart files from starting multiple times [Bug #1096] [Commit #e9f29cfb]
Patch36: kdelibs-3.5.13-prevent_xdg_autostart_multiple_times.patch
+## [tdelibs] Fix xrender include dir
+Patch37: kdelibs-3.5.13-fix_xrender_libdir.patch
BuildRequires: cmake >= 2.8
BuildRequires: libtool
BuildRequires: tqtinterface-devel
BuildRequires: trinity-arts-devel
+BuildRequires: avahi-tqt-devel >= 3.5.13
BuildRequires: krb5-devel
BuildRequires: libxslt-devel
BuildRequires: cups-devel
BuildRequires: libart_lgpl-devel
BuildRequires: pcre-devel
-BuildRequires: libutempter-devel
-BuildRequires: bzip2-devel
BuildRequires: openssl-devel
BuildRequires: gcc-c++
BuildRequires: alsa-lib-devel
BuildRequires: libidn-devel
BuildRequires: qt3-devel
-BuildRequires: jasper-devel
BuildRequires: libtiff-devel
-BuildRequires: OpenEXR-devel
BuildRequires: glib2-devel
BuildRequires: gamin-devel
+BuildRequires: aspell
BuildRequires: aspell-devel
-BuildRequires: hspell-devel
-BuildRequires: avahi-tqt-devel >= 3.5.13
+BuildRequires: OpenEXR-devel
# LUA support are not ready yet
#BuildRequires: lua-devel
+%if 0%{?suse_version}
+BuildRequires: utempter-devel
+BuildRequires: libbz2-devel
+%else
+BuildRequires: libutempter-devel
+BuildRequires: bzip2-devel
+%endif
+
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+%else
+
+# Hspell support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_hspell 1
+BuildRequires: hspell-devel
+%endif
+
+# Jasper support
+%if 0%{?rhel} >=5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_jasper 1
+%if 0%{?suse_version}
+BuildRequires: libjasper-devel
+%else
+BuildRequires: jasper-devel
+%endif
+%endif
+
+
%if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}avahi-client-devel
BuildRequires: %{_lib}ltdl-devel
@@ -132,10 +160,13 @@ BuildRequires: xorg-x11-proto-devel
BuildRequires: libXcomposite-devel
%endif
+Requires: avahi
+%endif
+
Requires: tqtinterface >= 3.5.13
Requires: trinity-arts >= 3.5.13
-Requires: avahi
-Requires: qt3 >= 3.3.8.d
+Requires: qt3
+
%description
Libraries for the Trinity Desktop Environment:
@@ -308,6 +339,12 @@ applications for TDE.
##########
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
%prep
%setup -q -n kdelibs
%patch10 -p1
@@ -336,10 +373,11 @@ applications for TDE.
%patch34 -p1
%patch35 -p1
%patch36 -p1
+%patch37 -p1
%build
-unset QTDIR || : ; . /etc/profile.d/qt.sh
+unset QTDIR || : ; . /etc/profile.d/qt?.sh
export PATH="%{tde_bindir}:${QTDIR}/bin:${PATH}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
@@ -348,7 +386,7 @@ export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
export LD_LIBRARY_PATH="%{tde_libdir}"
-%if 0%{?rhel} || 0%{?fedora}
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
%__mkdir_p build
cd build
%endif
@@ -370,14 +408,21 @@ cd build
-DWITH_CUPS=ON \
-DWITH_LUA=OFF \
-DWITH_TIFF=ON \
- -DWITH_JASPER=ON \
+ %{?with_jasper:-DWITH_JASPER=ON} \
+ %{?with_hspell:-DWITH_HSPELL=ON} \
+%if 0%{?rhel} == 4
+ -DWITH_OPENEXR=OFF \
+ -DWITH_PCRE=OFF \
+ -DWITH_INOTIFY=OFF \
+ -DWITH_AVAHI=OFF \
+%else
-DWITH_OPENEXR=ON \
- -DWITH_UTEMPTER=ON \
- -DWITH_AVAHI=ON \
- -DWITH_ASPELL=ON \
- -DWITH_HSPELL=ON \
-DWITH_PCRE=ON \
-DWITH_INOTIFY=ON \
+ -DWITH_AVAHI=ON \
+%endif
+ -DWITH_UTEMPTER=ON \
+ -DWITH_ASPELL=ON \
-DWITH_GAMIN=ON \
..
diff --git a/redhat/kdemultimedia/trinity-kdemultimedia-3.5.13.1.spec b/redhat/kdemultimedia/trinity-kdemultimedia-3.5.13.1.spec
new file mode 100644
index 000000000..088bdc0d1
--- /dev/null
+++ b/redhat/kdemultimedia/trinity-kdemultimedia-3.5.13.1.spec
@@ -0,0 +1,1185 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+# former extras bits
+%define _with_akode --with-akode
+## not currently compatible with libtunepimp-0.5 (only libtunepimp-0.4)
+#define _with_musicbrainz --with-musicbrainz
+%define _with_taglib --with-taglib
+
+Name: trinity-tdemultimedia
+Summary: Multimedia applications for the Trinity Desktop Environment (TDE)
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2
+Group: Applications/Multimedia
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: kdemultimedia-%{version}.tar.gz
+
+
+# RedHat Legacy patches (from Fedora 8)
+Patch3: kdemultimedia-3.4.0-xdg.patch
+Patch5: kdemultimedia-3.5.7-pthread.patch
+
+
+Obsoletes: trinity-kdemultimedia < %{version}-%{release}
+Provides: trinity-kdemultimedia = %{version}-%{release}
+Obsoletes: trinity-kdemultimedia-libs < %{version}-%{release}
+Provides: trinity-kdemultimedia-libs = %{version}-%{release}
+Obsoletes: trinity-kdemultimedia-extras < %{version}-%{release}
+Provides: trinity-kdemultimedia-extras = %{version}-%{release}
+Obsoletes: trinity-kdemultimedia-extras-libs < %{version}-%{release}
+Provides: trinity-kdemultimedia-extras-libs = %{version}-%{release}
+
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: qt3-devel
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+%{?_with_akode:BuildRequires: trinity-akode-devel}
+
+BuildRequires: desktop-file-utils
+BuildRequires: zlib-devel
+
+# Audio libraries
+BuildRequires: libvorbis-devel
+BuildRequires: audiofile-devel
+BuildRequires: libtheora-devel
+BuildRequires: alsa-lib-devel
+%{?_with_musicbrainz:BuildRequires: libmusicbrainz-devel libtunepimp-devel}
+%{?_with_taglib:BuildRequires: taglib-devel}
+BuildRequires: cdparanoia
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}gstreamer0.10-devel
+BuildRequires: %{_lib}flac-devel
+BuildRequires: libcdda-devel
+%else
+BuildRequires: gstreamer-devel
+BuildRequires: flac-devel
+BuildRequires: cdparanoia-devel
+%endif
+
+# X11 Libraries
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xxf86dga-devel
+BuildRequires: %{_lib}xxf86vm-devel
+BuildRequires: %{_lib}xtst-devel
+%endif
+%if 0%{?rhel} == 4
+BuildRequires: xorg-x11-devel
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+BuildRequires: libXxf86dga-devel
+BuildRequires: libXxf86vm-devel
+BuildRequires: libXt-devel
+%endif
+
+# XINE support
+%if 0%{?fedora} || 0%{?rhel} >= 5 || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_xine 1
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xine-devel
+%endif
+%if 0%{?fedora} || 0%{?rhel}
+BuildRequires: xine-lib-devel
+%endif
+%if 0%{?suse_version} >= 1220
+BuildRequires: libxine-devel
+%endif
+%endif
+
+Requires: trinity-artsbuilder = %{version}-%{release}
+Requires: trinity-juk = %{version}-%{release}
+Requires: trinity-kaboodle = %{version}-%{release}
+Requires: trinity-kaudiocreator = %{version}-%{release}
+Requires: %{name}-kfile-plugins = %{version}-%{release}
+Requires: %{name}-kappfinder-data = %{version}-%{release}
+Requires: %{name}-kio-plugins = %{version}-%{release}
+Requires: trinity-kmid = %{version}-%{release}
+Requires: trinity-kmix = %{version}-%{release}
+Requires: trinity-krec = %{version}-%{release}
+Requires: trinity-kscd = %{version}-%{release}
+Requires: trinity-libarts-akode = %{version}-%{release}
+Requires: trinity-libarts-audiofile = %{version}-%{release}
+Requires: trinity-libarts-mpeglib = %{version}-%{release}
+%{?with_xine:Requires: trinity-libarts-xine = %{version}-%{release}}
+Requires: trinity-libkcddb = %{version}-%{release}
+Requires: trinity-mpeglib = %{version}-%{release}
+Requires: trinity-noatun = %{version}-%{release}
+
+
+%description
+The Trinity Desktop Environment (TDE) is a GUI desktop for the X Window
+System. The %{name} package contains multimedia applications for
+TDE, including:
+ artsbuilder, Synthesizer designer for aRts
+ juk, a media player
+ kmid, a midi player
+ kmix, an audio mixer
+ arts, additional functionality for the aRts sound system
+ krec, a recording tool
+ kscd, an Audio-CD player
+ kaudiocreator, a graphical frontend for audio file creation
+ kaboodle, a media player
+ noatun, a media player
+
+%files
+
+##########
+
+%package -n trinity-artsbuilder
+Summary: Synthesizer designer for aRts
+Group: Applications/Multimedia
+
+%description -n trinity-artsbuilder
+This is the analog Realtime synthesizer's graphical design tool.
+
+%files -n trinity-artsbuilder
+%defattr(-,root,root,-)
+%{tde_bindir}/artsbuilder
+%{tde_bindir}/artscontrol
+%{tde_bindir}/midisend
+%{tde_libdir}/libartsbuilder.la
+%{tde_libdir}/libartsbuilder.so.*
+%{tde_libdir}/libartscontrolapplet.la
+%{tde_libdir}/libartscontrolapplet.so.*
+%{tde_libdir}/libartscontrolsupport.la
+%{tde_libdir}/libartscontrolsupport.so.*
+%{tde_libdir}/libartsgui_idl.la
+%{tde_libdir}/libartsgui_idl.so.*
+%{tde_libdir}/libartsgui_kde.la
+%{tde_libdir}/libartsgui_kde.so.*
+%{tde_libdir}/libartsgui.la
+%{tde_libdir}/libartsgui.so.*
+%{tde_libdir}/libartsmidi_idl.la
+%{tde_libdir}/libartsmidi_idl.so.*
+%{tde_libdir}/libartsmidi.la
+%{tde_libdir}/libartsmidi.so.*
+%{tde_libdir}/libartsmodulescommon.la
+%{tde_libdir}/libartsmodulescommon.so.*
+%{tde_libdir}/libartsmoduleseffects.la
+%{tde_libdir}/libartsmoduleseffects.so.*
+%{tde_libdir}/libartsmodulesmixers.la
+%{tde_libdir}/libartsmodulesmixers.so.*
+%{tde_libdir}/libartsmodules.la
+%{tde_libdir}/libartsmodules.so.*
+%{tde_libdir}/libartsmodulessynth.la
+%{tde_libdir}/libartsmodulessynth.so.*
+%{tde_libdir}/mcop/Arts/ArtsBuilderLoader.mcopclass
+%{tde_libdir}/mcop/artsbuilder.mcopclass
+%{tde_libdir}/mcop/artsbuilder.mcoptype
+%{tde_libdir}/mcop/Arts/Button.mcopclass
+%{tde_libdir}/mcop/Arts/EffectRackGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/Effect_WAVECAPTURE.mcopclass
+%{tde_libdir}/mcop/Arts/Environment/Container.mcopclass
+%{tde_libdir}/mcop/Arts/Environment/EffectRackItem.mcopclass
+%{tde_libdir}/mcop/Arts/Environment/InstrumentItemGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/Environment/InstrumentItem.mcopclass
+%{tde_libdir}/mcop/Arts/Environment/MixerItem.mcopclass
+%{tde_libdir}/mcop/Arts/Fader.mcopclass
+%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/FiveBandMonoComplexEQ.mcopclass
+%{tde_libdir}/mcop/Arts/FreeverbGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/GenericGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/GraphLine.mcopclass
+%{tde_libdir}/mcop/artsgui.mcopclass
+%{tde_libdir}/mcop/artsgui.mcoptype
+%{tde_libdir}/mcop/Arts/HBox.mcopclass
+%{tde_libdir}/mcop/Arts/Label.mcopclass
+%{tde_libdir}/mcop/Arts/LayoutBox.mcopclass
+%{tde_libdir}/mcop/Arts/LevelMeter.mcopclass
+%{tde_libdir}/mcop/Arts/LineEdit.mcopclass
+%{tde_libdir}/mcop/Arts/LittleStereoMixerChannelGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/LittleStereoMixerChannel.mcopclass
+%{tde_libdir}/mcop/Arts/LocalFactory.mcopclass
+%{tde_libdir}/mcop/Arts/MidiManager.mcopclass
+%{tde_libdir}/mcop/artsmidi.mcopclass
+%{tde_libdir}/mcop/artsmidi.mcoptype
+%{tde_libdir}/mcop/Arts/MixerGuiFactory.mcopclass
+%{tde_libdir}/mcop/artsmodulescommon.mcopclass
+%{tde_libdir}/mcop/artsmodulescommon.mcoptype
+%{tde_libdir}/mcop/artsmoduleseffects.mcopclass
+%{tde_libdir}/mcop/artsmoduleseffects.mcoptype
+%{tde_libdir}/mcop/artsmodules.mcopclass
+%{tde_libdir}/mcop/artsmodules.mcoptype
+%{tde_libdir}/mcop/artsmodulesmixers.mcopclass
+%{tde_libdir}/mcop/artsmodulesmixers.mcoptype
+%{tde_libdir}/mcop/artsmodulessynth.mcopclass
+%{tde_libdir}/mcop/artsmodulessynth.mcoptype
+%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannelGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/MonoSimpleMixerChannel.mcopclass
+%{tde_libdir}/mcop/Arts/MonoToStereo.mcopclass
+%{tde_libdir}/mcop/Arts/PopupBox.mcopclass
+%{tde_libdir}/mcop/Arts/Poti.mcopclass
+%{tde_libdir}/mcop/Arts/SimpleMixerChannelGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/SimpleMixerChannel.mcopclass
+%{tde_libdir}/mcop/Arts/SpinBox.mcopclass
+%{tde_libdir}/mcop/Arts/StereoBalanceGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/StereoBalance.mcopclass
+%{tde_libdir}/mcop/Arts/StereoCompressorGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/StereoFirEqualizerGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/StereoToMono.mcopclass
+%{tde_libdir}/mcop/Arts/StereoVolumeControlGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/StereoVolumeControlGui.mcopclass
+%{tde_libdir}/mcop/Arts/StructureBuilder.mcopclass
+%{tde_libdir}/mcop/Arts/StructureDesc.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_ATAN_SATURATE.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_AUTOPANNER.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_BRICKWALL_LIMITER.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_CAPTURE_WAV.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_CDELAY.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_COMPRESSOR.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_DATA.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_DEBUG.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_DELAY.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_DIV.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_ENVELOPE_ADSR.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_FM_SOURCE.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_FREEVERB.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_FX_CFLANGER.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_MIDI_DEBUG.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_MIDI_TEST.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_MOOG_VCF.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_NIL.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_NOISE.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_OSC.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT_FFT.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_PITCH_SHIFT.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_PLAY_PAT.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_PSCALE.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_RC.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_SEQUENCE_FREQ.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_SEQUENCE.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_SHELVE_CUTOFF.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_STD_EQUALIZER.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_STEREO_COMPRESSOR.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_STEREO_FIR_EQUALIZER.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT_FFT.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_STEREO_PITCH_SHIFT.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_TREMOLO.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_VOICE_REMOVAL.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_WAVE_PULSE.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_WAVE_SOFTSAW.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_WAVE_SQUARE.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_WAVE_TRI.mcopclass
+%{tde_libdir}/mcop/Arts/Synth_XFADE.mcopclass
+%{tde_libdir}/mcop/Arts/VBox.mcopclass
+%{tde_libdir}/mcop/Arts/VoiceRemovalGuiFactory.mcopclass
+%{tde_libdir}/mcop/Arts/Widget.mcopclass
+%{tde_tdeappdir}/artsbuilder.desktop
+%{tde_tdeappdir}/artscontrol.desktop
+%{tde_datadir}/apps/artsbuilder/
+%{tde_datadir}/apps/artscontrol/
+%{tde_datadir}/apps/kicker/applets/artscontrolapplet.desktop
+%{tde_datadir}/icons/crystalsvg/*/actions/artsaudiomanager.png
+%{tde_datadir}/icons/crystalsvg/*/actions/artsbuilderexecute.png
+%{tde_datadir}/icons/crystalsvg/*/actions/artsenvironment.png
+%{tde_datadir}/icons/crystalsvg/*/actions/artsfftscope.png
+%{tde_datadir}/icons/crystalsvg/*/actions/artsmediatypes.png
+%{tde_datadir}/icons/crystalsvg/*/actions/artsmidimanager.png
+%{tde_datadir}/icons/crystalsvg/scalable/actions/artsaudiomanager.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/artsenvironment.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/artsfftscope.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmediatypes.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/artsmidimanager.svgz
+%{tde_datadir}/icons/hicolor/*/apps/artsbuilder.png
+%{tde_datadir}/icons/hicolor/*/apps/artscontrol.png
+%{tde_datadir}/icons/hicolor/scalable/apps/artsbuilder.svgz
+%{tde_datadir}/icons/hicolor/scalable/apps/artscontrol.svgz
+%{tde_datadir}/mimelnk/application/x-artsbuilder.desktop
+%{tde_tdedocdir}/HTML/en/artsbuilder/
+
+%post -n trinity-artsbuilder
+/sbin/ldconfig
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-artsbuilder
+/sbin/ldconfig
+for f in crystalsvg hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-juk
+Summary: Music organizer and player for Trinity
+Group: Applications/Multimedia
+
+%description -n trinity-juk
+JuK (pronounced "jook") is a jukebox and music manager for the TDE
+desktop similar to jukebox software on other platforms such as
+iTunes or RealOne.
+
+Some of JuK's features include:
+* Support for Ogg Vorbis and MP3 formats
+* Tag editing support for both formats, including ID3v2 for MP3 files.
+ Multitagging or editing a selection of multiple files at once is also
+ supported
+* Output to either the aRts, default KDE sound system, or GStreamer
+* Management of your "collection" and multiple playlists
+* Import and export to m3u playlists
+* Binary caching of audio meta-data and playlist information for faster
+ load times (starting with the second time you run JuK)
+* Integration into TDE that allows drag-and-drop and clipboard usage
+ with other TDE and X apps
+
+%files -n trinity-juk
+%defattr(-,root,root,-)
+%{tde_bindir}/juk
+%{tde_tdeappdir}/juk.desktop
+%{tde_datadir}/apps/juk/
+%{tde_datadir}/apps/konqueror/servicemenus/jukservicemenu.desktop
+%{tde_datadir}/icons/crystalsvg/*/actions/juk_dock.png
+%{tde_datadir}/icons/hicolor/*/apps/juk.png
+%{tde_tdedocdir}/HTML/en/juk/
+
+%post -n trinity-juk
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-juk
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kaboodle
+Summary: light, embedded media player for Trinity
+Group: Applications/Multimedia
+
+%if 0%{?with_xine}
+Requires: trinity-libarts-xine = %{version}-%{release}
+%endif
+
+%description -n trinity-kaboodle
+Kaboodle is a light, embedded media player, supporting both video and audio,
+for TDE. It uses the aRts framework for playing media files.
+
+%files -n trinity-kaboodle
+%defattr(-,root,root,-)
+%{tde_bindir}/kaboodle
+%{tde_tdelibdir}/libkaboodlepart.la
+%{tde_tdelibdir}/libkaboodlepart.so
+%{tde_tdeappdir}/kaboodle.desktop
+%{tde_datadir}/apps/kaboodle/
+%{tde_datadir}/icons/hicolor/*/apps/kaboodle.png
+%{tde_datadir}/services/kaboodle_component.desktop
+%{tde_datadir}/services/kaboodleengine.desktop
+%{tde_tdedocdir}/HTML/en/kaboodle/
+
+%post -n trinity-kaboodle
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kaboodle
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kaudiocreator
+Summary: CD ripper and audio encoder frontend for Trinity
+Group: Applications/Multimedia
+
+Requires: %{name}-kio-plugins = %{version}-%{release}
+Requires: vorbis-tools
+Requires: flac
+
+%description -n trinity-kaudiocreator
+KAudioCreator is a tool for audio extraction (ripping) and encoding. It can
+keep your WAV files, or convert them to Ogg/Vorbis, MP3, or FLAC. It also
+searches CDDB to retrieve the information of the disk.
+
+%files -n trinity-kaudiocreator
+%defattr(-,root,root,-)
+%{tde_bindir}/kaudiocreator
+%{tde_tdeappdir}/kaudiocreator.desktop
+%{tde_datadir}/apps/kaudiocreator/
+%{tde_datadir}/apps/kconf_update/kaudiocreator-libkcddb.upd
+%{tde_datadir}/apps/kconf_update/kaudiocreator-meta.upd
+%{tde_datadir}/apps/kconf_update/upgrade-kaudiocreator-metadata.sh
+%{tde_datadir}/apps/konqueror/servicemenus/audiocd_extract.desktop
+%{tde_datadir}/config.kcfg/kaudiocreator.kcfg
+%{tde_datadir}/config.kcfg/kaudiocreator_encoders.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kaudiocreator.png
+%{tde_datadir}/icons/locolor/*/apps/kaudiocreator.png
+%{tde_tdedocdir}/HTML/en/kaudiocreator/
+
+%post -n trinity-kaudiocreator
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kaudiocreator
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package kfile-plugins
+Summary: au/avi/m3u/mp3/ogg/wav plugins for kfile
+Group: Applications/Multimedia
+
+%description kfile-plugins
+au/avi/m3u/mp3/ogg/wav file metainformation plugins for Trinity.
+
+%files kfile-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kfile_au.la
+%{tde_tdelibdir}/kfile_au.so
+%{tde_tdelibdir}/kfile_avi.la
+%{tde_tdelibdir}/kfile_avi.so
+%{tde_tdelibdir}/kfile_flac.la
+%{tde_tdelibdir}/kfile_flac.so
+%{tde_tdelibdir}/kfile_m3u.la
+%{tde_tdelibdir}/kfile_m3u.so
+%{tde_tdelibdir}/kfile_mp3.la
+%{tde_tdelibdir}/kfile_mp3.so
+%{tde_tdelibdir}/kfile_mpc.la
+%{tde_tdelibdir}/kfile_mpc.so
+%{tde_tdelibdir}/kfile_mpeg.la
+%{tde_tdelibdir}/kfile_mpeg.so
+%{tde_tdelibdir}/kfile_ogg.la
+%{tde_tdelibdir}/kfile_ogg.so
+%{tde_tdelibdir}/kfile_sid.la
+%{tde_tdelibdir}/kfile_sid.so
+%{tde_tdelibdir}/kfile_theora.la
+%{tde_tdelibdir}/kfile_theora.so
+%{tde_tdelibdir}/kfile_wav.la
+%{tde_tdelibdir}/kfile_wav.so
+%{tde_datadir}/services/kfile_au.desktop
+%{tde_datadir}/services/kfile_avi.desktop
+%{tde_datadir}/services/kfile_flac.desktop
+%{tde_datadir}/services/kfile_m3u.desktop
+%{tde_datadir}/services/kfile_mp3.desktop
+%{tde_datadir}/services/kfile_mpc.desktop
+%{tde_datadir}/services/kfile_mpeg.desktop
+%{tde_datadir}/services/kfile_ogg.desktop
+%{tde_datadir}/services/kfile_sid.desktop
+%{tde_datadir}/services/kfile_theora.desktop
+%{tde_datadir}/services/kfile_wav.desktop
+
+##########
+
+%package kappfinder-data
+Summary: multimedia data for kappfinder-trinity
+Group: Applications/Multimedia
+
+Requires: trinity-kappfinder
+
+%description kappfinder-data
+This package provides data on multimedia applications for kappfinder.
+
+%files kappfinder-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kappfinder/*
+%{tde_datadir}/desktop-directories/[kt]de-multimedia-music.directory
+%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu
+
+##########
+
+%package kio-plugins
+Summary: Enables the browsing of audio CDs under Konqueror
+Group: Applications/Multimedia
+
+%description kio-plugins
+This package allow audio CDs to be browsed like a file system using
+Konqueror and the audiocd:/ URL.
+
+%files kio-plugins
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcm_audiocd.la
+%{tde_tdelibdir}/kcm_audiocd.so
+%{tde_tdelibdir}/kio_audiocd.la
+%{tde_tdelibdir}/kio_audiocd.so
+%{tde_tdelibdir}/libaudiocd_encoder_flac.la
+%{tde_tdelibdir}/libaudiocd_encoder_flac.so
+%{tde_tdelibdir}/libaudiocd_encoder_lame.la
+%{tde_tdelibdir}/libaudiocd_encoder_lame.so
+%{tde_tdelibdir}/libaudiocd_encoder_vorbis.la
+%{tde_tdelibdir}/libaudiocd_encoder_vorbis.so
+%{tde_tdelibdir}/libaudiocd_encoder_wav.la
+%{tde_tdelibdir}/libaudiocd_encoder_wav.so
+%{tde_libdir}/libaudiocdplugins.so.*
+%{tde_tdeappdir}/audiocd.desktop
+%{tde_datadir}/apps/kconf_update/audiocd.upd
+%{tde_datadir}/apps/kconf_update/upgrade-metadata.sh
+%{tde_datadir}/config.kcfg/audiocd_lame_encoder.kcfg
+%{tde_datadir}/config.kcfg/audiocd_vorbis_encoder.kcfg
+%{tde_datadir}/services/audiocd.protocol
+%{tde_tdedocdir}/HTML/en/kioslave/audiocd.docbook
+
+%post kio-plugins
+/sbin/ldconfig
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun kio-plugins
+/sbin/ldconfig
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmid
+Summary: MIDI/karaoke player for Trinity
+Group: Applications/Multimedia
+
+%description -n trinity-kmid
+This package provides a MIDI and karaoke player for TDE.
+
+%files -n trinity-kmid
+%defattr(-,root,root,-)
+%{tde_bindir}/kmid
+%{tde_tdelibdir}/libkmidpart.la
+%{tde_tdelibdir}/libkmidpart.so
+%{tde_libdir}/libkmidlib.so.*
+%{tde_tdeappdir}/kmid.desktop
+%{tde_datadir}/apps/kmid/
+%{tde_datadir}/icons/hicolor/*/apps/kmid.png
+%{tde_datadir}/mimelnk/audio/x-karaoke.desktop
+%{tde_datadir}/servicetypes/audiomidi.desktop
+%{tde_tdedocdir}/HTML/en/kmid/
+
+%post -n trinity-kmid
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kmid
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmix
+Summary: Sound mixer applet for Trinity
+Group: Applications/Multimedia
+
+%description -n trinity-kmix
+This package includes TDE's dockable sound mixer applet.
+
+%files -n trinity-kmix
+%defattr(-,root,root,-)
+%{tde_bindir}/kmix
+%{tde_bindir}/kmixctrl
+%{tde_tdelibdir}/kmix.la
+%{tde_tdelibdir}/kmix.so
+%{tde_tdelibdir}/kmix_panelapplet.la
+%{tde_tdelibdir}/kmix_panelapplet.so
+%{tde_tdelibdir}/kmixctrl.la
+%{tde_tdelibdir}/kmixctrl.so
+%{tde_libdir}/lib[kt]deinit_kmix.so
+%{tde_libdir}/lib[kt]deinit_kmixctrl.so
+%{tde_tdeappdir}/kmix.desktop
+%{tde_datadir}/apps/kicker/applets/kmixapplet.desktop
+%{tde_datadir}/apps/kmix/
+%{tde_datadir}/autostart/kmix.desktop
+%{tde_datadir}/autostart/restore_kmix_volumes.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kmix.png
+%{tde_datadir}/services/kmixctrl_restore.desktop
+%{tde_tdedocdir}/HTML/en/kmix/
+
+%post -n trinity-kmix
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kmix
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-krec
+Summary: Sound recorder utility for Trinity
+Group: Applications/Multimedia
+
+%description -n trinity-krec
+This is a sound recording utility for Trinity.
+
+%files -n trinity-krec
+%defattr(-,root,root,-)
+%{tde_bindir}/krec
+%{tde_tdelibdir}/kcm_krec.la
+%{tde_tdelibdir}/kcm_krec.so
+%{tde_tdelibdir}/kcm_krec_files.la
+%{tde_tdelibdir}/kcm_krec_files.so
+%{tde_tdelibdir}/krec.la
+%{tde_tdelibdir}/krec.so
+%{tde_tdelibdir}/libkrecexport_ogg.la
+%{tde_tdelibdir}/libkrecexport_ogg.so
+%{tde_tdelibdir}/libkrecexport_wave.la
+%{tde_tdelibdir}/libkrecexport_wave.so
+%{tde_libdir}/lib[kt]deinit_krec.so
+%{tde_tdeappdir}/krec.desktop
+%{tde_datadir}/apps/krec/
+%{tde_datadir}/icons/hicolor/*/apps/krec.png
+%{tde_datadir}/services/kcm_krec.desktop
+%{tde_datadir}/services/kcm_krec_files.desktop
+%{tde_datadir}/services/krec_exportogg.desktop
+%{tde_datadir}/services/krec_exportwave.desktop
+%{tde_datadir}/servicetypes/krec_exportitem.desktop
+%{tde_tdedocdir}/HTML/en/krec/
+
+%post -n trinity-krec
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-krec
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kscd
+Summary: Audio CD player for Trinity
+Group: Applications/Multimedia
+
+%description -n trinity-kscd
+This is Trinity's audio CD player.
+
+%files -n trinity-kscd
+%defattr(-,root,root,-)
+%{tde_bindir}/kscd
+%{tde_bindir}/workman2cddb.pl
+%{tde_tdeappdir}/kscd.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/audiocd_play.desktop
+%{tde_datadir}/apps/kscd/
+%{tde_datadir}/apps/profiles/kscd.profile.xml
+%{tde_datadir}/config.kcfg/kscd.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kscd.png
+%{tde_datadir}/mimelnk/text/xmcd.desktop
+%{tde_tdedocdir}/HTML/en/kscd/
+
+%post -n trinity-kscd
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kscd
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-libarts-akode
+Summary: Akode plugin for aRts
+Group: Environment/Libraries
+
+%description -n trinity-libarts-akode
+This package contains akode plugins for aRts.
+
+%files -n trinity-libarts-akode
+%defattr(-,root,root,-)
+%{tde_libdir}/libarts_akode.so.*
+%{tde_libdir}/libarts_akode.la
+%{tde_libdir}/mcop/akodearts.mcoptype
+%{tde_libdir}/mcop/akodearts.mcopclass
+%{tde_libdir}/mcop/akodeMPCPlayObject.mcopclass
+%{tde_libdir}/mcop/akodePlayObject.mcopclass
+%{tde_libdir}/mcop/akodeSpeexStreamPlayObject.mcopclass
+%{tde_libdir}/mcop/akodeVorbisStreamPlayObject.mcopclass
+%{tde_libdir}/mcop/akodeXiphPlayObject.mcopclass
+
+# -devel
+
+%post -n trinity-libarts-akode
+/sbin/ldconfig
+
+%postun -n trinity-libarts-akode
+/sbin/ldconfig
+
+##########
+
+%package -n trinity-libarts-audiofile
+Summary: Audiofile plugin for aRts
+Group: Environment/Libraries
+
+%description -n trinity-libarts-audiofile
+This package contains audiofile plugins for aRts.
+
+%files -n trinity-libarts-audiofile
+%defattr(-,root,root,-)
+%{tde_libdir}/libarts_audiofile.so.*
+%{tde_libdir}/libarts_audiofile.la
+%{tde_libdir}/mcop/Arts/audiofilePlayObject.mcopclass
+%{tde_libdir}/mcop/audiofilearts.mcopclass
+%{tde_libdir}/mcop/audiofilearts.mcoptype
+
+%post -n trinity-libarts-audiofile
+/sbin/ldconfig
+
+%postun -n trinity-libarts-audiofile
+/sbin/ldconfig
+
+##########
+
+%package -n trinity-libarts-mpeglib
+Summary: Mpeglib plugin for aRts, supporting mp3 and mpeg audio/video
+Group: Environment/Libraries
+
+%description -n trinity-libarts-mpeglib
+This package contains the mpeglib aRts plugin, supporting mp3 and mpeg
+audio and video.
+
+This is the arts (TDE Sound daemon) plugin.
+
+%files -n trinity-libarts-mpeglib
+%defattr(-,root,root,-)
+%{tde_bindir}/mpeglibartsplay
+%{tde_libdir}/libarts_mpeglib-0.3.0.so.*
+%{tde_libdir}/libarts_mpeglib.la
+%{tde_libdir}/libarts_splay.so.*
+%{tde_libdir}/libarts_splay.la
+%{tde_libdir}/mcop/CDDAPlayObject.mcopclass
+%{tde_libdir}/mcop/MP3PlayObject.mcopclass
+%{tde_libdir}/mcop/NULLPlayObject.mcopclass
+%{tde_libdir}/mcop/OGGPlayObject.mcopclass
+%{tde_libdir}/mcop/SplayPlayObject.mcopclass
+%{tde_libdir}/mcop/WAVPlayObject.mcopclass
+
+%post -n trinity-libarts-mpeglib
+/sbin/ldconfig
+
+%postun -n trinity-libarts-mpeglib
+/sbin/ldconfig
+
+##########
+
+%if 0%{?with_xine}
+%package -n trinity-libarts-xine
+Summary: aRts plugin enabling xine support
+Group: Environment/Libraries
+
+%description -n trinity-libarts-xine
+This package contains aRts' xine plugin, allowing the use of the xine
+multimedia engine though aRts.
+
+%files -n trinity-libarts-xine
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/videothumbnail.la
+%{tde_tdelibdir}/videothumbnail.so
+%{tde_libdir}/libarts_xine.so.*
+%{tde_libdir}/libarts_xine.la
+%{tde_libdir}/mcop/xineAudioPlayObject.mcopclass
+%{tde_libdir}/mcop/xineVideoPlayObject.mcopclass
+%{tde_datadir}/apps/videothumbnail/sprocket-large.png
+%{tde_datadir}/apps/videothumbnail/sprocket-medium.png
+%{tde_datadir}/apps/videothumbnail/sprocket-small.png
+%{tde_datadir}/services/videothumbnail.desktop
+
+%post -n trinity-libarts-xine
+/sbin/ldconfig
+
+%postun -n trinity-libarts-xine
+/sbin/ldconfig
+%endif
+
+##########
+
+%package -n trinity-libkcddb
+Summary: CDDB library for Trinity
+Group: Environment/Libraries
+
+%description -n trinity-libkcddb
+The Trinity native CDDB (CD Data Base) library, providing easy access to Audio
+CD meta-information (track titles, artist information, etc.) from on-line
+databases, for TDE applications.
+
+%files -n trinity-libkcddb
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcm_cddb.la
+%{tde_tdelibdir}/kcm_cddb.so
+%{tde_libdir}/libkcddb.so.*
+%{tde_tdeappdir}/libkcddb.desktop
+%{tde_datadir}/apps/kconf_update/kcmcddb-emailsettings.upd
+%{tde_datadir}/config.kcfg/libkcddb.kcfg
+
+%post -n trinity-libkcddb
+/sbin/ldconfig
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-libkcddb
+/sbin/ldconfig
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-mpeglib
+Summary: MP3 and MPEG-1 audio and video library
+Group: Environment/Libraries
+Requires: trinity-libarts-mpeglib = %{version}-%{release}
+
+%description -n trinity-mpeglib
+mpeglib is a MPEG-1 and MP3 audio and video library. It supports
+MPEG-1 audio (layers 1, 2, 3), MPEG-1 video, MPEG-1 system layer,
+and WAV playback
+
+%files -n trinity-mpeglib
+%defattr(-,root,root,-)
+%{tde_bindir}/yaf-cdda
+%{tde_bindir}/yaf-mpgplay
+%{tde_bindir}/yaf-splay
+%{tde_bindir}/yaf-tplay
+%{tde_bindir}/yaf-vorbis
+%{tde_bindir}/yaf-yuv
+%{tde_libdir}/libmpeg-0.3.0.so
+%{tde_libdir}/libyafcore.so
+%{tde_libdir}/libyafxplayer.so
+
+%post -n trinity-mpeglib
+/sbin/ldconfig
+
+%postun -n trinity-mpeglib
+/sbin/ldconfig
+
+##########
+
+%package -n trinity-noatun
+Summary: Media player for Trinity
+Group: Applications/Multimedia
+
+# 20120802: Hack to avoir dependency issue on MGA2 and MDV2011
+%if 0%{?mgaversion} || 0%{?mdkversion}
+Provides: devel(libnoatunarts)
+Provides: devel(libnoatunarts(64bit))
+%endif
+
+%description -n trinity-noatun
+Noatun is an aRts-based audio and video player for Trinity. It supports all
+formats supported by your installation of aRts (including aRts plugins).
+
+%files -n trinity-noatun
+%defattr(-,root,root,-)
+%{tde_bindir}/noatun
+%{tde_libdir}/kconf_update_bin/noatun20update
+%{tde_tdelibdir}/noatun.la
+%{tde_tdelibdir}/noatun.so
+%{tde_tdelibdir}/noatun_dcopiface.la
+%{tde_tdelibdir}/noatun_dcopiface.so
+%{tde_tdelibdir}/noatun_excellent.la
+%{tde_tdelibdir}/noatun_excellent.so
+%{tde_tdelibdir}/noatun_htmlexport.la
+%{tde_tdelibdir}/noatun_htmlexport.so
+%{tde_tdelibdir}/noatun_infrared.la
+%{tde_tdelibdir}/noatun_infrared.so
+%{tde_tdelibdir}/noatun_kaiman.la
+%{tde_tdelibdir}/noatun_kaiman.so
+%{tde_tdelibdir}/noatun_keyz.la
+%{tde_tdelibdir}/noatun_keyz.so
+%{tde_tdelibdir}/noatun_kjofol.la
+%{tde_tdelibdir}/noatun_kjofol.so
+%{tde_tdelibdir}/noatun_marquis.la
+%{tde_tdelibdir}/noatun_marquis.so
+%{tde_tdelibdir}/noatun_metatag.la
+%{tde_tdelibdir}/noatun_metatag.so
+%{tde_tdelibdir}/noatun_monoscope.la
+%{tde_tdelibdir}/noatun_monoscope.so
+%{tde_tdelibdir}/noatun_net.la
+%{tde_tdelibdir}/noatun_net.so
+%{tde_tdelibdir}/noatun_splitplaylist.la
+%{tde_tdelibdir}/noatun_splitplaylist.so
+%{tde_tdelibdir}/noatun_systray.la
+%{tde_tdelibdir}/noatun_systray.so
+%{tde_tdelibdir}/noatun_ui.la
+%{tde_tdelibdir}/noatun_ui.so
+%{tde_tdelibdir}/noatun_voiceprint.la
+%{tde_tdelibdir}/noatun_voiceprint.so
+%{tde_tdelibdir}/noatun_winskin.la
+%{tde_tdelibdir}/noatun_winskin.so
+%{tde_tdelibdir}/noatunsimple.la
+%{tde_tdelibdir}/noatunsimple.so
+%{tde_libdir}/libartseffects.la
+%{tde_libdir}/libartseffects.so
+%{tde_libdir}/lib[kt]deinit_noatun.so
+%{tde_libdir}/libnoatun.so.*
+%{tde_libdir}/libnoatunarts.la
+%{tde_libdir}/libnoatunarts.so
+%{tde_libdir}/libnoatuncontrols.so.*
+%{tde_libdir}/libnoatuntags.so.*
+%{tde_libdir}/libwinskinvis.la
+%{tde_libdir}/libwinskinvis.so
+%{tde_libdir}/mcop/ExtraStereo.mcopclass
+%{tde_libdir}/mcop/ExtraStereoGuiFactory.mcopclass
+%{tde_libdir}/mcop/Noatun/
+%{tde_libdir}/mcop/RawWriter.mcopclass
+%{tde_libdir}/mcop/VoiceRemoval.mcopclass
+%{tde_libdir}/mcop/artseffects.mcopclass
+%{tde_libdir}/mcop/artseffects.mcoptype
+%{tde_libdir}/mcop/noatunarts.mcopclass
+%{tde_libdir}/mcop/noatunarts.mcoptype
+%{tde_libdir}/mcop/winskinvis.mcopclass
+%{tde_libdir}/mcop/winskinvis.mcoptype
+%{tde_tdeappdir}/noatun.desktop
+%{tde_datadir}/apps/kconf_update/noatun.upd
+%{tde_datadir}/apps/noatun/
+%{tde_datadir}/icons/hicolor/*/apps/noatun.png
+%{tde_datadir}/mimelnk/interface/x-winamp-skin.desktop
+%{tde_tdedocdir}/HTML/en/noatun/
+
+%post -n trinity-noatun
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-noatun
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package devel
+Summary: Development files for %{name}, aRts and noatun plugins
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tdelibs-devel >= 3.5.13
+
+Obsoletes: trinity-kdemultimedia-devel < %{version}-%{release}
+Provides: trinity-kdemultimedia-devel = %{version}-%{release}
+
+%description devel
+{summary}.
+
+Install %{name}-devel if you wish to develop or compile any
+applications using aRtsbuilder, aRtsmidi, aRtskde, aRts modules or
+noatun plugins.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_includedir}/*
+%{tde_libdir}/libarts_akode.so
+%{tde_libdir}/libarts_audiofile.so
+%{tde_libdir}/libarts_mpeglib.so
+%{tde_libdir}/libarts_splay.so
+%{?with_xine:%{tde_libdir}/libarts_xine.so}
+%{tde_libdir}/libartsbuilder.so
+%{tde_libdir}/libartscontrolapplet.so
+%{tde_libdir}/libartscontrolsupport.so
+%{tde_libdir}/libartsgui.so
+%{tde_libdir}/libartsgui_idl.so
+%{tde_libdir}/libartsgui_kde.so
+%{tde_libdir}/libartsmidi.so
+%{tde_libdir}/libartsmidi_idl.so
+%{tde_libdir}/libartsmodules.so
+%{tde_libdir}/libartsmodulescommon.so
+%{tde_libdir}/libartsmoduleseffects.so
+%{tde_libdir}/libartsmodulesmixers.so
+%{tde_libdir}/libartsmodulessynth.so
+%{tde_libdir}/libaudiocdplugins.la
+%{tde_libdir}/libaudiocdplugins.so
+%{tde_libdir}/libkcddb.la
+%{tde_libdir}/libkcddb.so
+%{tde_libdir}/lib[kt]deinit_kmix.la
+%{tde_libdir}/lib[kt]deinit_kmixctrl.la
+%{tde_libdir}/lib[kt]deinit_krec.la
+%{tde_libdir}/lib[kt]deinit_noatun.la
+%{tde_libdir}/libkmidlib.la
+%{tde_libdir}/libkmidlib.so
+%{tde_libdir}/libmpeg.la
+%{tde_libdir}/libmpeg.so
+%{tde_libdir}/libnoatun.la
+%{tde_libdir}/libnoatun.so
+%{tde_libdir}/libnoatuncontrols.la
+%{tde_libdir}/libnoatuncontrols.so
+%{tde_libdir}/libnoatuntags.la
+%{tde_libdir}/libnoatuntags.so
+%{tde_libdir}/libyafcore.la
+%{tde_libdir}/libyafxplayer.la
+
+%post devel
+/sbin/ldconfig
+
+%postun devel
+/sbin/ldconfig
+
+##########
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q -n kdemultimedia-3.5.13.1
+%patch3 -p1 -b .xdg
+%patch5 -p1 -b .pthread
+
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i "admin/acinclude.m4.in" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}"
+
+# Required for some distro
+export KDEDIRS=%{tde_prefix}
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --includedir=%{tde_tdeincludedir} \
+ --datadir=%{tde_datadir} \
+ --enable-new-ldflags \
+ --disable-dependency-tracking \
+ --with-cdparanoia \
+ --with-flac \
+ --with-theora \
+ --with-vorbis \
+ --with-alsa \
+ --with-gstreamer \
+ --without-lame \
+ --disable-debug \
+ --disable-warnings \
+ --enable-final \
+ --disable-rpath \
+ %{?_with_akode} %{!?_with_akode:--without-akode} \
+ %{?_with_musicbrainz} %{!?_with_musicbrainz:--without-musicbrainz} \
+ %{?_with_taglib} %{!?_with_taglib:--without-taglib} \
+ %{?with_xine:--with-xine} %{!?with_xine:--without-xine} \
+ --with-extra-includes="%{_includedir}/cdda:%{_includedir}/cddb:%{tde_includedir}/tqt:%{tde_tdeincludedir}/arts:%{tde_includedir}/artsc" \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# don't make these world-writeable
+chmod go-w %{buildroot}%{tde_datadir}/apps/kscd/*
+
+# locale's
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# Moves the XDG configuration files to TDE directory
+%__install -p -D -m644 \
+ "%{?buildroot}%{_sysconfdir}/xdg/menus/applications-merged/kde-multimedia-music.menu" \
+ "%{?buildroot}%{tde_prefix}/etc/xdg/menus/applications-merged/trinity-multimedia-music.menu"
+%__rm -rf "%{?buildroot}%{_sysconfdir}/xdg"
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Sat Sep 29 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/kdenetwork/kdenetwork-3.5.13.1-fix_rhel4_libraries.patch b/redhat/kdenetwork/kdenetwork-3.5.13.1-fix_rhel4_libraries.patch
new file mode 100644
index 000000000..f6b87914f
--- /dev/null
+++ b/redhat/kdenetwork/kdenetwork-3.5.13.1-fix_rhel4_libraries.patch
@@ -0,0 +1,9 @@
+--- kdenetwork-3.5.13.1/krfb/ConfigureChecks.cmake.ORI 2012-10-09 20:58:42.674713186 +0200
++++ kdenetwork-3.5.13.1/krfb/ConfigureChecks.cmake 2012-10-09 20:59:17.585002712 +0200
+@@ -11,5 +11,5 @@
+
+ pkg_search_module( XTST xtst )
+ if( NOT XTST_FOUND )
+- tde_message_fatal( "xtst is required, but was not found on your system" )
++ set( XTST_LIBRARIES "-lXtst" )
+ endif( )
diff --git a/redhat/kdenetwork/kdenetwork-3.5.13.1-fix_smsclient_ftbfs.patch b/redhat/kdenetwork/kdenetwork-3.5.13.1-fix_smsclient_ftbfs.patch
new file mode 100644
index 000000000..bf225a26e
--- /dev/null
+++ b/redhat/kdenetwork/kdenetwork-3.5.13.1-fix_smsclient_ftbfs.patch
@@ -0,0 +1,58 @@
+commit 6f17856dec29f6a84d5e38b6db12fdc632cd4394
+Author: Timothy Pearson <kb9vqf@pearsoncomputing.net>
+Date: 1339484900 -0500
+
+ Fix build errors
+ Thanks to Roman Savochenko for the patch!
+
+diff --git a/kopete/protocols/jabber/kioslave/CMakeLists.txt b/kopete/protocols/jabber/kioslave/CMakeLists.txt
+index 6c691ae..9539457 100644
+--- a/kopete/protocols/jabber/kioslave/CMakeLists.txt
++++ b/kopete/protocols/jabber/kioslave/CMakeLists.txt
+@@ -37,6 +37,6 @@ tde_add_kpart( kio_jabberdisco AUTOMOC
+ LINK
+ jabberclient-static idn
+ iris_xmpp_core-static iris_xmpp_im-static iris_jabber-static iris-static
+- qca-static cutestuff_network-static cutestuff_util-static kio-shared idn
++ qca-static cutestuff_network-static cutestuff_util-static kio-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+diff --git a/kopete/protocols/sms/services/smsclient.cpp b/kopete/protocols/sms/services/smsclient.cpp
+index 9fb5a92..984e843 100644
+--- a/kopete/protocols/sms/services/smsclient.cpp
++++ b/kopete/protocols/sms/services/smsclient.cpp
+@@ -59,7 +59,7 @@ void SMSClient::send(const Kopete::Message& msg)
+ m_msg = msg;
+
+ KConfigGroup* c = m_account->configGroup();
+- TQString provider = c->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProviderName");
++ TQString provider = c->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProviderName"));
+
+ if (provider.isNull())
+ {
+@@ -67,7 +67,7 @@ void SMSClient::send(const Kopete::Message& msg)
+ return;
+ }
+
+- TQString programName = c->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProgramName");
++ TQString programName = c->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProgramName"));
+ if (programName.isNull())
+ programName = "/usr/bin/sms_client";
+
+@@ -97,14 +97,14 @@ TQWidget* SMSClient::configureWidget(TQWidget* parent)
+ prefWidget->configDir->setMode(KFile::Directory);
+ TQString configDir;
+ if (m_account)
+- configDir = m_account->configGroup()->readEntry(TQString("%1:%2").arg("SMSClient").arg("ConfigDir");
++ configDir = m_account->configGroup()->readEntry(TQString("%1:%2").arg("SMSClient").arg("ConfigDir"));
+ if (configDir.isNull())
+ configDir = "/etc/sms";
+ prefWidget->configDir->setURL(configDir);
+
+ TQString programName;
+ if (m_account)
+- programName = m_account->configGroup()->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProgramName");
++ programName = m_account->configGroup()->readEntry(TQString("%1:%2").arg("SMSClient").arg("ProgramName"));
+ if (programName.isNull())
+ programName = "/usr/bin/sms_client";
+ prefWidget->program->setURL(programName);
diff --git a/redhat/kdenetwork/trinity-kdenetwork-3.5.13.1.spec b/redhat/kdenetwork/trinity-kdenetwork-3.5.13.1.spec
new file mode 100644
index 000000000..d21daa3aa
--- /dev/null
+++ b/redhat/kdenetwork/trinity-kdenetwork-3.5.13.1.spec
@@ -0,0 +1,1186 @@
+# Avoids relinking, which breaks consolehelper
+%define dont_relink 1
+
+# If TDE is built iwn a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_sbindir %{tde_prefix}/sbin
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+# Fedora review: http://bugzilla.redhat.com/195486
+
+## Conditional build:
+# RHEL6: xmms is outdated !
+#define _with_xmms --with-xmms
+%ifnarch s390 s390x
+%define _with_wifi --with-wifi
+%endif
+
+Name: trinity-tdenetwork
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+Summary: Trinity Desktop Environment - Network Applications
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+License: GPLv2
+Group: Applications/Internet
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: kdenetwork-3.5.13.1.tar.gz
+Source1: kppp.pamd
+Source2: ktalk
+Source4: lisarc
+Source5: lisa.redhat
+
+# RedHat/Fedora legacy patches
+Patch3: kdenetwork-3.5.8-kppp.patch
+Patch4: kdenetwork-3.2.3-resolv.patch
+# include more/proper ppp headers
+Patch6: kdenetwork-3.5.9-krfb_httpd.patch
+
+# [kdenetworks] Missing LDFLAGS cause FTBFS
+Patch1: kdenetwork-3.5.13-missing_ldflags.patch
+
+# [kdenetworks] FTBFS in SMS client [Bug #1241]
+Patch2: kdenetwork-3.5.13.1-fix_smsclient_ftbfs.patch
+
+# RHEL4 specific
+Patch201: kdenetwork-3.5.13.1-fix_rhel4_libraries.patch
+
+BuildRequires: gettext
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: coreutils
+BuildRequires: openssl-devel
+BuildRequires: sqlite-devel
+BuildRequires: gnutls-devel
+
+# GADU support
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_gadu 1
+BuildRequires: libgadu-devel
+%endif
+
+%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5
+BuildRequires: libXmu-devel
+BuildRequires: libXScrnSaver-devel
+BuildRequires: libXtst-devel
+BuildRequires: libXxf86vm-devel
+%endif
+
+# Wifi support
+%if "%{?_with_wifi:1}" == "1"
+%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5
+BuildRequires: wireless-tools-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}iw29-devel
+%endif
+%if 0%{?rhel} == 5
+BuildRequires: wireless-tools
+%endif
+%if 0%{?suse_version}
+BuildRequires: libiw-devel
+%endif
+%endif
+
+# OpenSLP support
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+%define with_openslp 1
+BuildRequires: openslp-devel
+%endif
+
+%ifarch %{ix86}
+# BR: %{tde_includedir}/valgrind/valgrind.h
+BuildRequires: valgrind
+%endif
+
+%{?_with_xmms:BuildRequires: xmms-devel}
+
+# V4L support
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version}
+BuildRequires: libv4l-devel
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}v4l-devel
+%endif
+
+
+BuildRequires: libxml2-devel
+BuildRequires: libxslt-devel
+
+#jabber
+BuildRequires: libidn-devel
+#jabber/jingle
+%if 0%{?suse_version}
+BuildRequires: libexpat-devel
+%else
+BuildRequires: expat-devel
+%endif
+BuildRequires: glib2-devel
+BuildRequires: speex-devel
+# jabber/ssl
+#{?fedora:Requires(hint): qca-tls}
+Requires: jasper
+# MEANWHILE
+%if 0%{?rhel} >= 6 || 0%{?fedora} >= 15 || 0%{?suse_version}
+%define with_meanwhile 1
+BuildRequires: meanwhile-devel
+BuildRequires: ortp-devel
+%endif
+
+# SPEEX support
+%if 0%{?rhel} >= 5 || 0%{?fedora} >= 15 || 0%{?suse_version} || 0%{?mdkversion} || 0%{?mgaversion}
+%define with_speex 1
+BuildRequires: speex-devel
+%endif
+
+Obsoletes: trinity-kdenetwork < %{version}-%{release}
+Provides: trinity-kdenetwork = %{version}-%{release}
+Obsoletes: trinity-kdenetwork-libs < %{version}-%{release}
+Provides: trinity-kdenetwork-libs = %{version}-%{release}
+Obsoletes: trinity-kdenetwork-extras < %{version}-%{release}
+Provides: trinity-kdenetwork-extras = %{version}-%{release}
+Obsoletes: tdenetwork < %{version}-%{release}
+Provides: tdenetwork = %{version}-%{release}
+
+Requires: trinity-dcoprss = %{version}-%{release}
+Requires: %{name}-filesharing = %{version}-%{release}
+Requires: trinity-kdict = %{version}-%{release}
+Requires: %{name}-kfile-plugins = %{version}-%{release}
+Requires: trinity-kget = %{version}-%{release}
+Requires: trinity-knewsticker = %{version}-%{release}
+Requires: trinity-kopete = %{version}-%{release}
+Requires: trinity-kopete-nowlistening = %{version}-%{release}
+Requires: trinity-kpf = %{version}-%{release}
+Requires: trinity-kppp = %{version}-%{release}
+Requires: trinity-krdc = %{version}-%{release}
+Requires: trinity-krfb = %{version}-%{release}
+Requires: trinity-ksirc = %{version}-%{release}
+Requires: trinity-ktalkd = %{version}-%{release}
+Requires: trinity-kwifimanager = %{version}-%{release}
+Requires: trinity-librss = %{version}-%{release}
+Requires: trinity-lisa = %{version}-%{release}
+
+%description
+This metapackage includes a collection of network and networking related
+applications provided with the official release of Trinity.
+
+Networking applications, including:
+* dcoprss: RSS utilities for Trinity
+* filesharing: Network filesharing configuration module for Trinity
+* kdict: Dictionary client for Trinity
+* kfile-plugins: Torrent metainfo plugin for Trinity
+* kget: downloader manager
+* knewsticker: RDF newsticker applet
+* kopete: chat client
+* kopete-nowlistening: (xmms) plugin for Kopete.
+* kpf: Public fileserver for Trinity
+* kppp: dialer and front end for pppd
+* krdc: a client for Desktop Sharing and other VNC servers
+* krfb: Desktop Sharing server, allow others to access your desktop via VNC
+* ksirc: IRC client for Trinity
+* ktalkd: Talk daemon for Trinity
+* kwifimanager: Wireless lan manager for Trinity
+* librss: RSS library for Trinity
+* lisa: lan information server
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README
+
+
+##########
+
+%package -n trinity-dcoprss
+Summary: RSS utilities for Trinity
+Group: Applications/Internet
+
+%description -n trinity-dcoprss
+dcoprss is a RSS to DCOP bridge, allowing all
+DCOP aware applications to access RSS news feeds. There is also
+a few sample utilities provided.
+RSS is a standard for publishing news headlines.
+DCOP is the TDE interprocess communication protocol.
+
+%files -n trinity-dcoprss
+%defattr(-,root,root,-)
+%{tde_bindir}/feedbrowser
+%{tde_bindir}/rssclient
+%{tde_bindir}/rssservice
+%{tde_datadir}/services/rssservice.desktop
+
+%post -n trinity-dcoprss
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-dcoprss
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package devel
+Summary: Development files for the Trinity network module
+Group: Development/Libraries
+Requires: trinity-kdict = %{version}-%{release}
+Requires: trinity-kopete = %{version}-%{release}
+Requires: trinity-ksirc = %{version}-%{release}
+Requires: trinity-librss = %{version}-%{release}
+Requires: trinity-kdelibs-devel
+
+Obsoletes: trinity-kdenetwork-devel < %{version}-%{release}
+Provides: trinity-kdenetwork-devel = %{version}-%{release}
+Obsoletes: tdenetwork-devel < %{version}-%{release}
+Provides: tdenetwork-devel = %{version}-%{release}
+
+%description devel
+This is the development package which contains the headers for the KDE RSS
+library as well as the Kopete chat client, as well as miscellaneous
+development-related files for the TDE network module.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/kopete/*.h
+%{tde_tdeincludedir}/kopete/ui/*.h
+%{tde_tdeincludedir}/rss/*.h
+%{tde_libdir}/libkdeinit_kdict.la
+%{tde_libdir}/libkdeinit_ksirc.la
+%{tde_libdir}/libkopete.la
+%{tde_libdir}/libkopete.so
+%{tde_libdir}/libkopete_msn_shared.la
+%{tde_libdir}/libkopete_msn_shared.so
+%{tde_libdir}/libkopete_oscar.la
+%{tde_libdir}/libkopete_oscar.so
+%{tde_libdir}/libkopete_videodevice.la
+%{tde_libdir}/libkopete_videodevice.so
+%{tde_libdir}/librss.la
+%{tde_libdir}/librss.so
+
+%post devel
+/sbin/ldconfig
+
+%postun devel
+/sbin/ldconfig
+
+##########
+
+%package filesharing
+#Recommends: perl-suid
+Summary: Network filesharing configuration module for Trinity
+Group: Applications/Internet
+
+Obsoletes: tdenetwork-filesharing < %{version}-%{release}
+Provides: tdenetwork-filesharing = %{version}-%{release}
+
+%description filesharing
+This package provides a TDE Control Center module to configure
+NFS and Samba.
+
+%files filesharing
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/fileshare_propsdlgplugin.la
+%{tde_tdelibdir}/fileshare_propsdlgplugin.so
+%{tde_tdelibdir}/kcm_fileshare.la
+%{tde_tdelibdir}/kcm_fileshare.so
+%{tde_tdelibdir}/kcm_kcmsambaconf.la
+%{tde_tdelibdir}/kcm_kcmsambaconf.so
+%{tde_tdeappdir}/fileshare.desktop
+%{tde_tdeappdir}/kcmsambaconf.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kcmsambaconf.png
+%{tde_datadir}/services/fileshare_propsdlgplugin.desktop
+
+%post filesharing
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun filesharing
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package -n trinity-kdict
+Summary: Dictionary client for Trinity
+Group: Applications/Internet
+
+%description -n trinity-kdict
+KDict is an advanced TDE graphical client for the DICT Protocol, with full
+Unicode support. It enables you to search through dictionary databases for a
+word or phrase, then displays suitable definitions. KDict tries to ease
+basic as well as advanced queries.
+
+%files -n trinity-kdict
+%defattr(-,root,root,-)
+%{tde_bindir}/kdict
+%{tde_tdelibdir}/kdict.*
+%{tde_tdelibdir}/kdict_panelapplet.*
+%{tde_libdir}/libkdeinit_kdict.*
+%{tde_tdeappdir}/kdict.desktop
+%{tde_datadir}/apps/kdict
+%{tde_datadir}/apps/kicker/applets/kdictapplet.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kdict.*
+%{tde_tdedocdir}/HTML/en/kdict
+
+%post -n trinity-kdict
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-kdict
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package kfile-plugins
+Summary: Torrent metainfo plugin for Trinity
+Group: Applications/Internet
+
+Obsoletes: tdenetwork-kfile-plugins < %{version}-%{release}
+Provides: tdenetwork-kfile-plugins = %{version}-%{release}
+
+%description kfile-plugins
+This package provides a metainformation plugin for bittorrent files.
+TDE uses kfile-plugins to provide metainfo tab in the files properties
+dialog in konqueror and other file-handling applications.
+
+%files kfile-plugins
+%{tde_tdelibdir}/kfile_torrent.la
+%{tde_tdelibdir}/kfile_torrent.so
+%{tde_datadir}/services/kfile_torrent.desktop
+
+%post kfile-plugins
+update-desktop-database 2> /dev/null || :
+
+%postun kfile-plugins
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package -n trinity-kget
+Summary: download manager for Trinity
+Group: Applications/Internet
+
+%description -n trinity-kget
+KGet is a a download manager similar to GetRight or Go!zilla. It keeps
+all your downloads in one dialog and you can add and remove transfers.
+Transfers can be paused, resumed, queued or scheduled.
+Dialogs display info about status of transfers - progress, size, speed
+and remaining time. Program supports drag & drop from TDE
+applications and Netscape.
+
+%files -n trinity-kget
+%defattr(-,root,root,-)
+%{tde_bindir}/kget
+%{tde_tdelibdir}/khtml_kget.la
+%{tde_tdelibdir}/khtml_kget.so
+%{tde_tdeappdir}/kget.desktop
+%{tde_datadir}/apps/kget
+%{tde_datadir}/apps/khtml/kpartplugins/kget_plug_in.desktop
+%{tde_datadir}/apps/khtml/kpartplugins/kget_plug_in.rc
+%{tde_datadir}/apps/konqueror/servicemenus/kget_download.desktop
+%{tde_datadir}/icons/crystalsvg/*/actions/khtml_kget.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kget.png
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/kget_list.png
+%{tde_datadir}/mimelnk/application/x-kgetlist.desktop
+%{tde_datadir}/sounds/KGet_Added.ogg
+%{tde_datadir}/sounds/KGet_Finished.ogg
+%{tde_datadir}/sounds/KGet_Finished_All.ogg
+%{tde_datadir}/sounds/KGet_Started.ogg
+%{tde_tdedocdir}/HTML/en/kget
+
+%post -n trinity-kget
+for f in crystalsvg ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-kget
+for f in crystalsvg ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package -n trinity-knewsticker
+Summary: news ticker applet for Trinity
+Group: Applications/Internet
+
+%description -n trinity-knewsticker
+This is a news ticker applet for the Trinity panel. It can scroll news from
+your favorite news sites, such as lwn.net, /. and freshmeat.net.
+To achieve this, KNewsTicker requires the news sites to provide a
+RSS feed to newsitems. KNewsTicker already comes with a selection of
+good news sources which provide such files.
+
+%files -n trinity-knewsticker
+%defattr(-,root,root,-)
+%{tde_bindir}/knewstickerstub
+%{tde_tdelibdir}/knewsticker_panelapplet.la
+%{tde_tdelibdir}/knewsticker_panelapplet.so
+%{tde_tdelibdir}/kntsrcfilepropsdlg.la
+%{tde_tdelibdir}/kntsrcfilepropsdlg.so
+%{tde_tdeappdir}/knewsticker-standalone.desktop
+%{tde_datadir}/applnk/.hidden/knewstickerstub.desktop
+%{tde_datadir}/apps/kconf_update/knewsticker.upd
+%{tde_datadir}/apps/kconf_update/knt-0.1-0.2.pl
+%{tde_datadir}/apps/kicker/applets/knewsticker.desktop
+%{tde_datadir}/apps/knewsticker/eventsrc
+%{tde_datadir}/icons/hicolor/*/apps/knewsticker.png
+%{tde_datadir}/services/kntsrcfilepropsdlg.desktop
+%{tde_tdedocdir}/HTML/en/knewsticker
+
+%post -n trinity-knewsticker
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-knewsticker
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package -n trinity-kopete
+Summary: instant messenger for Trinity
+Group: Applications/Internet
+URL: http://kopete.kde.org
+
+%description -n trinity-kopete
+Kopete is an instant messenger program which can communicate with a variety
+of IM systems, such as Yahoo, ICQ, MSN, IRC and Jabber.
+
+Support for more IM protocols can be added through a plugin system.
+
+%files -n trinity-kopete
+%defattr(-,root,root,-)
+# nowlistening support
+%exclude %{tde_datadir}/apps/kopete/*nowlisteningchatui*
+%exclude %{tde_datadir}/apps/kopete/*nowlisteningui*
+%exclude %{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg
+%exclude %{tde_datadir}/services/kconfiguredialog/*nowlistening*
+%exclude %{tde_datadir}/services/*nowlistening*
+%exclude %{tde_tdelibdir}/*nowlistening*
+# Main kopete package
+%{tde_bindir}/kopete
+%{tde_bindir}/kopete_latexconvert.sh
+%{tde_libdir}/kconf_update_bin/kopete_account_kconf_update
+%{tde_libdir}/kconf_update_bin/kopete_nameTracking_kconf_update
+%{tde_libdir}/kconf_update_bin/kopete_pluginloader2_kconf_update
+%{tde_tdelibdir}/kcm_kopete_*.so
+%{tde_tdelibdir}/kcm_kopete_*.la
+%{tde_tdelibdir}/kio_jabberdisco.la
+%{tde_tdelibdir}/kio_jabberdisco.so
+%{tde_tdelibdir}/kopete_*.la
+%{tde_tdelibdir}/kopete_*.so
+%{tde_tdelibdir}/libkrichtexteditpart.la
+%{tde_tdelibdir}/libkrichtexteditpart.so
+%{tde_libdir}/libkopete_msn_shared.so.*
+%{tde_libdir}/libkopete_oscar.so.*
+%{tde_libdir}/libkopete.so.*
+%{tde_libdir}/libkopete_videodevice.so.*
+%{tde_tdeappdir}/kopete.desktop
+%{tde_datadir}/apps/kconf_update/kopete-*
+%{tde_datadir}/apps/kopete
+%{tde_datadir}/apps/kopete_*/*.rc
+%{tde_datadir}/apps/kopeterichtexteditpart/kopeterichtexteditpartfull.rc
+%{tde_datadir}/config.kcfg/historyconfig.kcfg
+%{tde_datadir}/config.kcfg/kopeteidentityconfigpreferences.kcfg
+%{tde_datadir}/config.kcfg/kopete.kcfg
+%{tde_datadir}/config.kcfg/latexconfig.kcfg
+%{tde_datadir}/icons/crystalsvg/*/actions/voicecall.png
+%{tde_datadir}/icons/crystalsvg/*/actions/webcamreceive.png
+%{tde_datadir}/icons/crystalsvg/*/actions/webcamsend.png
+%{tde_datadir}/icons/crystalsvg/*/actions/account_offline_overlay.png
+%{tde_datadir}/icons/crystalsvg/*/actions/add_user.png
+%{tde_datadir}/icons/crystalsvg/*/actions/contact_away_overlay.png
+%{tde_datadir}/icons/crystalsvg/*/actions/contact_busy_overlay.png
+%{tde_datadir}/icons/crystalsvg/*/actions/contact_food_overlay.png
+%{tde_datadir}/icons/crystalsvg/*/actions/contact_invisible_overlay.png
+%{tde_datadir}/icons/crystalsvg/*/actions/contact_phone_overlay.png
+%{tde_datadir}/icons/crystalsvg/*/actions/contact_xa_overlay.png
+%{tde_datadir}/icons/crystalsvg/*/actions/delete_user.png
+%{tde_datadir}/icons/crystalsvg/*/actions/edit_user.png
+%{tde_datadir}/icons/crystalsvg/*/actions/emoticon.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_away.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_chatty.png
+#%{tde_datadir}/icons/crystalsvg/*/actions/jabber_connecting.mng
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_group.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_invisible.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_na.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_offline.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_online.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_original.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_raw.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_off.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_serv_on.png
+%{tde_datadir}/icons/crystalsvg/*/actions/jabber_xa.png
+%{tde_datadir}/icons/crystalsvg/*/actions/kopeteavailable.png
+%{tde_datadir}/icons/crystalsvg/*/actions/kopeteaway.png
+%{tde_datadir}/icons/crystalsvg/*/actions/kopeteeditstatusmessage.png
+%{tde_datadir}/icons/crystalsvg/*/actions/kopetestatusmessage.png
+%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_away.png
+%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_offline.png
+%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_online.png
+%{tde_datadir}/icons/crystalsvg/*/actions/metacontact_unknown.png
+%{tde_datadir}/icons/crystalsvg/*/actions/newmsg.png
+%{tde_datadir}/icons/crystalsvg/*/actions/search_user.png
+%{tde_datadir}/icons/crystalsvg/*/actions/show_offliners.png
+%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown_overlay.png
+%{tde_datadir}/icons/crystalsvg/*/actions/status_unknown.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_aim.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_gadu.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_http-ws.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_icq.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_irc.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_msn.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_qq.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_smtp.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_tlen.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_gateway_yahoo.png
+%{tde_datadir}/icons/crystalsvg/*/apps/jabber_protocol.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kopete_all_away.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kopete_offline.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_away.png
+%{tde_datadir}/icons/crystalsvg/*/apps/kopete_some_online.png
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/kopete_emoticons.png
+%{tde_datadir}/icons/crystalsvg/scalable/actions/account_offline_overlay.svgz
+%{tde_datadir}/icons/hicolor/*/apps/kopete.png
+%{tde_datadir}/icons/hicolor/*/actions/emoticon.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_away.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_chatty.png
+#%{tde_datadir}/icons/hicolor/*/actions/jabber_connecting.mng
+%{tde_datadir}/icons/hicolor/*/actions/jabber_group.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_invisible.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_na.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_offline.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_online.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_original.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_raw.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_off.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_serv_on.png
+%{tde_datadir}/icons/hicolor/*/actions/jabber_xa.png
+%{tde_datadir}/icons/hicolor/*/actions/kopeteavailable.png
+%{tde_datadir}/icons/hicolor/*/actions/kopeteaway.png
+%{tde_datadir}/icons/hicolor/*/actions/newmsg.png
+%{tde_datadir}/icons/hicolor/*/actions/status_unknown_overlay.png
+%{tde_datadir}/icons/hicolor/*/actions/status_unknown.png
+%{tde_datadir}/icons/hicolor/*/apps/jabber_protocol.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kopete2.svgz
+%{tde_datadir}/mimelnk/application/x-icq.desktop
+%{tde_datadir}/mimelnk/application/x-kopete-emoticons.desktop
+%{tde_datadir}/services/aim.protocol
+%{tde_datadir}/services/chatwindow.desktop
+%{tde_datadir}/services/emailwindow.desktop
+%{tde_datadir}/services/jabberdisco.protocol
+%{tde_datadir}/services/kconfiguredialog/kopete_*.desktop
+%{tde_datadir}/services/kopete_*.desktop
+%{tde_datadir}/icons/crystalsvg/16x16/apps/jabber_gateway_sms.png
+%{tde_datadir}/servicetypes/kopete*.desktop
+%{tde_datadir}/sounds/Kopete_*.ogg
+%{tde_tdedocdir}/HTML/en/kopete
+# jingle support for kopete
+%{tde_bindir}/relayserver
+%{tde_bindir}/stunserver
+# winpopup support for kopete
+%{tde_bindir}/winpopup-install.sh
+%{tde_bindir}/winpopup-send.sh
+# meanwhile protocol support for kopete
+%if 0%{?with_meanwhile}
+%{tde_tdelibdir}/new_target0.la
+%{tde_tdelibdir}/new_target0.so
+%endif
+# motionaway plugin for kopete
+%{tde_datadir}/config.kcfg/motionawayconfig.kcfg
+# smpp plugin for kopete
+%{tde_datadir}/config.kcfg/smpppdcs.kcfg
+
+
+%post -n trinity-kopete
+for f in crystalsvg hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+/sbin/ldconfig
+
+%postun -n trinity-kopete
+for f in crystalsvg hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+/sbin/ldconfig
+
+##########
+
+%package -n trinity-kopete-nowlistening
+Summary: Nowlistening (xmms) plugin for Kopete.
+Group: Applications/Internet
+
+%description -n trinity-kopete-nowlistening
+Kopete includes the "Now Listening" plug-in that can report what music you
+are currently listening to, in a number of different players, including
+noatun, kscd, juk, kaffeine and amarok.
+
+%files -n trinity-kopete-nowlistening
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/kopete/*nowlisteningchatui*
+%{tde_datadir}/apps/kopete/*nowlisteningui*
+%{tde_datadir}/config.kcfg/nowlisteningconfig.kcfg
+%{tde_datadir}/services/kconfiguredialog/*nowlistening*
+%{tde_datadir}/services/*nowlistening*
+%{tde_tdelibdir}/*nowlistening*
+
+##########
+
+%package -n trinity-kpf
+Summary: Public fileserver for Trinity
+Group: Applications/Internet
+
+%description -n trinity-kpf
+kpf provides simple file sharing using HTTP. kpf is strictly a public
+fileserver, which means that there are no access restrictions to shared
+files. Whatever you select for sharing is available to anyone. kpf is
+designed to be used for sharing files with friends.
+
+%files -n trinity-kpf
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kpf*
+%{tde_datadir}/apps/kicker/applets/kpfapplet.desktop
+%{tde_datadir}/icons/crystalsvg/*/apps/kpf.*
+%{tde_datadir}/services/kpfpropertiesdialogplugin.desktop
+%{tde_tdedocdir}/HTML/en/kpf
+
+%post -n trinity-kpf
+for f in crystalsvg ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-kpf
+for f in crystalsvg ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package -n trinity-kppp
+Summary: modem dialer and ppp frontend for Trinity
+Group: Applications/Internet
+Requires: ppp
+%if 0%{?rhel} || 0%{?fedora}
+Requires: usermode-gtk
+%else
+Requires: usermode
+%endif
+
+%description -n trinity-kppp
+KPPP is a dialer and front end for pppd. It allows for interactive
+script generation and network setup. It will automate the dialing in
+process to your ISP while letting you conveniently monitor the entire
+process.
+
+Once connected KPPP will provide a rich set of statistics and keep
+track of the time spent online for you.
+
+%files -n trinity-kppp
+%defattr(-,root,root,-)
+%config(noreplace) /etc/security/console.apps/kppp3
+%config(noreplace) /etc/pam.d/kppp3
+%{tde_bindir}/kppp3
+%{tde_bindir}/kppplogview
+%{_sbindir}/kppp3
+%{tde_sbindir}/kppp3
+%{tde_tdeappdir}/Kppp.desktop
+%{tde_tdeappdir}/kppplogview.desktop
+%{tde_datadir}/apps/checkrules
+%{tde_datadir}/apps/kppp
+%{tde_datadir}/icons/hicolor/*/apps/kppp.png
+%{tde_tdedocdir}/HTML/en/kppp
+
+%post -n trinity-kppp
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-kppp
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package -n trinity-krdc
+Summary: Remote Desktop Connection for Trinity
+Group: Applications/Internet
+Requires: rdesktop
+
+%description -n trinity-krdc
+krdc is an TDE graphical client for the rfb protocol, used by VNC,
+and if rdesktop is installed, krdc can connect to Windows Terminal
+Servers using RDP.
+
+%files -n trinity-krdc
+%defattr(-,root,root,-)
+%{tde_bindir}/krdc
+%{tde_tdeappdir}/krdc.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/smb2rdc.desktop
+%{tde_datadir}/apps/krdc
+%{tde_datadir}/icons/crystalsvg/*/apps/krdc.png
+%{tde_datadir}/services/rdp.protocol
+%{tde_datadir}/services/vnc.protocol
+%{tde_tdedocdir}/HTML/en/krdc
+
+%post -n trinity-krdc
+for f in crystalsvg ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-krdc
+for f in crystalsvg ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package -n trinity-krfb
+Summary: Desktop Sharing for Trinity
+Group: Applications/Internet
+
+%description -n trinity-krfb
+Desktop Sharing (krfb) is a server application that allows you to share
+your current session with a user on another machine, who can use a
+VNC client like krdc to view or even control the desktop. It doesn't
+require you to start a new X session - it can share the current session.
+This makes it very useful when you want someone to help you perform a
+task.
+
+%files -n trinity-krfb
+%defattr(-,root,root,-)
+%{tde_bindir}/krfb
+%{tde_bindir}/krfb_httpd
+%{tde_tdelibdir}/kcm_krfb.la
+%{tde_tdelibdir}/kcm_krfb.so
+%{tde_tdelibdir}/kded_kinetd.la
+%{tde_tdelibdir}/kded_kinetd.so
+%{tde_tdeappdir}/kcmkrfb.desktop
+%{tde_tdeappdir}/krfb.desktop
+%{tde_datadir}/apps/kinetd/eventsrc
+%{tde_datadir}/apps/krfb
+%{tde_datadir}/icons/crystalsvg/*/apps/krfb.png
+%{tde_datadir}/icons/locolor/*/apps/krfb.png
+%{tde_datadir}/services/kded/kinetd.desktop
+%{tde_datadir}/services/kinetd_krfb.desktop
+%{tde_datadir}/services/kinetd_krfb_httpd.desktop
+%{tde_datadir}/servicetypes/kinetdmodule.desktop
+%{tde_tdedocdir}/HTML/en/krfb
+
+%post -n trinity-krfb
+for f in crystalsvg locolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-krfb
+for f in crystalsvg locolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package -n trinity-ksirc
+Summary: IRC client for Trinity
+Group: Applications/Internet
+
+%description -n trinity-ksirc
+KSirc is an IRC chat client for KDE. It supports scripting with Perl and has a
+lot of compatibility with mIRC for general use.
+
+If you want to connect to an IRC server via SSL, you will need to install the
+recommended package libio-socket-ssl-perl.
+
+%files -n trinity-ksirc
+%defattr(-,root,root,-)
+%{tde_bindir}/dsirc
+%{tde_bindir}/ksirc
+%{tde_libdir}/libkdeinit_ksirc.*
+%{tde_tdelibdir}/ksirc.*
+%{tde_tdeappdir}/ksirc.desktop
+%{tde_datadir}/apps/ksirc/
+%config(noreplace) %{tde_datadir}/config/ksircrc
+%{tde_datadir}/icons/hicolor/*/apps/ksirc.*
+%{tde_tdedocdir}/HTML/??/ksirc/
+
+%post -n trinity-ksirc
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+/sbin/ldconfig
+
+
+%postun -n trinity-ksirc
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+/sbin/ldconfig
+
+##########
+
+%package -n trinity-ktalkd
+Summary: Talk daemon for Trinity
+Group: Applications/Internet
+
+%description -n trinity-ktalkd
+KTalkd is an enhanced talk daemon - a program to handle incoming talk
+requests, announce them and allow you to respond to it using a talk
+client. Note that KTalkd is designed to run on a single-user workstation,
+and shouldn't be run on a multi-user machine.
+
+%files -n trinity-ktalkd
+%defattr(-,root,root,-)
+%{tde_bindir}/ktalkd*
+%{tde_bindir}/mail.local
+%{tde_tdelibdir}/kcm_ktalkd.*
+%{tde_tdeappdir}/kcmktalkd.desktop
+%config(noreplace) %{tde_datadir}/config/ktalkdrc
+%{tde_datadir}/icons/crystalsvg/*/apps/ktalkd.*
+%{tde_datadir}/sounds/ktalkd.wav
+%config(noreplace) %{_sysconfdir}/xinetd.d/ktalk
+%{tde_tdedocdir}/HTML/en/kcontrol/kcmtalkd
+%{tde_tdedocdir}/HTML/en/ktalkd
+
+%post -n trinity-ktalkd
+for f in crystalsvg ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-ktalkd
+for f in crystalsvg ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%if "%{?_with_wifi:1}" == "1"
+%package -n trinity-kwifimanager
+#Depends: ${shlibs:Depends}, wireless-tools
+#Suggests: khelpcenter-trinity
+Summary: Wireless lan manager for Trinity
+Group: Applications/Internet
+
+%description -n trinity-kwifimanager
+KWiFiManager suite is a set of tools which allows you to manage your
+wireless LAN connection under the K Desktop Environment. It provides
+information about your current connection. KWiFiManager supports every
+wavelan card that uses the wireless extensions interface.
+
+%files -n trinity-kwifimanager
+%defattr(-,root,root,-)
+%{tde_bindir}/kwifimanager
+%{tde_tdelibdir}/kcm_wifi.*
+%{tde_tdelibdir}/libkwireless.la
+%{tde_tdelibdir}/libkwireless.so
+%{tde_tdeappdir}/kcmwifi.desktop
+%{tde_tdeappdir}/kwifimanager.desktop
+%{tde_datadir}/apps/kicker/applets/kwireless.desktop
+%{tde_datadir}/apps/kwifimanager
+%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.png
+%{tde_datadir}/icons/hicolor/*/apps/kwifimanager.svgz
+%doc %{tde_tdedocdir}/HTML/en/kwifimanager
+
+%post -n trinity-kwifimanager
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-kwifimanager
+for f in hicolor ; do
+ gtk-update-icon-cache --quiet %{tde_datadir}/icons/${f} 2> /dev/null || :
+done
+update-desktop-database 2> /dev/null || :
+%endif
+
+##########
+
+%package -n trinity-librss
+Summary: RSS library for Trinity
+Group: Environment/Libraries
+
+%description -n trinity-librss
+This is the runtime package for programs that use the TDE RSS library.
+End users should not need to install this, it should get installed
+automatically when needed.
+
+%files -n trinity-librss
+%defattr(-,root,root,-)
+%{tde_libdir}/librss.so.*
+
+%post -n trinity-librss
+/sbin/ldconfig
+
+%postun -n trinity-librss
+/sbin/ldconfig
+
+##########
+
+%package -n trinity-lisa
+Summary: LAN information server for Trinity
+Group: Applications/Internet
+%if 0%{?suse_version}
+Requires(preun): aaa_base
+Requires(post): aaa_base
+%else
+Requires(preun): chkconfig
+Requires(post): chkconfig
+%endif
+
+%description -n trinity-lisa
+LISa is intended to provide KDE with a kind of "network neighborhood"
+but relying only on the TCP/IP protocol.
+
+%files -n trinity-lisa
+%defattr(-,root,root,-)
+%config(noreplace) %{_sysconfdir}/lisarc*
+%config(noreplace) %{_initrddir}/lisa
+%{tde_tdelibdir}/kcm_lanbrowser.la
+%{tde_tdelibdir}/kcm_lanbrowser.so
+%{tde_tdelibdir}/kio_lan.la
+%{tde_tdelibdir}/kio_lan.so
+%{tde_datadir}/applnk/.hidden/kcmkiolan.desktop
+%{tde_datadir}/applnk/.hidden/kcmlisa.desktop
+%{tde_datadir}/applnk/.hidden/kcmreslisa.desktop
+%{tde_datadir}/apps/konqsidebartng/virtual_folders/services/lisa.desktop
+%{tde_datadir}/apps/konqueror/dirtree/remote/lan.desktop
+%{tde_datadir}/apps/lisa/README
+%{tde_datadir}/apps/remoteview/lan.desktop
+%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/common
+%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/index.cache.bz2
+%{tde_tdedocdir}/HTML/en/kcontrol/lanbrowser/index.docbook
+%{tde_tdedocdir}/HTML/en/lisa/
+%{tde_datadir}/services/lan.protocol
+%{tde_datadir}/services/rlan.protocol
+%{tde_bindir}/lisa
+%{tde_bindir}/reslisa
+
+%post -n trinity-lisa
+/sbin/chkconfig --add lisa ||:
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-lisa
+if [ $1 -eq 0 ]; then
+ /sbin/chkconfig --del lisa ||:
+ /sbin/service lisa stop > /dev/null 2>&1 ||:
+fi
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%package -n trinity-kdnssd
+#Recommends: avahi-daemon
+#Suggests: avahi-autoipd | zeroconf
+Summary: Zeroconf support for KDE
+Group: Applications/Internet
+
+%description -n trinity-kdnssd
+A kioslave and kded module that provide Zeroconf support. Try
+"zeroconf:/" in Konqueror.
+
+%files -n trinity-kdnssd
+%defattr(-,root,root,-)
+%{tde_datadir}/services/zeroconf.protocol
+%{tde_datadir}/services/invitation.protocol
+%{tde_datadir}/services/kded/dnssdwatcher.desktop
+%{tde_datadir}/apps/remoteview/zeroconf.desktop
+%{tde_datadir}/apps/zeroconf/_http._tcp
+%{tde_datadir}/apps/zeroconf/_ftp._tcp
+%{tde_datadir}/apps/zeroconf/_ldap._tcp
+%{tde_datadir}/apps/zeroconf/_webdav._tcp
+%{tde_datadir}/apps/zeroconf/_nfs._tcp
+%{tde_datadir}/apps/zeroconf/_ssh._tcp
+%{tde_datadir}/apps/zeroconf/_rfb._tcp
+%{tde_tdelibdir}/kio_zeroconf.so
+%{tde_tdelibdir}/kio_zeroconf.la
+%{tde_tdelibdir}/kded_dnssdwatcher.so
+%{tde_tdelibdir}/kded_dnssdwatcher.la
+
+%post -n trinity-kdnssd
+update-desktop-database 2> /dev/null || :
+
+%postun -n trinity-kdnssd
+update-desktop-database 2> /dev/null || :
+
+##########
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n kdenetwork-3.5.13.1
+
+%patch1 -p1 -b .ldflags
+%patch2 -p1 -b .ftbfs
+%patch3 -p1 -b .kppp
+%patch4 -p1 -b .resolv
+%patch6 -p1 -b .krfb_httpd
+
+%if 0%{?rhel} == 4
+%patch201 -p1 -b .rhel4
+%endif
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+export LD_LIBRARY_PATH="%{tde_libdir}"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+# Ugly hack for opensuse 12.2 - libiw undefined reference to 'floor' etc ...
+%if 0%{?suse_version} >= 1220
+export LDFLAGS="${LDFLAGS} -lm"
+%endif
+
+%cmake \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DWITH_JINGLE=ON \
+ %{?with_speex:-DWITH_SPEEX=ON} \
+ -DWITH_WEBCAM=ON \
+ -DWITH_GSM=OFF \
+ -DWITH_ARTS=ON \
+ -DBUILD_ALL=ON \
+ -DBUILD_KOPETE_PLUGIN_ALL=ON \
+ -DBUILD_KOPETE_PROTOCOL_ALL=ON \
+ %{!?with_gadu:-DBUILD_KOPETE_PROTOCOL_GADU=OFF} \
+ %{!?with_meanwhile:-DBUILD_KOPETE_PROTOCOL_MEANWHILE=OFF} \
+ ..
+
+# Tdenetwork is not smp safe !
+%__make VERBOSE=1
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+
+
+## File lists
+# HTML (1.0)
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && %{__rm} -f $i/common && ln -sf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# Show only in KDE, FIXME, need to re-evaluate these -- Rex
+for i in fileshare kcmkrfb kcmktalkd kcmwifi krfb kppp kppplogview \
+ kwifimanager kget knewsticker ksirc kdict ; do
+ if [ -f %{buildroot}%{tde_datadir}/applications/kde/$i.desktop ] ; then
+ echo "OnlyShowIn=KDE;" >> %{buildroot}%{tde_datadir}/applications/kde/$i.desktop
+ fi
+done
+
+# Run kppp through consolehelper, and rename it to 'kppp3'
+%__install -p -m644 -D %{SOURCE1} %{buildroot}/etc/pam.d/kppp3
+%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir}
+%__mv %{buildroot}%{tde_bindir}/kppp %{buildroot}%{tde_sbindir}/kppp3
+%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/kppp3
+%if "%{tde_prefix}" != "/usr"
+%__ln_s %{tde_sbindir}/kppp3 %{?buildroot}%{_sbindir}/kppp3
+%endif
+%__mkdir_p %{buildroot}%{_sysconfdir}/security/console.apps
+cat > %{buildroot}%{_sysconfdir}/security/console.apps/kppp3 <<EOF
+USER=root
+PROGRAM=%{tde_sbindir}/kppp3
+SESSION=true
+EOF
+%__sed -i %{buildroot}%{tde_tdeappdir}/Kppp.desktop -e "/Exec=/ s|kppp|kppp3|"
+
+# ktalk
+%__install -p -m 0644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/xinetd.d/ktalk
+
+# Add lisa startup script
+%__install -p -m 0644 -D %{SOURCE4} %{buildroot}%{_sysconfdir}/lisarc
+%__install -p -m 0755 -D %{SOURCE5} %{buildroot}%{_initrddir}/lisa
+
+# RHEL 5: Avoids conflict with 'kdenetwork'
+%if 0%{?rhel} == 5
+%__mv -f %{buildroot}%{_sysconfdir}/lisarc %{buildroot}%{_sysconfdir}/lisarc.tde
+%endif
+
+# Avoids conflict with trinity-kvirc
+%__mv -f %{buildroot}%{tde_datadir}/services/irc.protocol %{buildroot}%{tde_datadir}/apps/kopete/
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%changelog
+* Sun Sep 30 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch b/redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch
new file mode 100644
index 000000000..4be0cd25f
--- /dev/null
+++ b/redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv.patch
@@ -0,0 +1,44 @@
+--- kdepim-3.5.13.1/kioslaves/imap4/imapparser.cc.segv 2012-09-08 12:06:42.000000000 +0200
++++ kdepim-3.5.13.1/kioslaves/imap4/imapparser.cc 2012-09-26 12:05:13.897737893 +0200
+@@ -345,6 +345,7 @@
+ parseOneWordC(result); // *
+ TQByteArray what = parseLiteral (result); // see whats coming next
+
++ if(!what.isEmpty ()) {
+ switch (what[0])
+ {
+ //the status responses
+@@ -482,6 +483,7 @@
+ if (valid)
+ {
+ what = parseLiteral (result);
++ if(!what.isEmpty ()) {
+ switch (what[0])
+ {
+ case 'E':
+@@ -520,10 +522,12 @@
+ default:
+ break;
+ }
++ }
+ }
+ }
+ break;
+ } //switch
++ }
+ } //func
+
+
+@@ -1915,9 +1919,10 @@
+ if (!inWords.isEmpty() && inWords[0] == '{')
+ {
+ TQCString retVal;
+- ulong runLen = inWords.find ('}', 1);
+- if (runLen > 0)
++ long srunLen = inWords.find ('}', 1); // Can return -1, so use a signed long
++ if (srunLen > 0)
+ {
++ ulong runLen = (ulong)srunLen;
+ bool proper;
+ ulong runLenSave = runLen + 1;
+ TQCString tmpstr(runLen);
diff --git a/redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch b/redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch
new file mode 100644
index 000000000..d8260c166
--- /dev/null
+++ b/redhat/kdepim/kdepim-3.5.13.1-fix_imapparser_segv_2.patch
@@ -0,0 +1,15 @@
+--- kdepim-3.5.13.1/kioslaves/imap4/imapparser.h~ 2012-09-26 14:43:52.932265697 +0200
++++ kdepim-3.5.13.1/kioslaves/imap4/imapparser.h 2012-09-26 14:45:33.190317168 +0200
+@@ -94,7 +94,11 @@
+ }
+ uint length()
+ {
+- return data.size() - pos;
++ if( pos < data.size() ) {
++ return data.size() - pos;
++ } else {
++ return 0;
++ }
+ }
+ void fromString(const TQString &s)
+ {
diff --git a/redhat/kdepim/kdepim-3.5.13.1-kmime_utils_quotes.patch b/redhat/kdepim/kdepim-3.5.13.1-kmime_utils_quotes.patch
new file mode 100644
index 000000000..25d99c683
--- /dev/null
+++ b/redhat/kdepim/kdepim-3.5.13.1-kmime_utils_quotes.patch
@@ -0,0 +1,41 @@
+--- kdepim-3.5.13.1/libkmime/kmime_util.cpp.quotes 2012-09-08 12:06:45.000000000 +0200
++++ kdepim-3.5.13.1/libkmime/kmime_util.cpp 2012-09-25 18:49:54.806551812 +0200
+@@ -436,29 +436,25 @@
+
+ void removeQuots(TQCString &str)
+ {
+- str.replace(TQRegExp("\\\""), "\"");
+- str.replace(TQRegExp("\\\\"), "\\");
++ // Removes any quote or backslash caracter
++ str.replace(TQRegExp("[\\\"]"), "");
+ }
+
+
+ void removeQuots(TQString &str)
+ {
+- str.replace(TQRegExp("\\\""), "\"");
+- str.replace(TQRegExp("\\\\"), "\\");
++ // Removes any quote or backslash caracter
++ str.replace(TQRegExp("[\\\"]"), "");
+ }
+
+
+ void addQuotes(TQCString &str, bool forceQuotes)
+ {
+- bool needsQuotes=false;
+- if ( TQString( str ) .contains( TQRegExp( TQString( "\"|\\\\|=|\\]|\\[|:|;|,|\\.|,|@|<|>|\\)|\\(" ) ) ) )
+- needsQuotes = true;
+-
+- str.replace(TQRegExp("\\"), "\\\\");
+- str.replace(TQRegExp("\""), "\\\"");
+-
+- if (needsQuotes || forceQuotes) {
+- str.insert(0,'\"');
++ if ( forceQuotes || TQString(str).contains( TQRegExp( TQString( "\"|\\\\|=|\\]|\\[|:|;|,|\\.|,|@|<|>|\\)|\\(" ) ) ) ) {
++ // Adds a backslash in front of any existing quote or backslash caracter
++ str.replace(TQRegExp("([\\\"])"), "\\\\1");
++ // Adds quote at beginning and end of thestring
++ str.insert(0,'"');
+ str.append("\"");
+ }
+ }
diff --git a/redhat/kdepim/trinity-kdepim-3.5.13.1.spec b/redhat/kdepim/trinity-kdepim-3.5.13.1.spec
new file mode 100644
index 000000000..97308bae2
--- /dev/null
+++ b/redhat/kdepim/trinity-kdepim-3.5.13.1.spec
@@ -0,0 +1,2157 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+BuildRequires: cmake >= 2.8
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+# KDEPIM specific features
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+%define with_gnokii 1
+BuildRequires: gnokii-devel
+%endif
+
+# TDEPIM optional features
+#define with_kitchensync 0
+
+
+Name: trinity-tdepim
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+License: GPL
+Group: Applications/Productivity
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+Summary: Personal Information Management apps from the official Trinity release
+
+Prefix: %{tde_prefix}
+
+Source0: kdepim-3.5.13.1.tar.gz
+
+# [tdepim] Fix include directory location for installer .h files
+Patch13: kdepim-3.5.13-fix_include_directory.patch
+# [tdepim] Missing LDFLAGS cause FTBFS on MGA2/MDV2011
+Patch14: kdepim-3.5.13-missing_ldflags.patch
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-kdelibs-devel >= %{version}
+BuildRequires: trinity-libcaldav-devel
+BuildRequires: trinity-libcarddav-devel
+
+BuildRequires: gpgme-devel
+BuildRequires: libgpg-error-devel
+BuildRequires: flex
+BuildRequires: libical-devel
+BuildRequires: boost-devel
+BuildRequires: pcre-devel
+BuildRequires: glib2-devel
+BuildRequires: gcc-c++ make
+BuildRequires: libidn-devel
+
+%if 0%{?fedora} >= 15
+BuildRequires: flex-static
+%endif
+%if 0%{?rhel} > 0 && 0%{?rhel} <= 5
+BuildRequires: trinity-libcurl-devel
+%else
+BuildRequires: curl-devel
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}xcomposite%{?mgaversion:1}-devel
+BuildRequires: %{_lib}sasl2-devel
+%else
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
+BuildRequires: libXcomposite-devel
+%endif
+BuildRequires: cyrus-sasl-devel
+%endif
+
+Requires: trinity-libtdepim = %{version}-%{release}
+Requires: %{name}-kfile-plugins = %{version}-%{release}
+Requires: %{name}-kio-plugins = %{version}-%{release}
+Requires: %{name}-kresources = %{version}-%{release}
+Requires: %{name}-wizards = %{version}-%{release}
+Requires: trinity-akregator = %{version}-%{release}
+Requires: trinity-kaddressbook = %{version}-%{release}
+Requires: trinity-kalarm = %{version}-%{release}
+Requires: trinity-kandy = %{version}-%{release}
+Requires: trinity-karm = %{version}-%{release}
+Requires: trinity-kleopatra = %{version}-%{release}
+Requires: trinity-kmail = %{version}-%{release}
+Requires: trinity-kmailcvt = %{version}-%{release}
+Requires: trinity-kmobile = %{version}-%{release}
+Requires: trinity-knode = %{version}-%{release}
+Requires: trinity-knotes = %{version}-%{release}
+Requires: trinity-kode = %{version}-%{release}
+Requires: trinity-konsolekalendar = %{version}-%{release}
+Requires: trinity-kontact = %{version}-%{release}
+Requires: trinity-korganizer = %{version}-%{release}
+Requires: trinity-korn = %{version}-%{release}
+Requires: trinity-ktnef = %{version}-%{release}
+Requires: trinity-libindex = %{version}-%{release}
+Requires: trinity-libkcal = %{version}-%{release}
+Requires: trinity-libkgantt = %{version}-%{release}
+Requires: trinity-libkleopatra = %{version}-%{release}
+Requires: trinity-libkmime = %{version}-%{release}
+Requires: trinity-libkpimexchange = %{version}-%{release}
+Requires: trinity-libkpimidentities = %{version}-%{release}
+Requires: trinity-libksieve = %{version}-%{release}
+Requires: trinity-libktnef = %{version}-%{release}
+Requires: trinity-libmimelib = %{version}-%{release}
+
+Obsoletes: trinity-kdepim < %{version}-%{release}
+Provides: trinity-kdepim = %{version}-%{release}
+Obsoletes: tdepim < %{version}-%{release}
+Provides: tdepim = %{version}-%{release}
+
+%description
+This metapackage includes a collection of Personal Information Management
+(PIM) applications provided with the official release of Trinity.
+
+%files
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+
+Obsoletes: tdepim-cmake < %{version}-%{release}
+
+Obsoletes: trinity-kdepim-devel < %{version}-%{release}
+Provides: trinity-kdepim-devel = %{version}-%{release}
+Obsoletes: tdepim-devel < %{version}-%{release}
+Provides: tdepim-devel = %{version}-%{release}
+
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-akregator-devel = %{version}-%{release}
+Requires: trinity-libtdepim-devel = %{version}-%{release}
+Requires: trinity-kaddressbook-devel = %{version}-%{release}
+Requires: trinity-karm-devel = %{version}-%{release}
+Requires: trinity-kmail-devel = %{version}-%{release}
+Requires: trinity-knode-devel = %{version}-%{release}
+Requires: trinity-knotes-devel = %{version}-%{release}
+Requires: trinity-kode-devel = %{version}-%{release}
+Requires: trinity-kontact-devel = %{version}-%{release}
+Requires: trinity-korganizer-devel = %{version}-%{release}
+Requires: trinity-libindex-devel = %{version}-%{release}
+Requires: trinity-libkcal-devel = %{version}-%{release}
+Requires: trinity-libkgantt-devel = %{version}-%{release}
+Requires: trinity-libkleopatra-devel = %{version}-%{release}
+Requires: trinity-libkmime-devel = %{version}-%{release}
+Requires: trinity-libkpimexchange-devel = %{version}-%{release}
+Requires: trinity-libkpimidentities-devel = %{version}-%{release}
+Requires: trinity-libksieve-devel = %{version}-%{release}
+Requires: trinity-libktnef-devel = %{version}-%{release}
+Requires: trinity-libmimelib-devel = %{version}-%{release}
+Requires: %{name}-kresources-devel = %{version}-%{release}
+
+%description devel
+This metapackage includes all development files for TDE PIM.
+It also contains the CMAKE macros.
+
+%files devel
+%{tde_datadir}/cmake/*
+
+##########
+
+%package -n trinity-akregator
+Summary: RSS feed aggregator for TDE
+Group: Applications/Internet
+Requires: trinity-libtdepim = %{version}-%{release}
+Requires: trinity-libkcal = %{version}-%{release}
+
+%description -n trinity-akregator
+aKregator is a fast, lightweight, and intuitive feed reader program
+for TDE. It allows you to quickly browse through hundreds of
+thousands of internet feeds in a quick, efficient, and familiar way.
+
+%files -n trinity-akregator
+%{tde_bindir}/akregator
+%{tde_tdelibdir}/libakregatorpart.la
+%{tde_tdelibdir}/libakregatorpart.so
+%{tde_tdelibdir}/libakregator_mk4storage_plugin.la
+%{tde_tdelibdir}/libakregator_mk4storage_plugin.so
+%{tde_libdir}/libakregatorprivate.so.*
+%{tde_tdeappdir}/akregator.desktop
+%{tde_datadir}/apps/akregator
+%{tde_datadir}/config.kcfg/akregator.kcfg
+%{tde_datadir}/config.kcfg/mk4config.kcfg
+%{tde_datadir}/icons/crystalsvg/*/actions/rss_tag.png
+%{tde_datadir}/icons/crystalsvg/16x16/apps/akregator_empty.png
+%{tde_datadir}/icons/hicolor/*/apps/akregator.png
+%{tde_datadir}/icons/hicolor/scalable/apps/akregator.svgz
+%{tde_datadir}/services/akregator_mk4storage_plugin.desktop
+%{tde_datadir}/services/akregator_part.desktop
+%{tde_datadir}/services/feed.protocol
+%{tde_datadir}/services/kontact/akregatorplugin*.desktop
+%{tde_datadir}/servicetypes/akregator_plugin.desktop
+%{tde_tdedocdir}/HTML/en/akregator/
+
+%post -n trinity-akregator
+/sbin/ldconfig || :
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-akregator
+/sbin/ldconfig || :
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-akregator-devel
+Summary: Development files for trinity-akregator
+Group: Development/Libraries
+Requires: trinity-akregator = %{version}-%{release}
+
+%description -n trinity-akregator-devel
+%{summary}
+
+%files -n trinity-akregator-devel
+%{tde_tdeincludedir}/akregator/
+%{tde_libdir}/libakregatorprivate.la
+%{tde_libdir}/libakregatorprivate.so
+
+%post -n trinity-akregator-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-akregator-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kaddressbook
+Summary: TDE addressbook application
+Group: Applications/Communications
+Requires: trinity-kdebase-pim-ioslaves
+Requires: %{name}-kresources = %{version}-%{release}
+
+%description -n trinity-kaddressbook
+KAddressBook is the main address book application for TDE; it enables you
+to manage your contacts efficiently and comfortably. It can load and save
+your contacts to many different locations, including the local file system,
+LDAP servers, and SQL databases.
+
+%files -n trinity-kaddressbook
+%{tde_bindir}/kabc2mutt
+%{tde_bindir}/kaddressbook
+%{tde_bindir}/kabcdistlistupdater
+%{tde_tdelibdir}/kcm_kabconfig.la
+%{tde_tdelibdir}/kcm_kabconfig.so
+%{tde_tdelibdir}/kcm_kabcustomfields.la
+%{tde_tdelibdir}/kcm_kabcustomfields.so
+%{tde_tdelibdir}/kcm_kabldapconfig.la
+%{tde_tdelibdir}/kcm_kabldapconfig.so
+%{tde_tdelibdir}/ldifvcardthumbnail.la
+%{tde_tdelibdir}/ldifvcardthumbnail.so
+%{tde_tdelibdir}/libkaddrbk_*.la
+%{tde_tdelibdir}/libkaddrbk_*.so
+%{tde_tdelibdir}/libkaddressbookpart.la
+%{tde_tdelibdir}/libkaddressbookpart.so
+%{tde_libdir}/libkabinterfaces.so.*
+%{tde_libdir}/libkaddressbook.so.*
+%{tde_tdeappdir}/kaddressbook.desktop
+%{tde_datadir}/apps/kaddressbook
+%{tde_datadir}/icons/hicolor/*/apps/kaddressbook.png
+%{tde_datadir}/services/kabconfig.desktop
+%{tde_datadir}/services/kabcustomfields.desktop
+%{tde_datadir}/services/kabldapconfig.desktop
+%{tde_datadir}/services/kaddressbook
+%{tde_datadir}/services/kontact/kaddressbookplugin.desktop
+%{tde_datadir}/services/kresources/kabc/imap.desktop
+%{tde_datadir}/services/ldifvcardthumbnail.desktop
+%{tde_datadir}/servicetypes/dcopaddressbook.desktop
+%{tde_datadir}/servicetypes/kaddressbook_contacteditorwidget.desktop
+%{tde_datadir}/servicetypes/kaddressbookimprotocol.desktop
+%{tde_datadir}/servicetypes/kaddressbook_extension.desktop
+%{tde_datadir}/servicetypes/kaddressbook_view.desktop
+%{tde_datadir}/servicetypes/kaddressbook_xxport.desktop
+%{tde_tdedocdir}/HTML/en/kaddressbook/
+%{tde_datadir}/autostart/kabcdistlistupdater.desktop
+%{tde_tdeincludedir}/kaddressbook
+%{tde_tdeincludedir}/kabc
+
+%post -n trinity-kaddressbook
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kaddressbook
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kaddressbook-devel
+Summary: Development files for trinity-kaddressbook
+Group: Development/Libraries
+Requires: trinity-kaddressbook = %{version}-%{release}
+
+%description -n trinity-kaddressbook-devel
+%{summary}
+
+%files -n trinity-kaddressbook-devel
+%{tde_libdir}/libkabinterfaces.la
+%{tde_libdir}/libkabinterfaces.so
+%{tde_libdir}/libkaddressbook.la
+%{tde_libdir}/libkaddressbook.so
+
+%post -n trinity-kaddressbook-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kaddressbook-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kalarm
+Summary: Trinity alarm message, command and email scheduler
+Group: Applications/Communications
+Requires: trinity-libkpimidentities = %{version}-%{release}
+
+%description -n trinity-kalarm
+KAlarm provides a graphical interface to schedule personal timed events -
+pop-up alarm messages, command execution and sending emails. There is a
+range of options for configuring recurring events.
+
+A pop-up alarm can show either a simple text message, or the contents of a
+text or image file, It can optionally be spoken, or play a sound file. You
+can choose its appearance, and set reminders. Among KAlarm's other
+facilities, you can set up templates to allow KAlarm to be used as a 'tea
+timer'.
+
+As an alternative to using the graphical interface, alarms can be scheduled
+from the command line or via DCOP calls from other programs. KAlarm is
+TDE-based, but will also run on other desktops.
+
+%files -n trinity-kalarm
+%{tde_bindir}/kalarm
+%{tde_bindir}/kalarmd
+%{tde_tdeappdir}/kalarm.desktop
+%{tde_datadir}/applnk/.hidden/kalarmd.desktop
+%{tde_datadir}/applnk/Applications/kalarm.desktop
+%{tde_datadir}/apps/kalarm
+%{tde_datadir}/autostart/kalarm.tray.desktop
+%{tde_datadir}/autostart/kalarmd.autostart.desktop
+%{tde_datadir}/icons/crystalsvg/*/actions/kalarm.png
+%{tde_datadir}/icons/hicolor/*/apps/kalarm.png
+%{tde_tdedocdir}/HTML/en/kalarm/
+
+%post -n trinity-kalarm
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kalarm
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kandy
+Summary: Trinity mobile phone utility
+Group: Applications/Communications
+
+%description -n trinity-kandy
+At the moment Kandy is more or less a terminal program with some special
+features to store commands and their parameters, but is also has a simple GUI
+to access the phone book of a mobile phone and it is able to save this phone
+book to the TDE address book.
+
+Kandy is aimed at mobile phones with integrated (GSM) modems.
+
+%files -n trinity-kandy
+%{tde_bindir}/kandy
+%{tde_bindir}/kandy_client
+%{tde_tdeappdir}/kandy.desktop
+%{tde_datadir}/applnk/Utilities/kandy.desktop
+%{tde_datadir}/apps/kandy
+%{tde_datadir}/icons/crystalsvg/*/apps/kandy.png
+%{tde_datadir}/config.kcfg/kandy.kcfg
+%{tde_tdedocdir}/HTML/en/kandy/
+
+%post -n trinity-kandy
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kandy
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-karm
+Summary: Trinity time tracker tool
+Group: Applications/Productivity
+
+%description -n trinity-karm
+KArm is a time tracker for busy people who need to keep track of the amount of
+time they spend on various tasks.
+
+%files -n trinity-karm
+%{tde_bindir}/karm
+%{tde_libdir}/libkarm.so.*
+%{tde_tdelibdir}/libkarmpart.la
+%{tde_tdelibdir}/libkarmpart.so
+%{tde_tdeappdir}/karm.desktop
+%{tde_datadir}/applnk/Utilities/karm.desktop
+%{tde_datadir}/apps/karm
+%{tde_datadir}/apps/karmpart
+%{tde_datadir}/icons/hicolor/*/apps/karm.png
+%{tde_datadir}/services/karm_part.desktop
+%{tde_datadir}/services/kontact/karmplugin.desktop
+%{tde_tdedocdir}/HTML/en/karm/
+
+%post -n trinity-karm
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-karm
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-karm-devel
+Summary: Development files for karm
+Group: Development/Libraries
+
+%description -n trinity-karm-devel
+%{summary}
+
+%files -n trinity-karm-devel
+%{tde_libdir}/libkarm.so
+%{tde_libdir}/libkarm.la
+
+%post -n trinity-karm-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-karm-devel
+/sbin/ldconfig || :
+
+##########
+
+%package kfile-plugins
+Summary: TDE File dialog plugins for palm and vcf files
+Group: Environment/Libraries
+
+Obsoletes: tdepim-kfile-plugins < %{version}-%{release}
+
+%description kfile-plugins
+File dialog plugins for palm and vcf files.
+
+%files kfile-plugins
+%{tde_tdelibdir}/kfile_ics.la
+%{tde_tdelibdir}/kfile_ics.so
+%{tde_tdelibdir}/kfile_vcf.la
+%{tde_tdelibdir}/kfile_vcf.so
+%{tde_datadir}/services/kfile_ics.desktop
+%{tde_datadir}/services/kfile_vcf.desktop
+
+##########
+
+%package kio-plugins
+Summary: Trinity pim I/O Slaves
+Group: Environment/Libraries
+
+Obsoletes: tdepim-kio-plugins < %{version}-%{release}
+
+%description kio-plugins
+This package includes the pim kioslaves. This includes imap4, sieve,
+and mbox.
+
+%files kio-plugins
+%{tde_tdelibdir}/kio_groupwise.la
+%{tde_tdelibdir}/kio_groupwise.so
+%{tde_tdelibdir}/kio_imap4.la
+%{tde_tdelibdir}/kio_imap4.so
+%{tde_tdelibdir}/kio_mbox.la
+%{tde_tdelibdir}/kio_mbox.so
+%{tde_tdelibdir}/kio_scalix.la
+%{tde_tdelibdir}/kio_scalix.so
+%{tde_tdelibdir}/kio_sieve.la
+%{tde_tdelibdir}/kio_sieve.so
+%{tde_datadir}/services/groupwise.protocol
+%{tde_datadir}/services/groupwises.protocol
+%{tde_datadir}/services/imap4.protocol
+%{tde_datadir}/services/imaps.protocol
+%{tde_datadir}/services/mbox.protocol
+%{tde_datadir}/services/scalix.protocol
+%{tde_datadir}/services/scalixs.protocol
+%{tde_datadir}/services/sieve.protocol
+
+##########
+
+%package kresources
+Summary: Trinity pim resource plugins
+Group: Environment/Libraries
+#Requires: trinity-kaddressbook = %{version}-%{release}
+#Requires: trinity-korganizer = %{version}-%{release}
+#Requires: trinity-knotes = %{version}-%{release}
+Requires: libcaldav
+Requires: libcarddav
+
+Obsoletes: tdepim-kresources < %{version}-%{release}
+
+%description kresources
+This package includes several plugins needed to interface with groupware
+servers. It also includes plugins for features such as blogging and
+tracking feature plans.
+
+%files kresources
+%{tde_tdelibdir}/kcal_caldav.la
+%{tde_tdelibdir}/kcal_caldav.so
+%{tde_tdelibdir}/kcal_groupdav.la
+%{tde_tdelibdir}/kcal_groupdav.so
+%{tde_tdelibdir}/kcal_groupwise.la
+%{tde_tdelibdir}/kcal_groupwise.so
+%{tde_tdelibdir}/kcal_kolab.la
+%{tde_tdelibdir}/kcal_kolab.so
+%{tde_tdelibdir}/kcal_scalix.la
+%{tde_tdelibdir}/kcal_scalix.so
+%{tde_tdelibdir}/kcal_newexchange.la
+%{tde_tdelibdir}/kcal_newexchange.so
+%{tde_tdelibdir}/kcal_resourcefeatureplan.la
+%{tde_tdelibdir}/kcal_resourcefeatureplan.so
+%{tde_tdelibdir}/kcal_slox.la
+%{tde_tdelibdir}/kcal_slox.so
+%{tde_tdelibdir}/kcal_xmlrpc.la
+%{tde_tdelibdir}/kcal_xmlrpc.so
+%{tde_tdelibdir}/knotes_kolab.la
+%{tde_tdelibdir}/knotes_kolab.so
+%{tde_tdelibdir}/knotes_scalix.la
+%{tde_tdelibdir}/knotes_scalix.so
+%{tde_tdelibdir}/knotes_xmlrpc.la
+%{tde_tdelibdir}/knotes_xmlrpc.so
+%{tde_libdir}/libkabckolab.so.*
+%{tde_libdir}/libkabcscalix.so.*
+%{tde_libdir}/libkabc_groupdav.so.*
+%{tde_libdir}/libkabc_groupwise.so.*
+%{tde_libdir}/libkabc_newexchange.so.*
+%{tde_libdir}/libkabc_slox.so.*
+%{tde_libdir}/libkabc_xmlrpc.so.*
+%{tde_libdir}/libkcalkolab.so.*
+%{tde_libdir}/libkcalscalix.so.*
+%{tde_libdir}/libkcal_caldav.so.*
+%{tde_libdir}/libkabc_carddav.so.*
+%{tde_libdir}/libkcal_groupdav.so.*
+%{tde_libdir}/libkcal_groupwise.so.*
+%{tde_libdir}/libkcal_newexchange.so.*
+%{tde_libdir}/libkcal_resourcefeatureplan.so.*
+%{tde_libdir}/libkcal_slox.so.*
+%{tde_libdir}/libkcal_xmlrpc.so.*
+%{tde_libdir}/libkgroupwarebase.so.*
+%{tde_libdir}/libkgroupwaredav.so.*
+%{tde_libdir}/libknoteskolab.so.*
+%{tde_libdir}/libknotesscalix.so.*
+%{tde_libdir}/libknotes_xmlrpc.so.*
+%{tde_libdir}/libkslox.so.*
+%{tde_libdir}/libgwsoap.so.*
+%{tde_datadir}/services/kresources/kabc/kabc_groupdav.desktop
+%{tde_datadir}/services/kresources/kabc/kabc_groupwise.desktop
+%{tde_datadir}/services/kresources/kabc/kabc_newexchange.desktop
+%{tde_datadir}/services/kresources/kabc/kabc_opengroupware.desktop
+%{tde_datadir}/services/kresources/kabc/kabc_ox.desktop
+%{tde_datadir}/services/kresources/kabc/kabc_slox.desktop
+%{tde_datadir}/services/kresources/kabc/kabc_xmlrpc.desktop
+%{tde_datadir}/services/kresources/kabc/kolab.desktop
+%{tde_datadir}/services/kresources/kabc/scalix.desktop
+%{tde_datadir}/services/kresources/kcal/exchange.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_caldav.desktop
+%{tde_datadir}/services/kresources/kabc/kabc_carddav.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_groupdav.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_groupwise.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_newexchange.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_opengroupware.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_ox.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_resourcefeatureplan.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_slox.desktop
+%{tde_datadir}/services/kresources/kcal/kcal_xmlrpc.desktop
+%{tde_datadir}/services/kresources/kcal/kolab.desktop
+%{tde_datadir}/services/kresources/kcal/scalix.desktop
+%{tde_datadir}/services/kresources/knotes/knotes_xmlrpc.desktop
+%{tde_datadir}/services/kresources/knotes/kolabresource.desktop
+%{tde_datadir}/services/kresources/knotes/scalix.desktop
+
+%{tde_datadir}/apps/kconf_update/upgrade-resourcetype.pl
+%{tde_datadir}/apps/kconf_update/kolab-resource.upd
+
+%{tde_tdelibdir}/kabc_carddav.la
+%{tde_tdelibdir}/kabc_carddav.so
+%{tde_tdelibdir}/kabc_groupdav.la
+%{tde_tdelibdir}/kabc_groupdav.so
+%{tde_tdelibdir}/kabc_groupwise.la
+%{tde_tdelibdir}/kabc_groupwise.so
+%{tde_tdelibdir}/kabc_kolab.la
+%{tde_tdelibdir}/kabc_kolab.so
+%{tde_tdelibdir}/kabc_newexchange.la
+%{tde_tdelibdir}/kabc_newexchange.so
+%{tde_tdelibdir}/kabc_scalix.la
+%{tde_tdelibdir}/kabc_scalix.so
+%{tde_tdelibdir}/kabc_slox.la
+%{tde_tdelibdir}/kabc_slox.so
+%{tde_tdelibdir}/kabc_xmlrpc.la
+%{tde_tdelibdir}/kabc_xmlrpc.so
+
+%post kresources
+/sbin/ldconfig || :
+
+%postun kresources
+/sbin/ldconfig || :
+
+##########
+
+%package kresources-devel
+Summary: Development files for kresources
+Group: Development/Libraries
+Requires: %{name}-kresources = %{version}-%{release}
+Requires: libcaldav
+Requires: libcarddav
+
+Obsoletes: tdepim-kresources-devel < %{version}-%{release}
+
+%description kresources-devel
+%{summary}
+
+%files kresources-devel
+%{tde_libdir}/libkslox.la
+%{tde_libdir}/libkslox.so
+%{tde_libdir}/libkabc_groupdav.la
+%{tde_libdir}/libkabc_groupdav.so
+%{tde_libdir}/libkabc_groupwise.la
+%{tde_libdir}/libkabc_groupwise.so
+%{tde_libdir}/libgwsoap.la
+%{tde_libdir}/libgwsoap.so
+%{tde_libdir}/libkabc_carddav.la
+%{tde_libdir}/libkabc_carddav.so
+%{tde_libdir}/libkabc_newexchange.la
+%{tde_libdir}/libkabc_newexchange.so
+%{tde_libdir}/libkabc_slox.la
+%{tde_libdir}/libkabc_slox.so
+%{tde_libdir}/libkabc_xmlrpc.la
+%{tde_libdir}/libkabc_xmlrpc.so
+%{tde_libdir}/libkabckolab.la
+%{tde_libdir}/libkabckolab.so
+%{tde_libdir}/libkabcscalix.la
+%{tde_libdir}/libkabcscalix.so
+%{tde_libdir}/libkcal_caldav.la
+%{tde_libdir}/libkcal_caldav.so
+%{tde_libdir}/libkcal_groupdav.la
+%{tde_libdir}/libkcal_groupdav.so
+%{tde_libdir}/libkcal_groupwise.la
+%{tde_libdir}/libkcal_groupwise.so
+%{tde_libdir}/libkcal_newexchange.la
+%{tde_libdir}/libkcal_newexchange.so
+%{tde_libdir}/libkcal_resourcefeatureplan.la
+%{tde_libdir}/libkcal_resourcefeatureplan.so
+%{tde_libdir}/libkcal_slox.la
+%{tde_libdir}/libkcal_slox.so
+%{tde_libdir}/libkcal_xmlrpc.la
+%{tde_libdir}/libkcal_xmlrpc.so
+%{tde_libdir}/libkcalkolab.la
+%{tde_libdir}/libkcalkolab.so
+%{tde_libdir}/libkcalscalix.la
+%{tde_libdir}/libkcalscalix.so
+%{tde_libdir}/libkgroupwarebase.la
+%{tde_libdir}/libkgroupwarebase.so
+%{tde_libdir}/libkgroupwaredav.la
+%{tde_libdir}/libkgroupwaredav.so
+%{tde_libdir}/libknotes_xmlrpc.la
+%{tde_libdir}/libknotes_xmlrpc.so
+%{tde_libdir}/libknoteskolab.la
+%{tde_libdir}/libknoteskolab.so
+%{tde_libdir}/libknotesscalix.la
+%{tde_libdir}/libknotesscalix.so
+%{tde_tdeincludedir}/kpimprefs.h
+
+%post kresources-devel
+/sbin/ldconfig || :
+
+%postun kresources-devel
+/sbin/ldconfig || :
+
+##########
+
+%package wizards
+Summary: Trinity server configuration wizards
+Group: Applications/Communications
+
+Obsoletes: tdepim-wizards < %{version}-%{release}
+
+%description wizards
+This package contains KDE-based wizards for configuring eGroupware,
+Kolab, and SUSE Linux Openexchange servers.
+
+%files wizards
+%{tde_bindir}/egroupwarewizard
+%{tde_bindir}/exchangewizard
+%{tde_bindir}/groupwarewizard
+%{tde_bindir}/groupwisewizard
+%{tde_bindir}/kolabwizard
+%{tde_bindir}/scalixadmin
+%{tde_bindir}/scalixwizard
+%{tde_bindir}/sloxwizard
+%{tde_tdelibdir}/libegroupwarewizard.la
+%{tde_tdelibdir}/libegroupwarewizard.so
+%{tde_tdelibdir}/libexchangewizard.la
+%{tde_tdelibdir}/libexchangewizard.so
+%{tde_tdelibdir}/libgroupwisewizard.la
+%{tde_tdelibdir}/libgroupwisewizard.so
+%{tde_tdelibdir}/libkolabwizard.la
+%{tde_tdelibdir}/libkolabwizard.so
+%{tde_tdelibdir}/libscalixwizard.la
+%{tde_tdelibdir}/libscalixwizard.so
+%{tde_tdelibdir}/libsloxwizard.la
+%{tde_tdelibdir}/libsloxwizard.so
+%{tde_tdeappdir}/groupwarewizard.desktop
+%{tde_datadir}/config.kcfg/egroupware.kcfg
+%{tde_datadir}/config.kcfg/groupwise.kcfg
+%{tde_datadir}/config.kcfg/kolab.kcfg
+%{tde_datadir}/config.kcfg/scalix.kcfg
+%{tde_datadir}/config.kcfg/slox.kcfg
+
+%post wizards
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun wizards
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%if 0%{?with_kitchensync}
+%package -n trinity-kitchensync
+Summary: Synchronization framework
+Group: Applications/Communications
+BuildRequires: opensync-devel
+#Suggests: konqueror-trinity
+#Conflicts: kdebluetooth-irmcsync-trinity (<< 0.99+1.0beta2-4.1), ksync-trinity
+
+%description -n trinity-kitchensync
+This package contains a synchronization framework, still under heavy
+development (?). Kitchensync uses opensync.
+
+%files -n trinity-kitchensync
+%{tde_bindir}/kitchensync
+%{tde_tdelibdir}/libkitchensyncpart.la
+%{tde_tdelibdir}/libkitchensyncpart.so
+%{tde_datadir}/apps/kitchensync
+%{tde_libdir}/libkitchensync.so.*
+%{tde_libdir}/libqopensync.so.*
+%{tde_tdeappdir}/kitchensync.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kitchensync.png
+
+%post -n trinity-kitchensync
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kitchensync
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+%endif
+
+##########
+
+%package -n trinity-kleopatra
+Summary: Trinity Certificate Manager
+Group: Applications/Communications
+%if 0%{?suse_version}
+Requires: gpg2
+Requires: pinentry
+Requires: dirmngr
+%endif
+%if 0%{?rhel} == 4
+Requires: gnupg
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+Requires: gnupg2
+Requires: pinentry
+Requires: dirmngr
+%endif
+
+%description -n trinity-kleopatra
+Kleopatra is the TDE tool for managing X.509 certificates in the gpgsm
+keybox and for retrieving certificates from LDAP servers.
+
+%files -n trinity-kleopatra
+%{tde_bindir}/kleopatra
+%{tde_bindir}/kwatchgnupg
+%{tde_tdelibdir}/kcm_kleopatra.la
+%{tde_tdelibdir}/kcm_kleopatra.so
+%{tde_tdeappdir}/kleopatra_import.desktop
+%{tde_datadir}/apps/kleopatra
+%{tde_datadir}/apps/kwatchgnupg
+%{tde_datadir}/services/kleopatra_config_*.desktop
+%{tde_tdedocdir}/HTML/en/kleopatra/
+%{tde_tdedocdir}/HTML/en/kwatchgnupg/
+
+%post -n trinity-kleopatra
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kleopatra
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmail
+Summary: Trinity Email client
+Group: Applications/Communications
+Requires: %{name}-kio-plugins = %{version}-%{release}
+%if 0%{?suse_version}
+Requires: gpg2
+Requires: pinentry
+%endif
+%if 0%{?rhel} == 4
+Requires: gnupg
+%endif
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?mdkversion} || 0%{?mgaversion} || 0%{?suse_version}
+Requires: gnupg2
+Requires: pinentry
+%endif
+Requires: procmail
+Requires: trinity-kaddressbook = %{version}-%{release}
+Requires: trinity-kleopatra = %{version}-%{release}
+Requires: trinity-kdebase-pim-ioslaves
+
+Provides: imap-client, mail-reader
+
+%description -n trinity-kmail
+KMail is a fully-featured email client that fits nicely into the TDE
+desktop. It has features such as support for IMAP, POP3, multiple accounts,
+mail filtering and sorting, PGP/GnuPG privacy, and inline attachments.
+
+You need to install %{name}-kio-plugins if you want to use IMAP or
+mbox files, and/or trinity-tdebase-kio-plugins if you want to use POP3.
+
+%files -n trinity-kmail
+%{tde_datadir}/config/kmail.antispamrc
+%{tde_datadir}/config/kmail.antivirusrc
+%{tde_bindir}/kmail
+%{tde_bindir}/kmail_*.sh
+%{tde_tdelibdir}/kcm_kmail.la
+%{tde_tdelibdir}/kcm_kmail.so
+%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.la
+%{tde_tdelibdir}/libkmail_bodypartformatter_application_octetstream.so
+%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.la
+%{tde_tdelibdir}/libkmail_bodypartformatter_text_calendar.so
+%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.la
+%{tde_tdelibdir}/libkmail_bodypartformatter_text_vcard.so
+%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.la
+%{tde_tdelibdir}/libkmail_bodypartformatter_text_xdiff.so
+%{tde_tdelibdir}/libkmailpart.la
+%{tde_tdelibdir}/libkmailpart.so
+%{tde_tdeappdir}/KMail.desktop
+%{tde_tdeappdir}/kmail_view.desktop
+%{tde_datadir}/apps/kconf_update/kmail-3.1-update-new-mail-notification-settings.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.1-use-UOID-for-identities.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.1.4-dont-use-UOID-0-for-any-identity.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.2-misc.sh
+%{tde_datadir}/apps/kconf_update/kmail-3.2-update-loop-on-goto-unread-settings.sh
+%{tde_datadir}/apps/kconf_update/kmail-3.3-aegypten.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.3-misc.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.3-move-identities.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.3-split-sign-encr-keys.sh
+%{tde_datadir}/apps/kconf_update/kmail-3.3-use-ID-for-accounts.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.3b1-misc.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.4-misc.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.4.1-update-status-filters.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.5-trigger-flag-migration.pl
+%{tde_datadir}/apps/kconf_update/kmail-3.5-filter-icons.pl
+%{tde_datadir}/apps/kconf_update/kmail-pgpidentity.pl
+%{tde_datadir}/apps/kconf_update/kmail-upd-identities.pl
+%{tde_datadir}/apps/kconf_update/kmail.upd
+%{tde_datadir}/apps/kconf_update/upgrade-signature.pl
+%{tde_datadir}/apps/kconf_update/upgrade-transport.pl
+%{tde_datadir}/apps/kmail
+%{tde_datadir}/config.kcfg/custommimeheader.kcfg
+%{tde_datadir}/config.kcfg/kmail.kcfg
+%{tde_datadir}/config.kcfg/customtemplates_kfg.kcfg
+%{tde_datadir}/config.kcfg/replyphrases.kcfg
+%{tde_datadir}/config.kcfg/templatesconfiguration_kfg.kcfg
+%{tde_datadir}/icons/crystalsvg/*/apps/kmaillight.png
+%{tde_datadir}/icons/hicolor/*/apps/kmail.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kmail.svgz
+%{tde_datadir}/services/kmail_config_*.desktop
+%{tde_datadir}/services/kontact/kmailplugin.desktop
+%{tde_datadir}/servicetypes/dcopimap.desktop
+%{tde_datadir}/servicetypes/dcopmail.desktop
+# 'libkmailprivate.so' is required at runtime, not devel !
+%{tde_libdir}/libkmailprivate.so
+%{tde_libdir}/libkmailprivate.la
+%{tde_tdedocdir}/HTML/en/kmail/
+
+%post -n trinity-kmail
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kmail
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmail-devel
+Summary: Development files for kmail
+Group: Development/Libraries
+
+%description -n trinity-kmail-devel
+%{summary}
+
+%files -n trinity-kmail-devel
+%{tde_tdeincludedir}/kmail/
+%{tde_tdeincludedir}/kmail*.h
+
+%post -n trinity-kmail-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kmail-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kmailcvt
+Summary: Trinity KMail mail folder converter
+Group: Applications/Communications
+Requires: trinity-kmail = %{version}-%{release}
+
+%description -n trinity-kmailcvt
+Converts mail folders to KMail format. Formats supported for import
+include Outlook Express, Evolution, and plain mbox.
+
+%files -n trinity-kmailcvt
+%{tde_bindir}/kmailcvt
+%{tde_datadir}/applnk/Utilities/kmailcvt.desktop
+%{tde_datadir}/apps/kmailcvt
+%{tde_datadir}/icons/crystalsvg/*/apps/kmailcvt.png
+
+%post -n trinity-kmailcvt
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+%postun -n trinity-kmailcvt
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-knode
+Summary: Trinity news reader
+Group: Applications/Internet
+
+%description -n trinity-knode
+KNode is an easy-to-use, convenient newsreader. It is intended to be usable
+by inexperienced users, but also includes support for such features as
+MIME attachments, article scoring, and creating and verifying GnuPG
+signatures.
+
+%files -n trinity-knode
+%{tde_bindir}/knode
+%{tde_tdelibdir}/kcm_knode.la
+%{tde_tdelibdir}/kcm_knode.so
+%{tde_tdelibdir}/libknodepart.la
+%{tde_tdelibdir}/libknodepart.so
+%{tde_libdir}/libknodecommon.so.*
+%{tde_tdeappdir}/KNode.desktop
+%{tde_datadir}/apps/knode/
+%{tde_datadir}/icons/hicolor/*/apps/knode.png
+%{tde_datadir}/icons/hicolor/*/apps/knode2.png
+%{tde_datadir}/services/knewsservice.protocol
+%{tde_datadir}/services/knode_config_*.desktop
+%{tde_datadir}/services/kontact/knodeplugin.desktop
+%{tde_tdedocdir}/HTML/en/knode/
+
+%post -n trinity-knode
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-knode
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-knode-devel
+Summary: Development files for trinity-knode
+Group: Development/Libraries
+Requires: trinity-knode = %{version}-%{release}
+
+%description -n trinity-knode-devel
+%{summary}
+
+%files -n trinity-knode-devel
+%{tde_libdir}/libknodecommon.la
+%{tde_libdir}/libknodecommon.so
+
+%post -n trinity-knode-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-knode-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-knotes
+Summary: Trinity sticky notes
+Group: Applications/Utilities
+Requires: trinity-tdepim-kresources = %{version}-%{release}
+
+%description -n trinity-knotes
+KNotes is a program that lets you write sticky notes. The notes are saved
+automatically when you exit the program, and they display when you open the
+program. The program supports printing and mailing your notes.
+
+%files -n trinity-knotes
+%{tde_bindir}/knotes
+%{tde_tdelibdir}/knotes_local.la
+%{tde_tdelibdir}/knotes_local.so
+%{tde_libdir}/libknotes.so.*
+%{tde_tdeappdir}/knotes.desktop
+%{tde_datadir}/apps/knotes
+%{tde_datadir}/config.kcfg/knoteconfig.kcfg
+%{tde_datadir}/config.kcfg/knotesglobalconfig.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/knotes.png
+%{tde_datadir}/services/kresources/knotes/imap.desktop
+%{tde_datadir}/services/kresources/knotes/local.desktop
+%{tde_datadir}/services/kresources/knotes_manager.desktop
+%{tde_datadir}/services/kontact/knotesplugin.desktop
+%{tde_tdedocdir}/HTML/en/knotes/
+
+%post -n trinity-knotes
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-knotes
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-knotes-devel
+Summary: Development files for knots
+Group: Development/Libraries
+Requires: trinity-knotes = %{version}-%{release}
+Requires: %{name}-kresources-devel = %{version}-%{release}
+
+%description -n trinity-knotes-devel
+%{summary}
+
+%files -n trinity-knotes-devel
+%{tde_libdir}/libknotes.so
+%{tde_libdir}/libknotes.la
+%{tde_tdeincludedir}/KNotesAppIface.h
+%{tde_tdeincludedir}/KNotesIface.h
+
+%post -n trinity-knotes-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-knotes-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kode
+Summary: Helper library for programmatic generation of C++ code
+Group: Development/Libraries
+
+%description -n trinity-kode
+This package includes a program kode for generation of C++ template files
+and kxml_compiler for generation of C++ classes representing XML data
+described by RelaxNG schemes.
+
+%files -n trinity-kode
+%{tde_bindir}/kode
+%{tde_bindir}/kxml_compiler
+%{tde_libdir}/libkode.so.*
+
+%post -n trinity-kode
+/sbin/ldconfig || :
+
+%postun -n trinity-kode
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kode-devel
+Summary: Development files for trinity-kode
+Group: Development/Libraries
+Requires: trinity-kode = %{version}-%{release}
+
+%description -n trinity-kode-devel
+%{summary}
+
+%files -n trinity-kode-devel
+%{tde_libdir}/libkode.la
+%{tde_libdir}/libkode.so
+
+%post -n trinity-kode-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kode-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-konsolekalendar
+Summary: Trinity konsole personal organizer
+Group: Applications/Productivity
+
+%description -n trinity-konsolekalendar
+KonsoleKalendar is a command-line interface to TDE calendars.
+Konsolekalendar complements the TDE KOrganizer by providing a console
+frontend to manage your calendars.
+
+%files -n trinity-konsolekalendar
+%{tde_bindir}/konsolekalendar
+%{tde_tdeappdir}/konsolekalendar.desktop
+%{tde_datadir}/icons/crystalsvg/*/apps/konsolekalendar.png
+%{tde_tdedocdir}/HTML/en/konsolekalendar/
+
+%post -n trinity-konsolekalendar
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-konsolekalendar
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kontact
+Summary: Trinity pim application
+Group: Applications/Communications
+Requires: trinity-kmail = %{version}-%{release}
+Requires: trinity-korganizer = %{version}-%{release}
+Requires: trinity-kaddressbook = %{version}-%{release}
+Requires: trinity-knode = %{version}-%{release}
+Requires: trinity-knotes = %{version}-%{release}
+Requires: trinity-akregator = %{version}-%{release}
+
+%description -n trinity-kontact
+Kontact is the integrated solution to your personal information management
+needs. It combines TDE applications like KMail, KOrganizer, and
+KAddressBook into a single interface to provide easy access to mail,
+scheduling, address book and other PIM functionality.
+
+%files -n trinity-kontact
+%{tde_bindir}/kontact
+%{tde_tdelibdir}/kcm_kmailsummary.la
+%{tde_tdelibdir}/kcm_kmailsummary.so
+%{tde_tdelibdir}/kcm_kontact.la
+%{tde_tdelibdir}/kcm_kontact.so
+%{tde_tdelibdir}/kcm_kontactknt.la
+%{tde_tdelibdir}/kcm_kontactknt.so
+%{tde_tdelibdir}/kcm_kontactsummary.la
+%{tde_tdelibdir}/kcm_kontactsummary.so
+%{tde_tdelibdir}/kcm_korgsummary.la
+%{tde_tdelibdir}/kcm_korgsummary.so
+%{tde_tdelibdir}/kcm_sdsummary.la
+%{tde_tdelibdir}/kcm_sdsummary.so
+%{tde_tdelibdir}/libkontact_*.la
+%{tde_tdelibdir}/libkontact_*.so
+%{tde_libdir}/libkontact.so.*
+%{tde_libdir}/libkpinterfaces.so.*
+%{tde_tdeappdir}/Kontact.desktop
+%{tde_tdeappdir}/kontactdcop.desktop
+%{tde_datadir}/apps/kontact
+%{tde_datadir}/apps/kontactsummary/kontactsummary_part.rc
+%{tde_datadir}/config.kcfg/kontact.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kontact.png
+%{tde_datadir}/icons/crystalsvg/*/actions/kontact_*.png
+%{tde_datadir}/services/kcmkmailsummary.desktop
+%{tde_datadir}/services/kcmkontactknt.desktop
+%{tde_datadir}/services/kcmkontactsummary.desktop
+%{tde_datadir}/services/kcmkorgsummary.desktop
+%{tde_datadir}/services/kcmsdsummary.desktop
+%{tde_datadir}/services/kontact/newstickerplugin.desktop
+%{tde_datadir}/services/kontact/specialdatesplugin.desktop
+%{tde_datadir}/services/kontact/summaryplugin.desktop
+%{tde_datadir}/services/kontact/weatherplugin.desktop
+%{tde_datadir}/services/kontactconfig.desktop
+%{tde_datadir}/servicetypes/kontactplugin.desktop
+%{tde_tdedocdir}/HTML/en/kontact/
+%{tde_tdedocdir}/HTML/en/kpilot/
+
+%post -n trinity-kontact
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kontact
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kontact-devel
+Summary: Development files for kontact
+Group: Development/Libraries
+Requires: trinity-kontact = %{version}-%{release}
+
+%description -n trinity-kontact-devel
+%{summary}
+
+%files -n trinity-kontact-devel
+%{tde_libdir}/libkontact.la
+%{tde_libdir}/libkontact.so
+%{tde_libdir}/libkpinterfaces.la
+%{tde_libdir}/libkpinterfaces.so
+%{tde_tdeincludedir}/kontact/
+
+%post -n trinity-kontact-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kontact-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-korganizer
+Summary: Trinity personal organizer
+Group: Applications/Productivity
+Requires: trinity-libkpimidentities = %{version}-%{release}
+Requires: trinity-libkpimexchange = %{version}-%{release}
+Requires: %{name}-kresources = %{version}-%{release}
+Requires: perl
+
+%description -n trinity-korganizer
+This package contains KOrganizer, a calendar and scheduling program.
+
+KOrganizer aims to be a complete program for organizing appointments,
+contacts, projects, etc. KOrganizer natively supports information interchange
+with other calendar applications, through the industry standard vCalendar
+personal data interchange file format. This eases the move from other
+modern PIMs to KOrganizer.
+
+KOrganizer offers full synchronization with Palm Pilots, if kpilot is
+installed.
+
+%files -n trinity-korganizer
+%{tde_bindir}/ical2vcal
+%{tde_bindir}/korgac
+%{tde_bindir}/korganizer
+%{tde_tdelibdir}/kcm_korganizer.la
+%{tde_tdelibdir}/kcm_korganizer.so
+%{tde_tdelibdir}/libkorg_*.la
+%{tde_tdelibdir}/libkorg_*.so
+%{tde_tdelibdir}/libkorganizerpart.la
+%{tde_tdelibdir}/libkorganizerpart.so
+%{tde_libdir}/libkocorehelper.so.*
+%{tde_libdir}/libkorg_stdprinting.so.*
+%{tde_libdir}/libkorganizer.so.*
+%{tde_libdir}/libkorganizer_calendar.so.*
+%{tde_libdir}/libkorganizer_eventviewer.so.*
+%{tde_tdeappdir}/korganizer.desktop
+%{tde_datadir}/apps/kconf_update/korganizer.upd
+%{tde_datadir}/apps/korgac
+%{tde_datadir}/apps/korganizer
+%{tde_datadir}/autostart/korgac.desktop
+%{tde_datadir}/config.kcfg/korganizer.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/korganizer.png
+%{tde_datadir}/services/kontact/korganizerplugin.desktop
+%{tde_datadir}/services/kontact/journalplugin.desktop
+%{tde_datadir}/services/kontact/todoplugin.desktop
+%{tde_datadir}/services/korganizer_*.desktop
+%{tde_datadir}/services/korganizer
+%{tde_datadir}/services/webcal.protocol
+%{tde_datadir}/servicetypes/calendardecoration.desktop
+%{tde_datadir}/servicetypes/calendarplugin.desktop
+%{tde_datadir}/servicetypes/dcopcalendar.desktop
+%{tde_datadir}/servicetypes/korganizerpart.desktop
+%{tde_datadir}/servicetypes/korgprintplugin.desktop
+%{tde_tdeincludedir}/korganizer/
+%{tde_tdeincludedir}/calendar/
+%{tde_tdedocdir}/HTML/en/korganizer/
+
+%post -n trinity-korganizer
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-korganizer
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-korganizer-devel
+Summary: Development files for korganizer
+Group: Development/Libraries
+Requires: trinity-korganizer = %{version}-%{release}
+
+%description -n trinity-korganizer-devel
+%{summary}
+
+%files -n trinity-korganizer-devel
+%{tde_libdir}/libkocorehelper.la
+%{tde_libdir}/libkocorehelper.so
+%{tde_libdir}/libkorg_stdprinting.la
+%{tde_libdir}/libkorg_stdprinting.so
+%{tde_libdir}/libkorganizer.la
+%{tde_libdir}/libkorganizer.so
+%{tde_libdir}/libkorganizer_calendar.la
+%{tde_libdir}/libkorganizer_calendar.so
+%{tde_libdir}/libkorganizer_eventviewer.la
+%{tde_libdir}/libkorganizer_eventviewer.so
+
+%post -n trinity-korganizer-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-korganizer-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-korn
+Summary: Trinity mail checker
+Group: Applications/Communications
+Requires: %{name}-kio-plugins = %{version}-%{release}
+#Requires: tdebase-kio-plugins-trinity
+
+%description -n trinity-korn
+Korn is a TDE mail checker that can display a small summary in the Kicker
+tray. It supports checking mbox, pop3, imap4, and nntp sources.
+
+Once mail is received you can have Korn run a third party program or change
+the color/icon of the Kicker display. In addition to this you can have
+Korn run a program once you click on the docked icon in Kicker.
+
+%files -n trinity-korn
+%{tde_bindir}/korn
+%{tde_libdir}/kconf_update_bin/korn-3-4-config_change
+%{tde_tdeappdir}/KOrn.desktop
+%{tde_datadir}/apps/kconf_update/korn-3-4-config_change.upd
+%{tde_datadir}/apps/kconf_update/korn-3-5-metadata-update.pl
+%{tde_datadir}/apps/kconf_update/korn-3-5-ssl-update.pl
+%{tde_datadir}/apps/kconf_update/korn-3-5-update.upd
+%{tde_datadir}/icons/hicolor/*/apps/korn.png
+%{tde_tdedocdir}/HTML/en/korn/
+
+%post -n trinity-korn
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-korn
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ktnef
+Summary: Trinity TNEF viewer
+Group: Applications/Communications
+
+%description -n trinity-ktnef
+The TNEF File Viewer allows you to handle mail attachments using the TNEF
+format. These attachments are usually found in mails coming from Microsoft
+mail servers and embed the mail properties as well as the actual attachments.
+
+%files -n trinity-ktnef
+%{tde_bindir}/ktnef
+%{tde_tdeappdir}/ktnef.desktop
+%{tde_datadir}/apps/ktnef
+%{tde_datadir}/icons/hicolor/*/apps/ktnef.png
+%{tde_datadir}/icons/locolor/*/apps/ktnef.png
+%{tde_datadir}/mimelnk/application/ms-tnef.desktop
+%{tde_tdedocdir}/HTML/en/ktnef/
+
+%post -n trinity-ktnef
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ktnef
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-libindex
+Summary: Trinity indexing library
+Group: Environment/Libraries
+
+%description -n trinity-libindex
+This library provides text indexing and is currently used by KMail
+to implement fast searches in mail bodies.
+
+This is the runtime package for programs that use the libindex library.
+
+%files -n trinity-libindex
+%{tde_libdir}/libindex.so.*
+
+%post -n trinity-libindex
+/sbin/ldconfig || :
+
+%postun -n trinity-libindex
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libindex-devel
+Summary: Trinity indexing library [development]
+Group: Development/Libraries
+Requires: trinity-libindex = %{version}-%{release}
+
+%description -n trinity-libindex-devel
+This library provides text indexing and is currently used by KMail
+to implement searching through mail text.
+
+This is the development package which contains the headers for the libindex-trinity
+library.
+
+%files -n trinity-libindex-devel
+%{tde_bindir}/indexlib-config
+%{tde_tdeincludedir}/index
+%{tde_libdir}/libindex.la
+%{tde_libdir}/libindex.so
+
+%post -n trinity-libindex-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libindex-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkcal
+Summary: Trinity calendaring library
+Group: Environment/Libraries
+#Requires: %{name}-kresources = %{version}-%{release}
+
+%description -n trinity-libkcal
+This library provides a C++ API for handling the vCalendar and iCalendar
+formats.
+
+This is the runtime package for programs that use the libkcal-trinity library.
+
+%files -n trinity-libkcal
+%{tde_tdelibdir}/kcal_kabc.la
+%{tde_tdelibdir}/kcal_kabc.so
+%{tde_tdelibdir}/kcal_localdir.la
+%{tde_tdelibdir}/kcal_localdir.so
+%{tde_tdelibdir}/kcal_local.la
+%{tde_tdelibdir}/kcal_local.so
+%{tde_tdelibdir}/kcal_remote.la
+%{tde_tdelibdir}/kcal_remote.so
+%{tde_libdir}/libkcal.so.*
+%{tde_libdir}/libkcal_resourceremote.so.*
+%{tde_libdir}/libkholidays.so.*
+%{tde_datadir}/apps/libkholidays
+%{tde_datadir}/services/kresources/kcal/imap.desktop
+%{tde_datadir}/services/kresources/kcal/kabc.desktop
+%{tde_datadir}/services/kresources/kcal/local.desktop
+%{tde_datadir}/services/kresources/kcal/localdir.desktop
+%{tde_datadir}/services/kresources/kcal/remote.desktop
+%{tde_datadir}/services/kresources/kcal_manager.desktop
+
+%post -n trinity-libkcal
+/sbin/ldconfig || :
+
+%postun -n trinity-libkcal
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkcal-devel
+Summary: Trinity calendaring library [development]
+Group: Development/Libraries
+Requires: trinity-libkcal = %{version}-%{release}
+Requires: trinity-libtdepim-devel = %{version}-%{release}
+Requires: trinity-libktnef-devel = %{version}-%{release}
+
+%description -n trinity-libkcal-devel
+This library provides a C++ API for handling the vCalendar and iCalendar
+formats.
+
+This is the development package which contains the headers for the libkcal-trinity
+library.
+
+%files -n trinity-libkcal-devel
+%{tde_tdeincludedir}/libemailfunctions/idmapper.h
+%{tde_tdeincludedir}/libkcal
+%{tde_libdir}/libkcal.la
+%{tde_libdir}/libkcal.so
+%{tde_libdir}/libkcal_resourceremote.la
+%{tde_libdir}/libkcal_resourceremote.so
+%{tde_libdir}/libkholidays.la
+%{tde_libdir}/libkholidays.so
+
+%post -n trinity-libkcal-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkcal-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libtdepim
+Summary: Trinity PIM library
+Group: Environment/Libraries
+Requires: trinity-libkcal = %{version}-%{release}
+
+Obsoletes: libtdepim < %{version}-%{release}
+Provides: libtdepim = %{version}-%{release}
+
+%description -n trinity-libtdepim
+This is the runtime package for programs that use the libtdepim-trinity library.
+
+%files -n trinity-libtdepim
+%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.la
+%{tde_tdelibdir}/plugins/designer/[kt]depimwidgets.so
+%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.la
+%{tde_tdelibdir}/plugins/designer/kpartsdesignerplugin.so
+%{tde_libdir}/lib[kt]depim.so.*
+%{tde_datadir}/apps/[kt]depimwidgets
+%{tde_datadir}/apps/lib[kt]depim
+%{tde_datadir}/apps/[kt]depim
+%{tde_datadir}/config.kcfg/pimemoticons.kcfg
+%{tde_datadir}/icons/crystalsvg/22x22/actions/button_fewer.png
+%{tde_datadir}/icons/crystalsvg/22x22/actions/button_more.png
+
+%post -n trinity-libtdepim
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-libtdepim
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libtdepim-devel
+Summary: Trinity PIM library [development]
+Group: Development/Libraries
+Requires: trinity-libtdepim = %{version}-%{release}
+Requires: trinity-kdelibs-devel
+
+Obsoletes: libtdepim-devel < %{version}-%{release}
+Provides: libtdepim-devel = %{version}-%{release}
+
+%description -n trinity-libtdepim-devel
+This is the development package which contains the headers for the libtdepim-trinity
+library.
+
+%files -n trinity-libtdepim-devel
+%{tde_tdeincludedir}/[kt]depimmacros.h
+%{tde_libdir}/lib[kt]depim.la
+%{tde_libdir}/lib[kt]depim.so
+
+%post -n trinity-libtdepim-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libtdepim-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkgantt
+Summary: Trinity gantt charting library
+Group: Environment/Libraries
+
+%description -n trinity-libkgantt
+This is the runtime package for programs that use the libkgantt-trinity library.
+
+%files -n trinity-libkgantt
+%{tde_libdir}/libkgantt.so.*
+%{tde_datadir}/apps/kgantt
+
+%post -n trinity-libkgantt
+/sbin/ldconfig || :
+
+%postun -n trinity-libkgantt
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkgantt-devel
+Summary: Trinity gantt charting library [development]
+Group: Development/Libraries
+Requires: trinity-libkgantt = %{version}-%{release}
+Requires: trinity-libtdepim-devel = %{version}-%{release}
+
+%description -n trinity-libkgantt-devel
+This is the development package which contains the headers for the libkgantt-trinity
+library.
+
+%files -n trinity-libkgantt-devel
+%{tde_tdeincludedir}/kgantt
+%{tde_libdir}/libkgantt.la
+%{tde_libdir}/libkgantt.so
+
+%post -n trinity-libkgantt-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkgantt-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkleopatra
+Summary: TDE GnuPG interface libraries
+Group: Environment/Libraries
+Requires: gnupg
+
+%description -n trinity-libkleopatra
+This library is used by several TDE applications to interface to the
+GnuPG program.
+
+This is the runtime package for programs that use the libkleopatra-trinity library.
+
+%files -n trinity-libkleopatra
+%{tde_datadir}/config/libkleopatrarc
+%{tde_libdir}/libgpgme++.so.*
+%{tde_libdir}/libkleopatra.so.*
+%{tde_libdir}/libkpgp.so.*
+%{tde_libdir}/libqgpgme.so.*
+%{tde_datadir}/apps/kconf_update/kpgp-3.1-upgrade-address-data.pl
+%{tde_datadir}/apps/kconf_update/kpgp.upd
+%{tde_datadir}/apps/libkleopatra/
+%{tde_datadir}/icons/crystalsvg/*/apps/gpg.png
+%{tde_datadir}/icons/crystalsvg/*/apps/gpgsm.png
+
+%post -n trinity-libkleopatra
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+%postun -n trinity-libkleopatra
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkleopatra-devel
+Summary: Trinity GnuPG interface libraries [development]
+Group: Development/Libraries
+Requires: trinity-libkleopatra = %{version}-%{release}
+Requires: trinity-libtdepim-devel = %{version}-%{release}
+
+%description -n trinity-libkleopatra-devel
+This library is used by several KDE applications to interface to the
+GnuPG program.
+
+This is the development package which contains the headers for the
+libkleopatra-trinity library.
+
+%files -n trinity-libkleopatra-devel
+%{tde_tdeincludedir}/gpgme++/
+%{tde_tdeincludedir}/kleo/
+%{tde_tdeincludedir}/qgpgme/
+%{tde_libdir}/libgpgme++.la
+%{tde_libdir}/libgpgme++.so
+%{tde_libdir}/libkleopatra.la
+%{tde_libdir}/libkleopatra.so
+%{tde_libdir}/libkpgp.la
+%{tde_libdir}/libkpgp.so
+%{tde_libdir}/libqgpgme.la
+%{tde_libdir}/libqgpgme.so
+
+%post -n trinity-libkleopatra-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkleopatra-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkmime
+Summary: Trinity MIME interface library
+Group: Environment/Libraries
+#Conflicts: trinity-libmimelib
+
+%description -n trinity-libkmime
+This library provides a C++ interface to MIME messages, parsing them into
+an object tree.
+
+%files -n trinity-libkmime
+%{tde_libdir}/libkmime.so.*
+
+%post -n trinity-libkmime
+/sbin/ldconfig || :
+
+%postun -n trinity-libkmime
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkmime-devel
+Summary: Development files for libkmime
+Group: Development/Libraries
+Requires: trinity-libkmime = %{version}-%{release}
+
+%description -n trinity-libkmime-devel
+%{summary}
+
+%files -n trinity-libkmime-devel
+%{tde_libdir}/libkmime.la
+%{tde_libdir}/libkmime.so
+
+%post -n trinity-libkmime-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkmime-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkpimexchange
+Summary: Trinity PIM Exchange library
+Group: Environment/Libraries
+
+%description -n trinity-libkpimexchange
+This is the runtime package for programs that use the libkpimexchange-trinity
+library.
+
+%files -n trinity-libkpimexchange
+%{tde_tdelibdir}/resourcecalendarexchange.la
+%{tde_tdelibdir}/resourcecalendarexchange.so
+%{tde_libdir}/libkpimexchange.so.*
+
+%post -n trinity-libkpimexchange
+/sbin/ldconfig || :
+
+%postun -n trinity-libkpimexchange
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkpimexchange-devel
+Summary: Trinity PIM Exchange library [development]
+Group: Development/Libraries
+Requires: trinity-libkpimexchange = %{version}-%{release}
+Requires: trinity-libkcal-devel = %{version}-%{release}
+Requires: trinity-libtdepim-devel = %{version}-%{release}
+
+%description -n trinity-libkpimexchange-devel
+This is the development package which contains the headers for the
+libkpimexchange-trinity library.
+
+%files -n trinity-libkpimexchange-devel
+%{tde_tdeincludedir}/[kt]depim/exchangeaccount.h
+%{tde_tdeincludedir}/[kt]depim/exchangeclient.h
+%{tde_libdir}/libkpimexchange.la
+%{tde_libdir}/libkpimexchange.so
+
+%post -n trinity-libkpimexchange-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkpimexchange-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkpimidentities
+Summary: Trinity PIM user identity information library
+Group: Environment/Libraries
+
+%description -n trinity-libkpimidentities
+This library provides information to TDE programs about user identity,
+such as email address, organization, etc.
+
+This is the runtime package for programs that use the libkpimidentities-trinity
+library.
+
+%files -n trinity-libkpimidentities
+%{tde_libdir}/libkpimidentities.so.*
+
+%post -n trinity-libkpimidentities
+/sbin/ldconfig || :
+
+%postun -n trinity-libkpimidentities
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libkpimidentities-devel
+Summary: Development files for libkpimidentities
+Group: Development/Libraries
+Requires: trinity-libkpimidentities = %{version}-%{release}
+
+%description -n trinity-libkpimidentities-devel
+%{summary}
+
+%files -n trinity-libkpimidentities-devel
+%{tde_libdir}/libkpimidentities.la
+%{tde_libdir}/libkpimidentities.so
+
+%post -n trinity-libkpimidentities-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libkpimidentities-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libksieve
+Summary: Trinity mail/news message filtering library
+Group: Environment/Libraries
+
+%description -n trinity-libksieve
+This is the runtime package for programs that use the libksieve-trinity library.
+
+%files -n trinity-libksieve
+%{tde_libdir}/libksieve.so.*
+
+%post -n trinity-libksieve
+/sbin/ldconfig || :
+
+%postun -n trinity-libksieve
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libksieve-devel
+Summary: Trinity mail/news message filtering library [development]
+Group: Development/Libraries
+Requires: trinity-libksieve = %{version}-%{release}
+Requires: trinity-libtdepim-devel = %{version}-%{release}
+
+%description -n trinity-libksieve-devel
+This is the development package which contains the headers for the libksieve-trinity
+library.
+
+%files -n trinity-libksieve-devel
+%{tde_tdeincludedir}/ksieve
+%{tde_libdir}/libksieve.la
+%{tde_libdir}/libksieve.so
+
+%post -n trinity-libksieve-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libksieve-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libktnef
+Summary: Library for handling KTNEF email attachments
+Group: Environment/Libraries
+
+%description -n trinity-libktnef
+This library handles mail attachments using the TNEF format. These
+attachments are usually found in mails coming from Microsoft mail
+servers and embed the mail properties as well as the actual
+attachments.
+.
+This is the runtime library for packages using the ktnef-trinity library.
+
+%files -n trinity-libktnef
+%{tde_libdir}/libktnef.so.*
+
+%post -n trinity-libktnef
+/sbin/ldconfig || :
+
+%postun -n trinity-libktnef
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libktnef-devel
+Summary: KTNEF handler library [development]
+Group: Development/Libraries
+Requires: trinity-libktnef = %{version}-%{release}
+Requires: trinity-libtdepim-devel = %{version}-%{release}
+
+%description -n trinity-libktnef-devel
+This library handles mail attachments using the TNEF format. These
+attachments are usually found in mails coming from Microsoft mail
+servers and embed the mail properties as well as the actual
+attachments.
+
+This is the development package which contains the headers for the
+ktnef-trinity library.
+
+%files -n trinity-libktnef-devel
+%{tde_tdeincludedir}/ktnef
+%{tde_libdir}/libktnef.la
+%{tde_libdir}/libktnef.so
+
+%post -n trinity-libktnef-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libktnef-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libmimelib
+Summary: Trinity mime library
+Group: Environment/Libraries
+
+%description -n trinity-libmimelib
+This library is used by several Trinity applications to handle mime types.
+
+This is the runtime package for programs that use the libmimelib-trinity library.
+
+%files -n trinity-libmimelib
+%{tde_libdir}/libmimelib.so.*
+
+%post -n trinity-libmimelib
+/sbin/ldconfig || :
+
+%postun -n trinity-libmimelib
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libmimelib-devel
+Summary: Trinity mime library [development]
+Group: Development/Libraries
+Requires: trinity-libmimelib = %{version}-%{release}
+
+%description -n trinity-libmimelib-devel
+This library is used by several KDE applications to handle mime types.
+
+This is the development package which contains the headers for the
+libmimelib library.
+
+%files -n trinity-libmimelib-devel
+%{tde_tdeincludedir}/mimelib
+%{tde_libdir}/libmimelib.la
+%{tde_libdir}/libmimelib.so
+
+%post -n trinity-libmimelib-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libmimelib-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kmobile
+Summary: Synchronize and manage mobile phone with your PC.
+Group: Applications/Communications
+
+%description -n trinity-kmobile
+KMobileTools is a nice TDE-based application that allows to synchronize
+and manage mobile phones with your PC. It handles full SMS control,
+dialing calls, phonebook, and phone status monitoring.
+
+%files -n trinity-kmobile
+%{tde_bindir}/kmobile
+%{tde_datadir}/icons/default.kde/32x32/devices/mobile_camera.png
+%{tde_datadir}/icons/default.kde/32x32/devices/mobile_musicplayer.png
+%{tde_datadir}/icons/default.kde/32x32/devices/mobile_organizer.png
+%{tde_datadir}/icons/default.kde/32x32/devices/mobile_phone.png
+%{tde_datadir}/icons/default.kde/32x32/devices/mobile_unknown.png
+%{tde_datadir}/icons/hicolor/*/apps/kmobile.png
+%{tde_datadir}/services/libkmobile_digicam.desktop
+%{tde_datadir}/services/libkmobile_gammu.desktop
+%{tde_datadir}/services/libkmobile_skeleton.desktop
+%{tde_datadir}/servicetypes/libkmobile.desktop
+%{tde_datadir}/apps/kmobile/kmobileui.rc
+%{tde_tdeappdir}/kmobile.desktop
+%{tde_tdelibdir}/libkmobile_skeleton.la
+%{tde_tdelibdir}/libkmobile_skeleton.so
+%{tde_libdir}/libkmobileclient.la
+%{tde_libdir}/libkmobileclient.so
+%{tde_libdir}/libkmobiledevice.la
+%{tde_libdir}/libkmobiledevice.so
+
+%post -n trinity-kmobile
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kmobile
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n kdepim-3.5.13.1
+%patch13 -p1 -b .incdir
+%patch14 -p1 -b .ldflags
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+export LD_LIBRARY_PATH="%{tde_libdir}"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DCMAKE_INSTALL_PREFIX=%{tde_prefix} \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DWITH_ARTS=ON \
+ -DWITH_SASL=ON \
+ -DWITH_NEWDISTRLISTS=ON \
+ %{?with_gnokii:-DWITH_GNOKII=ON} \
+ -DWITH_EXCHANGE=ON \
+ -DWITH_EGROUPWARE=ON \
+ -DWITH_KOLAB=ON \
+ -DWITH_SLOX=ON \
+ -DWITH_GROUPWISE=ON \
+ -DWITH_FEATUREPLAN=ON \
+ -DWITH_GROUPDAV=ON \
+ -DWITH_BIRTHDAYS=ON \
+ -DWITH_NEWEXCHANGE=ON \
+ -DWITH_SCALIX=ON \
+ -DWITH_CALDAV=ON \
+ -DWITH_CARDDAV=ON \
+ -DWITH_INDEXLIB=ON \
+ %{?with_kitchensync:-DBUILD_KITCHENSYNC=ON} \
+ -DBUILD_ALL=ON \
+ ..
+
+%__make %{?_smp_mflags}
+
+%install
+export PATH="%{_bindir}:${PATH}"
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{?buildroot} -C build
+
+%clean
+%__rm -rf %{?buildroot}
+
+
+%changelog
+* Tue Sep 25 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/kdesdk/kdesdk-3.5.13.1-add_missing_files.patch b/redhat/kdesdk/kdesdk-3.5.13.1-add_missing_files.patch
new file mode 100644
index 000000000..48dc16c0c
--- /dev/null
+++ b/redhat/kdesdk/kdesdk-3.5.13.1-add_missing_files.patch
@@ -0,0 +1,309 @@
+diff -Nuar kdesdk-3.5.13.1/CMakeLists.txt kdesdk-3.5.13.1.patched/CMakeLists.txt
+--- kdesdk-3.5.13.1/CMakeLists.txt 2012-09-08 12:06:50.000000000 +0200
++++ kdesdk-3.5.13.1.patched/CMakeLists.txt 2012-10-01 19:24:39.244352538 +0200
+@@ -109,7 +109,7 @@
+ tde_conditional_add_subdirectory( BUILD_POXML poxml )
+ tde_conditional_add_subdirectory( BUILD_SCHECK scheck )
+ tde_conditional_add_subdirectory( BUILD_SCRIPTS scripts )
+-tde_conditional_add_subdirectory( BUILD_KDECACHEGRIND kdecachegrind )
++tde_conditional_add_subdirectory( BUILD_KDECACHEGRIND kcachegrind )
+ tde_conditional_add_subdirectory( BUILD_UMBRELLO umbrello )
+
+
+diff -Nuar kdesdk-3.5.13.1/kcachegrind/CMakeLists.txt kdesdk-3.5.13.1.patched/kcachegrind/CMakeLists.txt
+--- kdesdk-3.5.13.1/kcachegrind/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
++++ kdesdk-3.5.13.1.patched/kcachegrind/CMakeLists.txt 2012-10-01 19:35:12.689266467 +0200
+@@ -0,0 +1,21 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include( ConfigureChecks.cmake )
++
++set( KCACHEGRIND_VERSION "0.4.6kde" )
++configure_file( version.h.in version.h @ONLY )
++configure_file( kcachegrind.spec.in kcachegrind.spec @ONLY )
++configure_file( kcachegrind.lsm.in kcachegrind.lsm @ONLY )
++
++add_subdirectory( kcachegrind )
++add_subdirectory( pics )
++add_subdirectory( converters )
+diff -Nuar kdesdk-3.5.13.1/kcachegrind/ConfigureChecks.cmake kdesdk-3.5.13.1.patched/kcachegrind/ConfigureChecks.cmake
+--- kdesdk-3.5.13.1/kcachegrind/ConfigureChecks.cmake 1970-01-01 01:00:00.000000000 +0100
++++ kdesdk-3.5.13.1.patched/kcachegrind/ConfigureChecks.cmake 2012-10-01 19:35:15.546204776 +0200
+@@ -0,0 +1,12 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++check_function_exists( mmap HAVE_MMAP )
+diff -Nuar kdesdk-3.5.13.1/kcachegrind/converters/CMakeLists.txt kdesdk-3.5.13.1.patched/kcachegrind/converters/CMakeLists.txt
+--- kdesdk-3.5.13.1/kcachegrind/converters/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
++++ kdesdk-3.5.13.1.patched/kcachegrind/converters/CMakeLists.txt 2012-10-01 19:33:48.381089049 +0200
+@@ -0,0 +1,15 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++install( PROGRAMS
++ hotshot2calltree op2calltree pprof2calltree
++ dprof2calltree memprof2calltree
++ DESTINATION ${BIN_INSTALL_DIR} )
+diff -Nuar kdesdk-3.5.13.1/kcachegrind/kcachegrind/CMakeLists.txt kdesdk-3.5.13.1.patched/kcachegrind/kcachegrind/CMakeLists.txt
+--- kdesdk-3.5.13.1/kcachegrind/kcachegrind/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
++++ kdesdk-3.5.13.1.patched/kcachegrind/kcachegrind/CMakeLists.txt 2012-10-01 19:35:46.872528600 +0200
+@@ -0,0 +1,50 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++include_directories(
++ ${CMAKE_CURRENT_BINARY_DIR}
++ ${CMAKE_CURRENT_SOURCE_DIR}
++ ${CMAKE_BINARY_DIR}
++ ${TDE_INCLUDE_DIR}
++ ${TQT_INCLUDE_DIRS}
++)
++
++link_directories(
++ ${TQT_LIBRARY_DIRS}
++)
++
++
++##### other data ################################
++
++tde_install_icons( )
++install( FILES kcachegrind.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
++install( FILES kcachegrindui.rc tips DESTINATION ${DATA_INSTALL_DIR}/kcachegrind )
++install( FILES x-kcachegrind.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
++
++
++##### kcachegrind (executable) ##################
++
++tde_add_executable( kcachegrind AUTOMOC
++ SOURCES
++ functionselectionbase.ui stackselectionbase.ui partselectionbase.ui
++ configdlgbase.ui loader.cpp cachegrindloader.cpp treemap.cpp pool.cpp
++ main.cpp configuration.cpp functionselection.cpp coverage.cpp
++ partgraph.cpp toplevel.cpp stackselection.cpp stackbrowser.cpp
++ subcost.cpp tracedata.cpp partselection.cpp configdlg.cpp
++ utils.cpp fixcost.cpp traceitemview.cpp instrview.cpp tabview.cpp
++ sourceview.cpp callmapview.cpp callview.cpp coverageview.cpp
++ costtypeview.cpp partview.cpp listutils.cpp costtypeitem.cpp
++ multiview.cpp callitem.cpp coverageitem.cpp sourceitem.cpp
++ costlistitem.cpp partlistitem.cpp functionitem.cpp instritem.cpp
++ stackitem.cpp callgraphview.cpp
++ LINK kio-shared
++ DESTINATION ${BIN_INSTALL_DIR}
++)
+\ Pas de fin de ligne à la fin du fichier
+diff -Nuar kdesdk-3.5.13.1/kcachegrind/pics/CMakeLists.txt kdesdk-3.5.13.1.patched/kcachegrind/pics/CMakeLists.txt
+--- kdesdk-3.5.13.1/kcachegrind/pics/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
++++ kdesdk-3.5.13.1.patched/kcachegrind/pics/CMakeLists.txt 2012-10-01 19:35:59.697251930 +0200
+@@ -0,0 +1,14 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++add_subdirectory( hicolor )
++
++tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kcachegrind/icons )
+diff -Nuar kdesdk-3.5.13.1/kcachegrind/pics/hicolor/CMakeLists.txt kdesdk-3.5.13.1.patched/kcachegrind/pics/hicolor/CMakeLists.txt
+--- kdesdk-3.5.13.1/kcachegrind/pics/hicolor/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
++++ kdesdk-3.5.13.1.patched/kcachegrind/pics/hicolor/CMakeLists.txt 2012-10-01 19:36:11.193004007 +0200
+@@ -0,0 +1,12 @@
++#################################################
++#
++# (C) 2012 Serghei Amelian
++# serghei (DOT) amelian (AT) gmail.com
++#
++# Improvements and feedback are welcome
++#
++# This file is released under GPL >= 2
++#
++#################################################
++
++tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kcachegrind/icons )
+diff -Nuar kdesdk-3.5.13.1/kdecachegrind/CMakeLists.txt kdesdk-3.5.13.1.patched/kdecachegrind/CMakeLists.txt
+--- kdesdk-3.5.13.1/kdecachegrind/CMakeLists.txt 2012-09-08 12:06:51.000000000 +0200
++++ kdesdk-3.5.13.1.patched/kdecachegrind/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
+@@ -1,21 +0,0 @@
+-#################################################
+-#
+-# (C) 2012 Serghei Amelian
+-# serghei (DOT) amelian (AT) gmail.com
+-#
+-# Improvements and feedback are welcome
+-#
+-# This file is released under GPL >= 2
+-#
+-#################################################
+-
+-include( ConfigureChecks.cmake )
+-
+-set( KCACHEGRIND_VERSION "0.4.6kde" )
+-configure_file( version.h.in version.h @ONLY )
+-configure_file( kdecachegrind.spec.in kcachegrind.spec @ONLY )
+-configure_file( kdecachegrind.lsm.in kcachegrind.lsm @ONLY )
+-
+-add_subdirectory( kdecachegrind )
+-add_subdirectory( pics )
+-add_subdirectory( converters )
+diff -Nuar kdesdk-3.5.13.1/kdecachegrind/ConfigureChecks.cmake kdesdk-3.5.13.1.patched/kdecachegrind/ConfigureChecks.cmake
+--- kdesdk-3.5.13.1/kdecachegrind/ConfigureChecks.cmake 2012-09-08 12:06:51.000000000 +0200
++++ kdesdk-3.5.13.1.patched/kdecachegrind/ConfigureChecks.cmake 1970-01-01 01:00:00.000000000 +0100
+@@ -1,12 +0,0 @@
+-#################################################
+-#
+-# (C) 2012 Serghei Amelian
+-# serghei (DOT) amelian (AT) gmail.com
+-#
+-# Improvements and feedback are welcome
+-#
+-# This file is released under GPL >= 2
+-#
+-#################################################
+-
+-check_function_exists( mmap HAVE_MMAP )
+diff -Nuar kdesdk-3.5.13.1/kdecachegrind/converters/CMakeLists.txt kdesdk-3.5.13.1.patched/kdecachegrind/converters/CMakeLists.txt
+--- kdesdk-3.5.13.1/kdecachegrind/converters/CMakeLists.txt 2012-09-08 12:06:51.000000000 +0200
++++ kdesdk-3.5.13.1.patched/kdecachegrind/converters/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
+@@ -1,15 +0,0 @@
+-#################################################
+-#
+-# (C) 2012 Serghei Amelian
+-# serghei (DOT) amelian (AT) gmail.com
+-#
+-# Improvements and feedback are welcome
+-#
+-# This file is released under GPL >= 2
+-#
+-#################################################
+-
+-install( PROGRAMS
+- hotshot2calltree op2calltree pprof2calltree
+- dprof2calltree memprof2calltree
+- DESTINATION ${BIN_INSTALL_DIR} )
+diff -Nuar kdesdk-3.5.13.1/kdecachegrind/kdecachegrind/CMakeLists.txt kdesdk-3.5.13.1.patched/kdecachegrind/kdecachegrind/CMakeLists.txt
+--- kdesdk-3.5.13.1/kdecachegrind/kdecachegrind/CMakeLists.txt 2012-09-08 12:06:51.000000000 +0200
++++ kdesdk-3.5.13.1.patched/kdecachegrind/kdecachegrind/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
+@@ -1,50 +0,0 @@
+-#################################################
+-#
+-# (C) 2012 Serghei Amelian
+-# serghei (DOT) amelian (AT) gmail.com
+-#
+-# Improvements and feedback are welcome
+-#
+-# This file is released under GPL >= 2
+-#
+-#################################################
+-
+-include_directories(
+- ${CMAKE_CURRENT_BINARY_DIR}
+- ${CMAKE_CURRENT_SOURCE_DIR}
+- ${CMAKE_BINARY_DIR}
+- ${TDE_INCLUDE_DIR}
+- ${TQT_INCLUDE_DIRS}
+-)
+-
+-link_directories(
+- ${TQT_LIBRARY_DIRS}
+-)
+-
+-
+-##### other data ################################
+-
+-tde_install_icons( )
+-install( FILES kdecachegrind.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+-install( FILES kdecachegrindui.rc tips DESTINATION ${DATA_INSTALL_DIR}/kcachegrind )
+-install( FILES x-kdecachegrind.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
+-
+-
+-##### kdecachegrind (executable) ##################
+-
+-tde_add_executable( kdecachegrind AUTOMOC
+- SOURCES
+- functionselectionbase.ui stackselectionbase.ui partselectionbase.ui
+- configdlgbase.ui loader.cpp cachegrindloader.cpp treemap.cpp pool.cpp
+- main.cpp configuration.cpp functionselection.cpp coverage.cpp
+- partgraph.cpp toplevel.cpp stackselection.cpp stackbrowser.cpp
+- subcost.cpp tracedata.cpp partselection.cpp configdlg.cpp
+- utils.cpp fixcost.cpp traceitemview.cpp instrview.cpp tabview.cpp
+- sourceview.cpp callmapview.cpp callview.cpp coverageview.cpp
+- costtypeview.cpp partview.cpp listutils.cpp costtypeitem.cpp
+- multiview.cpp callitem.cpp coverageitem.cpp sourceitem.cpp
+- costlistitem.cpp partlistitem.cpp functionitem.cpp instritem.cpp
+- stackitem.cpp callgraphview.cpp
+- LINK kio-shared
+- DESTINATION ${BIN_INSTALL_DIR}
+-)
+diff -Nuar kdesdk-3.5.13.1/kdecachegrind/pics/CMakeLists.txt kdesdk-3.5.13.1.patched/kdecachegrind/pics/CMakeLists.txt
+--- kdesdk-3.5.13.1/kdecachegrind/pics/CMakeLists.txt 2012-09-08 12:06:51.000000000 +0200
++++ kdesdk-3.5.13.1.patched/kdecachegrind/pics/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
+@@ -1,14 +0,0 @@
+-#################################################
+-#
+-# (C) 2012 Serghei Amelian
+-# serghei (DOT) amelian (AT) gmail.com
+-#
+-# Improvements and feedback are welcome
+-#
+-# This file is released under GPL >= 2
+-#
+-#################################################
+-
+-add_subdirectory( hicolor )
+-
+-tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kdecachegrind/icons )
+diff -Nuar kdesdk-3.5.13.1/kdecachegrind/pics/hicolor/CMakeLists.txt kdesdk-3.5.13.1.patched/kdecachegrind/pics/hicolor/CMakeLists.txt
+--- kdesdk-3.5.13.1/kdecachegrind/pics/hicolor/CMakeLists.txt 2012-09-08 12:06:51.000000000 +0200
++++ kdesdk-3.5.13.1.patched/kdecachegrind/pics/hicolor/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100
+@@ -1,12 +0,0 @@
+-#################################################
+-#
+-# (C) 2012 Serghei Amelian
+-# serghei (DOT) amelian (AT) gmail.com
+-#
+-# Improvements and feedback are welcome
+-#
+-# This file is released under GPL >= 2
+-#
+-#################################################
+-
+-tde_install_icons( DESTINATION ${DATA_INSTALL_DIR}/kdecachegrind/icons )
diff --git a/redhat/kdesdk/kdesdk-3.5.13.1-fix_cmake_macros.patch b/redhat/kdesdk/kdesdk-3.5.13.1-fix_cmake_macros.patch
new file mode 100644
index 000000000..adfe47f52
--- /dev/null
+++ b/redhat/kdesdk/kdesdk-3.5.13.1-fix_cmake_macros.patch
@@ -0,0 +1,17 @@
+--- kdesdk-3.5.13.1/kioslave/svn/ConfigureChecks.cmake 2012-09-30 20:05:52.627163660 +0200
++++ kdesdk/kioslave/svn/ConfigureChecks.cmake 2012-09-30 20:02:29.267164082 +0200
+@@ -34,11 +34,11 @@
+
+ # check for subversion headers
+
+-tde_save_and_set( CMAKE_REQUIRED_FLAGS "-I${APR_INCLUDE_DIRS}" )
+-tde_save_and_set( CMAKE_REQUIRED_DEFINITIONS "${APR_CFLAGS}" )
++set( CMAKE_REQUIRED_FLAGS "-I${APR_INCLUDE_DIRS}" )
++set( CMAKE_REQUIRED_DEFINITIONS "${APR_CFLAGS}" )
+
+ if( SVN_INCLUDE_DIR )
+- set_and_save( CMAKE_REQUIRED_INCLUDES "${SVN_INCLUDE_DIR}" )
++ set( CMAKE_REQUIRED_INCLUDES "${SVN_INCLUDE_DIR}" )
+ check_include_file( "svn_types.h" HAVE_SVN_TYPES_H )
+ tde_restore( CMAKE_REQUIRED_INCLUDES )
+ else( )
diff --git a/redhat/kdesdk/kdesdk-3.5.13.1-fix_kdecachegrind_ftbfs.patch.gz b/redhat/kdesdk/kdesdk-3.5.13.1-fix_kdecachegrind_ftbfs.patch.gz
new file mode 100644
index 000000000..7794f1af5
--- /dev/null
+++ b/redhat/kdesdk/kdesdk-3.5.13.1-fix_kdecachegrind_ftbfs.patch.gz
Binary files differ
diff --git a/redhat/kdesdk/kdesdk-3.5.13.1-fix_xkcachegrind_installation.patch b/redhat/kdesdk/kdesdk-3.5.13.1-fix_xkcachegrind_installation.patch
new file mode 100644
index 000000000..991918396
--- /dev/null
+++ b/redhat/kdesdk/kdesdk-3.5.13.1-fix_xkcachegrind_installation.patch
@@ -0,0 +1,13 @@
+--- kdesdk-3.5.13.1/kdecachegrind/kdecachegrind/CMakeLists.txt.kcachegrind 2012-09-08 12:06:51.000000000 +0200
++++ kdesdk-3.5.13.1/kdecachegrind/kdecachegrind/CMakeLists.txt 2012-09-30 21:43:25.863163587 +0200
+@@ -26,8 +26,8 @@
+
+ tde_install_icons( )
+ install( FILES kdecachegrind.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+-install( FILES kdecachegrindui.rc tips DESTINATION ${DATA_INSTALL_DIR}/kcachegrind )
+-install( FILES x-kdecachegrind.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
++install( FILES kdecachegrindui.rc tips DESTINATION ${DATA_INSTALL_DIR}/kdecachegrind )
++install( FILES x-kcachegrind.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
+
+
+ ##### kdecachegrind (executable) ##################
diff --git a/redhat/kdesdk/kdesdk-3.5.13.1-use_flex_instead_of_lex.patch b/redhat/kdesdk/kdesdk-3.5.13.1-use_flex_instead_of_lex.patch
new file mode 100644
index 000000000..7ab267206
--- /dev/null
+++ b/redhat/kdesdk/kdesdk-3.5.13.1-use_flex_instead_of_lex.patch
@@ -0,0 +1,11 @@
+--- kdesdk-3.5.13.1/kbabel/ConfigureChecks.cmake.ORI 2012-09-30 21:50:19.573288788 +0200
++++ kdesdk-3.5.13.1/kbabel/ConfigureChecks.cmake 2012-09-30 21:50:26.499538745 +0200
+@@ -9,7 +9,7 @@
+ #
+ #################################################
+
+-find_program( LEX_EXECUTABLE "lex" )
++find_program( LEX_EXECUTABLE "flex" )
+ if( NOT LEX_EXECUTABLE )
+ tde_message_fatal( "lex is required, but was not found on your system" )
+ endif( )
diff --git a/redhat/kdesdk/trinity-kdesdk-3.5.13.1.spec b/redhat/kdesdk/trinity-kdesdk-3.5.13.1.spec
new file mode 100644
index 000000000..83f558371
--- /dev/null
+++ b/redhat/kdesdk/trinity-kdesdk-3.5.13.1.spec
@@ -0,0 +1,1161 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+
+Name: trinity-tdesdk
+Summary: The KDE Software Development Kit (SDK)
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2
+Group: User Interface/Desktops
+URL: http://www.trinitydesktop.org/
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source: kdesdk-3.5.13.1.tar.gz
+
+# [tdesdk] fixes for RHEL/Fedora/MGA2 after previous patch
+Patch4: kdesdk-3.5.13-misc_ftbfs.patch
+# [tdesdk] Fix FTBFS on newer subversion libraries [Bug #872] [Commit #572169a2]
+Patch5: kdesdk-3.5.13-fix_ftbfs_on_newer_svn.patch
+# [tdesdk] Fix unknown macro 'tde_save_and_set'
+Patch6: kdesdk-3.5.13.1-fix_cmake_macros.patch
+# [tdesdk] Fix build of kcachegrind
+Patch7: kdesdk-3.5.13.1-add_missing_files.patch
+# [tdesdk] Use 'flex' instead of 'lex'
+Patch8: kdesdk-3.5.13.1-use_flex_instead_of_lex.patch
+
+BuildRequires: cmake >= 2.8
+BuildRequires: libtool
+BuildRequires: pcre-devel
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+# for kbugbuster/libkcal
+BuildRequires: trinity-tdepim-devel >= %{version}
+%if 0%{?mgaversion} || 0%{?mdkversion}
+#BuildRequires: %{_lib}db4.8-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: db4-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libdb-4_8-devel
+%endif
+BuildRequires: desktop-file-utils
+# kbabel, F-7+: flex >= 2.5.33-9
+BuildRequires: flex
+# umbrello
+BuildRequires: libxslt-devel
+BuildRequires: libxml2-devel
+BuildRequires: perl
+BuildRequires: subversion-devel
+BuildRequires: neon-devel
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}ltdl-devel
+BuildRequires: %{_lib}binutils-devel
+%else
+%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5 || 0%{?suse_version}
+BuildRequires: libtool-ltdl-devel
+BuildRequires: binutils-devel
+%endif
+%endif
+
+# KIOSLAVE
+%if 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version} || 0%{?mgaversion} || 0%{?mdkversion}
+%define build_kioslave 1
+%endif
+
+Obsoletes: trinity-kdesdk < %{version}-%{release}
+Provides: trinity-kdesdk = %{version}-%{release}
+Obsoletes: trinity-kdesdk-libs < %{version}-%{release}
+Provides: trinity-kdesdk-libs = %{version}-%{release}
+
+Requires: trinity-cervisia = %{version}-%{release}
+Requires: trinity-kapptemplate = %{version}-%{release}
+Requires: trinity-kbabel = %{version}-%{release}
+Requires: trinity-kbugbuster = %{version}-%{release}
+Requires: trinity-tdecachegrind = %{version}-%{release}
+Requires: trinity-tdecachegrind-converters = %{version}-%{release}
+Requires: %{name}-kfile-plugins = %{version}-%{release}
+Requires: %{name}-misc = %{version}-%{release}
+Requires: %{name}-scripts = %{version}-%{release}
+Requires: trinity-kmtrace = %{version}-%{release}
+Requires: trinity-kompare = %{version}-%{release}
+Requires: trinity-kspy = %{version}-%{release}
+Requires: trinity-kuiviewer = %{version}-%{release}
+Requires: trinity-libcvsservice0 = %{version}-%{release}
+Requires: trinity-libcvsservice-devel = %{version}-%{release}
+Requires: trinity-poxml = %{version}-%{release}
+Requires: trinity-umbrello = %{version}-%{release}
+%{?build_kioslave:Requires: %{name}-kio-plugins = %{version}-%{release}}
+Requires: trinity-kunittest = %{version}-%{release}
+
+
+%description
+A collection of applications and tools used by developers, including:
+* cervisia: a CVS frontend
+* kbabel: PO file management
+* kbugbuster: a tool to manage the TDE bug report system
+* kcachegrind: a browser for data produced by profiling tools (e.g. cachegrind)
+* kompare: diff tool
+* kuiviewer: displays designer's UI files
+* umbrello: UML modeller and UML diagram tool
+
+%files
+
+##########
+
+%package -n trinity-cervisia
+Summary: A graphical CVS front end for Trinity
+Group: Development/Utilities
+
+%description -n trinity-cervisia
+Cervisia is a TDE-based graphical front end for the CVS client.
+
+As well as providing both common and advanced CVS operations, it offers
+a variety of methods for graphically viewing information about the CVS
+repository, your own sandbox and the relationships between different
+versions of files. A Changelog editor is also included and is coupled
+with the commit dialog.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-cervisia
+%{tde_bindir}/cervisia
+%{tde_libdir}/lib[kt]deinit_cervisia.la
+%{tde_libdir}/lib[kt]deinit_cervisia.so
+%{tde_tdelibdir}/cervisia.la
+%{tde_tdelibdir}/cervisia.so
+%{tde_tdelibdir}/libcervisiapart.la
+%{tde_tdelibdir}/libcervisiapart.so
+%{tde_tdeappdir}/cervisia.desktop
+%{tde_datadir}/apps/cervisia/
+%{tde_datadir}/apps/cervisiapart/cervisiaui.rc
+%{tde_datadir}/apps/kconf_update/cervisia.upd
+%{tde_datadir}/apps/kconf_update/cervisia-change_repos_list.pl
+%{tde_datadir}/apps/kconf_update/cervisia-normalize_cvsroot.pl
+%{tde_datadir}/apps/kconf_update/move_repositories.pl
+%{tde_datadir}/apps/kconf_update/change_colors.pl
+%{tde_datadir}/config.kcfg/cervisiapart.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/cervisia.png
+%{tde_datadir}/icons/crystalsvg/*/actions/vcs_*.png
+%{tde_datadir}/icons/crystalsvg/scalable/actions/vcs_*.svgz
+#%{tde_mandir}/man1/cervisia.1*
+%{tde_tdedocdir}/HTML/en/cervisia/
+
+%post -n trinity-cervisia
+/sbin/ldconfig || :
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-cervisia
+/sbin/ldconfig || :
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kapptemplate
+Summary: Creates a framework to develop a Trinity application
+Group: Development/Utilities
+
+%description -n trinity-kapptemplate
+KAppTemplate is a shell script that will create the necessary
+framework to develop various TDE applications. It takes care of the
+autoconf/automake code as well as providing a skeleton and example of
+what the code typically looks like.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kapptemplate
+%{tde_bindir}/kapptemplate
+%{tde_datadir}/apps/kapptemplate/
+
+##########
+
+%package -n trinity-kbabel
+Summary: PO-file editing suite for Trinity
+Group: Development/Utilities
+
+%description -n trinity-kbabel
+This is a suite of programs for editing gettext message files (PO-files).
+It is designed to help you translate fast and consistently.
+
+This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an
+advanced and easy to use PO-file editor with full navigational and editing
+capabilities, syntax checking and statistics. CatalogManager is a multi
+functional catalog manager which allows you to keep track of many
+PO-files at once. KBabelDict is a dictionary to assist with searching
+for common translations.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+See the 'kde-trinity' and 'tdesdk-trinity' packages for more information.
+
+%files -n trinity-kbabel
+%{tde_bindir}/catalogmanager
+%{tde_bindir}/kbabel
+%{tde_bindir}/kbabeldict
+%{tde_libdir}/libkbabelcommon.so.*
+%{tde_libdir}/libkbabeldictplugin.so.*
+%{tde_tdelibdir}/kfile_po.la
+%{tde_tdelibdir}/kfile_po.so
+%{tde_tdelibdir}/pothumbnail.la
+%{tde_tdelibdir}/pothumbnail.so
+%{tde_tdelibdir}/kbabel_accelstool.la
+%{tde_tdelibdir}/kbabel_accelstool.so
+%{tde_tdelibdir}/kbabel_argstool.la
+%{tde_tdelibdir}/kbabel_argstool.so
+%{tde_tdelibdir}/kbabel_contexttool.la
+%{tde_tdelibdir}/kbabel_contexttool.so
+%{tde_tdelibdir}/kbabel_equationstool.la
+%{tde_tdelibdir}/kbabel_equationstool.so
+%{tde_tdelibdir}/kbabel_gettextexport.la
+%{tde_tdelibdir}/kbabel_gettextexport.so
+%{tde_tdelibdir}/kbabel_gettextimport.la
+%{tde_tdelibdir}/kbabel_gettextimport.so
+%{tde_tdelibdir}/kbabel_lengthtool.la
+%{tde_tdelibdir}/kbabel_lengthtool.so
+%{tde_tdelibdir}/kbabel_linguistexport.la
+%{tde_tdelibdir}/kbabel_linguistexport.so
+%{tde_tdelibdir}/kbabel_linguistimport.la
+%{tde_tdelibdir}/kbabel_linguistimport.so
+%{tde_tdelibdir}/kbabel_nottranslatedtool.la
+%{tde_tdelibdir}/kbabel_nottranslatedtool.so
+%{tde_tdelibdir}/kbabel_pluraltool.la
+%{tde_tdelibdir}/kbabel_pluraltool.so
+%{tde_tdelibdir}/kbabel_punctuationtool.la
+%{tde_tdelibdir}/kbabel_punctuationtool.so
+%{tde_tdelibdir}/kbabel_regexptool.la
+%{tde_tdelibdir}/kbabel_regexptool.so
+%{tde_tdelibdir}/kbabel_setfuzzytool.la
+%{tde_tdelibdir}/kbabel_setfuzzytool.so
+%{tde_tdelibdir}/kbabel_whitespacetool.la
+%{tde_tdelibdir}/kbabel_whitespacetool.so
+%{tde_tdelibdir}/kbabel_xliffexport.la
+%{tde_tdelibdir}/kbabel_xliffexport.so
+%{tde_tdelibdir}/kbabel_xliffimport.la
+%{tde_tdelibdir}/kbabel_xliffimport.so
+%{tde_tdelibdir}/kbabel_xmltool.la
+%{tde_tdelibdir}/kbabel_xmltool.so
+%{tde_tdelibdir}/kbabeldict_dbsearchengine.la
+%{tde_tdelibdir}/kbabeldict_dbsearchengine.so
+%{tde_tdelibdir}/kbabeldict_poauxiliary.la
+%{tde_tdelibdir}/kbabeldict_poauxiliary.so
+%{tde_tdelibdir}/kbabeldict_pocompendium.la
+%{tde_tdelibdir}/kbabeldict_pocompendium.so
+%{tde_tdelibdir}/kbabeldict_tmxcompendium.la
+%{tde_tdelibdir}/kbabeldict_tmxcompendium.so
+%{tde_tdeappdir}/catalogmanager.desktop
+%{tde_tdeappdir}/kbabel.desktop
+%{tde_tdeappdir}/kbabeldict.desktop
+%{tde_datadir}/apps/catalogmanager/catalogmanagerui.rc
+%{tde_datadir}/apps/kbabel/
+%{tde_datadir}/apps/kconf_update/kbabel-difftoproject.upd
+%{tde_datadir}/apps/kconf_update/kbabel-project.upd
+%{tde_datadir}/apps/kconf_update/kbabel-projectrename.upd
+%{tde_datadir}/config.kcfg/kbabel.kcfg
+%{tde_datadir}/config.kcfg/kbprojectsettings.kcfg
+%{tde_tdedocdir}/HTML/en/kbabel/
+%{tde_datadir}/icons/hicolor/*/apps/catalogmanager.png
+%{tde_datadir}/icons/hicolor/*/apps/kbabel.png
+%{tde_datadir}/icons/hicolor/*/apps/kbabeldict.png
+%{tde_datadir}/icons/locolor/*/apps/catalogmanager.png
+%{tde_datadir}/icons/locolor/*/apps/kbabel.png
+%{tde_datadir}/icons/locolor/*/apps/kbabeldict.png
+%{tde_datadir}/services/dbsearchengine.desktop
+%{tde_datadir}/services/kfile_po.desktop
+%{tde_datadir}/services/pothumbnail.desktop
+%{tde_datadir}/services/kbabel_accelstool.desktop
+%{tde_datadir}/services/kbabel_argstool.desktop
+%{tde_datadir}/services/kbabel_contexttool.desktop
+%{tde_datadir}/services/kbabel_equationstool.desktop
+%{tde_datadir}/services/kbabel_gettext_export.desktop
+%{tde_datadir}/services/kbabel_gettext_import.desktop
+%{tde_datadir}/services/kbabel_lengthtool.desktop
+%{tde_datadir}/services/kbabel_linguist_export.desktop
+%{tde_datadir}/services/kbabel_linguist_import.desktop
+%{tde_datadir}/services/kbabel_nottranslatedtool.desktop
+%{tde_datadir}/services/kbabel_pluralformstool.desktop
+%{tde_datadir}/services/kbabel_punctuationtool.desktop
+%{tde_datadir}/services/kbabel_regexptool.desktop
+%{tde_datadir}/services/kbabel_setfuzzytool.desktop
+%{tde_datadir}/services/kbabel_whitespacetool.desktop
+%{tde_datadir}/services/kbabel_xliff_export.desktop
+%{tde_datadir}/services/kbabel_xliff_import.desktop
+%{tde_datadir}/services/kbabel_xmltool.desktop
+%{tde_datadir}/services/pocompendium.desktop
+%{tde_datadir}/services/poauxiliary.desktop
+%{tde_datadir}/services/tmxcompendium.desktop
+%{tde_datadir}/servicetypes/kbabel_tool.desktop
+%{tde_datadir}/servicetypes/kbabel_validator.desktop
+%{tde_datadir}/servicetypes/kbabeldict_module.desktop
+%{tde_datadir}/servicetypes/kbabelfilter.desktop
+
+%post -n trinity-kbabel
+/sbin/ldconfig || :
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbabel
+/sbin/ldconfig || :
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kbabel-devel
+Summary: PO-file editing suite for Trinity (development files)
+Group: Development/Libraries
+Requires: trinity-kbabel = %{version}-%{release}
+
+%description -n trinity-kbabel-devel
+This is a suite of programs for editing gettext message files (PO-files).
+It is designed to help you translate fast and consistently.
+
+This suite includes KBabel, CatalogManager and KBabelDict. KBabel is an
+advanced and easy to use PO-file editor with full navigational and editing
+capabilities, syntax checking and statistics. CatalogManager is a multi
+functional catalog manager which allows you to keep track of many
+PO-files at once. KBabelDict is a dictionary to assist with searching
+for common translations.
+
+This package contains the KBabel development files.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kbabel-devel
+%{tde_tdeincludedir}/kbabel/
+%{tde_libdir}/libkbabelcommon.la
+%{tde_libdir}/libkbabelcommon.so
+%{tde_libdir}/libkbabeldictplugin.la
+%{tde_libdir}/libkbabeldictplugin.so
+
+%post -n trinity-kbabel-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kbabel-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kbugbuster
+Summary: a front end for the Trinity bug tracking system
+Group: Development/Utilities
+
+%description -n trinity-kbugbuster
+KBugBuster is a GUI front end for the TDE bug tracking system.
+It allows the user to view and manipulate bug reports and provides a
+variety of options for searching through reports.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kbugbuster
+%{tde_bindir}/kbugbuster
+%{tde_tdelibdir}/kcal_bugzilla.la
+%{tde_tdelibdir}/kcal_bugzilla.so
+%{tde_tdeappdir}/kbugbuster.desktop
+%{tde_datadir}/apps/kbugbuster/
+%{tde_datadir}/icons/hicolor/*/apps/kbugbuster.png
+%{tde_datadir}/icons/locolor/*/apps/kbugbuster.png
+%{tde_datadir}/services/kresources/kcal/bugzilla.desktop
+%{tde_tdedocdir}/HTML/en/kbugbuster/
+
+%post -n trinity-kbugbuster
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kbugbuster
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-tdecachegrind
+Summary: visualisation tool for valgrind profiling output
+Group: Development/Utilities
+
+%description -n trinity-tdecachegrind
+KCachegrind is a visualisation tool for the profiling data generated
+by calltree, a profiling skin for valgrind. Applications can be
+profiled using calltree without being recompiled, and shared libraries
+and plugin architectures are supported.
+
+For visualising the output from other profiling tools, several converters
+can be found in the tdecachegrind-converters package.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-tdecachegrind
+%{tde_bindir}/kcachegrind
+%{tde_tdeappdir}/kcachegrind.desktop
+%{tde_datadir}/apps/kcachegrind/
+%{tde_datadir}/icons/locolor/*/apps/kcachegrind.png
+%{tde_datadir}/icons/hicolor/*/apps/kcachegrind.png
+%{tde_datadir}/mimelnk/application/x-kcachegrind.desktop
+%{tde_tdedocdir}/HTML/en/kcachegrind/
+
+%post -n trinity-tdecachegrind
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-tdecachegrind
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-tdecachegrind-converters
+Summary: format converters for KCachegrind profiling visualisation tool
+Group: Development/Utilities
+Requires: python
+%if 0%{?suse_version} || 0%{?rhel} == 4
+Requires: php
+%else
+Requires: php-cli
+%endif
+
+%description -n trinity-tdecachegrind-converters
+This is a collection of scripts for converting the output from
+different profiling tools into a format that KCachegrind can use.
+
+KCachegrind is a visualisation tool for the profiling data generated
+by calltree, a profiling skin for valgrind. Applications can be
+profiled using calltree without being recompiled, and shared libraries
+and plugin architectures are supported.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-tdecachegrind-converters
+%{tde_bindir}/dprof2calltree
+%{tde_bindir}/hotshot2calltree
+%{tde_bindir}/memprof2calltree
+%{tde_bindir}/op2calltree
+%{tde_bindir}/pprof2calltree
+
+##########
+
+%package kfile-plugins
+Summary: Trinity file dialog plugins for software development files
+Group: Environment/Libraries
+
+%description kfile-plugins
+This is a collection of plugins for the TDE file dialog. These plugins
+extend the file dialog to offer advanced meta-information for source files,
+patch files and Qt Linguist data.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files kfile-plugins
+%{tde_tdelibdir}/kfile_cpp.so
+%{tde_tdelibdir}/kfile_cpp.la
+%{tde_tdelibdir}/kfile_diff.so
+%{tde_tdelibdir}/kfile_diff.la
+%{tde_tdelibdir}/kfile_ts.so
+%{tde_tdelibdir}/kfile_ts.la
+%{tde_datadir}/services/kfile_cpp.desktop
+%{tde_datadir}/services/kfile_diff.desktop
+%{tde_datadir}/services/kfile_h.desktop
+%{tde_datadir}/services/kfile_ts.desktop
+
+##########
+
+%package misc
+Summary: various goodies from the Trinity Software Development Kit
+Group: Development/Libraries
+
+%description misc
+This package contains miscellaneous goodies provided with the official
+TDE release to assist with TDE software development.
+
+Included are:
+- headers to assist with profiling TDE code;
+- a widget style for checking conformity with the TDE/Qt style guide;
+- palettes that match the KDE standard colour palette;
+- a TDE address book plugin that reads the list of TDE CVS accounts.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files misc
+%{tde_tdeincludedir}/kprofilemethod.h
+%{tde_tdelibdir}/kabcformat_kdeaccounts.la
+%{tde_tdelibdir}/kabcformat_kdeaccounts.so
+%{tde_tdelibdir}/scheck.so
+%{tde_tdelibdir}/scheck.la
+%{tde_datadir}/apps/kabc/formats/kdeaccountsplugin.desktop
+%{tde_datadir}/apps/kstyle/themes/scheck.themerc
+%{tde_datadir}/kdepalettes/
+
+%{tde_libdir}/libkstartperf.so.*
+%{tde_libdir}/libkstartperf.so
+%{tde_libdir}/libkstartperf.la
+%{tde_bindir}/kstartperf
+
+%post misc
+/sbin/ldconfig || :
+
+%postun misc
+/sbin/ldconfig || :
+
+##########
+
+%package scripts
+Summary: a set of useful development scripts for Trinity
+Group: Development/Utilities
+Requires: python
+
+%description scripts
+This package contains a number of scripts which can be used to help in
+developing TDE-based applications. Many of these scripts however are
+not specific to TDE, and in particular there are several general-use
+scripts to help users in working with SVN and CVS repositories.
+
+In addition to these scripts, this package provides:
+- gdb macros for Qt/TDE programming;
+- vim and emacs helper files for Qt/TDE programming;
+- bash and zsh completion controls for TDE apps;
+- valgrind error suppressions for TDE apps.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files scripts
+%{tde_bindir}/adddebug
+%{tde_bindir}/build-progress.sh
+%{tde_bindir}/cheatmake
+%{tde_bindir}/create_cvsignore
+%{tde_bindir}/create_makefile
+%{tde_bindir}/create_makefiles
+%{tde_bindir}/cvs-clean
+%{tde_bindir}/cvs2dist
+%{tde_bindir}/cvsbackport
+%{tde_bindir}/cvsblame
+%{tde_bindir}/cvscheck
+%{tde_bindir}/cvsforwardport
+%{tde_bindir}/cvslastchange
+%{tde_bindir}/cvslastlog
+%{tde_bindir}/cvsrevertlast
+%{tde_bindir}/cvsversion
+%{tde_bindir}/cxxmetric
+%{tde_bindir}/extend_dmalloc
+%{tde_bindir}/extractattr
+%{tde_bindir}/extractrc
+%{tde_bindir}/findmissingcrystal
+%{tde_bindir}/fixkdeincludes
+%{tde_bindir}/fixuifiles
+%{tde_bindir}/includemocs
+%{tde_bindir}/kde-build
+%{tde_bindir}/kdedoc
+%{tde_bindir}/kdekillall
+%{tde_bindir}/kdelnk2desktop.py*
+%{tde_bindir}/kdemangen.pl
+%{tde_bindir}/makeobj
+%{tde_bindir}/noncvslist
+%{tde_bindir}/package_crystalsvg
+%{tde_bindir}/png2mng.pl
+%{tde_bindir}/pruneemptydirs
+%{tde_bindir}/qtdoc
+%{tde_bindir}/zonetab2pot.py*
+%{tde_bindir}/svn2dist
+%{tde_bindir}/svnrevertlast
+%{tde_bindir}/svnforwardport
+%{tde_bindir}/nonsvnlist
+%{tde_bindir}/[kt]desvn-build
+%{tde_bindir}/svnlastlog
+%{tde_bindir}/svnversions
+%{tde_bindir}/create_svnignore
+%{tde_bindir}/svnlastchange
+%{tde_bindir}/colorsvn
+%{tde_bindir}/svnaddcurrentdir
+%{tde_bindir}/svnbackport
+%{tde_bindir}/svngettags
+%{tde_bindir}/svnchangesince
+%{tde_bindir}/svn-clean
+%{tde_datadir}/apps/katepart/syntax/[kt]desvn-buildrc.xml
+%{tde_mandir}/man1/cvsblame.1
+%{tde_mandir}/man1/cvscheck.1
+%{tde_mandir}/man1/cvsversion.1
+%{tde_mandir}/man1/kde-build.1
+%{tde_mandir}/man1/includemocs.1
+%{tde_mandir}/man1/noncvslist.1
+%{tde_mandir}/man1/[kt]desvn-build.1
+%{tde_tdedocdir}/HTML/en/[kt]desvn-build/
+#scripts/kde-devel-gdb /opt/trinity/share/tdesdk-scripts
+#scripts/kde-devel-vim.vim /opt/trinity/share/tdesdk-scripts
+#scripts/kde-emacs/*.el /opt/trinity/share/emacs/site-lisp/tdesdk-scripts
+#scripts/kde.supp /opt/trinity/lib/valgrind
+#scripts/completions /opt/trinity/share/tdesdk-scripts
+
+#debian/desktop-i18n/createdesktop.pl /opt/trinity/lib/kubuntu-desktop-i18n/
+#debian/desktop-i18n/findfiles /opt/trinity/lib/kubuntu-desktop-i18n/
+#debian/desktop-i18n/msgsplit /opt/trinity/lib/kubuntu-desktop-i18n/
+
+%if "%{?tde_prefix}" != "/usr"
+%{tde_bindir}/licensecheck
+%else
+%exclude %{tde_bindir}/licensecheck
+%endif
+
+##########
+
+%package -n trinity-kmtrace
+Summary: a Trinity memory leak tracer
+Group: Development/Utilities
+Requires: less
+
+%description -n trinity-kmtrace
+KMtrace is a TDE tool to assist with malloc debugging using glibc's
+"mtrace" functionality.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kmtrace
+%{tde_bindir}/demangle
+%{tde_bindir}/kminspector
+%{tde_bindir}/kmmatch
+%{tde_bindir}/kmtrace
+#%{tde_tdeincludedir}/ktrace.h
+%{tde_libdir}/kmtrace/libktrace.la
+%{tde_libdir}/kmtrace/libktrace.so
+%{tde_libdir}/libktrace_s.a
+%{tde_datadir}/apps/kmtrace/kde.excludes
+
+##########
+
+%package -n trinity-kompare
+Summary: a Trinity GUI for viewing differences between files
+Group: Development/Utilities
+
+%description -n trinity-kompare
+Kompare is a graphical user interface for viewing the differences between
+files. It can compare two documents, create a diff file, display a diff
+file and/or blend a diff file back into the original documents.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kompare
+%{tde_bindir}/kompare
+%{tde_libdir}/libkompareinterface.la
+%{tde_libdir}/libkompareinterface.so
+#%{tde_libdir}/libkompareinterface.so.*
+%{tde_tdelibdir}/libkomparenavtreepart.la
+%{tde_tdelibdir}/libkomparenavtreepart.so
+%{tde_tdelibdir}/libkomparepart.la
+%{tde_tdelibdir}/libkomparepart.so
+%{tde_tdeappdir}/kompare.desktop
+%{tde_datadir}/apps/kompare/komparepartui.rc
+%{tde_datadir}/apps/kompare/kompareui.rc
+%{tde_datadir}/services/komparenavtreepart.desktop
+%{tde_datadir}/services/komparepart.desktop
+%{tde_datadir}/servicetypes/komparenavigationpart.desktop
+%{tde_datadir}/servicetypes/kompareviewpart.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kompare.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kompare.svgz
+%{tde_tdedocdir}/HTML/en/kompare/
+
+%post -n trinity-kompare
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kompare
+/sbin/ldconfig || :
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kspy
+Summary: examines the internal state of a Qt/TDE app
+Group: Environment/Libraries
+Requires: trinity-tdelibs-devel
+
+%description -n trinity-kspy
+KSpy is a tiny library which can be used to graphically display
+the QObjects in use by a Qt/TDE app. In addition to the object tree,
+you can also view the properties, signals and slots of any QObject.
+
+Basically it provides much the same info as QObject::dumpObjectTree() and
+QObject::dumpObjectInfo(), but in a much more convenient form. KSpy has
+minimal overhead for the application, because the kspy library is
+loaded dynamically using KLibLoader.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kspy
+%{tde_tdeincludedir}/kspy.h
+%{tde_libdir}/libkspy.la
+%{tde_libdir}/libkspy.so
+%{tde_libdir}/libkspy.so.*
+
+%post -n trinity-kspy
+/sbin/ldconfig || :
+
+%postun -n trinity-kspy
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kuiviewer
+Summary: viewer for Qt Designer user interface files
+Group: Development/Utilities
+
+%description -n trinity-kuiviewer
+KUIViewer is a utility to display and test the user interface (.ui) files
+generated by Qt Designer. The interfaces can be displayed in a variety of
+different widget styles.
+
+The Qt Designer itself is in the package qt3-designer.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kuiviewer
+%{tde_bindir}/kuiviewer
+%{tde_tdelibdir}/libkuiviewerpart.so
+%{tde_tdelibdir}/libkuiviewerpart.la
+%{tde_tdelibdir}/quithumbnail.so
+%{tde_tdelibdir}/quithumbnail.la
+%{tde_tdeappdir}/kuiviewer.desktop
+%{tde_datadir}/apps/kuiviewer/kuiviewerui.rc
+%{tde_datadir}/apps/kuiviewerpart/kuiviewer_part.rc
+%{tde_datadir}/icons/hicolor/*/apps/kuiviewer.png
+%{tde_datadir}/icons/locolor/*/apps/kuiviewer.png
+%{tde_datadir}/services/designerthumbnail.desktop
+%{tde_datadir}/services/kuiviewer_part.desktop
+
+%post -n trinity-kuiviewer
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+%postun -n trinity-kuiviewer
+for f in crystalsvg hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-libcvsservice0
+Summary: DCOP service for accessing CVS repositories
+Group: Environment/Libraries
+Requires: cvs
+
+%description -n trinity-libcvsservice0
+This library provides a DCOP service for accessing and working with
+remote CVS repositories. Applications may link with this library to
+access the DCOP service directly from C++. Alternatively, scripts may
+access the service using the standard "dcop" command-line tool.
+
+DCOP is the Desktop Communication Protocol used throughout TDE.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-libcvsservice0
+%{tde_bindir}/cvsaskpass
+%{tde_bindir}/cvsservice
+%{tde_libdir}/libcvsservice.so.*
+%{tde_libdir}/lib[kt]deinit_cvsaskpass.so
+%{tde_libdir}/lib[kt]deinit_cvsservice.so
+%{tde_tdelibdir}/cvsaskpass.la
+%{tde_tdelibdir}/cvsaskpass.so
+%{tde_tdelibdir}/cvsservice.la
+%{tde_tdelibdir}/cvsservice.so
+%{tde_datadir}/services/cvsservice.desktop
+
+%post -n trinity-libcvsservice0
+/sbin/ldconfig || :
+
+%postun -n trinity-libcvsservice0
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-libcvsservice-devel
+Summary: development files for CVS DCOP service
+Group: Development/Libraries
+Requires: trinity-libcvsservice0 = %{version}-%{release}
+
+%description -n trinity-libcvsservice-devel
+The library libcvsservice provides a DCOP service for accessing and
+working with remote CVS repositories. Applications may link with this
+library to access the DCOP service directly from C++. Alternatively,
+scripts may access the service using the standard "dcop" command-line
+tool.
+
+Development files for libcvsservice are included in this package.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-libcvsservice-devel
+%{tde_tdeincludedir}/cvsjob_stub.h
+%{tde_tdeincludedir}/cvsservice_stub.h
+%{tde_tdeincludedir}/repository_stub.h
+%{tde_libdir}/libcvsservice.la
+%{tde_libdir}/libcvsservice.so
+%{tde_libdir}/lib[kt]deinit_cvsaskpass.la
+%{tde_libdir}/lib[kt]deinit_cvsservice.la
+%{tde_datadir}/cmake/cervisia.cmake
+
+%post -n trinity-libcvsservice-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-libcvsservice-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-poxml
+Summary: tools for using PO-files to translate DocBook XML files
+Group: Development/Utilities
+
+%description -n trinity-poxml
+This is a collection of tools that facilitate translating DocBook XML
+files using gettext message files (PO-files).
+
+Also included are some miscellaneous command-line utilities for
+manipulating DocBook XML files, PO-files and PO-template files.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-poxml
+%{tde_bindir}/po2xml
+%{tde_bindir}/split2po
+%{tde_bindir}/swappo
+%{tde_bindir}/transxx
+%{tde_bindir}/xml2pot
+
+##########
+
+%package -n trinity-umbrello
+Summary: UML modelling tool and code generator
+Group: Development/Utilities
+
+%description -n trinity-umbrello
+Umbrello UML Modeller is a Unified Modelling Language editor for TDE.
+With UML you can create diagrams of software and other systems in an
+industry standard format. Umbrello can also generate code from your
+UML diagrams in a number of programming languages.
+
+The program supports class diagrams, sequence diagrams, collaboration
+diagrams, use case diagrams, state diagrams, activity diagrams, component
+diagrams and deployment diagrams.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-umbrello
+%{tde_bindir}/umbodoc
+%{tde_bindir}/umbrello
+%{tde_tdeappdir}/umbrello.desktop
+%{tde_datadir}/apps/umbrello/
+%{tde_datadir}/icons/crystalsvg/*/actions/umbrello_*.png
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/umbrellofile.png
+%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/umbrellofile.svgz
+%{tde_datadir}/icons/hicolor/*/apps/umbrello.png
+%{tde_datadir}/icons/hicolor/scalable/apps/umbrello.svgz
+%{tde_datadir}/icons/hicolor/*/mimetypes/umbrellofile.png
+%{tde_datadir}/mimelnk/application/x-umbrello.desktop
+%{tde_tdedocdir}/HTML/en/umbrello/
+
+%post -n trinity-umbrello
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-umbrello
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%if 0%{?build_kioslave}
+
+%package kio-plugins
+Summary: subversion ioslave for Trinity
+Group: Environment/Libraries
+Requires: subversion
+
+%description kio-plugins
+This package provides easy access to remote SVN repositories from within
+Konqueror, and TDE generally, by browsing them as if they were a
+filesystem, using URLs like svn://hostname/path, or svn+ssh://, etc.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files kio-plugins
+%{tde_bindir}/kio_svn_helper
+%{tde_tdelibdir}/kded_ksvnd.la
+%{tde_tdelibdir}/kded_ksvnd.so
+%{tde_tdelibdir}/kio_svn.la
+%{tde_tdelibdir}/kio_svn.so
+%{tde_datadir}/apps/konqueror/servicemenus/subversion_toplevel.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/subversion.desktop
+%{tde_datadir}/services/kded/ksvnd.desktop
+%{tde_datadir}/services/svn+file.protocol_tdesdk
+%{tde_datadir}/services/svn+http.protocol_tdesdk
+%{tde_datadir}/services/svn+https.protocol_tdesdk
+%{tde_datadir}/services/svn+ssh.protocol_tdesdk
+%{tde_datadir}/services/svn.protocol_tdesdk
+%{tde_datadir}/services/svn+file.protocol
+%{tde_datadir}/services/svn+http.protocol
+%{tde_datadir}/services/svn+https.protocol
+%{tde_datadir}/services/svn+ssh.protocol
+%{tde_datadir}/services/svn.protocol
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_switch.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_merge.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_branch.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_remove.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_add.png
+%{tde_datadir}/icons/crystalsvg/*/actions/svn_status.png
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_add.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_status.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_remove.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_switch.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_branch.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/actions/svn_merge.svgz
+
+%post kio-plugins
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+for proto in svn+file svn+http svn+https svn+ssh svn; do
+%if 0%{?suse_version}
+ update-alternatives --install \
+%else
+ alternatives --install \
+%endif
+ %{tde_datadir}/services/${proto}.protocol \
+ ${proto}.protocol \
+ %{tde_datadir}/services/${proto}.protocol_tdesdk \
+ 10
+done
+
+%postun kio-plugins
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+%preun kio-plugins
+if [ $1 -eq 0 ]; then
+ for proto in svn+file svn+http svn+https svn+ssh svn; do
+%if 0%{?suse_version}
+ update-alternatives --remove \
+%else
+ alternatives --remove \
+%endif
+ ${proto}.protocol \
+ %{tde_datadir}/services/${proto}.protocol_tdesdk
+ done
+fi
+
+%endif
+
+##########
+
+%package -n trinity-kunittest
+Summary: unit testing library for Trinity
+Group: Development/Utilities
+
+%description -n trinity-kunittest
+KUnitTest is a small library that facilitates the writing of tests for
+TDE developers. There are two ways to use the KUnitTest library. One is
+to create dynamically loadable modules and use the kunittestmodrunner or
+kunittestguimodrunner programs to run the tests. The other is to use the
+libraries to create your own testing application.
+
+This package is part of Trinity, and a component of the TDE SDK module.
+
+%files -n trinity-kunittest
+%{tde_bindir}/kunittest
+%{tde_bindir}/kunittest_debughelper
+%{tde_bindir}/kunittestmod
+%{tde_bindir}/kunittestguimodrunner
+%{tde_libdir}/libkunittestgui.la
+%{tde_libdir}/libkunittestgui.so
+#%{tde_libdir}/libkunittestgui.so.*
+%{tde_tdeincludedir}/kunittest/runnergui.h
+
+%post -n trinity-kunittest
+/sbin/ldconfig || :
+
+%postun -n trinity-kunittest
+/sbin/ldconfig || :
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-kbabel-devel = %{version}-%{release}
+
+Obsoletes: trinity-kdesdk-devel < %{version}-%{release}
+Provides: trinity-kdesdk-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+
+##########
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
+
+%prep
+%setup -q -n kdesdk-3.5.13.1
+%patch4 -p1 -b .ftbfs
+%patch5 -p1 -b .svn
+%patch6 -p1 -b .cmake
+%patch7 -p1
+%patch8 -p1 -b .flex
+
+
+%build
+unset QTDIR || :; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LD_LIBRARY_PATH="%{tde_libdir}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+
+%cmake \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DMAN_INSTALL_DIR=%{tde_mandir}/man1 \
+ -DPKGCONFIG_INSTALL_DIR=%{tde_tdelibdir}/pkgconfig \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DWITH_DBSEARCHENGINE=ON \
+ -DWITH_KCAL=ON \
+ -DBUILD_ALL=ON \
+ %{!?build_kioslave:-DBUILD_KIOSLAVE=OFF} \
+ ..
+
+%__make %{?_smp_mflags} || %__make
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+
+%__make install DESTDIR=%{?buildroot} -C build
+
+# make symlinks relative
+if [ -d %{buildroot}%{tde_tdedocdir}/HTML/en ]; then
+ pushd %{buildroot}%{tde_tdedocdir}/HTML/en
+ for i in *; do
+ if [ -d $i -a -L $i/common ]; then
+ rm -f $i/common
+ ln -nfs ../common $i
+ fi
+ done
+ popd
+fi
+
+# Installs kdepalettes
+%__install -D -m 644 kdepalettes/kde_xpaintrc %{?buildroot}%{tde_datadir}/kdepalettes
+%__install -D -m 644 kdepalettes/KDE_Gimp %{?buildroot}%{tde_datadir}/kdepalettes
+%__install -D -m 644 kdepalettes/README %{?buildroot}%{tde_datadir}/kdepalettes
+
+# Installs SVN protocols as alternatives
+%if 0%{?build_kioslave}
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol_tdesdk
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol_tdesdk
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol_tdesdk
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol_tdesdk
+%__mv -f %{?buildroot}%{tde_datadir}/services/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol_tdesdk
+%__ln_s /etc/alternatives/svn+file.protocol %{?buildroot}%{tde_datadir}/services/svn+file.protocol
+%__ln_s /etc/alternatives/svn+http.protocol %{?buildroot}%{tde_datadir}/services/svn+http.protocol
+%__ln_s /etc/alternatives/svn+https.protocol %{?buildroot}%{tde_datadir}/services/svn+https.protocol
+%__ln_s /etc/alternatives/svn+ssh.protocol %{?buildroot}%{tde_datadir}/services/svn+ssh.protocol
+%__ln_s /etc/alternatives/svn.protocol %{?buildroot}%{tde_datadir}/services/svn.protocol
+%endif
+
+%clean
+%__rm -rf %{buildroot}
+
+
+# trick to replace a dir by a symlink -- Rex
+%pre
+if [ $1 -gt 0 -a ! -L %{_docdir}/HTML/en/cervisia/common ]; then
+ rm -rf %{tde_tdedocdir}/HTML/en/cervisia/common ||:
+fi
+
+
+
+%changelog
+* Sun Sep 30 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/kdesdk/trinity-kdesdk-3.5.13.spec b/redhat/kdesdk/trinity-kdesdk-3.5.13.spec
index b28a83ac8..6b096fdb9 100644
--- a/redhat/kdesdk/trinity-kdesdk-3.5.13.spec
+++ b/redhat/kdesdk/trinity-kdesdk-3.5.13.spec
@@ -1040,7 +1040,7 @@ Provides: trinity-kdesdk-devel = %{version}-%{release}
%patch5 -p1 -b .svn
%build
-unset QTDIR || :; . /etc/profile.d/qt.sh
+unset QTDIR || :; . /etc/profile.d/qt3.sh
export PATH="%{tde_bindir}:${PATH}"
export LD_LIBRARY_PATH="%{tde_libdir}"
export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
diff --git a/redhat/kdetoys/trinity-kdetoys-3.5.13.1.spec b/redhat/kdetoys/trinity-kdetoys-3.5.13.1.spec
new file mode 100644
index 000000000..a758dc61d
--- /dev/null
+++ b/redhat/kdetoys/trinity-kdetoys-3.5.13.1.spec
@@ -0,0 +1,450 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Summary: Trinity Desktop Environment - Toys and Amusements
+Name: trinity-tdetoys
+Group: Amusements/Graphics
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2+
+Source0: kdetoys-3.5.13.1.tar.gz
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: desktop-file-utils
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: gettext
+
+Obsoletes: trinity-kdetoys < %{version}-%{release}
+Provides: trinity-kdetoys = %{version}-%{release}
+
+# Metapackage
+Requires: trinity-amor = %{version}-%{release}
+Requires: trinity-eyesapplet = %{version}-%{release}
+Requires: trinity-fifteenapplet = %{version}-%{release}
+Requires: trinity-kmoon = %{version}-%{release}
+Requires: trinity-kodo = %{version}-%{release}
+Requires: trinity-kteatime = %{version}-%{release}
+Requires: trinity-ktux = %{version}-%{release}
+Requires: trinity-kweather = %{version}-%{release}
+Requires: trinity-kworldclock = %{version}-%{release}
+
+
+%description
+Includes:
+* amor: Amusing Misuse Of Resources put's comic figures above your windows
+* eyesapplet: a kicker applet similar to XEyes
+* fifteenapplet: kicker applet, order 15 pieces in a 4x4 square by moving them
+* kmoon: system tray applet showing the moon phase
+* kodo: mouse movement meter
+* kteatime: system tray applet that makes sure your tea doesn't get too strong
+* ktux: Tux-in-a-Spaceship screen saver
+* kweather: kicker applet that will display the current weather outside
+* kworldwatch: application and kicker applet showing daylight area on the world
+ globe
+
+NOTE: kicker applets and screen savers require kdebase to be installed,
+and user to be logged-in to TDE.
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING README
+
+##########
+
+%package -n trinity-amor
+Summary: a Trinity creature for your desktop
+Group: Amusements/Graphics
+
+%description -n trinity-amor
+AMOR stands for Amusing Misuse Of Resources. It provides several different
+characters who prance around your X screen doing tricks and giving you tips.
+
+Note that AMOR will only work with some window managers. Both KWin (the
+KDE window manager) and Metacity (a GTK2 window manager) are supported.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-amor
+%defattr(-,root,root,-)
+%{tde_bindir}/amor
+%{tde_datadir}/apps/amor/
+%{tde_tdeappdir}/amor.desktop
+%{tde_datadir}/icons/hicolor/*/apps/amor.png
+%{tde_tdedocdir}/HTML/en/amor/
+%doc AUTHORS COPYING README
+
+%post -n trinity-amor
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-amor
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-eyesapplet
+Summary: eyes applet for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-eyesapplet
+An applet for the KDE panel containing a pair of eyes that follow your mouse
+around the screen.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-eyesapplet
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/eyes_panelapplet.la
+%{tde_tdelibdir}/eyes_panelapplet.so
+%{tde_datadir}/apps/kicker/applets/eyesapplet.desktop
+%doc AUTHORS COPYING README
+
+##########
+
+%package -n trinity-fifteenapplet
+Summary: fifteen pieces puzzle for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-fifteenapplet
+An applet for the KDE panel that lets you play the Fifteen Pieces
+sliding block puzzle. You have to order 15 pieces in a 4x4 square by
+moving them around.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-fifteenapplet
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/fifteen_panelapplet.la
+%{tde_tdelibdir}/fifteen_panelapplet.so
+%{tde_datadir}/apps/kicker/applets/kfifteenapplet.desktop
+%doc AUTHORS COPYING README
+
+##########
+
+%package -n trinity-kmoon
+Summary: moon phase indicator for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-kmoon
+An applet for the KDE panel that displays the current phase of the moon.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-kmoon
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kmoon_panelapplet.la
+%{tde_tdelibdir}/kmoon_panelapplet.so
+%{tde_datadir}/apps/kicker/applets/kmoonapplet.desktop
+%{tde_datadir}/apps/kmoon/
+%{tde_datadir}/icons/hicolor/*/apps/kmoon.png
+%{tde_tdedocdir}/HTML/en/kmoon/
+%doc AUTHORS COPYING README
+
+%post -n trinity-kmoon
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+
+%postun
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+
+##########
+
+%package -n trinity-kodo
+Summary: mouse odometer for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-kodo
+KOdometer measures your desktop mileage. It tracks the movement of your mouse
+pointer across your desktop and renders it in inches/feet/miles! It can
+do cm/metres/km too. Its most exciting feature is the tripometer.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-kodo
+%defattr(-,root,root,-)
+%{tde_bindir}/kodo
+%{tde_tdeappdir}/kodo.desktop
+%{tde_datadir}/apps/kodo/numbers.png
+%{tde_datadir}/icons/hicolor/*/apps/kodo.png
+%{tde_tdedocdir}/HTML/en/kodo/
+%doc AUTHORS COPYING README
+
+%post -n trinity-kodo
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kodo
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kteatime
+Summary: Trinity utility for making a fine cup of tea
+Group: Amusements/Graphics
+
+%description -n trinity-kteatime
+KTeaTime is a handy timer for steeping tea. No longer will you have to
+guess at how long it takes for your tea to be ready. Simply select the
+type of tea you have, and it will alert you when the tea is ready to
+drink.
+
+KTeaTime sits in the Trinity system tray.
+
+Please note that KTeaTime is written explicitly for Trinity. If you are
+using a non-KDE window manager or desktop environment then it is quite
+possible that KTeaTime will not work on your system.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-kteatime
+%defattr(-,root,root,-)
+%{tde_bindir}/kteatime
+%{tde_tdeappdir}/kteatime.desktop
+%{tde_datadir}/apps/kteatime/
+%{tde_datadir}/icons/hicolor/*/apps/kteatime.png
+%{tde_tdedocdir}/HTML/en/kteatime/
+%doc AUTHORS COPYING README
+
+%post -n trinity-kteatime
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kteatime
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ktux
+Summary: Tux screensaver for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-ktux
+A neat Tux-in-a-spaceship screensaver for the K Desktop Environment (KDE).
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-ktux
+%defattr(-,root,root,-)
+%{tde_bindir}/ktux
+%{tde_datadir}/apps/ktux/
+%{tde_datadir}/applnk/System/ScreenSavers/ktux.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ktux.png
+%doc AUTHORS COPYING README
+
+%post -n trinity-ktux
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+
+%postun -n trinity-ktux
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+
+##########
+
+%package -n trinity-kweather
+Summary: weather display applet for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-kweather
+An applet for the KDE panel that displays your area's current weather.
+Information shown includes the temperature, wind speed, air pressure
+and more. By pressing a button a full weather report can be obtained.
+
+KWeather also provides a weather service that can track multiple weather
+stations and provide this information to other applications, including
+Konqueror's sidebar and Kontact's summary page.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-kweather
+%defattr(-,root,root,-)
+%{tde_bindir}/kweatherservice
+%{tde_bindir}/kweatherreport
+%{tde_libdir}/lib[kt]deinit_kweatherreport.so
+%{tde_libdir}/lib[kt]deinit_kweatherreport.la
+%{tde_tdelibdir}/kcm_weather.so
+%{tde_tdelibdir}/kcm_weather.la
+%{tde_tdelibdir}/kcm_weatherservice.so
+%{tde_tdelibdir}/kcm_weatherservice.la
+%{tde_tdelibdir}/kweatherreport.so
+%{tde_tdelibdir}/kweatherreport.la
+%{tde_tdelibdir}/weather_panelapplet.la
+%{tde_tdelibdir}/weather_panelapplet.so
+%{tde_datadir}/apps/kicker/applets/kweather.desktop
+%{tde_datadir}/apps/kweather/
+%{tde_datadir}/apps/kweatherservice/stations.dat
+%{tde_datadir}/apps/kweatherservice/weather_stations.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kweather.png
+%{tde_datadir}/services/kweatherservice.desktop
+%{tde_datadir}/services/kcmweather.desktop
+%{tde_datadir}/services/kcmweatherservice.desktop
+%{tde_tdedocdir}/HTML/en/kweather/
+%doc AUTHORS COPYING README
+
+%post -n trinity-kweather
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kweather
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kworldclock
+Summary: earth watcher for Trinity
+Group: Amusements/Graphics
+
+%description -n trinity-kworldclock
+Displays where in the world it is light and dark depending on time, as
+well as offering the time in all of the major cities of the world.
+This can be run standalone, as an applet in the KDE panel or as a
+desktop background.
+
+Additional kworldclock themes are available in the tdeartwork-misc package.
+
+This package is part of Trinity, and a component of the TDE toys module.
+
+%files -n trinity-kworldclock
+%defattr(-,root,root,-)
+%{tde_bindir}/kworldclock
+%{tde_tdelibdir}/ww_panelapplet.la
+%{tde_tdelibdir}/ww_panelapplet.so
+%{tde_tdeappdir}/kworldclock.desktop
+%{tde_datadir}/apps/kdesktop/programs/kdeworld.desktop
+%{tde_datadir}/apps/kicker/applets/kwwapplet.desktop
+%{tde_datadir}/apps/kworldclock/
+%{tde_datadir}/icons/hicolor/*/apps/kworldclock.png
+%{tde_tdedocdir}/HTML/en/kworldclock/
+%doc AUTHORS COPYING README
+
+%post -n trinity-kworldclock
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kworldclock
+touch --no-create %{tde_datadir}/icons/hicolor ||:
+gtk-update-icon-cache -q %{tde_datadir}/icons/hicolor 2> /dev/null ||:
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n kdetoys-3.5.13.1
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i admin/acinclude.m4.in \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+export KDEDIR=%{tde_prefix}
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --enable-new-ldflags \
+ --enable-closure \
+ --disable-debug --disable-warnings \
+ --disable-dependency-tracking --enable-final \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf "%{buildroot}"
+%__make install DESTDIR=%{buildroot}
+
+# replace absolute symlink with relative
+ln -nfs tips-en %{buildroot}%{tde_datadir}/apps/amor/tips
+
+## File lists
+# HTML (1.0)
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && ln -nsf ../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# Useless include file from Amor
+%__rm -f %{buildroot}%{tde_tdeincludedir}/AmorIface.h
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Sun Sep 30 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/kdeutils/trinity-kdeutils-3.5.13.1.spec b/redhat/kdeutils/trinity-kdeutils-3.5.13.1.spec
new file mode 100755
index 000000000..e249762ae
--- /dev/null
+++ b/redhat/kdeutils/trinity-kdeutils-3.5.13.1.spec
@@ -0,0 +1,1038 @@
+# Avoids relinking, which breaks consolehelper
+%define dont_relink 1
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_sbindir %{tde_prefix}/sbin
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-tdeutils
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+License: GPL
+Summary: TDE Utilities
+Group: Applications/System
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: kdeutils-3.5.13.1.tar.gz
+Source1: klaptop_acpi_helper.pam
+Source2: klaptop_acpi_helper.console
+Source3: kcmlaptoprc
+
+Obsoletes: trinity-kdeutils < %{version}-%{release}
+Provides: trinity-kdeutils = %{version}-%{release}
+Obsoletes: trinity-kdeutils-extras < %{version}-%{release}
+Provides: trinity-kdeutils-extras = %{version}-%{release}
+Obsoletes: tdeutils < %{version}-%{release}
+Provides: tdeutils = %{version}-%{release}
+
+# RedHat / Fedora legacy patches
+Patch1: kdf-3.0.2-label.patch
+
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: autoconf automake libtool m4
+BuildRequires: gettext
+BuildRequires: net-snmp-devel
+BuildRequires: python-devel
+BuildRequires: gmp-devel
+
+%if 0%{?fedora} >= 5 || 0%{?rhel} >= 5
+BuildRequires: libXScrnSaver-devel
+BuildRequires: libXtst-devel
+%endif
+
+%if 0%{?fedora}
+BuildRequires: xmms-devel
+%endif
+
+Requires: trinity-ark = %{version}-%{release}
+Requires: trinity-kcalc = %{version}-%{release}
+Requires: trinity-kcharselect = %{version}-%{release}
+Requires: trinity-kdelirc = %{version}-%{release}
+Requires: trinity-kdessh = %{version}-%{release}
+Requires: trinity-kdf = %{version}-%{release}
+Requires: trinity-kedit = %{version}-%{release}
+Requires: trinity-kfloppy = %{version}-%{release}
+Requires: trinity-kgpg = %{version}-%{release}
+Requires: trinity-khexedit = %{version}-%{release}
+Requires: trinity-kjots = %{version}-%{release}
+Requires: trinity-klaptopdaemon = %{version}-%{release}
+Requires: trinity-kmilo = %{version}-%{release}
+Requires: trinity-kmilo-legacy = %{version}-%{release}
+Requires: trinity-kregexpeditor = %{version}-%{release}
+Requires: trinity-ksim = %{version}-%{release}
+Requires: trinity-ktimer = %{version}-%{release}
+Requires: trinity-kwalletmanager = %{version}-%{release}
+Requires: trinity-superkaramba = %{version}-%{release}
+
+%files
+
+
+%description
+Utilities for the Trinity Desktop Environment, including:
+ * ark (tar/gzip archive manager)
+ * kcalc (scientific calculator)
+ * kcharselect (character selector)
+ * kdepasswd (change password)
+ * kdessh (ssh front end)
+ * kdf (view disk usage)
+ * kedit (simple text editor)
+ * kfloppy (floppy formatting tool)
+ * kgpg (gpg gui)
+ * khexedit (hex editor)
+ * kjots (note taker)
+ * klaptopdaemon (battery monitoring and management for laptops);
+ * kmilo
+ * kregexpeditor (regular expression editor)
+ * ksim (system information monitor);
+ * ktimer (task scheduler)
+ * kwikdisk (removable media utility)
+
+##########
+
+%package -n trinity-ark
+Summary: graphical archiving tool for Trinity
+Group: Applications/Utilities
+#Requires: ncompress
+Requires: unzip
+Requires: zip
+#Requires: zoo
+Requires: bzip2
+#Requires: p7zip
+Requires: xz
+Requires: lzma
+#Requires: rar, unrar
+
+%description -n trinity-ark
+Ark is a graphical program for managing various archive formats within the
+TDE environment. Archives can be viewed, extracted, created and modified
+from within Ark.
+
+The program can handle various formats such as tar, gzip, bzip2, zip, rar and
+lha (if appropriate command-line programs are installed).
+
+Ark can work closely with Konqueror in the KDE environment to handle archives,
+if you install the Konqueror Integration plugin available in the konq-plugins
+package.
+
+%files -n trinity-ark
+%defattr(-,root,root,-)
+%{tde_bindir}/ark
+%{tde_tdelibdir}/ark.la
+%{tde_tdelibdir}/ark.so
+%{tde_tdelibdir}/libarkpart.la
+%{tde_tdelibdir}/libarkpart.so
+%{tde_libdir}/lib[kt]deinit_ark.so
+%{tde_tdeappdir}/ark.desktop
+%{tde_datadir}/apps/ark/
+%{tde_datadir}/config.kcfg/ark.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/ark.png
+%{tde_datadir}/icons/hicolor/scalable/apps/ark.svgz
+%{tde_datadir}/services/ark_part.desktop
+%{tde_tdedocdir}/HTML/en/ark/
+
+%post -n trinity-ark
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ark
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kcalc
+Summary: calculator for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kcalc
+KCalc is TDE's scientific calculator.
+
+It provides:
+* trigonometric functions, logic operations, and statistical calculations
+* easy cut and paste of numbers from/into its display
+* a results-stack which lets you conveniently recall previous results
+* configurable precision, and number of digits after the period
+
+%files -n trinity-kcalc
+%defattr(-,root,root,-)
+%{tde_bindir}/kcalc
+%{tde_tdelibdir}/kcalc.la
+%{tde_tdelibdir}/kcalc.so
+%{tde_libdir}/lib[kt]deinit_kcalc.so
+%{tde_tdeappdir}/kcalc.desktop
+%{tde_datadir}/apps/kcalc/
+%{tde_datadir}/apps/kconf_update/kcalcrc.upd
+%{tde_datadir}/config.kcfg/kcalc.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kcalc.png
+%{tde_datadir}/icons/hicolor/scalable/apps/kcalc.svgz
+%{tde_tdedocdir}/HTML/en/kcalc/
+
+%post -n trinity-kcalc
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kcalc
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kcharselect
+Summary: character selector for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kcharselect
+A character set selector for TDE.
+
+%files -n trinity-kcharselect
+%defattr(-,root,root,-)
+%{tde_bindir}/kcharselect
+%{tde_tdelibdir}/kcharselect_panelapplet.la
+%{tde_tdelibdir}/kcharselect_panelapplet.so
+%{tde_tdeappdir}/KCharSelect.desktop
+%{tde_datadir}/apps/kcharselect/
+%{tde_datadir}/apps/kconf_update/kcharselect.upd
+%{tde_datadir}/apps/kicker/applets/kcharselectapplet.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kcharselect.png
+%{tde_tdedocdir}/HTML/en/kcharselect/
+
+%post -n trinity-kcharselect
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kcharselect
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kdelirc
+Summary: infrared control for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kdelirc
+This is a frontend for the LIRC suite to use infrared devices with TDE.
+
+%files -n trinity-kdelirc
+%defattr(-,root,root,-)
+%{tde_bindir}/irkick
+%{tde_tdelibdir}/irkick.la
+%{tde_tdelibdir}/irkick.so
+%{tde_tdelibdir}/kcm_kcmlirc.la
+%{tde_tdelibdir}/kcm_kcmlirc.so
+%{tde_libdir}/lib[kt]deinit_irkick.so
+%{tde_tdeappdir}/irkick.desktop
+%{tde_tdeappdir}/kcmlirc.desktop
+%{tde_datadir}/apps/irkick/
+%{tde_datadir}/apps/profiles/klauncher.profile.xml
+%{tde_datadir}/apps/profiles/konqueror.profile.xml
+%{tde_datadir}/apps/profiles/noatun.profile.xml
+%{tde_datadir}/apps/profiles/profile.dtd
+%{tde_datadir}/apps/remotes/RM-0010.remote.xml
+%{tde_datadir}/apps/remotes/cimr100.remote.xml
+%{tde_datadir}/apps/remotes/hauppauge.remote.xml
+%{tde_datadir}/apps/remotes/remote.dtd
+%{tde_datadir}/apps/remotes/sherwood.remote.xml
+%{tde_datadir}/apps/remotes/sonytv.remote.xml
+%{tde_datadir}/autostart/irkick.desktop
+%{tde_datadir}/icons/hicolor/*/apps/irkick.png
+%{tde_datadir}/icons/locolor/*/apps/irkick.png
+%{tde_tdedocdir}/HTML/en/irkick/
+%{tde_tdedocdir}/HTML/en/kcmlirc/
+
+%post -n trinity-kdelirc
+/sbin/ldconfig
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kdelirc
+/sbin/ldconfig
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kdessh
+Summary: ssh frontend for Trinity
+Group: Applications/Utilities
+%if 0%{?suse_version}
+Requires: openssh
+%else
+Requires: openssh-clients
+%endif
+
+%description -n trinity-kdessh
+This package contains TDE's frontend for ssh.
+
+%files -n trinity-kdessh
+%defattr(-,root,root,-)
+%{tde_bindir}/kdessh
+
+##########
+
+%package -n trinity-kdf
+Summary: disk space utility for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kdf
+KDiskFree displays the available file devices (hard drive partitions, floppy
+and CD drives, etc.) along with information on their capacity, free space, type
+and mount point. It also allows you to mount and unmount drives and view them
+in a file manager.
+
+%files -n trinity-kdf
+%defattr(-,root,root,-)
+%{tde_bindir}/kdf
+%{tde_bindir}/kwikdisk
+%{tde_tdelibdir}/kcm_kdf.la
+%{tde_tdelibdir}/kcm_kdf.so
+%{tde_tdeappdir}/kcmdf.desktop
+%{tde_tdeappdir}/kdf.desktop
+%{tde_tdeappdir}/kwikdisk.desktop
+%{tde_datadir}/apps/kdf/
+%{tde_datadir}/icons/crystalsvg/*/apps/kcmdf.png
+%{tde_datadir}/icons/hicolor/*/apps/kdf.png
+%{tde_datadir}/icons/hicolor/*/apps/kwikdisk.png
+%{tde_tdedocdir}/HTML/en/kdf/
+%{tde_tdedocdir}/HTML/en/kinfocenter/blockdevices/
+
+%post -n trinity-kdf
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kdf
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kedit
+Summary: basic text editor for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kedit
+A simple text editor for TDE.
+
+It can be used with Konqueror for text and configuration file browsing.
+KEdit also serves well for creating small plain text documents. KEdit's
+functionality will intentionally remain rather limited to ensure a
+reasonably fast start.
+
+%files -n trinity-kedit
+%defattr(-,root,root,-)
+%{tde_bindir}/kedit
+%{tde_tdelibdir}/kedit.la
+%{tde_tdelibdir}/kedit.so
+%{tde_libdir}/lib[kt]deinit_kedit.so
+%{tde_tdeappdir}/KEdit.desktop
+%{tde_datadir}/apps/kedit/keditui.rc
+%{tde_datadir}/config.kcfg/kedit.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kedit.png
+%{tde_tdedocdir}/HTML/en/kedit/
+
+%post -n trinity-kedit
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kedit
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kfloppy
+Summary: floppy formatter for Trinity
+Group: Applications/Utilities
+Requires: dosfstools
+
+%description -n trinity-kfloppy
+Kfloppy is a utility that provides a straightforward graphical means
+to format 3.5" and 5.25" floppy disks.
+
+%files -n trinity-kfloppy
+%defattr(-,root,root,-)
+%{tde_bindir}/kfloppy
+%{tde_tdeappdir}/KFloppy.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/floppy_format.desktop
+%{tde_datadir}/icons/hicolor/*/apps/kfloppy.png
+%{tde_tdedocdir}/HTML/en/kfloppy/
+
+%post -n trinity-kfloppy
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kfloppy
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kgpg
+Summary: GnuPG frontend for Trinity
+Group: Applications/Utilities
+Requires: trinity-konsole
+Requires: gnupg
+
+%description -n trinity-kgpg
+Kgpg is a frontend for GNU Privacy Guard (GnuPG). It provides file
+encryption, file decryption and key management.
+
+Features:
+* an editor mode for easily and quickly encrypting or decrypting a file
+ or message which is typed, copied, pasted or dragged into the editor,
+ or which is double-clicked in the file manager
+* Konqueror integration for encrypting or decrypting files
+* a panel applet for encrypting / decrypting files or the clipboard
+ contents, etc.
+* key management functions (generation, import, export, deletion and
+ signing)
+* decrypting clipboard contents, including integration with Klipper
+
+%files -n trinity-kgpg
+%defattr(-,root,root,-)
+%{tde_bindir}/kgpg
+%{tde_tdeappdir}/kgpg.desktop
+%{tde_datadir}/apps/kgpg/
+%{tde_datadir}/apps/konqueror/servicemenus/encryptfile.desktop
+%{tde_datadir}/apps/konqueror/servicemenus/encryptfolder.desktop
+%{tde_datadir}/autostart/kgpg.desktop
+%{tde_datadir}/config.kcfg/kgpg.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kgpg.png
+%{tde_tdedocdir}/HTML/en/kgpg/
+
+%post -n trinity-kgpg
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kgpg
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-khexedit
+Summary: Trinity hex editor
+Group: Applications/Utilities
+
+%description -n trinity-khexedit
+KHexEdit is an editor for the raw data of binary files. It includes
+find/replace functions, bookmarks, many configuration options, drag and drop
+support and other powerful features.
+
+%files -n trinity-khexedit
+%defattr(-,root,root,-)
+%{tde_bindir}/khexedit
+%{tde_tdelibdir}/libkbyteseditwidget.la
+%{tde_tdelibdir}/libkbyteseditwidget.so
+%{tde_tdelibdir}/libkhexedit2part.la
+%{tde_tdelibdir}/libkhexedit2part.so
+%{tde_libdir}/libkhexeditcommon.so.*
+%{tde_tdeappdir}/khexedit.desktop
+%{tde_datadir}/apps/khexedit/
+%{tde_datadir}/apps/khexedit2part/khexedit2partui.rc
+%{tde_datadir}/icons/hicolor/*/apps/khexedit.png
+%{tde_datadir}/services/kbyteseditwidget.desktop
+%{tde_datadir}/services/khexedit2part.desktop
+%{tde_tdedocdir}/HTML/en/khexedit/
+
+%post -n trinity-khexedit
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-khexedit
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kjots
+Summary: note taking utility for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kjots
+Kjots is a small note taker program. Name and idea are taken from the jots
+program included in the tkgoodstuff package.
+
+%files -n trinity-kjots
+%defattr(-,root,root,-)
+%{tde_bindir}/kjots
+%{tde_tdeappdir}/Kjots.desktop
+%{tde_datadir}/apps/kjots/
+%{tde_datadir}/config.kcfg/kjots.kcfg
+%{tde_datadir}/icons/hicolor/*/apps/kjots.png
+%{tde_tdedocdir}/HTML/en/kjots/
+
+%post -n trinity-kjots
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kjots
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klaptopdaemon
+Summary: battery monitoring and management for laptops using Trinity
+Group: Applications/Utilities
+Requires: pm-utils
+Requires: usermode
+
+%description -n trinity-klaptopdaemon
+This package contains utilities to monitor batteries and configure
+power management, for laptops, from within TDE.
+
+%files -n trinity-klaptopdaemon
+%defattr(-,root,root,-)
+%{tde_bindir}/klaptop_acpi_helper
+%{tde_bindir}/klaptop_check
+%{tde_tdelibdir}/kcm_laptop.la
+%{tde_tdelibdir}/kcm_laptop.so
+%{tde_tdelibdir}/kded_klaptopdaemon.la
+%{tde_tdelibdir}/kded_klaptopdaemon.so
+%{tde_libdir}/libkcmlaptop.so.*
+%{tde_tdeappdir}/laptop.desktop
+%{tde_tdeappdir}/pcmcia.desktop
+%{tde_datadir}/apps/klaptopdaemon/
+%{tde_datadir}/icons/crystalsvg/*/apps/laptop_battery.png
+%{tde_datadir}/icons/crystalsvg/*/apps/laptop_pcmcia.png
+%{tde_datadir}/icons/crystalsvg/scalable/apps/laptop_battery.svgz
+%{tde_datadir}/services/kded/klaptopdaemon.desktop
+%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatcrit/
+%{tde_tdedocdir}/HTML/en/kcontrol/kcmlowbatwarn/
+%{tde_tdedocdir}/HTML/en/kcontrol/laptop/
+%{tde_tdedocdir}/HTML/en/kcontrol/powerctrl/
+
+# RHEL/Fedora specific
+%{_sysconfdir}/pam.d/klaptop_acpi_helper
+%attr(644,root,root) %{_sysconfdir}/security/console.apps/klaptop_acpi_helper
+%{tde_sbindir}/klaptop_acpi_helper
+%{_sbindir}/klaptop_acpi_helper
+%config %{tde_datadir}/config/kcmlaptoprc
+
+%post -n trinity-klaptopdaemon
+/sbin/ldconfig
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klaptopdaemon
+/sbin/ldconfig
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kmilo
+Summary: laptop special keys support for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kmilo
+KMilo lets you use the special keys on some keyboards and laptops.
+
+Usually this includes volume keys and other features. Currently, KMilo
+comes with plugins for Powerbooks, Thinkpads, Vaios and generic keyboards
+with special keys.
+
+%files -n trinity-kmilo
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kded_kmilod.la
+%{tde_tdelibdir}/kded_kmilod.so
+%{tde_tdelibdir}/kmilo_generic.la
+%{tde_tdelibdir}/kmilo_generic.so
+%{tde_libdir}/libkmilo.so.*
+%{tde_datadir}/services/kded/kmilod.desktop
+%{tde_datadir}/services/kmilo/kmilo_generic.desktop
+%{tde_datadir}/servicetypes/kmilo/kmilopluginsvc.desktop
+
+%post -n trinity-kmilo
+/sbin/ldconfig
+
+%postun -n trinity-kmilo
+/sbin/ldconfig
+
+##########
+
+%package -n trinity-kmilo-legacy
+Summary: non-standard plugins for KMilo
+Group: Applications/Utilities
+Requires: trinity-kmilo = %{version}-%{release}
+
+%description -n trinity-kmilo-legacy
+KMilo lets you use the special keys on some keyboards and laptops.
+
+Usually this includes volume keys and other features. Currently, KMilo
+comes with plugins for Powerbooks, Thinkpads and Vaios.
+
+The intention is that all laptops work with the generic kmilo
+plugin, if you need this package please file a bug.
+
+%files -n trinity-kmilo-legacy
+%defattr(-,root,root,-)
+%{tde_tdelibdir}/kcm_kvaio.la
+%{tde_tdelibdir}/kcm_kvaio.so
+%{tde_tdelibdir}/kcm_thinkpad.la
+%{tde_tdelibdir}/kcm_thinkpad.so
+%{tde_tdelibdir}/kmilo_asus.la
+%{tde_tdelibdir}/kmilo_asus.so
+%{tde_tdelibdir}/kmilo_delli8k.la
+%{tde_tdelibdir}/kmilo_delli8k.so
+%{tde_tdelibdir}/kmilo_kvaio.la
+%{tde_tdelibdir}/kmilo_kvaio.so
+%{tde_tdelibdir}/kmilo_thinkpad.la
+%{tde_tdelibdir}/kmilo_thinkpad.so
+%{tde_tdeappdir}/kvaio.desktop
+%{tde_tdeappdir}/thinkpad.desktop
+%{tde_datadir}/services/kmilo/kmilo_asus.desktop
+%{tde_datadir}/services/kmilo/kmilo_delli8k.desktop
+%{tde_datadir}/services/kmilo/kmilo_kvaio.desktop
+%{tde_datadir}/services/kmilo/kmilo_thinkpad.desktop
+
+##########
+
+%package -n trinity-kregexpeditor
+Summary: graphical regular expression editor plugin for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kregexpeditor
+This package contains a graphical regular expression editor plugin for use
+with TDE. It let you draw your regular expression in an unambiguous way.
+
+%files -n trinity-kregexpeditor
+%defattr(-,root,root,-)
+%{tde_bindir}/kregexpeditor
+%{tde_tdelibdir}/libkregexpeditorgui.la
+%{tde_tdelibdir}/libkregexpeditorgui.so
+%{tde_libdir}/libkregexpeditorcommon.so.*
+%{tde_tdeappdir}/kregexpeditor.desktop
+%{tde_datadir}/apps/kregexpeditor/
+%{tde_datadir}/icons/hicolor/*/apps/kregexpeditor.png
+%{tde_datadir}/services/kregexpeditorgui.desktop
+%{tde_tdedocdir}/HTML/en/KRegExpEditor/
+
+%post -n trinity-kregexpeditor
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kregexpeditor
+/sbin/ldconfig
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-ksim
+Summary: system information monitor for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-ksim
+KSim is a system monitor app which has its own plugin system with support
+for GKrellm skins. It allows users to follow uptime, memory usage, network
+connections, power, etc.
+
+%files -n trinity-ksim
+%defattr(-,root,root,-)
+%config %{tde_datadir}/config/ksim_panelextensionrc
+%{tde_tdelibdir}/ksim_*.la
+%{tde_tdelibdir}/ksim_*.so
+%{tde_libdir}/libksimcore.so.*
+%{tde_datadir}/apps/kicker/extensions/ksim.desktop
+%{tde_datadir}/apps/ksim/
+%{tde_tdedocdir}/HTML/en/ksim/
+%{tde_datadir}/icons/crystalsvg/*/apps/ksim.png
+%{tde_datadir}/icons/crystalsvg/*/devices/ksim_cpu.png
+
+%post -n trinity-ksim
+/sbin/ldconfig
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+%postun -n trinity-ksim
+/sbin/ldconfig
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+##########
+
+%package -n trinity-ktimer
+Summary: timer utility for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-ktimer
+This is a timer application for TDE. It allows you to execute commands after
+a certain amount of time. It supports looping commands as well as delayed
+command execution.
+
+%files -n trinity-ktimer
+%defattr(-,root,root,-)
+%{tde_bindir}/ktimer
+%{tde_tdeappdir}/ktimer.desktop
+%{tde_datadir}/icons/hicolor/*/apps/ktimer.png
+%{tde_tdedocdir}/HTML/en/ktimer/
+
+%post -n trinity-ktimer
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-ktimer
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kwalletmanager
+Summary: wallet manager for Trinity
+Group: Applications/Utilities
+
+%description -n trinity-kwalletmanager
+This program keeps various wallets for any kind of data that the user can
+store encrypted with passwords and can also serve as a password manager that
+keeps a master password to all wallets.
+
+%files -n trinity-kwalletmanager
+%defattr(-,root,root,-)
+%{tde_bindir}/kwalletmanager
+%{tde_tdelibdir}/kcm_kwallet.la
+%{tde_tdelibdir}/kcm_kwallet.so
+%{tde_tdeappdir}/kwalletconfig.desktop
+%{tde_tdeappdir}/kwalletmanager.desktop
+%{tde_tdeappdir}/kwalletmanager-kwalletd.desktop
+%{tde_datadir}/apps/kwalletmanager/
+%{tde_datadir}/icons/hicolor/*/apps/kwalletmanager.png
+%{tde_datadir}/services/kwallet_config.desktop
+%{tde_datadir}/services/kwalletmanager_show.desktop
+%{tde_tdedocdir}/HTML/en/kwallet/
+
+%post -n trinity-kwalletmanager
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kwalletmanager
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-superkaramba
+Summary: a program based on karamba improving the eyecandy of TDE
+Group: Applications/Utilities
+
+%description -n trinity-superkaramba
+SuperKaramba is a tool based on karamba that allows anyone to easily create
+and run little interactive widgets on a TDE desktop. Widgets are defined in a
+simple text file and can be augmented with Python code to make them
+interactive.
+
+Here are just some examples of the things that can be done:
+* Display system information such as CPU Usage, MP3 playing, etc.
+* Create cool custom toolbars that work any way imaginable.
+* Create little games or virtual pets that live on your desktop.
+* Display information from the internet, such as weather and headlines.
+
+%files -n trinity-superkaramba
+%defattr(-,root,root,-)
+%{tde_bindir}/superkaramba
+%{tde_datadir}/applnk/Utilities/superkaramba.desktop
+%{tde_datadir}/apps/superkaramba/superkarambaui.rc
+%{tde_datadir}/icons/crystalsvg/*/apps/superkaramba.png
+%{tde_datadir}/icons/crystalsvg/*/mimetypes/superkaramba_theme.png
+%{tde_datadir}/icons/crystalsvg/scalable/apps/superkaramba.svgz
+%{tde_datadir}/icons/crystalsvg/scalable/mimetypes/superkaramba_theme.svgz
+%{tde_datadir}/mimelnk/application/x-superkaramba.desktop
+%{tde_tdedocdir}/HTML/en/superkaramba/
+
+%post -n trinity-superkaramba
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+%postun -n trinity-superkaramba
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+
+##########
+
+# afaik, nobody BR's it, and it pulls kdeutils into multilib -- Rex
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: trinity-tdelibs-devel
+
+Obsoletes: trinity-kdeutils-devel < %{version}-%{release}
+Provides: trinity-kdeutils-devel = %{version}-%{release}
+Obsoletes: tdeutils-devel < %{version}-%{release}
+Provides: tdeutils-devel = %{version}-%{release}
+
+%description devel
+Development files for %{name}.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/*
+%{tde_libdir}/libkcmlaptop.la
+%{tde_libdir}/libkcmlaptop.so
+%{tde_libdir}/lib[kt]deinit_ark.la
+%{tde_libdir}/lib[kt]deinit_irkick.la
+%{tde_libdir}/lib[kt]deinit_kcalc.la
+%{tde_libdir}/lib[kt]deinit_kedit.la
+%{tde_libdir}/libkmilo.la
+%{tde_libdir}/libkmilo.so
+%{tde_libdir}/libkregexpeditorcommon.la
+%{tde_libdir}/libkregexpeditorcommon.so
+%{tde_libdir}/libksimcore.la
+%{tde_libdir}/libksimcore.so
+%{tde_libdir}/libkhexeditcommon.la
+%{tde_libdir}/libkhexeditcommon.so
+
+%post devel
+/sbin/ldconfig
+
+%postun devel
+/sbin/ldconfig
+
+##########
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n kdeutils-3.5.13.1
+
+%patch1 -p1 -b .label
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i "admin/acinclude.m4.in" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+%build
+unset QTDIR || : ; source /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+# Do not build against any "/usr" installed KDE
+export KDEDIR=%{tde_prefix}
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --enable-new-ldflags \
+ --disable-dependency-tracking \
+ --disable-rpath \
+ --disable-debug --disable-warnings \
+ --enable-final \
+ --includedir=%{tde_tdeincludedir} \
+ --with-snmp \
+%if 0%{?fedora}
+ --with-xmms \
+%else
+ --without-xmms \
+%endif
+ --with-xscreensaver \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-closure
+
+%__make %{?_smp_mflags}
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{?buildroot}
+
+# Show only in KDE (really? -- Rex)
+for i in kcalc kregexpeditor Kjots ktimer kdf kcmdf ksim KFloppy KEdit \
+ KCharSelect ark kwalletmanager kwalletconfig \
+ irkick kcmlirc laptop pcmcia kvaio thinkpad kwikdisk; do
+ if [ -f %{buildroot}%{tde_datadir}/applications/kde/$i.desktop ] ; then
+ echo "OnlyShowIn=KDE;" >> %{buildroot}%{tde_datadir}/applications/kde/$i.desktop
+ fi
+done
+
+## File lists
+# HTML (1.0)
+HTML_DIR=$(kde-config --expandvars --install html)
+if [ -d %{buildroot}$HTML_DIR ]; then
+for lang_dir in %{buildroot}$HTML_DIR/* ; do
+ if [ -d $lang_dir ]; then
+ lang=$(basename $lang_dir)
+ echo "%lang($lang) $HTML_DIR/$lang/*" >> %{name}.lang
+ # replace absolute symlinks with relative ones
+ pushd $lang_dir
+ for i in *; do
+ [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../common $i/common
+ done
+ popd
+ pushd $lang_dir/kcontrol
+ for i in *; do
+ [ -d $i -a -L $i/common ] && rm -f $i/common && ln -sf ../../common $i/common
+ done
+ popd
+ fi
+done
+fi
+
+# using pam
+%__install -p -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/klaptop_acpi_helper
+%__install -p -D -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/security/console.apps/klaptop_acpi_helper
+
+# Use consolehelper for 'klaptop_acpi_helper'
+%__mkdir_p %{buildroot}%{tde_sbindir} %{buildroot}%{_sbindir}
+%__mv %{buildroot}%{tde_bindir}/klaptop_acpi_helper %{buildroot}%{tde_sbindir}
+%__ln_s %{_bindir}/consolehelper %{buildroot}%{tde_bindir}/klaptop_acpi_helper
+%if "%{tde_prefix}" != "/usr"
+%__ln_s %{tde_sbindir}/klaptop_acpi_helper %{?buildroot}%{_sbindir}/klaptop_acpi_helper
+%endif
+
+# klaptop setting
+%__install -p -D -m 644 %{SOURCE3} %{buildroot}%{tde_datadir}/config/kcmlaptoprc
+
+
+%clean
+%__rm -rf %{?buildroot}
+
+
+
+%changelog
+* Sun Sep 30 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/kdevelop/trinity-kdevelop-3.5.13.1.spec b/redhat/kdevelop/trinity-kdevelop-3.5.13.1.spec
new file mode 100644
index 000000000..bd8a9075e
--- /dev/null
+++ b/redhat/kdevelop/trinity-kdevelop-3.5.13.1.spec
@@ -0,0 +1,636 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-tdevelop
+Summary: Integrated Development Environment for C++/C
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2
+Group: Development/Tools
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source: kdevelop-3.5.13.1.tar.gz
+Source1: ftp://129.187.206.68/pub/unix/ide/KDevelop/c_cpp_reference-2.0.2_for_KDE_3.0.tar.bz2
+
+# [c_cpp_ref] Fix library directories detection
+Patch1: c_cpp_reference-2.0.2-config.patch
+
+# [kdevelop] fix FTBFS
+Patch2: kdevelop-3.5.13-kdevdesigner-ftbfs.patch
+
+# [c_cpp_ref] Fix installation of 'asm' files
+Patch4: c_cpp_reference-2.0.2-install.patch
+
+Requires: %{name}-libs = %{version}-%{release}
+
+
+Requires: make
+Requires: perl
+Requires: flex >= 2.5.4
+%if 0%{?rhel} || 0%{?fedora}
+Requires: qt3-designer
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+Requires: %{_lib}qt3-devel
+%endif
+%if 0%{?suse_version}
+Requires: qt3-devel
+%endif
+Requires: gettext
+Requires: ctags
+
+BuildRequires: cmake >= 2.8
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tdesdk-devel >= %{version}
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: db4-devel
+%endif
+BuildRequires: flex
+# FIXME: No CVS support in KDevelop? This is going to suck...
+# Requires kdesdk3.
+BuildRequires: subversion-devel
+BuildRequires: neon-devel
+# looks like this is dragged in by apr-devel (dep of subversion-devel), but not
+# a dependency
+%if 0%{?suse_version}
+BuildRequires: openldap2-devel
+%else
+BuildRequires: openldap-devel
+%endif
+
+Obsoletes: trinity-kdevelop < %{version}-%{release}
+Provides: trinity-kdevelop = %{version}-%{release}
+
+%description
+The TDevelop Integrated Development Environment provides many features
+that developers need as well as providing a unified interface to programs
+like gdb, the C/C++ compiler, and make. TDevelop manages or provides:
+
+All development tools needed for C++ programming like Compiler,
+Linker, automake and autoconf; KAppWizard, which generates complete,
+ready-to-go sample applications; Classgenerator, for creating new
+classes and integrating them into the current project; File management
+for sources, headers, documentation etc. to be included in the
+project; The creation of User-Handbooks written with SGML and the
+automatic generation of HTML-output with the KDE look and feel;
+Automatic HTML-based API-documentation for your project's classes with
+cross-references to the used libraries; Internationalization support
+for your application, allowing translators to easily add their target
+language to a project;
+
+KDevelop also includes WYSIWYG (What you see is what you get)-creation
+of user interfaces with a built-in dialog editor; Debugging your
+application by integrating KDbg; Editing of project-specific pixmaps
+with KIconEdit; The inclusion of any other program you need for
+development by adding it to the "Tools"-menu according to your
+individual needs.
+
+%files
+%defattr(-,root,root,-)
+%{tde_bindir}/kdevassistant
+%{tde_bindir}/kdevdesigner
+%{tde_bindir}/kdevelop
+%{tde_bindir}/kdevelop-htdig
+%{tde_bindir}/kdevprj2kdevelop
+%{tde_bindir}/kdevprofileeditor
+%{tde_libdir}/kconf_update_bin/kdev-gen-settings-kconf_update
+%{tde_tdeappdir}/kdevassistant.desktop
+%{tde_tdeappdir}/kdevdesigner.desktop
+%{tde_tdeappdir}/kdevelop.desktop
+%{tde_tdeappdir}/kdevelop_c_cpp.desktop
+%{tde_tdeappdir}/kdevelop_kde_cpp.desktop
+%{tde_tdeappdir}/kdevelop_ruby.desktop
+%{tde_tdeappdir}/kdevelop_scripting.desktop
+%{tde_tdelibdir}/kio_chm.la
+%{tde_tdelibdir}/kio_chm.so
+%{tde_tdelibdir}/kio_csharpdoc.la
+%{tde_tdelibdir}/kio_csharpdoc.so
+%{tde_tdelibdir}/kio_perldoc.la
+%{tde_tdelibdir}/kio_perldoc.so
+%{tde_tdelibdir}/kio_pydoc.la
+%{tde_tdelibdir}/kio_pydoc.so
+%{tde_tdelibdir}/libdocchmplugin.la
+%{tde_tdelibdir}/libdocchmplugin.so
+%{tde_tdelibdir}/libdoccustomplugin.la
+%{tde_tdelibdir}/libdoccustomplugin.so
+%{tde_tdelibdir}/libdocdevhelpplugin.la
+%{tde_tdelibdir}/libdocdevhelpplugin.so
+%{tde_tdelibdir}/libdocdoxygenplugin.la
+%{tde_tdelibdir}/libdocdoxygenplugin.so
+%{tde_tdelibdir}/libdockdevtocplugin.la
+%{tde_tdelibdir}/libdockdevtocplugin.so
+%{tde_tdelibdir}/libdocqtplugin.la
+%{tde_tdelibdir}/libdocqtplugin.so
+%{tde_tdelibdir}/libkchmpart.la
+%{tde_tdelibdir}/libkchmpart.so
+%{tde_tdelibdir}/libkdevabbrev.la
+%{tde_tdelibdir}/libkdevabbrev.so
+%{tde_tdelibdir}/libkdevadaproject.la
+%{tde_tdelibdir}/libkdevadaproject.so
+%{tde_tdelibdir}/libkdevadasupport.la
+%{tde_tdelibdir}/libkdevadasupport.so
+%{tde_tdelibdir}/libkdevantproject.la
+%{tde_tdelibdir}/libkdevantproject.so
+%{tde_tdelibdir}/libkdevappview.la
+%{tde_tdelibdir}/libkdevappview.so
+%{tde_tdelibdir}/libkdevappwizard.la
+%{tde_tdelibdir}/libkdevappwizard.so
+%{tde_tdelibdir}/libkdevastyle.la
+%{tde_tdelibdir}/libkdevastyle.so
+%{tde_tdelibdir}/libkdevautoproject.la
+%{tde_tdelibdir}/libkdevautoproject.so
+%{tde_tdelibdir}/libkdevbashsupport.la
+%{tde_tdelibdir}/libkdevbashsupport.so
+%{tde_tdelibdir}/libkdevbookmarks.la
+%{tde_tdelibdir}/libkdevbookmarks.so
+%{tde_tdelibdir}/libkdevclassview.la
+%{tde_tdelibdir}/libkdevclassview.so
+%{tde_tdelibdir}/libkdevcppsupport.la
+%{tde_tdelibdir}/libkdevcppsupport.so
+%{tde_tdelibdir}/libkdevcsharpsupport.la
+%{tde_tdelibdir}/libkdevcsharpsupport.so
+%{tde_tdelibdir}/libkdevctags2.la
+%{tde_tdelibdir}/libkdevctags2.so
+%{tde_tdelibdir}/libkdevcustompcsimporter.la
+%{tde_tdelibdir}/libkdevcustompcsimporter.so
+%{tde_tdelibdir}/libkdevcustomproject.la
+%{tde_tdelibdir}/libkdevcustomproject.so
+%{tde_tdelibdir}/libkdevdccoptions.la
+%{tde_tdelibdir}/libkdevdccoptions.so
+%{tde_tdelibdir}/libkdevdebugger.la
+%{tde_tdelibdir}/libkdevdebugger.so
+%{tde_tdelibdir}/libkdevdesignerpart.la
+%{tde_tdelibdir}/libkdevdesignerpart.so
+%{tde_tdelibdir}/libkdevdiff.la
+%{tde_tdelibdir}/libkdevdiff.so
+%{tde_tdelibdir}/libkdevdistpart.la
+%{tde_tdelibdir}/libkdevdistpart.so
+%{tde_tdelibdir}/libkdevdocumentation.la
+%{tde_tdelibdir}/libkdevdocumentation.so
+%{tde_tdelibdir}/libkdevdoxygen.la
+%{tde_tdelibdir}/libkdevdoxygen.so
+%{tde_tdelibdir}/libkdeveditorchooser.la
+%{tde_tdelibdir}/libkdeveditorchooser.so
+%{tde_tdelibdir}/libkdevfilecreate.la
+%{tde_tdelibdir}/libkdevfilecreate.so
+%{tde_tdelibdir}/libkdevfilegroups.la
+%{tde_tdelibdir}/libkdevfilegroups.so
+%{tde_tdelibdir}/libkdevfilelist.la
+%{tde_tdelibdir}/libkdevfilelist.so
+%{tde_tdelibdir}/libkdevfileselector.la
+%{tde_tdelibdir}/libkdevfileselector.so
+%{tde_tdelibdir}/libkdevfileview.la
+%{tde_tdelibdir}/libkdevfileview.so
+%{tde_tdelibdir}/libkdevfilter.la
+%{tde_tdelibdir}/libkdevfilter.so
+%{tde_tdelibdir}/libkdevfortransupport.la
+%{tde_tdelibdir}/libkdevfortransupport.so
+%{tde_tdelibdir}/libkdevfpcoptions.la
+%{tde_tdelibdir}/libkdevfpcoptions.so
+%{tde_tdelibdir}/libkdevfullscreen.la
+%{tde_tdelibdir}/libkdevfullscreen.so
+%{tde_tdelibdir}/libkdevgccoptions.la
+%{tde_tdelibdir}/libkdevgccoptions.so
+%{tde_tdelibdir}/libkdevgrepview.la
+%{tde_tdelibdir}/libkdevgrepview.so
+%{tde_tdelibdir}/libkdevjavasupport.la
+%{tde_tdelibdir}/libkdevjavasupport.so
+%{tde_tdelibdir}/libkdevkdelibsimporter.la
+%{tde_tdelibdir}/libkdevkdelibsimporter.so
+%{tde_tdelibdir}/libkdevkonsoleview.la
+%{tde_tdelibdir}/libkdevkonsoleview.so
+%{tde_tdelibdir}/libkdevmakeview.la
+%{tde_tdelibdir}/libkdevmakeview.so
+%{tde_tdelibdir}/libkdevopenwith.la
+%{tde_tdelibdir}/libkdevopenwith.so
+%{tde_tdelibdir}/libkdevpartexplorer.la
+%{tde_tdelibdir}/libkdevpartexplorer.so
+%{tde_tdelibdir}/libkdevpascalproject.la
+%{tde_tdelibdir}/libkdevpascalproject.so
+%{tde_tdelibdir}/libkdevpascalsupport.la
+%{tde_tdelibdir}/libkdevpascalsupport.so
+%{tde_tdelibdir}/libkdevperlsupport.la
+%{tde_tdelibdir}/libkdevperlsupport.so
+%{tde_tdelibdir}/libkdevpgioptions.la
+%{tde_tdelibdir}/libkdevpgioptions.so
+%{tde_tdelibdir}/libkdevphpsupport.la
+%{tde_tdelibdir}/libkdevphpsupport.so
+%{tde_tdelibdir}/libkdevpythonsupport.la
+%{tde_tdelibdir}/libkdevpythonsupport.so
+%{tde_tdelibdir}/libkdevqt4importer.la
+%{tde_tdelibdir}/libkdevqt4importer.so
+%{tde_tdelibdir}/libkdevqtimporter.la
+%{tde_tdelibdir}/libkdevqtimporter.so
+%{tde_tdelibdir}/libkdevquickopen.la
+%{tde_tdelibdir}/libkdevquickopen.so
+%{tde_tdelibdir}/libkdevrbdebugger.la
+%{tde_tdelibdir}/libkdevrbdebugger.so
+%{tde_tdelibdir}/libkdevregexptest.la
+%{tde_tdelibdir}/libkdevregexptest.so
+%{tde_tdelibdir}/libkdevreplace.la
+%{tde_tdelibdir}/libkdevreplace.so
+%{tde_tdelibdir}/libkdevrubysupport.la
+%{tde_tdelibdir}/libkdevrubysupport.so
+%{tde_tdelibdir}/libkdevscripting.la
+%{tde_tdelibdir}/libkdevscripting.so
+%{tde_tdelibdir}/libkdevscriptproject.la
+%{tde_tdelibdir}/libkdevscriptproject.so
+%{tde_tdelibdir}/libkdevsnippet.la
+%{tde_tdelibdir}/libkdevsnippet.so
+%{tde_tdelibdir}/libkdevsqlsupport.la
+%{tde_tdelibdir}/libkdevsqlsupport.so
+%{tde_tdelibdir}/libkdevtexttools.la
+%{tde_tdelibdir}/libkdevtexttools.so
+%{tde_tdelibdir}/libkdevtipofday.la
+%{tde_tdelibdir}/libkdevtipofday.so
+%{tde_tdelibdir}/libkdevtools.la
+%{tde_tdelibdir}/libkdevtools.so
+%{tde_tdelibdir}/libkdevtrollproject.la
+%{tde_tdelibdir}/libkdevtrollproject.so
+%{tde_tdelibdir}/libkdevuichooser.la
+%{tde_tdelibdir}/libkdevuichooser.so
+%{tde_tdelibdir}/libkdevvalgrind.la
+%{tde_tdelibdir}/libkdevvalgrind.so
+%{tde_tdelibdir}/libkdevvcsmanager.la
+%{tde_tdelibdir}/libkdevvcsmanager.so
+%{tde_datadir}/apps/kconf_update/
+%{tde_datadir}/apps/kdevabbrev/
+%{tde_datadir}/apps/kdevadaproject/kdevadaproject.rc
+%{tde_datadir}/apps/kdevadasupport/kdevadasupport.rc
+%{tde_datadir}/apps/kdevantproject/kdevantproject.rc
+%{tde_datadir}/apps/kdevappoutputview/kdevmakeview.rc
+%{tde_datadir}/apps/kdevappwizard/
+%{tde_datadir}/apps/kdevassistant/kdevassistantui.rc
+%{tde_datadir}/apps/kdevastyle/kdevpart_astyle.rc
+%{tde_datadir}/apps/kdevautoproject/kdevautoproject.rc
+%{tde_datadir}/apps/kdevbashsupport/kdevbashsupport.rc
+%{tde_datadir}/apps/kdevclassview/
+%{tde_datadir}/apps/kdevcppsupport/
+%{tde_datadir}/icons/hicolor/*/actions/breakpoint_add.png
+%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete.png
+%{tde_datadir}/icons/hicolor/*/actions/breakpoint_delete_all.png
+%{tde_datadir}/icons/hicolor/*/actions/breakpoint_edit.png
+%{tde_datadir}/icons/hicolor/*/actions/ktip.png
+%{tde_datadir}/icons/hicolor/*/apps/kdevassistant.png
+%{tde_datadir}/icons/hicolor/*/apps/kdevdesigner.png
+%{tde_datadir}/icons/hicolor/*/apps/kdevelop.png
+%{tde_datadir}/icons/locolor/*/actions/kdevelop_tip.png
+%{tde_datadir}/mimelnk/application/x-kdevelop.desktop
+%{tde_datadir}/mimelnk/x-fortran.desktop
+%{tde_datadir}/services/chm.protocol
+%{tde_datadir}/services/csharpdoc.protocol
+%{tde_datadir}/services/docchmplugin.desktop
+%{tde_datadir}/services/doccustomplugin.desktop
+%{tde_datadir}/services/docdevhelpplugin.desktop
+%{tde_datadir}/services/docdoxygenplugin.desktop
+%{tde_datadir}/services/dockdevtocplugin.desktop
+%{tde_datadir}/services/docqtplugin.desktop
+%{tde_datadir}/services/kchmpart.desktop
+%{tde_datadir}/services/kdevabbrev.desktop
+%{tde_datadir}/services/kdevadaproject.desktop
+%{tde_datadir}/services/kdevadasupport.desktop
+%{tde_datadir}/services/kdevantproject.desktop
+%{tde_datadir}/services/kdevappoutputview.desktop
+%{tde_datadir}/services/kdevappwizard.desktop
+%{tde_datadir}/services/kdevastyle.desktop
+%{tde_datadir}/services/kdevautoproject.desktop
+%{tde_datadir}/services/kdevbashsupport.desktop
+%{tde_datadir}/services/kdevbookmarks.desktop
+%{tde_datadir}/services/kdevclassview.desktop
+%{tde_datadir}/services/kdevcppsupport.desktop
+%{tde_datadir}/services/kdevcsharpsupport.desktop
+%{tde_datadir}/services/kdevcsupport.desktop
+%{tde_datadir}/services/kdevctags2.desktop
+%{tde_datadir}/services/kdevcustomproject.desktop
+%{tde_datadir}/services/kdevdccoptions.desktop
+%{tde_datadir}/services/kdevdebugger.desktop
+%{tde_datadir}/services/kdevdesigner_part.desktop
+%{tde_datadir}/services/kdevdiff.desktop
+%{tde_datadir}/services/kdevdistpart.desktop
+%{tde_datadir}/services/kdevdocumentation.desktop
+%{tde_datadir}/services/kdevdoxygen.desktop
+%{tde_datadir}/services/kdeveditorchooser.desktop
+%{tde_datadir}/services/kdevfilecreate.desktop
+%{tde_datadir}/services/kdevfilegroups.desktop
+%{tde_datadir}/services/kdevfilelist.desktop
+%{tde_datadir}/services/kdevfileselector.desktop
+%{tde_datadir}/services/kdevfileview.desktop
+%{tde_datadir}/services/kdevfilter.desktop
+%{tde_datadir}/services/kdevfortransupport.desktop
+%{tde_datadir}/services/kdevfpcoptions.desktop
+%{tde_datadir}/services/kdevfullscreen.desktop
+%{tde_datadir}/services/kdevg77options.desktop
+%{tde_datadir}/services/kdevgccoptions.desktop
+%{tde_datadir}/services/kdevgppoptions.desktop
+%{tde_datadir}/services/kdevgrepview.desktop
+%{tde_datadir}/services/kdevjavasupport.desktop
+%{tde_datadir}/services/kdevkdeautoproject.desktop
+%{tde_datadir}/services/kdevkdelibsimporter.desktop
+%{tde_datadir}/services/kdevkonsoleview.desktop
+%{tde_datadir}/services/kdevmakeview.desktop
+%{tde_datadir}/services/kdevopenwith.desktop
+%{tde_datadir}/services/kdevpartexplorer.desktop
+%{tde_datadir}/services/kdevpascalproject.desktop
+%{tde_datadir}/services/kdevpascalsupport.desktop
+%{tde_datadir}/services/kdevpcscustomimporter.desktop
+%{tde_datadir}/services/kdevperlsupport.desktop
+%{tde_datadir}/services/kdevpgf77options.desktop
+%{tde_datadir}/services/kdevpghpfoptions.desktop
+%{tde_datadir}/services/kdevphpsupport.desktop
+%{tde_datadir}/services/kdevpythonsupport.desktop
+%{tde_datadir}/services/kdevqt4importer.desktop
+%{tde_datadir}/services/kdevqtimporter.desktop
+%{tde_datadir}/services/kdevquickopen.desktop
+%{tde_datadir}/services/kdevrbdebugger.desktop
+%{tde_datadir}/services/kdevregexptest.desktop
+%{tde_datadir}/services/kdevreplace.desktop
+%{tde_datadir}/services/kdevrubysupport.desktop
+%{tde_datadir}/services/kdevscripting.desktop
+%{tde_datadir}/services/kdevscriptproject.desktop
+%{tde_datadir}/services/kdevsnippet.desktop
+%{tde_datadir}/services/kdevsqlsupport.desktop
+%{tde_datadir}/services/kdevtexttools.desktop
+%{tde_datadir}/services/kdevtipofday.desktop
+%{tde_datadir}/services/kdevtmakeproject.desktop
+%{tde_datadir}/services/kdevtools.desktop
+%{tde_datadir}/services/kdevtrollproject.desktop
+%{tde_datadir}/services/kdevuichooser.desktop
+%{tde_datadir}/services/kdevvalgrind.desktop
+%{tde_datadir}/services/kdevvcsmanager.desktop
+%{tde_datadir}/services/perldoc.protocol
+%{tde_datadir}/services/pydoc.protocol
+%{tde_datadir}/servicetypes/kdevelopappfrontend.desktop
+%{tde_datadir}/servicetypes/kdevelopcodebrowserfrontend.desktop
+%{tde_datadir}/servicetypes/kdevelopcompileroptions.desktop
+%{tde_datadir}/servicetypes/kdevelopcreatefile.desktop
+%{tde_datadir}/servicetypes/kdevelopdifffrontend.desktop
+%{tde_datadir}/servicetypes/kdevelopdocumentationplugins.desktop
+%{tde_datadir}/servicetypes/kdeveloplanguagesupport.desktop
+%{tde_datadir}/servicetypes/kdevelopmakefrontend.desktop
+%{tde_datadir}/servicetypes/kdeveloppcsimporter.desktop
+%{tde_datadir}/servicetypes/kdevelopplugin.desktop
+%{tde_datadir}/servicetypes/kdevelopproject.desktop
+%{tde_datadir}/servicetypes/kdevelopquickopen.desktop
+%{tde_datadir}/servicetypes/kdevelopsourceformatter.desktop
+%{tde_datadir}/servicetypes/kdevelopvcsintegrator.desktop
+%{tde_datadir}/servicetypes/kdevelopversioncontrol.desktop
+%{tde_datadir}/apps/kdevcsharpsupport/kdevcsharpsupport.rc
+%{tde_datadir}/apps/kdevctags2/kdevpart_ctags2.rc
+%{tde_datadir}/apps/kdevcustomproject/kdevcustomproject.rc
+%{tde_datadir}/apps/kdevdebugger/
+%{tde_datadir}/apps/kdevdesigner/kdevdesigner_shell.rc
+%{tde_datadir}/apps/kdevdesignerpart/kdevdesigner_part.rc
+%{tde_datadir}/apps/kdevdesignerpart/kdevdesigner_part_sh.rc
+%{tde_datadir}/apps/kdevdiff/kdevdiff.rc
+%{tde_datadir}/apps/kdevdistpart/kdevpart_distpart.rc
+%{tde_datadir}/apps/kdevdocumentation/
+%{tde_datadir}/apps/kdevdoxygen/kdevdoxygen.rc
+%{tde_datadir}/apps/kdevelop/
+%{tde_datadir}/apps/kdevfilecreate/
+%{tde_datadir}/apps/kdevfilelist/kdevfilelist.rc
+%{tde_datadir}/apps/kdevfilter/kdevfilter.rc
+%{tde_datadir}/apps/kdevfortransupport/kdevfortransupport.rc
+%{tde_datadir}/apps/kdevfullscreen/kdevpart_fullscreen.rc
+%{tde_datadir}/apps/kdevgrepview/
+%{tde_datadir}/apps/kdevjavasupport/kdevjavasupport.rc
+%{tde_datadir}/apps/kdevmakeview/kdevmakeview.rc
+%{tde_datadir}/apps/kdevpartexplorer/kdevpartexplorer.rc
+%{tde_datadir}/apps/kdevpascalproject/kdevpascalproject.rc
+%{tde_datadir}/apps/kdevpascalsupport/kdevpascalsupport.rc
+%{tde_datadir}/apps/kdevperlsupport/kdevperlsupport.rc
+%{tde_datadir}/apps/kdevphpsupport/kdevphpsupport.rc
+%{tde_datadir}/apps/kdevphpsupport/phpfunctions
+%{tde_datadir}/apps/kdevpythonsupport/kdevpythonsupport.rc
+%{tde_datadir}/apps/kdevquickopen/kdevpart_quickopen.rc
+%{tde_datadir}/apps/kdevrbdebugger/
+%{tde_datadir}/apps/kdevregexptest/kdevregexptest.rc
+%{tde_datadir}/apps/kdevreplace/kdevpart_replace.rc
+%{tde_datadir}/apps/kdevrubysupport/kdevrubysupport.rc
+%{tde_datadir}/apps/kdevrubysupport/pics/ruby_config.png
+%{tde_datadir}/apps/kdevrubysupport/pics/ruby_run.png
+%{tde_datadir}/apps/kdevscripting/kdevscripting.rc
+%{tde_datadir}/apps/kdevscriptproject/kdevscriptproject.rc
+%{tde_datadir}/apps/kdevsnippet/kdevpart_snippet.rc
+%{tde_datadir}/apps/kdevsqlsupport/kdevsqlsupport.rc
+%{tde_datadir}/apps/kdevtipofday/kdevpart_tipofday.rc
+%{tde_datadir}/apps/kdevtipofday/tips
+%{tde_datadir}/apps/kdevtools/kdevpart_tools.rc
+%{tde_datadir}/apps/kdevtrollproject/kdevtrollproject.rc
+%{tde_datadir}/apps/kdevvalgrind/kdevpart_valgrind.rc
+%{tde_datadir}/apps/kio_pydoc/kde_pydoc.py*
+%{tde_datadir}/config/kdevassistantrc
+%{tde_datadir}/config/kdeveloprc
+%{tde_datadir}/desktop-directories/kde-development-kdevelop.directory
+%{tde_tdedocdir}/HTML/en/kdevelop/
+
+
+%post
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+
+Obsoletes: trinity-kdevelop-devel < %{version}-%{release}
+Provides: trinity-kdevelop-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_libdir}/lib*.so
+%{tde_libdir}/lib*.la
+%{tde_includedir}/*
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+##########
+
+%package libs
+Summary: %{name} runtime libraries
+Group: System Environment/Libraries
+Requires: trinity-kdelibs
+# include to be paranoid, installing libs-only is still mostly untested -- Rex
+Requires: %{name} = %{version}-%{release}
+
+Obsoletes: trinity-kdevelop-libs < %{version}-%{release}
+Provides: trinity-kdevelop-libs = %{version}-%{release}
+
+%description libs
+%{summary}.
+
+%files libs
+%defattr(-,root,root,-)
+%{tde_libdir}/libdesignerintegration.so.0
+%{tde_libdir}/libdesignerintegration.so.0.0.0
+%{tde_libdir}/libdocumentation_interfaces.so.0
+%{tde_libdir}/libdocumentation_interfaces.so.0.0.0
+%{tde_libdir}/libgdbmi_parser.so.0
+%{tde_libdir}/libgdbmi_parser.so.0.0.0
+%{tde_libdir}/libkdevbuildbase.so.0
+%{tde_libdir}/libkdevbuildbase.so.0.0.0
+%{tde_libdir}/libkdevbuildtoolswidgets.so.0
+%{tde_libdir}/libkdevbuildtoolswidgets.so.0.0.0
+%{tde_libdir}/libkdevcatalog.so.0
+%{tde_libdir}/libkdevcatalog.so.0.0.0
+%{tde_libdir}/libkdevcppparser.so.0
+%{tde_libdir}/libkdevcppparser.so.0.0.0
+%{tde_libdir}/libkdevelop.so.1
+%{tde_libdir}/libkdevelop.so.1.0.0
+%{tde_libdir}/libkdevextras.so.0
+%{tde_libdir}/libkdevextras.so.0.0.0
+%{tde_libdir}/libkdevpropertyeditor.so.0
+%{tde_libdir}/libkdevpropertyeditor.so.0.0.0
+%{tde_libdir}/libkdevqmakeparser.so.0
+%{tde_libdir}/libkdevqmakeparser.so.0.0.0
+%{tde_libdir}/libkdevshell.so.0
+%{tde_libdir}/libkdevshell.so.0.0.0
+%{tde_libdir}/libkdevwidgets.so.0
+%{tde_libdir}/libkdevwidgets.so.0.0.0
+%{tde_libdir}/liblang_debugger.so.0
+%{tde_libdir}/liblang_debugger.so.0.0.0
+%{tde_libdir}/liblang_interfaces.so.0
+%{tde_libdir}/liblang_interfaces.so.0.0.0
+%{tde_libdir}/libprofileengine.so.0
+%{tde_libdir}/libprofileengine.so.0.0.0
+
+%post libs
+/sbin/ldconfig || :
+
+%postun libs
+/sbin/ldconfig || :
+
+##########
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -n kdevelop-3.5.13.1 -a1
+%patch1 -p0 -b .config
+%patch2 -p1
+%patch4 -p1
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i "admin/acinclude.m4.in" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+
+%__rm -rf c_cpp_reference-2.0.2_for_KDE_3.0/admin
+%__cp -ar admin c_cpp_reference-2.0.2_for_KDE_3.0/
+%__make -C c_cpp_reference-2.0.2_for_KDE_3.0 -f admin/Makefile.common cvs
+
+
+%build
+unset QTDIR || : ; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig"
+export CMAKE_INCLUDE_PATH="%{tde_includedir}:%{tde_includedir}/tqt"
+export LD_LIBRARY_PATH="%{tde_libdir}"
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+# c references
+pushd c_cpp_reference-2.0.2_for_KDE_3.0
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ --with-qt-libraries=${QTLIB:-${QTDIR}/%{_lib}} \
+ --with-qt-includes=${QTINC:-${QTDIR}/include} \
+ --with-extra-libs=%{tde_libdir}
+popd
+
+%if 0%{?rhel} || 0%{?fedora} || 0%{?suse_version}
+%__mkdir_p build
+cd build
+%endif
+
+%cmake \
+ -DBIN_INSTALL_DIR=%{tde_bindir} \
+ -DINCLUDE_INSTALL_DIR=%{tde_tdeincludedir} \
+ -DLIB_INSTALL_DIR=%{tde_libdir} \
+ -DSHARE_INSTALL_PREFIX=%{tde_datadir} \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DWITH_BUILDTOOL_ALL=ON \
+ -DWITH_LANGUAGE_ALL=ON \
+ -DWITH_VCS_ALL=OFF \
+ -DBUILD_ALL=ON \
+ ..
+
+%__make %{?_smp_mflags}
+
+# c references
+cd ..
+%__make %{?_smp_mflags} -C c_cpp_reference-2.0.2_for_KDE_3.0
+
+%install
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot} -C build
+%__make install DESTDIR=%{buildroot} -C c_cpp_reference-2.0.2_for_KDE_3.0
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Mon Oct 01 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/kdevelop/trinity-kdevelop-3.5.13.spec b/redhat/kdevelop/trinity-kdevelop-3.5.13.spec
index 7927ed5b1..59d57935f 100644
--- a/redhat/kdevelop/trinity-kdevelop-3.5.13.spec
+++ b/redhat/kdevelop/trinity-kdevelop-3.5.13.spec
@@ -194,7 +194,7 @@ Provides: trinity-kdevelop-libs = %{version}-%{release}
%prep
%setup -q -n kdevelop -a1
%patch1 -p0 -b .config
-#patch2 -p1
+%patch2 -p1
%patch3 -p1 -b .gcc47
%patch4 -p1
diff --git a/redhat/kdewebdev/trinity-kdewebdev-3.5.13.1.spec b/redhat/kdewebdev/trinity-kdewebdev-3.5.13.1.spec
new file mode 100644
index 000000000..9f8cffbe8
--- /dev/null
+++ b/redhat/kdewebdev/trinity-kdewebdev-3.5.13.1.spec
@@ -0,0 +1,566 @@
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+Name: trinity-tdewebdev
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+License: GPL
+Summary: Web development applications
+Group: Applications/Editors
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: kdewebdev-3.5.13.1.tar.gz
+Source1: http://download.sourceforge.net/quanta/css.tar.bz2
+Source2: http://download.sourceforge.net/quanta/html.tar.bz2
+Source3: http://download.sourceforge.net/quanta/php_manual_en_20030401.tar.bz2
+Source4: http://download.sourceforge.net/quanta/javascript.tar.bz2
+Source5: hi48-app-kxsldbg.png
+
+Patch0: javascript.patch
+Patch1: kdewebdev-3.5.4-kxsldbg-icons.patch
+
+BuildRequires: autoconf automake libtool m4
+BuildRequires: desktop-file-utils
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tdesdk-devel >= %{version}
+BuildRequires: libxslt-devel
+BuildRequires: libxml2-devel
+%if 0%{?rhel} == 4
+# a bogus dep in libexslt.la file from EL-4 (WONTFIX bug http://bugzilla.redhat.com/142241)
+BuildRequires: libgcrypt-devel
+%endif
+BuildRequires: perl
+
+
+Obsoletes: trinity-kdewebdev-libs < %{version}-%{release}
+Provides: trinity-kdewebdev-libs = %{version}-%{release}
+Obsoletes: trinity-kdewebdev < %{version}-%{release}
+Provides: trinity-kdewebdev = %{version}-%{release}
+
+Requires: trinity-quanta = %{version}-%{release}
+Requires: trinity-quanta-data = %{version}-%{release}
+Requires: trinity-kfilereplace = %{version}-%{release}
+Requires: trinity-kimagemapeditor = %{version}-%{release}
+Requires: trinity-klinkstatus = %{version}-%{release}
+Requires: trinity-kommander = %{version}-%{release}
+Requires: trinity-kxsldbg = %{version}-%{release}
+
+
+%description
+%{summary}, including:
+* kfilereplace: batch search and replace tool
+* kimagemapeditor: HTML image map editor
+* klinkstatus: link checker
+* kommander: visual dialog building tool
+* kxsldbg: xslt Debugger
+* quanta+: web development
+
+%files
+
+##########
+
+%package -n trinity-quanta
+Summary: web development environment for KDE [Trinity]
+Group: Applications/Development
+Requires: trinity-kfilereplace = %{version}-%{release}
+Requires: trinity-klinkstatus = %{version}-%{release}
+Requires: trinity-kommander = %{version}-%{release}
+Requires: trinity-quanta-data = %{version}-%{release}
+#Requires: trinity-kimagemapeditor = %{version}-%{release}
+#Requires: trinity-kxsldbg = %{version}-%{release}
+Requires: tidy
+
+%description -n trinity-quanta
+Quanta Plus is a web development environment for working with HTML
+and associated languages. It strives to be neutral and transparent
+to all markup languages, while supporting popular web-based scripting
+languages, CSS and other emerging W3C recommendations.
+
+Quanta Plus supports many external components, debuggers and other tools
+for web development, several of which are shipped with the KDE web
+development module.
+
+Quanta Plus is not in any way affiliated with any commercial versions
+of Quanta. The primary coders from the original team left the GPL'd
+version to produce a commercial product.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-quanta
+%defattr(-,root,root,-)
+%{tde_bindir}/quanta
+%{tde_tdelibdir}/quantadebuggerdbgp.la
+%{tde_tdelibdir}/quantadebuggerdbgp.so
+%{tde_tdelibdir}/quantadebuggergubed.la
+%{tde_tdelibdir}/quantadebuggergubed.so
+%{tde_tdeappdir}/quanta.desktop
+%{tde_datadir}/apps/kafkapart
+%{tde_datadir}/icons/hicolor/*/apps/quanta.png
+%{tde_datadir}/mimelnk/application/x-webprj.desktop
+%{tde_datadir}/services/quantadebuggerdbgp.desktop
+%{tde_datadir}/services/quantadebuggergubed.desktop
+%{tde_datadir}/services/quanta_preview_config.desktop
+%{tde_datadir}/servicetypes/quantadebugger.desktop
+%{tde_tdedocdir}/HTML/en/quanta/
+
+%post -n trinity-quanta
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-quanta
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+
+##########
+
+%package -n trinity-quanta-data
+Summary: data files for Quanta Plus web development environment [Trinity]
+Group: Applications/Development
+
+%description -n trinity-quanta-data
+This package contains architecture-independent data files for Quanta
+Plus, a web development environment for working with HTML and associated
+languages.
+
+See the quanta package for further information.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-quanta-data
+%defattr(-,root,root,-)
+%{tde_datadir}/apps/quanta/
+
+##########
+
+%package -n trinity-kfilereplace
+Summary: batch search-and-replace component for KDE [Trinity]
+Group: Applications/Development
+
+%description -n trinity-kfilereplace
+KFileReplace is an embedded component for KDE that acts as a batch
+search-and-replace tool. It allows you to replace one expression with
+another in many files at once.
+
+Note that at the moment KFileReplace does not come as a standalone
+application. An example of an application that uses the KFileReplace
+component is Quanta Plus (found in the package quanta).
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-kfilereplace
+%defattr(-,root,root,-)
+%{tde_bindir}/kfilereplace
+%{tde_tdelibdir}/libkfilereplacepart.la
+%{tde_tdelibdir}/libkfilereplacepart.so
+%{tde_tdeappdir}/kfilereplace.desktop
+%{tde_datadir}/apps/kfilereplace/kfilereplaceui.rc
+%{tde_datadir}/apps/kfilereplacepart
+%{tde_datadir}/icons/hicolor/*/apps/kfilereplace.png
+%{tde_datadir}/services/kfilereplacepart.desktop
+%{tde_tdedocdir}/HTML/en/kfilereplace/
+
+%post -n trinity-kfilereplace
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kfilereplace
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kimagemapeditor
+Summary: HTML image map editor for KDE [Trinity]
+Group: Applications/Development
+
+%description -n trinity-kimagemapeditor
+KImageMapEditor is a tool that allows you to edit image maps in HTML
+files. As well as providing a standalone application, KImageMapEditor
+makes itself available as a KPart for embedding into larger applications.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-kimagemapeditor
+%defattr(-,root,root,-)
+%{tde_bindir}/kimagemapeditor
+%{tde_tdelibdir}/libkimagemapeditor.la
+%{tde_tdelibdir}/libkimagemapeditor.so
+%{tde_tdeappdir}/kimagemapeditor.desktop
+%{tde_datadir}/apps/kimagemapeditor/
+%{tde_datadir}/icons/hicolor/*/apps/kimagemapeditor.png
+%{tde_datadir}/icons/locolor/*/apps/kimagemapeditor.png
+%{tde_datadir}/services/kimagemapeditorpart.desktop
+
+%post -n trinity-kimagemapeditor
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kimagemapeditor
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-klinkstatus
+Summary: web link validity checker for KDE [Trinity]
+Group: Applications/Development
+
+%description -n trinity-klinkstatus
+KLinkStatus is KDE's web link validity checker. It allows you to
+search internal and external links throughout your web site. Simply
+point it to a single page and choose the depth to search.
+
+You can also check local files, or files over ftp:, fish: or any other
+KIO protocols. For performance, links can be checked simultaneously.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-klinkstatus
+%defattr(-,root,root,-)
+%{tde_bindir}/klinkstatus
+%{tde_tdelibdir}/libklinkstatuspart.la
+%{tde_tdelibdir}/libklinkstatuspart.so
+%{tde_tdeappdir}/klinkstatus.desktop
+%{tde_datadir}/apps/klinkstatus/
+%{tde_datadir}/apps/klinkstatuspart/
+%{tde_datadir}/config.kcfg/klinkstatus.kcfg
+%{tde_datadir}/icons/crystalsvg/16x16/actions/bug.png
+%{tde_datadir}/icons/hicolor/*/apps/klinkstatus.png
+%{tde_datadir}/services/klinkstatus_part.desktop
+%{tde_tdedocdir}/HTML/en/klinkstatus/
+
+%post -n trinity-klinkstatus
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-klinkstatus
+for f in crystalsvg hicolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kommander
+Summary: visual dialog builder and executor tool [Trinity]
+Group: Applications/Development
+Requires: gettext
+
+%description -n trinity-kommander
+Kommander is a visual dialog building tool whose primary objective is
+to create as much functionality as possible without using any scripting
+language.
+
+More specifically, Kommander is a set of tools that allow you to create
+dynamic GUI dialogs that generate, based on their state, a piece of
+text. The piece of text can be a command line to a program, any piece
+of code, business documents that contain a lot of repetitious or
+templated text and so on.
+
+The resulting generated text can then be executed as a command line
+program (hence the name "Kommander"), written to a file, passed to a
+script for extended processing, and literally anything else you can
+think of. And you aren't required to write a single line of code!
+
+As well as building dialogs, Kommander may be expanded to create full
+mainwindow applications.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-kommander
+%defattr(-,root,root,-)
+%{tde_bindir}/kmdr-editor
+%{tde_bindir}/kmdr-executor
+%{tde_bindir}/kmdr-plugins
+%{tde_libdir}/libkommanderplugin.so.*
+%{tde_libdir}/libkommanderwidgets.la
+%{tde_libdir}/libkommanderwidget.so.*
+%{tde_libdir}/libkommanderwidgets.so.*
+%{tde_tdeappdir}/kmdr-editor.desktop
+%{tde_datadir}/applnk/.hidden/kmdr-executor.desktop
+%{tde_datadir}/apps/katepart/syntax/kommander.xml
+%{tde_datadir}/apps/kommander/pics/kommandersplash.png
+%{tde_tdedocdir}/HTML/en/kommander/
+%{tde_datadir}/icons/crystalsvg/*/apps/kommander.png
+%{tde_datadir}/mimelnk/application/x-kommander.desktop
+#kommander/examples /opt/trinity/share/doc/kommander
+#kommander/working/extractkmdr /opt/trinity/bin
+#kommander/working/kmdr2po /opt/trinity/bin
+%{tde_tdelibdir}/libkommander_part.so
+%{tde_tdelibdir}/libkommander_part.la
+%{tde_datadir}/apps/kommander/
+%{tde_datadir}/apps/kmdr-editor/editor/
+%{tde_datadir}/apps/katepart/syntax/kommander-new.xml
+%{tde_datadir}/apps/kdevappwizard/kommanderplugin.png
+%{tde_datadir}/apps/kdevappwizard/kommanderplugin.tar.gz
+%{tde_datadir}/apps/kdevappwizard/templates/kommanderplugin.kdevtemplate
+%{tde_datadir}/services/kommander_part.desktop
+
+%post -n trinity-kommander
+/sbin/ldconfig || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kommander
+/sbin/ldconfig || :
+for f in crystalsvg ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package -n trinity-kommander-devel
+Summary: development files for Kommander [Trinity]
+Group: Development/Libraries
+Requires: trinity-kommander = %{version}-%{release}
+
+%description -n trinity-kommander-devel
+This package contains the headers and other development files for
+building plugins or otherwise extending Kommander.
+
+Kommander is a visual dialog building tool whose primary objective is
+to create as much functionality as possible without using any scripting
+language.
+
+See the kommander package for further information.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-kommander-devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkommanderplugin.la
+%{tde_libdir}/libkommanderplugin.so
+%{tde_libdir}/libkommanderwidget.la
+%{tde_libdir}/libkommanderwidget.so
+%{tde_libdir}/libkommanderwidgets.so
+%{tde_tdeincludedir}/kommander*
+%{tde_tdeincludedir}/specials.h
+
+%post -n trinity-kommander-devel
+/sbin/ldconfig || :
+
+%postun -n trinity-kommander-devel
+/sbin/ldconfig || :
+
+##########
+
+%package -n trinity-kxsldbg
+Summary: graphical XSLT debugger for KDE [Trinity]
+Group: Applications/Development
+
+%description -n trinity-kxsldbg
+KXSLDbg is a debugger for XSLT scripts. It includes a graphical user
+interface as well as a text-based debugger. KXSLDbg can be run as a
+standalone application or as an embedded KDE part.
+
+XSLT is an XML language for defining transformations of XML files from
+XML to some other arbitrary format, such as XML, HTML, plain text, etc.,
+using standard XSLT stylesheets.
+
+This package is part of TDE, as a component of the TDE web development module.
+
+%files -n trinity-kxsldbg
+%defattr(-,root,root,-)
+%{tde_bindir}/kxsldbg
+%{tde_bindir}/xsldbg
+%{tde_tdelibdir}/libkxsldbgpart.la
+%{tde_tdelibdir}/libkxsldbgpart.so
+%{tde_tdeappdir}/kxsldbg.desktop
+%{tde_datadir}/apps/kxsldbg
+%{tde_datadir}/apps/kxsldbgpart
+%{tde_tdedocdir}/HTML/en/kxsldbg/
+%{tde_tdedocdir}/HTML/en/xsldbg/
+%{tde_datadir}/icons/hicolor/*/actions/1downarrow.png
+%{tde_datadir}/icons/hicolor/*/actions/configure.png
+%{tde_datadir}/icons/hicolor/*/actions/exit.png
+%{tde_datadir}/icons/hicolor/*/actions/hash.png
+%{tde_datadir}/icons/hicolor/*/actions/mark.png
+%{tde_datadir}/icons/hicolor/*/actions/next.png
+%{tde_datadir}/icons/hicolor/*/actions/run.png
+%{tde_datadir}/icons/hicolor/*/actions/step.png
+%{tde_datadir}/icons/hicolor/*/actions/xsldbg_*.png
+%{tde_datadir}/icons/hicolor/*/apps/kxsldbg.png
+%{tde_datadir}/icons/locolor/*/apps/kxsldbg.png
+%{tde_datadir}/services/kxsldbg_part.desktop
+
+%post -n trinity-kxsldbg
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+%postun -n trinity-kxsldbg
+for f in hicolor locolor ; do
+ touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||:
+done
+update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || :
+
+##########
+
+%package devel
+Group: Development/Libraries
+Summary: Header files and documentation for %{name}
+
+Obsoletes: trinity-kdewebdev-devel < %{version}-%{release}
+Provides: trinity-kdewebdev-devel = %{version}-%{release}
+
+Requires: trinity-tdelibs-devel
+Requires: trinity-kommander-devel = %{version}-%{release}
+
+%description devel
+%{summary}.
+
+%files devel
+
+##########
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+##########
+
+%prep
+%setup -q -a 1 -a 2 -a 3 -a 4 -n kdewebdev-3.5.13.1
+%patch0 -p0 -b .javascript
+%patch1 -p1 -b .kxsldbg-icons
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i "admin/acinclude.m4.in" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%__install -m644 -p %{SOURCE5} kxsldbg/
+
+%build
+unset QTDIR || : ; source /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+# Do not build against any "/usr" installed KDE
+export KDEDIR=%{tde_prefix}
+
+# Specific path for RHEL4
+if [ -d /usr/X11R6 ]; then
+ export CXXFLAGS="${CXXFLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}"
+fi
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --enable-new-ldflags \
+ --enable-closure \
+ --disable-debug --disable-warnings \
+ --disable-dependancy-tracking --enable-final \
+ --with-extra-includes=%{tde_includedir}/tqt \
+
+# WTF hack for RHEL4
+%if 0%{?rhel} == 4
+mkdir kommander/plugin/.libs/
+ln -s . kommander/plugin/.libs/.libs
+%endif
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{?buildroot}
+%__make install DESTDIR=%{?buildroot}
+
+
+## package separately? Why doesn't upstream include this? -- Rex
+# install docs
+for i in css html javascript ; do
+ pushd $i
+ ./install.sh <<EOF
+%{buildroot}%{tde_datadir}/apps/quanta/doc
+EOF
+ popd
+ rm -rf $i
+done
+cp -a php php.docrc %{buildroot}%{tde_datadir}/apps/quanta/doc/
+
+# make symlinks relative
+pushd %{buildroot}%{tde_tdedocdir}/HTML/en
+for i in *; do
+ if [ -d $i -a -L $i/common ]; then
+ rm -f $i/common
+ ln -nfs ../common $i
+ fi
+done
+popd
+
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%changelog
+* Sun Sep 30 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial build for TDE 3.5.13.1
diff --git a/redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.1.spec b/redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.1.spec
new file mode 100644
index 000000000..17d893733
--- /dev/null
+++ b/redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.1.spec
@@ -0,0 +1,166 @@
+# Default version for this component
+%define kdecomp libkdcraw
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: Raw picture decoding C++ library (runtime) [Trinity]
+
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Environment/Libraries
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{kdecomp}-3.5.13.1.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: desktop-file-utils
+%if 0%{?suse_version}
+BuildRequires: liblcms-devel
+%else
+BuildRequires: lcms-devel
+%endif
+BuildRequires: libjpeg-devel
+BuildRequires: pkgconfig
+BuildRequires: automake autoconf libtool
+BuildRequires: gettext
+
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}ltdl-devel
+%else
+BuildRequires: libtool-ltdl-devel
+%endif
+
+%description
+C++ interface around dcraw binary program used to decode RAW
+picture files.
+This library is used by kipi-plugins, digiKam and others kipi host programs.
+libkdcraw contains the library of libkdcraw.
+
+%package devel
+Group: Development/Libraries
+Summary: RAW picture decoding C++ library (development) [Trinity]
+Requires: %{name} = %{version}
+
+%description devel
+Libkdcraw is a C++ interface around dcraw binary program used to
+decode Raw picture files.
+libkdcraw-devel contains development files and documentation. The
+library documentation is available on kdcraw.h header file.
+
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{kdecomp}-3.5.13.1
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i admin/acinclude.m4.in \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; source /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{kdecomp}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+%postun
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+
+%files -f %{kdecomp}.lang
+%defattr(-,root,root,-)
+%{tde_libdir}/libkdcraw.so.4
+%{tde_libdir}/libkdcraw.so.4.0.3
+%{tde_datadir}/icons/hicolor/*/apps/kdcraw.png
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkdcraw.so
+%{tde_libdir}/libkdcraw.la
+%{tde_tdeincludedir}/libkdcraw/
+%{tde_libdir}/pkgconfig/libkdcraw.pc
+
+%Changelog
+* Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial release for TDE 3.5.13.1
diff --git a/redhat/libraries/libkdcraw/trinity-libkdcraw.spec b/redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.spec
index 323eb816b..323eb816b 100644
--- a/redhat/libraries/libkdcraw/trinity-libkdcraw.spec
+++ b/redhat/libraries/libkdcraw/trinity-libkdcraw-3.5.13.spec
diff --git a/redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.1.spec b/redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.1.spec
new file mode 100644
index 000000000..536dc1340
--- /dev/null
+++ b/redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.1.spec
@@ -0,0 +1,150 @@
+# Default version for this component
+%define kdecomp libkexiv2
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: Qt like interface for the libexiv2 library (runtime) [Trinity]
+
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Environment/Libraries
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{kdecomp}-3.5.13.1.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+BuildRequires: automake autoconf libtool
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}exiv2-devel
+BuildRequires: %{_lib}ltdl-devel
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+BuildRequires: exiv2-devel
+BuildRequires: libtool-ltdl-devel
+%endif
+%if 0%{?suse_version}
+BuildRequires: libexiv2-devel
+BuildRequires: libtool-ltdl-devel
+%endif
+
+%description
+libkexif2 contains the library of libkexiv2.
+Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata.
+
+%package devel
+Group: Development/Libraries
+Summary: Qt like interface for the libexiv2 library (development) [Trinity]
+Requires: %{name} = %{version}
+
+%description devel
+libkexif2-devel contains development files and documentation for libkexiv2
+library. The library documentation is available on kexiv2.h header file.
+Libkexif is a wrapper around Exiv2 library to manipulate pictures metadata.
+
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{kdecomp}-3.5.13.1
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i admin/acinclude.m4.in \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp -f "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp -f "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp -f "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR || : ; source /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --libdir=%{tde_libdir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+
+%files
+%defattr(-,root,root,-)
+%{tde_libdir}/libkexiv2.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkexiv2.so
+%{tde_libdir}/libkexiv2.la
+%{tde_tdeincludedir}/libkexiv2/
+%{tde_libdir}/pkgconfig/libkexiv2.pc
+
+%Changelog
+* Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial release for TDE 3.5.13.1
diff --git a/redhat/libraries/libkexiv2/trinity-libkexiv2.spec b/redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.spec
index d299cf0fb..d299cf0fb 100644
--- a/redhat/libraries/libkexiv2/trinity-libkexiv2.spec
+++ b/redhat/libraries/libkexiv2/trinity-libkexiv2-3.5.13.spec
diff --git a/redhat/libraries/libkipi/trinity-libkipi-3.5.13.1.spec b/redhat/libraries/libkipi/trinity-libkipi-3.5.13.1.spec
new file mode 100644
index 000000000..8bb1271be
--- /dev/null
+++ b/redhat/libraries/libkipi/trinity-libkipi-3.5.13.1.spec
@@ -0,0 +1,172 @@
+# Default version for this component
+%define kdecomp libkipi
+
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+
+%define tde_tdeappdir %{tde_datadir}/applications/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: library for apps that want to use kipi-plugins (runtime version) [Trinity]
+
+Version: 3.5.13.1
+Release: 1%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Environment/Libraries
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{kdecomp}-3.5.13.1.tar.gz
+
+BuildRequires: trinity-tqtinterface-devel >= %{version}
+BuildRequires: trinity-arts-devel >= %{version}
+BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: desktop-file-utils
+%if 0%{?suse_version}
+BuildRequires: liblcms-devel
+%else
+BuildRequires: lcms-devel
+%endif
+BuildRequires: libjpeg-devel
+BuildRequires: pkgconfig
+BuildRequires: automake autoconf libtool
+BuildRequires: gettext
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: %{_lib}ltdl-devel
+%else
+BuildRequires: libtool-ltdl-devel
+%endif
+
+%description
+Libkipi is a library
+ o that contains common routines and widget used by kipi-plugins
+ o to ease implementation of the kipi-plugins interface in an application
+ that wants to use kipi-plugins
+
+Homepage: http://www.kipi-plugins.org/
+
+
+%package devel
+Group: Development/Libraries
+Summary: library for apps that want to use kipi-plugins (development version) [Trinity]
+Requires: %{name} = %{version}
+
+%description devel
+Libkipi is a library
+ o that contains common routines and widget used by kipi-plugins
+ o to ease implementation of the kipi-plugins interface in an application
+ that wants to use kipi-plugins
+
+This package contains development files and documentation for libkipi library.
+Homepage: http://www.kipi-plugins.org/
+
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{kdecomp}-3.5.13.1
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i admin/acinclude.m4.in \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+%build
+unset QTDIR || : ; source /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --includedir=%{tde_tdeincludedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+%find_lang %{kdecomp}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+%postun
+for f in hicolor ; do
+ touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||:
+ gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||:
+done
+/sbin/ldconfig || :
+
+%post devel
+/sbin/ldconfig || :
+
+%postun devel
+/sbin/ldconfig || :
+
+%files -f %{kdecomp}.lang
+%defattr(-,root,root,-)
+%{tde_libdir}/libkipi.so.0
+%{tde_libdir}/libkipi.so.0.1.1
+%{tde_datadir}/apps/kipi/
+%{tde_datadir}/icons/hicolor/*/apps/kipi.png
+%{tde_datadir}/servicetypes/kipiplugin.desktop
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_libdir}/libkipi.so
+%{tde_libdir}/libkipi.la
+%{tde_tdeincludedir}/libkipi/
+%{tde_libdir}/pkgconfig/libkipi.pc
+
+%Changelog
+* Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 3.5.13.1-1
+- Initial release for TDE 3.5.13.1
diff --git a/redhat/libraries/libkipi/trinity-libkipi.spec b/redhat/libraries/libkipi/trinity-libkipi-3.5.13.spec
index 49c202b2d..49c202b2d 100644
--- a/redhat/libraries/libkipi/trinity-libkipi.spec
+++ b/redhat/libraries/libkipi/trinity-libkipi-3.5.13.spec
diff --git a/redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.1.spec b/redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.1.spec
new file mode 100644
index 000000000..4bf6996a5
--- /dev/null
+++ b/redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.1.spec
@@ -0,0 +1,442 @@
+# Default version for this component
+%define kdecomp libksquirrel
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+Name: trinity-%{kdecomp}
+Summary: Trinity image viewer
+Version: 0.8.0
+Release: 2%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Environment/Libraries
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.trinitydesktop.org/
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: %{kdecomp}-3.5.13.1.tar.gz
+Patch0: libksquirrel-3.5.13-detect_netpbm.patch
+Patch1: libksquirrel-3.5.13-fix_docdir.patch
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1
+BuildRequires: trinity-arts-devel >= 3.5.13.1
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.1
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+BuildRequires: gettext-devel
+BuildRequires: transfig
+BuildRequires: djvulibre
+
+# XMEDCON support
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion}
+%define with_xmedcon 1
+BuildRequires: xmedcon
+BuildRequires: xmedcon-devel
+%endif
+
+# RSVG support
+%if 0%{?fedora} || 0%{?rhel}
+BuildRequires: librsvg2
+%endif
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: librsvg
+%endif
+%if 0%{?suse_version}
+BuildRequires: rsvg-view
+BuildRequires: librsvg-devel
+%endif
+
+BuildRequires: libwmf-devel
+
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
+BuildRequires: netpbm
+%else
+BuildRequires: netpbm-progs
+%endif
+
+
+%description
+Runtime libraries for KSquirrel.
+
+
+%package devel
+Group: Development/Libraries
+Summary: Trinity image viewer
+Requires: %{name}
+
+%description devel
+Development libraries for KSquirrel.
+
+
+%package tools
+Summary: Trinity image viewer
+Group: Environment/Libraries
+Requires: %{name}
+
+%description tools
+Tools for KSquirrel.
+
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n %{kdecomp}-3.5.13.1
+%patch0 -p1
+%patch1 -p1
+
+# Ugly hack to modify TQT include directory inside autoconf files.
+# If TQT detection fails, it fallbacks to TQT4 instead of TQT3 !
+%__sed -i admin/acinclude.m4.in \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g" \
+ -e "s|kde_htmldir='.*'|kde_htmldir='%{tde_tdedocdir}/HTML'|g"
+
+%__cp "/usr/share/aclocal/libtool.m4" "admin/libtool.m4.in"
+%__cp "/usr/share/libtool/config/ltmain.sh" "admin/ltmain.sh" || %__cp "/usr/share/libtool/ltmain.sh" "admin/ltmain.sh"
+%__make -f "admin/Makefile.common"
+
+
+%build
+unset QTDIR; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+%configure \
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --datadir=%{tde_datadir} \
+ --libdir=%{tde_libdir} \
+ --mandir=%{tde_mandir} \
+ --includedir=%{tde_includedir} \
+ --disable-rpath \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ --enable-djvu
+
+%__make %{?_smp_mflags}
+
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post
+/sbin/ldconfig || :
+
+%postun
+/sbin/ldconfig || :
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING LICENSE README
+%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_avs.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_bmp.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_camera.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_cut.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_dds.so.0.8.0
+%if 0%{?with_xmedcon}
+%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_dicom.so.0.8.0
+%endif
+%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_djvu.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_eps.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_fig.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_fli.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_gif.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_hdr.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_ico.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_iff.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_jbig.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_koala.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_leaf.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_lif.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_mac.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_mdl.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_mng.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_mtv.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_neo.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_openexr.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_pcx.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_pi1.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_pi3.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_pix.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_png.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_png.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_pnm.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_psd.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_psp.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_pxr.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_ras.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_sct.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_sgi.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_sun.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_svg.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_tga.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_tiff.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_ttf.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_utah.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_wal.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_wmf.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_xbm.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_xcf.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_xcur.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_xim.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_xpm.so.0.8.0
+%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0
+%{tde_libdir}/ksquirrel-libs/libkls_xwd.so.0.8.0
+%{tde_libdir}/libksquirrel-libs-png.so.0
+%{tde_libdir}/libksquirrel-libs-png.so.0.0.0
+%{tde_libdir}/libksquirrel-libs.so.0
+%{tde_libdir}/libksquirrel-libs.so.0.8.0
+%{tde_datadir}/ksquirrel-libs/libkls_camera.so.ui
+%{tde_datadir}/ksquirrel-libs/libkls_djvu.so.ui
+%{tde_datadir}/ksquirrel-libs/libkls_svg.so.ui
+%{tde_datadir}/ksquirrel-libs/libkls_tiff.so.ui
+%{tde_datadir}/ksquirrel-libs/libkls_xcf.so.ui
+%{tde_datadir}/ksquirrel-libs/rgbmap
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_includedir}/ksquirrel-libs/error.h
+%{tde_includedir}/ksquirrel-libs/fileio.h
+%{tde_includedir}/ksquirrel-libs/fmt_codec_base.h
+%{tde_includedir}/ksquirrel-libs/fmt_defs.h
+%{tde_includedir}/ksquirrel-libs/fmt_types.h
+%{tde_includedir}/ksquirrel-libs/fmt_utils.h
+%{tde_includedir}/ksquirrel-libs/settings.h
+%{tde_libdir}/ksquirrel-libs/libkls_avs.la
+%{tde_libdir}/ksquirrel-libs/libkls_avs.so
+%{tde_libdir}/ksquirrel-libs/libkls_bmp.la
+%{tde_libdir}/ksquirrel-libs/libkls_bmp.so
+%{tde_libdir}/ksquirrel-libs/libkls_camera.la
+%{tde_libdir}/ksquirrel-libs/libkls_camera.so
+%{tde_libdir}/ksquirrel-libs/libkls_cut.la
+%{tde_libdir}/ksquirrel-libs/libkls_cut.so
+%{tde_libdir}/ksquirrel-libs/libkls_dds.la
+%{tde_libdir}/ksquirrel-libs/libkls_dds.so
+%if 0%{?with_xmedcon}
+%{tde_libdir}/ksquirrel-libs/libkls_dicom.la
+%{tde_libdir}/ksquirrel-libs/libkls_dicom.so
+%endif
+%{tde_libdir}/ksquirrel-libs/libkls_djvu.la
+%{tde_libdir}/ksquirrel-libs/libkls_djvu.so
+%{tde_libdir}/ksquirrel-libs/libkls_eps.la
+%{tde_libdir}/ksquirrel-libs/libkls_eps.so
+%{tde_libdir}/ksquirrel-libs/libkls_fig.la
+%{tde_libdir}/ksquirrel-libs/libkls_fig.so
+%{tde_libdir}/ksquirrel-libs/libkls_fli.la
+%{tde_libdir}/ksquirrel-libs/libkls_fli.so
+%{tde_libdir}/ksquirrel-libs/libkls_gif.la
+%{tde_libdir}/ksquirrel-libs/libkls_gif.so
+%{tde_libdir}/ksquirrel-libs/libkls_hdr.la
+%{tde_libdir}/ksquirrel-libs/libkls_hdr.so
+%{tde_libdir}/ksquirrel-libs/libkls_ico.la
+%{tde_libdir}/ksquirrel-libs/libkls_ico.so
+%{tde_libdir}/ksquirrel-libs/libkls_iff.la
+%{tde_libdir}/ksquirrel-libs/libkls_iff.so
+%{tde_libdir}/ksquirrel-libs/libkls_jbig.la
+%{tde_libdir}/ksquirrel-libs/libkls_jbig.so
+%{tde_libdir}/ksquirrel-libs/libkls_jpeg.la
+%{tde_libdir}/ksquirrel-libs/libkls_jpeg.so
+%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.la
+%{tde_libdir}/ksquirrel-libs/libkls_jpeg2000.so
+%{tde_libdir}/ksquirrel-libs/libkls_koala.la
+%{tde_libdir}/ksquirrel-libs/libkls_koala.so
+%{tde_libdir}/ksquirrel-libs/libkls_leaf.la
+%{tde_libdir}/ksquirrel-libs/libkls_leaf.so
+%{tde_libdir}/ksquirrel-libs/libkls_lif.la
+%{tde_libdir}/ksquirrel-libs/libkls_lif.so
+%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.la
+%{tde_libdir}/ksquirrel-libs/libkls_ljpeg.so
+%{tde_libdir}/ksquirrel-libs/libkls_mac.la
+%{tde_libdir}/ksquirrel-libs/libkls_mac.so
+%{tde_libdir}/ksquirrel-libs/libkls_mdl.la
+%{tde_libdir}/ksquirrel-libs/libkls_mdl.so
+%{tde_libdir}/ksquirrel-libs/libkls_mng.la
+%{tde_libdir}/ksquirrel-libs/libkls_mng.so
+%{tde_libdir}/ksquirrel-libs/libkls_mtv.la
+%{tde_libdir}/ksquirrel-libs/libkls_mtv.so
+%{tde_libdir}/ksquirrel-libs/libkls_neo.la
+%{tde_libdir}/ksquirrel-libs/libkls_neo.so
+%{tde_libdir}/ksquirrel-libs/libkls_openexr.la
+%{tde_libdir}/ksquirrel-libs/libkls_openexr.so
+%{tde_libdir}/ksquirrel-libs/libkls_pcx.la
+%{tde_libdir}/ksquirrel-libs/libkls_pcx.so
+%{tde_libdir}/ksquirrel-libs/libkls_pi1.la
+%{tde_libdir}/ksquirrel-libs/libkls_pi1.so
+%{tde_libdir}/ksquirrel-libs/libkls_pi3.la
+%{tde_libdir}/ksquirrel-libs/libkls_pi3.so
+%{tde_libdir}/ksquirrel-libs/libkls_pix.la
+%{tde_libdir}/ksquirrel-libs/libkls_pix.so
+%{tde_libdir}/ksquirrel-libs/libkls_png.la
+%{tde_libdir}/ksquirrel-libs/libkls_png.so
+%{tde_libdir}/ksquirrel-libs/libkls_pnm.la
+%{tde_libdir}/ksquirrel-libs/libkls_pnm.so
+%{tde_libdir}/ksquirrel-libs/libkls_psd.la
+%{tde_libdir}/ksquirrel-libs/libkls_psd.so
+%{tde_libdir}/ksquirrel-libs/libkls_psp.la
+%{tde_libdir}/ksquirrel-libs/libkls_psp.so
+%{tde_libdir}/ksquirrel-libs/libkls_pxr.la
+%{tde_libdir}/ksquirrel-libs/libkls_pxr.so
+%{tde_libdir}/ksquirrel-libs/libkls_ras.la
+%{tde_libdir}/ksquirrel-libs/libkls_ras.so
+%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.la
+%{tde_libdir}/ksquirrel-libs/libkls_rawrgb.so
+%{tde_libdir}/ksquirrel-libs/libkls_sct.la
+%{tde_libdir}/ksquirrel-libs/libkls_sct.so
+%{tde_libdir}/ksquirrel-libs/libkls_sgi.la
+%{tde_libdir}/ksquirrel-libs/libkls_sgi.so
+%{tde_libdir}/ksquirrel-libs/libkls_sun.la
+%{tde_libdir}/ksquirrel-libs/libkls_sun.so
+%{tde_libdir}/ksquirrel-libs/libkls_svg.la
+%{tde_libdir}/ksquirrel-libs/libkls_svg.so
+%{tde_libdir}/ksquirrel-libs/libkls_tga.la
+%{tde_libdir}/ksquirrel-libs/libkls_tga.so
+%{tde_libdir}/ksquirrel-libs/libkls_tiff.la
+%{tde_libdir}/ksquirrel-libs/libkls_tiff.so
+%{tde_libdir}/ksquirrel-libs/libkls_ttf.la
+%{tde_libdir}/ksquirrel-libs/libkls_ttf.so
+%{tde_libdir}/ksquirrel-libs/libkls_utah.la
+%{tde_libdir}/ksquirrel-libs/libkls_utah.so
+%{tde_libdir}/ksquirrel-libs/libkls_wal.la
+%{tde_libdir}/ksquirrel-libs/libkls_wal.so
+%{tde_libdir}/ksquirrel-libs/libkls_wbmp.la
+%{tde_libdir}/ksquirrel-libs/libkls_wbmp.so
+%{tde_libdir}/ksquirrel-libs/libkls_wmf.la
+%{tde_libdir}/ksquirrel-libs/libkls_wmf.so
+%{tde_libdir}/ksquirrel-libs/libkls_xbm.la
+%{tde_libdir}/ksquirrel-libs/libkls_xbm.so
+%{tde_libdir}/ksquirrel-libs/libkls_xcf.la
+%{tde_libdir}/ksquirrel-libs/libkls_xcf.so
+%{tde_libdir}/ksquirrel-libs/libkls_xcur.la
+%{tde_libdir}/ksquirrel-libs/libkls_xcur.so
+%{tde_libdir}/ksquirrel-libs/libkls_xim.la
+%{tde_libdir}/ksquirrel-libs/libkls_xim.so
+%{tde_libdir}/ksquirrel-libs/libkls_xpm.la
+%{tde_libdir}/ksquirrel-libs/libkls_xpm.so
+%{tde_libdir}/ksquirrel-libs/libkls_xwd.la
+%{tde_libdir}/ksquirrel-libs/libkls_xwd.so
+%{tde_libdir}/libksquirrel-libs-png.la
+%{tde_libdir}/libksquirrel-libs-png.so
+%{tde_libdir}/libksquirrel-libs.la
+%{tde_libdir}/libksquirrel-libs.so
+%{tde_libdir}/pkgconfig/ksquirrellibs.pc
+%{tde_docdir}/ksquirrel-libs/
+
+%files tools
+%defattr(-,root,root,-)
+%{tde_bindir}/ksquirrel-libs-camera2ppm
+%{tde_bindir}/ksquirrel-libs-dcraw
+%if 0%{?with_xmedcon}
+%{tde_bindir}/ksquirrel-libs-dicom2png
+%endif
+%{tde_bindir}/ksquirrel-libs-fig2ppm
+%{tde_bindir}/ksquirrel-libs-iff2ppm
+%{tde_bindir}/ksquirrel-libs-leaf2ppm
+%{tde_bindir}/ksquirrel-libs-ljpeg2ppm
+%{tde_bindir}/ksquirrel-libs-ljpeg2ppm-s
+%{tde_bindir}/ksquirrel-libs-mac2ppm
+%{tde_bindir}/ksquirrel-libs-neo2ppm
+%{tde_bindir}/ksquirrel-libs-pi12ppm
+%{tde_bindir}/ksquirrel-libs-pi32ppm
+%{tde_bindir}/ksquirrel-libs-svg2png
+%{tde_bindir}/ksquirrel-libs-ttf2pnm
+%{tde_bindir}/ksquirrel-libs-utah2ppm
+%{tde_bindir}/ksquirrel-libs-xcf2pnm
+%{tde_bindir}/ksquirrel-libs-xim2ppm
+
+
+%Changelog
+* Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.8.0-2
+- Initial release for TDE 3.5.13.1
diff --git a/redhat/libraries/libksquirrel/trinity-libksquirrel.spec b/redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.spec
index 815c83075..815c83075 100644
--- a/redhat/libraries/libksquirrel/trinity-libksquirrel.spec
+++ b/redhat/libraries/libksquirrel/trinity-libksquirrel-3.5.13.spec
diff --git a/redhat/libraries/pykdeextensions/pykdeextensions-3.5.13-fix_include_dir.patch b/redhat/libraries/pykdeextensions/pykdeextensions-3.5.13-fix_include_dir.patch
new file mode 100644
index 000000000..05ac80b79
--- /dev/null
+++ b/redhat/libraries/pykdeextensions/pykdeextensions-3.5.13-fix_include_dir.patch
@@ -0,0 +1,11 @@
+--- pykdeextensions/src/kdedistutils.py.ORI 2012-08-27 22:10:18.873738368 +0200
++++ pykdeextensions/src/kdedistutils.py 2012-08-27 22:10:50.234094262 +0200
+@@ -539,7 +539,7 @@
+ canidatepaths.append(os.path.join(kdedir,"include"))
+ canidatepaths.append(os.path.join(install.prefix,"include"))
+ canidatepaths.append('/opt/trinity/include')
+- canidatepaths.append('/opt/kde/include')
++ canidatepaths.append('/opt/trinity/include/kde')
+ self.kde_inc_dir = FindFileInPaths('kapplication.h',canidatepaths)
+ if self.kde_inc_dir is None:
+ raise SystemExit, "Failed to find the KDE header file directory."
diff --git a/redhat/libraries/pykdeextensions/pykdeextensions-3.5.13.1-fix_extra_module_dir.patch b/redhat/libraries/pykdeextensions/pykdeextensions-3.5.13.1-fix_extra_module_dir.patch
new file mode 100644
index 000000000..2a1cfee6c
--- /dev/null
+++ b/redhat/libraries/pykdeextensions/pykdeextensions-3.5.13.1-fix_extra_module_dir.patch
@@ -0,0 +1,18 @@
+--- pykdeextensions-3.5.13.1/src/kdedistutils.py.extramodule 2012-09-08 17:33:05.000000000 +0000
++++ pykdeextensions-3.5.13.1/src/kdedistutils.py 2012-10-02 19:19:40.185384207 +0000
+@@ -712,6 +712,7 @@
+
+ # Build the 'stub' code.
+ cppcode = self.cpptemplate % {"moduledir": self.data_dir,
++ "extramodule": os.getenv("EXTRA_MODULE_DIR"),
+ "modulename": modulename,
+ "factoryfunction": factoryfunction,
+ "python_version": python_version}
+@@ -854,6 +855,7 @@
+ #include <sip.h>
+
+ #define MODULE_DIR "%(moduledir)s"
++#define EXTRA_MODULE_DIR "%(extramodule)s"
+ #define MODULE_NAME "%(modulename)s"
+ #define FACTORY "%(factoryfunction)s"
+ #define CPP_FACTORY %(factoryfunction)s
diff --git a/redhat/libraries/pykdeextensions/pykdeextensions-3.5.13.1-fix_libgcc_detection.patch b/redhat/libraries/pykdeextensions/pykdeextensions-3.5.13.1-fix_libgcc_detection.patch
new file mode 100644
index 000000000..720b8bdc3
--- /dev/null
+++ b/redhat/libraries/pykdeextensions/pykdeextensions-3.5.13.1-fix_libgcc_detection.patch
@@ -0,0 +1,62 @@
+--- pykdeextensions-3.5.13.1/setup.py.libgcc 2012-09-08 11:59:03.000000000 +0200
++++ pykdeextensions-3.5.13.1/setup.py 2012-10-06 12:52:03.768762713 +0200
+@@ -126,7 +126,7 @@
+
+ # Find the C library (libgcc, libgcc_s or some other variation).
+ if self.clib is None:
+- canidatepaths = ["/usr/"+kdedistutils.get_libdir_name(), "/usr/local/"+kdedistutils.get_libdir_name() ]
++ canidatepaths = ["/usr/"+kdedistutils.get_libdir_name(), "/usr/local/"+kdedistutils.get_libdir_name(), "/usr/lib" ]
+ self.clib = kdedistutils.FindFileInPaths("libgcc*.so",canidatepaths)
+ if self.clib!=None:
+ self.clib = glob.glob(os.path.join(self.clib,'libgcc*.so'))[0]
+--- pykdeextensions-3.5.13.1/src/kdedistutils.py.libgcc 2012-10-06 13:29:31.920413352 +0200
++++ pykdeextensions-3.5.13.1/src/kdedistutils.py 2012-10-06 13:31:23.440538658 +0200
+@@ -564,6 +564,9 @@
+ # Qt inc dir
+ if self.qt_inc_dir is None:
+ canidatepaths = []
++ qtinc = os.getenv("QTINC")
++ if qtinc != None:
++ canidatepaths.append(qtinc)
+ qtdir = os.getenv("QTDIR")
+ if qtdir != None:
+ canidatepaths.append(os.path.join(qtdir,"include"))
+@@ -585,6 +588,9 @@
+ # Qt lib dir
+ if self.qt_lib_dir is None:
+ canidatepaths = []
++ qtlib = os.getenv("QTLIB")
++ if qtlib != None:
++ canidatepaths.append(qtlib)
+ qtdir = os.getenv("QTDIR")
+ if qtdir != None:
+ canidatepaths.append(os.path.join(qtdir,get_libdir_name()))
+@@ -634,7 +640,7 @@
+
+ # Find the C library (libgcc, libgcc_s or some other variation).
+ if self.clib is None:
+- canidatepaths = ["/usr/"+get_libdir_name(), "/usr/local/"+get_libdir_name() ]
++ canidatepaths = ["/usr/"+get_libdir_name(), "/usr/local/"+get_libdir_name(), "/usr/lib" ]
+ self.clib = FindFileInPaths("libgcc*.so",canidatepaths)
+ if self.clib!=None:
+ self.clib = glob.glob(os.path.join(self.clib,'libgcc*.so'))[0]
+@@ -1481,6 +1487,9 @@
+ # Qt inc dir
+ if self.qt_inc_dir is None:
+ canidatepaths = []
++ qtinc = os.getenv("QTINC")
++ if qtinc != None:
++ canidatepaths.append(qtinc)
+ qtdir = os.getenv("QTDIR")
+ if qtdir != None:
+ canidatepaths.append(os.path.join(qtdir,"include"))
+@@ -1501,6 +1510,9 @@
+ # Qt lib dir
+ if self.qt_lib_dir is None:
+ canidatepaths = []
++ qtlib = os.getenv("QTLIB")
++ if qtlib != None:
++ canidatepaths.append(qtlib)
+ qtdir = os.getenv("QTDIR")
+ if qtdir != None:
+ canidatepaths.append(os.path.join(qtdir,get_libdir_name()))
diff --git a/redhat/libraries/pykdeextensions/trinity-pykdeextensions-3.5.13.1.spec b/redhat/libraries/pykdeextensions/trinity-pykdeextensions-3.5.13.1.spec
new file mode 100644
index 000000000..1f8110b55
--- /dev/null
+++ b/redhat/libraries/pykdeextensions/trinity-pykdeextensions-3.5.13.1.spec
@@ -0,0 +1,209 @@
+%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+
+
+Name: trinity-pytdeextensions
+Summary: Python packages to support TDE applications (scripts) [Trinity]
+Version: 0.4.0
+Release: 3%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.simonzone.com/software/pykdeextensions
+
+Prefix: %{tde_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: pykdeextensions-3.5.13.1.tar.gz
+
+
+
+
+# [pykdeextensions] Fix hardcoded path to Guidance python libraries [Bug #999]
+Patch2: pykdeextensions-3.5.13.1-fix_extra_module_dir.patch
+# [pykdeextensions] Fix include directory search location
+Patch5: pykdeextensions-3.5.13-fix_include_dir.patch
+# [pykdeextensions] Fix 'libgcc' search location
+Patch6: pykdeextensions-3.5.13.1-fix_libgcc_detection.patch
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1
+BuildRequires: trinity-arts-devel >= 3.5.13.1
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.1
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+BuildRequires: python-trinity-devel
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: python-qt
+%else
+%if 0%{?rhel} == 5 || 0%{?suse_version}
+BuildRequires: trinity-PyQt-devel
+%else
+BuildRequires: PyQt-devel
+%endif
+%endif
+
+Requires: trinity-libpythonize0 = %{version}-%{release}
+
+Obsoletes: trinity-pykdeextensions < %{version}-%{release}
+Provides: trinity-pykdeextensions = %{version}-%{release}
+
+
+%description
+PyKDE Extensions is a collection of software and Python packages
+to support the creation and installation of KDE applications.
+
+
+%package -n trinity-libpythonize0
+Summary: Python packages to support KDE applications (library) [Trinity]
+Group: Environment/Libraries
+
+%description -n trinity-libpythonize0
+PyKDE Extensions is a collection of software and Python packages
+to support the creation and installation of KDE applications.
+
+This package contains the libpythonize library files.
+
+
+%package -n trinity-libpythonize0-devel
+Summary: Python packages to support KDE applications (development) [Trinity]
+Group: Development/Libraries
+Requires: trinity-libpythonize0 = %{version}-%{release}
+
+%description -n trinity-libpythonize0-devel
+PyKDE Extensions is a collection of software and Python packages
+to support the creation and installation of KDE applications.
+
+This package contains the libpythonize development files.
+
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n pykdeextensions-3.5.13.1
+%patch2 -p1 -b .extramodule
+%patch5 -p1 -b .incdir
+%patch6 -p1 -b .libgcc
+
+# Changes library directory to 'lib64'
+for f in src/*.py; do
+ %__sed -i "${f}" \
+ -e "s|%{tde_prefix}/lib/|%{tde_libdir}/|g" \
+ -e "s|/usr/lib/pyshared/python\*|%{python_sitearch}|g" \
+ -e "s|'pykde-dir=',None,|'pykde-dir=','%{python_sitearch}',|g" \
+ -e "s|self.pykde_dir = None|self.pykde_dir = \"%{python_sitearch}\"|g" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g"
+done
+
+%build
+unset QTDIR; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt
+
+%__mkdir_p build
+./setup.py build_libpythonize
+
+%install
+unset QTDIR; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt
+
+# Avoids 'error: byte-compiling is disabled.' on Mandriva/Mageia
+export PYTHONDONTWRITEBYTECODE=
+
+%__rm -rf %{buildroot}
+
+./setup.py install \
+ --root=%{buildroot} \
+ --prefix=%{tde_prefix} \
+ --install-clib=%{tde_libdir} \
+ --install-cheaders=%{tde_tdeincludedir}
+
+# Removes BUILDROOT directory reference in installed files
+for f in \
+ %{buildroot}%{tde_libdir}/libpythonize.la \
+ %{buildroot}%{tde_datadir}/apps/pykdeextensions/app_templates/kcontrol_module/src/KcontrolModuleWidgetUI.py \
+ %{buildroot}%{tde_datadir}/apps/pykdeextensions/app_templates/kdeutility/src/KDEUtilityDialogUI.py \
+; do
+ %__sed -i "${f}" -e "s|%{buildroot}||g"
+:
+done
+
+# Moves PYTHON libraries to distribution directory
+%__mkdir_p %{buildroot}%{python_sitearch}
+%__mv -f %{buildroot}%{tde_prefix}/lib/python*/site-packages/* %{buildroot}%{python_sitearch}
+%__rm -rf %{buildroot}%{tde_prefix}/lib/python*/site-packages
+
+# Removes useless files
+%__rm -rf %{?buildroot}%{tde_libdir}/*.a
+
+# Fix permissions on include files
+%__chmod 644 %{?buildroot}%{tde_tdeincludedir}/*.h
+
+%clean
+%__rm -rf %{buildroot}
+
+
+%post -n trinity-libpythonize0
+/sbin/ldconfig
+
+%postun -n trinity-libpythonize0
+/sbin/ldconfig
+
+%post -n trinity-libpythonize0-devel
+/sbin/ldconfig
+
+%postun -n trinity-libpythonize0-devel
+/sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README TODO
+%{tde_datadir}/apps/pykdeextensions
+%{tde_tdedocdir}/HTML/en/pykdeextensions
+%{python_sitearch}/*
+
+%files -n trinity-libpythonize0
+%defattr(-,root,root,-)
+%{tde_libdir}/libpythonize.so.*
+
+%files -n trinity-libpythonize0-devel
+%defattr(-,root,root,-)
+%{tde_tdeincludedir}/*.h
+%{tde_libdir}/libpythonize.la
+%{tde_libdir}/libpythonize.so
+
+
+%Changelog
+* Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 0.4.0-3
+- Initial release for TDE 3.5.13.1
diff --git a/redhat/libraries/pykdeextensions/trinity-pykdeextensions.spec b/redhat/libraries/pykdeextensions/trinity-pykdeextensions-3.5.13.spec
index 1ecd8085a..18de0507e 100644
--- a/redhat/libraries/pykdeextensions/trinity-pykdeextensions.spec
+++ b/redhat/libraries/pykdeextensions/trinity-pykdeextensions-3.5.13.spec
@@ -52,6 +52,8 @@ Patch2: pykdeextensions-3.5.13-fix_extra_module_dir.patch
Patch3: pykdeextensions-3.5.13-fix_libsuffix.patch
# [pykdeextensions] Do not link with stdc++
Patch4: pykdeextensions-3.5.13-do_not_link_stdc++.patch
+# [pykdeextensions] Fix include directory search location
+Patch5: pykdeextensions-3.5.13-fix_include_dir.patch
BuildRequires: tqtinterface-devel
BuildRequires: trinity-tdelibs-devel
@@ -111,6 +113,7 @@ This package contains the libpythonize development files.
%patch2 -p1 -b .extramodule
%patch3 -p1 -b .libsuffix
%patch4 -p1 -b .stdc++
+%patch5 -p1 -b .incdir
# Changes library directory to 'lib64'
for f in src/*.py; do
diff --git a/redhat/libraries/python-trinity/python-trinity-3.5.13.1-add_include_directory.patch b/redhat/libraries/python-trinity/python-trinity-3.5.13.1-add_include_directory.patch
new file mode 100644
index 000000000..d48270692
--- /dev/null
+++ b/redhat/libraries/python-trinity/python-trinity-3.5.13.1-add_include_directory.patch
@@ -0,0 +1,10 @@
+--- python-trinity-3.5.13.1/configure.py.ORI 2012-10-02 19:01:51.164215802 +0000
++++ python-trinity-3.5.13.1/configure.py 2012-10-02 19:02:06.842913909 +0000
+@@ -411,6 +411,7 @@
+ if not opt_kdeincdir:
+ incSearchPaths = [os.path.join (opt_kdebasedir, "include")]
+ incSearchPaths.append (os.path.join (opt_kdebasedir, "include", "kde")) # Red Hat
++ incSearchPaths.append (os.path.join (opt_kdebasedir, "include", "tde")) # TDE 3.5.13.1
+ opt_kdeincdir = search ("kapplication.h", incSearchPaths)
+
+ def check_kde_installation():
diff --git a/redhat/libraries/python-trinity/python-trinity-3.5.13.1.spec b/redhat/libraries/python-trinity/python-trinity-3.5.13.1.spec
new file mode 100644
index 000000000..bcbc29aaa
--- /dev/null
+++ b/redhat/libraries/python-trinity/python-trinity-3.5.13.1.spec
@@ -0,0 +1,183 @@
+%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt".
+%if "%{?tde_prefix}" != "/usr"
+%define _variant .opt
+%endif
+
+# TDE 3.5.13 specific building variables
+%define tde_bindir %{tde_prefix}/bin
+%define tde_datadir %{tde_prefix}/share
+%define tde_docdir %{tde_datadir}/doc
+%define tde_includedir %{tde_prefix}/include
+%define tde_libdir %{tde_prefix}/%{_lib}
+%define tde_mandir %{tde_datadir}/man
+%define tde_appdir %{tde_datadir}/applications
+
+%define tde_tdeappdir %{tde_appdir}/kde
+%define tde_tdedocdir %{tde_docdir}/tde
+%define tde_tdeincludedir %{tde_includedir}/tde
+%define tde_tdelibdir %{tde_libdir}/trinity
+
+%define _docdir %{tde_docdir}
+
+%define __arch_install_post %{nil}
+
+
+Name: python-trinity
+Summary: Trinity bindings for Python [Trinity]
+Version: 3.16.3
+Release: 3%{?dist}%{?_variant}
+
+License: GPLv2+
+Group: Applications/Utilities
+
+Vendor: Trinity Project
+Packager: Francois Andriot <francois.andriot@free.fr>
+URL: http://www.simonzone.com/software/pykdeextensions
+
+Prefix: %{_prefix}
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Source0: python-trinity-3.5.13.1.tar.gz
+
+## RHEL/Fedora patches
+Patch1: python-trinity-3.5.13-install_directories.patch
+# [python-trinity] Fix Mandrake detection function
+Patch3: python-trinity-3.5.13-fix_mandrake_detection.patch
+# [python-trinity] Add 'include/tde' include directory
+Patch4: python-trinity-3.5.13.1-add_include_directory.patch
+
+BuildRequires: trinity-tqtinterface-devel >= 3.5.13.1
+BuildRequires: trinity-arts-devel >= 3.5.13.1
+BuildRequires: trinity-tdelibs-devel >= 3.5.13.1
+BuildRequires: desktop-file-utils
+BuildRequires: gettext
+
+BuildRequires: python
+
+%if 0%{?rhel} == 5
+# RHEL 5 comes with old version, so we brought ours ...
+BuildRequires: trinity-sip-devel
+BuildRequires: trinity-PyQt-devel
+%endif
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+BuildRequires: python-sip
+BuildRequires: python-qt
+%endif
+
+%if 0%{?rhel} >= 6 || 0%{?fedora}
+BuildRequires: sip-devel
+BuildRequires: PyQt-devel
+%endif
+
+%if 0%{?suse_version}
+BuildRequires: python-sip-devel
+BuildRequires: trinity-PyQt-devel
+%endif
+
+%description
+Python binding module that provides wide access to the Trinity API,
+also known as PyKDE. Using this, you'll get (for example) classes
+from kio, kjs, khtml and kprint.
+
+
+%package devel
+Summary: Trinity bindings for Python - Development files and scripts [Trinity]
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Development .sip files with definitions of PyKDE classes. They
+are needed to build PyKDE, but also as building blocks of other
+packages based on them.
+The package also contains kdepyuic, a wrapper script around PyQt's
+user interface compiler.
+
+
+%package doc
+Summary: Documentation and examples for PyKDE [Trinity]
+Group: Development/Libraries
+
+%description doc
+General documentation and examples for PyKDE providing programming
+tips and working code you can use to learn from.
+
+
+%if 0%{?suse_version}
+%debug_package
+%endif
+
+
+%prep
+%setup -q -n python-trinity-3.5.13.1
+%patch1 -p1
+%patch3 -p1
+%patch4 -p1
+
+
+# Hack to get TQT include files under /opt
+%__sed -i "configure.py" \
+ -e "s|/usr/include/tqt|%{tde_includedir}/tqt|g"
+
+
+%build
+unset QTDIR; . /etc/profile.d/qt3.sh
+export PATH="%{tde_bindir}:${PATH}"
+export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}"
+
+export LDFLAGS="${LDFLAGS} -lpython2.7"
+
+export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt
+
+%__python configure.py \
+ -k %{tde_prefix} \
+ -L %{_lib} \
+ -v %{_datadir}/sip/trinity
+
+%if 0%{?mgaversion} || 0%{?mdkversion}
+# Shitty hack to add LDFLAGS
+%__sed -i */Makefile \
+ -e "/^LIBS = / s|$| -lpython2.7 -lDCOP -lkdecore -lkdefx -lkdeui -lkresources -lkabc -lkparts -lkio|"
+%endif
+
+%__make %{_smp_mflags}
+
+%install
+export PATH="%{tde_bindir}:${PATH}"
+%__rm -rf %{buildroot}
+%__make install DESTDIR=%{buildroot}
+
+# Install documentation
+%__mkdir_p %{buildroot}%{tde_tdedocdir}/HTML/en/
+%__cp -rf doc %{buildroot}%{tde_tdedocdir}/HTML/en/python-trinity/
+
+
+
+%clean
+%__rm -rf %{buildroot}
+
+
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING NEWS README
+%{python_sitearch}/*.so
+%{python_sitearch}/dcop*.py*
+%{python_sitearch}/pykde*.py*
+
+%files devel
+%defattr(-,root,root,-)
+%{tde_bindir}/kdepyuic
+# The SIP files are outside TDE's prefix
+%{_datadir}/sip/trinity/
+
+%files doc
+%defattr(-,root,root,-)
+%{tde_tdedocdir}/HTML/en/python-trinity/
+
+
+%Changelog
+* Tue Oct 02 2012 Francois Andriot <francois.andriot@free.fr> - 3.16.3-3
+- Initial release for TDE 3.5.13.1
diff --git a/redhat/libraries/python-trinity/python-trinity.spec b/redhat/libraries/python-trinity/python-trinity-3.5.13.spec
index f2815a5c9..b0696ad3e 100644
--- a/redhat/libraries/python-trinity/python-trinity.spec
+++ b/redhat/libraries/python-trinity/python-trinity-3.5.13.spec
@@ -80,6 +80,7 @@ from kio, kjs, khtml and kprint.
%package devel
Summary: Trinity bindings for Python - Development files and scripts [Trinity]
Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
%description devel
Development .sip files with definitions of PyKDE classes. They