summaryrefslogtreecommitdiffstats
path: root/ksim/monitorprefs.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
commita2277b6bc715464e83882b90c2a058139b8a6b54 (patch)
treeab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /ksim/monitorprefs.cpp
parentd3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff)
downloadtdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz
tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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)) {