Debian Codegraph @

byteconverterdec.cpp

raw symbols SCIP
1 // File: byteconverterdec.cppcxx . . $ `<file>/byteconverterdec.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 "byteconverterdec.h"cxx . . $ `<file>/byteconverterdec.h`/
22 #include "ui_byteconverterdec.h"cxx . . $ `<file>/ui_byteconverterdec.h`/
23
24 ByteConverterDeccxx . . $ ByteConverterDec#::ByteConverterDeccxx . . $ ByteConverterDec#ByteConverterDec(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget# *parent) :
25 QWidgetcxx . . $ QWidget#QWidget(872e7b0c281abd8d).(parent),
26 uicxx . . $ ByteConverterDec#ui.(new Uicxx . . $ Ui/::ByteConverterDeccxx . . $ Ui/ByteConverterDec#)
27 {
28 uicxx . . $ ByteConverterDec#ui.->setupUicxx . . $ Ui_ByteConverterDec#setupUi(108f35f7aa7f3cf9).(this);
29 // Regular expression to validate 0-255
30 QRegExpcxx . . $ QRegExp# decRxcxx . . $ QRegExp#QRegExp(31e086911ff70bd0).("^(25[0-5])|(2[0-4][0-9])|([0-1][0-9][0-9])|([0-9]{0,2})$"cxx . . $ QString#QString(85c52e162fed56f9).);
31 decValidatorcxx . . $ ByteConverterDec#decValidator. = new QRegExpValidatorcxx . . $ QRegExpValidator#(decRx, this);
32 uicxx . . $ ByteConverterDec#ui.->lineEditcxx . . $ Ui_ByteConverterDec#lineEdit.->setValidatorcxx . . $ QLineEdit#setValidator(65a0e52d19f97f21).(decValidatorcxx . . $ ByteConverterDec#decValidator.);
33 // Forward the textEdited() signal from ui->lineEdit up to the main window
34 QObjectcxx . . $ QObject#::connectcxx . . $ QObject#connect(158df1d9a01a3410).(uicxx . . $ ByteConverterDec#ui.->lineEditcxx . . $ Ui_ByteConverterDec#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 ByteConverterDeccxx . . $ ByteConverterDec#::~cxx . . $ ByteConverterDec#`~ByteConverterDec`(ced63f7c635d850d).ByteConverterDeccxx . . $ ByteConverterDec#()
39 {
40 delete uicxx . . $ ByteConverterDec#ui.;
41 }
42
43 void ByteConverterDeccxx . . $ ByteConverterDec#::setValuecxx . . $ ByteConverterDec#setValue(d4f767463ce0a6b3).(int value)
44 {
45 uicxx . . $ ByteConverterDec#ui.->lineEditcxx . . $ Ui_ByteConverterDec#lineEdit.->setTextcxx . . $ QLineEdit#setText(3520e46b33348bf6).(QStringcxx . . $ QString#QString(85c52e162fed56f9).("%1").argcxx . . $ QString#arg(64ab2ed17cc11715).(value, 0, 10));
46 }