public function getQueryModels()
    {
        $queries  = array();
        foreach ($this->_queryProfiles as $queryId => $queryProfile) {
            $queryModel = Mage::getModel('sheep_debug/query');
            $stacktrace = array_key_exists($queryId, $this->stackTraces) ? $this->stackTraces[$queryId] : '';
            $queryModel->init($queryProfile, $stacktrace);

            $queries[] = $queryModel;
        }

        return $queries;
    }