diff options
Diffstat (limited to 'arts/builder/portposdlg.cpp')
-rw-r--r-- | arts/builder/portposdlg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arts/builder/portposdlg.cpp b/arts/builder/portposdlg.cpp index 63f2546c..69e8ac86 100644 --- a/arts/builder/portposdlg.cpp +++ b/arts/builder/portposdlg.cpp @@ -57,7 +57,7 @@ PortPosDlg::PortPosDlg(TQWidget *parent, Structure *structure) :TQDialog(parent, 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); */ @@ -71,10 +71,10 @@ PortPosDlg::PortPosDlg(TQWidget *parent, Structure *structure) :TQDialog(parent, 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); |