[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kblog] src: Use Q_DECL_OVERRIDE
From:       Sergio Martins <iamsergio () gmail ! com>
Date:       2015-08-01 23:38:27
Message-ID: E1ZLgMF-0001FL-CP () scm ! kde ! org
[Download RAW message or body]

Git commit f440b4ebfdf6fcbf396fa494cf4b24dfb99696a9 by Sergio Martins.
Committed on 01/08/2015 at 23:38.
Pushed by smartins into branch 'master'.

Use Q_DECL_OVERRIDE

M  +6    -6    src/gdata.h
M  +3    -3    src/wordpressbuggy.h

http://commits.kde.org/kblog/f440b4ebfdf6fcbf396fa494cf4b24dfb99696a9

diff --git a/src/gdata.h b/src/gdata.h
index b6e0ae7..53ac982 100644
--- a/src/gdata.h
+++ b/src/gdata.h
@@ -120,7 +120,7 @@ public:
     /**
       Returns the  of the inherited object.
     */
-    QString interfaceName() const;
+    QString interfaceName() const Q_DECL_OVERRIDE;
 =

     /**
       Get information about the profile from the blog.
@@ -161,7 +161,7 @@ public:
       @see     void fetchPost( KBlog::BlogPost* )
       @see     BlogPost::Status
     */
-    void listRecentPosts(int number);
+    void listRecentPosts(int number) Q_DECL_OVERRIDE;
 =

     /**
       List recent posts on the server depending on meta information about =
the post.
@@ -188,13 +188,13 @@ public:
       @see BlogPost::setPostId( const QString& )
       @see fetchedPost( KBlog::BlogPost *post )
     */
-    void fetchPost(KBlog::BlogPost *post);
+    void fetchPost(KBlog::BlogPost *post) Q_DECL_OVERRIDE;
 =

     /**
       Modify a post on server.
       @param post This is used to send the modified post including the cor=
rect id.
     */
-    void modifyPost(KBlog::BlogPost *post);
+    void modifyPost(KBlog::BlogPost *post) Q_DECL_OVERRIDE;
 =

     /**
       Create a new post on server.
@@ -202,7 +202,7 @@ public:
 =

       @see createdPost( KBlog::BlogPost *post )
     */
-    void createPost(KBlog::BlogPost *post);
+    void createPost(KBlog::BlogPost *post) Q_DECL_OVERRIDE;
 =

     /**
       Remove a post from the server.
@@ -211,7 +211,7 @@ public:
       @see BlogPost::setPostId( const QString& )
       @see removedPost( KBlog::BlogPost* )
     */
-    void removePost(KBlog::BlogPost *post);
+    void removePost(KBlog::BlogPost *post) Q_DECL_OVERRIDE;
 =

     /**
       Create a comment on the server.
diff --git a/src/wordpressbuggy.h b/src/wordpressbuggy.h
index 59998a4..e07bc88 100644
--- a/src/wordpressbuggy.h
+++ b/src/wordpressbuggy.h
@@ -86,7 +86,7 @@ public:
       Create a new post on server.
       @param post is send to the server.
     */
-    void createPost(KBlog::BlogPost *post);
+    void createPost(KBlog::BlogPost *post) Q_DECL_OVERRIDE;
 =

     /**
       Modify a post on server.
@@ -96,12 +96,12 @@ public:
       @see BlogPost::setPostId( const QString& )
       @see modifiedPost( KBlog::BlogPost* )
     */
-    void modifyPost(KBlog::BlogPost *post);
+    void modifyPost(KBlog::BlogPost *post) Q_DECL_OVERRIDE;
 =

     /**
       Returns the  of the inherited object.
     */
-    QString interfaceName() const;
+    QString interfaceName() const Q_DECL_OVERRIDE;
 =

 protected:
     /**
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic