loginscreen.h
440 Bytes
#ifndef LOGINSCREEN_H
#define LOGINSCREEN_H
#include <QDialog>
#include "Socket.h"
namespace Ui {
class LoginScreen;
}
class LoginScreen : public QDialog
{
Q_OBJECT
public:
explicit LoginScreen(QWidget *parent = 0);
bool connect(Socket& s);
bool validateURL(QString& url);
void parseURL(QString host, int port, QString URL);
~LoginScreen();
private:
Ui::LoginScreen *ui;
};
#endif // LOGINSCREEN_H