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

« back to all changes in this revision

Viewing changes to noatun/noatun/modules/winskin/waMono.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 __WAMONO_H
 
17
#define __WAMONO_H
 
18
 
 
19
#include <waSkinModell.h>
 
20
#include <qpainter.h>
 
21
#include <qwidget.h>
 
22
 
 
23
 
 
24
class WaMono : public QWidget {
 
25
 Q_OBJECT
 
26
 
 
27
  QPixmap* noMonoPixmap;
 
28
  QPixmap* monoPixmap;
 
29
 
 
30
  WaSkinModell* waSkinModell;
 
31
  int lMono;
 
32
 
 
33
 public:
 
34
   WaMono(WaSkinModell* waSkinModell,QWidget* parent=0,char* name=0);
 
35
   ~WaMono();
 
36
 
 
37
   void setMono(int lMono);
 
38
   int getMono();
 
39
 
 
40
 
 
41
 public slots:
 
42
  QSize sizeHint() const;
 
43
  void paintEvent ( QPaintEvent * paintEvent );
 
44
 
 
45
 private slots:
 
46
  void pixmapChange();
 
47
     
 
48
};
 
49
#endif