klistview header click event.
David Harel
hareldvd at ergolight-sw.com
Sun Feb 15 19:54:37 GMT 2004
Hi,
I am interested in running a slot function to a click() event whenever a
user clicks on the title of a KListView item.
My development environment is KDE3.2 and corresponding QT. Kdevelop 3.0
as from the site:
ftp://ftp.kde.org/pub/kde/stable/3.2
Code example:
KListView * mylistview;
.
.
.
mylistview = new KListView(this);
connect(mylistview->header(), SIGNAL( clicked()), this, SLOT(
myclickfunction() ) );
On run time I get the following error messages:
QObject::connect: No such signal QHeader::clicked()
QObject::connect: (sender name: 'list view header')
QObject::connect: (receiver name: 'unnamed')
I also tried it with QListView that inherits to KListView but got the same error.
Any idea?
--
Thanks.
David Harel,
==================================
Home office +972 4 6921986
Fax: +972 4 6921986
Cellular: +972 54 534502
Snail Mail: Amuka
D.N Merom Hagalil
13802
Israel
Email: hareldvd at ergolight-sw.com
-
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