Contains Conan project related defines and version macros. More...
#include <QtCore/qglobal.h>
Namespaces | |
namespace | conan |
The main namespace used for all code related to Conan. | |
Defines | |
#define | CONAN_HELPER_DLL_IMPORT |
#define | CONAN_HELPER_DLL_EXPORT |
#define | CONAN_HELPER_DLL_LOCAL |
#define | CONAN_API |
#define | CONAN_LOCAL |
#define | CONAN_VERSION_STR "1.0.2" |
String representation of the current version number. | |
#define | CONAN_VERSION 0x010002 |
The current version number: (major << 16) + (minor << 8) + patch. | |
#define | CONAN_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch)) |
Used to check the current version against some other version: f.e. CONAN_VERSION >= CONAN_VERSION_CHECK(1, 0, 1). | |
#define | TO_SIGNAL(a) (QString ("%1%2").arg (QSIGNAL_CODE).arg (a).toAscii ().data ()) |
Similar to the SIGNAL() macro, but operates on string variables instead of string literals. | |
#define | TO_SLOT(a) (QString ("%1%2").arg (QSLOT_CODE).arg (a).toAscii ().data ()) |
Similar to the SLOT() macro, but operates on string variables instead of string literals. |
Contains Conan project related defines and version macros.
Conan - Connection Analyzer for Qt Copyright (C) 2008 - 2011 Elmar de Koning, edekoning@gmail.com
This file is part of Conan.
Conan is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
Conan 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 General Public License for more details.
You should have received a copy of the GNU General Public License along with Conan. If not, see <http://www.gnu.org/licenses/>.
#define CONAN_API |
#define CONAN_HELPER_DLL_EXPORT |
#define CONAN_HELPER_DLL_IMPORT |
#define CONAN_HELPER_DLL_LOCAL |
#define CONAN_LOCAL |
#define CONAN_VERSION 0x010002 |
The current version number: (major << 16) + (minor << 8) + patch.
#define CONAN_VERSION_CHECK | ( | major, | ||
minor, | ||||
patch | ||||
) | ((major<<16)|(minor<<8)|(patch)) |
Used to check the current version against some other version: f.e. CONAN_VERSION >= CONAN_VERSION_CHECK(1, 0, 1).
#define CONAN_VERSION_STR "1.0.2" |
String representation of the current version number.
#define TO_SIGNAL | ( | a | ) | (QString ("%1%2").arg (QSIGNAL_CODE).arg (a).toAscii ().data ()) |
Similar to the SIGNAL() macro, but operates on string variables instead of string literals.
#define TO_SLOT | ( | a | ) | (QString ("%1%2").arg (QSLOT_CODE).arg (a).toAscii ().data ()) |
Similar to the SLOT() macro, but operates on string variables instead of string literals.