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
/
core
/
keyevent.h
diff --git
a/src/core/keyevent.h
b/src/core/keyevent.h
index
9c24fbb
..
b3f4d48
100644
(file)
--- a/
src/core/keyevent.h
+++ b/
src/core/keyevent.h
@@
-56,10
+56,10
@@
public:
protected:
explicit KeyEvent(EventManager::EventType type, QVariantMap &map, Network *network);
protected:
explicit KeyEvent(EventManager::EventType type, QVariantMap &map, Network *network);
- void toVariantMap(QVariantMap &map) const;
+ void toVariantMap(QVariantMap &map) const
override
;
-
virtual inline QString className() const
{ return "KeyEvent"; }
- virtual inline void debugInfo(QDebug &dbg) const
+
inline QString className() const override
{ return "KeyEvent"; }
+ inline void debugInfo(QDebug &dbg) const override
{
NetworkEvent::debugInfo(dbg);
dbg << ", prefix = " << qPrintable(prefix())
{
NetworkEvent::debugInfo(dbg);
dbg << ", prefix = " << qPrintable(prefix())