Diffstat (limited to 'noncore/net/wellenreiter/gui/configwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/wellenreiter/gui/configwindow.cpp | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/gui/configwindow.cpp b/noncore/net/wellenreiter/gui/configwindow.cpp index 2305403..5bec7ed 100644 --- a/noncore/net/wellenreiter/gui/configwindow.cpp +++ b/noncore/net/wellenreiter/gui/configwindow.cpp | |||
@@ -115,12 +115,34 @@ int WellenreiterConfigWindow::hoppingInterval() const | |||
115 | } | 115 | } |
116 | 116 | ||
117 | 117 | ||
118 | bool WellenreiterConfigWindow::usePrismHeader() | 118 | bool WellenreiterConfigWindow::usePrismHeader() const |
119 | { | 119 | { |
120 | return prismHeader->isOn(); | 120 | return prismHeader->isOn(); |
121 | } | 121 | } |
122 | 122 | ||
123 | 123 | ||
124 | bool WellenreiterConfigWindow::isChannelChecked( int channel ) const | ||
125 | { | ||
126 | switch ( channel ) | ||
127 | { | ||
128 | case 1: return channel1->isOn(); | ||
129 | case 2: return channel2->isOn(); | ||
130 | case 3: return channel3->isOn(); | ||
131 | case 4: return channel4->isOn(); | ||
132 | case 5: return channel5->isOn(); | ||
133 | case 6: return channel6->isOn(); | ||
134 | case 7: return channel7->isOn(); | ||
135 | case 8: return channel8->isOn(); | ||
136 | case 9: return channel9->isOn(); | ||
137 | case 10: return channel10->isOn(); | ||
138 | case 11: return channel11->isOn(); | ||
139 | case 12: return channel12->isOn(); | ||
140 | case 13: return channel13->isOn(); | ||
141 | case 14: return channel14->isOn(); | ||
142 | } | ||
143 | } | ||
144 | |||
145 | |||
124 | void WellenreiterConfigWindow::changedDeviceType(int t) | 146 | void WellenreiterConfigWindow::changedDeviceType(int t) |
125 | { | 147 | { |
126 | if ( t != DEVTYPE_FILE ) return; | 148 | if ( t != DEVTYPE_FILE ) return; |