Rename kwin to twin (part 1 of 2)

pull/1/head
Timothy Pearson 13 years ago
parent 430baee366
commit a5355f1513

@ -53,7 +53,7 @@ option( BUILD_EMOTICONS "Build emoticons" ${BUILD_ALL} )
option( BUILD_ICEWM_THEMES "Build icewm-themes" ${BUILD_ALL} ) option( BUILD_ICEWM_THEMES "Build icewm-themes" ${BUILD_ALL} )
option( BUILD_ICON_THEMES "Build icon themes" ${BUILD_ALL} ) option( BUILD_ICON_THEMES "Build icon themes" ${BUILD_ALL} )
option( BUILD_KSCREENSAVER "Build kscreensaver" ${BUILD_ALL} ) option( BUILD_KSCREENSAVER "Build kscreensaver" ${BUILD_ALL} )
option( BUILD_KWIN_STYLES "Build kwin styles" ${BUILD_ALL} ) option( BUILD_KWIN_STYLES "Build twin styles" ${BUILD_ALL} )
option( BUILD_KWORLDCLOCK "Build kworldclock" ${BUILD_ALL} ) option( BUILD_KWORLDCLOCK "Build kworldclock" ${BUILD_ALL} )
option( BUILD_SOUNDS "Build sounds" ${BUILD_ALL} ) option( BUILD_SOUNDS "Build sounds" ${BUILD_ALL} )
option( BUILD_STYLES "Build styles" ${BUILD_ALL} ) option( BUILD_STYLES "Build styles" ${BUILD_ALL} )
@ -80,7 +80,7 @@ tde_conditional_add_subdirectory( BUILD_EMOTICONS emoticons )
tde_conditional_add_subdirectory( BUILD_ICEWM_THEMES icewm-themes ) tde_conditional_add_subdirectory( BUILD_ICEWM_THEMES icewm-themes )
tde_conditional_add_subdirectory( BUILD_ICON_THEMES IconThemes ) tde_conditional_add_subdirectory( BUILD_ICON_THEMES IconThemes )
tde_conditional_add_subdirectory( BUILD_KSCREENSAVER kscreensaver ) tde_conditional_add_subdirectory( BUILD_KSCREENSAVER kscreensaver )
tde_conditional_add_subdirectory( BUILD_KWIN_STYLES kwin-styles ) tde_conditional_add_subdirectory( BUILD_KWIN_STYLES twin-styles )
tde_conditional_add_subdirectory( BUILD_KWORLDCLOCK kworldclock ) tde_conditional_add_subdirectory( BUILD_KWORLDCLOCK kworldclock )
tde_conditional_add_subdirectory( BUILD_SOUNDS sounds ) tde_conditional_add_subdirectory( BUILD_SOUNDS sounds )
tde_conditional_add_subdirectory( BUILD_STYLES styles ) tde_conditional_add_subdirectory( BUILD_STYLES styles )

@ -23,4 +23,4 @@ install( FILES
titleAT.xpm titleIB.xpm titleIL.xpm titleAT.xpm titleIB.xpm titleIL.xpm
titleIM.xpm titleIR.xpm titleIT.xpm titleIM.xpm titleIR.xpm titleIT.xpm
default.theme default.theme
DESTINATION ${DATA_INSTALL_DIR}/kwin/icewm-themes/MenschMaschine ) DESTINATION ${DATA_INSTALL_DIR}/twin/icewm-themes/MenschMaschine )

@ -4,5 +4,5 @@ pics_DATA = closeA.xpm closeI.xpm frameAB.xpm frameABL.xpm frameABR.xpm frameAL.
minimizeI.xpm restoreA.xpm restoreI.xpm titleAB.xpm titleAL.xpm titleAM.xpm titleAR.xpm titleAT.xpm \ minimizeI.xpm restoreA.xpm restoreI.xpm titleAB.xpm titleAL.xpm titleAM.xpm titleAR.xpm titleAT.xpm \
titleIB.xpm titleIL.xpm titleIM.xpm titleIR.xpm titleIT.xpm default.theme titleIB.xpm titleIL.xpm titleIM.xpm titleIR.xpm titleIT.xpm default.theme
picsdir = $(kde_datadir)/kwin/icewm-themes/MenschMaschine picsdir = $(kde_datadir)/twin/icewm-themes/MenschMaschine

@ -1,7 +1,7 @@
# MenschMaschine # MenschMaschine
# by qwertz kraftw@gmx.de for KDE2.2 # by qwertz kraftw@gmx.de for KDE2.2
ThemeDescription="MenschMaschine(kwin)" ThemeDescription="MenschMaschine(twin)"
ThemeAuthor="kraftw@gmx.de" ThemeAuthor="kraftw@gmx.de"
Look=pixmap Look=pixmap

@ -22,4 +22,4 @@ install( FILES
titleAL.xpm titleAM.xpm titleAT.xpm titleAL.xpm titleAM.xpm titleAT.xpm
titleIB.xpm titleIL.xpm titleIM.xpm titleIB.xpm titleIL.xpm titleIM.xpm
titleIT.xpm default.theme titleIT.xpm default.theme
DESTINATION ${DATA_INSTALL_DIR}/kwin/icewm-themes/Model ) DESTINATION ${DATA_INSTALL_DIR}/twin/icewm-themes/Model )

@ -5,4 +5,4 @@ pics_DATA = closeA.xpm closeI.xpm frameAB.xpm frameABL.xpm frameABR.xpm frameAL.
titleAB.xpm titleAL.xpm titleAM.xpm titleAT.xpm titleIB.xpm titleIL.xpm titleIM.xpm \ titleAB.xpm titleAL.xpm titleAM.xpm titleAT.xpm titleIB.xpm titleIL.xpm titleIM.xpm \
titleIT.xpm default.theme titleIT.xpm default.theme
picsdir = $(kde_datadir)/kwin/icewm-themes/Model picsdir = $(kde_datadir)/twin/icewm-themes/Model

@ -1,7 +1,7 @@
# Model # Model
# by qwertz kraftw@gmx.de for KDE2.2 # by qwertz kraftw@gmx.de for KDE2.2
ThemeDescription="Model(kwin)" ThemeDescription="Model(twin)"
ThemeAuthor="kraftw@gmx.de" ThemeAuthor="kraftw@gmx.de"
Look=pixmap Look=pixmap

@ -9,7 +9,7 @@
# #
################################################# #################################################
include( "${TDE_CMAKE_DIR}/kwin.cmake" ) include( "${TDE_CMAKE_DIR}/twin.cmake" )
add_subdirectory( cde ) add_subdirectory( cde )
add_subdirectory( glow ) add_subdirectory( glow )

@ -1,4 +1,4 @@
SUBDIRS = kstep glow cde icewm openlook kde1 system riscos smooth-blend SUBDIRS = kstep glow cde icewm openlook kde1 system riscos smooth-blend
messages: messages:
$(XGETTEXT) `find . -name \*.cpp` -o $(podir)/kwin_art_clients.pot $(XGETTEXT) `find . -name \*.cpp` -o $(podir)/twin_art_clients.pot

@ -23,11 +23,11 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES cde.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) install( FILES cde.desktop DESTINATION ${DATA_INSTALL_DIR}/twin )
##### kwin3_cde ################################## ##### twin3_cde ##################################
tde_add_kpart( kwin3_cde AUTOMOC tde_add_kpart( twin3_cde AUTOMOC
SOURCES cdeclient.cpp SOURCES cdeclient.cpp
LINK tdecorations-shared LINK tdecorations-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}

@ -3,16 +3,16 @@ INCLUDES = $(all_includes)
SUBDIRS = . config SUBDIRS = . config
kde_module_LTLIBRARIES = kwin3_cde.la kde_module_LTLIBRARIES = twin3_cde.la
kwin3_cde_la_SOURCES = cdeclient.cpp twin3_cde_la_SOURCES = cdeclient.cpp
kwin3_cde_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx twin3_cde_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx
kwin3_cde_la_LIBADD = -ltdecorations twin3_cde_la_LIBADD = -ltdecorations
METASOURCES = AUTO METASOURCES = AUTO
noinst_HEADERS = cdeclient.h noinst_HEADERS = cdeclient.h
lnkdir = $(kde_datadir)/kwin/ lnkdir = $(kde_datadir)/twin/
lnk_DATA = cde.desktop lnk_DATA = cde.desktop
EXTRA_DIST = $(lnk_DATA) EXTRA_DIST = $(lnk_DATA)

@ -3,4 +3,4 @@ Name=CDE
Name[af]=Cde Name[af]=Cde
Name[hi]=सीडीई Name[hi]=सीडीई
Name[ne]=सीडीई Name[ne]=सीडीई
X-KDE-Library=kwin3_cde X-KDE-Library=twin3_cde

@ -150,7 +150,7 @@ static int scaleCoord(int c)
static void readConfig(CdeClientFactory *f) static void readConfig(CdeClientFactory *f)
{ {
KConfig conf( "kwincderc" ); KConfig conf( "twincderc" );
conf.setGroup("General"); conf.setGroup("General");
coloredFrame = conf.readBoolEntry( "UseTitleBarBorderColors", true ); coloredFrame = conf.readBoolEntry( "UseTitleBarBorderColors", true );

@ -19,9 +19,9 @@ link_directories(
${TQT_LIBRARY_DIRS} ${TQT_LIBRARY_DIRS}
) )
##### kwin_cde_config (module) ################### ##### twin_cde_config (module) ###################
tde_add_kpart( kwin_cde_config AUTOMOC tde_add_kpart( twin_cde_config AUTOMOC
SOURCES config.cpp SOURCES config.cpp
LINK tdeui-shared LINK tdeui-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}

@ -1,15 +1,15 @@
INCLUDES = $(all_includes) INCLUDES = $(all_includes)
kde_module_LTLIBRARIES = kwin_cde_config.la kde_module_LTLIBRARIES = twin_cde_config.la
kwin_cde_config_la_SOURCES = config.cpp twin_cde_config_la_SOURCES = config.cpp
kwin_cde_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx twin_cde_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx
kwin_cde_config_la_LIBADD = $(LIB_TDEUI) twin_cde_config_la_LIBADD = $(LIB_TDEUI)
METASOURCES = AUTO METASOURCES = AUTO
noinst_HEADERS = config.h noinst_HEADERS = config.h
lnkdir = $(kde_datadir)/kwin/ lnkdir = $(kde_datadir)/twin/
###KMAKE-start (don't edit or delete this block) ###KMAKE-start (don't edit or delete this block)

@ -13,18 +13,18 @@ extern "C" KDE_EXPORT TQObject* allocate_config( KConfig* conf, TQWidget* parent
/* NOTE: /* NOTE:
* 'conf' is a pointer to the kwindecoration modules open kwin config, * 'conf' is a pointer to the twindecoration modules open twin config,
* and is by default set to the "Style" group. * and is by default set to the "Style" group.
* *
* 'parent' is the parent of the TQObject, which is a VBox inside the * 'parent' is the parent of the TQObject, which is a VBox inside the
* Configure tab in kwindecoration * Configure tab in twindecoration
*/ */
CdeConfig::CdeConfig( KConfig* conf, TQWidget* parent ) CdeConfig::CdeConfig( KConfig* conf, TQWidget* parent )
: TQObject( parent ) : TQObject( parent )
{ {
cdeConfig = new KConfig("kwincderc"); cdeConfig = new KConfig("twincderc");
KGlobal::locale()->insertCatalogue("kwin_art_clients"); KGlobal::locale()->insertCatalogue("twin_art_clients");
groupBox = new TQVBox( parent ); groupBox = new TQVBox( parent );
@ -57,7 +57,7 @@ CdeConfig::CdeConfig( KConfig* conf, TQWidget* parent )
// connect( cbTitlebarButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotSelectionChanged()) ); // connect( cbTitlebarButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotSelectionChanged()) );
connect( bgAlign, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotSelectionChanged(int)) ); connect( bgAlign, TQT_SIGNAL(clicked(int)), TQT_SLOT(slotSelectionChanged(int)) );
// Make the widgets visible in kwindecoration // Make the widgets visible in twindecoration
groupBox->show(); groupBox->show();
} }
@ -80,8 +80,8 @@ void CdeConfig::slotSelectionChanged( int )
emit changed(); emit changed();
} }
// Loads the configurable options from the kwinrc config file // Loads the configurable options from the twinrc config file
// It is passed the open config from kwindecoration to improve efficiency // It is passed the open config from twindecoration to improve efficiency
void CdeConfig::load( KConfig* /*conf*/ ) void CdeConfig::load( KConfig* /*conf*/ )
{ {
cdeConfig->setGroup("General"); cdeConfig->setGroup("General");
@ -99,7 +99,7 @@ void CdeConfig::load( KConfig* /*conf*/ )
} }
// Saves the configurable options to the kwinrc config file // Saves the configurable options to the twinrc config file
void CdeConfig::save( KConfig* /*conf*/ ) void CdeConfig::save( KConfig* /*conf*/ )
{ {
cdeConfig->setGroup("General"); cdeConfig->setGroup("General");

@ -1,3 +1,3 @@
if test "x$kde_use_qt_mac" = "xyes"; then if test "x$kde_use_qt_mac" = "xyes"; then
DO_NOT_COMPILE="$DO_NOT_COMPILE kwin-styles" DO_NOT_COMPILE="$DO_NOT_COMPILE twin-styles"
fi fi

@ -24,11 +24,11 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES glow.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) install( FILES glow.desktop DESTINATION ${DATA_INSTALL_DIR}/twin )
##### kwin3_glow ################################ ##### twin3_glow ################################
tde_add_kpart( kwin3_glow AUTOMOC tde_add_kpart( twin3_glow AUTOMOC
SOURCES glowbutton.cpp glowclient.cpp SOURCES glowbutton.cpp glowclient.cpp
LINK tdecorations-shared LINK tdecorations-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}

@ -3,16 +3,16 @@ INCLUDES = $(all_includes)
SUBDIRS = . config themes SUBDIRS = . config themes
kde_module_LTLIBRARIES = kwin3_glow.la kde_module_LTLIBRARIES = twin3_glow.la
kwin3_glow_la_SOURCES = glowclient.cpp glowbutton.cpp twin3_glow_la_SOURCES = glowclient.cpp glowbutton.cpp
kwin3_glow_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx twin3_glow_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx
kwin3_glow_la_LIBADD = $(LIB_TDECORE) -ltdecorations twin3_glow_la_LIBADD = $(LIB_TDECORE) -ltdecorations
METASOURCES = AUTO METASOURCES = AUTO
noinst_HEADERS = glowclient.h glowbutton.h resources.h noinst_HEADERS = glowclient.h glowbutton.h resources.h
linkdir = $(kde_datadir)/kwin/ linkdir = $(kde_datadir)/twin/
link_DATA = glow.desktop link_DATA = glow.desktop
EXTRA_DIST = $(link_DATA) EXTRA_DIST = $(link_DATA)

@ -19,9 +19,9 @@ link_directories(
${TQT_LIBRARY_DIRS} ${TQT_LIBRARY_DIRS}
) )
##### kwin_glow_config (module) ################## ##### twin_glow_config (module) ##################
tde_add_kpart( kwin_glow_config AUTOMOC tde_add_kpart( twin_glow_config AUTOMOC
SOURCES glowconfigdialog.cpp SOURCES glowconfigdialog.cpp
LINK tdeui-shared LINK tdeui-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}

@ -1,15 +1,15 @@
INCLUDES = $(all_includes) INCLUDES = $(all_includes)
kde_module_LTLIBRARIES = kwin_glow_config.la kde_module_LTLIBRARIES = twin_glow_config.la
kwin_glow_config_la_SOURCES = glowconfigdialog.cpp twin_glow_config_la_SOURCES = glowconfigdialog.cpp
kwin_glow_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx twin_glow_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx
kwin_glow_config_la_LIBADD = $(LIB_TDEUI) twin_glow_config_la_LIBADD = $(LIB_TDEUI)
METASOURCES = AUTO METASOURCES = AUTO
noinst_HEADERS = glowconfigdialog.h noinst_HEADERS = glowconfigdialog.h
lnkdir = $(kde_datadir)/kwin/ lnkdir = $(kde_datadir)/twin/
###KMAKE-start (don't edit or delete this block) ###KMAKE-start (don't edit or delete this block)

@ -54,8 +54,8 @@ extern "C"
GlowConfigDialog::GlowConfigDialog( KConfig * conf, TQWidget * parent ) GlowConfigDialog::GlowConfigDialog( KConfig * conf, TQWidget * parent )
: TQObject(parent) : TQObject(parent)
{ {
_glowConfig = new KConfig("kwinglowrc"); _glowConfig = new KConfig("twinglowrc");
KGlobal::locale()->insertCatalogue("kwin_glow_config"); KGlobal::locale()->insertCatalogue("twin_glow_config");
_main_group_box = new TQWidget(parent); _main_group_box = new TQWidget(parent);
TQVBoxLayout *main_group_boxLayout = new TQVBoxLayout(_main_group_box); TQVBoxLayout *main_group_boxLayout = new TQVBoxLayout(_main_group_box);
@ -273,7 +273,7 @@ void GlowConfigDialog::defaults()
void GlowConfigDialog::slotLoadThemeList () void GlowConfigDialog::slotLoadThemeList ()
{ {
TQStringList dir_list=KGlobal::dirs()->findDirs("data", "kwin/glow-themes"); TQStringList dir_list=KGlobal::dirs()->findDirs("data", "twin/glow-themes");
TQStringList::ConstIterator it; TQStringList::ConstIterator it;

@ -46,4 +46,4 @@ Name[vi]=Hào quang
Name[xh]=Qukuqela Name[xh]=Qukuqela
Name[zh_CN]=光芒 Name[zh_CN]=光芒
Name[zu]=Khanya Name[zu]=Khanya
X-KDE-Library=kwin3_glow X-KDE-Library=twin3_glow

@ -51,7 +51,7 @@ GlowClientConfig::GlowClientConfig()
void GlowClientConfig::load(KDecorationFactory *factory) void GlowClientConfig::load(KDecorationFactory *factory)
{ {
KConfig conf("kwinglowrc"); KConfig conf("twinglowrc");
conf.setGroup("General"); conf.setGroup("General");
const TQColor defaultCloseButtonColor(DEFAULT_CLOSE_BUTTON_COLOR); const TQColor defaultCloseButtonColor(DEFAULT_CLOSE_BUTTON_COLOR);
@ -165,7 +165,7 @@ GlowClientGlobals::borderSizes() const
void GlowClientGlobals::readTheme() void GlowClientGlobals::readTheme()
{ {
TQString theme_config_file = KGlobal::dirs()->findResource ("data", TQString theme_config_file = KGlobal::dirs()->findResource ("data",
TQString("kwin/glow-themes/") + config()->themeName + "/" + TQString("twin/glow-themes/") + config()->themeName + "/" +
config()->themeName + ".theme"); config()->themeName + ".theme");
if (theme_config_file.isNull()) if (theme_config_file.isNull())
{ {
@ -291,7 +291,7 @@ const TQString GlowClientGlobals::getPixmapTypeName(PixmapType type)
bool GlowClientGlobals::createPixmap(PixmapType type, bool isActive) bool GlowClientGlobals::createPixmap(PixmapType type, bool isActive)
{ {
TQString theme_dir = KGlobal::dirs()->findResource ("data", TQString theme_dir = KGlobal::dirs()->findResource ("data",
TQString("kwin/glow-themes/") + _config->themeName + "/"); TQString("twin/glow-themes/") + _config->themeName + "/");
TQColor glow_color; TQColor glow_color;
TQColor color = options()->color(ColorButtonBg, isActive); TQColor color = options()->color(ColorButtonBg, isActive);

@ -19,4 +19,4 @@ install( FILES
stickyon.png stickyon_glow.png stickyon.png stickyon_glow.png
stickyoff.png stickyoff_glow.png stickyoff.png stickyoff_glow.png
default.theme default.theme
DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/default ) DESTINATION ${DATA_INSTALL_DIR}/twin/glow-themes/default )

@ -1,4 +1,4 @@
linkdir = $(kde_datadir)/kwin/glow-themes/default linkdir = $(kde_datadir)/twin/glow-themes/default
link_DATA = \ link_DATA = \
background.png \ background.png \
help.png help_glow.png \ help.png help_glow.png \

@ -19,4 +19,4 @@ install( FILES
stickyon.png stickyon_glow.png stickyon.png stickyon_glow.png
stickyoff.png stickyoff_glow.png stickyoff.png stickyoff_glow.png
glass.theme glass.theme
DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/glass ) DESTINATION ${DATA_INSTALL_DIR}/twin/glow-themes/glass )

@ -1,4 +1,4 @@
linkdir = $(kde_datadir)/kwin/glow-themes/glass linkdir = $(kde_datadir)/twin/glow-themes/glass
link_DATA = \ link_DATA = \
background.png \ background.png \
help.png help_glow.png \ help.png help_glow.png \

@ -19,4 +19,4 @@ install( FILES
stickyon.png stickyon_glow.png stickyon.png stickyon_glow.png
stickyoff.png stickyoff_glow.png stickyoff.png stickyoff_glow.png
glass_huge.theme glass_huge.theme
DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/glass_huge ) DESTINATION ${DATA_INSTALL_DIR}/twin/glow-themes/glass_huge )

@ -1,4 +1,4 @@
linkdir = $(kde_datadir)/kwin/glow-themes/glass_huge linkdir = $(kde_datadir)/twin/glow-themes/glass_huge
link_DATA = \ link_DATA = \
background.png \ background.png \
help.png help_glow.png \ help.png help_glow.png \

@ -19,4 +19,4 @@ install( FILES
stickyon.png stickyon_glow.png stickyon.png stickyon_glow.png
stickyoff.png stickyoff_glow.png stickyoff.png stickyoff_glow.png
glass_large.theme glass_large.theme
DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/glass_large ) DESTINATION ${DATA_INSTALL_DIR}/twin/glow-themes/glass_large )

@ -1,4 +1,4 @@
linkdir = $(kde_datadir)/kwin/glow-themes/glass_large linkdir = $(kde_datadir)/twin/glow-themes/glass_large
link_DATA = \ link_DATA = \
background.png \ background.png \
help.png help_glow.png \ help.png help_glow.png \

@ -19,4 +19,4 @@ install( FILES
stickyon.png stickyon_glow.png stickyon.png stickyon_glow.png
stickyoff.png stickyoff_glow.png stickyoff.png stickyoff_glow.png
glass_verylarge.theme glass_verylarge.theme
DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/glass_verylarge ) DESTINATION ${DATA_INSTALL_DIR}/twin/glow-themes/glass_verylarge )

@ -1,4 +1,4 @@
linkdir = $(kde_datadir)/kwin/glow-themes/glass_verylarge linkdir = $(kde_datadir)/twin/glow-themes/glass_verylarge
link_DATA = \ link_DATA = \
background.png \ background.png \
help.png help_glow.png \ help.png help_glow.png \

@ -19,4 +19,4 @@ install( FILES
stickyon.png stickyon_glow.png stickyon.png stickyon_glow.png
stickyoff.png stickyoff_glow.png stickyoff.png stickyoff_glow.png
square.theme square.theme
DESTINATION ${DATA_INSTALL_DIR}/kwin/glow-themes/square ) DESTINATION ${DATA_INSTALL_DIR}/twin/glow-themes/square )

@ -1,4 +1,4 @@
linkdir = $(kde_datadir)/kwin/glow-themes/square linkdir = $(kde_datadir)/twin/glow-themes/square
link_DATA = \ link_DATA = \
background.png \ background.png \
help.png help_glow.png \ help.png help_glow.png \

@ -24,11 +24,11 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES icewm.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) install( FILES icewm.desktop DESTINATION ${DATA_INSTALL_DIR}/twin )
##### kwin3_icewm ############################### ##### twin3_icewm ###############################
tde_add_kpart( kwin3_icewm AUTOMOC tde_add_kpart( twin3_icewm AUTOMOC
SOURCES icewm.cpp SOURCES icewm.cpp
LINK tdecorations-shared LINK tdecorations-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}

@ -2,16 +2,16 @@ INCLUDES = $(all_includes)
SUBDIRS = . config icewm-themes SUBDIRS = . config icewm-themes
kde_module_LTLIBRARIES = kwin3_icewm.la kde_module_LTLIBRARIES = twin3_icewm.la
kwin3_icewm_la_SOURCES = icewm.cpp twin3_icewm_la_SOURCES = icewm.cpp
kwin3_icewm_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx twin3_icewm_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx
kwin3_icewm_la_LIBADD = $(LIB_TDEUI) -ltdecorations twin3_icewm_la_LIBADD = $(LIB_TDEUI) -ltdecorations
METASOURCES = AUTO METASOURCES = AUTO
noinst_HEADERS = icewm.h noinst_HEADERS = icewm.h
lnkdir = $(kde_datadir)/kwin/ lnkdir = $(kde_datadir)/twin/
lnk_DATA = icewm.desktop lnk_DATA = icewm.desktop
EXTRA_DIST = $(lnk_DATA) EXTRA_DIST = $(lnk_DATA)

@ -19,9 +19,9 @@ link_directories(
${TQT_LIBRARY_DIRS} ${TQT_LIBRARY_DIRS}
) )
##### kwin_icewm_config (module) ################ ##### twin_icewm_config (module) ################
tde_add_kpart( kwin_icewm_config AUTOMOC tde_add_kpart( twin_icewm_config AUTOMOC
SOURCES config.cpp SOURCES config.cpp
LINK tdeui-shared kio-shared LINK tdeui-shared kio-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}

@ -1,15 +1,15 @@
INCLUDES = $(all_includes) INCLUDES = $(all_includes)
kde_module_LTLIBRARIES = kwin_icewm_config.la kde_module_LTLIBRARIES = twin_icewm_config.la
kwin_icewm_config_la_SOURCES = config.cpp twin_icewm_config_la_SOURCES = config.cpp
kwin_icewm_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx twin_icewm_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx
kwin_icewm_config_la_LIBADD = $(LIB_TDEUI) $(LIB_KIO) twin_icewm_config_la_LIBADD = $(LIB_TDEUI) $(LIB_KIO)
METASOURCES = AUTO METASOURCES = AUTO
noinst_HEADERS = config.h noinst_HEADERS = config.h
lnkdir = $(kde_datadir)/kwin/ lnkdir = $(kde_datadir)/twin/
###KMAKE-start (don't edit or delete this block) ###KMAKE-start (don't edit or delete this block)

@ -48,18 +48,18 @@ extern "C"
// NOTE: // NOTE:
// ========================================================================== // ==========================================================================
// 'conf' is a pointer to the kwindecoration modules open kwin config, // 'conf' is a pointer to the twindecoration modules open twin config,
// and is by default set to the "Style" group. // and is by default set to the "Style" group.
// //
// 'parent' is the parent of the TQObject, which is a VBox inside the // 'parent' is the parent of the TQObject, which is a VBox inside the
// Configure tab in kwindecoration // Configure tab in twindecoration
// ========================================================================== // ==========================================================================
IceWMConfig::IceWMConfig( KConfig* conf, TQWidget* parent ) IceWMConfig::IceWMConfig( KConfig* conf, TQWidget* parent )
: TQObject( parent ) : TQObject( parent )
{ {
icewmConfig = new KConfig("kwinicewmrc"); icewmConfig = new KConfig("twinicewmrc");
KGlobal::locale()->insertCatalogue("kwin_art_clients"); KGlobal::locale()->insertCatalogue("twin_art_clients");
mainWidget = new TQVBox( parent ); mainWidget = new TQVBox( parent );
mainWidget->setSpacing( KDialog::spacingHint() ); mainWidget->setSpacing( KDialog::spacingHint() );
@ -123,7 +123,7 @@ IceWMConfig::IceWMConfig( KConfig* conf, TQWidget* parent )
this, TQT_SLOT(slotSelectionChanged()) ); this, TQT_SLOT(slotSelectionChanged()) );
// Create the theme directory (if not found) ... and obtain the path as we do so. // Create the theme directory (if not found) ... and obtain the path as we do so.
localThemeString = KGlobal::dirs()->saveLocation("data", "kwin"); localThemeString = KGlobal::dirs()->saveLocation("data", "twin");
localThemeString += "/icewm-themes"; localThemeString += "/icewm-themes";
if (!TQFile::exists(localThemeString)) if (!TQFile::exists(localThemeString))
TQDir().mkdir(localThemeString); TQDir().mkdir(localThemeString);
@ -139,7 +139,7 @@ IceWMConfig::IceWMConfig( KConfig* conf, TQWidget* parent )
urlThemeString.replace( TQRegExp("~"), "$HOME" ); urlThemeString.replace( TQRegExp("~"), "$HOME" );
urlLabel->setURL( urlThemeString ); urlLabel->setURL( urlThemeString );
// Make the widgets visible in kwindecoration // Make the widgets visible in twindecoration
mainWidget->show(); mainWidget->show();
KDirWatch::self()->startScan(); KDirWatch::self()->startScan();
@ -158,14 +158,14 @@ IceWMConfig::~IceWMConfig()
// Searches for all installed IceWM themes, and adds them to the listBox. // Searches for all installed IceWM themes, and adds them to the listBox.
void IceWMConfig::findIceWMThemes() void IceWMConfig::findIceWMThemes()
{ {
TQStringList dirList = KGlobal::dirs()->findDirs("data", "kwin/icewm-themes"); TQStringList dirList = KGlobal::dirs()->findDirs("data", "twin/icewm-themes");
TQStringList::ConstIterator it; TQStringList::ConstIterator it;
// Remove any old themes in the list (if any) // Remove any old themes in the list (if any)
themeListBox->clear(); themeListBox->clear();
themeListBox->insertItem( i18n("Infadel #2 (default)") ); themeListBox->insertItem( i18n("Infadel #2 (default)") );
// Step through all kwin/icewm-themes directories... // Step through all twin/icewm-themes directories...
for( it = dirList.begin(); it != dirList.end(); it++) for( it = dirList.begin(); it != dirList.end(); it++)
{ {
// List all directory names only... // List all directory names only...
@ -175,7 +175,7 @@ void IceWMConfig::findIceWMThemes()
TQFileInfoListIterator it2( *d.entryInfoList() ); TQFileInfoListIterator it2( *d.entryInfoList() );
TQFileInfo* finfo; TQFileInfo* finfo;
// Step through all directories within the kwin/icewm-themes directory // Step through all directories within the twin/icewm-themes directory
while( (finfo = it2.current()) ) while( (finfo = it2.current()) )
{ {
// Ignore . and .. directories // Ignore . and .. directories
@ -223,7 +223,7 @@ void IceWMConfig::slotSelectionChanged()
} }
// Loads the configurable options from the kwinicewmrc config file // Loads the configurable options from the twinicewmrc config file
void IceWMConfig::load( KConfig* ) void IceWMConfig::load( KConfig* )
{ {
icewmConfig->setGroup("General"); icewmConfig->setGroup("General");
@ -241,7 +241,7 @@ void IceWMConfig::load( KConfig* )
} }
// Saves the configurable options to the kwinicewmrc config file // Saves the configurable options to the twinicewmrc config file
void IceWMConfig::save( KConfig* ) void IceWMConfig::save( KConfig* )
{ {
icewmConfig->setGroup("General"); icewmConfig->setGroup("General");

@ -18,4 +18,4 @@ install( FILES
minimizeA.xpm minimizeI.xpm restoreA.xpm restoreI.xpm minimizeA.xpm minimizeI.xpm restoreA.xpm restoreI.xpm
rolldownA.xpm rolldownI.xpm rollupA.xpm rollupI.xpm rolldownA.xpm rolldownI.xpm rollupA.xpm rollupI.xpm
default.theme default.theme
DESTINATION ${DATA_INSTALL_DIR}/kwin/icewm-themes ) DESTINATION ${DATA_INSTALL_DIR}/twin/icewm-themes )

@ -7,6 +7,6 @@ pics_DATA = titleAB.xpm titleAJ.xpm titleAM.xpm titleAP.xpm titleAQ.xpm \
rolldownA.xpm rolldownI.xpm rollupA.xpm rollupI.xpm \ rolldownA.xpm rolldownI.xpm rollupA.xpm rollupI.xpm \
default.theme default.theme
picsdir = $(kde_datadir)/kwin/icewm-themes picsdir = $(kde_datadir)/twin/icewm-themes

@ -19,12 +19,12 @@
# PLEASE NOTE: # PLEASE NOTE:
# ============ # ============
# Heavily modified by gallium for the purposes of kwin-icewm. # Heavily modified by gallium for the purposes of twin-icewm.
# Please do not use this for icewm. Use the original icewm Infadel #2 instead. # Please do not use this for icewm. Use the original icewm Infadel #2 instead.
# The full Infadel #2 theme will still work with kwin-icewm as well, but # The full Infadel #2 theme will still work with twin-icewm as well, but
# this trimmed version is included here for space reasons. # this trimmed version is included here for space reasons.
ThemeDescription="Infadel/1.0.7(kwin)" ThemeDescription="Infadel/1.0.7(twin)"
ThemeAuthor="xerithane@nerdfarm.org" ThemeAuthor="xerithane@nerdfarm.org"
Look=pixmap Look=pixmap

@ -120,7 +120,7 @@ bool validframe = false;
bool useActiveShadow = false; bool useActiveShadow = false;
bool useInActiveShadow = false; bool useInActiveShadow = false;
// KControl Settings - Read from kwinicewmrc config file or icewm theme // KControl Settings - Read from twinicewmrc config file or icewm theme
bool themeTitleTextColors = true; // Allow theme to set colors. bool themeTitleTextColors = true; // Allow theme to set colors.
// kcontrol will have no effect // kcontrol will have no effect
@ -147,7 +147,7 @@ bool validPixmaps( TQPixmap* p[] )
// ThemeHandler class // ThemeHandler class
// //
// This class allows us to free dynamic memory upon being reset, or unloaded // This class allows us to free dynamic memory upon being reset, or unloaded
// from kwin, so we don't leak big images everywhere, and handles the theme // from twin, so we don't leak big images everywhere, and handles the theme
// initialisation / destruction in general. // initialisation / destruction in general.
//////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////
@ -234,10 +234,10 @@ TQString ThemeHandler::reverseString( TQString s )
} }
// This function reads the kwinicewmrc config file // This function reads the twinicewmrc config file
void ThemeHandler::readConfig() void ThemeHandler::readConfig()
{ {
KConfig conf("kwinicewmrc"); KConfig conf("twinicewmrc");
conf.setGroup("General"); conf.setGroup("General");
themeName = conf.readEntry("CurrentTheme"); themeName = conf.readEntry("CurrentTheme");
themeTitleTextColors = conf.readBoolEntry("ThemeTitleTextColors", true); themeTitleTextColors = conf.readBoolEntry("ThemeTitleTextColors", true);
@ -271,7 +271,7 @@ void ThemeHandler::initTheme()
// We use kconfig to read icewm config files... // We use kconfig to read icewm config files...
// this is easy since icewm uses key=value pairs! // this is easy since icewm uses key=value pairs!
KConfig config( locate("data", TQString("kwin/icewm-themes/") + KConfig config( locate("data", TQString("twin/icewm-themes/") +
themeName + TQString("default.theme")) ); themeName + TQString("default.theme")) );
// Load specifics, or use IceWM defaults instead. // Load specifics, or use IceWM defaults instead.
@ -496,7 +496,7 @@ void ThemeHandler::freePixmapGroup( TQPixmap* p[] )
p[Active] = NULL; p[Active] = NULL;
p[InActive] = NULL; p[InActive] = NULL;
} else } else
qWarning("kwin-icewm: freePixmapGroup - invalid TQPixmap** 'p'\n"); qWarning("twin-icewm: freePixmapGroup - invalid TQPixmap** 'p'\n");
} }
@ -583,9 +583,9 @@ static void draw3DRect(TQPainter &pnt, TQColor &col, int x, int y, int w, int h,
void ThemeHandler::setPixmapButton( TQPixmap* p[], TQString s1, TQString s2) void ThemeHandler::setPixmapButton( TQPixmap* p[], TQString s1, TQString s2)
{ {
if ( p[Active] ) if ( p[Active] )
qWarning("kwin-icewm: setPixmap - should be null (1)\n"); qWarning("twin-icewm: setPixmap - should be null (1)\n");
if ( p[InActive] ) if ( p[InActive] )
qWarning("kwin-icewm: setPixmap - should be null (2)\n"); qWarning("twin-icewm: setPixmap - should be null (2)\n");
TQString str = locate("appdata", TQString("icewm-themes/") TQString str = locate("appdata", TQString("icewm-themes/")
+ themeName + s1 + "A" + s2); + themeName + s1 + "A" + s2);
@ -682,13 +682,13 @@ void ThemeHandler::setPixmap( TQPixmap* p[], TQString s1, TQString s2,
bool stretch, bool stretchHoriz ) bool stretch, bool stretchHoriz )
{ {
if ( p[Active] ) if ( p[Active] )
qWarning("kwin-icewm: setPixmap - should be null (1)\n"); qWarning("twin-icewm: setPixmap - should be null (1)\n");
if ( p[InActive] ) if ( p[InActive] )
qWarning("kwin-icewm: setPixmap - should be null (2)\n"); qWarning("twin-icewm: setPixmap - should be null (2)\n");
p[Active] = new TQPixmap( locate("data", TQString("kwin/icewm-themes/") p[Active] = new TQPixmap( locate("data", TQString("twin/icewm-themes/")
+ themeName + s1 + "A" + s2) ); + themeName + s1 + "A" + s2) );
p[InActive] = new TQPixmap( locate("data", TQString("kwin/icewm-themes/") p[InActive] = new TQPixmap( locate("data", TQString("twin/icewm-themes/")
+ themeName + s1 + "I" + s2) ); + themeName + s1 + "I" + s2) );
// Stretch the pixmap if requested. // Stretch the pixmap if requested.
@ -726,7 +726,7 @@ bool ThemeHandler::isFrameValid()
} }
// Resets the theme, and re-clients all kwin's wrapped windows. // Resets the theme, and re-clients all twin's wrapped windows.
bool ThemeHandler::reset( unsigned long) bool ThemeHandler::reset( unsigned long)
{ {
initialized = false; initialized = false;
@ -825,7 +825,7 @@ void IceWMButton::drawButton(TQPainter *pnt)
pnt->drawPixmap(0, 0, *p, 0, 0, width, titleBarHeight); pnt->drawPixmap(0, 0, *p, 0, 0, width, titleBarHeight);
} }
} else } else
qWarning("kwin-icewm: Can't paint a null pixmap button"); qWarning("twin-icewm: Can't paint a null pixmap button");
} }
@ -1028,7 +1028,7 @@ void IceWMClient::addClientButtons( const TQString& s )
break; */ break; */
case 'r': case 'r':
// NOTE: kwin doesn't have toggleShade() in clients.h ! // NOTE: twin doesn't have toggleShade() in clients.h !
if ( validPixmaps(rollupPix) && !button[BtnRollup] ) if ( validPixmaps(rollupPix) && !button[BtnRollup] )
{ {
button[BtnRollup] = new IceWMButton(this, "shade", button[BtnRollup] = new IceWMButton(this, "shade",

@ -8,4 +8,4 @@ Name[th]=ตัวจัดการหน้าต่าง IceWM
Name[vi]=Nước đá WM Name[vi]=Nước đá WM
Name[xh]=UmkhenkceWM Name[xh]=UmkhenkceWM
Name[zu]=Iqhwa leWM Name[zu]=Iqhwa leWM
X-KDE-Library=kwin3_icewm X-KDE-Library=twin3_icewm

@ -21,11 +21,11 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES kde1.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) install( FILES kde1.desktop DESTINATION ${DATA_INSTALL_DIR}/twin )
##### kwin3_cde ################################## ##### twin3_cde ##################################
tde_add_kpart( kwin3_kde1 AUTOMOC tde_add_kpart( twin3_kde1 AUTOMOC
SOURCES kde1client.cpp SOURCES kde1client.cpp
LINK tdecorations-shared LINK tdecorations-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}

@ -1,16 +1,16 @@
INCLUDES = $(all_includes) INCLUDES = $(all_includes)
kde_module_LTLIBRARIES = kwin3_kde1.la kde_module_LTLIBRARIES = twin3_kde1.la
kwin3_kde1_la_SOURCES = kde1client.cpp twin3_kde1_la_SOURCES = kde1client.cpp
kwin3_kde1_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx twin3_kde1_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx
kwin3_kde1_la_LIBADD = -ltdecorations twin3_kde1_la_LIBADD = -ltdecorations
METASOURCES = AUTO METASOURCES = AUTO
noinst_HEADERS = kde1client.h noinst_HEADERS = kde1client.h
lnkdir = $(kde_datadir)/kwin/ lnkdir = $(kde_datadir)/twin/
lnk_DATA = kde1.desktop lnk_DATA = kde1.desktop
EXTRA_DIST = $(lnk_DATA) EXTRA_DIST = $(lnk_DATA)

@ -4,4 +4,4 @@ Name[fa]=KDE ۱
Name[hi]=केडीई 1 Name[hi]=केडीई 1
Name[ne]=केडीई १ Name[ne]=केडीई १
Name[th]=โปรแกรมจัดการหน้าต่าง KDE 1 Name[th]=โปรแกรมจัดการหน้าต่าง KDE 1
X-KDE-Library=kwin3_kde1 X-KDE-Library=twin3_kde1

@ -1,5 +1,5 @@
/***************************************************************** /*****************************************************************
kwin - the KDE window manager twin - the KDE window manager
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org> Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
******************************************************************/ ******************************************************************/

@ -1,5 +1,5 @@
/***************************************************************** /*****************************************************************
kwin - the KDE window manager twin - the KDE window manager
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org> Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
******************************************************************/ ******************************************************************/

@ -21,11 +21,11 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES kstep.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) install( FILES kstep.desktop DESTINATION ${DATA_INSTALL_DIR}/twin )
##### kwin3_kstep ############################### ##### twin3_kstep ###############################
tde_add_kpart( kwin3_kstep AUTOMOC tde_add_kpart( twin3_kstep AUTOMOC
SOURCES nextclient.cpp SOURCES nextclient.cpp
LINK tdecorations-shared LINK tdecorations-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}

@ -1,17 +1,17 @@
INCLUDES = $(all_includes) INCLUDES = $(all_includes)
kde_module_LTLIBRARIES = kwin3_kstep.la kde_module_LTLIBRARIES = twin3_kstep.la
kwin3_kstep_la_SOURCES = nextclient.cpp twin3_kstep_la_SOURCES = nextclient.cpp
kwin3_kstep_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx twin3_kstep_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx
#kwin_kstep_la_LDFLAGS = $(all_libraries) -avoid-version -module $(KDE_RPATH) $(KDE_MT_LDFLAGS) #twin_kstep_la_LDFLAGS = $(all_libraries) -avoid-version -module $(KDE_RPATH) $(KDE_MT_LDFLAGS)
kwin3_kstep_la_LIBADD = $(LIB_TDEUI) -ltdecorations twin3_kstep_la_LIBADD = $(LIB_TDEUI) -ltdecorations
METASOURCES = AUTO METASOURCES = AUTO
noinst_HEADERS = nextclient.h noinst_HEADERS = nextclient.h
lnkdir = $(kde_datadir)/kwin/ lnkdir = $(kde_datadir)/twin/
lnk_DATA = kstep.desktop lnk_DATA = kstep.desktop
EXTRA_DIST = $(lnk_DATA) EXTRA_DIST = $(lnk_DATA)

@ -9,4 +9,4 @@ Name[th]=ตัวจัดการหน้าต่างสเต็ป - K
Name[ven]=Tshitepe tsha K Name[ven]=Tshitepe tsha K
Name[xh]=Inqwanqwa le K Name[xh]=Inqwanqwa le K
Name[zu]=Izinga le K Name[zu]=Izinga le K
X-KDE-Library=kwin3_kstep X-KDE-Library=twin3_kstep

@ -22,11 +22,11 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES openlook.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) install( FILES openlook.desktop DESTINATION ${DATA_INSTALL_DIR}/twin )
##### kwin3_openlook ############################ ##### twin3_openlook ############################
tde_add_kpart( kwin3_openlook AUTOMOC tde_add_kpart( twin3_openlook AUTOMOC
SOURCES OpenLook.cpp SOURCES OpenLook.cpp
LINK tdecorations-shared LINK tdecorations-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}

@ -1,15 +1,15 @@
INCLUDES = $(all_includes) INCLUDES = $(all_includes)
kde_module_LTLIBRARIES = kwin3_openlook.la kde_module_LTLIBRARIES = twin3_openlook.la
kwin3_openlook_la_SOURCES = OpenLook.cpp twin3_openlook_la_SOURCES = OpenLook.cpp
kwin3_openlook_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx twin3_openlook_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx
kwin3_openlook_la_LIBADD = -ltdecorations twin3_openlook_la_LIBADD = -ltdecorations
noinst_HEADERS = OpenLook.h noinst_HEADERS = OpenLook.h
METASOURCES = AUTO METASOURCES = AUTO
linkdir = $(kde_datadir)/kwin/ linkdir = $(kde_datadir)/twin/
link_DATA = openlook.desktop link_DATA = openlook.desktop
EXTRA_DIST = $(link_DATA) EXTRA_DIST = $(link_DATA)

@ -1,5 +1,5 @@
/* /*
'OpenLook' kwin client 'OpenLook' twin client
Porting to trinity.2 API Porting to trinity.2 API
Copyright 2003 Luciano Montanaro <mikelima@cirulla.net> Copyright 2003 Luciano Montanaro <mikelima@cirulla.net>

@ -1,5 +1,5 @@
/* /*
'OpenLook' kwin client 'OpenLook' twin client
Porting to trinity.2 API Porting to trinity.2 API
Copyright 2003 Luciano Montanaro <mikelima@cirulla.net> Copyright 2003 Luciano Montanaro <mikelima@cirulla.net>

@ -11,4 +11,4 @@ Name[ta]=திறந்தபார்வை
Name[ven]=Vula wo sedza Name[ven]=Vula wo sedza
Name[vi]=Hình thức mở Name[vi]=Hình thức mở
Name[zu]=Vula Ubone Name[zu]=Vula Ubone
X-KDE-Library=kwin3_openlook X-KDE-Library=twin3_openlook

@ -26,12 +26,12 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES riscos.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) install( FILES riscos.desktop DESTINATION ${DATA_INSTALL_DIR}/twin )
##### kwin3_riscos ############################### ##### twin3_riscos ###############################
set( target kwin3_riscos ) set( target twin3_riscos )
set( ${target}_SRCS set( ${target}_SRCS
AboveButton.cpp Button.cpp AboveButton.cpp Button.cpp

@ -4,8 +4,8 @@ KDE_CXXFLAGS = -DQT_PLUGIN
INCLUDES = $(all_includes) INCLUDES = $(all_includes)
kwindir = $(kde_datadir)/kwin/ twindir = $(kde_datadir)/twin/
kwin_DATA = riscos.desktop twin_DATA = riscos.desktop
noinst_HEADERS = AboveButton.h \ noinst_HEADERS = AboveButton.h \
Button.h \ Button.h \
@ -19,8 +19,8 @@ noinst_HEADERS = AboveButton.h \
Static.h \ Static.h \
StickyButton.h StickyButton.h
kde_module_LTLIBRARIES = kwin3_riscos.la kde_module_LTLIBRARIES = twin3_riscos.la
kwin3_riscos_la_SOURCES = AboveButton.cpp \ twin3_riscos_la_SOURCES = AboveButton.cpp \
Button.cpp \ Button.cpp \
CloseButton.cpp \ CloseButton.cpp \
HelpButton.cpp \ HelpButton.cpp \
@ -31,9 +31,9 @@ kwin3_riscos_la_SOURCES = AboveButton.cpp \
Static.cpp \ Static.cpp \
StickyButton.cpp StickyButton.cpp
kwin3_riscos_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx twin3_riscos_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx
kwin3_riscos_la_LIBADD = $(LIB_TDEUI) -ltdecorations twin3_riscos_la_LIBADD = $(LIB_TDEUI) -ltdecorations
kwin3_riscos_la_METASOURCES = AUTO twin3_riscos_la_METASOURCES = AUTO
EXTRA_DIST = $(kwin_DATA) EXTRA_DIST = $(twin_DATA)

@ -25,7 +25,7 @@ Button One:
Left button: TODO Left button: TODO
Lower window and drop focus. This is currently unimplemented Lower window and drop focus. This is currently unimplemented
in kwin itself. in twin itself.
Button Two: Button Two:
@ -51,7 +51,7 @@ Titlebar:
Right button: Menu Right button: Menu
Note: Buttons are this way around for compatibility with Note: Buttons are this way around for compatibility with
other kwin themes. other twin themes.
Button Three: Button Three:

@ -8,4 +8,4 @@ Name[th]=ระบบปฏิบัติการบนชิพ RISC
Name[uk]=RISC ОС Name[uk]=RISC ОС
Name[xh]=i RISC OS Name[xh]=i RISC OS
Name[zu]=IRISC OS Name[zu]=IRISC OS
X-KDE-Library=kwin3_riscos X-KDE-Library=twin3_riscos

@ -1,5 +1,5 @@
Justin Berstler aka spasemunkie on kdelook.org - spasemunkie at gmail.com : for his buttons! Justin Berstler aka spasemunkie on kdelook.org - spasemunkie at gmail.com : for his buttons!
Rick aka bitwit on kdelook.org - bitwit at digilanti.org : for his kwin_template Rick aka bitwit on kdelook.org - bitwit at digilanti.org : for his twin_template
David Johnson - david at usermode.org : for his example kwin tutorial David Johnson - david at usermode.org : for his example twin tutorial
Thomas Lübking aka thomas12777 on kdelook.org - baghira-style at gmx.net : for answering questions on getting pixmap buttons into code Thomas Lübking aka thomas12777 on kdelook.org - baghira-style at gmx.net : for answering questions on getting pixmap buttons into code
Scott Grayban aka sgrayban on kdelook.org : for testing and hosting the files to be downloaded Scott Grayban aka sgrayban on kdelook.org : for testing and hosting the files to be downloaded

@ -27,11 +27,11 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES smoothblend.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) install( FILES smoothblend.desktop DESTINATION ${DATA_INSTALL_DIR}/twin )
##### kwin3_smoothblend ########################## ##### twin3_smoothblend ##########################
tde_add_kpart( kwin3_smoothblend AUTOMOC tde_add_kpart( twin3_smoothblend AUTOMOC
SOURCES smoothblend.cc SOURCES smoothblend.cc
LINK tdecorations-shared LINK tdecorations-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}

@ -4,17 +4,17 @@ SUBDIRS = config
KDE_CXXFLAGS = -DQT_PLUGIN KDE_CXXFLAGS = -DQT_PLUGIN
INCLUDES = $(all_includes) -I$(kde_includes)/kwin INCLUDES = $(all_includes) -I$(kde_includes)/twin
kwindir = $(kde_datadir)/kwin/ twindir = $(kde_datadir)/twin/
kwin_DATA = smoothblend.desktop twin_DATA = smoothblend.desktop
noinst_HEADERS = smoothblend.h buttons.h noinst_HEADERS = smoothblend.h buttons.h
kde_module_LTLIBRARIES = kwin3_smoothblend.la kde_module_LTLIBRARIES = twin3_smoothblend.la
kwin3_smoothblend_la_SOURCES = smoothblend.cc twin3_smoothblend_la_SOURCES = smoothblend.cc
kwin3_smoothblend_la_LIBADD = -ltdecorations twin3_smoothblend_la_LIBADD = -ltdecorations
kwin3_smoothblend_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -ltdecore -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx twin3_smoothblend_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -ltdecore -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx
kwin3_smoothblend_la_METASOURCES = AUTO twin3_smoothblend_la_METASOURCES = AUTO
DISTCLEANFILES = $(kwin3_smoothblend_la_METASOURCES) DISTCLEANFILES = $(twin3_smoothblend_la_METASOURCES)

@ -23,9 +23,9 @@ link_directories(
${TQT_LIBRARY_DIRS} ${TQT_LIBRARY_DIRS}
) )
##### kwin_smoothblend_config (module) ########## ##### twin_smoothblend_config (module) ##########
tde_add_kpart( kwin_smoothblend_config AUTOMOC tde_add_kpart( twin_smoothblend_config AUTOMOC
SOURCES configdialog.ui smoothblendconfig.cc SOURCES configdialog.ui smoothblendconfig.cc
LINK tdeui-shared LINK tdeui-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}

@ -6,10 +6,10 @@ INCLUDES = $(all_includes)
noinst_HEADERS = smoothblendconfig.h noinst_HEADERS = smoothblendconfig.h
kde_module_LTLIBRARIES = kwin_smoothblend_config.la kde_module_LTLIBRARIES = twin_smoothblend_config.la
kwin_smoothblend_config_la_SOURCES = configdialog.ui smoothblendconfig.cc twin_smoothblend_config_la_SOURCES = configdialog.ui smoothblendconfig.cc
kwin_smoothblend_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx twin_smoothblend_config_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx
kwin_smoothblend_config_la_LIBADD = $(LIB_TDEUI) twin_smoothblend_config_la_LIBADD = $(LIB_TDEUI)
kwin_smoothblend_config_la_METASOURCES = AUTO twin_smoothblend_config_la_METASOURCES = AUTO
DISTCLEANFILES = $(kwin_smoothblend_config_la_METASOURCES) DISTCLEANFILES = $(twin_smoothblend_config_la_METASOURCES)

@ -29,8 +29,8 @@
smoothblendConfig::smoothblendConfig(KConfig* config, TQWidget* parent) smoothblendConfig::smoothblendConfig(KConfig* config, TQWidget* parent)
: TQObject(parent), config_(0), dialog_(0) { : TQObject(parent), config_(0), dialog_(0) {
// create the configuration object // create the configuration object
config_ = new KConfig("kwinsmoothblendrc"); config_ = new KConfig("twinsmoothblendrc");
KGlobal::locale()->insertCatalogue("kwin_smoothblend_config"); KGlobal::locale()->insertCatalogue("twin_smoothblend_config");
// create and show the configuration dialog // create and show the configuration dialog
dialog_ = new ConfigDialog(parent); dialog_ = new ConfigDialog(parent);

@ -118,7 +118,7 @@ bool smoothblendFactory::reset(unsigned long changed) {
bool smoothblendFactory::readConfig() { bool smoothblendFactory::readConfig() {
// create a config object // create a config object
KConfig config("kwinsmoothblendrc"); KConfig config("twinsmoothblendrc");
config.setGroup("General"); config.setGroup("General");
// grab settings // grab settings

@ -37,4 +37,4 @@ Name[tr]=Düz Karışım
Name[uk]=Гладке змішання Name[uk]=Гладке змішання
Name[vi]=Trộn màu Mượt mà Name[vi]=Trộn màu Mượt mà
Name[zh_TW]=平順混合 Name[zh_TW]=平順混合
X-KDE-Library=kwin3_smoothblend X-KDE-Library=twin3_smoothblend

@ -21,11 +21,11 @@ link_directories(
##### other data ################################ ##### other data ################################
install( FILES system.desktop DESTINATION ${DATA_INSTALL_DIR}/kwin ) install( FILES system.desktop DESTINATION ${DATA_INSTALL_DIR}/twin )
##### kwin3_system ############################### ##### twin3_system ###############################
tde_add_kpart( kwin3_system AUTOMOC tde_add_kpart( twin3_system AUTOMOC
SOURCES systemclient.cpp SOURCES systemclient.cpp
LINK tdecorations-shared LINK tdecorations-shared
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}

@ -1,17 +1,17 @@
INCLUDES = $(all_includes) INCLUDES = $(all_includes)
kde_module_LTLIBRARIES = kwin3_system.la kde_module_LTLIBRARIES = twin3_system.la
kwin3_system_la_SOURCES = systemclient.cpp twin3_system_la_SOURCES = systemclient.cpp
kwin3_system_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx twin3_system_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx
#kwin_system_la_LDFLAGS = $(all_libraries) -avoid-version -module $(KDE_RPATH) $(KDE_MT_LDFLAGS) #twin_system_la_LDFLAGS = $(all_libraries) -avoid-version -module $(KDE_RPATH) $(KDE_MT_LDFLAGS)
kwin3_system_la_LIBADD = $(LIB_TDEUI) -ltdecorations twin3_system_la_LIBADD = $(LIB_TDEUI) -ltdecorations
METASOURCES = AUTO METASOURCES = AUTO
noinst_HEADERS = systemclient.h noinst_HEADERS = systemclient.h
lnkdir = $(kde_datadir)/kwin/ lnkdir = $(kde_datadir)/twin/
lnk_DATA = system.desktop lnk_DATA = system.desktop
EXTRA_DIST = $(lnk_DATA) EXTRA_DIST = $(lnk_DATA)

@ -24,4 +24,4 @@ Name[tr]=Sistem++
Name[ven]=Sisitemu++ Name[ven]=Sisitemu++
Name[xh]=Indlela esetyenziswayo++ Name[xh]=Indlela esetyenziswayo++
Name[zu]=Indlela esetshenziswayo++ Name[zu]=Indlela esetshenziswayo++
X-KDE-Library=kwin3_system X-KDE-Library=twin3_system

@ -1373,7 +1373,7 @@ void dotNETstyle::tqdrawControl(TQ_ControlElement element,
break; break;
} }
// Menu and dockwindow empty space // Menu and doctwindow empty space
// //
case CE_DockWindowEmptyArea: case CE_DockWindowEmptyArea:
case CE_MenuBarEmptyArea: case CE_MenuBarEmptyArea:

Loading…
Cancel
Save