• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kleopatra

Public Member Functions | List of all members
KDSignalBlocker Class Reference

#include <kdsignalblocker.h>

Public Member Functions

 KDSignalBlocker (QObject *o)
 
 KDSignalBlocker (QObject &o)
 
 ~KDSignalBlocker ()
 

Detailed Description

Exception-safe and convenient wrapper around QObject::blockSignals()

All methods in this class are nothrow if QObject::blockSignals() and QObject::signalsBlocked() are nothrow, which they normally are.

Definition at line 30 of file kdsignalblocker.h.

Constructor & Destructor Documentation

KDSignalBlocker::KDSignalBlocker ( QObject *  o)
explicit

Constructor. Blocks signals on o.

Postcondition
o->signalsBlocked() == true

Definition at line 44 of file kdsignalblocker.cpp.

KDSignalBlocker::KDSignalBlocker ( QObject &  o)
explicit

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Postcondition
o.signalsBlocked() == true

Definition at line 55 of file kdsignalblocker.cpp.

KDSignalBlocker::~KDSignalBlocker ( )

Destructor. Unblocks signals (unless they were blocked before)

Postcondition
o->signalsBlocked() is the same as just before this instance has been constructed.

Definition at line 66 of file kdsignalblocker.cpp.


The documentation for this class was generated from the following files:
  • kdsignalblocker.h
  • kdsignalblocker.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kleopatra

Skip menu "kleopatra"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal