22 #ifndef QTPDCOM_LOGINMANAGER_H 23 #define QTPDCOM_LOGINMANAGER_H 28 #include <QScopedPointer> 33 class LoginManagerPrivate;
51 explicit LoginManager(QString server_name = QString(), QObject *parent =
nullptr);
59 Q_INVOKABLE
void setAuthName(QString name);
65 Q_INVOKABLE
void setPassword(QString password);
71 Q_INVOKABLE
void clearCredentials();
83 Q_INVOKABLE
void login();
87 Q_INVOKABLE
void logout();
91 Q_INVOKABLE QString getErrorMessage();
101 static void InitLibrary(
const char *plugin_path =
nullptr);
104 static void FinalizeLibrary();
111 void needCredentials();
115 void loginSuccessful();
128 QScopedPointer<LoginManagerPrivate>
d_ptr;
134 #endif // QTPDCOM_LOGINMANAGER_H Definition: BroadcastModel.h:32
#define QTPDCOM_PUBLIC
Definition: Export.h:30
Class to handle the Authentication process.
Definition: LoginManager.h:46
friend Process
Definition: LoginManager.h:129
QScopedPointer< LoginManagerPrivate > d_ptr
Definition: LoginManager.h:128