Back to index

lightdm  1.3.2
Public Member Functions | Private Slots
TestGreeter Class Reference

#include <test-qt-greeter.h>

List of all members.

Public Member Functions

 TestGreeter ()

Private Slots

void showMessage (QString text, QLightDM::Greeter::MessageType type)
void showPrompt (QString text, QLightDM::Greeter::PromptType type)
void authenticationComplete ()

Detailed Description

Definition at line 3 of file test-qt-greeter.h.


Constructor & Destructor Documentation

Definition at line 17 of file test-qt-greeter.cpp.

{
    connect (this, SIGNAL(showMessage(QString, QLightDM::Greeter::MessageType)), SLOT(showMessage(QString, QLightDM::Greeter::MessageType)));
    connect (this, SIGNAL(showPrompt(QString, QLightDM::Greeter::PromptType)), SLOT(showPrompt(QString, QLightDM::Greeter::PromptType)));
    connect (this, SIGNAL(authenticationComplete()), SLOT(authenticationComplete()));
}

Here is the call graph for this function:


Member Function Documentation

void TestGreeter::authenticationComplete ( ) [private, slot]

Definition at line 34 of file test-qt-greeter.cpp.

{
    if (authenticationUser () != "")
        status_notify ("GREETER %s AUTHENTICATION-COMPLETE USERNAME=%s AUTHENTICATED=%s",
                       getenv ("DISPLAY"),
                       authenticationUser ().toAscii ().constData (), isAuthenticated () ? "TRUE" : "FALSE");
    else
        status_notify ("GREETER %s AUTHENTICATION-COMPLETE AUTHENTICATED=%s", getenv ("DISPLAY"), isAuthenticated () ? "TRUE" : "FALSE");
}

Here is the call graph for this function:

Here is the caller graph for this function:

void TestGreeter::showMessage ( QString  text,
QLightDM::Greeter::MessageType  type 
) [private, slot]

Definition at line 24 of file test-qt-greeter.cpp.

{
    status_notify ("GREETER %s SHOW-MESSAGE TEXT=\"%s\"", getenv ("DISPLAY"), text.toAscii ().constData ());
}

Here is the call graph for this function:

Here is the caller graph for this function:

void TestGreeter::showPrompt ( QString  text,
QLightDM::Greeter::PromptType  type 
) [private, slot]

Definition at line 29 of file test-qt-greeter.cpp.

{
    status_notify ("GREETER %s SHOW-PROMPT TEXT=\"%s\"", getenv ("DISPLAY"), text.toAscii ().constData ());
}

Here is the call graph for this function:

Here is the caller graph for this function:


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