summaryrefslogtreecommitdiffstats
path: root/src/ksensorscfg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ksensorscfg.cpp')
-rw-r--r--src/ksensorscfg.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/ksensorscfg.cpp b/src/ksensorscfg.cpp
index 1b9e603..26f27c0 100644
--- a/src/ksensorscfg.cpp
+++ b/src/ksensorscfg.cpp
@@ -17,18 +17,18 @@
#include "ksensorscfg.h"
-#include <qvariant.h>
-#include <qframe.h>
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
-#include <qimage.h>
-#include <qpixmap.h>
+#include <ntqvariant.h>
+#include <ntqframe.h>
+#include <ntqlayout.h>
+#include <ntqlabel.h>
+#include <ntqtooltip.h>
+#include <ntqwhatsthis.h>
+#include <ntqimage.h>
+#include <ntqpixmap.h>
#include <kiconloader.h>
-#include <klocale.h>
-#include <kaboutdata.h>
+#include <tdelocale.h>
+#include <tdeaboutdata.h>
#include <kdialogbase.h>
#include <kuniqueapp.h>
@@ -39,7 +39,7 @@
#include "lmsensorscfg.h"
#include "aboutcfgdesign.h"
-#define Icon(x) KGlobal::instance()->iconLoader()->loadIcon( x, KIcon::NoGroup, KIcon::SizeMedium )
+#define Icon(x) TDEGlobal::instance()->iconLoader()->loadIcon( x, TDEIcon::NoGroup, TDEIcon::SizeMedium )
KSensorsCfg::KSensorsCfg(LMSensors *lsensors, const char *name)
: KDialogBase(IconList, name, Apply|Close, Close )
@@ -47,27 +47,27 @@ KSensorsCfg::KSensorsCfg(LMSensors *lsensors, const char *name)
sensors= lsensors;
//resize( 558, 370 );
- setSizePolicy(QSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum));
+ setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum));
setCaption( i18n("KSensors Configuration") );
- QFrame *page;
- QVBoxLayout *lay;
+ TQFrame *page;
+ TQVBoxLayout *lay;
page = addPage( i18n("Global settings"), i18n("Global settings"), Icon("earth.png") );
m_generalcfg = new GeneralCfg(sensors, page);
- lay = new QVBoxLayout( page );
+ lay = new TQVBoxLayout( page );
lay->addWidget(m_generalcfg);
connect(this, SIGNAL(applyClicked()), m_generalcfg, SLOT(slotApplyChanges()) );
- QObjectList *list= sensors->getSensorsChips();
+ TQObjectList *list= sensors->getSensorsChips();
if(list) {
for(SensorsList *chip= (SensorsList *)list->first(); chip!=0; chip= (SensorsList *)list->next())
{
if(chip->getClass()==Sensor::lmSensor)
{
- page = addPage( chip->getDescription()+QString(i18n(" sensors")), chip->getDescription()+QString(i18n(" sensors")), Icon("motherboard.png") );
+ page = addPage( chip->getDescription()+TQString(i18n(" sensors")), chip->getDescription()+TQString(i18n(" sensors")), Icon("motherboard.png") );
cfgWidget = new LMSensorsCfg(chip, page);
- lay = new QVBoxLayout( page );
+ lay = new TQVBoxLayout( page );
lay->addWidget(cfgWidget);
connect(this, SIGNAL(applyClicked()), cfgWidget, SLOT(slotApplyChanges()) );
}
@@ -75,7 +75,7 @@ KSensorsCfg::KSensorsCfg(LMSensors *lsensors, const char *name)
{
page = addPage( chip->getDescription(), chip->getDescription(), Icon("harddisk.png") );
cfgWidget = new LMSensorsCfg(chip, page);
- lay = new QVBoxLayout( page );
+ lay = new TQVBoxLayout( page );
lay->addWidget(cfgWidget);
connect(this, SIGNAL(applyClicked()), cfgWidget, SLOT(slotApplyChanges()) );
}
@@ -84,7 +84,7 @@ KSensorsCfg::KSensorsCfg(LMSensors *lsensors, const char *name)
page = addPage( i18n( "System Information" ), i18n( "System Information" ), Icon("computers.png") );
m_systemcfg = new SystemCfg(sensors, page);
- lay = new QVBoxLayout( page );
+ lay = new TQVBoxLayout( page );
lay->addWidget(m_systemcfg);
connect(this, SIGNAL(applyClicked()), m_systemcfg, SLOT(slotApplyChanges()) );