- explicit KeyEvent(EventManager::EventType type, Network *network, const QString &prefix, QString target,
- ExchangeType exchangeType, QByteArray key,
- const QDateTime ×tamp = QDateTime())
- : IrcEvent(type, network, prefix),
- _exchangeType(exchangeType),
- _target(std::move(target)),
- _key(std::move(key))
+ explicit KeyEvent(EventManager::EventType type,
+ Network* network,
+ QHash<IrcTagKey, QString> tags,
+ QString prefix,
+ QString target,
+ ExchangeType exchangeType,
+ QByteArray key,
+ const QDateTime& timestamp = QDateTime())
+ : IrcEvent(type, network, std::move(tags), std::move(prefix))
+ , _exchangeType(exchangeType)
+ , _target(std::move(target))
+ , _key(std::move(key))