-rw-r--r-- | core/applets/batteryapplet/batteryapplet.pro | 1 | ||||
-rw-r--r-- | core/applets/clipboardapplet/clipboardapplet.pro | 2 | ||||
-rw-r--r-- | core/applets/clockapplet/clockapplet.pro | 1 | ||||
-rw-r--r-- | core/applets/screenshotapplet/screenshotapplet.pro | 1 | ||||
-rw-r--r-- | core/applets/vmemo/vmemo.cpp | 150 | ||||
-rw-r--r-- | core/applets/vmemo/vmemo.pro | 1 | ||||
-rw-r--r-- | core/applets/volumeapplet/volumeapplet.pro | 1 | ||||
-rwxr-xr-x | core/apps/embeddedkonsole/embeddedkonsole.pro | 1 | ||||
-rw-r--r-- | core/apps/helpbrowser/helpbrowser.pro | 1 | ||||
-rw-r--r-- | core/apps/textedit/textedit.pro | 1 | ||||
-rw-r--r-- | core/launcher/launcher.pro | 91 | ||||
-rw-r--r-- | core/multimedia/opieplayer/libmad/libmad.pro | 2 | ||||
-rw-r--r-- | core/multimedia/opieplayer/mpegplayer.pro | 1 | ||||
-rw-r--r-- | core/pim/addressbook/addressbook.pro | 1 | ||||
-rw-r--r-- | core/pim/datebook/datebook.pro | 1 | ||||
-rw-r--r-- | core/pim/today/today.pro | 1 | ||||
-rw-r--r-- | core/pim/todo/todo.pro | 1 | ||||
-rw-r--r-- | core/settings/citytime/citytime.pro | 1 | ||||
-rw-r--r-- | core/settings/light-and-power/light-and-power.pro | 1 | ||||
-rw-r--r-- | core/settings/security/security.pro | 1 |
20 files changed, 167 insertions, 94 deletions
diff --git a/core/applets/batteryapplet/batteryapplet.pro b/core/applets/batteryapplet/batteryapplet.pro index dcb606d..d139e58 100644 --- a/core/applets/batteryapplet/batteryapplet.pro +++ b/core/applets/batteryapplet/batteryapplet.pro | |||
@@ -1,12 +1,13 @@ | |||
1 | TEMPLATE= lib | 1 | TEMPLATE= lib |
2 | CONFIG += qt warn_on release | 2 | CONFIG += qt warn_on release |
3 | HEADERS= battery.h batterystatus.h batteryappletimpl.h | 3 | HEADERS= battery.h batterystatus.h batteryappletimpl.h |
4 | SOURCES= battery.cpp batterystatus.cpp batteryappletimpl.cpp | 4 | SOURCES= battery.cpp batterystatus.cpp batteryappletimpl.cpp |
5 | TARGET = batteryapplet | 5 | TARGET = batteryapplet |
6 | DESTDIR = ../../plugins/applets | 6 | DESTDIR = ../../plugins/applets |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH += ../$(OPIEDIR)/include .. | 8 | DEPENDPATH += ../$(OPIEDIR)/include .. |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | VERSION = 1.0.0 | 10 | VERSION = 1.0.0 |
11 | 11 | ||
12 | TRANSLATIONS += ../../i18n/de/libbatteryapplet.ts | 12 | TRANSLATIONS += ../../i18n/de/libbatteryapplet.ts |
13 | TRANSLATIONS = ../../i18n/pt_BR/libbatteryapplet.ts | ||
diff --git a/core/applets/clipboardapplet/clipboardapplet.pro b/core/applets/clipboardapplet/clipboardapplet.pro index 9832984..f71c787 100644 --- a/core/applets/clipboardapplet/clipboardapplet.pro +++ b/core/applets/clipboardapplet/clipboardapplet.pro | |||
@@ -1,10 +1,12 @@ | |||
1 | TEMPLATE= lib | 1 | TEMPLATE= lib |
2 | CONFIG += qt warn_on release | 2 | CONFIG += qt warn_on release |
3 | HEADERS= clipboard.h clipboardappletimpl.h | 3 | HEADERS= clipboard.h clipboardappletimpl.h |
4 | SOURCES= clipboard.cpp clipboardappletimpl.cpp | 4 | SOURCES= clipboard.cpp clipboardappletimpl.cpp |
5 | TARGET = clipboardapplet | 5 | TARGET = clipboardapplet |
6 | DESTDIR = ../../plugins/applets | 6 | DESTDIR = ../../plugins/applets |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH += ../$(OPIEDIR)/include | 8 | DEPENDPATH += ../$(OPIEDIR)/include |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | VERSION = 1.0.0 | 10 | VERSION = 1.0.0 |
11 | |||
12 | TRANSLATIONS = ../../i18n/pt_BR/libclipboardapplet.ts | ||
diff --git a/core/applets/clockapplet/clockapplet.pro b/core/applets/clockapplet/clockapplet.pro index 1392680..0397340 100644 --- a/core/applets/clockapplet/clockapplet.pro +++ b/core/applets/clockapplet/clockapplet.pro | |||
@@ -1,12 +1,13 @@ | |||
1 | TEMPLATE= lib | 1 | TEMPLATE= lib |
2 | CONFIG += qt warn_on release | 2 | CONFIG += qt warn_on release |
3 | HEADERS= clock.h clockappletimpl.h | 3 | HEADERS= clock.h clockappletimpl.h |
4 | SOURCES= clock.cpp clockappletimpl.cpp | 4 | SOURCES= clock.cpp clockappletimpl.cpp |
5 | TARGET = clockapplet | 5 | TARGET = clockapplet |
6 | DESTDIR = ../../plugins/applets | 6 | DESTDIR = ../../plugins/applets |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH += ../$(OPIEDIR)/include .. | 8 | DEPENDPATH += ../$(OPIEDIR)/include .. |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | VERSION = 1.0.0 | 10 | VERSION = 1.0.0 |
11 | 11 | ||
12 | TRANSLATIONS += ../../i18n/de/libclockapplet.ts | 12 | TRANSLATIONS += ../../i18n/de/libclockapplet.ts |
13 | TRANSLATIONS = ../../i18n/pt_BR/libclockapplet.ts | ||
diff --git a/core/applets/screenshotapplet/screenshotapplet.pro b/core/applets/screenshotapplet/screenshotapplet.pro index 095cce2..d03bacc 100644 --- a/core/applets/screenshotapplet/screenshotapplet.pro +++ b/core/applets/screenshotapplet/screenshotapplet.pro | |||
@@ -2,12 +2,13 @@ TEMPLATE = lib | |||
2 | CONFIG += qt warn_on release | 2 | CONFIG += qt warn_on release |
3 | HEADERS = screenshot.h screenshotappletimpl.h | 3 | HEADERS = screenshot.h screenshotappletimpl.h |
4 | SOURCES = screenshot.cpp screenshotappletimpl.cpp | 4 | SOURCES = screenshot.cpp screenshotappletimpl.cpp |
5 | TARGET = screenshotapplet | 5 | TARGET = screenshotapplet |
6 | DESTDIR = ../../plugins/applets | 6 | DESTDIR = ../../plugins/applets |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH += ../$(OPIEDIR)/include | 8 | DEPENDPATH += ../$(OPIEDIR)/include |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | VERSION = 1.0.0 | 10 | VERSION = 1.0.0 |
11 | MOC_DIR=opieobj | 11 | MOC_DIR=opieobj |
12 | OBJECTS_DIR=opieobj | 12 | OBJECTS_DIR=opieobj |
13 | 13 | ||
14 | TRANSLATIONS = ../../i18n/pt_BR/libscreenshotapplet.ts | ||
diff --git a/core/applets/vmemo/vmemo.cpp b/core/applets/vmemo/vmemo.cpp index 48dd193..9d69130 100644 --- a/core/applets/vmemo/vmemo.cpp +++ b/core/applets/vmemo/vmemo.cpp | |||
@@ -4,25 +4,25 @@ | |||
4 | ** GNU General Public License version 2 as published by the Free Software | 4 | ** GNU General Public License version 2 as published by the Free Software |
5 | ** Foundation and appearing in the file LICENSE.GPL included in the | 5 | ** Foundation and appearing in the file LICENSE.GPL included in the |
6 | ** packaging of this file. | 6 | ** packaging of this file. |
7 | ** | 7 | ** |
8 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 8 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
9 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 9 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
10 | ** | 10 | ** |
11 | ************************************************************************************/ | 11 | ************************************************************************************/ |
12 | 12 | ||
13 | /* | 13 | /* |
14 | * $Id$ | 14 | * $Id$ |
15 | */ | 15 | */ |
16 | 16 | // Sun 03-17-2002 L.J.Potter <ljp@llornkcor.com> | |
17 | #include <sys/utsname.h> | 17 | #include <sys/utsname.h> |
18 | #include <sys/time.h> | 18 | #include <sys/time.h> |
19 | #include <sys/types.h> | 19 | #include <sys/types.h> |
20 | #include <unistd.h> | 20 | #include <unistd.h> |
21 | #include <stdio.h> | 21 | #include <stdio.h> |
22 | #include <sys/stat.h> | 22 | #include <sys/stat.h> |
23 | #include <fcntl.h> | 23 | #include <fcntl.h> |
24 | #include <sys/ioctl.h> | 24 | #include <sys/ioctl.h> |
25 | #include <linux/soundcard.h> | 25 | #include <linux/soundcard.h> |
26 | #include <string.h> | 26 | #include <string.h> |
27 | #include <stdlib.h> | 27 | #include <stdlib.h> |
28 | 28 | ||
@@ -132,45 +132,40 @@ static char * vmemo_xpm[] = { | |||
132 | "@cd%e!fg49 ", | 132 | "@cd%e!fg49 ", |
133 | " h0,!_;2@ ", | 133 | " h0,!_;2@ ", |
134 | " ))))) "}; | 134 | " ))))) "}; |
135 | 135 | ||
136 | VMemo::VMemo( QWidget *parent, const char *name ) | 136 | VMemo::VMemo( QWidget *parent, const char *name ) |
137 | : QWidget( parent, name ) | 137 | : QWidget( parent, name ) |
138 | { | 138 | { |
139 | setFixedHeight( 18 ); | 139 | setFixedHeight( 18 ); |
140 | setFixedWidth( 14 ); | 140 | setFixedWidth( 14 ); |
141 | 141 | ||
142 | recording = FALSE; | 142 | recording = FALSE; |
143 | 143 | ||
144 | myChannel = new QCopChannel( "QPE/VMemo", this ); | 144 | struct utsname name; /* check for embedix kernel running on the zaurus*/ |
145 | connect( myChannel, SIGNAL(received(const QCString&, const QByteArray&)), | 145 | if (uname(&name) != -1) { |
146 | this, SLOT(receive(const QCString&, const QByteArray&)) ); | ||
147 | |||
148 | struct utsname name; /* check for embedix kernel running on the zaurus, if | ||
149 | lineo change string, this break | ||
150 | */ | ||
151 | if (uname(&name) != -1) | ||
152 | { | ||
153 | QString release=name.release; | 146 | QString release=name.release; |
154 | if(release.find("embedix",0,TRUE) !=-1) | 147 | if(release.find("embedix",0,TRUE) !=-1) |
155 | systemZaurus=TRUE; | 148 | systemZaurus=TRUE; |
156 | else | 149 | else { |
157 | { | ||
158 | systemZaurus=FALSE; | 150 | systemZaurus=FALSE; |
159 | 151 | // myChannel = new QCopChannel( "QPE/VMemo", this ); | |
160 | // Register the REC key press. | 152 | // connect( myChannel, SIGNAL(received(const QCString&, const QByteArray&)), |
161 | QCopEnvelope e("QPE/Desktop", "keyRegister(int key, QString channel, QString message)"); | 153 | // this, SLOT(receive(const QCString&, const QByteArray&)) ); |
162 | e << 4096; | 154 | |
163 | e << QString("QPE/VMemo"); | 155 | // // Register the REC key press, for ipaq only |
164 | e << QString("toggleRecord()"); | 156 | // QCopEnvelope e("QPE/Desktop", "keyRegister(int key, QString channel, QString message)"); |
157 | // e << 4096; | ||
158 | // e << QString("QPE/VMemo"); | ||
159 | // e << QString("toggleRecord()"); | ||
165 | } | 160 | } |
166 | } | 161 | } |
167 | } | 162 | } |
168 | 163 | ||
169 | VMemo::~VMemo() | 164 | VMemo::~VMemo() |
170 | { | 165 | { |
171 | } | 166 | } |
172 | 167 | ||
173 | void VMemo::receive( const QCString &msg, const QByteArray &data ) | 168 | void VMemo::receive( const QCString &msg, const QByteArray &data ) |
174 | { | 169 | { |
175 | QDataStream stream( data, IO_ReadOnly ); | 170 | QDataStream stream( data, IO_ReadOnly ); |
176 | if (msg == "toggleRecord()") | 171 | if (msg == "toggleRecord()") |
@@ -192,29 +187,29 @@ void VMemo::mousePressEvent( QMouseEvent *me ) | |||
192 | { | 187 | { |
193 | // just to be safe | 188 | // just to be safe |
194 | if (recording) | 189 | if (recording) |
195 | { | 190 | { |
196 | recording = FALSE; | 191 | recording = FALSE; |
197 | return; | 192 | return; |
198 | } | 193 | } |
199 | 194 | ||
200 | /* | 195 | /* |
201 | No mousePress/mouseRelease recording on the iPAQ. The REC button on the iPAQ calls these functions | 196 | No mousePress/mouseRelease recording on the iPAQ. The REC button on the iPAQ calls these functions |
202 | mousePressEvent and mouseReleaseEvent with a NULL parameter. | 197 | mousePressEvent and mouseReleaseEvent with a NULL parameter. |
203 | */ | 198 | */ |
204 | if (!systemZaurus && me != NULL) | 199 | // if (!systemZaurus && me != NULL) |
205 | return; | 200 | // return; |
206 | 201 | ||
207 | QSound::play(Resource::findSound("vmemob")); | 202 | QSound::play(Resource::findSound("vmemob")); |
208 | 203 | qDebug("Start recording"); | |
209 | recording = TRUE; | 204 | recording = TRUE; |
210 | if (openDSP() == -1) | 205 | if (openDSP() == -1) |
211 | { | 206 | { |
212 | QMessageBox::critical(0, "VMemo", "Could not open dsp device.", "Abort"); | 207 | QMessageBox::critical(0, "VMemo", "Could not open dsp device.", "Abort"); |
213 | recording = FALSE; | 208 | recording = FALSE; |
214 | return; | 209 | return; |
215 | } | 210 | } |
216 | 211 | ||
217 | Config vmCfg("VMemo"); | 212 | Config vmCfg("VMemo"); |
218 | vmCfg.setGroup("Defaults"); | 213 | vmCfg.setGroup("Defaults"); |
219 | 214 | ||
220 | QDateTime dt = QDateTime::currentDateTime(); | 215 | QDateTime dt = QDateTime::currentDateTime(); |
@@ -263,66 +258,58 @@ void VMemo::mousePressEvent( QMouseEvent *me ) | |||
263 | void VMemo::mouseReleaseEvent( QMouseEvent * ) | 258 | void VMemo::mouseReleaseEvent( QMouseEvent * ) |
264 | { | 259 | { |
265 | recording = FALSE; | 260 | recording = FALSE; |
266 | } | 261 | } |
267 | 262 | ||
268 | int VMemo::openDSP() | 263 | int VMemo::openDSP() |
269 | { | 264 | { |
270 | Config cfg("Sound"); | 265 | Config cfg("Sound"); |
271 | cfg.setGroup("Record"); | 266 | cfg.setGroup("Record"); |
272 | 267 | ||
273 | speed = cfg.readNumEntry("SampleRate", 22050); | 268 | speed = cfg.readNumEntry("SampleRate", 22050); |
274 | channels = cfg.readNumEntry("Stereo", 1) ? 2 : 1; // 1 = stereo(2), 0 = mono(1) | 269 | channels = cfg.readNumEntry("Stereo", 1) ? 2 : 1; // 1 = stereo(2), 0 = mono(1) |
275 | if (cfg.readNumEntry("SixteenBit", 1)==1) | 270 | if (cfg.readNumEntry("SixteenBit", 1)==1) { |
276 | { | ||
277 | format = AFMT_S16_LE; | 271 | format = AFMT_S16_LE; |
278 | resolution = 16; | 272 | resolution = 16; |
279 | } | 273 | } |
280 | else | 274 | // else { |
281 | { | 275 | // format = AFMT_U8; |
282 | format = AFMT_U8; | 276 | // resolution = 8; |
283 | resolution = 8; | 277 | // } |
284 | } | ||
285 | 278 | ||
286 | if(systemZaurus) | 279 | if(systemZaurus) { |
287 | { | ||
288 | dsp = open("/dev/dsp1", O_RDWR); //Zaurus needs /dev/dsp1 | 280 | dsp = open("/dev/dsp1", O_RDWR); //Zaurus needs /dev/dsp1 |
289 | channels=1; //zaurus has one input channel | 281 | channels=1; //zaurus has one input channel |
290 | } | 282 | } else { |
291 | else | ||
292 | dsp = open("/dev/dsp", O_RDWR); | 283 | dsp = open("/dev/dsp", O_RDWR); |
284 | } | ||
293 | 285 | ||
294 | if(dsp == -1) | 286 | if(dsp == -1) { |
295 | { | ||
296 | perror("open(\"/dev/dsp\")"); | 287 | perror("open(\"/dev/dsp\")"); |
297 | return -1; | 288 | return -1; |
298 | } | 289 | } |
299 | 290 | ||
300 | if(ioctl(dsp, SNDCTL_DSP_SETFMT , &format)==-1) | 291 | if(ioctl(dsp, SNDCTL_DSP_SETFMT , &format)==-1) { |
301 | { | ||
302 | perror("ioctl(\"SNDCTL_DSP_SETFMT\")"); | 292 | perror("ioctl(\"SNDCTL_DSP_SETFMT\")"); |
303 | return -1; | 293 | return -1; |
304 | } | 294 | } |
305 | if(ioctl(dsp, SNDCTL_DSP_CHANNELS , &channels)==-1) | 295 | if(ioctl(dsp, SNDCTL_DSP_CHANNELS , &channels)==-1) { |
306 | { | ||
307 | perror("ioctl(\"SNDCTL_DSP_CHANNELS\")"); | 296 | perror("ioctl(\"SNDCTL_DSP_CHANNELS\")"); |
308 | return -1; | 297 | return -1; |
309 | } | 298 | } |
310 | if(ioctl(dsp, SNDCTL_DSP_SPEED , &speed)==-1) | 299 | if(ioctl(dsp, SNDCTL_DSP_SPEED , &speed)==-1) { |
311 | { | ||
312 | perror("ioctl(\"SNDCTL_DSP_SPEED\")"); | 300 | perror("ioctl(\"SNDCTL_DSP_SPEED\")"); |
313 | return -1; | 301 | return -1; |
314 | } | 302 | } |
315 | if(ioctl(dsp, SOUND_PCM_READ_RATE , &rate)==-1) | 303 | if(ioctl(dsp, SOUND_PCM_READ_RATE , &rate)==-1) { |
316 | { | ||
317 | perror("ioctl(\"SOUND_PCM_READ_RATE\")"); | 304 | perror("ioctl(\"SOUND_PCM_READ_RATE\")"); |
318 | return -1; | 305 | return -1; |
319 | } | 306 | } |
320 | 307 | ||
321 | return 1; | 308 | return 1; |
322 | } | 309 | } |
323 | 310 | ||
324 | int VMemo::openWAV(const char *filename) | 311 | int VMemo::openWAV(const char *filename) |
325 | { | 312 | { |
326 | track.setName(filename); | 313 | track.setName(filename); |
327 | if(!track.open(IO_WriteOnly|IO_Truncate|IO_Raw)) | 314 | if(!track.open(IO_WriteOnly|IO_Truncate|IO_Raw)) |
328 | return -1; | 315 | return -1; |
@@ -345,38 +332,103 @@ int VMemo::openWAV(const char *filename) | |||
345 | wh.data_chunk = DATA; | 332 | wh.data_chunk = DATA; |
346 | wh.data_length= 0; | 333 | wh.data_length= 0; |
347 | // qDebug("Write header channels %d, speed %d, b/s %d, blockalign %d, bitrate %d" | 334 | // qDebug("Write header channels %d, speed %d, b/s %d, blockalign %d, bitrate %d" |
348 | // , wh.modus, wh.sample_fq, wh.byte_p_sec, wh.byte_p_spl, wh.bit_p_spl ); | 335 | // , wh.modus, wh.sample_fq, wh.byte_p_sec, wh.byte_p_spl, wh.bit_p_spl ); |
349 | write (wav, &wh, sizeof(WaveHeader)); | 336 | write (wav, &wh, sizeof(WaveHeader)); |
350 | 337 | ||
351 | return 1; | 338 | return 1; |
352 | } | 339 | } |
353 | 340 | ||
354 | void VMemo::record(void) | 341 | void VMemo::record(void) |
355 | { | 342 | { |
356 | int length=0, result, value; | 343 | int length=0, result, value; |
357 | char sound[512]; | 344 | qDebug("Recording"); |
358 | 345 | ||
359 | while(recording) | 346 | if(format==AFMT_S16_LE) { |
360 | { | 347 | signed short sound[512], monoBuffer[512]; |
348 | while(recording) { | ||
361 | result = read(dsp, sound, 512); // 8192 | 349 | result = read(dsp, sound, 512); // 8192 |
362 | qApp->processEvents(); | 350 | qApp->processEvents(); |
363 | 351 | int j=0; | |
364 | write(wav, sound, result); | 352 | if(systemZaurus) { |
365 | length += result; | 353 | for (int i = 0; i < result; i++) { //since Z is mono do normally |
366 | 354 | monoBuffer[i] = sound[i]; | |
355 | } | ||
356 | qApp->processEvents(); | ||
357 | length+=write(wav, monoBuffer, result); | ||
358 | } else { //ipaq /stereo inputs | ||
359 | for (int i = 0; i < result; i+=2) { | ||
360 | monoBuffer[j] = (sound[i]+sound[i+1])/2; | ||
361 | j++; | ||
362 | } | ||
367 | qApp->processEvents(); | 363 | qApp->processEvents(); |
364 | length+=write(wav, monoBuffer, result/2); | ||
365 | } | ||
366 | printf("%d\r",length); | ||
367 | fflush(stdout); | ||
368 | } | 368 | } |
369 | } | ||
370 | // else { //AFMT_U8 // don't try this yet.. as player doesn't understand | ||
371 | // 8bit unsigned | ||
372 | // unsigned short sound[512], monoBuffer[512]; | ||
373 | // while(recording) | ||
374 | // { | ||
375 | // result = read(dsp, sound, 512); // 8192 | ||
376 | // qApp->processEvents(); | ||
377 | // int j=0; | ||
378 | // if(systemZaurus) | ||
379 | // { | ||
380 | // for (int i = 0; i < result; i++) { //since Z is mono do normally | ||
381 | // monoBuffer[i] = sound[i]; | ||
382 | // } | ||
383 | // qApp->processEvents(); | ||
384 | // length+=write(wav, monoBuffer, result); | ||
385 | // } else { //ipaq /stereo inputs | ||
386 | // for (int i = 0; i < result; i+=2) { | ||
387 | // monoBuffer[j] = (sound[i]+sound[i+1])/2; | ||
388 | // j++; | ||
389 | // } | ||
390 | // qApp->processEvents(); | ||
391 | // length+=write(wav, monoBuffer, result/2); | ||
392 | // } | ||
393 | // // length += result; | ||
394 | // printf("%d\r",length); | ||
395 | // fflush(stdout); | ||
396 | |||
397 | // qApp->processEvents(); | ||
398 | // } | ||
399 | // } | ||
400 | |||
401 | |||
402 | |||
403 | // char sound[512]; //char is 8 bit | ||
404 | |||
405 | // while(recording) | ||
406 | // { | ||
407 | // result = read(dsp, sound, 512); // 8192 | ||
408 | // qApp->processEvents(); | ||
409 | |||
410 | // write(wav, sound, result); | ||
411 | // length += result; | ||
412 | |||
413 | // qApp->processEvents(); | ||
414 | // } | ||
415 | // qDebug("file has length of %d lasting %d seconds", | ||
416 | // length, (( length / speed) / channels) / 2 ); | ||
417 | // medialplayer states wrong length in secs | ||
418 | |||
369 | 419 | ||
370 | value = length+36; | 420 | value = length+36; |
371 | lseek(wav, 4, SEEK_SET); | 421 | lseek(wav, 4, SEEK_SET); |
372 | write(wav, &value, 4); | 422 | write(wav, &value, 4); |
373 | lseek(wav, 40, SEEK_SET); | 423 | lseek(wav, 40, SEEK_SET); |
374 | write(wav, &length, 4); | 424 | write(wav, &length, 4); |
375 | track.close(); | 425 | track.close(); |
376 | 426 | ||
377 | if( ioctl( dsp, SNDCTL_DSP_RESET,0) == -1) | 427 | if( ioctl( dsp, SNDCTL_DSP_RESET,0) == -1) |
378 | perror("ioctl(\"SNDCTL_DSP_RESET\")"); | 428 | perror("ioctl(\"SNDCTL_DSP_RESET\")"); |
379 | ::close(dsp); | 429 | ::close(dsp); |
430 | // if(systemZaurus) | ||
431 | QMessageBox::message("Vmemo"," Done recording"); | ||
380 | 432 | ||
381 | QSound::play(Resource::findSound("vmemoe")); | 433 | QSound::play(Resource::findSound("vmemoe")); |
382 | } | 434 | } |
diff --git a/core/applets/vmemo/vmemo.pro b/core/applets/vmemo/vmemo.pro index bf9af4b..29f99fb 100644 --- a/core/applets/vmemo/vmemo.pro +++ b/core/applets/vmemo/vmemo.pro | |||
@@ -1,11 +1,12 @@ | |||
1 | TEMPLATE= lib | 1 | TEMPLATE= lib |
2 | CONFIG += qt warn_on release | 2 | CONFIG += qt warn_on release |
3 | HEADERS= vmemo.h vmemoimpl.h | 3 | HEADERS= vmemo.h vmemoimpl.h |
4 | SOURCES= vmemo.cpp vmemoimpl.cpp | 4 | SOURCES= vmemo.cpp vmemoimpl.cpp |
5 | TARGET = vmemoapplet | 5 | TARGET = vmemoapplet |
6 | DESTDIR = ../../plugins/applets | 6 | DESTDIR = ../../plugins/applets |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH += ../$(OPIEDIR)/include | 8 | DEPENDPATH += ../$(OPIEDIR)/include |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | VERSION = 1.0.0 | 10 | VERSION = 1.0.0 |
11 | 11 | ||
12 | TRANSLATIONS = ../../i18n/pt_BR/libvmemoapplet.ts | ||
diff --git a/core/applets/volumeapplet/volumeapplet.pro b/core/applets/volumeapplet/volumeapplet.pro index fedaed7..c5b764b 100644 --- a/core/applets/volumeapplet/volumeapplet.pro +++ b/core/applets/volumeapplet/volumeapplet.pro | |||
@@ -1,12 +1,13 @@ | |||
1 | TEMPLATE= lib | 1 | TEMPLATE= lib |
2 | CONFIG += qt warn_on release | 2 | CONFIG += qt warn_on release |
3 | HEADERS= volume.h volumeappletimpl.h | 3 | HEADERS= volume.h volumeappletimpl.h |
4 | SOURCES= volume.cpp volumeappletimpl.cpp | 4 | SOURCES= volume.cpp volumeappletimpl.cpp |
5 | TARGET = volumeapplet | 5 | TARGET = volumeapplet |
6 | DESTDIR = ../../plugins/applets | 6 | DESTDIR = ../../plugins/applets |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH += ../$(OPIEDIR)/include | 8 | DEPENDPATH += ../$(OPIEDIR)/include |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | VERSION = 1.0.0 | 10 | VERSION = 1.0.0 |
11 | 11 | ||
12 | TRANSLATIONS += ../../i18n/de/libvolumeapplet.ts | 12 | TRANSLATIONS += ../../i18n/de/libvolumeapplet.ts |
13 | TRANSLATIONS = ../../i18n/pt_BR/libvolumeapplet.ts | ||
diff --git a/core/apps/embeddedkonsole/embeddedkonsole.pro b/core/apps/embeddedkonsole/embeddedkonsole.pro index f4e1f2d..b5e72ba 100755 --- a/core/apps/embeddedkonsole/embeddedkonsole.pro +++ b/core/apps/embeddedkonsole/embeddedkonsole.pro | |||
@@ -25,12 +25,13 @@ SOURCES = TEScreen.cpp \ | |||
25 | commandeditdialog.cpp \ | 25 | commandeditdialog.cpp \ |
26 | commandeditwidget.cpp \ | 26 | commandeditwidget.cpp \ |
27 | playlistselection.cpp \ | 27 | playlistselection.cpp \ |
28 | MyPty.cpp \ | 28 | MyPty.cpp \ |
29 | main.cpp | 29 | main.cpp |
30 | INTERFACES = commandeditdialogbase.ui smallcommandeditdialogbase.ui | 30 | INTERFACES = commandeditdialogbase.ui smallcommandeditdialogbase.ui |
31 | TARGET = embeddedkonsole | 31 | TARGET = embeddedkonsole |
32 | INCLUDEPATH += $(OPIEDIR)/include | 32 | INCLUDEPATH += $(OPIEDIR)/include |
33 | DEPENDPATH += $(OPIEDIR)/include | 33 | DEPENDPATH += $(OPIEDIR)/include |
34 | LIBS += -lqpe | 34 | LIBS += -lqpe |
35 | REQUIRES = embeddedkonsole | 35 | REQUIRES = embeddedkonsole |
36 | 36 | ||
37 | TRANSLATIONS = ../i18n/pt_BR/embeddedkonsole.ts | ||
diff --git a/core/apps/helpbrowser/helpbrowser.pro b/core/apps/helpbrowser/helpbrowser.pro index f6ede8b..05b196f 100644 --- a/core/apps/helpbrowser/helpbrowser.pro +++ b/core/apps/helpbrowser/helpbrowser.pro | |||
@@ -1,12 +1,13 @@ | |||
1 | TEMPLATE= app | 1 | TEMPLATE= app |
2 | CONFIG = qt warn_on release | 2 | CONFIG = qt warn_on release |
3 | DESTDIR = $(OPIEDIR)/bin | 3 | DESTDIR = $(OPIEDIR)/bin |
4 | HEADERS = helpbrowser.h | 4 | HEADERS = helpbrowser.h |
5 | SOURCES = helpbrowser.cpp \ | 5 | SOURCES = helpbrowser.cpp \ |
6 | main.cpp | 6 | main.cpp |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH+= $(OPIEDIR)/include | 8 | DEPENDPATH+= $(OPIEDIR)/include |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | INTERFACES= | 10 | INTERFACES= |
11 | 11 | ||
12 | TRANSLATIONS = ../i18n/de/helpbrowser.ts | 12 | TRANSLATIONS = ../i18n/de/helpbrowser.ts |
13 | TRANSLATIONS = ../i18n/pt_BR/helpbrowser.ts | ||
diff --git a/core/apps/textedit/textedit.pro b/core/apps/textedit/textedit.pro index f019bf7..1301aed 100644 --- a/core/apps/textedit/textedit.pro +++ b/core/apps/textedit/textedit.pro | |||
@@ -3,12 +3,13 @@ CONFIG += qt warn_on release | |||
3 | 3 | ||
4 | DESTDIR = $(OPIEDIR)/bin | 4 | DESTDIR = $(OPIEDIR)/bin |
5 | HEADERS = textedit.h fileBrowser.h fontDialog.h fileSaver.h filePermissions.h inputDialog.h | 5 | HEADERS = textedit.h fileBrowser.h fontDialog.h fileSaver.h filePermissions.h inputDialog.h |
6 | SOURCES = main.cpp textedit.cpp fileBrowser.cpp fontDialog.cpp fileSaver.cpp filePermissions.cpp inputDialog.cpp | 6 | SOURCES = main.cpp textedit.cpp fileBrowser.cpp fontDialog.cpp fileSaver.cpp filePermissions.cpp inputDialog.cpp |
7 | 7 | ||
8 | INCLUDEPATH += $(OPIEDIR)/include | 8 | INCLUDEPATH += $(OPIEDIR)/include |
9 | DEPENDPATH += $(OPIEDIR)/include | 9 | DEPENDPATH += $(OPIEDIR)/include |
10 | LIBS += -lqpe | 10 | LIBS += -lqpe |
11 | 11 | ||
12 | TARGET = textedit | 12 | TARGET = textedit |
13 | 13 | ||
14 | TRANSLATIONS = ../i18n/de/textedit.ts | 14 | TRANSLATIONS = ../i18n/de/textedit.ts |
15 | TRANSLATIONS = ../i18n/pt_BR/textedit.ts | ||
diff --git a/core/launcher/launcher.pro b/core/launcher/launcher.pro index 32cb95f..39df594 100644 --- a/core/launcher/launcher.pro +++ b/core/launcher/launcher.pro | |||
@@ -16,97 +16,98 @@ HEADERS = background.h \ | |||
16 | inputmethods.h \ | 16 | inputmethods.h \ |
17 | systray.h \ | 17 | systray.h \ |
18 | wait.h \ | 18 | wait.h \ |
19 | shutdownimpl.h \ | 19 | shutdownimpl.h \ |
20 | launcher.h \ | 20 | launcher.h \ |
21 | launcherview.h \ | 21 | launcherview.h \ |
22 | ../calibrate/calibrate.h \ | 22 | ../calibrate/calibrate.h \ |
23 | startmenu.h \ | 23 | startmenu.h \ |
24 | transferserver.h \ | 24 | transferserver.h \ |
25 | qcopbridge.h \ | 25 | qcopbridge.h \ |
26 | packageslave.h \ | 26 | packageslave.h \ |
27 | irserver.h \ | 27 | irserver.h \ |
28 | $(OPIEDIR)/rsync/buf.h \ | 28 | /skiff/opie/rsync/buf.h \ |
29 | $(OPIEDIR)/rsync/checksum.h \ | 29 | /skiff/opie/rsync/checksum.h \ |
30 | $(OPIEDIR)/rsync/command.h \ | 30 | /skiff/opie/rsync/command.h \ |
31 | $(OPIEDIR)/rsync/emit.h \ | 31 | /skiff/opie/rsync/emit.h \ |
32 | $(OPIEDIR)/rsync/job.h \ | 32 | /skiff/opie/rsync/job.h \ |
33 | $(OPIEDIR)/rsync/netint.h \ | 33 | /skiff/opie/rsync/netint.h \ |
34 | $(OPIEDIR)/rsync/protocol.h \ | 34 | /skiff/opie/rsync/protocol.h \ |
35 | $(OPIEDIR)/rsync/prototab.h \ | 35 | /skiff/opie/rsync/prototab.h \ |
36 | $(OPIEDIR)/rsync/rsync.h \ | 36 | /skiff/opie/rsync/rsync.h \ |
37 | $(OPIEDIR)/rsync/search.h \ | 37 | /skiff/opie/rsync/search.h \ |
38 | $(OPIEDIR)/rsync/stream.h \ | 38 | /skiff/opie/rsync/stream.h \ |
39 | $(OPIEDIR)/rsync/sumset.h \ | 39 | /skiff/opie/rsync/sumset.h \ |
40 | $(OPIEDIR)/rsync/trace.h \ | 40 | /skiff/opie/rsync/trace.h \ |
41 | $(OPIEDIR)/rsync/types.h \ | 41 | /skiff/opie/rsync/types.h \ |
42 | $(OPIEDIR)/rsync/util.h \ | 42 | /skiff/opie/rsync/util.h \ |
43 | $(OPIEDIR)/rsync/whole.h \ | 43 | /skiff/opie/rsync/whole.h \ |
44 | $(OPIEDIR)/rsync/config_rsync.h \ | 44 | /skiff/opie/rsync/config_rsync.h \ |
45 | $(OPIEDIR)/rsync/qrsync.h | 45 | /skiff/opie/rsync/qrsync.h |
46 | # quicklauncher.h \ | 46 | # quicklauncher.h \ |
47 | 47 | ||
48 | SOURCES = background.cpp \ | 48 | SOURCES = background.cpp \ |
49 | desktop.cpp \ | 49 | desktop.cpp \ |
50 | qprocess.cpp qprocess_unix.cpp \ | 50 | qprocess.cpp qprocess_unix.cpp \ |
51 | info.cpp \ | 51 | info.cpp \ |
52 | appicons.cpp \ | 52 | appicons.cpp \ |
53 | taskbar.cpp \ | 53 | taskbar.cpp \ |
54 | sidething.cpp \ | 54 | sidething.cpp \ |
55 | mrulist.cpp \ | 55 | mrulist.cpp \ |
56 | stabmon.cpp \ | 56 | stabmon.cpp \ |
57 | inputmethods.cpp \ | 57 | inputmethods.cpp \ |
58 | systray.cpp \ | 58 | systray.cpp \ |
59 | wait.cpp \ | 59 | wait.cpp \ |
60 | shutdownimpl.cpp \ | 60 | shutdownimpl.cpp \ |
61 | launcher.cpp \ | 61 | launcher.cpp \ |
62 | launcherview.cpp \ | 62 | launcherview.cpp \ |
63 | $(OPIEDIR)/calibrate/calibrate.cpp \ | 63 | /skiff/opie/calibrate/calibrate.cpp \ |
64 | transferserver.cpp \ | 64 | transferserver.cpp \ |
65 | packageslave.cpp \ | 65 | packageslave.cpp \ |
66 | irserver.cpp \ | 66 | irserver.cpp \ |
67 | qcopbridge.cpp \ | 67 | qcopbridge.cpp \ |
68 | startmenu.cpp \ | 68 | startmenu.cpp \ |
69 | main.cpp \ | 69 | main.cpp \ |
70 | $(OPIEDIR)/rsync/base64.c \ | 70 | /skiff/opie/rsync/base64.c \ |
71 | $(OPIEDIR)/rsync/buf.c \ | 71 | /skiff/opie/rsync/buf.c \ |
72 | $(OPIEDIR)/rsync/checksum.c \ | 72 | /skiff/opie/rsync/checksum.c \ |
73 | $(OPIEDIR)/rsync/command.c \ | 73 | /skiff/opie/rsync/command.c \ |
74 | $(OPIEDIR)/rsync/delta.c \ | 74 | /skiff/opie/rsync/delta.c \ |
75 | $(OPIEDIR)/rsync/emit.c \ | 75 | /skiff/opie/rsync/emit.c \ |
76 | $(OPIEDIR)/rsync/hex.c \ | 76 | /skiff/opie/rsync/hex.c \ |
77 | $(OPIEDIR)/rsync/job.c \ | 77 | /skiff/opie/rsync/job.c \ |
78 | $(OPIEDIR)/rsync/mdfour.c \ | 78 | /skiff/opie/rsync/mdfour.c \ |
79 | $(OPIEDIR)/rsync/mksum.c \ | 79 | /skiff/opie/rsync/mksum.c \ |
80 | $(OPIEDIR)/rsync/msg.c \ | 80 | /skiff/opie/rsync/msg.c \ |
81 | $(OPIEDIR)/rsync/netint.c \ | 81 | /skiff/opie/rsync/netint.c \ |
82 | $(OPIEDIR)/rsync/patch.c \ | 82 | /skiff/opie/rsync/patch.c \ |
83 | $(OPIEDIR)/rsync/prototab.c \ | 83 | /skiff/opie/rsync/prototab.c \ |
84 | $(OPIEDIR)/rsync/readsums.c \ | 84 | /skiff/opie/rsync/readsums.c \ |
85 | $(OPIEDIR)/rsync/scoop.c \ | 85 | /skiff/opie/rsync/scoop.c \ |
86 | $(OPIEDIR)/rsync/search.c \ | 86 | /skiff/opie/rsync/search.c \ |
87 | $(OPIEDIR)/rsync/stats.c \ | 87 | /skiff/opie/rsync/stats.c \ |
88 | $(OPIEDIR)/rsync/stream.c \ | 88 | /skiff/opie/rsync/stream.c \ |
89 | $(OPIEDIR)/rsync/sumset.c \ | 89 | /skiff/opie/rsync/sumset.c \ |
90 | $(OPIEDIR)/rsync/trace.c \ | 90 | /skiff/opie/rsync/trace.c \ |
91 | $(OPIEDIR)/rsync/tube.c \ | 91 | /skiff/opie/rsync/tube.c \ |
92 | $(OPIEDIR)/rsync/util.c \ | 92 | /skiff/opie/rsync/util.c \ |
93 | $(OPIEDIR)/rsync/version.c \ | 93 | /skiff/opie/rsync/version.c \ |
94 | $(OPIEDIR)/rsync/whole.c \ | 94 | /skiff/opie/rsync/whole.c \ |
95 | $(OPIEDIR)/rsync/qrsync.cpp | 95 | /skiff/opie/rsync/qrsync.cpp |
96 | 96 | ||
97 | INTERFACES= shutdown.ui syncdialog.ui | 97 | INTERFACES= shutdown.ui syncdialog.ui |
98 | 98 | ||
99 | INCLUDEPATH += $(OPIEDIR)/include | 99 | INCLUDEPATH += $(OPIEDIR)/include |
100 | DEPENDPATH+= $(OPIEDIR)/include . | 100 | DEPENDPATH+= $(OPIEDIR)/include . |
101 | 101 | ||
102 | INCLUDEPATH += $(OPIEDIR)/calibrate | 102 | INCLUDEPATH += $(OPIEDIR)/calibrate |
103 | DEPENDPATH+= $(OPIEDIR)/calibrate | 103 | DEPENDPATH+= $(OPIEDIR)/calibrate |
104 | 104 | ||
105 | INCLUDEPATH += $(OPIEDIR)/rsync | 105 | INCLUDEPATH += $(OPIEDIR)/rsync |
106 | DEPENDPATH+= $(OPIEDIR)/rsync | 106 | DEPENDPATH+= $(OPIEDIR)/rsync |
107 | 107 | ||
108 | TARGET = qpe | 108 | TARGET = qpe |
109 | 109 | ||
110 | LIBS += -lqpe -lcrypt | 110 | LIBS += -lqpe -lcrypt |
111 | 111 | ||
112 | TRANSLATIONS = ../i18n/de/qpe.ts | 112 | TRANSLATIONS = ../i18n/de/qpe.ts |
113 | TRANSLATIONS = ../i18n/pt_BR/qpe.ts | ||
diff --git a/core/multimedia/opieplayer/libmad/libmad.pro b/core/multimedia/opieplayer/libmad/libmad.pro index 06e19e4..6b75d1f 100644 --- a/core/multimedia/opieplayer/libmad/libmad.pro +++ b/core/multimedia/opieplayer/libmad/libmad.pro | |||
@@ -1,12 +1,14 @@ | |||
1 | TEMPLATE = lib | 1 | TEMPLATE = lib |
2 | CONFIG += qt warn_on release | 2 | CONFIG += qt warn_on release |
3 | HEADERS = libmad_version.h fixed.h bit.h timer.h stream.h frame.h synth.h decoder.h \ | 3 | HEADERS = libmad_version.h fixed.h bit.h timer.h stream.h frame.h synth.h decoder.h \ |
4 | layer12.h layer3.h huffman.h libmad_global.h mad.h libmadplugin.h libmadpluginimpl.h | 4 | layer12.h layer3.h huffman.h libmad_global.h mad.h libmadplugin.h libmadpluginimpl.h |
5 | SOURCES = version.c fixed.c bit.c timer.c stream.c frame.c synth.c decoder.c \ | 5 | SOURCES = version.c fixed.c bit.c timer.c stream.c frame.c synth.c decoder.c \ |
6 | layer12.c layer3.c huffman.c libmadplugin.cpp libmadpluginimpl.cpp | 6 | layer12.c layer3.c huffman.c libmadplugin.cpp libmadpluginimpl.cpp |
7 | TARGET = madplugin | 7 | TARGET = madplugin |
8 | DESTDIR = ../../plugins/codecs | 8 | DESTDIR = ../../plugins/codecs |
9 | INCLUDEPATH += $(OPIEDIR)/include .. | 9 | INCLUDEPATH += $(OPIEDIR)/include .. |
10 | DEPENDPATH += ../$(OPIEDIR)/include .. | 10 | DEPENDPATH += ../$(OPIEDIR)/include .. |
11 | LIBS += -lqpe -lm | 11 | LIBS += -lqpe -lm |
12 | VERSION = 1.0.0 | 12 | VERSION = 1.0.0 |
13 | |||
14 | TRANSLATIONS = ../../i18n/pt_BR/libmadplugin.ts | ||
diff --git a/core/multimedia/opieplayer/mpegplayer.pro b/core/multimedia/opieplayer/mpegplayer.pro index 5bea541..58cb34b 100644 --- a/core/multimedia/opieplayer/mpegplayer.pro +++ b/core/multimedia/opieplayer/mpegplayer.pro | |||
@@ -14,12 +14,13 @@ LIBS += -lqpe -lpthread | |||
14 | 14 | ||
15 | # INTERFACES = | 15 | # INTERFACES = |
16 | # INCLUDEPATH += $(OPIEDIR)/include | 16 | # INCLUDEPATH += $(OPIEDIR)/include |
17 | # CONFIG+=static | 17 | # CONFIG+=static |
18 | # TMAKE_CXXFLAGS += -DQPIM_STANDALONE | 18 | # TMAKE_CXXFLAGS += -DQPIM_STANDALONE |
19 | # LIBS += libmpeg3/libmpeg3.a -lpthread | 19 | # LIBS += libmpeg3/libmpeg3.a -lpthread |
20 | # LIBS += $(OPIEDIR)/plugins/codecs/liblibmadplugin.so | 20 | # LIBS += $(OPIEDIR)/plugins/codecs/liblibmadplugin.so |
21 | 21 | ||
22 | INCLUDEPATH += $(OPIEDIR)/include | 22 | INCLUDEPATH += $(OPIEDIR)/include |
23 | DEPENDPATH += $(OPIEDIR)/include | 23 | DEPENDPATH += $(OPIEDIR)/include |
24 | 24 | ||
25 | TRANSLATIONS = ../i18n/de/mpegplayer.ts | 25 | TRANSLATIONS = ../i18n/de/mpegplayer.ts |
26 | TRANSLATIONS = ../i18n/pt_BR/mpegplayer.ts | ||
diff --git a/core/pim/addressbook/addressbook.pro b/core/pim/addressbook/addressbook.pro index 32e21a2..e1ab94a 100644 --- a/core/pim/addressbook/addressbook.pro +++ b/core/pim/addressbook/addressbook.pro | |||
@@ -11,12 +11,13 @@ SOURCES = main.cpp \ | |||
11 | abeditor.cpp \ | 11 | abeditor.cpp \ |
12 | ablabel.cpp \ | 12 | ablabel.cpp \ |
13 | abtable.cpp \ | 13 | abtable.cpp \ |
14 | addresssettings.cpp | 14 | addresssettings.cpp |
15 | INTERFACES= addresssettingsbase.ui | 15 | INTERFACES= addresssettingsbase.ui |
16 | 16 | ||
17 | TARGET = addressbook | 17 | TARGET = addressbook |
18 | INCLUDEPATH += $(OPIEDIR)/include | 18 | INCLUDEPATH += $(OPIEDIR)/include |
19 | DEPENDPATH+= $(OPIEDIR)/include | 19 | DEPENDPATH+= $(OPIEDIR)/include |
20 | LIBS += -lqpe | 20 | LIBS += -lqpe |
21 | 21 | ||
22 | TRANSLATIONS = ../i18n/de/addressbook.ts | 22 | TRANSLATIONS = ../i18n/de/addressbook.ts |
23 | TRANSLATIONS = ../i18n/pt_BR/addressbook.ts | ||
diff --git a/core/pim/datebook/datebook.pro b/core/pim/datebook/datebook.pro index bbe07af..416bae0 100644 --- a/core/pim/datebook/datebook.pro +++ b/core/pim/datebook/datebook.pro | |||
@@ -31,12 +31,13 @@ INTERFACES = dateentry.ui \ | |||
31 | datebookweekheader.ui \ | 31 | datebookweekheader.ui \ |
32 | datebookweeklstheader.ui \ | 32 | datebookweeklstheader.ui \ |
33 | datebookweeklstdayhdr.ui \ | 33 | datebookweeklstdayhdr.ui \ |
34 | repeatentrybase.ui | 34 | repeatentrybase.ui |
35 | 35 | ||
36 | INCLUDEPATH += $(OPIEDIR)/include | 36 | INCLUDEPATH += $(OPIEDIR)/include |
37 | DEPENDPATH+= $(OPIEDIR)/include | 37 | DEPENDPATH+= $(OPIEDIR)/include |
38 | LIBS += -lqpe | 38 | LIBS += -lqpe |
39 | 39 | ||
40 | TARGET = datebook | 40 | TARGET = datebook |
41 | 41 | ||
42 | TRANSLATIONS = ../i18n/de/datebook.ts | 42 | TRANSLATIONS = ../i18n/de/datebook.ts |
43 | TRANSLATIONS = ../i18n/pt_BR/datebook.ts | ||
diff --git a/core/pim/today/today.pro b/core/pim/today/today.pro index 454b3ff..e61480c 100644 --- a/core/pim/today/today.pro +++ b/core/pim/today/today.pro | |||
@@ -1,12 +1,13 @@ | |||
1 | TEMPLATE= app | 1 | TEMPLATE= app |
2 | #CONFIG = qt warn_on debug | 2 | #CONFIG = qt warn_on debug |
3 | CONFIG = qt warn_on release | 3 | CONFIG = qt warn_on release |
4 | HEADERS = today.h TodoItem.h minidom.h todaybase.h todayconfig.h clickablelabel.h | 4 | HEADERS = today.h TodoItem.h minidom.h todaybase.h todayconfig.h clickablelabel.h |
5 | SOURCES = main.cpp today.cpp todaybase.cpp todayconfig.cpp minidom.c TodoItem.cpp clickablelabel.cpp | 5 | SOURCES = main.cpp today.cpp todaybase.cpp todayconfig.cpp minidom.c TodoItem.cpp clickablelabel.cpp |
6 | 6 | ||
7 | INCLUDEPATH+= $(OPIEDIR)/include | 7 | INCLUDEPATH+= $(OPIEDIR)/include |
8 | DEPENDPATH+= $(OPIEDIR)/include | 8 | DEPENDPATH+= $(OPIEDIR)/include |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | INTERFACES= | 10 | INTERFACES= |
11 | TARGET = today | 11 | TARGET = today |
12 | DESTDIR = $(OPIEDIR)/bin | 12 | DESTDIR = $(OPIEDIR)/bin |
13 | TRANSLATIONS = ../i18n/pt_BR/today.ts | ||
diff --git a/core/pim/todo/todo.pro b/core/pim/todo/todo.pro index 5eb02a2..1cdf795 100644 --- a/core/pim/todo/todo.pro +++ b/core/pim/todo/todo.pro | |||
@@ -8,12 +8,13 @@ SOURCES = main.cpp \ | |||
8 | mainwindow.cpp \ | 8 | mainwindow.cpp \ |
9 | todotable.cpp \ | 9 | todotable.cpp \ |
10 | todoentryimpl.cpp | 10 | todoentryimpl.cpp |
11 | 11 | ||
12 | INTERFACES= todoentry.ui | 12 | INTERFACES= todoentry.ui |
13 | 13 | ||
14 | TARGET = todolist | 14 | TARGET = todolist |
15 | INCLUDEPATH += $(OPIEDIR)/include | 15 | INCLUDEPATH += $(OPIEDIR)/include |
16 | DEPENDPATH+= $(OPIEDIR)/include | 16 | DEPENDPATH+= $(OPIEDIR)/include |
17 | LIBS += -lqpe | 17 | LIBS += -lqpe |
18 | 18 | ||
19 | TRANSLATIONS = ../i18n/de/todolist.ts | 19 | TRANSLATIONS = ../i18n/de/todolist.ts |
20 | TRANSLATIONS = ../i18n/pt_BR/todolist.ts | ||
diff --git a/core/settings/citytime/citytime.pro b/core/settings/citytime/citytime.pro index 3420499..01dc6c9 100644 --- a/core/settings/citytime/citytime.pro +++ b/core/settings/citytime/citytime.pro | |||
@@ -2,12 +2,13 @@ | |||
2 | CONFIG += qt warn_on release | 2 | CONFIG += qt warn_on release |
3 | TEMPLATE = app | 3 | TEMPLATE = app |
4 | DESTDIR = $(OPIEDIR)/bin | 4 | DESTDIR = $(OPIEDIR)/bin |
5 | INTERFACES = citytimebase.ui | 5 | INTERFACES = citytimebase.ui |
6 | HEADERS = citytime.h zonemap.h sun.h stylusnormalizer.h | 6 | HEADERS = citytime.h zonemap.h sun.h stylusnormalizer.h |
7 | SOURCES = citytime.cpp zonemap.cpp main.cpp sun.c stylusnormalizer.cpp | 7 | SOURCES = citytime.cpp zonemap.cpp main.cpp sun.c stylusnormalizer.cpp |
8 | TARGET = citytime | 8 | TARGET = citytime |
9 | INCLUDEPATH += $(OPIEDIR)/include | 9 | INCLUDEPATH += $(OPIEDIR)/include |
10 | DEPENDPATH += $(OPIEDIR)/include | 10 | DEPENDPATH += $(OPIEDIR)/include |
11 | LIBS += -lqpe | 11 | LIBS += -lqpe |
12 | 12 | ||
13 | TRANSLATIONS = ../i18n/de/citytime.ts | 13 | TRANSLATIONS = ../i18n/de/citytime.ts |
14 | TRANSLATIONS = ../i18n/pt_BR/citytime.ts | ||
diff --git a/core/settings/light-and-power/light-and-power.pro b/core/settings/light-and-power/light-and-power.pro index 35b51a7..0465bfb 100644 --- a/core/settings/light-and-power/light-and-power.pro +++ b/core/settings/light-and-power/light-and-power.pro | |||
@@ -1,12 +1,13 @@ | |||
1 | TEMPLATE= app | 1 | TEMPLATE= app |
2 | CONFIG += qt warn_on release | 2 | CONFIG += qt warn_on release |
3 | DESTDIR = ../../bin | 3 | DESTDIR = ../../bin |
4 | HEADERS = settings.h | 4 | HEADERS = settings.h |
5 | SOURCES = light.cpp main.cpp | 5 | SOURCES = light.cpp main.cpp |
6 | INTERFACES= lightsettingsbase.ui | 6 | INTERFACES= lightsettingsbase.ui |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH+= ../$(OPIEDIR)/include | 8 | DEPENDPATH+= ../$(OPIEDIR)/include |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | TARGET = light-and-power | 10 | TARGET = light-and-power |
11 | 11 | ||
12 | TRANSLATIONS = ../../i18n/de/light-and-power.ts | 12 | TRANSLATIONS = ../../i18n/de/light-and-power.ts |
13 | TRANSLATIONS = ../../i18n/pt_BR/light-and-power.ts | ||
diff --git a/core/settings/security/security.pro b/core/settings/security/security.pro index f22e7a6..b67fe6d 100644 --- a/core/settings/security/security.pro +++ b/core/settings/security/security.pro | |||
@@ -1,12 +1,13 @@ | |||
1 | TEMPLATE= app | 1 | TEMPLATE= app |
2 | CONFIG += qt warn_on release | 2 | CONFIG += qt warn_on release |
3 | DESTDIR = ../../bin | 3 | DESTDIR = ../../bin |
4 | HEADERS = security.h | 4 | HEADERS = security.h |
5 | SOURCES = security.cpp main.cpp | 5 | SOURCES = security.cpp main.cpp |
6 | INTERFACES= securitybase.ui | 6 | INTERFACES= securitybase.ui |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH+= ../$(OPIEDIR)/include | 8 | DEPENDPATH+= ../$(OPIEDIR)/include |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | TARGET = security | 10 | TARGET = security |
11 | 11 | ||
12 | TRANSLATIONS = ../../i18n/de/security.ts | 12 | TRANSLATIONS = ../../i18n/de/security.ts |
13 | TRANSLATIONS = ../../i18n/pt_BR/security.ts | ||