summaryrefslogtreecommitdiffstats
path: root/arts/builder/interfacedlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arts/builder/interfacedlg.cpp')
-rw-r--r--arts/builder/interfacedlg.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/arts/builder/interfacedlg.cpp b/arts/builder/interfacedlg.cpp
index 82d985ed..a96a1b35 100644
--- a/arts/builder/interfacedlg.cpp
+++ b/arts/builder/interfacedlg.cpp
@@ -21,41 +21,41 @@
#include "interfacedlg.h"
#include "structureport.h"
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qlistbox.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqlistbox.h>
#include <kbuttonbox.h>
-#include <qbuttongroup.h>
-#include <qradiobutton.h>
+#include <tqbuttongroup.h>
+#include <tqradiobutton.h>
#include <kapplication.h>
#include <kiconloader.h>
#include <kseparator.h>
#include <klocale.h>
-#include <qlineedit.h>
+#include <tqlineedit.h>
#include <stdio.h>
#include <arts/debug.h>
#include <arts/core.h>
#include <arts/dispatcher.h>
-#include <qpushbutton.h>
+#include <tqpushbutton.h>
#include <kstdguiitem.h>
using namespace std;
-InterfaceDlg::InterfaceDlg(QWidget *parent) :QDialog(parent,"Props", TRUE)
+InterfaceDlg::InterfaceDlg(TQWidget *parent) :TQDialog(parent,"Props", TRUE)
{
setCaption(i18n("aRts: Structureport View"));
- QVBoxLayout *mainlayout = new QVBoxLayout(this);
- //QHBoxLayout *contentslayout = new QHBoxLayout;
+ TQVBoxLayout *mainlayout = new TQVBoxLayout(this);
+ //TQHBoxLayout *contentslayout = new QHBoxLayout;
// object type
/*
mainlayout->addSpacing(5);
- QLabel *objectlabel = new QLabel(this);
- QFont labelfont(objectlabel->font());
+ TQLabel *objectlabel = new TQLabel(this);
+ TQFont labelfont(objectlabel->font());
labelfont.setPointSize(labelfont.pointSize()*3/2);
objectlabel->setFont(labelfont);
- objectlabel->setText(QString(" ")+i18n("Object type: ")+QString(port->owner->name())+QString(" "));
+ objectlabel->setText(TQString(" ")+i18n("Object type: ")+TQString(port->owner->name())+TQString(" "));
objectlabel->setAlignment(AlignCenter);
min_size(objectlabel);
mainlayout->addWidget(objectlabel);
@@ -65,7 +65,7 @@ InterfaceDlg::InterfaceDlg(QWidget *parent) :QDialog(parent,"Props", TRUE)
/*
mainlayout->addSpacing(5);
- QLabel *portlabel = new QLabel(this);
+ TQLabel *portlabel = new TQLabel(this);
labelfont.setPointSize(labelfont.pointSize()*4/5);
portlabel->setFont(labelfont);
portlabel->setText(i18n("Port description: ")+ port->description);
@@ -88,14 +88,14 @@ InterfaceDlg::InterfaceDlg(QWidget *parent) :QDialog(parent,"Props", TRUE)
*/
// list
- listbox = new QListBox(this);
+ listbox = new TQListBox(this);
update();
listbox->setMinimumSize(340,400);
mainlayout->addWidget(listbox);
- connect( listbox, SIGNAL( doubleClicked ( QListBoxItem *)), this,
- SLOT(accept()));
+ connect( listbox, TQT_SIGNAL( doubleClicked ( TQListBoxItem *)), this,
+ TQT_SLOT(accept()));
// hruler
mainlayout->addSpacing(5);
@@ -104,7 +104,7 @@ InterfaceDlg::InterfaceDlg(QWidget *parent) :QDialog(parent,"Props", TRUE)
// buttons
- QHBoxLayout *buttonlayout = new QHBoxLayout;
+ TQHBoxLayout *buttonlayout = new QHBoxLayout;
mainlayout->addSpacing(5);
mainlayout->addLayout(buttonlayout);
mainlayout->addSpacing(5);
@@ -112,14 +112,14 @@ InterfaceDlg::InterfaceDlg(QWidget *parent) :QDialog(parent,"Props", TRUE)
buttonlayout->addSpacing(5);
KButtonBox *bbox = new KButtonBox(this);
- bbox->addButton(KStdGuiItem::help(), this, SLOT( help() ));
+ bbox->addButton(KStdGuiItem::help(), this, TQT_SLOT( help() ));
bbox->addStretch(1);
- QButton *okbutton = bbox->addButton(KStdGuiItem::ok());
- connect( okbutton, SIGNAL( clicked() ), SLOT(accept() ) );
+ TQButton *okbutton = bbox->addButton(KStdGuiItem::ok());
+ connect( okbutton, TQT_SIGNAL( clicked() ), TQT_SLOT(accept() ) );
- QButton *cancelbutton = bbox->addButton(KStdGuiItem::cancel());
- connect( cancelbutton, SIGNAL( clicked() ), SLOT(reject() ) );
+ TQButton *cancelbutton = bbox->addButton(KStdGuiItem::cancel());
+ connect( cancelbutton, TQT_SIGNAL( clicked() ), TQT_SLOT(reject() ) );
bbox->layout();
//min_size(bbox);