~ubuntu-branches/ubuntu/quantal/muse/quantal

« back to all changes in this revision

Viewing changes to widgets/gatetime.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2002-04-23 17:28:23 UTC
  • Revision ID: james.westby@ubuntu.com-20020423172823-w8yplzr81a759xa3
Tags: upstream-0.5.2
ImportĀ upstreamĀ versionĀ 0.5.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//=========================================================
 
2
//  MusE
 
3
//  Linux Music Editor
 
4
//    $Id: gatetime.h,v 1.2 2001/11/20 15:19:34 muse Exp $
 
5
//  (C) Copyright 2001 Werner Schweer (ws@seh.de)
 
6
//=========================================================
 
7
 
 
8
#ifndef __GATETIME_H__
 
9
#define __GATETIME_H__
 
10
 
 
11
#include "gatetimebase.h"
 
12
 
 
13
//---------------------------------------------------------
 
14
//   GateTime
 
15
//---------------------------------------------------------
 
16
 
 
17
class GateTime : public GateTimeBase {
 
18
      int _range;
 
19
      int _rateVal;
 
20
      int _offsetVal;
 
21
 
 
22
      Q_OBJECT
 
23
 
 
24
   protected slots:
 
25
      void accept();
 
26
 
 
27
   public:
 
28
      GateTime(QWidget* parent, const char* name = 0);
 
29
      void setRange(int id);
 
30
      int range() const { return _range; }
 
31
      int rateVal() const { return _rateVal; }
 
32
      int offsetVal() const { return _offsetVal; }
 
33
      };
 
34
 
 
35
#endif
 
36