diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-09-10 18:08:57 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-09-10 18:08:57 +0000 |
| commit | 4ba01707e9910f20e73fcca2e5fbda718d5fb885 (patch) | |
| tree | 09f54d76d21588337adb49a0437c93fbef4da53e | |
| parent | 41c2cd1e620f0084576e89720ca1c27d13173cb3 (diff) | |
| download | qmmp-4ba01707e9910f20e73fcca2e5fbda718d5fb885.tar.gz qmmp-4ba01707e9910f20e73fcca2e5fbda718d5fb885.tar.bz2 qmmp-4ba01707e9910f20e73fcca2e5fbda718d5fb885.zip | |
removed unused files
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1197 90c681e8-e032-0410-971d-27865f9a5e38
| -rw-r--r-- | src/qmmp/coverwidget.cpp | 47 | ||||
| -rw-r--r-- | src/qmmp/coverwidget.h | 50 | ||||
| -rw-r--r-- | src/qmmp/qmmp.pro | 4 |
3 files changed, 1 insertions, 100 deletions
diff --git a/src/qmmp/coverwidget.cpp b/src/qmmp/coverwidget.cpp deleted file mode 100644 index b54e544e0..000000000 --- a/src/qmmp/coverwidget.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2009 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., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - ***************************************************************************/ -#include <QPixmap> -#include <QPainter> -#include <QPaintEvent> -#include <QPixmap> - -#include "coverwidget.h" - -CoverWidget::CoverWidget(QWidget *parent) - : QWidget(parent) -{} - - -CoverWidget::~CoverWidget() -{} - -void CoverWidget::setPixmap(const QPixmap &pixmap) -{ - m_pixmap = pixmap; - update(); -} - -void CoverWidget::paintEvent (QPaintEvent *p) -{ - QPainter paint(this); - if(!m_pixmap.isNull()) - paint.drawPixmap(0,0, m_pixmap.scaled(p->rect().size())); -} - diff --git a/src/qmmp/coverwidget.h b/src/qmmp/coverwidget.h deleted file mode 100644 index b06e66f7e..000000000 --- a/src/qmmp/coverwidget.h +++ /dev/null @@ -1,50 +0,0 @@ -/*************************************************************************** - * Copyright (C) 2009 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., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - ***************************************************************************/ -#ifndef PIXMAPWIDGET_H -#define PIXMAPWIDGET_H - -#include <QWidget> -#include <QPixmap> - -/** - @author Ilya Kotov <forkotov02@hotmail.ru> -*/ - -class CoverWidget : public QWidget -{ -Q_OBJECT -public: - CoverWidget(QWidget *parent = 0); - - ~CoverWidget(); - - virtual void setPixmap(const QPixmap&); - -protected: - void paintEvent (QPaintEvent *event); - -private: - QPixmap m_pixmap; - - - -}; - -#endif diff --git a/src/qmmp/qmmp.pro b/src/qmmp/qmmp.pro index 1c80f602f..9783539d2 100644 --- a/src/qmmp/qmmp.pro +++ b/src/qmmp/qmmp.pro @@ -20,7 +20,6 @@ HEADERS += recycler.h \ qmmp.h \ fileinfo.h \ volumecontrol.h \ - coverwidget.h \ metadatamodel.h \ tagmodel.h SOURCES += recycler.cpp \ @@ -38,10 +37,9 @@ SOURCES += recycler.cpp \ qmmp.cpp \ fileinfo.cpp \ volumecontrol.cpp \ - coverwidget.cpp \ metadatamodel.cpp \ tagmodel.cpp -FORMS += + unix:TARGET = ../../lib/qmmp win32:TARGET = ../../../bin/qmmp CONFIG += release \ |
