telegram-qt icon indicating copy to clipboard operation
telegram-qt copied to clipboard

Codegen: Limit generated code line length by 100 symbols

Open Kaffeine opened this issue 6 years ago • 0 comments

For example stuff like MessagesRpcLayer::sendMessage

PendingUpdates *sendMessage(quint32 flags, const TLInputPeer &peer, quint32 replyToMsgId, const QString &message, quint64 randomId, const TLReplyMarkup &replyMarkup, const TLVector<TLMessageEntity> &entities);

should be regenerated as

PendingUpdates *sendMessage(quint32 flags, const TLInputPeer &peer, quint32 replyToMsgId,
                            const QString &message, quint64 randomId,
                            const TLReplyMarkup &replyMarkup,
                            const TLVector<TLMessageEntity> &entities);

See also: https://wiki.qt.io/Qt_Coding_Style#Line_breaks

Kaffeine avatar Feb 01 '19 08:02 Kaffeine