Lines Matching refs:currentPost

62     MastodonPost *post = dynamic_cast<MastodonPost * >(currentPost());  in generateSign()
66 ss += QStringLiteral("<b>%1 - </b>").arg(getUsernameHyperlink(currentPost()->author)); in generateSign()
84 if (!currentPost()->repeatedFromUser.userName.isEmpty()) { in generateSign()
87 … .arg(currentPost()->repeatedFromUser.homePageUrl.toDisplayString()) in generateSign()
88 … .arg(microblog->userNameFromAcct(currentPost()->repeatedFromUser.userName))); in generateSign()
119 …tion(QIcon::fromTheme(QLatin1String("edit-undo")), i18n("Reply to %1", currentPost()->author.userN… in initUi()
124 …(QIcon::fromTheme(QLatin1String("document-edit")), i18n("Write to %1", currentPost()->author.userN… in initUi()
128 if (!currentPost()->isPrivate) { in initUi()
143 if (currentPost()->isPrivate) { in slotReply()
146 microblog->showDirectMessageDialog(account, currentPost()->author.userName); in slotReply()
148 QString replyto = QStringLiteral("@%1").arg(currentPost()->author.userName); in slotReply()
149 QString postId = currentPost()->postId; in slotReply()
150 QString username = currentPost()->author.userName; in slotReply()
151 if (!currentPost()->repeatedFromUser.userName.isEmpty()) { in slotReply()
152 replyto.prepend(QStringLiteral("@%1 ").arg(currentPost()->repeatedFromUser.userName)); in slotReply()
153 postId = currentPost()->repeatedPostId; in slotReply()
161 …Q_EMIT reply(QStringLiteral("@%1").arg(currentPost()->author.userName), QString(), currentPost()->… in slotWriteTo()
166 QString txt = QStringLiteral("@%1").arg(currentPost()->author.userName); in slotReplyToAll()
167 Q_EMIT reply(txt, currentPost()->postId, currentPost()->author.userName); in slotReplyToAll()
175 microBlog->toggleReblog(currentAccount(), currentPost()); in slotResendPost()
184 microBlog->toggleFavorite(currentAccount(), currentPost()); in toggleFavorite()
195 d->btnFavorite->setChecked(currentPost()->isFavorited); in updateFavStat()
196 if (currentPost()->isFavorited) { in updateFavStat()