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