KOSMIndoorMap
editorcontroller.cpp
46 query.addQueryItem(QLatin1StringView(OSM::typeName(element.type())), QString::number(element.id()));
64 query.addQueryItem(QStringLiteral("zoom"), QStringLiteral("17")); // TODO compute zoom based on box size
81 query.addQueryItem(QStringLiteral("select"), QLatin1StringView(OSM::typeName(element.type())) + QString::number(element.id()));
107 QObject::connect(reply, &QNetworkReply::finished, QCoreApplication::instance(), [reply, url, timeout]() {
113 QTimer::singleShot(1000, QCoreApplication::instance(), [url, timeout]() { josmRemoteCommand(url, timeout); });
125 qCDebug(EditorLog) << "JOSM not running yet, or doesn't have remote control enabled." << socket.errorString();
127 qCDebug(EditorLog) << "JOSM not running yet, or doesn't have remote control enabled." << s->exec();
168 "hasVespucci", "(Landroid/content/Context;)Z", QNativeInterface::QAndroidApplication::context());
static Ptr serviceByDesktopName(const QString &_name)
KSERVICE_EXPORT KService::List query(FilterFunc filterFunc)
KCOREADDONS_EXPORT QStringList splitArgs(const QString &cmd, Options flags=NoOptions, Errors *err=nullptr)
virtual void close() override
void connectToHost(const QHostAddress &address, quint16 port, OpenMode openMode)
virtual bool waitForConnected(int msecs)
QCoreApplication * instance()
bool openUrl(const QUrl &url)
qint64 elapsed() const const
void start()
LocalHost
QString errorString() const const
auto callStaticMethod(const char *className, const char *methodName, Args &&... args)
jobject context()
NoError
void finished()
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
bool startDetached(const QString &program, const QStringList &arguments, const QString &workingDirectory, qint64 *pid)
QString number(double n, char format, int precision)
singleShot
void setHost(const QString &host, ParsingMode mode)
void setPath(const QString &path, ParsingMode mode)
void setPort(int port)
void setQuery(const QString &query, ParsingMode mode)
void setScheme(const QString &scheme)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:55:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:55:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.