summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon
diff options
context:
space:
mode:
Diffstat (limited to 'klaptopdaemon')
-rw-r--r--klaptopdaemon/buttons.cpp4
-rw-r--r--klaptopdaemon/daemondock.cpp10
-rw-r--r--klaptopdaemon/power.cpp4
-rw-r--r--klaptopdaemon/profile.cpp4
-rw-r--r--klaptopdaemon/warning.cpp2
5 files changed, 12 insertions, 12 deletions
diff --git a/klaptopdaemon/buttons.cpp b/klaptopdaemon/buttons.cpp
index eed4b8d..5c453de 100644
--- a/klaptopdaemon/buttons.cpp
+++ b/klaptopdaemon/buttons.cpp
@@ -152,7 +152,7 @@ ButtonsConfig::ButtonsConfig (TQWidget * parent, const char *name)
TQWidget *wp = new TQWidget(lidBox);
TQHBoxLayout *xl = new TQHBoxLayout( wp);
xl->addWidget(new TQLabel("-", wp));
- lidValBrightness = new TQSlider(0, 255, 16, 255, Qt::Horizontal, wp);
+ lidValBrightness = new TQSlider(0, 255, 16, 255, TQt::Horizontal, wp);
lidValBrightness->setEnabled(0);
TQToolTip::add( lidValBrightness, i18n( "How bright the back panel will be set to" ) );
connect (lidValBrightness, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged()));
@@ -228,7 +228,7 @@ ButtonsConfig::ButtonsConfig (TQWidget * parent, const char *name)
TQWidget *wp = new TQWidget(powerBox);
TQHBoxLayout *xl = new TQHBoxLayout( wp);
xl->addWidget(new TQLabel("-", wp));
- powerValBrightness = new TQSlider(0, 255, 16, 255, Qt::Horizontal, wp);
+ powerValBrightness = new TQSlider(0, 255, 16, 255, TQt::Horizontal, wp);
TQToolTip::add( powerValBrightness, i18n( "How bright the back panel will be set to" ) );
powerValBrightness->setEnabled(0);
connect (powerValBrightness, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(configChanged()));
diff --git a/klaptopdaemon/daemondock.cpp b/klaptopdaemon/daemondock.cpp
index 90a29aa..affe7b4 100644
--- a/klaptopdaemon/daemondock.cpp
+++ b/klaptopdaemon/daemondock.cpp
@@ -198,7 +198,7 @@ laptop_dock::invokeBrightness()
brightness_widget = new TQVBox(0L, "Brightness", WStyle_Customize | WType_Popup);
brightness_widget->setFrameStyle(TQFrame::PopupPanel);
brightness_widget->setMargin(KDialog::marginHint());
- brightness_slider = new TQSlider(0, 255, 16, 255-brightness, Qt::Vertical, brightness_widget, 0);
+ brightness_slider = new TQSlider(0, 255, 16, 255-brightness, TQt::Vertical, brightness_widget, 0);
brightness_slider->setMinimumHeight(40);
brightness_slider->setMinimumWidth(15);
connect(brightness_slider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(invokeBrightnessSlider(int)));
@@ -362,7 +362,7 @@ KPCMCIAInfo *f = new KPCMCIAInfo(_pcmcia);
void laptop_dock::mousePressEvent( TQMouseEvent *event )
{
- if(event->button() == Qt::LeftButton) {
+ if(event->button() == TQt::LeftButton) {
TQPopupMenu *popup = new TQPopupMenu(0, "popup");
if (!pdaemon->exists()) {
@@ -473,11 +473,11 @@ void laptop_dock::mouseReleaseEvent( TQMouseEvent *e )
return;
switch ( e->button() ) {
- case Qt::LeftButton:
+ case TQt::LeftButton:
break;
- case Qt::MidButton:
+ case TQt::MidButton:
// fall through
- case Qt::RightButton:
+ case TQt::RightButton:
{
TDEPopupMenu *menu = contextMenu();
contextMenuAboutToShow( menu );
diff --git a/klaptopdaemon/power.cpp b/klaptopdaemon/power.cpp
index c29c425..89c25dc 100644
--- a/klaptopdaemon/power.cpp
+++ b/klaptopdaemon/power.cpp
@@ -145,7 +145,7 @@ PowerConfig::PowerConfig (TQWidget * parent, const char *name)
TQWidget *wp = new TQWidget(nopowerBox);
TQHBoxLayout *xl = new TQHBoxLayout( wp);
xl->addWidget(new TQLabel("-", wp));
- nopowerValBrightness = new TQSlider(0, 255, 16, 255, Qt::Horizontal, wp);
+ nopowerValBrightness = new TQSlider(0, 255, 16, 255, TQt::Horizontal, wp);
TQToolTip::add( nopowerValBrightness, i18n( "How bright to change the back panel" ) );
nopowerValBrightness->setEnabled(0);
connect(nopowerValBrightness, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed()));
@@ -238,7 +238,7 @@ PowerConfig::PowerConfig (TQWidget * parent, const char *name)
TQWidget *wp = new TQWidget(powerBox);
TQHBoxLayout *xl = new TQHBoxLayout( wp);
xl->addWidget(new TQLabel("-", wp));
- powerValBrightness = new TQSlider(0, 255, 16, 255, Qt::Horizontal, wp);
+ powerValBrightness = new TQSlider(0, 255, 16, 255, TQt::Horizontal, wp);
TQToolTip::add( powerValBrightness, i18n( "How bright to change the back panel" ) );
powerValBrightness->setEnabled(0);
connect(powerValBrightness, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(changed()));
diff --git a/klaptopdaemon/profile.cpp b/klaptopdaemon/profile.cpp
index e60109e..492b136 100644
--- a/klaptopdaemon/profile.cpp
+++ b/klaptopdaemon/profile.cpp
@@ -84,7 +84,7 @@ ProfileConfig::ProfileConfig(TQWidget * parent, const char *name)
connect (poff, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(poff_changed(bool)));
xl->addWidget(new TQLabel("-", wp));
- soff = new TQSlider(0, 255, 16, 160, Qt::Horizontal, 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()));
@@ -148,7 +148,7 @@ ProfileConfig::ProfileConfig(TQWidget * parent, const char *name)
connect (pon, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(pon_changed(bool)));
xl->addWidget(new TQLabel("-", wp));
- son = new TQSlider(0, 255, 16, 255, Qt::Horizontal, 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()));
diff --git a/klaptopdaemon/warning.cpp b/klaptopdaemon/warning.cpp
index 5152d05..bc129a4 100644
--- a/klaptopdaemon/warning.cpp
+++ b/klaptopdaemon/warning.cpp
@@ -170,7 +170,7 @@ WarningConfig::WarningConfig (int t, TQWidget * parent, const char *name)
connect(checkBrightness, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(brightness_changed(bool)));
TQHBoxLayout *v = new TQHBoxLayout();
v->addWidget(new TQLabel("-", this));
- valueBrightness = new TQSlider(0, 255, 16, 160, Qt::Horizontal, this);
+ valueBrightness = new TQSlider(0, 255, 16, 160, TQt::Horizontal, this);
TQToolTip::add( valueBrightness, i18n( "How bright or dim to make the back panel" ) );
valueBrightness->setMaximumWidth(70);
v->addWidget(valueBrightness);