diff options
Diffstat (limited to 'klaptopdaemon/profile.cpp')
-rw-r--r-- | klaptopdaemon/profile.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/klaptopdaemon/profile.cpp b/klaptopdaemon/profile.cpp index 492b136..24f6228 100644 --- a/klaptopdaemon/profile.cpp +++ b/klaptopdaemon/profile.cpp @@ -81,13 +81,13 @@ ProfileConfig::ProfileConfig(TQWidget * parent, const char *name) poff = new TQCheckBox(i18n("Back panel brightness"), wp); TQToolTip::add( poff, i18n( "Enables the changing of the back panel brightness" ) ); xl->addWidget(poff); - connect (poff, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(poff_changed(bool))); + connect (poff, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(poff_changed(bool))); xl->addWidget(new TQLabel("-", wp)); soff = new TQSlider(0, 255, 16, 160, TQt::Horizontal, wp); soff->setEnabled(0); TQToolTip::add( soff, i18n( "How bright it should be when it is changed" ) ); - connect (soff, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged())); + connect (soff, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged())); xl->addWidget(soff); xl->addWidget(new TQLabel("+", wp)); xl->addStretch(1); @@ -102,13 +102,13 @@ ProfileConfig::ProfileConfig(TQWidget * parent, const char *name) performance_off = new TQCheckBox(i18n("System performance"), wp); TQToolTip::add( performance_off, i18n( "Enables the changing of the system performance profile" ) ); xl->addWidget(performance_off); - connect (performance_off, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(performance_off_changed(bool))); + connect (performance_off, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(performance_off_changed(bool))); performance_val_off = new KComboBox(0, wp); TQToolTip::add( performance_val_off, i18n( "The new system performance profile to change to" ) ); performance_val_off->insertStringList(performance_list); performance_val_off->setEnabled(0); - connect (performance_val_off, TQT_SIGNAL(activated(int)), this, TQT_SLOT(configChanged())); + connect (performance_val_off, TQ_SIGNAL(activated(int)), this, TQ_SLOT(configChanged())); xl->addWidget(performance_val_off); xl->addStretch(1); } else { @@ -121,13 +121,13 @@ ProfileConfig::ProfileConfig(TQWidget * parent, const char *name) throttle_off = new TQCheckBox(i18n("CPU throttling"), wp); TQToolTip::add( throttle_off, i18n( "Enables the throttling of the CPU performance" ) ); xl->addWidget(throttle_off); - connect (throttle_off, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(throttle_off_changed(bool))); + connect (throttle_off, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(throttle_off_changed(bool))); throttle_val_off = new KComboBox(0, wp); throttle_val_off->insertStringList(throttle_list); throttle_val_off->setEnabled(0); TQToolTip::add( throttle_val_off, i18n( "How much to throttle the CPU by" ) ); - connect (throttle_val_off, TQT_SIGNAL(activated(int)), this, TQT_SLOT(configChanged())); + connect (throttle_val_off, TQ_SIGNAL(activated(int)), this, TQ_SLOT(configChanged())); xl->addWidget(throttle_val_off); xl->addStretch(1); } else { @@ -145,13 +145,13 @@ ProfileConfig::ProfileConfig(TQWidget * parent, const char *name) pon = new TQCheckBox(i18n("Back panel brightness"), wp); TQToolTip::add( pon, i18n( "Enables the changing of the back panel brightness" ) ); xl->addWidget(pon); - connect (pon, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(pon_changed(bool))); + connect (pon, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(pon_changed(bool))); xl->addWidget(new TQLabel("-", wp)); son = new TQSlider(0, 255, 16, 255, TQt::Horizontal, wp); son->setEnabled(0); TQToolTip::add( son, i18n( "How bright it should be when it is changed" ) ); - connect (son, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged())); + connect (son, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(configChanged())); xl->addWidget(son); xl->addWidget(new TQLabel("+", wp)); xl->addStretch(1); @@ -165,13 +165,13 @@ ProfileConfig::ProfileConfig(TQWidget * parent, const char *name) performance_on = new TQCheckBox(i18n("System performance"), wp); TQToolTip::add( performance_on, i18n( "Enables the changing of the system performance profile" ) ); xl->addWidget(performance_on); - connect (performance_on, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(performance_on_changed(bool))); + connect (performance_on, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(performance_on_changed(bool))); performance_val_on = new KComboBox(0, wp); performance_val_on->insertStringList(performance_list); performance_val_on->setEnabled(0); TQToolTip::add( performance_val_on, i18n( "The new system performance profile to change to" ) ); - connect (performance_val_on, TQT_SIGNAL(activated(int)), this, TQT_SLOT(configChanged())); + connect (performance_val_on, TQ_SIGNAL(activated(int)), this, TQ_SLOT(configChanged())); xl->addWidget(performance_val_on); xl->addStretch(1); } else { @@ -184,13 +184,13 @@ ProfileConfig::ProfileConfig(TQWidget * parent, const char *name) throttle_on = new TQCheckBox(i18n("CPU throttle"), wp); TQToolTip::add( throttle_on, i18n( "Enables the throttling of the CPU performance" ) ); xl->addWidget(throttle_on); - connect (throttle_on, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(throttle_on_changed(bool))); + connect (throttle_on, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(throttle_on_changed(bool))); throttle_val_on = new KComboBox(0, wp); throttle_val_on->insertStringList(throttle_list); throttle_val_on->setEnabled(0); TQToolTip::add( throttle_val_on, i18n( "How much to throttle the CPU by" ) ); - connect (throttle_val_on, TQT_SIGNAL(activated(int)), this, TQT_SLOT(configChanged())); + connect (throttle_val_on, TQ_SIGNAL(activated(int)), this, TQ_SLOT(configChanged())); xl->addWidget(throttle_val_on); xl->addStretch(1); } else { |