- : SettingsPage(tr("General"), tr("Chat Monitor"), parent) {
- ui.setupUi(this);
-
- ui.activateBuffer->setIcon(SmallIcon("go-next"));
- ui.deactivateBuffer->setIcon(SmallIcon("go-previous"));
-
- // setup available buffers config (for the bufferview on the left)
- _configAvailable = new BufferViewConfig(-667, this);
- _configAvailable->setBufferViewName("tmpChatMonitorAvailableBuffers");
- _configAvailable->setSortAlphabetically(true);
- _configAvailable->setDisableDecoration(true);
- _configAvailable->setNetworkId(NetworkId());
- _configAvailable->setInitialized();
-
- // setup active buffers config (for the bufferview on the right)
- _configActive = new BufferViewConfig(-666, this);
- _configActive->setBufferViewName("tmpChatMonitorActiveBuffers");
- _configActive->setSortAlphabetically(true);
- _configActive->setDisableDecoration(true);
- _configActive->setNetworkId(NetworkId());
- _configActive->setInitialized();
-
- // fill combobox with operation modes
- ui.operationMode->addItem(tr("Opt In"), ChatViewSettings::OptIn);
- ui.operationMode->addItem(tr("Opt Out"), ChatViewSettings::OptOut);
-
- // connect slots
- connect(ui.operationMode, SIGNAL(currentIndexChanged(int)), SLOT(switchOperationMode(int)));
- connect(ui.showHighlights, SIGNAL(toggled(bool)), SLOT(widgetHasChanged()));
- connect(ui.showOwnMessages, SIGNAL(toggled(bool)), SLOT(widgetHasChanged()));
+ : SettingsPage(tr("Interface"), tr("Chat Monitor"), parent)
+{
+ ui.setupUi(this);
+
+ ui.activateBuffer->setIcon(icon::get("go-next"));
+ ui.deactivateBuffer->setIcon(icon::get("go-previous"));
+
+ // setup available buffers config (for the bufferview on the left)
+ _configAvailable = new BufferViewConfig(-667, this);
+ _configAvailable->setBufferViewName("tmpChatMonitorAvailableBuffers");
+ _configAvailable->setSortAlphabetically(true);
+ _configAvailable->setDisableDecoration(true);
+ _configAvailable->setNetworkId(NetworkId());
+ _configAvailable->setInitialized();
+
+ // setup active buffers config (for the bufferview on the right)
+ _configActive = new BufferViewConfig(-666, this);
+ _configActive->setBufferViewName("tmpChatMonitorActiveBuffers");
+ _configActive->setSortAlphabetically(true);
+ _configActive->setDisableDecoration(true);
+ _configActive->setNetworkId(NetworkId());
+ _configActive->setInitialized();
+
+ // fill combobox with operation modes
+ ui.operationMode->addItem(tr("Opt In"), ChatViewSettings::OptIn);
+ ui.operationMode->addItem(tr("Opt Out"), ChatViewSettings::OptOut);
+
+ // connect slots
+ connect(ui.operationMode, SIGNAL(currentIndexChanged(int)), SLOT(switchOperationMode(int)));
+ connect(ui.showHighlights, SIGNAL(toggled(bool)), SLOT(widgetHasChanged()));
+ connect(ui.showOwnMessages, SIGNAL(toggled(bool)), SLOT(widgetHasChanged()));
+ connect(ui.alwaysOwn, SIGNAL(toggled(bool)), SLOT(widgetHasChanged()));
+ connect(ui.showBacklog, SIGNAL(toggled(bool)), SLOT(widgetHasChanged()));
+ connect(ui.includeRead, SIGNAL(toggled(bool)), SLOT(widgetHasChanged()));