summaryrefslogtreecommitdiff
path: root/gui/handlers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/handlers.cpp')
-rw-r--r--gui/handlers.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/gui/handlers.cpp b/gui/handlers.cpp
index 9f68834..cec43ca 100644
--- a/gui/handlers.cpp
+++ b/gui/handlers.cpp
@@ -52,6 +52,16 @@ void Backend::useAutomaticGateway()
UseAutomaticGateway();
}
+void Backend::useTransport(QString transport)
+{
+ UseTransport(toGoStr(transport));
+}
+
+QString Backend::getTransport()
+{
+ return QString(GetTransport());
+}
+
void Backend::login(QString username, QString password)
{
Login(toGoStr(username), toGoStr(password));