Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2014-07-10 01:22:28 +0400
committerOlivier Goffart <ogoffart@woboq.com>2014-07-10 01:31:56 +0400
commitbcfa34357b3472d250090fc8cfe04d72a45d0047 (patch)
tree971824546961ca9f0e9cec8829252de4d0bbc51b /src/wizard
parente0c2e8ed86ad38ca47677bc0c5ab528125dfd372 (diff)
Add Q_DECL_OVERRIDE for all function that are overriding something
This was made automatically with clang-modernize -override-macros -add-override
Diffstat (limited to 'src/wizard')
-rw-r--r--src/wizard/abstractcredswizardpage.h2
-rw-r--r--src/wizard/owncloudadvancedsetuppage.h8
-rw-r--r--src/wizard/owncloudhttpcredspage.h10
-rw-r--r--src/wizard/owncloudsetuppage.h8
-rw-r--r--src/wizard/owncloudshibbolethcredspage.h8
-rw-r--r--src/wizard/owncloudwizardresultpage.h4
6 files changed, 20 insertions, 20 deletions
diff --git a/src/wizard/abstractcredswizardpage.h b/src/wizard/abstractcredswizardpage.h
index f79fae414..a2ef1fe9a 100644
--- a/src/wizard/abstractcredswizardpage.h
+++ b/src/wizard/abstractcredswizardpage.h
@@ -24,7 +24,7 @@ class AbstractCredentials;
class AbstractCredentialsWizardPage : public QWizardPage
{
public:
- void cleanupPage();
+ void cleanupPage() Q_DECL_OVERRIDE;
virtual AbstractCredentials* getCredentials() const = 0;
};
diff --git a/src/wizard/owncloudadvancedsetuppage.h b/src/wizard/owncloudadvancedsetuppage.h
index 5d01e21d2..1d897fe77 100644
--- a/src/wizard/owncloudadvancedsetuppage.h
+++ b/src/wizard/owncloudadvancedsetuppage.h
@@ -31,10 +31,10 @@ class OwncloudAdvancedSetupPage: public QWizardPage
public:
OwncloudAdvancedSetupPage();
- virtual bool isComplete() const;
- virtual void initializePage();
- virtual int nextId() const;
- bool validatePage();
+ virtual bool isComplete() const Q_DECL_OVERRIDE;
+ virtual void initializePage() Q_DECL_OVERRIDE;
+ virtual int nextId() const Q_DECL_OVERRIDE;
+ bool validatePage() Q_DECL_OVERRIDE;
QString localFolder() const;
void setRemoteFolder( const QString& remoteFolder);
void setMultipleFoldersExist( bool exist );
diff --git a/src/wizard/owncloudhttpcredspage.h b/src/wizard/owncloudhttpcredspage.h
index 86e4cf2c3..70356836c 100644
--- a/src/wizard/owncloudhttpcredspage.h
+++ b/src/wizard/owncloudhttpcredspage.h
@@ -30,12 +30,12 @@ class OwncloudHttpCredsPage : public AbstractCredentialsWizardPage
public:
OwncloudHttpCredsPage();
- AbstractCredentials* getCredentials() const;
+ AbstractCredentials* getCredentials() const Q_DECL_OVERRIDE;
- void initializePage();
- void cleanupPage();
- bool validatePage();
- int nextId() const;
+ void initializePage() Q_DECL_OVERRIDE;
+ void cleanupPage() Q_DECL_OVERRIDE;
+ bool validatePage() Q_DECL_OVERRIDE;
+ int nextId() const Q_DECL_OVERRIDE;
void setConnected(bool connected);
void setErrorString( const QString& err );
void setConfigExists(bool config);
diff --git a/src/wizard/owncloudsetuppage.h b/src/wizard/owncloudsetuppage.h
index 7161a3665..0d30e6a93 100644
--- a/src/wizard/owncloudsetuppage.h
+++ b/src/wizard/owncloudsetuppage.h
@@ -33,12 +33,12 @@ class OwncloudSetupPage: public QWizardPage
public:
OwncloudSetupPage();
- virtual bool isComplete() const;
- virtual void initializePage();
- virtual int nextId() const;
+ virtual bool isComplete() const Q_DECL_OVERRIDE;
+ virtual void initializePage() Q_DECL_OVERRIDE;
+ virtual int nextId() const Q_DECL_OVERRIDE;
void setServerUrl( const QString& );
void setAllowPasswordStorage( bool );
- bool validatePage();
+ bool validatePage() Q_DECL_OVERRIDE;
QString url() const;
QString localFolder() const;
void setRemoteFolder( const QString& remoteFolder);
diff --git a/src/wizard/owncloudshibbolethcredspage.h b/src/wizard/owncloudshibbolethcredspage.h
index 28f635363..14296431d 100644
--- a/src/wizard/owncloudshibbolethcredspage.h
+++ b/src/wizard/owncloudshibbolethcredspage.h
@@ -33,17 +33,17 @@ class OwncloudShibbolethCredsPage : public AbstractCredentialsWizardPage
public:
OwncloudShibbolethCredsPage();
- AbstractCredentials* getCredentials() const;
+ AbstractCredentials* getCredentials() const Q_DECL_OVERRIDE;
- void initializePage();
- int nextId() const;
+ void initializePage() Q_DECL_OVERRIDE;
+ int nextId() const Q_DECL_OVERRIDE;
void setConnected();
Q_SIGNALS:
void connectToOCUrl(const QString&);
public Q_SLOTS:
- void setVisible(bool visible);
+ void setVisible(bool visible) Q_DECL_OVERRIDE;
private Q_SLOTS:
void slotShibbolethCookieReceived(const QNetworkCookie&, Account*);
diff --git a/src/wizard/owncloudwizardresultpage.h b/src/wizard/owncloudwizardresultpage.h
index bd7061325..0390087be 100644
--- a/src/wizard/owncloudwizardresultpage.h
+++ b/src/wizard/owncloudwizardresultpage.h
@@ -29,8 +29,8 @@ public:
OwncloudWizardResultPage();
~OwncloudWizardResultPage();
- bool isComplete() const;
- void initializePage();
+ bool isComplete() const Q_DECL_OVERRIDE;
+ void initializePage() Q_DECL_OVERRIDE;
void setRemoteFolder( const QString& remoteFolder);
public slots: