summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kde4app/kde4app.kdevtemplate
blob: e61148ed5c7cc834f6cc95ebb9cc8eb995f9923f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# TDE Config File
[General]
Name=KDE4 Application framework

Comment=Generates a simple KDE4 application with one toplevel window, menus and toolbars.

Category=C++/KDE4

Icon=kde4app.png
FileTemplates=h,CStyle,cpp,CStyle
ShowFilesAfterGeneration=%{dest}/README
Archive=kde4app.tar.gz

[FILE1]
Type=install
Source=%{src}/CMakeLists.txt
Dest=%{dest}/CMakeLists.txt

[FILE2]
Type=install
Source=%{src}/main.cpp
Dest=%{dest}/main.cpp

[FILE3]
Type=install
Source=%{src}/kapp4.cpp
Dest=%{dest}/%{APPNAMELC}.cpp

[FILE4]
Type=install
Source=%{src}/kapp4.h
Dest=%{dest}/%{APPNAMELC}.h

[FILE5]
Type=install
Source=%{src}/kapp4view.cpp
Dest=%{dest}/%{APPNAMELC}view.cpp

[FILE6]
Type=install
Source=%{src}/kapp4view.h
Dest=%{dest}/%{APPNAMELC}view.h

[FILE7]
Type=install
Source=%{src}/kde4appui.rc
Dest=%{dest}/%{APPNAMELC}ui.rc

[FILE8]
Type=install
Source=%{src}/kapp4view_base.ui
Dest=%{dest}/%{APPNAMELC}view_base.ui

[FILE9]
Type=install
Source=%{src}/kapp4.desktop
Dest=%{dest}/%{APPNAMELC}.desktop

[FILE10]
Type=install
Source=%{src}/kapp4.kcfg
Dest=%{dest}/%{APPNAMELC}.kcfg

[FILE11]
Type=install
Source=%{src}/prefs_base.ui
Dest=%{dest}/prefs_base.ui

[FILE12]
Type=install
Source=%{src}/settings.kcfgc
Dest=%{dest}/settings.kcfgc

[FILE13]
Type=install
Source=%{src}/README
Dest=%{dest}/README

[FILE14]
Type=install
Source=%{src}/kde4app.kdevelop
Dest=%{dest}/%{APPNAMELC}.kdevelop

[FILE15]
Type=install
Source=%{src}/kde4app.kdevelop.filelist
Dest=%{dest}/%{APPNAMELC}.kdevelop.filelist

[MKDIR1]
Type=mkdir
Dir=%{dest}/build

[MSG]
Type=message
Comment=A KDE4 Application was created at %{dest}