Blame view

SpeechSegment.h 521 Bytes
3f2992b2c   bostx   V1.0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  #ifndef SPEECHSEGMENT_H
  #define SPEECHSEGMENT_H
  
  #include <QString>
  
  #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