//if nothing was found
if(backboneResult.count() == 0) {
- showNotify(Notify::Info, tr("Can't find any matching words"));
+ showNotification(Notify::Info, tr("Can't find any matching words"));
//show empty list to remove results of old search
Q_EMIT showWordList(searchResult);
Q_EMIT searchTranslations(exactTranslation);
}
else {
- showNotify(Notify::Info,
+ showNotification(Notify::Info,
tr("Can't find exactly matching word"));
}
}
-void MainWindow::showNotify(Notify::NotifyType type, QString text) {
- notifyManager->showNotify(type, text);
+void MainWindow::showNotification(Notify::NotifyType type, QString text) {
+ notifyManager->showNotification(type, text);
}
void MainWindow::connectBackbone() {
this, SIGNAL(setIdle()));
connect(backbone, SIGNAL(notify(Notify::NotifyType,QString)),
- this, SLOT(showNotify(Notify::NotifyType,QString)));
+ this, SLOT(showNotification(Notify::NotifyType,QString)));
}
void MainWindow::connectSearchBar() {