]> ruin.nu Git - hbs.git/blob - bs/ui/fleetviewbase.ui.h
Some changes
[hbs.git] / bs / ui / fleetviewbase.ui.h
1 /****************************************************************************
2 ** ui.h extension file, included from the uic-generated form implementation.
3 **
4 ** If you wish to add, delete or rename slots use Qt Designer which will
5 ** update this file, preserving your code. Create an init() slot in place of
6 ** a constructor, and a destroy() slot in place of a destructor.
7 *****************************************************************************/
8
9
10 void FleetViewBase::slotAttacker(bool b)
11 {
12     if (b)
13     {
14         CaptureBox->setTitle(tr("Captured roids"));
15     }
16     else
17     {
18         CaptureBox->setTitle(tr("Salvage"));
19     }
20 }
21
22 void FleetViewBase::slotHomePlanet( bool b )
23 {
24     if (b)
25     {
26         RoidsGroup->show();
27     }
28     else
29     {
30         RoidsGroup->hide();
31     }
32 }