Changeset 6173 for trunk/qt4-gui/src/config
- Timestamp:
- 04/27/08 22:47:06 (7 months ago)
- Location:
- trunk/qt4-gui/src/config
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt4-gui/src/config/chat.cpp
r6143 r6173 59 59 iniFile.ReadBool("AutoPosReplyWin", myAutoPosReplyWin, true); 60 60 iniFile.ReadBool("AutoSendThroughServer", myAutoSendThroughServer, false); 61 iniFile.ReadBool("NoSendClose", myShowSendClose, true); 62 myShowSendClose = !myShowSendClose; 61 iniFile.ReadBool("ShowChatDlgButtons", myShowDlgButtons, true); 63 62 iniFile.ReadNum("ChatMessageStyle", myChatMsgStyle, 0); 64 63 iniFile.ReadBool("ChatVerticalSpacing", myChatVertSpacing, true); … … 128 127 iniFile.WriteBool("AutoPosReplyWin", myAutoPosReplyWin); 129 128 iniFile.WriteBool("AutoSendThroughServer", myAutoSendThroughServer); 130 iniFile.WriteBool(" NoSendClose", !myShowSendClose);129 iniFile.WriteBool("ShowChatDlgButtons", myShowDlgButtons); 131 130 iniFile.WriteBool("FlashTaskbar", myFlashTaskbar); 132 131 iniFile.WriteBool("MsgWinSticky", myMsgWinSticky); … … 311 310 } 312 311 313 void Config::Chat::setShow SendClose(bool showSendClose)314 { 315 if (show SendClose == myShowSendClose)316 return; 317 318 myShow SendClose = showSendClose;312 void Config::Chat::setShowDlgButtons(bool showDlgButtons) 313 { 314 if (showDlgButtons == myShowDlgButtons) 315 return; 316 317 myShowDlgButtons = showDlgButtons; 319 318 } 320 319 -
trunk/qt4-gui/src/config/chat.h
r6143 r6173 74 74 bool autoPosReplyWin() const { return myAutoPosReplyWin; } 75 75 bool autoSendThroughServer() const { return myAutoSendThroughServer; } 76 bool show SendClose() const { return myShowSendClose; }76 bool showDlgButtons() const { return myShowDlgButtons; } 77 77 bool showAllEncodings() const { return myShowAllEncodings; } 78 78 QByteArray defaultEncoding() const { return myDefaultEncoding; } … … 124 124 void setAutoPosReplyWin(bool autoPosReplyWin); 125 125 void setAutoSendThroughServer(bool autoSendThroughServer); 126 void setShow SendClose(bool showSendClose);126 void setShowDlgButtons(bool showDlgButtons); 127 127 void setShowAllEncodings(bool showAllEncodings); 128 128 void setDefaultEncoding(QByteArray defaultEncoding); … … 172 172 bool myAutoPosReplyWin; 173 173 bool myAutoSendThroughServer; 174 bool myShow SendClose;174 bool myShowDlgButtons; 175 175 bool myShowAllEncodings; 176 176 bool myTabbedChatting;
