Sine Striker
2023-12-13 27604c5152cd9b768c31cbb1947e0138cea2c484
Remove qwkcoreglobal
6个文件已修改
1个文件已删除
39 ■■■■■ 已修改文件
src/core/CMakeLists.txt 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/core/qwindowkit_windows.h 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/core/qwkcoreglobal.h 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/core/qwkglobal.h 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/core/qwkglobal_p.h 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/core/windowagentbase.h 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/core/windowitemdelegate_p.h 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/core/CMakeLists.txt
@@ -4,7 +4,6 @@
)
set(_src
    qwkcoreglobal.h
    qwkglobal.h
    qwkglobal_p.h
    windowagentbase.h
src/core/qwindowkit_windows.h
@@ -4,7 +4,7 @@
#include <QtCore/qt_windows.h>
#include <QtCore/qglobal.h>
#include <QWKCore/qwkcoreglobal.h>
#include <QWKCore/qwkglobal.h>
#ifndef GET_X_LPARAM
#  define GET_X_LPARAM(lp) (static_cast<int>(static_cast<short>(LOWORD(lp))))
src/core/qwkcoreglobal.h
File was deleted
src/core/qwkglobal.h
@@ -4,7 +4,17 @@
#include <QtCore/QEvent>
#include <QtGui/QtEvents>
#include <QWKCore/qwkcoreglobal.h>
#ifndef QWK_CORE_EXPORT
#  ifdef QWK_CORE_STATIC
#    define QWK_CORE_EXPORT
#  else
#    ifdef QWK_CORE_LIBRARY
#      define QWK_CORE_EXPORT Q_DECL_EXPORT
#    else
#      define QWK_CORE_EXPORT Q_DECL_IMPORT
#    endif
#  endif
#endif
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
using QT_NATIVE_EVENT_RESULT_TYPE = qintptr;
src/core/qwkglobal_p.h
@@ -3,7 +3,7 @@
#include <QtCore/QLoggingCategory>
#include <QWKCore/qwkcoreglobal.h>
#include <QWKCore/qwkglobal.h>
QWK_CORE_EXPORT Q_DECLARE_LOGGING_CATEGORY(qWindowKitLog)
src/core/windowagentbase.h
@@ -5,7 +5,7 @@
#include <QtCore/QObject>
#include <QWKCore/qwkcoreglobal.h>
#include <QWKCore/qwkglobal.h>
namespace QWK {
src/core/windowitemdelegate_p.h
@@ -5,7 +5,7 @@
#include <QtCore/QPoint>
#include <QtGui/QWindow>
#include <QWKCore/qwkcoreglobal.h>
#include <QWKCore/qwkglobal.h>
namespace QWK {