Blame view

QChatClient/loginscreen.h 440 Bytes
1
2
3
4
#ifndef LOGINSCREEN_H
#define LOGINSCREEN_H

#include <QDialog>
5
#include "Socket.h"
6
7
8
9
10
11
12
13
14
15
16

namespace Ui {
class LoginScreen;
}

class LoginScreen : public QDialog
{
    Q_OBJECT

public:
    explicit LoginScreen(QWidget *parent = 0);
17
18
19
    bool connect(Socket& s);
    bool validateURL(QString& url);
    void parseURL(QString host, int port, QString URL);
20
21
22
23
24
25
26
    ~LoginScreen();

private:
    Ui::LoginScreen *ui;
};

#endif // LOGINSCREEN_H