First release

This commit is contained in:
arcan1s
2013-02-21 23:11:22 +04:00
parent 0982f55427
commit e5d2ff9baa
6 changed files with 1044 additions and 0 deletions

View File

@ -0,0 +1,16 @@
# -*- coding: utf-8 -*-
from util import *
class Config():
def __init__(self, applet):
self.applet = applet
self.config = self.applet.globalConfig()
def get(self, key, default = ''):
return self.config.readEntry(key, default).toString()
def set(self, key, value):
self.config.writeEntry(key, value)