d6e5929284a76497e451c07af8eb467d72548616
[someplayer] / src / playerform.cpp
1 #include "playerform.h"
2 #include "ui_playerform.h"
3
4 using namespace SomePlayer::DataObjects;
5
6 PlayerForm::PlayerForm(Library* lib, QWidget *parent) :
7         _lib(lib),
8     QWidget(parent),
9     ui(new Ui::PlayerForm)
10 {
11     ui->setupUi(this);
12         connect(ui->libraryButton, SIGNAL(clicked()), this, SLOT(_library()));
13 }
14
15 PlayerForm::~PlayerForm()
16 {
17     delete ui;
18 }
19
20 void PlayerForm::_library() {
21         emit library();
22 }