AlbumShaper
1.0a3
src
configuration
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
:
46
Configuration
*
config
;
47
48
Q3GridLayout*
grid
;
49
50
QLabel
*
categoryLabel
;
51
Q3Frame
*
horizontalLine
;
52
53
Q3VGroupBox*
behavior
;
54
QCheckBox*
showDestructiveAlerts
;
55
QCheckBox*
showSoftwareUpdateAlerts
;
56
57
//----------------------
58
};
59
//======================
60
61
#endif //CONFIGURATION_ALERTSWIDGET_H
AlertsWidget::showSoftwareUpdateAlerts
QCheckBox * showSoftwareUpdateAlerts
Definition:
alertsWidget.h:55
AlertsWidget::config
Configuration * config
Backend config object pointer.
Definition:
alertsWidget.h:46
QWidget
AlertsWidget::behavior
Q3VGroupBox * behavior
Definition:
alertsWidget.h:53
AlertsWidget::setDefaults
static void setDefaults(Configuration *config)
Definition:
alertsWidget.cpp:58
AlertsWidget::loadSettings
void loadSettings()
Definition:
alertsWidget.cpp:65
AlertsWidget::showDestructiveAlerts
QCheckBox * showDestructiveAlerts
Definition:
alertsWidget.h:54
AlertsWidget::AlertsWidget
AlertsWidget(Configuration *config, QWidget *parent=0, const char *name=0)
Definition:
alertsWidget.cpp:30
AlertsWidget::categoryLabel
QLabel * categoryLabel
Definition:
alertsWidget.h:50
AlertsWidget::horizontalLine
Q3Frame * horizontalLine
Definition:
alertsWidget.h:51
Configuration
Configuration object manages all user-specific application settings.
Definition:
configuration.h:24
QLabel
Q3Frame
AlertsWidget
Alerts Settings.
Definition:
alertsWidget.h:34
AlertsWidget::grid
Q3GridLayout * grid
Definition:
alertsWidget.h:48
AlertsWidget::saveSettings
void saveSettings()
Definition:
alertsWidget.cpp:71
Generated by
1.8.12