Changeset 6466 for trunk/qt4-gui/src/core
- Timestamp:
- 07/25/08 04:15:48 (4 months ago)
- Location:
- trunk/qt4-gui/src/core
- Files:
-
- 4 modified
-
licqgui.cpp (modified) (6 diffs)
-
licqkimiface.cpp (modified) (1 diff)
-
mainwin.cpp (modified) (4 diffs)
-
systemmenu.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt4-gui/src/core/licqgui.cpp
r6463 r6466 687 687 } 688 688 689 ICQOwner* o = gUserManager.FetchOwner(ppid, LOCK_R);689 const ICQOwner* o = gUserManager.FetchOwner(ppid, LOCK_R); 690 690 if (o == NULL) 691 691 return; … … 1165 1165 FOR_EACH_PROTO_PLUGIN_START(myLicqDaemon) 1166 1166 { 1167 ICQOwner* o = gUserManager.FetchOwner((*_ppit)->PPID(), LOCK_R);1167 const ICQOwner* o = gUserManager.FetchOwner((*_ppit)->PPID(), LOCK_R); 1168 1168 if (o == NULL) 1169 1169 continue; … … 1191 1191 FOR_EACH_PROTO_PLUGIN_START(myLicqDaemon) 1192 1192 { 1193 ICQOwner* o = gUserManager.FetchOwner((*_ppit)->PPID(), LOCK_R);1193 const ICQOwner* o = gUserManager.FetchOwner((*_ppit)->PPID(), LOCK_R); 1194 1194 if (o == NULL) 1195 1195 continue; … … 1273 1273 1274 1274 // Do system messages first 1275 ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R);1275 const ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 1276 1276 unsigned short numMsg = 0; 1277 1277 if (o != NULL) … … 1427 1427 unsigned short popCheck = 99; 1428 1428 1429 ICQOwner* o = gUserManager.FetchOwner(ppid, LOCK_R);1429 const ICQOwner* o = gUserManager.FetchOwner(ppid, LOCK_R); 1430 1430 if (o != NULL) 1431 1431 { … … 1651 1651 // Fetch current status 1652 1652 unsigned short status = ICQ_STATUS_OFFLINE; 1653 ICQOwner* o = gUserManager.FetchOwner(nPPID, LOCK_R);1653 const ICQOwner* o = gUserManager.FetchOwner(nPPID, LOCK_R); 1654 1654 if (o != NULL) 1655 1655 { -
trunk/qt4-gui/src/core/licqkimiface.cpp
r6463 r6466 95 95 QStringList LicqKIMIface::reachableContacts() 96 96 { 97 ICQOwner* owner = gUserManager.FetchOwner(LOCK_R);97 const ICQOwner* owner = gUserManager.FetchOwner(LOCK_R); 98 98 bool offline = owner->StatusOffline(); 99 99 gUserManager.DropOwner(); -
trunk/qt4-gui/src/core/mainwin.cpp
r6463 r6466 129 129 130 130 myCaption = "Licq"; 131 ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R);131 const ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 132 132 if (o != NULL) 133 133 { … … 615 615 616 616 myCaption = "Licq (|)"; 617 ICQOwner* o = gUserManager.FetchOwner(ppid, LOCK_R);617 const ICQOwner* o = gUserManager.FetchOwner(ppid, LOCK_R); 618 618 if (o != NULL) 619 619 { … … 817 817 IconManager* iconman = IconManager::instance(); 818 818 819 ICQOwner* o = gUserManager.FetchOwner(nPPID, LOCK_R);819 const ICQOwner* o = gUserManager.FetchOwner(nPPID, LOCK_R); 820 820 if (o != NULL) 821 821 { … … 908 908 { 909 909 //TODO iterate all owners that support fetching away message 910 ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R);910 const ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 911 911 912 912 if (o == NULL) -
trunk/qt4-gui/src/core/systemmenu.cpp
r6374 r6466 374 374 void SystemMenu::aboutToShowFollowMeMenu() 375 375 { 376 ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R);376 const ICQOwner* o = gUserManager.FetchOwner(LICQ_PPID, LOCK_R); 377 377 if (o == NULL) 378 378 return; … … 654 654 void OwnerData::aboutToShowStatusMenu() 655 655 { 656 ICQOwner* o = gUserManager.FetchOwner(myPpid, LOCK_R);656 const ICQOwner* o = gUserManager.FetchOwner(myPpid, LOCK_R); 657 657 if (o == NULL) 658 658 return; … … 675 675 void OwnerData::viewInfo() 676 676 { 677 ICQOwner* o = gUserManager.FetchOwner(myPpid, LOCK_R);677 const ICQOwner* o = gUserManager.FetchOwner(myPpid, LOCK_R); 678 678 if (o == NULL) 679 679 return; … … 686 686 void OwnerData::viewHistory() 687 687 { 688 ICQOwner* o = gUserManager.FetchOwner(myPpid, LOCK_R);688 const ICQOwner* o = gUserManager.FetchOwner(myPpid, LOCK_R); 689 689 if (o == NULL) 690 690 return;
