mamyte03@gmail.com
9th November 2007, 10:51
I have a QMap<QString, QString> allSources in witch key is a "table_by_view" names, as vlues is "view_title".
Example:
"Activity_view", "Activiti";
"pOrders_view","orders";
"car_specification_view", "cars";
And so on.
But now I need to sord by order "view_title". A/b/s and so on..
How can I do this, for get :
"activity_view","activity";
"car_specification_view","cars"
"pOrders_view", "orders";
Now i get only values as QStringList , sorting it and geting values in right order, but key in old order...
Example:
"Activity_view", "Activiti";
"pOrders_view","orders";
"car_specification_view", "cars";
And so on.
But now I need to sord by order "view_title". A/b/s and so on..
How can I do this, for get :
"activity_view","activity";
"car_specification_view","cars"
"pOrders_view", "orders";
Now i get only values as QStringList , sorting it and geting values in right order, but key in old order...