libQuotient
A Qt library for building matrix clients
connection.h File Reference
#include "keyverificationsession.h"
#include "quotient_common.h"
#include "ssosession.h"
#include "util.h"
#include "csapi/create_room.h"
#include "csapi/login.h"
#include "csapi/content-repo.h"
#include "e2ee/qolmoutboundsession.h"
#include "events/accountdataevents.h"
#include "jobs/jobhandle.h"
#include <QtCore/QDir>
#include <QtCore/QObject>
#include <QtCore/QSize>
#include <QtCore/QUrl>
#include <functional>
Include dependency graph for connection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Quotient::Connection
 
struct  Quotient::Connection::SupportedRoomVersion
 

Namespaces

 Quotient
 
 Quotient::LoginFlows
 Predefined login flows.
 

Typedefs

using Quotient::LoginFlow = GetLoginFlowsJob::LoginFlow
 
using Quotient::room_factory_t = std::function< Room *(Connection *, const QString &, JoinState)>
 
using Quotient::user_factory_t = std::function< User *(Connection *, const QString &)>
 
using Quotient::DirectChatsMap = QMultiHash< const User *, QString >
 
using Quotient::IgnoredUsersList = IgnoredUsersEvent::value_type
 

Functions

bool Quotient::operator== (const LoginFlow &lhs, const LoginFlow &rhs)
 
bool Quotient::operator!= (const LoginFlow &lhs, const LoginFlow &rhs)
 
template<typename T = Room>
auto Quotient::defaultRoomFactory (Connection *c, const QString &id, JoinState js)
 The default factory to create room objects. More...
 
template<typename T = User>
auto Quotient::defaultUserFactory (Connection *c, const QString &id)
 The default factory to create user objects. More...
 

Variables

const LoginFlow Quotient::LoginFlows::Password { "m.login.password"_L1 }
 
const LoginFlow Quotient::LoginFlows::SSO { "m.login.sso"_L1 }
 
const LoginFlow Quotient::LoginFlows::Token { "m.login.token"_L1 }