This is probably a stupid mistake on my part, but every time I try to pass a blank QString, the compiler seems to think I have a QByteArray :

"no matching function for call to 'LemonadeCommandClient::LemonadeCommandClient(QByt eArray)'"

I've tried all kinds of different ways of passing it:
lemonade_status( QString::null ) (original)
lemonade_status( QString::Null() )
lemonade_status( QString( "" ) )
lemonade_status((QString)QString::Null())

This is a port from Qt3 to Qt4.

Here is my original constructor:
Qt Code:
  1. LemnAdeCmdClient::LemnAdeCmdClient(const QString server)
  2. : LemonadeCommandClient(server.toAscii()),
  3. connect_state(0),
  4. command(QString::null),
  5. lemonade_status(QString::null)
To copy to clipboard, switch view to plain text mode 

Also, here's another point of confusion on my part. I received this code from someone else. It looks like there's multiple inheritance going on here, but connect_state, command, and lemonade_status seem to be data members. Does that make sense? Also, it seems to accept the QString::null for command, but not for lemonade_status.

Any help?