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

List:       kde-commits
Subject:    extragear/utils/kpager
From:       Pino Toscano <pino () kde ! org>
Date:       2015-11-19 22:18:17
Message-ID: E1ZzXWz-0000VF-EC () scm ! kde ! org
[Download RAW message or body]

SVN commit 1444725 by pino:

remove extra 'virtual' attributes to methods

all the methods being marked as virtual don't really need to be that


 M  +4 -4      desktop.h  
 M  +3 -3      kpager.h  


--- trunk/extragear/utils/kpager/desktop.h #1444724:1444725
@@ -50,10 +50,10 @@
 //  int widthForHeight(int height) const;
 //  int heightForWidth(int width) const;
 
-  virtual int deskX() const { return 0; }
-  virtual int deskY() const { return 0; }
-  virtual int deskWidth() const { return width(); }
-  virtual int deskHeight() const { return height(); }
+  int deskX() const { return 0; }
+  int deskY() const { return 0; }
+  int deskWidth() const { return width(); }
+  int deskHeight() const { return height(); }
 
   void startDrag(const QPoint &point);
   void dragEnterEvent(QDragEnterEvent *ev);
--- trunk/extragear/utils/kpager/kpager.h #1444724:1444725
@@ -51,11 +51,11 @@
 
 public Q_SLOTS:
 	// DBus interface
-    virtual void showAt(int x, int y);
-    virtual void toggleShow(int x, int y);
+    void showAt(int x, int y);
+    void toggleShow(int x, int y);
 
 public Q_SLOTS:
-    virtual void reallyClose();
+    void reallyClose();
 
 protected:
     bool queryClose();
[prev in list] [next in list] [prev in thread] [next in thread] 

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