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

kleopatra

  • sources
  • kde-4.12
  • kdepim
  • kleopatra
  • utils
kdsignalblocker.h
Go to the documentation of this file.
1 /****************************************************************************
2 ** Copyright (C) 2001-2009 Klaralvdalens Datakonsult AB. All rights reserved.
3 **
4 ** This file is part of the KD Tools library.
5 **
6 ** Licensees holding valid commercial KD Tools licenses may use this file in
7 ** accordance with the KD Tools Commercial License Agreement provided with
8 ** the Software.
9 **
10 **
11 ** This file may be distributed and/or modified under the terms of the
12 ** GNU General Public License version 2 and version 3 as published by the
13 ** Free Software Foundation and appearing in the file LICENSE.GPL included.
14 **
15 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 **
18 ** Contact info@kdab.net if any conditions of this licensing are not
19 ** clear to you.
20 **
21 **********************************************************************/
22 
23 #ifndef __KDTOOLS__CORE__KDSIGNALBLOCKER_H__
24 #define __KDTOOLS__CORE__KDSIGNALBLOCKER_H__
25 
26 #include <utils/kdtoolsglobal.h>
27 
28 class QObject;
29 
30 class KDSignalBlocker {
31  Q_DISABLE_COPY( KDSignalBlocker )
32 public:
33  explicit KDSignalBlocker( QObject * o );
34  explicit KDSignalBlocker( QObject & o );
35  ~KDSignalBlocker();
36 private:
37  const bool blocked;
38  QObject * const object;
39 };
40 
41 #endif /* __KDTOOLS__CORE__KDSIGNALBLOCKER_H__ */
42 
kdtoolsglobal.h
KDSignalBlocker::KDSignalBlocker
KDSignalBlocker(QObject *o)
Definition: kdsignalblocker.cpp:44
KDSignalBlocker::~KDSignalBlocker
~KDSignalBlocker()
Definition: kdsignalblocker.cpp:66
KDSignalBlocker
Exception-safe and convenient wrapper around QObject::blockSignals()
Definition: kdsignalblocker.h:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:41 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

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