Commit 399f099ead3bba3600c62a6b8add122a21aa13c1
renamed showNote() to showSystemNote()
| |   |
| 26 | 26 | priv->showBanner(text); |
| 27 | 27 | } |
| 28 | 28 | |
| void QNotifications::showNote(const QString &text) |
| void QNotifications::showSystemNote(const QString &text) |
| 30 | 30 | { |
| 31 | 31 | MAEMO_PRIVATE(QNotifications); |
| priv->showNote(text); |
| priv->showSystemNote(text); |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | } //namespace |
| |   |
| 26 | 26 | |
| 27 | 27 | public Q_SLOTS: |
| 28 | 28 | void showBanner(const QString &text); |
| void showNote(const QString &text); |
| void showSystemNote(const QString &text); |
| 30 | 30 | }; |
| 31 | 31 | |
| 32 | 32 | } //namespace |
| |   |
| 26 | 26 | QNotificationsPrivate(); |
| 27 | 27 | ~QNotificationsPrivate(); |
| 28 | 28 | void showBanner(const QString &text); |
| void showNote(const QString &text); |
| void showSystemNote(const QString &text); |
| 30 | 30 | }; |
| 31 | 31 | |
| 32 | 32 | /* begin private implementation */ |
| … | … | |
| 46 | 46 | hildon_banner_show_information(0, "", text.toLatin1()); |
| 47 | 47 | } |
| 48 | 48 | |
| void QNotificationsPrivate::showNote(const QString &text) |
| void QNotificationsPrivate::showSystemNote(const QString &text) |
| 50 | 50 | { |
| 51 | 51 | QDBusMessage msg = QDBusMessage::createMethodCall("org.freedesktop.Notifications", "/org/freedesktop/Notifications", |
| 52 | 52 | "org.freedesktop.Notifications", "SystemNoteDialog"); |