aboutsummaryrefslogtreecommitdiff
path: root/src/base/QXmppLogger.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/QXmppLogger.h')
-rw-r--r--src/base/QXmppLogger.h5
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);
};