@ -48,49 +48,49 @@ extern void wake_laptop_daemon();
extern " C "
{
K DE_EXPORT TDECModule * create_pcmcia ( TQWidget * parent , const char * )
T DE_EXPORT TDECModule * create_pcmcia ( TQWidget * parent , const char * )
{
return new PcmciaConfig ( parent , " kcmlaptop " ) ;
}
K DE_EXPORT TDECModule * create_bwarning ( TQWidget * parent , const char * )
T DE_EXPORT TDECModule * create_bwarning ( TQWidget * parent , const char * )
{
return new WarningConfig ( 0 , parent , " kcmlaptop " ) ;
}
K DE_EXPORT TDECModule * create_cwarning ( TQWidget * parent , const char * )
T DE_EXPORT TDECModule * create_cwarning ( TQWidget * parent , const char * )
{
return new WarningConfig ( 1 , parent , " kcmlaptop " ) ;
}
K DE_EXPORT TDECModule * create_battery ( TQWidget * parent , const char * )
T DE_EXPORT TDECModule * create_battery ( TQWidget * parent , const char * )
{
return new BatteryConfig ( parent , " kcmlaptop " ) ;
}
K DE_EXPORT TDECModule * create_power ( TQWidget * parent , const char * )
T DE_EXPORT TDECModule * create_power ( TQWidget * parent , const char * )
{
return new PowerConfig ( parent , " kcmlaptop " ) ;
}
K DE_EXPORT TDECModule * create_acpi ( TQWidget * parent , const char * )
T DE_EXPORT TDECModule * create_acpi ( TQWidget * parent , const char * )
{
return new AcpiConfig ( parent , " kcmlaptop " ) ;
}
K DE_EXPORT TDECModule * create_apm ( TQWidget * parent , const char * )
T DE_EXPORT TDECModule * create_apm ( TQWidget * parent , const char * )
{
return new ApmConfig ( parent , " kcmlaptop " ) ;
}
K DE_EXPORT TDECModule * create_Profile ( TQWidget * parent , const char * )
T DE_EXPORT TDECModule * create_Profile ( TQWidget * parent , const char * )
{
return new ProfileConfig ( parent , " kcmlaptop " ) ;
}
K DE_EXPORT TDECModule * create_sony ( TQWidget * parent , const char * )
T DE_EXPORT TDECModule * create_sony ( TQWidget * parent , const char * )
{
return new SonyConfig ( parent , " kcmlaptop " ) ;
}
K DE_EXPORT TDECModule * create_buttons ( TQWidget * parent , const char * )
T DE_EXPORT TDECModule * create_buttons ( TQWidget * parent , const char * )
{
return new ButtonsConfig ( parent , " kcmlaptop " ) ;
}
K DE_EXPORT void init_battery ( )
T DE_EXPORT void init_battery ( )
{
TDEConfig config ( " kcmlaptoprc " , true /*readonly*/ , false /*no globals*/ ) ;
config . setGroup ( " BatteryDefault " ) ;
@ -111,12 +111,12 @@ extern "C"
wake_laptop_daemon ( ) ;
}
K DE_EXPORT TDECModule * create_laptop ( TQWidget * parent , const char * )
T DE_EXPORT TDECModule * create_laptop ( TQWidget * parent , const char * )
{
return new LaptopModule ( parent , " kcmlaptop " ) ;
}
K DE_EXPORT void init_laptop ( )
T DE_EXPORT void init_laptop ( )
{
init_battery ( ) ;
}