~brian-murray/lightdm/bug-967229

« back to all changes in this revision

Viewing changes to liblightdm-qt/system.cpp

  • Committer: Sebastien Bacher
  • Date: 2012-01-18 09:21:40 UTC
  • mfrom: (1007.1.355 lightdm)
  • mto: This revision was merged to the branch mainline in revision 1056.
  • Revision ID: seb128@ubuntu.com-20120118092140-fhyj1fmiouth227t
Tags: upstream-1.1.1
ImportĀ upstreamĀ versionĀ 1.1.1

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 <QtNetwork/QHostInfo>
14
 
 
15
 
#include "QLightDM/System"
16
 
 
17
 
QString QLightDM::hostname()
18
 
{
19
 
    return QHostInfo::localHostName();
20
 
}