summaryrefslogtreecommitdiffstats
path: root/filters/olefilters/olefilter.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /filters/olefilters/olefilter.cc
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'filters/olefilters/olefilter.cc')
-rw-r--r--filters/olefilters/olefilter.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/filters/olefilters/olefilter.cc b/filters/olefilters/olefilter.cc
index 0f052e13..ef4f6cd0 100644
--- a/filters/olefilters/olefilter.cc
+++ b/filters/olefilters/olefilter.cc
@@ -69,7 +69,7 @@ OLEFilter::~OLEFilter()
delete docfile;
}
-KoFilter::ConversionStatus OLEFilter::convert( const TQCString& from, const TQCString& to )
+KoFilter::ConversiontqStatus OLEFilter::convert( const TQCString& from, const TQCString& to )
{
if(to!="application/x-kword" &&
to!="application/x-kspread" &&
@@ -118,9 +118,9 @@ void OLEFilter::commSlotDelayStream( const char* delay )
emit internalCommDelayStream( delay );
}
-void OLEFilter::commSlotShapeID( unsigned int& shapeID )
+void OLEFilter::commSlotShapeID( unsigned int& tqshapeID )
{
- emit internalCommShapeID( shapeID );
+ emit internalCommShapeID( tqshapeID );
}
void OLEFilter::slotSavePart(
@@ -153,7 +153,7 @@ void OLEFilter::slotSavePart(
if ( srcMime == KMimeType::defaultMimeType() )
kdWarning( s_area ) << "Couldn't determine the mimetype from the extension" << endl;
- KoFilter::ConversionStatus status;
+ KoFilter::ConversiontqStatus status;
TQCString destMime( mimeType.latin1() );
storageId = TQString::number( embedPart( srcMime.latin1(), destMime, status, nameIN ) );
@@ -234,7 +234,7 @@ void OLEFilter::slotSavePic(
else
{
// It's not here, so let's generate one.
- storageId = TQString( "pictures/picture%1.%2" ).arg( numPic++ ).arg( extension );
+ storageId = TQString( "pictures/picture%1.%2" ).tqarg( numPic++ ).tqarg( extension );
imageMap.insert(nameIN, storageId);
KoStoreDevice* pic = m_chain->storageFile( storageId, KoStore::Write );
if(!pic)