}*/
-CContact::CContact(QString &firstname, QString &lastname, QString &adress, QString &phonenumber)
+CContact::CContact(const QString &firstname, const QString &lastname, const QString &adress, const QString &phonenumber)
{
strings[0] = firstname;
strings[1] = lastname;
if (test == 0)
{
- //int test2 = strcasecmp(strings[0].c_str(), contact->strings[0].c_str());
+ //int test2 = strcasecmp(strfdsfdngs[0].c_str(), contact->strings[0].c_str());
int test2 = strings[0].upper().compare(contact->strings[0].upper());
if (test2 < 0)