|
|
@ -30,20 +30,17 @@ |
|
|
|
* Contact : hammered999@gmail.com |
|
|
|
* Contact : hammered999@gmail.com |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
#include <QVBoxLayout> |
|
|
|
#include "shutdownconfirm.h" |
|
|
|
#include <QHBoxLayout> |
|
|
|
#include "ui_confirmshutdowndlg.h" |
|
|
|
|
|
|
|
|
|
|
|
#include <QStyle> |
|
|
|
#include <QStyle> |
|
|
|
#include <QIcon> |
|
|
|
#include <QIcon> |
|
|
|
#include <QLabel> |
|
|
|
|
|
|
|
#include <QDialogButtonBox> |
|
|
|
#include <QDialogButtonBox> |
|
|
|
#include <QCheckBox> |
|
|
|
|
|
|
|
#include <QPushButton> |
|
|
|
#include <QPushButton> |
|
|
|
|
|
|
|
|
|
|
|
#include "base/preferences.h" |
|
|
|
#include "base/preferences.h" |
|
|
|
#include "base/types.h" |
|
|
|
#include "base/utils/misc.h" |
|
|
|
|
|
|
|
|
|
|
|
#include "shutdownconfirm.h" |
|
|
|
|
|
|
|
#include "ui_confirmshutdowndlg.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ShutdownConfirmDlg::ShutdownConfirmDlg(const ShutdownAction &action) |
|
|
|
ShutdownConfirmDlg::ShutdownConfirmDlg(const ShutdownAction &action) |
|
|
|
: ui(new Ui::confirmShutdownDlg) |
|
|
|
: ui(new Ui::confirmShutdownDlg) |
|
|
|