Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NotificationManager::NotificationManager(QObject *parent)
- : QObject(parent), d_ptr(new NotificationManagerPrivate(this))
- {
- Q_D(NotificationManager);
- QDBusConnection::sessionBus().registerObject("/com/jolla/keyboard", this, QDBusConnection::ExportAllSlots);
- d->interface = new QDBusInterface("com.jolla.keyboard",
- "/com/jolla/keyboard",
- "com.jolla.keyboard");
- d->interface->call("AddMatch", "interface='com.jolla.keyboard',member='clearData',type='method_call',eavesdrop='true'");
- this->initialize();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement