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

kcalc

  • sources
  • kde-4.14
  • kdeutils
  • kcalc
kcalc_bitset.h
Go to the documentation of this file.
1 /*
2 Copyright (C) 2012 - 2013 Evan Teran
3  evan.teran@gmail.com
4 
5 Copyright (C) 2006 Michel Marti
6  mma@objectxp.com
7 
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License as
10 published by the Free Software Foundation; either version 2 of
11 the License, or (at your option) any later version.
12 
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17 
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.
20 */
21 
22 #ifndef KCALC_BITSET_H_
23 #define KCALC_BITSET_H_
24 
25 #include <QFrame>
26 
27 class QButtonGroup;
28 
29 class KCalcBitset : public QFrame {
30  Q_OBJECT
31 
32 public:
33  explicit KCalcBitset(QWidget *parent = 0);
34  quint64 getValue() const;
35 
36 public slots:
37  void setValue(quint64 value);
38  void slotToggleBit(int bit);
39 
40 signals:
41  void valueChanged(quint64 value);
42 
43 private:
44  QButtonGroup *bit_button_group_;
45  quint64 value_;
46 };
47 
48 #endif
KCalcBitset::getValue
quint64 getValue() const
Definition: kcalc_bitset.cpp:131
QWidget
KCalcBitset::setValue
void setValue(quint64 value)
Definition: kcalc_bitset.cpp:109
QButtonGroup
KCalcBitset::KCalcBitset
KCalcBitset(QWidget *parent=0)
Definition: kcalc_bitset.cpp:61
QFrame
KCalcBitset::valueChanged
void valueChanged(quint64 value)
KCalcBitset
Definition: kcalc_bitset.h:29
QObject::parent
QObject * parent() const
KCalcBitset::slotToggleBit
void slotToggleBit(int bit)
Definition: kcalc_bitset.cpp:139
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:28 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kcalc

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

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • sweeper

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