diff options
| author | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-09-10 07:11:33 +0000 |
|---|---|---|
| committer | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-09-10 07:11:33 +0000 |
| commit | 6cc9d16586c0c1e758e110c813fdfe4df2a571cf (patch) | |
| tree | ecef3179dd9b56532412adc8825c0b1b2217e18d /src/QXmppVersionManager.h | |
| parent | 1ef2337f0c53e0ce7d848d73add2410f810edf91 (diff) | |
| download | qxmpp-6cc9d16586c0c1e758e110c813fdfe4df2a571cf.tar.gz | |
eol fix
Diffstat (limited to 'src/QXmppVersionManager.h')
| -rw-r--r-- | src/QXmppVersionManager.h | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/src/QXmppVersionManager.h b/src/QXmppVersionManager.h index 6d91b45a..8d7a19ce 100644 --- a/src/QXmppVersionManager.h +++ b/src/QXmppVersionManager.h @@ -1,56 +1,56 @@ -/*
- * Copyright (C) 2008-2010 The QXmpp developers
- *
- * Author:
- * Manjeet Dahiya
- *
- * Source:
- * http://code.google.com/p/qxmpp
- *
- * This file is a part of QXmpp library.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- */
-
-#ifndef QXMPPVERSIONMANAGER_H
-#define QXMPPVERSIONMANAGER_H
-
-#include <QObject>
-
-class QXmppOutgoingClient;
-class QXmppVersionIq;
-
-/// \brief The QXmppVersionManager class makes it possible to request for
-/// the software version of an entity as defined by XEP-0092: Software Version.
-///
-/// \ingroup Managers
-
-class QXmppVersionManager : public QObject
-{
- Q_OBJECT
-
-public:
- QXmppVersionManager(QXmppOutgoingClient* stream, QObject *parent = 0);
- void requestVersion(const QString& jid);
-
-signals:
- void versionReceived(const QXmppVersionIq&);
-
-private slots:
- void versionIqReceived(const QXmppVersionIq&);
-
-private:
- // reference to the xmpp stream (no ownership)
- QXmppOutgoingClient* m_stream;
-};
-
-#endif // QXMPPVERSIONMANAGER_H
+/* + * Copyright (C) 2008-2010 The QXmpp developers + * + * Author: + * Manjeet Dahiya + * + * Source: + * http://code.google.com/p/qxmpp + * + * This file is a part of QXmpp library. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + */ + +#ifndef QXMPPVERSIONMANAGER_H +#define QXMPPVERSIONMANAGER_H + +#include <QObject> + +class QXmppOutgoingClient; +class QXmppVersionIq; + +/// \brief The QXmppVersionManager class makes it possible to request for +/// the software version of an entity as defined by XEP-0092: Software Version. +/// +/// \ingroup Managers + +class QXmppVersionManager : public QObject +{ + Q_OBJECT + +public: + QXmppVersionManager(QXmppOutgoingClient* stream, QObject *parent = 0); + void requestVersion(const QString& jid); + +signals: + void versionReceived(const QXmppVersionIq&); + +private slots: + void versionIqReceived(const QXmppVersionIq&); + +private: + // reference to the xmpp stream (no ownership) + QXmppOutgoingClient* m_stream; +}; + +#endif // QXMPPVERSIONMANAGER_H |
