X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=src%2Fhelp%2Fhelp.cpp;h=d2cf4f0de5ef139ad48c42c146848c884a83e940;hb=c93d8517f5609af29641b70460f61fb1363f468e;hp=12839ece3af74810e98343775b6227cf12b3e63f;hpb=abed78d4382b70979c3a6eb492ca1a6a9ee16fa1;p=vlp.git diff --git a/src/help/help.cpp b/src/help/help.cpp index 12839ec..d2cf4f0 100644 --- a/src/help/help.cpp +++ b/src/help/help.cpp @@ -55,8 +55,7 @@ char names[14][40] = { class Tag { public: - Tag() - { + Tag() { tag_type=0; strcpy(tag_label, ""); strcpy(tag_link, ""); @@ -93,7 +92,6 @@ HTMLAnalyzer::HTMLAnalyzer() verbatim = FALSE; } - bool HTMLAnalyzer::LoadFile(char *fname) { QFile f(fname); @@ -146,13 +144,13 @@ bool HTMLAnalyzer::LoadFile(char *fname) tags.append(pomt); break; } - }/* while length>0 */ + } if (verbatim) { pomt = new Tag; pomt->tag_type = TAG_BREAK; tags.append(pomt); } - } /* eof */ + } f.close(); return TRUE; } @@ -463,6 +461,9 @@ void QHTML::mousePressEvent(QMouseEvent *ev) } } +/** + * @attention Currently not in use + */ void QHTML::back() { } @@ -580,7 +581,7 @@ void QHTML::DrawList() cx = 5; cy = cy + p.fontMetrics().height(); break; - }//switch + } pom = analyzer->tags.next(); } p.end();