summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrTextObject.cpp
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 /kpresenter/KPrTextObject.cpp
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kpresenter/KPrTextObject.cpp')
-rw-r--r--kpresenter/KPrTextObject.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kpresenter/KPrTextObject.cpp b/kpresenter/KPrTextObject.cpp
index 6cec5fc2..54934755 100644
--- a/kpresenter/KPrTextObject.cpp
+++ b/kpresenter/KPrTextObject.cpp
@@ -1834,7 +1834,7 @@ void KPrTextView::paste()
TQCString returnedMimeType = KoTextObject::providesOasis( data );
if ( !returnedMimeType.isEmpty() )
{
- TQByteArray arr = data->tqencodedData( returnedMimeType );
+ TQByteArray arr = data->encodedData( returnedMimeType );
if ( arr.size() )
{
#if 0
@@ -1850,7 +1850,7 @@ void KPrTextView::paste()
}
else
{
- // 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).
TQString text = TQApplication::tqclipboard()->text();
if ( !text.isEmpty() )
@@ -2379,7 +2379,7 @@ TQDragObject * KPrTextView::newDrag( TQWidget * parent )
KPrDocument * doc = kpTextObject()->kPresenterDocument();
- doc->getVariableCollection()->variableSetting()->setModificationDate( TQDateTime::tqcurrentDateTime() );
+ doc->getVariableCollection()->variableSetting()->setModificationDate( TQDateTime::currentDateTime() );
doc->recalcVariables( VT_DATE );
doc->recalcVariables( VT_TIME );
doc->recalcVariables( VT_STATISTIC );
@@ -2490,7 +2490,7 @@ void KPrTextView::dropEvent( TQDropEvent * e )
TQCString returnedTypeMime = KoTextObject::providesOasis( e );
if ( !returnedTypeMime.isEmpty() )
{
- TQByteArray arr = e->tqencodedData( returnedTypeMime );
+ TQByteArray arr = e->encodedData( returnedTypeMime );
if ( arr.size() )
{
KCommand *cmd = kpTextObject()->pasteOasis( cursor(), arr, false );