mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-10 08:04:25 +02:00
Rename to uppercase
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
#include "tomahawk/source.h"
|
#include "tomahawk/source.h"
|
||||||
#include "tomahawk/typedefs.h"
|
#include "tomahawk/typedefs.h"
|
||||||
#include "typedefs.h"
|
#include "typedefs.h"
|
||||||
#include "dynamic/dynamicplaylist.h"
|
#include "dynamic/DynamicPlaylist.h"
|
||||||
|
|
||||||
namespace Tomahawk
|
namespace Tomahawk
|
||||||
{
|
{
|
||||||
|
@@ -97,12 +97,12 @@ SET( tomahawkSources ${tomahawkSources}
|
|||||||
database/databasecommand_deletedynamicplaylist.cpp
|
database/databasecommand_deletedynamicplaylist.cpp
|
||||||
database/databasecollection.cpp
|
database/databasecollection.cpp
|
||||||
|
|
||||||
dynamic/dynamicplaylist.cpp
|
dynamic/DynamicPlaylist.cpp
|
||||||
dynamic/dynamiccontrol.cpp
|
dynamic/DynamicControl.cpp
|
||||||
dynamic/generatorfactory.cpp
|
dynamic/GeneratorFactory.cpp
|
||||||
dynamic/generatorinterface.cpp
|
dynamic/GeneratorInterface.cpp
|
||||||
dynamic/echonest/echonestgenerator.cpp
|
dynamic/echonest/EchonestGenerator.cpp
|
||||||
dynamic/echonest/echonestcontrol.cpp
|
dynamic/echonest/EchonestControl.cpp
|
||||||
|
|
||||||
scrobbler.cpp
|
scrobbler.cpp
|
||||||
xmppbot/xmppbot.cpp
|
xmppbot/xmppbot.cpp
|
||||||
@@ -150,6 +150,9 @@ SET( tomahawkSourcesGui ${tomahawkSourcesGui}
|
|||||||
sourcetree/sourcetreeitemwidget.cpp
|
sourcetree/sourcetreeitemwidget.cpp
|
||||||
sourcetree/sourcetreeview.cpp
|
sourcetree/sourcetreeview.cpp
|
||||||
|
|
||||||
|
dynamic/widgets/DynamicWidget.cpp
|
||||||
|
dynamic/DynamicPlaylistModel.cpp
|
||||||
|
|
||||||
topbar/topbar.cpp
|
topbar/topbar.cpp
|
||||||
topbar/clearbutton.cpp
|
topbar/clearbutton.cpp
|
||||||
topbar/searchlineedit.cpp
|
topbar/searchlineedit.cpp
|
||||||
@@ -158,6 +161,7 @@ SET( tomahawkSourcesGui ${tomahawkSourcesGui}
|
|||||||
|
|
||||||
infowidgets/sourceinfowidget.cpp
|
infowidgets/sourceinfowidget.cpp
|
||||||
|
|
||||||
|
|
||||||
transferview.cpp
|
transferview.cpp
|
||||||
tomahawkwindow.cpp
|
tomahawkwindow.cpp
|
||||||
tomahawktrayicon.cpp
|
tomahawktrayicon.cpp
|
||||||
@@ -240,12 +244,12 @@ SET( tomahawkHeaders ${tomahawkHeaders}
|
|||||||
network/filetransferconnection.h
|
network/filetransferconnection.h
|
||||||
network/dbsyncconnection.h
|
network/dbsyncconnection.h
|
||||||
|
|
||||||
dynamic/dynamicplaylist.h
|
dynamic/DynamicPlaylist.h
|
||||||
dynamic/dynamiccontrol.h
|
dynamic/DynamicControl.h
|
||||||
dynamic/generatorfactory.h
|
dynamic/GeneratorFactory.h
|
||||||
dynamic/generatorinterface.h
|
dynamic/GeneratorInterface.h
|
||||||
dynamic/echonest/echonestgenerator.h
|
dynamic/echonest/EchonestGenerator.h
|
||||||
dynamic/echonest/echonestcontrol.h
|
dynamic/echonest/EchonestControl.h
|
||||||
|
|
||||||
musicscanner.h
|
musicscanner.h
|
||||||
scriptresolver.h
|
scriptresolver.h
|
||||||
@@ -303,6 +307,9 @@ SET( tomahawkHeadersGui ${tomahawkHeadersGui}
|
|||||||
|
|
||||||
infowidgets/sourceinfowidget.h
|
infowidgets/sourceinfowidget.h
|
||||||
|
|
||||||
|
dynamic/widgets/DynamicWidget.cpp
|
||||||
|
dynamic/DynamicPlaylistModel.h
|
||||||
|
|
||||||
transferview.h
|
transferview.h
|
||||||
tomahawkwindow.h
|
tomahawkwindow.h
|
||||||
tomahawktrayicon.h
|
tomahawktrayicon.h
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
#include <QGenericArgument>
|
#include <QGenericArgument>
|
||||||
|
|
||||||
#include "tomahawk/playlist.h"
|
#include "tomahawk/playlist.h"
|
||||||
#include "dynamic/dynamicplaylist.h"
|
#include "dynamic/DynamicPlaylist.h"
|
||||||
|
|
||||||
using namespace Tomahawk;
|
using namespace Tomahawk;
|
||||||
|
|
||||||
|
@@ -4,9 +4,9 @@
|
|||||||
#include <QSqlDriver>
|
#include <QSqlDriver>
|
||||||
|
|
||||||
#include "tomahawk/tomahawkapp.h"
|
#include "tomahawk/tomahawkapp.h"
|
||||||
#include "dynamic/dynamicplaylist.h"
|
#include "dynamic/DynamicPlaylist.h"
|
||||||
#include "dynamic/dynamiccontrol.h"
|
#include "dynamic/DynamicControl.h"
|
||||||
#include "dynamic/generatorinterface.h"
|
#include "dynamic/GeneratorInterface.h"
|
||||||
|
|
||||||
using namespace Tomahawk;
|
using namespace Tomahawk;
|
||||||
|
|
||||||
|
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#include "databaseimpl.h"
|
#include "databaseimpl.h"
|
||||||
#include "databasecommand_createplaylist.h"
|
#include "databasecommand_createplaylist.h"
|
||||||
#include "dynamic/dynamicplaylist.h"
|
#include "dynamic/DynamicPlaylist.h"
|
||||||
#include "tomahawk/typedefs.h"
|
#include "tomahawk/typedefs.h"
|
||||||
|
|
||||||
class DatabaseCommand_CreateDynamicPlaylist : public DatabaseCommand_CreatePlaylist
|
class DatabaseCommand_CreateDynamicPlaylist : public DatabaseCommand_CreatePlaylist
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
#include <QSqlQuery>
|
#include <QSqlQuery>
|
||||||
|
|
||||||
#include "dynamic/dynamicplaylist.h"
|
#include "dynamic/DynamicPlaylist.h"
|
||||||
#include "databaseimpl.h"
|
#include "databaseimpl.h"
|
||||||
|
|
||||||
using namespace Tomahawk;
|
using namespace Tomahawk;
|
||||||
|
@@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
#include "databaseimpl.h"
|
#include "databaseimpl.h"
|
||||||
#include "tomahawksqlquery.h"
|
#include "tomahawksqlquery.h"
|
||||||
#include "dynamic/dynamiccontrol.h"
|
#include "dynamic/DynamicControl.h"
|
||||||
#include "dynamic/generatorinterface.h"
|
#include "dynamic/GeneratorInterface.h"
|
||||||
|
|
||||||
using namespace Tomahawk;
|
using namespace Tomahawk;
|
||||||
|
|
||||||
|
@@ -8,7 +8,7 @@
|
|||||||
#include "databasecommand.h"
|
#include "databasecommand.h"
|
||||||
#include "databasecommand_loadplaylistentries.h"
|
#include "databasecommand_loadplaylistentries.h"
|
||||||
#include "tomahawk/playlist.h"
|
#include "tomahawk/playlist.h"
|
||||||
#include "dynamic/dynamiccontrol.h"
|
#include "dynamic/DynamicControl.h"
|
||||||
|
|
||||||
class DatabaseCommand_LoadDynamicPlaylist : public DatabaseCommand_LoadPlaylistEntries
|
class DatabaseCommand_LoadDynamicPlaylist : public DatabaseCommand_LoadPlaylistEntries
|
||||||
{
|
{
|
||||||
|
@@ -3,8 +3,8 @@
|
|||||||
#include <QSqlQuery>
|
#include <QSqlQuery>
|
||||||
|
|
||||||
#include "tomahawksqlquery.h"
|
#include "tomahawksqlquery.h"
|
||||||
#include "dynamic/dynamicplaylist.h"
|
#include "dynamic/DynamicPlaylist.h"
|
||||||
#include "dynamic/dynamiccontrol.h"
|
#include "dynamic/DynamicControl.h"
|
||||||
#include "tomahawk/tomahawkapp.h"
|
#include "tomahawk/tomahawkapp.h"
|
||||||
|
|
||||||
DatabaseCommand_SetDynamicPlaylistRevision::DatabaseCommand_SetDynamicPlaylistRevision(const Tomahawk::source_ptr& s,
|
DatabaseCommand_SetDynamicPlaylistRevision::DatabaseCommand_SetDynamicPlaylistRevision(const Tomahawk::source_ptr& s,
|
||||||
|
@@ -5,7 +5,7 @@
|
|||||||
#include "databaseimpl.h"
|
#include "databaseimpl.h"
|
||||||
#include "tomahawk/collection.h"
|
#include "tomahawk/collection.h"
|
||||||
#include "tomahawk/playlist.h"
|
#include "tomahawk/playlist.h"
|
||||||
#include <generatorinterface.h>
|
#include "dynamic/GeneratorInterface.h"
|
||||||
|
|
||||||
using namespace Tomahawk;
|
using namespace Tomahawk;
|
||||||
|
|
||||||
|
@@ -14,7 +14,7 @@
|
|||||||
* this program. If not, see <http://www.gnu.org/licenses/>. *
|
* this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
|
|
||||||
#include "dynamiccontrol.h"
|
#include "DynamicControl.h"
|
||||||
|
|
||||||
Tomahawk::DynamicControl::DynamicControl()
|
Tomahawk::DynamicControl::DynamicControl()
|
||||||
{
|
{
|
@@ -14,10 +14,10 @@
|
|||||||
* this program. If not, see <http://www.gnu.org/licenses/>. *
|
* this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
|
|
||||||
#include "dynamicplaylist.h"
|
#include "DynamicPlaylist.h"
|
||||||
|
|
||||||
#include "tomahawk/tomahawkapp.h"
|
#include "tomahawk/tomahawkapp.h"
|
||||||
#include "generatorfactory.h"
|
#include "GeneratorFactory.h"
|
||||||
#include "database.h"
|
#include "database.h"
|
||||||
#include "databasecommand.h"
|
#include "databasecommand.h"
|
||||||
#include "databasecommand_createdynamicplaylist.h"
|
#include "databasecommand_createdynamicplaylist.h"
|
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
#include "tomahawk/playlist.h"
|
#include "tomahawk/playlist.h"
|
||||||
#include "tomahawk/typedefs.h"
|
#include "tomahawk/typedefs.h"
|
||||||
#include "dynamic/dynamiccontrol.h"
|
#include "dynamic/DynamicControl.h"
|
||||||
|
|
||||||
class DatabaseCommand_LoadAllDynamicPlaylists;
|
class DatabaseCommand_LoadAllDynamicPlaylists;
|
||||||
class DatabaseCommand_SetDynamicPlaylistRevision;
|
class DatabaseCommand_SetDynamicPlaylistRevision;
|
35
src/dynamic/DynamicPlaylistModel.cpp
Normal file
35
src/dynamic/DynamicPlaylistModel.cpp
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
/****************************************************************************************
|
||||||
|
* Copyright (c) 2010 Leo Franchi <lfranchi@kde.org> *
|
||||||
|
* *
|
||||||
|
* 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, see <http://www.gnu.org/licenses/>. *
|
||||||
|
****************************************************************************************/
|
||||||
|
|
||||||
|
#include "DynamicPlaylistModel.h"
|
||||||
|
#include "audio/audioengine.h"
|
||||||
|
#include "dynamic/DynamicPlaylist.h"
|
||||||
|
|
||||||
|
DynamicPlaylistModel::DynamicPlaylistModel(QObject* parent)
|
||||||
|
: PlaylistModel(parent)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
DynamicPlaylistModel::~DynamicPlaylistModel()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void DynamicPlaylistModel::loadPlaylist(const Tomahawk::dynplaylist_ptr& playlist)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
39
src/dynamic/DynamicPlaylistModel.h
Normal file
39
src/dynamic/DynamicPlaylistModel.h
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
/****************************************************************************************
|
||||||
|
* Copyright (c) 2010 Leo Franchi <lfranchi@kde.org> *
|
||||||
|
* *
|
||||||
|
* 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, see <http://www.gnu.org/licenses/>. *
|
||||||
|
****************************************************************************************/
|
||||||
|
#ifndef DYNAMIC_PLAYLIST_MODEL_H
|
||||||
|
#define DYNAMIC_PLAYLIST_MODEL_H
|
||||||
|
|
||||||
|
#include "tomahawk/typedefs.h"
|
||||||
|
#include "playlist/playlistmodel.h"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Simple model that extends PlaylistModel with support for adding/removing tracks from top and bottom.
|
||||||
|
*/
|
||||||
|
class DynamicPlaylistModel : public PlaylistModel
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
public:
|
||||||
|
explicit DynamicPlaylistModel( QObject* parent = 0 );
|
||||||
|
~DynamicPlaylistModel();
|
||||||
|
|
||||||
|
void loadPlaylist( const Tomahawk::dynplaylist_ptr& playlist );
|
||||||
|
|
||||||
|
private:
|
||||||
|
Tomahawk::dynplaylist_ptr m_playlist;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
@@ -1,5 +1,5 @@
|
|||||||
#include "dynamic/generatorfactory.h"
|
#include "dynamic/GeneratorFactory.h"
|
||||||
#include "dynamic/generatorinterface.h"
|
#include "dynamic/GeneratorInterface.h"
|
||||||
|
|
||||||
using namespace Tomahawk;
|
using namespace Tomahawk;
|
||||||
|
|
@@ -4,7 +4,7 @@
|
|||||||
#include <QHash>
|
#include <QHash>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
|
||||||
#include "dynamic/generatorinterface.h"
|
#include "dynamic/GeneratorInterface.h"
|
||||||
|
|
||||||
namespace Tomahawk {
|
namespace Tomahawk {
|
||||||
|
|
@@ -14,7 +14,7 @@
|
|||||||
* this program. If not, see <http://www.gnu.org/licenses/>. *
|
* this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
|
|
||||||
#include "dynamic/generatorinterface.h"
|
#include "dynamic/GeneratorInterface.h"
|
||||||
|
|
||||||
// lame
|
// lame
|
||||||
Tomahawk::GeneratorInterface::GeneratorInterface()
|
Tomahawk::GeneratorInterface::GeneratorInterface()
|
@@ -20,7 +20,7 @@
|
|||||||
#include <QtCore/QObject>
|
#include <QtCore/QObject>
|
||||||
#include <QtCore/QSharedPointer>
|
#include <QtCore/QSharedPointer>
|
||||||
|
|
||||||
#include "dynamic/dynamiccontrol.h"
|
#include "dynamic/DynamicControl.h"
|
||||||
#include <tomahawk/typedefs.h>
|
#include <tomahawk/typedefs.h>
|
||||||
|
|
||||||
namespace Tomahawk {
|
namespace Tomahawk {
|
@@ -14,7 +14,7 @@
|
|||||||
* this program. If not, see <http://www.gnu.org/licenses/>. *
|
* this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
|
|
||||||
#include "echonest/echonestcontrol.h"
|
#include "echonest/EchonestControl.h"
|
||||||
|
|
||||||
#include <echonest/Playlist.h>
|
#include <echonest/Playlist.h>
|
||||||
|
|
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include <echonest/Playlist.h>
|
#include <echonest/Playlist.h>
|
||||||
|
|
||||||
#include "dynamic/dynamiccontrol.h"
|
#include "dynamic/DynamicControl.h"
|
||||||
|
|
||||||
namespace Tomahawk
|
namespace Tomahawk
|
||||||
{
|
{
|
@@ -14,8 +14,8 @@
|
|||||||
* this program. If not, see <http://www.gnu.org/licenses/>. *
|
* this program. If not, see <http://www.gnu.org/licenses/>. *
|
||||||
****************************************************************************************/
|
****************************************************************************************/
|
||||||
|
|
||||||
#include "echonest/echonestgenerator.h"
|
#include "echonest/EchonestGenerator.h"
|
||||||
#include "echonest/echonestcontrol.h"
|
#include "echonest/EchonestControl.h"
|
||||||
#include "tomahawk/query.h"
|
#include "tomahawk/query.h"
|
||||||
|
|
||||||
using namespace Tomahawk;
|
using namespace Tomahawk;
|
@@ -19,8 +19,8 @@
|
|||||||
|
|
||||||
#include <echonest/Playlist.h>
|
#include <echonest/Playlist.h>
|
||||||
|
|
||||||
#include "dynamic/generatorinterface.h"
|
#include "dynamic/GeneratorInterface.h"
|
||||||
#include "dynamic/generatorfactory.h"
|
#include "dynamic/GeneratorFactory.h"
|
||||||
|
|
||||||
|
|
||||||
namespace Tomahawk
|
namespace Tomahawk
|
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#include "tomahawk/typedefs.h"
|
#include "tomahawk/typedefs.h"
|
||||||
#include "sourcetreeitemwidget.h"
|
#include "sourcetreeitemwidget.h"
|
||||||
#include "dynamic/dynamicplaylist.h"
|
#include "dynamic/DynamicPlaylist.h"
|
||||||
|
|
||||||
class SourceTreeItem : public QObject
|
class SourceTreeItem : public QObject
|
||||||
{
|
{
|
||||||
|
@@ -15,8 +15,8 @@
|
|||||||
#include "database/databasecommand_collectionstats.h"
|
#include "database/databasecommand_collectionstats.h"
|
||||||
#include "database/databaseresolver.h"
|
#include "database/databaseresolver.h"
|
||||||
#include "sip/SipHandler.h"
|
#include "sip/SipHandler.h"
|
||||||
#include "dynamic/generatorfactory.h"
|
#include "dynamic/GeneratorFactory.h"
|
||||||
#include "dynamic/echonest/echonestgenerator.h"
|
#include "dynamic/echonest/EchonestGenerator.h"
|
||||||
#include "utils/tomahawkutils.h"
|
#include "utils/tomahawkutils.h"
|
||||||
#include "xmppbot/xmppbot.h"
|
#include "xmppbot/xmppbot.h"
|
||||||
#include "web/api_v1.h"
|
#include "web/api_v1.h"
|
||||||
|
Reference in New Issue
Block a user