Compare commits

...

42 Commits

Author SHA1 Message Date
Slávek Banko 38f56e9703
Use the complete definition of the prototype function gtk_style_render_icon.
This solves FTBFS in checking the compatibility of pointers.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 months ago
Simon Stockhaus 28702b2f77 Translated using Weblate (Swedish)
Currently translated at 100.0% (57 of 57 strings)

Translation: applications/gtk-qt-engine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/gtk-qt-engine/sv/
4 months ago
Toad114514 1a0a708a57 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (57 of 57 strings)

Translation: applications/gtk-qt-engine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/gtk-qt-engine/zh_Hans/
5 months ago
Michele Calgaro efce1528da
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 months ago
Heimen Stoffels e538a872ec Translated using Weblate (Dutch)
Currently translated at 100.0% (2 of 2 strings)

Translation: applications/gtk-qt-engine - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/gtk-qt-engine-desktop-files/nl/
6 months ago
Heimen Stoffels 5e95b96e46 Added translation using Weblate (Dutch) 6 months ago
TDE Weblate 109716ce1c 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/
6 months ago
Michele Calgaro 8dad5a6613
Use tdestandarddirs.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 months ago
Michele Calgaro f87336f483
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 months ago
Michele Calgaro 9584999a2f
Use tdecrash.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 months ago
Temuri Doghonadze 6cad9f0267 Translated using Weblate (Georgian)
Currently translated at 100.0% (57 of 57 strings)

Translation: applications/gtk-qt-engine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/gtk-qt-engine/ka/
11 months ago
Temuri Doghonadze c95b63f1e3 Added translation using Weblate (Georgian) 11 months ago
Temuri Doghonadze f2408b6a38 Translated using Weblate (Georgian)
Currently translated at 100.0% (2 of 2 strings)

Translation: applications/gtk-qt-engine - desktop files
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/gtk-qt-engine-desktop-files/ka/
11 months ago
Temuri Doghonadze cdcba55f4d Added translation using Weblate (Georgian) 11 months ago
TDE Weblate 1f4b374e59 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/
11 months ago
TDE Gitea ff6f70963a Update translation template. 11 months ago
rjb330 ff04675883 Unref imggc and add separate CDE checks
Signed-off-by: rjb330 <122177540+rjb330@users.noreply.github.com>
11 months ago
rjb330 d055f3b3ad Add some comments in drawTQPixmapToWindow()
Signed-off-by: rjb330 <122177540+rjb330@users.noreply.github.com>
11 months ago
rjb330 8b22d57a20 Remove bitmap offset from radio for qtcurve
Signed-off-by: rjb330 <122177540+rjb330@users.noreply.github.com>
11 months ago
rjb330 4ff647a878 Include user gtkrc for custom overrides
Signed-off-by: rjb330 <122177540+rjb330@users.noreply.github.com>
11 months ago
rjb330 c93c18e30d Use TDE icon theme in gtkrc
Signed-off-by: rjb330 <122177540+rjb330@users.noreply.github.com>
11 months ago
rjb330 275e859bf9 Additional scrollbar corrections
Signed-off-by: rjb330 <122177540+rjb330@users.noreply.github.com>
11 months ago
rjb330 6a0df8d271 Add Palemoon to mozillaFix
Signed-off-by: rjb330 <122177540+rjb330@users.noreply.github.com>
11 months ago
rjb330 1d10548298 Use bitmap masks for some widgets
Signed-off-by: rjb330 <122177540+rjb330@users.noreply.github.com>
11 months ago
TDE Weblate 209a3c39ea 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/
12 months ago
Michele Calgaro 1e57478fc9
Rename __KDE_HAVE_GCC_VISIBILITY to __TDE_HAVE_GCC_VISIBILITY
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro bd28b95170
Replace kdemacros.h with tdemacros.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Andrei Stepanov df12e773bf Translated using Weblate (Russian)
Currently translated at 100.0% (57 of 57 strings)

Translation: applications/gtk-qt-engine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/gtk-qt-engine/ru/
1 year ago
Michele Calgaro 3ff3ecabf4
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Andrei Stepanov d0d226cfec Translated using Weblate (Russian)
Currently translated at 100.0% (57 of 57 strings)

Translation: applications/gtk-qt-engine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/gtk-qt-engine/ru/
1 year ago
Michele Calgaro cfc2c336e8
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 5a469120e7
Remove unnecessary files
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
1 year ago
Michele Calgaro 2a33c0ff42
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 11a88ad305
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 9cb509bb69
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro 432b7dc374
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko 5af2f0adc5
Raise the minimum required version of CMake to 3.5.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Michele Calgaro c59d859738
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
TDE Weblate 2178adeb18 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/
2 years ago
diaowinner 90c79e6595 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (57 of 57 strings)

Translation: applications/gtk-qt-engine
Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/gtk-qt-engine/zh_Hans/
2 years ago
diaowinner df70188346 Added translation using Weblate (Chinese (Simplified)) 2 years ago
Michele Calgaro 3acedbd1d5
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago

@ -9,7 +9,11 @@
#
#################################################
cmake_minimum_required( VERSION 3.1 )
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
##### include our cmake modules #################

@ -6,7 +6,12 @@
# #
############################################
cmake_minimum_required( VERSION 3.1 )
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
tde_set_project_version( )
##### general package setup #####################
@ -31,11 +36,6 @@ include( CheckStructHasMember )
include( TDEMacros )
##### set version number ########################
tde_set_project_version( )
##### setup install paths #######################
include( TDESetupPaths )

@ -1,248 +0,0 @@
# 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,7 +1,7 @@
#define VERSION "@VERSION@"
// Defined if you have fvisibility and fvisibility-inlines-hidden support.
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
#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). */

@ -52,7 +52,7 @@
#include <tqmessagebox.h>
#include <tqcheckbox.h>
#include <tdeglobal.h>
#include <kstandarddirs.h>
#include <tdestandarddirs.h>
#include <sys/types.h>
#include <sys/stat.h>
@ -72,7 +72,7 @@ K_EXPORT_COMPONENT_FACTORY( kcm_gtk, KcmGtkFactory("gtk"))*/
extern "C"
{
KDE_EXPORT TDECModule *create_kcmgtk( TQWidget * parent, const char * name )
TDE_EXPORT TDECModule *create_kcmgtk( TQWidget * parent, const char * name )
{
TDEGlobal::locale()->insertCatalogue( "gtk-qt-engine" );
return new KcmGtk( parent, "kcmgtk" );
@ -198,20 +198,20 @@ KcmGtk::KcmGtk(TQWidget *parent, const char *name, const TQStringList&)
load();
// Connect some signals
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()));
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()));
}
void KcmGtk::getInstalledThemes()
@ -446,6 +446,10 @@ 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";
@ -464,7 +468,7 @@ void KcmGtk::save()
bool envFileDidNotExist = (!file.exists());
file.open(IO_ReadWrite);
stream.setDevice(TQT_TQIODEVICE(&file));
stream.setDevice(&file);
bool found = false;
for (;;)
{
@ -514,7 +518,7 @@ void KcmGtk::save()
if (file.exists())
{
file.open(IO_ReadOnly);
stream.setDevice(TQT_TQIODEVICE(&file));
stream.setDevice(&file);
TQString fileDataString = stream.read();
file.close();
@ -522,7 +526,7 @@ void KcmGtk::save()
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(TQT_TQIODEVICE(&file));
stream.setDevice(&file);
stream << fileDataString;
file.close();
}
@ -576,11 +580,11 @@ void KcmGtk::searchPathsClicked()
if (searchPathsDialog == NULL)
{
searchPathsDialog = new SearchPaths(this);
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()));
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()));
}
searchPathsDialog->pathList->clear();

@ -46,14 +46,14 @@ private:
class KcmGtk: public TDECModule
{
Q_OBJECT
TQ_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 qtk-qt-engines rc-file
// How to name gtk-qt-engines rc-file
static const TQString GTK_TQT_RC_FILE;
static const TQString GTK3_INI_DIR;

@ -2,7 +2,7 @@
# include "config.h"
#endif
#include <kdemacros.h>
#include <tdemacros.h>
#include <gmodule.h>
#include <stdio.h>
#include "qt_rc_style.h"
@ -10,23 +10,23 @@
#include "qt_qt_wrapper.h"
KDE_EXPORT void theme_init (GTypeModule *module);
KDE_EXPORT void theme_exit (void);
KDE_EXPORT GtkRcStyle * theme_create_rc_style (void);
TDE_EXPORT void theme_init (GTypeModule *module);
TDE_EXPORT void theme_exit (void);
TDE_EXPORT GtkRcStyle * theme_create_rc_style (void);
KDE_EXPORT void theme_init (GTypeModule *module)
TDE_EXPORT void theme_init (GTypeModule *module)
{
createTQApp();
qtengine_rc_style_register_type (module);
qtengine_style_register_type (module);
}
KDE_EXPORT void theme_exit (void)
TDE_EXPORT void theme_exit (void)
{
destroyTQApp();
}
KDE_EXPORT GtkRcStyle * theme_create_rc_style (void)
TDE_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 <kcrash.h>
#include <kstandarddirs.h>
#include <tdecrash.h>
#include <tdestandarddirs.h>
#undef signals
#include <gdk/gdkx.h>
@ -70,6 +70,7 @@ TQWidget* meepWidget = 0;
TQWidget* meepWidgetP = 0;
TQSlider* meepSlider = 0;
TQTabBar* meepTabBar = 0;
GdkGC* windowGC = 0;
GdkGC* altBackGC = 0;
TQWidget* smw = 0;
@ -97,6 +98,8 @@ int isKeramik;
int isAlloy;
int isDomino;
int isPolyester;
int isMotif;
int isCDE;
int eclipseFix;
int openOfficeFix;
int mozillaFix;
@ -346,7 +349,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"));
mozillaFix = (cmdLine.contains("mozilla") || cmdLine.contains("firefox") || cmdLine.contains("iceweasel") || cmdLine.contains("thunderbird") || cmdLine.contains("icedove") || cmdLine.contains("palemoon"));
chromiumFix = (cmdLine.contains("chromium-browser") || cmdLine.contains("chrome-browser"));
openOfficeFix = (cmdLine.endsWith("soffice.bin"))
@ -444,11 +447,13 @@ 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(Qt::Horizontal);
sbar.setOrientation(TQt::Horizontal);
sbar.setValue(1);
sbar.resize(200,25);
@ -505,6 +510,8 @@ void destroyTQApp()
delete tqApp;
tqApp = 0;
}
if (windowGC != 0)
gtk_gc_release(windowGC);
if (altBackGC != 0)
gtk_gc_release(altBackGC);
@ -652,10 +659,40 @@ 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 QT to paint the widget to a pixmap
// * Ask TQt to paint the widget to a pixmap
// * Create a GdkPixmap that points to our TQPixmap
// * Paint the pixmap on the window
@ -755,16 +792,22 @@ 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 Qt qbutton.cpp file
// This emulates ::drawButton() in the TQt 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);
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);
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);
}
else {
TQPixmap pixmap(w, h);
@ -786,9 +829,15 @@ 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);
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);
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);
}
}
@ -832,12 +881,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().tqdrawPrimitive(TQStyle::PE_PanelDockWindow, &painter,
tqApp->style().drawPrimitive(TQStyle::PE_PanelDockWindow, &painter,
TQRect(0,0,w1,h1), tqApp->palette().active(),sflags);
if (isKeramik)
{
tqApp->style().tqdrawPrimitive(TQStyle::PE_DockWindowSeparator, &painter,
tqApp->style().drawPrimitive(TQStyle::PE_DockWindowSeparator, &painter,
TQRect(0,0,w1,h1), tqApp->palette().active(),sflags);
}
@ -887,7 +936,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().tqdrawPrimitive(TQStyle::PE_PanelMenuBar, &painter,
tqApp->style().drawPrimitive(TQStyle::PE_PanelMenuBar, &painter,
TQRect(0,0,w1,h1), tqApp->palette().active(),sflags);
bitBlt(&p, 0, 0, &pixmap, 0, 0, w, h);
@ -996,7 +1045,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().tqdrawPrimitive(TQStyle::PE_PanelLineEdit, &painter, TQRect(0, 0, w, h), tqApp->palette().active(), sflags, TQStyleOption(1,1));
tqApp->style().drawPrimitive(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);
@ -1023,7 +1072,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().tqdrawPrimitive(TQStyle::PE_Panel, &painter, TQRect(0, 0, w, h), tqApp->palette().active(), sflags, TQStyleOption(2,2) );
tqApp->style().drawPrimitive(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);
@ -1066,6 +1115,11 @@ 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;
@ -1079,14 +1133,18 @@ 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);
// Qt checkboxes are usually bigger than GTK wants.
// TQt 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;
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);
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);
}
void drawMenuCheck(GdkWindow* window, GtkStyle* style, GtkStateType state, int x, int y, int w, int h)
@ -1117,7 +1175,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().tqdrawPrimitive(TQStyle::PE_CheckMark, &painter, TQRect(0, 0, w, h), tqApp->palette().active(), sflags);
tqApp->style().drawPrimitive(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);
@ -1135,7 +1193,7 @@ void drawRadioButton(GdkWindow* window, GtkStyle* style, GtkStateType state, int
if ((realW < 1) || (realH < 1))
return;
TQPixmap pixmap(realH, realW);
TQPixmap pixmap(realW, realH);
TQPainter painter(&pixmap);
TQRadioButton radio(0);
@ -1149,16 +1207,20 @@ 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,realH,realW), tqApp->palette().active(), sflags);
tqApp->style().drawControl(TQStyle::CE_RadioButton, &painter, &radio, TQRect(0,0,realW,realH), tqApp->palette().active(), sflags);
// Qt checkboxes are usually bigger than GTK wants.
// TQt 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;
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);
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);
}
@ -1172,12 +1234,35 @@ 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);
@ -1186,7 +1271,7 @@ void drawScrollBarSlider(GdkWindow* window, GtkStyle* style, GtkStateType state,
if (orientation == GTK_ORIENTATION_HORIZONTAL)
sflags |= TQStyle::Style_Horizontal;
tqApp->style().tqdrawPrimitive(TQStyle::PE_ScrollBarSlider, &painter, TQRect(0,0,wCorrected,hCorrected), tqApp->palette().active(), sflags);
tqApp->style().drawPrimitive(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
@ -1210,21 +1295,21 @@ void drawScrollBarSlider(GdkWindow* window, GtkStyle* style, GtkStateType state,
}
TQPainter dominoPainter(&leftPix);
tqApp->style().tqdrawPrimitive(TQStyle::PE_ScrollBarSubPage, &dominoPainter, leftRect, tqApp->palette().active(), sflags);
tqApp->style().drawPrimitive(TQStyle::PE_ScrollBarSubPage, &dominoPainter, leftRect, tqApp->palette().active(), sflags);
dominoPainter.end();
dominoPainter.begin(&rightPix);
tqApp->style().tqdrawPrimitive(TQStyle::PE_ScrollBarAddPage, &dominoPainter, rightRect, tqApp->palette().active(), sflags);
tqApp->style().drawPrimitive(TQStyle::PE_ScrollBarAddPage, &dominoPainter, rightRect, tqApp->palette().active(), sflags);
if (orientation == GTK_ORIENTATION_HORIZONTAL)
{
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);
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);
}
else
{
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);
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);
}
}
@ -1239,7 +1324,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, y, w, h);
gdk_draw_drawable(window, style->bg_gc[state], pix, 0, 0, x+xOffset, y+yOffset, w, h);
g_object_unref(pix);
}
@ -1267,7 +1352,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 ? Qt::Vertical : Qt::Horizontal);
scrollBar->setOrientation(orientation ? TQt::Vertical : TQt::Horizontal);
TQStyle::SFlags sflags = stateToSFlags(state);
@ -1307,9 +1392,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, Qt::CopyROP);
bitBlt(&pixmap, 0, 0, &tmpPixmap, 0, 0, w, offset, TQt::CopyROP);
bitBlt(&pixmap, 0, offset, &tmpPixmap, 0, offset + thumbSize,
w, h - offset, Qt::CopyROP);
w, h - offset, TQt::CopyROP);
} else {
TQRect r;
r = tqApp->style().querySubControlMetrics(TQStyle::CC_ScrollBar,
@ -1332,9 +1417,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, Qt::CopyROP);
bitBlt(&pixmap, 0, 0, &tmpPixmap, 0, 0, offset, h, TQt::CopyROP);
bitBlt(&pixmap, offset, 0, &tmpPixmap, offset + thumbSize, 0,
w - offset, h, Qt::CopyROP);
w - offset, h, TQt::CopyROP);
}
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
@ -1444,7 +1529,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().tqdrawPrimitive(TQStyle::PE_Splitter, &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags);
tqApp->style().drawPrimitive(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);
@ -1469,7 +1554,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().tqdrawPrimitive(TQStyle::PE_PanelTabWidget, &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags, opt);
tqApp->style().drawPrimitive(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);
@ -1490,7 +1575,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().tqdrawPrimitive(TQStyle::PE_TabBarBase, &painter1, TQRect(0, 0, tw, th), tqApp->palette().active(), sflags, TQStyleOption(1,1));
tqApp->style().drawPrimitive(TQStyle::PE_TabBarBase, &painter1, TQRect(0, 0, tw, th), tqApp->palette().active(), sflags, TQStyleOption(1,1));
if (pos == GTK_POS_BOTTOM)
{
TQWMatrix m;
@ -1525,7 +1610,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().tqdrawPrimitive(TQStyle::PE_PanelPopup, &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags);
tqApp->style().drawPrimitive(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);
@ -1604,6 +1689,7 @@ 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)
@ -1617,9 +1703,7 @@ void drawProgressBar(GdkWindow * window, GtkStyle * style, GtkStateType state, G
if (orientation != GTK_PROGRESS_LEFT_TO_RIGHT)
pixmap = pixmap.xForm(matrix);
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);
drawTQPixmapToWindow(window, style->bg_gc[state], &pixmap, x, y, w, h);
}
void drawSlider(GdkWindow * window, GtkStyle * style, GtkStateType state, GtkAdjustment *adj, int x, int y, int w, int h, GtkOrientation orientation, int inverted)
@ -1629,7 +1713,7 @@ void drawSlider(GdkWindow * window, GtkStyle * style, GtkStateType state, GtkAdj
meepSlider->setBackgroundOrigin(TQWidget::ParentOrigin);
meepSlider->setOrientation((orientation == GTK_ORIENTATION_HORIZONTAL) ? Qt::Horizontal : Qt::Vertical);
meepSlider->setOrientation((orientation == GTK_ORIENTATION_HORIZONTAL) ? TQt::Horizontal : TQt::Vertical);
meepSlider->setEnabled(state != GTK_STATE_INSENSITIVE);
meepSlider->setGeometry(x, y, w, h);
@ -1642,9 +1726,8 @@ 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);
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);
pixmap.setMask(pixmap.createHeuristicMask());
drawTQPixmapToWindow(window, style->bg_gc[state], &pixmap, x, y, w, h);
}
void drawSpinButton(GdkWindow * window, GtkStyle * style, GtkStateType state, int direction, int x, int y, int w, int h)
@ -1661,11 +1744,10 @@ 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().tqdrawPrimitive((direction ? TQStyle::PE_SpinWidgetDown : TQStyle::PE_SpinWidgetUp), &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags);
tqApp->style().drawPrimitive((direction ? TQStyle::PE_SpinWidgetDown : TQStyle::PE_SpinWidgetUp), &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);
g_object_unref(pix);
pixmap.setMask(pixmap.createHeuristicMask());
drawTQPixmapToWindow(window, style->bg_gc[state], &pixmap, x, y, w, h);
}
void drawListHeader(GdkWindow* window, GtkStyle* style, GtkStateType state, int x, int y, int w, int h)
@ -1682,7 +1764,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().tqdrawPrimitive(TQStyle::PE_HeaderSection, &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags);
tqApp->style().drawPrimitive(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);
@ -1704,7 +1786,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(Qt::NoPen);
painter.setPen(TQt::NoPen);
painter.drawRect(0, 0, w, h);
GdkPixmap* pix = gdk_pixmap_foreign_new(pixmap.handle());
@ -1858,11 +1940,10 @@ void drawArrow(GdkWindow* window, GtkStyle* style, GtkStateType state, GtkArrowT
else
painter.fillRect(0, 0, w, h, tqApp->palette().active().brush(TQColorGroup::Background));
tqApp->style().tqdrawPrimitive(element, &painter, TQRect(0,0,w,h), tqApp->palette().active(), sflags);
tqApp->style().drawPrimitive(element, &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);
g_object_unref(pix);
pixmap.setMask(pixmap.createHeuristicMask());
drawTQPixmapToWindow(window, style->bg_gc[state], &pixmap, x, y, w, h);
}
void drawFocusRect(GdkWindow * window, GtkStyle * style, int x, int y, int w, int h)
@ -1878,7 +1959,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().tqdrawPrimitive(TQStyle::PE_FocusRect, &painter, TQRect(0,0,w,h), tqApp->palette().active(), TQStyle::Style_Default, TQStyleOption(bg));
tqApp->style().drawPrimitive(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);
@ -2063,7 +2144,7 @@ void setRcProperties(GtkRcStyle* rc_style, int forceRecreate)
if (!forceRecreate && cacheFile.exists())
{
cacheFile.open(IO_ReadOnly);
stream.setDevice(TQT_TQIODEVICE(&cacheFile));
stream.setDevice(&cacheFile);
if (stream.readLine() == "# " + iconTheme + ", " + tqApp->style().name() + ", " + RC_CACHE_VERSION)
{
@ -2078,14 +2159,14 @@ void setRcProperties(GtkRcStyle* rc_style, int forceRecreate)
}
cacheFile.open(IO_WriteOnly | IO_Truncate);
stream.setDevice(TQT_TQIODEVICE(&cacheFile));
stream.setDevice(&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(Qt::Horizontal);
sbar.setOrientation(TQt::Horizontal);
sbar.setValue(1);
sbar.resize(200,25);
@ -2177,7 +2258,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*");
// Qt calls them tab boxes, GTK calls them notebooks (!??!?) Either way they are a pain...
// TQt 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 QT settings */
/* Sets Rc properties from TQt settings */
#ifdef FORCE_RELOAD_THEMES_ON_STARTUP
setRcProperties(rc_style, 1);
#else

@ -32,7 +32,13 @@
extern gboolean tde_showIconsOnPushButtons;
static GdkPixbuf * (*stockRenderIcon)() = NULL;
static GdkPixbuf * (*stockRenderIcon)(GtkStyle*,
const GtkIconSource*,
GtkTextDirection,
GtkStateType,
GtkIconSize,
GtkWidget*,
const gchar*) = NULL;
// static void * (*stockDrawString)() = NULL;
static void qtengine_style_init (QtEngineStyle *style);
@ -222,9 +228,9 @@ draw_shadow(GtkStyle *style,
}
/* The remainder of this function was borrowed from the "Metal" theme/
I don't really want to use Qt to draw these frames as there are too
I don't really want to use TQt 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 Qt color palette */
TODO: Make them use the TQt color palette */
switch (shadow_type)
{
@ -887,10 +893,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 QT style
But the tabs won't be aligned according to QT. GTK+ does not have
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
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 Qt unless
calculate the x,y position of the tab ourselves, which is difficult in TQt 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.
*/

@ -0,0 +1,28 @@
# 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-ის აპლიკაციების მიერ გამოყენებული სტილი და ფონტები"

@ -0,0 +1,28 @@
# 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"

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: bg\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-14 18:33+0000\n"
"POT-Creation-Date: 2024-10-31 18:21+0000\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"
@ -32,15 +32,15 @@ msgstr ""
msgid "%1 (size %2)"
msgstr "%1 (размер %2)"
#: src/qt_qt_wrapper.cpp:112
#: src/qt_qt_wrapper.cpp:115
msgid "gtk2-tqt-engine"
msgstr ""
#: src/qt_qt_wrapper.cpp:377
#: src/qt_qt_wrapper.cpp:380
msgid "Maintainer"
msgstr ""
#: src/qt_qt_wrapper.cpp:378
#: src/qt_qt_wrapper.cpp:381
msgid "Original Author"
msgstr ""

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: de\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-14 18:33+0000\n"
"POT-Creation-Date: 2024-10-31 18:21+0000\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/"
@ -36,15 +36,15 @@ msgstr "sebastian.roth@frm2.tum.de, jannick.kuhr@kdemail.net"
msgid "%1 (size %2)"
msgstr "%1 (Größe %2)"
#: src/qt_qt_wrapper.cpp:112
#: src/qt_qt_wrapper.cpp:115
msgid "gtk2-tqt-engine"
msgstr "gtk2-tqt-engine"
#: src/qt_qt_wrapper.cpp:377
#: src/qt_qt_wrapper.cpp:380
msgid "Maintainer"
msgstr "Betreuer"
#: src/qt_qt_wrapper.cpp:378
#: src/qt_qt_wrapper.cpp:381
msgid "Original Author"
msgstr "Originaler Autor"

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: es\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-14 18:33+0000\n"
"POT-Creation-Date: 2024-10-31 18:21+0000\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/"
@ -34,15 +34,15 @@ msgstr "runico@users.berlios.de, vita_cell@hotmail.com"
msgid "%1 (size %2)"
msgstr "%1 (tamaño %2)"
#: src/qt_qt_wrapper.cpp:112
#: src/qt_qt_wrapper.cpp:115
msgid "gtk2-tqt-engine"
msgstr "gtk2-tqt-engine"
#: src/qt_qt_wrapper.cpp:377
#: src/qt_qt_wrapper.cpp:380
msgid "Maintainer"
msgstr "Mantenedor"
#: src/qt_qt_wrapper.cpp:378
#: src/qt_qt_wrapper.cpp:381
msgid "Original Author"
msgstr "Autor original"

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: fr\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-14 18:33+0000\n"
"POT-Creation-Date: 2024-10-31 18:21+0000\n"
"PO-Revision-Date: 2005-01-23 10:38+0100\n"
"Last-Translator: Pascal Billery-Schneider <Pascal.Billery-Schneider@bluewin."
"ch>\n"
@ -36,15 +36,15 @@ msgstr "Sagittarius@laposte.net"
msgid "%1 (size %2)"
msgstr "%1 (taille %2)"
#: src/qt_qt_wrapper.cpp:112
#: src/qt_qt_wrapper.cpp:115
msgid "gtk2-tqt-engine"
msgstr ""
#: src/qt_qt_wrapper.cpp:377
#: src/qt_qt_wrapper.cpp:380
msgid "Maintainer"
msgstr ""
#: src/qt_qt_wrapper.cpp:378
#: src/qt_qt_wrapper.cpp:381
msgid "Original Author"
msgstr ""

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2022-09-14 18:33+0000\n"
"POT-Creation-Date: 2024-10-31 18:21+0000\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"
@ -31,15 +31,15 @@ msgstr ""
msgid "%1 (size %2)"
msgstr ""
#: src/qt_qt_wrapper.cpp:112
#: src/qt_qt_wrapper.cpp:115
msgid "gtk2-tqt-engine"
msgstr ""
#: src/qt_qt_wrapper.cpp:377
#: src/qt_qt_wrapper.cpp:380
msgid "Maintainer"
msgstr ""
#: src/qt_qt_wrapper.cpp:378
#: src/qt_qt_wrapper.cpp:381
msgid "Original Author"
msgstr ""

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: it\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-14 18:33+0000\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"
"Language-Team: Italian <https://mirror.git.trinitydesktop.org/weblate/"
@ -34,15 +34,15 @@ msgstr "ifx@lazytux.it"
msgid "%1 (size %2)"
msgstr "%1 (dimensione %2)"
#: src/qt_qt_wrapper.cpp:112
#: src/qt_qt_wrapper.cpp:115
msgid "gtk2-tqt-engine"
msgstr "gtk2-tqt-engine"
#: src/qt_qt_wrapper.cpp:377
#: src/qt_qt_wrapper.cpp:380
msgid "Maintainer"
msgstr "Manutentore"
#: src/qt_qt_wrapper.cpp:378
#: src/qt_qt_wrapper.cpp:381
msgid "Original Author"
msgstr "Autore originale"

@ -0,0 +1,327 @@
# 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 "დიახ"

@ -4,7 +4,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2022-09-14 18:33+0000\n"
"POT-Creation-Date: 2024-10-31 18:21+0000\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/"
@ -32,15 +32,15 @@ msgstr "vistausss@outlook.com"
msgid "%1 (size %2)"
msgstr "%1 (grootte %2)"
#: src/qt_qt_wrapper.cpp:112
#: src/qt_qt_wrapper.cpp:115
msgid "gtk2-tqt-engine"
msgstr "gtk2-tqt-engine"
#: src/qt_qt_wrapper.cpp:377
#: src/qt_qt_wrapper.cpp:380
msgid "Maintainer"
msgstr "Beheerder"
#: src/qt_qt_wrapper.cpp:378
#: src/qt_qt_wrapper.cpp:381
msgid "Original Author"
msgstr "Oorspronkelijke auteur"

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: nn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-09-14 18:33+0000\n"
"POT-Creation-Date: 2024-10-31 18:21+0000\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"
@ -32,15 +32,15 @@ msgstr "karl@huftis.org"
msgid "%1 (size %2)"
msgstr "%1 (storleik %2)"
#: src/qt_qt_wrapper.cpp:112
#: src/qt_qt_wrapper.cpp:115
msgid "gtk2-tqt-engine"
msgstr ""
#: src/qt_qt_wrapper.cpp:377
#: src/qt_qt_wrapper.cpp:380
msgid "Maintainer"
msgstr ""
#: src/qt_qt_wrapper.cpp:378
#: src/qt_qt_wrapper.cpp:381
msgid "Original Author"
msgstr ""

@ -3,7 +3,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2022-09-14 18:33+0000\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/"
@ -32,15 +32,15 @@ msgstr "jwstolarek@gmail.com"
msgid "%1 (size %2)"
msgstr "%1 (rozmiar %2)"
#: src/qt_qt_wrapper.cpp:112
#: src/qt_qt_wrapper.cpp:115
msgid "gtk2-tqt-engine"
msgstr "gtk2-tqt-engine"
#: src/qt_qt_wrapper.cpp:377
#: src/qt_qt_wrapper.cpp:380
msgid "Maintainer"
msgstr "Opiekun"
#: src/qt_qt_wrapper.cpp:378
#: src/qt_qt_wrapper.cpp:381
msgid "Original Author"
msgstr "Autor"

@ -4,13 +4,14 @@
#
# 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: 2022-09-14 18:33+0000\n"
"PO-Revision-Date: 2022-02-14 23:01+0000\n"
"Last-Translator: Alexander Golubev <fatzer2@gmail.com>\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"
"Language-Team: Russian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/gtk-qt-engine/ru/>\n"
"Language: ru\n"
@ -19,33 +20,33 @@ 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.10.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 "Понасенков Виктор, 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).
msgid ""
"_: EMAIL OF TRANSLATORS\n"
"Your emails"
msgstr "vitecx@gmail.com, vita_cell@hotmail.com"
msgstr "vitecx@gmail.com,vita_cell@hotmail.com,adem4ik@gmail.com"
#: kcm_gtk/kcmgtk.cpp:329
msgid "%1 (size %2)"
msgstr "%1 (Размер %2)"
msgstr "%1 (размер %2)"
#: src/qt_qt_wrapper.cpp:112
#: src/qt_qt_wrapper.cpp:115
msgid "gtk2-tqt-engine"
msgstr "gtk2-tqt-engine"
#: src/qt_qt_wrapper.cpp:377
#: src/qt_qt_wrapper.cpp:380
msgid "Maintainer"
msgstr "Сопровождающий"
#: src/qt_qt_wrapper.cpp:378
#: src/qt_qt_wrapper.cpp:381
msgid "Original Author"
msgstr "Первоначальный автор"
@ -330,7 +331,7 @@ msgstr ""
#: kcm_gtk/searchpaths.ui:122
#, no-c-format
msgid "Ok"
msgstr "Ok"
msgstr "Хорошо"
#~ msgid "Firefox and Thunderbird"
#~ msgstr "Firefox и Thunderbird"

@ -2,20 +2,22 @@
# 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: 2022-09-14 18:33+0000\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"
"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"
"Language: sv\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.9.1\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.18.2\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid ""
@ -33,22 +35,22 @@ msgstr "po@danielnylander.se"
msgid "%1 (size %2)"
msgstr "%1 (storlek %2)"
#: src/qt_qt_wrapper.cpp:112
#: src/qt_qt_wrapper.cpp:115
msgid "gtk2-tqt-engine"
msgstr ""
msgstr "gtk2-tqt-engine"
#: src/qt_qt_wrapper.cpp:377
#: src/qt_qt_wrapper.cpp:380
msgid "Maintainer"
msgstr ""
msgstr "Underhållare"
#: src/qt_qt_wrapper.cpp:378
#: src/qt_qt_wrapper.cpp:381
msgid "Original Author"
msgstr ""
msgstr "Ursprunglig upphovsman"
#: kcm_gtk/emacsdetails.ui:16
#, no-c-format
msgid "Emacs Keyboard Shortcuts"
msgstr ""
msgstr "Emacs tangentbordsgenvägar"
#: kcm_gtk/emacsdetails.ui:27
#, no-c-format
@ -57,111 +59,114 @@ 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 ""
msgstr "Genväg"
#: kcm_gtk/emacsdetails.ui:45
#, no-c-format
msgid "Description"
msgstr ""
msgstr "Beskrivning"
#: kcm_gtk/emacsdetails.ui:56
#, no-c-format
msgid "Ctrl+A"
msgstr ""
msgstr "Ctrl+A"
#: kcm_gtk/emacsdetails.ui:59
#, no-c-format
msgid "Go to beginning of line"
msgstr ""
msgstr "Gå till början av raden"
#: kcm_gtk/emacsdetails.ui:70
#, no-c-format
msgid "Ctrl+E"
msgstr ""
msgstr "Ctrl+E"
#: kcm_gtk/emacsdetails.ui:73
#, no-c-format
msgid "Go to end of line"
msgstr ""
msgstr "Gå till slutet av raden"
#: kcm_gtk/emacsdetails.ui:84
#, no-c-format
msgid "Ctrl+F"
msgstr ""
msgstr "Ctrl+F"
#: kcm_gtk/emacsdetails.ui:87
#, no-c-format
msgid "Go right one character"
msgstr ""
msgstr "Gå ett tecken åt höger"
#: kcm_gtk/emacsdetails.ui:98
#, no-c-format
msgid "Ctrl+B"
msgstr ""
msgstr "Ctrl+B"
#: kcm_gtk/emacsdetails.ui:101
#, no-c-format
msgid "Go left one character"
msgstr ""
msgstr "Gå ett tecken åt vänster"
#: kcm_gtk/emacsdetails.ui:112
#, no-c-format
msgid "Ctrl+K"
msgstr ""
msgstr "Ctrl+K"
#: kcm_gtk/emacsdetails.ui:115
#, no-c-format
msgid "Delete to end of line"
msgstr ""
msgstr "Radera fram till radens slut"
#: kcm_gtk/emacsdetails.ui:126
#, no-c-format
msgid "Ctrl+U"
msgstr ""
msgstr "Ctrl+U"
#: kcm_gtk/emacsdetails.ui:129
#, no-c-format
msgid "Delete entire line"
msgstr ""
msgstr "Radera hela raden"
#: kcm_gtk/emacsdetails.ui:140
#, no-c-format
msgid "Ctrl+W"
msgstr ""
msgstr "Ctrl+W"
#: kcm_gtk/emacsdetails.ui:143
#, no-c-format
msgid "Delete word, left"
msgstr ""
msgstr "Radera ett ord åt vänster"
#: kcm_gtk/emacsdetails.ui:154
#, no-c-format
msgid "Ctrl+H"
msgstr ""
msgstr "Ctrl+H"
#: kcm_gtk/emacsdetails.ui:157
#, no-c-format
msgid "Delete character, left"
msgstr ""
msgstr "Radera tecken åt vänster"
#: kcm_gtk/emacsdetails.ui:168
#, no-c-format
msgid "Ctrl+D"
msgstr ""
msgstr "Ctrl+D"
#: kcm_gtk/emacsdetails.ui:171
#, no-c-format
msgid "Delete character, right"
msgstr ""
msgstr "Radera tecken åt höger"
#: kcm_gtk/emacsdetails.ui:217
#, no-c-format
msgid "C&lose"
msgstr ""
msgstr "&Stäng"
#: kcm_gtk/kcmgtkwidget.ui:16 kcm_gtk/mozillaprofile.ui:16
#, no-c-format
@ -169,33 +174,33 @@ msgid "Form2"
msgstr "Form2"
#: kcm_gtk/kcmgtkwidget.ui:38
#, fuzzy, no-c-format
#, no-c-format
msgid "GTK2 Styles"
msgstr "GTK-stilar"
msgstr "GTK2-stilar"
#: kcm_gtk/kcmgtkwidget.ui:117 kcm_gtk/kcmgtkwidget.ui:289
#, no-c-format
msgid "Change search paths..."
msgstr ""
msgstr "Ändra sökvägar…"
#: kcm_gtk/kcmgtkwidget.ui:144
#, fuzzy, no-c-format
#, no-c-format
msgid "&Use my TDE style in GTK2 applications"
msgstr "Använd min KDE-stil i GTK-program"
msgstr "Använd min TDE-stil i GTK2-program"
#: kcm_gtk/kcmgtkwidget.ui:168 kcm_gtk/kcmgtkwidget.ui:340
#, fuzzy, no-c-format
#, no-c-format
msgid "Use &another style:"
msgstr "Använd en annan stil:"
msgstr "&Använd en annan stil:"
#: kcm_gtk/kcmgtkwidget.ui:179
#, fuzzy, no-c-format
#, 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. Det betyder att du "
"inte kan använda din KDE-stil i GTK-program."
"<b>Varning:</b> GTK2-TQt-temamotorn är inte installerad. Detta betyder att "
"du inte kan använda din TDE-stil i GTK2-program."
#: kcm_gtk/kcmgtkwidget.ui:187
#, no-c-format
@ -208,38 +213,38 @@ msgid "http://gtk-qt.ecs.soton.ac.uk/"
msgstr "http://gtk-qt.ecs.soton.ac.uk/"
#: kcm_gtk/kcmgtkwidget.ui:210
#, fuzzy, no-c-format
#, no-c-format
msgid "GTK3 Styles"
msgstr "GTK-stilar"
msgstr "GTK3-stilar"
#: kcm_gtk/kcmgtkwidget.ui:316
#, fuzzy, no-c-format
#, no-c-format
msgid "&Use my TDE style in GTK3 applications"
msgstr "Använd min KDE-stil i GTK-program"
msgstr "Använd min TDE-stil i GTK3-program"
#: kcm_gtk/kcmgtkwidget.ui:351
#, fuzzy, no-c-format
#, 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> GTK2-TQt-temamotorn är inte installerad. Det betyder att du "
"inte kan använda din KDE-stil i GTK-program."
"<b>Varning:</b> Gtk3-TQt-temamotorn är inte installerad. Det betyder att du "
"inte kan använda din TDE-stil i GTK3-program."
#: kcm_gtk/kcmgtkwidget.ui:359
#, fuzzy, no-c-format
#, no-c-format
msgid "Gtk3-TQt theme engine homepage"
msgstr "Webbsidan för GTK2-TQt-temamotorn"
msgstr "Webbsidan för Gtk3-TQt-temamotorn"
#: kcm_gtk/kcmgtkwidget.ui:362
#, no-c-format
msgid "http://www.trinitydesktop.org/"
msgstr ""
msgstr "http://www.trinitydesktop.org/"
#: kcm_gtk/kcmgtkwidget.ui:382
#, fuzzy, no-c-format
#, no-c-format
msgid "GTK2 Fonts"
msgstr "GTK-typsnitt"
msgstr "GTK2-typsnitt"
#: kcm_gtk/kcmgtkwidget.ui:436
#, no-c-format
@ -257,9 +262,9 @@ 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
#, fuzzy, no-c-format
#, no-c-format
msgid "Use m&y TDE fonts in GTK2 applications"
msgstr "Använd mina KDE-typsnitt i GTK-program"
msgstr "Använd mina TDE-typsnitt i GTK2-program"
#: kcm_gtk/kcmgtkwidget.ui:537
#, no-c-format
@ -269,17 +274,17 @@ msgstr "Förhandsgranska rad 1"
#: kcm_gtk/kcmgtkwidget.ui:554
#, no-c-format
msgid "GTK2 Keyboard Shortcuts"
msgstr ""
msgstr "GTK2 tangentbordsgenvägar"
#: kcm_gtk/kcmgtkwidget.ui:608
#, no-c-format
msgid "Use Emacs-like key&board shortcuts for text editing"
msgstr ""
msgstr "Använd Emacs-liknande tangent&bordsgenvägar för textredigering"
#: kcm_gtk/kcmgtkwidget.ui:624
#, no-c-format
msgid "Details..."
msgstr ""
msgstr "Detaljer..."
#: kcm_gtk/kcmgtkwidget.ui:655
#, no-c-format
@ -288,6 +293,9 @@ msgid ""
"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
@ -302,7 +310,7 @@ msgstr "Profil"
#: kcm_gtk/searchpaths.ui:16
#, no-c-format
msgid "Change search paths"
msgstr ""
msgstr "Ändra sökvägar"
#: kcm_gtk/searchpaths.ui:27
#, no-c-format
@ -311,11 +319,14 @@ 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 ""
msgstr "OK"
#~ 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: 2022-09-14 18:33+0000\n"
"POT-Creation-Date: 2024-10-31 18:21+0000\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/"
@ -33,15 +33,15 @@ msgstr "Bilinmeyen, ercanersoy@ercanersoy.net"
msgid "%1 (size %2)"
msgstr "%1 (boyut %2)"
#: src/qt_qt_wrapper.cpp:112
#: src/qt_qt_wrapper.cpp:115
msgid "gtk2-tqt-engine"
msgstr "gtk2-tqt-engine"
#: src/qt_qt_wrapper.cpp:377
#: src/qt_qt_wrapper.cpp:380
msgid "Maintainer"
msgstr "Geliştiren"
#: src/qt_qt_wrapper.cpp:378
#: src/qt_qt_wrapper.cpp:381
msgid "Original Author"
msgstr "İlk Sahibi"

@ -0,0 +1,323 @@
# 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