summaryrefslogtreecommitdiff
path: root/noncore/apps/odict/odict.cpp
authorcniehaus <cniehaus>2003-01-11 18:28:09 (UTC)
committer cniehaus <cniehaus>2003-01-11 18:28:09 (UTC)
commite3fa5685865712ca930d9124b974506766e7b11e (patch) (side-by-side diff)
tree377298838435ca45a23945660f687583788d4a97 /noncore/apps/odict/odict.cpp
parentfecbb2ca2714c1699a76036865e6e1120110ac1d (diff)
downloadopie-e3fa5685865712ca930d9124b974506766e7b11e.zip
opie-e3fa5685865712ca930d9124b974506766e7b11e.tar.gz
opie-e3fa5685865712ca930d9124b974506766e7b11e.tar.bz2
check if the user want to serach casesensitive or not
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;