-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathipv4.h
40 lines (29 loc) · 793 Bytes
/
ipv4.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/********************************************************
* Alunos(as): Victor Hugo Brito da Silva Miranda
* Rede de Computadores II
* *****************************************************/
#ifndef IPV4_H
#define IPV4_H
#include <QMainWindow>
namespace Ui {
class Ipv4;
}
class Ipv4 : public QMainWindow
{
Q_OBJECT
public:
explicit Ipv4(QWidget *parent = nullptr);
~Ipv4();
private slots:
//Definição dos métodos da interface gráfica
void on_pushButton_clicked();
void on_lineEdit_returnPressed();
void on_lineEdit_5_returnPressed();
private:
Ui::Ipv4 *ui;
//Fuções(métodos)
bool VerEntrada(QStringList&);
void Calcular(QString&);
QString OctetoBinario(QString&);
};
#endif // IPV4_H