bug #86756: klistview::selectedItems() returns hidden items

Ingo Klöcker kloecker at kde.org
Sat Sep 18 18:29:30 BST 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040918/b3a0bc5b/attachment.sig>


More information about the kde-core-devel mailing list