Sets the query that should be used when this record is dragged.  This
        value will be set into the application/x-query format for mime
        data.
        
        :param      query | <orb.Query> || None

def setDragQuery(self, query):
        """
        Sets the query that should be used when this record is dragged.  This
        value will be set into the application/x-query format for mime
        data.
        
        :param      query | <orb.Query> || None
        """
        if query is not None:
            self.setDragData('application/x-orb-query', query.toXmlString())
        else:
            self.setDragData('application/x-orb-query', None)