summaryrefslogtreecommitdiffstats
path: root/tdeui/kjanuswidget.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:32:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:32:40 -0600
commit984c25aa6969e55896e9a13c8e7f7b8a58991a4e (patch)
tree3653d4ee49b0adf405ff17e0ecdc99bc6f10c1bf /tdeui/kjanuswidget.cpp
parent56160bf4dfe503631ef6373367b281f081bab2b4 (diff)
downloadtdelibs-984c25aa6969e55896e9a13c8e7f7b8a58991a4e.tar.gz
tdelibs-984c25aa6969e55896e9a13c8e7f7b8a58991a4e.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'tdeui/kjanuswidget.cpp')
-rw-r--r--tdeui/kjanuswidget.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/tdeui/kjanuswidget.cpp b/tdeui/kjanuswidget.cpp
index 584780c8e..0bf5199ff 100644
--- a/tdeui/kjanuswidget.cpp
+++ b/tdeui/kjanuswidget.cpp
@@ -542,7 +542,7 @@ bool KJanusWidget::setSwallowedWidget( TQWidget *widget )
}
gbox->addWidget(widget, 0, 0 );
gbox->activate();
- mSwallowPage->setMinimumSize( widget->tqminimumSize() );
+ mSwallowPage->setMinimumSize( widget->minimumSize() );
}
return true;
@@ -769,20 +769,20 @@ TQSize KJanusWidget::minimumSizeHint() const
if( mFace == TreeList )
{
- s1.rwidth() += tqstyle().tqpixelMetric( TQStyle::PM_SplitterWidth );
- s2 = mTreeList->tqminimumSize();
+ s1.rwidth() += tqstyle().pixelMetric( TQStyle::PM_SplitterWidth );
+ s2 = mTreeList->minimumSize();
}
else
{
mIconList->updateMinimumHeight();
mIconList->updateWidth();
- s2 = mIconList->tqminimumSize();
+ s2 = mIconList->minimumSize();
}
if( mTitleLabel->isVisible() )
{
s3 += mTitleLabel->sizeHint();
- s3.rheight() += mTitleSep->tqminimumSize().height();
+ s3.rheight() += mTitleSep->minimumSize().height();
}
//
@@ -799,7 +799,7 @@ TQSize KJanusWidget::minimumSizeHint() const
}
else if( mFace == Swallow )
{
- return mSwallowPage->tqminimumSize();
+ return mSwallowPage->minimumSize();
}
else if( mFace == Plain )
{
@@ -1074,13 +1074,13 @@ void KJanusWidget::IconListItem::highlight( bool erase )
// For now, always disable highlighting
erase = true;
- TQRect r = listBox()->tqitemRect( this );
+ TQRect r = listBox()->itemRect( this );
r.addCoords( 1, 1, -1, -1 );
TQPainter p( listBox()->viewport() );
p.setClipRegion( r );
- const TQColorGroup &cg = listBox()->tqcolorGroup();
+ const TQColorGroup &cg = listBox()->colorGroup();
if ( erase )
{
p.setPen( cg.base() );
@@ -1129,7 +1129,7 @@ const TQPixmap &KJanusWidget::IconListItem::defaultPixmap()
void KJanusWidget::IconListItem::paint( TQPainter *painter )
{
- TQRect itemPaintRegion( listBox()->tqitemRect( this ) );
+ TQRect itemPaintRegion( listBox()->itemRect( this ) );
TQRect r( 1, 1, itemPaintRegion.width() - 2, itemPaintRegion.height() - 2);
if ( isSelected() )
@@ -1137,7 +1137,7 @@ void KJanusWidget::IconListItem::paint( TQPainter *painter )
painter->eraseRect( r );
painter->save();
- painter->setPen( listBox()->tqcolorGroup().highlight().dark( 160 ) );
+ painter->setPen( listBox()->colorGroup().highlight().dark( 160 ) );
painter->drawRect( r );
painter->restore();
}