refs #288, formatting, minor tweaks, utility methods, tabstops

This commit is contained in:
Klaus Basan
2014-11-15 01:18:35 +01:00
committed by Roland Winklmeier
parent 86167e14c5
commit 5ff28cb3a1
8 changed files with 45 additions and 11 deletions

View File

@@ -1,3 +1,12 @@
/* Copyright (C) 2013
* swift Project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
#include "setnetwork.h"
#include "blackcore/dbus_server.h"
#include "blackmisc/blackmiscfreefunctions.h"

View File

@@ -81,6 +81,9 @@ namespace BlackMisc
//! Message may already have been handled directly
bool isRedundant() const { return this->m_redundant; }
//! Info or debug, no warning or error
bool isSeverityInfoOrLess() const { return this->m_severity == SeverityInfo || this->m_severity == SeverityDebug; }
//! Mark the message as having been handled by the given object
void markAsHandledBy(const QObject *object) const;