summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/volumeapplet/volume.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/applets/volumeapplet/volume.h b/core/applets/volumeapplet/volume.h
index 9fc12d8..3a2da43 100644
--- a/core/applets/volumeapplet/volume.h
+++ b/core/applets/volumeapplet/volume.h
@@ -1,57 +1,58 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2000 Trolltech AS. All rights reserved. 2** Copyright (C) 2000 Trolltech AS. All rights reserved.
3** 3**
4** This file is part of Qtopia Environment. 4** This file is part of Qtopia Environment.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
8** Foundation and appearing in the file LICENSE.GPL included in the 8** Foundation and appearing in the file LICENSE.GPL included in the
9** packaging of this file. 9** packaging of this file.
10** 10**
11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 11** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 12** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13** 13**
14** See http://www.trolltech.com/gpl/ for GPL licensing information. 14** See http://www.trolltech.com/gpl/ for GPL licensing information.
15** 15**
16** Contact info@trolltech.com if any conditions of this licensing are 16** Contact info@trolltech.com if any conditions of this licensing are
17** not clear to you. 17** not clear to you.
18** 18**
19**********************************************************************/ 19**********************************************************************/
20 20
21#ifndef __VOLUME_APPLET_H__ 21#ifndef __VOLUME_APPLET_H__
22#define __VOLUME_APPLET_H__ 22#define __VOLUME_APPLET_H__
23 23
24 24
25#include <qwidget.h> 25#include <qwidget.h>
26#include <qpushbutton.h>
26#include <qframe.h> 27#include <qframe.h>
27#include <qpixmap.h> 28#include <qpixmap.h>
28#include <qguardedptr.h> 29#include <qguardedptr.h>
29#include <qtimer.h> 30#include <qtimer.h>
30 31
31class QSlider; 32class QSlider;
32class QCheckBox; 33class QCheckBox;
33 34
34class VolumeControl : public QFrame 35class VolumeControl : public QFrame
35{ 36{
36 Q_OBJECT 37 Q_OBJECT
37public: 38public:
38 VolumeControl( bool showMic=FALSE, QWidget *parent=0, const char *name=0 ); 39 VolumeControl( bool showMic=FALSE, QWidget *parent=0, const char *name=0 );
39 40
40public: 41public:
41 QSlider *slider; 42 QSlider *slider;
42 QSlider *mic; 43 QSlider *mic;
43 QCheckBox *muteBox; 44 QCheckBox *muteBox;
44 45
45private: 46private:
46 QPushButton *upButton; 47 QPushButton *upButton;
47 QPushButton *downButton; 48 QPushButton *downButton;
48 QTimer *rateTimer; 49 QTimer *rateTimer;
49 50
50 void keyPressEvent( QKeyEvent * ); 51 void keyPressEvent( QKeyEvent * );
51 void createView(bool showMic = FALSE); 52 void createView(bool showMic = FALSE);
52private slots: 53private slots:
53 void ButtonChanged(); 54 void ButtonChanged();
54 void rateTimerDone(); 55 void rateTimerDone();
55 56
56}; 57};
57 58