old_contents: __revision__ = "$Revision$"
  
  from textprogress import TextProgress
  try:
      import qt
  except ImportError:
      pass # import QtProgress will cause an error
  else:
      from qtprogress import QtProgress
  
new_contents: __revision__ = "$Revision$"
  
  from textprogress import TextProgress
  import sys
  
  if 'qt' in sys.modules.keys():
      from qtprogress import QtProgress
  
subject: Check to see if qt is loaded; if so, export QtProgress class