marble
job.cpp
Go to the documentation of this file.
140 // poly2kml.waitForFinished(1000 * 60 * 30); // wait up to half an hour for poly2kml to convert the data
153 QString const status = QString("Generating offline routing map from %1 (%2).").arg(osmFile().fileName()).arg(Region::fileSize(osmFile()));
178 pluginsStream << "[General]\nrouter=Contraction Hierarchies\nrenderer=Mapnik Renderer\ngpsLookup=GPS Grid\naddressLookup=Unicode Tournament Trie\n";
181 QFileInfo subdir = QFileInfo(monavDir().absoluteFilePath() + "/routing_" + m_transport.toLower());
185 if (!QFile::rename(file.absoluteFilePath(), monavDir().absoluteFilePath() + '/' + file.fileName())) {
201 QString const status = QString("Generating offline search database from %1 (%2).").arg(osmFile().fileName()).arg(Region::fileSize(osmFile()));
215 osmAddresses.waitForFinished(1000 * 60 * 60 * 18); // wait up to 18 hours for osm-addresses to convert the data
300 QString const subdir = "data/" + m_region.id() + "/earth/monav/" + m_transport.toLower() + '/' + m_region.path();
309 QFileInfo result(m_parameters.base(), "finished/" + m_region.id() + '_' + m_transport.toLower() + ".tar.gz");
315 QString const subdir = "data/" + m_region.id() + "/earth/placemarks/" + QFileInfo(m_region.path()).path();
QString toString(Qt::DateFormat format) const
Definition: job.h:32
Definition: job.h:27
void uploadAndDelete(const Region ®ion, const QFileInfo &file, const QString &transport)
Definition: upload.cpp:254
bool remove()
Definition: job.h:26
Definition: google-search.qml:12
bool rename(const QString &newName)
void finished(Job *job)
Definition: Routing.qml:15
Definition: region.h:18
bool rmdir(const QString &dirName) const
bool isDir() const
QString fileName() const
Definition: job.h:31
QString absoluteFilePath() const
Definition: job.h:30
void setStatus(const QString &id, const QString &name, const QString &status, const QString &message)
Definition: logger.cpp:69
Definition: jobparameters.h:16
Definition: Search.qml:15
QString toLower() const
bool exists() const
void setWorkingDirectory(const QString &dir)
QDateTime currentDateTime()
QString absolutePath() const
bool mkdir(const QString &dirName) const
Job(const Region ®ion, const JobParameters ¶meters, QObject *parent=0)
Definition: job.cpp:19
Definition: job.h:33
void refresh()
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
QProcess::ExitStatus exitStatus() const
int exitCode() const
void start(const QString &program, const QStringList &arguments, QFlags< QIODevice::OpenModeFlag > mode)
QByteArray readAllStandardError()
bool mkpath(const QString &dirPath) const
bool waitForFinished(int msecs)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:39 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.