diff options
Diffstat (limited to 'qt-mobile/qmlmanager.cpp')
-rw-r--r-- | qt-mobile/qmlmanager.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/qt-mobile/qmlmanager.cpp b/qt-mobile/qmlmanager.cpp new file mode 100644 index 000000000..2de94e82d --- /dev/null +++ b/qt-mobile/qmlmanager.cpp @@ -0,0 +1,31 @@ +#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(); +} |