KIMAP Library
20 #ifndef KIMAP_SESSION_H
21 #define KIMAP_SESSION_H
23 #include "kimap_export.h"
25 #include <QtCore/QObject>
27 #include "sessionuiproxy.h"
29 class KSslErrorUiData;
37 class KIMAP_EXPORT Session :
public QObject
42 friend class JobPrivate;
45 enum State { Disconnected = 0, NotAuthenticated, Authenticated, Selected };
47 Session(
const QString &hostName, quint16 port,
QObject *parent=0 );
68 void setUiProxy(SessionUiProxy::Ptr proxy);
75 KIMAP_DEPRECATED
void setUiProxy(SessionUiProxy *proxy);
82 void setTimeout(
int timeout );
94 QString selectedMailBox()
const;
96 int jobQueueSize()
const;
101 void jobQueueSizeChanged(
int queueSize );
115 KIMAP_DEPRECATED
void connectionLost();
128 void connectionFailed();
141 void stateChanged(KIMAP::Session::State newState, KIMAP::Session::State oldState);
144 friend class SessionPrivate;
145 SessionPrivate *
const d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:03 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.