|
1234567891011121314151617181920212223242526272829 |
- #ifndef ADDFELLOWDIALOG_H
- #define ADDFELLOWDIALOG_H
-
- #include <QDialog>
-
- namespace Ui {
- class AddFellowDialog;
- }
-
- class AddFellowDialog : public QDialog
- {
- Q_OBJECT
-
- public:
- explicit AddFellowDialog(QWidget *parent = 0);
- ~AddFellowDialog();
-
- public:
- QString getIp();
- private slots:
- void onOkClicked();
- private:
- bool isValidIp(const QString& ip);
-
- private:
- Ui::AddFellowDialog *ui;
- };
-
- #endif // ADDFELLOWDIALOG_H
|