Changed: Slots for buttons

This commit is contained in:
kervala 2016-03-01 14:00:06 +01:00
parent 64841ed85a
commit 6af7a93174
2 changed files with 14 additions and 0 deletions

View file

@ -24,6 +24,9 @@
CProfilesDialog::CProfilesDialog():QDialog() CProfilesDialog::CProfilesDialog():QDialog()
{ {
setupUi(this); setupUi(this);
connect(addButton, SIGNAL(clicked()), SLOT(onAddProfile));
connect(deleteButton, SIGNAL(clicked()), SLOT(onDeleteProfile));
} }
CProfilesDialog::~CProfilesDialog() CProfilesDialog::~CProfilesDialog()
@ -36,3 +39,11 @@ void CProfilesDialog::accept()
QDialog::accept(); QDialog::accept();
} }
void CProfilesDialog::onAddProfile()
{
}
void CProfilesDialog::onDeleteProfile()
{
}

View file

@ -29,6 +29,9 @@ public:
private slots: private slots:
void accept(); void accept();
void onAddProfile();
void onDeleteProfile();
}; };
#endif #endif