[Patch] Sort by time of modification in iconview + multicolumsnview
Anna Nymos
fnschy at yahoo.de
Fri Feb 14 00:05:20 GMT 2003
On Thursday 13 February 2003 16:19, Carsten Pfeiffer wrote:
> Can you use the static functions KFileView::sortingKey() to set up the sort
> keys?
Fisrst I have to say that I have not much experience and knowledge(as you
might have seen in the patch), so this is only my personal view.
Wouldn't using KFileView()::sortingKey() only increase the programming amount?
You still have to create "any string that should be used as sort
criterion"(first argument). In addition you have to find out, whether the
file is a directory(second argument) and to OR together QDir::IgnoreCase,
QDir::Reversed(doesn't even affect the resulting QString) and QDir::DirsFirst
if they apply(third argument). So I can't see what this additional
programming effort is good for. It would only be usefull if the third
argument would also accept QDir::Name, QDir::Time and QDir::Size and make a
sensible sort criterion out of it.
Please correct me if I am wrong.
Greetings
Anna Nymos
__________________________________________________________________
Gesendet von Yahoo! Mail - http://mail.yahoo.de
Bis zu 100 MB Speicher bei http://premiummail.yahoo.de
More information about the kfm-devel
mailing list