SF.net SVN: fclient:[945] trunk/fclient/fclient/impl/config.py
Status: Pre-Alpha
Brought to you by:
jurner
From: <jU...@us...> - 2008-08-19 11:41:45
|
Revision: 945 http://fclient.svn.sourceforge.net/fclient/?rev=945&view=rev Author: jUrner Date: 2008-08-19 11:41:55 +0000 (Tue, 19 Aug 2008) Log Message: ----------- remove some superfluous code Modified Paths: -------------- trunk/fclient/fclient/impl/config.py Modified: trunk/fclient/fclient/impl/config.py =================================================================== --- trunk/fclient/fclient/impl/config.py 2008-08-19 09:21:44 UTC (rev 944) +++ trunk/fclient/fclient/impl/config.py 2008-08-19 11:41:55 UTC (rev 945) @@ -62,8 +62,7 @@ def __getitem__(self, viewObjectName): return self._viewObjects[self._names.index(viewObjectName)] - - + def get(self, viewObjectName, default=None): try: return self[viewObjectName] @@ -167,21 +166,6 @@ if mthd is not None: self.titleBar = mthd() - def setVisible(self, flag): - pass - - -class ViewObject(QtCore.QObject): - """base class for view objects""" - - def __init__(self, parent): - QtCore.QObject.__init__(self, parent) - - self.name = '' #unique name of the view - self.displayName = '' # name as shown t the user - self.icon = None # QIcon associated to the view - - #******************************************************************************** # #******************************************************************************** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |