|
TTKMusicPlayer
4.3.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
#include "ttkqtglobal.h"Go to the source code of this file.
Namespaces | |
| QtCompat | |
| The namespace of the qt compat function wrapper. | |
Macros | |
| #define | QtFontWidth(p, t) p.horizontalAdvance(t) |
| Font string width. More... | |
| #define | QtImageBytes(p) p.sizeInBytes() |
| Image byte count. More... | |
| #define | QtItemSetTextAlignment(p, a) p->setTextAlignment(Qt::Alignment(a)); |
| Item text alignment. More... | |
| #define | QtContainerSwap(p, i, j) p->swapItemsAt(i, j) |
| Container swap. More... | |
| #define | QtNetworkErrorConnect(p, q, f, s) QObject::connect(p, SIGNAL(errorOccurred(QNetworkReply::NetworkError)), q, s(f(QNetworkReply::NetworkError))) |
| Network error connect. More... | |
| #define | QtNetworkErrorVoidConnect(p, q, f, s) QObject::connect(p, SIGNAL(errorOccurred(QNetworkReply::NetworkError)), q, s(f())) |
| Network error void connect. More... | |
| #define | QtSocketErrorConnect(p, q, f, s) QObject::connect(p, SIGNAL(errorOccurred(QAbstractSocket::SocketError)), q, s(f(QAbstractSocket::SocketError))) |
| Socket error connect. More... | |
| #define | QtSocketErrorVoidConnect(p, q, f, s) QObject::connect(p, SIGNAL(errorOccurred(QAbstractSocket::SocketError)), q, s(f())) |
| Socket error void connect. More... | |
| #define | QtProcessErrorConnect(p, q, f, s) QObject::connect(p, SIGNAL(errorOccurred(QProcess::ProcessError)), q, s(f(QProcess::ProcessError))) |
| Process error connect. More... | |
| #define | QtProcessErrorVoidConnect(p, q, f, s) QObject::connect(p, SIGNAL(errorOccurred(QProcess::ProcessError)), q, s(f())) |
| Process error void connect. More... | |
| #define | QtProcessFinishConnect(p, q, f, s) QObject::connect(p, SIGNAL(finished(int,QProcess::ExitStatus)), q, s(f(int))) |
| Process finished connect. More... | |
| #define | QtProcessFinishVoidConnect(p, q, f, s) QObject::connect(p, SIGNAL(finished(int,QProcess::ExitStatus)), q, s(f())) |
| Process finished void connect. More... | |
| #define | QtButtonGroupConnect(p, q, f, s) QObject::connect(p, SIGNAL(idClicked(int)), q, s(f(int))) |
| Button group connect. More... | |
| #define | QtButtonGroupVoidConnect(p, q, f, s) QObject::connect(p, SIGNAL(idClicked(int)), q, s(f())) |
| Button group void connect. More... | |
| #define | QtNamespace(p) Qt::p |
| Qt use namespace. More... | |
| #define | QtLablePixmap(p) p->pixmap(Qt::ReturnByValue) |
| Lable pixmap. More... | |
| #define | QtSkipEmptyParts Qt::SkipEmptyParts |
| String skip empty parts. More... | |
| #define | QtWheelDelta(p) p->angleDelta().y() |
| Event wheel. More... | |
| #define | QtPosition(p) p->position().toPoint() |
| Event by position. More... | |
| #define | QtPositionF(p) p->position() |
| #define | QtPositionX(p) p->position().x() |
| #define | QtPositionY(p) p->position().y() |
| #define | QtGlobalPosition(p) p->globalPosition().toPoint() |
| #define | QtGlobalPositionF(p) p->globalPosition() |
| #define | QtGlobalPositionX(p) p->globalPosition().x() |
| #define | QtGlobalPositionY(p) p->globalPosition().y() |
| #define | QtEnterEvent QEnterEvent |
| Event enter. More... | |
| #define | QtVariantType(p) p.typeId() |
| Variant type. More... | |
| #define | QtKeySequence(k, m) QKeySequence(QKeyCombination(m, k)) |
| KeySequence. More... | |
| #define | QtKeyCombine(p) p.toCombined() |
| KeySequence data. More... | |
| #define | QtFontFamilies() QFontDatabase::families() |
| FontDatabase families. More... | |
| #define QtButtonGroupConnect | ( | p, | |
| q, | |||
| f, | |||
| s | |||
| ) | QObject::connect(p, SIGNAL(idClicked(int)), q, s(f(int))) |
Button group connect.
Definition at line 115 of file ttkqtcompat.h.
Referenced by MusicWebDJRadioInfoWidget::createLabels(), MusicAlbumQueryWidget::createLabels(), MusicToplistQueryWidget::createLabels(), MusicWebMVRadioInfoWidget::createLabels(), MusicArtistQueryWidget::createLabels(), MusicSongSearchOnlineWidget::createToolWidget(), MusicSettingWidget::initDownloadWidget(), MusicVideoBarrageStylePopWidget::initialize(), MusicConnectTransferWidget::initialize(), MusicEnhancedPopWidget::initialize(), MusicAbstractAnimationWidget::MusicAbstractAnimationWidget(), MusicColorDialog::MusicColorDialog(), MusicMessageBox::MusicMessageBox(), MusicTimerWidget::MusicTimerWidget(), MusicPlaylistQueryInfoWidget::setResultDataItem(), MusicRightAreaWidget::setupUi(), and TTKTabButton::TTKTabButton().
| #define QtButtonGroupVoidConnect | ( | p, | |
| q, | |||
| f, | |||
| s | |||
| ) | QObject::connect(p, SIGNAL(idClicked(int)), q, s(f())) |
Button group void connect.
Definition at line 122 of file ttkqtcompat.h.
| #define QtContainerSwap | ( | p, | |
| i, | |||
| j | |||
| ) | p->swapItemsAt(i, j) |
Container swap.
Definition at line 52 of file ttkqtcompat.h.
Referenced by MusicSongsContainerWidget::itemRowSwaped().
| #define QtEnterEvent QEnterEvent |
Event enter.
Definition at line 178 of file ttkqtcompat.h.
| #define QtFontFamilies | ( | ) | QFontDatabase::families() |
FontDatabase families.
Definition at line 206 of file ttkqtcompat.h.
Referenced by TTKInitialization::generateFont(), MusicSettingWidget::initDesktopLrcWidget(), MusicSettingWidget::initInteriorLrcWidget(), and MusicLrcManager::setFontFamily().
| #define QtFontWidth | ( | p, | |
| t | |||
| ) | p.horizontalAdvance(t) |
Font string width.
Definition at line 31 of file ttkqtcompat.h.
Referenced by TTK::Widget::fontTextWidth(), TTKThemeLineLabel::paintEvent(), and TTKToastLabel::setText().
| #define QtGlobalPosition | ( | p | ) | p->globalPosition().toPoint() |
Definition at line 161 of file ttkqtcompat.h.
Referenced by TTKAbstractMoveResizeWidget::mouseMoveEvent(), MusicMoveButton::mouseMoveEvent(), TTKAbstractMoveDialog::mouseMoveEvent(), TTKAbstractMoveWidget::mouseMoveEvent(), MusicLrcContainerForDesktop::mouseMoveEvent(), MusicLrcContainerForInterior::mouseMoveEvent(), TTKAbstractMoveResizeWidget::mousePressEvent(), MusicMoveButton::mousePressEvent(), TTKAbstractMoveDialog::mousePressEvent(), TTKAbstractMoveWidget::mousePressEvent(), MusicLrcContainerForDesktop::mousePressEvent(), MusicLrcContainerForInterior::mousePressEvent(), MusicMoveButton::mouseReleaseEvent(), and MusicLrcContainerForInterior::mouseReleaseEvent().
| #define QtGlobalPositionF | ( | p | ) | p->globalPosition() |
Definition at line 162 of file ttkqtcompat.h.
| #define QtGlobalPositionX | ( | p | ) | p->globalPosition().x() |
Definition at line 163 of file ttkqtcompat.h.
Referenced by MusicMoveButton::mouseMoveEvent().
| #define QtGlobalPositionY | ( | p | ) | p->globalPosition().y() |
Definition at line 164 of file ttkqtcompat.h.
Referenced by MusicLrcContainerForInterior::mouseMoveEvent().
| #define QtImageBytes | ( | p | ) | p.sizeInBytes() |
Image byte count.
Definition at line 38 of file ttkqtcompat.h.
Referenced by QAlgorithm::WaterWave::render().
| #define QtItemSetTextAlignment | ( | p, | |
| a | |||
| ) | p->setTextAlignment(Qt::Alignment(a)); |
Item text alignment.
Definition at line 45 of file ttkqtcompat.h.
Referenced by MusicCloudDownloadTableWidget::addCellItem(), MusicDownloadRecordTableWidget::addCellItem(), MusicSongSearchPopTableWidget::addCellItem(), MusicConnectTransferCompleteTableWidget::addCellItem(), MusicLocalManagerStatisticTableWidget::addCellItem(), MusicCloudUploadTableWidget::addCellItem(), MusicCloudManagerTableWidget::addCellItem(), MusicConnectTransferTableWidget::addCellItems(), MusicSongCheckToolsRenameTableWidget::addCellItems(), MusicSongItemSelectedTableWidget::addCellItems(), MusicLrcDownloadBatchTableWidget::addCellItems(), MusicMobileSongsTableWidget::addCellItems(), MusicLrcLocalLinkTableWidget::addCellItems(), MusicFileAssociationTableWidget::addCellItems(), MusicFunctionTableWidget::addCellItems(), MusicSongCheckToolsDuplicateTableWidget::addCellItems(), MusicLocalManagerSongsTableWidget::addCellItems(), MusicServerPluginTableWidget::addCellItems(), MusicSongCheckToolsQualityTableWidget::addCellItems(), MusicLrcPosterTableWidget::addCellItems(), MusicWebFMRadioWidget::addCelltItems(), MusicReplayGainWidget::addItemFinished(), MusicSongsListPlayedTableWidget::adjustPlayWidgetRow(), MusicSongsListPlayTableWidget::adjustPlayWidgetRow(), MusicWebDJRadioProgramTableWidget::createProgramItem(), MusicItemQueryTableWidget::createResultItem(), MusicNewSongRecommendQueryTableWidget::createResultItem(), MusicPlaylistBackupTableWidget::updateSongsList(), MusicSongsListPlayedTableWidget::updateSongsList(), and MusicSongsListPlayTableWidget::updateSongsList().
| #define QtKeyCombine | ( | p | ) | p.toCombined() |
KeySequence data.
Definition at line 199 of file ttkqtcompat.h.
Referenced by QGlobalShortcutPrivate::setShortcut().
| #define QtKeySequence | ( | k, | |
| m | |||
| ) | QKeySequence(QKeyCombination(m, k)) |
KeySequence.
Definition at line 192 of file ttkqtcompat.h.
Referenced by MusicIdentifySongWidget::MusicIdentifySongWidget(), QGlobalShortcutPrivate::setShortcut(), and QGlobalShortcutPrivate::unsetShortcut().
| #define QtLablePixmap | ( | p | ) | p->pixmap(Qt::ReturnByValue) |
Lable pixmap.
Definition at line 136 of file ttkqtcompat.h.
Referenced by MusicLrcFloatPhotoItem::enterEvent(), MusicFunctionToolBoxTopWidget::isExpand(), MusicScreenSaverHoverItem::paintEvent(), MusicLrcFloatPhotoItem::sendUserSelectArt(), and MusicTransitionAnimationLabel::setPixmap().
| #define QtNamespace | ( | p | ) | Qt::p |
Qt use namespace.
Definition at line 129 of file ttkqtcompat.h.
Referenced by MusicLrcFromKrc::decode(), MusicKWDownloadTextRequest::downloadFinished(), MusicWYDownloadTextRequest::downloadFinished(), MusicDownloadTextRequest::downloadFinished(), MusicLrcAnalysis::save(), and TTKLogOutput::write().
| #define QtNetworkErrorConnect | ( | p, | |
| q, | |||
| f, | |||
| s | |||
| ) | QObject::connect(p, SIGNAL(errorOccurred(QNetworkReply::NetworkError)), q, s(f(QNetworkReply::NetworkError))) |
Network error connect.
Definition at line 59 of file ttkqtcompat.h.
Referenced by MusicTXDownloadBackgroundRequest::downloadUrl(), MusicKWQueryPlaylistRequest::morePlaylistDetails(), QSyncDeleteData::request(), QSyncDownloadData::request(), QSyncListData::request(), QSyncUploadData::request(), MusicDownloadQueueRequest::startDownload(), MusicUnityQueryMovieRequest::startToPage(), MusicKGSongCommentsRequest::startToPage(), MusicKWSongCommentsRequest::startToPage(), MusicKWQueryArtistListRequest::startToPage(), MusicWYQueryMovieRequest::startToPage(), MusicWYQueryPlaylistRequest::startToPage(), MusicKWQueryArtistRequest::startToPage(), MusicWYQuerySongRequest::startToPage(), MusicKGQueryPlaylistRequest::startToPage(), MusicKWQueryMovieRequest::startToPage(), MusicWYQueryToplistRequest::startToPage(), MusicKWQueryPlaylistRequest::startToPage(), MusicDJRadioProgramCategoryRequest::startToPage(), MusicKGQueryAlbumRequest::startToPage(), MusicKGQuerySongRequest::startToPage(), MusicKWQuerySongRequest::startToPage(), MusicKWQueryToplistRequest::startToPage(), MusicNewAlbumsRecommendRequest::startToPage(), MusicKGQueryArtistListRequest::startToPage(), MusicKGQueryToplistRequest::startToPage(), MusicWYSongCommentsRequest::startToPage(), MusicKGQueryArtistRequest::startToPage(), MusicWYQueryAlbumRequest::startToPage(), MusicKGQueryMovieRequest::startToPage(), MusicKWQueryAlbumRequest::startToPage(), MusicWYQueryArtistListRequest::startToPage(), MusicWYQueryArtistRequest::startToPage(), MusicKWQueryHotArtistListRequest::startToPage(), MusicWYQueryHotArtistListRequest::startToPage(), MusicKWPlaylistCommentsRequest::startToPage(), MusicKGPlaylistCommentsRequest::startToPage(), MusicKGQueryArtistAlbumRequest::startToPage(), MusicKGQueryHotArtistListRequest::startToPage(), MusicWYPlaylistCommentsRequest::startToPage(), MusicWYQueryArtistAlbumRequest::startToPage(), MusicKWQueryArtistAlbumRequest::startToPage(), MusicKGQueryArtistMovieRequest::startToPage(), MusicKWQueryArtistMovieRequest::startToPage(), MusicWYQueryNewSongRequest::startToPage(), MusicKWQueryNewSongRequest::startToPage(), MusicKGQueryNewSongRequest::startToPage(), MusicArtistsRecommendRequest::startToPage(), MusicKGQueryPlaylistRecommendRequest::startToPage(), MusicWYQueryPlaylistRecommendRequest::startToPage(), MusicWYQueryArtistMovieRequest::startToPage(), MusicKWQueryNewAlbumRequest::startToPage(), MusicKGQueryNewAlbumRequest::startToPage(), MusicWYQueryNewAlbumRequest::startToPage(), MusicKWQueryPlaylistRecommendRequest::startToPage(), MusicKGQueryPlaylistHighRequest::startToPage(), MusicPlaylistRecommendRequest::startToPage(), MusicWYQueryPlaylistHighRequest::startToPage(), MusicKWQueryPlaylistHighRequest::startToPage(), MusicPlaylistHQRecommendRequest::startToPage(), MusicYDTranslationRequest::startToRequest(), MusicDJRadioCategoryRequest::startToRequest(), MusicBDTranslationRequest::startToRequest(), MusicKWDownloadTextRequest::startToRequest(), MusicDownloadTextRequest::startToRequest(), MusicCiBaRequest::startToRequest(), MusicKGDownloadBackgroundRequest::startToRequest(), MusicBingTranslationRequest::startToRequest(), MusicPVCounterRequest::startToRequest(), MusicResourceRequest::startToRequest(), MusicFMRadioSongRequest::startToRequest(), MusicBarrageRequest::startToRequest(), MusicKWDownloadBackgroundRequest::startToRequest(), MusicWYTranslationRequest::startToRequest(), MusicWYCoverSourceRequest::startToRequest(), MusicWYDownloadTextRequest::startToRequest(), MusicBPDownloadBackgroundRequest::startToRequest(), ToolQTFM::startToRequest(), MusicDataSourceRequest::startToRequest(), MusicDJRadioProgramRequest::startToRequest(), MusicTXDownloadBackgroundRequest::startToRequest(), MusicKWDownloadCoverRequest::startToRequest(), ToolXIFM::startToRequest(), MusicACRIdentifyRequest::startToRequest(), MusicDownloadDataRequest::startToRequest(), MusicXFIdentifyRequest::startToRequest(), MusicKGDiscoverListRequest::startToSearch(), MusicSongRecommendRequest::startToSearch(), MusicKWDiscoverListRequest::startToSearch(), MusicSongSuggestRequest::startToSearch(), MusicWYDiscoverListRequest::startToSearch(), MusicAbstractMVRadioRequest::startToSearch(), MusicWYQueryPlaylistRequest::startToSearch(), MusicKWQueryPlaylistRequest::startToSearch(), MusicDJRadioProgramCategoryRequest::startToSearch(), MusicKGQueryPlaylistRequest::startToSearch(), MusicKGQuerySongRequest::startToSearchByID(), MusicKWQuerySongRequest::startToSearchByID(), and MusicWYQuerySongRequest::startToSearchByID().
| #define QtNetworkErrorVoidConnect | ( | p, | |
| q, | |||
| f, | |||
| s | |||
| ) | QObject::connect(p, SIGNAL(errorOccurred(QNetworkReply::NetworkError)), q, s(f())) |
Network error void connect.
Definition at line 66 of file ttkqtcompat.h.
Referenced by TTK::fetchFileSizeByUrl(), TTK::syncNetworkQueryForGet(), TTK::syncNetworkQueryForPatch(), TTK::syncNetworkQueryForPost(), and TTK::syncNetworkQueryForPut().
| #define QtPosition | ( | p | ) | p->position().toPoint() |
Event by position.
Definition at line 157 of file ttkqtcompat.h.
Referenced by MusicFunctionToolBoxTopWidget::dragMoveEvent().
| #define QtPositionF | ( | p | ) | p->position() |
Definition at line 158 of file ttkqtcompat.h.
| #define QtPositionX | ( | p | ) | p->position().x() |
Definition at line 159 of file ttkqtcompat.h.
Referenced by MusicSplitItemClickedLabel::mouseMoveEvent(), TTKClickedSlider::mouseMoveEvent(), MusicHlSaturationPalette::mouseMoveEvent(), TTKClickedSlider::mousePressEvent(), and MusicHlSaturationPalette::mousePressEvent().
| #define QtPositionY | ( | p | ) | p->position().y() |
Definition at line 160 of file ttkqtcompat.h.
Referenced by MusicApplication::mouseDoubleClickEvent(), TTKClickedSlider::mouseMoveEvent(), MusicSongsListPlayTableWidget::mouseMoveEvent(), and TTKClickedSlider::mousePressEvent().
| #define QtProcessErrorConnect | ( | p, | |
| q, | |||
| f, | |||
| s | |||
| ) | QObject::connect(p, SIGNAL(errorOccurred(QProcess::ProcessError)), q, s(f(QProcess::ProcessError))) |
Process error connect.
Definition at line 87 of file ttkqtcompat.h.
| #define QtProcessErrorVoidConnect | ( | p, | |
| q, | |||
| f, | |||
| s | |||
| ) | QObject::connect(p, SIGNAL(errorOccurred(QProcess::ProcessError)), q, s(f())) |
Process error void connect.
Definition at line 94 of file ttkqtcompat.h.
Referenced by MusicReplayGainWidget::addFileButtonClicked(), MusicReplayGainWidget::addFilesButtonClicked(), MusicReplayGainWidget::applyButtonClicked(), and MusicDeviceInfoModule::removableDrive().
| #define QtProcessFinishConnect | ( | p, | |
| q, | |||
| f, | |||
| s | |||
| ) | QObject::connect(p, SIGNAL(finished(int,QProcess::ExitStatus)), q, s(f(int))) |
Process finished connect.
Definition at line 101 of file ttkqtcompat.h.
Referenced by MusicCoreMPlayer::setMedia().
| #define QtProcessFinishVoidConnect | ( | p, | |
| q, | |||
| f, | |||
| s | |||
| ) | QObject::connect(p, SIGNAL(finished(int,QProcess::ExitStatus)), q, s(f())) |
Process finished void connect.
Definition at line 108 of file ttkqtcompat.h.
Referenced by MusicReplayGainWidget::addFileButtonClicked(), MusicReplayGainWidget::addFilesButtonClicked(), MusicReplayGainWidget::applyButtonClicked(), MusicTransformWidget::MusicTransformWidget(), and MusicDeviceInfoModule::removableDrive().
| #define QtSkipEmptyParts Qt::SkipEmptyParts |
String skip empty parts.
Definition at line 143 of file ttkqtcompat.h.
Referenced by TTK::readColorConfig(), and MusicSoundEffectsWidget::updateConfig().
| #define QtSocketErrorConnect | ( | p, | |
| q, | |||
| f, | |||
| s | |||
| ) | QObject::connect(p, SIGNAL(errorOccurred(QAbstractSocket::SocketError)), q, s(f(QAbstractSocket::SocketError))) |
Socket error connect.
Definition at line 73 of file ttkqtcompat.h.
| #define QtSocketErrorVoidConnect | ( | p, | |
| q, | |||
| f, | |||
| s | |||
| ) | QObject::connect(p, SIGNAL(errorOccurred(QAbstractSocket::SocketError)), q, s(f())) |
Socket error void connect.
Definition at line 80 of file ttkqtcompat.h.
| #define QtVariantType | ( | p | ) | p.typeId() |
Variant type.
Definition at line 185 of file ttkqtcompat.h.
Referenced by TTKAbstractXml::writeAttribute().
| #define QtWheelDelta | ( | p | ) | p->angleDelta().y() |
Event wheel.
Definition at line 150 of file ttkqtcompat.h.
Referenced by MusicSmoothMovingTableWidget::wheelEvent(), and MusicSmoothMovingScrollArea::wheelEvent().
1.8.8