Review Request 120075: KArchive: add support for rcc files

David Faure faure at kde.org
Sat Oct 11 15:25:22 UTC 2014



> On Oct. 11, 2014, 2:38 p.m., Milian Wolff wrote:
> > src/krcc.h, line 44
> > <https://git.reviewboard.kde.org/r/120075/diff/1/?file=310011#file310011line44>
> >
> >     "ar" file? maybe "archive" instead?

Copy/paste error from kar.h :-)


> On Oct. 11, 2014, 2:38 p.m., Milian Wolff wrote:
> > src/krcc.h, line 52
> > <https://git.reviewboard.kde.org/r/120075/diff/1/?file=310011#file310011line52>
> >
> >     here and below: "Writing *is* not supported by this class, *it* will always fail."

also pasted from kar.h -> fixed there too.


> On Oct. 11, 2014, 2:38 p.m., Milian Wolff wrote:
> > src/krcc.h, line 93
> > <https://git.reviewboard.kde.org/r/120075/diff/1/?file=310011#file310011line93>
> >
> >     scoped pointer?

Hmm. Not done anywhere else in karchive or frameworks in general. Not much point, now that I checked the "delete" is there :-)


> On Oct. 11, 2014, 2:38 p.m., Milian Wolff wrote:
> > src/krcc.cpp, line 154
> > <https://git.reviewboard.kde.org/r/120075/diff/1/?file=310012#file310012line154>
> >
> >     maybe I'm missing something, but this looks like you don't need to override it at all when you just delegate to the base class anyways?

The whole point is to be able to extend this later without requiring an app recompilation.


> On Oct. 11, 2014, 2:38 p.m., Milian Wolff wrote:
> > tests/krcctest.cpp, line 2
> > <https://git.reviewboard.kde.org/r/120075/diff/1/?file=310014#file310014line2>
> >
> >     I knew it, you are a time traveler! :P

LOL :-)


- David


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120075/#review68263
-----------------------------------------------------------


On Oct. 10, 2014, 8:46 p.m., David Faure wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/120075/
> -----------------------------------------------------------
> 
> (Updated Oct. 10, 2014, 8:46 p.m.)
> 
> 
> Review request for KDE Frameworks, Mario Bensi and Kevin Krammer.
> 
> 
> Repository: karchive
> 
> 
> Description
> -------
> 
> These the dynamic binary resources created by Qt's rcc tool from a .qrc file
> and the files it points to.
> 
> [ChangeLog] KArchive: add support for rcc files
> 
> 
> The idea came up while talking to the GCompris author, who mentionned he's using .rcc files quite a lot in his application and was missing a way to look into such a file to find out what it contains. Now with very little work, ark could support these too. It just needs to be ported to KF5 first :-)
> 
> 
> Diffs
> -----
> 
>   autotests/karchivetest.h 567be075758f6afd4bdff5a2f6f8ef5e392a53eb 
>   autotests/karchivetest.cpp 6b50f32a6d99756ba246262067dd71573f129256 
>   autotests/runtime_resource.rcc PRE-CREATION 
>   src/CMakeLists.txt 948a25b5e017a11c1577c7c324f2fa3545b13f52 
>   src/krcc.h PRE-CREATION 
>   src/krcc.cpp PRE-CREATION 
>   tests/CMakeLists.txt ebcd01f5bfdec1298bbc936b9429b187f50c9b45 
>   tests/krcctest.cpp PRE-CREATION 
> 
> Diff: https://git.reviewboard.kde.org/r/120075/diff/
> 
> 
> Testing
> -------
> 
> Manual test prog, autotest.
> 
> 
> Thanks,
> 
> David Faure
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20141011/9a6f0005/attachment.html>


More information about the Kde-frameworks-devel mailing list