Jump to content

KDE Games/API cleanup: Difference between revisions

From KDE Community Wiki
Majewsky (talk | contribs)
Majewsky (talk | contribs)
categorization: kchat, kgame, theming
Line 17: Line 17:
| Highscore recording and GUI.
| Highscore recording and GUI.
| -
| -
|
|
|-
| kchat
| Chat widget.
| -
|
|-
| kgame
| General game framework.
| kchat
|  
|-
|-
| kgamecanvas
| kgamecanvas
| Alternative to QGraphicsView.
| Alternative to QGraphicsView.
| kgamerenderer (integration)
| kgamerenderer (integration)
|
|  
|-
|-
| kgamerenderer
| kgamerenderer
Line 32: Line 42:
| Network-enabled multiplayer.
| Network-enabled multiplayer.
| -
| -
|
|
|-
| theming
| Management of SVG themes.
| -
|  
|}
|}


Line 83: Line 98:
|-
|-
| kchatbase.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kchatbase.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kchat
|-
|-
| kchatbaseitemdelegate.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kchatbaseitemdelegate.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kchat
|-
|-
| kchatbasemodel.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kchatbasemodel.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kchat
|-
|-
| kchat.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kchat.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kchat
|-
|-
| kchatdialog.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kchatdialog.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kchat
|-
|-
| kgamecanvas.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgamecanvas.<span style="color:green">cpp</span>/<span style="color:red">h</span>
Line 104: Line 119:
|-
|-
| kgame/dialogs/kgameconnectdialog.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/dialogs/kgameconnectdialog.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/dialogs/kgamedebugdialog.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/dialogs/kgamedebugdialog.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/dialogs/kgamedialogconfig.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/dialogs/kgamedialogconfig.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/dialogs/kgamedialog.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/dialogs/kgamedialog.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/dialogs/kgameerrordialog.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/dialogs/kgameerrordialog.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgamedifficulty.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgamedifficulty.<span style="color:green">cpp</span>/<span style="color:red">h</span>
Line 122: Line 137:
|-
|-
| kgame/kgamechat.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/kgamechat.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/kgame.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/kgame.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/kgameerror.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/kgameerror.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/kgameio.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/kgameio.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/kgamemessage.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/kgamemessage.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/kgamenetwork.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/kgamenetwork.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/kgameprocess.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/kgameprocess.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/kgamepropertyarray.<span style="color:red">h</span>
| kgame/kgamepropertyarray.<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/kgameproperty.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/kgameproperty.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/kgamepropertyhandler.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/kgamepropertyhandler.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/kgamesequence.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/kgamesequence.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/kgameversion.<span style="color:red">h</span>
| kgame/kgameversion.<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/kmessageclient.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/kmessageclient.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/kmessageio.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/kmessageio.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgame/kmessageserver.<span style="color:green">cpp</span>/<span style="color:red">h</span>/<span style="color:blue">ph</span>
| kgame/kmessageserver.<span style="color:green">cpp</span>/<span style="color:red">h</span>/<span style="color:blue">ph</span>
|  
| kgame
|-
|-
| kgame/kplayer.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgame/kplayer.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| kgamelcd.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgamelcd.<span style="color:green">cpp</span>/<span style="color:red">h</span>
Line 197: Line 212:
|-
|-
| kgametheme.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgametheme.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| theming
|-
|-
| kgamethemeselector.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| kgamethemeselector.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| theming
|-
|-
| kggzgames/kggzgames_export.<span style="color:red">h</span>
| kggzgames/kggzgames_export.<span style="color:red">h</span>
Line 254: Line 269:
|-
|-
| tests/kgamepropertytest.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| tests/kgamepropertytest.<span style="color:green">cpp</span>/<span style="color:red">h</span>
|  
| kgame
|-
|-
| tests/kgamesvgdigitstest.<span style="color:green">cpp</span>/<span style="color:red">h</span>
| tests/kgamesvgdigitstest.<span style="color:green">cpp</span>/<span style="color:red">h</span>
Line 272: Line 287:
|-
|-
| includes/KChat
| includes/KChat
|  
| kchat
|-
|-
| includes/KChatBase
| includes/KChatBase
|  
| kchat
|-
|-
| includes/KChatBaseItemDelegate
| includes/KChatBaseItemDelegate
|  
| kchat
|-
|-
| includes/KChatDialog
| includes/KChatDialog
|  
| kchat
|-
|-
| includes/KExtHighscore
| includes/KExtHighscore
Line 296: Line 311:
|-
|-
| includes/KGame/KGame
| includes/KGame/KGame
|  
| kgame
|-
|-
| includes/KGame/KGameChat
| includes/KGame/KGameChat
|  
| kgame
|-
|-
| includes/KGame/KGameConnectDialog
| includes/KGame/KGameConnectDialog
|  
| kgame
|-
|-
| includes/KGame/KGameDebugDialog
| includes/KGame/KGameDebugDialog
|  
| kgame
|-
|-
| includes/KGame/KGameDialog
| includes/KGame/KGameDialog
|  
| kgame
|-
|-
| includes/KGame/KGameDialogConfig
| includes/KGame/KGameDialogConfig
|  
| kgame
|-
|-
| includes/KGame/KGameError
| includes/KGame/KGameError
|  
| kgame
|-
|-
| includes/KGame/KGameErrorDialog
| includes/KGame/KGameErrorDialog
|  
| kgame
|-
|-
| includes/KGame/KGameIO
| includes/KGame/KGameIO
|  
| kgame
|-
|-
| includes/KGame/KGameMessage
| includes/KGame/KGameMessage
|  
| kgame
|-
|-
| includes/KGame/KGameNetwork
| includes/KGame/KGameNetwork
|  
| kgame
|-
|-
| includes/KGame/KGameProcess
| includes/KGame/KGameProcess
|  
| kgame
|-
|-
| includes/KGame/KGameProperty
| includes/KGame/KGameProperty
|  
| kgame
|-
|-
| includes/KGame/KGamePropertyArray
| includes/KGame/KGamePropertyArray
|  
| kgame
|-
|-
| includes/KGame/KGamePropertyHandler
| includes/KGame/KGamePropertyHandler
|  
| kgame
|-
|-
| includes/KGame/KGameSequence
| includes/KGame/KGameSequence
|  
| kgame
|-
|-
| includes/KGame/KGameVersion
| includes/KGame/KGameVersion
|  
| kgame
|-
|-
| includes/KGame/KMessageClient
| includes/KGame/KMessageClient
|  
| kgame
|-
|-
| includes/KGame/KMessageIO
| includes/KGame/KMessageIO
|  
| kgame
|-
|-
| includes/KGame/KMessageServer
| includes/KGame/KMessageServer
|  
| kgame
|-
|-
| includes/KGame/KPlayer
| includes/KGame/KPlayer
|  
| kgame
|-
|-
| includes/KGameLCD
| includes/KGameLCD
Line 389: Line 404:
|-
|-
| includes/KGameTheme
| includes/KGameTheme
|  
| theming
|-
|-
| includes/KGameThemeSelector
| includes/KGameThemeSelector
|  
| theming
|-
|-
| includes/KGGZRankingsDialog
| includes/KGGZRankingsDialog

Revision as of 18:02, 8 February 2012

libkdegames v5 is the new iteration of libkdegames which is intended to ship with KDE Development Platform 5 (though it may also happen earlier, e.g. 4.9). The aim for this new iteration of the library is to remove most of the API that is obsolete, unused or in a state of bad quality, in order to improve maintainability and relevance of the remaining API. Also, QtWidgets-specific parts need to be separated to prepare for QML-based games.

The fine print: The SO version for libkdegames v5 is actually 6.

List of components

libkdegames consists of multiple (possibly interdependent) components, as defined by this list. The "Dependencies" column records only dependencies to other libkdegames components. See the table below for which file belongs to which component.

Component Short desc. Dependencies Current maintainer
highscore Highscore recording and GUI. -
kchat Chat widget. -
kgame General game framework. kchat
kgamecanvas Alternative to QGraphicsView. kgamerenderer (integration)
kgamerenderer Rendering of theme graphics. theming Stefan Majewsky
kggz Network-enabled multiplayer. -
theming Management of SVG themes. -

List of files

Source file Belongs to component
cardcache.cpp/h/ph
carddeckinfo.cpp/h/ph
chooserastergraphicssystem.cpp
colorproxy_p.cpp/h kgamerenderer
digits/kgamesvgdigits.cpp/h
highscore/kexthighscore.cpp/h highscore
highscore/kexthighscore_gui.cpp/h highscore
highscore/kexthighscore_internal.cpp/h highscore
highscore/kexthighscore_item.cpp/h highscore
highscore/kexthighscore_tab.cpp/h highscore
highscore/khighscore.cpp/h highscore
highscore/kscoredialog.cpp/h highscore
kcarddialog.cpp/h
kchatbase.cpp/h kchat
kchatbaseitemdelegate.cpp/h kchat
kchatbasemodel.cpp/h kchat
kchat.cpp/h kchat
kchatdialog.cpp/h kchat
kgamecanvas.cpp/h kgamecanvas
kgameclock.cpp/h
kgame/dialogs/kgameconnectdialog.cpp/h kgame
kgame/dialogs/kgamedebugdialog.cpp/h kgame
kgame/dialogs/kgamedialogconfig.cpp/h kgame
kgame/dialogs/kgamedialog.cpp/h kgame
kgame/dialogs/kgameerrordialog.cpp/h kgame
kgamedifficulty.cpp/h
kgame/kgamechat.cpp/h kgame
kgame/kgame.cpp/h kgame
kgame/kgameerror.cpp/h kgame
kgame/kgameio.cpp/h kgame
kgame/kgamemessage.cpp/h kgame
kgame/kgamenetwork.cpp/h kgame
kgame/kgameprocess.cpp/h kgame
kgame/kgamepropertyarray.h kgame
kgame/kgameproperty.cpp/h kgame
kgame/kgamepropertyhandler.cpp/h kgame
kgame/kgamesequence.cpp/h kgame
kgame/kgameversion.h kgame
kgame/kmessageclient.cpp/h kgame
kgame/kmessageio.cpp/h kgame
kgame/kmessageserver.cpp/h/ph kgame
kgame/kplayer.cpp/h kgame
kgamelcd.cpp/h
kgamemisc.cpp/h
kgamepopupitem.cpp/h
kgameprogress.cpp/h
kgamerendereditem.cpp/h kgamerenderer
kgamerenderedobjectitem.cpp/h kgamerenderer
kgamerendererclient.cpp/h kgamerenderer
kgamerenderer.cpp/h/ph kgamerenderer
kgamesvgdocument.cpp/h/ph
kgametheme.cpp/h theming
kgamethemeselector.cpp/h theming
kggzgames/kggzgames_export.h kggz
kggzgames/kggzrankingsdialog.cpp/h kggz
kggzgames/kggzseatsdialog.cpp/h kggz
kggzmod/event.cpp/h kggz
kggzmod/kggzmod_export.h kggz
kggzmod/misc_private.h kggz
kggzmod/module.cpp/h/ph kggz
kggzmod/player.cpp/h/ph kggz
kggzmod/request.cpp/h kggz
kggzmod/statistics.cpp/h/ph kggz
kggznet/kggznet_export.h kggz
kggznet/kggzpacket.cpp/h kggz
kggznet/kggzraw.cpp/h kggz
kgrid2d.h
kstandardgameaction.cpp/h
libkdegames_export.h
tests/kgamepopupitemtest.cpp/h
tests/kgamepropertytest.cpp/h kgame
tests/kgamesvgdigitstest.cpp/h
tests/kgamesvgdocumenttest.cpp/h
includes/KCardCache
includes/KCardDeckInfo
includes/KCardDialog
includes/KChat kchat
includes/KChatBase kchat
includes/KChatBaseItemDelegate kchat
includes/KChatDialog kchat
includes/KExtHighscore highscore
includes/KGameCanvas kgamecanvas
includes/KGameClock
includes/KGameDifficulty
includes/KGame/KGame kgame
includes/KGame/KGameChat kgame
includes/KGame/KGameConnectDialog kgame
includes/KGame/KGameDebugDialog kgame
includes/KGame/KGameDialog kgame
includes/KGame/KGameDialogConfig kgame
includes/KGame/KGameError kgame
includes/KGame/KGameErrorDialog kgame
includes/KGame/KGameIO kgame
includes/KGame/KGameMessage kgame
includes/KGame/KGameNetwork kgame
includes/KGame/KGameProcess kgame
includes/KGame/KGameProperty kgame
includes/KGame/KGamePropertyArray kgame
includes/KGame/KGamePropertyHandler kgame
includes/KGame/KGameSequence kgame
includes/KGame/KGameVersion kgame
includes/KGame/KMessageClient kgame
includes/KGame/KMessageIO kgame
includes/KGame/KMessageServer kgame
includes/KGame/KPlayer kgame
includes/KGameLCD
includes/KGameMisc
includes/KGamePopupItem
includes/KGameProgress
includes/KGameRenderedItem kgamerenderer
includes/KGameRenderedObjectItem kgamerenderer
includes/KGameRenderer kgamerenderer
includes/KGameRendererClient kgamerenderer
includes/KGameSvgDigits
includes/KGameSvgDocument
includes/KGameTheme theming
includes/KGameThemeSelector theming
includes/KGGZRankingsDialog kggz
includes/KGGZSeatsDialog kggz
includes/KGrid2D
includes/KHighscore highscore
includes/KScoreDialog highscore
includes/KStandardGameAction