1 //=========================================================
2 //  MusE
3 //  Linux Music Editor
4 //  warn_bad_timing.h
5 //  (C) Copyright 2012 Tim E. Real (terminator356 on users dot sourceforge dot net)
6 //
7 //  This program is free software; you can redistribute it and/or
8 //  modify it under the terms of the GNU General Public License
9 //  as published by the Free Software Foundation; version 2 of
10 //  the License, or (at your option) any later version.
11 //
12 //  This program is distributed in the hope that it will be useful,
13 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
14 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 //  GNU General Public License for more details.
16 //
17 //  You should have received a copy of the GNU General Public License
18 //  along with this program; if not, write to the Free Software
19 //  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20 //
21 //=========================================================
22 #ifndef __WARN_BAD_TIMING_H__
23 #define __WARN_BAD_TIMING_H__
24 
25 #include "ui_warn_bad_timing.h"
26 
27 namespace MusEGui {
28 
29 class WarnBadTimingDialog : public QDialog, public Ui::warnBadTimingBase
30 {
31     Q_OBJECT
32 
33 public:
34     WarnBadTimingDialog();
dontAsk()35     bool dontAsk() const { return dontAskAgain->isChecked(); }
setLabelText(const QString & s)36     void setLabelText(const QString& s) { label->setText(s); }
37 };
38 
39 } // namespace MusEGui
40 
41 #endif
42