|
TTKMusicPlayer
4.3.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the ttk date time object. More...
#include <ttktime.h>
Static Public Member Functions | |
| static qint64 | currentTimestamp () noexcept |
| static QString | format (const QString &time, const QString &format) |
| static QString | format (qint64 time, const QString &format) |
|
staticnoexcept |
Get current timestamp(ms).
Definition at line 249 of file ttktime.cpp.
Referenced by MusicRecommendQueryWidget::createLabels(), MusicLrcPhotoWidget::exportButtonClicked(), parseSongPropertyV3(), MusicCloudManagerTableWidget::receiveDataFinshed(), MusicPlaylistBackupModule::runBackup(), MusicACRIdentifyRequest::startToRequest(), MusicDownloadDataRequest::startToRequest(), MusicXFIdentifyRequest::startToRequest(), MusicSongSearchTableWidget::startToSearchByValue(), MusicCloudUploadTableWidget::uploadFileError(), MusicCloudManagerTableWidget::uploadFilesToServer(), and MusicSongSearchPopWidget::utcTimeToLocal().
Transform string time format to timestamp(ms) string.
Definition at line 254 of file ttktime.cpp.
Referenced by MusicCommentsItem::addCellItem(), MusicRecommendQueryWidget::createLabels(), MusicPlaylistBackupWidget::currentDateChanged(), MusicWYQueryPlaylistRequest::downloadDetailsFinished(), MusicDJRadioProgramCategoryRequest::downloadDetailsFinished(), MusicKGSongCommentsRequest::downloadFinished(), MusicKWSongCommentsRequest::downloadFinished(), MusicWYQueryAlbumRequest::downloadFinished(), MusicFMRadioSongRequest::downloadFinished(), MusicWYQueryArtistRequest::downloadFinished(), MusicWYQueryToplistRequest::downloadFinished(), MusicKGQueryToplistRequest::downloadFinished(), MusicWYQuerySongRequest::downloadFinished(), MusicDJRadioProgramRequest::downloadFinished(), MusicKWPlaylistCommentsRequest::downloadFinished(), MusicKGPlaylistCommentsRequest::downloadFinished(), MusicWYQueryArtistAlbumRequest::downloadFinished(), MusicWYQueryNewSongRequest::downloadFinished(), MusicKGQueryNewSongRequest::downloadFinished(), MusicWYQuerySongRequest::downloadSingleFinished(), MusicWYQueryToplistRequest::queryToplistInfo(), MusicKGQueryToplistRequest::queryToplistInfo(), MusicWYQueryPlaylistRequest::startToQueryInfo(), and MusicKWQueryPlaylistRequest::startToQueryInfo().
|
static |
Transform timestamp(ms) to string time format.
Definition at line 259 of file ttktime.cpp.
1.8.8