diff -Nru deepin-voice-note-6.0.6/assets/web/index.js deepin-voice-note-6.0.10/assets/web/index.js
--- deepin-voice-note-6.0.6/assets/web/index.js 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/assets/web/index.js 2023-06-07 05:40:02.000000000 +0000
@@ -82,6 +82,8 @@
var isUlOrOl = false
const airPopoverHeight = 44 //悬浮工具栏高度
const airPopoverWidth = 385 //悬浮工具栏宽度
+const airPopoverLeftMargin = 20 //悬浮工具栏距离编辑区左侧边距
+const airPopoverRightMargin = 15 //悬浮工具栏距离编辑区右侧边距
// 翻译列表
var tooltipContent = {
@@ -222,6 +224,30 @@
}
}
+/**
+ * 处理编辑页面大小改变事件
+ * @date 2023-05-30
+ * @param {any}
+ * @returns {any}
+ */
+window.onresize = function(){
+ updateAirPopoverPos()
+}
+
+/**
+ * 处理air-popover位置更新
+ * @date 2023-05-30
+ * @param {any}
+ * @returns {any}
+ */
+function updateAirPopoverPos() {
+ if (!$('.note-air-popover').is(':hidden')) {
+ if (getSelectedRange().innerHTML != "") {
+ $('#summernote').summernote('airPopover.update')
+ }
+ }
+}
+
// 判断编辑区是否为空
function isNoteNull() {
return $('.note-editable').html() === '
'
diff -Nru deepin-voice-note-6.0.6/assets/web/js/summernote_v9_2.js deepin-voice-note-6.0.10/assets/web/js/summernote_v9_2.js
--- deepin-voice-note-6.0.6/assets/web/js/summernote_v9_2.js 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/assets/web/js/summernote_v9_2.js 2023-06-07 05:40:02.000000000 +0000
@@ -493,7 +493,7 @@
/**
* returns true if all of the values in the array pass the predicate truth test.
* 通过条件返回true
- *
+ *
*/
function all(array, pred) {
for (var idx = 0, len = array.length; idx < len; idx++) {
@@ -1418,7 +1418,7 @@
function splitNode(point, options) {
var isSkipPaddingBlankHTML = options && options.isSkipPaddingBlankHTML;
var isNotSplitEdgePoint = options && options.isNotSplitEdgePoint;
- // edge case
+ // edge case
if (isEdgePoint(point) && (isText(point.node) || isNotSplitEdgePoint)) {
if (isLeftEdgePoint(point)) {
return point.node;
@@ -7154,9 +7154,20 @@
let left = Math.max(bnd.left + bnd.width / 2 - 150, 0);
let top = bnd.top - airPopoverHeight;
// 左边距判断,显示区域宽度-距离左边距离<工具栏宽度
- if (winWidth - left < airPopoverWidth + 10) {
- left = winWidth - airPopoverWidth - 10
+ if (winWidth - left < airPopoverWidth + airPopoverRightMargin) {
+ left = winWidth - airPopoverWidth - airPopoverRightMargin
+ }
+
+ // 根据UX意见,左边距最少20px
+ if (left <= airPopoverLeftMargin) {
+ // 当气泡工具栏显示不全时,让其紧贴编辑区左侧显示,
+ // 以便能完整显示气泡工具栏内容
+ if (left <= 2)
+ left = -5
+ else
+ left = airPopoverLeftMargin
}
+
// 上边距判断,工具栏上边距不小于34(tip高度,避免遮挡)
if (top < 34) {
top = bnd.top + bnd.height + 14
@@ -7897,4 +7908,4 @@
}
});
-})));
\ No newline at end of file
+})));
diff -Nru deepin-voice-note-6.0.6/CMakeLists.txt deepin-voice-note-6.0.10/CMakeLists.txt
--- deepin-voice-note-6.0.6/CMakeLists.txt 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/CMakeLists.txt 2023-06-07 05:40:02.000000000 +0000
@@ -98,6 +98,16 @@
# sourcedir
# .ts
+# 判断系统环境
+#file(STRINGS "/etc/os-version" MAJOR_STR REGEX "MajorVersion")
+execute_process(COMMAND cat /etc/os-version OUTPUT_VARIABLE OS_INFO_STR)
+string(REGEX MATCHALL "MajorVersion=[0-9]+" MAJOR_STR "${OS_INFO_STR}")
+string(REGEX MATCH "[0-9]+" MAJOR_VERSION "${MAJOR_STR}")
+if (MAJOR_VERSION MATCHES "23")
+ message("--------------------- OS_BUILD_V23 on")
+ add_definitions(-DOS_BUILD_V23)
+endif()
+
execute_process(COMMAND bash
${APP_TRANS_SCRIPT}
translations
diff -Nru deepin-voice-note-6.0.6/debian/changelog deepin-voice-note-6.0.10/debian/changelog
--- deepin-voice-note-6.0.6/debian/changelog 2023-01-12 04:36:06.000000000 +0000
+++ deepin-voice-note-6.0.10/debian/changelog 2023-06-09 11:09:23.000000000 +0000
@@ -1,25 +1,69 @@
-deepin-voice-note (6.0.6-1) lunar; urgency=medium
+deepin-voice-note (6.0.10-1) lunar; urgency=medium
- * New upstream release.
+ * New upstream release for lunar
- -- Ananta Mishra Thu, 12 Jan 2023 10:21:06 +0545
+ -- Ananta Mishra Fri, 09 Jun 2023 16:54:23 +0545
-deepin-voice-note (5.7.19-1) unstable; urgency=medium
+deepin-voice-note (6.0.10) unstable; urgency=medium
- *modified debian/changelog
- *deleted debian/compat
- *debian/control
- +Add Tu Qinggang to uploaders list.
- *modified debian/copyright
- *new file debian/deepin-voice-note.1
- *new file debian/manpages
- *modified debian/rules
- +Fix lintian tag hardening-no-bindnow
+ * New version 6.0.10
- -- Tu Qinggang Mon, 09 Nov 2020 07:57:26 +0800
+ -- wangcong Wed, 7 Jun 2023 13:22:45 +0800
+deepin-voice-note (6.0.9) unstable; urgency=medium
-deepin-voice-note (5.7.17-1) unstable; urgency=medium
-
- * Initial release (Closes: #971265)
+ * New version 6.0.9
- -- Tu Qinggang Mon, 28 Sep 2020 14:27:52 +0800
+ -- wangcong Wed, 7 Jun 2023 10:03:45 +0800
+deepin-voice-note (6.0.8) unstable; urgency=medium
+
+ * fix: Fix the issue of creating new text notes while using Ctrl+B bold text(Bug: 151155)
+ * chore: Update translations(Bug: 189815)
+
+ -- Deepin Packages Builder Wed, 24 May 2023 15:22:15 +0800
+
+deepin-voice-note (6.0.7) unstable; urgency=medium
+
+ * New version 6.0.7
+
+ -- wangcong Fri, 12 May 2023 11:46:45 +0800
+deepin-voice-note (6.0.6) unstable; urgency=medium
+
+ * New version 6.0.6
+
+ -- hemingyang Mon, 3 Jan 2023 15:10:45 +0800
+
+deepin-voice-note (6.0.5) unstable; urgency=medium
+
+ * New version 6.0.5
+
+ -- wangcong Mon, 28 Nov 2022 17:42:45 +0800
+
+deepin-voice-note (6.0.4) unstable; urgency=medium
+
+ * New version 6.0.4
+
+ -- hemingyang Tues, 08 Nov 2022 14:22:05 +0800
+
+deepin-voice-note (6.0.3) unstable; urgency=medium
+
+ * New version 6.0.3
+
+ -- hemingyang Thur, 20 Sep 2022 14:41:05 +0800
+
+deepin-voice-note (6.0.2) unstable; urgency=medium
+
+ * New version 6.0.2
+
+ -- hemingyang Thur, 15 Sep 2022 14:38:35 +0800
+
+deepin-voice-note (6.0.1) unstable; urgency=medium
+
+ * New version 6.0.1
+
+ -- hemingyang Mon, 5 Sep 2022 14:38:35 +0800
+
+deepin-voice-note (1.0) unstable; urgency=medium
+
+ * Initial release (Closes: #nnnn)
+
+ -- Deepin Packages Builder Wed, 11 Oct 2017 17:38:35 +0800
diff -Nru deepin-voice-note-6.0.6/debian/control deepin-voice-note-6.0.10/debian/control
--- deepin-voice-note-6.0.6/debian/control 2023-01-12 04:36:06.000000000 +0000
+++ deepin-voice-note-6.0.10/debian/control 2023-06-09 11:09:23.000000000 +0000
@@ -2,41 +2,32 @@
Section: devel
Priority: optional
Maintainer: Ananta Mishra
-XSBC-Original-Maintainer: Debian Deepin Packaging Team
-Uploaders:
- Tu Qinggang ,
- Clay Stan ,
Build-Depends:
- cmake,
debhelper-compat (= 13),
- libdframeworkdbus-dev (>= 5.2.0.3),
- libdframeworkdbus2 (>= 5.2.0.3),
- libdtkcore5-bin,
- libdtkwidget-dev,
- libdtkwidget5-bin,
+ cmake,
+ qttools5-dev-tools,
+ libutf8proc-dev,
+ qtbase5-dev,
+ pkg-config,
+ libsqlite3-dev,
+ qtmultimedia5-dev,
libglib2.0-dev,
+ libdtkwidget-dev (>= 5.5.17~),
+ libdtkwidget5-bin (>= 5.5.17~),
+ libdtkcore5-bin (>= 5.5.17~),
+ libdframeworkdbus-dev,
libgstreamer1.0-dev,
- libsqlite3-dev,
- libutf8proc-dev,
libvlc-dev,
libvlccore-dev,
- pkg-config,
- qtbase5-dev,
- qtbase5-private-dev,
- qtmultimedia5-dev,
- qttools5-dev-tools,
+ libqt5webchannel5-dev,
qtwebengine5-dev,
-Standards-Version: 4.6.2
-Homepage: https://github.com/linuxdeepin/deepin-voice-note
-Vcs-Browser: https://salsa.debian.org/debian/deepin-voice-note
-Vcs-Git: https://salsa.debian.org/debian/deepin-voice-note.git
+ libgtest-dev
+Standards-Version: 4.6.1
+#Vcs-Browser: https://salsa.debian.org/debian/voice-note
+#Vcs-Git: https://salsa.debian.org/debian/voice-note.git
Package: deepin-voice-note
Architecture: any
-Depends:
- ${misc:Depends},
- ${shlibs:Depends},
+Depends: ${shlibs:Depends}, ${misc:Depends}, gstreamer1.0-plugins-good, vlc-plugin-base, gstreamer1.0-pulseaudio
Description: Voice Notes is a lightweight memo tool to make text notes and voice recordings
- Voice Notes is a simple memo software with texts and voice recordings.
- You are able to save the recordings as MP3 format or texts.
- deepin voice note is a part of DDE(deepin desktop environment).
+ Voice Notes is a simple memo software with texts and voice recordings. You are able to save the recordings as MP3 format or texts.
\ No newline at end of file
diff -Nru deepin-voice-note-6.0.6/debian/copyright deepin-voice-note-6.0.10/debian/copyright
--- deepin-voice-note-6.0.6/debian/copyright 2023-01-12 04:34:22.000000000 +0000
+++ deepin-voice-note-6.0.10/debian/copyright 2023-06-09 11:06:14.000000000 +0000
@@ -1,10 +1,8 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: deepin-voice-note
-Upstream-Contact: https://github.com/linuxdeepin/deepin-voice-note/issues
-Source: https://github.com/linuxdeepin/deepin-voice-note
+Upstream-Name: voice-note
Files: *
-Copyright: 2015-2020 Deepin Technology Co., Ltd.
+Copyright: 2018 Deepin Technology Co., Ltd.
License: GPL-3+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -21,23 +19,3 @@
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
-
-Files: debian/*
-Copyright: 2015-2019, Deepin Technology Co., Ltd.
- 2020, Tu Qinggang
-License: LGPL-3+
- This package 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 3 of the License, or
- (at your option) any later version.
- .
- This package 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 Lesser General Public License
- along with this program. If not, see
- .
- On Debian systems, the complete text of the GNU Lesser General
- Public License version 3 can be found in "/usr/share/common-licenses/LGPL-3".
diff -Nru deepin-voice-note-6.0.6/debian/deepin-voice-note.1 deepin-voice-note-6.0.10/debian/deepin-voice-note.1
--- deepin-voice-note-6.0.6/debian/deepin-voice-note.1 2023-01-12 04:34:22.000000000 +0000
+++ deepin-voice-note-6.0.10/debian/deepin-voice-note.1 2023-06-09 11:06:14.000000000 +0000
@@ -1,29 +1,37 @@
-.TH deepin-voice-note 1 "2020-09-29" "Deepin"
-
+.\" Hey, EMACS: -*- nroff -*-
+.\" (C) Copyright 2021 hufeng ,
+.\"
+.TH "deepin-voice-note" "1" "2021-1-28" "Deepin"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
.SH NAME
-deepin\-voice\-note \- Deepin voive note
-
-.SH SYNOPSIS
-.B deepin\-voice\-note
-
+deepin-voice-note.
+.PP
.SH DESCRIPTION
-.B Deepin Voice Note
+Voice Notes is a lightweight memo tool to make text notes and voice recordings.
+.PP
Voice Notes is a simple memo software with texts and voice recordings. You are able to save the recordings as MP3 format or texts.
-
-.SH OPTIONS
.PP
-This program does not accept any command line options.
-
.SH SEE ALSO
-https://www.deepin.org/en/original/deepin-voice-note/
-
-.SH AUTHOR
+https://github.com/linuxdeepin/deepin-voice-note
.PP
-.B deepin\-voice\-note
-is written by Deepin Technology Co., Ltd.
+.SH AUTHOR
+.B deepin-voice-note is written by Deepin Technology Co., Ltd.
.PP
This manual page was written by
-.MT tuqinggang@\:uniontech.com
-Tu Qinggang
+.MT liuyanga@\:uniontech.com
+Liu Yang
.ME
-for the Debian Project (but may be used by others).
+for the Debian Project (but may be used by others)
+
+
diff -Nru deepin-voice-note-6.0.6/debian/rules deepin-voice-note-6.0.10/debian/rules
--- deepin-voice-note-6.0.6/debian/rules 2023-01-12 04:34:22.000000000 +0000
+++ deepin-voice-note-6.0.10/debian/rules 2023-06-09 11:06:14.000000000 +0000
@@ -1,7 +1,6 @@
#!/usr/bin/make -f
export QT_SELECT=5
-export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/default.mk
DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
@@ -11,13 +10,16 @@
export DH_VERBOSE=1
%:
- dh $@
+ dh $@ --parallel
override_dh_auto_configure:
dh_auto_configure -- \
-DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_SAFETYTEST_ARG="CMAKE_SAFETYTEST_ARG_OFF" \
-DAPP_VERSION=$(DEB_VERSION_UPSTREAM) -DVERSION=$(DEB_VERSION_UPSTREAM) LIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH)
-override_dh_clean:
- rm -f ./translations/*.qm
- dh_clean
+#Ignore the dpkg-shlibdeps: warning (it uses none of the library's symbols)
+#Qt Mutidedia lib will ref to network libraray.
+override_dh_shlibdeps:
+ dh_shlibdeps --dpkg-shlibdeps-params=--warnings=0
+
diff -Nru deepin-voice-note-6.0.6/debian/source/lintian-overrides deepin-voice-note-6.0.10/debian/source/lintian-overrides
--- deepin-voice-note-6.0.6/debian/source/lintian-overrides 1970-01-01 00:00:00.000000000 +0000
+++ deepin-voice-note-6.0.10/debian/source/lintian-overrides 2023-06-09 11:06:14.000000000 +0000
@@ -0,0 +1,2 @@
+deepin-voice-note source: source-is-missing assets/web/js/handlebars.js line length is 847 characters (>512)
+deepin-voice-note source: source-is-missing assets/web/css/font_4/iconfont.js line length is 13108 characters (>512)
diff -Nru deepin-voice-note-6.0.6/debian/watch deepin-voice-note-6.0.10/debian/watch
--- deepin-voice-note-6.0.6/debian/watch 2023-01-12 04:34:22.000000000 +0000
+++ deepin-voice-note-6.0.10/debian/watch 1970-01-01 00:00:00.000000000 +0000
@@ -1,4 +0,0 @@
-version=4
-opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%deepin-voice-note-$1.tar.gz%" \
- https://github.com/linuxdeepin/deepin-voice-note/tags \
- (?:.*?/)?v?(\d[\d.]*)\.tar\.gz debian uupdate
diff -Nru deepin-voice-note-6.0.6/.github/workflows/call-build-deb.yml deepin-voice-note-6.0.10/.github/workflows/call-build-deb.yml
--- deepin-voice-note-6.0.6/.github/workflows/call-build-deb.yml 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/.github/workflows/call-build-deb.yml 1970-01-01 00:00:00.000000000 +0000
@@ -1,17 +0,0 @@
-name: Call build-deb
-on:
- pull_request_target:
- paths-ignore:
- - ".github/workflows/**"
- types: [ opened, closed, synchronize ]
-
-concurrency:
- group: ${{ github.workflow }}-pull/${{ github.event.number }}
- cancel-in-progress: true
-
-jobs:
- check_job:
- if: github.event.action != 'closed' || github.event.pull_request.merged
- uses: linuxdeepin/.github/.github/workflows/build-deb.yml@master
- secrets:
- BridgeToken: ${{ secrets.BridgeToken }}
diff -Nru deepin-voice-note-6.0.6/.github/workflows/call-chatOps.yml deepin-voice-note-6.0.10/.github/workflows/call-chatOps.yml
--- deepin-voice-note-6.0.6/.github/workflows/call-chatOps.yml 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/.github/workflows/call-chatOps.yml 2023-06-07 05:40:02.000000000 +0000
@@ -6,5 +6,4 @@
jobs:
chatopt:
uses: linuxdeepin/.github/.github/workflows/chatOps.yml@master
- secrets:
- APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }}
+ secrets: inherit
diff -Nru deepin-voice-note-6.0.6/.github/workflows/call-tag-build.yml deepin-voice-note-6.0.10/.github/workflows/call-tag-build.yml
--- deepin-voice-note-6.0.6/.github/workflows/call-tag-build.yml 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/.github/workflows/call-tag-build.yml 1970-01-01 00:00:00.000000000 +0000
@@ -1,13 +0,0 @@
-name: tag build
-on:
- push:
- tags: "*"
-
-concurrency:
- group: ${{ github.workflow }}
- cancel-in-progress: true
-
-jobs:
- build:
- uses: linuxdeepin/.github/.github/workflows/tag-build.yml@master
- secrets: inherit
diff -Nru deepin-voice-note-6.0.6/.obs/workflows.yml deepin-voice-note-6.0.10/.obs/workflows.yml
--- deepin-voice-note-6.0.6/.obs/workflows.yml 1970-01-01 00:00:00.000000000 +0000
+++ deepin-voice-note-6.0.10/.obs/workflows.yml 2023-06-07 05:40:02.000000000 +0000
@@ -0,0 +1,44 @@
+test_build:
+ steps:
+ - link_package:
+ source_project: deepin:Develop:dde
+ source_package: %{SCM_REPOSITORY_NAME}
+ target_project: deepin:CI
+
+ - configure_repositories:
+ project: deepin:CI
+ repositories:
+ - name: deepin_develop
+ paths:
+ - target_project: deepin:CI
+ target_repository: deepin_develop
+ architectures:
+ - x86_64
+ - aarch64
+
+ - name: debian
+ paths:
+ - target_project: deepin:CI
+ target_repository: debian_sid
+ architectures:
+ - x86_64
+
+ filters:
+ event: pull_request
+
+tag_build:
+ steps:
+ - branch_package:
+ source_project: deepin:Develop:dde
+ source_package: %{SCM_REPOSITORY_NAME}
+ target_project: deepin:Unstable:dde
+ filters:
+ event: tag_push
+
+commit_build:
+ steps:
+ - trigger_services:
+ project: deepin:Develop:dde
+ package: %{SCM_REPOSITORY_NAME}
+ filters:
+ event: push
diff -Nru deepin-voice-note-6.0.6/.reuse/dep5 deepin-voice-note-6.0.10/.reuse/dep5
--- deepin-voice-note-6.0.6/.reuse/dep5 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/.reuse/dep5 2023-06-07 05:40:02.000000000 +0000
@@ -4,7 +4,7 @@
Source: https://github.com/linuxdeepin/deepin-voice-note
# ci
-Files: .github/*
+Files: .github/* .obs/workflows.yml
Copyright: None
License: CC0-1.0
diff -Nru deepin-voice-note-6.0.6/src/common/actionmanager.cpp deepin-voice-note-6.0.10/src/common/actionmanager.cpp
--- deepin-voice-note-6.0.6/src/common/actionmanager.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/actionmanager.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "actionmanager.h"
#include "common/opsstateinterface.h"
diff -Nru deepin-voice-note-6.0.6/src/common/actionmanager.h deepin-voice-note-6.0.10/src/common/actionmanager.h
--- deepin-voice-note-6.0.6/src/common/actionmanager.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/actionmanager.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef ACTIONFACTORY_H
#define ACTIONFACTORY_H
diff -Nru deepin-voice-note-6.0.6/src/common/audiowatcher.cpp deepin-voice-note-6.0.10/src/common/audiowatcher.cpp
--- deepin-voice-note-6.0.6/src/common/audiowatcher.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/audiowatcher.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,20 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Deepin Technology Co., Ltd.
-*
-* Author: zhangteng
-* Maintainer: zhangteng
-*
-* This program 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
-* any later version.
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Deepin Technology Co., Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#include "audiowatcher.h"
#include "globaldef.h"
@@ -50,10 +37,10 @@
m_defaultSinkPath = m_audioDBusInterface->property("DefaultSink").value().path();
initDefaultSinkDBusInterface();
qInfo() << "current input active port name:" << m_inAudioPort.name
- << "\ncurrent input active port availability:" << m_inAudioPort.availability
+ << "\ncurrent input active port availability(0 for Unknown, 1 for Not Available, 2 for Available.):" << m_inAudioPort.availability
<< "\ncurrent input device name:" << defaultSourceName()
<< "\ncurrent output active port name:" << m_outAudioPort.name
- << "\ncurrent output active port availability:" << m_outAudioPort.availability
+ << "\ncurrent output active port availability(0 for Unknown, 1 for Not Available, 2 for Available.):" << m_outAudioPort.availability
<< "\ncurrent output device name:" << defaultSinkName();
//监听音频服务的属性改变
QDBusConnection::sessionBus().connect(AudioService,
@@ -470,10 +457,10 @@
QDBusConnection::sessionBus());
if (inter->isValid()) {
- //qInfo() << "音频服务: "<< AudioService <<" 默认输入源地址"<< m_defaultSourcePath << " 属性接口:"<< PropertiesInterface;
+ qInfo() << "音频服务: "<< AudioService <<" 默认输入源地址"<< m_defaultSourcePath << " 属性接口:"<< PropertiesInterface;
QDBusReply reply = inter->call("Get", SourceInterface, "ActivePort");
reply.value().variant().value() >> port;
- //qInfo() << "ActivePort:" << port;
+ qInfo() << __LINE__ << __func__ << "ActivePort:" << port;
} else {
qWarning() << "默认输入源地址 (" << m_defaultSourcePath << ") 不存在";
}
@@ -525,10 +512,10 @@
QDBusConnection::sessionBus());
if (inter->isValid()) {
- //qInfo() << "音频服务: "<< AudioService <<" 默认输出源地址"<< m_defaultSinkPath << " 属性接口:"<< PropertiesInterface;
- QDBusReply reply = inter->call("Get", SourceInterface, "ActivePort");
+ qInfo() << "音频服务: "<< AudioService <<" 默认输出源地址"<< m_defaultSinkPath << " 属性接口:"<< PropertiesInterface;
+ QDBusReply reply = inter->call("Get", SinkInterface, "ActivePort");
reply.value().variant().value() >> port;
- //qInfo() << "ActivePort:" << port;
+ qInfo() << __LINE__ << __func__ << "ActivePort:" << port;
} else {
qWarning() << "默认输出源地址 (" << m_defaultSinkPath << ") 不存在";
}
diff -Nru deepin-voice-note-6.0.6/src/common/audiowatcher.h deepin-voice-note-6.0.10/src/common/audiowatcher.h
--- deepin-voice-note-6.0.6/src/common/audiowatcher.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/audiowatcher.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,51 +1,47 @@
-/*
-* Copyright (C) 2019 ~ 2020 Deepin Technology Co., Ltd.
-*
-* Author: zhangteng
-* Maintainer: zhangteng
-*
-* This program 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
-* any later version.
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Deepin Technology Co., Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef AudioWatcher_H
#define AudioWatcher_H
#include
#include
+#ifdef OS_BUILD_V23
/**
* @brief AudioService 音频服务名 org.deepin.dde.Audio1
*/
const static QString AudioService = QStringLiteral("org.deepin.dde.Audio1");
-//const static QString AudioService = QStringLiteral("com.deepin.daemon.Audio");
+
/**
* @brief AudioPath 服务地址 /org/deepin/dde/Audio1
*/
const static QString AudioPath = QStringLiteral("/org/deepin/dde/Audio1");
-//const static QString AudioPath = QStringLiteral("/com/deepin/daemon/Audio");
+
/**
* @brief AudioInterface 接口名称 org.deepin.dde.Audio1
*/
const static QString AudioInterface = QStringLiteral("org.deepin.dde.Audio1");
-//const static QString AudioInterface = QStringLiteral("com.deepin.daemon.Audio");
+
/**
* @brief SinkInterface 音频输出接口名称 org.deepin.dde.Audio1.Sink
*/
const static QString SinkInterface = QStringLiteral("org.deepin.dde.Audio1.Sink");
-//const static QString SinkInterface = QStringLiteral("com.deepin.daemon.Audio.Sink");
+
/**
* @brief SourceInterface 音频输入接口名称 org.deepin.dde.Audio1.Source
*/
const static QString SourceInterface = QStringLiteral("org.deepin.dde.Audio1.Source");
-//const static QString SourceInterface = QStringLiteral("com.deepin.daemon.Audio.Source");
+
+#else
+const static QString AudioService = QStringLiteral("com.deepin.daemon.Audio");
+const static QString AudioPath = QStringLiteral("/com/deepin/daemon/Audio");
+const static QString AudioInterface = QStringLiteral("com.deepin.daemon.Audio");
+const static QString SinkInterface = QStringLiteral("com.deepin.daemon.Audio.Sink");
+const static QString SourceInterface = QStringLiteral("com.deepin.daemon.Audio.Source");
+#endif
/**
* @brief PropertiesInterface 属性接口名称 org.freedesktop.DBus.Properties
*/
@@ -55,6 +51,7 @@
*/
const static QString PropertiesChanged = QStringLiteral("PropertiesChanged");
+
/**
* @brief The AudioPort class 音频端口
*/
diff -Nru deepin-voice-note-6.0.6/src/common/datatypedef.cpp deepin-voice-note-6.0.10/src/common/datatypedef.cpp
--- deepin-voice-note-6.0.6/src/common/datatypedef.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/datatypedef.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "datatypedef.h"
#include "common/vnoteforlder.h"
#include "common/vnoteitem.h"
diff -Nru deepin-voice-note-6.0.6/src/common/datatypedef.h deepin-voice-note-6.0.10/src/common/datatypedef.h
--- deepin-voice-note-6.0.6/src/common/datatypedef.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/datatypedef.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef DATATYPEDEF_H
#define DATATYPEDEF_H
diff -Nru deepin-voice-note-6.0.6/src/common/eventlogutils.cpp deepin-voice-note-6.0.10/src/common/eventlogutils.cpp
--- deepin-voice-note-6.0.6/src/common/eventlogutils.cpp 1970-01-01 00:00:00.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/eventlogutils.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -0,0 +1,43 @@
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd
+// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#include
+#include
+#include
+#include
+
+#include "eventlogutils.h"
+
+EventLogUtils *EventLogUtils::mInstance(nullptr);
+
+EventLogUtils &EventLogUtils::get()
+{
+ if (mInstance == nullptr) {
+ mInstance = new EventLogUtils;
+ }
+ return *mInstance;
+}
+
+EventLogUtils::EventLogUtils()
+{
+ QLibrary library("libdeepin-event-log.so");
+
+ init =reinterpret_cast(library.resolve("Initialize"));
+ writeEventLog = reinterpret_cast(library.resolve("WriteEventLog"));
+
+ if (init == nullptr)
+ return;
+
+ init("deepin-voice-note", true);
+}
+
+void EventLogUtils::writeLogs(QJsonObject &data)
+{
+ if (writeEventLog == nullptr)
+ return;
+
+ //std::string str = QJsonDocument(data).toJson(QJsonDocument::Compact).toStdString();
+ writeEventLog(QJsonDocument(data).toJson(QJsonDocument::Compact).toStdString());
+}
diff -Nru deepin-voice-note-6.0.6/src/common/eventlogutils.h deepin-voice-note-6.0.10/src/common/eventlogutils.h
--- deepin-voice-note-6.0.6/src/common/eventlogutils.h 1970-01-01 00:00:00.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/eventlogutils.h 2023-06-07 05:40:02.000000000 +0000
@@ -0,0 +1,34 @@
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd
+// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#ifndef EVENTLOGUTILS_H
+#define EVENTLOGUTILS_H
+
+#include
+#include
+
+class EventLogUtils
+{
+public:
+ enum EventTID {
+ OpeningTime = 1000000000,
+ ClosingTime = 1000000001,
+ Start = 1000000003,
+ Quit = 1000000004
+ };
+
+ static EventLogUtils &get();
+ void writeLogs(QJsonObject &data);
+
+private:
+ bool (*init)(const std::string &packagename, bool enable_sig) = nullptr;
+ void (*writeEventLog)(const std::string &eventdata) = nullptr;
+
+ static EventLogUtils *mInstance;
+
+ EventLogUtils();
+};
+
+#endif // EVENTLOGUTILS_H
diff -Nru deepin-voice-note-6.0.6/src/common/gstreamrecorder.cpp deepin-voice-note-6.0.10/src/common/gstreamrecorder.cpp
--- deepin-voice-note-6.0.6/src/common/gstreamrecorder.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/gstreamrecorder.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "gstreamrecorder.h"
#include
diff -Nru deepin-voice-note-6.0.6/src/common/gstreamrecorder.h deepin-voice-note-6.0.10/src/common/gstreamrecorder.h
--- deepin-voice-note-6.0.6/src/common/gstreamrecorder.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/gstreamrecorder.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef GSTREAMRECORDER_H
#define GSTREAMRECORDER_H
diff -Nru deepin-voice-note-6.0.6/src/common/jscontent.cpp deepin-voice-note-6.0.10/src/common/jscontent.cpp
--- deepin-voice-note-6.0.6/src/common/jscontent.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/jscontent.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "jscontent.h"
#include
diff -Nru deepin-voice-note-6.0.6/src/common/jscontent.h deepin-voice-note-6.0.10/src/common/jscontent.h
--- deepin-voice-note-6.0.6/src/common/jscontent.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/jscontent.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef JSCONTENT_H
#define JSCONTENT_H
diff -Nru deepin-voice-note-6.0.6/src/common/metadataparser.cpp deepin-voice-note-6.0.10/src/common/metadataparser.cpp
--- deepin-voice-note-6.0.6/src/common/metadataparser.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/metadataparser.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "metadataparser.h"
#include "vnoteitem.h"
#include "common/utils.h"
diff -Nru deepin-voice-note-6.0.6/src/common/metadataparser.h deepin-voice-note-6.0.10/src/common/metadataparser.h
--- deepin-voice-note-6.0.6/src/common/metadataparser.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/metadataparser.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef METADATAPARSER_H
#define METADATAPARSER_H
diff -Nru deepin-voice-note-6.0.6/src/common/opsstateinterface.cpp deepin-voice-note-6.0.10/src/common/opsstateinterface.cpp
--- deepin-voice-note-6.0.6/src/common/opsstateinterface.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/opsstateinterface.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "opsstateinterface.h"
#include
#include
diff -Nru deepin-voice-note-6.0.6/src/common/opsstateinterface.h deepin-voice-note-6.0.10/src/common/opsstateinterface.h
--- deepin-voice-note-6.0.6/src/common/opsstateinterface.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/opsstateinterface.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef OPSSTATEINTERFACE_H
#define OPSSTATEINTERFACE_H
diff -Nru deepin-voice-note-6.0.6/src/common/performancemonitor.cpp deepin-voice-note-6.0.10/src/common/performancemonitor.cpp
--- deepin-voice-note-6.0.6/src/common/performancemonitor.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/performancemonitor.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "performancemonitor.h"
#include
#include
diff -Nru deepin-voice-note-6.0.6/src/common/performancemonitor.h deepin-voice-note-6.0.10/src/common/performancemonitor.h
--- deepin-voice-note-6.0.6/src/common/performancemonitor.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/performancemonitor.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef PERFORMANCEMONITOR_H
#define PERFORMANCEMONITOR_H
diff -Nru deepin-voice-note-6.0.6/src/common/setting.cpp deepin-voice-note-6.0.10/src/common/setting.cpp
--- deepin-voice-note-6.0.6/src/common/setting.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/setting.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "setting.h"
#include
diff -Nru deepin-voice-note-6.0.6/src/common/setting.h deepin-voice-note-6.0.10/src/common/setting.h
--- deepin-voice-note-6.0.6/src/common/setting.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/setting.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef SETTING_H
#define SETTING_H
diff -Nru deepin-voice-note-6.0.6/src/common/standarditemcommon.cpp deepin-voice-note-6.0.10/src/common/standarditemcommon.cpp
--- deepin-voice-note-6.0.6/src/common/standarditemcommon.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/standarditemcommon.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "standarditemcommon.h"
/**
diff -Nru deepin-voice-note-6.0.6/src/common/standarditemcommon.h deepin-voice-note-6.0.10/src/common/standarditemcommon.h
--- deepin-voice-note-6.0.6/src/common/standarditemcommon.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/standarditemcommon.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef FOLDERTREECOMMON_H
#define FOLDERTREECOMMON_H
diff -Nru deepin-voice-note-6.0.6/src/common/utils.cpp deepin-voice-note-6.0.10/src/common/utils.cpp
--- deepin-voice-note-6.0.6/src/common/utils.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/utils.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "utils.h"
#include "globaldef.h"
#include "vnoteitem.h"
diff -Nru deepin-voice-note-6.0.6/src/common/utils.h deepin-voice-note-6.0.10/src/common/utils.h
--- deepin-voice-note-6.0.6/src/common/utils.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/utils.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include
#include
diff -Nru deepin-voice-note-6.0.6/src/common/vlcpalyer.cpp deepin-voice-note-6.0.10/src/common/vlcpalyer.cpp
--- deepin-voice-note-6.0.6/src/common/vlcpalyer.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/vlcpalyer.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "vlcpalyer.h"
#include
diff -Nru deepin-voice-note-6.0.6/src/common/vlcpalyer.h deepin-voice-note-6.0.10/src/common/vlcpalyer.h
--- deepin-voice-note-6.0.6/src/common/vlcpalyer.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/vlcpalyer.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef VLCPALYER_H
#define VLCPALYER_H
diff -Nru deepin-voice-note-6.0.6/src/common/vnotea2tmanager.cpp deepin-voice-note-6.0.10/src/common/vnotea2tmanager.cpp
--- deepin-voice-note-6.0.6/src/common/vnotea2tmanager.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/vnotea2tmanager.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "vnotea2tmanager.h"
#include
diff -Nru deepin-voice-note-6.0.6/src/common/vnotea2tmanager.h deepin-voice-note-6.0.10/src/common/vnotea2tmanager.h
--- deepin-voice-note-6.0.6/src/common/vnotea2tmanager.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/vnotea2tmanager.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef VNOTEA2TMANAGER_H
#define VNOTEA2TMANAGER_H
diff -Nru deepin-voice-note-6.0.6/src/common/vnotedatamanager.cpp deepin-voice-note-6.0.10/src/common/vnotedatamanager.cpp
--- deepin-voice-note-6.0.6/src/common/vnotedatamanager.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/vnotedatamanager.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "vnotedatamanager.h"
#include "db/vnotedbmanager.h"
#include "task/loadfolderworker.h"
diff -Nru deepin-voice-note-6.0.6/src/common/vnotedatamanager.h deepin-voice-note-6.0.10/src/common/vnotedatamanager.h
--- deepin-voice-note-6.0.6/src/common/vnotedatamanager.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/vnotedatamanager.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef VNOTEDATAMANAGER_H
#define VNOTEDATAMANAGER_H
diff -Nru deepin-voice-note-6.0.6/src/common/vnoteforlder.cpp deepin-voice-note-6.0.10/src/common/vnoteforlder.cpp
--- deepin-voice-note-6.0.6/src/common/vnoteforlder.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/vnoteforlder.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "vnoteforlder.h"
#include "common/vnotedatamanager.h"
diff -Nru deepin-voice-note-6.0.6/src/common/vnoteforlder.h deepin-voice-note-6.0.10/src/common/vnoteforlder.h
--- deepin-voice-note-6.0.6/src/common/vnoteforlder.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/vnoteforlder.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef VNOTEFORLDER_H
#define VNOTEFORLDER_H
diff -Nru deepin-voice-note-6.0.6/src/common/vnoteitem.cpp deepin-voice-note-6.0.10/src/common/vnoteitem.cpp
--- deepin-voice-note-6.0.6/src/common/vnoteitem.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/vnoteitem.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "vnoteitem.h"
#include "common/utils.h"
diff -Nru deepin-voice-note-6.0.6/src/common/vnoteitem.h deepin-voice-note-6.0.10/src/common/vnoteitem.h
--- deepin-voice-note-6.0.6/src/common/vnoteitem.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/vnoteitem.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef VNOTEITEM_H
#define VNOTEITEM_H
diff -Nru deepin-voice-note-6.0.6/src/common/vntaskworker.cpp deepin-voice-note-6.0.10/src/common/vntaskworker.cpp
--- deepin-voice-note-6.0.6/src/common/vntaskworker.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/vntaskworker.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "vntaskworker.h"
#include "task/vntask.h"
diff -Nru deepin-voice-note-6.0.6/src/common/vntaskworker.h deepin-voice-note-6.0.10/src/common/vntaskworker.h
--- deepin-voice-note-6.0.6/src/common/vntaskworker.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/vntaskworker.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef VNTASKWORKER_H
#define VNTASKWORKER_H
diff -Nru deepin-voice-note-6.0.6/src/common/vtextspeechandtrmanager.cpp deepin-voice-note-6.0.10/src/common/vtextspeechandtrmanager.cpp
--- deepin-voice-note-6.0.6/src/common/vtextspeechandtrmanager.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/vtextspeechandtrmanager.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,20 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Deepin Technology Co., Ltd.
-*
-* Author: zhangteng
-* Maintainer: zhangteng
-*
-* This program 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
-* any later version.
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Deepin Technology Co., Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#include "vtextspeechandtrmanager.h"
diff -Nru deepin-voice-note-6.0.6/src/common/vtextspeechandtrmanager.h deepin-voice-note-6.0.10/src/common/vtextspeechandtrmanager.h
--- deepin-voice-note-6.0.6/src/common/vtextspeechandtrmanager.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/common/vtextspeechandtrmanager.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,20 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Deepin Technology Co., Ltd.
-*
-* Author: zhangteng
-* Maintainer: zhangteng
-*
-* This program 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
-* any later version.
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Deepin Technology Co., Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef VTEXTSPEECHANDTRMANAGER_H
#define VTEXTSPEECHANDTRMANAGER_H
diff -Nru deepin-voice-note-6.0.6/src/db/dbvisitor.cpp deepin-voice-note-6.0.10/src/db/dbvisitor.cpp
--- deepin-voice-note-6.0.6/src/db/dbvisitor.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/db/dbvisitor.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "dbvisitor.h"
#include "globaldef.h"
#include "db/vnotefolderoper.h"
diff -Nru deepin-voice-note-6.0.6/src/db/dbvisitor.h deepin-voice-note-6.0.10/src/db/dbvisitor.h
--- deepin-voice-note-6.0.6/src/db/dbvisitor.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/db/dbvisitor.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef DBVISITOR_H
#define DBVISITOR_H
diff -Nru deepin-voice-note-6.0.6/src/db/vnotedbmanager.cpp deepin-voice-note-6.0.10/src/db/vnotedbmanager.cpp
--- deepin-voice-note-6.0.6/src/db/vnotedbmanager.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/db/vnotedbmanager.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "db/vnotedbmanager.h"
#include "db/dbvisitor.h"
#include "globaldef.h"
diff -Nru deepin-voice-note-6.0.6/src/db/vnotedbmanager.h deepin-voice-note-6.0.10/src/db/vnotedbmanager.h
--- deepin-voice-note-6.0.6/src/db/vnotedbmanager.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/db/vnotedbmanager.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef VNOTEDBMANAGER_H
#define VNOTEDBMANAGER_H
diff -Nru deepin-voice-note-6.0.6/src/db/vnotefolderoper.cpp deepin-voice-note-6.0.10/src/db/vnotefolderoper.cpp
--- deepin-voice-note-6.0.6/src/db/vnotefolderoper.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/db/vnotefolderoper.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "vnotefolderoper.h"
#include "common/utils.h"
#include "common/vnoteforlder.h"
diff -Nru deepin-voice-note-6.0.6/src/db/vnotefolderoper.h deepin-voice-note-6.0.10/src/db/vnotefolderoper.h
--- deepin-voice-note-6.0.6/src/db/vnotefolderoper.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/db/vnotefolderoper.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef VNOTEFOLDEROPER_H
#define VNOTEFOLDEROPER_H
diff -Nru deepin-voice-note-6.0.6/src/db/vnoteitemoper.cpp deepin-voice-note-6.0.10/src/db/vnoteitemoper.cpp
--- deepin-voice-note-6.0.6/src/db/vnoteitemoper.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/db/vnoteitemoper.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "vnoteitemoper.h"
#include "vnotefolderoper.h"
#include "vnotedbmanager.h"
diff -Nru deepin-voice-note-6.0.6/src/db/vnoteitemoper.h deepin-voice-note-6.0.10/src/db/vnoteitemoper.h
--- deepin-voice-note-6.0.6/src/db/vnoteitemoper.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/db/vnoteitemoper.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef VNOTEITEMOPER_H
#define VNOTEITEMOPER_H
diff -Nru deepin-voice-note-6.0.6/src/dbus/dbuslogin1manager.cpp deepin-voice-note-6.0.10/src/dbus/dbuslogin1manager.cpp
--- deepin-voice-note-6.0.6/src/dbus/dbuslogin1manager.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/dbus/dbuslogin1manager.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,27 +1,7 @@
-/*
- * Copyright (C) 2015 ~ 2018 Deepin Technology Co., Ltd.
- *
- * Author: sbw
- * kirigaya
- * Hualet
- *
- * Maintainer: sbw
- * kirigaya
- * Hualet
- *
- * This program 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
- * any later version.
- *
- * This program 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 this program. If not, see .
- */
+// Copyright (C) 2015 ~ 2018 Deepin Technology Co., Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
/*
* This file was generated by qdbusxml2cpp version 0.8
diff -Nru deepin-voice-note-6.0.6/src/dbus/dbuslogin1manager.h deepin-voice-note-6.0.10/src/dbus/dbuslogin1manager.h
--- deepin-voice-note-6.0.6/src/dbus/dbuslogin1manager.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/dbus/dbuslogin1manager.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,27 +1,7 @@
-/*
- * Copyright (C) 2015 ~ 2018 Deepin Technology Co., Ltd.
- *
- * Author: sbw
- * kirigaya
- * Hualet
- *
- * Maintainer: sbw
- * kirigaya
- * Hualet
- *
- * This program 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
- * any later version.
- *
- * This program 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 this program. If not, see .
- */
+// Copyright (C) 2015 ~ 2018 Deepin Technology Co., Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
/*
* This file was generated by qdbusxml2cpp version 0.8
diff -Nru deepin-voice-note-6.0.6/src/dbus/dbusvariant.cpp deepin-voice-note-6.0.10/src/dbus/dbusvariant.cpp
--- deepin-voice-note-6.0.6/src/dbus/dbusvariant.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/dbus/dbusvariant.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,27 +1,7 @@
-/*
- * Copyright (C) 2015 ~ 2018 Deepin Technology Co., Ltd.
- *
- * Author: sbw
- * kirigaya
- * Hualet
- *
- * Maintainer: sbw
- * kirigaya
- * Hualet
- *
- * This program 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
- * any later version.
- *
- * This program 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 this program. If not, see .
- */
+// Copyright (C) 2015 ~ 2018 Deepin Technology Co., Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#include "dbusvariant.h"
diff -Nru deepin-voice-note-6.0.6/src/dbus/dbusvariant.h deepin-voice-note-6.0.10/src/dbus/dbusvariant.h
--- deepin-voice-note-6.0.6/src/dbus/dbusvariant.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/dbus/dbusvariant.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,27 +1,7 @@
-/*
- * Copyright (C) 2015 ~ 2018 Deepin Technology Co., Ltd.
- *
- * Author: sbw
- * kirigaya
- * Hualet
- *
- * Maintainer: sbw
- * kirigaya
- * Hualet
- *
- * This program 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
- * any later version.
- *
- * This program 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 this program. If not, see .
- */
+// Copyright (C) 2015 ~ 2018 Deepin Technology Co., Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef DBUSVARIANT
#define DBUSVARIANT
diff -Nru deepin-voice-note-6.0.6/src/dialog/folderselectdialog.cpp deepin-voice-note-6.0.10/src/dialog/folderselectdialog.cpp
--- deepin-voice-note-6.0.6/src/dialog/folderselectdialog.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/dialog/folderselectdialog.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "folderselectdialog.h"
#include "views/leftviewdelegate.h"
#include "views/leftviewsortfilter.h"
diff -Nru deepin-voice-note-6.0.6/src/dialog/folderselectdialog.h deepin-voice-note-6.0.10/src/dialog/folderselectdialog.h
--- deepin-voice-note-6.0.6/src/dialog/folderselectdialog.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/dialog/folderselectdialog.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef FOLDERSELECTDIALOG_H
#define FOLDERSELECTDIALOG_H
diff -Nru deepin-voice-note-6.0.6/src/dialog/imageviewerdialog.cpp deepin-voice-note-6.0.10/src/dialog/imageviewerdialog.cpp
--- deepin-voice-note-6.0.6/src/dialog/imageviewerdialog.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/dialog/imageviewerdialog.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: leilong
-*
-* Maintainer: leilong
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#include "dialog/imageviewerdialog.h"
diff -Nru deepin-voice-note-6.0.6/src/dialog/imageviewerdialog.h deepin-voice-note-6.0.10/src/dialog/imageviewerdialog.h
--- deepin-voice-note-6.0.6/src/dialog/imageviewerdialog.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/dialog/imageviewerdialog.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: leilong
-*
-* Maintainer: leilong
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef DEEPIN_MANUAL_VIEW_WIDGETS_IMAGE_VIEWER_H
#define DEEPIN_MANUAL_VIEW_WIDGETS_IMAGE_VIEWER_H
diff -Nru deepin-voice-note-6.0.6/src/dialog/vnotebasedialog.cpp deepin-voice-note-6.0.10/src/dialog/vnotebasedialog.cpp
--- deepin-voice-note-6.0.6/src/dialog/vnotebasedialog.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/dialog/vnotebasedialog.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#include "dialog/vnotebasedialog.h"
#include "globaldef.h"
diff -Nru deepin-voice-note-6.0.6/src/dialog/vnotebasedialog.h deepin-voice-note-6.0.10/src/dialog/vnotebasedialog.h
--- deepin-voice-note-6.0.6/src/dialog/vnotebasedialog.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/dialog/vnotebasedialog.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef VNOTEBASEDIALOG_H
#define VNOTEBASEDIALOG_H
diff -Nru deepin-voice-note-6.0.6/src/dialog/vnotemessagedialog.cpp deepin-voice-note-6.0.10/src/dialog/vnotemessagedialog.cpp
--- deepin-voice-note-6.0.6/src/dialog/vnotemessagedialog.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/dialog/vnotemessagedialog.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#include "vnotemessagedialog.h"
diff -Nru deepin-voice-note-6.0.6/src/dialog/vnotemessagedialog.h deepin-voice-note-6.0.10/src/dialog/vnotemessagedialog.h
--- deepin-voice-note-6.0.6/src/dialog/vnotemessagedialog.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/dialog/vnotemessagedialog.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef VNOTEMESSAGEDIALOG_H
#define VNOTEMESSAGEDIALOG_H
diff -Nru deepin-voice-note-6.0.6/src/globaldef.h deepin-voice-note-6.0.10/src/globaldef.h
--- deepin-voice-note-6.0.6/src/globaldef.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/globaldef.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef GLOBALDEF_H
#define GLOBALDEF_H
diff -Nru deepin-voice-note-6.0.6/src/importolddata/olddataloadwokers.cpp deepin-voice-note-6.0.10/src/importolddata/olddataloadwokers.cpp
--- deepin-voice-note-6.0.6/src/importolddata/olddataloadwokers.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/importolddata/olddataloadwokers.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "olddataloadwokers.h"
#include "olddbvisistors.h"
#include "upgradedbutil.h"
diff -Nru deepin-voice-note-6.0.6/src/importolddata/olddataloadwokers.h deepin-voice-note-6.0.10/src/importolddata/olddataloadwokers.h
--- deepin-voice-note-6.0.6/src/importolddata/olddataloadwokers.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/importolddata/olddataloadwokers.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef OLDDATALOADWOKERS_H
#define OLDDATALOADWOKERS_H
diff -Nru deepin-voice-note-6.0.6/src/importolddata/olddbvisistors.cpp deepin-voice-note-6.0.10/src/importolddata/olddbvisistors.cpp
--- deepin-voice-note-6.0.6/src/importolddata/olddbvisistors.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/importolddata/olddbvisistors.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "olddbvisistors.h"
#include "common/vnoteforlder.h"
#include "common/vnoteitem.h"
diff -Nru deepin-voice-note-6.0.6/src/importolddata/olddbvisistors.h deepin-voice-note-6.0.10/src/importolddata/olddbvisistors.h
--- deepin-voice-note-6.0.6/src/importolddata/olddbvisistors.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/importolddata/olddbvisistors.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef OLDDBVISISTORS_H
#define OLDDBVISISTORS_H
diff -Nru deepin-voice-note-6.0.6/src/importolddata/upgradedbutil.cpp deepin-voice-note-6.0.10/src/importolddata/upgradedbutil.cpp
--- deepin-voice-note-6.0.6/src/importolddata/upgradedbutil.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/importolddata/upgradedbutil.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "upgradedbutil.h"
#include "vnoteolddatamanager.h"
#include "db/vnotedbmanager.h"
diff -Nru deepin-voice-note-6.0.6/src/importolddata/upgradedbutil.h deepin-voice-note-6.0.10/src/importolddata/upgradedbutil.h
--- deepin-voice-note-6.0.6/src/importolddata/upgradedbutil.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/importolddata/upgradedbutil.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef UPGRADEDBUTIL_H
#define UPGRADEDBUTIL_H
#include "common/datatypedef.h"
diff -Nru deepin-voice-note-6.0.6/src/importolddata/upgradeview.cpp deepin-voice-note-6.0.10/src/importolddata/upgradeview.cpp
--- deepin-voice-note-6.0.6/src/importolddata/upgradeview.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/importolddata/upgradeview.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "upgradeview.h"
#include "importolddata/vnoteolddatamanager.h"
#include "importolddata/olddataloadwokers.h"
diff -Nru deepin-voice-note-6.0.6/src/importolddata/upgradeview.h deepin-voice-note-6.0.10/src/importolddata/upgradeview.h
--- deepin-voice-note-6.0.6/src/importolddata/upgradeview.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/importolddata/upgradeview.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef UPGRADEVIEW_H
#define UPGRADEVIEW_H
diff -Nru deepin-voice-note-6.0.6/src/importolddata/vnoteolddatamanager.cpp deepin-voice-note-6.0.10/src/importolddata/vnoteolddatamanager.cpp
--- deepin-voice-note-6.0.6/src/importolddata/vnoteolddatamanager.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/importolddata/vnoteolddatamanager.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "vnoteolddatamanager.h"
#include "olddataloadwokers.h"
diff -Nru deepin-voice-note-6.0.6/src/importolddata/vnoteolddatamanager.h deepin-voice-note-6.0.10/src/importolddata/vnoteolddatamanager.h
--- deepin-voice-note-6.0.6/src/importolddata/vnoteolddatamanager.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/importolddata/vnoteolddatamanager.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef VNOTEOLDDATAMANAGER_H
#define VNOTEOLDDATAMANAGER_H
diff -Nru deepin-voice-note-6.0.6/src/main.cpp deepin-voice-note-6.0.10/src/main.cpp
--- deepin-voice-note-6.0.6/src/main.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/main.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "environments.h"
#include "vnoteapplication.h"
#include "views/vnotemainwindow.h"
diff -Nru deepin-voice-note-6.0.6/src/task/exportnoteworker.cpp deepin-voice-note-6.0.10/src/task/exportnoteworker.cpp
--- deepin-voice-note-6.0.6/src/task/exportnoteworker.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/task/exportnoteworker.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "exportnoteworker.h"
#include "globaldef.h"
#include "common/vnoteitem.h"
diff -Nru deepin-voice-note-6.0.6/src/task/exportnoteworker.h deepin-voice-note-6.0.10/src/task/exportnoteworker.h
--- deepin-voice-note-6.0.6/src/task/exportnoteworker.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/task/exportnoteworker.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef EXPORTNOTEWORKER_H
#define EXPORTNOTEWORKER_H
diff -Nru deepin-voice-note-6.0.6/src/task/filecleanupworker.cpp deepin-voice-note-6.0.10/src/task/filecleanupworker.cpp
--- deepin-voice-note-6.0.6/src/task/filecleanupworker.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/task/filecleanupworker.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
-*
-* Author: leilong
-*
-* Maintainer: leilong
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "filecleanupworker.h"
#include "common/vnoteitem.h"
diff -Nru deepin-voice-note-6.0.6/src/task/filecleanupworker.h deepin-voice-note-6.0.10/src/task/filecleanupworker.h
--- deepin-voice-note-6.0.6/src/task/filecleanupworker.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/task/filecleanupworker.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
-*
-* Author: leilong
-*
-* Maintainer: leilong
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2019 UnionTech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef FILECLEANUPWORKER_H
#define FILECLEANUPWORKER_H
diff -Nru deepin-voice-note-6.0.6/src/task/loadfolderworker.cpp deepin-voice-note-6.0.10/src/task/loadfolderworker.cpp
--- deepin-voice-note-6.0.6/src/task/loadfolderworker.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/task/loadfolderworker.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "loadfolderworker.h"
#include "common/vnoteforlder.h"
#include "db/vnotefolderoper.h"
diff -Nru deepin-voice-note-6.0.6/src/task/loadfolderworker.h deepin-voice-note-6.0.10/src/task/loadfolderworker.h
--- deepin-voice-note-6.0.6/src/task/loadfolderworker.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/task/loadfolderworker.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef LOADFOLDERWORKER_H
#define LOADFOLDERWORKER_H
diff -Nru deepin-voice-note-6.0.6/src/task/loadiconsworker.cpp deepin-voice-note-6.0.10/src/task/loadiconsworker.cpp
--- deepin-voice-note-6.0.6/src/task/loadiconsworker.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/task/loadiconsworker.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "loadiconsworker.h"
#include "common/vnotedatamanager.h"
diff -Nru deepin-voice-note-6.0.6/src/task/loadiconsworker.h deepin-voice-note-6.0.10/src/task/loadiconsworker.h
--- deepin-voice-note-6.0.6/src/task/loadiconsworker.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/task/loadiconsworker.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef LOADICONSWORKER_H
#define LOADICONSWORKER_H
diff -Nru deepin-voice-note-6.0.6/src/task/loadnoteitemsworker.cpp deepin-voice-note-6.0.10/src/task/loadnoteitemsworker.cpp
--- deepin-voice-note-6.0.6/src/task/loadnoteitemsworker.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/task/loadnoteitemsworker.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "loadnoteitemsworker.h"
#include "db/vnoteitemoper.h"
#include "globaldef.h"
diff -Nru deepin-voice-note-6.0.6/src/task/loadnoteitemsworker.h deepin-voice-note-6.0.10/src/task/loadnoteitemsworker.h
--- deepin-voice-note-6.0.6/src/task/loadnoteitemsworker.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/task/loadnoteitemsworker.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef LOADNOTEITEMSWORKER_H
#define LOADNOTEITEMSWORKER_H
diff -Nru deepin-voice-note-6.0.6/src/task/vnmainwnddelayinittask.cpp deepin-voice-note-6.0.10/src/task/vnmainwnddelayinittask.cpp
--- deepin-voice-note-6.0.6/src/task/vnmainwnddelayinittask.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/task/vnmainwnddelayinittask.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "vnmainwnddelayinittask.h"
#include "views/vnotemainwindow.h"
diff -Nru deepin-voice-note-6.0.6/src/task/vnmainwnddelayinittask.h deepin-voice-note-6.0.10/src/task/vnmainwnddelayinittask.h
--- deepin-voice-note-6.0.6/src/task/vnmainwnddelayinittask.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/task/vnmainwnddelayinittask.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef VNMAINWNDDELAYINITTASK_H
#define VNMAINWNDDELAYINITTASK_H
diff -Nru deepin-voice-note-6.0.6/src/task/vntask.cpp deepin-voice-note-6.0.10/src/task/vntask.cpp
--- deepin-voice-note-6.0.6/src/task/vntask.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/task/vntask.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#include "vntask.h"
/**
diff -Nru deepin-voice-note-6.0.6/src/task/vntask.h deepin-voice-note-6.0.10/src/task/vntask.h
--- deepin-voice-note-6.0.6/src/task/vntask.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/task/vntask.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,8 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: V4fr3e
-*
-* Maintainer: V4fr3e
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+
#ifndef VNTASK_H
#define VNTASK_H
diff -Nru deepin-voice-note-6.0.6/src/views/homepage.cpp deepin-voice-note-6.0.10/src/views/homepage.cpp
--- deepin-voice-note-6.0.6/src/views/homepage.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/views/homepage.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#include "homepage.h"
#include "common/utils.h"
diff -Nru deepin-voice-note-6.0.6/src/views/homepage.h deepin-voice-note-6.0.10/src/views/homepage.h
--- deepin-voice-note-6.0.6/src/views/homepage.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/views/homepage.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef INITEMPTYPAGE_H
#define INITEMPTYPAGE_H
diff -Nru deepin-voice-note-6.0.6/src/views/leftview.cpp deepin-voice-note-6.0.10/src/views/leftview.cpp
--- deepin-voice-note-6.0.6/src/views/leftview.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/views/leftview.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#include "leftview.h"
#include "leftviewdelegate.h"
diff -Nru deepin-voice-note-6.0.6/src/views/leftviewdelegate.cpp deepin-voice-note-6.0.10/src/views/leftviewdelegate.cpp
--- deepin-voice-note-6.0.6/src/views/leftviewdelegate.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/views/leftviewdelegate.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#include "leftview.h"
#include "leftviewdelegate.h"
diff -Nru deepin-voice-note-6.0.6/src/views/leftviewdelegate.h deepin-voice-note-6.0.10/src/views/leftviewdelegate.h
--- deepin-voice-note-6.0.6/src/views/leftviewdelegate.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/views/leftviewdelegate.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef LeftViewDelegate_H
#define LeftViewDelegate_H
diff -Nru deepin-voice-note-6.0.6/src/views/leftview.h deepin-voice-note-6.0.10/src/views/leftview.h
--- deepin-voice-note-6.0.6/src/views/leftview.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/views/leftview.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef LEFTVIEW_H
#define LEFTVIEW_H
diff -Nru deepin-voice-note-6.0.6/src/views/leftviewsortfilter.cpp deepin-voice-note-6.0.10/src/views/leftviewsortfilter.cpp
--- deepin-voice-note-6.0.6/src/views/leftviewsortfilter.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/views/leftviewsortfilter.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#include "leftviewsortfilter.h"
#include "common/vnoteforlder.h"
diff -Nru deepin-voice-note-6.0.6/src/views/leftviewsortfilter.h deepin-voice-note-6.0.10/src/views/leftviewsortfilter.h
--- deepin-voice-note-6.0.6/src/views/leftviewsortfilter.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/views/leftviewsortfilter.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#ifndef LEFTVIEWSORTFILTER_H
#define LEFTVIEWSORTFILTER_H
diff -Nru deepin-voice-note-6.0.6/src/views/middleview.cpp deepin-voice-note-6.0.10/src/views/middleview.cpp
--- deepin-voice-note-6.0.6/src/views/middleview.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/views/middleview.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#include "middleview.h"
#include "vnoteapplication.h"
diff -Nru deepin-voice-note-6.0.6/src/views/middleviewdelegate.cpp deepin-voice-note-6.0.10/src/views/middleviewdelegate.cpp
--- deepin-voice-note-6.0.6/src/views/middleviewdelegate.cpp 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/views/middleviewdelegate.cpp 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see .
-*/
+// Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
+// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
#include "middleviewdelegate.h"
#include "middleview.h"
diff -Nru deepin-voice-note-6.0.6/src/views/middleviewdelegate.h deepin-voice-note-6.0.10/src/views/middleviewdelegate.h
--- deepin-voice-note-6.0.6/src/views/middleviewdelegate.h 2023-01-04 08:43:40.000000000 +0000
+++ deepin-voice-note-6.0.10/src/views/middleviewdelegate.h 2023-06-07 05:40:02.000000000 +0000
@@ -1,23 +1,7 @@
-/*
-* Copyright (C) 2019 ~ 2020 Uniontech Software Technology Co.,Ltd.
-*
-* Author: liuyanga
-*
-* Maintainer: liuyanga
-*
-* This program 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
-* any later version.
-*
-* This program 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 this program. If not, see