[WIP]: Port away from deprecated KHtml
AbandonedPublic

Authored by ognarb on Dec 3 2019, 1:28 PM.

Details

Reviewers
None
Group Reviewers
Calligra: 3.0
Maniphest Tasks
T11542: Remove KHTML
Summary

KHtml was only used for dom manipulation. Use instead QDom

Test Plan

Compile, but I need to figure out why before and after this change the filter doesn't work.

Diff Detail

Repository
R8 Calligra
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 19437
Build 19455: arc lint + arc unit
ognarb created this revision.Dec 3 2019, 1:28 PM
Restricted Application added a project: Calligra: 3.0. · View Herald TranscriptDec 3 2019, 1:28 PM
Restricted Application added a subscriber: Calligra-Devel-list. · View Herald Transcript
ognarb requested review of this revision.Dec 3 2019, 1:28 PM
ognarb edited the summary of this revision. (Show Details)
leinir added a subscriber: leinir.EditedDec 4 2019, 1:57 PM

Just a quick tip, when posting things that are a work in progress as a diff (which, incidentally, is a great idea, both in general, and this!), adding "[WIP]" to the beginning of the diff's title is very handy, both for your own tracking, and for those going through the review lists :) (also just realised who you are, so i'm thinking you proooobably already know that ;) )

ognarb retitled this revision from Port away from deprecated KHtml to [WIP]: Port away from deprecated KHtml.Dec 4 2019, 2:05 PM

Still wip, or...

anthonyfieroni added inline comments.
filters/sheets/html/htmlimport.h
58–59

const ref here?

Is this still WIP, it looks good, can we proceed?

This comment was removed by anthonyfieroni.

I forgot about this diff. Now that I looked again I found a flaw in the migrations: QDomDocument only supports valid XML files but there are valid HTML files that aren't valid XML files. So probably QDomDocument is not a solution :(

ognarb abandoned this revision.Jan 12 2021, 1:56 PM