Changeset 5546
- Timestamp:
- 10/04/07 12:27:57 (13 months ago)
- Location:
- branches/qt-gui_qt4/src
- Files:
-
- 1 added
- 6 modified
-
config/iconmanager.cpp (modified) (3 diffs)
-
config/iconmanager.h (modified) (1 diff)
-
contactlist/contactlist.h (modified) (2 diffs)
-
contactlist/contactuserdata.cpp (modified) (3 diffs)
-
contactlist/contactuserdata.h (modified) (1 diff)
-
views/contactdelegate.cpp (modified) (1 diff)
-
xpm/pixAwaitingAuth.xpm (added)
Legend:
- Unmodified
- Added
- Removed
-
branches/qt-gui_qt4/src/config/iconmanager.cpp
r5537 r5546 38 38 #include "xpm/itemCollapsed.xpm" 39 39 #include "xpm/itemExpanded.xpm" 40 #include "xpm/pixAwaitingAuth.xpm" 40 41 #include "xpm/pixCustomAR.xpm" 41 42 #include "xpm/pixPhone.xpm" … … 212 213 LOAD_ICON("Invisible", InvisibleIcon, pixInvisible_xpm); 213 214 LOAD_ICON("Typing", TypingIcon, pixTyping_xpm); 215 LOAD_ICON("AwaitingAuth", AwaitingAuthIcon, pixAwaitingAuth_xpm); 214 216 LOAD_ICON("ICQphoneActive", IcqPhoneActiveIcon, pixICQphoneActive_xpm); 215 217 LOAD_ICON("ICQphoneBusy", IcqPhoneBusyIcon, pixICQphoneBusy_xpm); … … 235 237 return myIconMap[icon]; 236 238 237 printf("IconManager::getIcon - returning empty icon for %i\n", icon);239 qWarning("IconManager::getIcon - returning empty icon for IconType=%i", icon); 238 240 return myEmptyIcon; 239 241 } -
branches/qt-gui_qt4/src/config/iconmanager.h
r5422 r5546 73 73 InvisibleIcon, 74 74 TypingIcon, 75 AwaitingAuthIcon, 75 76 CustomArIcon, 76 77 CollapsedIcon, -
branches/qt-gui_qt4/src/contactlist/contactlist.h
r5528 r5546 143 143 IcqPhoneBusyStatusBit, 144 144 SharedFilesStatusBit, 145 AwaitingAuthBit, 145 146 TypingStatusBit, 146 147 SecureStatusBit, … … 164 165 static const unsigned long IcqPhoneBusyStatus = 1 << IcqPhoneBusyStatusBit; 165 166 static const unsigned long SharedFilesStatus = 1 << SharedFilesStatusBit; 167 static const unsigned long AwaitingAuthStatus = 1 << AwaitingAuthBit; 166 168 static const unsigned long TypingStatus = 1 << TypingStatusBit; 167 169 static const unsigned long SecureStatus = 1 << SecureStatusBit; -
branches/qt-gui_qt4/src/contactlist/contactuserdata.cpp
r5545 r5546 164 164 myStatusFull = u->StatusFull(); 165 165 myStatusInvisible = u->StatusInvisible(); 166 myStatusAwaitingAuth = u->GetAwaitingAuth(); 166 167 myStatusTyping = u->GetTyping() == ICQ_TYPING_ACTIVE; 167 168 myPhoneFollowMeStatus = u->PhoneFollowMeStatus(); … … 197 198 198 199 updateText(u); 199 200 myStatusFull = u->StatusFull();201 202 200 203 201 if (u->GetPicturePresent()) … … 316 314 myExtendedStatus |= ContactListModel::SharedFilesStatus; 317 315 316 if (myStatusAwaitingAuth) 317 myExtendedStatus |= ContactListModel::AwaitingAuthStatus; 318 318 319 if (myCustomAR) 319 320 myExtendedStatus |= ContactListModel::CustomArStatus; -
branches/qt-gui_qt4/src/contactlist/contactuserdata.h
r5528 r5546 211 211 unsigned long myStatusFull; 212 212 int myEvents; 213 bool myStatusInvisible, myStatusTyping, myCustomAR, mySecure, myFlash, myBirthday, myPhone, myCellular, myGPGKey, myGPGKeyEnabled; 213 bool myStatusInvisible, myStatusTyping, myStatusAwaitingAuth, myCustomAR, mySecure; 214 bool myFlash, myBirthday, myPhone, myCellular, myGPGKey, myGPGKeyEnabled; 214 215 bool myNewUser, myNotInList; 215 216 bool myInIgnoreList, myInOnlineNotify, myInInvisibleList, myInVisibleList; -
branches/qt-gui_qt4/src/views/contactdelegate.cpp
r5544 r5546 328 328 && Config::ContactList::instance()->showExtendedIcons()) // ...+ extended icons are enabled 329 329 { 330 // pmAwaitingAuth 331 if (extStatus & ContactListModel::AwaitingAuthStatus) 332 drawExtIcon(p, width, height, align, w, IconManager::AwaitingAuthIcon); 333 330 334 // pmPhone 331 335 if (extStatus & ContactListModel::PhoneStatus)
