Changeset 4791 for trunk/qt-gui/src/mainwin.cpp
- Timestamp:
- 11/30/06 03:02:49 (2 years ago)
- Files:
-
- 1 modified
-
trunk/qt-gui/src/mainwin.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt-gui/src/mainwin.cpp
r4775 r4791 433 433 licqConf.ReadBool("AutoSendThroughServer", m_bAutoSendThroughServer, false); 434 434 licqConf.ReadBool("EnableMainwinMouseMovement", m_bEnableMainwinMouseMovement, true); 435 licqConf.ReadNum("ChatMessageStyle", m_nMsgStyle, 0); 436 licqConf.ReadBool("ChatAppendLinebreak", m_bAppendLineBreak, false); 435 licqConf.ReadNum("ChatMessageStyle", m_chatMsgStyle, 0); 436 licqConf.ReadBool("ChatVerticalSpacing", m_chatVertSpacing, true); 437 licqConf.ReadBool("ChatAppendLinebreak", m_chatAppendLineBreak, false); 437 438 licqConf.ReadBool("FlashTaskbar", m_bFlashTaskbar, true); 438 439 licqConf.ReadBool("ShowUserIcons", m_bShowUserIcons, true); … … 442 443 licqConf.ReadBool("CheckSpellingEnabled", m_bCheckSpellingEnabled, false); 443 444 licqConf.ReadStr("DateFormat", szTemp, "hh:mm:ss"); 444 m_nDateFormat = QString::fromLatin1(szTemp); 445 m_chatDateFormat = QString::fromLatin1(szTemp); 446 licqConf.ReadNum("HistoryMessageStyle", m_histMsgStyle, 0); 447 licqConf.ReadBool("HistoryVerticalSpacing", m_histVertSpacing, true); 448 licqConf.ReadStr("HistoryDateFormat", szTemp, "yyyy-MM-dd hh:mm:ss"); 449 m_histDateFormat = QString::fromLatin1(szTemp); 445 450 446 451 licqConf.ReadStr("ReceiveMessageColor", szTemp, "red"); … … 3577 3582 licqConf.WriteBool("CheckSpellingEnabled", m_bCheckSpellingEnabled); 3578 3583 3579 licqConf.WriteNum("ChatMessageStyle", m_nMsgStyle); 3580 licqConf.WriteBool("ChatAppendLinebreak", m_bAppendLineBreak); 3584 licqConf.WriteNum("ChatMessageStyle", m_chatMsgStyle); 3585 licqConf.WriteBool("ChatVerticalSpacing", m_chatVertSpacing); 3586 licqConf.WriteBool("ChatAppendLinebreak", m_chatAppendLineBreak); 3581 3587 licqConf.WriteStr("ReceiveMessageColor", m_colorRcv.name()); 3582 3588 licqConf.WriteStr("ReceiveHistoryColor", m_colorRcvHistory.name()); … … 3587 3593 licqConf.WriteStr("TabOnTypingColor", m_colorTabTyping.name()); 3588 3594 licqConf.WriteStr("ChatBackground", m_colorChatBkg.name()); 3589 licqConf.WriteStr("DateFormat", m_nDateFormat.latin1()); 3595 licqConf.WriteStr("DateFormat", m_chatDateFormat.latin1()); 3596 licqConf.WriteNum("HistoryMessageStyle", m_histMsgStyle); 3597 licqConf.WriteBool("HistoryVerticalSpacing", m_histVertSpacing); 3598 licqConf.WriteStr("HistoryDateFormat", m_histDateFormat.latin1()); 3590 3599 3591 3600 licqConf.WriteBool("showPopPicture", m_bPopPicture);
