summaryrefslogtreecommitdiffstats
path: root/ksysv/ksv_core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksysv/ksv_core.cpp')
-rw-r--r--ksysv/ksv_core.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksysv/ksv_core.cpp b/ksysv/ksv_core.cpp
index 6611211..87d5528 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.find(' ', amount - i, false)) < 0 || (pos > maximum + i))
+ if ((pos = str.tqfind(' ', amount - i, false)) < 0 || (pos > maximum + i))
continue;
else
break;
@@ -103,15 +103,15 @@ TQStyleSheet* ksv::styleSheet ()
// item->setDisplayMode (TQStyleSheetItem::DisplayBlock);
item = new TQStyleSheetItem (&style, "start"); // start section
- item->setColor (Qt::green);
+ item->setColor (TQt::green);
// item->setContexts ("rl");
item = new TQStyleSheetItem (&style, "stop"); // stop section
- item->setColor (Qt::red);
+ item->setColor (TQt::red);
// item->setContexts ("rl");
item = new TQStyleSheetItem (&style, "error"); // signal an error
- item->setColor (Qt::red);
+ item->setColor (TQt::red);
item->setLogicalFontSizeStep (1);
item = new TQStyleSheetItem (&style, "cmd"); // command line