diff options
Diffstat (limited to 'src/main_qmladaptor.cpp')
-rw-r--r-- | src/main_qmladaptor.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main_qmladaptor.cpp b/src/main_qmladaptor.cpp index 9aafbce..620bb69 100644 --- a/src/main_qmladaptor.cpp +++ b/src/main_qmladaptor.cpp @@ -131,6 +131,10 @@ void MainQMLAdaptor::onCloseHandler() { emit onCloseSignal(); } +void MainQMLAdaptor::showToast(QString text, uint durationMs) { + emit showToastSignal(text, QString::number(durationMs)); +} + //void MainQMLAdaptor::onCloseHandler() { // qDebug() << "Inside MainQMLAdaptor::onCloseHandler()"; |