#include <QTextDocument> // for Qt::escape()
#include "buffermodel.h"
+#include "buffersettings.h"
#include "client.h"
-#include "signalproxy.h"
-#include "network.h"
+#include "clientsettings.h"
#include "ircchannel.h"
-
-#include "buffersettings.h"
-
-#include "util.h" // get rid of this (needed for isChannelName)
+#include "network.h"
+#include "signalproxy.h"
/*****************************************
* Network Items
toolTip.append(tr("<b>Mode:</b> %1").arg(channelMode));
}
- BufferSettings s;
- bool showTopic = s.value("DisplayTopicInTooltip", QVariant(false)).toBool();
+ ItemViewSettings s;
+ bool showTopic = s.displayTopicInTooltip();
if(showTopic) {
QString _topic = topic();
if(_topic != "") {
QList<QVariant >NetworkModel::defaultHeader() {
QList<QVariant> data;
- data << tr("Buffer") << tr("Topic") << tr("Nick Count");
+ data << tr("Chat") << tr("Topic") << tr("Nick Count");
return data;
}