* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
- virtual inline QString className() const { return "NetworkEvent"; }
- virtual inline void debugInfo(QDebug &dbg) const { dbg.nospace() << ", net = " << qPrintable(_network->networkName()); }
+ inline QString className() const override { return "NetworkEvent"; }
+ inline void debugInfo(QDebug &dbg) const override { dbg.nospace() << ", net = " << qPrintable(_network->networkName()); }
{
public:
explicit NetworkConnectionEvent(EventManager::EventType type, Network *network, Network::ConnectionState state)
{
public:
explicit NetworkConnectionEvent(EventManager::EventType type, Network *network, Network::ConnectionState state)
- virtual inline QString className() const { return "NetworkConnectionEvent"; }
- virtual inline void debugInfo(QDebug &dbg) const
+ inline QString className() const override { return "NetworkConnectionEvent"; }
+ inline void debugInfo(QDebug &dbg) const override
{
NetworkEvent::debugInfo(dbg);
dbg.nospace() << ", state = " << qPrintable(QString::number(_state));
{
NetworkEvent::debugInfo(dbg);
dbg.nospace() << ", state = " << qPrintable(QString::number(_state));
- virtual inline QString className() const { return "NetworkDataEvent"; }
- virtual inline void debugInfo(QDebug &dbg) const
+ inline QString className() const override { return "NetworkDataEvent"; }
+ inline void debugInfo(QDebug &dbg) const override
{
NetworkEvent::debugInfo(dbg);
dbg.nospace() << ", data = " << data();
{
NetworkEvent::debugInfo(dbg);
dbg.nospace() << ", data = " << data();
- virtual inline QString className() const { return "NetworkSplitEvent"; }
- virtual inline void debugInfo(QDebug &dbg) const
+ inline QString className() const override { return "NetworkSplitEvent"; }
+ inline void debugInfo(QDebug &dbg) const override
{
NetworkEvent::debugInfo(dbg);
dbg.nospace() << ", channel = " << qPrintable(channel())
{
NetworkEvent::debugInfo(dbg);
dbg.nospace() << ", channel = " << qPrintable(channel())