userdatarequest.h 993 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * wpa_gui - UserDataRequest class
  3. * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. *
  9. * Alternatively, this software may be distributed under the terms of BSD
  10. * license.
  11. *
  12. * See README and COPYING for more details.
  13. */
  14. #ifndef USERDATAREQUEST_H
  15. #define USERDATAREQUEST_H
  16. #include <QObject>
  17. #include "ui_userdatarequest.h"
  18. class WpaGui;
  19. class UserDataRequest : public QDialog, public Ui::UserDataRequest
  20. {
  21. Q_OBJECT
  22. public:
  23. UserDataRequest(QWidget *parent = 0, const char *name = 0,
  24. bool modal = false, Qt::WFlags fl = 0);
  25. ~UserDataRequest();
  26. int setParams(WpaGui *_wpagui, const char *reqMsg);
  27. public slots:
  28. virtual void sendReply();
  29. protected slots:
  30. virtual void languageChange();
  31. private:
  32. WpaGui *wpagui;
  33. int networkid;
  34. QString field;
  35. };
  36. #endif /* USERDATAREQUEST_H */