Back to index

lightdm  1.3.2
Public Member Functions | Public Attributes | Static Protected Member Functions | Protected Attributes
QLightDM::GreeterPrivate Class Reference
Collaboration diagram for QLightDM::GreeterPrivate:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 GreeterPrivate (Greeter *parent)

Public Attributes

LightDMGreeterldmGreeter

Static Protected Member Functions

static void cb_showPrompt (LightDMGreeter *greeter, const gchar *text, LightDMPromptType type, gpointer data)
static void cb_showMessage (LightDMGreeter *greeter, const gchar *text, LightDMMessageType type, gpointer data)
static void cb_authenticationComplete (LightDMGreeter *greeter, gpointer data)
static void cb_autoLoginExpired (LightDMGreeter *greeter, gpointer data)

Protected Attributes

Greeterq_ptr

Detailed Description

Definition at line 25 of file greeter.cpp.


Constructor & Destructor Documentation

Definition at line 42 of file greeter.cpp.

                                              :
    q_ptr(parent)
{
    g_type_init();
    ldmGreeter = lightdm_greeter_new();

    g_signal_connect (ldmGreeter, "show-prompt", G_CALLBACK (cb_showPrompt), this);
    g_signal_connect (ldmGreeter, "show-message", G_CALLBACK (cb_showMessage), this);
    g_signal_connect (ldmGreeter, "authentication-complete", G_CALLBACK (cb_authenticationComplete), this);
    g_signal_connect (ldmGreeter, "autologin-timer-expired", G_CALLBACK (cb_autoLoginExpired), this);
}

Here is the call graph for this function:


Member Function Documentation

void GreeterPrivate::cb_authenticationComplete ( LightDMGreeter greeter,
gpointer  data 
) [static, protected]

Definition at line 78 of file greeter.cpp.

{
    Q_UNUSED(greeter);
    GreeterPrivate *that = static_cast<GreeterPrivate*>(data);
    Q_EMIT that->q_func()->authenticationComplete();
}

Here is the caller graph for this function:

void GreeterPrivate::cb_autoLoginExpired ( LightDMGreeter greeter,
gpointer  data 
) [static, protected]

Definition at line 85 of file greeter.cpp.

{
    Q_UNUSED(greeter);
    GreeterPrivate *that = static_cast<GreeterPrivate*>(data);
    Q_EMIT that->q_func()->autologinTimerExpired();
}

Here is the caller graph for this function:

void GreeterPrivate::cb_showMessage ( LightDMGreeter greeter,
const gchar *  text,
LightDMMessageType  type,
gpointer  data 
) [static, protected]

Definition at line 66 of file greeter.cpp.

{
    Q_UNUSED(greeter);

    GreeterPrivate *that = static_cast<GreeterPrivate*>(data);
    QString message = QString::fromUtf8(text);

    //FIXME prompt type

    Q_EMIT that->q_func()->showMessage(message, Greeter::MessageTypeInfo);
}

Here is the caller graph for this function:

void GreeterPrivate::cb_showPrompt ( LightDMGreeter greeter,
const gchar *  text,
LightDMPromptType  type,
gpointer  data 
) [static, protected]

Definition at line 54 of file greeter.cpp.

{
    Q_UNUSED(greeter);
    
    GreeterPrivate *that = static_cast<GreeterPrivate*>(data);
    QString message = QString::fromUtf8(text);
    
    //FIXME prompt type

    Q_EMIT that->q_func()->showPrompt(message, Greeter::PromptTypeSecret);
}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 29 of file greeter.cpp.

Definition at line 31 of file greeter.cpp.


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