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.

addfellowdialog.h 440 B

8 years ago
1234567891011121314151617181920212223242526272829
  1. #ifndef ADDFELLOWDIALOG_H
  2. #define ADDFELLOWDIALOG_H
  3. #include <QDialog>
  4. namespace Ui {
  5. class AddFellowDialog;
  6. }
  7. class AddFellowDialog : public QDialog
  8. {
  9. Q_OBJECT
  10. public:
  11. explicit AddFellowDialog(QWidget *parent = 0);
  12. ~AddFellowDialog();
  13. public:
  14. QString getIp();
  15. private slots:
  16. void onOkClicked();
  17. private:
  18. bool isValidIp(const QString& ip);
  19. private:
  20. Ui::AddFellowDialog *ui;
  21. };
  22. #endif // ADDFELLOWDIALOG_H

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

Contributors (1)