summaryrefslogtreecommitdiff
authorcniehaus <cniehaus>2003-05-02 12:19:20 (UTC)
committer cniehaus <cniehaus>2003-05-02 12:19:20 (UTC)
commit1837f8be61831812b5ab08b110c0c6e6b86d3a97 (patch) (unidiff)
tree37e718a218e6acb24b2251a6f039631f3ab8fca5
parente4d80a4839a97f2554e880a25ee32d0388371ef3 (diff)
downloadopie-1837f8be61831812b5ab08b110c0c6e6b86d3a97.zip
opie-1837f8be61831812b5ab08b110c0c6e6b86d3a97.tar.gz
opie-1837f8be61831812b5ab08b110c0c6e6b86d3a97.tar.bz2
remove 2 obsolete files
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/odict/dictwidget.cpp30
-rw-r--r--noncore/apps/odict/dictwidget.h24
-rw-r--r--noncore/apps/odict/odict.cpp2
-rw-r--r--noncore/apps/odict/odict.pro2
4 files changed, 0 insertions, 58 deletions
diff --git a/noncore/apps/odict/dictwidget.cpp b/noncore/apps/odict/dictwidget.cpp
deleted file mode 100644
index aa233c7..0000000
--- a/noncore/apps/odict/dictwidget.cpp
+++ b/dev/null
@@ -1,30 +0,0 @@
1/***************************************************************************
2 application: : ODict
3
4 begin : December 2002
5 copyright : ( C ) 2002, 2003 by Carsten Niehaus
6 email : cniehaus@handhelds.org
7 **************************************************************************/
8
9/***************************************************************************
10 * *
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * ( at your option ) any later version. *
15 * *
16 **************************************************************************/
17#include "dictwidget.h"
18
19#include <qpe/config.h>
20#include <qhbox.h>
21#include <qlabel.h>
22#include <qpushbutton.h>
23#include <qlineedit.h>
24#include <qmainwindow.h>
25#include <qstring.h>
26
27DictWidget::DictWidget() : QWidget()
28{
29}
30
diff --git a/noncore/apps/odict/dictwidget.h b/noncore/apps/odict/dictwidget.h
deleted file mode 100644
index 7a02705..0000000
--- a/noncore/apps/odict/dictwidget.h
+++ b/dev/null
@@ -1,24 +0,0 @@
1/***************************************************************************
2 * *
3 * This program is free software; you can redistribute it and/or modify *
4 * it under the terms of the GNU General Public License as published by *
5 * the Free Software Foundation; either version 2 of the License, or *
6 * ( at your option ) any later version. *
7 * *
8 **************************************************************************/
9
10#include <qwidget.h>
11
12class QPopupMenu;
13class QMenuBar;
14class QHBox;
15class QPushButton;
16class QLineEdit;
17
18class DictWidget : public QWidget
19{
20 Q_OBJECT
21
22 public:
23 DictWidget();
24};
diff --git a/noncore/apps/odict/odict.cpp b/noncore/apps/odict/odict.cpp
index 58cff5f..a404e89 100644
--- a/noncore/apps/odict/odict.cpp
+++ b/noncore/apps/odict/odict.cpp
@@ -98,35 +98,33 @@ void ODict::slotStartQuery()
98 QString querystring = query_le->text(); 98 QString querystring = query_le->text();
99 //X qDebug("opening dict >%s< for >%s<", activated_name.latin1(),querystring.latin1()); 99 //X qDebug("opening dict >%s< for >%s<", activated_name.latin1(),querystring.latin1());
100 //X if (querystring.isEmpty()){ 100 //X if (querystring.isEmpty()){
101 //X qWarning("empty querystring"); 101 //X qWarning("empty querystring");
102 //X return; 102 //X return;
103 //X } 103 //X }
104 //X if (!activated_name || activated_name.isEmpty()) 104 //X if (!activated_name || activated_name.isEmpty())
105 //X QMessageBox::warning(this,tr("No Dictionary"),tr("Please choose a dictonary") ); 105 //X QMessageBox::warning(this,tr("No Dictionary"),tr("Please choose a dictonary") );
106 //X else 106 //X else
107 //X { 107 //X {
108 108
109 ding->setCaseSensitive( casesens ); 109 ding->setCaseSensitive( casesens );
110 ding->setCompleteWord( completewords ); 110 ding->setCompleteWord( completewords );
111 ding->setDict( activated_name ); 111 ding->setDict( activated_name );
112 112
113 if ( activated_name != ding->loadedDict() ) 113 if ( activated_name != ding->loadedDict() )
114 {
115 ding->loadDict(activated_name); 114 ding->loadDict(activated_name);
116 }
117 115
118 BroswerContent test = ding->setText( querystring ); 116 BroswerContent test = ding->setText( querystring );
119 117
120 browser_top->setText( test.top ); 118 browser_top->setText( test.top );
121 browser_bottom->setText( test.bottom ); 119 browser_bottom->setText( test.bottom );
122 120
123 qDebug( "Text sollte gesetzt sein..." ); 121 qDebug( "Text sollte gesetzt sein..." );
124 //X } 122 //X }
125} 123}
126 124
127 125
128void ODict::slotSetErrorcount( int count ) 126void ODict::slotSetErrorcount( int count )
129{ 127{
130 errorTol = count; 128 errorTol = count;
131} 129}
132 130
diff --git a/noncore/apps/odict/odict.pro b/noncore/apps/odict/odict.pro
index 32f83fd..427a5c6 100644
--- a/noncore/apps/odict/odict.pro
+++ b/noncore/apps/odict/odict.pro
@@ -1,30 +1,28 @@
1 TEMPLATE= app 1 TEMPLATE= app
2 CONFIG = qt warn_on debug 2 CONFIG = qt warn_on debug
3 #CONFIG = qt warn_on release 3 #CONFIG = qt warn_on release
4 HEADERS = odict.h \ 4 HEADERS = odict.h \
5 searchmethoddlg.h \ 5 searchmethoddlg.h \
6 configdlg.h \ 6 configdlg.h \
7 dingwidget.h \ 7 dingwidget.h \
8 dictwidget.h
9 8
10 SOURCES = main.cpp \ 9 SOURCES = main.cpp \
11 odict.cpp \ 10 odict.cpp \
12 searchmethoddlg.cpp \ 11 searchmethoddlg.cpp \
13 configdlg.cpp \ 12 configdlg.cpp \
14 dictwidget.cpp \
15 dingwidget.cpp 13 dingwidget.cpp
16INCLUDEPATH += $(OPIEDIR)/include 14INCLUDEPATH += $(OPIEDIR)/include
17DEPENDPATH += $(OPIEDIR)/include 15DEPENDPATH += $(OPIEDIR)/include
18 LIBS += -lqpe -lstdc++ -lopie 16 LIBS += -lqpe -lstdc++ -lopie
19 TARGET = odict 17 TARGET = odict
20 DESTDIR = $(OPIEDIR)/bin 18 DESTDIR = $(OPIEDIR)/bin
21 19
22TRANSLATIONS = ../../../i18n/de/odict.ts \ 20TRANSLATIONS = ../../../i18n/de/odict.ts \
23 ../../../i18n/nl/odict.ts \ 21 ../../../i18n/nl/odict.ts \
24 ../../../i18n/xx/odict.ts \ 22 ../../../i18n/xx/odict.ts \
25 ../../../i18n/en/odict.ts \ 23 ../../../i18n/en/odict.ts \
26 ../../../i18n/es/odict.ts \ 24 ../../../i18n/es/odict.ts \
27 ../../../i18n/fr/odict.ts \ 25 ../../../i18n/fr/odict.ts \
28 ../../../i18n/hu/odict.ts \ 26 ../../../i18n/hu/odict.ts \
29 ../../../i18n/ja/odict.ts \ 27 ../../../i18n/ja/odict.ts \
30 ../../../i18n/ko/odict.ts \ 28 ../../../i18n/ko/odict.ts \