summaryrefslogtreecommitdiffstats
path: root/tdeui/tdecompletionbox.cpp
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2013-11-28 13:28:01 -0600
committerDarrell Anderson <[email protected]>2013-11-28 13:28:01 -0600
commit72849e2a6f973af3eeaa573a66635e37cc427bb0 (patch)
tree2d3beea645819ba70a32c19a092a874f4e89c399 /tdeui/tdecompletionbox.cpp
parentb46a7c35c167304acc48675b979ca8b32bc3d293 (diff)
downloadtdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.tar.gz
tdelibs-72849e2a6f973af3eeaa573a66635e37cc427bb0.zip
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'tdeui/tdecompletionbox.cpp')
-rw-r--r--tdeui/tdecompletionbox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeui/tdecompletionbox.cpp b/tdeui/tdecompletionbox.cpp
index 96c9c1794..a8a2bd237 100644
--- a/tdeui/tdecompletionbox.cpp
+++ b/tdeui/tdecompletionbox.cpp
@@ -333,10 +333,10 @@ TQRect TDECompletionBox::calculateGeometry() const
{
int x = 0, y = 0;
int ih = itemHeight();
- int h = QMIN( 15 * ih, (int) count() * ih ) + 2*frameWidth();
+ int h = TQMIN( 15 * ih, (int) count() * ih ) + 2*frameWidth();
int w = (d->m_parent) ? d->m_parent->width() : TDEListBox::minimumSizeHint().width();
- w = QMAX( TDEListBox::minimumSizeHint().width(), w );
+ w = TQMAX( TDEListBox::minimumSizeHint().width(), w );
//If we're inside a combox, Qt by default makes the dropdown
// as wide as the combo, and gives the style a chance
@@ -348,7 +348,7 @@ TQRect TDECompletionBox::calculateGeometry() const
const TQComboBox* cb = static_cast<const TQComboBox*>(TQT_TQWIDGET_CONST(combo));
//Expand to the combo width
- w = QMAX( w, cb->width() );
+ w = TQMAX( w, cb->width() );
TQPoint parentCorner = d->m_parent->mapToGlobal(TQPoint(0, 0));
TQPoint comboCorner = cb->mapToGlobal(TQPoint(0, 0));