where r u reading the line from?I simply read this line with standard getLine() to std:string
where r u reading the line from?I simply read this line with standard getLine() to std:string
From the *.html files, I read every line actually, but I'm interested only of the string inside the h1-tags. This is completely separate from the QTextBrowser functionality I have currently, and my point bringing it up was that the same HTML files must work on both cases.
i dont think that would be possible, perhaps you would need to put a hack by reading the content into a QTextEdit using setHtml, read out of it using toHtml() into a string, then parse through it. all this time u will need QTextEdit only for sm time, and u can destroy it as soon as u have read back from it so it wont create any hassle. But if you come up with a better solution, let us know![]()
I was in a bit of hurry so I brute forced it and made a conversion function, that changes the HTML entities to correct characters (I manually mapped them, the language in question did not have too many special characters).
Bookmarks