void MainWindow::showNotify(Notify::NotifyType type, QString text) {
+
switch(type) {
case Notify::Info:
#ifdef Q_WS_MAEMO_5
break;
case Notify::Warning:
+ qDebug() << text;
#ifndef Q_WS_MAEMO_5
QMessageBox::warning(this, "Warning", text);
break;
+ #else
+ QMessageBox::information(this, "Warning", text);
#endif
case Notify::Error:
connect(backbone, SIGNAL(searchCanceled()),
this, SIGNAL(setIdle()));
+ connect(backbone, SIGNAL(notify(Notify::NotifyType,QString)),
+ this, SLOT(showNotify(Notify::NotifyType,QString)));
+