27 files changed, 44 insertions, 9 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 | |||
@@ -29,8 +29,10 @@ SOURCES = main.cpp \ | |||
29 | db/xmlsource.cpp \ | 29 | db/xmlsource.cpp \ |
30 | db/csvsource.cpp \ | 30 | db/csvsource.cpp \ |
31 | db/common.cpp | 31 | db/common.cpp |
32 | INTERFACES= ui/tvkeyedit_gen.ui | 32 | INTERFACES= ui/tvkeyedit_gen.ui |
33 | TARGET = tableviewer | 33 | TARGET = tableviewer |
34 | INCLUDEPATH += $(OPIEDIR)/include | 34 | INCLUDEPATH += $(OPIEDIR)/include |
35 | DEPENDPATH += $(OPIEDIR)/include | 35 | DEPENDPATH += $(OPIEDIR)/include |
36 | LIBS += -lqpe | 36 | LIBS += -lqpe |
37 | |||
38 | 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 | |||
@@ -31,8 +31,9 @@ SOURCES = d3des.c \ | |||
31 | main.cpp | 31 | main.cpp |
32 | INTERFACES= vncoptionsbase.ui | 32 | INTERFACES= vncoptionsbase.ui |
33 | TARGET = keypebble | 33 | TARGET = keypebble |
34 | 34 | ||
35 | INCLUDEPATH += $(OPIEDIR)/include | 35 | INCLUDEPATH += $(OPIEDIR)/include |
36 | DEPENDPATH += $(OPIEDIR)/include | 36 | DEPENDPATH += $(OPIEDIR)/include |
37 | LIBS += -lqpe | 37 | LIBS += -lqpe |
38 | 38 | ||
39 | 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 | |||
@@ -7,8 +7,10 @@ INTERFACES = mainwindow.ui | |||
7 | IMAGES= images/new.png images/repeat.png images/txt.png images/back.png | 7 | IMAGES= images/new.png images/repeat.png images/txt.png images/back.png |
8 | TEMPLATE=app | 8 | TEMPLATE=app |
9 | CONFIG+= qt warn_on release | 9 | CONFIG+= qt warn_on release |
10 | INCLUDEPATH += $(OPIEDIR)/include | 10 | INCLUDEPATH += $(OPIEDIR)/include |
11 | LIBS+= -lqpe | 11 | LIBS+= -lqpe |
12 | DBFILE= chess.db | 12 | DBFILE= chess.db |
13 | LANGUAGE= C++ | 13 | LANGUAGE= C++ |
14 | CPP_ALWAYS_CREATE_SOURCE= TRUE | 14 | CPP_ALWAYS_CREATE_SOURCE= TRUE |
15 | |||
16 | 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 | |||
@@ -3,8 +3,10 @@ TEMPLATE = app | |||
3 | CONFIG = qt warn_on release | 3 | CONFIG = qt warn_on release |
4 | HEADERS = fifteen.h | 4 | HEADERS = fifteen.h |
5 | SOURCES = fifteen.cpp \ | 5 | SOURCES = fifteen.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 | TARGET = fifteen | 10 | TARGET = fifteen |
11 | |||
12 | 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 | |||
@@ -11,9 +11,11 @@ SOURCES = amigo.c \ | |||
11 | killable.c \ | 11 | killable.c \ |
12 | gowidget.cpp \ | 12 | gowidget.cpp \ |
13 | main.cpp | 13 | main.cpp |
14 | INCLUDEPATH += $(OPIEDIR)/include | 14 | INCLUDEPATH += $(OPIEDIR)/include |
15 | DEPENDPATH+= $(OPIEDIR)/include | 15 | DEPENDPATH+= $(OPIEDIR)/include |
16 | LIBS += -lqpe | 16 | LIBS += -lqpe |
17 | TARGET = go | 17 | TARGET = go |
18 | 18 | ||
19 | TRANSLATIONS = ../i18n/de/go.ts \ No newline at end of file | 19 | TRANSLATIONS = ../i18n/de/go.ts |
20 | TRANSLATIONS = ../i18n/pt_BR/go.ts | ||
21 | |||
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 | |||
@@ -12,8 +12,10 @@ SOURCES = checkers.cpp \ | |||
12 | main.cpp \ | 12 | main.cpp \ |
13 | rcheckers.cpp | 13 | rcheckers.cpp |
14 | INTERFACES= | 14 | INTERFACES= |
15 | INCLUDEPATH+= . \ | 15 | INCLUDEPATH+= . \ |
16 | $(OPIEDIR)/include | 16 | $(OPIEDIR)/include |
17 | LIBS += -lqpe | 17 | LIBS += -lqpe |
18 | DESTDIR = $(OPIEDIR)/bin | 18 | DESTDIR = $(OPIEDIR)/bin |
19 | TARGET = kcheckers | 19 | TARGET = kcheckers |
20 | |||
21 | 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 | |||
@@ -5,8 +5,10 @@ HEADERS = mindbreaker.h | |||
5 | SOURCES = main.cpp \ | 5 | SOURCES = main.cpp \ |
6 | mindbreaker.cpp | 6 | mindbreaker.cpp |
7 | TARGET = mindbreaker | 7 | TARGET = mindbreaker |
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 | TRANSLATIONS = ../i18n/de/mindbreaker.ts | 12 | TRANSLATIONS = ../i18n/de/mindbreaker.ts |
13 | TRANSLATIONS = ../i18n/pt_BR/mindbreaker.ts | ||
14 | |||
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 | |||
@@ -7,8 +7,9 @@ SOURCES = main.cpp \ | |||
7 | minefield.cpp \ | 7 | minefield.cpp \ |
8 | minesweep.cpp | 8 | minesweep.cpp |
9 | INCLUDEPATH += $(OPIEDIR)/include | 9 | INCLUDEPATH += $(OPIEDIR)/include |
10 | DEPENDPATH+= $(OPIEDIR)/include | 10 | DEPENDPATH+= $(OPIEDIR)/include |
11 | LIBS += -lqpe | 11 | LIBS += -lqpe |
12 | INTERFACES= | 12 | INTERFACES= |
13 | 13 | ||
14 | TRANSLATIONS = ../i18n/de/minesweep.ts | 14 | TRANSLATIONS = ../i18n/de/minesweep.ts |
15 | 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 | |||
@@ -4,8 +4,9 @@ DESTDIR = $(OPIEDIR)/bin | |||
4 | HEADERS = interface.h man.h cannon.h base.h bullet.h helicopter.h | 4 | HEADERS = interface.h man.h cannon.h base.h bullet.h helicopter.h |
5 | SOURCES = main.cpp interface.cpp man.cpp cannon.cpp base.cpp bullet.cpp helicopter.cpp | 5 | SOURCES = main.cpp interface.cpp man.cpp cannon.cpp base.cpp bullet.cpp helicopter.cpp |
6 | TARGET = parashoot | 6 | TARGET = parashoot |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH+= $(OPIEDIR)/include | 8 | DEPENDPATH+= $(OPIEDIR)/include |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | 10 | ||
11 | TRANSLATIONS = ../i18n/de/parashoot.ts | 11 | TRANSLATIONS = ../i18n/de/parashoot.ts |
12 | 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 | |||
@@ -4,8 +4,9 @@ DESTDIR = $(OPIEDIR)/bin | |||
4 | HEADERS = ledmeter.h sprites.h toplevel.h view.h | 4 | HEADERS = ledmeter.h sprites.h toplevel.h view.h |
5 | SOURCES = ledmeter.cpp toplevel.cpp view.cpp main.cpp | 5 | SOURCES = ledmeter.cpp toplevel.cpp view.cpp main.cpp |
6 | TARGET = qasteroids | 6 | TARGET = qasteroids |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH+= $(OPIEDIR)/include | 8 | DEPENDPATH+= $(OPIEDIR)/include |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | 10 | ||
11 | TRANSLATIONS = ../i18n/de/qasteroids.ts | 11 | TRANSLATIONS = ../i18n/de/qasteroids.ts |
12 | 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 | |||
@@ -4,8 +4,9 @@ DESTDIR = $(OPIEDIR)/bin | |||
4 | HEADERS = snake.h target.h obstacle.h interface.h codes.h | 4 | HEADERS = snake.h target.h obstacle.h interface.h codes.h |
5 | SOURCES = snake.cpp target.cpp obstacle.cpp interface.cpp main.cpp | 5 | SOURCES = snake.cpp target.cpp obstacle.cpp interface.cpp main.cpp |
6 | TARGET = snake | 6 | TARGET = snake |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH+= $(OPIEDIR)/include | 8 | DEPENDPATH+= $(OPIEDIR)/include |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | 10 | ||
11 | TRANSLATIONS = ../i18n/de/snake.ts | 11 | TRANSLATIONS = ../i18n/de/snake.ts |
12 | 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 | |||
@@ -11,8 +11,9 @@ TARGET = patience | |||
11 | 11 | ||
12 | INCLUDEPATH += $(OPIEDIR)/include | 12 | INCLUDEPATH += $(OPIEDIR)/include |
13 | DEPENDPATH+= $(OPIEDIR)/include | 13 | DEPENDPATH+= $(OPIEDIR)/include |
14 | LIBS += -lqpe | 14 | LIBS += -lqpe |
15 | 15 | ||
16 | REQUIRES= patience | 16 | REQUIRES= patience |
17 | 17 | ||
18 | TRANSLATIONS = ../i18n/de/patience.ts | 18 | TRANSLATIONS = ../i18n/de/patience.ts |
19 | 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 | |||
@@ -10,8 +10,10 @@ SOURCES = main.cpp \ | |||
10 | gtetrix.cpp \ | 10 | gtetrix.cpp \ |
11 | qtetrix.cpp \ | 11 | qtetrix.cpp \ |
12 | qtetrixb.cpp \ | 12 | qtetrixb.cpp \ |
13 | tpiece.cpp | 13 | tpiece.cpp |
14 | INCLUDEPATH += $(OPIEDIR)/include | 14 | INCLUDEPATH += $(OPIEDIR)/include |
15 | DEPENDPATH+= $(OPIEDIR)/include | 15 | DEPENDPATH+= $(OPIEDIR)/include |
16 | LIBS += -lqpe | 16 | LIBS += -lqpe |
17 | INTERFACES= | 17 | INTERFACES= |
18 | |||
19 | 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 | |||
@@ -4,8 +4,10 @@ HEADERS = tictac.h | |||
4 | SOURCES = main.cpp \ | 4 | SOURCES = main.cpp \ |
5 | tictac.cpp | 5 | tictac.cpp |
6 | TARGET = tictac | 6 | TARGET = tictac |
7 | REQUIRES=medium-config | 7 | REQUIRES=medium-config |
8 | INCLUDEPATH += $(OPIEDIR)/include | 8 | INCLUDEPATH += $(OPIEDIR)/include |
9 | DEPENDPATH += $(OPIEDIR)/include | 9 | DEPENDPATH += $(OPIEDIR)/include |
10 | LIBS += -lqpe | 10 | LIBS += -lqpe |
11 | DESTDIR = $(OPIEDIR)/bin | 11 | DESTDIR = $(OPIEDIR)/bin |
12 | |||
13 | 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 | |||
@@ -6,8 +6,9 @@ SOURCES = main.cpp \ | |||
6 | wordgame.cpp | 6 | wordgame.cpp |
7 | INTERFACES= newgamebase.ui rulesbase.ui | 7 | INTERFACES= newgamebase.ui rulesbase.ui |
8 | TARGET = wordgame | 8 | TARGET = wordgame |
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/wordgame.ts | 13 | TRANSLATIONS = ../i18n/de/wordgame.ts |
14 | 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 | |||
@@ -12,8 +12,9 @@ TARGET = showimg | |||
12 | 12 | ||
13 | INCLUDEPATH += $(OPIEDIR)/include | 13 | INCLUDEPATH += $(OPIEDIR)/include |
14 | DEPENDPATH += $(OPIEDIR)/include | 14 | DEPENDPATH += $(OPIEDIR)/include |
15 | LIBS += -lqpe | 15 | LIBS += -lqpe |
16 | 16 | ||
17 | REQUIRES = showimg | 17 | REQUIRES = showimg |
18 | 18 | ||
19 | TRANSLATIONS = ../i18n/de/showimg.ts | 19 | TRANSLATIONS = ../i18n/de/showimg.ts |
20 | 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 | |||
@@ -482,17 +482,17 @@ void OpieFtp::populateLocalView() | |||
482 | if( QDir(QDir::cleanDirPath(currentDir.canonicalPath()+"/"+fileL)).exists() ) { | 482 | if( QDir(QDir::cleanDirPath(currentDir.canonicalPath()+"/"+fileL)).exists() ) { |
483 | fileL+="/"; | 483 | fileL+="/"; |
484 | isDir=TRUE; | 484 | isDir=TRUE; |
485 | // qDebug( fileL); | 485 | // qDebug( fileL); |
486 | } | 486 | } |
487 | } | 487 | } |
488 | if(fileL !="./") { | 488 | if(fileL !="./") { |
489 | item = new QListViewItem( Local_View,fileL,fileS, fileDate); | 489 | item = new QListViewItem( Local_View,fileL,fileS, fileDate); |
490 | if(isDir) | 490 | if(isDir || fileL.find("/",0,TRUE) != -1) |
491 | item->setPixmap( 0, Resource::loadPixmap( "folder" )); | 491 | item->setPixmap( 0, Resource::loadPixmap( "folder" )); |
492 | else | 492 | else |
493 | item->setPixmap( 0, Resource::loadPixmap( "fileopen" )); | 493 | item->setPixmap( 0, Resource::loadPixmap( "fileopen" )); |
494 | } | 494 | } |
495 | isDir=FALSE; | 495 | isDir=FALSE; |
496 | ++it; | 496 | ++it; |
497 | } | 497 | } |
498 | Local_View->setSorting( 3,FALSE); | 498 | Local_View->setSorting( 3,FALSE); |
@@ -522,17 +522,17 @@ bool OpieFtp::populateRemoteView( ) | |||
522 | fileL = fileL+"/"; | 522 | fileL = fileL+"/"; |
523 | // fileL = "/"+fileL+"/"; | 523 | // fileL = "/"+fileL+"/"; |
524 | fileS = s.mid( 30, 42-30); | 524 | fileS = s.mid( 30, 42-30); |
525 | fileS = fileS.stripWhiteSpace(); | 525 | fileS = fileS.stripWhiteSpace(); |
526 | fileDate = s.mid( 42, 55-42); | 526 | fileDate = s.mid( 42, 55-42); |
527 | fileDate = fileDate.stripWhiteSpace(); | 527 | fileDate = fileDate.stripWhiteSpace(); |
528 | if(fileL.find("total",0,TRUE) == -1) { | 528 | if(fileL.find("total",0,TRUE) == -1) { |
529 | QListViewItem * item = new QListViewItem( Remote_View, fileL, fileS, fileDate); | 529 | QListViewItem * item = new QListViewItem( Remote_View, fileL, fileS, fileDate); |
530 | if(s.left(1) == "d") { | 530 | if(s.left(1) == "d" || fileL.find("/",0,TRUE) != -1) { |
531 | item->setPixmap( 0, Resource::loadPixmap( "folder" )); | 531 | item->setPixmap( 0, Resource::loadPixmap( "folder" )); |
532 | if(itemDir) | 532 | if(itemDir) |
533 | item->moveItem(itemDir); | 533 | item->moveItem(itemDir); |
534 | itemDir=item; | 534 | itemDir=item; |
535 | } else { | 535 | } else { |
536 | item->setPixmap( 0, Resource::loadPixmap( "fileopen" )); | 536 | item->setPixmap( 0, Resource::loadPixmap( "fileopen" )); |
537 | if(itemFile) | 537 | if(itemFile) |
538 | item->moveItem(itemFile); | 538 | item->moveItem(itemFile); |
@@ -690,33 +690,33 @@ void OpieFtp::RemoteListPressed( int mouse, QListViewItem *item, const QPoint &p | |||
690 | showRemoteMenu(item); | 690 | showRemoteMenu(item); |
691 | break; | 691 | break; |
692 | }; | 692 | }; |
693 | } | 693 | } |
694 | 694 | ||
695 | void OpieFtp::showRemoteMenu(QListViewItem * item) | 695 | void OpieFtp::showRemoteMenu(QListViewItem * item) |
696 | { | 696 | { |
697 | QPopupMenu m;// = new QPopupMenu( Local_View ); | 697 | QPopupMenu m;// = new QPopupMenu( Local_View ); |
698 | if(item->text(0).right(1) == "/") | 698 | if( /*item->text(0).right(1) == "/" ||*/ item->text(0).find("/",0,TRUE)) |
699 | m.insertItem( tr( "Change Directory" ), this, SLOT( doRemoteCd() )); | 699 | m.insertItem( tr( "Change Directory" ), this, SLOT( doRemoteCd() )); |
700 | else | 700 | else |
701 | m.insertItem( tr( "Download" ), this, SLOT( remoteDownload() )); | 701 | m.insertItem( tr( "Download" ), this, SLOT( remoteDownload() )); |
702 | m.insertItem( tr( "Make Directory" ), this, SLOT( remoteMakDir() )); | 702 | m.insertItem( tr( "Make Directory" ), this, SLOT( remoteMakDir() )); |
703 | m.insertItem( tr( "Rename" ), this, SLOT( remoteRename() )); | 703 | m.insertItem( tr( "Rename" ), this, SLOT( remoteRename() )); |
704 | m.insertSeparator(); | 704 | m.insertSeparator(); |
705 | m.insertItem( tr( "Delete" ), this, SLOT( remoteDelete() )); | 705 | m.insertItem( tr( "Delete" ), this, SLOT( remoteDelete() )); |
706 | m.exec( QCursor::pos() ); | 706 | m.exec( QCursor::pos() ); |
707 | } | 707 | } |
708 | 708 | ||
709 | void OpieFtp::showLocalMenu(QListViewItem * item) | 709 | void OpieFtp::showLocalMenu(QListViewItem * item) |
710 | { | 710 | { |
711 | QPopupMenu m; | 711 | QPopupMenu m; |
712 | m.insertItem( tr( "Show Hidden Files" ), this, SLOT( showHidden() )); | 712 | m.insertItem( tr( "Show Hidden Files" ), this, SLOT( showHidden() )); |
713 | m.insertSeparator(); | 713 | m.insertSeparator(); |
714 | if(item->text(0).right(1) == "/") | 714 | if( /*item->text(0).right(1) == "/" ||*/ item->text(0).find("/",0,TRUE)) |
715 | m.insertItem( tr( "Change Directory" ), this, SLOT( doLocalCd() )); | 715 | m.insertItem( tr( "Change Directory" ), this, SLOT( doLocalCd() )); |
716 | else | 716 | else |
717 | m.insertItem( tr( "Upload" ), this, SLOT( localUpload() )); | 717 | m.insertItem( tr( "Upload" ), this, SLOT( localUpload() )); |
718 | m.insertItem( tr( "Make Directory" ), this, SLOT( localMakDir() )); | 718 | m.insertItem( tr( "Make Directory" ), this, SLOT( localMakDir() )); |
719 | m.insertItem( tr( "Rename" ), this, SLOT( localRename() )); | 719 | m.insertItem( tr( "Rename" ), this, SLOT( localRename() )); |
720 | m.insertSeparator(); | 720 | m.insertSeparator(); |
721 | m.insertItem( tr( "Delete" ), this, SLOT( localDelete() )); | 721 | m.insertItem( tr( "Delete" ), this, SLOT( localDelete() )); |
722 | m.setCheckable(TRUE); | 722 | m.setCheckable(TRUE); |
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 | |||
@@ -4,8 +4,9 @@ HEADERS = opieftp.h inputDialog.h ftplib.h | |||
4 | SOURCES = opieftp.cpp inputDialog.cpp ftplib.c main.cpp | 4 | SOURCES = opieftp.cpp inputDialog.cpp ftplib.c main.cpp |
5 | TARGET = opieftp | 5 | TARGET = opieftp |
6 | REQUIRES=medium-config | 6 | REQUIRES=medium-config |
7 | DESTDIR = $(OPIEDIR)/bin | 7 | DESTDIR = $(OPIEDIR)/bin |
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 | 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 | |||
@@ -5,8 +5,9 @@ HEADERS = settings.h | |||
5 | SOURCES = language.cpp main.cpp | 5 | SOURCES = language.cpp main.cpp |
6 | INTERFACES= languagesettingsbase.ui | 6 | INTERFACES= languagesettingsbase.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 = language | 10 | TARGET = language |
11 | 11 | ||
12 | TRANSLATIONS = ../../i18n/de/language.ts | 12 | TRANSLATIONS = ../../i18n/de/language.ts |
13 | 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 | |||
@@ -3,8 +3,10 @@ CONFIG += qt warn_on release | |||
3 | DESTDIR = ../../bin | 3 | DESTDIR = ../../bin |
4 | HEADERS = soundsettings.h | 4 | HEADERS = soundsettings.h |
5 | SOURCES = soundsettings.cpp main.cpp | 5 | SOURCES = soundsettings.cpp main.cpp |
6 | INTERFACES= soundsettingsbase.ui | 6 | INTERFACES= soundsettingsbase.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 = sound | 10 | TARGET = sound |
11 | |||
12 | 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 | |||
@@ -42,18 +42,18 @@ SoundSettings::SoundSettings( QWidget* parent, const char* name, WFlags fl ) | |||
42 | int rate=config.readNumEntry("SampleRate", 11025); | 42 | int rate=config.readNumEntry("SampleRate", 11025); |
43 | if(rate == 11025) | 43 | if(rate == 11025) |
44 | sampleRate->setCurrentItem(0); | 44 | sampleRate->setCurrentItem(0); |
45 | else if(rate == 22050) | 45 | else if(rate == 22050) |
46 | sampleRate->setCurrentItem(1); | 46 | sampleRate->setCurrentItem(1); |
47 | else if(rate==44100) | 47 | else if(rate==44100) |
48 | sampleRate->setCurrentItem(2); | 48 | sampleRate->setCurrentItem(2); |
49 | 49 | ||
50 | stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); | 50 | stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); |
51 | sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0)); | 51 | sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 1)); |
52 | 52 | ||
53 | connect(volume, SIGNAL(valueChanged(int)), this, SLOT(setVolume(int))); | 53 | connect(volume, SIGNAL(valueChanged(int)), this, SLOT(setVolume(int))); |
54 | connect(mic, SIGNAL(valueChanged(int)), this, SLOT(setMic(int))); | 54 | connect(mic, SIGNAL(valueChanged(int)), this, SLOT(setMic(int))); |
55 | connect(qApp, SIGNAL( volumeChanged(bool) ), this, SLOT( volumeChanged(bool) ) ); | 55 | connect(qApp, SIGNAL( volumeChanged(bool) ), this, SLOT( volumeChanged(bool) ) ); |
56 | connect(qApp, SIGNAL( micChanged(bool) ), this, SLOT ( micChanged(bool) ) ); | 56 | connect(qApp, SIGNAL( micChanged(bool) ), this, SLOT ( micChanged(bool) ) ); |
57 | } | 57 | } |
58 | 58 | ||
59 | void SoundSettings::reject() | 59 | void SoundSettings::reject() |
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 | |||
@@ -22,8 +22,9 @@ INTERFACES = | |||
22 | 22 | ||
23 | INCLUDEPATH += $(OPIEDIR)/include | 23 | INCLUDEPATH += $(OPIEDIR)/include |
24 | DEPENDPATH += $(OPIEDIR)/include | 24 | DEPENDPATH += $(OPIEDIR)/include |
25 | LIBS += -lqpe | 25 | LIBS += -lqpe |
26 | 26 | ||
27 | TARGET = sysinfo | 27 | TARGET = sysinfo |
28 | 28 | ||
29 | TRANSLATIONS = ../i18n/de/sysinfo.ts | 29 | TRANSLATIONS = ../i18n/de/sysinfo.ts |
30 | 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 | |||
@@ -4,8 +4,9 @@ CONFIG += qt release | |||
4 | # Input | 4 | # Input |
5 | HEADERS += calc.h plugininterface.h instruction.h engine.h stdinstructions.h | 5 | HEADERS += calc.h plugininterface.h instruction.h engine.h stdinstructions.h |
6 | SOURCES += calc.cpp main.cpp engine.cpp | 6 | SOURCES += calc.cpp main.cpp engine.cpp |
7 | 7 | ||
8 | INCLUDEPATH += $(OPIEDIR)/include | 8 | INCLUDEPATH += $(OPIEDIR)/include |
9 | DEPENDPATH += $(OPIEDIR)/include | 9 | DEPENDPATH += $(OPIEDIR)/include |
10 | LIBS += -lqpe -Wl,-export-dynamic | 10 | LIBS += -lqpe -Wl,-export-dynamic |
11 | 11 | ||
12 | 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 | |||
@@ -6,8 +6,9 @@ SOURCES = calculatorimpl.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= calculator.ui | 10 | INTERFACES= calculator.ui |
11 | TARGET = calculator | 11 | TARGET = calculator |
12 | 12 | ||
13 | TRANSLATIONS = ../i18n/de/calculator.ts | 13 | TRANSLATIONS = ../i18n/de/calculator.ts |
14 | 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 | |||
@@ -6,8 +6,9 @@ SOURCES = clock.cpp setAlarm.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 | TARGET = clock | 11 | TARGET = clock |
12 | 12 | ||
13 | TRANSLATIONS = ../i18n/de/clock.ts | 13 | TRANSLATIONS = ../i18n/de/clock.ts |
14 | 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 @@ | |||
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 = inlineedit.h filebrowser.h filePermissions.h | 4 | HEADERS = inlineedit.h filebrowser.h filePermissions.h |
5 | SOURCES = filebrowser.cpp inlineedit.cpp filePermissions.cpp main.cpp | 5 | SOURCES = filebrowser.cpp inlineedit.cpp filePermissions.cpp main.cpp |
6 | INCLUDEPATH += $(OPIEDIR)/include | 6 | INCLUDEPATH += $(OPIEDIR)/include |
7 | DEPENDPATH+= $(OPIEDIR)/include | 7 | DEPENDPATH+= $(OPIEDIR)/include |
8 | LIBS += -lqpe | 8 | LIBS += -lqpe |
9 | INTERFACES= | 9 | INTERFACES= |
10 | TRANSLATIONS = ../i18n/de/filebrowser.ts | ||
11 | 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 | |||
@@ -6,8 +6,9 @@ SOURCES = packagemanager.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= packagemanagerbase.ui pkdesc.ui pkfind.ui pksettings.ui | 10 | INTERFACES= packagemanagerbase.ui pkdesc.ui pkfind.ui pksettings.ui |
11 | TARGET = qipkg | 11 | TARGET = qipkg |
12 | 12 | ||
13 | TRANSLATIONS = ../i18n/de/qipkg.ts | 13 | TRANSLATIONS = ../i18n/de/qipkg.ts |
14 | TRANSLATIONS = ../i18n/pt_BR/qipkg.ts | ||