#ifndef SPEECHSEGMENT_H #define SPEECHSEGMENT_H #include #include "Segment.h" class SpeechSegment: public Segment { public: SpeechSegment(qint64 start, qint64 end, const QString &text, const QString &speaker, Segment *parentSegment = 0, Segment::Source source = Segment::Manual); void setEnd(qint64 end); qint64 getEnd() const; QString getLabel() const; void setLabel(const QString &speaker); QString display() const; private: qint64 m_end; QString m_text; QString m_speaker; }; #endif