Lomiri
Loading...
Searching...
No Matches
DBusGreeter Class Reference

#include <plugins/LightDM/DBusGreeter.h>

Inherits LomiriDBusObject.

Signals

void isActiveChanged ()
 

Public Member Functions

 DBusGreeter (Greeter *greeter, const QString &path)
 
bool isActive () const
 
Q_SCRIPTABLE void ShowGreeter ()
 
Q_SCRIPTABLE void HideGreeter ()
 

Properties

bool IsActive
 

Detailed Description

This is an internal class used to talk with the indicators.

Definition at line 28 of file DBusGreeter.h.

Constructor & Destructor Documentation

◆ DBusGreeter()

DBusGreeter::DBusGreeter ( Greeter *  greeter,
const QString &  path 
)
explicit

Definition at line 23 of file DBusGreeter.cpp.

24 : LomiriDBusObject(path, QStringLiteral("com.lomiri.LomiriGreeter"), true, greeter),
25 m_greeter(greeter)
26{
27 connect(m_greeter, &Greeter::isActiveChanged,
28 this, &DBusGreeter::isActiveChangedHandler);
29}

Member Function Documentation

◆ HideGreeter()

void DBusGreeter::HideGreeter ( )

Definition at line 41 of file DBusGreeter.cpp.

42{
43 Q_EMIT m_greeter->hideGreeter();
44}

◆ isActive()

bool DBusGreeter::isActive ( ) const

Definition at line 31 of file DBusGreeter.cpp.

32{
33 return m_greeter->isActive();
34}

◆ ShowGreeter()

void DBusGreeter::ShowGreeter ( )

Definition at line 36 of file DBusGreeter.cpp.

37{
38 Q_EMIT m_greeter->showGreeter();
39}

Property Documentation

◆ IsActive

bool DBusGreeter::IsActive
read

Definition at line 33 of file DBusGreeter.h.


The documentation for this class was generated from the following files: