Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

dingwidget.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *                                                                         *
00003  * This program is free software; you can redistribute it and/or modify    *
00004  * it under the terms of the GNU General Public License as published by    *
00005  * the Free Software Foundation; either version 2 of the License, or       *
00006  * ( at your option ) any later version.                                   *
00007  *                                                                         *
00008  **************************************************************************/
00009 
00010 #include <qstringlist.h>
00011 #include <qstring.h>
00012 
00013 struct BroswerContent
00014 { 
00015         QString top;
00016         QString bottom;
00017 };
00018 
00019 class DingWidget
00020 {
00021     public:
00022                 DingWidget();
00023 
00024                 BroswerContent setText( QString );
00025                 QStringList lines;
00026                 void setCaseSensitive( bool );
00027                 void loadDict( QString );
00028                 QString loadedDict() const;
00029                 void setQueryWord( QString );
00030                 void setDict( QString );
00031                 void loadValues();
00032                 
00033                 QString lang1_name,
00034                                 lang2_name;
00035 
00036                 bool isCaseSensitive;
00037 
00038         private:
00039                 BroswerContent parseInfo();
00040 
00041                 BroswerContent s_strings;
00042 
00043                 QString dictName;
00044                 
00045                 QString search_word;
00046                 QString queryword;
00047                 QString methodname;
00048                 QString trenner;
00049 };

Generated on Sat Nov 5 16:16:48 2005 for OPIE by  doxygen 1.4.2