22 #ifndef QTPDCOM_LOGINMANAGER_H 23 #define QTPDCOM_LOGINMANAGER_H 28 #include <QScopedPointer> 33 class LoginManagerPrivate;
41 explicit LoginManager(QString server_name = QString(), QObject *parent =
nullptr);
49 Q_INVOKABLE
void setAuthName(QString name);
55 Q_INVOKABLE
void setPassword(QString password);
61 Q_INVOKABLE
void clearCredentials();
73 Q_INVOKABLE
void login();
77 Q_INVOKABLE
void logout();
81 Q_INVOKABLE QString getErrorMessage();
91 static void InitLibrary(
const char *plugin_path =
nullptr);
94 static void FinalizeLibrary();
101 void needCredentials();
105 void loginSuccessful();
118 QScopedPointer<LoginManagerPrivate>
d_ptr;
124 #endif // QTPDCOM_LOGINMANAGER_H Definition: BroadcastModel.h:32
#define QTPDCOM_PUBLIC
Definition: Export.h:30
Definition: LoginManager.h:36
friend Process
Definition: LoginManager.h:119
QScopedPointer< LoginManagerPrivate > d_ptr
Definition: LoginManager.h:118