mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 13:47:26 +02:00
* Removed obsolete files.
This commit is contained in:
@@ -165,7 +165,6 @@ set( libSources
|
|||||||
utils/elidedlabel.cpp
|
utils/elidedlabel.cpp
|
||||||
utils/imagebutton.cpp
|
utils/imagebutton.cpp
|
||||||
utils/logger.cpp
|
utils/logger.cpp
|
||||||
utils/progresstreeview.cpp
|
|
||||||
utils/proxystyle.cpp
|
utils/proxystyle.cpp
|
||||||
utils/widgetdragfilter.cpp
|
utils/widgetdragfilter.cpp
|
||||||
utils/animatedsplitter.cpp
|
utils/animatedsplitter.cpp
|
||||||
@@ -214,7 +213,6 @@ set( libHeaders
|
|||||||
|
|
||||||
artist.h
|
artist.h
|
||||||
album.h
|
album.h
|
||||||
track.h
|
|
||||||
playlist.h
|
playlist.h
|
||||||
|
|
||||||
sip/SipPlugin.h
|
sip/SipPlugin.h
|
||||||
@@ -347,7 +345,6 @@ set( libHeaders
|
|||||||
utils/elidedlabel.h
|
utils/elidedlabel.h
|
||||||
utils/animatedcounterlabel.h
|
utils/animatedcounterlabel.h
|
||||||
utils/imagebutton.h
|
utils/imagebutton.h
|
||||||
utils/progresstreeview.h
|
|
||||||
utils/widgetdragfilter.h
|
utils/widgetdragfilter.h
|
||||||
utils/animatedsplitter.h
|
utils/animatedsplitter.h
|
||||||
utils/xspfloader.h
|
utils/xspfloader.h
|
||||||
|
@@ -27,7 +27,6 @@
|
|||||||
#include "queueview.h"
|
#include "queueview.h"
|
||||||
#include "trackmodel.h"
|
#include "trackmodel.h"
|
||||||
#include "trackproxymodel.h"
|
#include "trackproxymodel.h"
|
||||||
#include "track.h"
|
|
||||||
|
|
||||||
#include "audio/audioengine.h"
|
#include "audio/audioengine.h"
|
||||||
#include "widgets/overlaywidget.h"
|
#include "widgets/overlaywidget.h"
|
||||||
|
@@ -1,53 +0,0 @@
|
|||||||
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
|
|
||||||
*
|
|
||||||
* Copyright 2010-2011, Christian Muehlhaeuser <muesli@tomahawk-player.org>
|
|
||||||
*
|
|
||||||
* Tomahawk 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 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* Tomahawk 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 Tomahawk. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef TOMAHAWKTRACK_H
|
|
||||||
#define TOMAHAWKTRACK_H
|
|
||||||
|
|
||||||
#include <QObject>
|
|
||||||
#include <QSharedPointer>
|
|
||||||
|
|
||||||
#include "artist.h"
|
|
||||||
#include "typedefs.h"
|
|
||||||
|
|
||||||
#include "dllmacro.h"
|
|
||||||
|
|
||||||
namespace Tomahawk
|
|
||||||
{
|
|
||||||
|
|
||||||
class DLLEXPORT Track : public QObject
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
|
||||||
Track( Tomahawk::artist_ptr artist, const QString& name )
|
|
||||||
: m_name( name )
|
|
||||||
, m_artist( artist )
|
|
||||||
{}
|
|
||||||
|
|
||||||
const QString& name() const { return m_name; }
|
|
||||||
const artist_ptr artist() const { return m_artist; }
|
|
||||||
|
|
||||||
private:
|
|
||||||
QString m_name;
|
|
||||||
artist_ptr m_artist;
|
|
||||||
};
|
|
||||||
|
|
||||||
}; // ns
|
|
||||||
|
|
||||||
#endif
|
|
@@ -1,28 +0,0 @@
|
|||||||
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
|
|
||||||
*
|
|
||||||
* Copyright 2010-2011, Christian Muehlhaeuser <muesli@tomahawk-player.org>
|
|
||||||
*
|
|
||||||
* Tomahawk 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 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* Tomahawk 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 Tomahawk. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "progresstreeview.h"
|
|
||||||
|
|
||||||
#include "utils/logger.h"
|
|
||||||
|
|
||||||
|
|
||||||
ProgressTreeView::ProgressTreeView( QWidget* parent )
|
|
||||||
: QTreeView( parent )
|
|
||||||
, m_progressBar( 0 )
|
|
||||||
{
|
|
||||||
}
|
|
@@ -1,44 +0,0 @@
|
|||||||
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
|
|
||||||
*
|
|
||||||
* Copyright 2010-2011, Christian Muehlhaeuser <muesli@tomahawk-player.org>
|
|
||||||
*
|
|
||||||
* Tomahawk 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 3 of the License, or
|
|
||||||
* (at your option) any later version.
|
|
||||||
*
|
|
||||||
* Tomahawk 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 Tomahawk. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef PROGRESSTREEVIEW_H
|
|
||||||
#define PROGRESSTREEVIEW_H
|
|
||||||
|
|
||||||
#include <QTreeView>
|
|
||||||
#include <QProgressBar>
|
|
||||||
|
|
||||||
#include "dllmacro.h"
|
|
||||||
|
|
||||||
class DLLEXPORT ProgressTreeView : public QTreeView
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
public:
|
|
||||||
ProgressTreeView( QWidget* parent );
|
|
||||||
|
|
||||||
void connectProgressBar( QProgressBar* progressBar ) { m_progressBar = progressBar; progressBar->setVisible( false ); }
|
|
||||||
|
|
||||||
void setProgressStarted( int length ) { if ( m_progressBar ) { m_progressBar->setRange( 0, length ); m_progressBar->setValue( 0 ); m_progressBar->setVisible( true ); } }
|
|
||||||
void setProgressEnded() { if ( m_progressBar ) m_progressBar->setVisible( false ); }
|
|
||||||
void setProgressCompletion( int completion ) { if ( m_progressBar ) m_progressBar->setValue( completion ); }
|
|
||||||
|
|
||||||
private:
|
|
||||||
QProgressBar* m_progressBar;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // PROGRESSTREEVIEW_H
|
|
Reference in New Issue
Block a user