/usr/include/qt5qevercloud/qt4helpers.h is in qt5qevercloud-dev 3.0.3+ds-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | /**
* Original work: Copyright (c) 2014 Sergey Skoblikov
* Modified work: Copyright (c) 2015-2016 Dmitry Ivanov
*
* This file is a part of QEverCloud project and is distributed under the terms of MIT license:
* https://opensource.org/licenses/MIT
*
* This header provides the "backports" of several Qt5 macros into Qt4
* so that one can use Qt5 candies with Qt4 as well
*/
#ifndef QEVERCLOUD_QT4_HELPERS_H
#define QEVERCLOUD_QT4_HELPERS_H
#include <QtGlobal>
#if (QT_VERSION < QT_VERSION_CHECK(5, 0, 0))
#if __cplusplus >= 201103L
#define Q_DECL_OVERRIDE override
#define Q_DECL_FINAL final
#define Q_STATIC_ASSERT_X(x1,x2) static_assert(x1, x2)
#define Q_DECL_EQ_DELETE = delete
#define Q_NULLPTR nullptr
#else
#define Q_DECL_OVERRIDE
#define Q_DECL_FINAL
#define Q_STATIC_ASSERT_X(x1,x2)
#define Q_DECL_EQ_DELETE
#define Q_NULLPTR NULL
#endif
#define QStringLiteral(x) QString(QLatin1String(x))
#define QEC_SIGNAL(className, methodName, ...) SIGNAL(methodName(__VA_ARGS__))
#define QEC_SLOT(className, methodName, ...) SLOT(methodName(__VA_ARGS__))
#else // QT_VERSION
#define QEC_SIGNAL(className, methodName, ...) &className::methodName
#define QEC_SLOT(className, methodName, ...) &className::methodName
#endif // QT_VERSION
#endif // QEVERCLOUD_QT4_HELPERS_H
|