Changeset 6463 for trunk/qt4-gui/src/core
- Timestamp:
- 07/24/08 04:08:58 (4 months ago)
- Location:
- trunk/qt4-gui/src/core
- Files:
-
- 4 modified
-
licqgui.cpp (modified) (7 diffs)
-
licqkimiface.cpp (modified) (2 diffs)
-
mainwin.cpp (modified) (1 diff)
-
usermenu.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt4-gui/src/core/licqgui.cpp
r6430 r6463 725 725 parent = myMainWindow; 726 726 727 ICQUser* u = gUserManager.FetchUser(id.toLatin1(), ppid, LOCK_R);727 const ICQUser* u = gUserManager.FetchUser(id.toLatin1(), ppid, LOCK_R); 728 728 if (u == NULL) 729 729 return true; … … 1065 1065 return; 1066 1066 1067 ICQUser* u = gUserManager.FetchUser(id.toLatin1(), ppid, LOCK_R);1067 const ICQUser* u = gUserManager.FetchUser(id.toLatin1(), ppid, LOCK_R); 1068 1068 1069 1069 if (u == NULL) … … 1221 1221 if (Config::Chat::instance()->msgChatView()) 1222 1222 { 1223 ICQUser* u = NULL;1223 const ICQUser* u = NULL; 1224 1224 if (ppid == 0) 1225 1225 { … … 1311 1311 if (id.isEmpty() || ppid == 0) 1312 1312 return; 1313 ICQUser* u = gUserManager.FetchUser(id.toLatin1(), ppid, LOCK_R);1313 const ICQUser* u = gUserManager.FetchUser(id.toLatin1(), ppid, LOCK_R); 1314 1314 if (u == NULL) 1315 1315 return; … … 1403 1403 unsigned long ppid = sig->PPID(); 1404 1404 1405 ICQUser* u = gUserManager.FetchUser(id.toLatin1(), ppid, LOCK_R);1405 const ICQUser* u = gUserManager.FetchUser(id.toLatin1(), ppid, LOCK_R); 1406 1406 if (u == NULL) 1407 1407 { … … 1454 1454 if (Config::Chat::instance()->autoPopup() >= popCheck) 1455 1455 { 1456 ICQUser* u = gUserManager.FetchUser(id.toLatin1(), ppid, LOCK_R);1456 const ICQUser* u = gUserManager.FetchUser(id.toLatin1(), ppid, LOCK_R); 1457 1457 if (u != NULL) 1458 1458 { … … 1500 1500 case USER_TYPING: 1501 1501 { 1502 ICQUser* u = gUserManager.FetchUser(id.toLatin1(), ppid, LOCK_R);1502 const ICQUser* u = gUserManager.FetchUser(id.toLatin1(), ppid, LOCK_R); 1503 1503 if (u == NULL) 1504 1504 break; -
trunk/qt4-gui/src/core/licqkimiface.cpp
r6365 r6463 406 406 407 407 // check if user exists 408 ICQUser* pUser = gUserManager.FetchUser(contactId.latin1(), PPID, LOCK_R);408 const ICQUser* pUser = gUserManager.FetchUser(contactId.latin1(), PPID, LOCK_R); 409 409 if (pUser != 0) 410 410 { … … 489 489 490 490 // check if user already exists 491 ICQUser* pUser = gUserManager.FetchUser(contactId.latin1(), PPID, LOCK_R);491 const ICQUser* pUser = gUserManager.FetchUser(contactId.latin1(), PPID, LOCK_R); 492 492 if (pUser != 0) 493 493 { -
trunk/qt4-gui/src/core/mainwin.cpp
r6374 r6463 633 633 } 634 634 635 ICQUser* u = gUserManager.FetchUser(id.toLatin1(), ppid, LOCK_R);635 const ICQUser* u = gUserManager.FetchUser(id.toLatin1(), ppid, LOCK_R); 636 636 if (u == NULL) 637 637 { -
trunk/qt4-gui/src/core/usermenu.cpp
r6454 r6463 227 227 void UserMenu::aboutToShowMenu() 228 228 { 229 ICQUser* u = gUserManager.FetchUser(myId.toLatin1(), myPpid, LOCK_R);229 const ICQUser* u = gUserManager.FetchUser(myId.toLatin1(), myPpid, LOCK_R); 230 230 231 231 int status = (u == NULL ? ICQ_STATUS_OFFLINE : u->Status()); … … 568 568 if (gid == GROUP_IGNORE_LIST && !action->isChecked()) 569 569 { 570 ICQUser* u = gUserManager.FetchUser(myId.toLatin1(), myPpid, LOCK_R);570 const ICQUser* u = gUserManager.FetchUser(myId.toLatin1(), myPpid, LOCK_R); 571 571 if (u == NULL) 572 572 return;
