Cyclic dependency between kdelibs/kfile and kdelibs/kio

todd rme toddrme2178 at gmail.com
Mon Apr 5 16:35:33 BST 2010


On Mon, Apr 5, 2010 at 8:42 AM, Peter Penz <peter.penz at gmx.at> wrote:
> Hi,
>
> I just wanted to improve the KPropertiesDialog
> (kdelibs/kio/kfile/kpropertiesdialog.*) to use the new widget
> KFileMetaDataWidget (kdelibs/kfile/kfilemetadatawidget.*) to show the meta
> information of a file.
>
> The coding part was straight forward, but now I've a cyclic dependency between
> kdelibs/kfile and kdelibs/kio [1].
>
> So there seem to be 2 options to fix this:
> 1. Move KFileMetaDataWidget from kdelibs/kfile to kdelibs/kio/kfile
> 2. Move KPropertiesDialog from kdelibs/kio/kfile to kdelibs/kfile
>
> Any advice would be very welcome (I'm uncertain which criteria qualifies a
> widget to stay in kdelibs/kfile vs. kdelibs/kio/kfile).

Option 1 would make my life a lot easier, since I also want to use
KFileMetaDataWidget in something in kio.

-Todd




More information about the kde-core-devel mailing list