author | kergoth <kergoth> | 2002-01-28 23:28:04 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-01-28 23:28:04 (UTC) |
commit | f7b3193e5d2d9a211ce0b963dca571d82adecb71 (patch) (unidiff) | |
tree | 44f49bdc076dc299bba1a4dc8d5d517114be5701 /scripts/q_functions | |
parent | 77d110d35f75d63f5dc66c1dd2427daf7dc2e214 (diff) | |
download | opie-f7b3193e5d2d9a211ce0b963dca571d82adecb71.zip opie-f7b3193e5d2d9a211ce0b963dca571d82adecb71.tar.gz opie-f7b3193e5d2d9a211ce0b963dca571d82adecb71.tar.bz2 |
Committing in .
Modified Files:
configure mkipks addressbook/Makefile.in
addressbook/addressbook.pro calc2/calc.pro
calc2/binary/binary.pro calc2/simple/simple.pro
calculator/Makefile.in calculator/calculator.pro
cardmon/Makefile.in cardmon/cardmon.pro chess/chess.pro
citytime/Makefile.in citytime/citytime.pro clock/Makefile.in
clock/clock.pro datebook/Makefile.in datebook/datebook.pro
dictionary/dictionary.pro doc/qcop.doc doc/start.doc
embeddedkonsole/Makefile.in
embeddedkonsole/embeddedkonsole.pro etc/init.d/qpe
example/example.pro fifteen/Makefile.in fifteen/fifteen.pro
filebrowser/Makefile.in filebrowser/filebrowser.pro
freetype/freetype.pro go/Makefile.in go/go.pro
helpbrowser/Makefile.in helpbrowser/helpbrowser.pro
inputmethods/handwriting/Makefile.in
inputmethods/handwriting/handwriting.pro
inputmethods/keyboard/Makefile.in
inputmethods/keyboard/keyboard.pro
inputmethods/pickboard/Makefile.in
inputmethods/pickboard/pickboard.pro
inputmethods/unikeyboard/Makefile.in
inputmethods/unikeyboard/unikeyboard.pro keypebble/Makefile.in
keypebble/keypebble.pro library/Makefile.in library/global.cpp
library/library.pro library/qpeapplication.cpp
mindbreaker/Makefile.in mindbreaker/mindbreaker.pro
minesweep/Makefile.in minesweep/minesweep.pro
mpegplayer/Makefile.in mpegplayer/mpegplayer.pro
mpegplayer/libflash/libflash.pro mpegplayer/libmad/Makefile.in
mpegplayer/libmad/libmad.pro mpegplayer/libmpeg3/Makefile.in
mpegplayer/libmpeg3/libmpeg3.pro
mpegplayer/libmpeg3/audio/Makefile
mpegplayer/libmpeg3/video/Makefile
mpegplayer/wavplugin/Makefile.in
mpegplayer/wavplugin/wavplugin.pro netsetup/Makefile.in
netsetup/README netsetup/netsetup.pro
netsetup/dialup/Makefile.in netsetup/dialup/dialup.pro
netsetup/lan/Makefile.in netsetup/lan/lan.pro
parashoot/Makefile.in parashoot/parashoot.pro
qasteroids/Makefile.in qasteroids/qasteroids.pro
qcop/Makefile.in qcop/qcop.pro qipkg/Makefile.in
qipkg/qipkg.pro scripts/q_functions
settings/appearance/Makefile.in
settings/appearance/appearance.pro
settings/language/Makefile.in settings/language/language.pro
settings/light-and-power/Makefile.in
settings/light-and-power/light-and-power.pro
settings/rotation/Makefile.in settings/rotation/rotation.pro
settings/security/Makefile.in settings/security/security.pro
settings/sound/Makefile.in settings/sound/sound.pro
settings/systemtime/Makefile.in
settings/systemtime/systemtime.pro showimg/Makefile.in
showimg/showimg.pro single/Makefile.in single/single.pro
snake/Makefile.in snake/snake.pro solitaire/Makefile.in
solitaire/solitaire.pro spreadsheet/Makefile.in
spreadsheet/spreadsheet.pro sysinfo/Makefile.in
sysinfo/sysinfo.pro tableviewer/tableviewer.pro
taskbar/Makefile.in taskbar/main.cpp taskbar/taskbar.pro
taskbar/batteryapplet/Makefile.in
taskbar/batteryapplet/batteryapplet.pro
taskbar/clipboardapplet/clipboardapplet.pro
taskbar/clockapplet/Makefile.in
taskbar/clockapplet/clockapplet.pro
taskbar/netmonapplet/Makefile.in
taskbar/netmonapplet/netmonapplet.pro
taskbar/volumeapplet/Makefile.in
taskbar/volumeapplet/volumeapplet.pro tetrix/Makefile.in
tetrix/tetrix.pro textedit/Makefile.in textedit/textedit.pro
todo/Makefile.in todo/todo.pro tux/Makefile.in tux/tux.pro
website/htdocs/build.html website/htdocs/development.html
website/htdocs/refman/qcop.html
website/htdocs/refman/qpeapplication.html wordgame/Makefile.in
wordgame/wordgame.pro
Log Message:
Changed QPEDIR to OPIEDIR in .pro files, and documentation,
and regenerated all Makefile.in's that were affected.
-rwxr-xr-x | scripts/q_functions | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/q_functions b/scripts/q_functions index cf2c2e1..0705cc2 100755 --- a/scripts/q_functions +++ b/scripts/q_functions | |||
@@ -94,106 +94,106 @@ function print_header_file | |||
94 | { | 94 | { |
95 | print_copyright_header | 95 | print_copyright_header |
96 | cat << END | 96 | cat << END |
97 | #ifndef $NEW_CLASS_HEADER_DEFINE | 97 | #ifndef $NEW_CLASS_HEADER_DEFINE |
98 | #define $NEW_CLASS_HEADER_DEFINE | 98 | #define $NEW_CLASS_HEADER_DEFINE |
99 | 99 | ||
100 | 100 | ||
101 | #include <qwidget.h> | 101 | #include <qwidget.h> |
102 | 102 | ||
103 | 103 | ||
104 | class $NEW_CLASS_NAME : public QWidget | 104 | class $NEW_CLASS_NAME : public QWidget |
105 | { | 105 | { |
106 | Q_OBJECT | 106 | Q_OBJECT |
107 | public: | 107 | public: |
108 | $NEW_CLASS_NAME( QWidget *parent=0, const char *name=0, WFlags f = 0); | 108 | $NEW_CLASS_NAME( QWidget *parent=0, const char *name=0, WFlags f = 0); |
109 | protected: | 109 | protected: |
110 | void exampleFunction( ); | 110 | void exampleFunction( ); |
111 | private: | 111 | private: |
112 | int exampleVariable; | 112 | int exampleVariable; |
113 | }; | 113 | }; |
114 | 114 | ||
115 | 115 | ||
116 | #endif // $NEW_CLASS_HEADER_DEFINE | 116 | #endif // $NEW_CLASS_HEADER_DEFINE |
117 | END | 117 | END |
118 | } | 118 | } |
119 | 119 | ||
120 | 120 | ||
121 | function print_pro_file | 121 | function print_pro_file |
122 | { | 122 | { |
123 | cat << END | 123 | cat << END |
124 | TEMPLATE= app | 124 | TEMPLATE= app |
125 | CONFIG = qt warn_on release | 125 | CONFIG = qt warn_on release |
126 | DESTDIR = ../bin | 126 | DESTDIR = ../bin |
127 | HEADERS = $NEW_CLASS_HEADER_FILE | 127 | HEADERS = $NEW_CLASS_HEADER_FILE |
128 | SOURCES = $NEW_CLASS_SOURCE_FILE $NEW_APP_MAIN_FILE | 128 | SOURCES = $NEW_CLASS_SOURCE_FILE $NEW_APP_MAIN_FILE |
129 | INTERFACES= | 129 | INTERFACES= |
130 | INCLUDEPATH+= ../library | 130 | INCLUDEPATH+= ../library |
131 | DEPENDPATH+= ../library | 131 | DEPENDPATH+= ../library |
132 | LIBS += -lqpe | 132 | LIBS += -lqpe |
133 | TARGET = $NEW_APP_NAME | 133 | TARGET = $NEW_APP_NAME |
134 | END | 134 | END |
135 | } | 135 | } |
136 | 136 | ||
137 | 137 | ||
138 | function print_install_file | 138 | function print_install_file |
139 | { | 139 | { |
140 | cat << END | 140 | cat << END |
141 | #!/bin/sh | 141 | #!/bin/sh |
142 | if [ a\$QPEDIR = a ] | 142 | if [ a\$OPIEDIR = a ] |
143 | then | 143 | then |
144 | echo QPEDIR must be set | 144 | echo OPIEDIR must be set |
145 | exit | 145 | exit |
146 | fi | 146 | fi |
147 | [ -f \$QPEDIR/pics/$NEW_APP_ICON_FILE ] || cp $NEW_APP_ICON_FILE \$QPEDIR/pics/ | 147 | [ -f \$OPIEDIR/pics/$NEW_APP_ICON_FILE ] || cp $NEW_APP_ICON_FILE \$OPIEDIR/pics/ |
148 | [ -f \$QPEDIR/apps/$NEW_APP_DESKTOP_FILE ] || cp $NEW_APP_DESKTOP_FILE \$QPEDIR/apps/ | 148 | [ -f \$OPIEDIR/apps/$NEW_APP_DESKTOP_FILE ] || cp $NEW_APP_DESKTOP_FILE \$OPIEDIR/apps/ |
149 | mv \$QPEDIR/Makefile \$QPEDIR/Makefile.orig | 149 | mv \$OPIEDIR/Makefile \$OPIEDIR/Makefile.orig |
150 | sed "s/APPS=/&$NEW_APP_NAME \\\\\\\\ \\\\ | 150 | sed "s/APPS=/&$NEW_APP_NAME \\\\\\\\ \\\\ |
151 | /" \$QPEDIR/Makefile.orig >> \$QPEDIR/Makefile | 151 | /" \$OPIEDIR/Makefile.orig >> \$OPIEDIR/Makefile |
152 | echo You may wish to move the desktop file in to | 152 | echo You may wish to move the desktop file in to |
153 | echo an appropriate subdirectory of the menus. | 153 | echo an appropriate subdirectory of the menus. |
154 | END | 154 | END |
155 | } | 155 | } |
156 | 156 | ||
157 | 157 | ||
158 | function print_desktop_file | 158 | function print_desktop_file |
159 | { | 159 | { |
160 | cat << END | 160 | cat << END |
161 | [Desktop Entry] | 161 | [Desktop Entry] |
162 | Type=Application | 162 | Type=Application |
163 | Exec=$NEW_APP_NAME | 163 | Exec=$NEW_APP_NAME |
164 | Icon=$NEW_APP_ICON_FILE | 164 | Icon=$NEW_APP_ICON_FILE |
165 | Name=$NEW_APP_MENU_NAME | 165 | Name=$NEW_APP_MENU_NAME |
166 | Comment=$NEW_APP_DESCRIPTION | 166 | Comment=$NEW_APP_DESCRIPTION |
167 | END | 167 | END |
168 | } | 168 | } |
169 | 169 | ||
170 | 170 | ||
171 | function print_icon_file | 171 | function print_icon_file |
172 | { | 172 | { |
173 | XPM_NAME="$NEW_APP_NAME"_xpm | 173 | XPM_NAME="$NEW_APP_NAME"_xpm |
174 | cat << END | 174 | cat << END |
175 | /* XPM */ | 175 | /* XPM */ |
176 | static char *$XPM_NAME[] = { | 176 | static char *$XPM_NAME[] = { |
177 | "14 14 3 1", | 177 | "14 14 3 1", |
178 | " c None", | 178 | " c None", |
179 | ".c #000000", | 179 | ".c #000000", |
180 | "ac #FFFFFF", | 180 | "ac #FFFFFF", |
181 | " ", | 181 | " ", |
182 | " aaaaaaaaaaaa ", | 182 | " aaaaaaaaaaaa ", |
183 | " a..........a ", | 183 | " a..........a ", |
184 | " a..aaaaaa..a ", | 184 | " a..aaaaaa..a ", |
185 | " a.a.aaaa.a.a ", | 185 | " a.a.aaaa.a.a ", |
186 | " a.aa.aa.aa.a ", | 186 | " a.aa.aa.aa.a ", |
187 | " a.aaa..aaa.a ", | 187 | " a.aaa..aaa.a ", |
188 | " a.aaa..aaa.a ", | 188 | " a.aaa..aaa.a ", |
189 | " a.aa.aa.aa.a ", | 189 | " a.aa.aa.aa.a ", |
190 | " a.a.aaaa.a.a ", | 190 | " a.a.aaaa.a.a ", |
191 | " a..aaaaaa..a ", | 191 | " a..aaaaaa..a ", |
192 | " a..........a ", | 192 | " a..........a ", |
193 | " aaaaaaaaaaaa ", | 193 | " aaaaaaaaaaaa ", |
194 | " "}; | 194 | " "}; |
195 | END | 195 | END |
196 | } | 196 | } |
197 | 197 | ||
198 | 198 | ||
199 | function add_class_to_pro_file | 199 | function add_class_to_pro_file |