summaryrefslogtreecommitdiffstats
path: root/lib/kformula
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 /lib/kformula
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'lib/kformula')
-rw-r--r--lib/kformula/kformulacontainer.cc2
-rw-r--r--lib/kformula/kformulamimesource.cc2
-rw-r--r--lib/kformula/kformulamimesource.h2
-rw-r--r--lib/kformula/kformulawidget.cc2
-rw-r--r--lib/kformula/symbolaction.cc4
5 files changed, 6 insertions, 6 deletions
diff --git a/lib/kformula/kformulacontainer.cc b/lib/kformula/kformulacontainer.cc
index 774c7e79..f533db86 100644
--- a/lib/kformula/kformulacontainer.cc
+++ b/lib/kformula/kformulacontainer.cc
@@ -342,7 +342,7 @@ void Container::paste()
TQClipboard* clipboard = TQApplication::tqclipboard();
const TQMimeSource* source = clipboard->data();
if (source->provides( MimeSource::selectionMimeType() )) {
- TQByteArray data = source->tqencodedData( MimeSource::selectionMimeType() );
+ TQByteArray data = source->encodedData( MimeSource::selectionMimeType() );
TQDomDocument formula;
formula.setContent(data);
paste( formula, i18n("Paste") );
diff --git a/lib/kformula/kformulamimesource.cc b/lib/kformula/kformulamimesource.cc
index 58a6ad35..4c7df0c7 100644
--- a/lib/kformula/kformulamimesource.cc
+++ b/lib/kformula/kformulamimesource.cc
@@ -99,7 +99,7 @@ bool MimeSource::provides( const char * format) const
return false;
}
-TQByteArray MimeSource::tqencodedData ( const char *format ) const
+TQByteArray MimeSource::encodedData ( const char *format ) const
{
TQString fmt=format; //case sensitive?
diff --git a/lib/kformula/kformulamimesource.h b/lib/kformula/kformulamimesource.h
index a58255eb..3a94eaef 100644
--- a/lib/kformula/kformulamimesource.h
+++ b/lib/kformula/kformulamimesource.h
@@ -39,7 +39,7 @@ public:
virtual const char* format ( int n = 0 ) const;
virtual bool provides ( const char * ) const;
- virtual TQByteArray tqencodedData ( const char * ) const;
+ virtual TQByteArray encodedData ( const char * ) const;
virtual const SymbolTable& getSymbolTable() const;
diff --git a/lib/kformula/kformulawidget.cc b/lib/kformula/kformulawidget.cc
index ef5e09a3..0a3399eb 100644
--- a/lib/kformula/kformulawidget.cc
+++ b/lib/kformula/kformulawidget.cc
@@ -73,7 +73,7 @@ void KFormulaWidget::paintEvent(TQPaintEvent* event)
// than it seems to be as each cursor movement requires a tqrepaint.
TQPainter p( &buffer );
//p.translate( -fr.x(), -fr.y() );
- formulaView.draw( p, event->rect(), tqcolorGroup() );
+ formulaView.draw( p, event->rect(), colorGroup() );
TQPainter painter;
painter.begin(this);
diff --git a/lib/kformula/symbolaction.cc b/lib/kformula/symbolaction.cc
index d5aa3176..aca4dc03 100644
--- a/lib/kformula/symbolaction.cc
+++ b/lib/kformula/symbolaction.cc
@@ -128,7 +128,7 @@ int SymbolAction::plug( TQWidget* w, int index )
TQT_SLOT( slotActivated( const TQString & ) ) );
cb->setEnabled( isEnabled() );
bar->insertWidget( id_, comboWidth(), cb, index );
- cb->setMinimumWidth( cb->tqsizeHint().width() );
+ cb->setMinimumWidth( cb->sizeHint().width() );
addContainer( bar, id_ );
@@ -166,7 +166,7 @@ void SymbolAction::updateItems( int id )
for( uint i = 0; i < items().count(); ++i ) {
new SymbolComboItem( *items().at( i ), m_font, m_chars.at( i ), cb );
}
- cb->setMinimumWidth( cb->tqsizeHint().width() );
+ cb->setMinimumWidth( cb->sizeHint().width() );
}
}
}