AlbumShaper  1.0a3
alertsWidget.h
Go to the documentation of this file.
1 //==============================================
2 // copyright : (C) 2003-2005 by Will Stokes
3 //==============================================
4 // This program is free software; you can redistribute it
5 // and/or modify it under the terms of the GNU General
6 // Public License as published by the Free Software
7 // Foundation; either version 2 of the License, or
8 // (at your option) any later version.
9 //==============================================
10 
11 #ifndef CONFIGURATION_ALERTSWIDGET_H
12 #define CONFIGURATION_ALERTSWIDGET_H
13 
14 #include <qdialog.h>
15 //Added by qt3to4:
16 #include <Q3GridLayout>
17 #include <Q3Frame>
18 #include <QLabel>
19 
20 //forward declarations
21 class Q3GridLayout;
22 class QLabel;
23 class Q3Frame;
24 class QCheckBox;
25 class Q3VGroupBox;
26 class Configuration;
27 
28 //=====================================
31 //=====================================
32 
33 //======================
34 class AlertsWidget : public QWidget
35 {
36 Q_OBJECT
37 //----------------------
38 public:
39  AlertsWidget( Configuration* config, QWidget *parent=0, const char* name=0);
40  static void setDefaults(Configuration* config);
41  void loadSettings();
42  void saveSettings();
43 //----------------------
44 private:
47 
48  Q3GridLayout* grid;
49 
52 
53  Q3VGroupBox* behavior;
56 
57 //----------------------
58 };
59 //======================
60 
61 #endif //CONFIGURATION_ALERTSWIDGET_H
QCheckBox * showSoftwareUpdateAlerts
Definition: alertsWidget.h:55
Configuration * config
Backend config object pointer.
Definition: alertsWidget.h:46
Q3VGroupBox * behavior
Definition: alertsWidget.h:53
static void setDefaults(Configuration *config)
void loadSettings()
QCheckBox * showDestructiveAlerts
Definition: alertsWidget.h:54
AlertsWidget(Configuration *config, QWidget *parent=0, const char *name=0)
QLabel * categoryLabel
Definition: alertsWidget.h:50
Q3Frame * horizontalLine
Definition: alertsWidget.h:51
Configuration object manages all user-specific application settings.
Definition: configuration.h:24
Alerts Settings.
Definition: alertsWidget.h:34
Q3GridLayout * grid
Definition: alertsWidget.h:48
void saveSettings()