Porting by examples. Files for KFilterProxySearchLine replacement are shamelessly borrowed from KDevelop. Code to recover files is borrowed from Umbrello.
Details
Details
- Reviewers
- None
- Group Reviewers
KDE Edu - Commits
- R338:a6e61818e3e8: Port KWordQuiz away from deprecated API and kdelibs4support
- Start KWordQuiz and open an example (e.g. /usr/share/kwordquiz/examples/us_states_and_capitals.kvtml or src/examples/us_states_and_capitals.kvtml in the source tree).
- Try to print it into the cards PDF file (KWordQuiz tab under "Options" should work).
- Try to link image (Vocabulary -> Link Image) or sound (Vocabulary -> Link Sound) with a cell.
- Try to filter the list with entering "co" in the filter proxy list at the top of the window.
- Try if everything works (saves and restores) in the "Settings -> Configure KWordQuiz" window (1st and 2nd tabs).
Diff Detail
Diff Detail
- Repository
- R338 KWordQuiz
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
It appears that it is pretty normal that print preview shows nothing on a system with no default printer with QPrintPreviewDialog. So the porting is done correctly here.
src/kwordquiz.h | ||
---|---|---|
252 | Confused about this one, that's in kitemviews and thus needs no porting, no? https://api.kde.org/frameworks/kitemviews/html/classKFilterProxySearchLine.html |
src/kwordquiz.h | ||
---|---|---|
252 | From the referred page:
|
Comment Actions
Code looks reasonable, i *have not* tried it.
So maybe wait for someone to actually give it a second review or if you're totally confident you're not breaking stuff just commit it