projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
modernize: Use override instead of virtual
[quassel.git]
/
src
/
common
/
ircevent.h
diff --git
a/src/common/ircevent.h
b/src/common/ircevent.h
index
e5a2313
..
c3611e4
100644
(file)
--- a/
src/common/ircevent.h
+++ b/
src/common/ircevent.h
@@
-46,10
+46,10
@@
public:
protected:
explicit IrcEvent(EventManager::EventType type, QVariantMap &map, Network *network);
protected:
explicit IrcEvent(EventManager::EventType type, QVariantMap &map, Network *network);
- void toVariantMap(QVariantMap &map) const;
+ void toVariantMap(QVariantMap &map) const
override
;
-
virtual inline QString className() const
{ return "IrcEvent"; }
- virtual inline void debugInfo(QDebug &dbg) const
+
inline QString className() const override
{ return "IrcEvent"; }
+ inline void debugInfo(QDebug &dbg) const override
{
NetworkEvent::debugInfo(dbg);
dbg << ", prefix = " << qPrintable(prefix())
{
NetworkEvent::debugInfo(dbg);
dbg << ", prefix = " << qPrintable(prefix())
@@
-79,10
+79,10
@@
public:
protected:
explicit IrcEventNumeric(EventManager::EventType type, QVariantMap &map, Network *network);
protected:
explicit IrcEventNumeric(EventManager::EventType type, QVariantMap &map, Network *network);
- void toVariantMap(QVariantMap &map) const;
+ void toVariantMap(QVariantMap &map) const
override
;
-
virtual inline QString className() const
{ return "IrcEventNumeric"; }
- virtual inline void debugInfo(QDebug &dbg) const
+
inline QString className() const override
{ return "IrcEventNumeric"; }
+ inline void debugInfo(QDebug &dbg) const override
{
dbg << ", num = " << number();
NetworkEvent::debugInfo(dbg);
{
dbg << ", num = " << number();
NetworkEvent::debugInfo(dbg);
@@
-121,10
+121,10
@@
public:
protected:
explicit IrcEventRawMessage(EventManager::EventType type, QVariantMap &map, Network *network);
protected:
explicit IrcEventRawMessage(EventManager::EventType type, QVariantMap &map, Network *network);
- void toVariantMap(QVariantMap &map) const;
+ void toVariantMap(QVariantMap &map) const
override
;
-
virtual inline QString className() const
{ return "IrcEventRawMessage"; }
- virtual inline void debugInfo(QDebug &dbg) const
+
inline QString className() const override
{ return "IrcEventRawMessage"; }
+ inline void debugInfo(QDebug &dbg) const override
{
NetworkEvent::debugInfo(dbg);
dbg << ", target = " << qPrintable(target())
{
NetworkEvent::debugInfo(dbg);
dbg << ", target = " << qPrintable(target())