summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitmodules6
-rw-r--r--CMakeL10n.txt23
-rw-r--r--CMakeLists.txt83
-rw-r--r--ConfigureChecks.cmake25
-rw-r--r--Doxyfile248
-rw-r--r--INSTALL30
-rw-r--r--Makefile.am20
-rw-r--r--Makefile.cvs7
-rw-r--r--README22
-rw-r--r--README.md38
m---------admin0
-rw-r--r--client/CMakeL10n.txt12
-rw-r--r--client/CMakeLists.txt48
-rw-r--r--client/Makefile.am22
-rw-r--r--client/config/CMakeLists.txt29
-rw-r--r--client/config/Makefile.am22
-rw-r--r--client/config/configdialog.ui105
-rw-r--r--client/config/crystalconfig.cpp (renamed from client/config/crystalconfig.cc)130
-rw-r--r--client/config/crystalconfig.h2
-rw-r--r--client/config/infodialog.ui13
-rw-r--r--client/crystal.desktop2
-rw-r--r--client/crystalbutton.cpp30
-rw-r--r--client/crystalbutton.h2
-rw-r--r--client/crystalclient.cpp (renamed from client/crystalclient.cc)70
-rw-r--r--client/crystalclient.h2
-rw-r--r--client/imageholder.cpp6
-rw-r--r--client/imageholder.h2
-rw-r--r--client/myrootpixmap.cpp (renamed from client/myrootpixmap.cc)16
-rw-r--r--client/myrootpixmap.h6
m---------cmake0
-rw-r--r--config.h.cmake8
-rw-r--r--configure.files2
-rw-r--r--configure.in.in5
-rw-r--r--crystal.tdevelop225
-rw-r--r--pics/CMakeLists.txt48
-rw-r--r--pics/Makefile.am49
-rw-r--r--pics/README2
-rw-r--r--pics/embedtool.cpp6
-rw-r--r--stamp-h.in0
-rw-r--r--subdirs2
-rw-r--r--translations/desktop_files/ru.po24
-rw-r--r--translations/desktop_files/twin-style-crystal-desktops.pot22
-rw-r--r--translations/messages/pt_BR.po591
-rw-r--r--translations/messages/twin-style-crystal.pot591
44 files changed, 1707 insertions, 889 deletions
diff --git a/.gitmodules b/.gitmodules
deleted file mode 100644
index bdec8fc..0000000
--- a/.gitmodules
+++ /dev/null
@@ -1,6 +0,0 @@
-[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
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
new file mode 100644
index 0000000..95a3e8f
--- /dev/null
+++ b/CMakeL10n.txt
@@ -0,0 +1,23 @@
+#########################################
+# #
+# Improvements and feedback are welcome #
+# #
+# This file is released under GPL >=2 #
+# #
+#########################################
+
+
+##### set project version ########################
+
+include( TDEVersion )
+cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
+
+
+##### include our cmake modules #########
+
+include( TDEL10n )
+
+
+##### create translation templates ######
+
+tde_l10n_auto_add_subdirectories( )
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..68094b0
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,83 @@
+############################################
+# #
+# Improvements and feedbacks are welcome #
+# #
+# This file is released under GPL >= 3 #
+# #
+############################################
+
+
+##### set project version ########################
+
+include( TDEVersion )
+cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
+tde_set_project_version( )
+
+
+#### general package setup
+
+project( twin-style-crystal )
+
+
+#### include essential cmake modules
+
+include( FindPkgConfig )
+include( CheckFunctionExists )
+include( CheckSymbolExists )
+include( CheckIncludeFile )
+include( CheckLibraryExists )
+include( CheckCSourceCompiles )
+include( CheckCXXSourceCompiles )
+
+
+#### include our cmake modules
+
+include( TDEMacros )
+
+
+##### setup install paths
+
+include( TDESetupPaths )
+tde_setup_paths( )
+
+
+##### 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_TRANSLATIONS "Build translations" ${BUILD_ALL} )
+
+
+##### configure checks
+
+include( ConfigureChecks.cmake )
+
+
+###### global compiler settings
+
+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( client )
+add_subdirectory( pics )
+
+
+##### other data
+
+tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
+
+
+##### write configure files
+
+configure_file( config.h.cmake config.h @ONLY )
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
new file mode 100644
index 0000000..d1e3778
--- /dev/null
+++ b/ConfigureChecks.cmake
@@ -0,0 +1,25 @@
+###########################################
+# #
+# Improvements and feedback are welcome #
+# #
+# This file is released under GPL >= 3 #
+# #
+###########################################
+
+# required stuff
+find_package( TQt )
+find_package( TDE )
+
+tde_setup_architecture_flags( )
+
+include(TestBigEndian)
+test_big_endian(WORDS_BIGENDIAN)
+
+tde_setup_largefiles( )
+
+
+##### check for gcc visibility support
+
+if( WITH_GCC_VISIBILITY )
+ tde_setup_gcc_visibility( )
+endif( WITH_GCC_VISIBILITY )
diff --git a/Doxyfile b/Doxyfile
deleted file mode 100644
index 0e06459..0000000
--- a/Doxyfile
+++ /dev/null
@@ -1,248 +0,0 @@
-# Doxyfile 1.3.5-KDevelop
-
-#---------------------------------------------------------------------------
-# Project related configuration options
-#---------------------------------------------------------------------------
-PROJECT_NAME = crystal.tdevelop
-PROJECT_NUMBER = 0.7
-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/sascha/Develop/crystal/crystal/
-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/sascha/Develop/crystal/crystal
-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
diff --git a/INSTALL b/INSTALL
index 933603a..576cc48 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,20 +1,16 @@
--- INSTALL -----------------------------------
+Basic Installation
+==================
-Basic Installation (from the console):
- - Step 1
- $ ./configure --prefix=`tde-config --prefix`
- - Step 2
- $ make
- - Step 3 (as root)
- # make install
+twin-style-crystal relies on cmake to build.
-If configure fails, check that you have both
-the Qt and KDE development headers installed.
+Here are suggested default options:
-You need at least KDE 3.2 and QT 3.3.
-
-Debian note: You may need to append
---with-qt-includes=/usr/include/qt3
-to the configure line.
-
----------------------------------------------- \ No newline at end of file
+ -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"
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index eaa5b67..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,20 +0,0 @@
-SUBDIRS = pics client
-
-MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
-
-EXTRA_DIST = Makefile.cvs admin
-
-AUTOMAKE_OPTIONS = foreign
-
-$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
- cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
-
-$(top_srcdir)/subdirs:
- cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
-
-$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
- @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
-
-dist-hook:
- cd $(top_distdir) && perl admin/am_edit -padmin
- cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
diff --git a/Makefile.cvs b/Makefile.cvs
deleted file mode 100644
index 828868a..0000000
--- a/Makefile.cvs
+++ /dev/null
@@ -1,7 +0,0 @@
-all:
- $(MAKE) -f admin/Makefile.common cvs
-
-dist:
- $(MAKE) -f admin/Makefile.common dist
-
-.SILENT:
diff --git a/README b/README
deleted file mode 100644
index afe94a9..0000000
--- a/README
+++ /dev/null
@@ -1,22 +0,0 @@
-Crystal
-=======
-
-This is the Crystal KDE Windowdecoration Theme. The theme is pretty simple and clean, but has very nice pseudo transparency within the border and the title bar. You can choose of other image effects too.
-
-It is based on the KDE-WM "Example", which can be found here:
-http://www.kde-look.org/content/show.php?content=6332
-
-And it is modelled on the crystal fvwm2 style. Check it out:
-http://www.fvwm-crystal.org/
-
-
-Check out crystal at kde-look.org:
-http://kde-look.org/content/show.php?content=13969
-
-
-I hope, you like it.
-
-Have Fun!
-
-
-- Sascha Hlusiak
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..34259d1
--- /dev/null
+++ b/README.md
@@ -0,0 +1,38 @@
+
+TWin style Crystal - semi transparant window decoration for Trinity.
+
+
+TWin style Crystal is the Crystal TDE Windowdecoration Theme. The theme is
+pretty simple and clean, but has very nice pseudo transparency within the
+border and the title bar. You can choose of other image effects too.
+
+It is based on the KDE-WM "Example", which can be found here:
+http://www.kde-look.org/content/show.php?content=6332
+
+And it is modelled on the crystal fvwm2 style. Check it out:
+http://www.fvwm-crystal.org/
+
+.
+
+Contributing
+--------------
+
+If you wish to contribute to twin-style-crystal, 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/-/twin-style-crystal/multi-auto.svg
+"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/twin-style-crystal/)
+
+### desktop files
+[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/twin-style-crystal-desktop-files/multi-auto.svg
+"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/twin-style-crystal-desktop-files/)
diff --git a/admin b/admin
deleted file mode 160000
-Subproject 68f23556e638353e46b444d3a4863a64936bd36
diff --git a/client/CMakeL10n.txt b/client/CMakeL10n.txt
new file mode 100644
index 0000000..815eb43
--- /dev/null
+++ b/client/CMakeL10n.txt
@@ -0,0 +1,12 @@
+##### create translation templates ##############
+
+tde_l10n_create_template(
+ CATALOG "messages/twin-style-crystal"
+ SOURCES .
+ X-POT ${CMAKE_SOURCE_DIR}/../../../core/tde-i18n/template/messages/tdebase/twin_clients.pot
+)
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/twin-style-crystal-desktops"
+ SOURCES *.desktop
+)
diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt
new file mode 100644
index 0000000..dee35af
--- /dev/null
+++ b/client/CMakeLists.txt
@@ -0,0 +1,48 @@
+tde_import( twin )
+
+add_subdirectory( config )
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}/pics
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIBRARY_DIRS}
+)
+
+
+##### twin_crystal (kpart)
+
+tde_add_kpart( twin_crystal AUTOMOC
+
+ SOURCES
+ buttonimage.cpp
+ crystalbutton.cpp
+ crystalclient.cpp
+ imageholder.cpp
+ myrootpixmap.cpp
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdecorations-shared
+
+ DEPENDENCIES
+ embed-tiles
+ embed-overlays
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### other data
+
+tde_create_translated_desktop(
+ SOURCE crystal.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/twin
+)
diff --git a/client/Makefile.am b/client/Makefile.am
deleted file mode 100644
index 3eb3ecb..0000000
--- a/client/Makefile.am
+++ /dev/null
@@ -1,22 +0,0 @@
-AUTOMAKE_OPTIONS = foreign
-
-SUBDIRS = config
-
-KDE_CXXFLAGS = -DQT_PLUGIN
-
-INCLUDES = $(all_includes) -I$(kde_includes)/twin
-
-twindir = $(kde_datadir)/twin/
-twin_DATA = crystal.desktop
-
-noinst_HEADERS = crystalclient.h crystalbutton.h imageholder.h buttonimage.h tiles.h overlays.h
-
-kde_module_LTLIBRARIES = twin3_crystal.la
-twin3_crystal_la_SOURCES = crystalclient.cc myrootpixmap.cc crystalbutton.cpp \
- imageholder.cpp buttonimage.cpp tiles.h overlays.h
-twin3_crystal_la_LIBADD = $(kde_libraries)/libtdecorations.la $(LIB_TQT) $(LIB_TDEUI)
-twin3_crystal_la_LDFLAGS = -module $(all_libraries) $(KDE_PLUGIN) $(LIB_TQT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx -lDCOP
-twin3_crystal_la_METASOURCES = AUTO
-
-CLEANFILES = tiles.h overlays.h
-DISTCLEANFILES = $(twin3_crystal_la_METASOURCES)
diff --git a/client/config/CMakeLists.txt b/client/config/CMakeLists.txt
new file mode 100644
index 0000000..236d683
--- /dev/null
+++ b/client/config/CMakeLists.txt
@@ -0,0 +1,29 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIBRARY_DIRS}
+)
+
+
+##### twin_crystal_config (kpart)
+
+tde_add_kpart( twin_crystal_config AUTOMOC
+
+ SOURCES
+ crystalconfig.cpp
+ configdialog.ui
+ infodialog.ui
+ LINK
+ tdecore-shared
+ tdeui-shared
+ tdeio-shared
+
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
diff --git a/client/config/Makefile.am b/client/config/Makefile.am
deleted file mode 100644
index 2b2e03c..0000000
--- a/client/config/Makefile.am
+++ /dev/null
@@ -1,22 +0,0 @@
-AUTOMAKE_OPTIONS = foreign
-
-KDE_CXXFLAGS = -DQT_PLUGIN
-
-INCLUDES = $(all_includes)
-
-noinst_HEADERS = crystalconfig.h
-
-kde_module_LTLIBRARIES = twin_crystal_config.la
-twin_crystal_config_la_SOURCES = configdialog.ui infodialog.ui crystalconfig.cc crystalconfig.h
-twin_crystal_config_la_LDFLAGS = -module $(all_libraries) $(KDE_PLUGIN) $(LIB_TDECORE)
-twin_crystal_config_la_LIBADD = $(LIB_TDEUI) $(LIB_TDEIO) $(LIB_TQT)
-twin_crystal_config_la_METASOURCES = AUTO
-
-DISTCLEANFILES = $(twin_crystal_config_la_METASOURCES)
-
-crystalconfig.cc: configdialog.h infodialog.h
-
-
-messages:
- $(XGETTEXT) *.cpp -o $(podir)/twin_crystal_config.pot
-METASOURCES = AUTO
diff --git a/client/config/configdialog.ui b/client/config/configdialog.ui
index a1e00c7..aa6349d 100644
--- a/client/config/configdialog.ui
+++ b/client/config/configdialog.ui
@@ -47,9 +47,6 @@
<property name="text">
<string>Show tooltip o&amp;ver caption</string>
</property>
- <property name="accel">
- <string>Alt+V</string>
- </property>
<property name="toolTip" stdset="0">
<string>Shows a tooltip, if the mouse pointer is over the caption.</string>
</property>
@@ -103,9 +100,6 @@
<property name="text">
<string>&amp;Left</string>
</property>
- <property name="accel">
- <string>Alt+L</string>
- </property>
<property name="toolTip" stdset="0">
<string></string>
</property>
@@ -117,9 +111,6 @@
<property name="text">
<string>&amp;Centered</string>
</property>
- <property name="accel">
- <string>Alt+C</string>
- </property>
<property name="checked">
<bool>true</bool>
</property>
@@ -134,9 +125,6 @@
<property name="text">
<string>&amp;Right</string>
</property>
- <property name="accel">
- <string>Alt+R</string>
- </property>
<property name="toolTip" stdset="0">
<string></string>
</property>
@@ -169,9 +157,6 @@
<property name="text">
<string>&amp;When finished</string>
</property>
- <property name="accel">
- <string>Alt+W</string>
- </property>
<property name="buttonGroupId">
<number>3</number>
</property>
@@ -183,9 +168,6 @@
<property name="text">
<string>I&amp;mmediately</string>
</property>
- <property name="accel">
- <string>Alt+M</string>
- </property>
<property name="buttonGroupId">
<number>1</number>
</property>
@@ -217,9 +199,6 @@
<property name="text">
<string>E&amp;very</string>
</property>
- <property name="accel">
- <string>Alt+V</string>
- </property>
<property name="checked">
<bool>true</bool>
</property>
@@ -442,9 +421,6 @@
<property name="text">
<string>Use shadowed &amp;text</string>
</property>
- <property name="accel">
- <string>Alt+T</string>
- </property>
<property name="toolTip" stdset="0">
<string>Draws a nice shadowed title bar text to improve visibility.</string>
</property>
@@ -456,9 +432,6 @@
<property name="text">
<string>&amp;Draw Caption</string>
</property>
- <property name="accel">
- <string>Alt+D</string>
- </property>
<property name="checked">
<bool>true</bool>
</property>
@@ -478,9 +451,6 @@
<property name="text">
<string>C&amp;ycle tasks with mouse wheel</string>
</property>
- <property name="accel">
- <string>Alt+Y</string>
- </property>
<property name="toolTip" stdset="0">
<string>Wheel on titlebar cycles through visible windows. Does NOT work in compiz. Overrides settings in TDE.</string>
</property>
@@ -506,9 +476,6 @@
<property name="text">
<string>I&amp;nfo...</string>
</property>
- <property name="accel">
- <string>Alt+N</string>
- </property>
</widget>
</grid>
</widget>
@@ -541,9 +508,6 @@
<property name="text">
<string>Ani&amp;mate hover</string>
</property>
- <property name="accel">
- <string>Alt+M</string>
- </property>
<property name="toolTip" stdset="0">
<string>Smoothly animate the hover effect of the buttons</string>
</property>
@@ -563,9 +527,6 @@
<property name="text">
<string>Ho&amp;ver effect</string>
</property>
- <property name="accel">
- <string>Alt+V</string>
- </property>
<property name="toolTip" stdset="0">
<string>Provides a mouse-over effect for the title bar buttons.</string>
</property>
@@ -1125,9 +1086,6 @@
<property name="text">
<string>Theme &amp;menu button</string>
</property>
- <property name="accel">
- <string>Alt+M</string>
- </property>
<property name="checked">
<bool>true</bool>
</property>
@@ -1239,9 +1197,6 @@
<property name="text">
<string>Userdefined background:</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="checked">
<bool>true</bool>
</property>
@@ -1540,9 +1495,6 @@
<property name="text">
<string>Userdefined background:</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="checked">
<bool>true</bool>
</property>
@@ -1760,9 +1712,6 @@
<property name="text">
<string>&amp;Track desktop changes</string>
</property>
- <property name="accel">
- <string>Alt+T</string>
- </property>
<property name="toolTip" stdset="0">
<string>Check, if you have different wallpapers set on multiple desktops. Uncheck, when you just have one wallpaper for all desktops.</string>
</property>
@@ -1788,9 +1737,6 @@
<property name="text">
<string>Enable Transparency</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="checked">
<bool>true</bool>
</property>
@@ -1846,9 +1792,6 @@
<property name="text">
<string>Left</string>
</property>
- <property name="accel">
- <string></string>
- </property>
<property name="checked">
<bool>true</bool>
</property>
@@ -1860,9 +1803,6 @@
<property name="text">
<string>Disable</string>
</property>
- <property name="accel">
- <string></string>
- </property>
</widget>
<widget class="TQRadioButton" row="0" column="2">
<property name="name">
@@ -1871,9 +1811,6 @@
<property name="text">
<string>Right</string>
</property>
- <property name="accel">
- <string></string>
- </property>
</widget>
</grid>
</widget>
@@ -2012,9 +1949,6 @@
<property name="text">
<string>Active &amp;window only</string>
</property>
- <property name="accel">
- <string>Alt+W</string>
- </property>
<property name="toolTip" stdset="0">
<string>Draw logo in the active window only</string>
</property>
@@ -2381,37 +2315,10 @@
</connection>
</connections>
<layoutdefaults spacing="6" margin="5"/>
-<includehints>
- <includehint>kcolorbutton.h</includehint>
- <includehint>kcolorbutton.h</includehint>
- <includehint>kcolorbutton.h</includehint>
- <includehint>kcolorbutton.h</includehint>
- <includehint>kcolorbutton.h</includehint>
- <includehint>kcolorbutton.h</includehint>
- <includehint>kcolorbutton.h</includehint>
- <includehint>kcolorbutton.h</includehint>
- <includehint>kcolorbutton.h</includehint>
- <includehint>kcolorbutton.h</includehint>
- <includehint>kcolorbutton.h</includehint>
- <includehint>kcolorbutton.h</includehint>
- <includehint>kcolorbutton.h</includehint>
- <includehint>kcolorbutton.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kcolorbutton.h</includehint>
- <includehint>kcolorbutton.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
- <includehint>kurlrequester.h</includehint>
- <includehint>klineedit.h</includehint>
- <includehint>kpushbutton.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kcolorbutton.h</include>
+ <include location="global" impldecl="in implementation">klineedit.h</include>
+ <include location="global" impldecl="in implementation">kpushbutton.h</include>
+ <include location="global" impldecl="in implementation">kurlrequester.h</include>
+</includes>
</UI>
diff --git a/client/config/crystalconfig.cc b/client/config/crystalconfig.cpp
index 117aafc..1a4b384 100644
--- a/client/config/crystalconfig.cc
+++ b/client/config/crystalconfig.cpp
@@ -48,91 +48,93 @@
CrystalConfig::CrystalConfig(TDEConfig*, TQWidget* parent)
: TQObject(parent), config_(0), dialog_(0)
{
+ TDEGlobal::locale()->insertCatalogue("twin_clients");
+ TDEGlobal::locale()->insertCatalogue("twin-style-crystal");
+
config_ = new TDEConfig("twincrystalrc");
-
dialog_ = new ConfigDialog(parent);
dialog_->show();
- connect(dialog_->titlealign, TQT_SIGNAL(clicked(int)),this, TQT_SLOT(selectionChanged(int)));
+ connect(dialog_->titlealign, TQ_SIGNAL(clicked(int)),this, TQ_SLOT(selectionChanged(int)));
- connect(dialog_->drawCaption, TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
- connect(dialog_->textshadow, TQT_SIGNAL(stateChanged(int)),this, TQT_SLOT(selectionChanged(int)));
- connect(dialog_->tooltip,TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
- connect(dialog_->wheelTask,TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
+ connect(dialog_->drawCaption, TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->textshadow, TQ_SIGNAL(stateChanged(int)),this, TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->tooltip,TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->wheelTask,TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
- connect(dialog_->trackdesktop, TQT_SIGNAL(stateChanged(int)),this, TQT_SLOT(selectionChanged(int)));
+ connect(dialog_->trackdesktop, TQ_SIGNAL(stateChanged(int)),this, TQ_SLOT(selectionChanged(int)));
- connect(dialog_->shade1, TQT_SIGNAL(valueChanged(int)),this, TQT_SLOT(selectionChanged(int)));
- connect(dialog_->shade2, TQT_SIGNAL(valueChanged(int)),this, TQT_SLOT(selectionChanged(int)));
+ connect(dialog_->shade1, TQ_SIGNAL(valueChanged(int)),this, TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->shade2, TQ_SIGNAL(valueChanged(int)),this, TQ_SLOT(selectionChanged(int)));
- connect(dialog_->frame1, TQT_SIGNAL(activated(int)),this, TQT_SLOT(selectionChanged(int)));
- connect(dialog_->frame2, TQT_SIGNAL(activated(int)),this, TQT_SLOT(selectionChanged(int)));
- connect(dialog_->frameColor1, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
- connect(dialog_->frameColor2, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
+ connect(dialog_->frame1, TQ_SIGNAL(activated(int)),this, TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->frame2, TQ_SIGNAL(activated(int)),this, TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->frameColor1, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
+ connect(dialog_->frameColor2, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
- connect(dialog_->inline1, TQT_SIGNAL(activated(int)),this, TQT_SLOT(selectionChanged(int)));
- connect(dialog_->inline2, TQT_SIGNAL(activated(int)),this, TQT_SLOT(selectionChanged(int)));
- connect(dialog_->inlineColor1, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
- connect(dialog_->inlineColor2, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
+ connect(dialog_->inline1, TQ_SIGNAL(activated(int)),this, TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->inline2, TQ_SIGNAL(activated(int)),this, TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->inlineColor1, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
+ connect(dialog_->inlineColor2, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
- connect(dialog_->type1,TQT_SIGNAL(activated(int)),this,TQT_SLOT(selectionChanged(int)));
- connect(dialog_->type2,TQT_SIGNAL(activated(int)),this,TQT_SLOT(selectionChanged(int)));
+ connect(dialog_->type1,TQ_SIGNAL(activated(int)),this,TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->type2,TQ_SIGNAL(activated(int)),this,TQ_SLOT(selectionChanged(int)));
- connect(dialog_->enableTransparency,TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
+ connect(dialog_->enableTransparency,TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
- connect(dialog_->borderwidth, TQT_SIGNAL(valueChanged(int)),this, TQT_SLOT(selectionChanged(int)));
- connect(dialog_->titlebarheight, TQT_SIGNAL(valueChanged(int)),this, TQT_SLOT(selectionChanged(int)));
+ connect(dialog_->borderwidth, TQ_SIGNAL(valueChanged(int)),this, TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->titlebarheight, TQ_SIGNAL(valueChanged(int)),this, TQ_SLOT(selectionChanged(int)));
- connect(dialog_->tlc, TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
- connect(dialog_->trc, TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
- connect(dialog_->blc, TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
- connect(dialog_->brc, TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
- connect(dialog_->buttonColor1, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
- connect(dialog_->buttonColor2, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
- connect(dialog_->buttonColor3, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
- connect(dialog_->minColor1, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
- connect(dialog_->minColor2, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
- connect(dialog_->minColor3, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
- connect(dialog_->maxColor1, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
- connect(dialog_->maxColor2, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
- connect(dialog_->maxColor3, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
- connect(dialog_->closeColor1, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
- connect(dialog_->closeColor2, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
- connect(dialog_->closeColor3, TQT_SIGNAL(changed(const TQColor&)),this,TQT_SLOT(colorChanged(const TQColor&)));
+ connect(dialog_->tlc, TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->trc, TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->blc, TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->brc, TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->buttonColor1, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
+ connect(dialog_->buttonColor2, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
+ connect(dialog_->buttonColor3, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
+ connect(dialog_->minColor1, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
+ connect(dialog_->minColor2, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
+ connect(dialog_->minColor3, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
+ connect(dialog_->maxColor1, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
+ connect(dialog_->maxColor2, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
+ connect(dialog_->maxColor3, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
+ connect(dialog_->closeColor1, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
+ connect(dialog_->closeColor2, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
+ connect(dialog_->closeColor3, TQ_SIGNAL(changed(const TQColor&)),this,TQ_SLOT(colorChanged(const TQColor&)));
- connect(dialog_->hover, TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
- connect(dialog_->animateHover, TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
- connect(dialog_->buttonTheme, TQT_SIGNAL(activated(int)),this,TQT_SLOT(selectionChanged(int)));
- connect(dialog_->tintButtons, TQT_SIGNAL(toggled(bool)),this,TQT_SLOT(boolChanged(bool)));
- connect(dialog_->menuimage, TQT_SIGNAL(stateChanged(int)),this,TQT_SLOT(selectionChanged(int)));
+ connect(dialog_->hover, TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->animateHover, TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->buttonTheme, TQ_SIGNAL(activated(int)),this,TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->tintButtons, TQ_SIGNAL(toggled(bool)),this,TQ_SLOT(boolChanged(bool)));
+ connect(dialog_->menuimage, TQ_SIGNAL(stateChanged(int)),this,TQ_SLOT(selectionChanged(int)));
- connect(dialog_->repaintMode, TQT_SIGNAL(clicked(int)),this, TQT_SLOT(selectionChanged(int)));
+ connect(dialog_->repaintMode, TQ_SIGNAL(clicked(int)),this, TQ_SLOT(selectionChanged(int)));
- connect(dialog_->updateTime, TQT_SIGNAL(valueChanged(int)),this, TQT_SLOT(selectionChanged(int)));
+ connect(dialog_->updateTime, TQ_SIGNAL(valueChanged(int)),this, TQ_SLOT(selectionChanged(int)));
- connect(dialog_->infoButton, TQT_SIGNAL(clicked(void)),this,TQT_SLOT(infoDialog(void)));
+ connect(dialog_->infoButton, TQ_SIGNAL(clicked(void)),this,TQ_SLOT(infoDialog(void)));
- connect(dialog_->active_blur, TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(selectionChanged(int)));
- connect(dialog_->inactive_blur, TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(selectionChanged(int)));
+ connect(dialog_->active_blur, TQ_SIGNAL(valueChanged(int)),this,TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->inactive_blur, TQ_SIGNAL(valueChanged(int)),this,TQ_SLOT(selectionChanged(int)));
- connect(dialog_->userPicture1, TQT_SIGNAL(stateChanged(int)),this, TQT_SLOT(selectionChanged(int)));
- connect(dialog_->userPicture2, TQT_SIGNAL(stateChanged(int)),this, TQT_SLOT(selectionChanged(int)));
- connect(dialog_->activeFile,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SLOT(textChanged( const TQString& )));
- connect(dialog_->inactiveFile,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SLOT(textChanged( const TQString& )));
+ connect(dialog_->userPicture1, TQ_SIGNAL(stateChanged(int)),this, TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->userPicture2, TQ_SIGNAL(stateChanged(int)),this, TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->activeFile,TQ_SIGNAL(textChanged(const TQString&)),this,TQ_SLOT(textChanged( const TQString& )));
+ connect(dialog_->inactiveFile,TQ_SIGNAL(textChanged(const TQString&)),this,TQ_SLOT(textChanged( const TQString& )));
- connect(dialog_->overlay_active, TQT_SIGNAL(activated(int)),this, TQT_SLOT(overlay_active_changed(int)));
- connect(dialog_->overlay_inactive, TQT_SIGNAL(activated(int)),this, TQT_SLOT(overlay_inactive_changed(int)));
+ connect(dialog_->overlay_active, TQ_SIGNAL(activated(int)),this, TQ_SLOT(overlay_active_changed(int)));
+ connect(dialog_->overlay_inactive, TQ_SIGNAL(activated(int)),this, TQ_SLOT(overlay_inactive_changed(int)));
- connect(dialog_->overlay_active_file,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SLOT(textChanged(const TQString &)));
- connect(dialog_->overlay_inactive_file,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SLOT(textChanged(const TQString &)));
+ connect(dialog_->overlay_active_file,TQ_SIGNAL(textChanged(const TQString&)),this,TQ_SLOT(textChanged(const TQString &)));
+ connect(dialog_->overlay_inactive_file,TQ_SIGNAL(textChanged(const TQString&)),this,TQ_SLOT(textChanged(const TQString &)));
- connect(dialog_->logoEnabled, TQT_SIGNAL(clicked(int)),this, TQT_SLOT(selectionChanged(int)));
- connect(dialog_->logoFile, TQT_SIGNAL(textChanged(const TQString &)),this, TQT_SLOT(logoTextChanged(const TQString&)));
- connect(dialog_->logoStretch, TQT_SIGNAL(activated(int)),this, TQT_SLOT(selectionChanged(int)));
- connect(dialog_->logoActive, TQT_SIGNAL(stateChanged(int)),this, TQT_SLOT(selectionChanged(int)));
- connect(dialog_->logoDistance,TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(selectionChanged(int)));
+ connect(dialog_->logoEnabled, TQ_SIGNAL(clicked(int)),this, TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->logoFile, TQ_SIGNAL(textChanged(const TQString &)),this, TQ_SLOT(logoTextChanged(const TQString&)));
+ connect(dialog_->logoStretch, TQ_SIGNAL(activated(int)),this, TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->logoActive, TQ_SIGNAL(stateChanged(int)),this, TQ_SLOT(selectionChanged(int)));
+ connect(dialog_->logoDistance,TQ_SIGNAL(valueChanged(int)),this,TQ_SLOT(selectionChanged(int)));
load(config_);
}
@@ -155,7 +157,7 @@ void CrystalConfig::load(TDEConfig*)
config_->setGroup("General");
TQString value = config_->readEntry("TitleAlignment", "AlignHCenter");
- TQRadioButton *button = (TQRadioButton*)dialog_->titlealign->child(value);
+ TQRadioButton *button = (TQRadioButton*)dialog_->titlealign->child(value.utf8());
if (button) button->setChecked(true);
dialog_->drawCaption->setChecked(config_->readBoolEntry("DrawCaption",true));
@@ -336,7 +338,7 @@ void CrystalConfig::save(TDEConfig*)
void CrystalConfig::infoDialog()
{
InfoDialog d(dialog_);
- connect((TQLabel*)(d.kURLLabel1),TQT_SIGNAL(leftClickedURL(const TQString&)),TDEApplication::kApplication(),TQT_SLOT(invokeBrowser(const TQString &)));
+ connect((TQLabel*)(d.kURLLabel1),TQ_SIGNAL(leftClickedURL(const TQString&)),TDEApplication::kApplication(),TQ_SLOT(invokeBrowser(const TQString &)));
d.exec();
}
@@ -376,7 +378,7 @@ void CrystalConfig::defaults()
extern "C"
{
- TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
+ KDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
return (new CrystalConfig(config, parent));
}
}
diff --git a/client/config/crystalconfig.h b/client/config/crystalconfig.h
index 65b4099..5311691 100644
--- a/client/config/crystalconfig.h
+++ b/client/config/crystalconfig.h
@@ -34,7 +34,7 @@ class ConfigDialog;
class CrystalConfig : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
CrystalConfig(TDEConfig* config, TQWidget* parent);
diff --git a/client/config/infodialog.ui b/client/config/infodialog.ui
index bf45ac1..1b85e27 100644
--- a/client/config/infodialog.ui
+++ b/client/config/infodialog.ui
@@ -252,9 +252,6 @@ You may look for the most recent version at kde-look.org:</string>
<property name="text">
<string>&amp;Close</string>
</property>
- <property name="accel">
- <string>Alt+C</string>
- </property>
<property name="default">
<bool>true</bool>
</property>
@@ -274,11 +271,11 @@ You may look for the most recent version at kde-look.org:</string>
<slot>close()</slot>
</connection>
</connections>
-<Q_SLOTS>
+<slots>
<slot>kURLLabel1_leftURL()</slot>
-</Q_SLOTS>
+</slots>
<layoutdefaults spacing="6" margin="11"/>
-<includehints>
- <includehint>kurllabel.h</includehint>
-</includehints>
+<includes>
+ <include location="global" impldecl="in implementation">kurllabel.h</include>
+</includes>
</UI>
diff --git a/client/crystal.desktop b/client/crystal.desktop
index d22f233..70ff9b3 100644
--- a/client/crystal.desktop
+++ b/client/crystal.desktop
@@ -1,4 +1,4 @@
[Desktop Entry]
Encoding=UTF-8
Name=Crystal
-X-TDE-Library=twin3_crystal
+X-TDE-Library=twin_crystal
diff --git a/client/crystalbutton.cpp b/client/crystalbutton.cpp
index 77f6e06..6c5c6a3 100644
--- a/client/crystalbutton.cpp
+++ b/client/crystalbutton.cpp
@@ -41,7 +41,7 @@ CrystalButton::CrystalButton(CrystalClient *parent, const char *name,
hover=first=last=false;
animation=0.0;
TQToolTip::add(this, tip);
- connect ( &animation_timer,TQT_SIGNAL(timeout()),this,TQT_SLOT(animate()));
+ connect ( &animation_timer,TQ_SIGNAL(timeout()),this,TQ_SLOT(animate()));
}
CrystalButton::~CrystalButton()
@@ -107,19 +107,19 @@ void CrystalButton::mousePressEvent(TQMouseEvent* e)
int button;
switch(e->button())
{
- case Qt::LeftButton:
- button=Qt::LeftButton;
+ case TQt::LeftButton:
+ button=TQt::LeftButton;
break;
- case Qt::RightButton:
+ case TQt::RightButton:
if ((type_ == ButtonMax) || (type_ == ButtonMin) || (type_ == ButtonMenu) || (type_ == ButtonClose))
- button=Qt::LeftButton; else button=Qt::NoButton;
+ button=TQt::LeftButton; else button=TQt::NoButton;
break;
- case Qt::MidButton:
+ case TQt::MidButton:
if ((type_ == ButtonMax) || (type_ == ButtonMin))
- button=Qt::LeftButton; else button=Qt::NoButton;
+ button=TQt::LeftButton; else button=TQt::NoButton;
break;
- default:button=Qt::NoButton;
+ default:button=TQt::NoButton;
break;
}
TQMouseEvent me(e->type(), e->pos(), e->globalPos(),button, e->state());
@@ -132,19 +132,19 @@ void CrystalButton::mouseReleaseEvent(TQMouseEvent* e)
int button;
switch(e->button())
{
- case Qt::LeftButton:
- button=Qt::LeftButton;
+ case TQt::LeftButton:
+ button=TQt::LeftButton;
break;
- case Qt::RightButton:
+ case TQt::RightButton:
if ((type_ == ButtonMax) || (type_ == ButtonMin) || (type_ == ButtonMenu) || (type_==ButtonClose))
- button=Qt::LeftButton; else button=Qt::NoButton;
+ button=TQt::LeftButton; else button=TQt::NoButton;
break;
- case Qt::MidButton:
+ case TQt::MidButton:
if ((type_ == ButtonMax) || (type_ == ButtonMin))
- button=Qt::LeftButton; else button=Qt::NoButton;
+ button=TQt::LeftButton; else button=TQt::NoButton;
break;
- default:button=Qt::NoButton;
+ default:button=TQt::NoButton;
break;
}
TQMouseEvent me(e->type(), e->pos(), e->globalPos(), button, e->state());
diff --git a/client/crystalbutton.h b/client/crystalbutton.h
index 467e7fe..7bc56b1 100644
--- a/client/crystalbutton.h
+++ b/client/crystalbutton.h
@@ -30,7 +30,7 @@ class ButtonImage;
class CrystalButton : public TQButton
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/client/crystalclient.cc b/client/crystalclient.cpp
index 90b3429..6fb5cf8 100644
--- a/client/crystalclient.cc
+++ b/client/crystalclient.cpp
@@ -54,9 +54,12 @@ bool CrystalFactory::initialized_ = false;
TQt::AlignmentFlags CrystalFactory::titlealign_ = TQt::AlignHCenter;
-extern "C" KDecorationFactory* create_factory()
+extern "C"
{
- return new CrystalFactory();
+ KDE_EXPORT KDecorationFactory* create_factory()
+ {
+ return new CrystalFactory();
+ }
}
@@ -83,6 +86,9 @@ public:
CrystalFactory::CrystalFactory()
{
+ TDEGlobal::locale()->insertCatalogue("twin_clients");
+ TDEGlobal::locale()->insertCatalogue("twin-style-crystal");
+
for (int i=0;i<ButtonImageCount;i++)
buttonImages[i]=NULL;
@@ -801,11 +807,11 @@ void CrystalClient::init()
if (::factory->captiontooltip) new CCrystalTooltip(widget(),this);
- connect( this, TQT_SIGNAL( keepAboveChanged( bool )), TQT_SLOT( keepAboveChange( bool )));
- connect( this, TQT_SIGNAL( keepBelowChanged( bool )), TQT_SLOT( keepBelowChange( bool )));
+ connect( this, TQ_SIGNAL( keepAboveChanged( bool )), TQ_SLOT( keepAboveChange( bool )));
+ connect( this, TQ_SIGNAL( keepBelowChanged( bool )), TQ_SLOT( keepBelowChange( bool )));
- if (::factory->transparency)connect ( ::factory->image_holder,TQT_SIGNAL(repaintNeeded()),this,TQT_SLOT(Repaint()));
- if (::factory->transparency)connect ( &timer,TQT_SIGNAL(timeout()),this,TQT_SLOT(Repaint()));
+ if (::factory->transparency)connect ( ::factory->image_holder,TQ_SIGNAL(repaintNeeded()),this,TQ_SLOT(Repaint()));
+ if (::factory->transparency)connect ( &timer,TQ_SIGNAL(timeout()),this,TQ_SLOT(Repaint()));
updateLayout();
}
@@ -889,7 +895,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s)
if (!isModalSystemNotification()) {
if (!button[ButtonMenu]) {
button[ButtonMenu] = current = new CrystalButton(this, "menu", i18n("Menu"), ButtonMenu, ::factory->buttonImages[ButtonImageMenu]);
- connect(button[ButtonMenu], TQT_SIGNAL(pressed()), this, TQT_SLOT(menuButtonPressed()));
+ connect(button[ButtonMenu], TQ_SIGNAL(pressed()), this, TQ_SLOT(menuButtonPressed()));
}
}
break;
@@ -905,7 +911,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s)
tip = i18n("On All Desktops");
}
button[ButtonSticky] =current=new CrystalButton(this, "sticky", tip,ButtonSticky, bitmap);
- connect(button[ButtonSticky], TQT_SIGNAL(clicked()),this, TQT_SLOT(toggleOnAllDesktops()));
+ connect(button[ButtonSticky], TQ_SIGNAL(clicked()),this, TQ_SLOT(toggleOnAllDesktops()));
}
}
break;
@@ -914,7 +920,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s)
if (providesContextHelp()) {
button[ButtonHelp] =current=
new CrystalButton(this, "help", i18n("Help"),ButtonHelp, ::factory->buttonImages[ButtonImageHelp]);
- connect(button[ButtonHelp], TQT_SIGNAL(clicked()),this, TQT_SLOT(showContextHelp()));
+ connect(button[ButtonHelp], TQ_SIGNAL(clicked()),this, TQ_SLOT(showContextHelp()));
}
break;
@@ -922,7 +928,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s)
if ((!button[ButtonMin]) && isMinimizable()) {
button[ButtonMin] =current=
new CrystalButton(this, "iconify", i18n("Minimize"),ButtonMin, ::factory->buttonImages[ButtonImageMin]);
- connect(button[ButtonMin], TQT_SIGNAL(clicked()),this, TQT_SLOT(minButtonPressed()));
+ connect(button[ButtonMin], TQ_SIGNAL(clicked()),this, TQ_SLOT(minButtonPressed()));
}
break;
@@ -930,7 +936,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s)
if (!button[ButtonAbove]) {
button[ButtonAbove] =current=
new CrystalButton(this, "above", i18n("Keep Above Others"),ButtonAbove, ::factory->buttonImages[keepAbove()?ButtonImageUnAbove:ButtonImageAbove]);
- connect(button[ButtonAbove], TQT_SIGNAL(clicked()),this, TQT_SLOT(aboveButtonPressed()));
+ connect(button[ButtonAbove], TQ_SIGNAL(clicked()),this, TQ_SLOT(aboveButtonPressed()));
}
break;
@@ -938,7 +944,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s)
if ((!button[ButtonBelow])) {
button[ButtonBelow] =current=
new CrystalButton(this, "below", i18n("Keep Below Others"),ButtonBelow, ::factory->buttonImages[keepBelow()?ButtonImageUnBelow:ButtonImageBelow]);
- connect(button[ButtonBelow], TQT_SIGNAL(clicked()),this, TQT_SLOT(belowButtonPressed()));
+ connect(button[ButtonBelow], TQ_SIGNAL(clicked()),this, TQ_SLOT(belowButtonPressed()));
}
break;
@@ -946,7 +952,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s)
if ((!button[ButtonShade]) && isShadeable()) {
button[ButtonShade] =current=
new CrystalButton(this, "shade", i18n("Shade"),ButtonShade, ::factory->buttonImages[ButtonImageShade]);
- connect(button[ButtonShade], TQT_SIGNAL(clicked()),this, TQT_SLOT(shadeButtonPressed()));
+ connect(button[ButtonShade], TQ_SIGNAL(clicked()),this, TQ_SLOT(shadeButtonPressed()));
}
break;
@@ -963,7 +969,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s)
}
button[ButtonMax] =current=
new CrystalButton(this, "maximize", tip,ButtonMax, bitmap);
- connect(button[ButtonMax], TQT_SIGNAL(clicked()),this, TQT_SLOT(maxButtonPressed()));
+ connect(button[ButtonMax], TQ_SIGNAL(clicked()),this, TQ_SLOT(maxButtonPressed()));
}
break;
@@ -971,7 +977,7 @@ CrystalButton* CrystalClient::addButtons(TQBoxLayout *layout, const TQString& s)
if (isCloseable()) {
button[ButtonClose] =current=
new CrystalButton(this, "close", i18n("Close"),ButtonClose, ::factory->buttonImages[ButtonImageClose]);
- connect(button[ButtonClose], TQT_SIGNAL(clicked()),this, TQT_SLOT(closeButtonPressed()));
+ connect(button[ButtonClose], TQ_SIGNAL(clicked()),this, TQ_SLOT(closeButtonPressed()));
}
break;
@@ -1136,31 +1142,31 @@ KDecoration::Position CrystalClient::mousePosition(const TQPoint &point) const
bool CrystalClient::eventFilter(TQObject *obj, TQEvent *e)
{
- if (TQT_BASE_OBJECT(obj) != TQT_BASE_OBJECT(widget())) return false;
+ if (obj != widget()) return false;
switch (e->type()) {
case TQEvent::MouseButtonDblClick:
- mouseDoubleClickEvent(TQT_TQMOUSEEVENT(e));
+ mouseDoubleClickEvent(static_cast<TQMouseEvent*>(e));
return true;
case TQEvent::MouseButtonPress:
- processMousePressEvent(TQT_TQMOUSEEVENT(e));
+ processMousePressEvent(static_cast<TQMouseEvent*>(e));
return true;
case TQEvent::Paint:
- paintEvent(TQT_TQPAINTEVENT(e));
+ paintEvent(static_cast<TQPaintEvent*>(e));
return true;
case TQEvent::Wheel:
- mouseWheelEvent(TQT_TQWHEELEVENT(e));
+ mouseWheelEvent(static_cast<TQWheelEvent*>(e));
return true;
case TQEvent::Resize:
- resizeEvent(TQT_TQRESIZEEVENT(e));
+ resizeEvent(static_cast<TQResizeEvent*>(e));
return true;
case TQEvent::Show:
- showEvent(TQT_TQSHOWEVENT(e));
+ showEvent(static_cast<TQShowEvent*>(e));
return true;
case TQEvent::Move:
- moveEvent(TQT_TQMOVEEVENT(e));
+ moveEvent(static_cast<TQMoveEvent*>(e));
return true;
default:return false;
}
@@ -1205,7 +1211,7 @@ void CrystalClient::ClientWindows(Window* v_frame,Window* v_wrapper,Window *v_cl
void CrystalClient::mouseDoubleClickEvent(TQMouseEvent *e)
{
- if (/*(titlebar_->geometry().contains(e->pos()))&&*/(e->button()==Qt::LeftButton)) titlebarDblClickOperation();
+ if (/*(titlebar_->geometry().contains(e->pos()))&&*/(e->button()==TQt::LeftButton)) titlebarDblClickOperation();
else {
TQMouseEvent me(TQEvent::MouseButtonPress,e->pos(),e->button(),e->state());
processMousePressEvent(&me);
@@ -1406,7 +1412,7 @@ void CrystalClient::paintEvent(TQPaintEvent*)
// And notify image_holder that we need an update asap
if (::factory)if (::factory->image_holder)
// UnInit image_holder, on next Repaint it will be Init'ed again.
- TQTimer::singleShot(500,::factory->image_holder,TQT_SLOT(CheckSanity()));
+ TQTimer::singleShot(500,::factory->image_holder,TQ_SLOT(CheckSanity()));
}
if (drawFrame)
@@ -1539,10 +1545,10 @@ void CrystalClient::maxButtonPressed()
{
switch (button[ButtonMax]->lastMousePress())
{
- case Qt::MidButton:
+ case TQt::MidButton:
maximize(maximizeMode() ^ MaximizeVertical);
break;
- case Qt::RightButton:
+ case TQt::RightButton:
maximize(maximizeMode() ^ MaximizeHorizontal);
break;
default:
@@ -1555,11 +1561,11 @@ void CrystalClient::minButtonPressed()
{
if (button[ButtonMin]) {
switch (button[ButtonMin]->lastMousePress()) {
- case Qt::MidButton:{
+ case TQt::MidButton:{
performWindowOperation(LowerOp);
break;
}
- case Qt::RightButton:
+ case TQt::RightButton:
if (isShadeable()) setShade(!isShade());
break;
default:
@@ -1598,7 +1604,7 @@ void CrystalClient::closeButtonPressed()
{
if (button[ButtonClose])
switch (button[ButtonClose]->lastMousePress()) {
- case Qt::RightButton:
+ case TQt::RightButton:
{
Window frame,wrapper,client;
char param[20];
@@ -1623,8 +1629,8 @@ void CrystalClient::shadeButtonPressed()
{
if (button[ButtonShade]) {
switch (button[ButtonShade]->lastMousePress()) {
- case Qt::MidButton:
- case Qt::RightButton:
+ case TQt::MidButton:
+ case TQt::RightButton:
break;
default:
if (isShadeable()) setShade(!isShade());
diff --git a/client/crystalclient.h b/client/crystalclient.h
index 7aa7f6c..d220d6e 100644
--- a/client/crystalclient.h
+++ b/client/crystalclient.h
@@ -144,7 +144,7 @@ private:
class CrystalClient : public KDecoration
{
- Q_OBJECT
+ TQ_OBJECT
public:
CrystalClient(KDecorationBridge *b,CrystalFactory *f);
diff --git a/client/imageholder.cpp b/client/imageholder.cpp
index 8d8934f..adcc81f 100644
--- a/client/imageholder.cpp
+++ b/client/imageholder.cpp
@@ -84,8 +84,8 @@ void QImageHolder::Init()
rootpixmap=new KMyRootPixmap(NULL/*,this*/);
rootpixmap->start();
rootpixmap->repaint(true);
- connect( rootpixmap,TQT_SIGNAL(backgroundUpdated(const TQImage*)),this, TQT_SLOT(BackgroundUpdated(const TQImage*)));
- connect(kapp, TQT_SIGNAL(backgroundChanged(int)),TQT_SLOT(handleDesktopChanged(int)));
+ connect( rootpixmap,TQ_SIGNAL(backgroundUpdated(const TQImage*)),this, TQ_SLOT(BackgroundUpdated(const TQImage*)));
+ connect(kapp, TQ_SIGNAL(backgroundChanged(int)),TQ_SLOT(handleDesktopChanged(int)));
initialized=true;
}
@@ -169,3 +169,5 @@ void QImageHolder::BackgroundUpdated(const TQImage *src)
emit repaintNeeded();
}
+
+#include "imageholder.moc"
diff --git a/client/imageholder.h b/client/imageholder.h
index c5d8bdb..d5dfbc3 100644
--- a/client/imageholder.h
+++ b/client/imageholder.h
@@ -30,7 +30,7 @@ struct WND_CONFIG;
class QImageHolder:public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
QImageHolder(TQImage act,TQImage inact);
diff --git a/client/myrootpixmap.cc b/client/myrootpixmap.cpp
index 999ecf4..1504147 100644
--- a/client/myrootpixmap.cc
+++ b/client/myrootpixmap.cpp
@@ -1,4 +1,4 @@
-/* vi: ts=8 sts=4 sw=4
+/*
*
* $Id: krootpixmap.cpp,v 1.20 2003/06/01 01:49:31 hadacek Exp $
*
@@ -67,7 +67,7 @@ bool DesktopWallpaperWatcher::x11Event( XEvent * ev )
class KMyRootPixmapData
{
public:
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
DesktopWallpaperWatcher *twin;
#endif
};
@@ -95,13 +95,13 @@ void KMyRootPixmap::init()
m_Desk=-1;
// m_bCustomPaint = false;
-// connect(kapp, TQT_SIGNAL(backgroundChanged(int)), TQT_SLOT(slotBackgroundChanged(int)));
- connect(m_pPixmap, TQT_SIGNAL(done(bool)), TQT_SLOT(slotDone(bool)));
-// connect(m_pTimer, TQT_SIGNAL(timeout()), TQT_SLOT(repaint()));
+// connect(kapp, TQ_SIGNAL(backgroundChanged(int)), TQ_SLOT(slotBackgroundChanged(int)));
+ connect(m_pPixmap, TQ_SIGNAL(done(bool)), TQ_SLOT(slotDone(bool)));
+// connect(m_pTimer, TQ_SIGNAL(timeout()), TQ_SLOT(repaint()));
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
d->twin = new DesktopWallpaperWatcher();
- connect(d->twin, TQT_SIGNAL(currentDesktopChanged(int)), TQT_SLOT(desktopChanged(int)));
+ connect(d->twin, TQ_SIGNAL(currentDesktopChanged(int)), TQ_SLOT(desktopChanged(int)));
#endif
// d->toplevel = m_pWidget->topLevelWidget();
@@ -120,7 +120,7 @@ void KMyRootPixmap::desktopChanged(int desktop)
!wallpaperForDesktop(m_Desk).isNull())
return;
-// #ifdef Q_WS_X11
+// #ifdef TQ_WS_X11
// if (KWin::windowInfo(m_pWidget->topLevelWidget()->winId()).desktop() == NET::OnAllDesktops &&
// pixmapName(m_Desk) != pixmapName(desktop))
// #endif
diff --git a/client/myrootpixmap.h b/client/myrootpixmap.h
index 6269537..9c8d649 100644
--- a/client/myrootpixmap.h
+++ b/client/myrootpixmap.h
@@ -1,4 +1,4 @@
-/* vi: ts=8 sts=4 sw=4
+/*
*
* $Id: krootpixmap.h,v 1.15 2003/05/19 08:02:48 coolo Exp $
* This file is part of the KDE project, module kdesktop.
@@ -27,7 +27,7 @@ class KMyRootPixmapData;
class DesktopWallpaperWatcher : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
DesktopWallpaperWatcher();
@@ -44,7 +44,7 @@ class DesktopWallpaperWatcher : public TQWidget
class KMyRootPixmap: public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
KMyRootPixmap( TQWidget *target=NULL, const char *name=0 );
diff --git a/cmake b/cmake
deleted file mode 160000
-Subproject 5121b9a41d671dbaf7350c349d246793d8d8a4e
diff --git a/config.h.cmake b/config.h.cmake
new file mode 100644
index 0000000..61ede3a
--- /dev/null
+++ b/config.h.cmake
@@ -0,0 +1,8 @@
+#define VERSION "@VERSION@"
+
+// Defined if you have fvisibility and fvisibility-inlines-hidden support.
+#cmakedefine __KDE_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@
diff --git a/configure.files b/configure.files
deleted file mode 100644
index 030bce8..0000000
--- a/configure.files
+++ /dev/null
@@ -1,2 +0,0 @@
-./admin/configure.in.min
-configure.in.in
diff --git a/configure.in.in b/configure.in.in
deleted file mode 100644
index c04eb03..0000000
--- a/configure.in.in
+++ /dev/null
@@ -1,5 +0,0 @@
-#MIN_CONFIG
-
-KDE_ENABLE_HIDDEN_VISIBILITY
-
-AM_INIT_AUTOMAKE(crystal, 1.0.7)
diff --git a/crystal.tdevelop b/crystal.tdevelop
deleted file mode 100644
index a6dc1dd..0000000
--- a/crystal.tdevelop
+++ /dev/null
@@ -1,225 +0,0 @@
-<?xml version = '1.0'?>
-<tdevelop>
- <general>
- <author>Sascha Hlusiak</author>
- <email>Spam84@gmx.de</email>
- <version/>
- <projectmanagement>KDevAutoProject</projectmanagement>
- <primarylanguage>C++</primarylanguage>
- <keywords>
- <keyword>C++</keyword>
- <keyword>Code</keyword>
- </keywords>
- <projectdirectory>.</projectdirectory>
- <absoluteprojectpath>false</absoluteprojectpath>
- <description/>
- <ignoreparts/>
- <secondaryLanguages/>
- <projectname>crystal</projectname>
- </general>
- <kdevautoproject>
- <general>
- <activetarget>client/twin3_crystal.la</activetarget>
- <useconfiguration>default</useconfiguration>
- </general>
- <run>
- <mainprogram>src/crystal</mainprogram>
- <terminal>true</terminal>
- <directoryradio>executable</directoryradio>
- <customdirectory>/</customdirectory>
- <programargs/>
- <autocompile>true</autocompile>
- <envvars/>
- <runarguments>
- <embedtool/>
- </runarguments>
- </run>
- <configurations>
- <optimized>
- <builddir>optimized</builddir>
- <ccompiler>kdevgccoptions</ccompiler>
- <cxxcompiler>kdevgppoptions</cxxcompiler>
- <f77compiler>kdevg77options</f77compiler>
- <cxxflags>-O2 -g0</cxxflags>
- <envvars/>
- </optimized>
- <debug>
- <configargs>--enable-debug=full</configargs>
- <builddir>debug</builddir>
- <ccompiler>kdevgccoptions</ccompiler>
- <cxxcompiler>kdevgppoptions</cxxcompiler>
- <f77compiler>kdevg77options</f77compiler>
- <cxxflags>-O0 -g3</cxxflags>
- </debug>
- <default>
- <envvars/>
- </default>
- </configurations>
- <make>
- <envvars>
- <envvar value="1" name="WANT_AUTOCONF_2_5" />
- <envvar value="1" name="WANT_AUTOMAKE_1_6" />
- </envvars>
- <abortonerror>false</abortonerror>
- <numberofjobs>1</numberofjobs>
- <dontact>false</dontact>
- <makebin/>
- <prio>0</prio>
- </make>
- </kdevautoproject>
- <kdevdoctreeview>
- <ignoretocs>
- <toc>ada</toc>
- <toc>ada_bugs_gcc</toc>
- <toc>bash</toc>
- <toc>bash_bugs</toc>
- <toc>clanlib</toc>
- <toc>w3c-dom-level2-html</toc>
- <toc>fortran_bugs_gcc</toc>
- <toc>gnome1</toc>
- <toc>gnustep</toc>
- <toc>gtk</toc>
- <toc>gtk_bugs</toc>
- <toc>haskell</toc>
- <toc>haskell_bugs_ghc</toc>
- <toc>java_bugs_gcc</toc>
- <toc>java_bugs_sun</toc>
- <toc>kde2book</toc>
- <toc>opengl</toc>
- <toc>pascal_bugs_fp</toc>
- <toc>php</toc>
- <toc>php_bugs</toc>
- <toc>perl</toc>
- <toc>perl_bugs</toc>
- <toc>python</toc>
- <toc>python_bugs</toc>
- <toc>qt-kdev3</toc>
- <toc>ruby</toc>
- <toc>ruby_bugs</toc>
- <toc>sdl</toc>
- <toc>w3c-svg</toc>
- <toc>sw</toc>
- <toc>w3c-uaag10</toc>
- <toc>wxwidgets_bugs</toc>
- </ignoretocs>
- <ignoreqt_xml>
- <toc>Guide to the Qt Translation Tools</toc>
- <toc>Qt Assistant Manual</toc>
- <toc>Qt Designer Manual</toc>
- <toc>Qt Reference Documentation</toc>
- <toc>qmake User Guide</toc>
- </ignoreqt_xml>
- <ignoredoxygen>
- <toc>KDE Libraries (Doxygen)</toc>
- </ignoredoxygen>
- <projectdoc>
- <userdocDir>html/</userdocDir>
- <apidocDir>html/</apidocDir>
- </projectdoc>
- <ignorekdocs/>
- <ignoredevhelp/>
- </kdevdoctreeview>
- <kdevfilecreate>
- <filetypes/>
- <useglobaltypes>
- <type ext="cpp" />
- <type ext="h" />
- </useglobaltypes>
- </kdevfilecreate>
- <kdevfileview>
- <groups>
- <group pattern="*.h" name="Header files" />
- <group pattern="*.cpp" name="Source files" />
- <hidenonprojectfiles>false</hidenonprojectfiles>
- <hidenonlocation>false</hidenonlocation>
- </groups>
- <tree>
- <hidepatterns>*.o,*.lo,CVS</hidepatterns>
- <hidenonprojectfiles>false</hidenonprojectfiles>
- </tree>
- </kdevfileview>
- <cppsupportpart>
- <filetemplates>
- <interfacesuffix>.h</interfacesuffix>
- <implementationsuffix>.cpp</implementationsuffix>
- </filetemplates>
- </cppsupportpart>
- <kdevcppsupport>
- <codecompletion>
- <includeGlobalFunctions>true</includeGlobalFunctions>
- <includeTypes>true</includeTypes>
- <includeEnums>true</includeEnums>
- <includeTypedefs>false</includeTypedefs>
- <automaticCodeCompletion>true</automaticCodeCompletion>
- <automaticArgumentsHint>true</automaticArgumentsHint>
- <automaticHeaderCompletion>true</automaticHeaderCompletion>
- <codeCompletionDelay>250</codeCompletionDelay>
- <argumentsHintDelay>400</argumentsHintDelay>
- <headerCompletionDelay>250</headerCompletionDelay>
- <showOnlyAccessibleItems>false</showOnlyAccessibleItems>
- <completionBoxItemOrder>0</completionBoxItemOrder>
- <howEvaluationContextMenu>true</howEvaluationContextMenu>
- <showCommentWithArgumentHint>true</showCommentWithArgumentHint>
- <statusBarTypeEvaluation>false</statusBarTypeEvaluation>
- <namespaceAliases>std=_GLIBCXX_STD;__gnu_cxx=std</namespaceAliases>
- <processPrimaryTypes>true</processPrimaryTypes>
- <processFunctionArguments>false</processFunctionArguments>
- <preProcessAllHeaders>false</preProcessAllHeaders>
- <parseMissingHeaders>false</parseMissingHeaders>
- <resolveIncludePaths>true</resolveIncludePaths>
- <alwaysParseInBackground>true</alwaysParseInBackground>
- <usePermanentCaching>true</usePermanentCaching>
- <alwaysIncludeNamespaces>false</alwaysIncludeNamespaces>
- <includePaths>.;</includePaths>
- <parseMissingHeadersExperimental>false</parseMissingHeadersExperimental>
- <resolveIncludePathsUsingMakeExperimental>false</resolveIncludePathsUsingMakeExperimental>
- </codecompletion>
- <references/>
- <creategettersetter>
- <prefixGet/>
- <prefixSet>set</prefixSet>
- <prefixVariable>m_,_</prefixVariable>
- <parameterName>theValue</parameterName>
- <inlineGet>true</inlineGet>
- <inlineSet>true</inlineSet>
- </creategettersetter>
- <designerintegration>
- <tqtdesigner/>
- </designerintegration>
- <qt>
- <used>false</used>
- <version>3</version>
- <root>/usr/qt/3</root>
- <includestyle>3</includestyle>
- <designerintegration>EmbeddedKDevDesigner</designerintegration>
- <qmake>/usr/qt/3/bin/qmake</qmake>
- <designer>/usr/qt/3/bin/designer</designer>
- <designerpluginpaths/>
- </qt>
- </kdevcppsupport>
- <kdevdebugger>
- <general>
- <programargs/>
- <gdbpath/>
- <dbgshell>libtool</dbgshell>
- <configGdbScript/>
- <runShellScript/>
- <runGdbScript/>
- <breakonloadinglibs>true</breakonloadinglibs>
- <separatetty>false</separatetty>
- <floatingtoolbar>false</floatingtoolbar>
- </general>
- <display>
- <staticmembers>false</staticmembers>
- <demanglenames>true</demanglenames>
- <outputradix>10</outputradix>
- </display>
- </kdevdebugger>
- <kdevdocumentation>
- <projectdoc>
- <docsystem/>
- <docurl/>
- <usermanualurl/>
- </projectdoc>
- </kdevdocumentation>
-</tdevelop>
diff --git a/pics/CMakeLists.txt b/pics/CMakeLists.txt
new file mode 100644
index 0000000..8246b0c
--- /dev/null
+++ b/pics/CMakeLists.txt
@@ -0,0 +1,48 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIBRARY_DIRS}
+)
+
+
+##### embedtool (executable)
+
+tde_add_executable( embedtool AUTOMOC
+
+ SOURCES
+ embedtool.cpp
+ LINK
+ ${TQT_LIBRARIES}
+)
+
+
+##### generate embeded images
+
+file( GLOB images */*.png )
+
+add_custom_command(
+ OUTPUT tiles.h
+ COMMAND embedtool ${images} > tiles.h
+ COMMENT "Generating Button Themes..."
+)
+
+add_custom_target( embed-tiles DEPENDS tiles.h )
+
+
+file( GLOB overlays *overlay.png )
+
+add_custom_command(
+ OUTPUT overlays.h
+ COMMAND embedtool ${overlays} > overlays.h
+ COMMENT "Generating Overlays..."
+)
+
+add_custom_target( embed-overlays DEPENDS overlays.h )
diff --git a/pics/Makefile.am b/pics/Makefile.am
deleted file mode 100644
index 34da194..0000000
--- a/pics/Makefile.am
+++ /dev/null
@@ -1,49 +0,0 @@
-AUTOMAKE_OPTIONS = foreign
-
-INCLUDES = $(all_includes)
-
-images = $(srcdir)/vista/*.png \
- $(srcdir)/aqua/*.png \
- $(srcdir)/default/*.png \
- $(srcdir)/handpainted/*.png \
- $(srcdir)/knifty/*.png \
- $(srcdir)/svg/*.png \
- $(srcdir)/kubuntu-dapper/*.png \
- $(srcdir)/kubuntu-edgy/*.png \
- $(srcdir)/kubuntu-feisty/*.png \
- $(srcdir)/kubuntu-hardy/*.png
-
-overlays = $(srcdir)/lighting_overlay.png \
- $(srcdir)/glass_overlay.png \
- $(srcdir)/steel_overlay.png
-
-EXTRA_DIST = $(srcdir)/vista/* \
- $(srcdir)/aqua/* \
- $(srcdir)/default/* \
- $(srcdir)/handpainted/* \
- $(srcdir)/knifty/* \
- $(srcdir)/svg/* \
- $(srcdir)/kubuntu-dapper/* \
- $(srcdir)/kubuntu-edgy/* \
- $(srcdir)/kubuntu-feisty/* \
- $(srcdir)/kubuntu-hardy/*
-
-noinst_PROGRAMS = embedtool tiles.h overlays.h
-nodist_DIST = tiles.h overlays.h
-embedtool_SOURCES = embedtool.cpp
-embedtool_LDFLAGS = $(all_libraries)
-embedtool_LDADD = ${LIB_TQT}
-tiles_h_SOURCES = ${images}
-overlays_h_SOURCES = ${overlays}
-
-tiles.h: embedtool ${images}
- @echo Generating Button Themes...
- ./embedtool ${images} > tiles.h
- cp tiles.h ../client/tiles.h
-
-overlays.h: embedtool ${overlays}
- @echo Generating overlays...
- ./embedtool ${overlays} > overlays.h
- cp overlays.h ../client/overlays.h
-
-all: tiles.h overlays.h
diff --git a/pics/README b/pics/README
index 20253b8..d4eb625 100644
--- a/pics/README
+++ b/pics/README
@@ -10,7 +10,7 @@ Use with 'embedtool file1 file2 > tiles.h', or 'embedtool foo/*.png > bar.h'.
3) A new button theme is much more work:
- Add a directory, populate it with png images. List this directory in the ${themes} variable of the Makefile.am
- In the top directory run: make -f Makefile.cvs. Now make should include your png images in the tiles.h, which gets included in the crystal source.
-- You have to add some logic to the ../client/crystalclient.cc and ../client/config/configdialog.ui file, to really make your button theme available.
+- You have to add some logic to the ../client/crystalclient.cpp and ../client/config/configdialog.ui file, to really make your button theme available.
diff --git a/pics/embedtool.cpp b/pics/embedtool.cpp
index 8f1690f..228c133 100644
--- a/pics/embedtool.cpp
+++ b/pics/embedtool.cpp
@@ -71,7 +71,7 @@ nVIDIAEmbedder::nVIDIAEmbedder()
file = new TQFile();
file->open( IO_WriteOnly | IO_Truncate ,stdout);
- stream.setDevice( TQT_TQIODEVICE(file) );
+ stream.setDevice( file );
#if (0)
stream << "/*\n";
@@ -94,7 +94,6 @@ nVIDIAEmbedder::~nVIDIAEmbedder()
#if (0)
stream << "} // namespace nVIDIA\n\n";
stream << "#endif // __TILES_H\n\n";
- stream << "// vim: set noet ts=4 sw=4:\n";
#endif
file->close();
@@ -235,6 +234,3 @@ int main( int argv, char **argc )
return 0;
}
-
-// vim: set noet ts=4 sw=4:
-
diff --git a/stamp-h.in b/stamp-h.in
deleted file mode 100644
index e69de29..0000000
--- a/stamp-h.in
+++ /dev/null
diff --git a/subdirs b/subdirs
deleted file mode 100644
index f2f94df..0000000
--- a/subdirs
+++ /dev/null
@@ -1,2 +0,0 @@
-client
-pics
diff --git a/translations/desktop_files/ru.po b/translations/desktop_files/ru.po
new file mode 100644
index 0000000..c6fb104
--- /dev/null
+++ b/translations/desktop_files/ru.po
@@ -0,0 +1,24 @@
+# SOME DESCRIPTIVE TITLE.
+# This file is put in the public domain.
+# Andrei Stepanov <adem4ik@gmail.com>, 2024.
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2021-07-02 03:09+0200\n"
+"PO-Revision-Date: 2024-04-06 18:44+0000\n"
+"Last-Translator: Andrei Stepanov <adem4ik@gmail.com>\n"
+"Language-Team: Russian <https://mirror.git.trinitydesktop.org/weblate/"
+"projects/applications/twin-style-crystal-desktop-files/ru/>\n"
+"Language: ru\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%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"
+
+#. Name
+#: crystal.desktop:3
+msgid "Crystal"
+msgstr "Crystal"
diff --git a/translations/desktop_files/twin-style-crystal-desktops.pot b/translations/desktop_files/twin-style-crystal-desktops.pot
new file mode 100644
index 0000000..3d0bed1
--- /dev/null
+++ b/translations/desktop_files/twin-style-crystal-desktops.pot
@@ -0,0 +1,22 @@
+# 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: 2021-07-02 03:09+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
+#: crystal.desktop:3
+msgid "Crystal"
+msgstr ""
diff --git a/translations/messages/pt_BR.po b/translations/messages/pt_BR.po
new file mode 100644
index 0000000..3646cf5
--- /dev/null
+++ b/translations/messages/pt_BR.po
@@ -0,0 +1,591 @@
+# SOME DESCRIPTIVE TITLE.
+# Rodrigo Zimmermann <rodrigo.zimmermann23@gmail.com>, 2022.
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-09-14 18:33+0000\n"
+"PO-Revision-Date: 2022-11-20 10:10+0000\n"
+"Last-Translator: Rodrigo Zimmermann <rodrigo.zimmermann23@gmail.com>\n"
+"Language-Team: Portuguese (Brazil) <https://mirror.git.trinitydesktop.org/"
+"weblate/projects/applications/twin-style-crystal/pt_BR/>\n"
+"Language: pt_BR\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.14.2\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 "Rodrigo Zimmermann"
+
+#. 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 "<rodrigo.zimmermann23@gmail.com>"
+
+#: crystalclient.cpp:911 crystalclient.cpp:1018
+msgid "On All Desktops"
+msgstr "Em Todas as Áreas de Trabalhos"
+
+#: config/configdialog.ui:37
+#, no-c-format
+msgid "Ge&neral"
+msgstr "Geral"
+
+#: config/configdialog.ui:48
+#, no-c-format
+msgid "Show tooltip o&ver caption"
+msgstr "Mostrar dica acima do nome"
+
+#: config/configdialog.ui:51
+#, no-c-format
+msgid "Shows a tooltip, if the mouse pointer is over the caption."
+msgstr "Mostrar como dica, se o ponteiro do mouse estiver sobre o nome."
+
+#: config/configdialog.ui:90
+#, no-c-format
+msgid "Use these buttons to set the alignment of the window title"
+msgstr "Usar esses botões para definir o alinhamento do título da janela"
+
+#: config/configdialog.ui:101
+#, no-c-format
+msgid "&Left"
+msgstr "Esquerda"
+
+#: config/configdialog.ui:112
+#, no-c-format
+msgid "&Centered"
+msgstr "Centralizado"
+
+#: config/configdialog.ui:126
+#, no-c-format
+msgid "&Right"
+msgstr "Direita"
+
+#: config/configdialog.ui:147
+#, no-c-format
+msgid "Moving &repaints window"
+msgstr ""
+
+#: config/configdialog.ui:158
+#, no-c-format
+msgid "&When finished"
+msgstr ""
+
+#: config/configdialog.ui:169
+#, no-c-format
+msgid "I&mmediately"
+msgstr "I&mediatamente"
+
+#: config/configdialog.ui:180
+#, no-c-format
+msgid " ms"
+msgstr ""
+
+#: config/configdialog.ui:200
+#, no-c-format
+msgid "E&very"
+msgstr "Sempre"
+
+#: config/configdialog.ui:216
+#, no-c-format
+msgid "Round &Corners"
+msgstr ""
+
+#: config/configdialog.ui:361
+#, no-c-format
+msgid "Border width:"
+msgstr "Tamanho da borda:"
+
+#: config/configdialog.ui:380
+#, no-c-format
+msgid "Titlebar height:"
+msgstr "Espessura da barra de título:"
+
+#: config/configdialog.ui:397
+#, no-c-format
+msgid "Width of the borders"
+msgstr "Tamanho das bordas"
+
+#: config/configdialog.ui:414
+#, no-c-format
+msgid "Height of the title par (independend to border width)"
+msgstr ""
+
+#: config/configdialog.ui:425
+#, no-c-format
+msgid "Draws a nice shadowed title bar text to improve visibility."
+msgstr ""
+
+#: config/configdialog.ui:433
+#, no-c-format
+msgid "&Draw Caption"
+msgstr ""
+
+#: config/configdialog.ui:452
+#, no-c-format
+msgid "C&ycle tasks with mouse wheel"
+msgstr ""
+
+#: config/configdialog.ui:455
+#, no-c-format
+msgid ""
+"Wheel on titlebar cycles through visible windows. Does NOT work in compiz. "
+"Overrides settings in TDE."
+msgstr ""
+
+#: config/configdialog.ui:477
+#, no-c-format
+msgid "I&nfo..."
+msgstr ""
+
+#: config/configdialog.ui:487
+#, no-c-format
+msgid "Bu&ttons"
+msgstr "Bo&tões"
+
+#: config/configdialog.ui:509
+#, no-c-format
+msgid "Ani&mate hover"
+msgstr ""
+
+#: config/configdialog.ui:512
+#, no-c-format
+msgid "Smoothly animate the hover effect of the buttons"
+msgstr ""
+
+#: config/configdialog.ui:528
+#, no-c-format
+msgid "Ho&ver effect"
+msgstr ""
+
+#: config/configdialog.ui:531
+#, no-c-format
+msgid "Provides a mouse-over effect for the title bar buttons."
+msgstr ""
+
+#: config/configdialog.ui:562
+#, no-c-format
+msgid "Tint Buttons"
+msgstr ""
+
+#: config/configdialog.ui:571
+#, no-c-format
+msgid "Tint some buttons to specific colors"
+msgstr ""
+
+#: config/configdialog.ui:606 config/configdialog.ui:651
+#: config/configdialog.ui:680 config/configdialog.ui:709
+#: config/configdialog.ui:738 config/configdialog.ui:791
+#: config/configdialog.ui:820 config/configdialog.ui:849
+#: config/configdialog.ui:886 config/configdialog.ui:923
+#: config/configdialog.ui:952 config/configdialog.ui:981
+#, no-c-format
+msgid ""
+"The semi transparent buttons of the titlebar will be shaded in this color"
+msgstr ""
+
+#: config/configdialog.ui:614
+#, no-c-format
+msgid "Minimize Button"
+msgstr ""
+
+#: config/configdialog.ui:622
+#, no-c-format
+msgid "Other Buttons"
+msgstr ""
+
+#: config/configdialog.ui:746
+#, no-c-format
+msgid "Hovered"
+msgstr ""
+
+#: config/configdialog.ui:754
+#, no-c-format
+msgid "Pressed"
+msgstr ""
+
+#: config/configdialog.ui:762
+#, no-c-format
+msgid "Normal"
+msgstr ""
+
+#: config/configdialog.ui:857
+#, no-c-format
+msgid "Maximize Button"
+msgstr "Botão de Maximizar"
+
+#: config/configdialog.ui:894
+#, no-c-format
+msgid "Close Button"
+msgstr ""
+
+#: config/configdialog.ui:989
+#, no-c-format
+msgid "Crystal Default"
+msgstr ""
+
+#: config/configdialog.ui:997
+#, no-c-format
+msgid "Crystal Aqua"
+msgstr ""
+
+#: config/configdialog.ui:1005
+#, no-c-format
+msgid "Crystal Knifty"
+msgstr ""
+
+#: config/configdialog.ui:1013
+#, no-c-format
+msgid "Handpainted"
+msgstr ""
+
+#: config/configdialog.ui:1021
+#, no-c-format
+msgid "SVG"
+msgstr ""
+
+#: config/configdialog.ui:1029
+#, no-c-format
+msgid "Vista"
+msgstr ""
+
+#: config/configdialog.ui:1037
+#, no-c-format
+msgid "Kubuntu Dapper"
+msgstr ""
+
+#: config/configdialog.ui:1045
+#, no-c-format
+msgid "Kubuntu Edgy"
+msgstr ""
+
+#: config/configdialog.ui:1053
+#, no-c-format
+msgid "Kubuntu Feisty"
+msgstr ""
+
+#: config/configdialog.ui:1061
+#, no-c-format
+msgid "Kubuntu Hardy"
+msgstr ""
+
+#: config/configdialog.ui:1079
+#, no-c-format
+msgid "Select your favourite button theme here"
+msgstr ""
+
+#: config/configdialog.ui:1087
+#, no-c-format
+msgid "Theme &menu button"
+msgstr ""
+
+#: config/configdialog.ui:1093
+#, no-c-format
+msgid "The window menu is a button, if possible, or just an icon"
+msgstr ""
+
+#: config/configdialog.ui:1103
+#, no-c-format
+msgid "Bac&kground"
+msgstr "Plano de fundo"
+
+#: config/configdialog.ui:1118
+#, no-c-format
+msgid "A&ctive"
+msgstr "Ativo"
+
+#: config/configdialog.ui:1163 config/configdialog.ui:1530
+#, no-c-format
+msgid "Amount of effect"
+msgstr ""
+
+#: config/configdialog.ui:1171 config/configdialog.ui:1583
+#, no-c-format
+msgid "Amount:"
+msgstr "Quantidade:"
+
+#: config/configdialog.ui:1190 config/configdialog.ui:1488
+#, no-c-format
+msgid "The color of the outline frame"
+msgstr ""
+
+#: config/configdialog.ui:1198 config/configdialog.ui:1496
+#, no-c-format
+msgid "Userdefined background:"
+msgstr ""
+
+#: config/configdialog.ui:1204 config/configdialog.ui:1399
+#: config/configdialog.ui:1502 config/configdialog.ui:1692
+#, no-c-format
+msgid "Use userdefined picture for background instead of current wallpaper"
+msgstr ""
+
+#: config/configdialog.ui:1210 config/configdialog.ui:1434
+#, no-c-format
+msgid "Fade"
+msgstr ""
+
+#: config/configdialog.ui:1215 config/configdialog.ui:1439
+#, no-c-format
+msgid "Intensity"
+msgstr "Intensidade"
+
+#: config/configdialog.ui:1220 config/configdialog.ui:1444
+#, no-c-format
+msgid "Brighten"
+msgstr ""
+
+#: config/configdialog.ui:1225 config/configdialog.ui:1449
+#, no-c-format
+msgid "Desaturate"
+msgstr ""
+
+#: config/configdialog.ui:1230 config/configdialog.ui:1454
+#, no-c-format
+msgid "Solarisation"
+msgstr "Solarização"
+
+#: config/configdialog.ui:1245 config/configdialog.ui:1469
+#, no-c-format
+msgid "Select effect, that is to be applied to the image"
+msgstr ""
+
+#: config/configdialog.ui:1268 config/configdialog.ui:1553
+#, no-c-format
+msgid "No outline"
+msgstr ""
+
+#: config/configdialog.ui:1273 config/configdialog.ui:1558
+#, no-c-format
+msgid "Simple Outline"
+msgstr ""
+
+#: config/configdialog.ui:1278 config/configdialog.ui:1362
+#: config/configdialog.ui:1563 config/configdialog.ui:1672
+#, no-c-format
+msgid "Sunken"
+msgstr ""
+
+#: config/configdialog.ui:1283 config/configdialog.ui:1367
+#: config/configdialog.ui:1568 config/configdialog.ui:1677
+#, no-c-format
+msgid "Raised"
+msgstr ""
+
+#: config/configdialog.ui:1290 config/configdialog.ui:1575
+#, no-c-format
+msgid "Draw outline frame"
+msgstr ""
+
+#: config/configdialog.ui:1314 config/configdialog.ui:1607
+#, no-c-format
+msgid "Blur Image:"
+msgstr ""
+
+#: config/configdialog.ui:1346
+#, no-c-format
+msgid "The color of the inline frame"
+msgstr ""
+
+#: config/configdialog.ui:1352 config/configdialog.ui:1662
+#, no-c-format
+msgid "No inline"
+msgstr ""
+
+#: config/configdialog.ui:1357 config/configdialog.ui:1667
+#, no-c-format
+msgid "Simple inline"
+msgstr ""
+
+#: config/configdialog.ui:1374 config/configdialog.ui:1684
+#, no-c-format
+msgid "Draw inline frame around the window content"
+msgstr ""
+
+#: config/configdialog.ui:1411
+#, no-c-format
+msgid "Inacti&ve"
+msgstr "Inativo"
+
+#: config/configdialog.ui:1639
+#, no-c-format
+msgid "Color of the inline frame"
+msgstr ""
+
+#: config/configdialog.ui:1713
+#, no-c-format
+msgid "&Track desktop changes"
+msgstr ""
+
+#: config/configdialog.ui:1716 config/configdialog.ui:1719
+#, no-c-format
+msgid ""
+"Check, if you have different wallpapers set on multiple desktops. Uncheck, "
+"when you just have one wallpaper for all desktops."
+msgstr ""
+
+#: config/configdialog.ui:1738
+#, no-c-format
+msgid "Enable Transparency"
+msgstr ""
+
+#: config/configdialog.ui:1744
+#, no-c-format
+msgid ""
+"When this is turned on, you may (still?) experience high CPU usage. Use it "
+"carefully!"
+msgstr ""
+
+#: config/configdialog.ui:1754
+#, no-c-format
+msgid "&Logo"
+msgstr ""
+
+#: config/configdialog.ui:1773
+#, no-c-format
+msgid "Draw Logo"
+msgstr ""
+
+#: config/configdialog.ui:1804
+#, no-c-format
+msgid "Disable"
+msgstr ""
+
+#: config/configdialog.ui:1851
+#, no-c-format
+msgid "Little preview"
+msgstr ""
+
+#: config/configdialog.ui:1857
+#, no-c-format
+msgid "Stretch"
+msgstr ""
+
+#: config/configdialog.ui:1862
+#, no-c-format
+msgid "Centered"
+msgstr ""
+
+#: config/configdialog.ui:1912
+#, no-c-format
+msgid "Distance to the text:"
+msgstr ""
+
+#: config/configdialog.ui:1928
+#, no-c-format
+msgid " px"
+msgstr ""
+
+#: config/configdialog.ui:1950
+#, no-c-format
+msgid "Active &window only"
+msgstr ""
+
+#: config/configdialog.ui:1953
+#, no-c-format
+msgid "Draw logo in the active window only"
+msgstr ""
+
+#: config/configdialog.ui:1963
+#, no-c-format
+msgid "&Overlay"
+msgstr ""
+
+#: config/configdialog.ui:1982
+#, no-c-format
+msgid "Lets you put an transparent image on top of the title bar."
+msgstr ""
+
+#: config/configdialog.ui:2001
+#, no-c-format
+msgid "User defined should be a transparent png file, i.e. 1x64px"
+msgstr ""
+
+#: config/configdialog.ui:2029
+#, no-c-format
+msgid "Overlay for active window:"
+msgstr ""
+
+#: config/configdialog.ui:2037
+#, no-c-format
+msgid "Overlay for inactive window:"
+msgstr ""
+
+#: config/configdialog.ui:2043 config/configdialog.ui:2089
+#, no-c-format
+msgid "Disabled"
+msgstr ""
+
+#: config/configdialog.ui:2048 config/configdialog.ui:2094
+#, no-c-format
+msgid "Simple Lighting"
+msgstr ""
+
+#: config/configdialog.ui:2053 config/configdialog.ui:2099
+#, no-c-format
+msgid "Glass"
+msgstr ""
+
+#: config/configdialog.ui:2058 config/configdialog.ui:2104
+#, no-c-format
+msgid "Steel"
+msgstr ""
+
+#: config/configdialog.ui:2063 config/configdialog.ui:2109
+#, no-c-format
+msgid "Custom"
+msgstr ""
+
+#: config/infodialog.ui:27
+#, no-c-format
+msgid "Info about Crystal..."
+msgstr ""
+
+#: config/infodialog.ui:79
+#, no-c-format
+msgid "About:"
+msgstr ""
+
+#: config/infodialog.ui:104
+#, no-c-format
+msgid ""
+"Crystal twin decoration theme,\n"
+"Sascha Hlusiak <spam84@nurfuerspam.de>, 2004-2007.\n"
+"\n"
+"You may look for the most recent version at kde-look.org:"
+msgstr ""
+
+#: config/infodialog.ui:140
+#, no-c-format
+msgid "www.kde-look.org/content/show.php?content=13969"
+msgstr ""
+
+#: config/infodialog.ui:143
+#, no-c-format
+msgid "http://www.kde-look.org/content/show.php?content=13969"
+msgstr ""
+
+#: config/infodialog.ui:183
+#, no-c-format
+msgid "Usage:"
+msgstr ""
+
+#: config/infodialog.ui:205
+#, no-c-format
+msgid ""
+"Besides default features of most window decorations:\n"
+"- Doubleclick the systemmenu button closes the window.\n"
+"- Middleclick on the minimize button to send it below.\n"
+"- Rightclick the minimize button shades the window.\n"
+"- Rightclick on close button runs kdocker for this window to\n"
+" dock it to the systemtray. kdocker needs to be installed \n"
+" for this to work.\n"
+"- Scroll over the title bar selects next/prev window.\n"
+" If this is disabled AND the deco is compiled against\n"
+" TDE, the default behaviour is used."
+msgstr ""
diff --git a/translations/messages/twin-style-crystal.pot b/translations/messages/twin-style-crystal.pot
new file mode 100644
index 0000000..9dede00
--- /dev/null
+++ b/translations/messages/twin-style-crystal.pot
@@ -0,0 +1,591 @@
+# SOME DESCRIPTIVE TITLE.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2022-09-14 18:33+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"
+"MIME-Version: 1.0\n"
+"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
+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
+msgid ""
+"_: EMAIL OF TRANSLATORS\n"
+"Your emails"
+msgstr ""
+
+#: crystalclient.cpp:911 crystalclient.cpp:1018
+msgid "On All Desktops"
+msgstr ""
+
+#: config/configdialog.ui:37
+#, no-c-format
+msgid "Ge&neral"
+msgstr ""
+
+#: config/configdialog.ui:48
+#, no-c-format
+msgid "Show tooltip o&ver caption"
+msgstr ""
+
+#: config/configdialog.ui:51
+#, no-c-format
+msgid "Shows a tooltip, if the mouse pointer is over the caption."
+msgstr ""
+
+#: config/configdialog.ui:90
+#, no-c-format
+msgid "Use these buttons to set the alignment of the window title"
+msgstr ""
+
+#: config/configdialog.ui:101
+#, no-c-format
+msgid "&Left"
+msgstr ""
+
+#: config/configdialog.ui:112
+#, no-c-format
+msgid "&Centered"
+msgstr ""
+
+#: config/configdialog.ui:126
+#, no-c-format
+msgid "&Right"
+msgstr ""
+
+#: config/configdialog.ui:147
+#, no-c-format
+msgid "Moving &repaints window"
+msgstr ""
+
+#: config/configdialog.ui:158
+#, no-c-format
+msgid "&When finished"
+msgstr ""
+
+#: config/configdialog.ui:169
+#, no-c-format
+msgid "I&mmediately"
+msgstr ""
+
+#: config/configdialog.ui:180
+#, no-c-format
+msgid " ms"
+msgstr ""
+
+#: config/configdialog.ui:200
+#, no-c-format
+msgid "E&very"
+msgstr ""
+
+#: config/configdialog.ui:216
+#, no-c-format
+msgid "Round &Corners"
+msgstr ""
+
+#: config/configdialog.ui:361
+#, no-c-format
+msgid "Border width:"
+msgstr ""
+
+#: config/configdialog.ui:380
+#, no-c-format
+msgid "Titlebar height:"
+msgstr ""
+
+#: config/configdialog.ui:397
+#, no-c-format
+msgid "Width of the borders"
+msgstr ""
+
+#: config/configdialog.ui:414
+#, no-c-format
+msgid "Height of the title par (independend to border width)"
+msgstr ""
+
+#: config/configdialog.ui:425
+#, no-c-format
+msgid "Draws a nice shadowed title bar text to improve visibility."
+msgstr ""
+
+#: config/configdialog.ui:433
+#, no-c-format
+msgid "&Draw Caption"
+msgstr ""
+
+#: config/configdialog.ui:452
+#, no-c-format
+msgid "C&ycle tasks with mouse wheel"
+msgstr ""
+
+#: config/configdialog.ui:455
+#, no-c-format
+msgid ""
+"Wheel on titlebar cycles through visible windows. Does NOT work in compiz. "
+"Overrides settings in TDE."
+msgstr ""
+
+#: config/configdialog.ui:477
+#, no-c-format
+msgid "I&nfo..."
+msgstr ""
+
+#: config/configdialog.ui:487
+#, no-c-format
+msgid "Bu&ttons"
+msgstr ""
+
+#: config/configdialog.ui:509
+#, no-c-format
+msgid "Ani&mate hover"
+msgstr ""
+
+#: config/configdialog.ui:512
+#, no-c-format
+msgid "Smoothly animate the hover effect of the buttons"
+msgstr ""
+
+#: config/configdialog.ui:528
+#, no-c-format
+msgid "Ho&ver effect"
+msgstr ""
+
+#: config/configdialog.ui:531
+#, no-c-format
+msgid "Provides a mouse-over effect for the title bar buttons."
+msgstr ""
+
+#: config/configdialog.ui:562
+#, no-c-format
+msgid "Tint Buttons"
+msgstr ""
+
+#: config/configdialog.ui:571
+#, no-c-format
+msgid "Tint some buttons to specific colors"
+msgstr ""
+
+#: config/configdialog.ui:606 config/configdialog.ui:651
+#: config/configdialog.ui:680 config/configdialog.ui:709
+#: config/configdialog.ui:738 config/configdialog.ui:791
+#: config/configdialog.ui:820 config/configdialog.ui:849
+#: config/configdialog.ui:886 config/configdialog.ui:923
+#: config/configdialog.ui:952 config/configdialog.ui:981
+#, no-c-format
+msgid ""
+"The semi transparent buttons of the titlebar will be shaded in this color"
+msgstr ""
+
+#: config/configdialog.ui:614
+#, no-c-format
+msgid "Minimize Button"
+msgstr ""
+
+#: config/configdialog.ui:622
+#, no-c-format
+msgid "Other Buttons"
+msgstr ""
+
+#: config/configdialog.ui:746
+#, no-c-format
+msgid "Hovered"
+msgstr ""
+
+#: config/configdialog.ui:754
+#, no-c-format
+msgid "Pressed"
+msgstr ""
+
+#: config/configdialog.ui:762
+#, no-c-format
+msgid "Normal"
+msgstr ""
+
+#: config/configdialog.ui:857
+#, no-c-format
+msgid "Maximize Button"
+msgstr ""
+
+#: config/configdialog.ui:894
+#, no-c-format
+msgid "Close Button"
+msgstr ""
+
+#: config/configdialog.ui:989
+#, no-c-format
+msgid "Crystal Default"
+msgstr ""
+
+#: config/configdialog.ui:997
+#, no-c-format
+msgid "Crystal Aqua"
+msgstr ""
+
+#: config/configdialog.ui:1005
+#, no-c-format
+msgid "Crystal Knifty"
+msgstr ""
+
+#: config/configdialog.ui:1013
+#, no-c-format
+msgid "Handpainted"
+msgstr ""
+
+#: config/configdialog.ui:1021
+#, no-c-format
+msgid "SVG"
+msgstr ""
+
+#: config/configdialog.ui:1029
+#, no-c-format
+msgid "Vista"
+msgstr ""
+
+#: config/configdialog.ui:1037
+#, no-c-format
+msgid "Kubuntu Dapper"
+msgstr ""
+
+#: config/configdialog.ui:1045
+#, no-c-format
+msgid "Kubuntu Edgy"
+msgstr ""
+
+#: config/configdialog.ui:1053
+#, no-c-format
+msgid "Kubuntu Feisty"
+msgstr ""
+
+#: config/configdialog.ui:1061
+#, no-c-format
+msgid "Kubuntu Hardy"
+msgstr ""
+
+#: config/configdialog.ui:1079
+#, no-c-format
+msgid "Select your favourite button theme here"
+msgstr ""
+
+#: config/configdialog.ui:1087
+#, no-c-format
+msgid "Theme &menu button"
+msgstr ""
+
+#: config/configdialog.ui:1093
+#, no-c-format
+msgid "The window menu is a button, if possible, or just an icon"
+msgstr ""
+
+#: config/configdialog.ui:1103
+#, no-c-format
+msgid "Bac&kground"
+msgstr ""
+
+#: config/configdialog.ui:1118
+#, no-c-format
+msgid "A&ctive"
+msgstr ""
+
+#: config/configdialog.ui:1163 config/configdialog.ui:1530
+#, no-c-format
+msgid "Amount of effect"
+msgstr ""
+
+#: config/configdialog.ui:1171 config/configdialog.ui:1583
+#, no-c-format
+msgid "Amount:"
+msgstr ""
+
+#: config/configdialog.ui:1190 config/configdialog.ui:1488
+#, no-c-format
+msgid "The color of the outline frame"
+msgstr ""
+
+#: config/configdialog.ui:1198 config/configdialog.ui:1496
+#, no-c-format
+msgid "Userdefined background:"
+msgstr ""
+
+#: config/configdialog.ui:1204 config/configdialog.ui:1399
+#: config/configdialog.ui:1502 config/configdialog.ui:1692
+#, no-c-format
+msgid "Use userdefined picture for background instead of current wallpaper"
+msgstr ""
+
+#: config/configdialog.ui:1210 config/configdialog.ui:1434
+#, no-c-format
+msgid "Fade"
+msgstr ""
+
+#: config/configdialog.ui:1215 config/configdialog.ui:1439
+#, no-c-format
+msgid "Intensity"
+msgstr ""
+
+#: config/configdialog.ui:1220 config/configdialog.ui:1444
+#, no-c-format
+msgid "Brighten"
+msgstr ""
+
+#: config/configdialog.ui:1225 config/configdialog.ui:1449
+#, no-c-format
+msgid "Desaturate"
+msgstr ""
+
+#: config/configdialog.ui:1230 config/configdialog.ui:1454
+#, no-c-format
+msgid "Solarisation"
+msgstr ""
+
+#: config/configdialog.ui:1245 config/configdialog.ui:1469
+#, no-c-format
+msgid "Select effect, that is to be applied to the image"
+msgstr ""
+
+#: config/configdialog.ui:1268 config/configdialog.ui:1553
+#, no-c-format
+msgid "No outline"
+msgstr ""
+
+#: config/configdialog.ui:1273 config/configdialog.ui:1558
+#, no-c-format
+msgid "Simple Outline"
+msgstr ""
+
+#: config/configdialog.ui:1278 config/configdialog.ui:1362
+#: config/configdialog.ui:1563 config/configdialog.ui:1672
+#, no-c-format
+msgid "Sunken"
+msgstr ""
+
+#: config/configdialog.ui:1283 config/configdialog.ui:1367
+#: config/configdialog.ui:1568 config/configdialog.ui:1677
+#, no-c-format
+msgid "Raised"
+msgstr ""
+
+#: config/configdialog.ui:1290 config/configdialog.ui:1575
+#, no-c-format
+msgid "Draw outline frame"
+msgstr ""
+
+#: config/configdialog.ui:1314 config/configdialog.ui:1607
+#, no-c-format
+msgid "Blur Image:"
+msgstr ""
+
+#: config/configdialog.ui:1346
+#, no-c-format
+msgid "The color of the inline frame"
+msgstr ""
+
+#: config/configdialog.ui:1352 config/configdialog.ui:1662
+#, no-c-format
+msgid "No inline"
+msgstr ""
+
+#: config/configdialog.ui:1357 config/configdialog.ui:1667
+#, no-c-format
+msgid "Simple inline"
+msgstr ""
+
+#: config/configdialog.ui:1374 config/configdialog.ui:1684
+#, no-c-format
+msgid "Draw inline frame around the window content"
+msgstr ""
+
+#: config/configdialog.ui:1411
+#, no-c-format
+msgid "Inacti&ve"
+msgstr ""
+
+#: config/configdialog.ui:1639
+#, no-c-format
+msgid "Color of the inline frame"
+msgstr ""
+
+#: config/configdialog.ui:1713
+#, no-c-format
+msgid "&Track desktop changes"
+msgstr ""
+
+#: config/configdialog.ui:1716 config/configdialog.ui:1719
+#, no-c-format
+msgid ""
+"Check, if you have different wallpapers set on multiple desktops. Uncheck, "
+"when you just have one wallpaper for all desktops."
+msgstr ""
+
+#: config/configdialog.ui:1738
+#, no-c-format
+msgid "Enable Transparency"
+msgstr ""
+
+#: config/configdialog.ui:1744
+#, no-c-format
+msgid ""
+"When this is turned on, you may (still?) experience high CPU usage. Use it "
+"carefully!"
+msgstr ""
+
+#: config/configdialog.ui:1754
+#, no-c-format
+msgid "&Logo"
+msgstr ""
+
+#: config/configdialog.ui:1773
+#, no-c-format
+msgid "Draw Logo"
+msgstr ""
+
+#: config/configdialog.ui:1804
+#, no-c-format
+msgid "Disable"
+msgstr ""
+
+#: config/configdialog.ui:1851
+#, no-c-format
+msgid "Little preview"
+msgstr ""
+
+#: config/configdialog.ui:1857
+#, no-c-format
+msgid "Stretch"
+msgstr ""
+
+#: config/configdialog.ui:1862
+#, no-c-format
+msgid "Centered"
+msgstr ""
+
+#: config/configdialog.ui:1912
+#, no-c-format
+msgid "Distance to the text:"
+msgstr ""
+
+#: config/configdialog.ui:1928
+#, no-c-format
+msgid " px"
+msgstr ""
+
+#: config/configdialog.ui:1950
+#, no-c-format
+msgid "Active &window only"
+msgstr ""
+
+#: config/configdialog.ui:1953
+#, no-c-format
+msgid "Draw logo in the active window only"
+msgstr ""
+
+#: config/configdialog.ui:1963
+#, no-c-format
+msgid "&Overlay"
+msgstr ""
+
+#: config/configdialog.ui:1982
+#, no-c-format
+msgid "Lets you put an transparent image on top of the title bar."
+msgstr ""
+
+#: config/configdialog.ui:2001
+#, no-c-format
+msgid "User defined should be a transparent png file, i.e. 1x64px"
+msgstr ""
+
+#: config/configdialog.ui:2029
+#, no-c-format
+msgid "Overlay for active window:"
+msgstr ""
+
+#: config/configdialog.ui:2037
+#, no-c-format
+msgid "Overlay for inactive window:"
+msgstr ""
+
+#: config/configdialog.ui:2043 config/configdialog.ui:2089
+#, no-c-format
+msgid "Disabled"
+msgstr ""
+
+#: config/configdialog.ui:2048 config/configdialog.ui:2094
+#, no-c-format
+msgid "Simple Lighting"
+msgstr ""
+
+#: config/configdialog.ui:2053 config/configdialog.ui:2099
+#, no-c-format
+msgid "Glass"
+msgstr ""
+
+#: config/configdialog.ui:2058 config/configdialog.ui:2104
+#, no-c-format
+msgid "Steel"
+msgstr ""
+
+#: config/configdialog.ui:2063 config/configdialog.ui:2109
+#, no-c-format
+msgid "Custom"
+msgstr ""
+
+#: config/infodialog.ui:27
+#, no-c-format
+msgid "Info about Crystal..."
+msgstr ""
+
+#: config/infodialog.ui:79
+#, no-c-format
+msgid "About:"
+msgstr ""
+
+#: config/infodialog.ui:104
+#, no-c-format
+msgid ""
+"Crystal twin decoration theme,\n"
+"Sascha Hlusiak <spam84@nurfuerspam.de>, 2004-2007.\n"
+"\n"
+"You may look for the most recent version at kde-look.org:"
+msgstr ""
+
+#: config/infodialog.ui:140
+#, no-c-format
+msgid "www.kde-look.org/content/show.php?content=13969"
+msgstr ""
+
+#: config/infodialog.ui:143
+#, no-c-format
+msgid "http://www.kde-look.org/content/show.php?content=13969"
+msgstr ""
+
+#: config/infodialog.ui:183
+#, no-c-format
+msgid "Usage:"
+msgstr ""
+
+#: config/infodialog.ui:205
+#, no-c-format
+msgid ""
+"Besides default features of most window decorations:\n"
+"- Doubleclick the systemmenu button closes the window.\n"
+"- Middleclick on the minimize button to send it below.\n"
+"- Rightclick the minimize button shades the window.\n"
+"- Rightclick on close button runs kdocker for this window to\n"
+" dock it to the systemtray. kdocker needs to be installed \n"
+" for this to work.\n"
+"- Scroll over the title bar selects next/prev window.\n"
+" If this is disabled AND the deco is compiled against\n"
+" TDE, the default behaviour is used."
+msgstr ""