summaryrefslogtreecommitdiffstats
path: root/ksim/monitors/lm_sensors
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:14:58 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:14:58 -0600
commit9e5c87c89567a98c3344c90e392a27715437334c (patch)
tree6c1dd96ae0ba38b7e8f0a492d591881f44f474da /ksim/monitors/lm_sensors
parent53904b41cf005abbae3d468532db9adc2b04a9b4 (diff)
downloadtdeutils-9e5c87c89567a98c3344c90e392a27715437334c.tar.gz
tdeutils-9e5c87c89567a98c3344c90e392a27715437334c.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'ksim/monitors/lm_sensors')
-rw-r--r--ksim/monitors/lm_sensors/sensorsconfig.cpp8
-rw-r--r--ksim/monitors/lm_sensors/sensorsconfig.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/ksim/monitors/lm_sensors/sensorsconfig.cpp b/ksim/monitors/lm_sensors/sensorsconfig.cpp
index f32fb96..873d6ac 100644
--- a/ksim/monitors/lm_sensors/sensorsconfig.cpp
+++ b/ksim/monitors/lm_sensors/sensorsconfig.cpp
@@ -58,7 +58,7 @@ SensorsConfig::SensorsConfig(KSim::PluginObject *parent, const char *name)
m_layout->setSpacing(6);
m_neverShown = true;
- m_sensorView = new KListView(this);
+ m_sensorView = new TDEListView(this);
m_sensorView->addColumn(i18n("No."));
m_sensorView->addColumn(i18n("Label"));
m_sensorView->addColumn(i18n("Sensors"));
@@ -67,8 +67,8 @@ SensorsConfig::SensorsConfig(KSim::PluginObject *parent, const char *name)
m_sensorView->setColumnWidth(1, 60);
m_sensorView->setColumnWidth(2, 80);
m_sensorView->setAllColumnsShowFocus(true);
- connect(m_sensorView, TQT_SIGNAL(contextMenu(KListView *,
- TQListViewItem *, const TQPoint &)), this, TQT_SLOT(menu(KListView *,
+ connect(m_sensorView, TQT_SIGNAL(contextMenu(TDEListView *,
+ TQListViewItem *, const TQPoint &)), this, TQT_SLOT(menu(TDEListView *,
TQListViewItem *, const TQPoint &)));
connect( m_sensorView, TQT_SIGNAL( doubleClicked( TQListViewItem * ) ),
@@ -134,7 +134,7 @@ void SensorsConfig::readConfig()
}
}
-void SensorsConfig::menu(KListView *, TQListViewItem *, const TQPoint &)
+void SensorsConfig::menu(TDEListView *, TQListViewItem *, const TQPoint &)
{
m_popupMenu = new TQPopupMenu(this);
diff --git a/ksim/monitors/lm_sensors/sensorsconfig.h b/ksim/monitors/lm_sensors/sensorsconfig.h
index 8aeb04c..dff799e 100644
--- a/ksim/monitors/lm_sensors/sensorsconfig.h
+++ b/ksim/monitors/lm_sensors/sensorsconfig.h
@@ -26,7 +26,7 @@ class TQPushButton;
class TQCheckListItem;
class TQGridLayout;
class TQLabel;
-class KListView;
+class TDEListView;
class TQListViewItem;
class TQPopupMenu;
class KIntSpinBox;
@@ -45,7 +45,7 @@ class SensorsConfig : public KSim::PluginPage
void readConfig();
private slots:
- void menu(KListView *, TQListViewItem *, const TQPoint &);
+ void menu(TDEListView *, TQListViewItem *, const TQPoint &);
void initSensors();
void selectAll();
void unSelectAll();
@@ -61,7 +61,7 @@ class SensorsConfig : public KSim::PluginPage
bool m_neverShown;
TQLabel *m_updateLabel;
KIntSpinBox *m_sensorSlider;
- KListView *m_sensorView;
+ TDEListView *m_sensorView;
TQCheckBox *m_fahrenBox;
TQGridLayout *m_layout;
TQPopupMenu *m_popupMenu;