X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fqtui%2Fsettingspages%2Fhighlightsettingspage.cpp;h=db5982e9eb76906f389837d158e0184c15f0da2e;hb=b40672ab5c48b577b31371c159e60d330fdd7ce5;hp=443bde1dea6a7ec25d450b658cc9980e61f0fbee;hpb=0182f0e3977026de65be1edb6ca1e8d7ea0184fd;p=quassel.git diff --git a/src/qtui/settingspages/highlightsettingspage.cpp b/src/qtui/settingspages/highlightsettingspage.cpp index 443bde1d..db5982e9 100644 --- a/src/qtui/settingspages/highlightsettingspage.cpp +++ b/src/qtui/settingspages/highlightsettingspage.cpp @@ -20,12 +20,14 @@ #include "highlightsettingspage.h" +#include +#include + #include "client.h" +#include "icon.h" #include "qtui.h" #include "uisettings.h" -#include -#include HighlightSettingsPage::HighlightSettingsPage(QWidget *parent) : SettingsPage(tr("Interface"), @@ -62,8 +64,8 @@ HighlightSettingsPage::HighlightSettingsPage(QWidget *parent) ui.highlightTable->horizontalHeaderItem(HighlightSettingsPage::CsColumn)->toolTip()); ui.highlightTable->horizontalHeaderItem(HighlightSettingsPage::ChanColumn)->setToolTip( - tr("

Channel: Semicolon separated list of channel names, leave blank to " - "match any name.

" + tr("

Channel: Semicolon separated list of channel/query names, leave " + "blank to match any name.

" "

Example:
" "#quassel*; #foobar; !#quasseldroid
" "would match on #foobar and any channel starting with #quassel " @@ -92,7 +94,7 @@ HighlightSettingsPage::HighlightSettingsPage(QWidget *parent) #endif // Information icon - ui.localHighlightsIcon->setPixmap(QIcon::fromTheme("dialog-information").pixmap(16)); + ui.localHighlightsIcon->setPixmap(icon::get("dialog-information").pixmap(16)); // Set up client/monolithic local highlights information if (Quassel::runMode() == Quassel::Monolithic) { @@ -128,7 +130,7 @@ bool HighlightSettingsPage::hasDefaults() const void HighlightSettingsPage::defaults() { - ui.highlightNoNick->setChecked(true); + ui.highlightCurrentNick->setChecked(true); ui.nicksCaseSensitive->setChecked(false); emptyTable(); @@ -174,8 +176,8 @@ void HighlightSettingsPage::addNewRow(QString name, bool regex, bool cs, bool en tr("CS: This option determines if the highlight rule and Channel " "should be interpreted case sensitive.")); chanNameItem->setToolTip( - tr("

Channel: Semicolon separated list of channel names, leave blank to " - "match any name.

" + tr("

Channel: Semicolon separated list of channel/query names, leave " + "blank to match any name.

" "

Example:
" "#quassel*; #foobar; !#quasseldroid
" "would match on #foobar and any channel starting with #quassel "