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 9 #ifndef USERDATAREQUEST_H 10 #define USERDATAREQUEST_H 11 12 #include <QObject> 13 #include "ui_userdatarequest.h" 14 15 class WpaGui; 16 17 class UserDataRequest : public QDialog, public Ui::UserDataRequest 18 { 19 Q_OBJECT 20 21 public: 22 UserDataRequest(QWidget *parent = 0, const char *name = 0, 23 bool modal = false, Qt::WindowFlags fl = 0); 24 ~UserDataRequest(); 25 26 int setParams(WpaGui *_wpagui, const char *reqMsg); 27 28 public slots: 29 virtual void sendReply(); 30 31 protected slots: 32 virtual void languageChange(); 33 34 private: 35 WpaGui *wpagui; 36 int networkid; 37 QString field; 38 }; 39 40 #endif /* USERDATAREQUEST_H */ 41