Changeset 6156 for trunk/qt4-gui/src/config
- Timestamp:
- 04/17/08 03:04:12 (8 months ago)
- Location:
- trunk/qt4-gui/src/config
- Files:
-
- 2 modified
-
contactlist.cpp (modified) (3 diffs)
-
contactlist.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt4-gui/src/config/contactlist.cpp
r6126 r6156 59 59 iniFile.ReadNum("TVGroupStates", myGroupStates, 0xFFFFFFFE); 60 60 iniFile.ReadBool("ShowExtIcons", myShowExtendedIcons, true); 61 iniFile.ReadBool("ShowPhoneIcons", myShowPhoneIcons, true); 61 62 iniFile.ReadBool("ShowUserIcons", myShowUserIcons, true); 62 63 iniFile.ReadBool("ScrollBar", myAllowScrollBar, true); … … 122 123 iniFile.WriteNum("TVGroupStates", myGroupStates); 123 124 iniFile.WriteBool("ShowExtIcons", myShowExtendedIcons); 125 iniFile.WriteBool("ShowPhoneIcons", myShowPhoneIcons); 124 126 iniFile.WriteBool("ShowUserIcons", myShowUserIcons); 125 127 iniFile.WriteNum("Flash", static_cast<unsigned short>(myFlash)); … … 259 261 } 260 262 263 void Config::ContactList::setShowPhoneIcons(bool showPhoneIcons) 264 { 265 if (showPhoneIcons == myShowPhoneIcons) 266 return; 267 268 myShowPhoneIcons = showPhoneIcons; 269 270 changeListLook(); 271 } 272 261 273 void Config::ContactList::setShowUserIcons(bool showUserIcons) 262 274 { -
trunk/qt4-gui/src/config/contactlist.h
r5885 r6156 105 105 bool sortColumnAscending() const { return mySortColumnAscending; } 106 106 bool showExtendedIcons() const { return myShowExtendedIcons; } 107 bool showPhoneIcons() const { return myShowPhoneIcons; } 107 108 bool showUserIcons() const { return myShowUserIcons; } 108 109 FlashMode flash() const { return myFlash; } … … 154 155 void setGroupState(unsigned short group, bool expanded); 155 156 void setShowExtendedIcons(bool showExtendedIcons); 157 void setShowPhoneIcons(bool showPhoneIcons); 156 158 void setShowUserIcons(bool showUserIcons); 157 159 void setFlash(FlashMode flash); … … 233 235 bool myShowDividers; 234 236 bool myShowExtendedIcons; 237 bool myShowPhoneIcons; 235 238 bool myShowUserIcons; 236 239 FlashMode myFlash;
