initializing Repository, adding gui mockup
[dpim.git] / client.py
blob4bf77c1213efe83799fb186e969c8c74d678b9fe
1 #!/usr/bin/python
2 # -*- coding: utf-8 -*-
3 from PyQt4 import QtCore
4 from jclient import jclient
5 import time
7 class client(QtCore.QObject):
8 def enableJabber(self):
9 myJclient = jclient("betagan@jabber.ccc.de/dpim","7k3dTHcD")
10 myJclient.connect()
11 myJclient.sendMessage("betagan@jabber.ccc.de","hallo welt, this is dpim")
12 time.sleep(1)
13 myJclient.disconnect()