* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
+#include "buffer.h"
#include "client.h"
-#include "buffer.h"
#include "util.h"
-/*
-Buffer::Buffer(QString netname, QString bufname) {
- Buffer(BufferId(0, netname, bufname));
-
-
-}
-*/
Buffer::Buffer(BufferId bufid) {
id = bufid;
return layoutedMsgs;
}
-VarMap Buffer::nickList() const {
+QVariantMap Buffer::nickList() const {
return nicks;
}
emit bufferUpdated(this);
}
-void Buffer::addNick(QString nick, VarMap props) {
+void Buffer::addNick(QString nick, QVariantMap props) {
if(nick == ownNick()) setActive(true);
nicks[nick] = props;
emit nickListChanged(nicks);
}
-void Buffer::updateNick(QString nick, VarMap props) {
+void Buffer::updateNick(QString nick, QVariantMap props) {
nicks[nick] = props;
emit nickListChanged(nicks);
}
_ownNick = nick;
emit ownNickSet(nick);
}
-
-/****************************************************************************************/
-
-
-/****************************************************************************************/
-