]> ruin.nu Git - hbs.git/blobdiff - bs/ui/infoview.ui.h
added code so you lose ships if you steal..
[hbs.git] / bs / ui / infoview.ui.h
index a50bb950a2749e12be7666902e979f4bfe250321..1a7d70d4d473669b41ba6d2f24d71c550b490adc 100644 (file)
@@ -148,4 +148,15 @@ void InfoView::slotNameChanged( const QString & s )
        ApplyButton->setEnabled(true);
        NewButton->setEnabled(false);
     }
-}
\ No newline at end of file
+}
+
+
+int InfoView::stays()
+{
+    return StaySpin->value();
+}
+
+void InfoView::setStays( int ticks )
+{
+    StaySpin->setValue(ticks);
+}