summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_sheet.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /kspread/kspread_sheet.cc
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kspread/kspread_sheet.cc')
-rw-r--r--kspread/kspread_sheet.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/kspread/kspread_sheet.cc b/kspread/kspread_sheet.cc
index 09abcf8a..0e7f7bcc 100644
--- a/kspread/kspread_sheet.cc
+++ b/kspread/kspread_sheet.cc
@@ -222,12 +222,12 @@ TextDrag::~TextDrag()
}
-TQByteArray TextDrag::tqencodedData( const char * mime ) const
+TQByteArray TextDrag::encodedData( const char * mime ) const
{
if ( strcmp( selectionMimeType(), mime ) == 0)
return m_kspread;
else
- return TQTextDrag::tqencodedData( mime );
+ return TQTextDrag::encodedData( mime );
}
bool TextDrag::canDecode( TQMimeSource* e )
@@ -5125,11 +5125,11 @@ void Sheet::paste( const TQRect& pasteArea, bool makeUndo,
if ( mime->provides( TextDrag::selectionMimeType() ) )
{
- b = mime->tqencodedData( TextDrag::selectionMimeType() );
+ b = mime->encodedData( TextDrag::selectionMimeType() );
}
else if( mime->provides( "text/plain" ) )
{
- // Note: TQClipboard::text() seems to do a better job than tqencodedData( "text/plain" )
+ // Note: TQClipboard::text() seems to do a better job than encodedData( "text/plain" )
// In particular it handles charsets (in the mimetype). Copied from KPresenter ;-)
TQString _text = TQApplication::tqclipboard()->text( clipboardMode );
doc()->emitBeginOperation();
@@ -5152,7 +5152,7 @@ void Sheet::paste( const TQRect& pasteArea, bool makeUndo,
void Sheet::pasteTextPlain( TQString &_text, TQRect pasteArea)
{
// TQString tmp;
-// tmp= TQString::fromLocal8Bit(_mime->tqencodedData( "text/plain" ));
+// tmp= TQString::fromLocal8Bit(_mime->encodedData( "text/plain" ));
if( _text.isEmpty() )
return;
@@ -5530,7 +5530,7 @@ bool Sheet::testAreaPasteInsert()const
TQByteArray b;
if ( mime->provides( "application/x-kspread-snippet" ) )
- b = mime->tqencodedData( "application/x-kspread-snippet" );
+ b = mime->encodedData( "application/x-kspread-snippet" );
else
return false;
@@ -7171,7 +7171,7 @@ void Sheet::convertPart( const TQString & part, KoXmlWriter & xmlWriter ) const
TQDomElement t = dd.createElement( "text:date" );
t.setAttribute( "text:date-value", "0-00-00" );
// todo: "style:data-style-name", "N2"
- t.appendChild( dd.createTextNode( TQDate::tqcurrentDate().toString() ) );
+ t.appendChild( dd.createTextNode( TQDate::currentDate().toString() ) );
parent.appendChild( t );
#endif
}