author | tille <tille> | 2003-05-16 17:30:46 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-16 17:30:46 (UTC) |
commit | 23e56debf8c8b219c974137daad07e01f873fcad (patch) (side-by-side diff) | |
tree | 003514e0135ca24e1778641df3b251df4e652d44 /core | |
parent | 076926e6c7fe5bfd52f9f42879a216885ccc2cd3 (diff) | |
download | opie-23e56debf8c8b219c974137daad07e01f873fcad.zip opie-23e56debf8c8b219c974137daad07e01f873fcad.tar.gz opie-23e56debf8c8b219c974137daad07e01f873fcad.tar.bz2 |
tr
-rw-r--r-- | core/pim/osearch/doclnkitem.cpp | 6 | ||||
-rw-r--r-- | core/pim/osearch/mainwindow.cpp | 7 |
2 files changed, 3 insertions, 10 deletions
diff --git a/core/pim/osearch/doclnkitem.cpp b/core/pim/osearch/doclnkitem.cpp index a1d0384..56eb26a 100644 --- a/core/pim/osearch/doclnkitem.cpp +++ b/core/pim/osearch/doclnkitem.cpp @@ -37,5 +37,5 @@ QString DocLnkItem::toRichText() text += _doc->comment() + "<br>"; - text += "File: " + _doc->file() + "<br>"; - text += "Link: " + _doc->linkFile() + "<br>"; - text += "Mimetype: " + _doc->type() + "<br>"; + text += QObject::tr("File: ") + _doc->file() + "<br>"; + text += QObject::tr("Link: ") + _doc->linkFile() + "<br>"; + text += QObject::tr("Mimetype: ") + _doc->type() + "<br>"; if ( _doc->type().contains( "text" ) ){ diff --git a/core/pim/osearch/mainwindow.cpp b/core/pim/osearch/mainwindow.cpp index adce926..2936b17 100644 --- a/core/pim/osearch/mainwindow.cpp +++ b/core/pim/osearch/mainwindow.cpp @@ -128,5 +128,3 @@ void MainWindow::makeMenu() if (pop){ - qDebug("inserting settings menu for %s",s->text(0).latin1()); cfgMenu->insertItem( s->text(0), pop ); - //connect( pop, SIGNAL( activated(int) ), SLOT( optionChanged(int) ) ); } @@ -141,3 +139,2 @@ void MainWindow::makeMenu() searchMenu->insertItem( tr( "Options" ), searchOptions ); - //connect( searchOptions, SIGNAL( activated(int) ), SLOT( optionChanged(int) ) ); @@ -185,5 +182,3 @@ void MainWindow::setCurrent(QListViewItem *item) button = buttonGroupActions->find( i ); - qDebug("action %i >%s<",i,acts[i]->latin1()); if (!button) { - qDebug("BUTTON"); button = new QPushButton( detailsFrame ); @@ -196,3 +191,2 @@ void MainWindow::setCurrent(QListViewItem *item) for (uint i = acts.count(); i < _buttonCount; i++){ - qDebug("remove button %i of %i",i, _buttonCount); button = buttonGroupActions->find( i ); @@ -266,3 +260,2 @@ void MainWindow::optionChanged(int i) { - qDebug("optionChanged(%i)",i); searchStringChanged(); |