/dports/net-im/quaternion/Quaternion-0.0.95-beta3/client/models/ |
H A D | userlistmodel.cpp | 33 UserListModel::UserListModel(QObject* parent) in UserListModel() function in UserListModel 38 UserListModel::~UserListModel() = default; 40 void UserListModel::setRoom(Quotient::Room* room) in setRoom() 77 Quotient::User* UserListModel::userAt(QModelIndex index) in userAt() 127 int UserListModel::rowCount(const QModelIndex& parent) const in rowCount() 135 void UserListModel::userAdded(Quotient::User* user) in userAdded() 150 void UserListModel::userRemoved(Quotient::User* user) in userRemoved() 166 void UserListModel::filter(const QString& filterString) in filter() 197 void UserListModel::avatarChanged(Quotient::User* user, in avatarChanged() 204 int UserListModel::findUserPos(User* user) const in findUserPos() [all …]
|
H A D | userlistmodel.h | 31 class UserListModel: public QAbstractListModel 37 UserListModel(QObject* parent = nullptr); 38 virtual ~UserListModel();
|
/dports/net-im/spectral/spectral-817/src/ |
H A D | userlistmodel.cpp | 13 UserListModel::UserListModel(QObject* parent) in UserListModel() function in UserListModel 16 void UserListModel::setRoom(Quotient::Room* room) { in setRoom() 33 &UserListModel::userRemoved); in setRoom() 35 &UserListModel::userRemoved); in setRoom() 37 &UserListModel::userAdded); in setRoom() 92 void UserListModel::userAdded(Quotient::User* user) { in userAdded() 98 &UserListModel::avatarChanged); in userAdded() 101 void UserListModel::userRemoved(Quotient::User* user) { in userRemoved() 120 void UserListModel::avatarChanged(Quotient::User* user, in avatarChanged() 126 int UserListModel::findUserPos(User* user) const { in findUserPos() [all …]
|
/dports/net-im/neochat/neochat-1.2.0/src/ |
H A D | userlistmodel.cpp | 18 UserListModel::UserListModel(QObject *parent) in UserListModel() function in UserListModel 24 void UserListModel::setRoom(Quotient::Room *room) in setRoom() 68 Quotient::User *UserListModel::userAt(QModelIndex index) const in userAt() 76 QVariant UserListModel::data(const QModelIndex &index, int role) const in data() 141 int UserListModel::rowCount(const QModelIndex &parent) const in rowCount() 150 void UserListModel::userAdded(Quotient::User *user) in userAdded() 165 void UserListModel::userRemoved(Quotient::User *user) in userRemoved() 178 void UserListModel::refresh(Quotient::User *user, const QVector<int> &roles) in refresh() 195 int UserListModel::findUserPos(User *user) const in findUserPos() 200 int UserListModel::findUserPos(const QString &username) const in findUserPos() [all …]
|
/dports/graphics/drawpile/Drawpile-2.1.20/src/libclient/canvas/ |
H A D | userlist.cpp | 32 UserListModel::UserListModel(QObject *parent) in UserListModel() function in canvas::UserListModel 95 int UserListModel::columnCount(const QModelIndex&) const in columnCount() 130 void UserListModel::userLogin(const User &user) in userLogin() 157 void UserListModel::userLogout(int id) in userLogout() 168 void UserListModel::allLogout() in allLogout() 180 void UserListModel::reset() in reset() 238 QList<uint8_t> UserListModel::operatorList() const in operatorList() 249 QList<uint8_t> UserListModel::lockList() const in lockList() 260 QList<uint8_t> UserListModel::trustedList() const in trustedList() 271 User UserListModel::getUserById(int id) const in getUserById() [all …]
|
/dports/audio/murmur/mumble-1.3.3/src/mumble/ |
H A D | UserListModel.cpp | 15 UserListModel::UserListModel(const MumbleProto::UserList& userList, QObject *parent_) in UserListModel() function in UserListModel 30 int UserListModel::rowCount(const QModelIndex &parentIndex) const { in rowCount() 37 int UserListModel::columnCount(const QModelIndex &parentIndex) const { in columnCount() 68 QVariant UserListModel::data(const QModelIndex &dataIndex, int role) const { in data() 144 Qt::ItemFlags UserListModel::flags(const QModelIndex &flagIndex) const { in flags() 176 void UserListModel::removeRowsInSelection(const QItemSelection &selection) { in removeRowsInSelection() 223 MumbleProto::UserList UserListModel::getUserListUpdate() const { in getUserListUpdate() 236 bool UserListModel::isUserListDirty() const { in isUserListDirty() 240 bool UserListModel::isLegacy() const { in isLegacy() 261 QString UserListModel::pathForChannelId(const int channelId) const { in pathForChannelId() [all …]
|
H A D | UserEdit.cpp | 22 , m_model(new UserListModel(userList, this)) in UserEdit() 43 qtvUserList->header()->setSectionResizeMode(UserListModel::COL_NICK, QHeaderView::Stretch); in UserEdit() 46 qtvUserList->header()->setSectionResizeMode(UserListModel::COL_LASTCHANNEL, QHeaderView::Stretch); in UserEdit() 49 qtvUserList->header()->setResizeMode(UserListModel::COL_NICK, QHeaderView::Stretch); in UserEdit() 51 …qtvUserList->header()->setResizeMode(UserListModel::COL_INACTIVEDAYS, QHeaderView::ResizeToContent… in UserEdit() 52 qtvUserList->header()->setResizeMode(UserListModel::COL_LASTCHANNEL, QHeaderView::Stretch); in UserEdit() 62 qtvUserList->sortByColumn(UserListModel::COL_NICK, Qt::AscendingOrder); in UserEdit() 84 QModelIndex nickIndex = current.sibling(current.row(), UserListModel::COL_NICK); in on_qpbRename_clicked() 158 setFilterKeyColumn(UserListModel::COL_NICK); in UserListFilterProxyModel() 170 UserListModel::COL_INACTIVEDAYS, in filterAcceptsRow() [all …]
|
H A D | UserEdit.h | 15 class UserListModel; variable 51 UserListModel *m_model;
|
/dports/audio/mumble/mumble-1.3.3/src/mumble/ |
H A D | UserListModel.cpp | 15 UserListModel::UserListModel(const MumbleProto::UserList& userList, QObject *parent_) in UserListModel() function in UserListModel 30 int UserListModel::rowCount(const QModelIndex &parentIndex) const { in rowCount() 37 int UserListModel::columnCount(const QModelIndex &parentIndex) const { in columnCount() 68 QVariant UserListModel::data(const QModelIndex &dataIndex, int role) const { in data() 144 Qt::ItemFlags UserListModel::flags(const QModelIndex &flagIndex) const { in flags() 176 void UserListModel::removeRowsInSelection(const QItemSelection &selection) { in removeRowsInSelection() 223 MumbleProto::UserList UserListModel::getUserListUpdate() const { in getUserListUpdate() 236 bool UserListModel::isUserListDirty() const { in isUserListDirty() 240 bool UserListModel::isLegacy() const { in isLegacy() 261 QString UserListModel::pathForChannelId(const int channelId) const { in pathForChannelId() [all …]
|
H A D | UserEdit.cpp | 22 , m_model(new UserListModel(userList, this)) in UserEdit() 43 qtvUserList->header()->setSectionResizeMode(UserListModel::COL_NICK, QHeaderView::Stretch); in UserEdit() 46 qtvUserList->header()->setSectionResizeMode(UserListModel::COL_LASTCHANNEL, QHeaderView::Stretch); in UserEdit() 49 qtvUserList->header()->setResizeMode(UserListModel::COL_NICK, QHeaderView::Stretch); in UserEdit() 51 …qtvUserList->header()->setResizeMode(UserListModel::COL_INACTIVEDAYS, QHeaderView::ResizeToContent… in UserEdit() 52 qtvUserList->header()->setResizeMode(UserListModel::COL_LASTCHANNEL, QHeaderView::Stretch); in UserEdit() 62 qtvUserList->sortByColumn(UserListModel::COL_NICK, Qt::AscendingOrder); in UserEdit() 84 QModelIndex nickIndex = current.sibling(current.row(), UserListModel::COL_NICK); in on_qpbRename_clicked() 158 setFilterKeyColumn(UserListModel::COL_NICK); in UserListFilterProxyModel() 170 UserListModel::COL_INACTIVEDAYS, in filterAcceptsRow() [all …]
|
H A D | UserEdit.h | 15 class UserListModel; variable 51 UserListModel *m_model;
|
/dports/graphics/drawpile/Drawpile-2.1.20/src/desktop/chat/ |
H A D | useritemdelegate.cpp | 112 index.data(canvas::UserListModel::AvatarRole).value<QPixmap>() in paint() 149 index.data(canvas::UserListModel::NameRole).toString() in paint() 155 if(index.data(canvas::UserListModel::IsModRole).toBool()) { in paint() 159 if(index.data(canvas::UserListModel::IsOpRole).toBool()) in paint() 161 else if(index.data(canvas::UserListModel::IsTrustedRole).toBool()) in paint() 164 if(index.data(canvas::UserListModel::IsBotRole).toBool()) { in paint() 169 } else if(index.data(canvas::UserListModel::IsAuthRole).toBool()) { in paint() 223 const int userId = index.data(canvas::UserListModel::IdRole).toInt(); in editorEvent() 234 m_menuId = index.data(canvas::UserListModel::IdRole).toInt(); in showContextMenu() 263 index.data(canvas::UserListModel::IsOpRole).toBool() || in showContextMenu() [all …]
|
H A D | chatwidget.h | 25 namespace canvas { class UserListModel; } variable 43 void setUserList(canvas::UserListModel *userlist);
|
/dports/net-p2p/eiskaltdcpp-cli/eiskaltdcpp-2.2.10/eiskaltdcpp-qt/src/ |
H A D | UserListModel.cpp | 27 UserListModel::UserListModel(QObject * parent) : QAbstractItemModel(parent) { in UserListModel() function in UserListModel 39 UserListModel::~UserListModel() { in ~UserListModel() 44 int UserListModel::rowCount(const QModelIndex & ) const { in rowCount() 48 int UserListModel::columnCount(const QModelIndex & ) const { in columnCount() 52 bool UserListModel::hasChildren(const QModelIndex &parent) const{ in hasChildren() 56 bool UserListModel::canFetchMore(const QModelIndex &parent) const{ in canFetchMore() 280 void UserListModel::sort(int column, Qt::SortOrder order) { in sort() 314 void UserListModel::clear() { in clear() 326 void UserListModel::removeUser(const UserPtr &ptr) { in removeUser() 457 UserListItem *UserListModel::itemForPtr(const UserPtr &ptr){ in itemForPtr() [all …]
|
H A D | UserListModel.h | 104 class UserListModel : public QAbstractItemModel { 108 UserListModel(QObject * parent = 0); 109 virtual ~UserListModel();
|
/dports/net-p2p/eiskaltdcpp-gtk/eiskaltdcpp-2.2.10/eiskaltdcpp-qt/src/ |
H A D | UserListModel.cpp | 27 UserListModel::UserListModel(QObject * parent) : QAbstractItemModel(parent) { in UserListModel() function in UserListModel 39 UserListModel::~UserListModel() { in ~UserListModel() 44 int UserListModel::rowCount(const QModelIndex & ) const { in rowCount() 48 int UserListModel::columnCount(const QModelIndex & ) const { in columnCount() 52 bool UserListModel::hasChildren(const QModelIndex &parent) const{ in hasChildren() 56 bool UserListModel::canFetchMore(const QModelIndex &parent) const{ in canFetchMore() 280 void UserListModel::sort(int column, Qt::SortOrder order) { in sort() 314 void UserListModel::clear() { in clear() 326 void UserListModel::removeUser(const UserPtr &ptr) { in removeUser() 457 UserListItem *UserListModel::itemForPtr(const UserPtr &ptr){ in itemForPtr() [all …]
|
/dports/net-p2p/eiskaltdcpp-lib/eiskaltdcpp-2.2.10/eiskaltdcpp-qt/src/ |
H A D | UserListModel.cpp | 27 UserListModel::UserListModel(QObject * parent) : QAbstractItemModel(parent) { in UserListModel() function in UserListModel 39 UserListModel::~UserListModel() { in ~UserListModel() 44 int UserListModel::rowCount(const QModelIndex & ) const { in rowCount() 48 int UserListModel::columnCount(const QModelIndex & ) const { in columnCount() 52 bool UserListModel::hasChildren(const QModelIndex &parent) const{ in hasChildren() 56 bool UserListModel::canFetchMore(const QModelIndex &parent) const{ in canFetchMore() 280 void UserListModel::sort(int column, Qt::SortOrder order) { in sort() 314 void UserListModel::clear() { in clear() 326 void UserListModel::removeUser(const UserPtr &ptr) { in removeUser() 457 UserListItem *UserListModel::itemForPtr(const UserPtr &ptr){ in itemForPtr() [all …]
|
/dports/net-p2p/eiskaltdcpp-data/eiskaltdcpp-2.2.10/eiskaltdcpp-qt/src/ |
H A D | UserListModel.cpp | 27 UserListModel::UserListModel(QObject * parent) : QAbstractItemModel(parent) { in UserListModel() function in UserListModel 39 UserListModel::~UserListModel() { in ~UserListModel() 44 int UserListModel::rowCount(const QModelIndex & ) const { in rowCount() 48 int UserListModel::columnCount(const QModelIndex & ) const { in columnCount() 52 bool UserListModel::hasChildren(const QModelIndex &parent) const{ in hasChildren() 56 bool UserListModel::canFetchMore(const QModelIndex &parent) const{ in canFetchMore() 280 void UserListModel::sort(int column, Qt::SortOrder order) { in sort() 314 void UserListModel::clear() { in clear() 326 void UserListModel::removeUser(const UserPtr &ptr) { in removeUser() 457 UserListItem *UserListModel::itemForPtr(const UserPtr &ptr){ in itemForPtr() [all …]
|
/dports/net-p2p/eiskaltdcpp-daemon/eiskaltdcpp-2.2.10/eiskaltdcpp-qt/src/ |
H A D | UserListModel.cpp | 27 UserListModel::UserListModel(QObject * parent) : QAbstractItemModel(parent) { in UserListModel() function in UserListModel 39 UserListModel::~UserListModel() { in ~UserListModel() 44 int UserListModel::rowCount(const QModelIndex & ) const { in rowCount() 48 int UserListModel::columnCount(const QModelIndex & ) const { in columnCount() 52 bool UserListModel::hasChildren(const QModelIndex &parent) const{ in hasChildren() 56 bool UserListModel::canFetchMore(const QModelIndex &parent) const{ in canFetchMore() 280 void UserListModel::sort(int column, Qt::SortOrder order) { in sort() 314 void UserListModel::clear() { in clear() 326 void UserListModel::removeUser(const UserPtr &ptr) { in removeUser() 457 UserListItem *UserListModel::itemForPtr(const UserPtr &ptr){ in itemForPtr() [all …]
|
/dports/graphics/drawpile/Drawpile-2.1.20/src/thinsrv/gui/ |
H A D | userlistmodel.cpp | 27 UserListModel::UserListModel(QObject *parent) in UserListModel() function in server::gui::UserListModel 39 QVariant UserListModel::getData(const QString &key, const QJsonObject &u) const in getData() 58 Qt::ItemFlags UserListModel::getFlags(const QJsonObject &obj) const in getFlags()
|
H A D | userlistmodel.h | 27 class UserListModel : public JsonListModel 31 explicit UserListModel(QObject *parent=nullptr);
|
/dports/graphics/drawpile/Drawpile-2.1.20/src/desktop/toolwidgets/ |
H A D | inspectorsettings.h | 27 class UserListModel; variable 48 void setUserList(canvas::UserListModel *userlist) { m_userlist = userlist; } in setUserList() 58 canvas::UserListModel *m_userlist;
|
/dports/graphics/drawpile/Drawpile-2.1.20/src/desktop/dialogs/ |
H A D | serverlogdialog.h | 31 class UserListModel; variable 48 void setUserList(canvas::UserListModel *userlist); 75 canvas::UserListModel *m_userlist;
|
H A D | serverlogdialog.cpp | 75 void ServerLogDialog::setUserList(canvas::UserListModel *userlist) in setUserList() 98 …m_ui->kickUser->setEnabled(s && selected.indexes().first().data(canvas::UserListModel::IsOnlineRol… in userSelected() 113 …return selection.isEmpty() ? 0 : uint8_t(selection.first().data(canvas::UserListModel::IdRole).toI… in selectedUserId()
|
/dports/net-im/quaternion/Quaternion-0.0.95-beta3/client/ |
H A D | userlistdock.h | 30 class UserListModel; variable 61 UserListModel* m_model;
|