summaryrefslogtreecommitdiffstats
path: root/ksysv
diff options
context:
space:
mode:
Diffstat (limited to 'ksysv')
-rw-r--r--ksysv/IOCore.cpp4
-rw-r--r--ksysv/TopWidget.cpp2
-rw-r--r--ksysv/kdltooltip.cpp6
-rw-r--r--ksysv/ksv_conf.cpp2
-rw-r--r--ksysv/ksv_core.cpp2
5 files changed, 8 insertions, 8 deletions
diff --git a/ksysv/IOCore.cpp b/ksysv/IOCore.cpp
index 3535317..8c7dc90 100644
--- a/ksysv/IOCore.cpp
+++ b/ksysv/IOCore.cpp
@@ -121,7 +121,7 @@ TQString ksv::IO::makeRelativePath (const TQString& from, const TQString& to)
while (pos > -1)
{
const int old = pos + 1;
- const int res = from.tqfind('/', old);
+ const int res = from.find('/', old);
int length = 0;
@@ -143,7 +143,7 @@ TQString ksv::IO::makeRelativePath (const TQString& from, const TQString& to)
while (pos > -1)
{
const int old = pos + 1;
- const int res = to.tqfind('/', old);
+ const int res = to.find('/', old);
int length = 0;
diff --git a/ksysv/TopWidget.cpp b/ksysv/TopWidget.cpp
index 53cde77..f039d63 100644
--- a/ksysv/TopWidget.cpp
+++ b/ksysv/TopWidget.cpp
@@ -725,7 +725,7 @@ void KSVTopLevel::print()
// // if (line.isNull())
// // line = " ";
-// // line.tqreplace( TQRegExp("\t"), " " );
+// // line.replace( TQRegExp("\t"), " " );
// // strncpy(buf,line.data(),160);
diff --git a/ksysv/kdltooltip.cpp b/ksysv/kdltooltip.cpp
index 1b98fa4..0260b5d 100644
--- a/ksysv/kdltooltip.cpp
+++ b/ksysv/kdltooltip.cpp
@@ -42,7 +42,7 @@ void KDLToolTip::maybeTip (const TQPoint& p)
const TQRect vert = mParent->verticalScrollBar()->tqgeometry();
const TQRect horiz = mParent->horizontalScrollBar()->tqgeometry();
- if (vert.tqcontains(p))
+ if (vert.contains(p))
{
rect = vert;
@@ -51,7 +51,7 @@ void KDLToolTip::maybeTip (const TQPoint& p)
else
text = mParent->tooltip();
}
- else if (horiz.tqcontains(p))
+ else if (horiz.contains(p))
{
rect = horiz;
if (!mParent->commonToolTips())
@@ -67,7 +67,7 @@ void KDLToolTip::maybeTip (const TQPoint& p)
KSVItem* item = static_cast<KSVItem*> (i);
rect = mParent->header()->tqgeometry();
- if (rect.tqcontains (p))
+ if (rect.contains (p))
{
text = mParent->tooltip();
}
diff --git a/ksysv/ksv_conf.cpp b/ksysv/ksv_conf.cpp
index e279193..a4a713d 100644
--- a/ksysv/ksv_conf.cpp
+++ b/ksysv/ksv_conf.cpp
@@ -118,7 +118,7 @@ void KSVConfig::writeSettings() {
bool KSVConfig::showRunlevel (int index) const
{
- if (mShowRunlevel.tqcontains (index))
+ if (mShowRunlevel.contains (index))
return mShowRunlevel[index];
else
return false;
diff --git a/ksysv/ksv_core.cpp b/ksysv/ksv_core.cpp
index 87d5528..b71ab78 100644
--- a/ksysv/ksv_core.cpp
+++ b/ksysv/ksv_core.cpp
@@ -59,7 +59,7 @@ TQString ksv::breakWords (const TQString& s, int amount)
int pos = -1;
for (int i = 1; i < amount; ++i)
{
- if ((pos = str.tqfind(' ', amount - i, false)) < 0 || (pos > maximum + i))
+ if ((pos = str.find(' ', amount - i, false)) < 0 || (pos > maximum + i))
continue;
else
break;