Back to index

lightdm  1.3.2
Public Types | Public Slots | Signals | Public Member Functions | Protected Attributes | Properties | Private Attributes
QLightDM::Q_DECL_EXPORT Protocol Reference

#include <greeter.h>

Collaboration diagram for QLightDM::Q_DECL_EXPORT:
Collaboration graph
[legend]

List of all members.

Public Types

enum  PromptType { PromptTypeQuestion, PromptTypeSecret }
enum  MessageType { MessageTypeInfo, MessageTypeError }
enum  SessionModelRoles { KeyRole = Qt::UserRole, IdRole = KeyRole }
enum  UserModelRoles {
  NameRole = Qt::UserRole, RealNameRole, LoggedInRole, BackgroundRole,
  SessionRole, HasMessagesRole
}

Public Slots

bool connectSync ()
void authenticate (const QString &username=QString())
void authenticateAsGuest ()
void respond (const QString &response)
void cancelAuthentication ()
void setLanguage (const QString &language)
bool startSessionSync (const QString &session=QString())

Signals

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

Public Member Functions

 Greeter (QObject *parent=0)
virtual ~Greeter ()
QString getHint (const QString &name) const
QString defaultSessionHint () const
bool hideUsersHint () const
bool showManualLoginHint () const
bool lockHint () const
bool hasGuestAccountHint () const
QString selectUserHint () const
bool selectGuestHint () const
QString autologinUserHint () const
bool autologinGuestHint () const
int autologinTimeoutHint () const
bool inAuthentication () const
bool isAuthenticated () const
QString authenticationUser () const
QString hostname () const
 SessionsModel (QObject *parent=0)
virtual ~SessionsModel ()
int rowCount (const QModelIndex &parent) const
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const
 UsersModel (QObject *parent=0)
 ~UsersModel ()
int rowCount (const QModelIndex &parent) const
QVariant data (const QModelIndex &index, int role) const

Protected Attributes

SessionsModelPrivated_ptr

Properties

bool authenticated
QString authenticationUser
QString defaultSession
QString selectUser
bool selectGuest
QString hostname
bool hasGuestAccount
bool locked

Private Attributes

GreeterPrivated_ptr
UsersModelPrivate *const d_ptr

Detailed Description

Definition at line 24 of file greeter.h.


Member Enumeration Documentation

Enumerator:
MessageTypeInfo 
MessageTypeError 

Definition at line 46 of file greeter.h.

Enumerator:
PromptTypeQuestion 
PromptTypeSecret 

Definition at line 41 of file greeter.h.

Enumerator:
KeyRole 
IdRole 

Definition at line 24 of file sessionsmodel.h.

                               {
            //name is exposed as Qt::DisplayRole
            //comment is exposed as Qt::TooltipRole
            KeyRole = Qt::UserRole,
            IdRole = KeyRole 
        };
Enumerator:
NameRole 
RealNameRole 
LoggedInRole 
BackgroundRole 
SessionRole 
HasMessagesRole 

Definition at line 31 of file usersmodel.h.


Constructor & Destructor Documentation

virtual QLightDM::Q_DECL_EXPORT::~Greeter ( ) [virtual]

Member Function Documentation

void QLightDM::Q_DECL_EXPORT::authenticate ( const QString &  username = QString()) [slot]
QVariant QLightDM::Q_DECL_EXPORT::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const
QVariant QLightDM::Q_DECL_EXPORT::data ( const QModelIndex &  index,
int  role 
) const
QString QLightDM::Q_DECL_EXPORT::getHint ( const QString &  name) const
QLightDM::Q_DECL_EXPORT::Greeter ( QObject *  parent = 0) [explicit]
void QLightDM::Q_DECL_EXPORT::respond ( const QString &  response) [slot]
int QLightDM::Q_DECL_EXPORT::rowCount ( const QModelIndex &  parent) const
int QLightDM::Q_DECL_EXPORT::rowCount ( const QModelIndex &  parent) const
QLightDM::Q_DECL_EXPORT::SessionsModel ( QObject *  parent = 0) [explicit]
void QLightDM::Q_DECL_EXPORT::setLanguage ( const QString &  language) [slot]
void QLightDM::Q_DECL_EXPORT::showMessage ( QString  text,
QLightDM::Greeter::MessageType  type 
) [signal]
void QLightDM::Q_DECL_EXPORT::showPrompt ( QString  text,
QLightDM::Greeter::PromptType  type 
) [signal]
bool QLightDM::Q_DECL_EXPORT::startSessionSync ( const QString &  session = QString()) [slot]
QLightDM::Q_DECL_EXPORT::UsersModel ( QObject *  parent = 0) [explicit]

Member Data Documentation

Definition at line 38 of file sessionsmodel.h.

Definition at line 44 of file usersmodel.h.

Definition at line 87 of file greeter.h.


Property Documentation

Definition at line 28 of file greeter.h.

Definition at line 28 of file greeter.h.

Definition at line 29 of file greeter.h.

Definition at line 34 of file greeter.h.

Definition at line 32 of file greeter.h.

Definition at line 35 of file greeter.h.

Definition at line 31 of file greeter.h.

Definition at line 30 of file greeter.h.


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