XdxfDictDownloadProgressDialog::XdxfDictDownloadProgressDialog(QWidget*parent):
QDialog(parent) {
-qDebug()<<"etap 01";
#ifndef Q_WS_MAEMO_5
view= new QDeclarativeView();
view->setSource(QUrl::fromLocalFile("/usr/share/mdictionary/qml/XdxfDictDownloader.qml"));
rootObject, SLOT(setMaximumValue(QVariant)));
connect(rootObject, SIGNAL(cancelDownloading()),
- this, SLOT(reject()));
+ this, SIGNAL(cancelDownloading()));
#else
verticalLayout = new QVBoxLayout(this);
void XdxfDictDownloadProgressDialog::show() {
-qDebug()<<"etap 02";
#ifndef Q_WS_MAEMO_5
emit setMaximumValue(0);
maximumValue=0;
void XdxfDictDownloadProgressDialog::setText(QString text) {
-qDebug()<<"etap 03";
-
#ifndef Q_WS_MAEMO_5
emit setTextt(text);
#else
void XdxfDictDownloadProgressDialog::updateProgress(float progress) {
-qDebug()<<"etap 04";
#ifndef Q_WS_MAEMO_5
if(maximumValue == 0) {
emit setMaximumValue(100);
void XdxfDictDownloadProgressDialog::reject() {
-qDebug()<<"etap 05";
#ifndef Q_WS_MAEMO_5
Q_EMIT cancelDownloading();
#else