Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 1 commit
  • 5 files changed
  • 0 commit comments
  • 1 contributor
View
1  huggle/configuration.cpp
@@ -439,6 +439,7 @@ QString Configuration::MakeLocalUserConfig()
configuration_ += " filter-me:" + Configuration::Bool2ExcludeRequire(fltr->getIgnoreSelf()) + "\n";
configuration_ += " filter-users:" + Configuration::Bool2ExcludeRequire(fltr->getIgnoreUsers()) + "\n";
configuration_ += " nsfilter-user:" + Configuration::Bool2ExcludeRequire(fltr->getIgnore_UserSpace()) + "\n";
+ configuration_ += " filter-talk:" + Configuration::Bool2ExcludeRequire(fltr->getIgnoreTalk()) + "\n";
configuration_ += "\n";
}
}
View
5 huggle/huggleparser.cpp
@@ -556,6 +556,11 @@ QList<HuggleQueueFilter*> HuggleParser::ConfigurationParseQueueList(QString cont
filter->setIgnoreFriends(F2B(val));
continue;
}
+ if (key == "filter-talk")
+ {
+ filter->setIgnoreTalk(F2B(val));
+ continue;
+ }
if (key == "filter-ip")
{
filter->setIgnoreIP(F2B(val));
View
12 huggle/hugglequeuefilter.hpp
@@ -71,6 +71,8 @@ namespace Huggle
void setIgnoreSelf(bool value);
bool IsDefault() const;
bool IsChangeable() const;
+ void setIgnoreTalk(bool value);
+ bool getIgnoreTalk() const;
bool getIgnoreReverts() const;
void setIgnoreReverts(bool value);
//! Name of this queue, must be unique
@@ -188,6 +190,16 @@ namespace Huggle
return this->IgnoreSelf;
}
+ inline void HuggleQueueFilter::setIgnoreTalk(bool value)
+ {
+ this->IgnoreTalk = value;
+ }
+
+ inline bool HuggleQueueFilter::getIgnoreTalk() const
+ {
+ return this->IgnoreTalk;
+ }
+
inline void HuggleQueueFilter::setIgnoreSelf(bool value)
{
this->IgnoreSelf = value;
View
4 huggle/preferences.cpp
@@ -159,6 +159,7 @@ void Huggle::Preferences::on_listWidget_itemSelectionChanged()
this->ui->checkBox_8->setChecked(f->getIgnoreNP());
this->ui->checkBox_9->setChecked(f->getIgnoreWL());
this->ui->checkBox_28->setChecked(f->getIgnore_UserSpace());
+ this->ui->checkBox_29->setChecked(f->getIgnoreTalk());
this->ui->checkBox_10->setChecked(f->getIgnoreFriends());
this->ui->checkBox_18->setChecked(f->getIgnoreReverts());
this->ui->checkBox_6->setChecked(f->getIgnoreSelf());
@@ -179,12 +180,14 @@ void Preferences::Disable()
this->ui->pushButton_6->setEnabled(false);
this->ui->checkBox_13->setEnabled(false);
this->ui->lineEdit->setEnabled(false);
+ this->ui->checkBox_29->setEnabled(false);
}
void Preferences::EnableQueues()
{
this->ui->lineEdit->setEnabled(true);
this->ui->checkBox_6->setEnabled(true);
+ this->ui->checkBox_29->setEnabled(true);
this->ui->checkBox_7->setEnabled(true);
this->ui->checkBox_8->setEnabled(true);
this->ui->checkBox_9->setEnabled(true);
@@ -293,6 +296,7 @@ void Huggle::Preferences::on_pushButton_6_clicked()
filter->setIgnoreWL(this->ui->checkBox_9->isChecked());
filter->setIgnoreSelf(this->ui->checkBox_6->isChecked());
filter->setIgnoreReverts(this->ui->checkBox_18->isChecked());
+ filter->setIgnoreTalk(this->ui->checkBox_29->isChecked());
filter->setIgnoreFriends(this->ui->checkBox_10->isChecked());
filter->setIgnore_UserSpace(this->ui->checkBox_28->isChecked());
filter->QueueName = this->ui->lineEdit->text();
View
7 huggle/preferences.ui
@@ -568,6 +568,13 @@
</widget>
</item>
<item>
+ <widget class="QCheckBox" name="checkBox_29">
+ <property name="text">
+ <string>Talk pages (every space)</string>
+ </property>
+ </widget>
+ </item>
+ <item>
<spacer name="verticalSpacer_6">
<property name="orientation">
<enum>Qt::Vertical</enum>

No commit comments for this range

Something went wrong with that request. Please try again.