Hey,

I have a QListView from which I obtain a QAbstractItemModel with list->model();

After this, I want to connect the dataChanged signal to a custom QObject of mine:

Qt Code:
  1. if( QObject::connect(model, SIGNAL(dataChanged (const QModelIndex , const QModelIndex ) ),
  2. customObject_,SLOT(onText(const QModelIndex , const QModelIndex )) ) )
  3. Proxy::write("SIGNAL SLOT connection successful");
  4. else
  5. Proxy::write("SIGNAL SLOT connection ERROR");
To copy to clipboard, switch view to plain text mode 

here is my custom object:
Qt Code:
  1. class CustomObject : public QObject
  2. {
  3. Q_OBJECT
  4.  
  5. public:
  6. CustomObject (QObject *parent);
  7. ~CustomObject ();
  8.  
  9. public slots:
  10. void onText(const QModelIndex & topLeft, const QModelIndex & bottomRight );
  11.  
  12. private:
  13.  
  14. };
To copy to clipboard, switch view to plain text mode 
what am I doing wrong? I have a cout in the onText function, but nothing is ever printed when the QListView is Changed.