make qweboobcfg an application

This commit is contained in:
Christophe Benz 2010-07-06 15:39:14 +02:00
commit e34b8a6541
13 changed files with 109 additions and 18 deletions

View file

@ -17,21 +17,9 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
from weboob.tools.application.qt.backendcfg import BackendCfg
from weboob.tools.application import QtApplication
class QWeboobCfg(QtApplication):
APPNAME = 'qweboobcfg'
VERSION = '0.1'
COPYRIGHT = 'Copyright(C) 2010 Romain Bignon'
from weboob.applications.qweboobcfg import QWeboobCfg
def main(self, argv):
self.load_backends()
self.dlg = BackendCfg(self.weboob)
self.dlg.show()
return self.weboob.loop()
if __name__ == '__main__':
QWeboobCfg.run()