/*************************************************************************** * Copyright 2008 by Marco Gulino #include #include class KLineEdit; /** @author */ class CustomTimeEditor : public QObject { Q_OBJECT public: CustomTimeEditor(); ~CustomTimeEditor(); KEditListWidget::CustomEditor *getCustomEditor(); static QString timerSeparator(); static QString toLocalizedTimer(const QString &timer); static QString fromLocalizedTimer(const QString &timer); static const QString TIME_FORMAT; private: QTimeEdit* timeEdit; KLineEdit* editor; KEditListWidget::CustomEditor *customEditor; protected slots: void setEdit(const QTime &time); }; #endif