* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
#include "coreignorelistmanager.h"
***************************************************************************/
#include "coreignorelistmanager.h"
return;
}
initSetIgnoreList(Core::getUserSetting(session->user(), "IgnoreList").toMap());
// we store our settings whenever they change
return;
}
initSetIgnoreList(Core::getUserSetting(session->user(), "IgnoreList").toMap());
// we store our settings whenever they change
- connect(this, SIGNAL(updatedRemotely()), SLOT(save()));
+ connect(this, &SyncableObject::updatedRemotely, this, &CoreIgnoreListManager::save);
- //StrictnessType _match(const QString &msgContents, const QString &msgSender, Message::Type msgType, const QString &network, const QString &bufferName);
+ // StrictnessType _match(const QString &msgContents, const QString &msgSender, Message::Type msgType, const QString &network, const QString &bufferName);
return _match(rawMsg.text, rawMsg.sender, rawMsg.type, networkName, rawMsg.target);
}
return _match(rawMsg.text, rawMsg.sender, rawMsg.type, networkName, rawMsg.target);
}
-// addIgnoreListItem(item.ignoreRule, item.isRegEx, item.strictness, item.scope, item.scopeRule);
+// addIgnoreListItem(item.contents(), item.isRegEx(), item.strictness(), item.scope(),
+// item.scopeRule());