Frameworks/Epics/KDEUI Crumble

From KDE Community Wiki
Revision as of 21:15, 5 May 2013 by Ervin (talk | contribs)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

KDEUI Crumble

This page is the battle plan to finally get rid of KDEUI in kdelibs/frameworks. It lists the header name of all the classes in kdeui, they are sorted in sections per new destination for them.

Each section tries to also provide simple indications of the contraints to follow during the move (mostly about dependencies). If a class is not fitting one of the constraints, it is part of the job to first reduce the dependencies of the class to fit the contraints prior to the move. If you are too blocked to carry on, please add a note for the class.

The sections are roughly sorted by order of difficulty. The classes in the first sections should be reasonably easy to move, while the ones in the last sections are more challenging.

KDE4Support

Points to verify before moving the class in KDE4Support:

  • Make sure the class is used only in kde4support itself or kde4attic but not anywhere else in kdelibs


Status Description Notes Contact
TODO ./fonts/kfontdialog.h deprecated for QFontDialog ... <??>
TODO ./fonts/kfontcombobox.h deprecated for QFontComboBox ... <??>
TODO ./dialogs/kinputdialog.h deprecated for QInputDialog ... <??>
TODO ./dialogs/kdeprintdialog.h (should be done by Qt, kcups* goes with it) ... <??>
TODO ./widgets/keditlistbox.h deprecated for KEditListWidget ... <??>
TODO ./widgets/kstringvalidator.h only the zombie kfilemetainfowidget uses it ... <??>
TODO ./widgets/ktabbar.h deprecated for QTabBar ... <??>
TODO ./widgets/ktabwidget.h deprecated for QTabWidget ... <??>
TODO ./widgets/kbuttongroup.h Use real QGroupBox and QButtonGroup instances please, kthxbye ... <??>
TODO ./widgets/knuminput.h Use real QSpinBox ... <??>
TODO ./widgets/ktextbrowser.h deprecated for QTextBrowser ... <??>
TODO ./util/kpixmapcache.h deprecated for KImageCache or KSharedDataCache ... <??>
TODO ./util/kaccelgen.h ... <??>
TODO ./actions/ktoolbarspaceraction.h ... <??>

KDE4Attic

Points to verify before moving the class in KDE4Attic:

  • Make sure the class is not used anywhere in kdelibs anymore


Status Description Notes Contact
TODO ./widgets/kdatetimeedit.h ... <??>
TODO ./widgets/kdatepicker.h ... <??>
TODO ./widgets/kmultitabbar.h (used by kate, digikam, kexi --- but could use a cleanup, see e.g. KDEV3ICON...) ... <??>
TODO ./widgets/kdatecombobox.h ... <??>
TODO ./widgets/ktimezonewidget.h ... <??>
TODO ./widgets/kdatetimewidget.h ... <??>
TODO ./widgets/kcharselect.h Can soon go into kwidgetsaddons (needs clear button in QLineEdit) ... <??>
TODO ./widgets/kdatewidget.h ... <??>
TODO ./widgets/ktimecombobox.h ... <??>
TODO ./widgets/klanguagebutton.h ... <??>
TODO ./widgets/kdatetable.h ... <??>
TODO ./util/kmodifierkeyinfo.h missing in Qt: querying state of CapsLock (for kile) ... <??>
TODO ./util/kpassivepopupmessagehandler.h only user is kde-runtime/knotify. Move it there? ... <??>
TODO ./shortcuts/kgesture.h use #if 0 for the code in xmlgui (KShortcutsEditor) that uses KGesture (it's already hidden from the user anyway) ... <??>
TODO ./shortcuts/kgesturemap.h needs polish before it can be resurrected ... <??>

KGuiAddons

Points to verify before moving a class in KGuiAddons:

  • It depends only on QtGui or QtCore


Status Description Notes Contact
TODO ./fonts/kfontutils.h ... <??>
TODO ./util/kimagecache.h but but but... KsharedDataCache is in kcoreaddons :-/ (tough problem) ... <??>

KWidgetsAddons

Points to verify before moving a class in KWidgetsAddons:

  • It depends only on QtWidgets, QtGui or QtCore
  • It can depend on other classes in KWidgetsAddons, but that should be kept minimal


Status Description Notes Contact
TODO ./fonts/kfontrequester.h ... <??>
TODO ./dialogs/kassistantdialog.h ... <??>
TODO ./dialogs/kpixmapregionselectordialog.h ... <??>
TODO ./dialogs/klinkdialog.h ... <??>
TODO ./dialogs/knewpassworddialog.h ... <??>
TODO ./dialogs/kpassworddialog.h ... <??>
TODO ./widgets/kpixmapregionselectorwidget.h ... <??>
TODO ./widgets/ktitlewidget.h ... <??>
TODO ./widgets/kratingwidget.h ... <??>
TODO ./widgets/kratingpainter.h ... <??>
TODO ./widgets/kmessagewidget.h (Needs to get rid of K* using fixed default colors, Qstyle :styleHint and Qstyle :standardPixmap) ... <??>
TODO ./widgets/keditlistwidget.h ... <??>
TODO ./widgets/kactionselector.h ... <??>
TODO ./util/kpassivepopup.h ... <??>
TODO ./util/kcursor.h ... <??>
TODO ./paged/kpagewidget.h ... <??>
TODO ./paged/kpagedialog.h ... <??>
TODO ./paged/kpageview.h ... <??>
TODO ./paged/kpagemodel.h ... <??>
TODO ./paged/kpagewidgetmodel.h ... <??>
TODO ./shortcuts/kacceleratormanager.h the list of translated texts from standard actions will have to be set by the first KStandardAction being constructed ... <??>
TODO ./colors/kcolorbutton.h minor duplication of KcolorMimeData though ... <??>
TODO ./colors/kcolorcombo.h ... <??>
TODO ./actions/kactionmenu.h ... <??>
TODO ./actions/ktoolbarlabelaction.h ... <??>
TODO ./actions/ktoolbarpopupaction.h ... <??>

KWindowSystem

Points to verify before moving a class in KWidgetsAddons:

  • It depends only on QtWidgets, QtGui or QtCore
  • It can depend on other classes in KWidgetsAddons, but that should be kept minimal


Status Description Notes Contact
TODO ./util/kkeyserver_x11.h ... <??>
TODO ./util/kxerrorhandler.h ... <??>
TODO ./util/kkeyserver_win.h ... <??>
TODO ./util/kkeyserver_mac.h ... <??>
TODO ./util/kkeyserver.h ... <??>

KWidgets

Points to verify before moving a class in ItemViews:

  • It doesn't use anything aimed at KCompletion (e.g. KLineEdit or KComboBox)
  • It doesn't use anything aimed at ItemViews
  • It doesn't use anything from kdecore
  • Using things from tier1 is fine
  • Using things from tier2 is forbidden


Status Description Notes Contact
TODO ./dialogs/kaboutapplicationdialog.h (probably difficult) ... <??>
TODO ./dialogs/kbugreport.h ... <??>
TODO ./dialogs/ktip.h ... <??>
TODO ./widgets/khelpmenu.h ... <??>

ItemViews

Points to verify before moving a class in ItemViews:

  • It doesn't use anything aimed at KCompletion (e.g. KLineEdit or KComboBox)
  • It doesn't use ki18n
  • It doesn't use anything from kdecore
  • It doesn't use anything from kwidgets
  • Using things from tier1 is fine


Status Description Notes Contact
TODO ./itemviews/kcategorizedview.h ... <??>
TODO ./itemviews/klistwidgetsearchline.h (port away from KlineEdit and i18n) ... <??>
TODO ./itemviews/ktreewidgetsearchline.h (port away from KlineEdit and i18n) ... <??>
TODO ./itemviews/kcategorizedsortfilterproxymodel.h (need porting away from KstringHandler) ... <??>
TODO ./itemviews/kwidgetitemdelegate.h ... <??>
TODO ./itemviews/kfilterproxysearchline.h (port away from KlineEdit and i18n) ... <??>
TODO ./itemviews/kcategorydrawer.h ... <??>

KCompletion

Points to verify before moving a class in KCompletion:

  • It doesn't use anything from kwidgets
  • It doesn't use anything from kdecore
  • It doesn't use anything from kdeui
  • Using things from tier1 is fine


Status Description Notes Contact
TODO ./widgets/khistorycombobox.h ... <??>
TODO ./widgets/kcombobox.h ... <??>
TODO ./widgets/klineedit.h ... <??>
TODO ./widgets/kcompletionbox.h ... <??>
TODO ./util/kcompletion.h move ksortablelist.h with it ... <??>

KConfigWidgets

Points to verify before moving a class in KConfigWidgets:

  • It uses only classes from kconfigcore, kconfigui or kwidgetsaddons


Status Description Notes Contact
TODO ./dialogs/kconfigdialogmanager.h ... <??>
TODO ./dialogs/kconfigdialog.h ... <??>
TODO ./widgets/kcmodule.h ... <??>
TODO ./itemviews/kviewstatesaver.h ... <??>
TODO ./itemviews/kviewstatemaintainer.h ... <??>

KCrash

Points to verify before moving a class in KCrach:

  • It uses only classes from kcoreaddons or kwindowsystem


Status Description Notes Contact
TODO ./util/kcrash.h ... <??>

KIconThemes

Points to verify before moving a class in KIconThemes:

  • It uses only classes from tier1 or tier2
  • It uses nothing from kdeui or kdecore


Status Description Notes Contact
TODO ./util/kpixmapsequencewidget.h ... <??>
TODO ./util/kpixmapsequenceoverlaypainter.h ... <??>
TODO ./util/kpixmapsequence.h ... <??>
TODO ./icons/kiconbutton.h ... <??>
TODO ./icons/kicondialog.h ... <??>

KJobWidgets

Points to verify before moving a class in KJobWidgets:

  • It uses only classes from Qt, kcoreaddons or kwidgetsaddons


Status Description Notes Contact
TODO ./jobs/kwidgetjobtracker.h ... <??>
TODO ./jobs/kabstractwidgetjobtracker.h ... <??>
TODO ./jobs/kdialogjobuidelegate.h ... <??>
TODO ./jobs/kstatusbarjobtracker.h ... <??>

KNotifications

Points to verify before moving a class in KNotifications:

  • It uses only classes from KWindowSystem, QtWidgets, QtDBus


Status Description Notes Contact
TODO ./notifications/kstatusnotifieritem.h ... <??>
TODO ./notifications/knotificationrestrictions.h ... <??>

KWallet

Points to verify before moving a class in KWallet:

  • It uses only classes from kconfigcore, kconfigui or kwindowsystem


Status Description Notes Contact
TODO ./util/kwallet.h ... <??>

XmlGui

Points to verify before moving a class in XmlGui:

  • It uses only classes from tier1 or tier2
  • It uses nothing from kdeui or kdecore


Status Description Notes Contact
TODO ./dialogs/kshortcutseditor.h ... <??>
TODO ./dialogs/kshortcutsdialog.h ... <??>
TODO ./dialogs/kedittoolbar.h ... <??>
TODO ./widgets/kshortcutwidget.h ... <??>
TODO ./widgets/kkeysequencewidget.h ... <??>
TODO ./util/kundoactions.h ... <??>
TODO ./kdepackages.h (goes with kbugreport) ... <??>
TODO ./xmlgui/kxmlguiclient.h ... <??>
TODO ./xmlgui/kxmlguiwindow.h ... <??>
TODO ./xmlgui/kxmlguifactory.h ... <??>
TODO ./xmlgui/kmainwindow.h ... <??>
TODO ./xmlgui/kxmlguibuilder.h ... <??>
TODO ./xmlgui/ktoolbar.h ... <??>
TODO ./shortcuts/kcheckaccelerators.h ... <??>
TODO ./actions/kactioncollection.h ... <??>
TODO ./actions/ktoggletoolbaraction.h ... <??>
TODO ./actions/kactioncategory.h ... <??>

KTextWidgets

Points to verify before moving a class in KTextWidgets:

  • It uses only classes from tier1 or tier2
  • It uses nothing from kdeui or kdecore


Status Description Notes Contact
TODO ./findreplace/kfinddialog.h ... <??>
TODO ./findreplace/kreplacedialog.h ... <??>
TODO ./findreplace/kfind.h ... <??>
TODO ./findreplace/kreplace.h ... <??>
TODO ./widgets/krichtextwidget.h ... <??>
TODO ./widgets/nestedlisthelper.h (goes with krichtextedit) ... <??>
TODO ./widgets/ktextedit.h ... <??>
TODO ./widgets/krichtextedit.h ... <??>