[Qt-interest] error in moc file
Ramesh
ramesh.bs at robosoftin.com
Thu Mar 18 09:48:27 CET 2010
The thing is..
I have a class inherited from Qwidget, now in that class I will be creating
"Qlistview" object and filling up the items to view..
When the selection of items in the listview gets changed I want to get the
"selectionchange" event to come..
So how can I achieve this.. pls tell me in brief...
thanks
-----Original Message-----
From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Arnold Krille
Sent: Thursday, March 18, 2010 1:04 PM
To: qt-interest at trolltech.com
Subject: Re: [Qt-interest] error in moc file
On Thursday 18 March 2010 08:07:47 Ramesh wrote:
> I need to get the selection change event for the listview in Qt, I
> have a class inherited from Qwidget and Qlistview and I have mentioned
> the public slot in my class public slots:
> virtual void selectionChanged ( const QItemSelection & selected,
> const QItemSelection & deselected ); if I do like this and compile.. I
> m facing error in moc file can any body there to help..
We could try if you could at least tell us the error(-message). And maybe
the relevant header file...
Arnold
-----------------------------------------------
Robosoft Technologies - Come home to Technology
Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.
More information about the Qt-interest-old
mailing list