author | tille <tille> | 2003-05-16 17:30:46 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-16 17:30:46 (UTC) |
commit | 23e56debf8c8b219c974137daad07e01f873fcad (patch) (unidiff) | |
tree | 003514e0135ca24e1778641df3b251df4e652d44 | |
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 | |||
@@ -36,7 +36,7 @@ QString DocLnkItem::toRichText() | |||
36 | text += "<b><h3>" + _doc->name() + "</b></h3><br>"; | 36 | text += "<b><h3>" + _doc->name() + "</b></h3><br>"; |
37 | text += _doc->comment() + "<br>"; | 37 | text += _doc->comment() + "<br>"; |
38 | text += "File: " + _doc->file() + "<br>"; | 38 | text += QObject::tr("File: ") + _doc->file() + "<br>"; |
39 | text += "Link: " + _doc->linkFile() + "<br>"; | 39 | text += QObject::tr("Link: ") + _doc->linkFile() + "<br>"; |
40 | text += "Mimetype: " + _doc->type() + "<br>"; | 40 | text += QObject::tr("Mimetype: ") + _doc->type() + "<br>"; |
41 | if ( _doc->type().contains( "text" ) ){ | 41 | if ( _doc->type().contains( "text" ) ){ |
42 | text += "<br><br><hr><br>"; | 42 | text += "<br><br><hr><br>"; |
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 | |||
@@ -127,7 +127,5 @@ void MainWindow::makeMenu() | |||
127 | pop = s->popupMenu(); | 127 | pop = s->popupMenu(); |
128 | if (pop){ | 128 | if (pop){ |
129 | qDebug("inserting settings menu for %s",s->text(0).latin1()); | ||
130 | cfgMenu->insertItem( s->text(0), pop ); | 129 | cfgMenu->insertItem( s->text(0), pop ); |
131 | //connect( pop, SIGNAL( activated(int) ), SLOT( optionChanged(int) ) ); | ||
132 | } | 130 | } |
133 | } | 131 | } |
@@ -140,5 +138,4 @@ void MainWindow::makeMenu() | |||
140 | SearchAllAction->addTo( searchMenu ); | 138 | SearchAllAction->addTo( searchMenu ); |
141 | searchMenu->insertItem( tr( "Options" ), searchOptions ); | 139 | searchMenu->insertItem( tr( "Options" ), searchOptions ); |
142 | //connect( searchOptions, SIGNAL( activated(int) ), SLOT( optionChanged(int) ) ); | ||
143 | 140 | ||
144 | //SEARCH OPTIONS | 141 | //SEARCH OPTIONS |
@@ -184,7 +181,5 @@ void MainWindow::setCurrent(QListViewItem *item) | |||
184 | for (uint i = 0; i < acts.count(); i++){ | 181 | for (uint i = 0; i < acts.count(); i++){ |
185 | button = buttonGroupActions->find( i ); | 182 | button = buttonGroupActions->find( i ); |
186 | qDebug("action %i >%s<",i,acts[i]->latin1()); | ||
187 | if (!button) { | 183 | if (!button) { |
188 | qDebug("BUTTON"); | ||
189 | button = new QPushButton( detailsFrame ); | 184 | button = new QPushButton( detailsFrame ); |
190 | buttonLayout->addWidget( button, 0 ); | 185 | buttonLayout->addWidget( button, 0 ); |
@@ -195,5 +190,4 @@ void MainWindow::setCurrent(QListViewItem *item) | |||
195 | } | 190 | } |
196 | for (uint i = acts.count(); i < _buttonCount; i++){ | 191 | for (uint i = acts.count(); i < _buttonCount; i++){ |
197 | qDebug("remove button %i of %i",i, _buttonCount); | ||
198 | button = buttonGroupActions->find( i ); | 192 | button = buttonGroupActions->find( i ); |
199 | if (button) button->hide(); | 193 | if (button) button->hide(); |
@@ -265,5 +259,4 @@ void MainWindow::slotAction( int act ) | |||
265 | void MainWindow::optionChanged(int i) | 259 | void MainWindow::optionChanged(int i) |
266 | { | 260 | { |
267 | qDebug("optionChanged(%i)",i); | ||
268 | searchStringChanged(); | 261 | searchStringChanged(); |
269 | } | 262 | } |