summaryrefslogtreecommitdiffstats
path: root/kdm/kfrontend/themer
diff options
context:
space:
mode:
Diffstat (limited to 'kdm/kfrontend/themer')
-rw-r--r--kdm/kfrontend/themer/CMakeLists.txt18
-rw-r--r--kdm/kfrontend/themer/Makefile.am20
-rw-r--r--kdm/kfrontend/themer/kdmitem.cpp8
-rw-r--r--kdm/kfrontend/themer/kdmitem.h6
-rw-r--r--kdm/kfrontend/themer/kdmlabel.cpp6
-rw-r--r--kdm/kfrontend/themer/kdmlabel.h2
-rw-r--r--kdm/kfrontend/themer/kdmlayout.cpp6
-rw-r--r--kdm/kfrontend/themer/kdmlayout.h4
-rw-r--r--kdm/kfrontend/themer/kdmpixmap.cpp10
-rw-r--r--kdm/kfrontend/themer/kdmpixmap.h6
-rw-r--r--kdm/kfrontend/themer/kdmrect.cpp8
-rw-r--r--kdm/kfrontend/themer/kdmrect.h6
-rw-r--r--kdm/kfrontend/themer/kdmthemer.cpp16
-rw-r--r--kdm/kfrontend/themer/kdmthemer.h4
14 files changed, 60 insertions, 60 deletions
diff --git a/kdm/kfrontend/themer/CMakeLists.txt b/kdm/kfrontend/themer/CMakeLists.txt
index ff65734af..fc0b80fc3 100644
--- a/kdm/kfrontend/themer/CMakeLists.txt
+++ b/kdm/kfrontend/themer/CMakeLists.txt
@@ -12,8 +12,8 @@
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/kdm/kfrontend
- ${CMAKE_SOURCE_DIR}/kdmlib
+ ${CMAKE_SOURCE_DIR}/tdm/kfrontend
+ ${CMAKE_SOURCE_DIR}/tdmlib
${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS}
)
@@ -27,15 +27,15 @@ link_directories(
##### config.ci (generated) #####################
add_custom_command( OUTPUT config.ci
- COMMAND perl -w ${CMAKE_SOURCE_DIR}/kdm/confproc.pl ${CMAKE_SOURCE_DIR}/kdm/config.def config.ci
- DEPENDS ${CMAKE_SOURCE_DIR}/kdm/confproc.pl ${CMAKE_SOURCE_DIR}/kdm/config.def )
-set_property( SOURCE kdmthemer.cpp APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/config.ci )
+ COMMAND perl -w ${CMAKE_SOURCE_DIR}/tdm/confproc.pl ${CMAKE_SOURCE_DIR}/tdm/config.def config.ci
+ DEPENDS ${CMAKE_SOURCE_DIR}/tdm/confproc.pl ${CMAKE_SOURCE_DIR}/tdm/config.def )
+set_property( SOURCE tdmthemer.cpp APPEND PROPERTY OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/config.ci )
-##### kdmthemer (static) ########################
+##### tdmthemer (static) ########################
-tde_add_library( kdmthemer STATIC_PIC AUTOMOC
+tde_add_library( tdmthemer STATIC_PIC AUTOMOC
SOURCES
- kdmthemer.cpp kdmitem.cpp kdmpixmap.cpp
- kdmrect.cpp kdmlabel.cpp kdmlayout.cpp
+ tdmthemer.cpp tdmitem.cpp tdmpixmap.cpp
+ tdmrect.cpp tdmlabel.cpp tdmlayout.cpp
)
diff --git a/kdm/kfrontend/themer/Makefile.am b/kdm/kfrontend/themer/Makefile.am
index 7f6eb5701..f736795d6 100644
--- a/kdm/kfrontend/themer/Makefile.am
+++ b/kdm/kfrontend/themer/Makefile.am
@@ -1,16 +1,16 @@
AM_CPPFLAGS = -I$(srcdir)/../../backend -I$(srcdir)/.. -I../.. \
- -I$(top_srcdir)/kdmlib \
+ -I$(top_srcdir)/tdmlib \
$(all_includes)
-noinst_LIBRARIES = libkdmthemer.a
-libkdmthemer_a_SOURCES = \
- kdmthemer.cpp \
- kdmitem.cpp \
- kdmpixmap.cpp \
- kdmrect.cpp \
- kdmlabel.cpp \
- kdmlayout.cpp
+noinst_LIBRARIES = libtdmthemer.a
+libtdmthemer_a_SOURCES = \
+ tdmthemer.cpp \
+ tdmitem.cpp \
+ tdmpixmap.cpp \
+ tdmrect.cpp \
+ tdmlabel.cpp \
+ tdmlayout.cpp
METASOURCES = AUTO
-libkdmthemer_a_COMPILE_FIRST = ../../config.ci
+libtdmthemer_a_COMPILE_FIRST = ../../config.ci
diff --git a/kdm/kfrontend/themer/kdmitem.cpp b/kdm/kfrontend/themer/kdmitem.cpp
index 1c859d101..8cf126b66 100644
--- a/kdm/kfrontend/themer/kdmitem.cpp
+++ b/kdm/kfrontend/themer/kdmitem.cpp
@@ -25,9 +25,9 @@
// #define DRAW_OUTLINE 1 // for debugging only
-#include "kdmitem.h"
-#include "kdmlayout.h"
-#include "kdmconfig.h"
+#include "tdmitem.h"
+#include "tdmlayout.h"
+#include "tdmconfig.h"
#include <kglobal.h>
#include <kdebug.h>
@@ -654,4 +654,4 @@ KdmItem::parentWidget() const
return ((KdmItem*)parent())->parentWidget();
}
-#include "kdmitem.moc"
+#include "tdmitem.moc"
diff --git a/kdm/kfrontend/themer/kdmitem.h b/kdm/kfrontend/themer/kdmitem.h
index 230ed71c4..27158a7fd 100644
--- a/kdm/kfrontend/themer/kdmitem.h
+++ b/kdm/kfrontend/themer/kdmitem.h
@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#ifndef KDMITEM_H
-#define KDMITEM_H
+#ifndef TDMITEM_H
+#define TDMITEM_H
#include <tqobject.h>
#include <tqvaluelist.h>
@@ -35,7 +35,7 @@ class TQPainter;
class TQLayoutItem;
/** class KdmItem
- * @short Base class for every kdmthemes' element.
+ * @short Base class for every tdmthemes' element.
*
* This class provides methods for arranging it and its children to the
* screen (see note below), painting the whole area or a sub-region using
diff --git a/kdm/kfrontend/themer/kdmlabel.cpp b/kdm/kfrontend/themer/kdmlabel.cpp
index 0eab99c30..5239d48dc 100644
--- a/kdm/kfrontend/themer/kdmlabel.cpp
+++ b/kdm/kfrontend/themer/kdmlabel.cpp
@@ -20,8 +20,8 @@
*/
#include <config.h>
-#include "kdmlabel.h"
-#include "kdmconfig.h"
+#include "tdmlabel.h"
+#include "tdmconfig.h"
#include "../kgreeter.h"
#include <kglobal.h>
@@ -273,4 +273,4 @@ KdmLabel::lookupText( const TQString &t )
return KMacroExpander::expandMacros( text, m );
}
-#include "kdmlabel.moc"
+#include "tdmlabel.moc"
diff --git a/kdm/kfrontend/themer/kdmlabel.h b/kdm/kfrontend/themer/kdmlabel.h
index 1ec2f88ec..8b955fca5 100644
--- a/kdm/kfrontend/themer/kdmlabel.h
+++ b/kdm/kfrontend/themer/kdmlabel.h
@@ -22,7 +22,7 @@
#ifndef KDELABEL_H
#define KDELABEL_H
-#include "kdmitem.h"
+#include "tdmitem.h"
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/kdm/kfrontend/themer/kdmlayout.cpp b/kdm/kfrontend/themer/kdmlayout.cpp
index 093d450fc..9a277a7a3 100644
--- a/kdm/kfrontend/themer/kdmlayout.cpp
+++ b/kdm/kfrontend/themer/kdmlayout.cpp
@@ -19,9 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include "kdmlayout.h"
-#include "kdmconfig.h"
-#include "kdmitem.h"
+#include "tdmlayout.h"
+#include "tdmconfig.h"
+#include "tdmitem.h"
#include <kdebug.h>
diff --git a/kdm/kfrontend/themer/kdmlayout.h b/kdm/kfrontend/themer/kdmlayout.h
index 4c73e9a1b..c147fd329 100644
--- a/kdm/kfrontend/themer/kdmlayout.h
+++ b/kdm/kfrontend/themer/kdmlayout.h
@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#ifndef KDMLAYOUT_H
-#define KDMLAYOUT_H
+#ifndef TDMLAYOUT_H
+#define TDMLAYOUT_H
/**
* this is a container for a lot of other stuff
diff --git a/kdm/kfrontend/themer/kdmpixmap.cpp b/kdm/kfrontend/themer/kdmpixmap.cpp
index 8020bd1e1..7a8d1a3d2 100644
--- a/kdm/kfrontend/themer/kdmpixmap.cpp
+++ b/kdm/kfrontend/themer/kdmpixmap.cpp
@@ -21,8 +21,8 @@
#include <config.h>
-#include "kdmpixmap.h"
-#include <kdmconfig.h>
+#include "tdmpixmap.h"
+#include <tdmconfig.h>
#include <kimageeffect.h>
#ifdef HAVE_LIBART
@@ -68,10 +68,10 @@ KdmPixmap::KdmPixmap( KdmItem *parent, const TQDomNode &node, const char *name )
parseColor( el.attribute( "tint", "#ffffff" ), pixmap.normal.tint );
pixmap.normal.alpha = el.attribute( "alpha", "1.0" ).toFloat();
- if (el.attribute( "file", "" ) == "@@@KDMBACKGROUND@@@") {
+ if (el.attribute( "file", "" ) == "@@@TDMBACKGROUND@@@") {
if ((_compositor.isEmpty()) || (!argb_visual_available)) {
// Software blend only (no compositing support)
- // Use the preset KDM background...
+ // Use the preset TDM background...
KStandardDirs *m_pDirs = KGlobal::dirs();
KSimpleConfig *config = new KSimpleConfig( TQFile::decodeName( _backgroundCfg ) );
config->setGroup("Desktop0");
@@ -337,4 +337,4 @@ KdmPixmap::statusChanged()
needUpdate();
}
-#include "kdmpixmap.moc"
+#include "tdmpixmap.moc"
diff --git a/kdm/kfrontend/themer/kdmpixmap.h b/kdm/kfrontend/themer/kdmpixmap.h
index a12c9fea4..faa71a034 100644
--- a/kdm/kfrontend/themer/kdmpixmap.h
+++ b/kdm/kfrontend/themer/kdmpixmap.h
@@ -19,10 +19,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#ifndef KDMPIXMAP_H
-#define KDMPIXMAP_H
+#ifndef TDMPIXMAP_H
+#define TDMPIXMAP_H
-#include "kdmitem.h"
+#include "tdmitem.h"
//#include <tqrect.h>
#include <tqpixmap.h>
diff --git a/kdm/kfrontend/themer/kdmrect.cpp b/kdm/kfrontend/themer/kdmrect.cpp
index 1db128da0..9056a513c 100644
--- a/kdm/kfrontend/themer/kdmrect.cpp
+++ b/kdm/kfrontend/themer/kdmrect.cpp
@@ -19,9 +19,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include "kdmrect.h"
-#include "kdmthemer.h"
-#include "kdmconfig.h"
+#include "tdmrect.h"
+#include "tdmthemer.h"
+#include "tdmconfig.h"
#include <kimageeffect.h>
#include <kdebug.h>
@@ -178,4 +178,4 @@ KdmRect::setWidget( TQWidget *widget )
//setAttribs( widget );
}
-#include "kdmrect.moc"
+#include "tdmrect.moc"
diff --git a/kdm/kfrontend/themer/kdmrect.h b/kdm/kfrontend/themer/kdmrect.h
index a505e1921..6dfdc126a 100644
--- a/kdm/kfrontend/themer/kdmrect.h
+++ b/kdm/kfrontend/themer/kdmrect.h
@@ -19,10 +19,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#ifndef KDMRECT_H
-#define KDMRECT_H
+#ifndef TDMRECT_H
+#define TDMRECT_H
-#include "kdmitem.h"
+#include "tdmitem.h"
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/kdm/kfrontend/themer/kdmthemer.cpp b/kdm/kfrontend/themer/kdmthemer.cpp
index 39a1abe81..d2dc77935 100644
--- a/kdm/kfrontend/themer/kdmthemer.cpp
+++ b/kdm/kfrontend/themer/kdmthemer.cpp
@@ -19,13 +19,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include "kdmthemer.h"
-#include "kdmitem.h"
-#include "kdmpixmap.h"
-#include "kdmrect.h"
-#include "kdmlabel.h"
+#include "tdmthemer.h"
+#include "tdmitem.h"
+#include "tdmpixmap.h"
+#include "tdmrect.h"
+#include "tdmlabel.h"
-#include <kdmconfig.h>
+#include <tdmconfig.h>
#include <kfdialog.h>
#include <kiconloader.h>
@@ -76,7 +76,7 @@ KdmThemer::KdmThemer( const TQString &_filename, const TQString &mode, TQWidget
return;
}
// Set the root (screen) item
- rootItem = new KdmRect( parent, TQDomNode(), "kdm root" );
+ rootItem = new KdmRect( parent, TQDomNode(), "tdm root" );
connect( rootItem, TQT_SIGNAL(needUpdate( int, int, int, int )),
widget(), TQT_SLOT(update( int, int, int, int )) );
@@ -401,4 +401,4 @@ KdmThemer::slotPaintRoot()
TQT_TQWIDGET(TQApplication::desktop()->screen())->erase();
}
-#include "kdmthemer.moc"
+#include "tdmthemer.moc"
diff --git a/kdm/kfrontend/themer/kdmthemer.h b/kdm/kfrontend/themer/kdmthemer.h
index f9a0b1b6f..2b8865b4d 100644
--- a/kdm/kfrontend/themer/kdmthemer.h
+++ b/kdm/kfrontend/themer/kdmthemer.h
@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#ifndef KDMTHEMER_H
-#define KDMTHEMER_H
+#ifndef TDMTHEMER_H
+#define TDMTHEMER_H
#include <tqobject.h>
#include <tqdom.h>