'Initialize a new instance of this class. Retrieve configuration from
the main dialog to make a new hosts file.
:param parent: An instance of :class:`~gui.qdialog_d.QDialogDaemon`
class to fetch settings from.
:type parent: :class:`~gui.qdialog_d.QDialogDaemon`
.. warning:: :attr:`parent` MUST NOT be set as `None`.'

def __init__(self, parent):

    QtCore.QThread.__init__(self, parent)
    MakeHosts.__init__(self, parent)
