summaryrefslogtreecommitdiffstats
path: root/karbon/dockers
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 /karbon/dockers
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'karbon/dockers')
-rw-r--r--karbon/dockers/vdocumentdocker.cc12
-rw-r--r--karbon/dockers/vstyledocker.cc2
2 files changed, 7 insertions, 7 deletions
diff --git a/karbon/dockers/vdocumentdocker.cc b/karbon/dockers/vdocumentdocker.cc
index 98b0b883..a029d242 100644
--- a/karbon/dockers/vdocumentdocker.cc
+++ b/karbon/dockers/vdocumentdocker.cc
@@ -206,12 +206,12 @@ VDocumentPreview::paintEvent( TQPaintEvent* )
}
TQPainter pw( &pixmap );
- pw.setPen( tqcolorGroup().light() );
+ pw.setPen( colorGroup().light() );
pw.drawLine( 1, 1, 1, height() - 2 );
pw.drawLine( 1, 1, width() - 2, 1 );
pw.drawLine( width() - 1, height() - 1, 0, height() - 1 );
pw.drawLine( width() - 1, height() - 1, width() - 1, 0 );
- pw.setPen( tqcolorGroup().dark() );
+ pw.setPen( colorGroup().dark() );
pw.drawLine( 0, 0, width() - 1, 0 );
pw.drawLine( 0, 0, 0, height() - 1 );
pw.drawLine( width() - 2, height() - 2, width() - 2, 1 );
@@ -247,10 +247,10 @@ VDocumentTab::VDocumentTab( KarbonView* view, TQWidget* parent )
tqlayout->setColStretch( 2, 2 );
//tqlayout->addWidget(
- m_width->tqsetAlignment( AlignRight );
- m_height->tqsetAlignment( AlignRight );
- m_layers->tqsetAlignment( AlignRight );
- m_format->tqsetAlignment( AlignRight );
+ m_width->setAlignment( AlignRight );
+ m_height->setAlignment( AlignRight );
+ m_layers->setAlignment( AlignRight );
+ m_format->setAlignment( AlignRight );
connect( view->part()->commandHistory(), TQT_SIGNAL( commandAdded( VCommand* ) ), this, TQT_SLOT( slotCommandAdded( VCommand* ) ) );
connect( view->part()->commandHistory(), TQT_SIGNAL( commandExecuted() ), this, TQT_SLOT( slotCommandExecuted() ) );
diff --git a/karbon/dockers/vstyledocker.cc b/karbon/dockers/vstyledocker.cc
index 5b7633b1..fd8cfb30 100644
--- a/karbon/dockers/vstyledocker.cc
+++ b/karbon/dockers/vstyledocker.cc
@@ -263,7 +263,7 @@ ClipartWidget::importClipart()
else
{
KoFilterManager man( m_part );
- KoFilter::ConversiontqStatus status;
+ KoFilter::ConversionStatus status;
TQString importedFile = man.import( fname, status );
if( status == KoFilter::OK )
m_part->mergeNativeFormat( importedFile );