Commit b0dbcc86 authored by Dan Leinir Turthra Jensen's avatar Dan Leinir Turthra Jensen 🌈
Browse files

Add a bit of documentation (and remove an unneeded include)

parent f7855583
......@@ -26,6 +26,9 @@
#include <Accounts/Account>
/**
* @brief A model representing all the accounts registered on a system
*/
class KACCOUNTS_EXPORT AccountsModel : public QAbstractListModel
{
Q_OBJECT
......
......@@ -24,8 +24,13 @@
#include <QAbstractListModel>
#include <Accounts/Account>
/**
* @brief A model which represents the services in a single account
*
* You can create this manually, but usually you would get an instance of it from the
* AccountsModel::Roles::ServicesRole data role (model.services) of an AccountsModel
* instance.
*/
class KACCOUNTS_EXPORT ServicesModel : public QAbstractListModel
{
Q_OBJECT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment