diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2013-11-28 13:30:19 -0600 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2013-11-28 13:30:19 -0600 |
commit | 90f1f50f00651f7bc9f8acf50556968b4288400d (patch) | |
tree | 8d5df88cb28a00efd2c8b9f3c6b1ca7e6063ada9 /kcontrol/joystick/joywidget.cpp | |
parent | 1c37295608c6d783b2b710f423befbcfb0068bbd (diff) | |
download | tdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.tar.gz tdebase-90f1f50f00651f7bc9f8acf50556968b4288400d.zip |
Fix remnant QMIN/QMAX to TQMIN/TQMAX.
Diffstat (limited to 'kcontrol/joystick/joywidget.cpp')
-rw-r--r-- | kcontrol/joystick/joywidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kcontrol/joystick/joywidget.cpp b/kcontrol/joystick/joywidget.cpp index 8e1ff5586..67ea30eeb 100644 --- a/kcontrol/joystick/joywidget.cpp +++ b/kcontrol/joystick/joywidget.cpp @@ -87,7 +87,7 @@ JoyWidget::JoyWidget(TQWidget *parent, const char *name) // calculate the column width we need TQFontMetrics fm(font()); - int colWidth = QMAX(fm.width(PRESSED), fm.width("-32767")) + 10; // -32767 largest string + int colWidth = TQMAX(fm.width(PRESSED), fm.width("-32767")) + 10; // -32767 largest string new TQLabel(i18n("Buttons:"), vboxMid); buttonTbl = new TQTable(0, 1, vboxMid); @@ -282,7 +282,7 @@ void JoyWidget::showDeviceProps(JoyDevice *joy) idle->start(0); // make both tables use the same space for header; this looks nicer - buttonTbl->setLeftMargin(QMAX(buttonTbl->verticalHeader()->width(), + buttonTbl->setLeftMargin(TQMAX(buttonTbl->verticalHeader()->width(), axesTbl->verticalHeader()->width())); axesTbl->setLeftMargin(buttonTbl->verticalHeader()->width()); } |