diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-09-10 14:58:49 +0200 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-09-10 14:58:49 +0200 |
| commit | ca58ee37157f4ae9635ccdf3ab662c31ba0e6904 (patch) | |
| tree | fe4201a74d7f445c1a8cdd0c1ac4a69343094646 /src/base/QXmppLogger.h | |
| parent | 858c95cd64794ae78bf3f39805b933c6289bd84d (diff) | |
| download | qxmpp-ca58ee37157f4ae9635ccdf3ab662c31ba0e6904.tar.gz | |
add counters
Diffstat (limited to 'src/base/QXmppLogger.h')
| -rw-r--r-- | src/base/QXmppLogger.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/base/QXmppLogger.h b/src/base/QXmppLogger.h index 7178d960..b6181b96 100644 --- a/src/base/QXmppLogger.h +++ b/src/base/QXmppLogger.h @@ -90,6 +90,8 @@ public: public slots: virtual void incrementCounter(const QString &counter); + virtual void setGauge(const QString &gauge, double value); + void log(QXmppLogger::MessageType type, const QString& text); void reopen(); @@ -167,6 +169,9 @@ signals: /// Increment the given \a counter. void incrementCounter(const QString &counter); + /// Sets the given \a gauge to \a value. + void setGauge(const QString &gauge, double value); + /// This signal is emitted to send logging messages. void logMessage(QXmppLogger::MessageType type, const QString &msg); }; |
