Ejemplo n.º 1
0
    def __init__(self, parent=None):
        QConfigObject.__init__(self, deserialize, 'netcfg', 'setNetCfg', parent=parent)
        self.models[MODEL_NETWORKS_EXCL_HA] = QStandardItemModel()
        self.models[MODEL_NETWORKS_INCL_HA] = QStandardItemModel()
        self.models[MODEL_KNOWNNETWORKS_EXCL_HA] = QStandardItemModel()
        self.models[MODEL_NETWORKS_IPV4_EXCL_HA] = QStandardItemModel()
        self.models[MODEL_NETWORKS_IPV4_EXCL_HA_SER_PRI_SEC] = QStandardItemModel()

        self.__net_icon = QIcon(":/icons-32/network.png")
Ejemplo n.º 2
0
 def __init__(self, parent=None):
     QConfigObject.__init__(self, SnmpdConf.deserialize, 'snmpd',
                            'setSnmpdConfig', parent=parent)
Ejemplo n.º 3
0
 def __init__(self, parent=None):
     QConfigObject.__init__(self, HttpOutConf.deserialize, 'httpout', 'setHttpOutConfig', parent=parent)
Ejemplo n.º 4
0
 def __init__(self, parent=None):
     # FIXME: Don't create QSquidObject instead of disabling the constructor
     if not EDENWALL:
         return
     QConfigObject.__init__(self, SquidConf.deserialize, 'squid',
                            'setSquidConfig', parent=parent)
Ejemplo n.º 5
0
 def __init__(self, parent=None):
     QConfigObject.__init__(self, AuthCertConf.deserialize, 'auth_cert',
                            'setAuthCertConfig', parent=parent)
Ejemplo n.º 6
0
 def __init__(self, parent=None):
     QConfigObject.__init__(self, HAConf.deserialize, 'hacfg', 'setHACfg',
         parent=parent)
Ejemplo n.º 7
0
 def __init__(self, parent=None):
     QConfigObject.__init__(self, SyslogExportConf.deserialize,
                            'syslog_export', 'setSyslogExportConfig',
                            parent=parent)
Ejemplo n.º 8
0
 def __init__(self, parent=None):
     QConfigObject.__init__(self, deserialize, 'hostnamecfg', 'setHostnameCfg', parent=parent)
Ejemplo n.º 9
0
 def __init__(self, parent=None):
     QConfigObject.__init__(self, OpenVpnConf.deserialize, 'openvpn',
                            'setOpenVpnConfig', parent=parent)
Ejemplo n.º 10
0
 def __init__(self, parent=None):
     QConfigObject.__init__(self, deserialize, 'resolvcfg', 'setResolvCfg', parent=parent)
Ejemplo n.º 11
0
 def __init__(self, parent=None):
     QConfigObject.__init__(self, MailConf.deserialize, 'mailcfg',
                            'setMailConfig', parent=parent)