~lightdm-team/lightdm/1.4

« back to all changes in this revision

Viewing changes to liblightdm-qt/system.cpp

  • Committer: Aurelien Gateau
  • Date: 2012-01-09 15:56:36 UTC
  • mto: (1343.2.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1345.
  • Revision ID: aurelien.gateau@canonical.com-20120109155636-fm5kpzdlkjpftjsl
Remove the System namespace.

liblightdm-qt users should call Greeter::hostname() instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * Copyright (C) 2010-2011 David Edmundson
3
 
 * Copyright (C) 2010-2011 Robert Ancell
4
 
 * Author: David Edmundson <kde@davidedmundson.co.uk>
5
 
 *
6
 
 * This library is free software; you can redistribute it and/or modify it under
7
 
 * the terms of the GNU Lesser General Public License as published by the Free
8
 
 * Software Foundation; either version 3 of the License, or (at your option) any
9
 
 * later version. See http://www.gnu.org/copyleft/lgpl.html the full text of the
10
 
 * license.
11
 
 */
12
 
 
13
 
#include "QLightDM/system.h"
14
 
 
15
 
#include <lightdm.h>
16
 
 
17
 
using namespace QLightDM;
18
 
 
19
 
QString System::hostname()
20
 
{
21
 
    return QString::fromLocal8Bit(lightdm_get_hostname());
22
 
}