File indexing completed on 2024-12-22 04:40:06

0001 /*
0002     SPDX-FileCopyrightText: 2007-2009 Sergio Pistone <sergio_pistone@yahoo.com.ar>
0003     SPDX-FileCopyrightText: 2010-2022 Mladen Milinkovic <max@smoothware.net>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef ADJUSTTIMESDIALOG_H
0009 #define ADJUSTTIMESDIALOG_H
0010 
0011 #include "actiondialog.h"
0012 #include "core/time.h"
0013 
0014 class TimeEdit;
0015 
0016 namespace SubtitleComposer {
0017 class AdjustTimesDialog : public ActionDialog
0018 {
0019 public:
0020     AdjustTimesDialog(QWidget *parent = 0);
0021 
0022     Time firstLineTime() const;
0023     void setFirstLineTime(const Time &time);
0024 
0025     Time lastLineTime() const;
0026     void setLastLineTime(const Time &time);
0027 
0028 private:
0029     TimeEdit *m_firstLineTimeEdit;
0030     TimeEdit *m_lastLineTimeEdit;
0031 };
0032 }
0033 #endif