2008-02-28 02:34:43 +01:00
|
|
|
/*
|
|
|
|
* wpa_gui - UserDataRequest class
|
|
|
|
* Copyright (c) 2005-2006, Jouni Malinen <j@w1.fi>
|
|
|
|
*
|
2012-02-11 15:46:35 +01:00
|
|
|
* This software may be distributed under the terms of the BSD license.
|
|
|
|
* See README for more details.
|
2008-02-28 02:34:43 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef USERDATAREQUEST_H
|
|
|
|
#define USERDATAREQUEST_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include "ui_userdatarequest.h"
|
|
|
|
|
|
|
|
class WpaGui;
|
|
|
|
|
|
|
|
class UserDataRequest : public QDialog, public Ui::UserDataRequest
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
UserDataRequest(QWidget *parent = 0, const char *name = 0,
|
2015-05-08 23:01:01 +02:00
|
|
|
bool modal = false, Qt::WindowFlags fl = 0);
|
2008-02-28 02:34:43 +01:00
|
|
|
~UserDataRequest();
|
|
|
|
|
|
|
|
int setParams(WpaGui *_wpagui, const char *reqMsg);
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
virtual void sendReply();
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
virtual void languageChange();
|
|
|
|
|
|
|
|
private:
|
|
|
|
WpaGui *wpagui;
|
|
|
|
int networkid;
|
|
|
|
QString field;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* USERDATAREQUEST_H */
|