diff options
Diffstat (limited to 'ksim')
-rw-r--r-- | ksim/monitorprefs.cpp | 4 | ||||
-rw-r--r-- | ksim/monitorprefs.h | 2 | ||||
-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 | ||||
-rw-r--r-- | ksim/themeprefs.cpp | 10 | ||||
-rw-r--r-- | ksim/themeprefs.h | 4 |
18 files changed, 38 insertions, 38 deletions
diff --git a/ksim/monitorprefs.cpp b/ksim/monitorprefs.cpp index d85be8a..cbddf84 100644 --- a/ksim/monitorprefs.cpp +++ b/ksim/monitorprefs.cpp @@ -30,7 +30,7 @@ #include <pluginloader.h> KSim::MonitorPrefs::MonitorPrefs(TQWidget *parent, const char *name) - : KListView(parent, name) + : TDEListView(parent, name) { addColumn(i18n("Monitor")); addColumn(i18n("Description")); @@ -44,7 +44,7 @@ KSim::MonitorPrefs::MonitorPrefs(TQWidget *parent, const char *name) setAllColumnsShowFocus(true); setSelectionMode(TQListView::Single); - // Scan for .desktop files and enter them into the KListView + // Scan for .desktop files and enter them into the TDEListView m_locatedFiles = TDEGlobal::dirs()->findAllResources("data", "ksim/monitors/*.desktop"); m_locatedFiles.sort(); TQStringList::ConstIterator it; diff --git a/ksim/monitorprefs.h b/ksim/monitorprefs.h index 07035da..64342a3 100644 --- a/ksim/monitorprefs.h +++ b/ksim/monitorprefs.h @@ -27,7 +27,7 @@ namespace KSim { class Config; - class MonitorPrefs : public KListView + class MonitorPrefs : public TDEListView { Q_OBJECT 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> diff --git a/ksim/themeprefs.cpp b/ksim/themeprefs.cpp index dc12f45..b54d761 100644 --- a/ksim/themeprefs.cpp +++ b/ksim/themeprefs.cpp @@ -43,11 +43,11 @@ #include <common.h> #include <themeloader.h> -class ThemeViewItem : public KListViewItem +class ThemeViewItem : public TDEListViewItem { public: ThemeViewItem(TQListView *parent, const TQString &text, - const KURL &url) : KListViewItem(parent, text) + const KURL &url) : TDEListViewItem(parent, text) { m_url = url; } @@ -96,7 +96,7 @@ KSim::ThemePrefs::ThemePrefs(TQWidget *parent, const char *name) m_authLabel->setText(i18n("None")); m_themeLayout->addMultiCellWidget(m_authLabel, 3, 3, 1, 4); - m_listView = new KListView(this); + m_listView = new TDEListView(this); m_listView->addColumn(i18n("Theme")); m_listView->setFullWidth(true); connect(m_listView, TQT_SIGNAL(currentChanged(TQListViewItem *)), @@ -265,8 +265,8 @@ void KSim::ThemePrefs::showFontDialog(int currentItem) { if (currentItem == 3) { TQFont customFont = m_font; - int result = KFontDialog::getFont(customFont); - if (result == KFontDialog::Accepted) + int result = TDEFontDialog::getFont(customFont); + if (result == TDEFontDialog::Accepted) m_font = customFont; } } diff --git a/ksim/themeprefs.h b/ksim/themeprefs.h index b03f878..8fca089 100644 --- a/ksim/themeprefs.h +++ b/ksim/themeprefs.h @@ -26,7 +26,7 @@ class TQListViewItem; class TQGridLayout; class TQLabel; -class KListView; +class TDEListView; class KURLLabel; class KComboBox; class KSqueezedTextLabel; @@ -97,7 +97,7 @@ namespace KSim void showFontDialog(int); private: - KListView *m_listView; + TDEListView *m_listView; KURLLabel *m_urlLabel; KIntSpinBox *m_altTheme; KComboBox *m_fontsCombo; |