summaryrefslogtreecommitdiffstats
path: root/lib/libchmfile/libchmfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libchmfile/libchmfile.cpp')
-rw-r--r--lib/libchmfile/libchmfile.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/libchmfile/libchmfile.cpp b/lib/libchmfile/libchmfile.cpp
index 7d13aaa..e88e37c 100644
--- a/lib/libchmfile/libchmfile.cpp
+++ b/lib/libchmfile/libchmfile.cpp
@@ -33,7 +33,7 @@ LCHMFile::~ LCHMFile( )
delete m_impl;
}
-bool LCHMFile::loadFile( const QString & archiveName )
+bool LCHMFile::loadFile( const TQString & archiveName )
{
return m_impl->loadFile( archiveName );
}
@@ -43,14 +43,14 @@ void LCHMFile::closeAll( )
m_impl->closeAll();
}
-QString LCHMFile::title( ) const
+TQString LCHMFile::title( ) const
{
return m_impl->title();
}
-QString LCHMFile::homeUrl( ) const
+TQString LCHMFile::homeUrl( ) const
{
- QString url = m_impl->homeUrl();
+ TQString url = m_impl->homeUrl();
return url.isNull() ? "/" : url;
}
@@ -79,27 +79,27 @@ bool LCHMFile::parseIndex( QT34VECTOR< LCHMParsedEntry > * indexes ) const
return m_impl->parseFileAndFillArray( m_impl->m_indexFile, indexes, true );
}
-bool LCHMFile::getFileContentAsString( QString * str, const QString & url )
+bool LCHMFile::getFileContentAsString( TQString * str, const TQString & url )
{
return m_impl->getFileContentAsString( str, url );
}
-bool LCHMFile::getFileContentAsBinary( QByteArray * data, const QString & url )
+bool LCHMFile::getFileContentAsBinary( TQByteArray * data, const TQString & url )
{
return m_impl->getFileContentAsBinary( data, url );
}
-bool LCHMFile::enumerateFiles( QStringList * files )
+bool LCHMFile::enumerateFiles( TQStringList * files )
{
return m_impl->enumerateFiles( files );
}
-QString LCHMFile::getTopicByUrl( const QString & url )
+TQString LCHMFile::getTopicByUrl( const TQString & url )
{
return m_impl->getTopicByUrl( url );
}
-const QPixmap * LCHMFile::getBookIconPixmap( unsigned int imagenum )
+const TQPixmap * LCHMFile::getBookIconPixmap( unsigned int imagenum )
{
return m_impl->getBookIconPixmap( imagenum );
}
@@ -114,12 +114,12 @@ bool LCHMFile::setCurrentEncoding( const LCHMTextEncoding * encoding )
return m_impl->setCurrentEncoding( encoding );
}
-QString LCHMFile::normalizeUrl( const QString & url ) const
+TQString LCHMFile::normalizeUrl( const TQString & url ) const
{
return m_impl->normalizeUrl( url );
}
-bool LCHMFile::getFileSize(unsigned int * size, const QString & url)
+bool LCHMFile::getFileSize(unsigned int * size, const TQString & url)
{
return m_impl->getFileSize( size, url );
}