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