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

« back to all changes in this revision

Viewing changes to noatun/noatun/modules/winskin/waJumpSlider.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
  jumpslider for winamp skins
 
3
  Copyright (C) 1998  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
#ifndef __WAJUMPSLIDER_H
 
16
#define __WAJUMPSLIDER_H
 
17
 
 
18
#include <waSlider.h>
 
19
 
 
20
 
 
21
class WaJumpSlider : public QWidget {
 
22
  Q_OBJECT
 
23
 
 
24
  WaSkinModell* waSkinModell;
 
25
  WaSlider* ws;
 
26
 
 
27
 public:
 
28
  WaJumpSlider(WaSkinModell* waSkinModell,
 
29
               QWidget *parent=0, const char *name=0);
 
30
  ~WaJumpSlider();
 
31
  void buildGui();
 
32
  QSize sizeHint() const;
 
33
  
 
34
  void paintEvent ( QPaintEvent * paintEvent );
 
35
 
 
36
  void setJumpRange(int val);
 
37
  void setJumpValue(int val);
 
38
 
 
39
 signals:
 
40
   void jump(int seconds);
 
41
   void jumpSliderPressed(); 
 
42
   void jumpSliderReleased();
 
43
 
 
44
 private slots:  
 
45
   void sliderReleased();
 
46
 
 
47
 
 
48
};
 
49
 
 
50
 
 
51
#endif
 
52
 
 
53