Show
Ignore:
Timestamp:
05/11/08 06:43:50 (7 months ago)
Author:
eugene
Message:

Made automatic list scrolling be optional.

Location:
trunk/qt4-gui/src/config
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt4-gui/src/config/contactlist.cpp

    r6156 r6191  
    6363  iniFile.ReadBool("ScrollBar", myAllowScrollBar, true); 
    6464  iniFile.ReadBool("SystemBackground", myUseSystemBackground, false); 
     65  iniFile.ReadBool("AutoScrolling", myAutoScroll, true); 
    6566 
    6667  unsigned short flash; 
     
    128129  iniFile.WriteBool("ScrollBar", myAllowScrollBar); 
    129130  iniFile.WriteBool("SystemBackground", myUseSystemBackground); 
     131  iniFile.WriteBool("AutoScrolling", myAutoScroll); 
    130132 
    131133  iniFile.WriteNum("NumColumns", myColumnCount); 
     
    311313} 
    312314 
     315void Config::ContactList::setAutoScroll(bool autoScroll) 
     316{ 
     317  myAutoScroll = autoScroll; 
     318} 
     319 
    313320void Config::ContactList::setShowDividers(bool showDividers) 
    314321{ 
  • trunk/qt4-gui/src/config/contactlist.h

    r6156 r6191  
    110110  bool allowScrollBar() const { return myAllowScrollBar; } 
    111111  bool useSystemBackground() const { return myUseSystemBackground; } 
     112  bool autoScroll() const { return myAutoScroll; } 
    112113 
    113114  bool popupPicture() const { return myPopupPicture; } 
     
    160161  void setAllowScrollBar(bool allowScrollBar); 
    161162  void setUseSystemBackground(bool useSystemBackground); 
     163  void setAutoScroll(bool autoScroll); 
    162164 
    163165  void setPopupPicture(bool popupPicture); 
     
    240242  bool myAllowScrollBar; 
    241243  bool myUseSystemBackground; 
     244  bool myAutoScroll; 
    242245 
    243246  // Contact list sorting