/***************************************************************************
- * Copyright (C) 2005-2013 by the Quassel Project *
+ * Copyright (C) 2005-2018 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef CTCPEVENT_H
-#define CTCPEVENT_H
+#pragma once
+
+#include "common-export.h"
#include "ircevent.h"
#include <QUuid>
-class CtcpEvent : public IrcEvent
+class COMMON_EXPORT CtcpEvent : public IrcEvent
{
public:
enum CtcpType {
protected:
explicit CtcpEvent(EventManager::EventType type, QVariantMap &map, Network *network);
- void toVariantMap(QVariantMap &map) const;
+ void toVariantMap(QVariantMap &map) const override;
- virtual inline QString className() const { return "CtcpEvent"; }
- virtual inline void debugInfo(QDebug &dbg) const
+ inline QString className() const override { return "CtcpEvent"; }
+ inline void debugInfo(QDebug &dbg) const override
{
NetworkEvent::debugInfo(dbg);
dbg << ", prefix = " << qPrintable(prefix())
QString _target, _param, _reply;
QUuid _uuid;
};
-
-
-#endif