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

List:       kde-commits
Subject:    [kauth] src: Move the Q_DISABLE_COPY to the private section
From:       Stephen Kelly <steveire () gmail ! com>
Date:       2016-05-11 20:32:38
Message-ID: E1b0aoA-0005GR-5I () scm ! kde ! org
[Download RAW message or body]

Git commit 1dbb52deb0bcdd8d3b542b30ed54ec8d306518b1 by Stephen Kelly.
Committed on 11/05/2016 at 20:31.
Pushed by skelly into branch 'master'.

Move the Q_DISABLE_COPY to the private section

M  +3    -1    src/kauthexecutejob.h

http://commits.kde.org/kauth/1dbb52deb0bcdd8d3b542b30ed54ec8d306518b1

diff --git a/src/kauthexecutejob.h b/src/kauthexecutejob.h
index e41fa6f..0ae728d 100644
--- a/src/kauthexecutejob.h
+++ b/src/kauthexecutejob.h
@@ -37,7 +37,6 @@ namespace KAuth
 class KAUTH_EXPORT ExecuteJob : public KJob
 {
     Q_OBJECT
-    Q_DISABLE_COPY(ExecuteJob)
 =

     ExecuteJob(const KAuth::Action &action, KAuth::Action::ExecutionMode m=
ode, QObject *parent);
 =

@@ -96,6 +95,9 @@ Q_SIGNALS:
      * @param status the the new authentication status
      */
     void statusChanged(KAuth::Action::AuthStatus status);
+
+private:
+  Q_DISABLE_COPY(ExecuteJob)
 };
 =

 } // namespace Auth
[prev in list] [next in list] [prev in thread] [next in thread] 

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