Debian Codegraph @

byteconverterchar.cpp

raw symbols SCIP
1 // File: byteconverterchar.cppcxx . . $ `<file>/byteconverterchar.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 "byteconverterchar.h"cxx . . $ `<file>/byteconverterchar.h`/
22 #include "ui_byteconverterchar.h"cxx . . $ `<file>/ui_byteconverterchar.h`/
23
24 ByteConverterCharcxx . . $ ByteConverterChar#::ByteConverterCharcxx . . $ ByteConverterChar#ByteConverterChar(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent) :
25 QWidgetcxx . . $ QWidget#QWidget(872e7b0c281abd8d).(parent),
26 uicxx . . $ ByteConverterChar#ui.(new Uicxx . . $ Ui/::ByteConverterCharcxx . . $ Ui/ByteConverterChar#)
27 {
28 uicxx . . $ ByteConverterChar#ui.->setupUicxx . . $ Ui_ByteConverterChar#setupUi(108f35f7aa7f3cf9).(this);
29 // Regular expression to validate a single character
30 QRegExpcxx . . $ QRegExp# charRxcxx . . $ QRegExp#QRegExp(31e086911ff70bd0).("(.){0,1}"cxx . . $ QString#QString(85c52e162fed56f9).);
31 charValidatorcxx . . $ ByteConverterChar#charValidator. = new QRegExpValidatorcxx . . $ QRegExpValidator#(charRx, this);
32 uicxx . . $ ByteConverterChar#ui.->lineEditcxx . . $ Ui_ByteConverterChar#lineEdit.->setValidatorcxx . . $ QLineEdit#setValidator(65a0e52d19f97f21).(charValidatorcxx . . $ ByteConverterChar#charValidator.);
33 // Forward the textEdited() signal from ui->lineEdit up to the main window
34 QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ ByteConverterChar#ui.->lineEditcxx . . $ Ui_ByteConverterChar#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 ByteConverterCharcxx . . $ ByteConverterChar#::~cxx . . $ ByteConverterChar#`~ByteConverterChar`(ced63f7c635d850d).ByteConverterCharcxx . . $ ByteConverterChar#()
39 {
40 delete uicxx . . $ ByteConverterChar#ui.;
41 }
42
43 void ByteConverterCharcxx . . $ ByteConverterChar#::setValuecxx . . $ ByteConverterChar#setValue(d4f767463ce0a6b3).(int value)
44 {
45 uicxx . . $ ByteConverterChar#ui.->lineEditcxx . . $ Ui_ByteConverterChar#lineEdit.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).(QStringcxx . . $ QString#QString(f2c90172ce699d92).(QCharcxx . . $ QChar#(value)));
46 }