Hello,

I've been reading a few posts and think I am suffering from too much information. I'm trying to find out why my QObject::connect call returns false when I use signal/slot methods with signatures that contain my own type (class DataTabParser):

Qt Code:
  1. struct parsedDataTag
  2. {
  3. char* data_value;
  4. unsigned int data_length;
  5. };
  6. class DataTabParser
  7. {
  8. public:
  9. DataTabParser ();
  10. ~DataTabParser ();
  11.  
  12. bool parseTabData (const char* parse_string, unsigned int total_length);
  13. const char* getDataValue (GameUpdateIndices index);
  14.  
  15. private:
  16. QString m_original_data;
  17. vector<struct parsedDataTag*> m_queue_data;
  18. unsigned int m_values_count;
  19. };
To copy to clipboard, switch view to plain text mode 

But, if I use a signal/slot methods with a QString or a char*or an int, etc. as arguments the connect returns true.

I see this error on the following connect call:

Qt Code:
  1. QObject::connect(m_emitter_class,
  2. SIGNAL(addParsedDataSignal (DataTabParser *&)),
  3. m_pkr_receiver_class,
  4. SLOT(addToTable(class DataTabParser *&)),
  5. Qt::QueuedConnection);
To copy to clipboard, switch view to plain text mode 
From Output Window:
Object::connect: No such slot QTPokerClient::addToTable(class DataTabParser*&)
Object::connect: (receiver name: 'QTPokerClientClass')



Then, after reading the following post I'm confused if I decide to use a QString, do I use a reference, do I use a const, what?

http://www.qtcentre.org/forum/f-qt-p...-qt4-3173.html

Here is my problem... I receive data on a socket, and I need to somehow get that data parsed and then inserted into a QTableWidget, and calling the Table draw code from the thread that receives the socket communication does not display properly (nothing displays).

Thanks for any help you all can provide,
Derrick