~robert-ancell/lightdm/qml-module

« back to all changes in this revision

Viewing changes to liblightdm-qt/greeter.cpp

  • Committer: Robert Ancell
  • Date: 2016-11-02 09:08:32 UTC
  • mfrom: (2175.3.243 trunk)
  • Revision ID: robert.ancell@canonical.com-20161102090832-dqkdu2rsbmxlir34
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
292
292
    return QString::fromUtf8(lightdm_get_hostname());
293
293
}
294
294
 
 
295
QString Greeter::osName() const
 
296
{
 
297
    return QString::fromUtf8(lightdm_get_os_name());
 
298
}
 
299
 
 
300
QString Greeter::osId() const
 
301
{
 
302
    return QString::fromUtf8(lightdm_get_os_id());
 
303
}
 
304
 
 
305
QString Greeter::osPrettyName() const
 
306
{
 
307
    return QString::fromUtf8(lightdm_get_os_pretty_name());
 
308
}
 
309
 
 
310
QString Greeter::osVersion() const
 
311
{
 
312
    return QString::fromUtf8(lightdm_get_os_version());
 
313
}
 
314
 
 
315
QString Greeter::osVersionId() const
 
316
{
 
317
    return QString::fromUtf8(lightdm_get_os_version_id());
 
318
}
 
319
 
 
320
QString Greeter::motd() const
 
321
{
 
322
    return QString::fromUtf8(lightdm_get_motd());
 
323
}
 
324
 
295
325
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
296
326
#include "greeter_moc5.cpp"
297
327
#else