~ubuntu-branches/ubuntu/hoary/kdemultimedia/hoary

« back to all changes in this revision

Viewing changes to noatun/noatun/modules/winskin/waStereo.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Schulze
  • Date: 2003-01-22 15:00:51 UTC
  • Revision ID: james.westby@ubuntu.com-20030122150051-uihwkdoxf15mi1tn
Tags: upstream-2.2.2
ImportĀ upstreamĀ versionĀ 2.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  standard Button for winamp Skin
 
3
  Copyright (C) 1999  Martin Vogt
 
4
 
 
5
  This program is free software; you can redistribute it and/or modify
 
6
  it under the terms of the GNU General Public License as published by
 
7
  the Free Software Foundation.
 
8
 
 
9
  For more information look at the file COPYRIGHT in this package
 
10
 
 
11
 */
 
12
 
 
13
 
 
14
 
 
15
 
 
16
#ifndef __WASTEREO_H
 
17
#define __WASTEREO_H
 
18
 
 
19
#include <waSkinModell.h>
 
20
#include <qpainter.h>
 
21
#include <qwidget.h>
 
22
 
 
23
class WaStereo : public QWidget {
 
24
 Q_OBJECT
 
25
 
 
26
  QPixmap* noStereoPixmap;
 
27
  QPixmap* stereoPixmap;
 
28
 
 
29
  WaSkinModell* waSkinModell;
 
30
  int lStereo;
 
31
 
 
32
 public:
 
33
   WaStereo(WaSkinModell* waSkinModell,QWidget* parent=0,char* name=0);
 
34
   ~WaStereo();
 
35
 
 
36
   void setStereo(int lStereo);
 
37
   int getStereo();
 
38
 
 
39
 
 
40
 public slots:
 
41
  QSize sizeHint() const;
 
42
  void paintEvent ( QPaintEvent * paintEvent );
 
43
 
 
44
 private slots:
 
45
  void pixmapChange();
 
46
     
 
47
};
 
48
#endif