summaryrefslogtreecommitdiffstats
path: root/src/kchmtreeviewitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kchmtreeviewitem.cpp')
-rw-r--r--src/kchmtreeviewitem.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kchmtreeviewitem.cpp b/src/kchmtreeviewitem.cpp
index 210be77..c7ae8dc 100644
--- a/src/kchmtreeviewitem.cpp
+++ b/src/kchmtreeviewitem.cpp
@@ -74,7 +74,7 @@ TQString KCHMIndTocItem::getUrl( ) const
if ( !title )
{
- qWarning ("Could not get item name for url '%s'", urls[i].ascii());
+ tqWarning ("Could not get item name for url '%s'", urls[i].ascii());
titles.push_back(TQString());
}
else
@@ -170,7 +170,7 @@ void kchmFillListViewWithParsedData( TQListView * list, const TQValueVector< LCH
// New non-root entry. It is possible (for some buggy CHMs) that there is no previous entry: previoous entry had indent 1,
// and next entry has indent 3. Backtracking it up, creating missing entries.
if ( rootentry[indent-1] == 0 )
- qFatal("Child entry indented as %d with no root entry!", indent);
+ tqFatal("Child entry indented as %d with no root entry!", indent);
item = new KCHMIndTocItem( rootentry[indent-1], lastchild[indent], data[i].name, url, data[i].imageid );
}
@@ -198,7 +198,7 @@ void kchmFillListViewWithParsedData( TQListView * list, const TQValueVector< LCH
root_indent_offset = indent;
if ( root_indent_offset > 1 )
- qWarning("CHM has improper index; root indent offset is %d", root_indent_offset);
+ tqWarning("CHM has improper index; root indent offset is %d", root_indent_offset);
}
int real_indent = indent - root_indent_offset;
@@ -214,7 +214,7 @@ void kchmFillListViewWithParsedData( TQListView * list, const TQValueVector< LCH
{
// New non-root entry
if ( !rootentry[real_indent-1] )
- qFatal("CHMFile::ParseAndFillTopicsTree: child entry \"%s\" indented as %d with no root entry!", name.ascii(), real_indent);
+ tqFatal("CHMFile::ParseAndFillTopicsTree: child entry \"%s\" indented as %d with no root entry!", name.ascii(), real_indent);
item = new KCHMMainTreeViewItem (rootentry[real_indent-1], lastchild[real_indent], name, url, imagenum);
DEBUGPARSER(("<object>: '%s', indent %d, rootentry %08X, item %08X\n", name.ascii(), real_indent, rootentry[real_indent-1], item));
@@ -236,9 +236,9 @@ void kchmFillListViewWithParsedData( TQListView * list, const TQValueVector< LCH
else
{
if ( !urls.isEmpty() )
- qDebug ("CHMFile::ParseAndFillTopicsTree: <object> tag with url \"%s\" is parsed, but name is empty.", urls[0].ascii());
+ tqDebug ("CHMFile::ParseAndFillTopicsTree: <object> tag with url \"%s\" is parsed, but name is empty.", urls[0].ascii());
else
- qDebug ("CHMFile::ParseAndFillTopicsTree: <object> tag is parsed, but both name and url are empty.");
+ tqDebug ("CHMFile::ParseAndFillTopicsTree: <object> tag is parsed, but both name and url are empty.");
}
name = TQString();
@@ -251,7 +251,7 @@ void kchmFillListViewWithParsedData( TQListView * list, const TQValueVector< LCH
{
// Fix for buggy help files
if ( ++indent >= MAX_NEST_DEPTH )
- qFatal("CHMFile::ParseAndFillTopicsTree: max nest depth (%d) is reached, error in help file", MAX_NEST_DEPTH);
+ tqFatal("CHMFile::ParseAndFillTopicsTree: max nest depth (%d) is reached, error in help file", MAX_NEST_DEPTH);
lastchild[indent] = 0;
rootentry[indent] = 0;
@@ -264,7 +264,7 @@ void kchmFillListViewWithParsedData( TQListView * list, const TQValueVector< LCH
&& rootentry[real_indent - 2] != 0 )
{
rootentry[real_indent - 1] = rootentry[real_indent - 2];
- qWarning("Broken CHM index/content: tree autocorrection enabled.");
+ tqWarning("Broken CHM index/content: tree autocorrection enabled.");
}
DEBUGPARSER(("<ul>: new indent is %d, last rootentry was %08X\n", indent - root_indent_offset, rootentry[indent-1]));