Polish QWinEventNotifier.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Thu, 1 Dec 2011 08:24:38 +0000 (09:24 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 1 Dec 2011 09:51:10 +0000 (10:51 +0100)
Fix docs, remove redundant Q_DISABLE_COPY.

Change-Id: I8398fb71bced5ac6f7eb8613cd2f8d10c325f056
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
src/corelib/kernel/qwineventnotifier.cpp
src/corelib/kernel/qwineventnotifier.h

index 55daeaa..1ef77cd 100644 (file)
 
 QT_BEGIN_NAMESPACE
 
-/*
+/*!
     \class QWinEventNotifier
     \brief The QWinEventNotifier class provides support for the Windows Wait functions.
 
     The QWinEventNotifier class makes it possible to use the wait
-    functions on windows in a asynchronous manner. With this class
+    functions on windows in a asynchronous manner. With this class,
     you can register a HANDLE to an event and get notification when
     that event becomes signalled. The state of the event is not modified
     in the process so if it is a manual reset event you will need to
@@ -68,7 +68,7 @@ QT_BEGIN_NAMESPACE
     The setEnabled() function allows you to disable as well as enable the
     event notifier. It is generally advisable to explicitly enable or
     disable the event notifier. A disabled notifier does nothing when the
-    event object is signalled(the same effect as not creating the
+    event object is signalled (the same effect as not creating the
     event notifier).  Use the isEnabled() function to determine the
     notifier's current status.
 
@@ -80,7 +80,7 @@ QT_BEGIN_NAMESPACE
     certain other objects which are so-called synchronization
     objects, such as Processes, Threads, Waitable timers.
 
-    \warning This Class is only available on Windows.
+    \warning This class is only available on Windows.
 */
 
 /*!
@@ -198,7 +198,8 @@ void QWinEventNotifier::setEnabled(bool enable)
         eventDispatcher->unregisterEventNotifier(this);
 }
 
-/*!\reimp
+/*!
+    \reimp
 */
 
 bool QWinEventNotifier::event(QEvent * e)
index 20f921c..d265c8c 100644 (file)
@@ -81,8 +81,6 @@ protected:
     bool event(QEvent * e);
 
 private:
-    Q_DISABLE_COPY(QWinEventNotifier)
-
     HANDLE handleToEvent;
     bool enabled;
 };