summaryrefslogtreecommitdiffstats
path: root/lib/store
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:38:41 -0600
commitf0de9e167e289ab7dc33e57f077c1f04ec7c68c8 (patch)
tree1fc538e179833e62caec21956bfe47a252be5a72 /lib/store
parent11191ef0b9908604d1d7aaca382b011ef22c454c (diff)
downloadkoffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.tar.gz
koffice-f0de9e167e289ab7dc33e57f077c1f04ec7c68c8.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'lib/store')
-rw-r--r--lib/store/KoDirectoryStore.cpp2
-rw-r--r--lib/store/KoXmlWriter.cpp2
-rw-r--r--lib/store/KoXmlWriter.h2
-rw-r--r--lib/store/tests/storedroptest.cpp4
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;