You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdeedu/kstars/kstars/opsguides.cpp

42 lines
1.7 KiB

/***************************************************************************
opsguides.cpp - K Desktop Planetarium
-------------------
begin : Sun 6 Feb 2005
copyright : (C) 2005 by Jason Harris
email : jharris@30doradus.org
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include <tqbuttongroup.h>
#include <tqcheckbox.h>
#include "opsguides.h"
OpsGuides::OpsGuides( TQWidget* parent, const char* name, WFlags fl )
: OpsGuidesUI( parent, name, fl )
{
connect( kcfg_ShowCNames, TQT_SIGNAL( clicked() ),
this, TQT_SLOT( slotToggleConstellOptions() ) );
connect( kcfg_ShowMilkyWay, TQT_SIGNAL( clicked() ),
this, TQT_SLOT( slotToggleMilkyWayOptions() ) );
}
OpsGuides::~OpsGuides()
{}
void OpsGuides::slotToggleConstellOptions() {
ConstellOptions->setEnabled( kcfg_ShowCNames->isChecked() );
}
void OpsGuides::slotToggleMilkyWayOptions() {
kcfg_FillMilkyWay->setEnabled( kcfg_ShowMilkyWay->isChecked() );
}
#include "opsguides.moc"