diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 09:59:06 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 09:59:06 -0500 |
commit | 24857cad8e92c27bc7d7377549ae887adbeccc58 (patch) | |
tree | e8aa2577506c17c68286ec1b65ae31b89ea0556b /src/systemcfg.cpp | |
parent | ea3a9effca9bebfe18bfb7546da619ecbbb121f3 (diff) | |
download | ksensors-24857cad8e92c27bc7d7377549ae887adbeccc58.tar.gz ksensors-24857cad8e92c27bc7d7377549ae887adbeccc58.zip |
Convert to TDE R14 API
Diffstat (limited to 'src/systemcfg.cpp')
-rw-r--r-- | src/systemcfg.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/systemcfg.cpp b/src/systemcfg.cpp index 69a1053..3138970 100644 --- a/src/systemcfg.cpp +++ b/src/systemcfg.cpp @@ -15,32 +15,32 @@ * * ***************************************************************************/ -#include <qlistbox.h> -#include <qspinbox.h> -#include <qpushbutton.h> -#include <qgroupbox.h> -#include <qcheckbox.h> -#include <qlayout.h> -#include <qtabwidget.h> -#include <klocale.h> +#include <ntqlistbox.h> +#include <ntqspinbox.h> +#include <ntqpushbutton.h> +#include <ntqgroupbox.h> +#include <ntqcheckbox.h> +#include <ntqlayout.h> +#include <ntqtabwidget.h> +#include <tdelocale.h> #include "systemcfg.h" #include "infopanels.h" -SystemCfg::SystemCfg(LMSensors *lsensors, QWidget *parent, const char *name): SystemCfgDesign(parent,name) +SystemCfg::SystemCfg(LMSensors *lsensors, TQWidget *parent, const char *name): SystemCfgDesign(parent,name) { sensors= lsensors; palPanelCfg= new PaletteCfg( boxPanelPalette ); - boxPanelPalette->setColumnLayout(0, Qt::Vertical ); + boxPanelPalette->setColumnLayout(0, TQt::Vertical ); boxPanelPalette->layout()->setSpacing( 6 ); boxPanelPalette->layout()->setMargin( 12 ); - QGridLayout *boxPanelPaletteLayout = new QGridLayout( boxPanelPalette->layout() ); - boxPanelPaletteLayout->setAlignment( Qt::AlignTop ); + TQGridLayout *boxPanelPaletteLayout = new TQGridLayout( boxPanelPalette->layout() ); + boxPanelPaletteLayout->setAlignment( TQt::AlignTop ); boxPanelPaletteLayout->addWidget( palPanelCfg, 0, 0 ); - connect( TabWidget ,SIGNAL(currentChanged(QWidget*)), this, SLOT(slotTabWidgetChanged(QWidget *))); + connect( TabWidget ,SIGNAL(currentChanged(TQWidget*)), this, SLOT(slotTabWidgetChanged(TQWidget *))); //connect( buttonApply ,SIGNAL(clicked()),this, SLOT(slotApplyChanges())); listSensors->clear(); @@ -58,7 +58,7 @@ SystemCfg::SystemCfg(LMSensors *lsensors, QWidget *parent, const char *name): Sy SystemCfg::~SystemCfg(){ } -void SystemCfg::slotTabWidgetChanged(QWidget *) +void SystemCfg::slotTabWidgetChanged(TQWidget *) { switch(TabWidget->currentPageIndex()) { |