TTKMusicPlayer
4.3.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
TTKRun
TTKTools
GenerateFM
toolfm.h
Go to the documentation of this file.
1
#ifndef TOOLFM_H
2
#define TOOLFM_H
3
4
/***************************************************************************
5
* This file is part of the TTK Music Player project
6
* Copyright (C) 2015 - 2026 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 "
musicfmconfigmanager.h
"
23
#include "
musicpagequeryrequest.h
"
24
28
class
ToolQTFM
:
public
MusicPageQueryRequest
29
{
30
Q_OBJECT
31
public
:
35
explicit
ToolQTFM
(QObject *parent =
nullptr
);
36
40
void
startToRequest
();
41
42
private
Q_SLOTS:
46
virtual
void
downloadFinished
()
override
final
;
47
48
private
:
52
void
startToListRequest
(
int
id
, MusicFMChannelList *channels);
53
54
};
55
56
60
class
ToolXIFM
:
public
MusicAbstractNetwork
61
{
62
Q_OBJECT
63
public
:
67
explicit
ToolXIFM
(QObject *parent =
nullptr
);
68
72
void
startToRequest
();
73
74
private
Q_SLOTS:
78
virtual
void
downloadFinished
()
override
final
;
79
80
};
81
82
83
#endif // TOOLFM_H
ToolQTFM::ToolQTFM
ToolQTFM(QObject *parent=nullptr)
Definition:
toolfm.cpp:9
ToolQTFM::downloadFinished
virtual void downloadFinished() overridefinal
Definition:
toolfm.cpp:32
ToolXIFM
The class of the xiph fm radio tool.
Definition:
toolfm.h:60
ToolQTFM
The class of the qingting fm radio tool.
Definition:
toolfm.h:28
MusicPageQueryRequest
The class of the abstract download page query request.
Definition:
musicpagequeryrequest.h:34
ToolQTFM::startToRequest
void startToRequest()
Definition:
toolfm.cpp:15
musicpagequeryrequest.h
ToolXIFM::ToolXIFM
ToolXIFM(QObject *parent=nullptr)
Definition:
toolfm.cpp:131
ToolXIFM::startToRequest
void startToRequest()
Definition:
toolfm.cpp:137
MusicAbstractNetwork
The class of the abstract network.
Definition:
musicabstractnetwork.h:36
musicfmconfigmanager.h
ToolXIFM::downloadFinished
virtual void downloadFinished() overridefinal
Definition:
toolfm.cpp:153
ToolQTFM::startToListRequest
void startToListRequest(int id, MusicFMChannelList *channels)
Definition:
toolfm.cpp:80
Generated on Mon Feb 23 2026 13:09:55 for TTKMusicPlayer by
1.8.8