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
21class Q3GridLayout;
22class QLabel;
23class Q3Frame;
24class QCheckBox;
25class Q3VGroupBox;
26class Configuration;
27
28//=====================================
31//=====================================
32
33//======================
34class AlertsWidget : public QWidget
35{
36Q_OBJECT
37//----------------------
38public:
39 AlertsWidget( Configuration* config, QWidget *parent=0, const char* name=0);
40 static void setDefaults(Configuration* config);
41 void loadSettings();
42 void saveSettings();
43//----------------------
44private:
47
48 Q3GridLayout* grid;
49
52
53 Q3VGroupBox* behavior;
56
57//----------------------
58};
59//======================
60
61#endif //CONFIGURATION_ALERTSWIDGET_H
Alerts Settings.
QCheckBox * showDestructiveAlerts
QCheckBox * showSoftwareUpdateAlerts
void saveSettings()
void loadSettings()
static void setDefaults(Configuration *config)
Q3VGroupBox * behavior
Q3GridLayout * grid
QLabel * categoryLabel
Configuration * config
Backend config object pointer.
AlertsWidget(Configuration *config, QWidget *parent=0, const char *name=0)
Q3Frame * horizontalLine
Configuration object manages all user-specific application settings.