X-Git-Url: https://ruin.nu/git/?p=hbs.git;a=blobdiff_plain;f=bs%2Fmain.cpp;h=387e302169dc2394fb5bc6158e6a0a6b49acdae3;hp=ea8ef3f81170e94afac3b27352e16614921391ca;hb=071b5f2d6ca710d048a58ee40e32bc623033c46e;hpb=ec7ebf4a9acd1d7b7e4e7967c4afa94300ed5ff9 diff --git a/bs/main.cpp b/bs/main.cpp index ea8ef3f..387e302 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(); }