1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 07:36:48 +02:00

* Remove obsolete HeaderWidget class.

This commit is contained in:
Christian Muehlhaeuser
2014-08-27 18:45:47 +02:00
parent 191f97b724
commit d1fcc9d3de
3 changed files with 0 additions and 90 deletions

View File

@@ -142,7 +142,6 @@ set( libGuiSources
widgets/FilterHeader.cpp widgets/FilterHeader.cpp
widgets/CaptionLabel.cpp widgets/CaptionLabel.cpp
widgets/HeaderLabel.cpp widgets/HeaderLabel.cpp
widgets/HeaderWidget.cpp
widgets/HistoryWidget.cpp widgets/HistoryWidget.cpp
widgets/ImageButton.cpp widgets/ImageButton.cpp
widgets/NewPlaylistWidget.cpp widgets/NewPlaylistWidget.cpp

View File

@@ -1,46 +0,0 @@
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
*
* Copyright 2011, Casey Link <unnamedrambler@gmail.com>
*
* 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 "HeaderWidget.h"
#include "utils/TomahawkStyle.h"
#include <QStyle>
#include <QStylePainter>
#include <QStyleOption>
HeaderWidget::HeaderWidget( QWidget* parent )
: QWidget( parent )
{
}
HeaderWidget::~HeaderWidget()
{
}
void
HeaderWidget::paintEvent( QPaintEvent* /* event */ )
{
QStylePainter p( this );
QRect r = rect();
TomahawkStyle::horizontalHeader( &p, r );
}

View File

@@ -1,43 +0,0 @@
/* === This file is part of Tomahawk Player - <http://tomahawk-player.org> ===
*
* Copyright 2011, Casey Link <unnamedrambler@gmail.com>
*
* 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 HEADERWIDGET_H
#define HEADERWIDGET_H
#include <QWidget>
#include <QPaintEvent>
#include "DllMacro.h"
/**
* \class HeaderWidget
* \brief A QWidget subclass with a background for use in headers.
*/
class DLLEXPORT HeaderWidget : public QWidget
{
Q_OBJECT
public:
HeaderWidget( QWidget* parent = 0 );
virtual ~HeaderWidget();
virtual void paintEvent( QPaintEvent* );
};
#endif