| 136 | } |
| 137 | |
| 138 | void |
| 139 | RMSViewer::connectAll(void) |
| 140 | { |
| 141 | connect( |
| 142 | &this->server, |
| 143 | SIGNAL(acceptError(QAbstractSocket::SocketError)), |
| 144 | this, |
| 145 | SLOT(onAcceptError(QAbstractSocket::SocketError))); |
| 146 | |
| 147 | connect( |
| 148 | &this->server, |
| 149 | SIGNAL(newConnection()), |
| 150 | this, |
| 151 | SLOT(onNewConnection())); |
| 152 | |
| 153 | connect( |
| 154 | this->ui->actionStartStop, |
| 155 | SIGNAL(toggled(bool)), |
| 156 | this, |
| 157 | SLOT(onToggleListening(void))); |
| 158 | |
| 159 | connect( |
| 160 | this->ui->actionSettings, |
| 161 | SIGNAL(triggered(bool)), |
| 162 | this, |
| 163 | SLOT(onOpenSettings(void))); |
| 164 | |
| 165 | connect( |
| 166 | this->ui->serverTabWidget, |
| 167 | SIGNAL(tabCloseRequested(int)), |
| 168 | this, |
| 169 | SLOT(onTabCloseRequested(int))); |
| 170 | } |
| 171 | |
| 172 | RMSViewer::~RMSViewer() |
| 173 | { |