30 lines
525 B
C
30 lines
525 B
C
|
#ifndef LOGINHANDLER_H
|
||
|
#define LOGINHANDLER_H
|
||
|
#include <QString>
|
||
|
#include <QLabel>
|
||
|
#include <QLineEdit>
|
||
|
#include <QMessageBox>
|
||
|
#include <QPixmap>
|
||
|
|
||
|
#include "src/jce/jcelogin.h"
|
||
|
|
||
|
class loginHandler
|
||
|
{
|
||
|
public:
|
||
|
loginHandler(jceLogin *ptr,QLabel *statusLabelPtr,QLineEdit *pswdEditPtr,QLineEdit *usrnmEditPtr);
|
||
|
bool makeConnection();
|
||
|
|
||
|
private:
|
||
|
|
||
|
void popMessage(QString message);
|
||
|
|
||
|
|
||
|
jceLogin *jceLog;
|
||
|
|
||
|
QLabel *statusLabelPtr;
|
||
|
QLineEdit *pswdEditPtr;
|
||
|
QLineEdit *usrnmEditPtr;
|
||
|
};
|
||
|
|
||
|
#endif // LOGINHANDLER_H
|