2 * Copyright (C) 2013 Canonical, Ltd.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 3.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 * Author: Michael Terry <michael.terry@canonical.com>
20#include "GreeterPrivate.h"
21#include <QtCore/QCoreApplication>
26Greeter::Greeter(QObject *parent)
28 d_ptr(new GreeterPrivate(this))
36QString Greeter::authenticationUser() const
39 return d->authenticationUser;
42bool Greeter::hasGuestAccountHint() const
47QString Greeter::getHint(const QString &name) const
53QString Greeter::defaultSessionHint() const
58bool Greeter::hideUsersHint() const
63bool Greeter::showManualLoginHint() const
68bool Greeter::showRemoteLoginHint() const
73bool Greeter::lockHint () const
78QString Greeter::selectUserHint() const
83bool Greeter::selectGuestHint() const
88QString Greeter::autologinUserHint() const
93bool Greeter::autologinGuestHint() const
98int Greeter::autologinTimeoutHint() const
103bool Greeter::inAuthentication() const
108QString Greeter::hostname() const
113bool Greeter::isAuthenticated() const
116 return d->authenticated;
119bool Greeter::connectSync()
124void Greeter::authenticate(const QString &username)
128 d->authenticated = false;
129 d->authenticationUser = username;
130 d->twoFactorDone = false;
131 d->handleAuthenticate();
134void Greeter::authenticateAsGuest()
137void Greeter::authenticateAutologin()
140void Greeter::authenticateRemote(const QString &session, const QString &username)
146void Greeter::cancelAuthentication()
149void Greeter::setLanguage (const QString &language)
154bool Greeter::startSessionSync(const QString &session)
160void Greeter::respond(const QString &response)
164 d->handleRespond(response);
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list