summaryrefslogtreecommitdiffstats
path: root/qt-mobile/qmlmanager.cpp
blob: 2de94e82d0313625f7d17e414b12f6aa07f08e63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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();
}