summaryrefslogtreecommitdiffstats
path: root/kcontrol/joystick
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/joystick')
-rw-r--r--kcontrol/joystick/joywidget.cpp4
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());
}