# Path: hashmal_lib/core/my_config.py
# def config_file_path():
#     def __init__(self):
#     def load(self, filename=None):
#     def save(self):
#     def get_option(self, key, default=None):
#     def set_option(self, key, value, do_save=True):
# def byteify(input):
# class Config(object):


from PyQt4.QtGui import *
from PyQt4 import QtCore
from hashmal_lib.core import my_config




# Singleton instance
hashmal_config = None

def set_config(c):
    global hashmal_config
    hashmal_config = c

def get_config():
    return hashmal_config

class Config(QtCore.QObject):
    """Wrapper for core.Config.

    This exists so that widgets can connect to optionChanged
    if they require themselves to update with a certain option.
    """

    optionChanged = QtCore.pyqtSignal(str, name='optionChanged')
    def __init__(self, parent=None):
        super(Config, self).__init__(parent)

# Path: hashmal_lib/core/my_config.py
# def config_file_path():
#     def __init__(self):
#     def load(self, filename=None):
#     def save(self):
#     def get_option(self, key, default=None):
#     def set_option(self, key, value, do_save=True):
# def byteify(input):
# class Config(object):


# Path: hashmal_lib/config.py
from PyQt4.QtGui import *
from PyQt4 import QtCore
from hashmal_lib.core import my_config





# Singleton instance
hashmal_config = None

def set_config(c):
    global hashmal_config
    hashmal_config = c

def get_config():
    return hashmal_config

class Config(QtCore.QObject):
    """Wrapper for core.Config.

    This exists so that widgets can connect to optionChanged
    if they require themselves to update with a certain option.
    """

    optionChanged = QtCore.pyqtSignal(str, name='optionChanged')
    def __init__(self, parent=None):
        super(Config, self).__init__(parent)

        self.conf = my_config.Config()