forked from qt-creator/qt-creator
Mercurial: Modernize
* Use pragma once * Use override * Use member initialization Change-Id: Ibd4f3c65929932db0e44be70fd5915b921438564 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -23,8 +23,7 @@
|
||||
**
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef AUTHENTICATIONDIALOG_H
|
||||
#define AUTHENTICATIONDIALOG_H
|
||||
#pragma once
|
||||
|
||||
#include <QDialog>
|
||||
|
||||
@@ -39,7 +38,7 @@ class AuthenticationDialog : public QDialog
|
||||
|
||||
public:
|
||||
explicit AuthenticationDialog(const QString &username, const QString &password, QWidget *parent = 0);
|
||||
~AuthenticationDialog();
|
||||
~AuthenticationDialog() override;
|
||||
void setPasswordEnabled(bool enabled);
|
||||
QString getUserName();
|
||||
QString getPassword();
|
||||
@@ -50,5 +49,3 @@ private:
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Mercurial
|
||||
|
||||
#endif // AUTHENTICATIONDIALOG_H
|
||||
|
||||
Reference in New Issue
Block a user