00001 #ifndef UPDATERDIALOG_H 00002 #define UPDATERDIALOG_H 00003 00004 #include "ui_UpdaterDialog.h" 00005 #include "../Data/settings.h" 00006 00007 QT_BEGIN_NAMESPACE 00008 class QDialog; 00009 QT_END_NAMESPACE 00010 00011 class UpdaterDialog : public QDialog, public Ui::UpdaterDialog 00012 { 00013 Q_OBJECT 00014 00015 public: 00016 UpdaterDialog(Settings &settings, QWidget *parent = 0); 00017 00018 private slots: 00019 void close(); 00020 bool checkForUpdates(); 00021 void startUpdate(); 00022 }; 00023 00024 #endif