connect(confirmButton, SIGNAL(clicked()),
this, SLOT(accept()));
#endif
-
initializeUI();
}
emit setTo(plugin->langTo());
emit setDescription(plugin->name());
emit setInfo(plugin->infoNote());
+ emit setButtonText("Save settings");
}
else{
+ emit setButtonText("Add");
emit setNew(true);
connect(&XdxfPlugin::dictDownloader, SIGNAL(fileDownloaded(QString)),
this, SLOT(fileDownloaded(QString)));
_accents = false;
}
}
- if(type == New)
- emit setButtonText("Add");
- else
- emit setButtonText("Save settings");
#else
mainVerticalLayout = new QVBoxLayout;
void XdxfDialog::setAccents(bool accents) {
- qDebug()<<"setAcents"<<accents;
_accents = accents;
}
void XdxfDialog::fileDownloaded(QString) {
#ifndef Q_WS_MAEMO_5
- qDebug()<<"fileDownloaded";
emit setPath(tr("Dictionary file: %1").arg(XdxfPlugin::dictDownloader.downloadedFile()));
_dictionaryFilePath = XdxfPlugin::dictDownloader.downloadedFile();
#else