code: def listdir(self, relpath, rsc=None):
          
          filepath = self.find(relpath, rsc)
          
          # parse a resource object
          if filepath.startswith(':'):
              resource = QtCore.QResource(filepath)
              
              # load the resource
              return map(str, resource.children())
          
          # parse a filepath
          elif os.path.isdir(filepath):
              return os.listdir(filepath)
          
          return []
docs: Returns a list of the files within a path.  When compiled, it will
          list the files within a QResource, otherwise will list the files
          within the directory.
          
          :param      relpath | <str>
                      rsc     | <str> || None
          
          :return     [<str>, ..]