1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 08:19:42 +01:00

* Removed obsolete files.

This commit is contained in:
Christian Muehlhaeuser 2011-08-14 01:46:47 +02:00
parent 6dd1952ad3
commit c5bfb4827d
5 changed files with 0 additions and 129 deletions

View File

@ -165,7 +165,6 @@ set( libSources
utils/elidedlabel.cpp
utils/imagebutton.cpp
utils/logger.cpp
utils/progresstreeview.cpp
utils/proxystyle.cpp
utils/widgetdragfilter.cpp
utils/animatedsplitter.cpp
@ -214,7 +213,6 @@ set( libHeaders
artist.h
album.h
track.h
playlist.h
sip/SipPlugin.h
@ -347,7 +345,6 @@ set( libHeaders
utils/elidedlabel.h
utils/animatedcounterlabel.h
utils/imagebutton.h
utils/progresstreeview.h
utils/widgetdragfilter.h
utils/animatedsplitter.h
utils/xspfloader.h

View File

@ -27,7 +27,6 @@
#include "queueview.h"
#include "trackmodel.h"
#include "trackproxymodel.h"
#include "track.h"
#include "audio/audioengine.h"
#include "widgets/overlaywidget.h"

View File

@ -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

View File

@ -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 )
{
}

View File

@ -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