summaryrefslogtreecommitdiffstats
path: root/src/generalcfg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-07-24 09:59:06 -0500
committerTimothy Pearson <[email protected]>2013-07-24 09:59:06 -0500
commit24857cad8e92c27bc7d7377549ae887adbeccc58 (patch)
treee8aa2577506c17c68286ec1b65ae31b89ea0556b /src/generalcfg.cpp
parentea3a9effca9bebfe18bfb7546da619ecbbb121f3 (diff)
downloadksensors-24857cad8e92c27bc7d7377549ae887adbeccc58.tar.gz
ksensors-24857cad8e92c27bc7d7377549ae887adbeccc58.zip
Convert to TDE R14 API
Diffstat (limited to 'src/generalcfg.cpp')
-rw-r--r--src/generalcfg.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/generalcfg.cpp b/src/generalcfg.cpp
index 52ab597..ed35589 100644
--- a/src/generalcfg.cpp
+++ b/src/generalcfg.cpp
@@ -17,25 +17,25 @@
#include "generalcfg.h"
-#include <qgroupbox.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qcheckbox.h>
+#include <ntqgroupbox.h>
+#include <ntqlayout.h>
+#include <ntqpushbutton.h>
+#include <ntqradiobutton.h>
+#include <ntqcheckbox.h>
#include "lmsensorswidget.h"
#include "lmsensorsdock.h"
-GeneralCfg::GeneralCfg(LMSensors *lsensors, QWidget *parent, const char *name) : GeneralCfgDesign(parent,name)
+GeneralCfg::GeneralCfg(LMSensors *lsensors, TQWidget *parent, const char *name) : GeneralCfgDesign(parent,name)
{
sensors= lsensors;
palPanelCfg= new PaletteCfg( boxGeneralPalette );
- boxGeneralPalette->setColumnLayout(0, Qt::Vertical );
+ boxGeneralPalette->setColumnLayout(0, TQt::Vertical );
boxGeneralPalette->layout()->setSpacing( 6 );
boxGeneralPalette->layout()->setMargin( 12 );
- QGridLayout *boxGeneralPaletteLayout = new QGridLayout( boxGeneralPalette->layout() );
- boxGeneralPaletteLayout->setAlignment( Qt::AlignTop );
+ TQGridLayout *boxGeneralPaletteLayout = new TQGridLayout( boxGeneralPalette->layout() );
+ boxGeneralPaletteLayout->setAlignment( TQt::AlignTop );
boxGeneralPaletteLayout->addWidget( palPanelCfg, 0, 0 );
palPanelCfg->readPalette(0);
@@ -47,7 +47,7 @@ GeneralCfg::GeneralCfg(LMSensors *lsensors, QWidget *parent, const char *name) :
case 48: Radio48->setChecked(true); break;
}
- KConfig *cfg= KGlobal::config();
+ TDEConfig *cfg= TDEGlobal::config();
cfg->setGroup( "General" );
CheckBoxAutoStart->setChecked(cfg->readBoolEntry("AutoStart",true));
//connect( buttonApply ,SIGNAL(clicked()),this, SLOT(slotApplyChanges()));
@@ -69,7 +69,7 @@ void GeneralCfg::slotApplyChanges()
else if(Radio48->isChecked()) panelSize= 48;
LMSensorsWidget::cfgWritePanelSize(panelSize);
- KConfig *cfg= KGlobal::config();
+ TDEConfig *cfg= TDEGlobal::config();
cfg->setGroup( "General" );
cfg->writeEntry("AutoStart", CheckBoxAutoStart->isChecked());