from qt.baseobject import *


# create baseobjects

b1 = BaseObject()
b2 = BaseObject("name of the game")

print b1
print b2.getName()
print b2.getClassname()


# connections

def f():
    print "Test Signal!"

b1.connect("test", f)
b1.emit("test")
b1.disconnect("test", f)
b1.emit("test")