summaryrefslogtreecommitdiffstats
path: root/tdeui/kjanuswidget.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2013-11-28 13:28:01 -0600
committerDarrell Anderson <humanreadable@yahoo.com>2013-11-28 13:28:01 -0600
commit72849e2a6f973af3eeaa573a66635e37cc427bb0 (patch)
tree2d3beea645819ba70a32c19a092a874f4e89c399 /tdeui/kjanuswidget.cpp
parentb46a7c35c167304acc48675b979ca8b32bc3d293 (diff)
downloadtdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.tar.gz
tdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.zip
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'tdeui/kjanuswidget.cpp')
-rw-r--r--tdeui/kjanuswidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdeui/kjanuswidget.cpp b/tdeui/kjanuswidget.cpp
index c3a8838e9..513ae2d8a 100644
--- a/tdeui/kjanuswidget.cpp
+++ b/tdeui/kjanuswidget.cpp
@@ -789,9 +789,9 @@ TQSize KJanusWidget::minimumSizeHint() const
// Select the tallest item. It has only effect in IconList mode
//
int h1 = s1.rheight() + s3.rheight() + s4.height();
- int h2 = QMAX( h1, s2.rheight() );
+ int h2 = TQMAX( h1, s2.rheight() );
- return TQSize( s1.width()+s2.width()+QMAX(s3.width(),s4.width()), h2 );
+ return TQSize( s1.width()+s2.width()+TQMAX(s3.width(),s4.width()), h2 );
}
else if( mFace == Tabbed )
{
@@ -968,7 +968,7 @@ void KJanusWidget::IconListBox::updateWidth()
for( TQListBoxItem *i = item(0); i; i = i->next() )
{
int w = ((IconListItem *)i)->width(this);
- maxWidth = QMAX( w, maxWidth );
+ maxWidth = TQMAX( w, maxWidth );
}
for( TQListBoxItem *i = item(0); i; i = i->next() )
@@ -1063,7 +1063,7 @@ KJanusWidget::IconListItem::IconListItem( TQListBox *listbox, const TQPixmap &pi
int KJanusWidget::IconListItem::expandMinimumWidth( int width )
{
- mMinimumWidth = QMAX( mMinimumWidth, width );
+ mMinimumWidth = TQMAX( mMinimumWidth, width );
return mMinimumWidth;
}
@@ -1178,8 +1178,8 @@ int KJanusWidget::IconListItem::width( const TQListBox *lb ) const
{
int wt = lb->fontMetrics().boundingRect( 0, 0, 0, 0, Qt::AlignCenter, text() ).width() + 10;
int wp = mPixmap.width() + 10;
- int w = QMAX( wt, wp );
- return QMAX( w, mMinimumWidth );
+ int w = TQMAX( wt, wp );
+ return TQMAX( w, mMinimumWidth );
}