summaryrefslogtreecommitdiffstats
path: root/arts/builder/portposdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arts/builder/portposdlg.cpp')
-rw-r--r--arts/builder/portposdlg.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/arts/builder/portposdlg.cpp b/arts/builder/portposdlg.cpp
index 7826b9ad..1397bd1e 100644
--- a/arts/builder/portposdlg.cpp
+++ b/arts/builder/portposdlg.cpp
@@ -46,12 +46,12 @@ PortPosDlg::PortPosDlg(TQWidget *parent, Structure *structure) :TQDialog(parent,
setCaption(i18n("aRts: Structureport View"));
- TQVBoxLayout *maintqlayout = new TQVBoxLayout(this);
- //TQHBoxLayout *contentstqlayout = new TQHBoxLayout;
+ TQVBoxLayout *mainlayout = new TQVBoxLayout(this);
+ //TQHBoxLayout *contentslayout = new TQHBoxLayout;
// object type
/*
- maintqlayout->addSpacing(5);
+ mainlayout->addSpacing(5);
TQLabel *objectlabel = new TQLabel(this);
TQFont labelfont(objectlabel->font());
labelfont.setPointSize(labelfont.pointSize()*3/2);
@@ -59,20 +59,20 @@ PortPosDlg::PortPosDlg(TQWidget *parent, Structure *structure) :TQDialog(parent,
objectlabel->setText(TQString(" ")+i18n("Object type: ")+TQString(port->owner->name())+TQString(" "));
objectlabel->setAlignment(AlignCenter);
min_size(objectlabel);
- maintqlayout->addWidget(objectlabel);
+ mainlayout->addWidget(objectlabel);
*/
// port description
/*
- maintqlayout->addSpacing(5);
+ mainlayout->addSpacing(5);
TQLabel *portlabel = new TQLabel(this);
labelfont.setPointSize(labelfont.pointSize()*4/5);
portlabel->setFont(labelfont);
portlabel->setText(i18n("Port description: ")+ port->description);
min_size(portlabel);
portlabel->setAlignment(AlignCenter);
- maintqlayout->addWidget(portlabel);
+ mainlayout->addWidget(portlabel);
int labelwidth = imax(portlabel->sizeHint().width(),objectlabel->sizeHint().width());
@@ -81,11 +81,11 @@ PortPosDlg::PortPosDlg(TQWidget *parent, Structure *structure) :TQDialog(parent,
// hruler
- maintqlayout->addSpacing(5);
+ mainlayout->addSpacing(5);
KSeparator *ruler = new KSeparator( KSeparator::HLine, this);
- maintqlayout->addWidget(ruler);
- maintqlayout->addSpacing(5);
- maintqlayout->addLayout(contentstqlayout);
+ mainlayout->addWidget(ruler);
+ mainlayout->addSpacing(5);
+ mainlayout->addLayout(contentslayout);
*/
// list
@@ -94,21 +94,21 @@ PortPosDlg::PortPosDlg(TQWidget *parent, Structure *structure) :TQDialog(parent,
update();
listbox->setMinimumSize(100,200);
- maintqlayout->addWidget(listbox);
+ mainlayout->addWidget(listbox);
// hruler
- maintqlayout->addSpacing(5);
+ mainlayout->addSpacing(5);
KSeparator *ruler2 = new KSeparator( KSeparator::HLine, this);
- maintqlayout->addWidget(ruler2);
+ mainlayout->addWidget(ruler2);
// buttons
- TQHBoxLayout *buttontqlayout = new TQHBoxLayout;
- maintqlayout->addSpacing(5);
- maintqlayout->addLayout(buttontqlayout);
- maintqlayout->addSpacing(5);
+ TQHBoxLayout *buttonlayout = new TQHBoxLayout;
+ mainlayout->addSpacing(5);
+ mainlayout->addLayout(buttonlayout);
+ mainlayout->addSpacing(5);
- buttontqlayout->addSpacing(5);
+ buttonlayout->addSpacing(5);
KButtonBox *bbox = new KButtonBox(this);
bbox->addButton(KStdGuiItem::help(), TQT_TQOBJECT(this), TQT_SLOT( help() ));
@@ -133,14 +133,14 @@ PortPosDlg::PortPosDlg(TQWidget *parent, Structure *structure) :TQDialog(parent,
TQButton *cancelbutton = bbox->addButton(i18n("Cancel"));
connect( cancelbutton, TQT_SIGNAL( clicked() ), TQT_SLOT(reject() ) );
*/
- bbox->tqlayout();
+ bbox->layout();
//min_size(bbox);
- buttontqlayout->addWidget(bbox);
- buttontqlayout->addSpacing(5);
+ buttonlayout->addWidget(bbox);
+ buttonlayout->addSpacing(5);
- //maintqlayout->activate();
- maintqlayout->freeze();
+ //mainlayout->activate();
+ mainlayout->freeze();
}
void PortPosDlg::raise()