[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: qlistview - sorting
From:       Carsten Pfeiffer <carpdjih () cetus ! zrz ! tu-berlin ! de>
Date:       2002-04-01 10:06:24
[Download RAW message or body]

On Monday 01 April 2002 01:09, Guenter Schwann wrote:

> Is there a way to get information about the sorting of a QListView-widget?
> I only found a way to set the information (setSorting(int,bool)). But how
> do I get the information? I'd like to save the sorting-mode, to "resort" in
> the same way at the next app-startup.

You can use int KListView::columnSorted() and bool ascendingSort(). Or even 
easier, just use saveLayout() and restoreLayout().

Cheers
Carsten Pfeiffer
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic