mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
32 lines
355 B
C++
32 lines
355 B
C++
|
#include "qmlmanager.h"
|
||
|
|
||
|
|
||
|
QMLManager::QMLManager()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
QMLManager::~QMLManager()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
QString QMLManager::filename()
|
||
|
{
|
||
|
return m_fileName;
|
||
|
}
|
||
|
|
||
|
void QMLManager::setFilename(const QString &f)
|
||
|
{
|
||
|
m_fileName = f;
|
||
|
emit filenameChanged();
|
||
|
loadFile();
|
||
|
}
|
||
|
|
||
|
void QMLManager::loadFile()
|
||
|
{
|
||
|
QUrl url(m_fileName);
|
||
|
QString strippedFileName = url.toLocalFile();
|
||
|
}
|