summaryrefslogtreecommitdiff
path: root/src/shutdowndialog.h
diff options
context:
space:
mode:
authorMateusz Łukasik <mati75@linuxmint.pl>2014-09-10 13:50:41 +0200
committerMateusz Łukasik <mati75@linuxmint.pl>2014-09-10 13:50:41 +0200
commit2d547200175bcaefcbca0862f8e0395e42c96224 (patch)
treed2d8508074c5035a8c5af248e147655cdeb0a1cb /src/shutdowndialog.h
parent02af8398ac9a1089a7fe9efda615a771e1c13637 (diff)
Imported Upstream version 14.9.0
Diffstat (limited to 'src/shutdowndialog.h')
-rw-r--r--src/shutdowndialog.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/shutdowndialog.h b/src/shutdowndialog.h
new file mode 100644
index 0000000..d9d325b
--- /dev/null
+++ b/src/shutdowndialog.h
@@ -0,0 +1,43 @@
+/* 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 SHUTDOWNDIALOG_H
+#define SHUTDOWNDIALOG_H
+
+#include "ui_shutdowndialog.h"
+
+class QTimer;
+
+class ShutdownDialog : public QDialog, public Ui::ShutdownDialog
+{
+ Q_OBJECT
+
+public:
+ ShutdownDialog( QWidget* parent = 0, Qt::WindowFlags f = 0 );
+ ~ShutdownDialog();
+
+private slots:
+ void updateCountdown();
+
+private:
+ int countdown;
+ QTimer * timer;
+ QString text;
+};
+
+#endif