You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

rankuser.h 516 B

12345678910111213141516171819202122232425262728
  1. #ifndef RANKUSER_H
  2. #define RANKUSER_H
  3. #include "iplugin.h"
  4. #include <QObject>
  5. #include "feiqlib/fellow.h"
  6. class RankUser : public QObject, public IPlugin
  7. {
  8. Q_OBJECT
  9. public:
  10. RankUser();
  11. void init() override;
  12. void unInit() override;
  13. private slots:
  14. void onTalkTo(const Fellow* fellow);
  15. private:
  16. int compare(const Fellow& f1, const Fellow& f2);
  17. QString fellowId(const Fellow& f);
  18. QString fellowKey(const Fellow& f);
  19. int weightOfFellow(const Fellow& f);
  20. };
  21. #endif // RANKUSER_H

mac下的“飞秋”大多数只是飞鸽传书协议,而且未发现令人满意的开源项目,所以基于c++与qt实现了基础的飞秋协议。

Contributors (1)