00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef CONFIGURATION_ALERTSWIDGET_H
00012 #define CONFIGURATION_ALERTSWIDGET_H
00013
00014 #include <qdialog.h>
00015
00016
00017 class QGridLayout;
00018 class QLabel;
00019 class QFrame;
00020 class QCheckBox;
00021 class QVGroupBox;
00022 class Configuration;
00023
00024
00027
00028
00029
00030 class AlertsWidget : public QWidget
00031 {
00032 Q_OBJECT
00033
00034 public:
00035 AlertsWidget( Configuration* config, QWidget *parent=0, const char* name=0);
00036 static void setDefaults(Configuration* config);
00037 void loadSettings();
00038 void saveSettings();
00039
00040 private:
00042 Configuration* config;
00043
00044 QGridLayout* grid;
00045
00046 QLabel* categoryLabel;
00047 QFrame* horizontalLine;
00048
00049 QVGroupBox* behavior;
00050 QCheckBox* showDestructiveAlerts;
00051 QCheckBox* showSoftwareUpdateAlerts;
00052
00053
00054 };
00055
00056
00057 #endif //CONFIGURATION_ALERTSWIDGET_H