summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/mythinstall/misc_settings.h
blob: 66ad99c4969f4d30fb384129f74664afb4e8c752 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
#include <mythcontext.h>
#include <unistd.h>
#include <iostream>
#include <fstream>
#include <stdio.h>
#include "settings.h"
#include "installsettings.h"
#include <qsqldatabase.h>
#include <qsqlquery.h>

#include <stdlib.h>
#include <cstdlib>
#include <mythtv/mythdbcon.h>
#include <qdir.h>
#include <qapplication.h>
#include "util.h"


class MiscMainFrame: public VerticalConfigurationGroup {
Q_OBJECT
public:
        MiscMainFrame();
QTimer *autoLaunchTimer;

public slots:
    QString mf_show_tz(QString);

signals:
    void update_timezone(QString);
};

class MiscMainFrame2: public VerticalConfigurationGroup {
Q_OBJECT
public:
        MiscMainFrame2();
};


class TimezoneButton: public VerticalConfigurationGroup {
Q_OBJECT
public:
        TimezoneButton();
        TransButtonSetting   *TZButton;
        void disableButton();
public slots:
    void launch_tzgui();
signals:
    QString mf_launch_tzgui();
    //QString update_timezone(QString);
};

class TimezoneRegion: public TriggeredConfigurationGroup {
Q_OBJECT
public:
    TimezoneRegion();
    HostComboBox *HostTimeZoneRegion;
    HostComboBox *HostTimezoneRegion_US;
    HostComboBox *HostTimezoneRegion_Pacific;
    HostComboBox *HostTimezoneRegion_Mideast;
    HostComboBox *HostTimezoneRegion_Mexico;
    HostComboBox *HostTimezoneRegion_Indian;
    HostComboBox *HostTimezoneRegion_Europe;
    HostComboBox *HostTimezoneRegion_Etc;
    HostComboBox *HostTimezoneRegion_Chile;
    HostComboBox *HostTimezoneRegion_Canada;
    HostComboBox *HostTimezoneRegion_Brazil;
    HostComboBox *HostTimezoneRegion_Australia;
    HostComboBox *HostTimezoneRegion_Atlantic;
    HostComboBox *HostTimezoneRegion_Asia;
    HostComboBox *HostTimezoneRegion_Arctic;
    HostComboBox *HostTimezoneRegion_Antarctica;
    HostComboBox *HostTimezoneRegion_America;
    HostComboBox *HostTimezoneRegion_Africa;
    void timezoneregion_fillselection(QString);
    void timezoneregion_fillselection_zone();


public slots:
    void update_timezone_values(QString);
    void timezone_gathersettings();
signals:
    void mf_show_tz(QString);
};


class NFSSettings: public
    TriggeredConfigurationGroup {
    public:
        NFSSettings();

};