Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

Commit

Permalink
Adapt documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ereslibre committed Aug 3, 2010
1 parent f473a59 commit 6b85092
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions src/core/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
* void MyObject::modifyStateAndNotify()
* {
* IDEAL_SDEBUG("We have modified an attribute and are going to emit myFirstSignal");
* emit(myFirstSignal);
* myFirstSignal.emit();
* }
* @endcode
*
Expand Down Expand Up @@ -285,7 +285,7 @@
* void MyObject::modifyStateAndNotify()
* {
* IDEAL_SDEBUG("We have modified an attribute and are going to emit myComplexSignal");
* emit(myComplexSignal, false, 6, parent(), List<Object*>());
* myComplexSignal.emit(false, 6, parent(), List<Object*>());
* }
* @endcode
*
Expand Down Expand Up @@ -344,17 +344,17 @@
*
* void MediaPlayer::simulatePlayPauseClick()
* {
* emit(m_playPause->clicked);
* m_playPause->clicked.emit();
* }
*
* void MediaPlayer::simulateStopClick()
* {
* emit(m_stop->clicked);
* m_stop->clicked.emit();
* }
*
* void MediaPlayer::simulateQuitClick()
* {
* emit(m_quit->clicked);
* m_quit->clicked.emit();
* }
*
* void MediaPlayer::executeAction(Object *sender)
Expand Down
4 changes: 2 additions & 2 deletions src/core/object.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ class IDEAL_EXPORT Object
bool areSignalsBlocked() const;

/**
* Sets whether emit() is blocked for this object.
* Sets whether emit() is blocked for all signals of this object.
*
* @note destroyed signal will always be emitted, even if emit() is blocked for this object.
*/
void setEmitBlocked(bool emitBlocked);

/**
* @return Whether emit() is blocked for this object.
* @return Whether emit() is blocked for all signals of this object.
*
* @note false by default.
*/
Expand Down

0 comments on commit 6b85092

Please sign in to comment.