KIMAP2
21#ifndef KIMAP2_SESSION_H
22#define KIMAP2_SESSION_H
24#include "kimap2_export.h"
26#include <QtCore/QObject>
27#include <QtNetwork/QSsl>
28#include <QtNetwork/QSslSocket>
37class KIMAP2_EXPORT Session :
public QObject
42 friend class JobPrivate;
47 Session(
const QString &hostName, quint16 port, QObject *parent = Q_NULLPTR);
50 QString hostName()
const;
56 bool isConnected()
const;
63 QString userName()
const;
65 QByteArray serverGreeting()
const;
67 void setErrorHandler();
73 void setTimeout(
int timeout);
83 QString selectedMailBox()
const;
85 int jobQueueSize()
const;
94 void ignoreErrors(
const QList<QSslError> &errors);
97 void jobQueueSizeChanged(
int queueSize);
105 void sslErrors(
const QList<QSslError> &errors);
116 void connectionFailed();
127 void stateChanged(KIMAP2::Session::State newState, KIMAP2::Session::State oldState);
130 friend class SessionPrivate;
131 SessionPrivate *
const d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 14 2025 12:00:59 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.