QStringList Telegram::messageIdsStringList() const { const QList<qint64> & msgs = messageIds(); QStringList result; foreach( qint64 id, msgs ) result << QString::number(id); return result; }
void VKHandlerDialogById::merge(VKAbstractHandler *_handler) { auto handler = dynamic_cast<VKHandlerDialogById*>(_handler); Q_ASSERT(handler); if (handler) { auto v = handler->messageIds(); for (auto e: v) { add(e); } } }