diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /arts/tools/midiportdlg.cpp | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'arts/tools/midiportdlg.cpp')
-rw-r--r-- | arts/tools/midiportdlg.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/arts/tools/midiportdlg.cpp b/arts/tools/midiportdlg.cpp index 2819d00a..8dd71d2b 100644 --- a/arts/tools/midiportdlg.cpp +++ b/arts/tools/midiportdlg.cpp @@ -23,24 +23,24 @@ #include <klocale.h> #include <kapplication.h> -#include <qlayout.h> -#include <qlabel.h> +#include <tqlayout.h> +#include <tqlabel.h> #include <kseparator.h> #include <kbuttonbox.h> -#include <qlineedit.h> -#include <qbutton.h> -#include <qpushbutton.h> +#include <tqlineedit.h> +#include <tqbutton.h> +#include <tqpushbutton.h> #include <kstdguiitem.h> -MidiPortDlg::MidiPortDlg(QWidget *parent, const char *oldname, const char *title) :QDialog(parent,title,TRUE) +MidiPortDlg::MidiPortDlg(TQWidget *parent, const char *oldname, const char *title) :TQDialog(parent,title,TRUE) { - QVBoxLayout *mainlayout = new QVBoxLayout(this); + TQVBoxLayout *mainlayout = new TQVBoxLayout(this); // caption label: title 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(i18n("OSS MIDI Port")); @@ -57,7 +57,7 @@ MidiPortDlg::MidiPortDlg(QWidget *parent, const char *oldname, const char *title // editwidget - edit = new QLineEdit(this); + edit = new TQLineEdit(this); edit->setText(oldname); //min_size(edit); @@ -72,7 +72,7 @@ MidiPortDlg::MidiPortDlg(QWidget *parent, const char *oldname, const char *title // buttons - QHBoxLayout *buttonlayout = new QHBoxLayout; + TQHBoxLayout *buttonlayout = new QHBoxLayout; mainlayout->addSpacing(5); mainlayout->addLayout(buttonlayout); mainlayout->addSpacing(5); @@ -80,13 +80,13 @@ MidiPortDlg::MidiPortDlg(QWidget *parent, const char *oldname, const char *title buttonlayout->addSpacing(5); KButtonBox *bbox = new KButtonBox(this); - QPushButton *helpbutton = bbox->addButton(KStdGuiItem::help(), this, SLOT( help() )); + TQPushButton *helpbutton = bbox->addButton(KStdGuiItem::help(), this, TQT_SLOT( help() )); bbox->addStretch(1); helpbutton->setAutoDefault( true ); helpbutton->setDefault( true ); - QPushButton *okbutton = bbox->addButton(KStdGuiItem::ok()); - connect( okbutton, SIGNAL( clicked() ), SLOT(accept() ) ); + TQPushButton *okbutton = bbox->addButton(KStdGuiItem::ok()); + connect( okbutton, TQT_SIGNAL( clicked() ), TQT_SLOT(accept() ) ); okbutton->setAutoDefault( true ); okbutton->setDefault( true ); |