summaryrefslogtreecommitdiffstats
path: root/ksim/monitorprefs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksim/monitorprefs.cpp')
-rw-r--r--ksim/monitorprefs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksim/monitorprefs.cpp b/ksim/monitorprefs.cpp
index 0038c85..0cac472 100644
--- a/ksim/monitorprefs.cpp
+++ b/ksim/monitorprefs.cpp
@@ -29,8 +29,8 @@
#include <ksimconfig.h>
#include <pluginloader.h>
-KSim::MonitorPrefs::MonitorPrefs(TQWidget *parent, const char *name)
- : KListView(parent, name)
+KSim::MonitorPrefs::MonitorPrefs(TQWidget *tqparent, const char *name)
+ : KListView(tqparent, name)
{
addColumn(i18n("Monitor"));
addColumn(i18n("Description"));
@@ -67,7 +67,7 @@ void KSim::MonitorPrefs::saveConfig(KSim::Config *config)
TQStringList::ConstIterator it;
for (it = m_locatedFiles.begin(); it != m_locatedFiles.end(); ++it) {
KSim::PluginInfo info = KSim::PluginLoader::self().findPluginInfo((*it));
- item = static_cast<TQCheckListItem *>(findItem(info.name(), 0));
+ item = static_cast<TQCheckListItem *>(tqfindItem(info.name(), 0));
config->setEnabledMonitor(info.libName(), item->isOn());
config->setMonitorCommand(info.libName(), item->text(2));
config->setMonitorLocation(info.libName(), itemIndex(item));
@@ -82,7 +82,7 @@ void KSim::MonitorPrefs::readConfig(KSim::Config *config)
for (it = m_locatedFiles.begin(); it != m_locatedFiles.end(); ++it) {
KSim::PluginInfo info = KSim::PluginLoader::self().findPluginInfo((*it));
location = config->monitorLocation(info.libName());
- origItem = static_cast<TQCheckListItem *>(findItem(info.name(), 0));
+ origItem = static_cast<TQCheckListItem *>(tqfindItem(info.name(), 0));
origItem->setOn(config->enabledMonitor(info.libName()));
origItem->setText(2, config->monitorCommand(info.libName()));
if (TQListViewItem *item = itemAtIndex(location)) {