summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am22
-rw-r--r--NEWS0
-rw-r--r--README99
-rw-r--r--README.md69
m---------admin0
-rw-r--r--configure.in.in162
-rw-r--r--doc/Makefile.am6
-rw-r--r--doc/cs/Makefile.am2
-rw-r--r--doc/de/Makefile.am2
-rw-r--r--doc/en/Makefile.am2
-rw-r--r--doc/fi/Makefile.am2
-rw-r--r--doc/hu/Makefile.am2
-rw-r--r--doc/nb/Makefile.am2
-rw-r--r--doc/online/Makefile8
-rwxr-xr-xdoc/online/replace2
-rw-r--r--po/Makefile.am18
-rw-r--r--src/Makefile.am102
-rw-r--r--src/configure.in.in9
-rw-r--r--src/pics/Makefile.am3
-rw-r--r--templates/cpp29
-rw-r--r--templates/h37
21 files changed, 69 insertions, 509 deletions
diff --git a/Makefile.am b/Makefile.am
deleted file mode 100644
index 8a2284f..0000000
--- a/Makefile.am
+++ /dev/null
@@ -1,22 +0,0 @@
-SUBDIRS = $(TOPSUBDIRS)
-
-$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
- cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
-
-$(top_srcdir)/subdirs:
- cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
-
-$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
- @cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
-
-MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files
-
-package-messages:
- cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common package-messages
- $(MAKE) -C po merge
-
-EXTRA_DIST = admin COPYING configure.in.in
-
-dist-hook:
- cd $(top_distdir) && perl admin/am_edit -padmin
- cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
diff --git a/NEWS b/NEWS
deleted file mode 100644
index e69de29..0000000
--- a/NEWS
+++ /dev/null
diff --git a/README b/README
deleted file mode 100644
index 11ab191..0000000
--- a/README
+++ /dev/null
@@ -1,99 +0,0 @@
-****************************************************************************
-* DEPENDENCIES *
-****************************************************************************
-
-You need the following packages (the package names maybe differ for each
-distribution) to compile TDEPowersave:
-
- - dbus (dbus-devel, dbus-qt3-devel) >= 0.6.x recommended: >= 0.9.x
- - hal (hal-devel) recommended: >= 0.5.9.1
- - tdelibs3-devel recommended: >= 3.4.3/3.5.x
- - pkgconfig
- - xorg-x11-devel (for detect inactivity and set DPMS)
-
- and maybe also these packages:
- - doxygen (for code documentation)
- - docbook, trinitysdk (handbook)
-
- other (may) needed packages for run all TDEPowersave features:
- - PolicyKit, recommended >= 0.2
- - ConsoleKit
-
-
-****************************************************************************
-* INSTALLATION *
-****************************************************************************
-
-* For SUSE users how to generate configure:
-
- . /etc/opt/trinity/common_options
- update_admin
-
-* For other distributions try this to generate configure:
-
- make -f admin/Makefile.common cvs
-
-
-* Execute the following commands to compile, make and install tdepowersave:
-
- ./configure --prefix=/opt/trinity [--enable-debug=full]
- make
- make install
-
-
- For the rest (or more general information) read the INSTALL file.
-
-
-
-****************************************************************************
-* HELP/SUPPORT *
-****************************************************************************
-
- Project Websites:
- ===================
-
- TDEPowersave@freshmeat.net:
- * http://freshmeat.net/projects/tdepowersave
-
- TDEPowersave@kde-apps.org:
- * http://www.kde-apps.org/content/show.php?content=29295
-
- (K)Powersave@sourceforge.net:
- * http://sourceforge.net/projects/powersave
-
- (K)Powersave@forge.novell.com:
- * http://developer.novell.com/wiki/index.php/Powersave
-
- Mailinglists:
- ===============
-
- powersave-users with enduser support:
- * http://forge.novell.com/mailman/listinfo/powersave-users
-
- powersave-devel for developer and port to distributions:
- * http://forge.novell.com/mailman/listinfo/powersave-devel
-
-
- Forums:
- =========
-
- * http://sourceforge.net/forum/?group_id=124576
-
-
- Bugreports:
- =============
-
- Please report distribution or packaging related bugs to the bugreport
- system of your distribution e.g.:
- * SUSE Linux: http://en.opensuse.org/Report_a_Bug
- * SLES/SLED: https://bugzilla.novell.com/
- * Debian: http://www.debian.org/Bugs/
- * K/Ubuntu: https://launchpad.net/distros/ubuntu/+bugs
- * RedHat: https://bugzilla.redhat.com/
- * Mandriva: http://qa.mandriva.com/
- * ALT Linux: http://bugzilla.altlinux.org/
- * Pardus: http://bugs.pardus.org.tr/
-
- For general Bugs use:
- * http://sourceforge.net/tracker/?group_id=124576&atid=700009
- * powersave-users mailinglist
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..3726d41
--- /dev/null
+++ b/README.md
@@ -0,0 +1,69 @@
+Power management applet for Trinity
+
+TDEPowersave is a TDE systray applet which allows to control the power
+management settings and policies of your computer.
+
+Current feature list:
+ * support for ACPI, APM and PMU
+ * trigger suspend to disk/ram and standby
+ * switch cpu frequency policy (between: performance, dynamic and powersave)
+ * applet icon with information about AC state, battery fill and battery
+ (warning) states
+ * applet tooltip with information about battery fill and remaining battery
+ time/percentage
+ * autosuspend (to suspend the machine if the user has been inactive for a
+ defined time)
+ * a global configurable blacklist with programs which prevent autosuspend
+ (e.g. videoplayer and cd burning tools)
+ * trigger lock screen and select the lock method
+ * KNotify support
+ * online help
+ * localisations for many languages
+
+TDEPowersave supports schemes with following configurable specific
+settings for:
+ * screensaver
+ * DPMS
+ * autosuspend
+ * scheme specific blacklist for autosuspend
+ * notification settings
+
+
+You need the following packages to compile TDEPowersave:
+
+ - dbus (dbus-devel, dbus-qt3-devel) >= 0.6.x recommended: >= 0.9.x
+ - tdelibs3-devel recommended: >= 3.4.3/3.5.x
+ - pkgconfig
+ - xorg-x11-devel (for detect inactivity and set DPMS)
+
+ and maybe also these packages:
+ - doxygen (for code documentation)
+ - docbook, trinitysdk (handbook)
+
+ other (may) needed packages for run all TDEPowersave features:
+ - PolicyKit, recommended >= 0.2
+
+.
+
+Contributing
+--------------
+
+If you wish to contribute to tdepowersave, you might do so:
+
+- TDE Gitea Workspace (TGW) collaboration tool.
+ https://mirror.git.trinitydesktop.org/gitea
+
+- TDE Weblate Translation Workspace (TWTW) collaboration tool.
+ https://mirror.git.trinitydesktop.org/weblate
+
+
+Translations status
+---------------------
+
+### messages
+[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/tdepowersave/multi-auto.svg
+"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/tdepowersave/)
+
+### desktop files
+[![Translations status](https://mirror.git.trinitydesktop.org/weblate/widgets/applications/-/tdepowersave-desktop-files/multi-auto.svg
+"Engage in translating")](https://mirror.git.trinitydesktop.org/weblate/projects/applications/tdepowersave-desktop-files/)
diff --git a/admin b/admin
deleted file mode 160000
-Subproject a7f75ac0ff587d5b8694a1b78557597161f8104
diff --git a/configure.in.in b/configure.in.in
deleted file mode 100644
index 3c123f9..0000000
--- a/configure.in.in
+++ /dev/null
@@ -1,162 +0,0 @@
-#MIN_CONFIG(3.2.0)
-
-AM_INIT_AUTOMAKE(tdepowersave, 0.7.3, danny.kukawka@web.de)
-AC_C_BIGENDIAN
-AC_CHECK_KDEMAXPATHLEN
-
-AC_ARG_ENABLE(debug-msg, [ --enable-debug-msg build with debug messages],enable_debug_msg=$enableval,enable_debug_msg=auto)
-AC_ARG_ENABLE(yast-entry, [ --enable-yast-entry build with a YaST entry in the applet menu],enable_yast_entry=$enableval,enable_yast_entry=auto)
-AC_ARG_ENABLE(fake-cpu, [ --enable-fake-cpu use fake cpu environment],enable_fake_cpu=$enableval,enable_fake_cpu=auto)
-AC_ARG_ENABLE(suse-sles, [ --enable-suse-sles set SLES/SLED as distribution],enable_suse_sles=$enableval,enable_suse_sles=auto)
-
-YAST_ENTRY="no"
-PKG_PROG_PKG_CONFIG
-
-if test x$enable_suse_sles = xyes; then
- AC_DEFINE([DISTRO_IS_SUSE],1,[define if the distro is SUSE])
- AC_DEFINE([DISTRO_IS_SLES_SLED],1,[define if the distro is a SUSE Linux Enterprise product])
- YAST_ENTRY="yes"
- echo "detected distribution: SUSE Linux / a SUSE Linux Enterprise product"
-elif test -f /etc/SuSE-release ; then
- AC_DEFINE([DISTRO_IS_SUSE],1,[define if the distro is SUSE])
- echo -n "detected distribution: SUSE Linux "
- YAST_ENTRY="yes"
- if test -x /usr/bin/lsb_release ; then
- /usr/bin/lsb_release -d -s > lsb_id.tmp
- if test -f lsb_id.tmp; then
- read LSB_ID < lsb_id.tmp
- case "$LSB_ID" in
- *SUSE*Linux*Enterprise*)
- AC_DEFINE([DISTRO_IS_SLES_SLED],1,[define if the distro is a SUSE Linux Enterprise product])
- echo "/ a SUSE Linux Enterprise product"
- ;;
- *)
- /usr/bin/lsb_release -r -s > lsb_release.tmp
- if test -f lsb_release.tmp; then
- read LSB_RELEASE < lsb_release.tmp
- case "$LSB_RELEASE" in
- *10)
- ;;
- *10.1)
- ;;
- *10.2)
- ;;
- *)
- YAST_ENTRY="no"
- ;;
- esac
- rm -f lsb_release.tmp;
- fi
- echo ""
- ;;
- esac
- rm -f lsb_id.tmp;
- else
- echo ""
- fi
- fi
-elif test -f /etc/altlinux-release ; then
- AC_DEFINE([DISTRO_IS_ALTLINUX],1,[define if the distro is AltLinux])
- echo "detected distribution: ALT Linux"
-elif test -f /etc/fedora-release ; then
- AC_DEFINE([DISTRO_IS_FEDORA],1,[define if the distro is RedHat/Fedora])
- echo "detected distribution: RedHat/Fedora"
-elif test -f /etc/mandrake-release -o -f /etc/mandriva-release -o -f /etc/mandrakelinux-release; then
- AC_DEFINE([DISTRO_IS_MANDRAKE],1,[define if the distro is Mandrake])
- echo "detected distribution: Mandrake/Mandriva"
-elif test -f /etc/pardus-release ; then
- AC_DEFINE([DISTRO_IS_PARDUS],1,[define if the distro is Pardus])
- echo "detected distribution: Pardus"
-elif test -f /etc/redhat-release ; then
- AC_DEFINE([DISTRO_IS_REDHAT],1,[define if the distro is RedHat])
- echo "detected distribution: RedHat"
-elif test -f /etc/gentoo-release ; then
- AC_DEFINE([DISTRO_IS_GENTOO],1,[define if the distro is Gentoo])
- echo "detected distribution: Gentoo"
-elif test -f /etc/slackware-version ; then
- AC_DEFINE([DISTRO_IS_SLACKWARE],1,[define if the distro is Slackware])
- echo "detected distribution: Slackware"
-elif test -f /etc/debian_version ; then
- if test -x /bin/lsb_release ; then
- /bin/lsb_release -id -s > lsb_id.tmp
- if test -f lsb_id.tmp; then
- read LSB_ID < lsb_id.tmp
- case "$LSB_ID" in
- Ubuntu*)
- AC_DEFINE([DISTRO_IS_UBUNTU],1,[define if the distro is Ubuntu/Kubuntu])
- echo "detected distribution: Ubuntu/Kubuntu"
- ;;
- *)
- # couldn't detect special derivat, set to Debian
- AC_DEFINE([DISTRO_IS_DEBIAN],1,[define if the distro is Debian])
- echo "detected distribution: Debian"
- ;;
- esac
- rm -f lsb_id.tmp;
- else
- # paranoid Fallback
- AC_DEFINE([DISTRO_IS_DEBIAN],1,[define if the distro is Debian])
- echo "detected distribution: Debian"
- fi
- else
- # Fallback if /bin/lsb_release is not available
- AC_DEFINE([DISTRO_IS_DEBIAN],1,[define if the distro is Debian])
- echo "detected distribution: Debian"
- fi
-else
- AC_DEFINE([DISTRO_IS_UNKNOW],1,[define if the distro is unknown])
- echo "detected distribution: unknown"
-fi
-
-if test x$enable_debug_msg = xyes; then
- AC_DEFINE([ENABLE_DEBUG_MSG_MODE],1,[Support a verbose mode with debug messages])
- echo "enabled debug messages: yes"
-else
- echo "enabled debug messages: no"
-fi
-if test x$enable_yast_entry = xyes; then
- AC_DEFINE([ENABLE_YAST_ENTRY],1,[Add YaST entry in the applet menu])
- echo "enabled YaST menu entry: yes"
-else
- echo "enabled YaST menu entry: $YAST_ENTRY"
- if test x$YAST_ENTRY = xyes; then
- AC_DEFINE([ENABLE_YAST_ENTRY],1,[Add YaST entry in the applet menu])
- fi
-fi
-
-if test x$enable_fake_cpu = xyes; then
- AC_DEFINE([FAKE_CPU],1,[Fake /sys and /proc - for developing])
- echo "enabled faked sysfs - proc environment: yes"
-else
- echo "enabled faked sysfs - proc environment: no"
-fi
-
-pkg_modules="dbus-1 >= 0.6"
-PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
-
-# get dbus system bus socket
-DBUS_SYSTEM_BUS_SOCKET="`pkg-config --variable=system_bus_default_address dbus-1`"
-if test -z "$DBUS_SYSTEM_BUS_SOCKET"; then
- # use default
- DBUS_SYSTEM_BUS_SOCKET="unix:path=/var/run/dbus/system_bus_socket"
-fi
-
-AC_DEFINE_UNQUOTED(DBUS_SYSTEM_BUS_SOCKET, ["$DBUS_SYSTEM_BUS_SOCKET"],
- [dbus system bus socket path])
-
-
-# check for dbus qt bindings --> copied from KNetworkmanager
-safe_CPPFLAGS=$CPPFLAGS
-CPPFLAGS="$CPPFLAGS $PACKAGE_CFLAGS $all_includes"
-AC_LANG_SAVE
-AC_LANG_CPLUSPLUS
-AC_CHECK_HEADER([dbus/connection.h],,[AC_MSG_ERROR([You need D-BUS/Qt3 bindings])])
-AC_CHECK_HEADER([dbus/message.h],,[AC_MSG_ERROR([You need D-BUS/Qt3 bindings])])
-CPPFLAGS=$safe_CPPFLAGS
-AC_LANG_RESTORE
-
-# call needed substitutions
-AC_SUBST(PACKAGE_CFLAGS)
-AC_SUBST(PACKAGE_LIBS)
-AC_SUBST(XGETTEXT)
-AC_SUBST(CXXFLAGS)
diff --git a/doc/Makefile.am b/doc/Makefile.am
deleted file mode 100644
index 40baf08..0000000
--- a/doc/Makefile.am
+++ /dev/null
@@ -1,6 +0,0 @@
-# the SUBDIRS is filled automatically by am_edit. If files are
-# in this directory they are installed into the english dir
-
-KDE_LANG = en
-KDE_DOCS = AUTO
-SUBDIRS = $(AUTODIRS)
diff --git a/doc/cs/Makefile.am b/doc/cs/Makefile.am
deleted file mode 100644
index d84e212..0000000
--- a/doc/cs/Makefile.am
+++ /dev/null
@@ -1,2 +0,0 @@
-KDE_DOCS = tdepowersave
-KDE_LANG = cs
diff --git a/doc/de/Makefile.am b/doc/de/Makefile.am
deleted file mode 100644
index df4330f..0000000
--- a/doc/de/Makefile.am
+++ /dev/null
@@ -1,2 +0,0 @@
-KDE_DOCS = tdepowersave
-KDE_LANG = de
diff --git a/doc/en/Makefile.am b/doc/en/Makefile.am
deleted file mode 100644
index 3a62a55..0000000
--- a/doc/en/Makefile.am
+++ /dev/null
@@ -1,2 +0,0 @@
-KDE_DOCS = tdepowersave
-KDE_LANG = en
diff --git a/doc/fi/Makefile.am b/doc/fi/Makefile.am
deleted file mode 100644
index ae1fef4..0000000
--- a/doc/fi/Makefile.am
+++ /dev/null
@@ -1,2 +0,0 @@
-KDE_DOCS = tdepowersave
-KDE_LANG = fi
diff --git a/doc/hu/Makefile.am b/doc/hu/Makefile.am
deleted file mode 100644
index 1868e28..0000000
--- a/doc/hu/Makefile.am
+++ /dev/null
@@ -1,2 +0,0 @@
-KDE_DOCS = tdepowersave
-KDE_LANG = hu
diff --git a/doc/nb/Makefile.am b/doc/nb/Makefile.am
deleted file mode 100644
index a5b5f87..0000000
--- a/doc/nb/Makefile.am
+++ /dev/null
@@ -1,2 +0,0 @@
-KDE_DOCS = tdepowersave
-KDE_LANG = nb
diff --git a/doc/online/Makefile b/doc/online/Makefile
deleted file mode 100644
index e51b7a2..0000000
--- a/doc/online/Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
-all:
- meinproc --stylesheet /opt/trinity/share/apps/ksgmltools2/customization/tde-web.xsl ../en/index.docbook
- ./replace
- rm *.bak
- cp ../en/*.png .
-
-clean:
- rm *.png *.html
diff --git a/doc/online/replace b/doc/online/replace
deleted file mode 100755
index 9b99c81..0000000
--- a/doc/online/replace
+++ /dev/null
@@ -1,2 +0,0 @@
-von='..\/common\/kde_logo.png' nach='kde_logo.png'; filetype='*.html'; OLDIFS=$IFS; IFS='
-' ; files=`find . -name "$filetype"`; for f in $files;do cp $f $f.bak; g="$f.mettytmp"; echo "Searching in $f ..."; cat "$f" | sed "s/$von/$nach/" > "$g" && mv "$g" "$f"; rm -f *.mettytmp; done; IFS=$OLDIFS;
diff --git a/po/Makefile.am b/po/Makefile.am
deleted file mode 100644
index 91161d1..0000000
--- a/po/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-POFILES = AUTO
-
-EXTRA_DIST = tdepowersave.pot
-
-messages_stat:
- for f in *.po; do echo -n $f :; msgfmt --stat $f ; done
-
-messages_merge:
- for f in *.po; do echo -n $f :; msgmerge -U $f tdepowersave.pot; done
-
-messages_diff:
- for f in *.po; \
- do \
- msgmerge $f tdepowersave.pot > $f.tmp; \
- echo -n "diff $f to $f.diff"; \
- msgcomm --force-po -o $f.diff --less-than 2 $f $f.tmp; \
- rm $f.tmp; \
- done
diff --git a/src/Makefile.am b/src/Makefile.am
deleted file mode 100644
index 9c7b044..0000000
--- a/src/Makefile.am
+++ /dev/null
@@ -1,102 +0,0 @@
-# set the include path for X, qt and KDE
-INCLUDES = \
- -DPACKAGE_KDE_SOUND_DIR=\""$(prefix)/share/sounds/"\" \
- $(all_includes) \
- @PACKAGE_CFLAGS@
-
-# these are the headers for your project
-noinst_HEADERS = \
- autodimm.h \
- autosuspend.h \
- blacklisteditdialog.h \
- configuredialog.h \
- countdowndialog.h \
- dbusInterface.h \
- detaileddialog.h \
- hardware.h \
- hardware_battery.h \
- hardware_batteryCollection.h \
- hardware_cpu.h \
- inactivity.h \
- infodialog.h \
- tdepowersave.h \
- logviewer.h \
- screen.h \
- settings.h \
- suspenddialog.h
-
-
-# let automoc handle all of the meta source files (moc)
-METASOURCES = AUTO
-
-KDE_ICON = tdepowersave
-
-#########################################################################
-# APPLICATION SECTION
-#########################################################################
-# this is the program that gets installed. it's name is used for all
-# of the other Makefile.am variables
-
-bin_PROGRAMS =
-lib_LTLIBRARIES =
-tdeinit_LTLIBRARIES = tdepowersave.la
-
-# the application source, library search path, and link libraries
-tdepowersave_la_SOURCES = \
- dummy.cpp \
- autodimm.cpp \
- autosuspend.cpp \
- blacklistedit_Dialog.ui \
- blacklisteditdialog.cpp \
- configure_Dialog.ui \
- configuredialog.cpp \
- countdown_Dialog.ui \
- countdowndialog.cpp \
- dbusInterface.cpp \
- detailed_Dialog.ui \
- detaileddialog.cpp \
- hardware.cpp \
- hardware_battery.cpp \
- hardware_batteryCollection.cpp \
- hardware_cpu.cpp \
- inactivity.cpp \
- info_Dialog.ui \
- infodialog.cpp \
- tdepowersave.cpp \
- tdepowersave.skel \
- log_viewer.ui \
- logviewer.cpp \
- main.cpp \
- screen.cpp \
- settings.cpp \
- suspenddialog.cpp \
- suspend_Dialog.ui
-
-
-tdepowersave_la_LDFLAGS = $(KDE_RPATH) $(all_libraries) -module -avoid-version
-tdepowersave_la_LIBADD = $(LIB_TDEIO) @PACKAGE_LIBS@ -ldbus-tqt-1 -lXss -lXext -lXtst
-
-# this is where the desktop file will go
-xdg_apps_DATA = tdepowersave.desktop
-
-# and for autostart
-autostartdir = $(prefix)/share/autostart
-autostart_DATA = tdepowersave-autostart.desktop
-
-# this is where the shell's XML-GUI resource file goes
-shellrcdir = $(kde_datadir)/tdepowersave
-shellrc_DATA = eventsrc
-# shellrc_DATA = tdepowersaveui.rc
-
-# pics subdir
-SUBDIRS = pics
-messages:
- $(EXTRACTRC) *ui eventsrc >> rc.cpp
- $(XGETTEXT) `find . -name \*.h -o -name \*.H -o -name \*.cpp -o -name \*.C` -o $(podir)/tdepowersave.pot
- rm -f rc.cpp
-
-install-data-local:
- $(mkinstalldirs) $(DESTDIR)$(kde_confdir)
- $(INSTALL_DATA) $(top_srcdir)/src/config/tdepowersaverc_default $(DESTDIR)$(kde_confdir)/tdepowersaverc
-
-
diff --git a/src/configure.in.in b/src/configure.in.in
deleted file mode 100644
index 1ba5bac..0000000
--- a/src/configure.in.in
+++ /dev/null
@@ -1,9 +0,0 @@
-#MIN_CONFIG(3.0.0)
-
-AM_INIT_AUTOMAKE(tdepowersave, 0.1)
-AC_C_BIGENDIAN
-AC_CHECK_KDEMAXPATHLEN
-
-AC_PATH_TQT
-# AC_PATH_TQT_TQMOC_UIC
-
diff --git a/src/pics/Makefile.am b/src/pics/Makefile.am
deleted file mode 100644
index 213fe82..0000000
--- a/src/pics/Makefile.am
+++ /dev/null
@@ -1,3 +0,0 @@
-tdepowersaveiconsdir = $(kde_datadir)/tdepowersave/icons
-tdepowersaveicons_ICON = AUTO
-
diff --git a/templates/cpp b/templates/cpp
deleted file mode 100644
index 267d742..0000000
--- a/templates/cpp
+++ /dev/null
@@ -1,29 +0,0 @@
-/***************************************************************************
- * Copyright (C) $YEAR$ by $AUTHOR$ *
- * <$EMAIL$> *
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of version 2 of the GNU General Public License *
- * as published by the Free Software Foundation. *
- * *
- * This program 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 this program; if not, write to the *
- * Free Software Foundation, Inc., *
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
- ***************************************************************************/
-
-/*! \file $FILENAME$.cpp
- * \brief In this file can be found the ____ related code.
- * \author $AUTHOR$, <$EMAIL$>
- * \version 0.0.1
- * \date 2007
- */
-
-#include "$FILENAME$.h"
-
-#include "$FILENAME$.moc"
diff --git a/templates/h b/templates/h
deleted file mode 100644
index 83905e3..0000000
--- a/templates/h
+++ /dev/null
@@ -1,37 +0,0 @@
-/***************************************************************************
- * Copyright (C) $YEAR$ by $AUTHOR$ *
- * <$EMAIL$> *
- * *
- * This program is free software; you can redistribute it and/or modify *
- * it under the terms of version 2 of the GNU General Public License *
- * as published by the Free Software Foundation. *
- * *
- * This program 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 this program; if not, write to the *
- * Free Software Foundation, Inc., *
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
- ***************************************************************************/
-
-/*!
-* \file $FILENAME$.h
-* \brief Headerfile for $FILENAME$.cpp and the class \ref *CLASS*.
-*/
-/*!
-* \class *CLASS*
-* \brief class for ____ related funtionality
-* \author $AUTHOR$, <$EMAIL$>
-* \version 0.0.1
-* \date 2007
-*/
-
-#ifndef _$FILENAME$_H_
-#define _$FILENAME$_H_
-
-
-
-#endif