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

List:       kde-core-devel
Subject:    Re: bug #86756: klistview::selectedItems() returns hidden items
From:       Ingo =?utf-8?q?Kl=C3=B6cker?= <kloecker () kde ! org>
Date:       2004-09-18 17:29:30
Message-ID: 200409181929.38344 () erwin ! ingo-kloecker ! de
[Download RAW message or body]


On Thursday 16 September 2004 01:13, Aaron Seigo wrote:
>    /**
>     * @return a list containing the currently selected items.
> +   *
> +   * @deprecated
>     */
> -  QPtrList<QListViewItem> selectedItems() const; // ### BIC: KDE 4: use an implicitly shared class! (QValueList?)
> + QPtrList<QListViewItem> selectedItems() const;

Additionally the API doc for selectedItems() should state that it's 
equivalent to selectedItems( true ), i.e.

   /**
-    * @return a list containing the currently selected items.
+   * @return a list containing the currently selected items (including hidden items).
+   *
+   * @deprecated Use selectedItems( true ) instead.
    */
-  QPtrList<QListViewItem> selectedItems() const; // ### BIC: KDE 4: use an implicitly shared class! (QValueList?)
+  QPtrList<QListViewItem> selectedItems() const;

Regards,
Ingo

[Attachment #3 (application/pgp-signature)]

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

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