diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:58 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:58 -0600 |
commit | 9e5c87c89567a98c3344c90e392a27715437334c (patch) | |
tree | 6c1dd96ae0ba38b7e8f0a492d591881f44f474da /ksim/monitors | |
parent | 53904b41cf005abbae3d468532db9adc2b04a9b4 (diff) | |
download | tdeutils-9e5c87c89567a98c3344c90e392a27715437334c.tar.gz tdeutils-9e5c87c89567a98c3344c90e392a27715437334c.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'ksim/monitors')
-rw-r--r-- | ksim/monitors/cpu/ksimcpu.cpp | 2 | ||||
-rw-r--r-- | ksim/monitors/cpu/ksimcpu.h | 4 | ||||
-rw-r--r-- | ksim/monitors/disk/ksimdisk.cpp | 2 | ||||
-rw-r--r-- | ksim/monitors/disk/ksimdisk.h | 4 | ||||
-rw-r--r-- | ksim/monitors/filesystem/fsystemconfig.cpp | 2 | ||||
-rw-r--r-- | ksim/monitors/filesystem/fsystemconfig.h | 4 | ||||
-rw-r--r-- | ksim/monitors/filesystem/ksimfsystem.h | 2 | ||||
-rw-r--r-- | ksim/monitors/lm_sensors/sensorsconfig.cpp | 8 | ||||
-rw-r--r-- | ksim/monitors/lm_sensors/sensorsconfig.h | 6 | ||||
-rw-r--r-- | ksim/monitors/net/netconfig.cpp | 8 | ||||
-rw-r--r-- | ksim/monitors/net/netconfig.h | 6 | ||||
-rw-r--r-- | ksim/monitors/snmp/browsedialogbase.ui | 2 | ||||
-rw-r--r-- | ksim/monitors/snmp/configwidget.ui | 4 | ||||
-rw-r--r-- | ksim/monitors/snmp/proberesultdialogbase.ui | 2 |
14 files changed, 28 insertions, 28 deletions
diff --git a/ksim/monitors/cpu/ksimcpu.cpp b/ksim/monitors/cpu/ksimcpu.cpp index 7a092e1..ecd19f5 100644 --- a/ksim/monitors/cpu/ksimcpu.cpp +++ b/ksim/monitors/cpu/ksimcpu.cpp @@ -367,7 +367,7 @@ CpuConfig::CpuConfig(KSim::PluginObject *parent, const char *name) TQVBoxLayout * mainLayout = new TQVBoxLayout( this ); mainLayout->setSpacing( 6 ); - m_listView = new KListView(this); + m_listView = new TDEListView(this); m_listView->addColumn(i18n("Available CPUs")); m_listView->addColumn(i18n("Chart Format")); m_listView->setAllColumnsShowFocus(true); diff --git a/ksim/monitors/cpu/ksimcpu.h b/ksim/monitors/cpu/ksimcpu.h index 315f113..1ca3fca 100644 --- a/ksim/monitors/cpu/ksimcpu.h +++ b/ksim/monitors/cpu/ksimcpu.h @@ -35,7 +35,7 @@ class TQLabel; class TQGroupBox; class TQTimer; class TQListViewItem; -class KListView; +class TDEListView; class CpuPlugin : public KSim::PluginObject { @@ -216,7 +216,7 @@ class CpuConfig : public KSim::PluginPage private: uint addCpus(); - KListView *m_listView; + TDEListView *m_listView; TQGroupBox *m_legendBox; TQLabel *m_totalNiceLabel; TQLabel *m_totalLabel; diff --git a/ksim/monitors/disk/ksimdisk.cpp b/ksim/monitors/disk/ksimdisk.cpp index 3a38100..cb19b99 100644 --- a/ksim/monitors/disk/ksimdisk.cpp +++ b/ksim/monitors/disk/ksimdisk.cpp @@ -478,7 +478,7 @@ DiskConfig::DiskConfig(KSim::PluginObject *parent, const char *name) m_layout = new TQVBoxLayout(this); m_layout->setSpacing(6); - m_listview = new KListView(this); + m_listview = new TDEListView(this); m_listview->addColumn(i18n("Disks")); m_layout->addWidget(m_listview); diff --git a/ksim/monitors/disk/ksimdisk.h b/ksim/monitors/disk/ksimdisk.h index ea1b2d6..3cf62d1 100644 --- a/ksim/monitors/disk/ksimdisk.h +++ b/ksim/monitors/disk/ksimdisk.h @@ -29,7 +29,7 @@ class TQTextStream; class TQTimer; -class KListView; +class TDEListView; class TQVBoxLayout; class TQVButtonGroup; class TQRadioButton; @@ -146,7 +146,7 @@ class DiskConfig : public KSim::PluginPage private: TQVBoxLayout *m_layout; - KListView *m_listview; + TDEListView *m_listview; TQPushButton *m_add; TQPushButton *m_remove; TQVButtonGroup *m_buttonBox; diff --git a/ksim/monitors/filesystem/fsystemconfig.cpp b/ksim/monitors/filesystem/fsystemconfig.cpp index d9d55e9..0987237 100644 --- a/ksim/monitors/filesystem/fsystemconfig.cpp +++ b/ksim/monitors/filesystem/fsystemconfig.cpp @@ -52,7 +52,7 @@ FsystemConfig::FsystemConfig(KSim::PluginObject *parent, const char *name) m_mainLayout = new TQGridLayout(this); m_mainLayout->setSpacing(6); - m_availableMounts = new KListView(this); + m_availableMounts = new TDEListView(this); m_availableMounts->addColumn(i18n("Mounted Partition")); m_availableMounts->addColumn(i18n("Device")); m_availableMounts->addColumn(i18n("Type")); diff --git a/ksim/monitors/filesystem/fsystemconfig.h b/ksim/monitors/filesystem/fsystemconfig.h index 0ec124c..fe37957 100644 --- a/ksim/monitors/filesystem/fsystemconfig.h +++ b/ksim/monitors/filesystem/fsystemconfig.h @@ -24,7 +24,7 @@ #include "filesystemstats.h" class KIntSpinBox; -class KListView; +class TDEListView; class TQGridLayout; class TQCheckBox; class TQLabel; @@ -52,7 +52,7 @@ class FsystemConfig : public KSim::PluginPage TQCheckBox *m_splitNames; TQLabel *m_intervalLabel; KIntSpinBox *m_updateTimer; - KListView *m_availableMounts; + TDEListView *m_availableMounts; TQGridLayout *m_mainLayout; FilesystemStats::List m_entries; }; diff --git a/ksim/monitors/filesystem/ksimfsystem.h b/ksim/monitors/filesystem/ksimfsystem.h index 17ab1f0..1583ba1 100644 --- a/ksim/monitors/filesystem/ksimfsystem.h +++ b/ksim/monitors/filesystem/ksimfsystem.h @@ -23,7 +23,7 @@ #include <pluginmodule.h> #include "fsystemiface.h" -class KPopupMenu; +class TDEPopupMenu; class FilesystemWidget; class TQTimer; 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; diff --git a/ksim/monitors/net/netconfig.cpp b/ksim/monitors/net/netconfig.cpp index 4444d4c..6757977 100644 --- a/ksim/monitors/net/netconfig.cpp +++ b/ksim/monitors/net/netconfig.cpp @@ -43,15 +43,15 @@ NetConfig::NetConfig(KSim::PluginObject *parent, const char *name) TQVBoxLayout *mainLayout = new TQVBoxLayout(this); mainLayout->setSpacing(6); - usingBox = new KListView(this); + usingBox = new TDEListView(this); usingBox ->addColumn(i18n("Interface")); usingBox ->addColumn(i18n("Timer")); usingBox ->addColumn(i18n("Commands")); usingBox->setAllColumnsShowFocus(true); - connect(usingBox, TQT_SIGNAL(contextMenu(KListView *, + connect(usingBox, TQT_SIGNAL(contextMenu(TDEListView *, TQListViewItem *, const TQPoint &)), - TQT_SLOT(menu(KListView *, TQListViewItem *, const TQPoint &))); + TQT_SLOT(menu(TDEListView *, TQListViewItem *, const TQPoint &))); connect(usingBox, TQT_SIGNAL(doubleClicked(TQListViewItem *)), TQT_SLOT(modifyItem(TQListViewItem *))); mainLayout->addWidget(usingBox); @@ -138,7 +138,7 @@ void NetConfig::readConfig() } } -void NetConfig::menu(KListView *, TQListViewItem *item, const TQPoint &) +void NetConfig::menu(TDEListView *, TQListViewItem *item, const TQPoint &) { aboutMenu = new TQPopupMenu(this); diff --git a/ksim/monitors/net/netconfig.h b/ksim/monitors/net/netconfig.h index 5bf2716..2a62158 100644 --- a/ksim/monitors/net/netconfig.h +++ b/ksim/monitors/net/netconfig.h @@ -26,7 +26,7 @@ class NetDialog; class TQPopupMenu; class TQPushButton; -class KListView; +class TDEListView; class TQHBoxLayout; class TQListViewItem; @@ -42,7 +42,7 @@ class NetConfig : public KSim::PluginPage virtual void readConfig(); private slots: - void menu(KListView *, TQListViewItem *, const TQPoint &); + void menu(TDEListView *, TQListViewItem *, const TQPoint &); void modifyItem(TQListViewItem *); void removeItem(TQListViewItem *); void removeCurrent(); @@ -58,7 +58,7 @@ class NetConfig : public KSim::PluginPage TQPushButton *insertButton; TQPushButton *removeButton; TQPushButton *modifyButton; - KListView *usingBox; + TDEListView *usingBox; NetDialog *netDialog; Network::List m_networkList; TQString m_yes; diff --git a/ksim/monitors/snmp/browsedialogbase.ui b/ksim/monitors/snmp/browsedialogbase.ui index 07e4fd5..6cc8f72 100644 --- a/ksim/monitors/snmp/browsedialogbase.ui +++ b/ksim/monitors/snmp/browsedialogbase.ui @@ -67,7 +67,7 @@ </widget> </hbox> </widget> - <widget class="KListView" row="1" column="0"> + <widget class="TDEListView" row="1" column="0"> <column> <property name="text"> <string>Object</string> diff --git a/ksim/monitors/snmp/configwidget.ui b/ksim/monitors/snmp/configwidget.ui index 69b94db..5c6ff93 100644 --- a/ksim/monitors/snmp/configwidget.ui +++ b/ksim/monitors/snmp/configwidget.ui @@ -51,7 +51,7 @@ <string>Add...</string> </property> </widget> - <widget class="KListView" row="0" column="0" rowspan="1" colspan="4"> + <widget class="TDEListView" row="0" column="0" rowspan="1" colspan="4"> <column> <property name="text"> <string>Host</string> @@ -163,7 +163,7 @@ </size> </property> </spacer> - <widget class="KListView" row="0" column="0" rowspan="1" colspan="4"> + <widget class="TDEListView" row="0" column="0" rowspan="1" colspan="4"> <column> <property name="text"> <string>Name</string> diff --git a/ksim/monitors/snmp/proberesultdialogbase.ui b/ksim/monitors/snmp/proberesultdialogbase.ui index dcdbd2a..3b950b1 100644 --- a/ksim/monitors/snmp/proberesultdialogbase.ui +++ b/ksim/monitors/snmp/proberesultdialogbase.ui @@ -30,7 +30,7 @@ <string></string> </property> </widget> - <widget class="KListView"> + <widget class="TDEListView"> <column> <property name="text"> <string>Object</string> |