Changeset 4791 for trunk/qt-gui/src/ewidgets.h
- Timestamp:
- 11/30/06 03:02:49 (2 years ago)
- Files:
-
- 1 modified
-
trunk/qt-gui/src/ewidgets.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qt-gui/src/ewidgets.h
r4736 r4791 33 33 #include <qsize.h> 34 34 #include <qlistview.h> 35 #include <qstringlist.h> 35 36 36 37 #include "mlview.h" … … 199 200 CMainWindow *mainwin; 200 201 public: 202 static QStringList getStyleNames(bool includeHistoryStyles = false); 203 201 204 CMessageViewWidget(const char *szId, unsigned long nPPID, 202 CMainWindow *m, QWidget *parent = 0, const char *name = 0 );205 CMainWindow *m, QWidget *parent = 0, const char *name = 0, bool historyMode = false); 203 206 CMessageViewWidget(unsigned long _nUin, CMainWindow *m, 204 QWidget* parent=0, const char * name =0);207 QWidget* parent = 0, const char *name = 0, bool historyMode = false); 205 208 virtual ~CMessageViewWidget(); 206 209 207 210 void setOwner(const char *szId); 211 void updateContent(); 212 void clear(); 208 213 void addMsg(direction dir, bool fromHistory, QString eventDescription, QDateTime date, 209 214 bool isDirect, bool isMultiRec, bool isUrgent, bool isEncrypted, … … 213 218 unsigned short m_nMsgStyle; 214 219 QString m_nDateFormat; 215 bool m_bAppendLineBreak; 220 bool m_extraSpacing; 221 bool m_appendLineBreak; 222 bool m_useBuffer; 216 223 QColor m_colorRcvHistory; 217 224 QColor m_colorSntHistory; … … 223 230 virtual void addMsg(CUserEvent *, const char * = 0, unsigned long = 0); 224 231 void addMsg(ICQEvent *); 232 233 private: 234 void internalAddMsg(QString s); 235 QString m_buffer; 225 236 }; 226 237
