Reformatting code using Kernighan & Ritchie style, tabs, tab width=4.
Command line: astyle --style=kr --indent=force-tab=4 --lineend=linux -n -r <file names>
This commit is contained in:
@@ -3,17 +3,20 @@
|
||||
|
||||
#include <QtCore>
|
||||
|
||||
class BadWordCheck: public QObject {
|
||||
Q_OBJECT
|
||||
class BadWordCheck: public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
BadWordCheck();
|
||||
|
||||
void setBadWords(QStringList bw) { badWords = bw; }
|
||||
|
||||
BadWordCheck();
|
||||
|
||||
void setBadWords(QStringList bw) {
|
||||
badWords = bw;
|
||||
}
|
||||
|
||||
bool run(QString);
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
||||
QStringList badWords;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user