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:
@@ -10,18 +10,20 @@ class TextFloodCheck: public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
TextFloodCheck();
|
||||
TextFloodCheck();
|
||||
~TextFloodCheck();
|
||||
|
||||
void setTextFloodLevelToTrigger(int level) { textFloodLevelToTrigger = level; }
|
||||
|
||||
|
||||
void setTextFloodLevelToTrigger(int level) {
|
||||
textFloodLevelToTrigger = level;
|
||||
}
|
||||
|
||||
bool run(unsigned);
|
||||
|
||||
|
||||
public slots:
|
||||
void cleanMsgTimesList();
|
||||
void removeNickFromList(unsigned);
|
||||
|
||||
private:
|
||||
|
||||
private:
|
||||
QTimer *cleanTimer;
|
||||
boost::timers::portable::second_timer timer;
|
||||
struct TextFloodInfos {
|
||||
@@ -29,7 +31,7 @@ private:
|
||||
size_t timeStamp;
|
||||
};
|
||||
QMap<unsigned, TextFloodInfos> msgTimesList;
|
||||
|
||||
|
||||
int textFloodLevelToTrigger;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user