Compare commits

..

62 Commits

Author SHA1 Message Date
Slávek Banko 48cc913f9f
Update version number for R14.0.7 final release.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko 0c25885db9 Merge translation files from master branch. 6 years ago
TDE Gitea a5bfd5f95f Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 6 years ago
Slávek Banko 10f43ef943
Switch all submodules to https.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko b0729fbb53 Merge translation files from master branch. 6 years ago
Slávek Banko 9128a71f64 Merge translation files from master branch. 6 years ago
Slávek Banko 9e980005b3 Merge translation files from master branch. 6 years ago
Slávek Banko 8de3e9d171 Merge translation files from master branch. 6 years ago
Slávek Banko bf396ddb6d Update translation template. 6 years ago
Chris ef7c080966
Replace Qt branding with TQt ones and add GTK version.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 0fd7c192a2)
6 years ago
Slávek Banko 7a9bdba461 Merge translation files from master branch. 6 years ago
Slávek Banko 5199ecb0a1 Merge translation files from master branch. 6 years ago
Slávek Banko d30398b789 Merge translation files from master branch. 6 years ago
Slávek Banko c2d8162793 Merge translation files from master branch. 6 years ago
TDE Gitea c417653b7c Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 6 years ago
Slávek Banko f5f7ce2e48 Merge translation files from master branch. 6 years ago
TDE Gitea 321fd4f5d7 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 7 years ago
TDE Gitea 0c328e2917 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 7 years ago
Michele Calgaro dc34fe690e
Updated VERSION reference to R14.0.6 in CMakeLists.txt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
TDE Gitea 4820bae0c8 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 7 years ago
TDE Gitea c344a8ab32 Reset submodule main/applications/gtk-qt-engine/admin to latest HEAD 7 years ago
Slávek Banko 5e2efcc212
Use common CMake tests.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit b5da70f352)
7 years ago
TDE Gitea 2b10fa4a65 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 7 years ago
TDE Gitea 5ebc2c5cdb Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 7 years ago
TDE Weblate 3c5b58e8cf
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/gtk-qt-engine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/gtk-qt-engine/
(cherry picked from commit b75d2d232a)
7 years ago
Slávek Banko 69ec77edf1
Update translation template.
(cherry picked from commit d08b67d169)
7 years ago
TDE Gitea 03343662a0 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 7 years ago
TDE Gitea db32b39357 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 7 years ago
TDE Weblate 15cbd18855
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: applications/gtk-qt-engine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/gtk-qt-engine/
(cherry picked from commit a9cc3af30f)
7 years ago
Slávek Banko 05aebc3016
Add CMakeL10n rules.
Update translation template.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 7a2f7de501)
7 years ago
Fabio Rossi ea5d165dd7
Avoid overriding user linker flags (LDFLAGS) for modules and shared libs
Signed-off-by: Fabio Rossi <rossi.f@inwind.it>
(cherry picked from commit 893ae3502d)
7 years ago
TDE Gitea 3e79c16859 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 7 years ago
TDE Gitea 47677129a0 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 7 years ago
TDE Gitea 896d9f4692 Reset submodule main/applications/gtk-qt-engine/admin to latest HEAD 7 years ago
TDE Gitea bc575bc37b Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 7 years ago
TDE Gitea 4d8b913554 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 7 years ago
Michele Calgaro 1a0bdf9746
Add includes to UI files to resolve FTBFS.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 5dea96d025)
7 years ago
TDE Gitea e31beb7896 Reset submodule main/applications/gtk-qt-engine/admin to latest HEAD 7 years ago
Michele Calgaro 76961e31aa
Removed extension from icon name in desktop file. This relates to bug
2424.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit decaa27111)
7 years ago
Slávek Banko cc68310e38 Reset submodule main/applications/gtk-qt-engine/admin to latest HEAD 7 years ago
Slávek Banko 9c13c4d171 Reset submodule main/applications/gtk-qt-engine/admin to latest HEAD 7 years ago
Slávek Banko 68a9a26b8e Reset submodule main/applications/gtk-qt-engine/admin to latest HEAD 8 years ago
Slávek Banko 1e9cf2640c Fix FTBFS with clang
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1045125941)
8 years ago
Slávek Banko 2c2086d242 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 9 years ago
Slávek Banko ed65414ee0 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 9 years ago
Slávek Banko 58ff2c4799 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 9 years ago
Slávek Banko 917b385ae1 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 9 years ago
Slávek Banko 69420d7c79 Reset submodule main/applications/gtk-qt-engine/admin to latest HEAD 9 years ago
Slávek Banko bcb35dbd07 cmake: add tde_add_check_executable macro 9 years ago
Slávek Banko f53ed591b2 Update version number for new target R14.0.5 9 years ago
Slávek Banko 5a42594dd6 Reset submodule main/applications/gtk-qt-engine/admin to latest HEAD 9 years ago
Slávek Banko c8cf1f9338 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 10 years ago
Slávek Banko 7a4a474744 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 10 years ago
Slávek Banko 72530653e3 Update version number for new target R14.0.4 10 years ago
Slávek Banko 484a1d3ce2 Update version number for new target R14.0.3 10 years ago
Slávek Banko e50a6acedd Add Default as a valid option for GTK3 theme
This resolves Bug 2478

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f92343d24d)
10 years ago
Slávek Banko ae1495417e Update version number for new target R14.0.2 10 years ago
Slávek Banko be449ba2db Update version in CMakeLists files 10 years ago
Slávek Banko 9ea9c9054c Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 10 years ago
Slávek Banko cd479ddfc8 Reset submodule main/applications/gtk-qt-engine/cmake to latest HEAD 11 years ago
Slávek Banko a5ab4eb3b1 Reset submodule main/applications/gtk-qt-engine/admin to latest HEAD 11 years ago
Timothy Pearson 64ed1c50de Bring keyboard icon into XDG compliance
(cherry picked from commit 8582085e78)
11 years ago

6
.gitmodules vendored

@ -0,0 +1,6 @@
[submodule "admin"]
path = admin
url = https://system@scm.trinitydesktop.org/scm/git/tde-common-admin
[submodule "cmake"]
path = cmake
url = https://system@scm.trinitydesktop.org/scm/git/tde-common-cmake

@ -0,0 +1,27 @@
This licence file applies only to FindMsgfmt.cmake and was taken from:
http://code.google.com/p/cmake-modules/
-----------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. The name of the author may not be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

@ -0,0 +1,86 @@
#
# - Try to find the msgfmt executeable
#
# It will set the following variables:
#
# MSGFMT_FOUND
# MSGFMT_EXECUTABLE
#
###################################################################
#
# Copyright (c) 2006, Andreas Schneider <mail@cynapses.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
#
###################################################################
#
# Copyright (c) 2006 Andreas Schneider <mail@cynapses.org>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
#
# * Neither the name of the cmake-modules nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
IF (MSGFMT_EXECUTABLE)
# in cache alread?
SET(MSGFMT_FOUND TRUE)
ELSE (MSGFMT_EXECUTABLE)
IF (UNIX)
FIND_PROGRAM(MSGFMT_EXECUTABLE
NAMES
msgfmt
PATHS
/usr/bin
/usr/local/bin
)
IF(MSGFMT_EXECUTABLE)
SET(MSGFMT_FOUND TRUE)
ELSE(MSGFMT_EXECUTABLE)
MESSAGE(FATAL_ERROR "msgfmt not found - po files can't be processed")
ENDIF(MSGFMT_EXECUTABLE)
MARK_AS_ADVANCED(MSGFMT_EXECUTABLE)
ENDIF(UNIX)
ENDIF (MSGFMT_EXECUTABLE)
# vim:et ts=2 sw=2 comments=\:\#

@ -0,0 +1,56 @@
# Both these macros are taken from KDE3Macros.cmake
# Apart from the names, the only modification is that they take a destination argument
MACRO(GTKQT_KDE3_ADD_KPART _target_NAME _destination _with_PREFIX)
#is the first argument is "WITH_PREFIX" then keep the standard "lib" prefix, otherwise SET the prefix empty
IF (${_with_PREFIX} STREQUAL "WITH_PREFIX")
SET(_first_SRC)
ELSE (${_with_PREFIX} STREQUAL "WITH_PREFIX")
SET(_first_SRC ${_with_PREFIX})
ENDIF (${_with_PREFIX} STREQUAL "WITH_PREFIX")
IF (KDE3_ENABLE_FINAL)
KDE3_CREATE_FINAL_FILE(${_target_NAME}_final.cpp ${_first_SRC} ${ARGN})
ADD_LIBRARY(${_target_NAME} MODULE ${_target_NAME}_final.cpp)
ELSE (KDE3_ENABLE_FINAL)
ADD_LIBRARY(${_target_NAME} MODULE ${_first_SRC} ${ARGN})
ENDIF (KDE3_ENABLE_FINAL)
IF(_first_SRC)
SET_TARGET_PROPERTIES(${_target_NAME} PROPERTIES PREFIX "")
ENDIF(_first_SRC)
GTKQT_KDE3_INSTALL_LIBTOOL_FILE(${_target_NAME} ${_destination})
ENDMACRO(GTKQT_KDE3_ADD_KPART)
MACRO(GTKQT_KDE3_INSTALL_LIBTOOL_FILE _target _destination)
GET_TARGET_PROPERTY(_target_location ${_target} LOCATION)
GET_FILENAME_COMPONENT(_laname ${_target_location} NAME_WE)
GET_FILENAME_COMPONENT(_soname ${_target_location} NAME)
SET(_laname ${CMAKE_CURRENT_BINARY_DIR}/${_laname}.la)
FILE(WRITE ${_laname} "# ${_laname} - a libtool library file, generated by cmake \n")
FILE(APPEND ${_laname} "# The name that we can dlopen(3).\n")
FILE(APPEND ${_laname} "dlname='${_soname}'\n")
FILE(APPEND ${_laname} "# Names of this library\n")
FILE(APPEND ${_laname} "library_names='${_soname} ${_soname} ${_soname}'\n")
FILE(APPEND ${_laname} "# The name of the static archive\n")
FILE(APPEND ${_laname} "old_library=''\n")
FILE(APPEND ${_laname} "# Libraries that this one depends upon.\n")
FILE(APPEND ${_laname} "dependency_libs=''\n")
# FILE(APPEND ${_laname} "dependency_libs='${${_target}_LIB_DEPENDS}'\n")
FILE(APPEND ${_laname} "# Version information.\ncurrent=0\nage=0\nrevision=0\n")
FILE(APPEND ${_laname} "# Is this an already installed library?\ninstalled=yes\n")
FILE(APPEND ${_laname} "# Should we warn about portability when linking against -modules?\nshouldnotlink=yes\n")
FILE(APPEND ${_laname} "# Files to dlopen/dlpreopen\ndlopen=''\ndlpreopen=''\n")
FILE(APPEND ${_laname} "# Directory that this library needs to be installed in:\n")
FILE(APPEND ${_laname} "libdir='${CMAKE_INSTALL_PREFIX}/lib/trinity'\n")
INSTALL(
FILES ${_laname}
DESTINATION ${_destination}
)
ENDMACRO(GTKQT_KDE3_INSTALL_LIBTOOL_FILE)

@ -9,23 +9,15 @@
#
#################################################
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
cmake_minimum_required( VERSION 2.8 )
##### include our cmake modules #################
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEL10n )
##### create translation templates ##############
tde_l10n_create_template( "messages/gtk-qt-engine" )
tde_l10n_create_template(
CATALOG "desktop_files/gtk-qt-engine-desktops"
SOURCES *.desktop
)
tde_l10n_create_template( "gtkqtengine" )

@ -1,23 +1,13 @@
############################################
# #
# Improvements and feedbacks are welcome #
# #
# This file is released under GPL >= 2 #
# #
############################################
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
tde_set_project_version( )
cmake_minimum_required( VERSION 2.8 )
##### general package setup #####################
project( gtk-qt-engine )
set( PACKAGE gtk-qt-engine )
set( VERSION R14.0.7 )
##### include essential cmake modules ###########
@ -33,6 +23,7 @@ include( CheckStructHasMember )
##### include our cmake modules #################
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEMacros )
@ -47,19 +38,6 @@ tde_setup_paths( )
set( ENV{PKG_CONFIG_PATH} "${PKG_CONFIG_PATH}:$ENV{PKG_CONFIG_PATH}:${LIB_INSTALL_DIR}/pkgconfig" )
##### optional stuff
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
##### user requested modules
option( BUILD_ALL "Build all" ON )
option( BUILD_DOC "Build doc" ${BUILD_ALL} )
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
##### configure checks ##########################
include( ConfigureChecks.cmake )
@ -67,31 +45,72 @@ include( ConfigureChecks.cmake )
###### global compiler settings #################
add_definitions( -DHAVE_CONFIG_H )
add_definitions(
-DHAVE_CONFIG_H
)
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
##### directories
add_subdirectory( src )
add_subdirectory( kcm_gtk )
tde_conditional_add_project_docs( BUILD_DOC )
tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
##### write configure files
configure_file( config.h.cmake config.h @ONLY )
##### uninstall support
if( NOT TARGET uninstall )
configure_file( "cmake_uninstall.cmake.in" "cmake_uninstall.cmake" IMMEDIATE @ONLY )
add_custom_target( uninstall
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
)
endif()
INCLUDE (UsePkgConfig)
# Find GTK
PKGCONFIG(gtk+-2.0 GTK_INCLUDE_DIR GTK_LIB_DIR GTK_LINK_FLAGS GTK_CFLAGS)
IF (NOT GTK_INCLUDE_DIR)
MESSAGE(FATAL_ERROR "GTK was not found. Ensure you have the GTK development libraries installed, and GTK's pkgconfig files are in your pkgconfig search path.")
ENDIF (NOT GTK_INCLUDE_DIR)
MESSAGE(STATUS "Found GTK include dir: ${GTK_INCLUDE_DIR}")
MESSAGE(STATUS "Found GTK library dir: ${GTK_LIB_DIR}")
# Find Bonobo
PKGCONFIG(libbonoboui-2.0 BONOBO_INCLUDE_DIR BONOBO_LIB_DIR BONOBO_LINK_FLAGS BONOBO_CFLAGS)
IF (NOT BONOBO_INCLUDE_DIR)
MESSAGE(STATUS "bonoboui not found. Some features of the theme engine will not work as intended.")
ELSE (NOT BONOBO_INCLUDE_DIR)
MESSAGE(STATUS "Found Bonobo include dir: ${BONOBO_INCLUDE_DIR}")
MESSAGE(STATUS "Found Bonobo library dir: ${BONOBO_LIB_DIR}")
SET(BONOBO_DEFINITIONS -D HAVE_BONOBO)
ENDIF (NOT BONOBO_INCLUDE_DIR)
# Work out where to install stuff
EXEC_PROGRAM(
${PKGCONFIG_EXECUTABLE}
ARGS --variable=gtk_binary_version gtk+-2.0
OUTPUT_VARIABLE GTK_VERSION)
SET(INSTALL_PATH_GTK_ENGINES "${GTK_LIB_DIR}/gtk-2.0/${GTK_VERSION}/engines" CACHE PATH "The directory in which to install the theme engine library (eg. /usr/lib/gtk-2.0/2.4.0/engines)")
MESSAGE(STATUS "Installing the GTK theme engine library to: ${INSTALL_PATH_GTK_ENGINES}")
EXEC_PROGRAM(
${PKGCONFIG_EXECUTABLE}
ARGS --variable=prefix gtk+-2.0
OUTPUT_VARIABLE GTK_PREFIX)
SET(INSTALL_PATH_GTK_THEMES "${GTK_PREFIX}/share/themes" CACHE PATH "The directory in which to install the theme data (eg. /usr/share/themes)")
MESSAGE(STATUS "Installing the GTK theme engine data to: ${INSTALL_PATH_GTK_THEMES}")
SET(INSTALL_PATH_KCONTROL_MODULES "${TDE_LIB_DIR}" CACHE PATH "The directory in which to install KControl plugins (eg. /usr/lib)")
MESSAGE(STATUS "Installing the KControl plugins to: ${INSTALL_PATH_KCONTROL_MODULES}")
MESSAGE(STATUS "Installing everything else to: ${CMAKE_INSTALL_PREFIX}")
# Setup definitions and directories to be used in all subdirectories
ADD_DEFINITIONS(${QT_DEFINITIONS} ${TDE_DEFINITIONS} ${BONOBO_DEFINITIONS})
LINK_DIRECTORIES(${TDE_LIB_DIR} ${GTK_LIB_DIR} ${BONOBO_LIB_DIR} ${TQT_LIBRARY_DIRS})
INCLUDE_DIRECTORIES(${GTK_INCLUDE_DIR} ${BONOBO_INCLUDE_DIR} ${TDE_INCLUDE_DIR} ${TQT_INCLUDE_DIRS})
# Subdirectories
ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(kcm_gtk)
ADD_SUBDIRECTORY(po)
ADD_SUBDIRECTORY(doc)
# Uninstall support
CONFIGURE_FILE(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)
ADD_CUSTOM_TARGET(uninstall
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")

@ -12,41 +12,8 @@ find_package( TQt )
find_package( TDE )
##### check for gcc visibility support
##### check for gcc visibility support #########
if( WITH_GCC_VISIBILITY )
tde_setup_gcc_visibility( )
endif( )
#### gtk+-2.0
pkg_search_module( GTK gtk+-2.0 )
if( NOT GTK_FOUND )
tde_message_fatal( "gtk2 is required but was not found on your system" )
endif( )
execute_process(
COMMAND ${PKG_CONFIG_EXECUTABLE}
gtk+-2.0 --variable=gtk_binary_version
OUTPUT_VARIABLE GTK_BIN_VERSION
OUTPUT_STRIP_TRAILING_WHITESPACE
)
set( INSTALL_PATH_GTK_ENGINES "${GTK_LIBDIR}/gtk-2.0/${GTK_BIN_VERSION}/engines"
CACHE PATH "The directory in which to install the theme engine library" )
message( STATUS " theme engine lib directory: ${INSTALL_PATH_GTK_ENGINES}" )
set( INSTALL_PATH_GTK_THEMES "${GTK_PREFIX}/share/themes"
CACHE PATH "The directory in which to install the theme data" )
MESSAGE( STATUS " theme engine data directory: ${INSTALL_PATH_GTK_THEMES}" )
#### libbonoboui-2.0
pkg_search_module( BONOBO libbonoboui-2.0 )
if( NOT BONOBO_FOUND )
message( STATUS "bonoboui not found. Some features of the theme engine will not work as intended." )
else( )
set( HAVE_BONOBO 1 )
endif( )

@ -0,0 +1,248 @@
# Doxyfile 1.3.5-KDevelop
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = gtkqtengine.tdevelop
PROJECT_NUMBER = 0.3
OUTPUT_DIRECTORY =
OUTPUT_LANGUAGE = English
USE_WINDOWS_ENCODING = NO
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = YES
ABBREVIATE_BRIEF = "The $name class" \
"The $name widget" \
"The $name file" \
is \
provides \
specifies \
contains \
represents \
a \
an \
the
ALWAYS_DETAILED_SEC = NO
INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = NO
STRIP_FROM_PATH = /home/david/gtk-qt-engine-0.4/
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = NO
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = NO
INHERIT_DOCS = YES
DISTRIBUTE_GROUP_DOC = NO
TAB_SIZE = 8
ALIASES =
OPTIMIZE_OUTPUT_FOR_C = NO
OPTIMIZE_OUTPUT_JAVA = NO
SUBGROUPING = YES
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
EXTRACT_ALL = NO
EXTRACT_PRIVATE = NO
EXTRACT_STATIC = NO
EXTRACT_LOCAL_CLASSES = YES
HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
HIDE_FRIEND_COMPOUNDS = NO
HIDE_IN_BODY_DOCS = NO
INTERNAL_DOCS = NO
CASE_SENSE_NAMES = YES
HIDE_SCOPE_NAMES = NO
SHOW_INCLUDE_FILES = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = YES
SORT_BRIEF_DOCS = NO
SORT_BY_SCOPE_NAME = NO
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES
ENABLED_SECTIONS =
MAX_INITIALIZER_LINES = 30
SHOW_USED_FILES = YES
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_IF_DOC_ERROR = YES
WARN_FORMAT = "$file:$line: $text"
WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = /home/david/gtk-qt-engine-0.4
FILE_PATTERNS = *.c \
*.cc \
*.cxx \
*.cpp \
*.c++ \
*.java \
*.ii \
*.ixx \
*.ipp \
*.i++ \
*.inl \
*.h \
*.hh \
*.hxx \
*.hpp \
*.h++ \
*.idl \
*.odl \
*.cs \
*.php \
*.php3 \
*.inc \
*.C \
*.H \
*.tlh \
*.diff \
*.patch \
*.moc \
*.xpm \
*.dox
RECURSIVE = yes
EXCLUDE =
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS = *
EXAMPLE_RECURSIVE = NO
IMAGE_PATH =
INPUT_FILTER =
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = NO
INLINE_SOURCES = NO
STRIP_CODE_COMMENTS = YES
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION = YES
VERBATIM_HEADERS = YES
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX = NO
COLS_IN_ALPHA_INDEX = 5
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
CHM_FILE =
HHC_LOCATION =
GENERATE_CHI = NO
BINARY_TOC = NO
TOC_EXPAND = NO
DISABLE_INDEX = NO
ENUM_VALUES_PER_LINE = 4
GENERATE_TREEVIEW = NO
TREEVIEW_WIDTH = 250
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX = YES
LATEX_OUTPUT = latex
LATEX_CMD_NAME = latex
MAKEINDEX_CMD_NAME = makeindex
COMPACT_LATEX = NO
PAPER_TYPE = a4wide
EXTRA_PACKAGES =
LATEX_HEADER =
PDF_HYPERLINKS = NO
USE_PDFLATEX = NO
LATEX_BATCHMODE = NO
LATEX_HIDE_INDICES = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF = NO
RTF_OUTPUT = rtf
COMPACT_RTF = NO
RTF_HYPERLINKS = NO
RTF_STYLESHEET_FILE =
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN = NO
MAN_OUTPUT = man
MAN_EXTENSION = .3
MAN_LINKS = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML = yes
XML_OUTPUT = xml
XML_SCHEMA =
XML_DTD =
XML_PROGRAMLISTING = YES
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# configuration options related to the Perl module output
#---------------------------------------------------------------------------
GENERATE_PERLMOD = NO
PERLMOD_LATEX = NO
PERLMOD_PRETTY = YES
PERLMOD_MAKEVAR_PREFIX =
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
PREDEFINED =
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::additions related to external references
#---------------------------------------------------------------------------
TAGFILES =
GENERATE_TAGFILE =
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = YES
HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = NO
CLASS_GRAPH = YES
COLLABORATION_GRAPH = YES
UML_LOOK = NO
TEMPLATE_RELATIONS = NO
INCLUDE_GRAPH = YES
INCLUDED_BY_GRAPH = YES
CALL_GRAPH = NO
GRAPHICAL_HIERARCHY = YES
DOT_IMAGE_FORMAT = png
DOT_PATH =
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 1024
MAX_DOT_GRAPH_HEIGHT = 1024
MAX_DOT_GRAPH_DEPTH = 1000
GENERATE_LEGEND = YES
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::additions related to the search engine
#---------------------------------------------------------------------------
SEARCHENGINE = NO

@ -1,23 +1,167 @@
Basic Installation
==================
gtk-qt-engine relies on cmake to build.
These are generic installation instructions.
Here are suggested default options:
The `configure' shell script attempts to guess correct values for
various system-dependent variables used during compilation. It uses
those values to create a `Makefile' in each directory of the package.
It may also create one or more `.h' files containing system-dependent
definitions. Finally, it creates a shell script `config.status' that
you can run in the future to recreate the current configuration, a file
`config.cache' that saves the results of its tests to speed up
reconfiguring, and a file `config.log' containing compiler output
(useful mainly for debugging `configure').
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DBUILD_ALL="ON" \
-DWITH_ALL_OPTIONS="ON"
If you need to do unusual things to compile the package, please try
to figure out how `configure' could check whether to do them, and mail
diffs or instructions to the address given in the `README' so they can
be considered for the next release. If at some point `config.cache'
contains results you don't want to keep, you may remove or edit it.
The file `configure.in' is used to create `configure' by a program
called `autoconf'. You only need `configure.in' if you want to change
it or regenerate `configure' using a newer version of `autoconf'.
Requirements:
=============
The simplest way to compile this package is:
- gtk 2.x libraries
1. `cd' to the directory containing the package's source code and type
`./configure' to configure the package for your system. If you're
using `csh' on an old version of System V, you might need to type
`sh ./configure' instead to prevent `csh' from trying to execute
`configure' itself.
Running `configure' takes a while. While running, it prints some
messages telling which features it is checking for.
2. Type `make' to compile the package.
3. Type `make install' to install the programs and any data files and
documentation.
4. You can remove the program binaries and object files from the
source code directory by typing `make clean'.
Compilers and Options
=====================
Some systems require unusual options for compilation or linking that
the `configure' script does not know about. You can give `configure'
initial values for variables by setting them in the environment. Using
a Bourne-compatible shell, you can do that on the command line like
this:
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
Or on systems that have the `env' program, you can do it like this:
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
Compiling For Multiple Architectures
====================================
You can compile the package for more than one kind of computer at the
same time, by placing the object files for each architecture in their
own directory. To do this, you must use a version of `make' that
supports the `VPATH' variable, such as GNU `make'. `cd' to the
directory where you want the object files and executables to go and run
the `configure' script. `configure' automatically checks for the
source code in the directory that `configure' is in and in `..'.
If you have to use a `make' that does not supports the `VPATH'
variable, you have to compile the package for one architecture at a time
in the source code directory. After you have installed the package for
one architecture, use `make distclean' before reconfiguring for another
architecture.
Installation Names
==================
By default, `make install' will install the package's files in
`/usr/local/bin', `/usr/local/man', etc. You can specify an
installation prefix other than `/usr/local' by giving `configure' the
option `--prefix=PATH'.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
give `configure' the option `--exec-prefix=PATH', the package will use
PATH as the prefix for installing programs and libraries.
Documentation and other data files will still use the regular prefix.
If the package supports it, you can cause programs to be installed
with an extra prefix or suffix on their names by giving `configure' the
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
Optional Features
=================
Some packages pay attention to `--enable-FEATURE' options to
`configure', where FEATURE indicates an optional part of the package.
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
is something like `gnu-as' or `x' (for the X Window System). The
`README' should mention any `--enable-' and `--with-' options that the
package recognizes.
For packages that use the X Window System, `configure' can usually
find the X include and library files automatically, but if it doesn't,
you can use the `configure' options `--x-includes=DIR' and
`--x-libraries=DIR' to specify their locations.
Specifying the System Type
==========================
There may be some features `configure' can not figure out
automatically, but needs to determine by the type of host the package
will run on. Usually `configure' can figure that out, but if it prints
a message saying it can not guess the host type, give it the
`--host=TYPE' option. TYPE can either be a short name for the system
type, such as `sun4', or a canonical name with three fields:
CPU-COMPANY-SYSTEM
See the file `config.sub' for the possible values of each field. If
`config.sub' isn't included in this package, then this package doesn't
need to know the host type.
If you are building compiler tools for cross-compiling, you can also
use the `--target=TYPE' option to select the type of system they will
produce code for and the `--build=TYPE' option to select the type of
system on which you are compiling the package.
Sharing Defaults
================
If you want to set default values for `configure' scripts to share,
you can create a site shell script called `config.site' that gives
default values for variables like `CC', `cache_file', and `prefix'.
`configure' looks for `PREFIX/share/config.site' if it exists, then
`PREFIX/etc/config.site' if it exists. Or, you can set the
`CONFIG_SITE' environment variable to the location of the site script.
A warning: not all `configure' scripts look for a site script.
Operation Controls
==================
`configure' recognizes the following options to control how it
operates.
`--cache-file=FILE'
Use and save the results of the tests in FILE instead of
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
debugging `configure'.
`--help'
Print a summary of the options to `configure', and exit.
`--quiet'
`--silent'
`-q'
Do not print messages saying which checks are being made.
`--srcdir=DIR'
Look for the package's source code in directory DIR. Usually
`configure' can determine that directory automatically.
`--version'
Print the version of Autoconf used to generate the `configure'
script, and exit.
`configure' also accepts some other, not widely useful, options.

@ -0,0 +1 @@

@ -0,0 +1,25 @@
A GTK theme engine that uses QT for drawing.
Installing:
make -f Makefile.cvs (only if compiling from CVS)
./configure
make
make install
Using:
Open the "GTK Styles and Fonts" section in the KDE control center
and select "Use my KDE style in GTK applications".
Uninstalling:
make uninstall
David Sansome
me@davidsansome.com

@ -1,34 +0,0 @@
A theme engine using TQt for GTK+ 2.x and Trinity
The GTK-Qt Theme Engine (also known as gtk-qt-engine) is a GTK 2 theme engine
that calls TQt to do the actual drawing. This makes your GTK 2 applications
look almost like real TQt applications and gives you a more unified desktop
experience.
To use the engine, open the "GTK Styles and Fonts" section in the TDE control center
and select "Use my TDE style in GTK applications".
.
Contributing
--------------
If you wish to contribute to gtk-qt-engine, you might do so:
- TDE Gitea Workspace (TGW) collaboration tool.
https://mirror.git.trinitydesktop.org/gitea
- TDE Weblate Translation Workspace (TWTW) collaboration tool.
https://mirror.git.trinitydesktop.org/weblate
Translations status
---------------------
### messages
[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/gtk-qt-engine/multi-auto.svg
"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/gtk-qt-engine/)
### desktop files
[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/gtk-qt-engine-desktop-files/multi-auto.svg
"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/gtk-qt-engine-desktop-files/)

@ -0,0 +1 @@
Subproject commit f9148018b2f8a11fd830712c1b508046cc34ff22

@ -0,0 +1,96 @@
# -*-shell-script-*-
[Meta]
RootName: @freedesktop.org/gtkqtengine:$SOFTWAREVERSION
DisplayName: Gtk-Qt theme engine
ShortName: gtk-qt-engine
Maintainer: David Sansome <me@davidsansome.com>
Packager: David Sansome <me@davidsansome.com>
Summary: A GTK theme engine that mimics the active Qt style
SoftwareVersion: 0.8
InterfaceVersion: 0
AutopackageTarget: 1.2
Repository: http://gtk-qt.ecs.soton.ac.uk/files/$SOFTWAREVERSION/$SHORTNAME.xml
[BuildPrepare]
arg1="INSTALL_PATH_GTK_ENGINES:PATH=$build_root/lib/gtk-2.0/2.4.0/engines"
arg2="INSTALL_PATH_GTK_THEMES:PATH=$build_root/share/themes"
arg3="INSTALL_PATH_KCONTROL_MODULES:PATH=$build_root/lib"
arg4="CMAKE_INSTALL_PREFIX:PATH=$build_root"
export APBUILD_STATIC="Xrender"
export CC=`which apgcc`
export CXX=`which apg++`
if [[ "$APKG_BUILD_SKIP_CONFIGURE" != "1" ]]; then
out "$intl_CONFIGURING"
rm CMakeCache.txt
cmake -D $arg1 -D $arg2 -D $arg3 -D $arg4 .
if [[ "$?" == "0" ]]; then
outn "$intl_CONFIGURING"; green; out "$intl_DONE"; normal;
else
outn "$intl_CONFIGURING"; red; echo "$intl_FAILED"; normal;
exit 1;
fi
fi
if [[ "$APKG_BUILD_SKIP_MAKE" != "1" ]]; then
out "$intl_MAKING";
make clean
make
if [[ "$?" == "0" ]]; then
outn "$intl_MAKING"; green; out "$intl_DONE"; normal;
else
outn "$intl_MAKING"; red; echo "$intl_FAILED"; normal;
exit 1;
fi
fi
out "$intl_INSTALLING" "$build_root";
make install
if [[ "$?" == "0" ]]; then
outn "$intl_INSTALLING"; green; out "$intl_DONE"; normal;
else
outn "$intl_INSTALLING"; red; echo "$intl_FAILED"; normal;
exit 1;
fi
export _virtual_build_root="$build_root"
[BuildUnprepare]
unprepareBuild
[Imports]
echo '*' | import
[Prepare]
require @kde.org/tdelibs 3.1
require @gtk.org/gtk 2
removeOwningPackage $PREFIX/lib/gtk-2.0/engines/libqtengine.so
[Install]
outputStatus "Installing theme engine library..."
mkdirs "$PREFIX/lib/gtk-2.0/engines/"
copyFile --silent lib/gtk-2.0/2.4.0/engines/libqtengine.so "$PREFIX/lib/gtk-2.0/engines/libqtengine.so"
outputStatus "Installing theme..."
mkdirs "$PREFIX/share/themes/Qt/gtk-2.0"
copyFile --silent share/themes/Qt/gtk-2.0/gtkrc "$PREFIX/share/themes/Qt/gtk-2.0/gtkrc"
outputStatus "Installing KDE control center module..."
mkdirs "$PREFIX/lib/trinity"
copyFile --silent lib/trinity/kcm_kcmgtk.so "$PREFIX/lib/trinity/kcm_kcmgtk.so"
copyFile --silent lib/trinity/kcm_kcmgtk.la "$PREFIX/lib/trinity/kcm_kcmgtk.la"
installMenuItem --no-path-adjust "Settings/LookNFeel" "share/applications/kcmgtk.desktop"
updateEnv GTK_PATH "$PREFIX/lib/gtk-2.0"
updateEnv TDEDIRS "$PREFIX"
[Uninstall]
uninstallFromLog

@ -0,0 +1 @@
Subproject commit c51d14850ff2ed8051e840db9df1698f84af4216

File diff suppressed because it is too large Load Diff

@ -1,11 +0,0 @@
#define VERSION "@VERSION@"
// Defined if you have fvisibility and fvisibility-inlines-hidden support.
#cmakedefine __TDE_HAVE_GCC_VISIBILITY 1
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
/* Defined if libbonoboui is available */
#cmakedefine HAVE_BONOBO 1

File diff suppressed because it is too large Load Diff

15
configure vendored

@ -0,0 +1,15 @@
#!/bin/sh
echo "Warning: The GTK-Qt Theme Engine now uses cmake instead of ./configure."
echo
cmakepath=`which cmake 2>/dev/null`
if [ "$?" -eq "1" ]; then
echo "cmake was not found on your system."
echo "Please download cmake from http://www.cmake.org and ensure it is in your \$PATH"
exit 1
fi
echo "Found cmake in $cmakepath, executing it for you..."
cmake .

@ -0,0 +1,9 @@
#################################################
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
tde_auto_add_subdirectories()

@ -0,0 +1,4 @@
KDE_LANG = en
KDE_LANG_C = en
KDE_DOCS = AUTO
SUBDIRS = $(AUTODIRS)

@ -0,0 +1,9 @@
#################################################
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
tde_create_handbook( DESTINATION kcmgtk )

@ -0,0 +1,3 @@
KDE_LANG = en
KDE_LANG_C = en
KDE_DOCS = AUTO

@ -1,30 +1,30 @@
include_directories(
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEMacros )
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_BINARY_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
)
link_directories(
link_directories(
${TQT_LIBRARY_DIRS}
)
)
##### kcm_kcmgtk (part)
tde_add_kpart( kcm_kcmgtk AUTOMOC
SOURCES
kcmgtk.cpp
tde_add_kpart( kcm_kcmgtk AUTOMOC
SOURCES kcmgtk.cpp
kcmgtkwidget.ui
mozillaprofile.ui
emacsdetails.ui
searchpaths.ui
LINK tdecore-shared tdeui-shared
LINK ${TQT_LIBRARIES} -ltdecore -ltdeui
DESTINATION ${PLUGIN_INSTALL_DIR}
)
)
INSTALL(
FILES kcmgtk.desktop
DESTINATION share/applications/
)
##### other data
tde_create_translated_desktop( kcmgtk.desktop )

@ -18,10 +18,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#if defined( HAVE_CONFIG_H )
# include "config.h"
#endif
#include <tqlayout.h>
#include <tdelocale.h>
@ -52,7 +48,7 @@
#include <tqmessagebox.h>
#include <tqcheckbox.h>
#include <tdeglobal.h>
#include <tdestandarddirs.h>
#include <kstandarddirs.h>
#include <sys/types.h>
#include <sys/stat.h>
@ -72,9 +68,9 @@ K_EXPORT_COMPONENT_FACTORY( kcm_gtk, KcmGtkFactory("gtk"))*/
extern "C"
{
TDE_EXPORT TDECModule *create_kcmgtk( TQWidget * parent, const char * name )
TDECModule *create_kcmgtk( TQWidget * parent, const char * name )
{
TDEGlobal::locale()->insertCatalogue( "gtk-qt-engine" );
TDEGlobal::locale()->insertCatalogue( "gtkqtengine" );
return new KcmGtk( parent, "kcmgtk" );
}
}
@ -169,7 +165,7 @@ KcmGtk::KcmGtk(TQWidget *parent, const char *name, const TQStringList&)
emacsDetailsDialog(NULL),
searchPathsDialog(NULL)
{
TDEGlobal::locale()->insertCatalogue("gtk-qt-engine");
TDEGlobal::locale()->insertCatalogue("gtkqtengine");
config = new TDEConfig("kcmgtkrc");
@ -198,20 +194,20 @@ KcmGtk::KcmGtk(TQWidget *parent, const char *name, const TQStringList&)
load();
// Connect some signals
connect(widget->warning2, TQ_SIGNAL(leftClickedURL(const TQString&)), tdeApp, TQ_SLOT(invokeBrowser(const TQString&)));
connect(widget->styleGroup, TQ_SIGNAL(clicked(int)), TQ_SLOT(itemChanged()));
connect(widget->warning5, TQ_SIGNAL(leftClickedURL(const TQString&)), tdeApp, TQ_SLOT(invokeBrowser(const TQString&)));
connect(widget->styleGroup3, TQ_SIGNAL(clicked(int)), TQ_SLOT(itemChanged()));
connect(widget->fontGroup, TQ_SIGNAL(clicked(int)), TQ_SLOT(itemChanged()));
connect(widget->styleBox, TQ_SIGNAL(activated(int)), TQ_SLOT(itemChanged()));
connect(widget->styleBox, TQ_SIGNAL(activated(int)), TQ_SLOT(styleChanged()));
connect(widget->styleBox3, TQ_SIGNAL(activated(int)), TQ_SLOT(itemChanged()));
connect(widget->styleBox3, TQ_SIGNAL(activated(int)), TQ_SLOT(styleChanged()));
connect(widget->emacsBox, TQ_SIGNAL(toggled(bool)), TQ_SLOT(itemChanged()));
connect(widget->fontChange, TQ_SIGNAL(clicked()), TQ_SLOT(fontChangeClicked()));
connect(widget->emacsDetails, TQ_SIGNAL(clicked()), TQ_SLOT(emacsDetailsClicked()));
connect(widget->warning3, TQ_SIGNAL(clicked()), TQ_SLOT(searchPathsClicked()));
connect(widget->warning6, TQ_SIGNAL(clicked()), TQ_SLOT(searchPathsClicked()));
connect(widget->warning2, TQT_SIGNAL(leftClickedURL(const TQString&)), TDEApplication::kApplication(), TQT_SLOT(invokeBrowser(const TQString&)));
connect(widget->styleGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(itemChanged()));
connect(widget->warning5, TQT_SIGNAL(leftClickedURL(const TQString&)), TDEApplication::kApplication(), TQT_SLOT(invokeBrowser(const TQString&)));
connect(widget->styleGroup3, TQT_SIGNAL(clicked(int)), TQT_SLOT(itemChanged()));
connect(widget->fontGroup, TQT_SIGNAL(clicked(int)), TQT_SLOT(itemChanged()));
connect(widget->styleBox, TQT_SIGNAL(activated(int)), TQT_SLOT(itemChanged()));
connect(widget->styleBox, TQT_SIGNAL(activated(int)), TQT_SLOT(styleChanged()));
connect(widget->styleBox3, TQT_SIGNAL(activated(int)), TQT_SLOT(itemChanged()));
connect(widget->styleBox3, TQT_SIGNAL(activated(int)), TQT_SLOT(styleChanged()));
connect(widget->emacsBox, TQT_SIGNAL(toggled(bool)), TQT_SLOT(itemChanged()));
connect(widget->fontChange, TQT_SIGNAL(clicked()), TQT_SLOT(fontChangeClicked()));
connect(widget->emacsDetails, TQT_SIGNAL(clicked()), TQT_SLOT(emacsDetailsClicked()));
connect(widget->warning3, TQT_SIGNAL(clicked()), TQT_SLOT(searchPathsClicked()));
connect(widget->warning6, TQT_SIGNAL(clicked()), TQT_SLOT(searchPathsClicked()));
}
void KcmGtk::getInstalledThemes()
@ -417,7 +413,6 @@ void KcmGtk::save()
TQFile file(TQDir::homeDirPath() + "/" + GTK_RC_FILE);
file.open(IO_WriteOnly);
TQTextStream stream(&file);
stream.setEncoding(TQTextStream::Locale);
TQFont selectedFont(widget->fontKde->isChecked() ? TQApplication::font() : font);
TQString fontName = selectedFont.family() + " " +
@ -446,10 +441,6 @@ void KcmGtk::save()
stream << "\n";
stream << "gtk-theme-name=\"" << themeNameShort << "\"\n";
stream << "gtk-font-name=\"" << fontName << "\"\n";
stream << "gtk-icon-theme-name=\"tdegtk-icon-theme\"\n";
stream << "gtk-fallback-icon-theme-name=\"tdegtk-fallback-icon-theme\"\n";
stream << "\n";
stream << "include \"~/.gtkrc\"\n";
if (widget->emacsBox->isChecked())
stream << "gtk-key-theme-name=\"Emacs\"\n";
@ -468,7 +459,7 @@ void KcmGtk::save()
bool envFileDidNotExist = (!file.exists());
file.open(IO_ReadWrite);
stream.setDevice(&file);
stream.setDevice(TQT_TQIODEVICE(&file));
bool found = false;
for (;;)
{
@ -518,15 +509,15 @@ void KcmGtk::save()
if (file.exists())
{
file.open(IO_ReadOnly);
stream.setDevice(&file);
TQString fileDataString = stream.read();
TQByteArray fileData = file.readAll();
file.close();
TQString rcLine = "export GTK2_RC_FILES=$HOME/.gtkrc-2.0";
TQString fileDataString(fileData);
fileDataString.replace("\n" + rcLine, "\n# (This is no longer needed from version 0.8 of the theme engine)\n# " + rcLine);
file.open(IO_WriteOnly);
stream.setDevice(&file);
stream.setDevice(TQT_TQIODEVICE(&file));
stream << fileDataString;
file.close();
}
@ -580,11 +571,11 @@ void KcmGtk::searchPathsClicked()
if (searchPathsDialog == NULL)
{
searchPathsDialog = new SearchPaths(this);
connect(searchPathsDialog->okButton, TQ_SIGNAL(clicked()), TQ_SLOT(searchPathsOk()));
connect(searchPathsDialog->pathBox, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(searchPathsTextChanged(const TQString&)));
connect(searchPathsDialog->pathList, TQ_SIGNAL(currentChanged(TQListBoxItem*)), TQ_SLOT(searchPathsCurrentChanged(TQListBoxItem*)));
connect(searchPathsDialog->addButton, TQ_SIGNAL(clicked()), TQ_SLOT(searchPathsAddClicked()));
connect(searchPathsDialog->removeButton, TQ_SIGNAL(clicked()), TQ_SLOT(searchPathsRemoveClicked()));
connect(searchPathsDialog->okButton, TQT_SIGNAL(clicked()), TQT_SLOT(searchPathsOk()));
connect(searchPathsDialog->pathBox, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(searchPathsTextChanged(const TQString&)));
connect(searchPathsDialog->pathList, TQT_SIGNAL(currentChanged(TQListBoxItem*)), TQT_SLOT(searchPathsCurrentChanged(TQListBoxItem*)));
connect(searchPathsDialog->addButton, TQT_SIGNAL(clicked()), TQT_SLOT(searchPathsAddClicked()));
connect(searchPathsDialog->removeButton, TQT_SIGNAL(clicked()), TQT_SLOT(searchPathsRemoveClicked()));
}
searchPathsDialog->pathList->clear();

@ -1,17 +1,29 @@
[Desktop Entry]
Name=GTK Styles and Fonts
Comment=Control the style and fonts used by GTK applications
Type=Application
Icon=gnome_apps
Exec=tdecmshell kcmgtk
Terminal=false
Encoding=UTF-8
Icon=gnome_apps
OnlyShowIn=TDE;
Categories=X-TDE-systemsettings-lookandfeel-appearance;X-TDE-settings-looknfeel;
X-DocPath=kcontrol/gtk/index.html
X-DocPath=kcmgtk/index.html
Encoding=UTF-8
X-Keywords=kcmgtk,gtk,style,font;
X-TDE-FactoryName=kcmgtk
X-TDE-Library=kcmgtk
X-TDE-ModuleType=Library
Name[de]=GTK-Stile und Schriftarten
Comment[de]=Einstellung der Stile und Schriftarten in GTK-Anwendungen
Name[fr]=Styles et Polices GTK
Comment[fr]=Détermine le style et les polices utilisés par les applications GTK
Name[it]=Stili e font GTK
Comment[it]=Configura gli stili e i font usati dalle applicazioni GTK
Name[tr]=GTK Stil ve Yazıtipleri
Comment[tr]=GTK uygulamalarının stil ve yazıtiplerini TDE görünümlü yapar
Name[ru]=Стили и шрифты GTK
Comment[ru]=Управление стилями и шрифтами GTK
Type=Application
Categories=X-TDE-systemsettings-lookandfeel-appearance;X-TDE-settings-looknfeel;

@ -46,14 +46,14 @@ private:
class KcmGtk: public TDECModule
{
TQ_OBJECT
Q_OBJECT
// How to name the kde-specific gtk-rc-file
static const TQString GTK_RC_FILE;
// Where to search for KDE's config files
static const TQString KDE_RC_DIR;
// How to name gtk-qt-engines rc-file
// How to name qtk-qt-engines rc-file
static const TQString GTK_TQT_RC_FILE;
static const TQString GTK3_INI_DIR;

@ -503,6 +503,9 @@
<property name="text">
<string>Use m&amp;y TDE fonts in GTK2 applications</string>
</property>
<property name="accel">
<string>Alt+Y</string>
</property>
</widget>
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="3">
<property name="name">
@ -607,6 +610,9 @@
<property name="text">
<string>Use Emacs-like key&amp;board shortcuts for text editing</string>
</property>
<property name="accel">
<string>Alt+B</string>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">

@ -0,0 +1,6 @@
file( GLOB_RECURSE po_files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.po )
foreach( _po ${po_files} )
get_filename_component( _lang ${_po} PATH )
tde_create_translation( FILES ${_po} LANG ${_lang} )
endforeach( )

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: bg\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-31 18:21+0000\n"
"POT-Creation-Date: 2019-01-13 19:06+0100\n"
"PO-Revision-Date: 2007-04-05 16:13+0000\n"
"Last-Translator: Zlatko Popov <zlatkopopov@fsa-bg.org>\n"
"Language-Team: Bulgarian <dict@linux.zonebg.com>\n"
@ -16,31 +16,31 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.11.4\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#: _translatorinfo:1
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr ""
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
#: _translatorinfo:2
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr ""
#: kcm_gtk/kcmgtk.cpp:329
#: kcm_gtk/kcmgtk.cpp:325
msgid "%1 (size %2)"
msgstr "%1 (размер %2)"
#: src/qt_qt_wrapper.cpp:115
#: src/qt_qt_wrapper.cpp:112
msgid "gtk2-tqt-engine"
msgstr ""
#: src/qt_qt_wrapper.cpp:380
#: src/qt_qt_wrapper.cpp:377
msgid "Maintainer"
msgstr ""
#: src/qt_qt_wrapper.cpp:381
#: src/qt_qt_wrapper.cpp:378
msgid "Original Author"
msgstr ""
@ -260,27 +260,37 @@ msgstr "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЬЮЯабвгде
msgid "Use m&y TDE fonts in GTK2 applications"
msgstr "Използване шрифтовете на &TDE в GTK приложения"
#: kcm_gtk/kcmgtkwidget.ui:537
#: kcm_gtk/kcmgtkwidget.ui:507
#, no-c-format
msgid "Alt+Y"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:540
#, no-c-format
msgid "Preview line 1"
msgstr "Предварителен преглед 1"
#: kcm_gtk/kcmgtkwidget.ui:554
#: kcm_gtk/kcmgtkwidget.ui:557
#, no-c-format
msgid "GTK2 Keyboard Shortcuts"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:608
#: kcm_gtk/kcmgtkwidget.ui:611
#, no-c-format
msgid "Use Emacs-like key&board shortcuts for text editing"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:624
#: kcm_gtk/kcmgtkwidget.ui:614
#, no-c-format
msgid "Alt+B"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:630
#, no-c-format
msgid "Details..."
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:655
#: kcm_gtk/kcmgtkwidget.ui:661
#, fuzzy, no-c-format
msgid ""
"Note that changes made here will only affect GTK applications when TDE is "

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: de\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-31 18:21+0000\n"
"POT-Creation-Date: 2019-01-13 19:06+0100\n"
"PO-Revision-Date: 2019-12-17 16:56+0000\n"
"Last-Translator: Chris <xchrisx@uber.space>\n"
"Language-Team: German <https://mirror.git.trinitydesktop.org/weblate/"
@ -20,31 +20,31 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.9.1\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#: _translatorinfo:1
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Sebastian Roth, Jannick Kuhr"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
#: _translatorinfo:2
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "sebastian.roth@frm2.tum.de, jannick.kuhr@kdemail.net"
#: kcm_gtk/kcmgtk.cpp:329
#: kcm_gtk/kcmgtk.cpp:325
msgid "%1 (size %2)"
msgstr "%1 (Größe %2)"
#: src/qt_qt_wrapper.cpp:115
#: src/qt_qt_wrapper.cpp:112
msgid "gtk2-tqt-engine"
msgstr "gtk2-tqt-engine"
#: src/qt_qt_wrapper.cpp:380
#: src/qt_qt_wrapper.cpp:377
msgid "Maintainer"
msgstr "Betreuer"
#: src/qt_qt_wrapper.cpp:381
#: src/qt_qt_wrapper.cpp:378
msgid "Original Author"
msgstr "Originaler Autor"
@ -269,27 +269,37 @@ msgstr "Falsches Üben von Xylofonmusik quält jeden größeren Zwerg"
msgid "Use m&y TDE fonts in GTK2 applications"
msgstr "TDE-&Schriftarten in GTK2-Programmen verwenden"
#: kcm_gtk/kcmgtkwidget.ui:537
#: kcm_gtk/kcmgtkwidget.ui:507
#, no-c-format
msgid "Alt+Y"
msgstr "Alt+Y"
#: kcm_gtk/kcmgtkwidget.ui:540
#, no-c-format
msgid "Preview line 1"
msgstr "Vorschauzeile 1"
#: kcm_gtk/kcmgtkwidget.ui:554
#: kcm_gtk/kcmgtkwidget.ui:557
#, no-c-format
msgid "GTK2 Keyboard Shortcuts"
msgstr "GTK2-Tastenkürzel"
#: kcm_gtk/kcmgtkwidget.ui:608
#: kcm_gtk/kcmgtkwidget.ui:611
#, no-c-format
msgid "Use Emacs-like key&board shortcuts for text editing"
msgstr "Emacs-Tastenkürzel zum Editieren von Text verwenden"
#: kcm_gtk/kcmgtkwidget.ui:624
#: kcm_gtk/kcmgtkwidget.ui:614
#, no-c-format
msgid "Alt+B"
msgstr "Alt+B"
#: kcm_gtk/kcmgtkwidget.ui:630
#, no-c-format
msgid "Details..."
msgstr "Details ..."
#: kcm_gtk/kcmgtkwidget.ui:655
#: kcm_gtk/kcmgtkwidget.ui:661
#, no-c-format
msgid ""
"Note that changes made here will only affect GTK applications when TDE is "

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: es\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-31 18:21+0000\n"
"POT-Creation-Date: 2019-01-13 19:06+0100\n"
"PO-Revision-Date: 2019-10-05 03:25+0000\n"
"Last-Translator: Vitaly <vita_cell@hotmail.com>\n"
"Language-Team: Spanish <https://mirror.git.trinitydesktop.org/weblate/"
@ -18,31 +18,31 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.8\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#: _translatorinfo:1
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Sergio Cambra García, Vitaly Castaño Solana"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
#: _translatorinfo:2
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "runico@users.berlios.de, vita_cell@hotmail.com"
#: kcm_gtk/kcmgtk.cpp:329
#: kcm_gtk/kcmgtk.cpp:325
msgid "%1 (size %2)"
msgstr "%1 (tamaño %2)"
#: src/qt_qt_wrapper.cpp:115
#: src/qt_qt_wrapper.cpp:112
msgid "gtk2-tqt-engine"
msgstr "gtk2-tqt-engine"
#: src/qt_qt_wrapper.cpp:380
#: src/qt_qt_wrapper.cpp:377
msgid "Maintainer"
msgstr "Mantenedor"
#: src/qt_qt_wrapper.cpp:381
#: src/qt_qt_wrapper.cpp:378
msgid "Original Author"
msgstr "Autor original"
@ -265,27 +265,37 @@ msgstr "Jovencito emponzoñado de whisky, ¡qué figurota exhibe!"
msgid "Use m&y TDE fonts in GTK2 applications"
msgstr "Usar mis fuentes de TDE en las aplicaciones de GTK2"
#: kcm_gtk/kcmgtkwidget.ui:537
#: kcm_gtk/kcmgtkwidget.ui:507
#, no-c-format
msgid "Alt+Y"
msgstr "Alt+Y"
#: kcm_gtk/kcmgtkwidget.ui:540
#, no-c-format
msgid "Preview line 1"
msgstr "Línea 1 de previsualización"
#: kcm_gtk/kcmgtkwidget.ui:554
#: kcm_gtk/kcmgtkwidget.ui:557
#, no-c-format
msgid "GTK2 Keyboard Shortcuts"
msgstr "Atajos del teclado GTK2"
#: kcm_gtk/kcmgtkwidget.ui:608
#: kcm_gtk/kcmgtkwidget.ui:611
#, no-c-format
msgid "Use Emacs-like key&board shortcuts for text editing"
msgstr "Usar atajos del teclado similares a Emacs para la edición de texto"
#: kcm_gtk/kcmgtkwidget.ui:624
#: kcm_gtk/kcmgtkwidget.ui:614
#, no-c-format
msgid "Alt+B"
msgstr "Alt+B"
#: kcm_gtk/kcmgtkwidget.ui:630
#, no-c-format
msgid "Details..."
msgstr "Detalles..."
#: kcm_gtk/kcmgtkwidget.ui:655
#: kcm_gtk/kcmgtkwidget.ui:661
#, no-c-format
msgid ""
"Note that changes made here will only affect GTK applications when TDE is "

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: fr\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-31 18:21+0000\n"
"POT-Creation-Date: 2019-01-13 19:06+0100\n"
"PO-Revision-Date: 2005-01-23 10:38+0100\n"
"Last-Translator: Pascal Billery-Schneider <Pascal.Billery-Schneider@bluewin."
"ch>\n"
@ -20,31 +20,31 @@ msgstr ""
"ch>\n"
"X-Generator: KBabel 1.9.1\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#: _translatorinfo:1
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Pascal Billery-Schneider"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
#: _translatorinfo:2
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "Sagittarius@laposte.net"
#: kcm_gtk/kcmgtk.cpp:329
#: kcm_gtk/kcmgtk.cpp:325
msgid "%1 (size %2)"
msgstr "%1 (taille %2)"
#: src/qt_qt_wrapper.cpp:115
#: src/qt_qt_wrapper.cpp:112
msgid "gtk2-tqt-engine"
msgstr ""
#: src/qt_qt_wrapper.cpp:380
#: src/qt_qt_wrapper.cpp:377
msgid "Maintainer"
msgstr ""
#: src/qt_qt_wrapper.cpp:381
#: src/qt_qt_wrapper.cpp:378
msgid "Original Author"
msgstr ""
@ -266,27 +266,37 @@ msgstr "Portez ce vieux whisky au juge blond qui fume"
msgid "Use m&y TDE fonts in GTK2 applications"
msgstr "Utiliser les polices de KDE dans les applications GTK"
#: kcm_gtk/kcmgtkwidget.ui:537
#: kcm_gtk/kcmgtkwidget.ui:507
#, no-c-format
msgid "Alt+Y"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:540
#, no-c-format
msgid "Preview line 1"
msgstr "Aperçu ligne 1"
#: kcm_gtk/kcmgtkwidget.ui:554
#: kcm_gtk/kcmgtkwidget.ui:557
#, no-c-format
msgid "GTK2 Keyboard Shortcuts"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:608
#: kcm_gtk/kcmgtkwidget.ui:611
#, no-c-format
msgid "Use Emacs-like key&board shortcuts for text editing"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:624
#: kcm_gtk/kcmgtkwidget.ui:614
#, no-c-format
msgid "Alt+B"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:630
#, no-c-format
msgid "Details..."
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:655
#: kcm_gtk/kcmgtkwidget.ui:661
#, no-c-format
msgid ""
"Note that changes made here will only affect GTK applications when TDE is "

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2024-10-31 18:21+0000\n"
"POT-Creation-Date: 2019-08-15 03:15+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -13,33 +13,31 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#, ignore-inconsistent
#: _translatorinfo:1
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr ""
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
#, ignore-inconsistent
#: _translatorinfo:2
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr ""
#: kcm_gtk/kcmgtk.cpp:329
#: kcm_gtk/kcmgtk.cpp:325
msgid "%1 (size %2)"
msgstr ""
#: src/qt_qt_wrapper.cpp:115
#: src/qt_qt_wrapper.cpp:112
msgid "gtk2-tqt-engine"
msgstr ""
#: src/qt_qt_wrapper.cpp:380
#: src/qt_qt_wrapper.cpp:377
msgid "Maintainer"
msgstr ""
#: src/qt_qt_wrapper.cpp:381
#: src/qt_qt_wrapper.cpp:378
msgid "Original Author"
msgstr ""
@ -255,27 +253,37 @@ msgstr ""
msgid "Use m&y TDE fonts in GTK2 applications"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:537
#: kcm_gtk/kcmgtkwidget.ui:507
#, no-c-format
msgid "Alt+Y"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:540
#, no-c-format
msgid "Preview line 1"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:554
#: kcm_gtk/kcmgtkwidget.ui:557
#, no-c-format
msgid "GTK2 Keyboard Shortcuts"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:608
#: kcm_gtk/kcmgtkwidget.ui:611
#, no-c-format
msgid "Use Emacs-like key&board shortcuts for text editing"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:624
#: kcm_gtk/kcmgtkwidget.ui:614
#, no-c-format
msgid "Alt+B"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:630
#, no-c-format
msgid "Details..."
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:655
#: kcm_gtk/kcmgtkwidget.ui:661
#, no-c-format
msgid ""
"Note that changes made here will only affect GTK applications when TDE is "

@ -1,14 +1,14 @@
# Translation of it to Italian
# This file is put in the public domain.
# Davide Madrisan <davide.madrisan@qilinux.it>, 2007.
# Michele Calgaro <michele.calgaro@yahoo.it>, 2021.
#
msgid ""
msgstr ""
"Project-Id-Version: it\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-31 18:21+0000\n"
"PO-Revision-Date: 2021-08-06 03:14+0000\n"
"Last-Translator: Michele Calgaro <michele.calgaro@yahoo.it>\n"
"POT-Creation-Date: 2019-01-13 19:06+0100\n"
"PO-Revision-Date: 2019-05-29 10:15+0000\n"
"Last-Translator: stefano <ifx@lazytux.it>\n"
"Language-Team: Italian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/gtk-qt-engine/it/>\n"
"Language: it\n"
@ -16,35 +16,35 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.7.2\n"
"X-Generator: Weblate 3.6.1\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#: _translatorinfo:1
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Davide Madrisan"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
#: _translatorinfo:2
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "ifx@lazytux.it"
#: kcm_gtk/kcmgtk.cpp:329
#: kcm_gtk/kcmgtk.cpp:325
msgid "%1 (size %2)"
msgstr "%1 (dimensione %2)"
#: src/qt_qt_wrapper.cpp:115
#: src/qt_qt_wrapper.cpp:112
msgid "gtk2-tqt-engine"
msgstr "gtk2-tqt-engine"
#: src/qt_qt_wrapper.cpp:380
#: src/qt_qt_wrapper.cpp:377
msgid "Maintainer"
msgstr "Manutentore"
msgstr ""
#: src/qt_qt_wrapper.cpp:381
#: src/qt_qt_wrapper.cpp:378
msgid "Original Author"
msgstr "Autore originale"
msgstr ""
#: kcm_gtk/emacsdetails.ui:16
#, no-c-format
@ -265,36 +265,47 @@ msgstr "Ma La Volpe Col Suo Balzo Ha Raggiunto Il Quieto Fido"
msgid "Use m&y TDE fonts in GTK2 applications"
msgstr "Utilizza i caratteri definiti in TDE nelle applicazioni GTK2"
#: kcm_gtk/kcmgtkwidget.ui:537
#: kcm_gtk/kcmgtkwidget.ui:507
#, no-c-format
msgid "Alt+Y"
msgstr "Alt+Y"
#: kcm_gtk/kcmgtkwidget.ui:540
#, no-c-format
msgid "Preview line 1"
msgstr "Anteprima della linea 1"
#: kcm_gtk/kcmgtkwidget.ui:554
#: kcm_gtk/kcmgtkwidget.ui:557
#, no-c-format
msgid "GTK2 Keyboard Shortcuts"
msgstr "scorciatoie tastiera GTK2"
#: kcm_gtk/kcmgtkwidget.ui:608
#: kcm_gtk/kcmgtkwidget.ui:611
#, no-c-format
msgid "Use Emacs-like key&board shortcuts for text editing"
msgstr "usa scorciatoia tastiera stile emacs per editare il testo"
#: kcm_gtk/kcmgtkwidget.ui:624
#: kcm_gtk/kcmgtkwidget.ui:614
#, no-c-format
msgid "Alt+B"
msgstr "Alt+B"
#: kcm_gtk/kcmgtkwidget.ui:630
#, no-c-format
msgid "Details..."
msgstr "dettagli..."
#: kcm_gtk/kcmgtkwidget.ui:655
#: kcm_gtk/kcmgtkwidget.ui:661
#, no-c-format
msgid ""
"Note that changes made here will only affect GTK applications when TDE is "
"running. To change the styles and fonts used by applications in GNOME, use "
"the GNOME configuration tools."
msgstr ""
"Notare che i cambiamenti fatti incidono solo sulle applicazioni GTK mentre "
"si usa TDE. Per cambiare stili e caratteri usati dalle applicazioni GNOME, "
"usa gli strumenti di configurazione di GNOME."
"notare che i cambiamenti fatti incidono solo sulle applicazioni GTK mentre "
"si usa TDE.\n"
"per cambiare stili e caratteri usati dalle applicazioni GNOME, usa il "
"configuratrore di GNOME."
#: kcm_gtk/mozillaprofile.ui:38
#, no-c-format

@ -4,7 +4,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2024-10-31 18:21+0000\n"
"POT-Creation-Date: 2019-01-13 19:06+0100\n"
"PO-Revision-Date: 2019-07-31 23:47+0000\n"
"Last-Translator: Heimen Stoffels <vistausss@outlook.com>\n"
"Language-Team: Dutch <https://mirror.git.trinitydesktop.org/weblate/projects/"
@ -16,31 +16,31 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.7.1\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#: _translatorinfo:1
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Heimen Stoffels"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
#: _translatorinfo:2
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "vistausss@outlook.com"
#: kcm_gtk/kcmgtk.cpp:329
#: kcm_gtk/kcmgtk.cpp:325
msgid "%1 (size %2)"
msgstr "%1 (grootte %2)"
#: src/qt_qt_wrapper.cpp:115
#: src/qt_qt_wrapper.cpp:112
msgid "gtk2-tqt-engine"
msgstr "gtk2-tqt-engine"
#: src/qt_qt_wrapper.cpp:380
#: src/qt_qt_wrapper.cpp:377
msgid "Maintainer"
msgstr "Beheerder"
#: src/qt_qt_wrapper.cpp:381
#: src/qt_qt_wrapper.cpp:378
msgid "Original Author"
msgstr "Oorspronkelijke auteur"
@ -263,27 +263,37 @@ msgstr "Filmquiz bracht knappe ex-yogi van de wijs"
msgid "Use m&y TDE fonts in GTK2 applications"
msgstr "TDE-lettert&ypen gebruiken in GTK2-programma's"
#: kcm_gtk/kcmgtkwidget.ui:537
#: kcm_gtk/kcmgtkwidget.ui:507
#, no-c-format
msgid "Alt+Y"
msgstr "Alt+Y"
#: kcm_gtk/kcmgtkwidget.ui:540
#, no-c-format
msgid "Preview line 1"
msgstr "Voorbeeldregel 1"
#: kcm_gtk/kcmgtkwidget.ui:554
#: kcm_gtk/kcmgtkwidget.ui:557
#, no-c-format
msgid "GTK2 Keyboard Shortcuts"
msgstr "GTK2-sneltoetsen"
#: kcm_gtk/kcmgtkwidget.ui:608
#: kcm_gtk/kcmgtkwidget.ui:611
#, no-c-format
msgid "Use Emacs-like key&board shortcuts for text editing"
msgstr "Emacs-achtige sneltoetsen ge&bruiken voor tekstbewerking"
#: kcm_gtk/kcmgtkwidget.ui:624
#: kcm_gtk/kcmgtkwidget.ui:614
#, no-c-format
msgid "Alt+B"
msgstr "Alt+B"
#: kcm_gtk/kcmgtkwidget.ui:630
#, no-c-format
msgid "Details..."
msgstr "Details..."
#: kcm_gtk/kcmgtkwidget.ui:655
#: kcm_gtk/kcmgtkwidget.ui:661
#, no-c-format
msgid ""
"Note that changes made here will only affect GTK applications when TDE is "

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-31 18:21+0000\n"
"POT-Creation-Date: 2019-01-13 19:06+0100\n"
"PO-Revision-Date: 2005-03-01 23:01+0100\n"
"Last-Translator: Karl Ove Hufthammer <karl@huftis.org>\n"
"Language-Team: Norwegian Nynorsk <i18n-nn@lister.ping.uio.no>\n"
@ -16,31 +16,31 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.9.1\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#: _translatorinfo:1
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Karl Ove Hufthammer"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
#: _translatorinfo:2
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "karl@huftis.org"
#: kcm_gtk/kcmgtk.cpp:329
#: kcm_gtk/kcmgtk.cpp:325
msgid "%1 (size %2)"
msgstr "%1 (storleik %2)"
#: src/qt_qt_wrapper.cpp:115
#: src/qt_qt_wrapper.cpp:112
msgid "gtk2-tqt-engine"
msgstr ""
#: src/qt_qt_wrapper.cpp:380
#: src/qt_qt_wrapper.cpp:377
msgid "Maintainer"
msgstr ""
#: src/qt_qt_wrapper.cpp:381
#: src/qt_qt_wrapper.cpp:378
msgid "Original Author"
msgstr ""
@ -260,27 +260,37 @@ msgstr "Då klokka klang, så fort vi sprang!"
msgid "Use m&y TDE fonts in GTK2 applications"
msgstr "Bruk KDE-skrifter i GTK-program"
#: kcm_gtk/kcmgtkwidget.ui:537
#: kcm_gtk/kcmgtkwidget.ui:507
#, no-c-format
msgid "Alt+Y"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:540
#, no-c-format
msgid "Preview line 1"
msgstr "Førehandsvisingslinje 1"
#: kcm_gtk/kcmgtkwidget.ui:554
#: kcm_gtk/kcmgtkwidget.ui:557
#, no-c-format
msgid "GTK2 Keyboard Shortcuts"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:608
#: kcm_gtk/kcmgtkwidget.ui:611
#, no-c-format
msgid "Use Emacs-like key&board shortcuts for text editing"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:624
#: kcm_gtk/kcmgtkwidget.ui:614
#, no-c-format
msgid "Alt+B"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:630
#, no-c-format
msgid "Details..."
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:655
#: kcm_gtk/kcmgtkwidget.ui:661
#, no-c-format
msgid ""
"Note that changes made here will only affect GTK applications when TDE is "

@ -3,15 +3,13 @@
# This file is distributed under the same license as the PACKAGE package.
#
# Ponasenkov Viktor <vitec@bk.ru>, 2007.
# Alexander Golubev <fatzer2@gmail.com>, 2022.
# Andrei Stepanov <adem4ik@gmail.com>, 2024.
msgid ""
msgstr ""
"Project-Id-Version: ru\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-31 18:21+0000\n"
"PO-Revision-Date: 2024-05-11 01:02+0000\n"
"Last-Translator: Andrei Stepanov <adem4ik@gmail.com>\n"
"POT-Creation-Date: 2019-01-13 19:06+0100\n"
"PO-Revision-Date: 2019-10-05 03:25+0000\n"
"Last-Translator: Vitaly <vita_cell@hotmail.com>\n"
"Language-Team: Russian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/gtk-qt-engine/ru/>\n"
"Language: ru\n"
@ -20,35 +18,35 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17\n"
"X-Generator: Weblate 3.8\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#: _translatorinfo:1
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Понасенков Виктор,Vitaly Castaño Solana,Андрей Степанов"
msgstr "Понасенков Виктор, Vitaly Castaño Solana"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
#: _translatorinfo:2
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "vitecx@gmail.com,vita_cell@hotmail.com,adem4ik@gmail.com"
msgstr "vitecx@gmail.com, vita_cell@hotmail.com"
#: kcm_gtk/kcmgtk.cpp:329
#: kcm_gtk/kcmgtk.cpp:325
msgid "%1 (size %2)"
msgstr "%1 (размер %2)"
msgstr "%1 (Размер %2)"
#: src/qt_qt_wrapper.cpp:115
#: src/qt_qt_wrapper.cpp:112
msgid "gtk2-tqt-engine"
msgstr "gtk2-tqt-engine"
#: src/qt_qt_wrapper.cpp:380
#: src/qt_qt_wrapper.cpp:377
msgid "Maintainer"
msgstr "Сопровождающий"
msgstr "Поддерживатель"
#: src/qt_qt_wrapper.cpp:381
#: src/qt_qt_wrapper.cpp:378
msgid "Original Author"
msgstr "Первоначальный автор"
msgstr "Оригинальный автор"
#: kcm_gtk/emacsdetails.ui:16
#, no-c-format
@ -271,27 +269,37 @@ msgstr ""
msgid "Use m&y TDE fonts in GTK2 applications"
msgstr "Использовать мои шрифты TDE в GTK2 приложениях"
#: kcm_gtk/kcmgtkwidget.ui:537
#: kcm_gtk/kcmgtkwidget.ui:507
#, no-c-format
msgid "Alt+Y"
msgstr "Alt+Y"
#: kcm_gtk/kcmgtkwidget.ui:540
#, no-c-format
msgid "Preview line 1"
msgstr "Просмотр 1"
#: kcm_gtk/kcmgtkwidget.ui:554
#: kcm_gtk/kcmgtkwidget.ui:557
#, no-c-format
msgid "GTK2 Keyboard Shortcuts"
msgstr "Cочетания клавиш GTK2"
#: kcm_gtk/kcmgtkwidget.ui:608
#: kcm_gtk/kcmgtkwidget.ui:611
#, no-c-format
msgid "Use Emacs-like key&board shortcuts for text editing"
msgstr "Использовать Emacs-подобные сочетания клавиш для редактирования текста"
msgstr "Использовать подобные сочетания клавиш Имакс для редактирования текста"
#: kcm_gtk/kcmgtkwidget.ui:614
#, no-c-format
msgid "Alt+B"
msgstr "Alt+B"
#: kcm_gtk/kcmgtkwidget.ui:624
#: kcm_gtk/kcmgtkwidget.ui:630
#, no-c-format
msgid "Details..."
msgstr "Подробности..."
#: kcm_gtk/kcmgtkwidget.ui:655
#: kcm_gtk/kcmgtkwidget.ui:661
#, no-c-format
msgid ""
"Note that changes made here will only affect GTK applications when TDE is "
@ -331,7 +339,7 @@ msgstr ""
#: kcm_gtk/searchpaths.ui:122
#, no-c-format
msgid "Ok"
msgstr "Хорошо"
msgstr "Ok"
#~ msgid "Firefox and Thunderbird"
#~ msgstr "Firefox и Thunderbird"

@ -2,55 +2,53 @@
# This file is distributed under the same license as the gtk2-tqt-engine package.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER.
# Daniel Nylander <po@danielnylander.se>, 2006.
# Simon Stockhaus <simon.stockhaus.95@gmail.com>, 2025.
#
msgid ""
msgstr ""
"Project-Id-Version: gtk-qt-engine 0.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-31 18:21+0000\n"
"PO-Revision-Date: 2025-06-09 23:15+0000\n"
"Last-Translator: Simon Stockhaus <simon.stockhaus.95@gmail.com>\n"
"Language-Team: Swedish <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/gtk-qt-engine/sv/>\n"
"POT-Creation-Date: 2019-01-13 19:06+0100\n"
"PO-Revision-Date: 2006-09-18 17:26+0100\n"
"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
"Language: sv\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.18.2\n"
"X-Generator: KBabel 1.9.1\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#: _translatorinfo:1
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Daniel Nylander"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
#: _translatorinfo:2
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "po@danielnylander.se"
#: kcm_gtk/kcmgtk.cpp:329
#: kcm_gtk/kcmgtk.cpp:325
msgid "%1 (size %2)"
msgstr "%1 (storlek %2)"
#: src/qt_qt_wrapper.cpp:115
#: src/qt_qt_wrapper.cpp:112
msgid "gtk2-tqt-engine"
msgstr "gtk2-tqt-engine"
msgstr ""
#: src/qt_qt_wrapper.cpp:380
#: src/qt_qt_wrapper.cpp:377
msgid "Maintainer"
msgstr "Underhållare"
msgstr ""
#: src/qt_qt_wrapper.cpp:381
#: src/qt_qt_wrapper.cpp:378
msgid "Original Author"
msgstr "Ursprunglig upphovsman"
msgstr ""
#: kcm_gtk/emacsdetails.ui:16
#, no-c-format
msgid "Emacs Keyboard Shortcuts"
msgstr "Emacs tangentbordsgenvägar"
msgstr ""
#: kcm_gtk/emacsdetails.ui:27
#, no-c-format
@ -59,114 +57,111 @@ msgid ""
"When enabled, they will override the standard keyboard shortcuts in GTK "
"applications."
msgstr ""
"Dessa tangentbordsgenvägar är användbara för Emacs-användare.\n"
"När alternativet är markerat kommer de ersätta standardgenvägarna i GTK-"
"program."
#: kcm_gtk/emacsdetails.ui:34
#, no-c-format
msgid "Shortcut"
msgstr "Genväg"
msgstr ""
#: kcm_gtk/emacsdetails.ui:45
#, no-c-format
msgid "Description"
msgstr "Beskrivning"
msgstr ""
#: kcm_gtk/emacsdetails.ui:56
#, no-c-format
msgid "Ctrl+A"
msgstr "Ctrl+A"
msgstr ""
#: kcm_gtk/emacsdetails.ui:59
#, no-c-format
msgid "Go to beginning of line"
msgstr "Gå till början av raden"
msgstr ""
#: kcm_gtk/emacsdetails.ui:70
#, no-c-format
msgid "Ctrl+E"
msgstr "Ctrl+E"
msgstr ""
#: kcm_gtk/emacsdetails.ui:73
#, no-c-format
msgid "Go to end of line"
msgstr "Gå till slutet av raden"
msgstr ""
#: kcm_gtk/emacsdetails.ui:84
#, no-c-format
msgid "Ctrl+F"
msgstr "Ctrl+F"
msgstr ""
#: kcm_gtk/emacsdetails.ui:87
#, no-c-format
msgid "Go right one character"
msgstr "Gå ett tecken åt höger"
msgstr ""
#: kcm_gtk/emacsdetails.ui:98
#, no-c-format
msgid "Ctrl+B"
msgstr "Ctrl+B"
msgstr ""
#: kcm_gtk/emacsdetails.ui:101
#, no-c-format
msgid "Go left one character"
msgstr "Gå ett tecken åt vänster"
msgstr ""
#: kcm_gtk/emacsdetails.ui:112
#, no-c-format
msgid "Ctrl+K"
msgstr "Ctrl+K"
msgstr ""
#: kcm_gtk/emacsdetails.ui:115
#, no-c-format
msgid "Delete to end of line"
msgstr "Radera fram till radens slut"
msgstr ""
#: kcm_gtk/emacsdetails.ui:126
#, no-c-format
msgid "Ctrl+U"
msgstr "Ctrl+U"
msgstr ""
#: kcm_gtk/emacsdetails.ui:129
#, no-c-format
msgid "Delete entire line"
msgstr "Radera hela raden"
msgstr ""
#: kcm_gtk/emacsdetails.ui:140
#, no-c-format
msgid "Ctrl+W"
msgstr "Ctrl+W"
msgstr ""
#: kcm_gtk/emacsdetails.ui:143
#, no-c-format
msgid "Delete word, left"
msgstr "Radera ett ord åt vänster"
msgstr ""
#: kcm_gtk/emacsdetails.ui:154
#, no-c-format
msgid "Ctrl+H"
msgstr "Ctrl+H"
msgstr ""
#: kcm_gtk/emacsdetails.ui:157
#, no-c-format
msgid "Delete character, left"
msgstr "Radera tecken åt vänster"
msgstr ""
#: kcm_gtk/emacsdetails.ui:168
#, no-c-format
msgid "Ctrl+D"
msgstr "Ctrl+D"
msgstr ""
#: kcm_gtk/emacsdetails.ui:171
#, no-c-format
msgid "Delete character, right"
msgstr "Radera tecken åt höger"
msgstr ""
#: kcm_gtk/emacsdetails.ui:217
#, no-c-format
msgid "C&lose"
msgstr "&Stäng"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:16 kcm_gtk/mozillaprofile.ui:16
#, no-c-format
@ -174,33 +169,33 @@ msgid "Form2"
msgstr "Form2"
#: kcm_gtk/kcmgtkwidget.ui:38
#, no-c-format
#, fuzzy, no-c-format
msgid "GTK2 Styles"
msgstr "GTK2-stilar"
msgstr "GTK-stilar"
#: kcm_gtk/kcmgtkwidget.ui:117 kcm_gtk/kcmgtkwidget.ui:289
#, no-c-format
msgid "Change search paths..."
msgstr "Ändra sökvägar…"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:144
#, no-c-format
#, fuzzy, no-c-format
msgid "&Use my TDE style in GTK2 applications"
msgstr "Använd min TDE-stil i GTK2-program"
msgstr "Använd min KDE-stil i GTK-program"
#: kcm_gtk/kcmgtkwidget.ui:168 kcm_gtk/kcmgtkwidget.ui:340
#, no-c-format
#, fuzzy, no-c-format
msgid "Use &another style:"
msgstr "&Använd en annan stil:"
msgstr "Använd en annan stil:"
#: kcm_gtk/kcmgtkwidget.ui:179
#, no-c-format
#, fuzzy, no-c-format
msgid ""
"<b>Warning:</b> The GTK2-TQt theme engine is not installed. This means you "
"will not be able to use your TDE style in GTK2 applications."
msgstr ""
"<b>Varning:</b> GTK2-TQt-temamotorn är inte installerad. Detta betyder att "
"du inte kan använda din TDE-stil i GTK2-program."
"<b>Varning:</b> GTK2-TQt-temamotorn är inte installerad. Det betyder att du "
"inte kan använda din KDE-stil i GTK-program."
#: kcm_gtk/kcmgtkwidget.ui:187
#, no-c-format
@ -213,38 +208,38 @@ msgid "http://gtk-qt.ecs.soton.ac.uk/"
msgstr "http://gtk-qt.ecs.soton.ac.uk/"
#: kcm_gtk/kcmgtkwidget.ui:210
#, no-c-format
#, fuzzy, no-c-format
msgid "GTK3 Styles"
msgstr "GTK3-stilar"
msgstr "GTK-stilar"
#: kcm_gtk/kcmgtkwidget.ui:316
#, no-c-format
#, fuzzy, no-c-format
msgid "&Use my TDE style in GTK3 applications"
msgstr "Använd min TDE-stil i GTK3-program"
msgstr "Använd min KDE-stil i GTK-program"
#: kcm_gtk/kcmgtkwidget.ui:351
#, no-c-format
#, fuzzy, no-c-format
msgid ""
"<b>Warning:</b> The Gtk3-TQt theme engine is not installed. This means you "
"will not be able to use your TDE style in GTK3 applications."
msgstr ""
"<b>Varning:</b> Gtk3-TQt-temamotorn är inte installerad. Det betyder att du "
"inte kan använda din TDE-stil i GTK3-program."
"<b>Varning:</b> GTK2-TQt-temamotorn är inte installerad. Det betyder att du "
"inte kan använda din KDE-stil i GTK-program."
#: kcm_gtk/kcmgtkwidget.ui:359
#, no-c-format
#, fuzzy, no-c-format
msgid "Gtk3-TQt theme engine homepage"
msgstr "Webbsidan för Gtk3-TQt-temamotorn"
msgstr "Webbsidan för GTK2-TQt-temamotorn"
#: kcm_gtk/kcmgtkwidget.ui:362
#, no-c-format
msgid "http://www.trinitydesktop.org/"
msgstr "http://www.trinitydesktop.org/"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:382
#, no-c-format
#, fuzzy, no-c-format
msgid "GTK2 Fonts"
msgstr "GTK2-typsnitt"
msgstr "GTK-typsnitt"
#: kcm_gtk/kcmgtkwidget.ui:436
#, no-c-format
@ -262,40 +257,47 @@ msgid "The Quick Brown Fox Jumped Over The Lazy Dog"
msgstr "Flygande bäckasiner söka strax hwila på mjuka tuvor"
#: kcm_gtk/kcmgtkwidget.ui:504
#, no-c-format
#, fuzzy, no-c-format
msgid "Use m&y TDE fonts in GTK2 applications"
msgstr "Använd mina TDE-typsnitt i GTK2-program"
msgstr "Använd mina KDE-typsnitt i GTK-program"
#: kcm_gtk/kcmgtkwidget.ui:507
#, no-c-format
msgid "Alt+Y"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:537
#: kcm_gtk/kcmgtkwidget.ui:540
#, no-c-format
msgid "Preview line 1"
msgstr "Förhandsgranska rad 1"
#: kcm_gtk/kcmgtkwidget.ui:554
#: kcm_gtk/kcmgtkwidget.ui:557
#, no-c-format
msgid "GTK2 Keyboard Shortcuts"
msgstr "GTK2 tangentbordsgenvägar"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:608
#: kcm_gtk/kcmgtkwidget.ui:611
#, no-c-format
msgid "Use Emacs-like key&board shortcuts for text editing"
msgstr "Använd Emacs-liknande tangent&bordsgenvägar för textredigering"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:624
#: kcm_gtk/kcmgtkwidget.ui:614
#, no-c-format
msgid "Alt+B"
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:630
#, no-c-format
msgid "Details..."
msgstr "Detaljer..."
msgstr ""
#: kcm_gtk/kcmgtkwidget.ui:655
#: kcm_gtk/kcmgtkwidget.ui:661
#, no-c-format
msgid ""
"Note that changes made here will only affect GTK applications when TDE is "
"running. To change the styles and fonts used by applications in GNOME, use "
"the GNOME configuration tools."
msgstr ""
"Notera att ändringar som görs här endast påverkar GTK-program när TDE körs. "
"Om du vill ändra de stilar och typsnitt som används av program i GNOME ska "
"du istället använda GNOME:s konfigurationsverktyg."
#: kcm_gtk/mozillaprofile.ui:38
#, no-c-format
@ -310,7 +312,7 @@ msgstr "Profil"
#: kcm_gtk/searchpaths.ui:16
#, no-c-format
msgid "Change search paths"
msgstr "Ändra sökvägar"
msgstr ""
#: kcm_gtk/searchpaths.ui:27
#, no-c-format
@ -319,14 +321,11 @@ msgid ""
"list of search paths. If you have installed it elsewhere, you will need to "
"add the correct path to the list below."
msgstr ""
"Kontrollcentermodulen kunde inte hitta GTK2-TQt-temamotorn i listan av "
"sökvägar. Om du har installerat den någon annanstans behöver du lägga till "
"den korrekta sökvägen i listan nedan."
#: kcm_gtk/searchpaths.ui:122
#, no-c-format
msgid "Ok"
msgstr "OK"
msgstr ""
#~ msgid "Firefox and Thunderbird"
#~ msgstr "Firefox och Thunderbird"

@ -5,7 +5,7 @@ msgid ""
msgstr ""
"Project-Id-Version: turkish\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-10-31 18:21+0000\n"
"POT-Creation-Date: 2019-01-13 19:06+0100\n"
"PO-Revision-Date: 2019-06-19 12:16+0000\n"
"Last-Translator: Ercan Ersoy <ercanersoy@ercanersoy.net>\n"
"Language-Team: Turkish <https://mirror.git.trinitydesktop.org/weblate/"
@ -17,31 +17,31 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 3.6.1\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
#: _translatorinfo:1
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Bilinmeyen, Ercan Ersoy"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
#: _translatorinfo:2
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "Bilinmeyen, ercanersoy@ercanersoy.net"
#: kcm_gtk/kcmgtk.cpp:329
#: kcm_gtk/kcmgtk.cpp:325
msgid "%1 (size %2)"
msgstr "%1 (boyut %2)"
#: src/qt_qt_wrapper.cpp:115
#: src/qt_qt_wrapper.cpp:112
msgid "gtk2-tqt-engine"
msgstr "gtk2-tqt-engine"
#: src/qt_qt_wrapper.cpp:380
#: src/qt_qt_wrapper.cpp:377
msgid "Maintainer"
msgstr "Geliştiren"
#: src/qt_qt_wrapper.cpp:381
#: src/qt_qt_wrapper.cpp:378
msgid "Original Author"
msgstr "İlk Sahibi"
@ -264,27 +264,37 @@ msgstr "Pijamalı Hasta Yağız Şöföre Çabucak Güvendi"
msgid "Use m&y TDE fonts in GTK2 applications"
msgstr "GTK2 uygulamalarında TDE yazı tiplerini kullan"
#: kcm_gtk/kcmgtkwidget.ui:537
#: kcm_gtk/kcmgtkwidget.ui:507
#, no-c-format
msgid "Alt+Y"
msgstr "Alt+Y"
#: kcm_gtk/kcmgtkwidget.ui:540
#, no-c-format
msgid "Preview line 1"
msgstr "Birinci önizleme satırı"
#: kcm_gtk/kcmgtkwidget.ui:554
#: kcm_gtk/kcmgtkwidget.ui:557
#, no-c-format
msgid "GTK2 Keyboard Shortcuts"
msgstr "GTK2 Klavye Kısayolları"
#: kcm_gtk/kcmgtkwidget.ui:608
#: kcm_gtk/kcmgtkwidget.ui:611
#, no-c-format
msgid "Use Emacs-like key&board shortcuts for text editing"
msgstr "&Metin düzenleme için Emacs gibi klavye kısayollarını kullan"
#: kcm_gtk/kcmgtkwidget.ui:624
#: kcm_gtk/kcmgtkwidget.ui:614
#, no-c-format
msgid "Alt+B"
msgstr "Alt+B"
#: kcm_gtk/kcmgtkwidget.ui:630
#, no-c-format
msgid "Details..."
msgstr "Ayrıntılar..."
#: kcm_gtk/kcmgtkwidget.ui:655
#: kcm_gtk/kcmgtkwidget.ui:661
#, no-c-format
msgid ""
"Note that changes made here will only affect GTK applications when TDE is "

@ -1,23 +1,3 @@
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_BINARY_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${GTK_INCLUDE_DIRS}
${BONOBO_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIB_DIR}
${GTK_LIBDIR}
${BONOBO_LIBDIR}
)
##### qtengine (shared)
set( target qtengine )
set( ${target}_SRCS
@ -29,14 +9,15 @@ set( ${target}_SRCS
tde_add_library( ${target} SHARED AUTOMOC
SOURCES ${${target}_SRCS}
LINK ${GTK_LIBRARIES} ${BONOBO_LIBRARIES} X11 tdecore-shared
LINK ${GTK_LINK_FLAGS} ${BONOBO_LINK_FLAGS} ${TQT_LIBRARIES} -lX11 -ltdecore
DESTINATION ${INSTALL_PATH_GTK_ENGINES}
)
# Add GTK's cflags
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${GTK_CFLAGS} ${BONOBO_CFLAGS}")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${GTK_CFLAGS} ${BONOBO_CFLAGS}")
##### other data
install(
INSTALL(
FILES gtkrc
DESTINATION "${INSTALL_PATH_GTK_THEMES}/Qt/gtk-2.0"
)

@ -1,8 +1,3 @@
#if defined( HAVE_CONFIG_H )
# include "config.h"
#endif
#include <tdemacros.h>
#include <gmodule.h>
#include <stdio.h>
#include "qt_rc_style.h"
@ -10,24 +5,25 @@
#include "qt_qt_wrapper.h"
TDE_EXPORT void theme_init (GTypeModule *module);
TDE_EXPORT void theme_exit (void);
TDE_EXPORT GtkRcStyle * theme_create_rc_style (void);
G_MODULE_EXPORT void theme_init (GTypeModule *module);
G_MODULE_EXPORT void theme_exit (void);
G_MODULE_EXPORT GtkRcStyle * theme_create_rc_style (void);
TDE_EXPORT void theme_init (GTypeModule *module)
G_MODULE_EXPORT void theme_init (GTypeModule *module)
{
createTQApp();
qtengine_rc_style_register_type (module);
qtengine_style_register_type (module);
}
TDE_EXPORT void theme_exit (void)
G_MODULE_EXPORT void theme_exit (void)
{
destroyTQApp();
}
TDE_EXPORT GtkRcStyle * theme_create_rc_style (void)
G_MODULE_EXPORT GtkRcStyle * theme_create_rc_style (void)
{
void *ptr = GTK_RC_STYLE (g_object_new (TQTENGINE_TYPE_RC_STYLE, NULL));
return (GtkRcStyle *)ptr;
}

@ -24,8 +24,8 @@
#include <tdeaboutdata.h>
#include <tdeconfig.h>
#include <tdeglobal.h>
#include <tdecrash.h>
#include <tdestandarddirs.h>
#include <kcrash.h>
#include <kstandarddirs.h>
#undef signals
#include <gdk/gdkx.h>
@ -70,7 +70,6 @@ TQWidget* meepWidget = 0;
TQWidget* meepWidgetP = 0;
TQSlider* meepSlider = 0;
TQTabBar* meepTabBar = 0;
GdkGC* windowGC = 0;
GdkGC* altBackGC = 0;
TQWidget* smw = 0;
@ -98,8 +97,6 @@ int isKeramik;
int isAlloy;
int isDomino;
int isPolyester;
int isMotif;
int isCDE;
int eclipseFix;
int openOfficeFix;
int mozillaFix;
@ -349,7 +346,7 @@ void createTQApp()
int cmdlineAppNameLength = cmdlineAppName.length() + 1;
// Process hacks
mozillaFix = (cmdLine.contains("mozilla") || cmdLine.contains("firefox") || cmdLine.contains("iceweasel") || cmdLine.contains("thunderbird") || cmdLine.contains("icedove") || cmdLine.contains("palemoon"));
mozillaFix = (cmdLine.contains("mozilla") || cmdLine.contains("firefox") || cmdLine.contains("iceweasel") || cmdLine.contains("thunderbird") || cmdLine.contains("icedove"));
chromiumFix = (cmdLine.contains("chromium-browser") || cmdLine.contains("chrome-browser"));
openOfficeFix = (cmdLine.endsWith("soffice.bin"))
@ -416,9 +413,7 @@ void createTQApp()
initKdeSettings();
#ifndef USE_SOLARIS
if (sessionEnv) {
setenv("SESSION_MANAGER", sessionEnv, 1);
}
setenv("SESSION_MANAGER", sessionEnv, 1);
#else
char *tempEnv=(char *)malloc(strlen(sessionEnv)+strlen("SESSION_MANAGER")+2);
sprintf(tempEnv, "SESSION_MANAGER=%s", sessionEnv);
@ -447,13 +442,11 @@ void createTQApp()
isAlloy = (TQString(tqApp->style().name()).lower() == "alloy");
isDomino = (TQString(tqApp->style().name()).lower() == "domino");
isPolyester = (TQString(tqApp->style().name()).lower() == "polyester");
isMotif = (TQString(tqApp->style().name()).lower() == "motif");
isCDE = (TQString(tqApp->style().name()).lower() == "cde");
if (isDomino)
{
TQScrollBar sbar(NULL);
sbar.setOrientation(TQt::Horizontal);
sbar.setOrientation(Qt::Horizontal);
sbar.setValue(1);
sbar.resize(200,25);
@ -510,8 +503,6 @@ void destroyTQApp()
delete tqApp;
tqApp = 0;
}
if (windowGC != 0)
gtk_gc_release(windowGC);
if (altBackGC != 0)
gtk_gc_release(altBackGC);
@ -659,40 +650,10 @@ TQColor gdkColorToTQColor(GdkColor* c)
return TQColor(c->red / 256, c->green / 256, c->blue / 256);
}
void drawTQPixmapToWindow(GdkWindow* window, GdkGC* gc, TQPixmap* pixmap, int x, int y, int w, int h)
{
GdkPixmap* pix;
// gdk_drawable_get_image crashes if requested region is outside of the window.
// Bitmap masks cause artifacts with Domino and Baghira.
int width, height;
gdk_drawable_get_size(window, &width, &height);
if (!pixmap->hasAlpha() || isDomino || isBaghira ||
(width < x + w) || (height < y + h) || (0 > x) || (0 > y)) {
pix = gdk_pixmap_foreign_new(pixmap->handle());
gdk_draw_drawable(window, gc, pix, 0, 0, x, y, w, h);
g_object_unref(pix);
return;
}
// Gdk isn't aware of the TQPixmap mask,
// so instead we create a new pixmap from the window region and bitBlt over it.
if (windowGC == 0)
windowGC = gdk_gc_new(window);
TQPixmap gpixmap(w, h);
pix = gdk_pixmap_foreign_new(gpixmap.handle());
GdkImage* img = gdk_drawable_get_image(window, x, y, w, h);
gdk_draw_image(pix, windowGC, img, 0, 0, 0, 0, w, h);
bitBlt(&gpixmap, 0, 0, pixmap, 0, 0, w, h, TQt::CopyROP);
gdk_draw_drawable(window, gc, pix, 0, 0, x, y, w, h);
g_object_unref(img);
g_object_unref(pix);
}
// The drawing functions follow the same pattern:
// * Set the appropriate flags
// * Ask TQt to paint the widget to a pixmap
// * Ask QT to paint the widget to a pixmap
// * Create a GdkPixmap that points to our TQPixmap
// * Paint the pixmap on the window
@ -792,22 +753,16 @@ void drawButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int defa
button.setDown(sflags&TQStyle::Style_Down);
button.setOn(sflags&TQStyle::Style_On);
// This emulates ::drawButton() in the TQt qbutton.cpp file
// This emulates ::drawButton() in the Qt qbutton.cpp file
tqApp->style().drawControl(TQStyle::CE_PushButton, &painter, &button,
TQRect(0,0,w,h), button.palette().active(), sflags);
tqApp->style().drawControl(TQStyle::CE_PushButtonLabel, &painter, &button,
tqApp->style().subRect(TQStyle::SR_PushButtonContents, &button),
button.colorGroup(), sflags);
if (!isBaghira && !isMotif && !isCDE) {
TQBitmap bitmap(w, h, true);
TQPainter bpainter(&bitmap);
bpainter.setBrush(TQt::color1);
tqApp->style().drawControlMask(TQStyle::CE_PushButton, &bpainter, &button, TQRect(0,0,w,h), sflags);
pixmap.setMask(bitmap);
}
drawTQPixmapToWindow(window, style->bg_gc[state], &pixmap, x, y, w, h);
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x, y, w, h);
g_object_unref(pix);
}
else {
TQPixmap pixmap(w, h);
@ -829,15 +784,9 @@ void drawButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int defa
tqApp->style().drawControl(TQStyle::CE_PushButton, &painter, &button,
TQRect(0,0,w,h), button.palette().active(), sflags);
if (!isBaghira && !isMotif && !isCDE) {
TQBitmap bitmap(w, h, true);
TQPainter bpainter(&bitmap);
bpainter.setBrush(TQt::color1);
tqApp->style().drawControlMask(TQStyle::CE_PushButton, &bpainter, &button, TQRect(0,0,w,h), sflags);
pixmap.setMask(bitmap);
}
drawTQPixmapToWindow(window, style->bg_gc[state], &pixmap, x, y, w, h);
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x, y, w, h);
g_object_unref(pix);
}
}
@ -881,12 +830,12 @@ void drawToolbar(GdkWindow* window, GtkStyle* style, GtkStateType state, int x,
else
painter.fillRect(0, 0, w1, h1, tqApp->palette().active().brush(TQColorGroup::Background));
tqApp->style().drawPrimitive(TQStyle::PE_PanelDockWindow, &painter,
tqApp->style().tqdrawPrimitive(TQStyle::PE_PanelDockWindow, &painter,
TQRect(0,0,w1,h1), tqApp->palette().active(),sflags);
if (isKeramik)
{
tqApp->style().drawPrimitive(TQStyle::PE_DockWindowSeparator, &painter,
tqApp->style().tqdrawPrimitive(TQStyle::PE_DockWindowSeparator, &painter,
TQRect(0,0,w1,h1), tqApp->palette().active(),sflags);
}
@ -936,7 +885,7 @@ void drawMenubar(GdkWindow* window, GtkStyle* style, GtkStateType state, int x,
else
painter.fillRect(0, 0, w1, h1, tqApp->palette().active().brush(TQColorGroup::Background));
tqApp->style().drawPrimitive(TQStyle::PE_PanelMenuBar, &painter,
tqApp->style().tqdrawPrimitive(TQStyle::PE_PanelMenuBar, &painter,
TQRect(0,0,w1,h1), tqApp->palette().active(),sflags);
bitBlt(&p, 0, 0, &pixmap, 0, 0, w, h);
@ -1045,7 +994,7 @@ void drawLineEdit(GdkWindow* window, GtkStyle* style, GtkStateType state, int ha
sflags |= TQStyle::Style_HasFocus;
painter.fillRect(0, 0, w, h, tqApp->palette().active().base());
tqApp->style().drawPrimitive(TQStyle::PE_PanelLineEdit, &painter, TQRect(0, 0, w, h), tqApp->palette().active(), sflags, TQStyleOption(1,1));
tqApp->style().tqdrawPrimitive(TQStyle::PE_PanelLineEdit, &painter, TQRect(0, 0, w, h), tqApp->palette().active(), sflags, TQStyleOption(1,1));
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x, y, w, h);
@ -1072,7 +1021,7 @@ void drawFrame(GdkWindow* window, GtkStyle* style, GtkStateType state, GtkShadow
else
painter.fillRect(0, 0, w, h, tqApp->palette().active().brush(TQColorGroup::Background));
tqApp->style().drawPrimitive(TQStyle::PE_Panel, &painter, TQRect(0, 0, w, h), tqApp->palette().active(), sflags, TQStyleOption(2,2) );
tqApp->style().tqdrawPrimitive(TQStyle::PE_Panel, &painter, TQRect(0, 0, w, h), tqApp->palette().active(), sflags, TQStyleOption(2,2) );
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x, y, w, h);
@ -1115,11 +1064,6 @@ void drawCheckBox(GdkWindow* window, GtkStyle* style, GtkStateType state, int ch
int realH = tqApp->style().pixelMetric(TQStyle::PM_IndicatorHeight);
int realW = tqApp->style().pixelMetric(TQStyle::PM_IndicatorWidth);
if (isKeramik) {
realW-= 2;
realH-= 2;
}
if ((realW < 1) || (realH < 1))
return;
@ -1133,18 +1077,14 @@ void drawCheckBox(GdkWindow* window, GtkStyle* style, GtkStateType state, int ch
painter.fillRect(0, 0, realW, realH, tqApp->palette().active().brush(TQColorGroup::Background));
tqApp->style().drawControl(TQStyle::CE_CheckBox, &painter, &checkbox, TQRect(0, 0, realW, realH), tqApp->palette().active(), sflags);
// TQt checkboxes are usually bigger than GTK wants.
// Qt checkboxes are usually bigger than GTK wants.
// We cheat, and draw them over the expected area.
int xOffset = (realW - w) / 2;
int yOffset = (realH - h) / 2;
TQBitmap bitmap(realW, realH, true);
TQPainter bpainter(&bitmap);
bpainter.setBrush(TQt::color1);
tqApp->style().drawControlMask(TQStyle::CE_CheckBox, &bpainter, &checkbox, TQRect(0,0,realW,realH), sflags);
pixmap.setMask(bitmap);
drawTQPixmapToWindow(window, style->bg_gc[state], &pixmap, x, y, w, h);
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x - xOffset, y - yOffset, realW, realH);
g_object_unref(pix);
}
void drawMenuCheck(GdkWindow* window, GtkStyle* style, GtkStateType state, int x, int y, int w, int h)
@ -1175,7 +1115,7 @@ void drawMenuCheck(GdkWindow* window, GtkStyle* style, GtkStateType state, int x
painter.fillRect(0, 0, w, h, TQBrush(TQColor(255,255,255), *backgroundTile));
else
painter.fillRect(0, 0, w, h, tqApp->palette().active().brush(TQColorGroup::Background));
tqApp->style().drawPrimitive(TQStyle::PE_CheckMark, &painter, TQRect(0, 0, w, h), tqApp->palette().active(), sflags);
tqApp->style().tqdrawPrimitive(TQStyle::PE_CheckMark, &painter, TQRect(0, 0, w, h), tqApp->palette().active(), sflags);
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x, y, w, h);
@ -1193,7 +1133,7 @@ void drawRadioButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int
if ((realW < 1) || (realH < 1))
return;
TQPixmap pixmap(realW, realH);
TQPixmap pixmap(realH, realW);
TQPainter painter(&pixmap);
TQRadioButton radio(0);
@ -1207,20 +1147,16 @@ void drawRadioButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int
else
painter.fillRect(0, 0, realW, realH, tqApp->palette().active().brush(TQColorGroup::Background));
tqApp->style().drawControl(TQStyle::CE_RadioButton, &painter, &radio, TQRect(0,0,realW,realH), tqApp->palette().active(), sflags);
tqApp->style().drawControl(TQStyle::CE_RadioButton, &painter, &radio, TQRect(0,0,realH,realW), tqApp->palette().active(), sflags);
// TQt checkboxes are usually bigger than GTK wants.
// Qt checkboxes are usually bigger than GTK wants.
// We cheat, and draw them over the expected area.
int xOffset = (realW - w) / 2;
int yOffset = (realH - h) / 2;
TQBitmap bitmap(realW, realH, true);
TQPainter bpainter(&bitmap);
bpainter.setBrush(TQt::color1);
tqApp->style().drawControlMask(TQStyle::CE_RadioButton, &bpainter, &radio, TQRect(0,0,realW,realH), sflags);
pixmap.setMask(bitmap);
drawTQPixmapToWindow(window, style->bg_gc[state], &pixmap, x-xOffset, y-yOffset, realW, realH);
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x - xOffset, y - yOffset, realW, realH);
g_object_unref(pix);
}
@ -1234,35 +1170,12 @@ void drawScrollBarSlider(GdkWindow* window, GtkStyle* style, GtkStateType state,
int wCorrected = w;
int hCorrected = h;
int xOffset = 0;
int yOffset = 0;
if (isDomino)
{
if (orientation == GTK_ORIENTATION_HORIZONTAL)
wCorrected = w + 14;
else
hCorrected = h + 14;
} else if (isKeramik) {
if (orientation == GTK_ORIENTATION_HORIZONTAL) {
wCorrected = w + 3;
hCorrected = h - 1;
yOffset = 1;
} else {
wCorrected = w - 1;
hCorrected = h + 3;
xOffset = 1;
}
}
if (mozillaFix) {
if (orientation == GTK_ORIENTATION_HORIZONTAL) {
hCorrected-= 2;
wCorrected-= 1;
yOffset+= 1;
} else {
wCorrected-= 2;
hCorrected-= 1;
xOffset+= 1;
}
}
TQPixmap pixmap(wCorrected, hCorrected);
TQPainter painter(&pixmap);
@ -1271,7 +1184,7 @@ void drawScrollBarSlider(GdkWindow* window, GtkStyle* style, GtkStateType state,
if (orientation == GTK_ORIENTATION_HORIZONTAL)
sflags |= TQStyle::Style_Horizontal;
tqApp->style().drawPrimitive(TQStyle::PE_ScrollBarSlider, &painter, TQRect(0,0,wCorrected,hCorrected), tqApp->palette().active(), sflags);
tqApp->style().tqdrawPrimitive(TQStyle::PE_ScrollBarSlider, &painter, TQRect(0,0,wCorrected,hCorrected), tqApp->palette().active(), sflags);
// The domino style doesn't draw the entire slider in PE_ScrollBarSlider
// We have to draw PE_ScrollBarAddPage and PE_ScrollBarSubPage and piece the bits together
@ -1295,21 +1208,21 @@ void drawScrollBarSlider(GdkWindow* window, GtkStyle* style, GtkStateType state,
}
TQPainter dominoPainter(&leftPix);
tqApp->style().drawPrimitive(TQStyle::PE_ScrollBarSubPage, &dominoPainter, leftRect, tqApp->palette().active(), sflags);
tqApp->style().tqdrawPrimitive(TQStyle::PE_ScrollBarSubPage, &dominoPainter, leftRect, tqApp->palette().active(), sflags);
dominoPainter.end();
dominoPainter.begin(&rightPix);
tqApp->style().drawPrimitive(TQStyle::PE_ScrollBarAddPage, &dominoPainter, rightRect, tqApp->palette().active(), sflags);
tqApp->style().tqdrawPrimitive(TQStyle::PE_ScrollBarAddPage, &dominoPainter, rightRect, tqApp->palette().active(), sflags);
if (orientation == GTK_ORIENTATION_HORIZONTAL)
{
bitBlt(&pixmap, 1, 0, &leftPix, leftRect.width(), 0, 6, h, TQt::CopyROP, true);
bitBlt(&pixmap, w-7, 0, &rightPix, 0, 0, 7, h, TQt::CopyROP, true);
bitBlt(TQT_TQPAINTDEVICE(&pixmap), 1, 0, TQT_TQPAINTDEVICE(&leftPix), leftRect.width(), 0, 6, h, Qt::CopyROP, true);
bitBlt(TQT_TQPAINTDEVICE(&pixmap), w-7, 0, TQT_TQPAINTDEVICE(&rightPix), 0, 0, 7, h, Qt::CopyROP, true);
}
else
{
bitBlt(&pixmap, 0, 1, &leftPix, 0, leftRect.height(), w, 6, TQt::CopyROP, true);
bitBlt(&pixmap, 0, h-7, &rightPix, 0, 0, w, 7, TQt::CopyROP, true);
bitBlt(TQT_TQPAINTDEVICE(&pixmap), 0, 1, TQT_TQPAINTDEVICE(&leftPix), 0, leftRect.height(), w, 6, Qt::CopyROP, true);
bitBlt(TQT_TQPAINTDEVICE(&pixmap), 0, h-7, TQT_TQPAINTDEVICE(&rightPix), 0, 0, w, 7, Qt::CopyROP, true);
}
}
@ -1324,7 +1237,7 @@ void drawScrollBarSlider(GdkWindow* window, GtkStyle* style, GtkStateType state,
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, endsSkip, x, y, w, h-1);
}
else
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x+xOffset, y+yOffset, w, h);
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x, y, w, h);
g_object_unref(pix);
}
@ -1352,7 +1265,7 @@ void drawScrollBar(GdkWindow* window, GtkStyle* style, GtkStateType state, int o
// Why oh why couldn't mozilla use native widgets instead of
// handling everything in cross platform.
scrollBar->setOrientation(orientation ? TQt::Vertical : TQt::Horizontal);
scrollBar->setOrientation(orientation ? Qt::Vertical : Qt::Horizontal);
TQStyle::SFlags sflags = stateToSFlags(state);
@ -1392,9 +1305,9 @@ void drawScrollBar(GdkWindow* window, GtkStyle* style, GtkStateType state, int o
&painter2, scrollBar, TQRect(0, 0, w, h+thumbSize),
tqApp->palette().active(), sflags);
bitBlt(&pixmap, 0, 0, &tmpPixmap, 0, 0, w, offset, TQt::CopyROP);
bitBlt(&pixmap, 0, 0, &tmpPixmap, 0, 0, w, offset, Qt::CopyROP);
bitBlt(&pixmap, 0, offset, &tmpPixmap, 0, offset + thumbSize,
w, h - offset, TQt::CopyROP);
w, h - offset, Qt::CopyROP);
} else {
TQRect r;
r = tqApp->style().querySubControlMetrics(TQStyle::CC_ScrollBar,
@ -1417,9 +1330,9 @@ void drawScrollBar(GdkWindow* window, GtkStyle* style, GtkStateType state, int o
&painter2, scrollBar, TQRect(0, 0, w+thumbSize, h),
tqApp->palette().active(), sflags);
bitBlt(&pixmap, 0, 0, &tmpPixmap, 0, 0, offset, h, TQt::CopyROP);
bitBlt(&pixmap, 0, 0, &tmpPixmap, 0, 0, offset, h, Qt::CopyROP);
bitBlt(&pixmap, offset, 0, &tmpPixmap, offset + thumbSize, 0,
w - offset, h, TQt::CopyROP);
w - offset, h, Qt::CopyROP);
}
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
@ -1529,7 +1442,7 @@ void drawSplitter(GdkWindow* window, GtkStyle* style, GtkStateType state, int or
if (orientation != GTK_ORIENTATION_HORIZONTAL) sflags |= TQStyle::Style_Horizontal;
painter.fillRect(0, 0, w, h, tqApp->palette().active().brush(TQColorGroup::Background));
tqApp->style().drawPrimitive(TQStyle::PE_Splitter, &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags);
tqApp->style().tqdrawPrimitive(TQStyle::PE_Splitter, &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags);
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x, y, w, h);
@ -1554,7 +1467,7 @@ void drawTabFrame(GdkWindow* window, GtkStyle* style, GtkStateType state, int x,
painter.fillRect(0, 0, w, h, TQBrush(TQColor(255,255,255), *backgroundTile));
else
painter.fillRect(0, 0, w, h, tqApp->palette().active().brush(TQColorGroup::Background));
tqApp->style().drawPrimitive(TQStyle::PE_PanelTabWidget, &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags, opt);
tqApp->style().tqdrawPrimitive(TQStyle::PE_PanelTabWidget, &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags, opt);
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x, y, w, h);
@ -1575,7 +1488,7 @@ void drawTabFrame(GdkWindow* window, GtkStyle* style, GtkStateType state, int x,
painter1.fillRect(0, 0, tw, th, tqApp->palette().active().brush(TQColorGroup::Background));
tqApp->style().drawPrimitive(TQStyle::PE_TabBarBase, &painter1, TQRect(0, 0, tw, th), tqApp->palette().active(), sflags, TQStyleOption(1,1));
tqApp->style().tqdrawPrimitive(TQStyle::PE_TabBarBase, &painter1, TQRect(0, 0, tw, th), tqApp->palette().active(), sflags, TQStyleOption(1,1));
if (pos == GTK_POS_BOTTOM)
{
TQWMatrix m;
@ -1610,7 +1523,7 @@ void drawMenu(GdkWindow* window, GtkStyle* style, GtkStateType state, int x, int
painter.fillRect(0, 0, w, h, TQBrush(TQColor(255,255,255), *backgroundTile));
else
painter.fillRect(0, 0, w, h, tqApp->palette().active().brush(TQColorGroup::Background));
tqApp->style().drawPrimitive(TQStyle::PE_PanelPopup, &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags);
tqApp->style().tqdrawPrimitive(TQStyle::PE_PanelPopup, &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags);
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x, y, w, h);
@ -1689,7 +1602,6 @@ void drawProgressBar(GdkWindow * window, GtkStyle * style, GtkStateType state, G
bar.setPercentageVisible(false);
TQPixmap pixmap = TQPixmap::grabWidget(&bar);
pixmap.setMask(pixmap.createHeuristicMask());
TQWMatrix matrix;
switch (orientation)
@ -1703,7 +1615,9 @@ void drawProgressBar(GdkWindow * window, GtkStyle * style, GtkStateType state, G
if (orientation != GTK_PROGRESS_LEFT_TO_RIGHT)
pixmap = pixmap.xForm(matrix);
drawTQPixmapToWindow(window, style->bg_gc[state], &pixmap, x, y, w, h);
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x, y, w, h);
g_object_unref(pix);
}
void drawSlider(GdkWindow * window, GtkStyle * style, GtkStateType state, GtkAdjustment *adj, int x, int y, int w, int h, GtkOrientation orientation, int inverted)
@ -1713,7 +1627,7 @@ void drawSlider(GdkWindow * window, GtkStyle * style, GtkStateType state, GtkAdj
meepSlider->setBackgroundOrigin(TQWidget::ParentOrigin);
meepSlider->setOrientation((orientation == GTK_ORIENTATION_HORIZONTAL) ? TQt::Horizontal : TQt::Vertical);
meepSlider->setOrientation((orientation == GTK_ORIENTATION_HORIZONTAL) ? Qt::Horizontal : Qt::Vertical);
meepSlider->setEnabled(state != GTK_STATE_INSENSITIVE);
meepSlider->setGeometry(x, y, w, h);
@ -1726,8 +1640,9 @@ void drawSlider(GdkWindow * window, GtkStyle * style, GtkStateType state, GtkAdj
meepSlider->setValue(100-(int)((adj->value-adj->lower)/(adj->upper-adj->lower)*100));
TQPixmap pixmap = TQPixmap::grabWidget(meepSlider);
pixmap.setMask(pixmap.createHeuristicMask());
drawTQPixmapToWindow(window, style->bg_gc[state], &pixmap, x, y, w, h);
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x, y, w, h);
g_object_unref(pix);
}
void drawSpinButton(GdkWindow * window, GtkStyle * style, GtkStateType state, int direction, int x, int y, int w, int h)
@ -1744,10 +1659,11 @@ void drawSpinButton(GdkWindow * window, GtkStyle * style, GtkStateType state, in
TQStyle::SFlags sflags = stateToSFlags(state);
painter.fillRect(0, 0, w, h, tqApp->palette().active().brush(TQColorGroup::Background));
tqApp->style().drawPrimitive((direction ? TQStyle::PE_SpinWidgetDown : TQStyle::PE_SpinWidgetUp), &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags);
tqApp->style().tqdrawPrimitive((direction ? TQStyle::PE_SpinWidgetDown : TQStyle::PE_SpinWidgetUp), &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags);
pixmap.setMask(pixmap.createHeuristicMask());
drawTQPixmapToWindow(window, style->bg_gc[state], &pixmap, x, y, w, h);
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x, y, w, h);
g_object_unref(pix);
}
void drawListHeader(GdkWindow* window, GtkStyle* style, GtkStateType state, int x, int y, int w, int h)
@ -1764,7 +1680,7 @@ void drawListHeader(GdkWindow* window, GtkStyle* style, GtkStateType state, int
TQStyle::SFlags sflags = stateToSFlags(state) | TQStyle::Style_Horizontal;
painter.fillRect(0, 0, w, h, tqApp->palette().active().brush(TQColorGroup::Background));
tqApp->style().drawPrimitive(TQStyle::PE_HeaderSection, &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags);
tqApp->style().tqdrawPrimitive(TQStyle::PE_HeaderSection, &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags);
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x, y, w, h);
@ -1786,7 +1702,7 @@ void drawListViewItem(GdkWindow* window, GtkStyle* style, GtkStateType state, in
/* Get the brush corresponding to highlight color */
TQBrush brush = tqApp->palette().brush(TQPalette::Active, TQColorGroup::Highlight);
painter.setBrush(brush);
painter.setPen(TQt::NoPen);
painter.setPen(Qt::NoPen);
painter.drawRect(0, 0, w, h);
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
@ -1940,10 +1856,11 @@ void drawArrow(GdkWindow* window, GtkStyle* style, GtkStateType state, GtkArrowT
else
painter.fillRect(0, 0, w, h, tqApp->palette().active().brush(TQColorGroup::Background));
tqApp->style().drawPrimitive(element, &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags);
tqApp->style().tqdrawPrimitive(element, &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags);
pixmap.setMask(pixmap.createHeuristicMask());
drawTQPixmapToWindow(window, style->bg_gc[state], &pixmap, x, y, w, h);
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x, y, w, h);
g_object_unref(pix);
}
void drawFocusRect(GdkWindow * window, GtkStyle * style, int x, int y, int w, int h)
@ -1959,7 +1876,7 @@ void drawFocusRect(GdkWindow * window, GtkStyle * style, int x, int y, int w, in
TQColor bg(tqApp->palette().active().background());
painter.fillRect(0,0,w,h,bg);
tqApp->style().drawPrimitive(TQStyle::PE_FocusRect, &painter, TQRect(0,0,w,h), tqApp->palette().active(), TQStyle::Style_Default, TQStyleOption(bg));
tqApp->style().tqdrawPrimitive(TQStyle::PE_FocusRect, &painter, TQRect(0,0,w,h), tqApp->palette().active(), TQStyle::Style_Default, TQStyleOption(bg));
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
gdk_draw_drawable(window, style->bg_gc[GTK_STATE_NORMAL], pix, 0, 0, x, y, w, h);
@ -2144,7 +2061,7 @@ void setRcProperties(GtkRcStyle* rc_style, int forceRecreate)
if (!forceRecreate && cacheFile.exists())
{
cacheFile.open(IO_ReadOnly);
stream.setDevice(&cacheFile);
stream.setDevice(TQT_TQIODEVICE(&cacheFile));
if (stream.readLine() == "# " + iconTheme + ", " + tqApp->style().name() + ", " + RC_CACHE_VERSION)
{
@ -2159,14 +2076,14 @@ void setRcProperties(GtkRcStyle* rc_style, int forceRecreate)
}
cacheFile.open(IO_WriteOnly | IO_Truncate);
stream.setDevice(&cacheFile);
stream.setDevice(TQT_TQIODEVICE(&cacheFile));
stream << "# " << iconTheme << ", " << tqApp->style().name() << ", " << RC_CACHE_VERSION << "\n\n";
stream << "# This file was generated by the Gtk Qt Theme Engine\n";
stream << "# It will be recreated when you change your KDE icon theme or widget style\n\n";
TQScrollBar sbar(NULL);
sbar.setOrientation(TQt::Horizontal);
sbar.setOrientation(Qt::Horizontal);
sbar.setValue(1);
sbar.resize(200,25);
@ -2258,7 +2175,7 @@ void setRcProperties(GtkRcStyle* rc_style, int forceRecreate)
stream << parse_rc_string("GtkButton::inner-border = {0, 0, 0, 0}", "*GtkNotebook*GtkButton*");
stream << parse_rc_string("GtkButton::inner-border = {0, 0, 0, 0}", "*GtkNotebook*GtkToggleButton*");
// TQt calls them tab boxes, GTK calls them notebooks (!??!?) Either way they are a pain...
// Qt calls them tab boxes, GTK calls them notebooks (!??!?) Either way they are a pain...
stream << parse_rc_string("GtkNotebook::tab-overlap = " + TQString::number(tqApp->style().pixelMetric(TQStyle::PM_TabBarTabOverlap)), "*");
// This one may not work...

@ -62,7 +62,7 @@ qtengine_rc_style_parse (GtkRcStyle *rc_style, GtkSettings *settings, GScanner *
guint old_scope;
guint token;
/* Sets Rc properties from TQt settings */
/* Sets Rc properties from QT settings */
#ifdef FORCE_RELOAD_THEMES_ON_STARTUP
setRcProperties(rc_style, 1);
#else

@ -1,7 +1,3 @@
#if defined( HAVE_CONFIG_H )
# include "config.h"
#endif
#include <math.h>
#include <string.h>
#include <gtk/gtkprogressbar.h>
@ -32,13 +28,7 @@
extern gboolean tde_showIconsOnPushButtons;
static GdkPixbuf * (*stockRenderIcon)(GtkStyle*,
const GtkIconSource*,
GtkTextDirection,
GtkStateType,
GtkIconSize,
GtkWidget*,
const gchar*) = NULL;
static GdkPixbuf * (*stockRenderIcon)() = NULL;
// static void * (*stockDrawString)() = NULL;
static void qtengine_style_init (QtEngineStyle *style);
@ -228,9 +218,9 @@ draw_shadow(GtkStyle *style,
}
/* The remainder of this function was borrowed from the "Metal" theme/
I don't really want to use TQt to draw these frames as there are too
I don't really want to use Qt to draw these frames as there are too
many of them (it would slow down the theme engine even more).
TODO: Make them use the TQt color palette */
TODO: Make them use the Qt color palette */
switch (shadow_type)
{
@ -893,10 +883,10 @@ draw_box(GtkStyle * style,
nb = (GtkNotebook *)widget;
nbpages = g_list_length(nb->children);
/* THIS IS WHAT WORKS NOW --
Tabs and tabbarbase will be drawn properly according to the TQt style
But the tabs won't be aligned according to TQt. GTK+ does not have
Tabs and tabbarbase will be drawn properly according to the QT style
But the tabs won't be aligned according to QT. GTK+ does not have
an option for alignment of tabs. So if were to do this not only do we have to
calculate the x,y position of the tab ourselves, which is difficult in TQt unless
calculate the x,y position of the tab ourselves, which is difficult in Qt unless
we are displaying the tab (can be done by subclassing TQTabBar/TQTabWidget)
but also have to position the tab bar label ourselves in gtk.
*/

@ -1,27 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-03 00:36+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kcm_gtk/kcmgtk.desktop:2
msgid "GTK Styles and Fonts"
msgstr "GTK-Stile und Schriftarten"
#. Comment
#: kcm_gtk/kcmgtk.desktop:4
msgid "Control the style and fonts used by GTK applications"
msgstr "Einstellung der Stile und Schriftarten in GTK-Anwendungen"

@ -1,27 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-03 00:36+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kcm_gtk/kcmgtk.desktop:2
msgid "GTK Styles and Fonts"
msgstr "Styles et Polices GTK"
#. Comment
#: kcm_gtk/kcmgtk.desktop:4
msgid "Control the style and fonts used by GTK applications"
msgstr "Détermine le style et les polices utilisés par les applications GTK"

@ -1,27 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-03 00:36+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kcm_gtk/kcmgtk.desktop:2
msgid "GTK Styles and Fonts"
msgstr ""
#. Comment
#: kcm_gtk/kcmgtk.desktop:4
msgid "Control the style and fonts used by GTK applications"
msgstr ""

@ -1,27 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-03 00:36+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kcm_gtk/kcmgtk.desktop:2
msgid "GTK Styles and Fonts"
msgstr "Stili e font GTK"
#. Comment
#: kcm_gtk/kcmgtk.desktop:4
msgid "Control the style and fonts used by GTK applications"
msgstr "Configura gli stili e i font usati dalle applicazioni GTK"

@ -1,28 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# Temuri Doghonadze <rkavt@smartprojects.ge>, 2024.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-03 00:36+0200\n"
"PO-Revision-Date: 2024-11-06 04:10+0000\n"
"Last-Translator: Temuri Doghonadze <rkavt@smartprojects.ge>\n"
"Language-Team: Georgian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/gtk-qt-engine-desktop-files/ka/>\n"
"Language: ka\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
#. Name
#: kcm_gtk/kcmgtk.desktop:2
msgid "GTK Styles and Fonts"
msgstr "GTK-ის სტილები და ფონტები"
#. Comment
#: kcm_gtk/kcmgtk.desktop:4
msgid "Control the style and fonts used by GTK applications"
msgstr "მართეთ GTK-ის აპლიკაციების მიერ გამოყენებული სტილი და ფონტები"

@ -1,28 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# Heimen Stoffels <vistausss@fastmail.com>, 2025.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-03 00:36+0200\n"
"PO-Revision-Date: 2025-03-30 19:44+0000\n"
"Last-Translator: Heimen Stoffels <vistausss@fastmail.com>\n"
"Language-Team: Dutch <https://mirror.git.trinitydesktop.org/weblate/projects/"
"applications/gtk-qt-engine-desktop-files/nl/>\n"
"Language: nl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
#. Name
#: kcm_gtk/kcmgtk.desktop:2
msgid "GTK Styles and Fonts"
msgstr "GTK-stijlen en -lettertypen"
#. Comment
#: kcm_gtk/kcmgtk.desktop:4
msgid "Control the style and fonts used by GTK applications"
msgstr "Stel de stijl en lettertypen van GTK-programma's in"

@ -1,27 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-03 00:36+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kcm_gtk/kcmgtk.desktop:2
msgid "GTK Styles and Fonts"
msgstr "Style i czcionki GTK"
#. Comment
#: kcm_gtk/kcmgtk.desktop:4
msgid "Control the style and fonts used by GTK applications"
msgstr "Ustawienia stylów i czcionek używanych w aplikacjach GTK"

@ -1,27 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-03 00:36+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kcm_gtk/kcmgtk.desktop:2
msgid "GTK Styles and Fonts"
msgstr "Стили и шрифты GTK"
#. Comment
#: kcm_gtk/kcmgtk.desktop:4
msgid "Control the style and fonts used by GTK applications"
msgstr "Управление стилями и шрифтами GTK"

@ -1,27 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-03 00:36+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: tr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#. Name
#: kcm_gtk/kcmgtk.desktop:2
msgid "GTK Styles and Fonts"
msgstr "GTK Stil ve Yazıtipleri"
#. Comment
#: kcm_gtk/kcmgtk.desktop:4
msgid "Control the style and fonts used by GTK applications"
msgstr "GTK uygulamalarının stil ve yazıtiplerini TDE görünümlü yapar"

@ -1,327 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# Temuri Doghonadze <rkavt@smartprojects.ge>, 2024.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2024-10-31 18:21+0000\n"
"PO-Revision-Date: 2024-11-11 05:10+0000\n"
"Last-Translator: Temuri Doghonadze <rkavt@smartprojects.ge>\n"
"Language-Team: Georgian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/gtk-qt-engine/ka/>\n"
"Language: ka\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "თემური დოღონაძე"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "temuri.doghonadze@gmail.com"
#: kcm_gtk/kcmgtk.cpp:329
msgid "%1 (size %2)"
msgstr "%1 (ზომა %2)"
#: src/qt_qt_wrapper.cpp:115
msgid "gtk2-tqt-engine"
msgstr "gtk2-tqt-engine"
#: src/qt_qt_wrapper.cpp:380
msgid "Maintainer"
msgstr "წამყვანი პროგრამისტი"
#: src/qt_qt_wrapper.cpp:381
msgid "Original Author"
msgstr "საწყისი ავტორი"
#: kcm_gtk/emacsdetails.ui:16
#, no-c-format
msgid "Emacs Keyboard Shortcuts"
msgstr "Emacs-ის კლავიატურის მალსახმობები"
#: kcm_gtk/emacsdetails.ui:27
#, no-c-format
msgid ""
"These keyboard shortcuts are useful for Emacs users.\n"
"When enabled, they will override the standard keyboard shortcuts in GTK "
"applications."
msgstr ""
"ეს კლავიატურის მალსახმობები სასარგებლოა Emacs-ის მომხმარებლებისთვის.\n"
"როცა ჩართულია, ის გადაფარავს სტანდარტულ კლავიატურის მალსახმობებს GTK "
"აპლიკაციებში."
#: kcm_gtk/emacsdetails.ui:34
#, no-c-format
msgid "Shortcut"
msgstr "მალსახმობი"
#: kcm_gtk/emacsdetails.ui:45
#, no-c-format
msgid "Description"
msgstr "აღწერა"
#: kcm_gtk/emacsdetails.ui:56
#, no-c-format
msgid "Ctrl+A"
msgstr "Ctrl+A"
#: kcm_gtk/emacsdetails.ui:59
#, no-c-format
msgid "Go to beginning of line"
msgstr "გადასვლა ხაზის დასაწყისზე"
#: kcm_gtk/emacsdetails.ui:70
#, no-c-format
msgid "Ctrl+E"
msgstr "Ctrl+E"
#: kcm_gtk/emacsdetails.ui:73
#, no-c-format
msgid "Go to end of line"
msgstr "გადასვლა ხაზის ბოლოზე"
#: kcm_gtk/emacsdetails.ui:84
#, no-c-format
msgid "Ctrl+F"
msgstr "Ctrl+F"
#: kcm_gtk/emacsdetails.ui:87
#, no-c-format
msgid "Go right one character"
msgstr "მარჯვნივ ერთ სიმბოლოთი"
#: kcm_gtk/emacsdetails.ui:98
#, no-c-format
msgid "Ctrl+B"
msgstr "Ctrl+B"
#: kcm_gtk/emacsdetails.ui:101
#, no-c-format
msgid "Go left one character"
msgstr "მარცხნივ ერთი სიმბოლოთი"
#: kcm_gtk/emacsdetails.ui:112
#, no-c-format
msgid "Ctrl+K"
msgstr "Ctrl+K"
#: kcm_gtk/emacsdetails.ui:115
#, no-c-format
msgid "Delete to end of line"
msgstr "წაშლა ხაზის ბოლომდე"
#: kcm_gtk/emacsdetails.ui:126
#, no-c-format
msgid "Ctrl+U"
msgstr "Ctrl+U"
#: kcm_gtk/emacsdetails.ui:129
#, no-c-format
msgid "Delete entire line"
msgstr "მთელი ხაზის წაშლა"
#: kcm_gtk/emacsdetails.ui:140
#, no-c-format
msgid "Ctrl+W"
msgstr "Ctrl+W"
#: kcm_gtk/emacsdetails.ui:143
#, no-c-format
msgid "Delete word, left"
msgstr "სიტყვის წაშლა მარცხნივ"
#: kcm_gtk/emacsdetails.ui:154
#, no-c-format
msgid "Ctrl+H"
msgstr "Ctrl+H"
#: kcm_gtk/emacsdetails.ui:157
#, no-c-format
msgid "Delete character, left"
msgstr "სიმბოლოს წაშლა მარცხნივ"
#: kcm_gtk/emacsdetails.ui:168
#, no-c-format
msgid "Ctrl+D"
msgstr "Ctrl+D"
#: kcm_gtk/emacsdetails.ui:171
#, no-c-format
msgid "Delete character, right"
msgstr "სიმბოლოს წაშლა მარჯვნივ"
#: kcm_gtk/emacsdetails.ui:217
#, no-c-format
msgid "C&lose"
msgstr "&დახურვა"
#: kcm_gtk/kcmgtkwidget.ui:16 kcm_gtk/mozillaprofile.ui:16
#, no-c-format
msgid "Form2"
msgstr "ფორმა2"
#: kcm_gtk/kcmgtkwidget.ui:38
#, no-c-format
msgid "GTK2 Styles"
msgstr "GTK2-ის სტილები"
#: kcm_gtk/kcmgtkwidget.ui:117 kcm_gtk/kcmgtkwidget.ui:289
#, no-c-format
msgid "Change search paths..."
msgstr "ძებნის ბილიკების ძებნა..."
#: kcm_gtk/kcmgtkwidget.ui:144
#, no-c-format
msgid "&Use my TDE style in GTK2 applications"
msgstr "&ჩემი TDE-ის სტილის გამოყენება GTK2-ის აპლიკაციებში"
#: kcm_gtk/kcmgtkwidget.ui:168 kcm_gtk/kcmgtkwidget.ui:340
#, no-c-format
msgid "Use &another style:"
msgstr "სხვ&ა სტილის გამოყენება:"
#: kcm_gtk/kcmgtkwidget.ui:179
#, no-c-format
msgid ""
"<b>Warning:</b> The GTK2-TQt theme engine is not installed. This means you "
"will not be able to use your TDE style in GTK2 applications."
msgstr ""
"<b>გაფრთხილება:</b> თემის ძრავა GTK2-TQTდაენებული არაა. ეს ნიშნავს, რომ "
"თქვენს TDE-ის სტილს GTK2-ის აპლიკაციებში ვერ გამოიყენებთ."
#: kcm_gtk/kcmgtkwidget.ui:187
#, no-c-format
msgid "GTK2-TQt theme engine homepage"
msgstr "GTK2-TQt თემის ძრავის ვებგვერდი"
#: kcm_gtk/kcmgtkwidget.ui:190
#, no-c-format
msgid "http://gtk-qt.ecs.soton.ac.uk/"
msgstr "http://gtk-qt.ecs.soton.ac.uk/"
#: kcm_gtk/kcmgtkwidget.ui:210
#, no-c-format
msgid "GTK3 Styles"
msgstr "GTK3-ის სტილები"
#: kcm_gtk/kcmgtkwidget.ui:316
#, no-c-format
msgid "&Use my TDE style in GTK3 applications"
msgstr "&ჩემი TDE-ის სტილების გამოყენება GTK3-ის აპლიკაციებში"
#: kcm_gtk/kcmgtkwidget.ui:351
#, no-c-format
msgid ""
"<b>Warning:</b> The Gtk3-TQt theme engine is not installed. This means you "
"will not be able to use your TDE style in GTK3 applications."
msgstr ""
"<b>გაფრთხილება:</b> თემის ძრავა Gtk3-TQt დაყენებული არაა. ეს ნიშნავს, "
"რომ თქვენი TDE-ის სტილებს GTK3-ის აპლიკაციებში ვერ გამოიყენებთ."
#: kcm_gtk/kcmgtkwidget.ui:359
#, no-c-format
msgid "Gtk3-TQt theme engine homepage"
msgstr "Gtk3-TQt თემის ძრავას საწყისი გვერდი"
#: kcm_gtk/kcmgtkwidget.ui:362
#, no-c-format
msgid "http://www.trinitydesktop.org/"
msgstr "http://www.trinitydesktop.org/"
#: kcm_gtk/kcmgtkwidget.ui:382
#, no-c-format
msgid "GTK2 Fonts"
msgstr "GTK2-ის ფონტები"
#: kcm_gtk/kcmgtkwidget.ui:436
#, no-c-format
msgid "Change..."
msgstr "შეცვლა..."
#: kcm_gtk/kcmgtkwidget.ui:461
#, no-c-format
msgid "Use another font:"
msgstr "სხვა ფონტის გამოყენება:"
#: kcm_gtk/kcmgtkwidget.ui:494
#, no-c-format
msgid "The Quick Brown Fox Jumped Over The Lazy Dog"
msgstr "თეთრი თრითინა თეთრ თოვლზე თრთოდა"
#: kcm_gtk/kcmgtkwidget.ui:504
#, no-c-format
msgid "Use m&y TDE fonts in GTK2 applications"
msgstr "GTK2-ის აპლიკაციებში ჩემი TDE-ის ფონტების გამოყენება"
#: kcm_gtk/kcmgtkwidget.ui:537
#, no-c-format
msgid "Preview line 1"
msgstr "გადახედვა ხაზისთვის 1"
#: kcm_gtk/kcmgtkwidget.ui:554
#, no-c-format
msgid "GTK2 Keyboard Shortcuts"
msgstr "GTK2-ის კლავიატურის მალსახმობები"
#: kcm_gtk/kcmgtkwidget.ui:608
#, no-c-format
msgid "Use Emacs-like key&board shortcuts for text editing"
msgstr ""
"Eemacs-ის მსგავსი კლავიატურის მალსახმობების გამოყენება ტექსტის "
"რედაქტირე&ბისას"
#: kcm_gtk/kcmgtkwidget.ui:624
#, no-c-format
msgid "Details..."
msgstr "დეტალები..."
#: kcm_gtk/kcmgtkwidget.ui:655
#, no-c-format
msgid ""
"Note that changes made here will only affect GTK applications when TDE is "
"running. To change the styles and fonts used by applications in GNOME, use "
"the GNOME configuration tools."
msgstr ""
"დაიმახსოვრეთ, რომ ცვლილებები, მხოლოდ, ეხება GTK-ის აპლიკაციებს, როცა TDE "
"გაშვებულია. აპლიკაციის სტილების და ფონტების GNOME-ში შესაცვლელად GNOME-ის "
"მორგების ხელსაწყოებ გამოიყენეთ."
#: kcm_gtk/mozillaprofile.ui:38
#, no-c-format
msgid "Please select the profiles that you want to fix:"
msgstr "აირჩიეთ პროფილები, რომლის გასწორებაც გნებავთ:"
#: kcm_gtk/mozillaprofile.ui:44
#, no-c-format
msgid "Profile"
msgstr "პროფილი"
#: kcm_gtk/searchpaths.ui:16
#, no-c-format
msgid "Change search paths"
msgstr "ძებნის ბილიკების შეცვლა"
#: kcm_gtk/searchpaths.ui:27
#, no-c-format
msgid ""
"The control center module could not find the GTK2-TQt theme engine in its "
"list of search paths. If you have installed it elsewhere, you will need to "
"add the correct path to the list below."
msgstr ""
"კონტროლის ცენტრის მოდულმა ვერ იპოვა GTK-TQt თემის ძრავა საძებნი ბილიკების "
"სიაში. თუ ის სადმე სხვაგან გაქვთ დაყენებული, დაამატეთ სწორი ბილიკი სიას "
"ქვემოთ."
#: kcm_gtk/searchpaths.ui:122
#, no-c-format
msgid "Ok"
msgstr "დიახ"

@ -1,325 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# Jan Stolarek <jwstolarek@gmail.com>, 2020.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2024-10-31 18:21+0000\n"
"PO-Revision-Date: 2020-08-04 14:31+0000\n"
"Last-Translator: Jan Stolarek <jwstolarek@gmail.com>\n"
"Language-Team: Polish <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/gtk-qt-engine/pl/>\n"
"Language: pl\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.1.1\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "Jan Stolarek"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "jwstolarek@gmail.com"
#: kcm_gtk/kcmgtk.cpp:329
msgid "%1 (size %2)"
msgstr "%1 (rozmiar %2)"
#: src/qt_qt_wrapper.cpp:115
msgid "gtk2-tqt-engine"
msgstr "gtk2-tqt-engine"
#: src/qt_qt_wrapper.cpp:380
msgid "Maintainer"
msgstr "Opiekun"
#: src/qt_qt_wrapper.cpp:381
msgid "Original Author"
msgstr "Autor"
#: kcm_gtk/emacsdetails.ui:16
#, no-c-format
msgid "Emacs Keyboard Shortcuts"
msgstr "Skróty klawiaturowe Emacsa"
#: kcm_gtk/emacsdetails.ui:27
#, no-c-format
msgid ""
"These keyboard shortcuts are useful for Emacs users.\n"
"When enabled, they will override the standard keyboard shortcuts in GTK "
"applications."
msgstr ""
"Poniższe skróty klawiaturowe są przydatne dla użytkowników Emacsa.\n"
"Kiedy są włączone zastępują oryginalne skróty klawiaturowe aplikacji GTK."
#: kcm_gtk/emacsdetails.ui:34
#, no-c-format
msgid "Shortcut"
msgstr "Skrót"
#: kcm_gtk/emacsdetails.ui:45
#, no-c-format
msgid "Description"
msgstr "Opis"
#: kcm_gtk/emacsdetails.ui:56
#, no-c-format
msgid "Ctrl+A"
msgstr "Ctrl+A"
#: kcm_gtk/emacsdetails.ui:59
#, no-c-format
msgid "Go to beginning of line"
msgstr "Przejdź do początku linii"
#: kcm_gtk/emacsdetails.ui:70
#, no-c-format
msgid "Ctrl+E"
msgstr "Ctrl+E"
#: kcm_gtk/emacsdetails.ui:73
#, no-c-format
msgid "Go to end of line"
msgstr "Przejdź do końca linii"
#: kcm_gtk/emacsdetails.ui:84
#, no-c-format
msgid "Ctrl+F"
msgstr "Ctrl+F"
#: kcm_gtk/emacsdetails.ui:87
#, no-c-format
msgid "Go right one character"
msgstr "Przejdź o jeden znak w prawo"
#: kcm_gtk/emacsdetails.ui:98
#, no-c-format
msgid "Ctrl+B"
msgstr "Ctrl+B"
#: kcm_gtk/emacsdetails.ui:101
#, no-c-format
msgid "Go left one character"
msgstr "Przejdź o jeden znak w lewo"
#: kcm_gtk/emacsdetails.ui:112
#, no-c-format
msgid "Ctrl+K"
msgstr "Ctrl+K"
#: kcm_gtk/emacsdetails.ui:115
#, no-c-format
msgid "Delete to end of line"
msgstr "Skasuj znaki do końca linii"
#: kcm_gtk/emacsdetails.ui:126
#, no-c-format
msgid "Ctrl+U"
msgstr "Ctrl+U"
#: kcm_gtk/emacsdetails.ui:129
#, no-c-format
msgid "Delete entire line"
msgstr "Skasuj całą linię"
#: kcm_gtk/emacsdetails.ui:140
#, no-c-format
msgid "Ctrl+W"
msgstr "Ctrl+W"
#: kcm_gtk/emacsdetails.ui:143
#, no-c-format
msgid "Delete word, left"
msgstr "Skasuj do początku słowa po lewej"
#: kcm_gtk/emacsdetails.ui:154
#, no-c-format
msgid "Ctrl+H"
msgstr "Ctrl+H"
#: kcm_gtk/emacsdetails.ui:157
#, no-c-format
msgid "Delete character, left"
msgstr "Skasuj znak po lewej"
#: kcm_gtk/emacsdetails.ui:168
#, no-c-format
msgid "Ctrl+D"
msgstr "Ctrl+D"
#: kcm_gtk/emacsdetails.ui:171
#, no-c-format
msgid "Delete character, right"
msgstr "Skasuj znak po prawej"
#: kcm_gtk/emacsdetails.ui:217
#, no-c-format
msgid "C&lose"
msgstr "Za&mknij"
#: kcm_gtk/kcmgtkwidget.ui:16 kcm_gtk/mozillaprofile.ui:16
#, no-c-format
msgid "Form2"
msgstr "Form2"
#: kcm_gtk/kcmgtkwidget.ui:38
#, no-c-format
msgid "GTK2 Styles"
msgstr "Style GTK2"
#: kcm_gtk/kcmgtkwidget.ui:117 kcm_gtk/kcmgtkwidget.ui:289
#, no-c-format
msgid "Change search paths..."
msgstr "Wybierz przeszukiwane katalogi..."
#: kcm_gtk/kcmgtkwidget.ui:144
#, no-c-format
msgid "&Use my TDE style in GTK2 applications"
msgstr "&Użyj mojego stylu TDE w aplikacjach GTK2"
#: kcm_gtk/kcmgtkwidget.ui:168 kcm_gtk/kcmgtkwidget.ui:340
#, no-c-format
msgid "Use &another style:"
msgstr "Użyj &innego stylu:"
#: kcm_gtk/kcmgtkwidget.ui:179
#, no-c-format
msgid ""
"<b>Warning:</b> The GTK2-TQt theme engine is not installed. This means you "
"will not be able to use your TDE style in GTK2 applications."
msgstr ""
"<b>Uwaga:</b> nie zainstalowano silnika stylów GTK2-TQt. To oznacza że nie "
"będziesz mógł używać twojego stylu TDE w aplikacjach GTK2."
#: kcm_gtk/kcmgtkwidget.ui:187
#, no-c-format
msgid "GTK2-TQt theme engine homepage"
msgstr "Strona domowa silnika stylów GTK2-TQt"
#: kcm_gtk/kcmgtkwidget.ui:190
#, no-c-format
msgid "http://gtk-qt.ecs.soton.ac.uk/"
msgstr "http://gtk-qt.ecs.soton.ac.uk/"
#: kcm_gtk/kcmgtkwidget.ui:210
#, no-c-format
msgid "GTK3 Styles"
msgstr "Style GTK3"
#: kcm_gtk/kcmgtkwidget.ui:316
#, no-c-format
msgid "&Use my TDE style in GTK3 applications"
msgstr "Użyj mojego stylu TDE w aplikacjach &GTK3"
#: kcm_gtk/kcmgtkwidget.ui:351
#, no-c-format
msgid ""
"<b>Warning:</b> The Gtk3-TQt theme engine is not installed. This means you "
"will not be able to use your TDE style in GTK3 applications."
msgstr ""
"<b>Uwaga:</b> nie zainstalowano silnika stylów GTK3-TQt. To oznacza że nie "
"będziesz mógł używać twojego stylu TDE w aplikacjach GTK3."
#: kcm_gtk/kcmgtkwidget.ui:359
#, no-c-format
msgid "Gtk3-TQt theme engine homepage"
msgstr "Strona domowa silnika stylów GTK3-TQt"
#: kcm_gtk/kcmgtkwidget.ui:362
#, no-c-format
msgid "http://www.trinitydesktop.org/"
msgstr "http://www.trinitydesktop.org/"
#: kcm_gtk/kcmgtkwidget.ui:382
#, no-c-format
msgid "GTK2 Fonts"
msgstr "Czcionki GTK2"
#: kcm_gtk/kcmgtkwidget.ui:436
#, no-c-format
msgid "Change..."
msgstr "Zmień..."
#: kcm_gtk/kcmgtkwidget.ui:461
#, no-c-format
msgid "Use another font:"
msgstr "Użyj innej czcionki:"
#: kcm_gtk/kcmgtkwidget.ui:494
#, no-c-format
msgid "The Quick Brown Fox Jumped Over The Lazy Dog"
msgstr "Zażółć gęślą jaźń"
#: kcm_gtk/kcmgtkwidget.ui:504
#, no-c-format
msgid "Use m&y TDE fonts in GTK2 applications"
msgstr "Użyj moich czcionek TDE w aplikacjach GTK2"
#: kcm_gtk/kcmgtkwidget.ui:537
#, no-c-format
msgid "Preview line 1"
msgstr "Przykładowa linia 1"
#: kcm_gtk/kcmgtkwidget.ui:554
#, no-c-format
msgid "GTK2 Keyboard Shortcuts"
msgstr "Skróty klawiaturowe GTK2"
#: kcm_gtk/kcmgtkwidget.ui:608
#, no-c-format
msgid "Use Emacs-like key&board shortcuts for text editing"
msgstr "Użyj skrótów klawiaturowych w stylu Emacsa w trakcie edycji tekstu"
#: kcm_gtk/kcmgtkwidget.ui:624
#, no-c-format
msgid "Details..."
msgstr "Szczegóły..."
#: kcm_gtk/kcmgtkwidget.ui:655
#, no-c-format
msgid ""
"Note that changes made here will only affect GTK applications when TDE is "
"running. To change the styles and fonts used by applications in GNOME, use "
"the GNOME configuration tools."
msgstr ""
"Zmiany wprowadzone w tym panelu będą uwzględniane tylko w trakcie pracy w "
"TDE. Aby zmienić style i czcionki używane przez aplikacje w środowisku "
"GNOME użyj narzędzi konfiguracyjnych GNOME."
#: kcm_gtk/mozillaprofile.ui:38
#, no-c-format
msgid "Please select the profiles that you want to fix:"
msgstr "Wybierz profile które chcesz naprawić:"
#: kcm_gtk/mozillaprofile.ui:44
#, no-c-format
msgid "Profile"
msgstr "Profil"
#: kcm_gtk/searchpaths.ui:16
#, no-c-format
msgid "Change search paths"
msgstr "Wybierz przeszukiwane katalogi"
#: kcm_gtk/searchpaths.ui:27
#, no-c-format
msgid ""
"The control center module could not find the GTK2-TQt theme engine in its "
"list of search paths. If you have installed it elsewhere, you will need to "
"add the correct path to the list below."
msgstr ""
"Moduł centrum sterowania nie był w stanie znaleźć silnika stylów GTK-TQt w "
"żadnym z podanych katalogów Jeśli silnik jest zainstalowany gdzieś indziej "
"dodaj katalog w którym się znajduje do poniższej listy."
#: kcm_gtk/searchpaths.ui:122
#, no-c-format
msgid "Ok"
msgstr "Ok"

@ -1,323 +0,0 @@
# SOME DESCRIPTIVE TITLE.
# diaowinner <diaowinner@gmail.com>, 2023.
# Toad114514 <xiaolan2332021@163.com>, 2025.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2024-10-31 18:21+0000\n"
"PO-Revision-Date: 2025-04-24 16:44+0000\n"
"Last-Translator: Toad114514 <xiaolan2332021@163.com>\n"
"Language-Team: Chinese (Simplified) <https://mirror.git.trinitydesktop.org/"
"weblate/projects/applications/gtk-qt-engine/zh_Hans/>\n"
"Language: zh_Hans\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.17\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
"_: NAME OF TRANSLATORS\n"
"Your names"
msgstr "diaowinner"
#. Instead of a literal translation, add your email to the end of the list (separated by a comma).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "diaowinner@gmail.com"
#: kcm_gtk/kcmgtk.cpp:329
msgid "%1 (size %2)"
msgstr "%1大小为 %2"
#: src/qt_qt_wrapper.cpp:115
msgid "gtk2-tqt-engine"
msgstr "gtk2-tqt-engine"
#: src/qt_qt_wrapper.cpp:380
msgid "Maintainer"
msgstr "维护者"
#: src/qt_qt_wrapper.cpp:381
msgid "Original Author"
msgstr "原作者"
#: kcm_gtk/emacsdetails.ui:16
#, no-c-format
msgid "Emacs Keyboard Shortcuts"
msgstr "Emacs 键盘快捷键"
#: kcm_gtk/emacsdetails.ui:27
#, no-c-format
msgid ""
"These keyboard shortcuts are useful for Emacs users.\n"
"When enabled, they will override the standard keyboard shortcuts in GTK "
"applications."
msgstr ""
"这些键盘快捷键对 Emacs 用户来说是实用的。\n"
"当这些被启用,他们将覆盖在 GTK 应用程序里的标准键盘快捷键。"
#: kcm_gtk/emacsdetails.ui:34
#, no-c-format
msgid "Shortcut"
msgstr "快捷键"
#: kcm_gtk/emacsdetails.ui:45
#, no-c-format
msgid "Description"
msgstr "描述"
#: kcm_gtk/emacsdetails.ui:56
#, no-c-format
msgid "Ctrl+A"
msgstr "Ctrl+A"
#: kcm_gtk/emacsdetails.ui:59
#, no-c-format
msgid "Go to beginning of line"
msgstr "转到行首"
#: kcm_gtk/emacsdetails.ui:70
#, no-c-format
msgid "Ctrl+E"
msgstr "Ctrl+E"
#: kcm_gtk/emacsdetails.ui:73
#, no-c-format
msgid "Go to end of line"
msgstr "转到行末"
#: kcm_gtk/emacsdetails.ui:84
#, no-c-format
msgid "Ctrl+F"
msgstr "Ctrl+F"
#: kcm_gtk/emacsdetails.ui:87
#, no-c-format
msgid "Go right one character"
msgstr "光标向右一字符"
#: kcm_gtk/emacsdetails.ui:98
#, no-c-format
msgid "Ctrl+B"
msgstr "Ctrl+B"
#: kcm_gtk/emacsdetails.ui:101
#, no-c-format
msgid "Go left one character"
msgstr "光标向左一字符"
#: kcm_gtk/emacsdetails.ui:112
#, no-c-format
msgid "Ctrl+K"
msgstr "Ctrl+K"
#: kcm_gtk/emacsdetails.ui:115
#, no-c-format
msgid "Delete to end of line"
msgstr "删除到行末"
#: kcm_gtk/emacsdetails.ui:126
#, no-c-format
msgid "Ctrl+U"
msgstr "Ctrl+U"
#: kcm_gtk/emacsdetails.ui:129
#, no-c-format
msgid "Delete entire line"
msgstr "删除整行"
#: kcm_gtk/emacsdetails.ui:140
#, no-c-format
msgid "Ctrl+W"
msgstr "Ctrl+W"
#: kcm_gtk/emacsdetails.ui:143
#, no-c-format
msgid "Delete word, left"
msgstr "删除左侧选中字符"
#: kcm_gtk/emacsdetails.ui:154
#, no-c-format
msgid "Ctrl+H"
msgstr "Ctrl+H"
#: kcm_gtk/emacsdetails.ui:157
#, no-c-format
msgid "Delete character, left"
msgstr "删除左侧一个字符"
#: kcm_gtk/emacsdetails.ui:168
#, no-c-format
msgid "Ctrl+D"
msgstr "Ctrl+D"
#: kcm_gtk/emacsdetails.ui:171
#, no-c-format
msgid "Delete character, right"
msgstr "删除右侧一个字符"
#: kcm_gtk/emacsdetails.ui:217
#, no-c-format
msgid "C&lose"
msgstr "关闭 (&L)"
#: kcm_gtk/kcmgtkwidget.ui:16 kcm_gtk/mozillaprofile.ui:16
#, no-c-format
msgid "Form2"
msgstr "Form2"
#: kcm_gtk/kcmgtkwidget.ui:38
#, no-c-format
msgid "GTK2 Styles"
msgstr "GTK2 样式"
#: kcm_gtk/kcmgtkwidget.ui:117 kcm_gtk/kcmgtkwidget.ui:289
#, no-c-format
msgid "Change search paths..."
msgstr "更改搜索路径…"
#: kcm_gtk/kcmgtkwidget.ui:144
#, no-c-format
msgid "&Use my TDE style in GTK2 applications"
msgstr "在 GTK2 应用程序中使用我的 TDE 格式 (&U)"
#: kcm_gtk/kcmgtkwidget.ui:168 kcm_gtk/kcmgtkwidget.ui:340
#, no-c-format
msgid "Use &another style:"
msgstr "使用其他样式 (&A):"
#: kcm_gtk/kcmgtkwidget.ui:179
#, no-c-format
msgid ""
"<b>Warning:</b> The GTK2-TQt theme engine is not installed. This means you "
"will not be able to use your TDE style in GTK2 applications."
msgstr ""
"<b>警告:</b>GTK2-TQt 主题引擎未被安装。这意味着你将不能在 GTK2 应用程序中用"
"你的 TDE 样式。"
#: kcm_gtk/kcmgtkwidget.ui:187
#, no-c-format
msgid "GTK2-TQt theme engine homepage"
msgstr "GTK2-TQt 主题引擎主页"
#: kcm_gtk/kcmgtkwidget.ui:190
#, no-c-format
msgid "http://gtk-qt.ecs.soton.ac.uk/"
msgstr "http://gtk-qt.ecs.soton.ac.uk/"
#: kcm_gtk/kcmgtkwidget.ui:210
#, no-c-format
msgid "GTK3 Styles"
msgstr "GTK3 样式"
#: kcm_gtk/kcmgtkwidget.ui:316
#, no-c-format
msgid "&Use my TDE style in GTK3 applications"
msgstr "在 GTK3 应用程序中使用我的 TDE 格式 (&U)"
#: kcm_gtk/kcmgtkwidget.ui:351
#, no-c-format
msgid ""
"<b>Warning:</b> The Gtk3-TQt theme engine is not installed. This means you "
"will not be able to use your TDE style in GTK3 applications."
msgstr ""
"<b>警告:</b>GTK3-TQt 主题引擎未被安装。这意味着你将不能在 GTK3 应用程序中用"
"你的 TDE 样式。"
#: kcm_gtk/kcmgtkwidget.ui:359
#, no-c-format
msgid "Gtk3-TQt theme engine homepage"
msgstr "GTK3-TQt 主题引擎主页"
#: kcm_gtk/kcmgtkwidget.ui:362
#, no-c-format
msgid "http://www.trinitydesktop.org/"
msgstr "http://www.trinitydesktop.org/"
#: kcm_gtk/kcmgtkwidget.ui:382
#, no-c-format
msgid "GTK2 Fonts"
msgstr "GTK2 字体"
#: kcm_gtk/kcmgtkwidget.ui:436
#, no-c-format
msgid "Change..."
msgstr "更改…"
#: kcm_gtk/kcmgtkwidget.ui:461
#, no-c-format
msgid "Use another font:"
msgstr "使用其它字体:"
#: kcm_gtk/kcmgtkwidget.ui:494
#, no-c-format
msgid "The Quick Brown Fox Jumped Over The Lazy Dog"
msgstr "那只速度很快的棕色狐狸跳过了那只懒惰的狗"
#: kcm_gtk/kcmgtkwidget.ui:504
#, no-c-format
msgid "Use m&y TDE fonts in GTK2 applications"
msgstr "在 GTK2 应用程序里使用我的 TDE 字体"
#: kcm_gtk/kcmgtkwidget.ui:537
#, no-c-format
msgid "Preview line 1"
msgstr "预览行 1"
#: kcm_gtk/kcmgtkwidget.ui:554
#, no-c-format
msgid "GTK2 Keyboard Shortcuts"
msgstr "GTK2 键盘快捷键"
#: kcm_gtk/kcmgtkwidget.ui:608
#, no-c-format
msgid "Use Emacs-like key&board shortcuts for text editing"
msgstr "文字编辑时使用类 Emacs 键盘快捷键 (&B)"
#: kcm_gtk/kcmgtkwidget.ui:624
#, no-c-format
msgid "Details..."
msgstr "细节…"
#: kcm_gtk/kcmgtkwidget.ui:655
#, no-c-format
msgid ""
"Note that changes made here will only affect GTK applications when TDE is "
"running. To change the styles and fonts used by applications in GNOME, use "
"the GNOME configuration tools."
msgstr ""
"注意到在这里做的这些更改将只对在 TDE 运行时的 GTK 应用程序起作用。要更改 "
"GNOME 应用程序里的样式和字体,使用 GNOME 配置工具。"
#: kcm_gtk/mozillaprofile.ui:38
#, no-c-format
msgid "Please select the profiles that you want to fix:"
msgstr "请选择你想要修改的配置:"
#: kcm_gtk/mozillaprofile.ui:44
#, no-c-format
msgid "Profile"
msgstr "配置"
#: kcm_gtk/searchpaths.ui:16
#, no-c-format
msgid "Change search paths"
msgstr "更改搜索路径"
#: kcm_gtk/searchpaths.ui:27
#, no-c-format
msgid ""
"The control center module could not find the GTK2-TQt theme engine in its "
"list of search paths. If you have installed it elsewhere, you will need to "
"add the correct path to the list below."
msgstr ""
"控制中心模块不能在它的搜索路径找到 GTK2-TQt 主题引擎。如果你已经在别处安装了"
"它,你将需要在下面的列表添加正确的路径。"
#: kcm_gtk/searchpaths.ui:122
#, no-c-format
msgid "Ok"
msgstr "确定"
Loading…
Cancel
Save