summaryrefslogtreecommitdiff
path: root/noncore
Side-by-side diff
Diffstat (limited to 'noncore') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/tableviewer/tableviewer.pro2
-rw-r--r--noncore/comm/keypebble/keypebble.pro1
-rw-r--r--noncore/games/chess/chess.pro2
-rw-r--r--noncore/games/fifteen/fifteen.pro2
-rw-r--r--noncore/games/go/go.pro2
-rw-r--r--noncore/games/kcheckers/kcheckers.pro2
-rw-r--r--noncore/games/mindbreaker/mindbreaker.pro2
-rw-r--r--noncore/games/minesweep/minesweep.pro1
-rw-r--r--noncore/games/parashoot/parashoot.pro1
-rw-r--r--noncore/games/qasteroids/qasteroids.pro1
-rw-r--r--noncore/games/snake/snake.pro1
-rwxr-xr-xnoncore/games/solitaire/solitaire.pro1
-rw-r--r--noncore/games/tetrix/tetrix.pro2
-rw-r--r--noncore/games/tictac/tictac.pro2
-rw-r--r--noncore/games/wordgame/wordgame.pro1
-rw-r--r--noncore/multimedia/showimg/showimg.pro1
-rw-r--r--noncore/net/opieftp/opieftp.cpp8
-rw-r--r--noncore/net/opieftp/opieftp.pro1
-rw-r--r--noncore/settings/language/language.pro1
-rw-r--r--noncore/settings/sound/sound.pro2
-rw-r--r--noncore/settings/sound/soundsettings.cpp2
-rw-r--r--noncore/settings/sysinfo/sysinfo.pro1
-rw-r--r--noncore/tools/calc2/calc.pro1
-rw-r--r--noncore/tools/calculator/calculator.pro1
-rw-r--r--noncore/tools/clock/clock.pro1
-rw-r--r--noncore/unsupported/filebrowser/filebrowser.pro2
-rw-r--r--noncore/unsupported/oipkg/qipkg.pro1
27 files changed, 40 insertions, 5 deletions
diff --git a/noncore/apps/tableviewer/tableviewer.pro b/noncore/apps/tableviewer/tableviewer.pro
index c9d068e..943e3d4 100644
--- a/noncore/apps/tableviewer/tableviewer.pro
+++ b/noncore/apps/tableviewer/tableviewer.pro
@@ -13,24 +13,26 @@ HEADERS = tableviewer.h \
ui/tvkeyedit.h \
db/datacache.h \
db/common.h \
db/xmlsource.h \
db/csvsource.h
SOURCES = main.cpp \
tableviewer.cpp \
ui/commonwidgets.cpp \
ui/tvbrowseview.cpp \
ui/tvfilterview.cpp \
ui/browsekeyentry.cpp \
ui/filterkeyentry.cpp \
ui/tvlistview.cpp \
ui/tveditview.cpp \
ui/tvkeyedit.cpp \
db/datacache.cpp \
db/xmlsource.cpp \
db/csvsource.cpp \
db/common.cpp
INTERFACES = ui/tvkeyedit_gen.ui
TARGET = tableviewer
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
+
+TRANSLATIONS = ../i18n/pt_BR/tableviewer.ts
diff --git a/noncore/comm/keypebble/keypebble.pro b/noncore/comm/keypebble/keypebble.pro
index c0efc4f..cc6c6e9 100644
--- a/noncore/comm/keypebble/keypebble.pro
+++ b/noncore/comm/keypebble/keypebble.pro
@@ -15,24 +15,25 @@ HEADERS = d3des.h \
kvncconnectdlg.h \
kvncoptionsdlg.h \
version.h \
vncauth.h
SOURCES = d3des.c \
vncauth.c \
krfbbuffer.cpp \
krfbcanvas.cpp \
krfbconnection.cpp \
krfbdecoder.cpp \
krfblogin.cpp \
krfboptions.cpp \
kvnc.cpp \
kvncconnectdlg.cpp \
kvncoptionsdlg.cpp \
main.cpp
INTERFACES = vncoptionsbase.ui
TARGET = keypebble
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
+TRANSLATIONS = ../i18n/pt_BR/keypebble.ts
diff --git a/noncore/games/chess/chess.pro b/noncore/games/chess/chess.pro
index 9053809..b246767 100644
--- a/noncore/games/chess/chess.pro
+++ b/noncore/games/chess/chess.pro
@@ -1,14 +1,16 @@
SOURCES += chess.cpp main.cpp
HEADERS += chess.h
DESTDIR = ../bin
TARGET = chess
DEPENDPATH += $(OPIEDIR)/include
INTERFACES = mainwindow.ui
IMAGES = images/new.png images/repeat.png images/txt.png images/back.png
TEMPLATE =app
CONFIG += qt warn_on release
INCLUDEPATH += $(OPIEDIR)/include
LIBS += -lqpe
DBFILE = chess.db
LANGUAGE = C++
CPP_ALWAYS_CREATE_SOURCE = TRUE
+
+TRANSLATIONS = ../i18n/pt_BR/chess.ts
diff --git a/noncore/games/fifteen/fifteen.pro b/noncore/games/fifteen/fifteen.pro
index 92072ab..5dfe519 100644
--- a/noncore/games/fifteen/fifteen.pro
+++ b/noncore/games/fifteen/fifteen.pro
@@ -1,10 +1,12 @@
DESTDIR = ../bin
TEMPLATE = app
CONFIG = qt warn_on release
HEADERS = fifteen.h
SOURCES = fifteen.cpp \
main.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TARGET = fifteen
+
+TRANSLATIONS = ../i18n/pt_BR/fifteen.ts
diff --git a/noncore/games/go/go.pro b/noncore/games/go/go.pro
index b39b5b4..cba2400 100644
--- a/noncore/games/go/go.pro
+++ b/noncore/games/go/go.pro
@@ -1,19 +1,21 @@
DESTDIR = ../bin
TEMPLATE = app
CONFIG = qt warn_on release
HEADERS = amigo.h \
go.h \
goplayutils.h \
gowidget.h
SOURCES = amigo.c \
goplayer.c \
goplayutils.c \
killable.c \
gowidget.cpp \
main.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TARGET = go
TRANSLATIONS = ../i18n/de/go.ts \ No newline at end of file
+TRANSLATIONS = ../i18n/pt_BR/go.ts
+
diff --git a/noncore/games/kcheckers/kcheckers.pro b/noncore/games/kcheckers/kcheckers.pro
index 6ed8c1c..fbc12d4 100644
--- a/noncore/games/kcheckers/kcheckers.pro
+++ b/noncore/games/kcheckers/kcheckers.pro
@@ -1,19 +1,21 @@
TEMPLATE = app
CONFIG = qt warn_on release
HEADERS = checkers.h \
echeckers.h \
field.h \
kcheckers.h \
rcheckers.h
SOURCES = checkers.cpp \
echeckers.cpp \
field.cpp \
kcheckers.cpp \
main.cpp \
rcheckers.cpp
INTERFACES =
INCLUDEPATH += . \
$(OPIEDIR)/include
LIBS += -lqpe
DESTDIR = $(OPIEDIR)/bin
TARGET = kcheckers
+
+TRANSLATIONS = ../../i18n/pt_BR/kcheckers.ts
diff --git a/noncore/games/mindbreaker/mindbreaker.pro b/noncore/games/mindbreaker/mindbreaker.pro
index fa7dc0c..95c4b98 100644
--- a/noncore/games/mindbreaker/mindbreaker.pro
+++ b/noncore/games/mindbreaker/mindbreaker.pro
@@ -1,12 +1,14 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = mindbreaker.h
SOURCES = main.cpp \
mindbreaker.cpp
TARGET = mindbreaker
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TRANSLATIONS = ../i18n/de/mindbreaker.ts
+TRANSLATIONS = ../i18n/pt_BR/mindbreaker.ts
+
diff --git a/noncore/games/minesweep/minesweep.pro b/noncore/games/minesweep/minesweep.pro
index 85f626a..8a34551 100644
--- a/noncore/games/minesweep/minesweep.pro
+++ b/noncore/games/minesweep/minesweep.pro
@@ -1,14 +1,15 @@
TEMPLATE = app
CONFIG = qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = minefield.h \
minesweep.h
SOURCES = main.cpp \
minefield.cpp \
minesweep.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
INTERFACES =
TRANSLATIONS = ../i18n/de/minesweep.ts
+TRANSLATIONS = ../i18n/pt_BR/minesweep.ts
diff --git a/noncore/games/parashoot/parashoot.pro b/noncore/games/parashoot/parashoot.pro
index a7a01b2..ad77985 100644
--- a/noncore/games/parashoot/parashoot.pro
+++ b/noncore/games/parashoot/parashoot.pro
@@ -1,11 +1,12 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = interface.h man.h cannon.h base.h bullet.h helicopter.h
SOURCES = main.cpp interface.cpp man.cpp cannon.cpp base.cpp bullet.cpp helicopter.cpp
TARGET = parashoot
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TRANSLATIONS = ../i18n/de/parashoot.ts
+TRANSLATIONS = ../i18n/pt_BR/parashoot.ts
diff --git a/noncore/games/qasteroids/qasteroids.pro b/noncore/games/qasteroids/qasteroids.pro
index 2f5b2e4..3f91cdb 100644
--- a/noncore/games/qasteroids/qasteroids.pro
+++ b/noncore/games/qasteroids/qasteroids.pro
@@ -1,11 +1,12 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = ledmeter.h sprites.h toplevel.h view.h
SOURCES = ledmeter.cpp toplevel.cpp view.cpp main.cpp
TARGET = qasteroids
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TRANSLATIONS = ../i18n/de/qasteroids.ts
+TRANSLATIONS = ../i18n/pt_BR/qasteroids.ts
diff --git a/noncore/games/snake/snake.pro b/noncore/games/snake/snake.pro
index 38b4023..dcbf1ee 100644
--- a/noncore/games/snake/snake.pro
+++ b/noncore/games/snake/snake.pro
@@ -1,11 +1,12 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = snake.h target.h obstacle.h interface.h codes.h
SOURCES = snake.cpp target.cpp obstacle.cpp interface.cpp main.cpp
TARGET = snake
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TRANSLATIONS = ../i18n/de/snake.ts
+TRANSLATIONS = ../i18n/pt_BR/snake.ts
diff --git a/noncore/games/solitaire/solitaire.pro b/noncore/games/solitaire/solitaire.pro
index 1c90c94..698c607 100755
--- a/noncore/games/solitaire/solitaire.pro
+++ b/noncore/games/solitaire/solitaire.pro
@@ -1,18 +1,19 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = canvascard.h canvasshapes.h cardgame.h cardgamelayout.h cardpile.h card.h carddeck.h canvascardgame.h freecellcardgame.h patiencecardgame.h canvascardwindow.h
SOURCES = canvascard.cpp canvasshapes.cpp cardgame.cpp cardgamelayout.cpp cardpile.cpp card.cpp carddeck.cpp canvascardgame.cpp freecellcardgame.cpp patiencecardgame.cpp canvascardwindow.cpp main.cpp
TARGET = patience
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
REQUIRES = patience
TRANSLATIONS = ../i18n/de/patience.ts
+TRANSLATIONS = ../i18n/pt_BR/patience.ts
diff --git a/noncore/games/tetrix/tetrix.pro b/noncore/games/tetrix/tetrix.pro
index 533fab0..9079bc4 100644
--- a/noncore/games/tetrix/tetrix.pro
+++ b/noncore/games/tetrix/tetrix.pro
@@ -1,17 +1,19 @@
TEMPLATE = app
CONFIG = qt warn_on release
DESTDIR = ../bin
HEADERS = minefield.h \
gtetrix.h \
qtetrix.h \
qtetrixb.h \
tpiece.h
SOURCES = main.cpp \
gtetrix.cpp \
qtetrix.cpp \
qtetrixb.cpp \
tpiece.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
INTERFACES =
+
+TRANSLATIONS = ../i18n/pt_BR/tetrix.ts
diff --git a/noncore/games/tictac/tictac.pro b/noncore/games/tictac/tictac.pro
index cb65b00..c82e1ca 100644
--- a/noncore/games/tictac/tictac.pro
+++ b/noncore/games/tictac/tictac.pro
@@ -1,11 +1,13 @@
TEMPLATE = app
CONFIG += qt warn_on release
HEADERS = tictac.h
SOURCES = main.cpp \
tictac.cpp
TARGET = tictac
REQUIRES=medium-config
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
DESTDIR = $(OPIEDIR)/bin
+
+TRANSLATIONS = ../../i18n/pt_BR/tictac.ts
diff --git a/noncore/games/wordgame/wordgame.pro b/noncore/games/wordgame/wordgame.pro
index 64f4832..7ae06ad 100644
--- a/noncore/games/wordgame/wordgame.pro
+++ b/noncore/games/wordgame/wordgame.pro
@@ -1,13 +1,14 @@
TEMPLATE = app
CONFIG = qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = wordgame.h
SOURCES = main.cpp \
wordgame.cpp
INTERFACES = newgamebase.ui rulesbase.ui
TARGET = wordgame
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TRANSLATIONS = ../i18n/de/wordgame.ts
+TRANSLATIONS = ../i18n/pt_BR/wordgame.ts
diff --git a/noncore/multimedia/showimg/showimg.pro b/noncore/multimedia/showimg/showimg.pro
index 29da458..f98e0fc 100644
--- a/noncore/multimedia/showimg/showimg.pro
+++ b/noncore/multimedia/showimg/showimg.pro
@@ -1,19 +1,20 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = showimg.h
SOURCES = main.cpp \
showimg.cpp
TARGET = showimg
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
REQUIRES = showimg
TRANSLATIONS = ../i18n/de/showimg.ts
+TRANSLATIONS = ../i18n/pt_BR/showimg.ts
diff --git a/noncore/net/opieftp/opieftp.cpp b/noncore/net/opieftp/opieftp.cpp
index a3b29a1..814d706 100644
--- a/noncore/net/opieftp/opieftp.cpp
+++ b/noncore/net/opieftp/opieftp.cpp
@@ -466,89 +466,89 @@ void OpieFtp::populateLocalView()
const QFileInfoList *list = currentDir.entryInfoList( /*QDir::All*/ /*, QDir::SortByMask*/);
QFileInfoListIterator it(*list);
QFileInfo *fi;
while ( (fi=it.current()) ) {
if (fi->isSymLink() ){
QString symLink=fi->readLink();
// qDebug("Symlink detected "+symLink);
QFileInfo sym( symLink);
fileS.sprintf( "%10li", sym.size() );
fileL.sprintf( "%s -> %s", sym.fileName().data(),sym.absFilePath().data() );
fileDate = sym.lastModified().toString();
} else {
// qDebug("Not a dir: "+currentDir.canonicalPath()+fileL);
fileS.sprintf( "%10li", fi->size() );
fileL.sprintf( "%s",fi->fileName().data() );
fileDate= fi->lastModified().toString();
if( QDir(QDir::cleanDirPath(currentDir.canonicalPath()+"/"+fileL)).exists() ) {
fileL+="/";
isDir=TRUE;
// qDebug( fileL);
}
}
if(fileL !="./") {
item = new QListViewItem( Local_View,fileL,fileS, fileDate);
- if(isDir)
+ if(isDir || fileL.find("/",0,TRUE) != -1)
item->setPixmap( 0, Resource::loadPixmap( "folder" ));
else
item->setPixmap( 0, Resource::loadPixmap( "fileopen" ));
}
isDir=FALSE;
++it;
}
Local_View->setSorting( 3,FALSE);
currentPathEdit->setText( currentDir.canonicalPath() );
}
bool OpieFtp::populateRemoteView( )
{
// qDebug("populate remoteview");
QString sfile=QDir::homeDirPath();
if(sfile.right(1) != "/")
sfile+="/._temp";
else
sfile+="._temp";
QFile file( sfile);
Remote_View->clear();
QString s, File_Name;
QListViewItem *itemDir=NULL, *itemFile=NULL;
QString fileL, fileS, fileDate;
if ( file.open(IO_ReadOnly)) {
QTextStream t( &file ); // use a text stream
while ( !t.eof()) {
s = t.readLine();
fileL = s.right(s.length()-55);
fileL = fileL.stripWhiteSpace();
if(s.left(1) == "d")
fileL = fileL+"/";
// fileL = "/"+fileL+"/";
fileS = s.mid( 30, 42-30);
fileS = fileS.stripWhiteSpace();
fileDate = s.mid( 42, 55-42);
fileDate = fileDate.stripWhiteSpace();
if(fileL.find("total",0,TRUE) == -1) {
QListViewItem * item = new QListViewItem( Remote_View, fileL, fileS, fileDate);
- if(s.left(1) == "d") {
+ if(s.left(1) == "d" || fileL.find("/",0,TRUE) != -1) {
item->setPixmap( 0, Resource::loadPixmap( "folder" ));
if(itemDir)
item->moveItem(itemDir);
itemDir=item;
} else {
item->setPixmap( 0, Resource::loadPixmap( "fileopen" ));
if(itemFile)
item->moveItem(itemFile);
itemFile=item;
}
}
}
QListViewItem * item1 = new QListViewItem( Remote_View, "../");
item1->setPixmap( 0, Resource::loadPixmap( "folder" ));
file.close();
if( file.exists())
file. remove();
} else
qDebug("temp file not opened successfullly "+sfile);
Remote_View->setSorting( 4,TRUE);
return true;
}
@@ -674,65 +674,65 @@ void OpieFtp::ListPressed( int mouse, QListViewItem *item, const QPoint &point,
{
switch (mouse) {
case 1:
break;
case 2:
showLocalMenu(item);
break;
};
}
void OpieFtp::RemoteListPressed( int mouse, QListViewItem *item, const QPoint &point, int i)
{
switch (mouse) {
case 1:
break;
case 2:
showRemoteMenu(item);
break;
};
}
void OpieFtp::showRemoteMenu(QListViewItem * item)
{
QPopupMenu m;// = new QPopupMenu( Local_View );
- if(item->text(0).right(1) == "/")
+ if( /*item->text(0).right(1) == "/" ||*/ item->text(0).find("/",0,TRUE))
m.insertItem( tr( "Change Directory" ), this, SLOT( doRemoteCd() ));
else
m.insertItem( tr( "Download" ), this, SLOT( remoteDownload() ));
m.insertItem( tr( "Make Directory" ), this, SLOT( remoteMakDir() ));
m.insertItem( tr( "Rename" ), this, SLOT( remoteRename() ));
m.insertSeparator();
m.insertItem( tr( "Delete" ), this, SLOT( remoteDelete() ));
m.exec( QCursor::pos() );
}
void OpieFtp::showLocalMenu(QListViewItem * item)
{
QPopupMenu m;
m.insertItem( tr( "Show Hidden Files" ), this, SLOT( showHidden() ));
m.insertSeparator();
- if(item->text(0).right(1) == "/")
+ if( /*item->text(0).right(1) == "/" ||*/ item->text(0).find("/",0,TRUE))
m.insertItem( tr( "Change Directory" ), this, SLOT( doLocalCd() ));
else
m.insertItem( tr( "Upload" ), this, SLOT( localUpload() ));
m.insertItem( tr( "Make Directory" ), this, SLOT( localMakDir() ));
m.insertItem( tr( "Rename" ), this, SLOT( localRename() ));
m.insertSeparator();
m.insertItem( tr( "Delete" ), this, SLOT( localDelete() ));
m.setCheckable(TRUE);
if (b)
m.setItemChecked(m.idAt(0),TRUE);
else
m.setItemChecked(m.idAt(0),FALSE);
m.exec( QCursor::pos() );
}
void OpieFtp::localMakDir()
{
InputDialog *fileDlg;
fileDlg = new InputDialog(this,"Make Directory",TRUE, 0);
fileDlg->exec();
if( fileDlg->result() == 1 ) {
QString filename = fileDlg->LineEdit1->text();
currentDir.mkdir( currentDir.canonicalPath()+"/"+filename);
diff --git a/noncore/net/opieftp/opieftp.pro b/noncore/net/opieftp/opieftp.pro
index b4d0b4c..f485cdf 100644
--- a/noncore/net/opieftp/opieftp.pro
+++ b/noncore/net/opieftp/opieftp.pro
@@ -1,11 +1,12 @@
TEMPLATE = app
CONFIG += qt warn_on release
HEADERS = opieftp.h inputDialog.h ftplib.h
SOURCES = opieftp.cpp inputDialog.cpp ftplib.c main.cpp
TARGET = opieftp
REQUIRES=medium-config
DESTDIR = $(OPIEDIR)/bin
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
+TRANSLATIONS = ../../i18n/pt_BR/opieftp.ts
diff --git a/noncore/settings/language/language.pro b/noncore/settings/language/language.pro
index c01ffc8..a1d54f8 100644
--- a/noncore/settings/language/language.pro
+++ b/noncore/settings/language/language.pro
@@ -1,12 +1,13 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = ../../bin
HEADERS = settings.h
SOURCES = language.cpp main.cpp
INTERFACES = languagesettingsbase.ui
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
TARGET = language
TRANSLATIONS = ../../i18n/de/language.ts
+TRANSLATIONS = ../../i18n/pt_BR/language.ts
diff --git a/noncore/settings/sound/sound.pro b/noncore/settings/sound/sound.pro
index 44eff44..8b33ff2 100644
--- a/noncore/settings/sound/sound.pro
+++ b/noncore/settings/sound/sound.pro
@@ -1,10 +1,12 @@
TEMPLATE = app
CONFIG += qt warn_on release
DESTDIR = ../../bin
HEADERS = soundsettings.h
SOURCES = soundsettings.cpp main.cpp
INTERFACES = soundsettingsbase.ui
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += ../$(OPIEDIR)/include
LIBS += -lqpe
TARGET = sound
+
+TRANSLATIONS = ../../i18n/pt_BR/sound.ts
diff --git a/noncore/settings/sound/soundsettings.cpp b/noncore/settings/sound/soundsettings.cpp
index c2bf405..55f6c99 100644
--- a/noncore/settings/sound/soundsettings.cpp
+++ b/noncore/settings/sound/soundsettings.cpp
@@ -27,49 +27,49 @@
#include <qlineedit.h>
#include <qcombobox.h>
SoundSettings::SoundSettings( QWidget* parent, const char* name, WFlags fl )
: SoundSettingsBase( parent, name, TRUE, fl )
{
Config config( "Sound" );
config.setGroup( "System" );
volume->setValue(100-config.readNumEntry("Volume"));
mic->setValue(100-config.readNumEntry("Mic"));
touchsound->setChecked(config.readBoolEntry("Touch"));
keysound->setChecked(config.readBoolEntry("Key"));
config.setGroup("Record");
int rate=config.readNumEntry("SampleRate", 11025);
if(rate == 11025)
sampleRate->setCurrentItem(0);
else if(rate == 22050)
sampleRate->setCurrentItem(1);
else if(rate==44100)
sampleRate->setCurrentItem(2);
stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0));
- sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0));
+ sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 1));
connect(volume, SIGNAL(valueChanged(int)), this, SLOT(setVolume(int)));
connect(mic, SIGNAL(valueChanged(int)), this, SLOT(setMic(int)));
connect(qApp, SIGNAL( volumeChanged(bool) ), this, SLOT( volumeChanged(bool) ) );
connect(qApp, SIGNAL( micChanged(bool) ), this, SLOT ( micChanged(bool) ) );
}
void SoundSettings::reject()
{
Config config( "Sound" );
config.setGroup( "System" );
setVolume(100-config.readNumEntry("Volume"));
setMic(100-config.readNumEntry("Mic"));
config.setGroup("Record");
int rate=config.readNumEntry("SampleRate", 11025);
if(rate == 11025)
sampleRate->setCurrentItem(0);
else if(rate == 22050)
sampleRate->setCurrentItem(1);
else if(rate==44100)
sampleRate->setCurrentItem(2);
stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0));
sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0));
diff --git a/noncore/settings/sysinfo/sysinfo.pro b/noncore/settings/sysinfo/sysinfo.pro
index f14716e..95278ee 100644
--- a/noncore/settings/sysinfo/sysinfo.pro
+++ b/noncore/settings/sysinfo/sysinfo.pro
@@ -6,24 +6,25 @@ HEADERS = memory.h \
load.h \
storage.h \
processinfo.h \
processdetail.h \
versioninfo.h \
sysinfo.h
SOURCES = main.cpp \
memory.cpp \
graph.cpp \
load.cpp \
storage.cpp \
processinfo.cpp \
processdetail.cpp \
versioninfo.cpp \
sysinfo.cpp
INTERFACES =
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
TARGET = sysinfo
TRANSLATIONS = ../i18n/de/sysinfo.ts
+TRANSLATIONS = ../i18n/pt_BR/sysinfo.ts
diff --git a/noncore/tools/calc2/calc.pro b/noncore/tools/calc2/calc.pro
index 00e13b7..260c75d 100644
--- a/noncore/tools/calc2/calc.pro
+++ b/noncore/tools/calc2/calc.pro
@@ -1,11 +1,12 @@
TEMPLATE = app
CONFIG += qt release
# Input
HEADERS += calc.h plugininterface.h instruction.h engine.h stdinstructions.h
SOURCES += calc.cpp main.cpp engine.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe -Wl,-export-dynamic
+TRANSLATIONS = ../i18n/pt_BR/calc.ts
diff --git a/noncore/tools/calculator/calculator.pro b/noncore/tools/calculator/calculator.pro
index 9554d2a..b5d37e1 100644
--- a/noncore/tools/calculator/calculator.pro
+++ b/noncore/tools/calculator/calculator.pro
@@ -1,13 +1,14 @@
DESTDIR = $(OPIEDIR)/bin
TEMPLATE = app
CONFIG = qt warn_on release
HEADERS = calculatorimpl.h
SOURCES = calculatorimpl.cpp \
main.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
INTERFACES = calculator.ui
TARGET = calculator
TRANSLATIONS = ../i18n/de/calculator.ts
+TRANSLATIONS = ../i18n/pt_BR/calculator.ts
diff --git a/noncore/tools/clock/clock.pro b/noncore/tools/clock/clock.pro
index 10d375f..cf64517 100644
--- a/noncore/tools/clock/clock.pro
+++ b/noncore/tools/clock/clock.pro
@@ -1,13 +1,14 @@
TEMPLATE = app
CONFIG = qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = clock.h setAlarm.h
SOURCES = clock.cpp setAlarm.cpp \
main.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
INTERFACES =
TARGET = clock
TRANSLATIONS = ../i18n/de/clock.ts
+TRANSLATIONS = ../i18n/pt_BR/clock.ts
diff --git a/noncore/unsupported/filebrowser/filebrowser.pro b/noncore/unsupported/filebrowser/filebrowser.pro
index 65e51a5..e9d2b49 100644
--- a/noncore/unsupported/filebrowser/filebrowser.pro
+++ b/noncore/unsupported/filebrowser/filebrowser.pro
@@ -1,9 +1,11 @@
TEMPLATE = app
CONFIG = qt warn_on release
DESTDIR = $(OPIEDIR)/bin
HEADERS = inlineedit.h filebrowser.h filePermissions.h
SOURCES = filebrowser.cpp inlineedit.cpp filePermissions.cpp main.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
INTERFACES =
+TRANSLATIONS = ../i18n/de/filebrowser.ts
+TRANSLATIONS = ../i18n/pt_BR/filebrowser.ts
diff --git a/noncore/unsupported/oipkg/qipkg.pro b/noncore/unsupported/oipkg/qipkg.pro
index 22a37ee..6472fee 100644
--- a/noncore/unsupported/oipkg/qipkg.pro
+++ b/noncore/unsupported/oipkg/qipkg.pro
@@ -1,13 +1,14 @@
DESTDIR = $(OPIEDIR)/bin
TEMPLATE = app
CONFIG = qt warn_on release
HEADERS = packagemanager.h
SOURCES = packagemanager.cpp \
main.cpp
INCLUDEPATH += $(OPIEDIR)/include
DEPENDPATH += $(OPIEDIR)/include
LIBS += -lqpe
INTERFACES = packagemanagerbase.ui pkdesc.ui pkfind.ui pksettings.ui
TARGET = qipkg
TRANSLATIONS = ../i18n/de/qipkg.ts
+TRANSLATIONS = ../i18n/pt_BR/qipkg.ts