File indexing completed on 2025-01-05 05:14:48

0001 #pragma once
0002 
0003 #include "ui_credentialdialog.h"
0004 
0005 class CredentialDialog : public QDialog, private Ui::CredentialDialog
0006 {
0007     Q_OBJECT
0008 
0009 public:
0010     explicit CredentialDialog(QWidget *parent = nullptr);
0011 
0012     Q_REQUIRED_RESULT QString username() const;
0013     void setUsername(const QString &username);
0014 
0015     Q_REQUIRED_RESULT QString password() const;
0016     void setPassword(const QString &password);
0017 
0018     Q_REQUIRED_RESULT QString url() const;
0019     void setUrl(const QString &url);
0020 
0021 private:
0022     QString mUrl;
0023 };