chatcleaner: inital url spam check. configurable url string list and

exceptions list for urls like pokerth.net ;-)
This commit is contained in:
doitux
2009-07-31 19:01:33 +00:00
parent 0a41384d9e
commit ea5bf107f4
6 changed files with 96 additions and 6 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef URLCHECK_H
#define URLCHECK_H
#include <QtCore>
class UrlCheck: public QObject {
Q_OBJECT
public:
UrlCheck();
void setUrlStrings(QStringList us) { urlStrings = us; }
void setUrlExceptionStrings(QStringList ues) { urlExceptionStrings = ues; }
bool run(QString);
private:
QStringList urlStrings;
QStringList urlExceptionStrings;
};
#endif // URLCHECK_H