summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-12-01 09:24:38 +0100
committerQt by Nokia <qt-info@nokia.com>2011-12-01 10:51:10 +0100
commit8f2da7cd63b51e08c4b662d85152b840e9bc78fb (patch)
tree62f9a82c974c673cfe032998c64e8b078269ff2f /src
parentc7ba279815f9bd35a78ede33f516583cf8b022ca (diff)
Polish QWinEventNotifier.
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>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/kernel/qwineventnotifier.cpp11
-rw-r--r--src/corelib/kernel/qwineventnotifier.h2
2 files changed, 6 insertions, 7 deletions
diff --git a/src/corelib/kernel/qwineventnotifier.cpp b/src/corelib/kernel/qwineventnotifier.cpp
index 55daeaa579..1ef77cdf62 100644
--- a/src/corelib/kernel/qwineventnotifier.cpp
+++ b/src/corelib/kernel/qwineventnotifier.cpp
@@ -48,12 +48,12 @@
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)
diff --git a/src/corelib/kernel/qwineventnotifier.h b/src/corelib/kernel/qwineventnotifier.h
index 20f921c868..d265c8c181 100644
--- a/src/corelib/kernel/qwineventnotifier.h
+++ b/src/corelib/kernel/qwineventnotifier.h
@@ -81,8 +81,6 @@ protected:
bool event(QEvent * e);
private:
- Q_DISABLE_COPY(QWinEventNotifier)
-
HANDLE handleToEvent;
bool enabled;
};