Compare commits

...

37 Commits

Author SHA1 Message Date
Slávek Banko 09652c06fc
Use common rules for build and install documentation and translations. 3 weeks ago
Slávek Banko 9bc2c65626
Add twin client translations into template. 3 weeks ago
TDE Gitea 46b13b70c1 Update translation template. 4 weeks ago
Slávek Banko 666bfa9e8d
Remove cmake submodule since it has now been replaced by cmake-trinity dependency. 2 months ago
TDE Gitea eef1c3e8e0 Reset submodule main/applications/tde-style-baghira/cmake to latest HEAD 3 months ago
Slávek Banko f75a51b2f9
Update version number to R14.0.11. 3 months ago
TDE Gitea 92c1a9c34c Reset submodule main/applications/tde-style-baghira/cmake to latest HEAD 5 months ago
TDE Gitea 0eb471ab17 Reset submodule main/applications/tde-style-baghira/admin to latest HEAD 5 months ago
Michele Calgaro 856fb24053
Renaming of files in preparation for code style tools. 6 months ago
TDE Gitea 98181bd9dc Reset submodule main/applications/tde-style-baghira/cmake to latest HEAD 6 months ago
TDE Gitea efa2282e1e Reset submodule main/applications/tde-style-baghira/cmake to latest HEAD 6 months ago
TDE Gitea cabae6ffdc Reset submodule main/applications/tde-style-baghira/admin to latest HEAD 6 months ago
Slávek Banko 47ce6b2d11
Raise the minimum required version of CMake to 2.8.12. 7 months ago
TDE Gitea a9a1be2740 Reset submodule main/applications/tde-style-baghira/cmake to latest HEAD 7 months ago
TDE Gitea 545052af85 Reset submodule main/applications/tde-style-baghira/cmake to latest HEAD 8 months ago
TDE Gitea 9702be5a9d Reset submodule main/applications/tde-style-baghira/admin to latest HEAD 8 months ago
Slávek Banko 68c915e2d6
Update version number to R14.0.10. 9 months ago
Slávek Banko 13d6203b16
Update release version number to R14.0.9. 10 months ago
TDE Gitea b713976484 Reset submodule main/applications/tde-style-baghira/cmake to latest HEAD 10 months ago
TDE Gitea e80af1b598 Reset submodule main/applications/tde-style-baghira/admin to latest HEAD 10 months ago
TDE Gitea af7d5b4624 Reset submodule main/applications/tde-style-baghira/cmake to latest HEAD 11 months ago
TDE Gitea f96f3210b0 Reset submodule main/applications/tde-style-baghira/admin to latest HEAD 11 months ago
TDE Gitea 32db6e9434 Reset submodule main/applications/tde-style-baghira/cmake to latest HEAD 11 months ago
TDE Gitea 552d1ffed9 Reset submodule main/applications/tde-style-baghira/admin to latest HEAD 11 months ago
TDE Gitea 4adb57c713 Reset submodule main/applications/tde-style-baghira/cmake to latest HEAD 1 year ago
Slávek Banko f9183b9a6b Merge translation files from master branch. 1 year ago
TDE Gitea 4d769e90ed Reset submodule main/applications/tde-style-baghira/cmake to latest HEAD 1 year ago
TDE Gitea 5b409354a7 Reset submodule main/applications/tde-style-baghira/admin to latest HEAD 1 year ago
Slávek Banko b44eab6bc3
Remove the original translation directory layout. 1 year ago
Slávek Banko 0cbda8d2f5
Desktop file translations: 1 year ago
Slávek Banko ebcfca6def
Move translations to a new directory layout. 1 year ago
Slávek Banko 3fc75f4d0a
Add KDE_EXPORT to the public symbols. 1 year ago
Gregory Guy cd1471858e
Conversion to the cmake building system. 1 year ago
Michele Calgaro 443bb972fa
Removed explicit usage of the 'register' keyword. 2 years ago
Slávek Banko e257d53f64
Switch all submodules to https. 2 years ago
Michele Calgaro 8fb23adeea
Removed .lsm files. lsm database is outdated and unmaintained. 2 years ago
Slávek Banko 17321f66f7
Add CMakeL10n rules. 3 years ago
  1. 5
      .gitmodules
  2. 2
      AUTHORS
  3. 31
      CMakeL10n.txt
  4. 90
      CMakeLists.txt
  5. 56
      ConfigureChecks.cmake
  6. 2
      admin
  7. 3
      bab/CMakeL10n.txt
  8. 35
      bab/CMakeLists.txt
  9. 9
      bab/bab.desktop
  10. 4
      bab/bab.h
  11. 16
      bab/bab.lsm
  12. 2
      bab/bab_iface.h
  13. 6
      bab/main.cpp
  14. 1
      cmake
  15. 52
      colorscheme/AquaBlue.kcsrc
  16. 52
      colorscheme/AquaGraphite.kcsrc
  17. 6
      colorscheme/CMakeLists.txt
  18. 8
      config.h.cmake
  19. 3
      config/CMakeL10n.txt
  20. 61
      config/CMakeLists.txt
  21. 6
      config/colordialog.cpp
  22. 2
      config/colorpicker.cpp
  23. 19
      config/configdialog.ui
  24. 3
      config/help.ui
  25. 18
      config/tdestyle_baghira_config.cpp
  26. 2
      config/tdestyle_baghira_config.h
  27. 7
      deco/CMakeL10n.txt
  28. 84
      deco/CMakeLists.txt
  29. 2
      deco/Makefile.am
  30. 5
      deco/baghira.desktop
  31. 26
      deco/baghiraclient.cpp
  32. 2
      deco/baghiraclient.h
  33. 51
      deco/config/CMakeLists.txt
  34. 2
      deco/config/Makefile.am
  35. 16
      deco/config/aquariusbutton.cpp
  36. 19
      deco/config/baghiraconfig.cpp
  37. 19
      deco/config/baghiraconfig.cpp.new
  38. 2
      deco/config/baghiraconfig.h
  39. 2
      deco/config/baghiraconfig.h.new
  40. 4
      deco/config/colorpicker.cpp
  41. 17
      deco/config/configdialog.ui
  42. 3
      deco/config/customdecosettings.ui
  43. 36
      doc/man/bab.1
  44. 3
      icons/CMakeLists.txt
  45. 38
      kickermenu-3.3/CMakeLists.txt
  46. 4
      kickermenu-3.3/b_menuapplet.desktop
  47. 4
      kickermenu-3.3/menuapplet.cpp
  48. 3
      kickermenu/CMakeL10n.txt
  49. 28
      kickermenu/CMakeLists.txt
  50. 2
      kickermenu/menuapplet.cpp
  51. 3
      sessionapplet/CMakeL10n.txt
  52. 37
      sessionapplet/CMakeLists.txt
  53. 8
      sessionapplet/usermanager.cpp
  54. 7
      sessionapplet/usermanager.desktop
  55. 4
      sessionapplet/usermanager.h
  56. 16
      sessionapplet/usermanager.lsm
  57. 54
      sidebar/CMakeLists.txt
  58. 4
      sidebar/baghirasidebar.cpp
  59. 9
      sidebar/baghirasidebar.desktop
  60. 2
      sidebar/baghirasidebar.h
  61. 9
      sidebar/baghirasidebar_add.desktop
  62. 2
      sidebar/baghirasidebariface.h
  63. 2
      sidebar/dndlistbox.h
  64. 1
      sidebar/linkconfig.ui
  65. 2
      sidebar/linkview.h
  66. 2
      sidebar/listboxlink.h
  67. 3
      starter/CMakeL10n.txt
  68. 59
      starter/CMakeLists.txt
  69. 2
      starter/Makefile.am
  70. 9
      starter/configdialog.ui
  71. 4
      starter/menu.cpp
  72. 2
      starter/menu.h
  73. 1
      starter/po/Makefile.am
  74. 351
      starter/po/de.po
  75. 299
      starter/po/starter.pot
  76. 20
      starter/starter.cpp
  77. 4
      starter/starter.desktop
  78. 2
      starter/starter.h
  79. 6
      starter/starterconfig.ui
  80. 2
      starter/starteriface.h
  81. 103
      style/CMakeLists.txt
  82. 13
      style/baghira.cpp
  83. 1
      style/baghira.themerc
  84. 6
      style/utils.cpp
  85. 87
      translations/desktop_files/baghira-desktops.pot
  86. 90
      translations/desktop_files/de.po
  87. 34
      translations/messages/baghira-kmenuapplet/baghira-kmenuapplet.pot
  88. 529
      translations/messages/baghira-starter/baghira-starter.pot
  89. 599
      translations/messages/baghira-starter/de.po
  90. 40
      translations/messages/baghira-switcher/baghira-switcher.pot
  91. 107
      translations/messages/baghira-usermanager/baghira-usermanager.pot
  92. 887
      translations/messages/tdestyle_baghira_config/tdestyle_baghira_config.pot
  93. 350
      translations/messages/twin_baghira/twin_baghira.pot

5
.gitmodules

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

2
AUTHORS

@ -1 +1 @@
Thomas Lübking <thomas.luebking@web.de>
Thomas Lübking <thomas.luebking@web.de>

31
CMakeL10n.txt

@ -0,0 +1,31 @@
#################################################
#
# (C) 2019 Slávek Banko
# slavek.banko (AT) axis.cz
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
cmake_minimum_required( VERSION 2.8 )
##### include our cmake modules #################
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEL10n )
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )
tde_l10n_create_template(
CATALOG "desktop_files/baghira-desktops"
SOURCES
*.desktop
*.kcsrc
*.themerc
)

90
CMakeLists.txt

@ -0,0 +1,90 @@
############################################
# #
# Improvements and feedbacks are welcome #
# #
# This file is released under GPL >= 3 #
# #
############################################
cmake_minimum_required( VERSION 2.8.12 )
#### general package setup
project( tde-style-baghira )
set( VERSION R14.0.11 )
#### include essential cmake modules
include( FindPkgConfig )
include( CheckFunctionExists )
include( CheckSymbolExists )
include( CheckIncludeFile )
include( CheckLibraryExists )
include( CheckCSourceCompiles )
include( CheckCXXSourceCompiles )
#### include our cmake modules
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/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_DOC "Build documentation" ${BUILD_ALL} )
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( bab )
add_subdirectory( deco )
add_subdirectory( icons )
add_subdirectory( style )
add_subdirectory( config )
add_subdirectory( starter )
add_subdirectory( kickermenu )
add_subdirectory( colorscheme )
add_subdirectory( sessionapplet )
##### other data ################################
tde_conditional_add_project_docs( BUILD_DOC )
tde_conditional_add_project_translations( BUILD_TRANSLATIONS )
##### write configure files
configure_file( config.h.cmake config.h @ONLY )

56
ConfigureChecks.cmake

@ -0,0 +1,56 @@
###########################################
# #
# 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 )
##### check for X11
find_package( X11 )
##### check for Xext
pkg_search_module( XEXT xext )
if( NOT XEXT_FOUND )
tde_message_fatal( "Xext is required, but was not found on your system." )
endif()
##### check for sed
find_program( SED_EXECUTABLE sed )
if( NOT SED_EXECUTABLE )
tde_message_fatal( "Sed unix tool is required, but was not found on your system." )
endif()
##### check for XTest
pkg_search_module( X11_XTEST xtst )
if( NOT X11_XTest_FOUND )
tde_message_fatal( "XTest is required, but xtest was not found on your system." )
endif()

2
admin

@ -1 +1 @@
Subproject commit 04c35f89e0b556b38fa0ba19a8af6db426e59686
Subproject commit 709ea75c2c6bc299ad0469b9f5e0fb27dd300f8f

3
bab/CMakeL10n.txt

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/baghira-switcher/" )

35
bab/CMakeLists.txt

@ -0,0 +1,35 @@
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${X11_INCLUDE_DIR}
${XEXT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIBRARY_DIRS}
${X11_LIBRARY_DIRS}
${XEXT_LIBRARY_DIRS}
)
##### bab (executable)
tde_add_executable( bab AUTOMOC
SOURCES
main.cpp
styleconfdialog.cpp
bab_iface.skel
LINK
tdecore-shared
tdeui-shared
${X11_LIBRARIES}
${XEXT_LIBRARIES}
DESTINATION ${BIN_INSTALL_DIR}
)

9
bab/bab.desktop

@ -1,10 +1,11 @@
[Desktop Entry]
Encoding=UTF-8
Name=bab
Name[xx]=xxbabxx
Comment=Access to the big black cat
Encoding=UTF-8
Type=Application
Exec=bab %i %m -caption "%c"
Icon=baghira
Type=Application
X-DocPath=
Comment=Access to the big black cat
Terminal=0

4
bab/bab.h

@ -1,5 +1,5 @@
/***************************************************************************
* Copyright (C) 2004 by Thomas Lübking *
* Copyright (C) 2004 by Thomas Lübking *
* thomas@home *
* *
* This program is free software; you can redistribute it and/or modify *
@ -22,7 +22,7 @@
#define _BAB_H_
#ifdef HAVE_CONFIG_H
#include <config.h>
#include "config.h"
#endif
//#include <dcopclient.h>
#include "bab_iface.h"

16
bab/bab.lsm

@ -1,16 +0,0 @@
Begin3
Title: bab -- Some description
Version: 0.1
Entered-date:
Description:
Keywords: KDE Qt
Author: Thomas Lübking <thomas@home>
Maintained-by: Thomas Lübking <thomas@home>
Home-page:
Alternate-site:
Primary-site: ftp://ftp.kde.org/pub/kde/unstable/apps/utils
xxxxxx bab-0.1.tar.gz
xxx bab-0.1.lsm
Platform: Linux. Needs KDE
Copying-policy: GPL
End

2
bab/bab_iface.h

@ -1,5 +1,5 @@
/***************************************************************************
* Copyright (C) 2004 by Thomas Lübking *
* Copyright (C) 2004 by Thomas Lübking *
* thomas@home *
* *
* This program is free software; you can redistribute it and/or modify *

6
bab/main.cpp

@ -1,5 +1,5 @@
/***************************************************************************
* Copyright (C) 2004 by Thomas Lübking *
* Copyright (C) 2004 by Thomas Lübking *
* thomas@home *
* *
* This program is free software; you can redistribute it and/or modify *
@ -62,7 +62,7 @@ static TDECmdLineOptions options[] =
int main(int argc, char **argv)
{
TDEAboutData about("bab", I18N_NOOP("BAB - Baghira Aqua/Brushed Switcher"), version, description,
TDEAboutData about("baghira-switcher", I18N_NOOP("BAB - Baghira Aqua/Brushed Switcher"), version, description,
TDEAboutData::License_GPL, "(C) 2004/2005 Thomas Lübking", 0, 0, "baghira-style@gmx.net");
about.addAuthor( "Thomas Lübking", 0, "baghira-style@gmx.net" );
TDECmdLineArgs::init(argc, argv, &about);
@ -211,7 +211,7 @@ void bab::configureBaghira()
return;
}
void* allocPtr = library->symbol("allocate_kstyle_config");
void* allocPtr = library->symbol("allocate_tdestyle_config");
if (!allocPtr)
{

1
cmake

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

52
colorscheme/AquaBlue.kcsrc

@ -1,26 +1,26 @@
[Color Scheme]
Name=Aqua Blue
activeBackground=255,255,255
activeBlend=225,225,225
activeForeground=0,0,0
activeTitleBtnBg=80,132,185
alternateBackground=238,246,255
background=250,250,250
buttonBackground=97,136,215
buttonForeground=0,0,0
contrast=0
foreground=0,0,0
frame=255,255,255
handle=255,255,255
inactiveBackground=225,225,225
inactiveBlend=225,225,225
inactiveForeground=35,35,35
inactiveFrame=255,255,255
inactiveHandle=255,255,255
inactiveTitleBtnBg=218,238,255
linkColor=0,0,192
selectBackground=57,109,181
selectForeground=255,255,255
visitedLinkColor=128,0,128
windowBackground=255,255,255
windowForeground=0,0,0
[Color Scheme]
Name=Aqua Blue
activeBackground=255,255,255
activeBlend=225,225,225
activeForeground=0,0,0
activeTitleBtnBg=80,132,185
alternateBackground=238,246,255
background=250,250,250
buttonBackground=97,136,215
buttonForeground=0,0,0
contrast=0
foreground=0,0,0
frame=255,255,255
handle=255,255,255
inactiveBackground=225,225,225
inactiveBlend=225,225,225
inactiveForeground=35,35,35
inactiveFrame=255,255,255
inactiveHandle=255,255,255
inactiveTitleBtnBg=218,238,255
linkColor=0,0,192
selectBackground=57,109,181
selectForeground=255,255,255
visitedLinkColor=128,0,128
windowBackground=255,255,255
windowForeground=0,0,0

52
colorscheme/AquaGraphite.kcsrc

@ -1,26 +1,26 @@
[Color Scheme]
Name=Aqua Graphite
activeBackground=255,255,255
activeBlend=225,225,225
activeForeground=0,0,0
activeTitleBtnBg=131,142,155
alternateBackground=238,246,255
background=255,255,255
buttonBackground=137,145,155
buttonForeground=0,0,0
contrast=0
foreground=0,0,0
frame=255,255,255
handle=255,255,255
inactiveBackground=225,225,225
inactiveBlend=225,225,225
inactiveForeground=35,35,35
inactiveFrame=255,255,255
inactiveHandle=255,255,255
inactiveTitleBtnBg=218,238,255
linkColor=0,0,192
selectBackground=104,121,140
selectForeground=255,255,255
visitedLinkColor=128,0,128
windowBackground=255,255,255
windowForeground=0,0,0
[Color Scheme]
Name=Aqua Graphite
activeBackground=255,255,255
activeBlend=225,225,225
activeForeground=0,0,0
activeTitleBtnBg=131,142,155
alternateBackground=238,246,255
background=255,255,255
buttonBackground=137,145,155
buttonForeground=0,0,0
contrast=0
foreground=0,0,0
frame=255,255,255
handle=255,255,255
inactiveBackground=225,225,225
inactiveBlend=225,225,225
inactiveForeground=35,35,35
inactiveFrame=255,255,255
inactiveHandle=255,255,255
inactiveTitleBtnBg=218,238,255
linkColor=0,0,192
selectBackground=104,121,140
selectForeground=255,255,255
visitedLinkColor=128,0,128
windowBackground=255,255,255
windowForeground=0,0,0

6
colorscheme/CMakeLists.txt

@ -0,0 +1,6 @@
##### other data
tde_create_translated_desktop(
SOURCE AquaBlue.kcsrc AquaGraphite.kcsrc
DESTINATION ${DATA_INSTALL_DIR}/tdedisplay/color-schemes
)

8
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@

3
config/CMakeL10n.txt

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/tdestyle_baghira_config/" )

61
config/CMakeLists.txt

@ -0,0 +1,61 @@
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${X11_INCLUDE_DIR}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIBRARY_DIRS}
${X11_LIBRARY_DIRS}
)
##### pixmaps.h (header)
set( _pics ${CMAKE_SOURCE_DIR}/imagebase/button-base
${CMAKE_SOURCE_DIR}/imagebase/button-shadow
${CMAKE_SOURCE_DIR}/imagebase/brush-me
)
set( _header pixmaps.h )
add_custom_command(
OUTPUT ${_header}
COMMAND
${UIC_EXECUTABLE} -embed baghira ${_pics} |
${SED_EXECUTABLE}
-e 's|void qInitImages_baghira|static void qInitImages_baghira|'
-e 's|void qCleanupImages_baghira|static void qCleanupImages_baghira|'
> ${_header}
DEPENDS ${_pics}
)
##### tdestyle_baghira_config (kpart)
set_source_files_properties(
tdestyle_baghira_config.cpp colordialog.cpp
PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_header}
)
tde_add_kpart( tdestyle_baghira_config AUTOMOC
SOURCES
configdialog.ui
help.ui about.ui
tdestyle_baghira_config.cpp
colordialog.cpp
colorpicker.cpp
LINK
tdecore-shared
tdeui-shared
tdeio-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)

6
config/colordialog.cpp

@ -13,9 +13,9 @@
#include <kiconloader.h>
#include "colorpicker.h"
#include "pixmaps.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#ifndef CLAMP
#define CLAMP(x,l,u) x < l ? l :\
x > u ? u :\
@ -298,3 +298,5 @@ TQImage & DemoWindow::tintButton(TQImage &src, TQColor & c)
}
return ( dest );
}
#include "colordialog.moc"

2
config/colorpicker.cpp

@ -79,3 +79,5 @@ void ColorPicker::init()
{
color_ = color();
}
#include "colorpicker.moc"

19
config/configdialog.ui

@ -3016,24 +3016,5 @@
<layoutdefaults spacing="6" margin="11"/>
<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>kcolorbutton.h</includehint>
<includehint>kcolorbutton.h</includehint>
<includehint>kcolorbutton.h</includehint>
<includehint>kcolorbutton.h</includehint>
<includehint>kcolorbutton.h</includehint>
<includehint>kcolorbutton.h</includehint>
</includehints>
</UI>

3
config/help.ui

@ -298,8 +298,5 @@ for hosting the Project</string>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kactivelabel.h</includehint>
<includehint>kactivelabel.h</includehint>
<includehint>kactivelabel.h</includehint>
<includehint>kactivelabel.h</includehint>
</includehints>
</UI>

18
config/tdestyle_baghira_config.cpp

@ -1,5 +1,5 @@
/***************************************************************************
* Copyright (C) 2004 by Thomas Lübking *
* Copyright (C) 2004 by Thomas Lübking *
* thomas@home *
* *
* This program is free software; you can redistribute it and/or modify *
@ -18,6 +18,10 @@
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqdesktopwidget.h>
#include <tqlayout.h>
#include <tqpushbutton.h>
@ -63,8 +67,6 @@
#include "colordialog.h"
#include "colorpicker.h"
#include "config.h"
//#define VERSION "0.7"
#ifndef TDE_VERSION_STRING
@ -257,7 +259,7 @@ int presetColor[NUMBEROFCOLORS][3] = {{84,144,218},{130,170,190},{103,118,134},{
// --------------------------------
typedef KGenericFactory<tdestyle_baghira_config, TQWidget> tdestyle_baghira_configFactory;
K_EXPORT_COMPONENT_FACTORY( tdecm_tdestyle_baghira_config, tdestyle_baghira_configFactory("tdecmtdestyle_baghira_config"))
K_EXPORT_COMPONENT_FACTORY( tdecm_tdestyle_baghira_config, tdestyle_baghira_configFactory("tdestyle_baghira_config"))
//extern TQImage uic_findImage(const TQString& name);
//extern void qInitImages_baghira();
@ -354,9 +356,9 @@ tdestyle_baghira_config::tdestyle_baghira_config(TQWidget *parent, const char *n
about_->versionLabel->setText(VERSION);
about_->kdeLabel->setText(TDE_VERSION_STRING);
crCurrent = 0;
crNotes[0] = "<qt>© 2003-2005 by Thomas Lübking<br>http://baghira.SourceForge.net</qt>";
crNotes[1] = "<qt>© \"Design\" 2001-2005 by Apple inc.<br>http://www.apple.com";
crNotes[2] = "<qt>© \"Milk\" 2002-2005 by Max Rudberg<br>http://www.maxthemes.com</qt>";
crNotes[0] = "<qt>© 2003-2005 by Thomas Lübking<br>http://baghira.SourceForge.net</qt>";
crNotes[1] = "<qt>© \"Design\" 2001-2005 by Apple inc.<br>http://www.apple.com";
crNotes[2] = "<qt>© \"Milk\" 2002-2005 by Max Rudberg<br>http://www.maxthemes.com</qt>";
timer = new TQTimer();
connect( timer, SIGNAL(timeout()), this, SLOT(updateCR()) );
TQString tmpString(TQT_BUILD_KEY);
@ -969,7 +971,7 @@ void tdestyle_baghira_config::menuToggled(bool active)
extern "C"
{
TQWidget* allocate_tdestyle_config(TQWidget* parent){
KDE_EXPORT TQWidget* allocate_tdestyle_config(TQWidget* parent){
return(new tdestyle_baghira_config(parent, "BaghiraConfig"));
}
}

2
config/tdestyle_baghira_config.h

@ -1,5 +1,5 @@
/***************************************************************************
* Copyright (C) 2004 by Thomas Lübking *
* Copyright (C) 2004 by Thomas Lübking *
* thomas@home *
* *
* This program is free software; you can redistribute it and/or modify *

7
deco/CMakeL10n.txt

@ -0,0 +1,7 @@
##### create translation templates ##############
tde_l10n_create_template(
CATALOG "messages/twin_baghira/"
SOURCES .
X-POT ${CMAKE_SOURCE_DIR}/../../../core/tde-i18n/template/messages/tdebase/twin_clients.pot
)

84
deco/CMakeLists.txt

@ -0,0 +1,84 @@
tde_import( twin )
add_subdirectory( config )
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${X11_INCLUDE_DIR}
${XEXT_INCLUDE_DIRS}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIBRARY_DIRS}
${X11_LIBRARY_DIRS}
${XEXT_LIBRARY_DIRS}
)
##### pixmaps.h (header)
set( _pics ${CMAKE_SOURCE_DIR}/imagebase/brushed-gradient
${CMAKE_SOURCE_DIR}/imagebase/brushed-tile
${CMAKE_SOURCE_DIR}/imagebase/button_jaguar
${CMAKE_SOURCE_DIR}/imagebase/button_jaguar_down
${CMAKE_SOURCE_DIR}/imagebase/button_jaguar_menu
${CMAKE_SOURCE_DIR}/imagebase/button_jaguar_menu_down
${CMAKE_SOURCE_DIR}/imagebase/button_milk
${CMAKE_SOURCE_DIR}/imagebase/button_milk_down
${CMAKE_SOURCE_DIR}/imagebase/button_milk_menu
${CMAKE_SOURCE_DIR}/imagebase/button_milk_menu_down
${CMAKE_SOURCE_DIR}/imagebase/button_panther
${CMAKE_SOURCE_DIR}/imagebase/button_panther_menu
${CMAKE_SOURCE_DIR}/imagebase/deco_glossy
${CMAKE_SOURCE_DIR}/imagebase/icon_above
${CMAKE_SOURCE_DIR}/imagebase/icon_behind
${CMAKE_SOURCE_DIR}/imagebase/icon_close
${CMAKE_SOURCE_DIR}/imagebase/icon_help
${CMAKE_SOURCE_DIR}/imagebase/icon_maximize
${CMAKE_SOURCE_DIR}/imagebase/icon_minimize
${CMAKE_SOURCE_DIR}/imagebase/icon_shade
${CMAKE_SOURCE_DIR}/imagebase/icon_sticky
)
set( _header pixmaps.h )
add_custom_command(
OUTPUT ${_header}
COMMAND ${UIC_EXECUTABLE}
ARGS -o ${_header} -embed baghira ${_pics}
DEPENDS ${_pics}
)
##### twin3_baghira (kpart)
set_source_files_properties(
baghiraclient.cpp
PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_header}
)
tde_add_kpart( twin3_baghira AUTOMOC
SOURCES
baghiraclient.cpp
LINK
tdecore-shared
tdeui-shared
tdecorations-shared
${X11_LIBRARIES}
${XEXT_LIBRARIES}
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### other data
tde_create_translated_desktop(
SOURCE baghira.desktop
DESTINATION ${DATA_INSTALL_DIR}/twin
)

2
deco/Makefile.am

@ -14,7 +14,7 @@ EXTRA_DIST = $(twin_DATA) images
noinst_HEADERS = baghiraclient.h pixmaps.h masks.h
kde_module_LTLIBRARIES = twin3_baghira.la
twin3_baghira_la_SOURCES = baghiraclient.cc
twin3_baghira_la_SOURCES = baghiraclient.cpp
twin3_baghira_la_LIBADD = $(kde_libraries)/libtdecorations.la
twin3_baghira_la_LDFLAGS = $(all_libraries) $(LIB_QT) $(KDE_PLUGIN) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx -module
twin3_baghira_la_METASOURCES = AUTO

5
deco/baghira.desktop

@ -1,5 +1,6 @@
# KDE Desktop Entry
# TDE Desktop Entry
[Desktop Entry]
Encoding=UTF-8
Name=Baghira
Encoding=UTF-8
X-TDE-Library=twin3_baghira

26
deco/baghiraclient.cc → deco/baghiraclient.cpp

@ -3,10 +3,14 @@
// -------------------
// Baghira window decoration for KDE
// -------------------
// Copyright (c) 2004, 2005 Thomas Lübking
// Copyright (c) 2004, 2005 Thomas Lübking
// Please see the header file for copyright and license information.
//////////////////////////////////////////////////////////////////////////////
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
// #include <tdeconfig.h>
#include <tdeglobal.h>
#include <tdeglobalsettings.h>
@ -34,7 +38,6 @@
#include "baghiraclient.h"
#include "pixmaps.h"
#include "masks.h"
#include "config.h"
#define COLOR_SPACE(R,G,B) \
if ( R < 0 ) R = 0; else if ( R > 255 ) R = 255; \
@ -127,8 +130,12 @@ bool BaghiraFactory::delAppname_;
Atom baghira_deco_design = XInternAtom(tqt_xdisplay(), "BAGHIRA_DECO_DESIGN", False);
extern "C" KDecorationFactory* create_factory() {
return new Baghira::BaghiraFactory();
extern "C"
{
KDE_EXPORT KDecorationFactory* create_factory()
{
return new Baghira::BaghiraFactory();
}
}
DeMaximizer::DeMaximizer() : TQWidget(0, "deMaximizer", TQt::WType_TopLevel | TQt::WStyle_NoBorder | TQt::WX11BypassWM )
@ -290,6 +297,9 @@ void ResizeHandle::paintEvent ( TQPaintEvent * )
// Constructor
BaghiraFactory::BaghiraFactory() {
TDEGlobal::locale()->insertCatalogue("twin_clients");
TDEGlobal::locale()->insertCatalogue("twin_baghira");
helpMask = TQBitmap( 14, 15, help_bits, true );
jaguarDownMask = TQBitmap( 14, 15, jaguar2_bits, true );
jaguarMenuDownMask = TQBitmap( 20, 15, jaguar_menu_down_bits, true );
@ -836,10 +846,10 @@ static bool blend( const TQImage & upper, const TQImage & lower, TQImage & outpu
output = lower.copy();
register uchar *i, *o;
register int a;
register int col;
register int w = upper.width();
uchar *i, *o;
int a;
int col;
int w = upper.width();
int row(upper.height() - 1);
do

2
deco/baghiraclient.h

@ -3,7 +3,7 @@
// -------------------
// Baghira window decoration for KDE
// -------------------
// Copyright (c) 2004, 2005 Thomas Lübking
// Copyright (c) 2004, 2005 Thomas Lübking
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to

51
deco/config/CMakeLists.txt

@ -0,0 +1,51 @@
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}
)
##### pixmaps.h (header)
set( _pics ${CMAKE_SOURCE_DIR}/imagebase/icon_help
${CMAKE_SOURCE_DIR}/imagebase/preview
${CMAKE_SOURCE_DIR}/imagebase/preview-menu
)
set( _header pixmaps.h )
add_custom_command(
OUTPUT ${_header}
COMMAND ${UIC_EXECUTABLE}
ARGS -o ${_header} -embed baghira ${_pics}
DEPENDS ${_pics}
)
##### twin_baghira_config (kpart)
set_source_files_properties(
baghiraconfig.cpp
PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_header}
)
tde_add_kpart( twin_baghira_config AUTOMOC
SOURCES
configdialog.ui
baghiraconfig.cpp
aquariusbutton.cpp
colorpicker.cpp
LINK
tdecore-shared
tdeui-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)

2
deco/config/Makefile.am

@ -7,7 +7,7 @@ INCLUDES = $(all_includes) -I$(srcdir)/../../config
noinst_HEADERS = baghiraconfig.h aquariusbutton.h colorpicker.h pixmaps.h
kde_module_LTLIBRARIES = twin_baghira_config.la
twin_baghira_config_la_SOURCES = baghiraconfig.cc aquariusbutton.cc colorpicker.cc configdialog.ui
twin_baghira_config_la_SOURCES = baghiraconfig.cpp aquariusbutton.cpp colorpicker.cpp configdialog.ui
twin_baghira_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
twin_baghira_config_la_LIBADD = $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI)
twin_baghira_config_la_METASOURCES = AUTO

16
deco/config/aquariusbutton.cc → deco/config/aquariusbutton.cpp

@ -1,10 +1,12 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "aquariusbutton.h"
#include <tqcolor.h>
#include <tqpixmap.h>
#include <tqpainter.h>
#include <kimageeffect.h>
#include "config.h"
#define COLOR_SPACE(R,G,B) \
if ( R < 0 ) R = 0; else if ( R > 255 ) R = 255; \
@ -47,10 +49,10 @@ static bool blend( const TQImage & upper, const TQImage & lower, TQImage & outpu
output = lower.copy();
register uchar *i, *o;
register int a;
register int col;
register int w = upper.width();
uchar *i, *o;
int a;
int col;
int w = upper.width();
int row(upper.height() - 1);
do
@ -160,3 +162,5 @@ void AquariusButton::paintEvent( TQPaintEvent *e){
// void AquariusButton::clicked(){
// }
#include "aquariusbutton.moc"

19
deco/config/baghiraconfig.cc → deco/config/baghiraconfig.cpp

@ -1,9 +1,9 @@
//////////////////////////////////////////////////////////////////////////////
// baghiraconfig.cc
// baghiraconfig.cpp
// -------------------
// Config module for Baghira window decoration
// -------------------
// Copyright (c) 2004 Thomas Lübking
// Copyright (c) 2004 Thomas Lübking
// Please see the header file for copyright and license information.
//////////////////////////////////////////////////////////////////////////////
@ -44,7 +44,8 @@ BaghiraConfig::BaghiraConfig(TDEConfig*, TQWidget* parent)
// config_ = new TDEConfig("baghirarc");
// config_ = new TQSettings;
// config_->beginGroup("/baghira/Deco");
TDEGlobal::locale()->insertCatalogue("twin_baghira_config");
TDEGlobal::locale()->insertCatalogue("twin_clients");
TDEGlobal::locale()->insertCatalogue("twin_baghira");
dialog_ = new ConfigDialog(parent);
buttonDialog_ = new ButtonColors(parent, "Button Colors");
@ -714,16 +715,16 @@ void ButtonColors::init(){
behindColor->init();
shadeColor->init();
}
//////////////////////////////////////////////////////////////////////////////
// Plugin Stuff //
//////////////////////////////////////////////////////////////////////////////
extern "C"
{
TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
{
KDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
return(new BaghiraConfig(config, parent));
}
}
}
#include "baghiraconfig.moc"

19
deco/config/baghiraconfig.cc.new → deco/config/baghiraconfig.cpp.new

@ -1,9 +1,9 @@
//////////////////////////////////////////////////////////////////////////////
// baghiraconfig.cc
// baghiraconfig.cpp
// -------------------
// Config module for Baghira window decoration
// -------------------
// Copyright (c) 2004 Thomas Lübking
// Copyright (c) 2004 Thomas Lübking
// Please see the header file for copyright and license information.
//////////////////////////////////////////////////////////////////////////////
@ -45,7 +45,8 @@ BaghiraConfig::BaghiraConfig(TDEConfig*, TQWidget* parent)
// config_ = new TDEConfig("baghirarc");
// config_ = new TQSettings;
// config_->beginGroup("/baghira/Deco");
TDEGlobal::locale()->insertCatalogue("twin_baghira_config");
TDEGlobal::locale()->insertCatalogue("twin_clients");
TDEGlobal::locale()->insertCatalogue("twin_baghira");
dialog_ = new ConfigDialog(parent);
buttonDialog_ = new ButtonColors(parent, "Button Colors");
@ -715,16 +716,16 @@ void ButtonColors::init(){
behindColor->init();
shadeColor->init();
}
//////////////////////////////////////////////////////////////////////////////
// Plugin Stuff //
//////////////////////////////////////////////////////////////////////////////
extern "C"
{
TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
{
KDE_EXPORT TQObject* allocate_config(TDEConfig* config, TQWidget* parent) {
return(new BaghiraConfig(config, parent));
}
}
}
#include "baghiraconfig.moc"

2
deco/config/baghiraconfig.h

@ -3,7 +3,7 @@
// -------------------
// Config module for Baghira window decoration
// -------------------
// Copyright (c) 2004 Thomas Lübking
// Copyright (c) 2004 Thomas Lübking
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to

2
deco/config/baghiraconfig.h.new

@ -3,7 +3,7 @@
// -------------------
// Config module for Baghira window decoration
// -------------------
// Copyright (c) 2004 Thomas Lübking
// Copyright (c) 2004 Thomas Lübking
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to

4
deco/config/colorpicker.cc → deco/config/colorpicker.cpp

@ -121,4 +121,6 @@ void ColorPicker::reset(){
void ColorPicker::init(){
color_ = Color();
}
}
#include "colorpicker.moc"

17
deco/config/configdialog.ui

@ -3067,22 +3067,5 @@ from multipart titles</string>
<layoutdefaults spacing="6" margin="11"/>
<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>kcolorbutton.h</includehint>
<includehint>kcolorbutton.h</includehint>
<includehint>kcolorbutton.h</includehint>
<includehint>kcolorbutton.h</includehint>
</includehints>
</UI>

3
deco/config/customdecosettings.ui

@ -579,8 +579,5 @@
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kcolorbutton.h</includehint>
<includehint>kcolorbutton.h</includehint>
<includehint>kcolorbutton.h</includehint>
<includehint>kcolorbutton.h</includehint>
</includehints>
</UI>

36
doc/man/bab.1

@ -0,0 +1,36 @@
.\" Author: Jose Luis Tallon <jltallon@adv-solutions.net>
.\"
.\" This is free software; you may redistribute it and/or modify
.\" it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2,
.\" or (at your option) any later version.
.\"
.\" This is distributed in the hope that it will be useful, but
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with the Debian GNU/Linux system; if not, write to the Free
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
.\" 02111-1307 USA
.TH bab "1" "October 2004"
.SH NAME
bab \- Baghira's config tray applet
.SH SYNOPSIS
bab
.SH DESCRIPTION
.B bab
is a simple systray application, which enables you to dinamically
change some aspects of Baghira's configuration without accesing
Trinity Control Center
.PP
Complete documentation can be found in docbook format in
/opt/trinity/share/doc/kde/HTML/<lang>/baghira/ on this system.
.SH AUTHOR
Thomas L\[:u]bking <baghira-style@users.sourceforge.net>
.PP
This manual page was written by Jose Luis Tallon
.nh
<jltallon@adv\-solutions.net>
for the \fBDebian\fP system (but may be used by others).

3
icons/CMakeLists.txt

@ -0,0 +1,3 @@
##### icons
tde_install_icons()

38
kickermenu-3.3/CMakeLists.txt

@ -0,0 +1,38 @@
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
${X11_INCLUDE_DIR}
)
link_directories(
${TQT_LIBRARY_DIRS}
${TDE_LIBRARY_DIRS}
${X11_LIBRARY_DIRS}
)
##### b_menu_panelapplet (kpart)
tde_add_kpart( b_menu_panelapplet AUTOMOC
SOURCES
menuapplet.cpp
menuapplet.skel
LINK
tdecore-shared
tdeui-shared
DESTINATION ${PLUGIN_INSTALL_DIR}
)
##### other data
tde_create_translated_desktop(
SOURCE b_menuapplet.desktop
DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
)

4
kickermenu-3.3/b_menuapplet.desktop

@ -1,9 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Name=Baghira Menu
Comment=Applet embedding standalone menubars (Patched baghira version)
Encoding=UTF-8
Icon=menu
X-TDE-Library=b_menu_panelapplet
X-TDE-UniqueApplet=true

4
kickermenu-3.3/menuapplet.cpp

@ -61,9 +61,9 @@ extern Time tqt_x_time;
extern "C"
{
KPanelApplet* init( TQWidget* parent_P, const TQString& configFile_P )
KDE_EXPORT KPanelApplet* init( TQWidget* parent_P, const TQString& configFile_P )
{
TDEGlobal::locale()->insertCatalogue("kmenuapplet");
TDEGlobal::locale()->insertCatalogue("baghira-kmenuapplet");
return new KickerMenuApplet::Applet( configFile_P, parent_P );
}
}

3
kickermenu/CMakeL10n.txt

@ -0,0 +1,3 @@
##### create translation templates ##############
tde_l10n_create_template( "messages/baghira-kmenuapplet/" )

28
kickermenu/CMakeLists.txt

@ -0,0 +1,28 @@
include_directories(
${CMAKE_BINARY_DIR}
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TDE_INCLUDE_