diff options
Diffstat (limited to 'lib/store')
-rw-r--r-- | lib/store/KoDirectoryStore.cpp | 2 | ||||
-rw-r--r-- | lib/store/KoXmlWriter.cpp | 2 | ||||
-rw-r--r-- | lib/store/KoXmlWriter.h | 2 | ||||
-rw-r--r-- | lib/store/tests/storedroptest.cpp | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/store/KoDirectoryStore.cpp b/lib/store/KoDirectoryStore.cpp index 76e5aa72..894a7b39 100644 --- a/lib/store/KoDirectoryStore.cpp +++ b/lib/store/KoDirectoryStore.cpp @@ -72,7 +72,7 @@ bool KoDirectoryStore::openReadOrWrite( const TQString& name, int iomode ) return false; } m_stream = TQT_TQIODEVICE(new TQFile( m_basePath + name )); - if ( !m_stream->tqopen( iomode ) ) + if ( !m_stream->open( iomode ) ) { delete m_stream; m_stream = 0L; diff --git a/lib/store/KoXmlWriter.cpp b/lib/store/KoXmlWriter.cpp index f3568606..5fff1e83 100644 --- a/lib/store/KoXmlWriter.cpp +++ b/lib/store/KoXmlWriter.cpp @@ -104,7 +104,7 @@ void KoXmlWriter::startElement( const char* tagName, bool indentInside ) { Q_ASSERT( tagName != 0 ); - // Tell parent that it has tqchildren + // Tell parent that it has children bool parentIndent = prepareForChild(); m_tags.push( Tag( tagName, parentIndent && indentInside ) ); diff --git a/lib/store/KoXmlWriter.h b/lib/store/KoXmlWriter.h index 5261dd5f..eaf453d2 100644 --- a/lib/store/KoXmlWriter.h +++ b/lib/store/KoXmlWriter.h @@ -226,7 +226,7 @@ private: : tagName( t ), hasChildren( false ), lastChildIsText( false ), openingTagClosed( false ), indentInside( ind ) {} const char* tagName; - bool hasChildren; ///< element or text tqchildren + bool hasChildren; ///< element or text children bool lastChildIsText; ///< last child is a text node bool openingTagClosed; ///< true once the '\>' in \<tag a="b"\> is written out bool indentInside; ///< whether to indent the contents of this tag diff --git a/lib/store/tests/storedroptest.cpp b/lib/store/tests/storedroptest.cpp index a27bfc41..fccb27c0 100644 --- a/lib/store/tests/storedroptest.cpp +++ b/lib/store/tests/storedroptest.cpp @@ -127,11 +127,11 @@ void StoreDropTest::showZipContents( TQByteArray data, const char* mimeType, boo TQString StoreDropTest::loadTextFile( KoStore* store, const TQString& fileName ) { if ( !store->open( fileName ) ) - return TQString( "%1 not found\n" ).tqarg( fileName ); + return TQString( "%1 not found\n" ).arg( fileName ); TQByteArray data = store->device()->readAll(); store->close(); - TQString txt = TQString( "Found %1: \n" ).tqarg( fileName ); + TQString txt = TQString( "Found %1: \n" ).arg( fileName ); txt += TQString::fromUtf8( data.data(), data.size() ); txt += "\n"; return txt; |