summaryrefslogtreecommitdiffhomepage
path: root/tracker-tobii/tobii_dialog.cpp
blob: 689cae381f711113b47ce80131751e83296d0675 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "tobii.h"

tobii_dialog::tobii_dialog() // NOLINT(cppcoreguidelines-pro-type-member-init)
{
    ui.setupUi(this);

    connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(doOK()));
    connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel()));
}

void tobii_dialog::doOK()
{
    // s.b->save();
    close();
}

void tobii_dialog::doCancel()
{
    close();
}