author | llornkcor <llornkcor> | 2005-08-11 10:10:40 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2005-08-11 10:10:40 (UTC) |
commit | 6040d26c56a95d9f5bd09688e22009fc5b5e124d (patch) (side-by-side diff) | |
tree | 53ad03c346cc006d17093918d5cf6bbb09aa4b3b /noncore/applets/volumeapplet2/volumeapplet.h | |
parent | 8938048502047f781447ed24351512cdca997a2e (diff) | |
download | opie-6040d26c56a95d9f5bd09688e22009fc5b5e124d.zip opie-6040d26c56a95d9f5bd09688e22009fc5b5e124d.tar.gz opie-6040d26c56a95d9f5bd09688e22009fc5b5e124d.tar.bz2 |
add opie-smb
Diffstat (limited to 'noncore/applets/volumeapplet2/volumeapplet.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/applets/volumeapplet2/volumeapplet.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/noncore/applets/volumeapplet2/volumeapplet.h b/noncore/applets/volumeapplet2/volumeapplet.h index c1f1a3a..953c305 100644 --- a/noncore/applets/volumeapplet2/volumeapplet.h +++ b/noncore/applets/volumeapplet2/volumeapplet.h @@ -34,2 +34,3 @@ #include <opie2/otaskbarapplet.h> +#include <opie2/osoundsystem.h> #include <qframe.h> @@ -38,2 +39,3 @@ #include <qpixmap.h> +//using namespace Opie::MM; @@ -42,3 +44,3 @@ namespace Opie namespace Ui { class OLedBox; } - namespace MM { class OMixerInterface; } +// namespace MM { class OMixerInterface; } } @@ -71,2 +73,9 @@ class VolumeAppletControl : public QFrame ~VolumeAppletControl(); + bool volMuted() const; + int volPercent() const; + + int m_vol_percent; + bool m_vol_muted; + + Opie::MM::OMixerInterface* mixer; @@ -80,4 +89,4 @@ class VolumeAppletControl : public QFrame private: - QGridLayout* l; + QGridLayout* l; }; @@ -98,3 +107,3 @@ class VolumeApplet : public Opie::Ui::OTaskbarApplet VolumeAppletControl* _control; - QPixmap _pixmap; + QPixmap* _pixmap; }; |