KDE 4 namespaces

Alexander Neundorf neundorf at kde.org
Mon May 9 17:30:11 BST 2005


On Monday 09 May 2005 01:57, Thiago Macieira wrote:
> Hello everyone,

> Namespace KDE::UI
> -----------------
> Uses: KDE::Core, KDE::Network, KDE::Multimedia
> This namespace completes the Qt usage and links to libQtGui. It consists
> mostly of libkdeui classes, plus the remaining kdefx functions and
> classes, and those moved out of libkdecore (those related to
> pixmaps/icons, accelerators, keys, shortcuts, clipboard, window manager,
> themes, styles, effects and the NET classes).
> Questions:
> - this is a good candidate for further breakup, even if not 1:1 mapped
>   to a library. Maybe even in violation of rule #2 and use subdivisions
>   (e.g., KDE::WM, KDE::UI::Styles, KDE::UI::Effects, etc.)

> Namespace KDE::KIO
> ------------------
> Uses: KDE::Core, KDE::Network, KDE::IPC, KDE::UI
> Contains the KIO classes that are used in the applications (i.e., "KIO
> masters"). This consists mostly of the non-ioslave-related classes found
> in libkio.
> Questions
> - why not KDE::IO? Because "KIO" is the technology name.
> - should the old libkfile classes be split off again? Maybe to KDE::Utils.

It would be nice if we could have a libkio which can be used by command line 
apps without linking to QtGUi and kdeui. Then command line apps could make 
use of the kioslave technology.
Things like the file dialog or the url requester would need to move to kdeui 
or something like this.
Maybe kdeui should be split into a library which just provides some enhanced 
widgets (maybe KSqueezedLabel, KLED -> libkdewidgets) and a library with more 
advanced stuff (KFileDialog, XMLGUI, ... -> libkdeui)
Work: alexander.neundorf at jenoptik.com - http://www.jenoptik-los.de
Home: neundorf at kde.org                - http://www.kde.org
      alex at neundorf.net               - http://www.neundorf.net

More information about the kde-core-devel mailing list