~ubuntu-branches/ubuntu/jaunty/psi/jaunty

« back to all changes in this revision

Viewing changes to src/options/opt_sound.h

  • Committer: Bazaar Package Importer
  • Author(s): Jan Niehusmann
  • Date: 2005-01-10 17:41:43 UTC
  • mfrom: (1.2.1 upstream) (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050110174143-ltocv5zapl6blf5d
Tags: 0.9.3-1
* New upstream release
* Cleaned up debian/rules (some things are done by upstream Makefiles now)
* Fixed some lintian warnings:
  - removed executable bit from some .png files
  - moved psi.desktop to /usr/share/applications
* Updated menu files

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef OPT_SOUND_H
 
2
#define OPT_SOUND_H
 
3
 
 
4
#include "optionstab.h"
 
5
 
 
6
class QWidget;
 
7
struct Options;
 
8
class QLineEdit;
 
9
class QButtonGroup;
 
10
 
 
11
class OptionsTabSound : public OptionsTab
 
12
{
 
13
        Q_OBJECT
 
14
public:
 
15
        OptionsTabSound(QObject *parent);
 
16
        ~OptionsTabSound();
 
17
 
 
18
        QWidget *widget();
 
19
        void applyOptions(Options *opt);
 
20
        void restoreOptions(const Options *opt);
 
21
 
 
22
private slots:
 
23
        void chooseSoundEvent(int x);
 
24
        void previewSoundEvent(int x);
 
25
        void soundReset();
 
26
        void setData(PsiCon *, QWidget *);
 
27
 
 
28
private:
 
29
        QWidget *w, *parentWidget;
 
30
        QLineEdit *le_oe[10];
 
31
        QButtonGroup *bg_se, *bg_sePlay;
 
32
};
 
33
 
 
34
#endif