Show
Ignore:
Timestamp:
06/14/08 06:24:08 (6 months ago)
Author:
flynd
Message:

Changed some calls to daemon to not use uin version of functions.

Location:
trunk/qt4-gui/src/dialogs
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt4-gui/src/dialogs/keyrequestdlg.cpp

    r5837 r6294  
    148148void KeyRequestDlg::openConnection() 
    149149{ 
    150   //TODO fix this in daemon 
    151   bool ok; 
    152   unsigned long uin = myId.toULong(&ok); 
    153   if (ok && myPpid == LICQ_PPID) 
    154     myIcqEventTag = gLicqDaemon->icqOpenSecureChannel(uin); 
     150  if (myPpid == LICQ_PPID) 
     151    myIcqEventTag = gLicqDaemon->icqOpenSecureChannel(myId.toLatin1().data()); 
    155152} 
    156153 
    157154void KeyRequestDlg::closeConnection() 
    158155{ 
    159   //TODO fix this in daemon 
    160   bool ok; 
    161   unsigned long uin = myId.toULong(&ok); 
    162   if (ok && myPpid == LICQ_PPID) 
    163     myIcqEventTag = gLicqDaemon->icqCloseSecureChannel(uin); 
     156  if (myPpid == LICQ_PPID) 
     157    myIcqEventTag = gLicqDaemon->icqCloseSecureChannel(myId.toLatin1().data()); 
    164158} 
    165159 
  • trunk/qt4-gui/src/dialogs/userinfodlg.cpp

    r6181 r6294  
    717717  { 
    718718    QString url; 
    719     url.sprintf("(http://%lu.homepage.icq.com/)", u->Uin()); 
     719    url.sprintf("(http://%s.homepage.icq.com/)", u->IdString()); 
    720720    lblICQHomepage->setText(tr("User has an ICQ Homepage ") + url); 
    721721  } 
  • trunk/qt4-gui/src/dialogs/userselectdlg.cpp

    r5837 r6294  
    9595    return; 
    9696  } 
    97   cmbUser->addItem(QString("%1 (%2)").arg(o->GetAlias()).arg(o->Uin())); 
     97  cmbUser->addItem(QString("%1 (%2)").arg(o->GetAlias()).arg(o->IdString())); 
    9898  edtPassword->setText(o->Password()); 
    9999  gUserManager.DropOwner();