TTKMusicPlayer  3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
musicsongchecktoolsunit.h
Go to the documentation of this file.
1 #ifndef MUSICSONGCHECKTOOLSUNIT_H
2 #define MUSICSONGCHECKTOOLSUNIT_H
3 
4 /***************************************************************************
5  * This file is part of the TTK Music Player project
6  * Copyright (C) 2015 - 2024 Greedysky Studio
7 
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation; either version 3 of the License, or
11  * (at your option) any later version.
12 
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17 
18  * You should have received a copy of the GNU General Public License along
19  * with this program; If not, see <http://www.gnu.org/licenses/>.
20  ***************************************************************************/
21 
22 #include "musicsong.h"
23 
27 namespace TTK
28 {
29  enum class Mode
30  {
31  Check,
32  Apply
33  };
34 }
35 
40 {
41  QString m_locaName;
42  QString m_recommendName;
43  QString m_path;
44 
45  MusicSongCheckToolsRename(const QString &locaName, const QString &recommendName, const QString &path)
46  : m_locaName(locaName),
47  m_recommendName(recommendName),
48  m_path(path)
49  {
50 
51  }
52 };
54 
55 
60 {
62  QString m_bitrate;
63 
64  MusicSongCheckToolsDuplicate(const MusicSong &song, const QString &bitrate)
65  : m_song(song),
66  m_bitrate(bitrate)
67  {
68 
69  }
70 };
72 
73 
78 {
80  QString m_bitrate;
81 
82  MusicSongCheckToolsQuality(const MusicSong &song, const QString &bitrate)
83  : m_song(song),
84  m_bitrate(bitrate)
85  {
86 
87  }
88 };
90 
91 #endif // MUSICSONGCHECKTOOLSUNIT_H
#define TTK_MODULE_EXPORT
MusicSongCheckToolsDuplicate(const MusicSong &song, const QString &bitrate)
The namespace of the process utils.
Definition: ttkcompat.h:24
MusicSongCheckToolsRename(const QString &locaName, const QString &recommendName, const QString &path)
The class of the song check tools duplicate.
TTK_DECLARE_LIST(MusicSongCheckToolsRename)
MusicSongCheckToolsQuality(const MusicSong &song, const QString &bitrate)
The class of the music song info.
Definition: musicsong.h:28
The class of the song check tools rename.
The class of the song check tools quality.