Debian Codegraph @

byteconverterbin.cpp

raw symbols SCIP
1 // File: byteconverterbin.cppcxx . . $ `<file>/byteconverterbin.cpp`/
2 /*
3 Pep8-1 is a virtual machine for writing machine language and assembly
4 language programs.
5
6 Copyright (C) 2009 J. Stanley Warford, Pepperdine University
7
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (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 #include "byteconverterbin.h"cxx . . $ `<file>/byteconverterbin.h`/
22 #include "ui_byteconverterbin.h"cxx . . $ `<file>/ui_byteconverterbin.h`/
23
24 ByteConverterBincxx . . $ ByteConverterBin#::ByteConverterBincxx . . $ ByteConverterBin#ByteConverterBin(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent) :
25 QWidgetcxx . . $ QWidget#QWidget(872e7b0c281abd8d).(parent),
26 uicxx . . $ ByteConverterBin#ui.(new Uicxx . . $ Ui/::ByteConverterBincxx . . $ Ui/ByteConverterBin#)
27 {
28 uicxx . . $ ByteConverterBin#ui.->setupUicxx . . $ Ui_ByteConverterBin#setupUi(108f35f7aa7f3cf9).(this);
29 // Regular expression to validate a binary byte
30 QRegExpcxx . . $ QRegExp# binRxcxx . . $ QRegExp#QRegExp(31e086911ff70bd0).("([0-1]{0,8})"cxx . . $ QString#QString(85c52e162fed56f9).);
31 binValidatorcxx . . $ ByteConverterBin#binValidator. = new QRegExpValidatorcxx . . $ QRegExpValidator#(binRx, this);
32 uicxx . . $ ByteConverterBin#ui.->lineEditcxx . . $ Ui_ByteConverterBin#lineEdit.->setValidatorcxx . . $ QLineEdit#setValidator(65a0e52d19f97f21).(binValidatorcxx . . $ ByteConverterBin#binValidator.);
33 // Forward the textEdited() signal from ui->lineEdit up to the main window
34 QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ ByteConverterBin#ui.->lineEditcxx . . $ Ui_ByteConverterBin#lineEdit., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(textEdited(const QString &)), this,
35 SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(textEdited(const QString &)));
36 }
37
38 ByteConverterBincxx . . $ ByteConverterBin#::~cxx . . $ ByteConverterBin#`~ByteConverterBin`(ced63f7c635d850d).ByteConverterBincxx . . $ ByteConverterBin#()
39 {
40 delete uicxx . . $ ByteConverterBin#ui.;
41 }
42
43 void ByteConverterBincxx . . $ ByteConverterBin#::setValuecxx . . $ ByteConverterBin#setValue(d4f767463ce0a6b3).(int value)
44 {
45 uicxx . . $ ByteConverterBin#ui.->lineEditcxx . . $ Ui_ByteConverterBin#lineEdit.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).(QStringcxx . . $ QString#QString(85c52e162fed56f9).("%1").argcxx . . $ QString#arg(64ab2ed17cc11715).(value, 8, 2, QLatin1Charcxx . . $ QChar#QChar(a50889c09eec06d9).('0')));
46 }