-
-const QString &MessageFilter::bufferName() const {
- if(_bufferName.isEmpty()) {
- MessageFilter *that = const_cast<MessageFilter *>(this);
- that->_bufferName = Client::networkModel()->bufferName(singleBufferId());
- return that->_bufferName;
- }
- return _bufferName;
-}
-
-BufferInfo::Type MessageFilter::bufferType() const {
- if(_bufferType == BufferInfo::InvalidBuffer) {
- MessageFilter *that = const_cast<MessageFilter *>(this);
- that->_bufferType = Client::networkModel()->bufferType(singleBufferId());
- return that->_bufferType;
- }
- return _bufferType;
-}