SF.net SVN: fclient:[884] trunk/fclient/fclient/impl/lib/qt4ex/lib/actions. py
Status: Pre-Alpha
Brought to you by:
jurner
From: <jU...@us...> - 2008-08-10 07:52:59
|
Revision: 884 http://fclient.svn.sourceforge.net/fclient/?rev=884&view=rev Author: jUrner Date: 2008-08-10 07:53:08 +0000 (Sun, 10 Aug 2008) Log Message: ----------- actions could use an iterator Modified Paths: -------------- trunk/fclient/fclient/impl/lib/qt4ex/lib/actions.py Modified: trunk/fclient/fclient/impl/lib/qt4ex/lib/actions.py =================================================================== --- trunk/fclient/fclient/impl/lib/qt4ex/lib/actions.py 2008-08-10 07:52:51 UTC (rev 883) +++ trunk/fclient/fclient/impl/lib/qt4ex/lib/actions.py 2008-08-10 07:53:08 UTC (rev 884) @@ -99,6 +99,10 @@ return self._actions[self._actionNames.index(name)] + def __iter__(self): + return iter(self._actions) + + def get(self, name, default=None): if name in self._actionNames: return self[name] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |