diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-03-22 12:46:47 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-03-22 12:46:47 +0000 |
| commit | 156eab7f9721047cc0f16f271c109745a78ff9fc (patch) | |
| tree | 0162e958c9480b3b85b143494bcf54e6071869b8 /source | |
| parent | 348b173dd5cf746ce9f8939aeb7bd2cc3ebb766d (diff) | |
| download | qxmpp-156eab7f9721047cc0f16f271c109745a78ff9fc.tar.gz | |
make QXmppLogger::log a slot
Diffstat (limited to 'source')
| -rw-r--r-- | source/QXmppLogger.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/QXmppLogger.h b/source/QXmppLogger.h index 087d00aa..e21c426d 100644 --- a/source/QXmppLogger.h +++ b/source/QXmppLogger.h @@ -63,11 +63,12 @@ public: void setLogFilePath(const QString&); QString logFilePath(); - virtual void log(QXmppLogger::MessageType type, const QString& str); - // deprecated accessors, use the form without "get" instead QXmppLogger::LoggingType Q_DECL_DEPRECATED getLoggingType(); +public slots: + void log(QXmppLogger::MessageType type, const QString& str); + signals: void message(QXmppLogger::MessageType type, const QString &str); |
