mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 22:35:27 +00:00
mobile-widgets: make verifyCredentials() an internal function
Move verifyCredentials() from public slots to private, eliminating the need to MOC and making the C++/QML interface on function less complicated. Signed-off-by: Jan Iversen <jan@casacondor.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
096f9773f0
commit
3155b03917
1 changed files with 2 additions and 1 deletions
|
@ -168,7 +168,6 @@ public slots:
|
||||||
void appInitialized();
|
void appInitialized();
|
||||||
void applicationStateChanged(Qt::ApplicationState state);
|
void applicationStateChanged(Qt::ApplicationState state);
|
||||||
void saveCloudCredentials(const QString &email, const QString &password, const QString &pin);
|
void saveCloudCredentials(const QString &email, const QString &password, const QString &pin);
|
||||||
bool verifyCredentials(QString email, QString password, QString pin);
|
|
||||||
void tryRetrieveDataFromBackend();
|
void tryRetrieveDataFromBackend();
|
||||||
void handleError(QNetworkReply::NetworkError nError);
|
void handleError(QNetworkReply::NetworkError nError);
|
||||||
void handleSslErrors(const QList<QSslError> &errors);
|
void handleSslErrors(const QList<QSslError> &errors);
|
||||||
|
@ -267,6 +266,8 @@ private:
|
||||||
struct dive *m_copyPasteDive = NULL;
|
struct dive *m_copyPasteDive = NULL;
|
||||||
struct dive_components what;
|
struct dive_components what;
|
||||||
|
|
||||||
|
bool verifyCredentials(QString email, QString password, QString pin);
|
||||||
|
|
||||||
#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
|
#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
|
||||||
QString appLogFileName;
|
QString appLogFileName;
|
||||||
QFile appLogFile;
|
QFile appLogFile;
|
||||||
|
|
Loading…
Add table
Reference in a new issue