Home
last modified time | relevance | path

Searched refs:rcAccount (Results 1 – 14 of 14) sorted by relevance

/dports/net-im/ruqola/ruqola-1.6.1/src/widgets/channellist/
H A Dchannellistview.cpp111 if (rcAccount->teamEnabled()) { in contextMenuEvent()
113 Room *room = rcAccount->room(roomId); in contextMenuEvent()
172 auto *rcAccount = Ruqola::self()->rocketChatAccount(); in slotMoveToTeam() local
195 auto *rcAccount = Ruqola::self()->rocketChatAccount(); in slotConvertToChannel() local
198 rcAccount->restApi()->initializeRestApiJob(job); in slotConvertToChannel()
279 auto *rcAccount = Ruqola::self()->rocketChatAccount(); in slotMarkAsChannel() local
282 rcAccount->markRoomAsRead(roomId); in slotMarkAsChannel()
284 rcAccount->markRoomAsUnRead(roomId); in slotMarkAsChannel()
301 rcAccount->hideRoom(roomId, roomType); in slotHideChannel()
308 rcAccount->leaveRoom(roomId, roomType); in slotLeaveChannel()
[all …]
/dports/net-im/ruqola/ruqola-1.6.1/src/widgets/room/autotests/
H A Droomwidgettest.cpp88 RocketChatAccount *rcAccount = Ruqola::self()->rocketChatAccount(); in createRoom() local
89 Room *r = new Room(rcAccount); in createRoom()
102 RocketChatAccount *rcAccount = Ruqola::self()->rocketChatAccount(); in shouldStorePendingTextPerRoom() local
103 w.setCurrentRocketChatAccount(rcAccount); in shouldStorePendingTextPerRoom()
106 QVERIFY(rcAccount->roomModel()->addRoom(room1)); in shouldStorePendingTextPerRoom()
109 QVERIFY(rcAccount->roomModel()->addRoom(room2)); in shouldStorePendingTextPerRoom()
/dports/net-im/ruqola/ruqola-1.6.1/src/widgets/room/delegate/
H A Dmessagedelegatehelperbase.cpp113 auto *rcAccount = Ruqola::self()->rocketChatAccount(); in documentDescriptionForIndex() local
116 rcAccount->userName(), in documentDescriptionForIndex()
118 rcAccount->highlightWords(), in documentDescriptionForIndex()
119 rcAccount->emojiManager(), in documentDescriptionForIndex()
120 rcAccount->messageCache(), in documentDescriptionForIndex()
H A Dmessageattachmentdelegatehelpertext.cpp126 auto *rcAccount = Ruqola::self()->rocketChatAccount(); in handleMouseEvent() local
127 Q_EMIT rcAccount->openLinkRequested(link); in handleMouseEvent()
199 auto *rcAccount = Ruqola::self()->rocketChatAccount(); in documentForIndex() local
203 rcAccount->userName(), in documentForIndex()
205 rcAccount->highlightWords(), in documentForIndex()
206 rcAccount->emojiManager(), in documentForIndex()
207 rcAccount->messageCache(), in documentForIndex()
H A Dmessagedelegatehelpertext.cpp45 auto *rcAccount = Ruqola::self()->rocketChatAccount(); in makeMessageText() local
46 const MessageModel *model = rcAccount->messageModelForRoom(message->roomId()); in makeMessageText()
54 auto messageCache = rcAccount->messageCache(); in makeMessageText()
87rcAccount->userName(), in makeMessageText()
89rcAccount->highlightWords(), in makeMessageText()
90rcAccount->emojiManager(), in makeMessageText()
91rcAccount->messageCache(), in makeMessageText()
285 auto *rcAccount = Ruqola::self()->rocketChatAccount(); in handleMouseEvent() local
286 Q_EMIT rcAccount->openLinkRequested(link); in handleMouseEvent()
H A Dmessagedelegatehelperreactions.cpp33 auto *rcAccount = Ruqola::self()->rocketChatAccount(); in layoutReactions() local
34 auto *emojiManager = rcAccount->emojiManager(); in layoutReactions()
49 const QUrl emojiUrl = rcAccount->attachmentUrlFromLocalCache(fileName); in layoutReactions()
149 auto *rcAccount = Ruqola::self()->rocketChatAccount(); in handleMouseEvent() local
150 const bool doAdd = !reaction.userNames().contains(rcAccount->userName()); in handleMouseEvent()
151 rcAccount->reactOnMessage(message->messageId(), reaction.reactionName(), doAdd); in handleMouseEvent()
H A Dmessageattachmentdelegatehelperfile.cpp138 auto *rcAccount = Ruqola::self()->rocketChatAccount(); in runApplication() local
139 const QUrl downloadUrl = rcAccount->urlForLink(link); in runApplication()
140 …auto *job = rcAccount->restApi()->downloadFile(downloadUrl, fileUrl, QStringLiteral("text/plain")); in runApplication()
H A Dmessagelistdelegate.h39 void setRocketChatAccount(RocketChatAccount *rcAccount);
H A Dmessagelistdelegate.cpp72 void MessageListDelegate::setRocketChatAccount(RocketChatAccount *rcAccount) in setRocketChatAccount() argument
74 mAvatarCacheManager->setCurrentRocketChatAccount(rcAccount); in setRocketChatAccount()
75 mRocketChatAccount = rcAccount; in setRocketChatAccount()
/dports/net-im/ruqola/ruqola-1.6.1/src/core/model/
H A Demoticoncustommodel.cpp56 auto rcAccount = Ruqola::self()->rocketChatAccount(); in generateIcon() local
57 if (rcAccount) { in generateIcon()
58 const QString fileName = rcAccount->emojiManager()->customEmojiFileName(name); in generateIcon()
60 const QUrl emojiUrl = rcAccount->attachmentUrlFromLocalCache(fileName); in generateIcon()
H A Demoticonmodel.cpp32 auto rcAccount = Ruqola::self()->rocketChatAccount(); in createCustomIcon() local
33 if (rcAccount) { in createCustomIcon()
34 const QString fileName = rcAccount->emojiManager()->customEmojiFileName(name); in createCustomIcon()
36 const QUrl emojiUrl = rcAccount->attachmentUrlFromLocalCache(fileName); in createCustomIcon()
/dports/net-im/ruqola/ruqola-1.6.1/src/widgets/dialogs/
H A Dadduserscompletionlineedit.cpp26 auto *rcAccount = Ruqola::self()->rocketChatAccount(); in slotTextChanged() local
29 rcAccount->userAutocomplete(text, QString()); in slotTextChanged()
/dports/net-im/ruqola/ruqola-1.6.1/src/widgets/room/
H A Dusersinroommenu.cpp152 auto rcAccount = Ruqola::self()->rocketChatAccount(); in slotUserInfo() local
153 DirectChannelInfoDialog dlg(rcAccount, mParentWidget); in slotUserInfo()
155 dlg.setRoles(rcAccount->roleInfo()); in slotUserInfo()
/dports/net-im/ruqola/ruqola-1.6.1/src/core/autotests/
H A Dmessagemodeltest.cpp25 auto *rcAccount = Ruqola::self()->rocketChatAccount(); in initTestCase() local
26 QVERIFY(rcAccount); in initTestCase()
27 rcAccount->settings()->setUserId(QStringLiteral("userid1")); in initTestCase()