summaryrefslogtreecommitdiff
path: root/noncore/apps/odict/odict.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/odict/odict.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/odict/odict.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/noncore/apps/odict/odict.cpp b/noncore/apps/odict/odict.cpp
index 549c40a..42604ee 100644
--- a/noncore/apps/odict/odict.cpp
+++ b/noncore/apps/odict/odict.cpp
@@ -91,13 +91,13 @@ void ODict::saveConfig()
cfg.writeEntry( "regexp" , regexp );
cfg.writeEntry( "completewords" , completewords );
}
void ODict::slotDisplayAbout()
{
- QMessageBox::about( this, tr( "About ODict" ), tr( "OPIE-Dictionary ODict \n (c) 2002, 2003 Carsten Niehaus \n cniehaus@handhelds.org \n Version 20030108" ) );
+ QMessageBox::about( this, tr( "About ODict" ), tr( "OPIE-Dictionary ODict \n (c) 2002, 2003 Carsten Niehaus \n cniehaus@handhelds.org \n Version 20030111" ) );
}
void ODict::slotStartQuery()
{
QString querystring = query_le->text();
//X qDebug("opening dict >%s< for >%s<", activated_name.latin1(),querystring.latin1());
@@ -106,22 +106,20 @@ void ODict::slotStartQuery()
//X return;
//X }
//X if (!activated_name || activated_name.isEmpty())
//X QMessageBox::warning(this,tr("No Dictionary"),tr("Please choose a dictonary") );
//X else
//X {
+
+ if ( casesens ) qDebug( "casesens = TRUE" );
+ else qDebug( "casesens = FALSE" );
ding->setCaseSensitive( casesens );
ding->setCompleteWord( completewords );
ding->setDict( activated_name );
- qDebug( " activated_name ist :" );
- qDebug( activated_name );
-
- qDebug( " loadedDict() ist :" );
- qDebug( ding->loadedDict() );
if ( activated_name != ding->loadedDict() )
{
qDebug( "ComboBox geändert" );
ding->loadDict(activated_name);
}
else qDebug( "ComboBox war GLEICH" );
@@ -129,15 +127,13 @@ void ODict::slotStartQuery()
BroswerContent test = ding->setText( querystring );
browser_top->setText( test.top );
browser_bottom->setText( test.bottom );
qDebug( "Text sollte gesetzt sein..." );
-
//X }
-
}
void ODict::slotSetErrorcount( int count )
{
errorTol = count;