X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=bs%2Fmain.cpp;h=6f56e877c3bba5b2e66fd2e5b92653469da916e9;hb=9fa0d25038087d8417c0849a495eeae1abcb9504;hp=ea8ef3f81170e94afac3b27352e16614921391ca;hpb=ec7ebf4a9acd1d7b7e4e7967c4afa94300ed5ff9;p=hbs.git diff --git a/bs/main.cpp b/bs/main.cpp index ea8ef3f..6f56e87 100644 --- a/bs/main.cpp +++ b/bs/main.cpp @@ -18,27 +18,31 @@ #include #include #include +#include #include "../config.h" -#include "bc.h" +#include "bs.h" int main(int argc, char *argv[]) { QApplication a(argc, argv); //QStyle* s = new QCDEStyle(); + //QTranslator translator( 0 ); + //translator.load( "se_SE.qm", "/home/whale/src/hbs" ); + //a.installTranslator( &translator ); - a.setFont(QFont("times", 12)); + //a.setFont(QFont("times", 12)); /* uncomment the following line, if you want a Windows 95 look*/ // a.setStyle(WindowsStyle); //a.setStyle(s); - BcApp *bc=new BcApp(); - a.setMainWidget(bc); + BSApp *bs=new BSApp(); + a.setMainWidget(bs); - bc->setCaption("HÃ¥rvalens BattleCalc" VERSION); + bs->setCaption("Harv's BattleSystem " VERSION); //eonsl->showMaximized(); - bc->resize(800,600); - bc->show(); + bs->resize(800,600); + bs->show(); return a.exec(); }