$search
00001 /* 00002 * wpa_gui - UserDataRequest class 00003 * Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi> 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License version 2 as 00007 * published by the Free Software Foundation. 00008 * 00009 * Alternatively, this software may be distributed under the terms of BSD 00010 * license. 00011 * 00012 * See README and COPYING for more details. 00013 */ 00014 00015 #ifndef USERDATAREQUEST_H 00016 #define USERDATAREQUEST_H 00017 00018 #include <QObject> 00019 #include "ui_userdatarequest.h" 00020 00021 class WpaGui; 00022 00023 class UserDataRequest : public QDialog, public Ui::UserDataRequest 00024 { 00025 Q_OBJECT 00026 00027 public: 00028 UserDataRequest(QWidget *parent = 0, const char *name = 0, 00029 bool modal = false, Qt::WFlags fl = 0); 00030 ~UserDataRequest(); 00031 00032 int setParams(WpaGui *_wpagui, const char *reqMsg); 00033 00034 public slots: 00035 virtual void sendReply(); 00036 00037 protected slots: 00038 virtual void languageChange(); 00039 00040 private: 00041 WpaGui *wpagui; 00042 int networkid; 00043 QString field; 00044 }; 00045 00046 #endif /* USERDATAREQUEST_H */