summaryrefslogtreecommitdiff
path: root/common/browserdbus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/browserdbus.cpp')
-rw-r--r--common/browserdbus.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/common/browserdbus.cpp b/common/browserdbus.cpp
index c33e1f2..9c2bf02 100644
--- a/common/browserdbus.cpp
+++ b/common/browserdbus.cpp
@@ -636,3 +636,28 @@ QString BrowserDbus::getFavicon(QString iconPath) {
}
return iconFilePath;
}
+
+void BrowserDbus::activate() {
+ qDebug() << __PRETTY_FUNCTION__;
+
+ QDBusReply<conn::brw::ERROR_IDS> reply = actualtab->activate();
+ if(reply.isValid()) {
+ conn::brw::ERROR_IDS ret = reply.value();
+ qDebug() << "ERROR_IDS " << ret;
+ } else {
+ QDBusError error = reply.error();
+ qDebug() << "ERROR " << error.name() << error.message();
+ }
+}
+void BrowserDbus::select() {
+ qDebug() << __PRETTY_FUNCTION__;
+
+ QDBusReply<conn::brw::ERROR_IDS> reply = actualtab->select();
+ if(reply.isValid()) {
+ conn::brw::ERROR_IDS ret = reply.value();
+ qDebug() << "ERROR_IDS " << ret;
+ } else {
+ QDBusError error = reply.error();
+ qDebug() << "ERROR " << error.name() << error.message();
+ }
+}