Showing the changes to interface/src/scripting/DialogsManagerScriptingInterface.cpp (1 of 4 files). Show all
Unified · Split
| @@ -0,0 +1,18 @@ | ||
| 1 | +// | |
| 2 | +// DialogsManagerScriptingInterface.cpp | |
| 3 | +// interface/src/scripting | |
| 4 | +// | |
| 5 | +// Created by Zander Otavka on 7/17/15. | |
| 6 | +// Copyright 2015 High Fidelity, Inc. | |
| 7 | +// | |
| 8 | +// Distributed under the Apache License, Version 2.0. | |
| 9 | +// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html | |
| 10 | +// | |
| 11 | + | |
| 12 | +#include "DialogsManagerScriptingInterface.h" | |
| 13 | + | |
| 14 | +#include "ui/DialogsManager.h" | |
| 15 | + | |
| 16 | +void DialogsManagerScriptingInterface::toggleAddressBar() { | |
| 17 | + QMetaObject::invokeMethod(DependencyManager::get<DialogsManager>().data(), "toggleAddressBar", Qt::QueuedConnection); | |
| 18 | +} | |