refs #336 Renaming.

This commit is contained in:
Mathew Sutcliffe
2014-10-11 23:59:11 +01:00
parent e3446d78d8
commit 4549e84e05
2 changed files with 9 additions and 9 deletions

View File

@@ -41,8 +41,8 @@ namespace BlackMisc
//! Tell the CLogHandler to install itself with qInstallMessageHandler.
void install();
//! Return a category handler for subscribing to all messages whose category string starts with the given prefix.
CLogCategoryHandler *handlerForCategory(const QString &prefix);
//! Return a category handler for subscribing to all messages with a category starting with the given prefix.
CLogCategoryHandler *handlerForCategoryPrefix(const QString &prefix);
//! Enable or disable the default Qt handler.
void enableConsoleOutput(bool enable);
@@ -66,7 +66,7 @@ namespace BlackMisc
QtMessageHandler m_oldHandler = nullptr;
bool m_enableFallThrough = true;
bool isFallThroughEnabled(const QList<CLogCategoryHandler *> &handlers) const;
QMap<QString, CLogCategoryHandler *> m_categoryHandlers;
QMap<QString, CLogCategoryHandler *> m_categoryPrefixHandlers;
QList<CLogCategoryHandler *> handlersForCategory(const QString &category) const;
};