Copyright 2010 Comarch S.A.
*******************************************************************************/
-
-/*! \file GoogleDictDialog.cpp
+/*!
+ \file GoogleDictDialog.cpp
\author Jakub Jaszczynski <j.j.jaszczynski@gmail.com>
*/
this->plugin = plugin;
}
+
Settings* GoogleDictDialog::addNewDictionary(QWidget *parent) {
GoogleDialog d(0, GoogleDialog::New, parent);
connect(&d, SIGNAL(notify(Notify::NotifyType,QString)),
this, SIGNAL(notify(Notify::NotifyType,QString)));
- if(d.exec() == QDialog::Accepted) {
+ if(d.exec() == QDialog::Accepted)
return d.getSettings();
- }
-
return 0;
}
connect(&d, SIGNAL(notify(Notify::NotifyType,QString)),
this, SIGNAL(notify(Notify::NotifyType,QString)));
- if(d.exec() == QDialog::Accepted) {
+ if(d.exec() == QDialog::Accepted)
plugin->setSettings(d.getSettings());
- }
}