diff options
| author | Niels Ole Salscheider <niels_ole@salscheider-online.de> | 2017-09-04 12:58:48 +0200 |
|---|---|---|
| committer | Niels Ole Salscheider <niels_ole@salscheider-online.de> | 2017-09-04 19:44:01 +0200 |
| commit | ad7910dabd6cdbbb62fe4c8718f69e6c291a78cc (patch) | |
| tree | ab8befd3ab34c1c664cc683aeb9d2c5fd852ed06 /src/base/QXmppGlobal.cpp | |
| parent | 2a5ccd3bd191b75b9fa148a8fa7f3d3ddc225add (diff) | |
| download | qxmpp-ad7910dabd6cdbbb62fe4c8718f69e6c291a78cc.tar.gz | |
Generate QXmppGlobal from the build system
Diffstat (limited to 'src/base/QXmppGlobal.cpp')
| -rw-r--r-- | src/base/QXmppGlobal.cpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/base/QXmppGlobal.cpp b/src/base/QXmppGlobal.cpp deleted file mode 100644 index a0d9ce89..00000000 --- a/src/base/QXmppGlobal.cpp +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright (C) 2008-2014 The QXmpp developers - * - * Author: - * Manjeet Dahiya - * - * Source: - * https://github.com/qxmpp-project/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. - * - */ - - -#include "QXmppGlobal.h" - -QString QXmppVersion() -{ - return QString("%1.%2.%3").arg( - QString::number((QXMPP_VERSION >> 16) & 0xff), - QString::number((QXMPP_VERSION >> 8) & 0xff), - QString::number(QXMPP_VERSION & 0xff)); -} - |
