Debian Codegraph @

src/configureview.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 "configureview.h"cxx . . $ `<file>/src/configureview.h`/
21 #include "util.h"cxx . . $ `<file>/src/util.h`/
22
23 ConfigureViewcxx . . $ ConfigureView#::ConfigureViewcxx . . $ ConfigureView#ConfigureView(749de1b6ae65bddd).(QObjectcxx . . $ QObject# *parent):
24 DesignerViewcxx . . $ DesignerView#(":/midisnoop/configureview.ui"cxx . . $ QString#QString(85c52e162fed56f9)., parent)
25 {
26 QWidgetcxx . . $ QWidget# *rootWidget = getRootWidgetcxx . . $ View#getRootWidget(9b769eeb00a33a04).();
27
28 drivercxx . . $ ConfigureView#driver. = getChildcxx . . $ getChild(4f9d5d769841a92).<QComboBoxcxx . . $ QComboBox#>(rootWidget, "driver"cxx . . $ QString#QString(85c52e162fed56f9).);
29 connectcxx . . $ QObject#connect(f4332061c7e4ca89).(drivercxx . . $ ConfigureView#driver., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(activated(int)),
30 SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(handleDriverActivation(int)));
31
32 ignoreActiveSensingEventscxx . . $ ConfigureView#ignoreActiveSensingEvents. =
33 getChildcxx . . $ getChild(4f9d5d769841a92).<QCheckBoxcxx . . $ QCheckBox#>(rootWidget, "ignoreActiveSensingEvents"cxx . . $ QString#QString(85c52e162fed56f9).);
34 connectcxx . . $ QObject#connect(f4332061c7e4ca89).(ignoreActiveSensingEventscxx . . $ ConfigureView#ignoreActiveSensingEvents., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(clicked(bool)),
35 SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(ignoreActiveSensingEventsChangeRequest(bool)));
36
37 ignoreSystemExclusiveEventscxx . . $ ConfigureView#ignoreSystemExclusiveEvents. =
38 getChildcxx . . $ getChild(4f9d5d769841a92).<QCheckBoxcxx . . $ QCheckBox#>(rootWidget, "ignoreSystemExclusiveEvents"cxx . . $ QString#QString(85c52e162fed56f9).);
39 connectcxx . . $ QObject#connect(f4332061c7e4ca89).(ignoreSystemExclusiveEventscxx . . $ ConfigureView#ignoreSystemExclusiveEvents., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(clicked(bool)),
40 SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(ignoreSystemExclusiveEventsChangeRequest(bool)));
41
42 ignoreTimeEventscxx . . $ ConfigureView#ignoreTimeEvents. = getChildcxx . . $ getChild(4f9d5d769841a92).<QCheckBoxcxx . . $ QCheckBox#>(rootWidget, "ignoreTimeEvents"cxx . . $ QString#QString(85c52e162fed56f9).);
43 connectcxx . . $ QObject#connect(f4332061c7e4ca89).(ignoreTimeEventscxx . . $ ConfigureView#ignoreTimeEvents., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(clicked(bool)),
44 SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(ignoreTimeEventsChangeRequest(bool)));
45
46 inputPortcxx . . $ ConfigureView#inputPort. = getChildcxx . . $ getChild(4f9d5d769841a92).<QComboBoxcxx . . $ QComboBox#>(rootWidget, "inputPort"cxx . . $ QString#QString(85c52e162fed56f9).);
47 connectcxx . . $ QObject#connect(f4332061c7e4ca89).(inputPortcxx . . $ ConfigureView#inputPort., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(activated(int)),
48 SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(handleInputPortActivation(int)));
49
50 outputPortcxx . . $ ConfigureView#outputPort. = getChildcxx . . $ getChild(4f9d5d769841a92).<QComboBoxcxx . . $ QComboBox#>(rootWidget, "outputPort"cxx . . $ QString#QString(85c52e162fed56f9).);
51 connectcxx . . $ QObject#connect(f4332061c7e4ca89).(outputPortcxx . . $ ConfigureView#outputPort., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(activated(int)),
52 SLOTcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:270:10`!(handleOutputPortActivation(int)));
53
54 closeButtoncxx . . $ ConfigureView#closeButton. = getChildcxx . . $ getChild(4f9d5d769841a92).<QPushButtoncxx . . $ QPushButton#>(rootWidget, "closeButton"cxx . . $ QString#QString(85c52e162fed56f9).);
55 connectcxx . . $ QObject#connect(f4332061c7e4ca89).(closeButtoncxx . . $ ConfigureView#closeButton., SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(clicked()), SIGNALcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:271:10`!(closeRequest()));
56 }
57
58 ConfigureViewcxx . . $ ConfigureView#::~cxx . . $ ConfigureView#`~ConfigureView`(ced63f7c635d850d).ConfigureViewcxx . . $ ConfigureView#()
59 {
60 // Empty
61 }
62
63 void
64 ConfigureViewcxx . . $ ConfigureView#::addDrivercxx . . $ ConfigureView#addDriver(4b11a7293b4ed91c).(int index, const QStringcxx . . $ QString# &name)
65 {
66 drivercxx . . $ ConfigureView#driver.->insertItemcxx . . $ QComboBox#insertItem(ec79cc9d4020bf15).(index + 1, name);
67 }
68
69 void
70 ConfigureViewcxx . . $ ConfigureView#::addInputPortcxx . . $ ConfigureView#addInputPort(4b11a7293b4ed91c).(int index, const QStringcxx . . $ QString# &name)
71 {
72 inputPortcxx . . $ ConfigureView#inputPort.->insertItemcxx . . $ QComboBox#insertItem(ec79cc9d4020bf15).(index + 1, name);
73 }
74
75 void
76 ConfigureViewcxx . . $ ConfigureView#::addOutputPortcxx . . $ ConfigureView#addOutputPort(4b11a7293b4ed91c).(int index, const QStringcxx . . $ QString# &name)
77 {
78 outputPortcxx . . $ ConfigureView#outputPort.->insertItemcxx . . $ QComboBox#insertItem(ec79cc9d4020bf15).(index + 1, name);
79 }
80
81 void
82 ConfigureViewcxx . . $ ConfigureView#::handleDriverActivationcxx . . $ ConfigureView#handleDriverActivation(d4f767463ce0a6b3).(int index)
83 {
84 emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! driverChangeRequestcxx . . $ ConfigureView#driverChangeRequest(d4f767463ce0a6b3).(index - 1);
85 }
86
87 void
88 ConfigureViewcxx . . $ ConfigureView#::handleInputPortActivationcxx . . $ ConfigureView#handleInputPortActivation(d4f767463ce0a6b3).(int index)
89 {
90 emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! inputPortChangeRequestcxx . . $ ConfigureView#inputPortChangeRequest(d4f767463ce0a6b3).(index - 1);
91 }
92
93 void
94 ConfigureViewcxx . . $ ConfigureView#::handleOutputPortActivationcxx . . $ ConfigureView#handleOutputPortActivation(d4f767463ce0a6b3).(int index)
95 {
96 emitcxx . . $ `<external>/1208926524888476972/qobjectdefs.h:97:10`! outputPortChangeRequestcxx . . $ ConfigureView#outputPortChangeRequest(d4f767463ce0a6b3).(index - 1);
97 }
98
99 void
100 ConfigureViewcxx . . $ ConfigureView#::removeInputPortcxx . . $ ConfigureView#removeInputPort(d4f767463ce0a6b3).(int index)
101 {
102 inputPortcxx . . $ ConfigureView#inputPort.->removeItemcxx . . $ QComboBox#removeItem(d4f767463ce0a6b3).(index + 1);
103 }
104
105 void
106 ConfigureViewcxx . . $ ConfigureView#::removeOutputPortcxx . . $ ConfigureView#removeOutputPort(d4f767463ce0a6b3).(int index)
107 {
108 outputPortcxx . . $ ConfigureView#outputPort.->removeItemcxx . . $ QComboBox#removeItem(d4f767463ce0a6b3).(index + 1);
109 }
110
111 void
112 ConfigureViewcxx . . $ ConfigureView#::setDrivercxx . . $ ConfigureView#setDriver(d4f767463ce0a6b3).(int index)
113 {
114 drivercxx . . $ ConfigureView#driver.->setCurrentIndexcxx . . $ QComboBox#setCurrentIndex(d4f767463ce0a6b3).(index + 1);
115 }
116
117 void
118 ConfigureViewcxx . . $ ConfigureView#::setIgnoreActiveSensingEventscxx . . $ ConfigureView#setIgnoreActiveSensingEvents(b45ddcbc8423892c).(bool ignore)
119 {
120 ignoreActiveSensingEventscxx . . $ ConfigureView#ignoreActiveSensingEvents.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(ignore);
121 }
122
123 void
124 ConfigureViewcxx . . $ ConfigureView#::setIgnoreSystemExclusiveEventscxx . . $ ConfigureView#setIgnoreSystemExclusiveEvents(b45ddcbc8423892c).(bool ignore)
125 {
126 ignoreSystemExclusiveEventscxx . . $ ConfigureView#ignoreSystemExclusiveEvents.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(ignore);
127 }
128
129 void
130 ConfigureViewcxx . . $ ConfigureView#::setIgnoreTimeEventscxx . . $ ConfigureView#setIgnoreTimeEvents(b45ddcbc8423892c).(bool ignore)
131 {
132 ignoreTimeEventscxx . . $ ConfigureView#ignoreTimeEvents.->setCheckedcxx . . $ QAbstractButton#setChecked(b45ddcbc8423892c).(ignore);
133 }
134
135 void
136 ConfigureViewcxx . . $ ConfigureView#::setInputPortcxx . . $ ConfigureView#setInputPort(d4f767463ce0a6b3).(int index)
137 {
138 inputPortcxx . . $ ConfigureView#inputPort.->setCurrentIndexcxx . . $ QComboBox#setCurrentIndex(d4f767463ce0a6b3).(index + 1);
139 }
140
141 void
142 ConfigureViewcxx . . $ ConfigureView#::setOutputPortcxx . . $ ConfigureView#setOutputPort(d4f767463ce0a6b3).(int index)
143 {
144 outputPortcxx . . $ ConfigureView#outputPort.->setCurrentIndexcxx . . $ QComboBox#setCurrentIndex(d4f767463ce0a6b3).(index + 1);
145 }