Debian Codegraph @

src/aboutview.cpp

raw symbols SCIP
1 /*
2 * midisnoop - MIDI monitor and prober
3 * Copyright (C) 2012 Devin Anderson
4 *
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the Free
7 * Software Foundation; either version 2 of the License, or (at your option)
8 * any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but WITHOUT
11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * more details.
14 *
15 * You should have received a copy of the GNU General Public License along with
16 * this program; if not, write to the Free Software Foundation, Inc., 675 Mass
17 * Ave, Cambridge, MA 02139, USA.
18 */
19
20 #include <QtCore/QLocale>
21
22 #include "aboutview.h"cxx . . $ `<file>/src/aboutview.h`/
23 #include "util.h"cxx . . $ `<file>/src/util.h`/
24
25 AboutViewcxx . . $ AboutView#::AboutViewcxx . . $ AboutView#AboutView(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent):
26 DialogViewcxx . . $ DialogView#(":/midisnoop/aboutview.ui"cxx . . $ QString#QString(85c52e162fed56f9)., parent)
27 {
28 closeButtoncxx . . $ AboutView#closeButton. = getChildcxx . . $ getChild(4f9d5d769841a92).<QPushButtoncxx . . $ QPushButton#>(dialogcxx . . $ DialogView#dialog., "closeButton"cxx . . $ QString#QString(85c52e162fed56f9).);
29 connectcxx . . $ QObject#connect(f4332061c7e4ca89).(closeButtoncxx . . $ AboutView#closeButton., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(clicked()), SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(closeRequest()));
30
31 majorVersioncxx . . $ AboutView#majorVersion. = 0;
32 minorVersioncxx . . $ AboutView#minorVersion. = 0;
33 revisioncxx . . $ AboutView#revision. = 0;
34
35 versioncxx . . $ AboutView#version. = getChildcxx . . $ getChild(4f9d5d769841a92).<QLabelcxx . . $ QLabel#>(dialogcxx . . $ DialogView#dialog., "version"cxx . . $ QString#QString(85c52e162fed56f9).);
36
37 updateVersioncxx . . $ AboutView#updateVersion(49f6e7a06ebc5aa8).();
38 }
39
40 AboutViewcxx . . $ AboutView#::~cxx . . $ AboutView#`~AboutView`(ced63f7c635d850d).AboutViewcxx . . $ AboutView#()
41 {
42 // Empty
43 }
44
45 void
46 AboutViewcxx . . $ AboutView#::setMajorVersioncxx . . $ AboutView#setMajorVersion(d4f767463ce0a6b3).(int majorVersion)
47 {
48 this->majorVersioncxx . . $ AboutView#majorVersion. = majorVersion;
49 updateVersioncxx . . $ AboutView#updateVersion(49f6e7a06ebc5aa8).();
50 }
51
52 void
53 AboutViewcxx . . $ AboutView#::setMinorVersioncxx . . $ AboutView#setMinorVersion(d4f767463ce0a6b3).(int minorVersion)
54 {
55 this->minorVersioncxx . . $ AboutView#minorVersion. = minorVersion;
56 updateVersioncxx . . $ AboutView#updateVersion(49f6e7a06ebc5aa8).();
57 }
58
59 void
60 AboutViewcxx . . $ AboutView#::setRevisioncxx . . $ AboutView#setRevision(d4f767463ce0a6b3).(int revision)
61 {
62 this->revisioncxx . . $ AboutView#revision. = revision;
63 updateVersioncxx . . $ AboutView#updateVersion(49f6e7a06ebc5aa8).();
64 }
65
66 void
67 AboutViewcxx . . $ AboutView#::updateVersioncxx . . $ AboutView#updateVersion(49f6e7a06ebc5aa8).()
68 {
69 QLocalecxx . . $ QLocale# locale = QLocalecxx . . $ QLocale#::systemcxx . . $ QLocale#system(7171962d3a2fd395).();
70 versioncxx . . $ AboutView#version.->setTextcxx . . $ QLabel#setText(3520e46b33348bf6).(trcxx . . $ AboutView#tr(75d9f1c324b4579d).("%1.%2.%3", "versionFormat").
71 argcxx . . $ QString#arg(bc823072288cbbb5).(locale.toStringcxx . . $ QLocale#toString(3f3c3d0e9c0eb37f).(majorVersioncxx . . $ AboutView#majorVersion.)).
72 argcxx . . $ QString#arg(bc823072288cbbb5).(locale.toStringcxx . . $ QLocale#toString(3f3c3d0e9c0eb37f).(minorVersioncxx . . $ AboutView#minorVersion.)).
73 argcxx . . $ QString#arg(bc823072288cbbb5).(locale.toStringcxx . . $ QLocale#toString(3f3c3d0e9c0eb37f).(revisioncxx . . $ AboutView#revision.)));
74 }