From 4a2395293628f0f3053ef1c1df08af704a02e9c6 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Fri, 7 Nov 2008 18:04:32 +0000 Subject: [PATCH] get krazy off my back svn path=/trunk/KDE/kdelibs/; revision=881296 --- widgets/make_widget.sh | 4 ++-- widgets/{template.cpp => widget.cpp.template} | 0 widgets/{template.h => widget.h.template} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename widgets/{template.cpp => widget.cpp.template} (100%) rename widgets/{template.h => widget.h.template} (100%) diff --git a/widgets/make_widget.sh b/widgets/make_widget.sh index e93bb29f6..0060d761d 100755 --- a/widgets/make_widget.sh +++ b/widgets/make_widget.sh @@ -11,8 +11,8 @@ SOURCE="${LOWERNAME}.cpp" BOTH="$HEADER $SOURCE" QHEADER="Q${HEADER}" -cp template.h $HEADER -cp template.cpp $SOURCE +cp widget.h.template $HEADER +cp widget.cpp.template $SOURCE perl -pi -e "s,,${NAME},g" $BOTH perl -pi -e "s,,${CAPNAME},g" $BOTH diff --git a/widgets/template.cpp b/widgets/widget.cpp.template similarity index 100% rename from widgets/template.cpp rename to widgets/widget.cpp.template diff --git a/widgets/template.h b/widgets/widget.h.template similarity index 100% rename from widgets/template.h rename to widgets/widget.h.template