Cleaning up the code and adding includes.h
[qtdict.git] / main.cpp
blobbc457c819987df7cb5c858702e9fb6678aef041e
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
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 Dictionary dic ;
18 dic.show();
19 return dic.exec();