GODT-1676: developer documentation. [skip ci]

Other: bridge-gui readme. [skip ci]
This commit is contained in:
Xavier Michelon
2022-08-15 19:35:13 +02:00
committed by Jakub
parent af51018e02
commit f221fead4a
12 changed files with 5437 additions and 75 deletions

View File

@ -57,7 +57,7 @@ DOXYFILE_ENCODING = UTF-8
# title of most generated pages and in a few other places.
# The default value is: My Project.
PROJECT_NAME = "Proton Mail Bridge Qt6"
PROJECT_NAME = "Proton Mail Bridge GUI"
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
# could be handy for archiving the generated documentation or if some version

View File

@ -83,18 +83,6 @@ int UserList::rowOfUserID(QString const &userID) const
}
//****************************************************************************************************************************************************
//
//****************************************************************************************************************************************************
void UserList::reset()
{
this->beginResetModel();
users_.clear();
this->endResetModel();
emit countChanged(0);
}
//****************************************************************************************************************************************************
/// \param[in] users The new user list.
//****************************************************************************************************************************************************

View File

@ -39,7 +39,6 @@ public: // member functions.
void connectGRPCEvents() const; ///< Connects gRPC event to the model.
int rowCount(QModelIndex const &parent) const override; ///< Return the number of row in the model
QVariant data(QModelIndex const &index, int role) const override; ///< Retrieve model data.
void reset(); ///< Reset the user list.
void reset(QList<bridgepp::SPUser> const &users); ///< Replace the user list.
int rowOfUserID(QString const &userID) const;
void removeUserAt(int row); ///< Remove the user at a given row