From 7f901aed6f62da6e19d81bfc2a912d4dcd7d004a Mon Sep 17 00:00:00 2001 From: enkore Date: Fri, 20 Sep 2013 00:33:59 +0200 Subject: [PATCH 1/2] Qt 5 port (QMPDClient 1.3) --- AUTHORS | 9 + CMakeLists.txt | 313 ------------------------- COPYING | 1 + README | 2 +- qmpdclient.pro | 13 +- src/controlpanel.cpp | 4 +- src/directorymodel.cpp | 3 +- src/headerview.cpp | 8 +- src/lastfmsubmitter.cpp | 37 +-- src/moc_aafilter.cxx | 0 src/moc_aboutdialog.cxx | 0 src/moc_abstractmodel.cxx | 0 src/moc_abstractview.cxx | 185 +++++++++++++++ src/moc_abstractview_defn.cxx | 0 src/moc_abstractview_impl.cxx | 0 src/moc_albumview.cxx | 93 ++++++++ src/moc_artistview.cxx | 92 ++++++++ src/moc_clickablelabel.cxx | 99 ++++++++ src/moc_config.cxx | 385 +++++++++++++++++++++++++++++++ src/moc_controlpanel.cxx | 113 +++++++++ src/moc_coverartdialog.cxx | 0 src/moc_debug.cxx | 0 src/moc_directorymodel.cxx | 0 src/moc_directorypanel.cxx | 95 ++++++++ src/moc_directoryview.cxx | 97 ++++++++ src/moc_dynamicplaylist.cxx | 97 ++++++++ src/moc_fileview.cxx | 0 src/moc_headerview.cxx | 97 ++++++++ src/moc_iconmanager.cxx | 0 src/moc_idealbar.cxx | 93 ++++++++ src/moc_idealsplitter.cxx | 113 +++++++++ src/moc_lastfmsubmitter.cxx | 117 ++++++++++ src/moc_libmpdclient.cxx | 0 src/moc_librarypanel.cxx | 100 ++++++++ src/moc_lineedit.cxx | 96 ++++++++ src/moc_lyricsdialog.cxx | 100 ++++++++ src/moc_macroexpander.cxx | 0 src/moc_mainwindow.cxx | 147 ++++++++++++ src/moc_metainfodialog.cxx | 96 ++++++++ src/moc_mpd.cxx | 216 +++++++++++++++++ src/moc_mpd_p.cxx | 0 src/moc_mpdcache.cxx | 162 +++++++++++++ src/moc_mpdcache_p.cxx | 0 src/moc_mpdconnection.cxx | 120 ++++++++++ src/moc_mpddirectory.cxx | 0 src/moc_mpdentities.cxx | 0 src/moc_mpdoutput.cxx | 0 src/moc_mpdsong.cxx | 0 src/moc_mpdsonglist.cxx | 0 src/moc_mpdsongmodel.cxx | 0 src/moc_mpdsongview.cxx | 100 ++++++++ src/moc_mpdstats.cxx | 0 src/moc_mpdstatus.cxx | 0 src/moc_notifications.cxx | 92 ++++++++ src/moc_passivepopup.cxx | 0 src/moc_pausabletimer.cxx | 80 +++++++ src/moc_playlistitemdelegate.cxx | 0 src/moc_playlistmodel.cxx | 0 src/moc_playlistpanel.cxx | 97 ++++++++ src/moc_playlistspanel.cxx | 95 ++++++++ src/moc_playlistsview.cxx | 116 ++++++++++ src/moc_playlistview.cxx | 125 ++++++++++ src/moc_plconview.cxx | 0 src/moc_plsfile.cxx | 104 +++++++++ src/moc_preferencesdialog.cxx | 153 ++++++++++++ src/moc_qdbus_adaptor.cxx | 139 +++++++++++ src/moc_qmpdclient.cxx | 105 +++++++++ src/moc_radiopanel.cxx | 93 ++++++++ src/moc_radioview.cxx | 123 ++++++++++ src/moc_reconnect.cxx | 97 ++++++++ src/moc_richtext.cxx | 0 src/moc_serverinfo.cxx | 0 src/moc_servermodel.cxx | 0 src/moc_shortcutmodel.cxx | 0 src/moc_shortcuts.cxx | 93 ++++++++ src/moc_shoutcastfetcher.cxx | 144 ++++++++++++ src/moc_shoutcastmodel.cxx | 100 ++++++++ src/moc_shoutcastpanel.cxx | 93 ++++++++ src/moc_shoutcaststation.cxx | 0 src/moc_shoutcastview.cxx | 98 ++++++++ src/moc_songview.cxx | 0 src/moc_stringlistmodel.cxx | 0 src/moc_stringlistview.cxx | 100 ++++++++ src/moc_tagguesser.cxx | 0 src/moc_tagmodel.cxx | 0 src/moc_timelabel.cxx | 169 ++++++++++++++ src/moc_timeslider.cxx | 106 +++++++++ src/moc_trayicon.cxx | 115 +++++++++ src/moc_traysonginfo.cxx | 96 ++++++++ src/moc_verticalbutton.cxx | 80 +++++++ src/mpdcache.cpp | 2 +- src/mpdsongmodel.cpp | 3 +- src/mpdsongview.cpp | 2 +- src/playlistmodel.cpp | 9 +- src/preferencesdialog.cpp | 10 +- src/qmpdclient.cpp | 1 + src/qmpdclient.h | 9 +- src/qmpdclient_x11.cpp | 4 +- src/radioview.cpp | 2 +- src/servermodel.cpp | 6 +- src/shortcuts.cpp | 2 +- src/stringlistmodel.cpp | 6 +- ui/aboutdialog.ui | 83 ++++++- 103 files changed, 5578 insertions(+), 377 deletions(-) delete mode 100644 CMakeLists.txt create mode 100644 src/moc_aafilter.cxx create mode 100644 src/moc_aboutdialog.cxx create mode 100644 src/moc_abstractmodel.cxx create mode 100644 src/moc_abstractview.cxx create mode 100644 src/moc_abstractview_defn.cxx create mode 100644 src/moc_abstractview_impl.cxx create mode 100644 src/moc_albumview.cxx create mode 100644 src/moc_artistview.cxx create mode 100644 src/moc_clickablelabel.cxx create mode 100644 src/moc_config.cxx create mode 100644 src/moc_controlpanel.cxx create mode 100644 src/moc_coverartdialog.cxx create mode 100644 src/moc_debug.cxx create mode 100644 src/moc_directorymodel.cxx create mode 100644 src/moc_directorypanel.cxx create mode 100644 src/moc_directoryview.cxx create mode 100644 src/moc_dynamicplaylist.cxx create mode 100644 src/moc_fileview.cxx create mode 100644 src/moc_headerview.cxx create mode 100644 src/moc_iconmanager.cxx create mode 100644 src/moc_idealbar.cxx create mode 100644 src/moc_idealsplitter.cxx create mode 100644 src/moc_lastfmsubmitter.cxx create mode 100644 src/moc_libmpdclient.cxx create mode 100644 src/moc_librarypanel.cxx create mode 100644 src/moc_lineedit.cxx create mode 100644 src/moc_lyricsdialog.cxx create mode 100644 src/moc_macroexpander.cxx create mode 100644 src/moc_mainwindow.cxx create mode 100644 src/moc_metainfodialog.cxx create mode 100644 src/moc_mpd.cxx create mode 100644 src/moc_mpd_p.cxx create mode 100644 src/moc_mpdcache.cxx create mode 100644 src/moc_mpdcache_p.cxx create mode 100644 src/moc_mpdconnection.cxx create mode 100644 src/moc_mpddirectory.cxx create mode 100644 src/moc_mpdentities.cxx create mode 100644 src/moc_mpdoutput.cxx create mode 100644 src/moc_mpdsong.cxx create mode 100644 src/moc_mpdsonglist.cxx create mode 100644 src/moc_mpdsongmodel.cxx create mode 100644 src/moc_mpdsongview.cxx create mode 100644 src/moc_mpdstats.cxx create mode 100644 src/moc_mpdstatus.cxx create mode 100644 src/moc_notifications.cxx create mode 100644 src/moc_passivepopup.cxx create mode 100644 src/moc_pausabletimer.cxx create mode 100644 src/moc_playlistitemdelegate.cxx create mode 100644 src/moc_playlistmodel.cxx create mode 100644 src/moc_playlistpanel.cxx create mode 100644 src/moc_playlistspanel.cxx create mode 100644 src/moc_playlistsview.cxx create mode 100644 src/moc_playlistview.cxx create mode 100644 src/moc_plconview.cxx create mode 100644 src/moc_plsfile.cxx create mode 100644 src/moc_preferencesdialog.cxx create mode 100644 src/moc_qdbus_adaptor.cxx create mode 100644 src/moc_qmpdclient.cxx create mode 100644 src/moc_radiopanel.cxx create mode 100644 src/moc_radioview.cxx create mode 100644 src/moc_reconnect.cxx create mode 100644 src/moc_richtext.cxx create mode 100644 src/moc_serverinfo.cxx create mode 100644 src/moc_servermodel.cxx create mode 100644 src/moc_shortcutmodel.cxx create mode 100644 src/moc_shortcuts.cxx create mode 100644 src/moc_shoutcastfetcher.cxx create mode 100644 src/moc_shoutcastmodel.cxx create mode 100644 src/moc_shoutcastpanel.cxx create mode 100644 src/moc_shoutcaststation.cxx create mode 100644 src/moc_shoutcastview.cxx create mode 100644 src/moc_songview.cxx create mode 100644 src/moc_stringlistmodel.cxx create mode 100644 src/moc_stringlistview.cxx create mode 100644 src/moc_tagguesser.cxx create mode 100644 src/moc_tagmodel.cxx create mode 100644 src/moc_timelabel.cxx create mode 100644 src/moc_timeslider.cxx create mode 100644 src/moc_trayicon.cxx create mode 100644 src/moc_traysonginfo.cxx create mode 100644 src/moc_verticalbutton.cxx diff --git a/AUTHORS b/AUTHORS index 6a5076e..d629b84 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,11 +1,20 @@ +QMPDClient, an Qt-based MPD client. + Håvard Tautra Knutsen havtknut@tihlde.org + http://havtknut.tihlde.org/qmpdclient/ Main developer Voker57 voker57@gmail.com + http://bitcheese.net/wiki/QMPDClient Developer, qmpdclient-ne maintainer Roman (Ky6uk) Nuritdinov ky6uk.kun@gmail.com + http://github.com/Ky6uk/qmpdclient-ng Developer + +Marian Beermann + qmpdclient@enkore,de + Developer (Qt 5 port) diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index b65c2c9..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,313 +0,0 @@ -cmake_minimum_required(VERSION 2.6) - -find_package(Qt4 4.4.0 COMPONENTS QtCore QtGui QtNetwork QtXml QtXmlPatterns REQUIRED QtDBus) -if(UNIX) - if(NOT MAC) - find_package(X11 REQUIRED) - endif() -endif() - -SET (QT_USE_QTNETWORK TRUE) -SET (QT_USE_QTXMLPATTERNS TRUE) -SET (QT_USE_QTXML TRUE) - -if(WIN32) - SET (QT_USE_QTMAIN TRUE) -endif() - -if(NOT DEFINED VERSION) - find_program (GIT_CMD git) - execute_process (COMMAND "${GIT_CMD}" describe - OUTPUT_VARIABLE VERSION - OUTPUT_STRIP_TRAILING_WHITESPACE - ) - if(NOT VERSION) - set(VERSION 1.2.2) - endif() - message (STATUS "Current version: ${VERSION}") -endif() - -set(NAMEVER "QMPDClient ${VERSION}") - -set(QMPDClient_srcs - src/aafilter.cpp - src/aboutdialog.cpp - src/abstractmodel.cpp - src/abstractview.cpp - src/albumview.cpp - src/artistview.cpp - src/clickablelabel.cpp - src/config.cpp - src/controlpanel.cpp - src/coverartdialog.cpp - src/directorymodel.cpp - src/directorypanel.cpp - src/directoryview.cpp - src/dynamicplaylist.cpp - src/fileview.cpp - src/headerview.cpp - src/iconmanager.cpp - src/idealbar.cpp - src/idealsplitter.cpp - src/lastfmsubmitter.cpp - src/libmpdclient.c - src/librarypanel.cpp - src/lineedit.cpp - src/lyricsdialog.cpp - src/mainwindow.cpp - src/metainfodialog.cpp - src/mpdcache.cpp - src/mpdconnection.cpp - src/mpd.cpp - src/mpddirectory.cpp - src/mpdentities.cpp - src/mpdoutput.cpp - src/mpdsong.cpp - src/mpdsonglist.cpp - src/mpdsongmodel.cpp - src/mpdsongview.cpp - src/mpdstats.cpp - src/mpdstatus.cpp - src/notifications.cpp - src/passivepopup.cpp - src/pausabletimer.cpp - src/playlistitemdelegate.cpp - src/playlistmodel.cpp - src/playlistpanel.cpp - src/playlistspanel.cpp - src/playlistsview.cpp - src/playlistview.cpp - src/plconview.cpp - src/plsfile.cpp - src/preferencesdialog.cpp - src/qmpdclient.cpp - src/radiopanel.cpp - src/radioview.cpp - src/reconnect.cpp - src/serverinfo.cpp - src/servermodel.cpp - src/shortcutmodel.cpp - src/shortcuts.cpp - src/shoutcastmodel.cpp - src/shoutcastpanel.cpp - src/shoutcastview.cpp - src/shoutcastfetcher.cpp - src/shoutcaststation.cpp - src/songview.cpp - src/stringlistmodel.cpp - src/stringlistview.cpp - src/tagguesser.cpp - src/tagmodel.cpp - src/timelabel.cpp - src/timeslider.cpp - src/trayicon.cpp - src/traysonginfo.cpp - src/verticalbutton.cpp) - -# src/qmpdclient_mac.cpp -# src/qmpdclient_win.cpp -# src/qmpdclient_x11.cpp -# src/notifications_dbus.cpp -# src/notifications_nodbus.cpp - -set(QMPDClient_hdrs - src/aafilter.h - src/aboutdialog.h - src/abstractmodel.h - src/abstractview_defn.h - src/abstractview.h - src/abstractview_impl.h - src/albumview.h - src/artistview.h - src/clickablelabel.h - src/config.h - src/controlpanel.h - src/coverartdialog.h - src/debug.h - src/directorymodel.h - src/directorypanel.h - src/directoryview.h - src/dynamicplaylist.h - src/fileview.h - src/headerview.h - src/iconmanager.h - src/idealbar.h - src/idealsplitter.h - src/lastfmsubmitter.h - src/libmpdclient.h - src/librarypanel.h - src/lineedit.h - src/lyricsdialog.h - src/macroexpander.h - src/mainwindow.h - src/metainfodialog.h - src/mpdcache.h - src/mpdcache_p.h - src/mpdconnection.h - src/mpddirectory.h - src/mpdentities.h - src/mpd.h - src/mpdoutput.h - src/mpd_p.h - src/mpdsong.h - src/mpdsonglist.h - src/mpdsongmodel.h - src/mpdsongview.h - src/mpdstats.h - src/mpdstatus.h - src/notifications.h - src/passivepopup.h - src/pausabletimer.h - src/playlistitemdelegate.h - src/playlistmodel.h - src/playlistpanel.h - src/playlistspanel.h - src/playlistsview.h - src/playlistview.h - src/plconview.h - src/plsfile.h - src/preferencesdialog.h - src/qmpdclient.h - src/radiopanel.h - src/radioview.h - src/reconnect.h - src/richtext.h - src/serverinfo.h - src/servermodel.h - src/shortcutmodel.h - src/shortcuts.h - src/shoutcastpanel.h - src/shoutcastview.h - src/shoutcastmodel.h - src/shoutcastfetcher.h - src/shoutcaststation.h - src/songview.h - src/stringlistmodel.h - src/stringlistview.h - src/tagguesser.h - src/tagmodel.h - src/timelabel.h - src/timeslider.h - src/trayicon.h - src/traysonginfo.h - src/verticalbutton.h) - -SET(QMPDClient_uis - ui/aboutdialog.ui - ui/addradiodialog.ui - ui/controlpanel.ui - ui/coverartdialog.ui - ui/directorypanel.ui - ui/librarypanel.ui - ui/lyricsdialog.ui - ui/mainwindow.ui - ui/metainfodialog.ui - ui/playlistpanel.ui - ui/playlistspanel.ui - ui/preferencesdialog.ui - ui/radiopanel.ui - ui/shoutcastpanel.ui) - -if(UNIX) - if(NOT MAC) - if(QT_QTDBUS_FOUND) - message(STATUS "QtDBus found") - SET (QT_USE_QTDBUS TRUE) - list(APPEND QMPDClient_srcs src/notifications_dbus.cpp) - list(APPEND QMPDClient_srcs src/qdbus_adaptor.cpp) - list(APPEND QMPDClient_hdrs src/qdbus_adaptor.h) - add_definitions("-DWITH_DBUS") - else() - message(STATUS "QtDBus not found") - list(APPEND QMPDClient_srcs src/notifications_nodbus.cpp) - endif() - list(APPEND QMPDClient_srcs src/qmpdclient_x11.cpp) - else() - list(APPEND QMPDClient_srcs src/notifications_nodbus.cpp - src/qmpdclient_mac.cpp) - endif() -endif() - -if(WIN32) - list(APPEND QMPDClient_srcs src/notifications_nodbus.cpp - src/qmpdclient_win.cpp icons/resource.rc) -endif() - -include(${QT_USE_FILE}) -qt4_wrap_cpp(QMPDClient_ppd_hdrs ${QMPDClient_hdrs}) -qt4_add_resources(QMPDClient_ppd_res qmpdclient.qrc) -qt4_wrap_ui(QMPDClient_ppd_uis ${QMPDClient_uis}) -include_directories (${CMAKE_CURRENT_BINARY_DIR} - src) - -SET (TRANSLATIONS - lang/cs_CZ.ts - lang/de_DE.ts - lang/es_ES.ts - lang/fr_FR.ts - lang/it_IT.ts - lang/nl_NL.ts - lang/nn_NO.ts - lang/no_NO.ts - lang/pt_BR.ts - lang/ru_RU.ts - lang/sv_SE.ts - lang/tr_TR.ts - lang/uk_UA.ts - lang/zh_CN.ts - lang/zh_TW.ts) - -SET (COMPILED_TRANSLATIONS - lang/cs_CZ.qm - lang/de_DE.qm - lang/es_ES.qm - lang/fr_FR.qm - lang/it_IT.qm - lang/nl_NL.qm - lang/nn_NO.qm - lang/no_NO.qm - lang/pt_BR.qm - lang/ru_RU.qm - lang/sv_SE.qm - lang/tr_TR.qm - lang/uk_UA.qm - lang/zh_CN.qm - lang/zh_TW.qm) - - -ADD_CUSTOM_COMMAND (OUTPUT - ${COMPILED_TRANSLATIONS} - COMMAND "${QT_LRELEASE_EXECUTABLE}" ${TRANSLATIONS} - DEPENDS ${TRANSLATIONS} - WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - ) - -add_definitions(-DNAMEVER="${NAMEVER}" -DPREFIX="${CMAKE_INSTALL_PREFIX}" -DVERSION="${VERSION}") - -add_executable(qmpdclient ${QMPDClient_srcs} ${QMPDClient_ppd_hdrs} ${QMPDClient_ppd_uis} ${QMPDClient_ppd_res} ${COMPILED_TRANSLATIONS}) - -target_link_libraries(qmpdclient ${QT_LIBRARIES}) -if(UNIX) - if(NOT MAC) - target_link_libraries(qmpdclient ${X11_LIBRARIES}) - endif() -endif() -if(WIN32) - target_link_libraries(qmpdclient ws2_32) - set_target_properties(qmpdclient PROPERTIES WIN32_EXECUTABLE TRUE) -endif() - -if(UNIX) - install(TARGETS qmpdclient DESTINATION bin) - install(FILES qmpdclient.desktop DESTINATION share/applications) - install(FILES icons/64x64/qmpdclient.png DESTINATION share/icons/hicolor/64x64/apps/) - install(FILES icons/48x48/qmpdclient.png DESTINATION share/icons/hicolor/48x48/apps/) - install(FILES icons/22x22/qmpdclient.png DESTINATION share/icons/hicolor/22x22/apps/) - install(FILES icons/16x16/qmpdclient.png DESTINATION share/icons/hicolor/16x16/apps/) - install(FILES icons/svg/qmpdclient.svg DESTINATION share/icons/hicolor/scalable/apps/) - install(FILES ${COMPILED_TRANSLATIONS} DESTINATION share/QMPDClient/translations) -endif() -if(WIN32) - install(TARGETS qmpdclient DESTINATION .) - install(FILES ${COMPILED_TRANSLATIONS} DESTINATION translations) -endif() diff --git a/COPYING b/COPYING index 956c13c..f6e933c 100644 --- a/COPYING +++ b/COPYING @@ -1,6 +1,7 @@ (c) 2005-2008, Håvard Tautra Knutsen (c) 2008-2009, Voker57 (c) 2009, Roman (Ky6uk) Nuritdinov +(c) 2013, Marian Beermann This program is distributed under the terms of the GPL v2. diff --git a/README b/README index 1290cf1..c9ee743 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -QMPDClient, an MPD client written in Qt 4. +QMPDClient, an MPD client written in Qt 5. (c) 2005-2008, Håvard Tautra Knutsen diff --git a/qmpdclient.pro b/qmpdclient.pro index 4a09b48..47c57f5 100644 --- a/qmpdclient.pro +++ b/qmpdclient.pro @@ -2,8 +2,8 @@ PREFIX = /usr/local # Most people need not muck about below here -#!contains(QT_MAJOR_VERSION, 4):error(QMPDClient requires Qt 4) -CONFIG += qt debug +# !contains(QT_MAJOR_VERSION, 4):error(QMPDClient requires Qt 4) +CONFIG += qt5 debug # addition ldflags for release build QMAKE_LFLAGS_RELEASE += -O2 -g0 -s @@ -11,14 +11,14 @@ QMAKE_LFLAGS_RELEASE += -O2 -g0 -s # CONFIG -= debug # Needed to avoid console on win32 TEMPLATE = app RESOURCES = qmpdclient.qrc -VERSION = 1.2.2 +VERSION = 1.3 DEFINES += NAMEVER='"\\"QMPDClient \ $$VERSION\\""' DEFINES += VERSION='"\\"$$VERSION\\""' INCLUDEPATH += src -QT += network xml xmlpatterns +QT += network xml xmlpatterns widgets x11extras -FORMS += ui/aboutdialog.ui \ +FORMS += \ ui/addradiodialog.ui \ ui/controlpanel.ui \ ui/coverartdialog.ui \ @@ -31,7 +31,8 @@ FORMS += ui/aboutdialog.ui \ ui/preferencesdialog.ui \ ui/radiopanel.ui \ ui/shoutcastpanel.ui \ - ui/lyricsdialog.ui + ui/lyricsdialog.ui \ + ui/aboutdialog.ui HEADERS += src/aafilter.h \ src/aboutdialog.h \ diff --git a/src/controlpanel.cpp b/src/controlpanel.cpp index 5543d33..7d8f989 100644 --- a/src/controlpanel.cpp +++ b/src/controlpanel.cpp @@ -112,7 +112,7 @@ void ControlPanel::setSong(const MPDSong &s) { const int titleWidth = isVisible() ? titleLabel->width() : width() - 200; // const int artistWidth = isVisible() ? artistLabel->width() : width() - 200; - QString title = elideRichText("

", s.title() , "

", titleWidth); + //QString title = elideRichText("

", s.title() , "

", titleWidth); QString artist = s.artist(); QString album = s.album(); @@ -123,7 +123,7 @@ void ControlPanel::setSong(const MPDSong &s) { else if (!album.isEmpty()) artist += QString("%1").arg(album); - titleLabel->setText(title); + titleLabel->setText(s.title()); artistLabel->setText(artist); if (Config::instance()->submitSongsToLastFm()) m_lastFm->setSong(s); diff --git a/src/directorymodel.cpp b/src/directorymodel.cpp index 1297f5f..cd6b59b 100644 --- a/src/directorymodel.cpp +++ b/src/directorymodel.cpp @@ -145,7 +145,8 @@ QModelIndex DirectoryModel::createIndex(int row, int col, const MPDDirectory &di void DirectoryModel::setRoot(const MPDDirectory &root) { m_root = root; - reset(); + beginResetModel(); + endResetModel(); } QStringList DirectoryModel::mimeTypes() const { diff --git a/src/headerview.cpp b/src/headerview.cpp index 219af74..99a9f5a 100644 --- a/src/headerview.cpp +++ b/src/headerview.cpp @@ -27,7 +27,7 @@ const int HEADER_FORMAT = 108; HeaderView::HeaderView(QWidget *p) : QHeaderView(Qt::Horizontal, p), m_menu(new QMenu(this)) { - setMovable(true); + setSectionsMovable(true); connect(Config::instance(), SIGNAL(autoResizeChanged(bool)), this, SLOT(autoResizeChanged(bool))); } @@ -40,7 +40,7 @@ void HeaderView::mouseReleaseEvent(QMouseEvent *e) { void HeaderView::autoResizeChanged(bool a) { if (!a) { - setResizeMode(QHeaderView::Interactive); + setSectionResizeMode(QHeaderView::Interactive); setStretchLastSection(true); return; } @@ -52,9 +52,9 @@ void HeaderView::autoResizeChanged(bool a) { continue; Column col = m_columns.at(i); if (col == TRACK || col == LENGTH || col == DATE) - setResizeMode(i, QHeaderView::ResizeToContents); + setSectionResizeMode(i, QHeaderView::ResizeToContents); else - setResizeMode(i, QHeaderView::Stretch); + setSectionResizeMode(i, QHeaderView::Stretch); } setUpdatesEnabled(true); diff --git a/src/lastfmsubmitter.cpp b/src/lastfmsubmitter.cpp index a9b6ea9..901b11e 100644 --- a/src/lastfmsubmitter.cpp +++ b/src/lastfmsubmitter.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -115,7 +116,7 @@ void LastFmSubmitter::scrobbleNp(MPDSong & s) { QUrl url(m_npUrl); QNetworkRequest request(url); request.setRawHeader("Content-Type", "application/x-www-form-urlencoded"); - m_netAccess->post(request, data.toAscii()); + m_netAccess->post(request, data.toLatin1()); } void LastFmSubmitter::scrobbleCurrent() { @@ -153,12 +154,12 @@ void LastFmSubmitter::scrobbleQueued() { ++i; } if (i>0) { - //qDebug() << "sending scrobble to " << m_subUrl.toAscii(); - //qDebug() << "data: " << data.toAscii(); + //qDebug() << "sending scrobble to " << m_subUrl.toLatin1(); + //qDebug() << "data: " << data.toLatin1(); QUrl url(m_subUrl); QNetworkRequest request(url); request.setRawHeader("Content-Type", "application/x-www-form-urlencoded"); - m_netAccess->post(request, data.toAscii()); + m_netAccess->post(request, data.toLatin1()); m_awaitingScrob = true; } } @@ -173,10 +174,10 @@ bool LastFmSubmitter::ensureHandshaked() { QByteArray LastFmSubmitter::getPasswordHash() { QByteArray passwordHash; if (Config::instance()->lastFmHashedPassword()) - passwordHash = Config::instance()->lastFmPassword().toAscii(); + passwordHash = Config::instance()->lastFmPassword().toLatin1(); else passwordHash = QCryptographicHash::hash( - Config::instance()->lastFmPassword().toAscii(), + Config::instance()->lastFmPassword().toLatin1(), QCryptographicHash::Md5).toHex(); //accomplish it with current time @@ -201,13 +202,15 @@ void LastFmSubmitter::doHandshake() { return; } QUrl hsUrl = handshakeUrl(); - hsUrl.addQueryItem("hs", "true"); - hsUrl.addQueryItem("p", "1.2.1"); - hsUrl.addQueryItem("c", "qmn"); - hsUrl.addQueryItem("v", VERSION); - hsUrl.addQueryItem("u", Config::instance()->lastFmUsername()); - hsUrl.addQueryItem("t", QString::number(time(NULL))); - hsUrl.addQueryItem("a", getPasswordHash().toHex()); + QUrlQuery q; + q.addQueryItem("hs", "true"); + q.addQueryItem("p", "1.2.1"); + q.addQueryItem("c", "qmn"); + q.addQueryItem("v", VERSION); + q.addQueryItem("u", Config::instance()->lastFmUsername()); + q.addQueryItem("t", QString::number(time(NULL))); + q.addQueryItem("a", getPasswordHash().toHex()); + hsUrl.setQuery(q); m_netAccess->get(QNetworkRequest(hsUrl)); //qDebug() << "handshake sent to " << hsUrl.toString(); @@ -228,8 +231,10 @@ void LastFmSubmitter::gotNetReply(QNetworkReply * reply) { if(data.size()==0) return; QUrl reqUrl = reply->url(); - reqUrl.setQueryItems(QList >()); - //qDebug( (QString("reply from ")+reqUrl.toString()).toAscii().data()); + QUrlQuery q; + q.setQueryItems(QList >()); + reqUrl.setQuery(q); + //qDebug( (QString("reply from ")+reqUrl.toString()).toLatin1().data()); bool handled= false; // Is this is a handshake reply? @@ -242,7 +247,7 @@ void LastFmSubmitter::gotNetReply(QNetworkReply * reply) { m_session=data[1]; m_npUrl=data[2]; m_subUrl=data[3]; - //qDebug( (QString("hsake result: npurl: ")+m_npUrl+" suburl: "+m_subUrl).toAscii().data()); + //qDebug( (QString("hsake result: npurl: ")+m_npUrl+" suburl: "+m_subUrl).toLatin1().data()); if(m_npPending) sendNowPlaying(); } else if(data[0]=="BADAUTH") diff --git a/src/moc_aafilter.cxx b/src/moc_aafilter.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_aboutdialog.cxx b/src/moc_aboutdialog.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_abstractmodel.cxx b/src/moc_abstractmodel.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_abstractview.cxx b/src/moc_abstractview.cxx new file mode 100644 index 0000000..fc7ed0f --- /dev/null +++ b/src/moc_abstractview.cxx @@ -0,0 +1,185 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'abstractview.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "abstractview.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'abstractview.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_AbstractTree[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 5, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 14, 13, 13, 13, 0x0a, + 26, 13, 13, 13, 0x0a, + 41, 13, 13, 13, 0x08, + 51, 13, 13, 13, 0x08, + 65, 13, 13, 13, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_AbstractTree[] = { + "AbstractTree\0\0connected()\0disconnected()\0" + "enqueue()\0information()\0play()\0" +}; + +void AbstractTree::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + AbstractTree *_t = static_cast(_o); + switch (_id) { + case 0: _t->connected(); break; + case 1: _t->disconnected(); break; + case 2: _t->enqueue(); break; + case 3: _t->information(); break; + case 4: _t->play(); break; + default: ; + } + } + Q_UNUSED(_a); +} + +const QMetaObjectExtraData AbstractTree::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject AbstractTree::staticMetaObject = { + { &QTreeView::staticMetaObject, qt_meta_stringdata_AbstractTree, + qt_meta_data_AbstractTree, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &AbstractTree::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *AbstractTree::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *AbstractTree::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_AbstractTree)) + return static_cast(const_cast< AbstractTree*>(this)); + return QTreeView::qt_metacast(_clname); +} + +int AbstractTree::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QTreeView::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 5) + qt_static_metacall(this, _c, _id, _a); + _id -= 5; + } + return _id; +} +static const uint qt_meta_data_AbstractList[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 5, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 14, 13, 13, 13, 0x0a, + 26, 13, 13, 13, 0x0a, + 41, 13, 13, 13, 0x08, + 51, 13, 13, 13, 0x08, + 65, 13, 13, 13, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_AbstractList[] = { + "AbstractList\0\0connected()\0disconnected()\0" + "enqueue()\0information()\0play()\0" +}; + +void AbstractList::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + AbstractList *_t = static_cast(_o); + switch (_id) { + case 0: _t->connected(); break; + case 1: _t->disconnected(); break; + case 2: _t->enqueue(); break; + case 3: _t->information(); break; + case 4: _t->play(); break; + default: ; + } + } + Q_UNUSED(_a); +} + +const QMetaObjectExtraData AbstractList::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject AbstractList::staticMetaObject = { + { &QListView::staticMetaObject, qt_meta_stringdata_AbstractList, + qt_meta_data_AbstractList, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &AbstractList::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *AbstractList::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *AbstractList::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_AbstractList)) + return static_cast(const_cast< AbstractList*>(this)); + return QListView::qt_metacast(_clname); +} + +int AbstractList::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QListView::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 5) + qt_static_metacall(this, _c, _id, _a); + _id -= 5; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_abstractview_defn.cxx b/src/moc_abstractview_defn.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_abstractview_impl.cxx b/src/moc_abstractview_impl.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_albumview.cxx b/src/moc_albumview.cxx new file mode 100644 index 0000000..e4a0486 --- /dev/null +++ b/src/moc_albumview.cxx @@ -0,0 +1,93 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'albumview.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "albumview.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'albumview.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_AlbumView[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 1, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 11, 10, 10, 10, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_AlbumView[] = { + "AlbumView\0\0filterByAlbumOnlyChanged()\0" +}; + +void AlbumView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + AlbumView *_t = static_cast(_o); + switch (_id) { + case 0: _t->filterByAlbumOnlyChanged(); break; + default: ; + } + } + Q_UNUSED(_a); +} + +const QMetaObjectExtraData AlbumView::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject AlbumView::staticMetaObject = { + { &StringListView::staticMetaObject, qt_meta_stringdata_AlbumView, + qt_meta_data_AlbumView, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &AlbumView::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *AlbumView::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *AlbumView::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_AlbumView)) + return static_cast(const_cast< AlbumView*>(this)); + return StringListView::qt_metacast(_clname); +} + +int AlbumView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = StringListView::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 1) + qt_static_metacall(this, _c, _id, _a); + _id -= 1; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_artistview.cxx b/src/moc_artistview.cxx new file mode 100644 index 0000000..522759f --- /dev/null +++ b/src/moc_artistview.cxx @@ -0,0 +1,92 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'artistview.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "artistview.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'artistview.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_ArtistView[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 1, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 12, 11, 11, 11, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_ArtistView[] = { + "ArtistView\0\0setShowAll(bool)\0" +}; + +void ArtistView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + ArtistView *_t = static_cast(_o); + switch (_id) { + case 0: _t->setShowAll((*reinterpret_cast< bool(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData ArtistView::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject ArtistView::staticMetaObject = { + { &StringListView::staticMetaObject, qt_meta_stringdata_ArtistView, + qt_meta_data_ArtistView, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &ArtistView::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *ArtistView::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *ArtistView::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_ArtistView)) + return static_cast(const_cast< ArtistView*>(this)); + return StringListView::qt_metacast(_clname); +} + +int ArtistView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = StringListView::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 1) + qt_static_metacall(this, _c, _id, _a); + _id -= 1; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_clickablelabel.cxx b/src/moc_clickablelabel.cxx new file mode 100644 index 0000000..356983d --- /dev/null +++ b/src/moc_clickablelabel.cxx @@ -0,0 +1,99 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'clickablelabel.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "clickablelabel.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'clickablelabel.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_ClickableLabel[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 1, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 1, // signalCount + + // signals: signature, parameters, type, tag, flags + 16, 15, 15, 15, 0x05, + + 0 // eod +}; + +static const char qt_meta_stringdata_ClickableLabel[] = { + "ClickableLabel\0\0clicked()\0" +}; + +void ClickableLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + ClickableLabel *_t = static_cast(_o); + switch (_id) { + case 0: _t->clicked(); break; + default: ; + } + } + Q_UNUSED(_a); +} + +const QMetaObjectExtraData ClickableLabel::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject ClickableLabel::staticMetaObject = { + { &QLabel::staticMetaObject, qt_meta_stringdata_ClickableLabel, + qt_meta_data_ClickableLabel, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &ClickableLabel::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *ClickableLabel::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *ClickableLabel::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_ClickableLabel)) + return static_cast(const_cast< ClickableLabel*>(this)); + return QLabel::qt_metacast(_clname); +} + +int ClickableLabel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QLabel::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 1) + qt_static_metacall(this, _c, _id, _a); + _id -= 1; + } + return _id; +} + +// SIGNAL 0 +void ClickableLabel::clicked() +{ + QMetaObject::activate(this, &staticMetaObject, 0, 0); +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_config.cxx b/src/moc_config.cxx new file mode 100644 index 0000000..51e24b8 --- /dev/null +++ b/src/moc_config.cxx @@ -0,0 +1,385 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'config.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "config.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'config.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_Config[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 67, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 16, // signalCount + + // signals: signature, parameters, type, tag, flags + 8, 7, 7, 7, 0x05, + 33, 7, 7, 7, 0x05, + 57, 7, 7, 7, 0x05, + 88, 7, 7, 7, 0x05, + 107, 7, 7, 7, 0x05, + 124, 7, 7, 7, 0x05, + 147, 7, 7, 7, 0x05, + 173, 7, 7, 7, 0x05, + 205, 7, 7, 7, 0x05, + 242, 7, 7, 7, 0x05, + 263, 7, 7, 7, 0x05, + 289, 7, 7, 7, 0x05, + 311, 7, 7, 7, 0x05, + 333, 7, 7, 7, 0x05, + 359, 7, 7, 7, 0x05, + 386, 7, 7, 7, 0x05, + + // slots: signature, parameters, type, tag, flags + 419, 7, 7, 7, 0x0a, + 440, 7, 7, 7, 0x0a, + 470, 7, 7, 7, 0x0a, + 489, 7, 7, 7, 0x0a, + 511, 7, 7, 7, 0x0a, + 531, 7, 7, 7, 0x0a, + 562, 7, 7, 7, 0x0a, + 592, 7, 7, 7, 0x0a, + 619, 7, 7, 7, 0x0a, + 636, 7, 7, 7, 0x0a, + 651, 7, 7, 7, 0x0a, + 673, 7, 7, 7, 0x0a, + 690, 7, 7, 7, 0x0a, + 707, 7, 7, 7, 0x0a, + 730, 7, 7, 7, 0x0a, + 757, 7, 7, 7, 0x0a, + 777, 7, 7, 7, 0x0a, + 805, 7, 7, 7, 0x0a, + 834, 7, 7, 7, 0x0a, + 859, 7, 7, 7, 0x0a, + 881, 7, 7, 7, 0x0a, + 903, 7, 7, 7, 0x0a, + 927, 7, 7, 7, 0x0a, + 954, 7, 7, 7, 0x0a, + 980, 7, 7, 7, 0x0a, + 1028, 1012, 7, 7, 0x0a, + 1065, 1012, 7, 7, 0x0a, + 1094, 7, 7, 7, 0x0a, + 1113, 7, 7, 7, 0x0a, + 1132, 7, 7, 7, 0x0a, + 1162, 7, 7, 7, 0x0a, + 1192, 7, 7, 7, 0x0a, + 1221, 7, 7, 7, 0x0a, + 1238, 7, 7, 7, 0x0a, + 1262, 7, 7, 7, 0x0a, + 1283, 7, 7, 7, 0x0a, + 1308, 7, 7, 7, 0x0a, + 1341, 7, 7, 7, 0x0a, + 1362, 7, 7, 7, 0x0a, + 1381, 7, 7, 7, 0x0a, + 1403, 7, 7, 7, 0x0a, + 1426, 7, 7, 7, 0x0a, + 1451, 7, 7, 7, 0x0a, + 1476, 7, 7, 7, 0x0a, + 1503, 7, 7, 7, 0x0a, + 1528, 7, 7, 7, 0x0a, + 1557, 7, 7, 7, 0x0a, + 1584, 7, 7, 7, 0x0a, + 1611, 7, 7, 7, 0x0a, + 1641, 7, 7, 7, 0x0a, + 1670, 7, 7, 7, 0x0a, + + 0 // eod +}; + +static const char qt_meta_stringdata_Config[] = { + "Config\0\0alternatingChanged(bool)\0" + "autoResizeChanged(bool)\0" + "filterByAlbumOnlyChanged(bool)\0" + "fontChanged(QFont)\0iconSetChanged()\0" + "localeChanged(QString)\0opaqueResizeChanged(bool)\0" + "playlistPatternChanged(QString)\0" + "serverListChanged(QList)\0" + "showAllChanged(bool)\0showCoverArtChanged(bool)\0" + "styleChanged(QString)\0trayIconChanged(bool)\0" + "autoAddSongsChanged(bool)\0" + "autoAddAlbumsChanged(bool)\0" + "submitSongsToLastFmChanged(bool)\0" + "setAutoconnect(bool)\0setServers(QList)\0" + "setReconnect(bool)\0setReconnectTime(int)\0" + "setTimeoutTime(int)\0setSaveTransientSettings(bool)\0" + "setAlternatingRowColors(bool)\0" + "setAutoResizeColumns(bool)\0setEnqueue(bool)\0" + "setFont(QFont)\0setOpaqueResize(bool)\0" + "setRecurse(bool)\0setShowAll(bool)\0" + "setShowRemaining(bool)\0" + "setFilterByAlbumOnly(bool)\0" + "setIconSet(QString)\0setPlaylistPattern(QString)\0" + "setDisregardLeadingThe(bool)\0" + "setScrollToPlaying(bool)\0setStyleFile(QString)\0" + "setShowCoverArt(bool)\0setCoverArtDir(QString)\0" + "setCoverMaxHeight(QString)\0" + "setCoverMaxWidth(QString)\0" + "setCoverFilenameFormat(QString)\0" + "action,shortcut\0setOriginalShortcut(QString,QString)\0" + "setShortcut(QString,QString)\0" + "setLocale(QString)\0setTranslate(bool)\0" + "setNotificationsEnabled(bool)\0" + "setNotificationsPosition(int)\0" + "setNotificationsTimeout(int)\0" + "setNotifier(int)\0setMinimizeToTray(bool)\0" + "setStartHidden(bool)\0setTrayIconEnabled(bool)\0" + "setExtendedSongInfoEnabled(bool)\0" + "setAutoAddCount(int)\0setAutoAddPos(int)\0" + "setAutoAddSongs(bool)\0setAutoAddAlbums(bool)\0" + "setAutoRemoveSongs(bool)\0" + "setGuessPattern(QString)\0" + "setTagGuesserEnabled(bool)\0" + "setTestFilename(QString)\0" + "setSubmitSongsToLastFm(bool)\0" + "setLastFmUsername(QString)\0" + "setLastFmPassword(QString)\0" + "setLastFmHashedPassword(bool)\0" + "setLastFmScrobblerTimer(int)\0" + "setLastFmServer(QString)\0" +}; + +void Config::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + Config *_t = static_cast(_o); + switch (_id) { + case 0: _t->alternatingChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 1: _t->autoResizeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 2: _t->filterByAlbumOnlyChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 3: _t->fontChanged((*reinterpret_cast< const QFont(*)>(_a[1]))); break; + case 4: _t->iconSetChanged(); break; + case 5: _t->localeChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 6: _t->opaqueResizeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 7: _t->playlistPatternChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 8: _t->serverListChanged((*reinterpret_cast< const QList(*)>(_a[1]))); break; + case 9: _t->showAllChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 10: _t->showCoverArtChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 11: _t->styleChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 12: _t->trayIconChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 13: _t->autoAddSongsChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 14: _t->autoAddAlbumsChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 15: _t->submitSongsToLastFmChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 16: _t->setAutoconnect((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 17: _t->setServers((*reinterpret_cast< const QList(*)>(_a[1]))); break; + case 18: _t->setReconnect((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 19: _t->setReconnectTime((*reinterpret_cast< int(*)>(_a[1]))); break; + case 20: _t->setTimeoutTime((*reinterpret_cast< int(*)>(_a[1]))); break; + case 21: _t->setSaveTransientSettings((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 22: _t->setAlternatingRowColors((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 23: _t->setAutoResizeColumns((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 24: _t->setEnqueue((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 25: _t->setFont((*reinterpret_cast< const QFont(*)>(_a[1]))); break; + case 26: _t->setOpaqueResize((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 27: _t->setRecurse((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 28: _t->setShowAll((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 29: _t->setShowRemaining((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 30: _t->setFilterByAlbumOnly((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 31: _t->setIconSet((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 32: _t->setPlaylistPattern((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 33: _t->setDisregardLeadingThe((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 34: _t->setScrollToPlaying((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 35: _t->setStyleFile((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 36: _t->setShowCoverArt((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 37: _t->setCoverArtDir((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 38: _t->setCoverMaxHeight((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 39: _t->setCoverMaxWidth((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 40: _t->setCoverFilenameFormat((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 41: _t->setOriginalShortcut((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; + case 42: _t->setShortcut((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; + case 43: _t->setLocale((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 44: _t->setTranslate((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 45: _t->setNotificationsEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 46: _t->setNotificationsPosition((*reinterpret_cast< int(*)>(_a[1]))); break; + case 47: _t->setNotificationsTimeout((*reinterpret_cast< int(*)>(_a[1]))); break; + case 48: _t->setNotifier((*reinterpret_cast< int(*)>(_a[1]))); break; + case 49: _t->setMinimizeToTray((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 50: _t->setStartHidden((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 51: _t->setTrayIconEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 52: _t->setExtendedSongInfoEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 53: _t->setAutoAddCount((*reinterpret_cast< int(*)>(_a[1]))); break; + case 54: _t->setAutoAddPos((*reinterpret_cast< int(*)>(_a[1]))); break; + case 55: _t->setAutoAddSongs((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 56: _t->setAutoAddAlbums((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 57: _t->setAutoRemoveSongs((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 58: _t->setGuessPattern((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 59: _t->setTagGuesserEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 60: _t->setTestFilename((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 61: _t->setSubmitSongsToLastFm((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 62: _t->setLastFmUsername((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 63: _t->setLastFmPassword((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 64: _t->setLastFmHashedPassword((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 65: _t->setLastFmScrobblerTimer((*reinterpret_cast< int(*)>(_a[1]))); break; + case 66: _t->setLastFmServer((*reinterpret_cast< const QString(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData Config::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject Config::staticMetaObject = { + { &QSettings::staticMetaObject, qt_meta_stringdata_Config, + qt_meta_data_Config, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &Config::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *Config::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *Config::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_Config)) + return static_cast(const_cast< Config*>(this)); + return QSettings::qt_metacast(_clname); +} + +int Config::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QSettings::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 67) + qt_static_metacall(this, _c, _id, _a); + _id -= 67; + } + return _id; +} + +// SIGNAL 0 +void Config::alternatingChanged(bool _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 0, _a); +} + +// SIGNAL 1 +void Config::autoResizeChanged(bool _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 1, _a); +} + +// SIGNAL 2 +void Config::filterByAlbumOnlyChanged(bool _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 2, _a); +} + +// SIGNAL 3 +void Config::fontChanged(const QFont & _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 3, _a); +} + +// SIGNAL 4 +void Config::iconSetChanged() +{ + QMetaObject::activate(this, &staticMetaObject, 4, 0); +} + +// SIGNAL 5 +void Config::localeChanged(const QString & _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 5, _a); +} + +// SIGNAL 6 +void Config::opaqueResizeChanged(bool _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 6, _a); +} + +// SIGNAL 7 +void Config::playlistPatternChanged(const QString & _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 7, _a); +} + +// SIGNAL 8 +void Config::serverListChanged(const QList & _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 8, _a); +} + +// SIGNAL 9 +void Config::showAllChanged(bool _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 9, _a); +} + +// SIGNAL 10 +void Config::showCoverArtChanged(bool _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 10, _a); +} + +// SIGNAL 11 +void Config::styleChanged(const QString & _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 11, _a); +} + +// SIGNAL 12 +void Config::trayIconChanged(bool _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 12, _a); +} + +// SIGNAL 13 +void Config::autoAddSongsChanged(bool _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 13, _a); +} + +// SIGNAL 14 +void Config::autoAddAlbumsChanged(bool _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 14, _a); +} + +// SIGNAL 15 +void Config::submitSongsToLastFmChanged(bool _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 15, _a); +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_controlpanel.cxx b/src/moc_controlpanel.cxx new file mode 100644 index 0000000..a6879b0 --- /dev/null +++ b/src/moc_controlpanel.cxx @@ -0,0 +1,113 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'controlpanel.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "controlpanel.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'controlpanel.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_ControlPanel[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 5, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 1, // signalCount + + // signals: signature, parameters, type, tag, flags + 14, 13, 13, 13, 0x05, + + // slots: signature, parameters, type, tag, flags + 31, 13, 13, 13, 0x0a, + 51, 13, 13, 13, 0x08, + 68, 13, 13, 13, 0x08, + 94, 13, 13, 13, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_ControlPanel[] = { + "ControlPanel\0\0infoMsg(QString)\0" + "updateTranslation()\0setSong(MPDSong)\0" + "showCoverArtChanged(bool)\0updateVolume(int)\0" +}; + +void ControlPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + ControlPanel *_t = static_cast(_o); + switch (_id) { + case 0: _t->infoMsg((*reinterpret_cast< QString(*)>(_a[1]))); break; + case 1: _t->updateTranslation(); break; + case 2: _t->setSong((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; + case 3: _t->showCoverArtChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 4: _t->updateVolume((*reinterpret_cast< int(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData ControlPanel::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject ControlPanel::staticMetaObject = { + { &QWidget::staticMetaObject, qt_meta_stringdata_ControlPanel, + qt_meta_data_ControlPanel, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &ControlPanel::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *ControlPanel::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *ControlPanel::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_ControlPanel)) + return static_cast(const_cast< ControlPanel*>(this)); + if (!strcmp(_clname, "Ui::ControlPanel")) + return static_cast< Ui::ControlPanel*>(const_cast< ControlPanel*>(this)); + return QWidget::qt_metacast(_clname); +} + +int ControlPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QWidget::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 5) + qt_static_metacall(this, _c, _id, _a); + _id -= 5; + } + return _id; +} + +// SIGNAL 0 +void ControlPanel::infoMsg(QString _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 0, _a); +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_coverartdialog.cxx b/src/moc_coverartdialog.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_debug.cxx b/src/moc_debug.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_directorymodel.cxx b/src/moc_directorymodel.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_directorypanel.cxx b/src/moc_directorypanel.cxx new file mode 100644 index 0000000..0b8034a --- /dev/null +++ b/src/moc_directorypanel.cxx @@ -0,0 +1,95 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'directorypanel.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "directorypanel.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'directorypanel.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_DirectoryPanel[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 2, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 16, 15, 15, 15, 0x0a, + 38, 36, 15, 15, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_DirectoryPanel[] = { + "DirectoryPanel\0\0updateTranslation()\0" + ",\0on_directorySplit_splitterMoved(int,int)\0" +}; + +void DirectoryPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + DirectoryPanel *_t = static_cast(_o); + switch (_id) { + case 0: _t->updateTranslation(); break; + case 1: _t->on_directorySplit_splitterMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData DirectoryPanel::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject DirectoryPanel::staticMetaObject = { + { &QWidget::staticMetaObject, qt_meta_stringdata_DirectoryPanel, + qt_meta_data_DirectoryPanel, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &DirectoryPanel::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *DirectoryPanel::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *DirectoryPanel::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_DirectoryPanel)) + return static_cast(const_cast< DirectoryPanel*>(this)); + return QWidget::qt_metacast(_clname); +} + +int DirectoryPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QWidget::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 2) + qt_static_metacall(this, _c, _id, _a); + _id -= 2; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_directoryview.cxx b/src/moc_directoryview.cxx new file mode 100644 index 0000000..4788ce1 --- /dev/null +++ b/src/moc_directoryview.cxx @@ -0,0 +1,97 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'directoryview.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "directoryview.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'directoryview.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_DirectoryView[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 3, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 15, 14, 14, 14, 0x0a, + 35, 14, 14, 14, 0x08, + 44, 14, 14, 14, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_DirectoryView[] = { + "DirectoryView\0\0updateTranslation()\0" + "rescan()\0setRoot(MPDDirectory)\0" +}; + +void DirectoryView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + DirectoryView *_t = static_cast(_o); + switch (_id) { + case 0: _t->updateTranslation(); break; + case 1: _t->rescan(); break; + case 2: _t->setRoot((*reinterpret_cast< const MPDDirectory(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData DirectoryView::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject DirectoryView::staticMetaObject = { + { &AbstractTree::staticMetaObject, qt_meta_stringdata_DirectoryView, + qt_meta_data_DirectoryView, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &DirectoryView::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *DirectoryView::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *DirectoryView::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_DirectoryView)) + return static_cast(const_cast< DirectoryView*>(this)); + return AbstractTree::qt_metacast(_clname); +} + +int DirectoryView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = AbstractTree::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 3) + qt_static_metacall(this, _c, _id, _a); + _id -= 3; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_dynamicplaylist.cxx b/src/moc_dynamicplaylist.cxx new file mode 100644 index 0000000..596d590 --- /dev/null +++ b/src/moc_dynamicplaylist.cxx @@ -0,0 +1,97 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'dynamicplaylist.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "dynamicplaylist.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'dynamicplaylist.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_DynamicPlaylist[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 3, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 17, 16, 16, 16, 0x08, + 34, 16, 16, 16, 0x08, + 54, 16, 16, 16, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_DynamicPlaylist[] = { + "DynamicPlaylist\0\0autoAdd(MPDSong)\0" + "autoRemove(MPDSong)\0playlistUpdated(MPDSongList)\0" +}; + +void DynamicPlaylist::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + DynamicPlaylist *_t = static_cast(_o); + switch (_id) { + case 0: _t->autoAdd((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; + case 1: _t->autoRemove((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; + case 2: _t->playlistUpdated((*reinterpret_cast< const MPDSongList(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData DynamicPlaylist::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject DynamicPlaylist::staticMetaObject = { + { &QObject::staticMetaObject, qt_meta_stringdata_DynamicPlaylist, + qt_meta_data_DynamicPlaylist, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &DynamicPlaylist::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *DynamicPlaylist::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *DynamicPlaylist::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_DynamicPlaylist)) + return static_cast(const_cast< DynamicPlaylist*>(this)); + return QObject::qt_metacast(_clname); +} + +int DynamicPlaylist::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QObject::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 3) + qt_static_metacall(this, _c, _id, _a); + _id -= 3; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_fileview.cxx b/src/moc_fileview.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_headerview.cxx b/src/moc_headerview.cxx new file mode 100644 index 0000000..2e99bfe --- /dev/null +++ b/src/moc_headerview.cxx @@ -0,0 +1,97 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'headerview.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "headerview.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'headerview.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_HeaderView[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 3, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 12, 11, 11, 11, 0x08, + 36, 11, 11, 11, 0x08, + 54, 11, 11, 11, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_HeaderView[] = { + "HeaderView\0\0autoResizeChanged(bool)\0" + "actionTriggered()\0save()\0" +}; + +void HeaderView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + HeaderView *_t = static_cast(_o); + switch (_id) { + case 0: _t->autoResizeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 1: _t->actionTriggered(); break; + case 2: _t->save(); break; + default: ; + } + } +} + +const QMetaObjectExtraData HeaderView::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject HeaderView::staticMetaObject = { + { &QHeaderView::staticMetaObject, qt_meta_stringdata_HeaderView, + qt_meta_data_HeaderView, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &HeaderView::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *HeaderView::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *HeaderView::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_HeaderView)) + return static_cast(const_cast< HeaderView*>(this)); + return QHeaderView::qt_metacast(_clname); +} + +int HeaderView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QHeaderView::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 3) + qt_static_metacall(this, _c, _id, _a); + _id -= 3; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_iconmanager.cxx b/src/moc_iconmanager.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_idealbar.cxx b/src/moc_idealbar.cxx new file mode 100644 index 0000000..152d3b3 --- /dev/null +++ b/src/moc_idealbar.cxx @@ -0,0 +1,93 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'idealbar.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "idealbar.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'idealbar.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_IdealBar[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 1, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 10, 9, 9, 9, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_IdealBar[] = { + "IdealBar\0\0buttonPressed()\0" +}; + +void IdealBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + IdealBar *_t = static_cast(_o); + switch (_id) { + case 0: _t->buttonPressed(); break; + default: ; + } + } + Q_UNUSED(_a); +} + +const QMetaObjectExtraData IdealBar::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject IdealBar::staticMetaObject = { + { &QWidget::staticMetaObject, qt_meta_stringdata_IdealBar, + qt_meta_data_IdealBar, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &IdealBar::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *IdealBar::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *IdealBar::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_IdealBar)) + return static_cast(const_cast< IdealBar*>(this)); + return QWidget::qt_metacast(_clname); +} + +int IdealBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QWidget::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 1) + qt_static_metacall(this, _c, _id, _a); + _id -= 1; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_idealsplitter.cxx b/src/moc_idealsplitter.cxx new file mode 100644 index 0000000..d0a30f4 --- /dev/null +++ b/src/moc_idealsplitter.cxx @@ -0,0 +1,113 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'idealsplitter.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "idealsplitter.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'idealsplitter.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_IdealSplitter[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 3, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 2, // signalCount + + // signals: signature, parameters, type, tag, flags + 15, 14, 14, 14, 0x05, + 37, 14, 14, 14, 0x05, + + // slots: signature, parameters, type, tag, flags + 58, 14, 14, 14, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_IdealSplitter[] = { + "IdealSplitter\0\0sectionCollapsed(int)\0" + "sectionExpanded(int)\0manuallyResized()\0" +}; + +void IdealSplitter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + IdealSplitter *_t = static_cast(_o); + switch (_id) { + case 0: _t->sectionCollapsed((*reinterpret_cast< int(*)>(_a[1]))); break; + case 1: _t->sectionExpanded((*reinterpret_cast< int(*)>(_a[1]))); break; + case 2: _t->manuallyResized(); break; + default: ; + } + } +} + +const QMetaObjectExtraData IdealSplitter::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject IdealSplitter::staticMetaObject = { + { &QSplitter::staticMetaObject, qt_meta_stringdata_IdealSplitter, + qt_meta_data_IdealSplitter, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &IdealSplitter::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *IdealSplitter::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *IdealSplitter::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_IdealSplitter)) + return static_cast(const_cast< IdealSplitter*>(this)); + return QSplitter::qt_metacast(_clname); +} + +int IdealSplitter::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QSplitter::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 3) + qt_static_metacall(this, _c, _id, _a); + _id -= 3; + } + return _id; +} + +// SIGNAL 0 +void IdealSplitter::sectionCollapsed(int _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 0, _a); +} + +// SIGNAL 1 +void IdealSplitter::sectionExpanded(int _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 1, _a); +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_lastfmsubmitter.cxx b/src/moc_lastfmsubmitter.cxx new file mode 100644 index 0000000..8421595 --- /dev/null +++ b/src/moc_lastfmsubmitter.cxx @@ -0,0 +1,117 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'lastfmsubmitter.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "lastfmsubmitter.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'lastfmsubmitter.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_LastFmSubmitter[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 7, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 1, // signalCount + + // signals: signature, parameters, type, tag, flags + 17, 16, 16, 16, 0x05, + + // slots: signature, parameters, type, tag, flags + 34, 16, 16, 16, 0x09, + 62, 16, 16, 16, 0x09, + 80, 16, 16, 16, 0x09, + 97, 16, 16, 16, 0x09, + 114, 16, 16, 16, 0x09, + 128, 16, 16, 16, 0x09, + + 0 // eod +}; + +static const char qt_meta_stringdata_LastFmSubmitter[] = { + "LastFmSubmitter\0\0infoMsg(QString)\0" + "gotNetReply(QNetworkReply*)\0" + "scrobbleCurrent()\0scrobbleQueued()\0" + "sendNowPlaying()\0doHandshake()\0" + "mpdStateUpdated(bool)\0" +}; + +void LastFmSubmitter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + LastFmSubmitter *_t = static_cast(_o); + switch (_id) { + case 0: _t->infoMsg((*reinterpret_cast< QString(*)>(_a[1]))); break; + case 1: _t->gotNetReply((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; + case 2: _t->scrobbleCurrent(); break; + case 3: _t->scrobbleQueued(); break; + case 4: _t->sendNowPlaying(); break; + case 5: _t->doHandshake(); break; + case 6: _t->mpdStateUpdated((*reinterpret_cast< bool(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData LastFmSubmitter::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject LastFmSubmitter::staticMetaObject = { + { &QObject::staticMetaObject, qt_meta_stringdata_LastFmSubmitter, + qt_meta_data_LastFmSubmitter, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &LastFmSubmitter::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *LastFmSubmitter::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *LastFmSubmitter::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_LastFmSubmitter)) + return static_cast(const_cast< LastFmSubmitter*>(this)); + return QObject::qt_metacast(_clname); +} + +int LastFmSubmitter::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QObject::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 7) + qt_static_metacall(this, _c, _id, _a); + _id -= 7; + } + return _id; +} + +// SIGNAL 0 +void LastFmSubmitter::infoMsg(QString _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 0, _a); +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_libmpdclient.cxx b/src/moc_libmpdclient.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_librarypanel.cxx b/src/moc_librarypanel.cxx new file mode 100644 index 0000000..5f58a46 --- /dev/null +++ b/src/moc_librarypanel.cxx @@ -0,0 +1,100 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'librarypanel.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "librarypanel.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'librarypanel.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_LibraryPanel[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 3, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 14, 13, 13, 13, 0x0a, + 36, 34, 13, 13, 0x08, + 76, 34, 13, 13, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_LibraryPanel[] = { + "LibraryPanel\0\0updateTranslation()\0,\0" + "on_libraryVSplit_splitterMoved(int,int)\0" + "on_libraryHSplit_splitterMoved(int,int)\0" +}; + +void LibraryPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + LibraryPanel *_t = static_cast(_o); + switch (_id) { + case 0: _t->updateTranslation(); break; + case 1: _t->on_libraryVSplit_splitterMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; + case 2: _t->on_libraryHSplit_splitterMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData LibraryPanel::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject LibraryPanel::staticMetaObject = { + { &QWidget::staticMetaObject, qt_meta_stringdata_LibraryPanel, + qt_meta_data_LibraryPanel, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &LibraryPanel::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *LibraryPanel::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *LibraryPanel::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_LibraryPanel)) + return static_cast(const_cast< LibraryPanel*>(this)); + if (!strcmp(_clname, "Ui::LibraryPanel")) + return static_cast< Ui::LibraryPanel*>(const_cast< LibraryPanel*>(this)); + return QWidget::qt_metacast(_clname); +} + +int LibraryPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QWidget::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 3) + qt_static_metacall(this, _c, _id, _a); + _id -= 3; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_lineedit.cxx b/src/moc_lineedit.cxx new file mode 100644 index 0000000..74baeb5 --- /dev/null +++ b/src/moc_lineedit.cxx @@ -0,0 +1,96 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'lineedit.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "lineedit.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'lineedit.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_LineEdit[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 2, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 10, 9, 9, 9, 0x0a, + 30, 9, 9, 9, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_LineEdit[] = { + "LineEdit\0\0updateTranslation()\0" + "updateIconSet()\0" +}; + +void LineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + LineEdit *_t = static_cast(_o); + switch (_id) { + case 0: _t->updateTranslation(); break; + case 1: _t->updateIconSet(); break; + default: ; + } + } + Q_UNUSED(_a); +} + +const QMetaObjectExtraData LineEdit::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject LineEdit::staticMetaObject = { + { &QLineEdit::staticMetaObject, qt_meta_stringdata_LineEdit, + qt_meta_data_LineEdit, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &LineEdit::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *LineEdit::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *LineEdit::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_LineEdit)) + return static_cast(const_cast< LineEdit*>(this)); + return QLineEdit::qt_metacast(_clname); +} + +int LineEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QLineEdit::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 2) + qt_static_metacall(this, _c, _id, _a); + _id -= 2; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_lyricsdialog.cxx b/src/moc_lyricsdialog.cxx new file mode 100644 index 0000000..43a9a24 --- /dev/null +++ b/src/moc_lyricsdialog.cxx @@ -0,0 +1,100 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'lyricsdialog.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "lyricsdialog.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'lyricsdialog.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_LyricsDialog[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 4, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 14, 13, 13, 13, 0x0a, + 21, 13, 13, 13, 0x0a, + 40, 13, 13, 13, 0x0a, + 85, 13, 13, 13, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_LyricsDialog[] = { + "LyricsDialog\0\0show()\0updateLyricsText()\0" + "errorLyricsText(QNetworkReply::NetworkError)\0" + "setUserSong()\0" +}; + +void LyricsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + LyricsDialog *_t = static_cast(_o); + switch (_id) { + case 0: _t->show(); break; + case 1: _t->updateLyricsText(); break; + case 2: _t->errorLyricsText((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1]))); break; + case 3: _t->setUserSong(); break; + default: ; + } + } +} + +const QMetaObjectExtraData LyricsDialog::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject LyricsDialog::staticMetaObject = { + { &QDialog::staticMetaObject, qt_meta_stringdata_LyricsDialog, + qt_meta_data_LyricsDialog, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &LyricsDialog::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *LyricsDialog::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *LyricsDialog::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_LyricsDialog)) + return static_cast(const_cast< LyricsDialog*>(this)); + return QDialog::qt_metacast(_clname); +} + +int LyricsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QDialog::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 4) + qt_static_metacall(this, _c, _id, _a); + _id -= 4; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_macroexpander.cxx b/src/moc_macroexpander.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_mainwindow.cxx b/src/moc_mainwindow.cxx new file mode 100644 index 0000000..0c38629 --- /dev/null +++ b/src/moc_mainwindow.cxx @@ -0,0 +1,147 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'mainwindow.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "mainwindow.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'mainwindow.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_MainWindow[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 22, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 12, 11, 11, 11, 0x0a, + 23, 11, 11, 11, 0x0a, + 43, 11, 11, 11, 0x0a, + 66, 11, 11, 11, 0x0a, + 84, 11, 11, 11, 0x08, + 107, 105, 11, 11, 0x08, + 142, 11, 11, 11, 0x08, + 173, 11, 11, 11, 0x08, + 198, 11, 11, 11, 0x08, + 213, 11, 11, 11, 0x08, + 233, 11, 11, 11, 0x08, + 255, 11, 11, 11, 0x08, + 282, 11, 11, 11, 0x08, + 299, 11, 11, 11, 0x08, + 318, 11, 11, 11, 0x08, + 355, 11, 11, 11, 0x08, + 377, 105, 11, 11, 0x08, + 402, 11, 11, 11, 0x08, + 422, 11, 11, 11, 0x08, + 435, 11, 11, 11, 0x08, + 465, 11, 11, 11, 0x08, + 485, 11, 11, 11, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_MainWindow[] = { + "MainWindow\0\0showHide()\0updateTranslation()\0" + "shortAnnounce(QString)\0announce(QString)\0" + "on_about_triggered()\0,\0" + "on_splitter_splitterMoved(int,int)\0" + "on_preferencesMenu_triggered()\0" + "closeEvent(QCloseEvent*)\0connectToMPD()\0" + "connectionChanged()\0disconnected(QString)\0" + "resizeEvent(QResizeEvent*)\0setSong(MPDSong)\0" + "setStats(MPDStats)\0" + "serverListChanged(QList)\0" + "trayIconChanged(bool)\0updateStart(int,QString)\0" + "updateProgress(int)\0updateDone()\0" + "rightStackCurrentChanged(int)\0" + "locateCurrentSong()\0playlistUpdated(MPDSongList)\0" +}; + +void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + MainWindow *_t = static_cast(_o); + switch (_id) { + case 0: _t->showHide(); break; + case 1: _t->updateTranslation(); break; + case 2: _t->shortAnnounce((*reinterpret_cast< QString(*)>(_a[1]))); break; + case 3: _t->announce((*reinterpret_cast< QString(*)>(_a[1]))); break; + case 4: _t->on_about_triggered(); break; + case 5: _t->on_splitter_splitterMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; + case 6: _t->on_preferencesMenu_triggered(); break; + case 7: _t->closeEvent((*reinterpret_cast< QCloseEvent*(*)>(_a[1]))); break; + case 8: _t->connectToMPD(); break; + case 9: _t->connectionChanged(); break; + case 10: _t->disconnected((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 11: _t->resizeEvent((*reinterpret_cast< QResizeEvent*(*)>(_a[1]))); break; + case 12: _t->setSong((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; + case 13: _t->setStats((*reinterpret_cast< const MPDStats(*)>(_a[1]))); break; + case 14: _t->serverListChanged((*reinterpret_cast< const QList(*)>(_a[1]))); break; + case 15: _t->trayIconChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 16: _t->updateStart((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; + case 17: _t->updateProgress((*reinterpret_cast< int(*)>(_a[1]))); break; + case 18: _t->updateDone(); break; + case 19: _t->rightStackCurrentChanged((*reinterpret_cast< int(*)>(_a[1]))); break; + case 20: _t->locateCurrentSong(); break; + case 21: _t->playlistUpdated((*reinterpret_cast< const MPDSongList(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData MainWindow::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject MainWindow::staticMetaObject = { + { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow, + qt_meta_data_MainWindow, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &MainWindow::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *MainWindow::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *MainWindow::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_MainWindow)) + return static_cast(const_cast< MainWindow*>(this)); + return QMainWindow::qt_metacast(_clname); +} + +int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QMainWindow::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 22) + qt_static_metacall(this, _c, _id, _a); + _id -= 22; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_metainfodialog.cxx b/src/moc_metainfodialog.cxx new file mode 100644 index 0000000..adcd608 --- /dev/null +++ b/src/moc_metainfodialog.cxx @@ -0,0 +1,96 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'metainfodialog.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "metainfodialog.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'metainfodialog.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_MetaInfoDialog[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 2, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 16, 15, 15, 15, 0x08, + 40, 15, 15, 15, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_MetaInfoDialog[] = { + "MetaInfoDialog\0\0on_nextButton_clicked()\0" + "on_prevButton_clicked()\0" +}; + +void MetaInfoDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + MetaInfoDialog *_t = static_cast(_o); + switch (_id) { + case 0: _t->on_nextButton_clicked(); break; + case 1: _t->on_prevButton_clicked(); break; + default: ; + } + } + Q_UNUSED(_a); +} + +const QMetaObjectExtraData MetaInfoDialog::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject MetaInfoDialog::staticMetaObject = { + { &QDialog::staticMetaObject, qt_meta_stringdata_MetaInfoDialog, + qt_meta_data_MetaInfoDialog, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &MetaInfoDialog::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *MetaInfoDialog::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *MetaInfoDialog::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_MetaInfoDialog)) + return static_cast(const_cast< MetaInfoDialog*>(this)); + return QDialog::qt_metacast(_clname); +} + +int MetaInfoDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QDialog::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 2) + qt_static_metacall(this, _c, _id, _a); + _id -= 2; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_mpd.cxx b/src/moc_mpd.cxx new file mode 100644 index 0000000..11d8d0c --- /dev/null +++ b/src/moc_mpd.cxx @@ -0,0 +1,216 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'mpd.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "mpd.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'mpd.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_MPD[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 28, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 8, // signalCount + + // signals: signature, parameters, type, tag, flags + 5, 4, 4, 4, 0x05, + 33, 4, 4, 4, 0x05, + 62, 4, 4, 4, 0x05, + 82, 4, 4, 4, 0x05, + 102, 4, 4, 4, 0x05, + 121, 4, 4, 4, 0x05, + 146, 144, 4, 4, 0x05, + 167, 4, 4, 4, 0x05, + + // slots: signature, parameters, type, tag, flags + 186, 4, 4, 4, 0x0a, + 202, 4, 4, 4, 0x0a, + 209, 4, 4, 4, 0x0a, + 222, 4, 4, 4, 0x0a, + 230, 4, 4, 4, 0x0a, + 237, 4, 4, 4, 0x0a, + 244, 4, 4, 4, 0x0a, + 261, 251, 4, 4, 0x0a, + 271, 4, 4, 4, 0x0a, + 286, 4, 4, 4, 0x0a, + 308, 300, 4, 4, 0x0a, + 326, 4, 4, 4, 0x0a, + 342, 4, 4, 4, 0x0a, + 358, 4, 4, 4, 0x0a, + 373, 4, 4, 4, 0x0a, + 391, 4, 4, 4, 0x0a, + 405, 4, 4, 4, 0x2a, + 416, 4, 4, 4, 0x0a, + 432, 4, 4, 4, 0x2a, + 445, 4, 4, 4, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_MPD[] = { + "MPD\0\0playingSongUpdated(MPDSong)\0" + "playlistUpdated(MPDSongList)\0" + "randomUpdated(bool)\0repeatUpdated(bool)\0" + "stateUpdated(bool)\0statsUpdated(MPDStats)\0" + ",\0timeUpdated(int,int)\0volumeUpdated(int)\0" + "clearPlaylist()\0play()\0togglePlay()\0" + "pause()\0stop()\0next()\0prev()\0toSeconds\0" + "seek(int)\0seekBackward()\0seekForward()\0" + "seconds\0setCrossfade(int)\0setRandom(bool)\0" + "setRepeat(bool)\0setVolume(int)\0" + "shufflePlaylist()\0volumeUp(int)\0" + "volumeUp()\0volumeDown(int)\0volumeDown()\0" + "poll()\0" +}; + +void MPD::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + MPD *_t = static_cast(_o); + switch (_id) { + case 0: _t->playingSongUpdated((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; + case 1: _t->playlistUpdated((*reinterpret_cast< const MPDSongList(*)>(_a[1]))); break; + case 2: _t->randomUpdated((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 3: _t->repeatUpdated((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 4: _t->stateUpdated((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 5: _t->statsUpdated((*reinterpret_cast< const MPDStats(*)>(_a[1]))); break; + case 6: _t->timeUpdated((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; + case 7: _t->volumeUpdated((*reinterpret_cast< int(*)>(_a[1]))); break; + case 8: _t->clearPlaylist(); break; + case 9: _t->play(); break; + case 10: _t->togglePlay(); break; + case 11: _t->pause(); break; + case 12: _t->stop(); break; + case 13: _t->next(); break; + case 14: _t->prev(); break; + case 15: _t->seek((*reinterpret_cast< int(*)>(_a[1]))); break; + case 16: _t->seekBackward(); break; + case 17: _t->seekForward(); break; + case 18: _t->setCrossfade((*reinterpret_cast< int(*)>(_a[1]))); break; + case 19: _t->setRandom((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 20: _t->setRepeat((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 21: _t->setVolume((*reinterpret_cast< int(*)>(_a[1]))); break; + case 22: _t->shufflePlaylist(); break; + case 23: _t->volumeUp((*reinterpret_cast< int(*)>(_a[1]))); break; + case 24: _t->volumeUp(); break; + case 25: _t->volumeDown((*reinterpret_cast< int(*)>(_a[1]))); break; + case 26: _t->volumeDown(); break; + case 27: _t->poll(); break; + default: ; + } + } +} + +const QMetaObjectExtraData MPD::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject MPD::staticMetaObject = { + { &QObject::staticMetaObject, qt_meta_stringdata_MPD, + qt_meta_data_MPD, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &MPD::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *MPD::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *MPD::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_MPD)) + return static_cast(const_cast< MPD*>(this)); + return QObject::qt_metacast(_clname); +} + +int MPD::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QObject::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 28) + qt_static_metacall(this, _c, _id, _a); + _id -= 28; + } + return _id; +} + +// SIGNAL 0 +void MPD::playingSongUpdated(const MPDSong & _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 0, _a); +} + +// SIGNAL 1 +void MPD::playlistUpdated(const MPDSongList & _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 1, _a); +} + +// SIGNAL 2 +void MPD::randomUpdated(bool _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 2, _a); +} + +// SIGNAL 3 +void MPD::repeatUpdated(bool _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 3, _a); +} + +// SIGNAL 4 +void MPD::stateUpdated(bool _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 4, _a); +} + +// SIGNAL 5 +void MPD::statsUpdated(const MPDStats & _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 5, _a); +} + +// SIGNAL 6 +void MPD::timeUpdated(int _t1, int _t2) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; + QMetaObject::activate(this, &staticMetaObject, 6, _a); +} + +// SIGNAL 7 +void MPD::volumeUpdated(int _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 7, _a); +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_mpd_p.cxx b/src/moc_mpd_p.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_mpdcache.cxx b/src/moc_mpdcache.cxx new file mode 100644 index 0000000..50ef904 --- /dev/null +++ b/src/moc_mpdcache.cxx @@ -0,0 +1,162 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'mpdcache.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "mpdcache.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'mpdcache.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_MPDCache[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 11, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 6, // signalCount + + // signals: signature, parameters, type, tag, flags + 10, 9, 9, 9, 0x05, + 38, 9, 9, 9, 0x05, + 71, 9, 9, 9, 0x05, + 101, 9, 9, 9, 0x05, + 114, 9, 9, 9, 0x05, + 136, 134, 9, 9, 0x05, + + // slots: signature, parameters, type, tag, flags + 161, 9, 9, 9, 0x0a, + 189, 9, 9, 9, 0x0a, + 198, 9, 9, 9, 0x0a, + 222, 9, 9, 9, 0x08, + 237, 9, 9, 9, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_MPDCache[] = { + "MPDCache\0\0artistsUpdated(QStringList)\0" + "directoriesUpdated(MPDDirectory)\0" + "playlistsUpdated(MPDSongList)\0" + "updateDone()\0updateProgress(int)\0,\0" + "updateStart(int,QString)\0" + "rescan(QList)\0rescan()\0" + "reReadLibrary(MPDStats)\0disconnected()\0" + "setShowAll(bool)\0" +}; + +void MPDCache::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + MPDCache *_t = static_cast(_o); + switch (_id) { + case 0: _t->artistsUpdated((*reinterpret_cast< const QStringList(*)>(_a[1]))); break; + case 1: _t->directoriesUpdated((*reinterpret_cast< const MPDDirectory(*)>(_a[1]))); break; + case 2: _t->playlistsUpdated((*reinterpret_cast< const MPDSongList(*)>(_a[1]))); break; + case 3: _t->updateDone(); break; + case 4: _t->updateProgress((*reinterpret_cast< int(*)>(_a[1]))); break; + case 5: _t->updateStart((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; + case 6: _t->rescan((*reinterpret_cast< const QList(*)>(_a[1]))); break; + case 7: _t->rescan(); break; + case 8: _t->reReadLibrary((*reinterpret_cast< const MPDStats(*)>(_a[1]))); break; + case 9: _t->disconnected(); break; + case 10: _t->setShowAll((*reinterpret_cast< bool(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData MPDCache::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject MPDCache::staticMetaObject = { + { &QObject::staticMetaObject, qt_meta_stringdata_MPDCache, + qt_meta_data_MPDCache, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &MPDCache::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *MPDCache::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *MPDCache::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_MPDCache)) + return static_cast(const_cast< MPDCache*>(this)); + return QObject::qt_metacast(_clname); +} + +int MPDCache::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QObject::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 11) + qt_static_metacall(this, _c, _id, _a); + _id -= 11; + } + return _id; +} + +// SIGNAL 0 +void MPDCache::artistsUpdated(const QStringList & _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 0, _a); +} + +// SIGNAL 1 +void MPDCache::directoriesUpdated(const MPDDirectory & _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 1, _a); +} + +// SIGNAL 2 +void MPDCache::playlistsUpdated(const MPDSongList & _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 2, _a); +} + +// SIGNAL 3 +void MPDCache::updateDone() +{ + QMetaObject::activate(this, &staticMetaObject, 3, 0); +} + +// SIGNAL 4 +void MPDCache::updateProgress(int _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 4, _a); +} + +// SIGNAL 5 +void MPDCache::updateStart(int _t1, const QString & _t2) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; + QMetaObject::activate(this, &staticMetaObject, 5, _a); +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_mpdcache_p.cxx b/src/moc_mpdcache_p.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_mpdconnection.cxx b/src/moc_mpdconnection.cxx new file mode 100644 index 0000000..380de98 --- /dev/null +++ b/src/moc_mpdconnection.cxx @@ -0,0 +1,120 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'mpdconnection.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "mpdconnection.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'mpdconnection.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_MPDConnection[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 5, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 2, // signalCount + + // signals: signature, parameters, type, tag, flags + 15, 14, 14, 14, 0x05, + 43, 37, 14, 14, 0x05, + + // slots: signature, parameters, type, tag, flags + 65, 14, 14, 14, 0x0a, + 90, 14, 14, 14, 0x0a, + 117, 14, 14, 14, 0x2a, + + 0 // eod +}; + +static const char qt_meta_stringdata_MPDConnection[] = { + "MPDConnection\0\0connected(ServerInfo)\0" + "error\0disconnected(QString)\0" + "connectToMPD(ServerInfo)\0" + "disconnectFromMPD(QString)\0" + "disconnectFromMPD()\0" +}; + +void MPDConnection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + MPDConnection *_t = static_cast(_o); + switch (_id) { + case 0: _t->connected((*reinterpret_cast< const ServerInfo(*)>(_a[1]))); break; + case 1: _t->disconnected((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 2: _t->connectToMPD((*reinterpret_cast< const ServerInfo(*)>(_a[1]))); break; + case 3: _t->disconnectFromMPD((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 4: _t->disconnectFromMPD(); break; + default: ; + } + } +} + +const QMetaObjectExtraData MPDConnection::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject MPDConnection::staticMetaObject = { + { &QObject::staticMetaObject, qt_meta_stringdata_MPDConnection, + qt_meta_data_MPDConnection, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &MPDConnection::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *MPDConnection::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *MPDConnection::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_MPDConnection)) + return static_cast(const_cast< MPDConnection*>(this)); + return QObject::qt_metacast(_clname); +} + +int MPDConnection::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QObject::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 5) + qt_static_metacall(this, _c, _id, _a); + _id -= 5; + } + return _id; +} + +// SIGNAL 0 +void MPDConnection::connected(const ServerInfo & _t1)const +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(const_cast< MPDConnection *>(this), &staticMetaObject, 0, _a); +} + +// SIGNAL 1 +void MPDConnection::disconnected(const QString & _t1)const +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(const_cast< MPDConnection *>(this), &staticMetaObject, 1, _a); +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_mpddirectory.cxx b/src/moc_mpddirectory.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_mpdentities.cxx b/src/moc_mpdentities.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_mpdoutput.cxx b/src/moc_mpdoutput.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_mpdsong.cxx b/src/moc_mpdsong.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_mpdsonglist.cxx b/src/moc_mpdsonglist.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_mpdsongmodel.cxx b/src/moc_mpdsongmodel.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_mpdsongview.cxx b/src/moc_mpdsongview.cxx new file mode 100644 index 0000000..bee2bc4 --- /dev/null +++ b/src/moc_mpdsongview.cxx @@ -0,0 +1,100 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'mpdsongview.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "mpdsongview.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'mpdsongview.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_MPDSongView[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 4, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 13, 12, 12, 12, 0x0a, + 32, 12, 12, 12, 0x0a, + 54, 12, 12, 12, 0x0a, + 74, 12, 12, 12, 0x09, + + 0 // eod +}; + +static const char qt_meta_stringdata_MPDSongView[] = { + "MPDSongView\0\0setFilter(QString)\0" + "setSongs(MPDSongList)\0updateTranslation()\0" + "doubleClicked(QModelIndex)\0" +}; + +void MPDSongView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + MPDSongView *_t = static_cast(_o); + switch (_id) { + case 0: _t->setFilter((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 1: _t->setSongs((*reinterpret_cast< const MPDSongList(*)>(_a[1]))); break; + case 2: _t->updateTranslation(); break; + case 3: _t->doubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData MPDSongView::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject MPDSongView::staticMetaObject = { + { &AbstractTree::staticMetaObject, qt_meta_stringdata_MPDSongView, + qt_meta_data_MPDSongView, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &MPDSongView::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *MPDSongView::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *MPDSongView::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_MPDSongView)) + return static_cast(const_cast< MPDSongView*>(this)); + return AbstractTree::qt_metacast(_clname); +} + +int MPDSongView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = AbstractTree::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 4) + qt_static_metacall(this, _c, _id, _a); + _id -= 4; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_mpdstats.cxx b/src/moc_mpdstats.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_mpdstatus.cxx b/src/moc_mpdstatus.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_notifications.cxx b/src/moc_notifications.cxx new file mode 100644 index 0000000..d4f1c48 --- /dev/null +++ b/src/moc_notifications.cxx @@ -0,0 +1,92 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'notifications.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "notifications.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'notifications.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_Notifications[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 1, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 15, 14, 14, 14, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_Notifications[] = { + "Notifications\0\0setSong(MPDSong)\0" +}; + +void Notifications::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + Notifications *_t = static_cast(_o); + switch (_id) { + case 0: _t->setSong((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData Notifications::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject Notifications::staticMetaObject = { + { &QObject::staticMetaObject, qt_meta_stringdata_Notifications, + qt_meta_data_Notifications, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &Notifications::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *Notifications::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *Notifications::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_Notifications)) + return static_cast(const_cast< Notifications*>(this)); + return QObject::qt_metacast(_clname); +} + +int Notifications::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QObject::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 1) + qt_static_metacall(this, _c, _id, _a); + _id -= 1; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_passivepopup.cxx b/src/moc_passivepopup.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_pausabletimer.cxx b/src/moc_pausabletimer.cxx new file mode 100644 index 0000000..a8bb10b --- /dev/null +++ b/src/moc_pausabletimer.cxx @@ -0,0 +1,80 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'pausabletimer.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "pausabletimer.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'pausabletimer.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_PausableTimer[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 0, 0, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + 0 // eod +}; + +static const char qt_meta_stringdata_PausableTimer[] = { + "PausableTimer\0" +}; + +void PausableTimer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + Q_UNUSED(_o); + Q_UNUSED(_id); + Q_UNUSED(_c); + Q_UNUSED(_a); +} + +const QMetaObjectExtraData PausableTimer::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject PausableTimer::staticMetaObject = { + { &QTimer::staticMetaObject, qt_meta_stringdata_PausableTimer, + qt_meta_data_PausableTimer, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &PausableTimer::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *PausableTimer::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *PausableTimer::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_PausableTimer)) + return static_cast(const_cast< PausableTimer*>(this)); + return QTimer::qt_metacast(_clname); +} + +int PausableTimer::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QTimer::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_playlistitemdelegate.cxx b/src/moc_playlistitemdelegate.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_playlistmodel.cxx b/src/moc_playlistmodel.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_playlistpanel.cxx b/src/moc_playlistpanel.cxx new file mode 100644 index 0000000..9bdcf34 --- /dev/null +++ b/src/moc_playlistpanel.cxx @@ -0,0 +1,97 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'playlistpanel.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "playlistpanel.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'playlistpanel.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_PlaylistPanel[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 2, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 15, 14, 14, 14, 0x0a, + 35, 14, 14, 14, 0x0a, + + 0 // eod +}; + +static const char qt_meta_stringdata_PlaylistPanel[] = { + "PlaylistPanel\0\0updateTranslation()\0" + "updateFilter(QString)\0" +}; + +void PlaylistPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + PlaylistPanel *_t = static_cast(_o); + switch (_id) { + case 0: _t->updateTranslation(); break; + case 1: _t->updateFilter((*reinterpret_cast< const QString(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData PlaylistPanel::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject PlaylistPanel::staticMetaObject = { + { &QWidget::staticMetaObject, qt_meta_stringdata_PlaylistPanel, + qt_meta_data_PlaylistPanel, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &PlaylistPanel::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *PlaylistPanel::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *PlaylistPanel::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_PlaylistPanel)) + return static_cast(const_cast< PlaylistPanel*>(this)); + if (!strcmp(_clname, "Ui::PlaylistPanel")) + return static_cast< Ui::PlaylistPanel*>(const_cast< PlaylistPanel*>(this)); + return QWidget::qt_metacast(_clname); +} + +int PlaylistPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QWidget::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 2) + qt_static_metacall(this, _c, _id, _a); + _id -= 2; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_playlistspanel.cxx b/src/moc_playlistspanel.cxx new file mode 100644 index 0000000..8637d47 --- /dev/null +++ b/src/moc_playlistspanel.cxx @@ -0,0 +1,95 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'playlistspanel.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "playlistspanel.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'playlistspanel.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_PlaylistsPanel[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 2, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 16, 15, 15, 15, 0x0a, + 38, 36, 15, 15, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_PlaylistsPanel[] = { + "PlaylistsPanel\0\0updateTranslation()\0" + ",\0on_playlistsSplit_splitterMoved(int,int)\0" +}; + +void PlaylistsPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + PlaylistsPanel *_t = static_cast(_o); + switch (_id) { + case 0: _t->updateTranslation(); break; + case 1: _t->on_playlistsSplit_splitterMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData PlaylistsPanel::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject PlaylistsPanel::staticMetaObject = { + { &QWidget::staticMetaObject, qt_meta_stringdata_PlaylistsPanel, + qt_meta_data_PlaylistsPanel, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &PlaylistsPanel::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *PlaylistsPanel::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *PlaylistsPanel::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_PlaylistsPanel)) + return static_cast(const_cast< PlaylistsPanel*>(this)); + return QWidget::qt_metacast(_clname); +} + +int PlaylistsPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QWidget::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 2) + qt_static_metacall(this, _c, _id, _a); + _id -= 2; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_playlistsview.cxx b/src/moc_playlistsview.cxx new file mode 100644 index 0000000..95db264 --- /dev/null +++ b/src/moc_playlistsview.cxx @@ -0,0 +1,116 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'playlistsview.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "playlistsview.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'playlistsview.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_PlaylistsView[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 4, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 2, // signalCount + + // signals: signature, parameters, type, tag, flags + 15, 14, 14, 14, 0x05, + 35, 14, 14, 14, 0x05, + + // slots: signature, parameters, type, tag, flags + 64, 14, 14, 14, 0x0a, + 81, 14, 14, 14, 0x0a, + + 0 // eod +}; + +static const char qt_meta_stringdata_PlaylistsView[] = { + "PlaylistsView\0\0toggleActions(bool)\0" + "playlistChanged(MPDSongList)\0" + "deletePlaylist()\0updateTranslation()\0" +}; + +void PlaylistsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + PlaylistsView *_t = static_cast(_o); + switch (_id) { + case 0: _t->toggleActions((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 1: _t->playlistChanged((*reinterpret_cast< const MPDSongList(*)>(_a[1]))); break; + case 2: _t->deletePlaylist(); break; + case 3: _t->updateTranslation(); break; + default: ; + } + } +} + +const QMetaObjectExtraData PlaylistsView::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject PlaylistsView::staticMetaObject = { + { &MPDSongView::staticMetaObject, qt_meta_stringdata_PlaylistsView, + qt_meta_data_PlaylistsView, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &PlaylistsView::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *PlaylistsView::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *PlaylistsView::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_PlaylistsView)) + return static_cast(const_cast< PlaylistsView*>(this)); + return MPDSongView::qt_metacast(_clname); +} + +int PlaylistsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = MPDSongView::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 4) + qt_static_metacall(this, _c, _id, _a); + _id -= 4; + } + return _id; +} + +// SIGNAL 0 +void PlaylistsView::toggleActions(bool _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 0, _a); +} + +// SIGNAL 1 +void PlaylistsView::playlistChanged(const MPDSongList & _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 1, _a); +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_playlistview.cxx b/src/moc_playlistview.cxx new file mode 100644 index 0000000..9af0f65 --- /dev/null +++ b/src/moc_playlistview.cxx @@ -0,0 +1,125 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'playlistview.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "playlistview.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'playlistview.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_PlaylistView[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 10, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 1, // signalCount + + // signals: signature, parameters, type, tag, flags + 14, 13, 13, 13, 0x05, + + // slots: signature, parameters, type, tag, flags + 34, 13, 13, 13, 0x0a, + 54, 13, 13, 13, 0x08, + 66, 13, 13, 13, 0x08, + 94, 13, 13, 13, 0x08, + 126, 13, 13, 13, 0x08, + 140, 13, 13, 13, 0x08, + 155, 13, 13, 13, 0x08, + 180, 13, 13, 13, 0x08, + 197, 13, 13, 13, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_PlaylistView[] = { + "PlaylistView\0\0toggleActions(bool)\0" + "updateTranslation()\0cropItems()\0" + "indexActivated(QModelIndex)\0" + "playlistPatternChanged(QString)\0" + "removeItems()\0savePlaylist()\0" + "setPlaylist(MPDSongList)\0setSong(MPDSong)\0" + "queueSelectedSong()\0" +}; + +void PlaylistView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + PlaylistView *_t = static_cast(_o); + switch (_id) { + case 0: _t->toggleActions((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 1: _t->updateTranslation(); break; + case 2: _t->cropItems(); break; + case 3: _t->indexActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; + case 4: _t->playlistPatternChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 5: _t->removeItems(); break; + case 6: _t->savePlaylist(); break; + case 7: _t->setPlaylist((*reinterpret_cast< const MPDSongList(*)>(_a[1]))); break; + case 8: _t->setSong((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; + case 9: _t->queueSelectedSong(); break; + default: ; + } + } +} + +const QMetaObjectExtraData PlaylistView::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject PlaylistView::staticMetaObject = { + { &AbstractList::staticMetaObject, qt_meta_stringdata_PlaylistView, + qt_meta_data_PlaylistView, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &PlaylistView::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *PlaylistView::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *PlaylistView::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_PlaylistView)) + return static_cast(const_cast< PlaylistView*>(this)); + return AbstractList::qt_metacast(_clname); +} + +int PlaylistView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = AbstractList::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 10) + qt_static_metacall(this, _c, _id, _a); + _id -= 10; + } + return _id; +} + +// SIGNAL 0 +void PlaylistView::toggleActions(bool _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 0, _a); +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_plconview.cxx b/src/moc_plconview.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_plsfile.cxx b/src/moc_plsfile.cxx new file mode 100644 index 0000000..333071d --- /dev/null +++ b/src/moc_plsfile.cxx @@ -0,0 +1,104 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'plsfile.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "plsfile.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'plsfile.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_PlsFile[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 2, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 1, // signalCount + + // signals: signature, parameters, type, tag, flags + 14, 9, 8, 8, 0x05, + + // slots: signature, parameters, type, tag, flags + 36, 30, 8, 8, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_PlsFile[] = { + "PlsFile\0\0file\0ready(PlsFile*)\0reply\0" + "newDataAvailable(QNetworkReply*)\0" +}; + +void PlsFile::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + PlsFile *_t = static_cast(_o); + switch (_id) { + case 0: _t->ready((*reinterpret_cast< PlsFile*(*)>(_a[1]))); break; + case 1: _t->newDataAvailable((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData PlsFile::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject PlsFile::staticMetaObject = { + { &QObject::staticMetaObject, qt_meta_stringdata_PlsFile, + qt_meta_data_PlsFile, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &PlsFile::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *PlsFile::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *PlsFile::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_PlsFile)) + return static_cast(const_cast< PlsFile*>(this)); + return QObject::qt_metacast(_clname); +} + +int PlsFile::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QObject::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 2) + qt_static_metacall(this, _c, _id, _a); + _id -= 2; + } + return _id; +} + +// SIGNAL 0 +void PlsFile::ready(PlsFile * _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 0, _a); +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_preferencesdialog.cxx b/src/moc_preferencesdialog.cxx new file mode 100644 index 0000000..3e11e0b --- /dev/null +++ b/src/moc_preferencesdialog.cxx @@ -0,0 +1,153 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'preferencesdialog.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "preferencesdialog.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'preferencesdialog.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_PreferencesDialog[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 23, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 19, 18, 18, 18, 0x0a, + 35, 18, 18, 18, 0x0a, + 55, 18, 18, 18, 0x08, + 78, 18, 18, 18, 0x08, + 105, 103, 18, 18, 0x08, + 175, 18, 18, 18, 0x08, + 201, 18, 18, 18, 0x08, + 225, 18, 18, 18, 0x08, + 249, 18, 18, 18, 0x08, + 285, 18, 18, 18, 0x08, + 318, 18, 18, 18, 0x08, + 340, 18, 18, 18, 0x08, + 359, 18, 18, 18, 0x08, + 392, 18, 18, 18, 0x08, + 424, 18, 18, 18, 0x08, + 445, 103, 18, 18, 0x08, + 481, 18, 18, 18, 0x08, + 506, 18, 18, 18, 0x08, + 537, 18, 18, 18, 0x08, + 558, 18, 18, 18, 0x08, + 579, 18, 18, 18, 0x08, + 600, 18, 18, 18, 0x08, + 618, 18, 18, 18, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_PreferencesDialog[] = { + "PreferencesDialog\0\0updateIconSet()\0" + "updateTranslation()\0on_addButton_clicked()\0" + "on_closeButton_clicked()\0,\0" + "on_categoryList_currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)\0" + "on_deleteButton_clicked()\0" + "on_downButton_clicked()\0on_fontButton_clicked()\0" + "on_patternLine_textChanged(QString)\0" + "on_testLine_textChanged(QString)\0" + "on_upButton_clicked()\0crossfadeChanged()\0" + "iconsetChanged(QListWidgetItem*)\0" + "localeChanged(QListWidgetItem*)\0" + "notifierChanged(int)\0" + "outputChanged(QTreeWidgetItem*,int)\0" + "serverSelectionChanged()\0" + "styleChanged(QListWidgetItem*)\0" + "hashLastFmPassword()\0setLastFmSlider(int)\0" + "setLastFmSpiner(int)\0setLastFmServer()\0" + "setLibreFmServer()\0" +}; + +void PreferencesDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + PreferencesDialog *_t = static_cast(_o); + switch (_id) { + case 0: _t->updateIconSet(); break; + case 1: _t->updateTranslation(); break; + case 2: _t->on_addButton_clicked(); break; + case 3: _t->on_closeButton_clicked(); break; + case 4: _t->on_categoryList_currentItemChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QTreeWidgetItem*(*)>(_a[2]))); break; + case 5: _t->on_deleteButton_clicked(); break; + case 6: _t->on_downButton_clicked(); break; + case 7: _t->on_fontButton_clicked(); break; + case 8: _t->on_patternLine_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 9: _t->on_testLine_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 10: _t->on_upButton_clicked(); break; + case 11: _t->crossfadeChanged(); break; + case 12: _t->iconsetChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break; + case 13: _t->localeChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break; + case 14: _t->notifierChanged((*reinterpret_cast< int(*)>(_a[1]))); break; + case 15: _t->outputChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; + case 16: _t->serverSelectionChanged(); break; + case 17: _t->styleChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break; + case 18: _t->hashLastFmPassword(); break; + case 19: _t->setLastFmSlider((*reinterpret_cast< int(*)>(_a[1]))); break; + case 20: _t->setLastFmSpiner((*reinterpret_cast< int(*)>(_a[1]))); break; + case 21: _t->setLastFmServer(); break; + case 22: _t->setLibreFmServer(); break; + default: ; + } + } +} + +const QMetaObjectExtraData PreferencesDialog::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject PreferencesDialog::staticMetaObject = { + { &QDialog::staticMetaObject, qt_meta_stringdata_PreferencesDialog, + qt_meta_data_PreferencesDialog, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &PreferencesDialog::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *PreferencesDialog::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *PreferencesDialog::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_PreferencesDialog)) + return static_cast(const_cast< PreferencesDialog*>(this)); + return QDialog::qt_metacast(_clname); +} + +int PreferencesDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QDialog::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 23) + qt_static_metacall(this, _c, _id, _a); + _id -= 23; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_qdbus_adaptor.cxx b/src/moc_qdbus_adaptor.cxx new file mode 100644 index 0000000..2a67b6a --- /dev/null +++ b/src/moc_qdbus_adaptor.cxx @@ -0,0 +1,139 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'qdbus_adaptor.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "qdbus_adaptor.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'qdbus_adaptor.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_MainApplicationAdaptor[] = { + + // content: + 6, // revision + 0, // classname + 1, 14, // classinfo + 3, 16, // methods + 2, 31, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 1, // signalCount + + // classinfo: key, value + 48, 23, + + // signals: signature, parameters, type, tag, flags + 65, 64, 64, 64, 0x05, + + // slots: signature, parameters, type, tag, flags + 79, 64, 64, 64, 0x0a, + 86, 64, 64, 64, 0x0a, + + // properties: name, type, flags + 113, 105, 0x0a095001, + 130, 105, 0x0a095001, + + 0 // eod +}; + +static const char qt_meta_stringdata_MainApplicationAdaptor[] = { + "MainApplicationAdaptor\0net.bitcheese.QMPDClient\0" + "D-Bus Interface\0\0aboutToQuit()\0quit()\0" + "toggleMainWindow()\0QString\0organizationName\0" + "organizationDomain\0" +}; + +void MainApplicationAdaptor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + MainApplicationAdaptor *_t = static_cast(_o); + switch (_id) { + case 0: _t->aboutToQuit(); break; + case 1: _t->quit(); break; + case 2: _t->toggleMainWindow(); break; + default: ; + } + } + Q_UNUSED(_a); +} + +const QMetaObjectExtraData MainApplicationAdaptor::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject MainApplicationAdaptor::staticMetaObject = { + { &QDBusAbstractAdaptor::staticMetaObject, qt_meta_stringdata_MainApplicationAdaptor, + qt_meta_data_MainApplicationAdaptor, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &MainApplicationAdaptor::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *MainApplicationAdaptor::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *MainApplicationAdaptor::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_MainApplicationAdaptor)) + return static_cast(const_cast< MainApplicationAdaptor*>(this)); + return QDBusAbstractAdaptor::qt_metacast(_clname); +} + +int MainApplicationAdaptor::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QDBusAbstractAdaptor::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 3) + qt_static_metacall(this, _c, _id, _a); + _id -= 3; + } +#ifndef QT_NO_PROPERTIES + else if (_c == QMetaObject::ReadProperty) { + void *_v = _a[0]; + switch (_id) { + case 0: *reinterpret_cast< QString*>(_v) = organizationName(); break; + case 1: *reinterpret_cast< QString*>(_v) = organizationDomain(); break; + } + _id -= 2; + } else if (_c == QMetaObject::WriteProperty) { + _id -= 2; + } else if (_c == QMetaObject::ResetProperty) { + _id -= 2; + } else if (_c == QMetaObject::QueryPropertyDesignable) { + _id -= 2; + } else if (_c == QMetaObject::QueryPropertyScriptable) { + _id -= 2; + } else if (_c == QMetaObject::QueryPropertyStored) { + _id -= 2; + } else if (_c == QMetaObject::QueryPropertyEditable) { + _id -= 2; + } else if (_c == QMetaObject::QueryPropertyUser) { + _id -= 2; + } +#endif // QT_NO_PROPERTIES + return _id; +} + +// SIGNAL 0 +void MainApplicationAdaptor::aboutToQuit() +{ + QMetaObject::activate(this, &staticMetaObject, 0, 0); +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_qmpdclient.cxx b/src/moc_qmpdclient.cxx new file mode 100644 index 0000000..d413cc1 --- /dev/null +++ b/src/moc_qmpdclient.cxx @@ -0,0 +1,105 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'qmpdclient.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "qmpdclient.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'qmpdclient.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_QMPDClient[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 6, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 12, 11, 11, 11, 0x0a, + 31, 11, 11, 11, 0x08, + 56, 11, 11, 11, 0x08, + 75, 11, 11, 11, 0x08, + 92, 11, 11, 11, 0x08, + 115, 11, 11, 11, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_QMPDClient[] = { + "QMPDClient\0\0toggleMainWindow()\0" + "alternatingChanged(bool)\0fontChanged(QFont)\0" + "iconSetChanged()\0localeChanged(QString)\0" + "opaqueResizeChanged(bool)\0" +}; + +void QMPDClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + QMPDClient *_t = static_cast(_o); + switch (_id) { + case 0: _t->toggleMainWindow(); break; + case 1: _t->alternatingChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 2: _t->fontChanged((*reinterpret_cast< const QFont(*)>(_a[1]))); break; + case 3: _t->iconSetChanged(); break; + case 4: _t->localeChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 5: _t->opaqueResizeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData QMPDClient::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject QMPDClient::staticMetaObject = { + { &QApplication::staticMetaObject, qt_meta_stringdata_QMPDClient, + qt_meta_data_QMPDClient, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &QMPDClient::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *QMPDClient::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *QMPDClient::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_QMPDClient)) + return static_cast(const_cast< QMPDClient*>(this)); + return QApplication::qt_metacast(_clname); +} + +int QMPDClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QApplication::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 6) + qt_static_metacall(this, _c, _id, _a); + _id -= 6; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_radiopanel.cxx b/src/moc_radiopanel.cxx new file mode 100644 index 0000000..b8bff0a --- /dev/null +++ b/src/moc_radiopanel.cxx @@ -0,0 +1,93 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'radiopanel.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "radiopanel.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'radiopanel.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_RadioPanel[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 1, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 12, 11, 11, 11, 0x0a, + + 0 // eod +}; + +static const char qt_meta_stringdata_RadioPanel[] = { + "RadioPanel\0\0updateTranslation()\0" +}; + +void RadioPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + RadioPanel *_t = static_cast(_o); + switch (_id) { + case 0: _t->updateTranslation(); break; + default: ; + } + } + Q_UNUSED(_a); +} + +const QMetaObjectExtraData RadioPanel::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject RadioPanel::staticMetaObject = { + { &QWidget::staticMetaObject, qt_meta_stringdata_RadioPanel, + qt_meta_data_RadioPanel, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &RadioPanel::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *RadioPanel::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *RadioPanel::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_RadioPanel)) + return static_cast(const_cast< RadioPanel*>(this)); + return QWidget::qt_metacast(_clname); +} + +int RadioPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QWidget::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 1) + qt_static_metacall(this, _c, _id, _a); + _id -= 1; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_radioview.cxx b/src/moc_radioview.cxx new file mode 100644 index 0000000..8d0b5e4 --- /dev/null +++ b/src/moc_radioview.cxx @@ -0,0 +1,123 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'radioview.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "radioview.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'radioview.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_RadioView[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 7, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 2, // signalCount + + // signals: signature, parameters, type, tag, flags + 11, 10, 10, 10, 0x05, + 36, 10, 10, 10, 0x05, + + // slots: signature, parameters, type, tag, flags + 58, 10, 10, 10, 0x0a, + 74, 10, 10, 10, 0x0a, + 87, 10, 10, 10, 0x0a, + 107, 10, 10, 10, 0x08, + 119, 10, 10, 10, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_RadioView[] = { + "RadioView\0\0toggleDeleteAction(bool)\0" + "toggleNewAction(bool)\0deleteStation()\0" + "newStation()\0updateTranslation()\0" + "connected()\0disconnected()\0" +}; + +void RadioView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + RadioView *_t = static_cast(_o); + switch (_id) { + case 0: _t->toggleDeleteAction((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 1: _t->toggleNewAction((*reinterpret_cast< bool(*)>(_a[1]))); break; + case 2: _t->deleteStation(); break; + case 3: _t->newStation(); break; + case 4: _t->updateTranslation(); break; + case 5: _t->connected(); break; + case 6: _t->disconnected(); break; + default: ; + } + } +} + +const QMetaObjectExtraData RadioView::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject RadioView::staticMetaObject = { + { &MPDSongView::staticMetaObject, qt_meta_stringdata_RadioView, + qt_meta_data_RadioView, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &RadioView::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *RadioView::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *RadioView::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_RadioView)) + return static_cast(const_cast< RadioView*>(this)); + return MPDSongView::qt_metacast(_clname); +} + +int RadioView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = MPDSongView::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 7) + qt_static_metacall(this, _c, _id, _a); + _id -= 7; + } + return _id; +} + +// SIGNAL 0 +void RadioView::toggleDeleteAction(bool _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 0, _a); +} + +// SIGNAL 1 +void RadioView::toggleNewAction(bool _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 1, _a); +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_reconnect.cxx b/src/moc_reconnect.cxx new file mode 100644 index 0000000..a67d578 --- /dev/null +++ b/src/moc_reconnect.cxx @@ -0,0 +1,97 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'reconnect.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "reconnect.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'reconnect.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_Reconnect[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 3, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 11, 10, 10, 10, 0x08, + 23, 10, 10, 10, 0x08, + 45, 10, 10, 10, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_Reconnect[] = { + "Reconnect\0\0reconnect()\0connected(ServerInfo)\0" + "disconnected(QString)\0" +}; + +void Reconnect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + Reconnect *_t = static_cast(_o); + switch (_id) { + case 0: _t->reconnect(); break; + case 1: _t->connected((*reinterpret_cast< const ServerInfo(*)>(_a[1]))); break; + case 2: _t->disconnected((*reinterpret_cast< const QString(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData Reconnect::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject Reconnect::staticMetaObject = { + { &QObject::staticMetaObject, qt_meta_stringdata_Reconnect, + qt_meta_data_Reconnect, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &Reconnect::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *Reconnect::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *Reconnect::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_Reconnect)) + return static_cast(const_cast< Reconnect*>(this)); + return QObject::qt_metacast(_clname); +} + +int Reconnect::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QObject::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 3) + qt_static_metacall(this, _c, _id, _a); + _id -= 3; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_richtext.cxx b/src/moc_richtext.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_serverinfo.cxx b/src/moc_serverinfo.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_servermodel.cxx b/src/moc_servermodel.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_shortcutmodel.cxx b/src/moc_shortcutmodel.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_shortcuts.cxx b/src/moc_shortcuts.cxx new file mode 100644 index 0000000..038a27a --- /dev/null +++ b/src/moc_shortcuts.cxx @@ -0,0 +1,93 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'shortcuts.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "shortcuts.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'shortcuts.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_Shortcuts[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 1, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 11, 10, 10, 10, 0x0a, + + 0 // eod +}; + +static const char qt_meta_stringdata_Shortcuts[] = { + "Shortcuts\0\0updateTranslation()\0" +}; + +void Shortcuts::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + Shortcuts *_t = static_cast(_o); + switch (_id) { + case 0: _t->updateTranslation(); break; + default: ; + } + } + Q_UNUSED(_a); +} + +const QMetaObjectExtraData Shortcuts::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject Shortcuts::staticMetaObject = { + { &QObject::staticMetaObject, qt_meta_stringdata_Shortcuts, + qt_meta_data_Shortcuts, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &Shortcuts::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *Shortcuts::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *Shortcuts::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_Shortcuts)) + return static_cast(const_cast< Shortcuts*>(this)); + return QObject::qt_metacast(_clname); +} + +int Shortcuts::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QObject::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 1) + qt_static_metacall(this, _c, _id, _a); + _id -= 1; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_shoutcastfetcher.cxx b/src/moc_shoutcastfetcher.cxx new file mode 100644 index 0000000..d62932d --- /dev/null +++ b/src/moc_shoutcastfetcher.cxx @@ -0,0 +1,144 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'shoutcastfetcher.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "shoutcastfetcher.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'shoutcastfetcher.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_ShoutcastFetcher[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 8, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 4, // signalCount + + // signals: signature, parameters, type, tag, flags + 18, 17, 17, 17, 0x05, + 44, 36, 17, 17, 0x05, + 82, 74, 17, 17, 0x05, + 136, 118, 17, 17, 0x05, + + // slots: signature, parameters, type, tag, flags + 203, 187, 17, 17, 0x08, + 260, 231, 17, 17, 0x08, + 315, 309, 17, 17, 0x08, + 350, 345, 17, 17, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_ShoutcastFetcher[] = { + "ShoutcastFetcher\0\0genresAvailable()\0" + "keyWord\0newStationsAvailable(QString)\0" + "station\0playlistAvailable(ShoutcastStation)\0" + "error,errorString\0" + "errorFetching(QNetworkReply::NetworkError,QString)\0" + "openInputDevice\0genresAvailable(QIODevice*)\0" + "host,openInputDevice,keyword\0" + "newStationsAvailable(QString,QIODevice*,QString)\0" + "reply\0replyFinished(QNetworkReply*)\0" + "file\0playlistDownloaded(PlsFile*)\0" +}; + +void ShoutcastFetcher::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + ShoutcastFetcher *_t = static_cast(_o); + switch (_id) { + case 0: _t->genresAvailable(); break; + case 1: _t->newStationsAvailable((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 2: _t->playlistAvailable((*reinterpret_cast< const ShoutcastStation(*)>(_a[1]))); break; + case 3: _t->errorFetching((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; + case 4: _t->genresAvailable((*reinterpret_cast< QIODevice*(*)>(_a[1]))); break; + case 5: _t->newStationsAvailable((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QIODevice*(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break; + case 6: _t->replyFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; + case 7: _t->playlistDownloaded((*reinterpret_cast< PlsFile*(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData ShoutcastFetcher::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject ShoutcastFetcher::staticMetaObject = { + { &QObject::staticMetaObject, qt_meta_stringdata_ShoutcastFetcher, + qt_meta_data_ShoutcastFetcher, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &ShoutcastFetcher::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *ShoutcastFetcher::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *ShoutcastFetcher::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_ShoutcastFetcher)) + return static_cast(const_cast< ShoutcastFetcher*>(this)); + return QObject::qt_metacast(_clname); +} + +int ShoutcastFetcher::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QObject::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 8) + qt_static_metacall(this, _c, _id, _a); + _id -= 8; + } + return _id; +} + +// SIGNAL 0 +void ShoutcastFetcher::genresAvailable() +{ + QMetaObject::activate(this, &staticMetaObject, 0, 0); +} + +// SIGNAL 1 +void ShoutcastFetcher::newStationsAvailable(const QString & _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 1, _a); +} + +// SIGNAL 2 +void ShoutcastFetcher::playlistAvailable(const ShoutcastStation & _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 2, _a); +} + +// SIGNAL 3 +void ShoutcastFetcher::errorFetching(QNetworkReply::NetworkError _t1, const QString & _t2) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; + QMetaObject::activate(this, &staticMetaObject, 3, _a); +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_shoutcastmodel.cxx b/src/moc_shoutcastmodel.cxx new file mode 100644 index 0000000..d6ef4d4 --- /dev/null +++ b/src/moc_shoutcastmodel.cxx @@ -0,0 +1,100 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'shoutcastmodel.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "shoutcastmodel.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'shoutcastmodel.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_ShoutcastModel[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 3, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 16, 15, 15, 15, 0x08, + 42, 34, 15, 15, 0x08, + 80, 72, 15, 15, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_ShoutcastModel[] = { + "ShoutcastModel\0\0genresAvailable()\0" + "keyWord\0newStationsAvailable(QString)\0" + "station\0playlistAvailable(ShoutcastStation)\0" +}; + +void ShoutcastModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + ShoutcastModel *_t = static_cast(_o); + switch (_id) { + case 0: _t->genresAvailable(); break; + case 1: _t->newStationsAvailable((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 2: _t->playlistAvailable((*reinterpret_cast< const ShoutcastStation(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData ShoutcastModel::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject ShoutcastModel::staticMetaObject = { + { &QStandardItemModel::staticMetaObject, qt_meta_stringdata_ShoutcastModel, + qt_meta_data_ShoutcastModel, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &ShoutcastModel::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *ShoutcastModel::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *ShoutcastModel::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_ShoutcastModel)) + return static_cast(const_cast< ShoutcastModel*>(this)); + if (!strcmp(_clname, "AbstractModel")) + return static_cast< AbstractModel*>(const_cast< ShoutcastModel*>(this)); + return QStandardItemModel::qt_metacast(_clname); +} + +int ShoutcastModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QStandardItemModel::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 3) + qt_static_metacall(this, _c, _id, _a); + _id -= 3; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_shoutcastpanel.cxx b/src/moc_shoutcastpanel.cxx new file mode 100644 index 0000000..5e646de --- /dev/null +++ b/src/moc_shoutcastpanel.cxx @@ -0,0 +1,93 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'shoutcastpanel.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "shoutcastpanel.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'shoutcastpanel.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_ShoutcastPanel[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 1, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 16, 15, 15, 15, 0x0a, + + 0 // eod +}; + +static const char qt_meta_stringdata_ShoutcastPanel[] = { + "ShoutcastPanel\0\0updateTranslation()\0" +}; + +void ShoutcastPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + ShoutcastPanel *_t = static_cast(_o); + switch (_id) { + case 0: _t->updateTranslation(); break; + default: ; + } + } + Q_UNUSED(_a); +} + +const QMetaObjectExtraData ShoutcastPanel::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject ShoutcastPanel::staticMetaObject = { + { &QWidget::staticMetaObject, qt_meta_stringdata_ShoutcastPanel, + qt_meta_data_ShoutcastPanel, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &ShoutcastPanel::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *ShoutcastPanel::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *ShoutcastPanel::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_ShoutcastPanel)) + return static_cast(const_cast< ShoutcastPanel*>(this)); + return QWidget::qt_metacast(_clname); +} + +int ShoutcastPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QWidget::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 1) + qt_static_metacall(this, _c, _id, _a); + _id -= 1; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_shoutcaststation.cxx b/src/moc_shoutcaststation.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_shoutcastview.cxx b/src/moc_shoutcastview.cxx new file mode 100644 index 0000000..0ac1483 --- /dev/null +++ b/src/moc_shoutcastview.cxx @@ -0,0 +1,98 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'shoutcastview.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "shoutcastview.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'shoutcastview.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_ShoutcastView[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 3, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 15, 14, 14, 14, 0x0a, + 48, 35, 14, 14, 0x08, + 83, 70, 14, 14, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_ShoutcastView[] = { + "ShoutcastView\0\0updateTranslation()\0" + "expandedItem\0expanded(QModelIndex)\0" + "selectedItem\0doubleClicked(QModelIndex)\0" +}; + +void ShoutcastView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + ShoutcastView *_t = static_cast(_o); + switch (_id) { + case 0: _t->updateTranslation(); break; + case 1: _t->expanded((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; + case 2: _t->doubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData ShoutcastView::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject ShoutcastView::staticMetaObject = { + { &AbstractTree::staticMetaObject, qt_meta_stringdata_ShoutcastView, + qt_meta_data_ShoutcastView, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &ShoutcastView::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *ShoutcastView::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *ShoutcastView::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_ShoutcastView)) + return static_cast(const_cast< ShoutcastView*>(this)); + return AbstractTree::qt_metacast(_clname); +} + +int ShoutcastView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = AbstractTree::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 3) + qt_static_metacall(this, _c, _id, _a); + _id -= 3; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_songview.cxx b/src/moc_songview.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_stringlistmodel.cxx b/src/moc_stringlistmodel.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_stringlistview.cxx b/src/moc_stringlistview.cxx new file mode 100644 index 0000000..91c8546 --- /dev/null +++ b/src/moc_stringlistview.cxx @@ -0,0 +1,100 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'stringlistview.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "stringlistview.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'stringlistview.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_StringListView[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 4, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 16, 15, 15, 15, 0x0a, + 32, 15, 15, 15, 0x0a, + 56, 15, 15, 15, 0x0a, + 76, 15, 15, 15, 0x09, + + 0 // eod +}; + +static const char qt_meta_stringdata_StringListView[] = { + "StringListView\0\0filter(QString)\0" + "setStrings(QStringList)\0updateTranslation()\0" + "doubleClicked(QModelIndex)\0" +}; + +void StringListView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + StringListView *_t = static_cast(_o); + switch (_id) { + case 0: _t->filter((*reinterpret_cast< const QString(*)>(_a[1]))); break; + case 1: _t->setStrings((*reinterpret_cast< const QStringList(*)>(_a[1]))); break; + case 2: _t->updateTranslation(); break; + case 3: _t->doubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData StringListView::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject StringListView::staticMetaObject = { + { &AbstractList::staticMetaObject, qt_meta_stringdata_StringListView, + qt_meta_data_StringListView, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &StringListView::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *StringListView::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *StringListView::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_StringListView)) + return static_cast(const_cast< StringListView*>(this)); + return AbstractList::qt_metacast(_clname); +} + +int StringListView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = AbstractList::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 4) + qt_static_metacall(this, _c, _id, _a); + _id -= 4; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_tagguesser.cxx b/src/moc_tagguesser.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_tagmodel.cxx b/src/moc_tagmodel.cxx new file mode 100644 index 0000000..e69de29 diff --git a/src/moc_timelabel.cxx b/src/moc_timelabel.cxx new file mode 100644 index 0000000..0ecd73a --- /dev/null +++ b/src/moc_timelabel.cxx @@ -0,0 +1,169 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'timelabel.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "timelabel.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'timelabel.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_TimeLabel[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 2, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 25, 11, 10, 10, 0x0a, + 50, 42, 10, 10, 0x2a, + + 0 // eod +}; + +static const char qt_meta_stringdata_TimeLabel[] = { + "TimeLabel\0\0elapsed,total\0setTime(int,int)\0" + "elapsed\0setTime(int)\0" +}; + +void TimeLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + TimeLabel *_t = static_cast(_o); + switch (_id) { + case 0: _t->setTime((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; + case 1: _t->setTime((*reinterpret_cast< int(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData TimeLabel::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject TimeLabel::staticMetaObject = { + { &QLabel::staticMetaObject, qt_meta_stringdata_TimeLabel, + qt_meta_data_TimeLabel, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &TimeLabel::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *TimeLabel::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *TimeLabel::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_TimeLabel)) + return static_cast(const_cast< TimeLabel*>(this)); + return QLabel::qt_metacast(_clname); +} + +int TimeLabel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QLabel::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 2) + qt_static_metacall(this, _c, _id, _a); + _id -= 2; + } + return _id; +} +static const uint qt_meta_data_TotalTimeLabel[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 1, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 30, 16, 15, 15, 0x0a, + + 0 // eod +}; + +static const char qt_meta_stringdata_TotalTimeLabel[] = { + "TotalTimeLabel\0\0elapsed,total\0" + "setTime(int,int)\0" +}; + +void TotalTimeLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + TotalTimeLabel *_t = static_cast(_o); + switch (_id) { + case 0: _t->setTime((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData TotalTimeLabel::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject TotalTimeLabel::staticMetaObject = { + { &QLabel::staticMetaObject, qt_meta_stringdata_TotalTimeLabel, + qt_meta_data_TotalTimeLabel, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &TotalTimeLabel::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *TotalTimeLabel::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *TotalTimeLabel::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_TotalTimeLabel)) + return static_cast(const_cast< TotalTimeLabel*>(this)); + return QLabel::qt_metacast(_clname); +} + +int TotalTimeLabel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QLabel::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 1) + qt_static_metacall(this, _c, _id, _a); + _id -= 1; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_timeslider.cxx b/src/moc_timeslider.cxx new file mode 100644 index 0000000..9bbe9f9 --- /dev/null +++ b/src/moc_timeslider.cxx @@ -0,0 +1,106 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'timeslider.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "timeslider.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'timeslider.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_TimeSlider[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 3, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 1, // signalCount + + // signals: signature, parameters, type, tag, flags + 12, 11, 11, 11, 0x05, + + // slots: signature, parameters, type, tag, flags + 41, 29, 11, 11, 0x0a, + 65, 58, 11, 11, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_TimeSlider[] = { + "TimeSlider\0\0timeChanged(int)\0elapsed,max\0" + "setTime(int,int)\0action\0onActionTriggered(int)\0" +}; + +void TimeSlider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + TimeSlider *_t = static_cast(_o); + switch (_id) { + case 0: _t->timeChanged((*reinterpret_cast< int(*)>(_a[1]))); break; + case 1: _t->setTime((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; + case 2: _t->onActionTriggered((*reinterpret_cast< int(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData TimeSlider::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject TimeSlider::staticMetaObject = { + { &QSlider::staticMetaObject, qt_meta_stringdata_TimeSlider, + qt_meta_data_TimeSlider, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &TimeSlider::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *TimeSlider::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *TimeSlider::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_TimeSlider)) + return static_cast(const_cast< TimeSlider*>(this)); + return QSlider::qt_metacast(_clname); +} + +int TimeSlider::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QSlider::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 3) + qt_static_metacall(this, _c, _id, _a); + _id -= 3; + } + return _id; +} + +// SIGNAL 0 +void TimeSlider::timeChanged(int _t1) +{ + void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; + QMetaObject::activate(this, &staticMetaObject, 0, _a); +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_trayicon.cxx b/src/moc_trayicon.cxx new file mode 100644 index 0000000..57a8723 --- /dev/null +++ b/src/moc_trayicon.cxx @@ -0,0 +1,115 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'trayicon.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "trayicon.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'trayicon.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_TrayIcon[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 7, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 1, // signalCount + + // signals: signature, parameters, type, tag, flags + 10, 9, 9, 9, 0x05, + + // slots: signature, parameters, type, tag, flags + 20, 9, 9, 9, 0x0a, + 40, 9, 9, 9, 0x08, + 82, 9, 9, 9, 0x08, + 94, 9, 9, 9, 0x08, + 109, 9, 9, 9, 0x08, + 127, 9, 9, 9, 0x08, + + 0 // eod +}; + +static const char qt_meta_stringdata_TrayIcon[] = { + "TrayIcon\0\0clicked()\0updateTranslation()\0" + "action(QSystemTrayIcon::ActivationReason)\0" + "connected()\0disconnected()\0menuAboutToShow()\0" + "setSong(MPDSong)\0" +}; + +void TrayIcon::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + TrayIcon *_t = static_cast(_o); + switch (_id) { + case 0: _t->clicked(); break; + case 1: _t->updateTranslation(); break; + case 2: _t->action((*reinterpret_cast< QSystemTrayIcon::ActivationReason(*)>(_a[1]))); break; + case 3: _t->connected(); break; + case 4: _t->disconnected(); break; + case 5: _t->menuAboutToShow(); break; + case 6: _t->setSong((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData TrayIcon::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject TrayIcon::staticMetaObject = { + { &QSystemTrayIcon::staticMetaObject, qt_meta_stringdata_TrayIcon, + qt_meta_data_TrayIcon, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &TrayIcon::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *TrayIcon::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *TrayIcon::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_TrayIcon)) + return static_cast(const_cast< TrayIcon*>(this)); + return QSystemTrayIcon::qt_metacast(_clname); +} + +int TrayIcon::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QSystemTrayIcon::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 7) + qt_static_metacall(this, _c, _id, _a); + _id -= 7; + } + return _id; +} + +// SIGNAL 0 +void TrayIcon::clicked() +{ + QMetaObject::activate(this, &staticMetaObject, 0, 0); +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_traysonginfo.cxx b/src/moc_traysonginfo.cxx new file mode 100644 index 0000000..301ea28 --- /dev/null +++ b/src/moc_traysonginfo.cxx @@ -0,0 +1,96 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'traysonginfo.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "traysonginfo.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'traysonginfo.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_TraySongInfo[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 2, 14, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + // slots: signature, parameters, type, tag, flags + 30, 14, 13, 13, 0x08, + 59, 54, 13, 13, 0x0a, + + 0 // eod +}; + +static const char qt_meta_stringdata_TraySongInfo[] = { + "TraySongInfo\0\0elapsed,maximum\0" + "updatePosition(int,int)\0song\0" + "setSong(MPDSong)\0" +}; + +void TraySongInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + if (_c == QMetaObject::InvokeMetaMethod) { + Q_ASSERT(staticMetaObject.cast(_o)); + TraySongInfo *_t = static_cast(_o); + switch (_id) { + case 0: _t->updatePosition((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; + case 1: _t->setSong((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; + default: ; + } + } +} + +const QMetaObjectExtraData TraySongInfo::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject TraySongInfo::staticMetaObject = { + { &QWidget::staticMetaObject, qt_meta_stringdata_TraySongInfo, + qt_meta_data_TraySongInfo, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &TraySongInfo::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *TraySongInfo::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *TraySongInfo::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_TraySongInfo)) + return static_cast(const_cast< TraySongInfo*>(this)); + return QWidget::qt_metacast(_clname); +} + +int TraySongInfo::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QWidget::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + if (_c == QMetaObject::InvokeMetaMethod) { + if (_id < 2) + qt_static_metacall(this, _c, _id, _a); + _id -= 2; + } + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/moc_verticalbutton.cxx b/src/moc_verticalbutton.cxx new file mode 100644 index 0000000..c94d5a5 --- /dev/null +++ b/src/moc_verticalbutton.cxx @@ -0,0 +1,80 @@ +/**************************************************************************** +** Meta object code from reading C++ file 'verticalbutton.h' +** +** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) +** +** WARNING! All changes made in this file will be lost! +*****************************************************************************/ + +#include "verticalbutton.h" +#if !defined(Q_MOC_OUTPUT_REVISION) +#error "The header file 'verticalbutton.h' doesn't include ." +#elif Q_MOC_OUTPUT_REVISION != 63 +#error "This file was generated using the moc from 4.8.5. It" +#error "cannot be used with the include files from this version of Qt." +#error "(The moc has changed too much.)" +#endif + +QT_BEGIN_MOC_NAMESPACE +static const uint qt_meta_data_VerticalButton[] = { + + // content: + 6, // revision + 0, // classname + 0, 0, // classinfo + 0, 0, // methods + 0, 0, // properties + 0, 0, // enums/sets + 0, 0, // constructors + 0, // flags + 0, // signalCount + + 0 // eod +}; + +static const char qt_meta_stringdata_VerticalButton[] = { + "VerticalButton\0" +}; + +void VerticalButton::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) +{ + Q_UNUSED(_o); + Q_UNUSED(_id); + Q_UNUSED(_c); + Q_UNUSED(_a); +} + +const QMetaObjectExtraData VerticalButton::staticMetaObjectExtraData = { + 0, qt_static_metacall +}; + +const QMetaObject VerticalButton::staticMetaObject = { + { &QPushButton::staticMetaObject, qt_meta_stringdata_VerticalButton, + qt_meta_data_VerticalButton, &staticMetaObjectExtraData } +}; + +#ifdef Q_NO_DATA_RELOCATION +const QMetaObject &VerticalButton::getStaticMetaObject() { return staticMetaObject; } +#endif //Q_NO_DATA_RELOCATION + +const QMetaObject *VerticalButton::metaObject() const +{ + return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; +} + +void *VerticalButton::qt_metacast(const char *_clname) +{ + if (!_clname) return 0; + if (!strcmp(_clname, qt_meta_stringdata_VerticalButton)) + return static_cast(const_cast< VerticalButton*>(this)); + return QPushButton::qt_metacast(_clname); +} + +int VerticalButton::qt_metacall(QMetaObject::Call _c, int _id, void **_a) +{ + _id = QPushButton::qt_metacall(_c, _id, _a); + if (_id < 0) + return _id; + return _id; +} +QT_END_MOC_NAMESPACE diff --git a/src/mpdcache.cpp b/src/mpdcache.cpp index 90f6a3b..85bb1ea 100644 --- a/src/mpdcache.cpp +++ b/src/mpdcache.cpp @@ -270,7 +270,7 @@ void MPDCache::deletePlaylist(const QString &playlistName) { mpd_beginList(); foreach(MPDSong s, d->playlistMap.keys()) { - mpd_call(MPDCache::deletePlaylists, Rm, playlistName.toAscii()); + mpd_call(MPDCache::deletePlaylists, Rm, playlistName.toLatin1()); } mpd_endList(); diff --git a/src/mpdsongmodel.cpp b/src/mpdsongmodel.cpp index e58045f..0bd4a30 100644 --- a/src/mpdsongmodel.cpp +++ b/src/mpdsongmodel.cpp @@ -146,7 +146,8 @@ void MPDSongModel::filter() { m_visible << s; } } - reset(); + beginResetModel(); + endResetModel(); } void MPDSongModel::sort(int column, Qt::SortOrder order) { diff --git a/src/mpdsongview.cpp b/src/mpdsongview.cpp index 4abc88b..68e22b2 100644 --- a/src/mpdsongview.cpp +++ b/src/mpdsongview.cpp @@ -47,7 +47,7 @@ void MPDSongView::setHeaderView(HeaderView *header) { void MPDSongView::setSongs(const MPDSongList &songs) { Q_ASSERT(m_model); m_model->setSongs(songs); - if (header()->isClickable()) + if (header()->sectionsClickable()) m_model->sort(header()->sortIndicatorSection(), header()->sortIndicatorOrder()); } diff --git a/src/playlistmodel.cpp b/src/playlistmodel.cpp index 0afe81b..26f5698 100644 --- a/src/playlistmodel.cpp +++ b/src/playlistmodel.cpp @@ -34,7 +34,8 @@ PlaylistModel::PlaylistModel(QObject *p) : MPDSongModel(p, 0), void PlaylistModel::setPattern(const QString &p) { m_pattern = p; - reset(); + beginResetModel(); + endResetModel(); } QString PlaylistModel::pattern() const { @@ -118,7 +119,8 @@ void PlaylistModel::setFilter(const QString &a) { void PlaylistModel::filter() { if (m_filter.isEmpty()) { m_visible = m_all; - reset(); + beginResetModel(); + endResetModel(); return; } @@ -137,7 +139,8 @@ void PlaylistModel::filter() { || s.time().contains(m_filter)) m_visible << s; } - reset(); + beginResetModel(); + endResetModel(); } /* diff --git a/src/preferencesdialog.cpp b/src/preferencesdialog.cpp index f0c811e..5f5afe1 100644 --- a/src/preferencesdialog.cpp +++ b/src/preferencesdialog.cpp @@ -129,9 +129,9 @@ void PreferencesDialog::initCategoryList() { } void PreferencesDialog::initConnectionPage() { - serverList->horizontalHeader()->setResizeMode(QHeaderView::Stretch); + serverList->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch); serverList->verticalHeader()->setDefaultSectionSize(fontMetrics().height()); - serverList->verticalHeader()->setResizeMode(QHeaderView::Fixed); + serverList->verticalHeader()->setSectionResizeMode(QHeaderView::Fixed); serverList->verticalHeader()->hide(); serverList->setModel(d->serverModel = new ServerModel(this)); @@ -388,9 +388,9 @@ void PreferencesDialog::initNotificationsPage() { } void PreferencesDialog::initShortcutPage() { - shortcutList->horizontalHeader()->setResizeMode(QHeaderView::Stretch); + shortcutList->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch); shortcutList->verticalHeader()->setDefaultSectionSize(fontMetrics().height()); - shortcutList->verticalHeader()->setResizeMode(QHeaderView::Fixed); + shortcutList->verticalHeader()->setSectionResizeMode(QHeaderView::Fixed); shortcutList->verticalHeader()->hide(); ShortcutModel *model = new ShortcutModel(this); @@ -664,7 +664,7 @@ void PreferencesDialog::styleChanged(QListWidgetItem *i) { void PreferencesDialog::hashLastFmPassword() { lastFmMd5PasswordRadio->setChecked(true); - lastFmPasswordEdit->setText(QCryptographicHash::hash(lastFmPasswordEdit->text().toAscii(), QCryptographicHash::Md5).toHex()); + lastFmPasswordEdit->setText(QCryptographicHash::hash(lastFmPasswordEdit->text().toLatin1(), QCryptographicHash::Md5).toHex()); } void PreferencesDialog::setLastFmSlider(int value) { diff --git a/src/qmpdclient.cpp b/src/qmpdclient.cpp index cd6e468..b35b55c 100644 --- a/src/qmpdclient.cpp +++ b/src/qmpdclient.cpp @@ -43,6 +43,7 @@ QMPDClient::QMPDClient(int &argc, char **argv) : QApplication(argc, argv), m_mainWindow(0), m_translator(0), m_qtTranslator(0) { + setObjectName("qmpdclient"); setApplicationName("QMPDClient"); setOrganizationName("QMPDClient"); diff --git a/src/qmpdclient.h b/src/qmpdclient.h index df0c5b0..d4e4b60 100644 --- a/src/qmpdclient.h +++ b/src/qmpdclient.h @@ -23,6 +23,7 @@ #include #include #include +#include class MainWindow; class QTranslator; @@ -32,10 +33,10 @@ class QMPDClient : public QApplication { public: QMPDClient(int &, char **); ~QMPDClient(); -#ifdef Q_WS_X11 - bool x11EventFilter(XEvent *); -#else - bool eventFilter(QObject *, QEvent *); + + bool eventFilter(QObject *, QEvent *); +#ifdef Q_OS_LINUX + bool x11EventFilter(void *); #endif #ifdef Q_WS_WIN bool winEventFilter(MSG *, long *); diff --git a/src/qmpdclient_x11.cpp b/src/qmpdclient_x11.cpp index 6d426fa..775a50f 100644 --- a/src/qmpdclient_x11.cpp +++ b/src/qmpdclient_x11.cpp @@ -70,11 +70,11 @@ void QMPDClient::ungrabKeys() { XUngrabKey(dpy, XF86AUDIO_VOLDN, 0, rootWindowId); } -bool QMPDClient::x11EventFilter(XEvent *xevent) { +bool QMPDClient::x11EventFilter(void *xevent) { Q_ASSERT(m_mainWindow); XKeyEvent *keyevent = (XKeyEvent *)xevent; - if (xevent->type != KeyRelease) + if (keyevent->type != KeyRelease) return false; switch (keyevent->keycode) { diff --git a/src/radioview.cpp b/src/radioview.cpp index 52b2022..c6547ab 100644 --- a/src/radioview.cpp +++ b/src/radioview.cpp @@ -77,7 +77,7 @@ void RadioView::newStation() { void RadioView::connected() { Q_ASSERT(m_model); m_model->setSongs(Config::instance()->radioStations()); - if (header()->isClickable()) + if (header()->sectionsClickable()) m_model->sort(header()->sortIndicatorSection(), header()->sortIndicatorOrder()); emit toggleNewAction(true); } diff --git a/src/servermodel.cpp b/src/servermodel.cpp index 681acfb..bebaaa2 100644 --- a/src/servermodel.cpp +++ b/src/servermodel.cpp @@ -113,7 +113,8 @@ int ServerModel::rowCount(const QModelIndex &index) const { void ServerModel::addServer() { m_servers << ServerInfo("New server"); Config::instance()->setServers(m_servers); - reset(); + beginResetModel(); + endResetModel(); } int ServerModel::size() const { @@ -125,7 +126,8 @@ void ServerModel::deleteServer(const QModelIndex &in) { return; m_servers.removeAt(in.row()); Config::instance()->setServers(m_servers); - reset(); + beginResetModel(); + endResetModel(); } bool ServerModel::moveUp(const QModelIndex &idx) { diff --git a/src/shortcuts.cpp b/src/shortcuts.cpp index 8116dba..48067b5 100644 --- a/src/shortcuts.cpp +++ b/src/shortcuts.cpp @@ -36,7 +36,7 @@ Shortcuts *Shortcuts::instance() { #define LOAD(GET, SET, OBJ) \ do { \ -Config::instance()->setOriginalShortcut(OBJ->objectName(), OBJ->GET()); \ + Config::instance()->setOriginalShortcut(OBJ->objectName(), OBJ->GET().toString()); \ OBJ->SET(Config::instance()->shortcut(OBJ->objectName())); \ m_objects << OBJ; \ } while (0) diff --git a/src/stringlistmodel.cpp b/src/stringlistmodel.cpp index 32a8d6d..6a7bddb 100644 --- a/src/stringlistmodel.cpp +++ b/src/stringlistmodel.cpp @@ -31,7 +31,8 @@ StringListModel::StringListModel(QObject *parent) : QAbstractListModel(parent), void StringListModel::setShowAll(bool a) { m_showAll = a; - reset(); + beginResetModel(); + endResetModel(); } bool StringListModel::showAll() const{ @@ -102,7 +103,8 @@ QStringList StringListModel::stringList() const { void StringListModel::setStringList(const QStringList &strings) { m_list = strings; - reset(); + beginResetModel(); + endResetModel(); } int StringListModel::rowCount(const QModelIndex &index) const { diff --git a/ui/aboutdialog.ui b/ui/aboutdialog.ui index 876c7de..6c10369 100644 --- a/ui/aboutdialog.ui +++ b/ui/aboutdialog.ui @@ -18,7 +18,16 @@ 6 - + + 9 + + + 9 + + + 9 + + 9 @@ -26,7 +35,16 @@ 6 - + + 0 + + + 0 + + + 0 + + 0 @@ -64,7 +82,7 @@ - 3 + 0 @@ -74,7 +92,16 @@ 6 - + + 9 + + + 9 + + + 9 + + 9 @@ -90,7 +117,16 @@ 6 - + + 9 + + + 9 + + + 9 + + 9 @@ -106,7 +142,16 @@ 6 - + + 9 + + + 9 + + + 9 + + 9 @@ -122,7 +167,16 @@ 6 - + + 9 + + + 9 + + + 9 + + 9 @@ -137,7 +191,16 @@ 6 - + + 0 + + + 0 + + + 0 + + 0 @@ -164,8 +227,6 @@ - - - + From 1da53774887739834569bf95f848a2cedebefb9a Mon Sep 17 00:00:00 2001 From: enkore Date: Fri, 20 Sep 2013 00:38:00 +0200 Subject: [PATCH 2/2] Oops, committed moc_*.cxx files --- src/moc_aafilter.cxx | 0 src/moc_aboutdialog.cxx | 0 src/moc_abstractmodel.cxx | 0 src/moc_abstractview.cxx | 185 --------------- src/moc_abstractview_defn.cxx | 0 src/moc_abstractview_impl.cxx | 0 src/moc_albumview.cxx | 93 -------- src/moc_artistview.cxx | 92 -------- src/moc_clickablelabel.cxx | 99 -------- src/moc_config.cxx | 385 ------------------------------- src/moc_controlpanel.cxx | 113 --------- src/moc_coverartdialog.cxx | 0 src/moc_debug.cxx | 0 src/moc_directorymodel.cxx | 0 src/moc_directorypanel.cxx | 95 -------- src/moc_directoryview.cxx | 97 -------- src/moc_dynamicplaylist.cxx | 97 -------- src/moc_fileview.cxx | 0 src/moc_headerview.cxx | 97 -------- src/moc_iconmanager.cxx | 0 src/moc_idealbar.cxx | 93 -------- src/moc_idealsplitter.cxx | 113 --------- src/moc_lastfmsubmitter.cxx | 117 ---------- src/moc_libmpdclient.cxx | 0 src/moc_librarypanel.cxx | 100 -------- src/moc_lineedit.cxx | 96 -------- src/moc_lyricsdialog.cxx | 100 -------- src/moc_macroexpander.cxx | 0 src/moc_mainwindow.cxx | 147 ------------ src/moc_metainfodialog.cxx | 96 -------- src/moc_mpd.cxx | 216 ----------------- src/moc_mpd_p.cxx | 0 src/moc_mpdcache.cxx | 162 ------------- src/moc_mpdcache_p.cxx | 0 src/moc_mpdconnection.cxx | 120 ---------- src/moc_mpddirectory.cxx | 0 src/moc_mpdentities.cxx | 0 src/moc_mpdoutput.cxx | 0 src/moc_mpdsong.cxx | 0 src/moc_mpdsonglist.cxx | 0 src/moc_mpdsongmodel.cxx | 0 src/moc_mpdsongview.cxx | 100 -------- src/moc_mpdstats.cxx | 0 src/moc_mpdstatus.cxx | 0 src/moc_notifications.cxx | 92 -------- src/moc_passivepopup.cxx | 0 src/moc_pausabletimer.cxx | 80 ------- src/moc_playlistitemdelegate.cxx | 0 src/moc_playlistmodel.cxx | 0 src/moc_playlistpanel.cxx | 97 -------- src/moc_playlistspanel.cxx | 95 -------- src/moc_playlistsview.cxx | 116 ---------- src/moc_playlistview.cxx | 125 ---------- src/moc_plconview.cxx | 0 src/moc_plsfile.cxx | 104 --------- src/moc_preferencesdialog.cxx | 153 ------------ src/moc_qdbus_adaptor.cxx | 139 ----------- src/moc_qmpdclient.cxx | 105 --------- src/moc_radiopanel.cxx | 93 -------- src/moc_radioview.cxx | 123 ---------- src/moc_reconnect.cxx | 97 -------- src/moc_richtext.cxx | 0 src/moc_serverinfo.cxx | 0 src/moc_servermodel.cxx | 0 src/moc_shortcutmodel.cxx | 0 src/moc_shortcuts.cxx | 93 -------- src/moc_shoutcastfetcher.cxx | 144 ------------ src/moc_shoutcastmodel.cxx | 100 -------- src/moc_shoutcastpanel.cxx | 93 -------- src/moc_shoutcaststation.cxx | 0 src/moc_shoutcastview.cxx | 98 -------- src/moc_songview.cxx | 0 src/moc_stringlistmodel.cxx | 0 src/moc_stringlistview.cxx | 100 -------- src/moc_tagguesser.cxx | 0 src/moc_tagmodel.cxx | 0 src/moc_timelabel.cxx | 169 -------------- src/moc_timeslider.cxx | 106 --------- src/moc_trayicon.cxx | 115 --------- src/moc_traysonginfo.cxx | 96 -------- src/moc_verticalbutton.cxx | 80 ------- 81 files changed, 5426 deletions(-) delete mode 100644 src/moc_aafilter.cxx delete mode 100644 src/moc_aboutdialog.cxx delete mode 100644 src/moc_abstractmodel.cxx delete mode 100644 src/moc_abstractview.cxx delete mode 100644 src/moc_abstractview_defn.cxx delete mode 100644 src/moc_abstractview_impl.cxx delete mode 100644 src/moc_albumview.cxx delete mode 100644 src/moc_artistview.cxx delete mode 100644 src/moc_clickablelabel.cxx delete mode 100644 src/moc_config.cxx delete mode 100644 src/moc_controlpanel.cxx delete mode 100644 src/moc_coverartdialog.cxx delete mode 100644 src/moc_debug.cxx delete mode 100644 src/moc_directorymodel.cxx delete mode 100644 src/moc_directorypanel.cxx delete mode 100644 src/moc_directoryview.cxx delete mode 100644 src/moc_dynamicplaylist.cxx delete mode 100644 src/moc_fileview.cxx delete mode 100644 src/moc_headerview.cxx delete mode 100644 src/moc_iconmanager.cxx delete mode 100644 src/moc_idealbar.cxx delete mode 100644 src/moc_idealsplitter.cxx delete mode 100644 src/moc_lastfmsubmitter.cxx delete mode 100644 src/moc_libmpdclient.cxx delete mode 100644 src/moc_librarypanel.cxx delete mode 100644 src/moc_lineedit.cxx delete mode 100644 src/moc_lyricsdialog.cxx delete mode 100644 src/moc_macroexpander.cxx delete mode 100644 src/moc_mainwindow.cxx delete mode 100644 src/moc_metainfodialog.cxx delete mode 100644 src/moc_mpd.cxx delete mode 100644 src/moc_mpd_p.cxx delete mode 100644 src/moc_mpdcache.cxx delete mode 100644 src/moc_mpdcache_p.cxx delete mode 100644 src/moc_mpdconnection.cxx delete mode 100644 src/moc_mpddirectory.cxx delete mode 100644 src/moc_mpdentities.cxx delete mode 100644 src/moc_mpdoutput.cxx delete mode 100644 src/moc_mpdsong.cxx delete mode 100644 src/moc_mpdsonglist.cxx delete mode 100644 src/moc_mpdsongmodel.cxx delete mode 100644 src/moc_mpdsongview.cxx delete mode 100644 src/moc_mpdstats.cxx delete mode 100644 src/moc_mpdstatus.cxx delete mode 100644 src/moc_notifications.cxx delete mode 100644 src/moc_passivepopup.cxx delete mode 100644 src/moc_pausabletimer.cxx delete mode 100644 src/moc_playlistitemdelegate.cxx delete mode 100644 src/moc_playlistmodel.cxx delete mode 100644 src/moc_playlistpanel.cxx delete mode 100644 src/moc_playlistspanel.cxx delete mode 100644 src/moc_playlistsview.cxx delete mode 100644 src/moc_playlistview.cxx delete mode 100644 src/moc_plconview.cxx delete mode 100644 src/moc_plsfile.cxx delete mode 100644 src/moc_preferencesdialog.cxx delete mode 100644 src/moc_qdbus_adaptor.cxx delete mode 100644 src/moc_qmpdclient.cxx delete mode 100644 src/moc_radiopanel.cxx delete mode 100644 src/moc_radioview.cxx delete mode 100644 src/moc_reconnect.cxx delete mode 100644 src/moc_richtext.cxx delete mode 100644 src/moc_serverinfo.cxx delete mode 100644 src/moc_servermodel.cxx delete mode 100644 src/moc_shortcutmodel.cxx delete mode 100644 src/moc_shortcuts.cxx delete mode 100644 src/moc_shoutcastfetcher.cxx delete mode 100644 src/moc_shoutcastmodel.cxx delete mode 100644 src/moc_shoutcastpanel.cxx delete mode 100644 src/moc_shoutcaststation.cxx delete mode 100644 src/moc_shoutcastview.cxx delete mode 100644 src/moc_songview.cxx delete mode 100644 src/moc_stringlistmodel.cxx delete mode 100644 src/moc_stringlistview.cxx delete mode 100644 src/moc_tagguesser.cxx delete mode 100644 src/moc_tagmodel.cxx delete mode 100644 src/moc_timelabel.cxx delete mode 100644 src/moc_timeslider.cxx delete mode 100644 src/moc_trayicon.cxx delete mode 100644 src/moc_traysonginfo.cxx delete mode 100644 src/moc_verticalbutton.cxx diff --git a/src/moc_aafilter.cxx b/src/moc_aafilter.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_aboutdialog.cxx b/src/moc_aboutdialog.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_abstractmodel.cxx b/src/moc_abstractmodel.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_abstractview.cxx b/src/moc_abstractview.cxx deleted file mode 100644 index fc7ed0f..0000000 --- a/src/moc_abstractview.cxx +++ /dev/null @@ -1,185 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'abstractview.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "abstractview.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'abstractview.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_AbstractTree[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 5, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 14, 13, 13, 13, 0x0a, - 26, 13, 13, 13, 0x0a, - 41, 13, 13, 13, 0x08, - 51, 13, 13, 13, 0x08, - 65, 13, 13, 13, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_AbstractTree[] = { - "AbstractTree\0\0connected()\0disconnected()\0" - "enqueue()\0information()\0play()\0" -}; - -void AbstractTree::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - AbstractTree *_t = static_cast(_o); - switch (_id) { - case 0: _t->connected(); break; - case 1: _t->disconnected(); break; - case 2: _t->enqueue(); break; - case 3: _t->information(); break; - case 4: _t->play(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -const QMetaObjectExtraData AbstractTree::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject AbstractTree::staticMetaObject = { - { &QTreeView::staticMetaObject, qt_meta_stringdata_AbstractTree, - qt_meta_data_AbstractTree, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &AbstractTree::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *AbstractTree::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *AbstractTree::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_AbstractTree)) - return static_cast(const_cast< AbstractTree*>(this)); - return QTreeView::qt_metacast(_clname); -} - -int AbstractTree::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QTreeView::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 5) - qt_static_metacall(this, _c, _id, _a); - _id -= 5; - } - return _id; -} -static const uint qt_meta_data_AbstractList[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 5, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 14, 13, 13, 13, 0x0a, - 26, 13, 13, 13, 0x0a, - 41, 13, 13, 13, 0x08, - 51, 13, 13, 13, 0x08, - 65, 13, 13, 13, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_AbstractList[] = { - "AbstractList\0\0connected()\0disconnected()\0" - "enqueue()\0information()\0play()\0" -}; - -void AbstractList::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - AbstractList *_t = static_cast(_o); - switch (_id) { - case 0: _t->connected(); break; - case 1: _t->disconnected(); break; - case 2: _t->enqueue(); break; - case 3: _t->information(); break; - case 4: _t->play(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -const QMetaObjectExtraData AbstractList::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject AbstractList::staticMetaObject = { - { &QListView::staticMetaObject, qt_meta_stringdata_AbstractList, - qt_meta_data_AbstractList, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &AbstractList::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *AbstractList::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *AbstractList::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_AbstractList)) - return static_cast(const_cast< AbstractList*>(this)); - return QListView::qt_metacast(_clname); -} - -int AbstractList::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QListView::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 5) - qt_static_metacall(this, _c, _id, _a); - _id -= 5; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_abstractview_defn.cxx b/src/moc_abstractview_defn.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_abstractview_impl.cxx b/src/moc_abstractview_impl.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_albumview.cxx b/src/moc_albumview.cxx deleted file mode 100644 index e4a0486..0000000 --- a/src/moc_albumview.cxx +++ /dev/null @@ -1,93 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'albumview.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "albumview.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'albumview.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_AlbumView[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 11, 10, 10, 10, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_AlbumView[] = { - "AlbumView\0\0filterByAlbumOnlyChanged()\0" -}; - -void AlbumView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - AlbumView *_t = static_cast(_o); - switch (_id) { - case 0: _t->filterByAlbumOnlyChanged(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -const QMetaObjectExtraData AlbumView::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject AlbumView::staticMetaObject = { - { &StringListView::staticMetaObject, qt_meta_stringdata_AlbumView, - qt_meta_data_AlbumView, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &AlbumView::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *AlbumView::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *AlbumView::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_AlbumView)) - return static_cast(const_cast< AlbumView*>(this)); - return StringListView::qt_metacast(_clname); -} - -int AlbumView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = StringListView::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_artistview.cxx b/src/moc_artistview.cxx deleted file mode 100644 index 522759f..0000000 --- a/src/moc_artistview.cxx +++ /dev/null @@ -1,92 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'artistview.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "artistview.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'artistview.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_ArtistView[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 12, 11, 11, 11, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_ArtistView[] = { - "ArtistView\0\0setShowAll(bool)\0" -}; - -void ArtistView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - ArtistView *_t = static_cast(_o); - switch (_id) { - case 0: _t->setShowAll((*reinterpret_cast< bool(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData ArtistView::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject ArtistView::staticMetaObject = { - { &StringListView::staticMetaObject, qt_meta_stringdata_ArtistView, - qt_meta_data_ArtistView, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &ArtistView::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *ArtistView::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *ArtistView::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_ArtistView)) - return static_cast(const_cast< ArtistView*>(this)); - return StringListView::qt_metacast(_clname); -} - -int ArtistView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = StringListView::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_clickablelabel.cxx b/src/moc_clickablelabel.cxx deleted file mode 100644 index 356983d..0000000 --- a/src/moc_clickablelabel.cxx +++ /dev/null @@ -1,99 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'clickablelabel.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "clickablelabel.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'clickablelabel.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_ClickableLabel[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 16, 15, 15, 15, 0x05, - - 0 // eod -}; - -static const char qt_meta_stringdata_ClickableLabel[] = { - "ClickableLabel\0\0clicked()\0" -}; - -void ClickableLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - ClickableLabel *_t = static_cast(_o); - switch (_id) { - case 0: _t->clicked(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -const QMetaObjectExtraData ClickableLabel::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject ClickableLabel::staticMetaObject = { - { &QLabel::staticMetaObject, qt_meta_stringdata_ClickableLabel, - qt_meta_data_ClickableLabel, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &ClickableLabel::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *ClickableLabel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *ClickableLabel::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_ClickableLabel)) - return static_cast(const_cast< ClickableLabel*>(this)); - return QLabel::qt_metacast(_clname); -} - -int ClickableLabel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QLabel::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } - return _id; -} - -// SIGNAL 0 -void ClickableLabel::clicked() -{ - QMetaObject::activate(this, &staticMetaObject, 0, 0); -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_config.cxx b/src/moc_config.cxx deleted file mode 100644 index 51e24b8..0000000 --- a/src/moc_config.cxx +++ /dev/null @@ -1,385 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'config.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "config.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'config.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_Config[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 67, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 16, // signalCount - - // signals: signature, parameters, type, tag, flags - 8, 7, 7, 7, 0x05, - 33, 7, 7, 7, 0x05, - 57, 7, 7, 7, 0x05, - 88, 7, 7, 7, 0x05, - 107, 7, 7, 7, 0x05, - 124, 7, 7, 7, 0x05, - 147, 7, 7, 7, 0x05, - 173, 7, 7, 7, 0x05, - 205, 7, 7, 7, 0x05, - 242, 7, 7, 7, 0x05, - 263, 7, 7, 7, 0x05, - 289, 7, 7, 7, 0x05, - 311, 7, 7, 7, 0x05, - 333, 7, 7, 7, 0x05, - 359, 7, 7, 7, 0x05, - 386, 7, 7, 7, 0x05, - - // slots: signature, parameters, type, tag, flags - 419, 7, 7, 7, 0x0a, - 440, 7, 7, 7, 0x0a, - 470, 7, 7, 7, 0x0a, - 489, 7, 7, 7, 0x0a, - 511, 7, 7, 7, 0x0a, - 531, 7, 7, 7, 0x0a, - 562, 7, 7, 7, 0x0a, - 592, 7, 7, 7, 0x0a, - 619, 7, 7, 7, 0x0a, - 636, 7, 7, 7, 0x0a, - 651, 7, 7, 7, 0x0a, - 673, 7, 7, 7, 0x0a, - 690, 7, 7, 7, 0x0a, - 707, 7, 7, 7, 0x0a, - 730, 7, 7, 7, 0x0a, - 757, 7, 7, 7, 0x0a, - 777, 7, 7, 7, 0x0a, - 805, 7, 7, 7, 0x0a, - 834, 7, 7, 7, 0x0a, - 859, 7, 7, 7, 0x0a, - 881, 7, 7, 7, 0x0a, - 903, 7, 7, 7, 0x0a, - 927, 7, 7, 7, 0x0a, - 954, 7, 7, 7, 0x0a, - 980, 7, 7, 7, 0x0a, - 1028, 1012, 7, 7, 0x0a, - 1065, 1012, 7, 7, 0x0a, - 1094, 7, 7, 7, 0x0a, - 1113, 7, 7, 7, 0x0a, - 1132, 7, 7, 7, 0x0a, - 1162, 7, 7, 7, 0x0a, - 1192, 7, 7, 7, 0x0a, - 1221, 7, 7, 7, 0x0a, - 1238, 7, 7, 7, 0x0a, - 1262, 7, 7, 7, 0x0a, - 1283, 7, 7, 7, 0x0a, - 1308, 7, 7, 7, 0x0a, - 1341, 7, 7, 7, 0x0a, - 1362, 7, 7, 7, 0x0a, - 1381, 7, 7, 7, 0x0a, - 1403, 7, 7, 7, 0x0a, - 1426, 7, 7, 7, 0x0a, - 1451, 7, 7, 7, 0x0a, - 1476, 7, 7, 7, 0x0a, - 1503, 7, 7, 7, 0x0a, - 1528, 7, 7, 7, 0x0a, - 1557, 7, 7, 7, 0x0a, - 1584, 7, 7, 7, 0x0a, - 1611, 7, 7, 7, 0x0a, - 1641, 7, 7, 7, 0x0a, - 1670, 7, 7, 7, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_Config[] = { - "Config\0\0alternatingChanged(bool)\0" - "autoResizeChanged(bool)\0" - "filterByAlbumOnlyChanged(bool)\0" - "fontChanged(QFont)\0iconSetChanged()\0" - "localeChanged(QString)\0opaqueResizeChanged(bool)\0" - "playlistPatternChanged(QString)\0" - "serverListChanged(QList)\0" - "showAllChanged(bool)\0showCoverArtChanged(bool)\0" - "styleChanged(QString)\0trayIconChanged(bool)\0" - "autoAddSongsChanged(bool)\0" - "autoAddAlbumsChanged(bool)\0" - "submitSongsToLastFmChanged(bool)\0" - "setAutoconnect(bool)\0setServers(QList)\0" - "setReconnect(bool)\0setReconnectTime(int)\0" - "setTimeoutTime(int)\0setSaveTransientSettings(bool)\0" - "setAlternatingRowColors(bool)\0" - "setAutoResizeColumns(bool)\0setEnqueue(bool)\0" - "setFont(QFont)\0setOpaqueResize(bool)\0" - "setRecurse(bool)\0setShowAll(bool)\0" - "setShowRemaining(bool)\0" - "setFilterByAlbumOnly(bool)\0" - "setIconSet(QString)\0setPlaylistPattern(QString)\0" - "setDisregardLeadingThe(bool)\0" - "setScrollToPlaying(bool)\0setStyleFile(QString)\0" - "setShowCoverArt(bool)\0setCoverArtDir(QString)\0" - "setCoverMaxHeight(QString)\0" - "setCoverMaxWidth(QString)\0" - "setCoverFilenameFormat(QString)\0" - "action,shortcut\0setOriginalShortcut(QString,QString)\0" - "setShortcut(QString,QString)\0" - "setLocale(QString)\0setTranslate(bool)\0" - "setNotificationsEnabled(bool)\0" - "setNotificationsPosition(int)\0" - "setNotificationsTimeout(int)\0" - "setNotifier(int)\0setMinimizeToTray(bool)\0" - "setStartHidden(bool)\0setTrayIconEnabled(bool)\0" - "setExtendedSongInfoEnabled(bool)\0" - "setAutoAddCount(int)\0setAutoAddPos(int)\0" - "setAutoAddSongs(bool)\0setAutoAddAlbums(bool)\0" - "setAutoRemoveSongs(bool)\0" - "setGuessPattern(QString)\0" - "setTagGuesserEnabled(bool)\0" - "setTestFilename(QString)\0" - "setSubmitSongsToLastFm(bool)\0" - "setLastFmUsername(QString)\0" - "setLastFmPassword(QString)\0" - "setLastFmHashedPassword(bool)\0" - "setLastFmScrobblerTimer(int)\0" - "setLastFmServer(QString)\0" -}; - -void Config::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - Config *_t = static_cast(_o); - switch (_id) { - case 0: _t->alternatingChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 1: _t->autoResizeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 2: _t->filterByAlbumOnlyChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 3: _t->fontChanged((*reinterpret_cast< const QFont(*)>(_a[1]))); break; - case 4: _t->iconSetChanged(); break; - case 5: _t->localeChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 6: _t->opaqueResizeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 7: _t->playlistPatternChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 8: _t->serverListChanged((*reinterpret_cast< const QList(*)>(_a[1]))); break; - case 9: _t->showAllChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 10: _t->showCoverArtChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 11: _t->styleChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 12: _t->trayIconChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 13: _t->autoAddSongsChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 14: _t->autoAddAlbumsChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 15: _t->submitSongsToLastFmChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 16: _t->setAutoconnect((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 17: _t->setServers((*reinterpret_cast< const QList(*)>(_a[1]))); break; - case 18: _t->setReconnect((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 19: _t->setReconnectTime((*reinterpret_cast< int(*)>(_a[1]))); break; - case 20: _t->setTimeoutTime((*reinterpret_cast< int(*)>(_a[1]))); break; - case 21: _t->setSaveTransientSettings((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 22: _t->setAlternatingRowColors((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 23: _t->setAutoResizeColumns((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 24: _t->setEnqueue((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 25: _t->setFont((*reinterpret_cast< const QFont(*)>(_a[1]))); break; - case 26: _t->setOpaqueResize((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 27: _t->setRecurse((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 28: _t->setShowAll((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 29: _t->setShowRemaining((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 30: _t->setFilterByAlbumOnly((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 31: _t->setIconSet((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 32: _t->setPlaylistPattern((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 33: _t->setDisregardLeadingThe((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 34: _t->setScrollToPlaying((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 35: _t->setStyleFile((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 36: _t->setShowCoverArt((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 37: _t->setCoverArtDir((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 38: _t->setCoverMaxHeight((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 39: _t->setCoverMaxWidth((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 40: _t->setCoverFilenameFormat((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 41: _t->setOriginalShortcut((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; - case 42: _t->setShortcut((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; - case 43: _t->setLocale((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 44: _t->setTranslate((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 45: _t->setNotificationsEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 46: _t->setNotificationsPosition((*reinterpret_cast< int(*)>(_a[1]))); break; - case 47: _t->setNotificationsTimeout((*reinterpret_cast< int(*)>(_a[1]))); break; - case 48: _t->setNotifier((*reinterpret_cast< int(*)>(_a[1]))); break; - case 49: _t->setMinimizeToTray((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 50: _t->setStartHidden((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 51: _t->setTrayIconEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 52: _t->setExtendedSongInfoEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 53: _t->setAutoAddCount((*reinterpret_cast< int(*)>(_a[1]))); break; - case 54: _t->setAutoAddPos((*reinterpret_cast< int(*)>(_a[1]))); break; - case 55: _t->setAutoAddSongs((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 56: _t->setAutoAddAlbums((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 57: _t->setAutoRemoveSongs((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 58: _t->setGuessPattern((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 59: _t->setTagGuesserEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 60: _t->setTestFilename((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 61: _t->setSubmitSongsToLastFm((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 62: _t->setLastFmUsername((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 63: _t->setLastFmPassword((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 64: _t->setLastFmHashedPassword((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 65: _t->setLastFmScrobblerTimer((*reinterpret_cast< int(*)>(_a[1]))); break; - case 66: _t->setLastFmServer((*reinterpret_cast< const QString(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData Config::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject Config::staticMetaObject = { - { &QSettings::staticMetaObject, qt_meta_stringdata_Config, - qt_meta_data_Config, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &Config::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *Config::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *Config::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_Config)) - return static_cast(const_cast< Config*>(this)); - return QSettings::qt_metacast(_clname); -} - -int Config::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QSettings::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 67) - qt_static_metacall(this, _c, _id, _a); - _id -= 67; - } - return _id; -} - -// SIGNAL 0 -void Config::alternatingChanged(bool _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void Config::autoResizeChanged(bool _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void Config::filterByAlbumOnlyChanged(bool _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} - -// SIGNAL 3 -void Config::fontChanged(const QFont & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 3, _a); -} - -// SIGNAL 4 -void Config::iconSetChanged() -{ - QMetaObject::activate(this, &staticMetaObject, 4, 0); -} - -// SIGNAL 5 -void Config::localeChanged(const QString & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 5, _a); -} - -// SIGNAL 6 -void Config::opaqueResizeChanged(bool _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 6, _a); -} - -// SIGNAL 7 -void Config::playlistPatternChanged(const QString & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 7, _a); -} - -// SIGNAL 8 -void Config::serverListChanged(const QList & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 8, _a); -} - -// SIGNAL 9 -void Config::showAllChanged(bool _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 9, _a); -} - -// SIGNAL 10 -void Config::showCoverArtChanged(bool _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 10, _a); -} - -// SIGNAL 11 -void Config::styleChanged(const QString & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 11, _a); -} - -// SIGNAL 12 -void Config::trayIconChanged(bool _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 12, _a); -} - -// SIGNAL 13 -void Config::autoAddSongsChanged(bool _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 13, _a); -} - -// SIGNAL 14 -void Config::autoAddAlbumsChanged(bool _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 14, _a); -} - -// SIGNAL 15 -void Config::submitSongsToLastFmChanged(bool _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 15, _a); -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_controlpanel.cxx b/src/moc_controlpanel.cxx deleted file mode 100644 index a6879b0..0000000 --- a/src/moc_controlpanel.cxx +++ /dev/null @@ -1,113 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'controlpanel.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "controlpanel.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'controlpanel.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_ControlPanel[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 5, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 14, 13, 13, 13, 0x05, - - // slots: signature, parameters, type, tag, flags - 31, 13, 13, 13, 0x0a, - 51, 13, 13, 13, 0x08, - 68, 13, 13, 13, 0x08, - 94, 13, 13, 13, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_ControlPanel[] = { - "ControlPanel\0\0infoMsg(QString)\0" - "updateTranslation()\0setSong(MPDSong)\0" - "showCoverArtChanged(bool)\0updateVolume(int)\0" -}; - -void ControlPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - ControlPanel *_t = static_cast(_o); - switch (_id) { - case 0: _t->infoMsg((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 1: _t->updateTranslation(); break; - case 2: _t->setSong((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; - case 3: _t->showCoverArtChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 4: _t->updateVolume((*reinterpret_cast< int(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData ControlPanel::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject ControlPanel::staticMetaObject = { - { &QWidget::staticMetaObject, qt_meta_stringdata_ControlPanel, - qt_meta_data_ControlPanel, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &ControlPanel::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *ControlPanel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *ControlPanel::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_ControlPanel)) - return static_cast(const_cast< ControlPanel*>(this)); - if (!strcmp(_clname, "Ui::ControlPanel")) - return static_cast< Ui::ControlPanel*>(const_cast< ControlPanel*>(this)); - return QWidget::qt_metacast(_clname); -} - -int ControlPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWidget::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 5) - qt_static_metacall(this, _c, _id, _a); - _id -= 5; - } - return _id; -} - -// SIGNAL 0 -void ControlPanel::infoMsg(QString _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_coverartdialog.cxx b/src/moc_coverartdialog.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_debug.cxx b/src/moc_debug.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_directorymodel.cxx b/src/moc_directorymodel.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_directorypanel.cxx b/src/moc_directorypanel.cxx deleted file mode 100644 index 0b8034a..0000000 --- a/src/moc_directorypanel.cxx +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'directorypanel.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "directorypanel.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'directorypanel.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_DirectoryPanel[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 16, 15, 15, 15, 0x0a, - 38, 36, 15, 15, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_DirectoryPanel[] = { - "DirectoryPanel\0\0updateTranslation()\0" - ",\0on_directorySplit_splitterMoved(int,int)\0" -}; - -void DirectoryPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - DirectoryPanel *_t = static_cast(_o); - switch (_id) { - case 0: _t->updateTranslation(); break; - case 1: _t->on_directorySplit_splitterMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData DirectoryPanel::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject DirectoryPanel::staticMetaObject = { - { &QWidget::staticMetaObject, qt_meta_stringdata_DirectoryPanel, - qt_meta_data_DirectoryPanel, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &DirectoryPanel::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *DirectoryPanel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *DirectoryPanel::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_DirectoryPanel)) - return static_cast(const_cast< DirectoryPanel*>(this)); - return QWidget::qt_metacast(_clname); -} - -int DirectoryPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWidget::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_directoryview.cxx b/src/moc_directoryview.cxx deleted file mode 100644 index 4788ce1..0000000 --- a/src/moc_directoryview.cxx +++ /dev/null @@ -1,97 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'directoryview.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "directoryview.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'directoryview.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_DirectoryView[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 3, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 15, 14, 14, 14, 0x0a, - 35, 14, 14, 14, 0x08, - 44, 14, 14, 14, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_DirectoryView[] = { - "DirectoryView\0\0updateTranslation()\0" - "rescan()\0setRoot(MPDDirectory)\0" -}; - -void DirectoryView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - DirectoryView *_t = static_cast(_o); - switch (_id) { - case 0: _t->updateTranslation(); break; - case 1: _t->rescan(); break; - case 2: _t->setRoot((*reinterpret_cast< const MPDDirectory(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData DirectoryView::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject DirectoryView::staticMetaObject = { - { &AbstractTree::staticMetaObject, qt_meta_stringdata_DirectoryView, - qt_meta_data_DirectoryView, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &DirectoryView::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *DirectoryView::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *DirectoryView::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_DirectoryView)) - return static_cast(const_cast< DirectoryView*>(this)); - return AbstractTree::qt_metacast(_clname); -} - -int DirectoryView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = AbstractTree::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 3) - qt_static_metacall(this, _c, _id, _a); - _id -= 3; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_dynamicplaylist.cxx b/src/moc_dynamicplaylist.cxx deleted file mode 100644 index 596d590..0000000 --- a/src/moc_dynamicplaylist.cxx +++ /dev/null @@ -1,97 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'dynamicplaylist.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "dynamicplaylist.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'dynamicplaylist.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_DynamicPlaylist[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 3, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 17, 16, 16, 16, 0x08, - 34, 16, 16, 16, 0x08, - 54, 16, 16, 16, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_DynamicPlaylist[] = { - "DynamicPlaylist\0\0autoAdd(MPDSong)\0" - "autoRemove(MPDSong)\0playlistUpdated(MPDSongList)\0" -}; - -void DynamicPlaylist::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - DynamicPlaylist *_t = static_cast(_o); - switch (_id) { - case 0: _t->autoAdd((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; - case 1: _t->autoRemove((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; - case 2: _t->playlistUpdated((*reinterpret_cast< const MPDSongList(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData DynamicPlaylist::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject DynamicPlaylist::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_DynamicPlaylist, - qt_meta_data_DynamicPlaylist, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &DynamicPlaylist::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *DynamicPlaylist::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *DynamicPlaylist::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_DynamicPlaylist)) - return static_cast(const_cast< DynamicPlaylist*>(this)); - return QObject::qt_metacast(_clname); -} - -int DynamicPlaylist::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 3) - qt_static_metacall(this, _c, _id, _a); - _id -= 3; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_fileview.cxx b/src/moc_fileview.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_headerview.cxx b/src/moc_headerview.cxx deleted file mode 100644 index 2e99bfe..0000000 --- a/src/moc_headerview.cxx +++ /dev/null @@ -1,97 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'headerview.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "headerview.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'headerview.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_HeaderView[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 3, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 12, 11, 11, 11, 0x08, - 36, 11, 11, 11, 0x08, - 54, 11, 11, 11, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_HeaderView[] = { - "HeaderView\0\0autoResizeChanged(bool)\0" - "actionTriggered()\0save()\0" -}; - -void HeaderView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - HeaderView *_t = static_cast(_o); - switch (_id) { - case 0: _t->autoResizeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 1: _t->actionTriggered(); break; - case 2: _t->save(); break; - default: ; - } - } -} - -const QMetaObjectExtraData HeaderView::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject HeaderView::staticMetaObject = { - { &QHeaderView::staticMetaObject, qt_meta_stringdata_HeaderView, - qt_meta_data_HeaderView, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &HeaderView::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *HeaderView::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *HeaderView::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_HeaderView)) - return static_cast(const_cast< HeaderView*>(this)); - return QHeaderView::qt_metacast(_clname); -} - -int HeaderView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QHeaderView::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 3) - qt_static_metacall(this, _c, _id, _a); - _id -= 3; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_iconmanager.cxx b/src/moc_iconmanager.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_idealbar.cxx b/src/moc_idealbar.cxx deleted file mode 100644 index 152d3b3..0000000 --- a/src/moc_idealbar.cxx +++ /dev/null @@ -1,93 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'idealbar.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "idealbar.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'idealbar.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_IdealBar[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 10, 9, 9, 9, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_IdealBar[] = { - "IdealBar\0\0buttonPressed()\0" -}; - -void IdealBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - IdealBar *_t = static_cast(_o); - switch (_id) { - case 0: _t->buttonPressed(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -const QMetaObjectExtraData IdealBar::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject IdealBar::staticMetaObject = { - { &QWidget::staticMetaObject, qt_meta_stringdata_IdealBar, - qt_meta_data_IdealBar, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &IdealBar::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *IdealBar::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *IdealBar::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_IdealBar)) - return static_cast(const_cast< IdealBar*>(this)); - return QWidget::qt_metacast(_clname); -} - -int IdealBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWidget::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_idealsplitter.cxx b/src/moc_idealsplitter.cxx deleted file mode 100644 index d0a30f4..0000000 --- a/src/moc_idealsplitter.cxx +++ /dev/null @@ -1,113 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'idealsplitter.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "idealsplitter.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'idealsplitter.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_IdealSplitter[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 3, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: signature, parameters, type, tag, flags - 15, 14, 14, 14, 0x05, - 37, 14, 14, 14, 0x05, - - // slots: signature, parameters, type, tag, flags - 58, 14, 14, 14, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_IdealSplitter[] = { - "IdealSplitter\0\0sectionCollapsed(int)\0" - "sectionExpanded(int)\0manuallyResized()\0" -}; - -void IdealSplitter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - IdealSplitter *_t = static_cast(_o); - switch (_id) { - case 0: _t->sectionCollapsed((*reinterpret_cast< int(*)>(_a[1]))); break; - case 1: _t->sectionExpanded((*reinterpret_cast< int(*)>(_a[1]))); break; - case 2: _t->manuallyResized(); break; - default: ; - } - } -} - -const QMetaObjectExtraData IdealSplitter::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject IdealSplitter::staticMetaObject = { - { &QSplitter::staticMetaObject, qt_meta_stringdata_IdealSplitter, - qt_meta_data_IdealSplitter, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &IdealSplitter::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *IdealSplitter::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *IdealSplitter::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_IdealSplitter)) - return static_cast(const_cast< IdealSplitter*>(this)); - return QSplitter::qt_metacast(_clname); -} - -int IdealSplitter::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QSplitter::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 3) - qt_static_metacall(this, _c, _id, _a); - _id -= 3; - } - return _id; -} - -// SIGNAL 0 -void IdealSplitter::sectionCollapsed(int _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void IdealSplitter::sectionExpanded(int _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_lastfmsubmitter.cxx b/src/moc_lastfmsubmitter.cxx deleted file mode 100644 index 8421595..0000000 --- a/src/moc_lastfmsubmitter.cxx +++ /dev/null @@ -1,117 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'lastfmsubmitter.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "lastfmsubmitter.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'lastfmsubmitter.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_LastFmSubmitter[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 7, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 17, 16, 16, 16, 0x05, - - // slots: signature, parameters, type, tag, flags - 34, 16, 16, 16, 0x09, - 62, 16, 16, 16, 0x09, - 80, 16, 16, 16, 0x09, - 97, 16, 16, 16, 0x09, - 114, 16, 16, 16, 0x09, - 128, 16, 16, 16, 0x09, - - 0 // eod -}; - -static const char qt_meta_stringdata_LastFmSubmitter[] = { - "LastFmSubmitter\0\0infoMsg(QString)\0" - "gotNetReply(QNetworkReply*)\0" - "scrobbleCurrent()\0scrobbleQueued()\0" - "sendNowPlaying()\0doHandshake()\0" - "mpdStateUpdated(bool)\0" -}; - -void LastFmSubmitter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - LastFmSubmitter *_t = static_cast(_o); - switch (_id) { - case 0: _t->infoMsg((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 1: _t->gotNetReply((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; - case 2: _t->scrobbleCurrent(); break; - case 3: _t->scrobbleQueued(); break; - case 4: _t->sendNowPlaying(); break; - case 5: _t->doHandshake(); break; - case 6: _t->mpdStateUpdated((*reinterpret_cast< bool(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData LastFmSubmitter::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject LastFmSubmitter::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_LastFmSubmitter, - qt_meta_data_LastFmSubmitter, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &LastFmSubmitter::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *LastFmSubmitter::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *LastFmSubmitter::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_LastFmSubmitter)) - return static_cast(const_cast< LastFmSubmitter*>(this)); - return QObject::qt_metacast(_clname); -} - -int LastFmSubmitter::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 7) - qt_static_metacall(this, _c, _id, _a); - _id -= 7; - } - return _id; -} - -// SIGNAL 0 -void LastFmSubmitter::infoMsg(QString _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_libmpdclient.cxx b/src/moc_libmpdclient.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_librarypanel.cxx b/src/moc_librarypanel.cxx deleted file mode 100644 index 5f58a46..0000000 --- a/src/moc_librarypanel.cxx +++ /dev/null @@ -1,100 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'librarypanel.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "librarypanel.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'librarypanel.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_LibraryPanel[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 3, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 14, 13, 13, 13, 0x0a, - 36, 34, 13, 13, 0x08, - 76, 34, 13, 13, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_LibraryPanel[] = { - "LibraryPanel\0\0updateTranslation()\0,\0" - "on_libraryVSplit_splitterMoved(int,int)\0" - "on_libraryHSplit_splitterMoved(int,int)\0" -}; - -void LibraryPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - LibraryPanel *_t = static_cast(_o); - switch (_id) { - case 0: _t->updateTranslation(); break; - case 1: _t->on_libraryVSplit_splitterMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - case 2: _t->on_libraryHSplit_splitterMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData LibraryPanel::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject LibraryPanel::staticMetaObject = { - { &QWidget::staticMetaObject, qt_meta_stringdata_LibraryPanel, - qt_meta_data_LibraryPanel, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &LibraryPanel::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *LibraryPanel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *LibraryPanel::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_LibraryPanel)) - return static_cast(const_cast< LibraryPanel*>(this)); - if (!strcmp(_clname, "Ui::LibraryPanel")) - return static_cast< Ui::LibraryPanel*>(const_cast< LibraryPanel*>(this)); - return QWidget::qt_metacast(_clname); -} - -int LibraryPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWidget::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 3) - qt_static_metacall(this, _c, _id, _a); - _id -= 3; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_lineedit.cxx b/src/moc_lineedit.cxx deleted file mode 100644 index 74baeb5..0000000 --- a/src/moc_lineedit.cxx +++ /dev/null @@ -1,96 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'lineedit.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "lineedit.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'lineedit.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_LineEdit[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 10, 9, 9, 9, 0x0a, - 30, 9, 9, 9, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_LineEdit[] = { - "LineEdit\0\0updateTranslation()\0" - "updateIconSet()\0" -}; - -void LineEdit::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - LineEdit *_t = static_cast(_o); - switch (_id) { - case 0: _t->updateTranslation(); break; - case 1: _t->updateIconSet(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -const QMetaObjectExtraData LineEdit::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject LineEdit::staticMetaObject = { - { &QLineEdit::staticMetaObject, qt_meta_stringdata_LineEdit, - qt_meta_data_LineEdit, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &LineEdit::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *LineEdit::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *LineEdit::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_LineEdit)) - return static_cast(const_cast< LineEdit*>(this)); - return QLineEdit::qt_metacast(_clname); -} - -int LineEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QLineEdit::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_lyricsdialog.cxx b/src/moc_lyricsdialog.cxx deleted file mode 100644 index 43a9a24..0000000 --- a/src/moc_lyricsdialog.cxx +++ /dev/null @@ -1,100 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'lyricsdialog.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "lyricsdialog.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'lyricsdialog.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_LyricsDialog[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 4, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 14, 13, 13, 13, 0x0a, - 21, 13, 13, 13, 0x0a, - 40, 13, 13, 13, 0x0a, - 85, 13, 13, 13, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_LyricsDialog[] = { - "LyricsDialog\0\0show()\0updateLyricsText()\0" - "errorLyricsText(QNetworkReply::NetworkError)\0" - "setUserSong()\0" -}; - -void LyricsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - LyricsDialog *_t = static_cast(_o); - switch (_id) { - case 0: _t->show(); break; - case 1: _t->updateLyricsText(); break; - case 2: _t->errorLyricsText((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1]))); break; - case 3: _t->setUserSong(); break; - default: ; - } - } -} - -const QMetaObjectExtraData LyricsDialog::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject LyricsDialog::staticMetaObject = { - { &QDialog::staticMetaObject, qt_meta_stringdata_LyricsDialog, - qt_meta_data_LyricsDialog, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &LyricsDialog::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *LyricsDialog::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *LyricsDialog::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_LyricsDialog)) - return static_cast(const_cast< LyricsDialog*>(this)); - return QDialog::qt_metacast(_clname); -} - -int LyricsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 4) - qt_static_metacall(this, _c, _id, _a); - _id -= 4; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_macroexpander.cxx b/src/moc_macroexpander.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_mainwindow.cxx b/src/moc_mainwindow.cxx deleted file mode 100644 index 0c38629..0000000 --- a/src/moc_mainwindow.cxx +++ /dev/null @@ -1,147 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'mainwindow.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "mainwindow.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'mainwindow.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_MainWindow[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 22, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 12, 11, 11, 11, 0x0a, - 23, 11, 11, 11, 0x0a, - 43, 11, 11, 11, 0x0a, - 66, 11, 11, 11, 0x0a, - 84, 11, 11, 11, 0x08, - 107, 105, 11, 11, 0x08, - 142, 11, 11, 11, 0x08, - 173, 11, 11, 11, 0x08, - 198, 11, 11, 11, 0x08, - 213, 11, 11, 11, 0x08, - 233, 11, 11, 11, 0x08, - 255, 11, 11, 11, 0x08, - 282, 11, 11, 11, 0x08, - 299, 11, 11, 11, 0x08, - 318, 11, 11, 11, 0x08, - 355, 11, 11, 11, 0x08, - 377, 105, 11, 11, 0x08, - 402, 11, 11, 11, 0x08, - 422, 11, 11, 11, 0x08, - 435, 11, 11, 11, 0x08, - 465, 11, 11, 11, 0x08, - 485, 11, 11, 11, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_MainWindow[] = { - "MainWindow\0\0showHide()\0updateTranslation()\0" - "shortAnnounce(QString)\0announce(QString)\0" - "on_about_triggered()\0,\0" - "on_splitter_splitterMoved(int,int)\0" - "on_preferencesMenu_triggered()\0" - "closeEvent(QCloseEvent*)\0connectToMPD()\0" - "connectionChanged()\0disconnected(QString)\0" - "resizeEvent(QResizeEvent*)\0setSong(MPDSong)\0" - "setStats(MPDStats)\0" - "serverListChanged(QList)\0" - "trayIconChanged(bool)\0updateStart(int,QString)\0" - "updateProgress(int)\0updateDone()\0" - "rightStackCurrentChanged(int)\0" - "locateCurrentSong()\0playlistUpdated(MPDSongList)\0" -}; - -void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - MainWindow *_t = static_cast(_o); - switch (_id) { - case 0: _t->showHide(); break; - case 1: _t->updateTranslation(); break; - case 2: _t->shortAnnounce((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 3: _t->announce((*reinterpret_cast< QString(*)>(_a[1]))); break; - case 4: _t->on_about_triggered(); break; - case 5: _t->on_splitter_splitterMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - case 6: _t->on_preferencesMenu_triggered(); break; - case 7: _t->closeEvent((*reinterpret_cast< QCloseEvent*(*)>(_a[1]))); break; - case 8: _t->connectToMPD(); break; - case 9: _t->connectionChanged(); break; - case 10: _t->disconnected((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 11: _t->resizeEvent((*reinterpret_cast< QResizeEvent*(*)>(_a[1]))); break; - case 12: _t->setSong((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; - case 13: _t->setStats((*reinterpret_cast< const MPDStats(*)>(_a[1]))); break; - case 14: _t->serverListChanged((*reinterpret_cast< const QList(*)>(_a[1]))); break; - case 15: _t->trayIconChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 16: _t->updateStart((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; - case 17: _t->updateProgress((*reinterpret_cast< int(*)>(_a[1]))); break; - case 18: _t->updateDone(); break; - case 19: _t->rightStackCurrentChanged((*reinterpret_cast< int(*)>(_a[1]))); break; - case 20: _t->locateCurrentSong(); break; - case 21: _t->playlistUpdated((*reinterpret_cast< const MPDSongList(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData MainWindow::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject MainWindow::staticMetaObject = { - { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow, - qt_meta_data_MainWindow, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &MainWindow::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *MainWindow::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *MainWindow::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_MainWindow)) - return static_cast(const_cast< MainWindow*>(this)); - return QMainWindow::qt_metacast(_clname); -} - -int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QMainWindow::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 22) - qt_static_metacall(this, _c, _id, _a); - _id -= 22; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_metainfodialog.cxx b/src/moc_metainfodialog.cxx deleted file mode 100644 index adcd608..0000000 --- a/src/moc_metainfodialog.cxx +++ /dev/null @@ -1,96 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'metainfodialog.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "metainfodialog.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'metainfodialog.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_MetaInfoDialog[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 16, 15, 15, 15, 0x08, - 40, 15, 15, 15, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_MetaInfoDialog[] = { - "MetaInfoDialog\0\0on_nextButton_clicked()\0" - "on_prevButton_clicked()\0" -}; - -void MetaInfoDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - MetaInfoDialog *_t = static_cast(_o); - switch (_id) { - case 0: _t->on_nextButton_clicked(); break; - case 1: _t->on_prevButton_clicked(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -const QMetaObjectExtraData MetaInfoDialog::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject MetaInfoDialog::staticMetaObject = { - { &QDialog::staticMetaObject, qt_meta_stringdata_MetaInfoDialog, - qt_meta_data_MetaInfoDialog, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &MetaInfoDialog::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *MetaInfoDialog::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *MetaInfoDialog::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_MetaInfoDialog)) - return static_cast(const_cast< MetaInfoDialog*>(this)); - return QDialog::qt_metacast(_clname); -} - -int MetaInfoDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_mpd.cxx b/src/moc_mpd.cxx deleted file mode 100644 index 11d8d0c..0000000 --- a/src/moc_mpd.cxx +++ /dev/null @@ -1,216 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'mpd.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "mpd.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'mpd.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_MPD[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 28, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 8, // signalCount - - // signals: signature, parameters, type, tag, flags - 5, 4, 4, 4, 0x05, - 33, 4, 4, 4, 0x05, - 62, 4, 4, 4, 0x05, - 82, 4, 4, 4, 0x05, - 102, 4, 4, 4, 0x05, - 121, 4, 4, 4, 0x05, - 146, 144, 4, 4, 0x05, - 167, 4, 4, 4, 0x05, - - // slots: signature, parameters, type, tag, flags - 186, 4, 4, 4, 0x0a, - 202, 4, 4, 4, 0x0a, - 209, 4, 4, 4, 0x0a, - 222, 4, 4, 4, 0x0a, - 230, 4, 4, 4, 0x0a, - 237, 4, 4, 4, 0x0a, - 244, 4, 4, 4, 0x0a, - 261, 251, 4, 4, 0x0a, - 271, 4, 4, 4, 0x0a, - 286, 4, 4, 4, 0x0a, - 308, 300, 4, 4, 0x0a, - 326, 4, 4, 4, 0x0a, - 342, 4, 4, 4, 0x0a, - 358, 4, 4, 4, 0x0a, - 373, 4, 4, 4, 0x0a, - 391, 4, 4, 4, 0x0a, - 405, 4, 4, 4, 0x2a, - 416, 4, 4, 4, 0x0a, - 432, 4, 4, 4, 0x2a, - 445, 4, 4, 4, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_MPD[] = { - "MPD\0\0playingSongUpdated(MPDSong)\0" - "playlistUpdated(MPDSongList)\0" - "randomUpdated(bool)\0repeatUpdated(bool)\0" - "stateUpdated(bool)\0statsUpdated(MPDStats)\0" - ",\0timeUpdated(int,int)\0volumeUpdated(int)\0" - "clearPlaylist()\0play()\0togglePlay()\0" - "pause()\0stop()\0next()\0prev()\0toSeconds\0" - "seek(int)\0seekBackward()\0seekForward()\0" - "seconds\0setCrossfade(int)\0setRandom(bool)\0" - "setRepeat(bool)\0setVolume(int)\0" - "shufflePlaylist()\0volumeUp(int)\0" - "volumeUp()\0volumeDown(int)\0volumeDown()\0" - "poll()\0" -}; - -void MPD::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - MPD *_t = static_cast(_o); - switch (_id) { - case 0: _t->playingSongUpdated((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; - case 1: _t->playlistUpdated((*reinterpret_cast< const MPDSongList(*)>(_a[1]))); break; - case 2: _t->randomUpdated((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 3: _t->repeatUpdated((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 4: _t->stateUpdated((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 5: _t->statsUpdated((*reinterpret_cast< const MPDStats(*)>(_a[1]))); break; - case 6: _t->timeUpdated((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - case 7: _t->volumeUpdated((*reinterpret_cast< int(*)>(_a[1]))); break; - case 8: _t->clearPlaylist(); break; - case 9: _t->play(); break; - case 10: _t->togglePlay(); break; - case 11: _t->pause(); break; - case 12: _t->stop(); break; - case 13: _t->next(); break; - case 14: _t->prev(); break; - case 15: _t->seek((*reinterpret_cast< int(*)>(_a[1]))); break; - case 16: _t->seekBackward(); break; - case 17: _t->seekForward(); break; - case 18: _t->setCrossfade((*reinterpret_cast< int(*)>(_a[1]))); break; - case 19: _t->setRandom((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 20: _t->setRepeat((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 21: _t->setVolume((*reinterpret_cast< int(*)>(_a[1]))); break; - case 22: _t->shufflePlaylist(); break; - case 23: _t->volumeUp((*reinterpret_cast< int(*)>(_a[1]))); break; - case 24: _t->volumeUp(); break; - case 25: _t->volumeDown((*reinterpret_cast< int(*)>(_a[1]))); break; - case 26: _t->volumeDown(); break; - case 27: _t->poll(); break; - default: ; - } - } -} - -const QMetaObjectExtraData MPD::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject MPD::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_MPD, - qt_meta_data_MPD, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &MPD::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *MPD::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *MPD::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_MPD)) - return static_cast(const_cast< MPD*>(this)); - return QObject::qt_metacast(_clname); -} - -int MPD::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 28) - qt_static_metacall(this, _c, _id, _a); - _id -= 28; - } - return _id; -} - -// SIGNAL 0 -void MPD::playingSongUpdated(const MPDSong & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void MPD::playlistUpdated(const MPDSongList & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void MPD::randomUpdated(bool _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} - -// SIGNAL 3 -void MPD::repeatUpdated(bool _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 3, _a); -} - -// SIGNAL 4 -void MPD::stateUpdated(bool _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 4, _a); -} - -// SIGNAL 5 -void MPD::statsUpdated(const MPDStats & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 5, _a); -} - -// SIGNAL 6 -void MPD::timeUpdated(int _t1, int _t2) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; - QMetaObject::activate(this, &staticMetaObject, 6, _a); -} - -// SIGNAL 7 -void MPD::volumeUpdated(int _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 7, _a); -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_mpd_p.cxx b/src/moc_mpd_p.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_mpdcache.cxx b/src/moc_mpdcache.cxx deleted file mode 100644 index 50ef904..0000000 --- a/src/moc_mpdcache.cxx +++ /dev/null @@ -1,162 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'mpdcache.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "mpdcache.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'mpdcache.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_MPDCache[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 11, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 6, // signalCount - - // signals: signature, parameters, type, tag, flags - 10, 9, 9, 9, 0x05, - 38, 9, 9, 9, 0x05, - 71, 9, 9, 9, 0x05, - 101, 9, 9, 9, 0x05, - 114, 9, 9, 9, 0x05, - 136, 134, 9, 9, 0x05, - - // slots: signature, parameters, type, tag, flags - 161, 9, 9, 9, 0x0a, - 189, 9, 9, 9, 0x0a, - 198, 9, 9, 9, 0x0a, - 222, 9, 9, 9, 0x08, - 237, 9, 9, 9, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_MPDCache[] = { - "MPDCache\0\0artistsUpdated(QStringList)\0" - "directoriesUpdated(MPDDirectory)\0" - "playlistsUpdated(MPDSongList)\0" - "updateDone()\0updateProgress(int)\0,\0" - "updateStart(int,QString)\0" - "rescan(QList)\0rescan()\0" - "reReadLibrary(MPDStats)\0disconnected()\0" - "setShowAll(bool)\0" -}; - -void MPDCache::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - MPDCache *_t = static_cast(_o); - switch (_id) { - case 0: _t->artistsUpdated((*reinterpret_cast< const QStringList(*)>(_a[1]))); break; - case 1: _t->directoriesUpdated((*reinterpret_cast< const MPDDirectory(*)>(_a[1]))); break; - case 2: _t->playlistsUpdated((*reinterpret_cast< const MPDSongList(*)>(_a[1]))); break; - case 3: _t->updateDone(); break; - case 4: _t->updateProgress((*reinterpret_cast< int(*)>(_a[1]))); break; - case 5: _t->updateStart((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; - case 6: _t->rescan((*reinterpret_cast< const QList(*)>(_a[1]))); break; - case 7: _t->rescan(); break; - case 8: _t->reReadLibrary((*reinterpret_cast< const MPDStats(*)>(_a[1]))); break; - case 9: _t->disconnected(); break; - case 10: _t->setShowAll((*reinterpret_cast< bool(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData MPDCache::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject MPDCache::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_MPDCache, - qt_meta_data_MPDCache, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &MPDCache::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *MPDCache::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *MPDCache::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_MPDCache)) - return static_cast(const_cast< MPDCache*>(this)); - return QObject::qt_metacast(_clname); -} - -int MPDCache::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 11) - qt_static_metacall(this, _c, _id, _a); - _id -= 11; - } - return _id; -} - -// SIGNAL 0 -void MPDCache::artistsUpdated(const QStringList & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void MPDCache::directoriesUpdated(const MPDDirectory & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void MPDCache::playlistsUpdated(const MPDSongList & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} - -// SIGNAL 3 -void MPDCache::updateDone() -{ - QMetaObject::activate(this, &staticMetaObject, 3, 0); -} - -// SIGNAL 4 -void MPDCache::updateProgress(int _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 4, _a); -} - -// SIGNAL 5 -void MPDCache::updateStart(int _t1, const QString & _t2) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; - QMetaObject::activate(this, &staticMetaObject, 5, _a); -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_mpdcache_p.cxx b/src/moc_mpdcache_p.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_mpdconnection.cxx b/src/moc_mpdconnection.cxx deleted file mode 100644 index 380de98..0000000 --- a/src/moc_mpdconnection.cxx +++ /dev/null @@ -1,120 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'mpdconnection.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "mpdconnection.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'mpdconnection.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_MPDConnection[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 5, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: signature, parameters, type, tag, flags - 15, 14, 14, 14, 0x05, - 43, 37, 14, 14, 0x05, - - // slots: signature, parameters, type, tag, flags - 65, 14, 14, 14, 0x0a, - 90, 14, 14, 14, 0x0a, - 117, 14, 14, 14, 0x2a, - - 0 // eod -}; - -static const char qt_meta_stringdata_MPDConnection[] = { - "MPDConnection\0\0connected(ServerInfo)\0" - "error\0disconnected(QString)\0" - "connectToMPD(ServerInfo)\0" - "disconnectFromMPD(QString)\0" - "disconnectFromMPD()\0" -}; - -void MPDConnection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - MPDConnection *_t = static_cast(_o); - switch (_id) { - case 0: _t->connected((*reinterpret_cast< const ServerInfo(*)>(_a[1]))); break; - case 1: _t->disconnected((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 2: _t->connectToMPD((*reinterpret_cast< const ServerInfo(*)>(_a[1]))); break; - case 3: _t->disconnectFromMPD((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 4: _t->disconnectFromMPD(); break; - default: ; - } - } -} - -const QMetaObjectExtraData MPDConnection::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject MPDConnection::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_MPDConnection, - qt_meta_data_MPDConnection, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &MPDConnection::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *MPDConnection::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *MPDConnection::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_MPDConnection)) - return static_cast(const_cast< MPDConnection*>(this)); - return QObject::qt_metacast(_clname); -} - -int MPDConnection::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 5) - qt_static_metacall(this, _c, _id, _a); - _id -= 5; - } - return _id; -} - -// SIGNAL 0 -void MPDConnection::connected(const ServerInfo & _t1)const -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(const_cast< MPDConnection *>(this), &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void MPDConnection::disconnected(const QString & _t1)const -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(const_cast< MPDConnection *>(this), &staticMetaObject, 1, _a); -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_mpddirectory.cxx b/src/moc_mpddirectory.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_mpdentities.cxx b/src/moc_mpdentities.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_mpdoutput.cxx b/src/moc_mpdoutput.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_mpdsong.cxx b/src/moc_mpdsong.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_mpdsonglist.cxx b/src/moc_mpdsonglist.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_mpdsongmodel.cxx b/src/moc_mpdsongmodel.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_mpdsongview.cxx b/src/moc_mpdsongview.cxx deleted file mode 100644 index bee2bc4..0000000 --- a/src/moc_mpdsongview.cxx +++ /dev/null @@ -1,100 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'mpdsongview.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "mpdsongview.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'mpdsongview.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_MPDSongView[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 4, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 13, 12, 12, 12, 0x0a, - 32, 12, 12, 12, 0x0a, - 54, 12, 12, 12, 0x0a, - 74, 12, 12, 12, 0x09, - - 0 // eod -}; - -static const char qt_meta_stringdata_MPDSongView[] = { - "MPDSongView\0\0setFilter(QString)\0" - "setSongs(MPDSongList)\0updateTranslation()\0" - "doubleClicked(QModelIndex)\0" -}; - -void MPDSongView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - MPDSongView *_t = static_cast(_o); - switch (_id) { - case 0: _t->setFilter((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 1: _t->setSongs((*reinterpret_cast< const MPDSongList(*)>(_a[1]))); break; - case 2: _t->updateTranslation(); break; - case 3: _t->doubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData MPDSongView::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject MPDSongView::staticMetaObject = { - { &AbstractTree::staticMetaObject, qt_meta_stringdata_MPDSongView, - qt_meta_data_MPDSongView, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &MPDSongView::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *MPDSongView::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *MPDSongView::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_MPDSongView)) - return static_cast(const_cast< MPDSongView*>(this)); - return AbstractTree::qt_metacast(_clname); -} - -int MPDSongView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = AbstractTree::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 4) - qt_static_metacall(this, _c, _id, _a); - _id -= 4; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_mpdstats.cxx b/src/moc_mpdstats.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_mpdstatus.cxx b/src/moc_mpdstatus.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_notifications.cxx b/src/moc_notifications.cxx deleted file mode 100644 index d4f1c48..0000000 --- a/src/moc_notifications.cxx +++ /dev/null @@ -1,92 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'notifications.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "notifications.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'notifications.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_Notifications[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 15, 14, 14, 14, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_Notifications[] = { - "Notifications\0\0setSong(MPDSong)\0" -}; - -void Notifications::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - Notifications *_t = static_cast(_o); - switch (_id) { - case 0: _t->setSong((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData Notifications::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject Notifications::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_Notifications, - qt_meta_data_Notifications, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &Notifications::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *Notifications::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *Notifications::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_Notifications)) - return static_cast(const_cast< Notifications*>(this)); - return QObject::qt_metacast(_clname); -} - -int Notifications::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_passivepopup.cxx b/src/moc_passivepopup.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_pausabletimer.cxx b/src/moc_pausabletimer.cxx deleted file mode 100644 index a8bb10b..0000000 --- a/src/moc_pausabletimer.cxx +++ /dev/null @@ -1,80 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'pausabletimer.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "pausabletimer.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'pausabletimer.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_PausableTimer[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -static const char qt_meta_stringdata_PausableTimer[] = { - "PausableTimer\0" -}; - -void PausableTimer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -const QMetaObjectExtraData PausableTimer::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject PausableTimer::staticMetaObject = { - { &QTimer::staticMetaObject, qt_meta_stringdata_PausableTimer, - qt_meta_data_PausableTimer, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &PausableTimer::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *PausableTimer::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *PausableTimer::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_PausableTimer)) - return static_cast(const_cast< PausableTimer*>(this)); - return QTimer::qt_metacast(_clname); -} - -int PausableTimer::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QTimer::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_playlistitemdelegate.cxx b/src/moc_playlistitemdelegate.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_playlistmodel.cxx b/src/moc_playlistmodel.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_playlistpanel.cxx b/src/moc_playlistpanel.cxx deleted file mode 100644 index 9bdcf34..0000000 --- a/src/moc_playlistpanel.cxx +++ /dev/null @@ -1,97 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'playlistpanel.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "playlistpanel.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'playlistpanel.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_PlaylistPanel[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 15, 14, 14, 14, 0x0a, - 35, 14, 14, 14, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_PlaylistPanel[] = { - "PlaylistPanel\0\0updateTranslation()\0" - "updateFilter(QString)\0" -}; - -void PlaylistPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - PlaylistPanel *_t = static_cast(_o); - switch (_id) { - case 0: _t->updateTranslation(); break; - case 1: _t->updateFilter((*reinterpret_cast< const QString(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData PlaylistPanel::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject PlaylistPanel::staticMetaObject = { - { &QWidget::staticMetaObject, qt_meta_stringdata_PlaylistPanel, - qt_meta_data_PlaylistPanel, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &PlaylistPanel::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *PlaylistPanel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *PlaylistPanel::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_PlaylistPanel)) - return static_cast(const_cast< PlaylistPanel*>(this)); - if (!strcmp(_clname, "Ui::PlaylistPanel")) - return static_cast< Ui::PlaylistPanel*>(const_cast< PlaylistPanel*>(this)); - return QWidget::qt_metacast(_clname); -} - -int PlaylistPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWidget::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_playlistspanel.cxx b/src/moc_playlistspanel.cxx deleted file mode 100644 index 8637d47..0000000 --- a/src/moc_playlistspanel.cxx +++ /dev/null @@ -1,95 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'playlistspanel.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "playlistspanel.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'playlistspanel.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_PlaylistsPanel[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 16, 15, 15, 15, 0x0a, - 38, 36, 15, 15, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_PlaylistsPanel[] = { - "PlaylistsPanel\0\0updateTranslation()\0" - ",\0on_playlistsSplit_splitterMoved(int,int)\0" -}; - -void PlaylistsPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - PlaylistsPanel *_t = static_cast(_o); - switch (_id) { - case 0: _t->updateTranslation(); break; - case 1: _t->on_playlistsSplit_splitterMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData PlaylistsPanel::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject PlaylistsPanel::staticMetaObject = { - { &QWidget::staticMetaObject, qt_meta_stringdata_PlaylistsPanel, - qt_meta_data_PlaylistsPanel, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &PlaylistsPanel::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *PlaylistsPanel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *PlaylistsPanel::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_PlaylistsPanel)) - return static_cast(const_cast< PlaylistsPanel*>(this)); - return QWidget::qt_metacast(_clname); -} - -int PlaylistsPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWidget::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_playlistsview.cxx b/src/moc_playlistsview.cxx deleted file mode 100644 index 95db264..0000000 --- a/src/moc_playlistsview.cxx +++ /dev/null @@ -1,116 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'playlistsview.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "playlistsview.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'playlistsview.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_PlaylistsView[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 4, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: signature, parameters, type, tag, flags - 15, 14, 14, 14, 0x05, - 35, 14, 14, 14, 0x05, - - // slots: signature, parameters, type, tag, flags - 64, 14, 14, 14, 0x0a, - 81, 14, 14, 14, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_PlaylistsView[] = { - "PlaylistsView\0\0toggleActions(bool)\0" - "playlistChanged(MPDSongList)\0" - "deletePlaylist()\0updateTranslation()\0" -}; - -void PlaylistsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - PlaylistsView *_t = static_cast(_o); - switch (_id) { - case 0: _t->toggleActions((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 1: _t->playlistChanged((*reinterpret_cast< const MPDSongList(*)>(_a[1]))); break; - case 2: _t->deletePlaylist(); break; - case 3: _t->updateTranslation(); break; - default: ; - } - } -} - -const QMetaObjectExtraData PlaylistsView::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject PlaylistsView::staticMetaObject = { - { &MPDSongView::staticMetaObject, qt_meta_stringdata_PlaylistsView, - qt_meta_data_PlaylistsView, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &PlaylistsView::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *PlaylistsView::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *PlaylistsView::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_PlaylistsView)) - return static_cast(const_cast< PlaylistsView*>(this)); - return MPDSongView::qt_metacast(_clname); -} - -int PlaylistsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = MPDSongView::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 4) - qt_static_metacall(this, _c, _id, _a); - _id -= 4; - } - return _id; -} - -// SIGNAL 0 -void PlaylistsView::toggleActions(bool _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void PlaylistsView::playlistChanged(const MPDSongList & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_playlistview.cxx b/src/moc_playlistview.cxx deleted file mode 100644 index 9af0f65..0000000 --- a/src/moc_playlistview.cxx +++ /dev/null @@ -1,125 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'playlistview.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "playlistview.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'playlistview.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_PlaylistView[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 10, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 14, 13, 13, 13, 0x05, - - // slots: signature, parameters, type, tag, flags - 34, 13, 13, 13, 0x0a, - 54, 13, 13, 13, 0x08, - 66, 13, 13, 13, 0x08, - 94, 13, 13, 13, 0x08, - 126, 13, 13, 13, 0x08, - 140, 13, 13, 13, 0x08, - 155, 13, 13, 13, 0x08, - 180, 13, 13, 13, 0x08, - 197, 13, 13, 13, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_PlaylistView[] = { - "PlaylistView\0\0toggleActions(bool)\0" - "updateTranslation()\0cropItems()\0" - "indexActivated(QModelIndex)\0" - "playlistPatternChanged(QString)\0" - "removeItems()\0savePlaylist()\0" - "setPlaylist(MPDSongList)\0setSong(MPDSong)\0" - "queueSelectedSong()\0" -}; - -void PlaylistView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - PlaylistView *_t = static_cast(_o); - switch (_id) { - case 0: _t->toggleActions((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 1: _t->updateTranslation(); break; - case 2: _t->cropItems(); break; - case 3: _t->indexActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; - case 4: _t->playlistPatternChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 5: _t->removeItems(); break; - case 6: _t->savePlaylist(); break; - case 7: _t->setPlaylist((*reinterpret_cast< const MPDSongList(*)>(_a[1]))); break; - case 8: _t->setSong((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; - case 9: _t->queueSelectedSong(); break; - default: ; - } - } -} - -const QMetaObjectExtraData PlaylistView::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject PlaylistView::staticMetaObject = { - { &AbstractList::staticMetaObject, qt_meta_stringdata_PlaylistView, - qt_meta_data_PlaylistView, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &PlaylistView::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *PlaylistView::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *PlaylistView::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_PlaylistView)) - return static_cast(const_cast< PlaylistView*>(this)); - return AbstractList::qt_metacast(_clname); -} - -int PlaylistView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = AbstractList::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 10) - qt_static_metacall(this, _c, _id, _a); - _id -= 10; - } - return _id; -} - -// SIGNAL 0 -void PlaylistView::toggleActions(bool _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_plconview.cxx b/src/moc_plconview.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_plsfile.cxx b/src/moc_plsfile.cxx deleted file mode 100644 index 333071d..0000000 --- a/src/moc_plsfile.cxx +++ /dev/null @@ -1,104 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'plsfile.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "plsfile.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'plsfile.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_PlsFile[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 14, 9, 8, 8, 0x05, - - // slots: signature, parameters, type, tag, flags - 36, 30, 8, 8, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_PlsFile[] = { - "PlsFile\0\0file\0ready(PlsFile*)\0reply\0" - "newDataAvailable(QNetworkReply*)\0" -}; - -void PlsFile::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - PlsFile *_t = static_cast(_o); - switch (_id) { - case 0: _t->ready((*reinterpret_cast< PlsFile*(*)>(_a[1]))); break; - case 1: _t->newDataAvailable((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData PlsFile::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject PlsFile::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_PlsFile, - qt_meta_data_PlsFile, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &PlsFile::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *PlsFile::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *PlsFile::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_PlsFile)) - return static_cast(const_cast< PlsFile*>(this)); - return QObject::qt_metacast(_clname); -} - -int PlsFile::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } - return _id; -} - -// SIGNAL 0 -void PlsFile::ready(PlsFile * _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_preferencesdialog.cxx b/src/moc_preferencesdialog.cxx deleted file mode 100644 index 3e11e0b..0000000 --- a/src/moc_preferencesdialog.cxx +++ /dev/null @@ -1,153 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'preferencesdialog.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "preferencesdialog.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'preferencesdialog.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_PreferencesDialog[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 23, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 19, 18, 18, 18, 0x0a, - 35, 18, 18, 18, 0x0a, - 55, 18, 18, 18, 0x08, - 78, 18, 18, 18, 0x08, - 105, 103, 18, 18, 0x08, - 175, 18, 18, 18, 0x08, - 201, 18, 18, 18, 0x08, - 225, 18, 18, 18, 0x08, - 249, 18, 18, 18, 0x08, - 285, 18, 18, 18, 0x08, - 318, 18, 18, 18, 0x08, - 340, 18, 18, 18, 0x08, - 359, 18, 18, 18, 0x08, - 392, 18, 18, 18, 0x08, - 424, 18, 18, 18, 0x08, - 445, 103, 18, 18, 0x08, - 481, 18, 18, 18, 0x08, - 506, 18, 18, 18, 0x08, - 537, 18, 18, 18, 0x08, - 558, 18, 18, 18, 0x08, - 579, 18, 18, 18, 0x08, - 600, 18, 18, 18, 0x08, - 618, 18, 18, 18, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_PreferencesDialog[] = { - "PreferencesDialog\0\0updateIconSet()\0" - "updateTranslation()\0on_addButton_clicked()\0" - "on_closeButton_clicked()\0,\0" - "on_categoryList_currentItemChanged(QTreeWidgetItem*,QTreeWidgetItem*)\0" - "on_deleteButton_clicked()\0" - "on_downButton_clicked()\0on_fontButton_clicked()\0" - "on_patternLine_textChanged(QString)\0" - "on_testLine_textChanged(QString)\0" - "on_upButton_clicked()\0crossfadeChanged()\0" - "iconsetChanged(QListWidgetItem*)\0" - "localeChanged(QListWidgetItem*)\0" - "notifierChanged(int)\0" - "outputChanged(QTreeWidgetItem*,int)\0" - "serverSelectionChanged()\0" - "styleChanged(QListWidgetItem*)\0" - "hashLastFmPassword()\0setLastFmSlider(int)\0" - "setLastFmSpiner(int)\0setLastFmServer()\0" - "setLibreFmServer()\0" -}; - -void PreferencesDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - PreferencesDialog *_t = static_cast(_o); - switch (_id) { - case 0: _t->updateIconSet(); break; - case 1: _t->updateTranslation(); break; - case 2: _t->on_addButton_clicked(); break; - case 3: _t->on_closeButton_clicked(); break; - case 4: _t->on_categoryList_currentItemChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QTreeWidgetItem*(*)>(_a[2]))); break; - case 5: _t->on_deleteButton_clicked(); break; - case 6: _t->on_downButton_clicked(); break; - case 7: _t->on_fontButton_clicked(); break; - case 8: _t->on_patternLine_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 9: _t->on_testLine_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 10: _t->on_upButton_clicked(); break; - case 11: _t->crossfadeChanged(); break; - case 12: _t->iconsetChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break; - case 13: _t->localeChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break; - case 14: _t->notifierChanged((*reinterpret_cast< int(*)>(_a[1]))); break; - case 15: _t->outputChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - case 16: _t->serverSelectionChanged(); break; - case 17: _t->styleChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1]))); break; - case 18: _t->hashLastFmPassword(); break; - case 19: _t->setLastFmSlider((*reinterpret_cast< int(*)>(_a[1]))); break; - case 20: _t->setLastFmSpiner((*reinterpret_cast< int(*)>(_a[1]))); break; - case 21: _t->setLastFmServer(); break; - case 22: _t->setLibreFmServer(); break; - default: ; - } - } -} - -const QMetaObjectExtraData PreferencesDialog::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject PreferencesDialog::staticMetaObject = { - { &QDialog::staticMetaObject, qt_meta_stringdata_PreferencesDialog, - qt_meta_data_PreferencesDialog, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &PreferencesDialog::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *PreferencesDialog::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *PreferencesDialog::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_PreferencesDialog)) - return static_cast(const_cast< PreferencesDialog*>(this)); - return QDialog::qt_metacast(_clname); -} - -int PreferencesDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDialog::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 23) - qt_static_metacall(this, _c, _id, _a); - _id -= 23; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_qdbus_adaptor.cxx b/src/moc_qdbus_adaptor.cxx deleted file mode 100644 index 2a67b6a..0000000 --- a/src/moc_qdbus_adaptor.cxx +++ /dev/null @@ -1,139 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'qdbus_adaptor.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "qdbus_adaptor.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'qdbus_adaptor.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_MainApplicationAdaptor[] = { - - // content: - 6, // revision - 0, // classname - 1, 14, // classinfo - 3, 16, // methods - 2, 31, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // classinfo: key, value - 48, 23, - - // signals: signature, parameters, type, tag, flags - 65, 64, 64, 64, 0x05, - - // slots: signature, parameters, type, tag, flags - 79, 64, 64, 64, 0x0a, - 86, 64, 64, 64, 0x0a, - - // properties: name, type, flags - 113, 105, 0x0a095001, - 130, 105, 0x0a095001, - - 0 // eod -}; - -static const char qt_meta_stringdata_MainApplicationAdaptor[] = { - "MainApplicationAdaptor\0net.bitcheese.QMPDClient\0" - "D-Bus Interface\0\0aboutToQuit()\0quit()\0" - "toggleMainWindow()\0QString\0organizationName\0" - "organizationDomain\0" -}; - -void MainApplicationAdaptor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - MainApplicationAdaptor *_t = static_cast(_o); - switch (_id) { - case 0: _t->aboutToQuit(); break; - case 1: _t->quit(); break; - case 2: _t->toggleMainWindow(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -const QMetaObjectExtraData MainApplicationAdaptor::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject MainApplicationAdaptor::staticMetaObject = { - { &QDBusAbstractAdaptor::staticMetaObject, qt_meta_stringdata_MainApplicationAdaptor, - qt_meta_data_MainApplicationAdaptor, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &MainApplicationAdaptor::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *MainApplicationAdaptor::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *MainApplicationAdaptor::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_MainApplicationAdaptor)) - return static_cast(const_cast< MainApplicationAdaptor*>(this)); - return QDBusAbstractAdaptor::qt_metacast(_clname); -} - -int MainApplicationAdaptor::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QDBusAbstractAdaptor::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 3) - qt_static_metacall(this, _c, _id, _a); - _id -= 3; - } -#ifndef QT_NO_PROPERTIES - else if (_c == QMetaObject::ReadProperty) { - void *_v = _a[0]; - switch (_id) { - case 0: *reinterpret_cast< QString*>(_v) = organizationName(); break; - case 1: *reinterpret_cast< QString*>(_v) = organizationDomain(); break; - } - _id -= 2; - } else if (_c == QMetaObject::WriteProperty) { - _id -= 2; - } else if (_c == QMetaObject::ResetProperty) { - _id -= 2; - } else if (_c == QMetaObject::QueryPropertyDesignable) { - _id -= 2; - } else if (_c == QMetaObject::QueryPropertyScriptable) { - _id -= 2; - } else if (_c == QMetaObject::QueryPropertyStored) { - _id -= 2; - } else if (_c == QMetaObject::QueryPropertyEditable) { - _id -= 2; - } else if (_c == QMetaObject::QueryPropertyUser) { - _id -= 2; - } -#endif // QT_NO_PROPERTIES - return _id; -} - -// SIGNAL 0 -void MainApplicationAdaptor::aboutToQuit() -{ - QMetaObject::activate(this, &staticMetaObject, 0, 0); -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_qmpdclient.cxx b/src/moc_qmpdclient.cxx deleted file mode 100644 index d413cc1..0000000 --- a/src/moc_qmpdclient.cxx +++ /dev/null @@ -1,105 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'qmpdclient.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "qmpdclient.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'qmpdclient.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_QMPDClient[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 6, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 12, 11, 11, 11, 0x0a, - 31, 11, 11, 11, 0x08, - 56, 11, 11, 11, 0x08, - 75, 11, 11, 11, 0x08, - 92, 11, 11, 11, 0x08, - 115, 11, 11, 11, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_QMPDClient[] = { - "QMPDClient\0\0toggleMainWindow()\0" - "alternatingChanged(bool)\0fontChanged(QFont)\0" - "iconSetChanged()\0localeChanged(QString)\0" - "opaqueResizeChanged(bool)\0" -}; - -void QMPDClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - QMPDClient *_t = static_cast(_o); - switch (_id) { - case 0: _t->toggleMainWindow(); break; - case 1: _t->alternatingChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 2: _t->fontChanged((*reinterpret_cast< const QFont(*)>(_a[1]))); break; - case 3: _t->iconSetChanged(); break; - case 4: _t->localeChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 5: _t->opaqueResizeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData QMPDClient::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject QMPDClient::staticMetaObject = { - { &QApplication::staticMetaObject, qt_meta_stringdata_QMPDClient, - qt_meta_data_QMPDClient, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &QMPDClient::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *QMPDClient::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *QMPDClient::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_QMPDClient)) - return static_cast(const_cast< QMPDClient*>(this)); - return QApplication::qt_metacast(_clname); -} - -int QMPDClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QApplication::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 6) - qt_static_metacall(this, _c, _id, _a); - _id -= 6; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_radiopanel.cxx b/src/moc_radiopanel.cxx deleted file mode 100644 index b8bff0a..0000000 --- a/src/moc_radiopanel.cxx +++ /dev/null @@ -1,93 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'radiopanel.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "radiopanel.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'radiopanel.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_RadioPanel[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 12, 11, 11, 11, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_RadioPanel[] = { - "RadioPanel\0\0updateTranslation()\0" -}; - -void RadioPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - RadioPanel *_t = static_cast(_o); - switch (_id) { - case 0: _t->updateTranslation(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -const QMetaObjectExtraData RadioPanel::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject RadioPanel::staticMetaObject = { - { &QWidget::staticMetaObject, qt_meta_stringdata_RadioPanel, - qt_meta_data_RadioPanel, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &RadioPanel::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *RadioPanel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *RadioPanel::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_RadioPanel)) - return static_cast(const_cast< RadioPanel*>(this)); - return QWidget::qt_metacast(_clname); -} - -int RadioPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWidget::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_radioview.cxx b/src/moc_radioview.cxx deleted file mode 100644 index 8d0b5e4..0000000 --- a/src/moc_radioview.cxx +++ /dev/null @@ -1,123 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'radioview.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "radioview.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'radioview.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_RadioView[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 7, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 2, // signalCount - - // signals: signature, parameters, type, tag, flags - 11, 10, 10, 10, 0x05, - 36, 10, 10, 10, 0x05, - - // slots: signature, parameters, type, tag, flags - 58, 10, 10, 10, 0x0a, - 74, 10, 10, 10, 0x0a, - 87, 10, 10, 10, 0x0a, - 107, 10, 10, 10, 0x08, - 119, 10, 10, 10, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_RadioView[] = { - "RadioView\0\0toggleDeleteAction(bool)\0" - "toggleNewAction(bool)\0deleteStation()\0" - "newStation()\0updateTranslation()\0" - "connected()\0disconnected()\0" -}; - -void RadioView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - RadioView *_t = static_cast(_o); - switch (_id) { - case 0: _t->toggleDeleteAction((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 1: _t->toggleNewAction((*reinterpret_cast< bool(*)>(_a[1]))); break; - case 2: _t->deleteStation(); break; - case 3: _t->newStation(); break; - case 4: _t->updateTranslation(); break; - case 5: _t->connected(); break; - case 6: _t->disconnected(); break; - default: ; - } - } -} - -const QMetaObjectExtraData RadioView::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject RadioView::staticMetaObject = { - { &MPDSongView::staticMetaObject, qt_meta_stringdata_RadioView, - qt_meta_data_RadioView, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &RadioView::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *RadioView::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *RadioView::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_RadioView)) - return static_cast(const_cast< RadioView*>(this)); - return MPDSongView::qt_metacast(_clname); -} - -int RadioView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = MPDSongView::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 7) - qt_static_metacall(this, _c, _id, _a); - _id -= 7; - } - return _id; -} - -// SIGNAL 0 -void RadioView::toggleDeleteAction(bool _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} - -// SIGNAL 1 -void RadioView::toggleNewAction(bool _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_reconnect.cxx b/src/moc_reconnect.cxx deleted file mode 100644 index a67d578..0000000 --- a/src/moc_reconnect.cxx +++ /dev/null @@ -1,97 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'reconnect.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "reconnect.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'reconnect.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_Reconnect[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 3, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 11, 10, 10, 10, 0x08, - 23, 10, 10, 10, 0x08, - 45, 10, 10, 10, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_Reconnect[] = { - "Reconnect\0\0reconnect()\0connected(ServerInfo)\0" - "disconnected(QString)\0" -}; - -void Reconnect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - Reconnect *_t = static_cast(_o); - switch (_id) { - case 0: _t->reconnect(); break; - case 1: _t->connected((*reinterpret_cast< const ServerInfo(*)>(_a[1]))); break; - case 2: _t->disconnected((*reinterpret_cast< const QString(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData Reconnect::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject Reconnect::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_Reconnect, - qt_meta_data_Reconnect, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &Reconnect::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *Reconnect::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *Reconnect::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_Reconnect)) - return static_cast(const_cast< Reconnect*>(this)); - return QObject::qt_metacast(_clname); -} - -int Reconnect::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 3) - qt_static_metacall(this, _c, _id, _a); - _id -= 3; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_richtext.cxx b/src/moc_richtext.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_serverinfo.cxx b/src/moc_serverinfo.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_servermodel.cxx b/src/moc_servermodel.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_shortcutmodel.cxx b/src/moc_shortcutmodel.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_shortcuts.cxx b/src/moc_shortcuts.cxx deleted file mode 100644 index 038a27a..0000000 --- a/src/moc_shortcuts.cxx +++ /dev/null @@ -1,93 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'shortcuts.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "shortcuts.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'shortcuts.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_Shortcuts[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 11, 10, 10, 10, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_Shortcuts[] = { - "Shortcuts\0\0updateTranslation()\0" -}; - -void Shortcuts::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - Shortcuts *_t = static_cast(_o); - switch (_id) { - case 0: _t->updateTranslation(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -const QMetaObjectExtraData Shortcuts::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject Shortcuts::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_Shortcuts, - qt_meta_data_Shortcuts, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &Shortcuts::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *Shortcuts::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *Shortcuts::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_Shortcuts)) - return static_cast(const_cast< Shortcuts*>(this)); - return QObject::qt_metacast(_clname); -} - -int Shortcuts::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_shoutcastfetcher.cxx b/src/moc_shoutcastfetcher.cxx deleted file mode 100644 index d62932d..0000000 --- a/src/moc_shoutcastfetcher.cxx +++ /dev/null @@ -1,144 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'shoutcastfetcher.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "shoutcastfetcher.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'shoutcastfetcher.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_ShoutcastFetcher[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 8, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 4, // signalCount - - // signals: signature, parameters, type, tag, flags - 18, 17, 17, 17, 0x05, - 44, 36, 17, 17, 0x05, - 82, 74, 17, 17, 0x05, - 136, 118, 17, 17, 0x05, - - // slots: signature, parameters, type, tag, flags - 203, 187, 17, 17, 0x08, - 260, 231, 17, 17, 0x08, - 315, 309, 17, 17, 0x08, - 350, 345, 17, 17, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_ShoutcastFetcher[] = { - "ShoutcastFetcher\0\0genresAvailable()\0" - "keyWord\0newStationsAvailable(QString)\0" - "station\0playlistAvailable(ShoutcastStation)\0" - "error,errorString\0" - "errorFetching(QNetworkReply::NetworkError,QString)\0" - "openInputDevice\0genresAvailable(QIODevice*)\0" - "host,openInputDevice,keyword\0" - "newStationsAvailable(QString,QIODevice*,QString)\0" - "reply\0replyFinished(QNetworkReply*)\0" - "file\0playlistDownloaded(PlsFile*)\0" -}; - -void ShoutcastFetcher::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - ShoutcastFetcher *_t = static_cast(_o); - switch (_id) { - case 0: _t->genresAvailable(); break; - case 1: _t->newStationsAvailable((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 2: _t->playlistAvailable((*reinterpret_cast< const ShoutcastStation(*)>(_a[1]))); break; - case 3: _t->errorFetching((*reinterpret_cast< QNetworkReply::NetworkError(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break; - case 4: _t->genresAvailable((*reinterpret_cast< QIODevice*(*)>(_a[1]))); break; - case 5: _t->newStationsAvailable((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QIODevice*(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break; - case 6: _t->replyFinished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break; - case 7: _t->playlistDownloaded((*reinterpret_cast< PlsFile*(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData ShoutcastFetcher::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject ShoutcastFetcher::staticMetaObject = { - { &QObject::staticMetaObject, qt_meta_stringdata_ShoutcastFetcher, - qt_meta_data_ShoutcastFetcher, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &ShoutcastFetcher::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *ShoutcastFetcher::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *ShoutcastFetcher::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_ShoutcastFetcher)) - return static_cast(const_cast< ShoutcastFetcher*>(this)); - return QObject::qt_metacast(_clname); -} - -int ShoutcastFetcher::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QObject::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 8) - qt_static_metacall(this, _c, _id, _a); - _id -= 8; - } - return _id; -} - -// SIGNAL 0 -void ShoutcastFetcher::genresAvailable() -{ - QMetaObject::activate(this, &staticMetaObject, 0, 0); -} - -// SIGNAL 1 -void ShoutcastFetcher::newStationsAvailable(const QString & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 1, _a); -} - -// SIGNAL 2 -void ShoutcastFetcher::playlistAvailable(const ShoutcastStation & _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 2, _a); -} - -// SIGNAL 3 -void ShoutcastFetcher::errorFetching(QNetworkReply::NetworkError _t1, const QString & _t2) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)), const_cast(reinterpret_cast(&_t2)) }; - QMetaObject::activate(this, &staticMetaObject, 3, _a); -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_shoutcastmodel.cxx b/src/moc_shoutcastmodel.cxx deleted file mode 100644 index d6ef4d4..0000000 --- a/src/moc_shoutcastmodel.cxx +++ /dev/null @@ -1,100 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'shoutcastmodel.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "shoutcastmodel.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'shoutcastmodel.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_ShoutcastModel[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 3, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 16, 15, 15, 15, 0x08, - 42, 34, 15, 15, 0x08, - 80, 72, 15, 15, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_ShoutcastModel[] = { - "ShoutcastModel\0\0genresAvailable()\0" - "keyWord\0newStationsAvailable(QString)\0" - "station\0playlistAvailable(ShoutcastStation)\0" -}; - -void ShoutcastModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - ShoutcastModel *_t = static_cast(_o); - switch (_id) { - case 0: _t->genresAvailable(); break; - case 1: _t->newStationsAvailable((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 2: _t->playlistAvailable((*reinterpret_cast< const ShoutcastStation(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData ShoutcastModel::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject ShoutcastModel::staticMetaObject = { - { &QStandardItemModel::staticMetaObject, qt_meta_stringdata_ShoutcastModel, - qt_meta_data_ShoutcastModel, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &ShoutcastModel::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *ShoutcastModel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *ShoutcastModel::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_ShoutcastModel)) - return static_cast(const_cast< ShoutcastModel*>(this)); - if (!strcmp(_clname, "AbstractModel")) - return static_cast< AbstractModel*>(const_cast< ShoutcastModel*>(this)); - return QStandardItemModel::qt_metacast(_clname); -} - -int ShoutcastModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QStandardItemModel::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 3) - qt_static_metacall(this, _c, _id, _a); - _id -= 3; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_shoutcastpanel.cxx b/src/moc_shoutcastpanel.cxx deleted file mode 100644 index 5e646de..0000000 --- a/src/moc_shoutcastpanel.cxx +++ /dev/null @@ -1,93 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'shoutcastpanel.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "shoutcastpanel.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'shoutcastpanel.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_ShoutcastPanel[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 16, 15, 15, 15, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_ShoutcastPanel[] = { - "ShoutcastPanel\0\0updateTranslation()\0" -}; - -void ShoutcastPanel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - ShoutcastPanel *_t = static_cast(_o); - switch (_id) { - case 0: _t->updateTranslation(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -const QMetaObjectExtraData ShoutcastPanel::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject ShoutcastPanel::staticMetaObject = { - { &QWidget::staticMetaObject, qt_meta_stringdata_ShoutcastPanel, - qt_meta_data_ShoutcastPanel, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &ShoutcastPanel::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *ShoutcastPanel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *ShoutcastPanel::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_ShoutcastPanel)) - return static_cast(const_cast< ShoutcastPanel*>(this)); - return QWidget::qt_metacast(_clname); -} - -int ShoutcastPanel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWidget::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_shoutcaststation.cxx b/src/moc_shoutcaststation.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_shoutcastview.cxx b/src/moc_shoutcastview.cxx deleted file mode 100644 index 0ac1483..0000000 --- a/src/moc_shoutcastview.cxx +++ /dev/null @@ -1,98 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'shoutcastview.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "shoutcastview.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'shoutcastview.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_ShoutcastView[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 3, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 15, 14, 14, 14, 0x0a, - 48, 35, 14, 14, 0x08, - 83, 70, 14, 14, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_ShoutcastView[] = { - "ShoutcastView\0\0updateTranslation()\0" - "expandedItem\0expanded(QModelIndex)\0" - "selectedItem\0doubleClicked(QModelIndex)\0" -}; - -void ShoutcastView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - ShoutcastView *_t = static_cast(_o); - switch (_id) { - case 0: _t->updateTranslation(); break; - case 1: _t->expanded((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; - case 2: _t->doubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData ShoutcastView::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject ShoutcastView::staticMetaObject = { - { &AbstractTree::staticMetaObject, qt_meta_stringdata_ShoutcastView, - qt_meta_data_ShoutcastView, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &ShoutcastView::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *ShoutcastView::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *ShoutcastView::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_ShoutcastView)) - return static_cast(const_cast< ShoutcastView*>(this)); - return AbstractTree::qt_metacast(_clname); -} - -int ShoutcastView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = AbstractTree::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 3) - qt_static_metacall(this, _c, _id, _a); - _id -= 3; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_songview.cxx b/src/moc_songview.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_stringlistmodel.cxx b/src/moc_stringlistmodel.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_stringlistview.cxx b/src/moc_stringlistview.cxx deleted file mode 100644 index 91c8546..0000000 --- a/src/moc_stringlistview.cxx +++ /dev/null @@ -1,100 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'stringlistview.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "stringlistview.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'stringlistview.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_StringListView[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 4, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 16, 15, 15, 15, 0x0a, - 32, 15, 15, 15, 0x0a, - 56, 15, 15, 15, 0x0a, - 76, 15, 15, 15, 0x09, - - 0 // eod -}; - -static const char qt_meta_stringdata_StringListView[] = { - "StringListView\0\0filter(QString)\0" - "setStrings(QStringList)\0updateTranslation()\0" - "doubleClicked(QModelIndex)\0" -}; - -void StringListView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - StringListView *_t = static_cast(_o); - switch (_id) { - case 0: _t->filter((*reinterpret_cast< const QString(*)>(_a[1]))); break; - case 1: _t->setStrings((*reinterpret_cast< const QStringList(*)>(_a[1]))); break; - case 2: _t->updateTranslation(); break; - case 3: _t->doubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData StringListView::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject StringListView::staticMetaObject = { - { &AbstractList::staticMetaObject, qt_meta_stringdata_StringListView, - qt_meta_data_StringListView, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &StringListView::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *StringListView::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *StringListView::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_StringListView)) - return static_cast(const_cast< StringListView*>(this)); - return AbstractList::qt_metacast(_clname); -} - -int StringListView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = AbstractList::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 4) - qt_static_metacall(this, _c, _id, _a); - _id -= 4; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_tagguesser.cxx b/src/moc_tagguesser.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_tagmodel.cxx b/src/moc_tagmodel.cxx deleted file mode 100644 index e69de29..0000000 diff --git a/src/moc_timelabel.cxx b/src/moc_timelabel.cxx deleted file mode 100644 index 0ecd73a..0000000 --- a/src/moc_timelabel.cxx +++ /dev/null @@ -1,169 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'timelabel.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "timelabel.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'timelabel.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_TimeLabel[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 25, 11, 10, 10, 0x0a, - 50, 42, 10, 10, 0x2a, - - 0 // eod -}; - -static const char qt_meta_stringdata_TimeLabel[] = { - "TimeLabel\0\0elapsed,total\0setTime(int,int)\0" - "elapsed\0setTime(int)\0" -}; - -void TimeLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - TimeLabel *_t = static_cast(_o); - switch (_id) { - case 0: _t->setTime((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - case 1: _t->setTime((*reinterpret_cast< int(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData TimeLabel::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject TimeLabel::staticMetaObject = { - { &QLabel::staticMetaObject, qt_meta_stringdata_TimeLabel, - qt_meta_data_TimeLabel, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &TimeLabel::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *TimeLabel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *TimeLabel::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_TimeLabel)) - return static_cast(const_cast< TimeLabel*>(this)); - return QLabel::qt_metacast(_clname); -} - -int TimeLabel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QLabel::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } - return _id; -} -static const uint qt_meta_data_TotalTimeLabel[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 30, 16, 15, 15, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_TotalTimeLabel[] = { - "TotalTimeLabel\0\0elapsed,total\0" - "setTime(int,int)\0" -}; - -void TotalTimeLabel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - TotalTimeLabel *_t = static_cast(_o); - switch (_id) { - case 0: _t->setTime((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData TotalTimeLabel::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject TotalTimeLabel::staticMetaObject = { - { &QLabel::staticMetaObject, qt_meta_stringdata_TotalTimeLabel, - qt_meta_data_TotalTimeLabel, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &TotalTimeLabel::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *TotalTimeLabel::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *TotalTimeLabel::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_TotalTimeLabel)) - return static_cast(const_cast< TotalTimeLabel*>(this)); - return QLabel::qt_metacast(_clname); -} - -int TotalTimeLabel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QLabel::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_timeslider.cxx b/src/moc_timeslider.cxx deleted file mode 100644 index 9bbe9f9..0000000 --- a/src/moc_timeslider.cxx +++ /dev/null @@ -1,106 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'timeslider.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "timeslider.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'timeslider.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_TimeSlider[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 3, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 12, 11, 11, 11, 0x05, - - // slots: signature, parameters, type, tag, flags - 41, 29, 11, 11, 0x0a, - 65, 58, 11, 11, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_TimeSlider[] = { - "TimeSlider\0\0timeChanged(int)\0elapsed,max\0" - "setTime(int,int)\0action\0onActionTriggered(int)\0" -}; - -void TimeSlider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - TimeSlider *_t = static_cast(_o); - switch (_id) { - case 0: _t->timeChanged((*reinterpret_cast< int(*)>(_a[1]))); break; - case 1: _t->setTime((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - case 2: _t->onActionTriggered((*reinterpret_cast< int(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData TimeSlider::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject TimeSlider::staticMetaObject = { - { &QSlider::staticMetaObject, qt_meta_stringdata_TimeSlider, - qt_meta_data_TimeSlider, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &TimeSlider::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *TimeSlider::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *TimeSlider::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_TimeSlider)) - return static_cast(const_cast< TimeSlider*>(this)); - return QSlider::qt_metacast(_clname); -} - -int TimeSlider::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QSlider::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 3) - qt_static_metacall(this, _c, _id, _a); - _id -= 3; - } - return _id; -} - -// SIGNAL 0 -void TimeSlider::timeChanged(int _t1) -{ - void *_a[] = { 0, const_cast(reinterpret_cast(&_t1)) }; - QMetaObject::activate(this, &staticMetaObject, 0, _a); -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_trayicon.cxx b/src/moc_trayicon.cxx deleted file mode 100644 index 57a8723..0000000 --- a/src/moc_trayicon.cxx +++ /dev/null @@ -1,115 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'trayicon.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "trayicon.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'trayicon.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_TrayIcon[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 7, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 1, // signalCount - - // signals: signature, parameters, type, tag, flags - 10, 9, 9, 9, 0x05, - - // slots: signature, parameters, type, tag, flags - 20, 9, 9, 9, 0x0a, - 40, 9, 9, 9, 0x08, - 82, 9, 9, 9, 0x08, - 94, 9, 9, 9, 0x08, - 109, 9, 9, 9, 0x08, - 127, 9, 9, 9, 0x08, - - 0 // eod -}; - -static const char qt_meta_stringdata_TrayIcon[] = { - "TrayIcon\0\0clicked()\0updateTranslation()\0" - "action(QSystemTrayIcon::ActivationReason)\0" - "connected()\0disconnected()\0menuAboutToShow()\0" - "setSong(MPDSong)\0" -}; - -void TrayIcon::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - TrayIcon *_t = static_cast(_o); - switch (_id) { - case 0: _t->clicked(); break; - case 1: _t->updateTranslation(); break; - case 2: _t->action((*reinterpret_cast< QSystemTrayIcon::ActivationReason(*)>(_a[1]))); break; - case 3: _t->connected(); break; - case 4: _t->disconnected(); break; - case 5: _t->menuAboutToShow(); break; - case 6: _t->setSong((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData TrayIcon::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject TrayIcon::staticMetaObject = { - { &QSystemTrayIcon::staticMetaObject, qt_meta_stringdata_TrayIcon, - qt_meta_data_TrayIcon, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &TrayIcon::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *TrayIcon::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *TrayIcon::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_TrayIcon)) - return static_cast(const_cast< TrayIcon*>(this)); - return QSystemTrayIcon::qt_metacast(_clname); -} - -int TrayIcon::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QSystemTrayIcon::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 7) - qt_static_metacall(this, _c, _id, _a); - _id -= 7; - } - return _id; -} - -// SIGNAL 0 -void TrayIcon::clicked() -{ - QMetaObject::activate(this, &staticMetaObject, 0, 0); -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_traysonginfo.cxx b/src/moc_traysonginfo.cxx deleted file mode 100644 index 301ea28..0000000 --- a/src/moc_traysonginfo.cxx +++ /dev/null @@ -1,96 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'traysonginfo.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "traysonginfo.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'traysonginfo.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_TraySongInfo[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 2, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: signature, parameters, type, tag, flags - 30, 14, 13, 13, 0x08, - 59, 54, 13, 13, 0x0a, - - 0 // eod -}; - -static const char qt_meta_stringdata_TraySongInfo[] = { - "TraySongInfo\0\0elapsed,maximum\0" - "updatePosition(int,int)\0song\0" - "setSong(MPDSong)\0" -}; - -void TraySongInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - Q_ASSERT(staticMetaObject.cast(_o)); - TraySongInfo *_t = static_cast(_o); - switch (_id) { - case 0: _t->updatePosition((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; - case 1: _t->setSong((*reinterpret_cast< const MPDSong(*)>(_a[1]))); break; - default: ; - } - } -} - -const QMetaObjectExtraData TraySongInfo::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject TraySongInfo::staticMetaObject = { - { &QWidget::staticMetaObject, qt_meta_stringdata_TraySongInfo, - qt_meta_data_TraySongInfo, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &TraySongInfo::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *TraySongInfo::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *TraySongInfo::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_TraySongInfo)) - return static_cast(const_cast< TraySongInfo*>(this)); - return QWidget::qt_metacast(_clname); -} - -int TraySongInfo::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QWidget::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 2) - qt_static_metacall(this, _c, _id, _a); - _id -= 2; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/src/moc_verticalbutton.cxx b/src/moc_verticalbutton.cxx deleted file mode 100644 index c94d5a5..0000000 --- a/src/moc_verticalbutton.cxx +++ /dev/null @@ -1,80 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'verticalbutton.h' -** -** Created by: The Qt Meta Object Compiler version 63 (Qt 4.8.5) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include "verticalbutton.h" -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'verticalbutton.h' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 63 -#error "This file was generated using the moc from 4.8.5. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -static const uint qt_meta_data_VerticalButton[] = { - - // content: - 6, // revision - 0, // classname - 0, 0, // classinfo - 0, 0, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - 0 // eod -}; - -static const char qt_meta_stringdata_VerticalButton[] = { - "VerticalButton\0" -}; - -void VerticalButton::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - Q_UNUSED(_o); - Q_UNUSED(_id); - Q_UNUSED(_c); - Q_UNUSED(_a); -} - -const QMetaObjectExtraData VerticalButton::staticMetaObjectExtraData = { - 0, qt_static_metacall -}; - -const QMetaObject VerticalButton::staticMetaObject = { - { &QPushButton::staticMetaObject, qt_meta_stringdata_VerticalButton, - qt_meta_data_VerticalButton, &staticMetaObjectExtraData } -}; - -#ifdef Q_NO_DATA_RELOCATION -const QMetaObject &VerticalButton::getStaticMetaObject() { return staticMetaObject; } -#endif //Q_NO_DATA_RELOCATION - -const QMetaObject *VerticalButton::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; -} - -void *VerticalButton::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_VerticalButton)) - return static_cast(const_cast< VerticalButton*>(this)); - return QPushButton::qt_metacast(_clname); -} - -int VerticalButton::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QPushButton::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - return _id; -} -QT_END_MOC_NAMESPACE