From 36b1e019b76f39cca8fc81f6d4df544f1c94c179 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:23:31 -0600 Subject: Rename obsolete tq methods to standard names --- kompare/komparepart/kompareconnectwidget.cpp | 2 +- kompare/komparepart/komparesplitter.cpp | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'kompare/komparepart') diff --git a/kompare/komparepart/kompareconnectwidget.cpp b/kompare/komparepart/kompareconnectwidget.cpp index 2bccc48b..2cd74f54 100644 --- a/kompare/komparepart/kompareconnectwidget.cpp +++ b/kompare/komparepart/kompareconnectwidget.cpp @@ -68,7 +68,7 @@ KompareConnectWidgetFrame::~KompareConnectWidgetFrame() TQSize KompareConnectWidgetFrame::sizeHint() const { - return TQSize(50, tqstyle().pixelMetric( TQStyle::PM_ScrollBarExtent ) ); + return TQSize(50, style().pixelMetric( TQStyle::PM_ScrollBarExtent ) ); } static int kMouseOffset; diff --git a/kompare/komparepart/komparesplitter.cpp b/kompare/komparepart/komparesplitter.cpp index f91ac6bc..7cf9d543 100644 --- a/kompare/komparepart/komparesplitter.cpp +++ b/kompare/komparepart/komparesplitter.cpp @@ -44,20 +44,20 @@ KompareSplitter::KompareSplitter( ViewSettings *settings, TQWidget * parent, // Set up the scrollFrame scrollFrame->setFrameStyle( TQFrame::NoFrame | TQFrame::Plain ); - scrollFrame->setLineWidth(scrollFrame->tqstyle().pixelMetric(TQStyle::PM_DefaultFrameWidth)); - TQGridLayout *pairtqlayout = new TQGridLayout(scrollFrame, 2, 2, 0); + scrollFrame->setLineWidth(scrollFrame->style().pixelMetric(TQStyle::PM_DefaultFrameWidth)); + TQGridLayout *pairlayout = new TQGridLayout(scrollFrame, 2, 2, 0); m_vScroll = new TQScrollBar( Qt::Vertical, scrollFrame ); - pairtqlayout->addWidget( m_vScroll, 0, 1 ); + pairlayout->addWidget( m_vScroll, 0, 1 ); m_hScroll = new TQScrollBar( Qt::Horizontal, scrollFrame ); - pairtqlayout->addWidget( m_hScroll, 1, 0 ); + pairlayout->addWidget( m_hScroll, 1, 0 ); new KompareListViewFrame(true, m_settings, this, "source"); new KompareListViewFrame(false, m_settings, this, "destination"); - pairtqlayout->addWidget( this, 0, 0 ); + pairlayout->addWidget( this, 0, 0 ); // set up our looks setFrameStyle( TQFrame::StyledPanel | TQFrame::Sunken ); - setLineWidth( tqstyle().pixelMetric( TQStyle::PM_DefaultFrameWidth ) ); + setLineWidth( style().pixelMetric( TQStyle::PM_DefaultFrameWidth ) ); setHandleWidth(50); setChildrenCollapsible( false ); -- cgit v1.2.1