Qtdict v0.2: corrected hungarian letters in the request url by replacing characters...
[qtdict.git] / main.cpp
blobe8a268ce248e03481186bbe5c3810cc027efaf87
1 // Copyright (c) 2008, Andrew BĂ©csi (andrewbecsi @ yahoo . co . uk)
2 //
3 // This program is free software, released under the GNU General Public License
4 // and you are welcome to redistribute it under certain conditions. It comes with
5 // ABSOLUTELY NO WARRANTY; for details read the GNU General Public License to be
6 // found in the file "COPYING" distributed with this program, or online at:
7 // http://www.gnu.org/copyleft/gpl.html
9 #include <QApplication>
10 #include "dictionary.h"
12 int main(int argc, char *argv[])
14 QApplication app(argc, argv);
15 QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
16 QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
17 QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));
18 Dictionary dic ;
19 dic.show();
20 return dic.exec();