/*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * ( at your option ) any later version. * * * **************************************************************************/ #include #include struct BroswerContent { QString top; QString bottom; }; class DingWidget { public: DingWidget(); BroswerContent setText( QString ); QStringList lines; void setCaseSensitive( bool ); void loadDict( QString ); QString loadedDict() const; void setQueryWord( QString ); void setDict( QString ); void loadValues(); QString lang1_name, lang2_name; bool isCaseSensitive; private: BroswerContent parseInfo(); BroswerContent s_strings; QString dictName; QString search_word; QString queryword; QString methodname; QString trenner; };