diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:49:11 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-15 15:49:11 -0600 |
commit | 83fbc82a101309e171089f0d5ed080f82a367345 (patch) | |
tree | c7b61083b6e2d4bfceaace9a7f018181ea36afec /arts/tools/midiportdlg.cpp | |
parent | b248983f92b865ef74636ab5a673ae3a88f79c20 (diff) | |
download | tdemultimedia-83fbc82a101309e171089f0d5ed080f82a367345.tar.gz tdemultimedia-83fbc82a101309e171089f0d5ed080f82a367345.zip |
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'arts/tools/midiportdlg.cpp')
-rw-r--r-- | arts/tools/midiportdlg.cpp | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/arts/tools/midiportdlg.cpp b/arts/tools/midiportdlg.cpp index 1c46d9e5..39919f1a 100644 --- a/arts/tools/midiportdlg.cpp +++ b/arts/tools/midiportdlg.cpp @@ -23,7 +23,7 @@ #include <klocale.h> #include <kapplication.h> -#include <tqlayout.h> +#include <layout.h> #include <tqlabel.h> #include <kseparator.h> #include <kbuttonbox.h> @@ -34,26 +34,26 @@ MidiPortDlg::MidiPortDlg(TQWidget *parent, const char *oldname, const char *title) :TQDialog(parent,title,TRUE) { - TQVBoxLayout *maintqlayout = new TQVBoxLayout(this); + TQVBoxLayout *mainlayout = new TQVBoxLayout(this); // caption label: title - maintqlayout->addSpacing(5); + mainlayout->addSpacing(5); TQLabel *captionlabel = new TQLabel(this); TQFont labelfont(captionlabel->font()); labelfont.setPointSize(labelfont.pointSize()*3/2); captionlabel->setFont(labelfont); captionlabel->setText(i18n("OSS MIDI Port")); - captionlabel->tqsetAlignment(AlignCenter); + captionlabel->setAlignment(AlignCenter); //min_size(captionlabel); - maintqlayout->addWidget(captionlabel); + mainlayout->addWidget(captionlabel); // hruler - maintqlayout->addSpacing(5); + mainlayout->addSpacing(5); KSeparator *ruler2 = new KSeparator( KSeparator::HLine, this); - maintqlayout->addWidget(ruler2); - maintqlayout->addSpacing(5); + mainlayout->addWidget(ruler2); + mainlayout->addSpacing(5); // editwidget @@ -61,23 +61,23 @@ MidiPortDlg::MidiPortDlg(TQWidget *parent, const char *oldname, const char *titl edit->setText(oldname); //min_size(edit); - maintqlayout->addWidget(edit); + mainlayout->addWidget(edit); // hruler - maintqlayout->addSpacing(5); + mainlayout->addSpacing(5); KSeparator *ruler = new KSeparator( KSeparator::HLine, this); - maintqlayout->addWidget(ruler); - maintqlayout->addSpacing(5); + mainlayout->addWidget(ruler); + mainlayout->addSpacing(5); // 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); TQPushButton *helpbutton = bbox->addButton(KStdGuiItem::help(), TQT_TQOBJECT(this), TQT_SLOT( help() )); @@ -90,12 +90,12 @@ MidiPortDlg::MidiPortDlg(TQWidget *parent, const char *oldname, const char *titl okbutton->setAutoDefault( true ); okbutton->setDefault( true ); - bbox->tqlayout(); + bbox->layout(); - buttontqlayout->addWidget(bbox); - buttontqlayout->addSpacing(5); + buttonlayout->addWidget(bbox); + buttonlayout->addSpacing(5); - maintqlayout->freeze(); + mainlayout->freeze(); } const char *MidiPortDlg::device() |