diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:22:34 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:22:34 -0600 |
commit | d4ad38145541b8aabb0623e9a81d72f4d4310c90 (patch) | |
tree | 74c26b01296ee1b5df1ebc9fed71fae373653367 /noatun/library | |
parent | dc07846059a60d069687585cc72ff501a2096296 (diff) | |
download | tdemultimedia-d4ad38145541b8aabb0623e9a81d72f4d4310c90.tar.gz tdemultimedia-d4ad38145541b8aabb0623e9a81d72f4d4310c90.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'noatun/library')
-rw-r--r-- | noatun/library/cmodule.cpp | 26 | ||||
-rw-r--r-- | noatun/library/equalizerview.cpp | 8 | ||||
-rw-r--r-- | noatun/library/equalizerwidget.ui | 6 |
3 files changed, 20 insertions, 20 deletions
diff --git a/noatun/library/cmodule.cpp b/noatun/library/cmodule.cpp index 2924e1bc..27f4fa99 100644 --- a/noatun/library/cmodule.cpp +++ b/noatun/library/cmodule.cpp @@ -88,24 +88,24 @@ General::General(TQObject *parent) b->toggle(); } - TQGridLayout *tqlayout = new TQGridLayout(this, 0, KDialog::spacingHint()); - tqlayout->setSpacing(KDialog::spacingHint()); + TQGridLayout *layout = new TQGridLayout(this, 0, KDialog::spacingHint()); + layout->setSpacing(KDialog::spacingHint()); - tqlayout->addMultiCellWidget(mLoopList, 0, 0, 0, 1); - tqlayout->addMultiCellWidget(mOneInstance, 2, 2, 0, 1); - tqlayout->addMultiCellWidget(mClearOnOpen, 4, 4, 0, 1); - tqlayout->addMultiCellWidget(mFastVolume, 5, 5, 0, 1); - tqlayout->addMultiCellWidget(mRemaining, 6, 6, 0, 1); + layout->addMultiCellWidget(mLoopList, 0, 0, 0, 1); + layout->addMultiCellWidget(mOneInstance, 2, 2, 0, 1); + layout->addMultiCellWidget(mClearOnOpen, 4, 4, 0, 1); + layout->addMultiCellWidget(mFastVolume, 5, 5, 0, 1); + layout->addMultiCellWidget(mRemaining, 6, 6, 0, 1); - tqlayout->addWidget(titleLabel, 7, 0); - tqlayout->addWidget(mTitleFormat, 7, 1); + layout->addWidget(titleLabel, 7, 0); + layout->addWidget(mTitleFormat, 7, 1); - tqlayout->addWidget(dlsaver, 8, 0); - tqlayout->addWidget(mDlSaver, 8, 1); + layout->addWidget(dlsaver, 8, 0); + layout->addWidget(mDlSaver, 8, 1); - tqlayout->addMultiCellWidget(mPlayOnStartup, 9, 9, 0, 1); + layout->addMultiCellWidget(mPlayOnStartup, 9, 9, 0, 1); - tqlayout->setRowStretch(10, 1); + layout->setRowStretch(10, 1); } diff --git a/noatun/library/equalizerview.cpp b/noatun/library/equalizerview.cpp index 2a476861..c243a349 100644 --- a/noatun/library/equalizerview.cpp +++ b/noatun/library/equalizerview.cpp @@ -64,17 +64,17 @@ void PresetList::rename(TQListViewItem *item, int c) EqualizerLevel::EqualizerLevel(TQWidget *parent, VBand band) : TQWidget(parent), mBand(band) { - TQVBoxLayout *tqlayout = new TQVBoxLayout(this, - 0, 0, "EqualizerLevel::tqlayout"); + TQVBoxLayout *layout = new TQVBoxLayout(this, + 0, 0, "EqualizerLevel::layout"); mSlider = new TQSlider(-200, 200, 25, 0, Qt::Vertical, this, "EqualizerLevel::mSlider"); mSlider->setTickmarks(TQSlider::Left); mSlider->setTickInterval(25); - tqlayout->addWidget(mSlider); + layout->addWidget(mSlider); connect(mSlider, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed(int))); mLabel = new TQLabel("", this, "EqualizerLevel::mLabel"); mLabel->setAlignment(AlignHCenter | AlignVCenter); - tqlayout->addWidget(mLabel); + layout->addWidget(mLabel); setMinimumHeight(200); // setMinimumWidth(kapp->fontMetrics().width("158kHz")); diff --git a/noatun/library/equalizerwidget.ui b/noatun/library/equalizerwidget.ui index 4a0f6714..7ec3329f 100644 --- a/noatun/library/equalizerwidget.ui +++ b/noatun/library/equalizerwidget.ui @@ -24,7 +24,7 @@ </property> <widget class="TQLayoutWidget" row="1" column="0"> <property name="name"> - <cstring>tqlayout5</cstring> + <cstring>layout5</cstring> </property> <grid> <property name="name"> @@ -80,7 +80,7 @@ </spacer> <widget class="TQLayoutWidget" row="1" column="1"> <property name="name"> - <cstring>tqlayout3</cstring> + <cstring>layout3</cstring> </property> <vbox> <property name="name"> @@ -238,7 +238,7 @@ </widget> <widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="3"> <property name="name"> - <cstring>tqlayout4</cstring> + <cstring>layout4</cstring> </property> <hbox> <property name="name"> |