summaryrefslogtreecommitdiffstats
path: root/kcontrol/info/info_openbsd.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-19 01:42:14 +0000
commit8155225c9be993acc0512956416d195edfef4eb9 (patch)
treede4f3cd17614fc67e47eefabcdbe2fbe170c9be7 /kcontrol/info/info_openbsd.cpp
parent364641b8e0279758d236af39abd138d379328a19 (diff)
downloadtdebase-8155225c9be993acc0512956416d195edfef4eb9.tar.gz
tdebase-8155225c9be993acc0512956416d195edfef4eb9.zip
Enable compilation with TQt for Qt4 3.4.0 TP2
This should not break compatibility with TQt for Qt3; if it does please fix it ASAP! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1215552 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/info/info_openbsd.cpp')
-rw-r--r--kcontrol/info/info_openbsd.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kcontrol/info/info_openbsd.cpp b/kcontrol/info/info_openbsd.cpp
index 12ec8ee2d..6a68e33cb 100644
--- a/kcontrol/info/info_openbsd.cpp
+++ b/kcontrol/info/info_openbsd.cpp
@@ -122,16 +122,16 @@ static bool GetDmesgInfo(TQListView *lBox, const char *filter,
TQListViewItem *olditem = NULL;
while(!(s = t->readLine()).isNull()) {
if (!seencpu) {
- if (s.contains("cpu"))
+ if (s.tqcontains("cpu"))
seencpu = true;
else
continue;
}
- if (s.contains("boot device") ||
- s.contains("WARNING: old BSD partition ID!"))
+ if (s.tqcontains("boot device") ||
+ s.tqcontains("WARNING: old BSD partition ID!"))
break;
- if (!filter || s.contains(filter)) {
+ if (!filter || s.tqcontains(filter)) {
if (func) {
func(lBox, s, &opaque, false);
}
@@ -180,7 +180,7 @@ void AddIRQLine(TQListView *lBox, TQString s, void **opaque, bool ending)
return;
}
- pos = s.find(" irq ");
+ pos = s.tqfind(" irq ");
irqnum = (pos < 0) ? 0 : atoi(&p[pos+5]);
if (irqnum) {
s.sprintf("%02d%s", irqnum, p);
@@ -232,7 +232,7 @@ bool GetInfo_Sound (TQListView *lbox)
char *dev;
s = lvitem->text(0);
- if ((pos = s.find("at ")) >= 0) {
+ if ((pos = s.tqfind("at ")) >= 0) {
pos += 3; // skip "at "
start = end = s.ascii();
for(; (*end!=':') && (*end!='\n'); end++);