summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-12-17 20:50:19 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-12-17 23:51:16 +0900
commit4ae7b32dc09eb7acd9411a8af63a767660aa64ec (patch)
tree3d150131675502f5d5a3ff054ec6fc3dbe4e78fd /languages/cpp/app_templates
parent25071ecede33675972c3163f4b46df964a06dadf (diff)
downloadtdevelop-4ae7b32dc09eb7acd9411a8af63a767660aa64ec.tar.gz
tdevelop-4ae7b32dc09eb7acd9411a8af63a767660aa64ec.zip
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3e3d9eda9d1dd8c67c1c27c6a9bdc68bdecfcc30)
Diffstat (limited to 'languages/cpp/app_templates')
-rw-r--r--languages/cpp/app_templates/gnome2mmapp/Makefile.am10
-rw-r--r--languages/cpp/app_templates/gnome2mmapp/gnome2mm.cpp (renamed from languages/cpp/app_templates/gnome2mmapp/gnome2mm.cc)2
-rw-r--r--languages/cpp/app_templates/gnome2mmapp/gnome2mmapp.kdevtemplate20
-rw-r--r--languages/cpp/app_templates/gnome2mmapp/main_window.cpp (renamed from languages/cpp/app_templates/gnome2mmapp/main_window.cc)4
-rw-r--r--languages/cpp/app_templates/gnome2mmapp/main_window.h (renamed from languages/cpp/app_templates/gnome2mmapp/main_window.hh)8
-rw-r--r--languages/cpp/app_templates/gnome2mmapp/main_window_glade.cpp (renamed from languages/cpp/app_templates/gnome2mmapp/main_window_glade.cc)4
-rw-r--r--languages/cpp/app_templates/gnome2mmapp/main_window_glade.h (renamed from languages/cpp/app_templates/gnome2mmapp/main_window_glade.hh)6
-rw-r--r--languages/cpp/app_templates/gnome2mmapp/src-Makefile.am10
-rw-r--r--languages/cpp/app_templates/gtk2mmapp/CMakeLists.txt8
-rw-r--r--languages/cpp/app_templates/gtk2mmapp/Makefile.am10
-rw-r--r--languages/cpp/app_templates/gtk2mmapp/gtk2mm.cpp (renamed from languages/cpp/app_templates/gtk2mmapp/gtk2mm.cc)2
-rw-r--r--languages/cpp/app_templates/gtk2mmapp/gtk2mmapp.kdevtemplate20
-rw-r--r--languages/cpp/app_templates/gtk2mmapp/main_window.cpp (renamed from languages/cpp/app_templates/gtk2mmapp/main_window.cc)4
-rw-r--r--languages/cpp/app_templates/gtk2mmapp/main_window.h (renamed from languages/cpp/app_templates/gtk2mmapp/main_window.hh)8
-rw-r--r--languages/cpp/app_templates/gtk2mmapp/main_window_glade.cpp (renamed from languages/cpp/app_templates/gtk2mmapp/main_window_glade.cc)4
-rw-r--r--languages/cpp/app_templates/gtk2mmapp/main_window_glade.h (renamed from languages/cpp/app_templates/gtk2mmapp/main_window_glade.hh)6
-rw-r--r--languages/cpp/app_templates/gtk2mmapp/src-Makefile.am10
17 files changed, 64 insertions, 72 deletions
diff --git a/languages/cpp/app_templates/gnome2mmapp/Makefile.am b/languages/cpp/app_templates/gnome2mmapp/Makefile.am
index f86ae76c..bca35481 100644
--- a/languages/cpp/app_templates/gnome2mmapp/Makefile.am
+++ b/languages/cpp/app_templates/gnome2mmapp/Makefile.am
@@ -1,7 +1,7 @@
-dataFiles = acconfig.h autogen.sh gnome2mm.glade main_window.cc \
- main_window_glade.hh Makefile.am app-Makefile.am \
- configure.in gnome2mm.gladep main_window.hh \
- app.kdevelop gnome2mm.cc gnome2mmapp main_window_glade.cc\
+dataFiles = acconfig.h autogen.sh gnome2mm.glade main_window.cpp \
+ main_window_glade.h Makefile.am app-Makefile.am \
+ configure.in gnome2mm.gladep main_window.h \
+ app.kdevelop gnome2mm.cpp gnome2mmapp main_window_glade.cpp\
src-Makefile.am config.h gnome2mmapp.png
templateName = gnome2mmapp
@@ -18,4 +18,4 @@ $(templateName).tar.gz: ${dataFiles}
archivedir = ${appwizarddatadir}
archive_DATA = $(templateName).tar.gz ${templateName}.png
-CLEANFILES = *.tar.gz \ No newline at end of file
+CLEANFILES = *.tar.gz
diff --git a/languages/cpp/app_templates/gnome2mmapp/gnome2mm.cc b/languages/cpp/app_templates/gnome2mmapp/gnome2mm.cpp
index 8a33b9ff..be1ab196 100644
--- a/languages/cpp/app_templates/gnome2mmapp/gnome2mm.cc
+++ b/languages/cpp/app_templates/gnome2mmapp/gnome2mm.cpp
@@ -4,7 +4,7 @@
#include <gnome--/main.h>
#include <libgnome/gnome-i18n.h>
-#include "main_window.hh"
+#include "main_window.h"
int main(int argc, char **argv)
{
diff --git a/languages/cpp/app_templates/gnome2mmapp/gnome2mmapp.kdevtemplate b/languages/cpp/app_templates/gnome2mmapp/gnome2mmapp.kdevtemplate
index 3b13385f..21dbd814 100644
--- a/languages/cpp/app_templates/gnome2mmapp/gnome2mmapp.kdevtemplate
+++ b/languages/cpp/app_templates/gnome2mmapp/gnome2mmapp.kdevtemplate
@@ -75,28 +75,28 @@ Dest=%{dest}/src/Makefile.am
[FILE10]
Type=install
-Source=%{src}/gnome2mm.cc
-Dest=%{dest}/src/%{APPNAMELC}.cc
+Source=%{src}/gnome2mm.cpp
+Dest=%{dest}/src/%{APPNAMELC}.cpp
[FILE11]
Type=install
-Source=%{src}/main_window.hh
-Dest=%{dest}/src/main_window.hh
+Source=%{src}/main_window.h
+Dest=%{dest}/src/main_window.h
[FILE12]
Type=install
-Source=%{src}/main_window.cc
-Dest=%{dest}/src/main_window.cc
+Source=%{src}/main_window.cpp
+Dest=%{dest}/src/main_window.cpp
[FILE13]
Type=install
-Source=%{src}/main_window_glade.hh
-Dest=%{dest}/src/main_window_glade.hh
+Source=%{src}/main_window_glade.h
+Dest=%{dest}/src/main_window_glade.h
[FILE14]
Type=install
-Source=%{src}/main_window_glade.cc
-Dest=%{dest}/src/main_window_glade.cc
+Source=%{src}/main_window_glade.cpp
+Dest=%{dest}/src/main_window_glade.cpp
[MSG]
Type=message
diff --git a/languages/cpp/app_templates/gnome2mmapp/main_window.cc b/languages/cpp/app_templates/gnome2mmapp/main_window.cpp
index 4c73911b..152a660c 100644
--- a/languages/cpp/app_templates/gnome2mmapp/main_window.cc
+++ b/languages/cpp/app_templates/gnome2mmapp/main_window.cpp
@@ -1,11 +1,9 @@
%{CC_TEMPLATE}
-// newer (non customized) versions of this file go to main_window.cc_new
-
// This file is for your program, I won't touch it again!
#include "config.h"
-#include "main_window.hh"
+#include "main_window.h"
#include <gtk--/main.h>
diff --git a/languages/cpp/app_templates/gnome2mmapp/main_window.hh b/languages/cpp/app_templates/gnome2mmapp/main_window.h
index ae93336b..80ac8c70 100644
--- a/languages/cpp/app_templates/gnome2mmapp/main_window.hh
+++ b/languages/cpp/app_templates/gnome2mmapp/main_window.h
@@ -1,16 +1,14 @@
%{HH_TEMPLATE}
-// newer (non customized) versions of this file go to main_window.hh_new
-
// you might replace
// class foo : public foo_glade { ... };
// by
// typedef foo_glade foo;
// if you didn't make any modifications to the widget
-#ifndef _MAIN_WINDOW_HH
-# include "main_window_glade.hh"
-# define _MAIN_WINDOW_HH
+#ifndef _MAIN_WINDOW_H
+# include "main_window_glade.h"
+# define _MAIN_WINDOW_H
class main_window : public main_window_glade
{
protected:
diff --git a/languages/cpp/app_templates/gnome2mmapp/main_window_glade.cc b/languages/cpp/app_templates/gnome2mmapp/main_window_glade.cpp
index bea6c857..577d3576 100644
--- a/languages/cpp/app_templates/gnome2mmapp/main_window_glade.cc
+++ b/languages/cpp/app_templates/gnome2mmapp/main_window_glade.cpp
@@ -4,11 +4,11 @@
// glade-- /home/amp8165/Projects/gnome2mm/gnome2mm.glade
// for gtk 2.2.4 and gtkmm 1.2.10
//
-// Please modify the corresponding derived classes in ./src/main_window.cc
+// Please modify the corresponding derived classes in ./src/main_window.cpp
#include "config.h"
#include <libgnome/libgnome.h>
-#include "main_window_glade.hh"
+#include "main_window_glade.h"
#include <gdk/gdkkeysyms.h>
#include <gtk--/accelgroup.h>
diff --git a/languages/cpp/app_templates/gnome2mmapp/main_window_glade.hh b/languages/cpp/app_templates/gnome2mmapp/main_window_glade.h
index 97a9302f..1793dbdc 100644
--- a/languages/cpp/app_templates/gnome2mmapp/main_window_glade.hh
+++ b/languages/cpp/app_templates/gnome2mmapp/main_window_glade.h
@@ -4,10 +4,10 @@
// glade-- /home/amp8165/Projects/gnome2mm/gnome2mm.glade
// for gtk 2.2.4 and gtkmm 1.2.10
//
-// Please modify the corresponding derived classes in ./src/main_window.hh and./src/main_window.cc
+// Please modify the corresponding derived classes in ./src/main_window.h and./src/main_window.cpp
-#ifndef _MAIN_WINDOW_GLADE_HH
-# define _MAIN_WINDOW_GLADE_HH
+#ifndef _MAIN_WINDOW_GLADE_H
+# define _MAIN_WINDOW_GLADE_H
#if !defined(GLADEMM_DATA)
diff --git a/languages/cpp/app_templates/gnome2mmapp/src-Makefile.am b/languages/cpp/app_templates/gnome2mmapp/src-Makefile.am
index fe5ec32c..81df1152 100644
--- a/languages/cpp/app_templates/gnome2mmapp/src-Makefile.am
+++ b/languages/cpp/app_templates/gnome2mmapp/src-Makefile.am
@@ -1,13 +1,13 @@
bin_PROGRAMS = %{APPNAMELC}
%{APPNAMELC}_SOURCES = \
- %{APPNAMELC}.cc\
- main_window_glade.cc \
- main_window.cc
+ %{APPNAMELC}.cpp\
+ main_window_glade.cpp \
+ main_window.cpp
noinst_HEADERS = \
- main_window_glade.hh \
- main_window.hh
+ main_window_glade.h \
+ main_window.h
AM_CXXFLAGS = @CXXFLAGS@ @GNOMEMM_CFLAGS@
diff --git a/languages/cpp/app_templates/gtk2mmapp/CMakeLists.txt b/languages/cpp/app_templates/gtk2mmapp/CMakeLists.txt
index 0a78898d..f152b532 100644
--- a/languages/cpp/app_templates/gtk2mmapp/CMakeLists.txt
+++ b/languages/cpp/app_templates/gtk2mmapp/CMakeLists.txt
@@ -10,10 +10,10 @@
#################################################
set( _tarball_content
- acconfig.h autogen.sh gtk2mm.glade main_window.cc
- main_window_glade.hh Makefile.am app-Makefile.am
- configure.in gtk2mm.gladep main_window.hh app.kdevelop
- gtk2mm.cc main_window_glade.cc src-Makefile.am config.h
+ acconfig.h autogen.sh gtk2mm.glade main_window.cpp
+ main_window_glade.h Makefile.am app-Makefile.am
+ configure.in gtk2mm.gladep main_window.h app.kdevelop
+ gtk2mm.cpp main_window_glade.cpp src-Makefile.am config.h
gtk2mmapp.png
)
list( SORT _tarball_content )
diff --git a/languages/cpp/app_templates/gtk2mmapp/Makefile.am b/languages/cpp/app_templates/gtk2mmapp/Makefile.am
index 2069ade7..16978c39 100644
--- a/languages/cpp/app_templates/gtk2mmapp/Makefile.am
+++ b/languages/cpp/app_templates/gtk2mmapp/Makefile.am
@@ -1,7 +1,7 @@
-dataFiles = acconfig.h autogen.sh gtk2mm.glade main_window.cc \
- main_window_glade.hh Makefile.am app-Makefile.am \
- configure.in gtk2mm.gladep main_window.hh \
- app.kdevelop gtk2mm.cc main_window_glade.cc\
+dataFiles = acconfig.h autogen.sh gtk2mm.glade main_window.cpp \
+ main_window_glade.h Makefile.am app-Makefile.am \
+ configure.in gtk2mm.gladep main_window.h \
+ app.kdevelop gtk2mm.cpp main_window_glade.cpp\
src-Makefile.am config.h gtk2mmapp.png
templateName = gtk2mmapp
@@ -18,4 +18,4 @@ $(templateName).tar.gz: ${dataFiles}
archivedir = ${appwizarddatadir}
archive_DATA = $(templateName).tar.gz ${templateName}.png
-CLEANFILES = *.tar.gz \ No newline at end of file
+CLEANFILES = *.tar.gz
diff --git a/languages/cpp/app_templates/gtk2mmapp/gtk2mm.cc b/languages/cpp/app_templates/gtk2mmapp/gtk2mm.cpp
index 9845fede..30f39adf 100644
--- a/languages/cpp/app_templates/gtk2mmapp/gtk2mm.cc
+++ b/languages/cpp/app_templates/gtk2mmapp/gtk2mm.cpp
@@ -2,7 +2,7 @@
#include <gtkmm/main.h>
-#include "main_window.hh"
+#include "main_window.h"
int main(int argc, char **argv)
{
diff --git a/languages/cpp/app_templates/gtk2mmapp/gtk2mmapp.kdevtemplate b/languages/cpp/app_templates/gtk2mmapp/gtk2mmapp.kdevtemplate
index 35b51993..68b119a2 100644
--- a/languages/cpp/app_templates/gtk2mmapp/gtk2mmapp.kdevtemplate
+++ b/languages/cpp/app_templates/gtk2mmapp/gtk2mmapp.kdevtemplate
@@ -71,28 +71,28 @@ Dest=%{dest}/src/Makefile.am
[FILE10]
Type=install
-Source=%{src}/gtk2mm.cc
-Dest=%{dest}/src/%{APPNAMELC}.cc
+Source=%{src}/gtk2mm.cpp
+Dest=%{dest}/src/%{APPNAMELC}.cpp
[FILE11]
Type=install
-Source=%{src}/main_window.hh
-Dest=%{dest}/src/main_window.hh
+Source=%{src}/main_window.h
+Dest=%{dest}/src/main_window.h
[FILE12]
Type=install
-Source=%{src}/main_window.cc
-Dest=%{dest}/src/main_window.cc
+Source=%{src}/main_window.cpp
+Dest=%{dest}/src/main_window.cpp
[FILE13]
Type=install
-Source=%{src}/main_window_glade.hh
-Dest=%{dest}/src/main_window_glade.hh
+Source=%{src}/main_window_glade.h
+Dest=%{dest}/src/main_window_glade.h
[FILE14]
Type=install
-Source=%{src}/main_window_glade.cc
-Dest=%{dest}/src/main_window_glade.cc
+Source=%{src}/main_window_glade.cpp
+Dest=%{dest}/src/main_window_glade.cpp
[MSG]
Type=message
diff --git a/languages/cpp/app_templates/gtk2mmapp/main_window.cc b/languages/cpp/app_templates/gtk2mmapp/main_window.cpp
index ad36b327..3a7df9cf 100644
--- a/languages/cpp/app_templates/gtk2mmapp/main_window.cc
+++ b/languages/cpp/app_templates/gtk2mmapp/main_window.cpp
@@ -1,11 +1,9 @@
%{CC_TEMPLATE}
-// newer (non customized) versions of this file go to main_window.cc_new
-
// This file is for your program, I won't touch it again!
#include "config.h"
-#include "main_window.hh"
+#include "main_window.h"
bool main_window::quit(GdkEventAny *ev)
{ return 0;
diff --git a/languages/cpp/app_templates/gtk2mmapp/main_window.hh b/languages/cpp/app_templates/gtk2mmapp/main_window.h
index 640e1461..85daad4b 100644
--- a/languages/cpp/app_templates/gtk2mmapp/main_window.hh
+++ b/languages/cpp/app_templates/gtk2mmapp/main_window.h
@@ -1,16 +1,14 @@
%{HH_TEMPLATE}
-// newer (non customized) versions of this file go to main_window.hh_new
-
// you might replace
// class foo : public foo_glade { ... };
// by
// typedef foo_glade foo;
// if you didn't make any modifications to the widget
-#ifndef _MAIN_WINDOW_HH
-# include "main_window_glade.hh"
-# define _MAIN_WINDOW_HH
+#ifndef _MAIN_WINDOW_H
+# include "main_window_glade.h"
+# define _MAIN_WINDOW_H
class main_window : public main_window_glade
{
diff --git a/languages/cpp/app_templates/gtk2mmapp/main_window_glade.cc b/languages/cpp/app_templates/gtk2mmapp/main_window_glade.cpp
index 829855a8..5bed4679 100644
--- a/languages/cpp/app_templates/gtk2mmapp/main_window_glade.cc
+++ b/languages/cpp/app_templates/gtk2mmapp/main_window_glade.cpp
@@ -3,7 +3,7 @@
// DO NOT EDIT THIS FILE ! It was created using glade--
// for gtk 2.8.3 and gtkmm 2.8.0
//
-// Please modify the corresponding derived classes in ./src/main_window.cc
+// Please modify the corresponding derived classes in ./src/main_window.cpp
#if defined __GNUC__ && __GNUC__ < 3
@@ -18,7 +18,7 @@
#else //gtkmm 2.2
#define GMM_GTKMM_22_24(a,b) a
#endif //
-#include "main_window_glade.hh"
+#include "main_window_glade.h"
#include <gdk/gdkkeysyms.h>
#include <gtkmm/accelgroup.h>
diff --git a/languages/cpp/app_templates/gtk2mmapp/main_window_glade.hh b/languages/cpp/app_templates/gtk2mmapp/main_window_glade.h
index 3c0cc27a..726409b4 100644
--- a/languages/cpp/app_templates/gtk2mmapp/main_window_glade.hh
+++ b/languages/cpp/app_templates/gtk2mmapp/main_window_glade.h
@@ -3,10 +3,10 @@
// DO NOT EDIT THIS FILE ! It was created using glade--
// for gtk 2.8.3 and gtkmm 2.8.0
//
-// Please modify the corresponding derived classes in ./src/main_window.hh and./src/main_window.cc
+// Please modify the corresponding derived classes in ./src/main_window.h and./src/main_window.cpp
-#ifndef _MAIN_WINDOW_GLADE_HH
-# define _MAIN_WINDOW_GLADE_HH
+#ifndef _MAIN_WINDOW_GLADE_H
+# define _MAIN_WINDOW_GLADE_H
#if !defined(GLADEMM_DATA)
diff --git a/languages/cpp/app_templates/gtk2mmapp/src-Makefile.am b/languages/cpp/app_templates/gtk2mmapp/src-Makefile.am
index a8c856e9..e61b92f5 100644
--- a/languages/cpp/app_templates/gtk2mmapp/src-Makefile.am
+++ b/languages/cpp/app_templates/gtk2mmapp/src-Makefile.am
@@ -1,13 +1,13 @@
bin_PROGRAMS = %{APPNAMELC}
%{APPNAMELC}_SOURCES = \
- %{APPNAMELC}.cc\
- main_window_glade.cc \
- main_window.cc
+ %{APPNAMELC}.cpp\
+ main_window_glade.cpp \
+ main_window.cpp
noinst_HEADERS = \
- main_window_glade.hh \
- main_window.hh
+ main_window_glade.h \
+ main_window.h
AM_CXXFLAGS = @CXXFLAGS@ @GTKMM_CFLAGS@