Removes the currently selected query.

def removeQuery( self ):
        """
        Removes the currently selected query.
        """
        items = self.uiQueryTREE.selectedItems()
        tree  = self.uiQueryTREE
        for item in items:
            parent = item.parent()
            if ( parent ):
                parent.takeChild(parent.indexOfChild(item))
            else:
                tree.takeTopLevelItem(tree.indexOfTopLevelItem(item))
        
        self.setQuery(self.query())