Remove every old-style class.

This commit is contained in:
Emmanuel Gil Peyrot 2013-01-18 17:55:35 +01:00
commit 88074cd284
5 changed files with 56 additions and 56 deletions

View file

@ -24,7 +24,7 @@ from sat.tools.jid import JID
class QuickCardGame():
class QuickCardGame(object):
def __init__(self, parent, referee, players, player_nick):
self._autoplay = None #XXX: use 0 to activate fake play, None else

View file

@ -24,7 +24,7 @@ from sat.tools.jid import JID
from sat_frontends.quick_frontend.quick_utils import unescapePrivate
class QuickChat():
class QuickChat(object):
def __init__(self, target, host, type='one2one'):
self.target = target

View file

@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
from logging import debug
class QuickContactList():
class QuickContactList(object):
"""This class manage the visual representation of contacts"""
def __init__(self):

View file

@ -24,7 +24,7 @@ from sat.tools.jid import JID
import pdb
class QuickContactManagement():
class QuickContactManagement(object):
"""This helper class manage the contacts and ease the use of nicknames and shortcuts"""
### FIXME: is SàT a better place for all this stuff ??? ###

View file

@ -22,7 +22,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
class QuickGatewaysManager():
class QuickGatewaysManager(object):
def __init__(self, host, gateways, title=_("Gateways manager"), server=None):