Huggle  build:^490^dce1e5c
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
sessionform.cpp
1 //This program is free software: you can redistribute it and/or modify
2 //it under the terms of the GNU General Public License as published by
3 //the Free Software Foundation, either version 3 of the License, or
4 //(at your option) any later version.
5 
6 //This program is distributed in the hope that it will be useful,
7 //but WITHOUT ANY WARRANTY; without even the implied warranty of
8 //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 //GNU General Public License for more details.
10 
11 #include "sessionform.h"
12 #include "ui_sessionform.h"
13 
14 using namespace Huggle;
15 
16 SessionForm::SessionForm(QWidget *parent) : QDialog(parent), ui(new Ui::SessionForm)
17 {
18  ui->setupUi(this);
19  int xx=0;
20  while (xx < Configuration::Rights.count())
21  {
22  ui->listWidget->addItem(Configuration::Rights.at(xx));
23  xx++;
24  }
25 }
26 
27 SessionForm::~SessionForm()
28 {
29  delete ui;
30 }
31 
32 void Huggle::SessionForm::on_pushButton_clicked()
33 {
34  this->close();
35 }
Session info.
Definition: sessionform.h:27