diff --git a/src/blackgui/userlistmodel.cpp b/src/blackgui/userlistmodel.cpp index 844a52df8..df202a3bc 100644 --- a/src/blackgui/userlistmodel.cpp +++ b/src/blackgui/userlistmodel.cpp @@ -13,13 +13,11 @@ namespace BlackGui CUserListModel::CUserListModel(QObject *parent) : CListModelBase("ViewUserList", parent) { - this->m_columns.addColumn(CUser::IndexId, "id"); this->m_columns.addColumn(CUser::IndexRealName, "realname"); this->m_columns.addColumn(CUser::IndexId, "userid"); this->m_columns.addColumn(CUser::IndexEmail, "email"); // force strings for translation in resource files - (void)QT_TRANSLATE_NOOP("ViewUserList", "id"); (void)QT_TRANSLATE_NOOP("ViewUserList", "realname"); (void)QT_TRANSLATE_NOOP("ViewUserList", "userid"); (void)QT_TRANSLATE_NOOP("ViewUserList", "email"); diff --git a/src/blackmisc/nwuser.h b/src/blackmisc/nwuser.h index 86620cc49..cda370957 100644 --- a/src/blackmisc/nwuser.h +++ b/src/blackmisc/nwuser.h @@ -121,20 +121,16 @@ namespace BlackMisc /*! * \brief Equal operator == - * \param other - * @return */ bool operator ==(const CUser &other) const; /*! - * \brief Unequal operator == - * \param other - * @return + * \brief Unequal operator != */ bool operator !=(const CUser &other) const; /*! - * \brief Value hash + * \copydoc CValueObject::getValueHash() */ virtual uint getValueHash() const; @@ -144,23 +140,19 @@ namespace BlackMisc static void registerMetadata(); /*! - * This another user exchange missing data - * This user has priority and overrides first + * This and another user exchange missing data. + * This user has priority and overrides first. * \param otherUser */ void syncronizeData(CUser &otherUser); /*! - * \brief Property by index - * \param index - * \return + * \copydoc CValueObject::propertyByIndex(int) */ QVariant propertyByIndex(int index) const; /*! - * \brief Property by index - * \param variant - * \param index + * \copydoc CValueObject::propertyByIndex(const QVariant, int) */ void propertyByIndex(const QVariant &variant, int index);