Revision 1919 trunk/client/gui_qt/mainwindow.cpp
| mainwindow.cpp (revision 1919) | ||
|---|---|---|
| 28 | 28 | 
                   | 
              
| 29 | 29 | 
                  ui->setupUi(this);  | 
              
| 30 | 30 | 
                   | 
              
| 31 | 
                  /* Disable/enable the 'Kill the NNTPGrab Server' menu option depending  | 
              |
| 32 | 
                  * on whether we're connected to a NNTPGrab Server or not */  | 
              |
| 33 | 
                  ui->actionKillNNTPGrabServer->setEnabled(!glue->getIsStandalone());  | 
              |
| 34 | 
                   | 
              |
| 31 | 35 | 
                  /* Create the individual tabs */  | 
              
| 32 | 36 | 
                  updateInfoWidget = new WidgetUpdateInfo();  | 
              
| 33 | 37 | 
                      ui->tabWidget->addTab(updateInfoWidget, tr("Information"));
                 | 
              
| ... | ... | |
| 89 | 93 | 
                  connect(ui->actionEnableAutomaticShutdown, SIGNAL(triggered(void)),  | 
              
| 90 | 94 | 
                  SLOT(actionEnableAutomaticShutdown_activated()));  | 
              
| 91 | 95 | 
                   | 
              
| 96 | 
                  connect(ui->actionKillNNTPGrabServer, SIGNAL(triggered(bool)),  | 
              |
| 97 | 
                  SLOT(actionKillNNTPGrabServer_activated(void)));  | 
              |
| 92 | 98 | 
                  connect(ui->actionManagePlugins, SIGNAL(triggered(void)),  | 
              
| 93 | 99 | 
                  SLOT(actionManagePlugins_activated(void)));  | 
              
| 94 | 100 | 
                  connect(ui->actionShowDebugWindow, SIGNAL(triggered(void)),  | 
              
| ... | ... | |
| 225 | 231 | 
                  }  | 
              
| 226 | 232 | 
                  }  | 
              
| 227 | 233 | 
                   | 
              
| 234 | 
                  void MainWindow::actionKillNNTPGrabServer_activated(void)  | 
              |
| 235 | 
                  {
                 | 
              |
| 236 | 
                  glue->killNNTPGrabServer();  | 
              |
| 237 | 
                  close();  | 
              |
| 238 | 
                  }  | 
              |
| 239 | 
                   | 
              |
| 228 | 240 | 
                  void MainWindow::actionManagePlugins_activated(void)  | 
              
| 229 | 241 | 
                  {
                 | 
              
| 230 | 242 | 
                  DialogManagePlugins d(glue);  | 
              
Also available in: Unified diff
NNTPGrab

