[telepathy-qt4/master] PendingOperation: No need for virtual methods.

Andre Moreira Magalhaes (andrunko) andre.magalhaes at collabora.co.uk
Thu May 14 13:22:09 PDT 2009


---
 TelepathyQt4/pending-operation.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/TelepathyQt4/pending-operation.h b/TelepathyQt4/pending-operation.h
index fecf305..2a2957e 100644
--- a/TelepathyQt4/pending-operation.h
+++ b/TelepathyQt4/pending-operation.h
@@ -64,7 +64,7 @@ class PendingOperation : public QObject
     Q_DISABLE_COPY(PendingOperation)
 
 public:
-    virtual ~PendingOperation();
+    ~PendingOperation();
 
     /**
      * Returns whether or not the request has finished processing. #finished()
@@ -145,7 +145,7 @@ protected:
      * Record that this pending operation has finished successfully, and
      * emit the #finished() signal next time the event loop runs.
      */
-    virtual void setFinished();
+    void setFinished();
 
     /**
      * Record that this pending operation has finished with an error, and
@@ -154,7 +154,7 @@ protected:
      * \param name A D-Bus error name, which must be non-empty
      * \param message A debugging message
      */
-    virtual void setFinishedWithError(const QString& name, const QString& message);
+    void setFinishedWithError(const QString& name, const QString& message);
 
     /**
      * Record that this pending operation has finished with an error, and
@@ -162,7 +162,7 @@ protected:
      *
      * \param error A QtDBus error
      */
-    virtual void setFinishedWithError(const QDBusError& error);
+    void setFinishedWithError(const QDBusError& error);
 
 private Q_SLOTS:
     void emitFinished();
-- 
1.5.6.5




More information about the telepathy-commits mailing list