-QVariant IrcListModel::headerData(int section, Qt::Orientation orientation, int role) const {
- QStringList header;
- header << tr("Channel")
- << tr("Users")
- << tr("Topic");
-
- if(orientation == Qt::Horizontal && role == Qt::DisplayRole)
- return header[section];