[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: [PyKDE] setSelectionAnchor in wrong class?
From: Anders Quist <quest () strakt ! com>
Date: 2006-08-17 7:51:09
Message-ID: 7wk657hkb6.fsf () enki ! strakt ! com
[Download RAW message or body]
It seems to me that in current distribution of pyqt,
setSelectionAnchor is defined as a method of QListViewItem, rather
than on QListView, which is what Qt docs indicate. I suggest yon
patch:
--- sip/qt/qlistview.sip 2006-03-25 01:08:56.000000000 +0100
+++ sip/qt/qlistview.sip.new 2006-07-13 14:55:17.000000000 +0200
@@ -106,9 +106,6 @@
virtual void setOpen(bool);
virtual void setup();
virtual void setSelected(bool);
-%If (Qt_3_2_0 -)
- void setSelectionAnchor(QListViewItem *);
-%End
bool isSelected() const;
virtual void paintCell(QPainter *,const QColorGroup &,int,int,int);
virtual void paintBranches(QPainter *,const QColorGroup &,int,int,int,
@@ -384,6 +381,9 @@
%If (Qt_2_1_0 -)
QListViewItem *selectedItem() const;
%End
+%If (Qt_3_2_0 -)
+ void setSelectionAnchor(QListViewItem *);
+%End
virtual void setOpen(QListViewItem *,bool);
bool isOpen(QListViewItem *) const;
--
Anders Qvist, AB Strakt
_______________________________________________
PyKDE mailing list PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic