diff options
Diffstat (limited to 'arts/builder/interfacedlg.cpp')
-rw-r--r-- | arts/builder/interfacedlg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arts/builder/interfacedlg.cpp b/arts/builder/interfacedlg.cpp index 3b4d455a..dd85fc80 100644 --- a/arts/builder/interfacedlg.cpp +++ b/arts/builder/interfacedlg.cpp @@ -56,7 +56,7 @@ InterfaceDlg::InterfaceDlg(TQWidget *parent) :TQDialog(parent,"Props", TRUE) labelfont.setPointSize(labelfont.pointSize()*3/2); objectlabel->setFont(labelfont); objectlabel->setText(TQString(" ")+i18n("Object type: ")+TQString(port->owner->name())+TQString(" ")); - objectlabel->tqsetAlignment(AlignCenter); + objectlabel->setAlignment(AlignCenter); min_size(objectlabel); maintqlayout->addWidget(objectlabel); */ @@ -70,10 +70,10 @@ InterfaceDlg::InterfaceDlg(TQWidget *parent) :TQDialog(parent,"Props", TRUE) portlabel->setFont(labelfont); portlabel->setText(i18n("Port description: ")+ port->description); min_size(portlabel); - portlabel->tqsetAlignment(AlignCenter); + portlabel->setAlignment(AlignCenter); maintqlayout->addWidget(portlabel); - int labelwidth = imax(portlabel->tqsizeHint().width(),objectlabel->tqsizeHint().width()); + int labelwidth = imax(portlabel->sizeHint().width(),objectlabel->sizeHint().width()); portlabel->setMinimumWidth(labelwidth); objectlabel->setMinimumWidth(labelwidth); |