You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#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* parent = 0, const char* name = 0 );
|
|
|
|
void setTime( long minutes );
|
|
|
|
long time() const;
|
|
|
|
|
|
|
|
private:
|
|
|
|
TQLineEdit *_hourLE;
|
|
|
|
KarmLineEdit *_minuteLE;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // KARM_K_TIME_WIDGET_H
|