/*
* Copyright (C) 2013 Canonical, Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 3.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*
* Author: Michael Terry
*/
#include "AccountsService.h"
AccountsService::AccountsService(QObject* parent)
: QObject(parent),
m_backgroundFile(TOP_SRCDIR "/graphics/phone_background.jpg")
{
}
QString AccountsService::user() const
{
return "testuser";
}
void AccountsService::setUser(const QString &user)
{
Q_UNUSED(user)
}
bool AccountsService::demoEdges() const
{
return false;
}
void AccountsService::setDemoEdges(bool demoEdges)
{
Q_UNUSED(demoEdges)
}
QString AccountsService::backgroundFile() const
{
return m_backgroundFile;
}
void AccountsService::setBackgroundFile(const QString &backgroundFile)
{
m_backgroundFile = backgroundFile;
backgroundFileChanged();
}