To retrieve only the top level terms of a taxonomy and exclude the children, you can add the 'parent' parameter to the $cat_args array and set it to 0. Here's an updated version of the code:

$cat_args = array(
   'meta_key' => 'qq_cat_piority',
   'orderby' => 'meta_value_num',
   'order' => 'ASC',
   'hide_empty' => false,
   'parent' => 0, // Only retrieve top level terms
);

$qqcpategories = get_terms( 'qqcpat', $cat_args );

By setting 'parent' to 0, you are instructing the get_terms() function to only fetch terms that have no parent. This way, you will only get the top level terms of the 'qqcpat' taxonomy.

Retrieve Only Top Level Terms in WordPress Taxonomy