Start to move mainwindow widgets into a subdirectory,
get rid of some unneeded includes
This commit is contained in:
parent
efa16e9236
commit
02d2a1a1f4
27 changed files with 43 additions and 41 deletions
46
src/mainwindow/stereomono.h
Normal file
46
src/mainwindow/stereomono.h
Normal file
|
@ -0,0 +1,46 @@
|
|||
/**
|
||||
* This file is a part of Prome, an XMMS2 Client.
|
||||
*
|
||||
* Copyright (C) 2005-2007 XMMS2 Team
|
||||
*
|
||||
* 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; version 2 of the License.
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#ifndef __STEREOMONO_H__
|
||||
#define __STEREOMONO_H__
|
||||
|
||||
#include "PixWidget.h"
|
||||
|
||||
class StereoMono : public PixWidget
|
||||
{
|
||||
public:
|
||||
StereoMono (QWidget *parent);
|
||||
~StereoMono () { }
|
||||
|
||||
void setStereoMono (bool, bool);
|
||||
|
||||
public slots:
|
||||
void setPixmaps (Skin *skin);
|
||||
|
||||
private:
|
||||
void drawPixmaps ();
|
||||
bool m_stereo;
|
||||
bool m_mono;
|
||||
|
||||
QPixmap m_pixmap_stereo_on;
|
||||
QPixmap m_pixmap_stereo_off;
|
||||
QPixmap m_pixmap_mono_on;
|
||||
QPixmap m_pixmap_mono_off;
|
||||
|
||||
QPixmap m_pixmap_mono;
|
||||
QPixmap m_pixmap_stereo;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue