diff --git a/CMakeLists.txt b/CMakeLists.txt index 5832689..fcce5a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -73,7 +73,7 @@ target_compile_definitions(${PROJECT_NAME} PRIVATE QT_NO_CAST_TO_ASCII QT_NO_KEYWORDS QT_DEPRECATED_WARNINGS - QT_DISABLE_DEPRECATED_BEFORE=0x060200 + QT_DISABLE_DEPRECATED_BEFORE=0x060400 FRAMELESSHELPER_BUILD_LIBRARY ) diff --git a/LICENSE b/LICENSE index 8d90fcd..3f8cacc 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (C) 2020 by wangwenx190 (Yuhang Zhao) +Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 158699d..03ba7f1 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ Please refer to for more ```text MIT License -Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) +Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README_unix.md b/README_unix.md index 14fcca2..0a41357 100644 --- a/README_unix.md +++ b/README_unix.md @@ -52,7 +52,7 @@ helper.setHitTestVisibleInChrome(window, widget, true); ```text MIT License -Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) +Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README_win32.md b/README_win32.md index add6dcc..1c1b11e 100644 --- a/README_win32.md +++ b/README_win32.md @@ -160,7 +160,7 @@ Thanks [**Julien Maille**](https://github.com/JulienMaille) for adding the `QMai ```text MIT License -Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) +Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/examples/common.pri b/examples/common.pri index d3b6288..a7ae691 100644 --- a/examples/common.pri +++ b/examples/common.pri @@ -5,7 +5,7 @@ DEFINES += \ QT_NO_CAST_TO_ASCII \ QT_NO_KEYWORDS \ QT_DEPRECATED_WARNINGS \ - QT_DISABLE_DEPRECATED_BEFORE=0x060200 + QT_DISABLE_DEPRECATED_BEFORE=0x060400 RESOURCES += $$PWD/images.qrc win32 { CONFIG += windeployqt diff --git a/examples/example.rc b/examples/example.rc index 20fa365..2e173ce 100644 --- a/examples/example.rc +++ b/examples/example.rc @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/examples/mainwindow/CMakeLists.txt b/examples/mainwindow/CMakeLists.txt index 627e6d9..616d47a 100644 --- a/examples/mainwindow/CMakeLists.txt +++ b/examples/mainwindow/CMakeLists.txt @@ -33,5 +33,5 @@ target_compile_definitions(MainWindow PRIVATE QT_NO_CAST_TO_ASCII QT_NO_KEYWORDS QT_DEPRECATED_WARNINGS - QT_DISABLE_DEPRECATED_BEFORE=0x060200 + QT_DISABLE_DEPRECATED_BEFORE=0x060400 ) diff --git a/examples/mainwindow/main.cpp b/examples/mainwindow/main.cpp index 24c9fe4..f384f22 100644 --- a/examples/mainwindow/main.cpp +++ b/examples/mainwindow/main.cpp @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/examples/mainwindow/mainwindow.cpp b/examples/mainwindow/mainwindow.cpp index b8a5a19..1d7cc9a 100644 --- a/examples/mainwindow/mainwindow.cpp +++ b/examples/mainwindow/mainwindow.cpp @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/examples/mainwindow/mainwindow.h b/examples/mainwindow/mainwindow.h index 4f952fe..fbe1765 100644 --- a/examples/mainwindow/mainwindow.h +++ b/examples/mainwindow/mainwindow.h @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/examples/quick/CMakeLists.txt b/examples/quick/CMakeLists.txt index bcd1ac1..72a51b1 100644 --- a/examples/quick/CMakeLists.txt +++ b/examples/quick/CMakeLists.txt @@ -31,5 +31,5 @@ target_compile_definitions(Quick PRIVATE QT_NO_CAST_TO_ASCII QT_NO_KEYWORDS QT_DEPRECATED_WARNINGS - QT_DISABLE_DEPRECATED_BEFORE=0x060200 + QT_DISABLE_DEPRECATED_BEFORE=0x060400 ) diff --git a/examples/quick/main.cpp b/examples/quick/main.cpp index e71d536..d6c49d2 100644 --- a/examples/quick/main.cpp +++ b/examples/quick/main.cpp @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/examples/quick/qml/CloseButton.qml b/examples/quick/qml/CloseButton.qml index e69d61d..bdb31c3 100644 --- a/examples/quick/qml/CloseButton.qml +++ b/examples/quick/qml/CloseButton.qml @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/examples/quick/qml/MaximizeButton.qml b/examples/quick/qml/MaximizeButton.qml index 585a072..cf0d316 100644 --- a/examples/quick/qml/MaximizeButton.qml +++ b/examples/quick/qml/MaximizeButton.qml @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/examples/quick/qml/MinimizeButton.qml b/examples/quick/qml/MinimizeButton.qml index 520bc25..496c7f6 100644 --- a/examples/quick/qml/MinimizeButton.qml +++ b/examples/quick/qml/MinimizeButton.qml @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/examples/quick/qml/main.qml b/examples/quick/qml/main.qml index 2d38bd7..6d4634d 100644 --- a/examples/quick/qml/main.qml +++ b/examples/quick/qml/main.qml @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/examples/widget/CMakeLists.txt b/examples/widget/CMakeLists.txt index d64c8e5..050dfb2 100644 --- a/examples/widget/CMakeLists.txt +++ b/examples/widget/CMakeLists.txt @@ -31,5 +31,5 @@ target_compile_definitions(Widget PRIVATE QT_NO_CAST_TO_ASCII QT_NO_KEYWORDS QT_DEPRECATED_WARNINGS - QT_DISABLE_DEPRECATED_BEFORE=0x060200 + QT_DISABLE_DEPRECATED_BEFORE=0x060400 ) diff --git a/examples/widget/main.cpp b/examples/widget/main.cpp index 15e652d..b6e11cc 100644 --- a/examples/widget/main.cpp +++ b/examples/widget/main.cpp @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/examples/widget/widget.cpp b/examples/widget/widget.cpp index f3e2035..2f74fa0 100644 --- a/examples/widget/widget.cpp +++ b/examples/widget/widget.cpp @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/examples/widget/widget.h b/examples/widget/widget.h index 8aa921b..b05a55b 100644 --- a/examples/widget/widget.h +++ b/examples/widget/widget.h @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/framelesshelper.cpp b/framelesshelper.cpp index f6f162b..ddfb1cd 100644 --- a/framelesshelper.cpp +++ b/framelesshelper.cpp @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/framelesshelper.h b/framelesshelper.h index 5b7dd86..424c46e 100644 --- a/framelesshelper.h +++ b/framelesshelper.h @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/framelesshelper.rc b/framelesshelper.rc index 3f00019..88aea4e 100644 --- a/framelesshelper.rc +++ b/framelesshelper.rc @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/framelesshelper_global.h b/framelesshelper_global.h index 394ec23..506ebb8 100644 --- a/framelesshelper_global.h +++ b/framelesshelper_global.h @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/framelesshelper_win32.cpp b/framelesshelper_win32.cpp index de3ab09..2c3ab10 100644 --- a/framelesshelper_win32.cpp +++ b/framelesshelper_win32.cpp @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/framelesshelper_win32.h b/framelesshelper_win32.h index e320bcf..9eb0e0e 100644 --- a/framelesshelper_win32.h +++ b/framelesshelper_win32.h @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/framelesshelper_windows.h b/framelesshelper_windows.h index b907314..a134909 100644 --- a/framelesshelper_windows.h +++ b/framelesshelper_windows.h @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/framelessquickhelper.cpp b/framelessquickhelper.cpp index 00d37f1..be3da62 100644 --- a/framelessquickhelper.cpp +++ b/framelessquickhelper.cpp @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/framelessquickhelper.h b/framelessquickhelper.h index 97e5614..29f98ed 100644 --- a/framelessquickhelper.h +++ b/framelessquickhelper.h @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/framelesswindowsmanager.cpp b/framelesswindowsmanager.cpp index 83d6b08..bf1d743 100644 --- a/framelesswindowsmanager.cpp +++ b/framelesswindowsmanager.cpp @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/framelesswindowsmanager.h b/framelesswindowsmanager.h index 9541335..29f433a 100644 --- a/framelesswindowsmanager.h +++ b/framelesswindowsmanager.h @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/lib.pro b/lib.pro index 308ca50..011f37b 100644 --- a/lib.pro +++ b/lib.pro @@ -9,7 +9,7 @@ DEFINES += \ QT_NO_CAST_TO_ASCII \ QT_NO_KEYWORDS \ QT_DEPRECATED_WARNINGS \ - QT_DISABLE_DEPRECATED_BEFORE=0x060200 \ + QT_DISABLE_DEPRECATED_BEFORE=0x060400 \ FRAMELESSHELPER_BUILD_LIBRARY HEADERS += \ framelesshelper_global.h \ diff --git a/qwinregistry.cpp b/qwinregistry.cpp index cc3c0c9..d0dd087 100644 --- a/qwinregistry.cpp +++ b/qwinregistry.cpp @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2019 The Qt Company Ltd. +** Copyright (C) 2022 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtCore module of the Qt Toolkit. diff --git a/qwinregistry_p.h b/qwinregistry_p.h index 62f95a9..2a4c3e0 100644 --- a/qwinregistry_p.h +++ b/qwinregistry_p.h @@ -1,6 +1,6 @@ /**************************************************************************** ** -** Copyright (C) 2019 The Qt Company Ltd. +** Copyright (C) 2022 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtCore module of the Qt Toolkit. diff --git a/utilities.cpp b/utilities.cpp index bf9c530..7b161f5 100644 --- a/utilities.cpp +++ b/utilities.cpp @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/utilities.h b/utilities.h index bba7d20..cb30304 100644 --- a/utilities.h +++ b/utilities.h @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/utilities_linux.cpp b/utilities_linux.cpp index dbe6f77..6c39c24 100644 --- a/utilities_linux.cpp +++ b/utilities_linux.cpp @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/utilities_macos.mm b/utilities_macos.mm index 53fb5a7..f73c417 100644 --- a/utilities_macos.mm +++ b/utilities_macos.mm @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal diff --git a/utilities_win32.cpp b/utilities_win32.cpp index 06ba733..0b95f63 100644 --- a/utilities_win32.cpp +++ b/utilities_win32.cpp @@ -1,7 +1,7 @@ /* * MIT License * - * Copyright (C) 2021 by wangwenx190 (Yuhang Zhao) + * Copyright (C) 2022 by wangwenx190 (Yuhang Zhao) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal