diff options
author | Mateusz Łukasik <mati75@linuxmint.pl> | 2014-04-21 11:53:35 +0200 |
---|---|---|
committer | Mateusz Łukasik <mati75@linuxmint.pl> | 2014-04-21 11:53:35 +0200 |
commit | 2a117cc570574099839da41a5ae9fbb2a5ca9e55 (patch) | |
tree | 6107da409f9c7f07c0ffa0869a26a161b097aea7 /src/reminderdialog.h | |
parent | aa68b7bd585a157e8952881e87e2c09de6ec742f (diff) |
Imported Upstream version 14.3.0
Diffstat (limited to 'src/reminderdialog.h')
-rw-r--r-- | src/reminderdialog.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/reminderdialog.h b/src/reminderdialog.h new file mode 100644 index 0000000..ee156ae --- /dev/null +++ b/src/reminderdialog.h @@ -0,0 +1,46 @@ +/* smplayer, GUI front-end for mplayer. + Copyright (C) 2006-2014 Ricardo Villalba <rvm@users.sourceforge.net> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +*/ + +#ifndef REMINDERDIALOG_H +#define REMINDERDIALOG_H + +#include "ui_reminderdialog.h" + +class QPushButton; + +class ReminderDialog : public QDialog, public Ui::ReminderDialog +{ + Q_OBJECT + +public: + enum Button { Donate = 1, Share = 2, Close = 0 }; + ReminderDialog( QWidget* parent = 0, Qt::WindowFlags f = 0 ); + ~ReminderDialog(); + + bool isRemindChecked(); + +protected slots: + void button_clicked(QAbstractButton *); + +private: + QPushButton * donate_button; + QPushButton * facebook_button; + QPushButton * close_button; +}; + +#endif |