summaryrefslogtreecommitdiffstats
path: root/karm/ktimewidget.h
blob: 62f81f77cf740be072e8cf1b61561b520f3b05e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef KARM_K_TIME_WIDGET_H
#define KARM_K_TIME_WIDGET_H

class TQLineEdit;
class TQWidget;

class KarmLineEdit;

/**
 * Widget used for entering minutes and seconds with validation.
 */

class KArmTimeWidget : public TQWidget 
{
  public:
    KArmTimeWidget( TQWidget* tqparent = 0, const char* name = 0 );
    void setTime( long minutes );
    long time() const;

  private:
    TQLineEdit *_hourLE;
    KarmLineEdit *_minuteLE;
};

#endif // KARM_K_TIME_WIDGET_H