diff options
Diffstat (limited to 'arts/builder/retrievedlg.cpp')
-rw-r--r-- | arts/builder/retrievedlg.cpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/arts/builder/retrievedlg.cpp b/arts/builder/retrievedlg.cpp index cbf6af95..4e091928 100644 --- a/arts/builder/retrievedlg.cpp +++ b/arts/builder/retrievedlg.cpp @@ -20,13 +20,13 @@ */ #include "retrievedlg.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 <qlineedit.h> +#include <tqbuttongroup.h> +#include <tqradiobutton.h> +#include <tqlineedit.h> #include <kapplication.h> #include <kseparator.h> #include <klocale.h> @@ -34,26 +34,26 @@ #include <stdio.h> #include <set> #include <arts/debug.h> -#include <qpushbutton.h> +#include <tqpushbutton.h> -static void min_size(QWidget *w) { +static void min_size(TQWidget *w) { w->setMinimumSize(w->sizeHint()); } -RetrieveDlg::RetrieveDlg(QWidget *parent) :QDialog(parent,"X", TRUE) +RetrieveDlg::RetrieveDlg(TQWidget *parent) :TQDialog(parent,"X", TRUE) { setCaption(i18n("Retrieve Structure From Server")); - QVBoxLayout *mainlayout = new QVBoxLayout(this); + TQVBoxLayout *mainlayout = new TQVBoxLayout(this); // caption label: "Synthesis running..." mainlayout->addSpacing(5); - QLabel *captionlabel = new QLabel(this); - QFont labelfont(captionlabel->font()); + TQLabel *captionlabel = new TQLabel(this); + TQFont labelfont(captionlabel->font()); labelfont.setPointSize(labelfont.pointSize()*3/2); captionlabel->setFont(labelfont); - captionlabel->setText(QString(" ")+i18n("Published structures")+QString(" ")); + captionlabel->setText(TQString(" ")+i18n("Published structures")+TQString(" ")); captionlabel->setAlignment(AlignCenter); min_size(captionlabel); mainlayout->addWidget(captionlabel); @@ -67,7 +67,7 @@ RetrieveDlg::RetrieveDlg(QWidget *parent) :QDialog(parent,"X", TRUE) // listwidget - listbox = new QListBox(this); + listbox = new TQListBox(this); listbox->setMinimumSize(300,200); arts_debug("TODO:PORT:get available structures"); @@ -96,7 +96,7 @@ RetrieveDlg::RetrieveDlg(QWidget *parent) :QDialog(parent,"X", TRUE) // buttons - QHBoxLayout *buttonlayout = new QHBoxLayout; + TQHBoxLayout *buttonlayout = new QHBoxLayout; mainlayout->addSpacing(5); mainlayout->addLayout(buttonlayout); mainlayout->addSpacing(5); @@ -104,14 +104,14 @@ RetrieveDlg::RetrieveDlg(QWidget *parent) :QDialog(parent,"X", 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 *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() ) ); - 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() ) ); bbox->layout(); @@ -121,13 +121,13 @@ RetrieveDlg::RetrieveDlg(QWidget *parent) :QDialog(parent,"X", TRUE) mainlayout->freeze(); } -QString RetrieveDlg::result() +TQString RetrieveDlg::result() { if(listbox->currentItem() != -1) { return(listbox->text(listbox->currentItem())); } - return QString::null; + return TQString::null; } void RetrieveDlg::help() |