pp->insertItem("User Guide",this,SLOT(user_guide()));
pp->insertItem("Language reference",this,SLOT(lang_guide()));
pp->setFont(f);
- pp->setStyle(WindowsStyle);
+ //pp->setStyle(WindowsStyle);
bar->insertItem("File",this,SLOT(load()));
bar->insertItem("Contents",pp);
bar->insertItem("Quit",app,SLOT(quit()));
if ( !s.isNull())
{
vscroll->setValue(0);
- analyzer->LoadFile(s.data());
+ analyzer->LoadFile((char*)s.ascii());
analyzer->PackLinks();
DrawList();
}
if (poms.data()[0]=='#')
{
poms=poms.right(poms.length()-1);
- pom1=analyzer->FindAnchor(poms.data());
+ pom1=analyzer->FindAnchor((char*)poms.ascii());
if (pom1!=NULL)
{
vscroll->setValue(pom1->y);
app = new QApplication(argc,argv);
if (argc==2) ps.sprintf(argv[1]);
else ps.sprintf(".");
- QHTML cfg(ps.data());
- app->setStyle(WindowsStyle);
+ QHTML cfg((char*)ps.ascii());
+ //app->setStyle(WindowsStyle);
app->setMainWidget(&cfg);
cfg.show();
return app->exec();