summaryrefslogtreecommitdiff
path: root/noncore/settings
authorllornkcor <llornkcor>2002-05-06 19:00:18 (UTC)
committer llornkcor <llornkcor>2002-05-06 19:00:18 (UTC)
commitd1dd3ae2eb11a9c6e83eaad817a6f84a53d68691 (patch) (unidiff)
tree190c870ef6cae2ca27c71e75d84e828174c8f000 /noncore/settings
parent26c522550dc1736a463efbe8c1cdc19f83a85f5d (diff)
downloadopie-d1dd3ae2eb11a9c6e83eaad817a6f84a53d68691.zip
opie-d1dd3ae2eb11a9c6e83eaad817a6f84a53d68691.tar.gz
opie-d1dd3ae2eb11a9c6e83eaad817a6f84a53d68691.tar.bz2
added translation stuff
Diffstat (limited to 'noncore/settings') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/tabmanager/tabmanager.cpp27
1 files changed, 17 insertions, 10 deletions
diff --git a/noncore/settings/tabmanager/tabmanager.cpp b/noncore/settings/tabmanager/tabmanager.cpp
index db65d26..af76251 100644
--- a/noncore/settings/tabmanager/tabmanager.cpp
+++ b/noncore/settings/tabmanager/tabmanager.cpp
@@ -61,5 +61,7 @@ TabManager::TabManager( QWidget* parent, const char* name):TabManagerBase(parent
61 // Connect the signals and slots 61 // Connect the signals and slots
62 connect(tabList, SIGNAL(doubleClicked(QListViewItem *)), this, SLOT(editItem(QListViewItem*))); 62 connect(tabList, SIGNAL(doubleClicked(QListViewItem *)),
63 this, SLOT(editItem(QListViewItem*)));
63 (tabList->header())->hide(); 64 (tabList->header())->hide();
64 connect(tabList, SIGNAL(moveItem(QListViewItem *, QListViewItem *)), this, SLOT(moveApplication(QListViewItem *, QListViewItem *))); 65 connect(tabList, SIGNAL(moveItem(QListViewItem *, QListViewItem *)),
66 this, SLOT(moveApplication(QListViewItem *, QListViewItem *)));
65} 67}
@@ -72,3 +74,3 @@ TabManager::~TabManager(){
72 if(changed){ 74 if(changed){
73 //QMessageBox::critical(this, "Message", "Please restart Qtopia to see all new changes.",QString("Ok") ); 75 //QMessageBox::critical(this, tr("Message"), tr("Please restart Qtopia to see all new changes."),tr("Ok") );
74 //filename = fn; 76 //filename = fn;
@@ -205,3 +207,4 @@ void TabManager::removeItem(){
205 if(item->childCount() > 0){ 207 if(item->childCount() > 0){
206 QMessageBox::critical(this, "Message", "Can't remove with applications\nstill in the group.",QString("Ok") ); 208 QMessageBox::critical(this, tr("Message"), tr("Can't remove with applications\nstill in the group."),
209 tr("Ok") );
207 return; 210 return;
@@ -210,3 +213,4 @@ void TabManager::removeItem(){
210 // Prompt. 213 // Prompt.
211 int answer = QMessageBox::warning(this, "Message", "Are you sure you want to delete?","Yes", "Cancel", 0, 1 ); 214 int answer = QMessageBox::warning(this, tr("Message"), tr("Are you sure you want to delete?"),
215 tr("Yes"), tr("Cancel"), 0, 1 );
212 if (answer) 216 if (answer)
@@ -232,3 +236,4 @@ void TabManager::removeItem(){
232 qDebug((QString("removeItem: ") + location).latin1()); 236 qDebug((QString("removeItem: ") + location).latin1());
233 QMessageBox::critical(this, "Message", "Can't remove.",QString("Ok") ); 237 QMessageBox::critical(this, tr("Message"), tr("Can't remove."),
238 tr("Ok") );
234 return; 239 return;
@@ -272,3 +277,3 @@ void TabManager::editItem( QListViewItem * item){
272 277
273 AppEdit application(this, "Application edit", true); 278 AppEdit application(this, tr("Application edit"), true);
274 application.nameLineEdit->setText(app.name()); 279 application.nameLineEdit->setText(app.name());
@@ -281,3 +286,3 @@ void TabManager::editItem( QListViewItem * item){
281 application.TextLabel3->setEnabled(false); 286 application.TextLabel3->setEnabled(false);
282 application.setCaption("Tab"); 287 application.setCaption(tr("Tab"));
283 } 288 }
@@ -302,3 +307,4 @@ void TabManager::editItem( QListViewItem * item){
302 if(!app.writeLink()){ 307 if(!app.writeLink()){
303 QMessageBox::critical(this, "Message", "Can't save.",QString("Ok") ); 308 QMessageBox::critical(this, tr("Message"), tr("Can't save."),
309 tr("Ok") );
304 return; 310 return;
@@ -366,3 +372,4 @@ void TabManager::moveApplication(QListViewItem *item, QListViewItem *newGroup){
366 if(!r.rename(itemList[item], newFolder)){ 372 if(!r.rename(itemList[item], newFolder)){
367 QMessageBox::critical(this, "Message", "Can't move application.",QString("Ok") ); 373 QMessageBox::critical(this, tr("Message"), tr("Can't move application."),
374 tr("Ok") );
368 return; 375 return;