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

« back to all changes in this revision

Viewing changes to noatun/noatun/modules/winskin/waSkinModell.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
  Modell for winamp skins
 
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 __WASKINMODELL_H
 
17
#define __WASKINMODELL_H
 
18
 
 
19
#include <iostream.h>
 
20
#include <qstring.h>
 
21
#include <waSkins.h>
 
22
#include <waSkinDesc.h>
 
23
#include <qobject.h>
 
24
#include <waSkinOperation.h>
 
25
 
 
26
class WaSkinModell : public QObject {
 
27
 Q_OBJECT
 
28
 
 
29
  WaSkinDesc waSkinDesc[_WA_SKIN_ENTRIES];
 
30
  WaSkinDesc waSkinMap[_WA_MAPPING_ENTRIES];
 
31
  QString skinDir;
 
32
 
 
33
 public:
 
34
  WaSkinModell();
 
35
  ~WaSkinModell();
 
36
  
 
37
  void load(int id,QPixmap* pixmap);
 
38
  QPixmap* get(int id);
 
39
  QPixmap* get(int id,int argument);
 
40
  void getNumber(int id,char number,QPixmap* dest);
 
41
 
 
42
  int emitChangeEvent(int id);
 
43
  WaSkinDesc* getWaSkinDesc(int id);
 
44
  WaSkinDesc* getWaSkinMapDesc(int id);
 
45
  void setSkinDirectory(QString dir);
 
46
  QString getSkinDirectory();
 
47
 
 
48
 
 
49
 signals:
 
50
 
 
51
  void event_WA_SKIN_MAIN();
 
52
  void event_WA_SKIN_CBUTTONS_PREV_NORM();
 
53
  void event_WA_SKIN_CBUTTONS_PREV_PRES();
 
54
  void event_WA_SKIN_CBUTTONS_PLAY_NORM();
 
55
  void event_WA_SKIN_CBUTTONS_PLAY_PRES();
 
56
  void event_WA_SKIN_CBUTTONS_PAUSE_NORM();
 
57
  void event_WA_SKIN_CBUTTONS_PAUSE_PRES();
 
58
  void event_WA_SKIN_CBUTTONS_STOP_NORM();
 
59
  void event_WA_SKIN_CBUTTONS_STOP_PRES();
 
60
  void event_WA_SKIN_CBUTTONS_NEXT_NORM();
 
61
  void event_WA_SKIN_CBUTTONS_NEXT_PRES();
 
62
  void event_WA_SKIN_CBUTTONS_EJECT_NORM();
 
63
  void event_WA_SKIN_CBUTTONS_EJECT_PRESS();
 
64
  
 
65
  void event_WA_SKIN_MONOSTER_STEREO_TRUE();
 
66
  void event_WA_SKIN_MONOSTER_STEREO_FALSE();
 
67
  void event_WA_SKIN_MONOSTER_MONO_TRUE();
 
68
  void event_WA_SKIN_MONOSTER_MONO_FALSE();
 
69
  
 
70
  void event_WA_SKIN_NUMBERS();
 
71
  void event_WA_SKIN_NUMBERS_MINUS();
 
72
 
 
73
  void event_WA_SKIN_SHUFREP_REPEAT_NOT_SET_NORM();
 
74
  void event_WA_SKIN_SHUFREP_REPEAT_NOT_SET_PRES();
 
75
  void event_WA_SKIN_SHUFREP_REPEAT_SET_NORM();
 
76
  void event_WA_SKIN_SHUFREP_REPEAT_SET_PRES();
 
77
  void event_WA_SKIN_SHUFREP_SHUFFLE_NOT_SET_NORM();
 
78
  void event_WA_SKIN_SHUFREP_SHUFFLE_NOT_SET_PRES();
 
79
  void event_WA_SKIN_SHUFREP_SHUFFLE_SET_NORM();
 
80
  void event_WA_SKIN_SHUFREP_SHUFFLE_SET_PRES();
 
81
  void event_WA_SKIN_SHUFREP_PLAYLIST_NOT_SET_NORM();
 
82
  void event_WA_SKIN_SHUFREP_PLAYLIST_NOT_SET_PRES();
 
83
  void event_WA_SKIN_SHUFREP_PLAYLIST_SET_NORM();
 
84
  void event_WA_SKIN_SHUFREP_PLAYLIST_SET_PRES();
 
85
  void event_WA_SKIN_SHUFREP_EQ_SET_NORM();
 
86
  void event_WA_SKIN_SHUFREP_EQ_SET_PRES();
 
87
  void event_WA_SKIN_SHUFREP_EQ_NOT_SET_NORM();
 
88
  void event_WA_SKIN_SHUFREP_EQ_NOT_SET_PRES();
 
89
 
 
90
  void event_WA_SKIN_TEXT();
 
91
  
 
92
  void event_WA_SKIN_VOLUME_BAR();
 
93
  void event_WA_SKIN_VOLUME_SLIDER_NORM();
 
94
  void event_WA_SKIN_VOLUME_SLIDER_PRES();
 
95
 
 
96
  void event_WA_SKIN_BALANCE_BAR();
 
97
  void event_WA_SKIN_BALANCE_SLIDER_NORM();
 
98
  void event_WA_SKIN_BALANCE_SLIDER_PRES();
 
99
   
 
100
  void event_WA_SKIN_POS_BAR();
 
101
  void event_WA_SKIN_POS_BAR_SLIDER_NORM();
 
102
  void event_WA_SKIN_POS_BAR_SLIDER_PRES();
 
103
  
 
104
  void event_WA_SKIN_PLAYPAUS_PLAY();
 
105
  void event_WA_SKIN_PLAYPAUS_PAUSE();
 
106
  void event_WA_SKIN_PLAYPAUS_STOP();
 
107
  void event_WA_SKIN_TITLE();
 
108
  void event_WA_SKIN_TITLE_SHADE_PRES();
 
109
  void event_WA_SKIN_TITLE_SHADE_NORM();
 
110
 
 
111
 private:
 
112
  void getText(char text,QPixmap* dest);
 
113
 
 
114
 
 
115
};
 
116
#endif