From bf50c34409b455a764d4c7dbcb70d65f6ec3b35c Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Thu, 4 Jul 2013 10:53:20 +0000 Subject: fixed cmake scripts git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3540 90c681e8-e032-0410-971d-27865f9a5e38 --- src/qmmpui/CMakeLists.txt | 2 ++ src/qmmpui/playlistmodel.cpp | 3 +-- src/qmmpui/qmmpui.pro | 2 +- src/qmmpui/tagupdater.cpp | 2 +- src/qmmpui/tagupdater.h | 46 -------------------------------------------- src/qmmpui/tagupdater_p.h | 46 ++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 51 insertions(+), 50 deletions(-) delete mode 100644 src/qmmpui/tagupdater.h create mode 100644 src/qmmpui/tagupdater_p.h (limited to 'src') diff --git a/src/qmmpui/CMakeLists.txt b/src/qmmpui/CMakeLists.txt index 4a4a4bdd4..1dbdc954b 100644 --- a/src/qmmpui/CMakeLists.txt +++ b/src/qmmpui/CMakeLists.txt @@ -53,6 +53,7 @@ SET(libqmmpui_SRCS playlistdownloader.cpp addurldialog.cpp qmmpuiplugincache.cpp + tagupdater.cpp ) SET(libqmmpui_HDRS @@ -90,6 +91,7 @@ SET(libqmmpui_MOC_HDRS radioitemdelegate_p.h playlistdownloader.h addurldialog_p.h + tagupdater_p.cpp ) SET(libqmmpui_DEVEL_HDRS diff --git a/src/qmmpui/playlistmodel.cpp b/src/qmmpui/playlistmodel.cpp index f3f333409..da036316d 100644 --- a/src/qmmpui/playlistmodel.cpp +++ b/src/qmmpui/playlistmodel.cpp @@ -34,10 +34,9 @@ #include "playlistparser.h" #include "playlistformat.h" #include "fileloader_p.h" -#include "playlistitem.h" #include "playstate_p.h" #include "detailsdialog.h" -#include "tagupdater.h" +#include "tagupdater_p.h" #include "playlistmodel.h" #define INVALID_ROW -1 diff --git a/src/qmmpui/qmmpui.pro b/src/qmmpui/qmmpui.pro index 18a96660a..2ceec6eea 100644 --- a/src/qmmpui/qmmpui.pro +++ b/src/qmmpui/qmmpui.pro @@ -50,7 +50,7 @@ HEADERS += general.h \ playlistdownloader.h \ addurldialog_p.h \ qmmpuiplugincache_p.h \ - tagupdater.h + tagupdater_p.h SOURCES += general.cpp \ playlistparser.cpp \ commandlinemanager.cpp \ diff --git a/src/qmmpui/tagupdater.cpp b/src/qmmpui/tagupdater.cpp index f07b5cf83..5d1d5bae9 100644 --- a/src/qmmpui/tagupdater.cpp +++ b/src/qmmpui/tagupdater.cpp @@ -18,7 +18,7 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ -#include "tagupdater.h" +#include "tagupdater_p.h" TagUpdater::TagUpdater(QObject* o, PlayListItem* item) : m_observable(o), m_item(item) { diff --git a/src/qmmpui/tagupdater.h b/src/qmmpui/tagupdater.h deleted file mode 100644 index 8360dede7..000000000 --- a/src/qmmpui/tagupdater.h +++ /dev/null @@ -1,46 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2013 by Ilya Kotov * - * forkotov02@hotmail.ru * - * * - * This program is free software; you can redistribute it and/or modify * - * it under the terms of the GNU General Public License as published by * - * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - ***************************************************************************/ - -#ifndef TAGUPDATER_H -#define TAGUPDATER_H - -#include -#include "playlistitem.h" - -/*! @internal - * @brief Helper class used for tags update after details dialog closing. - * - * @author Vladimir Kuznetsov - */ -class TagUpdater : public QObject -{ - Q_OBJECT - -public: - TagUpdater(QObject* o, PlayListItem* item); - QObject* m_observable; - PlayListItem* m_item; - -public slots: - void updateTag(); - -}; - -#endif // TAGUPDATER_H diff --git a/src/qmmpui/tagupdater_p.h b/src/qmmpui/tagupdater_p.h new file mode 100644 index 000000000..d196e538c --- /dev/null +++ b/src/qmmpui/tagupdater_p.h @@ -0,0 +1,46 @@ +/*************************************************************************** + * Copyright (C) 2013 by Ilya Kotov * + * forkotov02@hotmail.ru * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + +#ifndef TAGUPDATER_P_H +#define TAGUPDATER_P_H + +#include +#include "playlistitem.h" + +/*! @internal + * @brief Helper class used for tags update after details dialog closing. + * + * @author Vladimir Kuznetsov + */ +class TagUpdater : public QObject +{ + Q_OBJECT + +public: + TagUpdater(QObject* o, PlayListItem* item); + QObject* m_observable; + PlayListItem* m_item; + +public slots: + void updateTag(); + +}; + +#endif // TAGUPDATER_P_H -- cgit v1.2.3-13-gbd6f