- public:
- BufferWidget(QString netname, QString bufname, bool active, QString ownNick, QList<Message> contents, QWidget *parent = 0);
-
- void setActive(bool act = true);
- signals:
- void userInput(QString);
-
- public slots:
- void displayMsg(Message);
- void updateNickList(VarMap nicks);
- void setOwnNick(QString ownNick);
- void setTopic(QString topic);
- void renderContents();
- void scrollToEnd();
-
- private slots:
- void enterPressed();
- void itemExpansionChanged(QTreeWidgetItem *);
- void updateTitle();
-
- private:
- Ui::BufferWidget ui;
- bool active;
- QList<Message> contents;
-
- QString stdCol, errorCol, noticeCol, joinCol, quitCol, partCol, kickCol, serverCol, nickCol, inactiveCol;
- QString CSS;
- QString networkName;
- QString bufferName;