Superviseur - Afficheur 1.0
Ce logiciel correspond à l'afficheur de la suite des trois logiciels composant le superviseur
connexiondialog.cpp
Aller à la documentation de ce fichier.
00001 #include "connexiondialog.h"
00002 #include "ui_connexiondialog.h"
00003 
00004 
00006 
00009 ConnexionDialog::ConnexionDialog(QWidget *parent) :
00010     QDialog(parent),
00011     ui(new Ui::ConnexionDialog)
00012 {
00013     ui->setupUi(this);
00014 }
00015 
00017 
00020 ConnexionDialog::~ConnexionDialog()
00021 {
00022     delete ui;
00023 }
00024 
00025 
00027 
00031 void ConnexionDialog::changeEvent(QEvent *e)
00032 {
00033     QDialog::changeEvent(e);
00034     switch (e->type()) {
00035     case QEvent::LanguageChange:
00036         ui->retranslateUi(this);
00037         break;
00038     default:
00039         break;
00040     }
00041 }
00042 
00043 
00045 
00049 QString ConnexionDialog::hote(){
00050     return ui->ip->text();
00051 }
00052 
00053 
00055 
00059 int ConnexionDialog::port(){
00060     return ui->port->value();
00061 }
00062 
00063 
00064 
 Tout Classes Espaces de nommage Fichiers Fonctions Variables