how to get the last listviewitem in a listview?

Dung Patrick dkt at digitalme.com
Mon Apr 15 17:41:16 BST 2002


i use qt 2.3.1, no such method...

-----Original Message-----
From: Jeremy Webster <jwebster at olemiss.edu>
To: dkt at digitalme.com, qt-interest at trolltech.com, kdevelop at kdevelop.org
Date: Mon, 15 Apr 2002 09:40:54 -0400
Subject: Re: how to get the last listviewitem in a listview?

Hey, how about
	listView->lastItem();
:)


On Monday 15 April 2002 01:01 am, Dung Patrick wrote:
> can i use this method?
>
> QListViewItem * item1 = listView->firstChild();
>
> while ( (item1) && (item1->itemBelow() ) {
>     item1=item1->itemBelow();
> }





-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list