userdatarequest.h 779 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * wpa_gui - UserDataRequest class
  3. * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
  4. *
  5. * This software may be distributed under the terms of the BSD license.
  6. * See README for more details.
  7. */
  8. #ifndef USERDATAREQUEST_H
  9. #define USERDATAREQUEST_H
  10. #include <QObject>
  11. #include "ui_userdatarequest.h"
  12. class WpaGui;
  13. class UserDataRequest : public QDialog, public Ui::UserDataRequest
  14. {
  15. Q_OBJECT
  16. public:
  17. UserDataRequest(QWidget *parent = 0, const char *name = 0,
  18. bool modal = false, Qt::WindowFlags fl = 0);
  19. ~UserDataRequest();
  20. int setParams(WpaGui *_wpagui, const char *reqMsg);
  21. public slots:
  22. virtual void sendReply();
  23. protected slots:
  24. virtual void languageChange();
  25. private:
  26. WpaGui *wpagui;
  27. int networkid;
  28. QString field;
  29. };
  30. #endif /* USERDATAREQUEST_H */