summaryrefslogtreecommitdiffstats
path: root/juk/tageditor.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:22:34 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:22:34 -0600
commitd4ad38145541b8aabb0623e9a81d72f4d4310c90 (patch)
tree74c26b01296ee1b5df1ebc9fed71fae373653367 /juk/tageditor.cpp
parentdc07846059a60d069687585cc72ff501a2096296 (diff)
downloadtdemultimedia-d4ad38145541b8aabb0623e9a81d72f4d4310c90.tar.gz
tdemultimedia-d4ad38145541b8aabb0623e9a81d72f4d4310c90.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'juk/tageditor.cpp')
-rw-r--r--juk/tageditor.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/juk/tageditor.cpp b/juk/tageditor.cpp
index d13f09f0..f8a258ae 100644
--- a/juk/tageditor.cpp
+++ b/juk/tageditor.cpp
@@ -481,16 +481,16 @@ void TagEditor::setupLayout()
static const int horizontalSpacing = 12;
static const int verticalSpacing = 2;
- TQHBoxLayout *tqlayout = new TQHBoxLayout(this, 6, horizontalSpacing);
+ TQHBoxLayout *layout = new TQHBoxLayout(this, 6, horizontalSpacing);
//////////////////////////////////////////////////////////////////////////////
- // define two columns of the bottem tqlayout
+ // define two columns of the bottem layout
//////////////////////////////////////////////////////////////////////////////
- TQVBoxLayout *leftColumnLayout = new TQVBoxLayout(tqlayout, verticalSpacing);
- TQVBoxLayout *rightColumnLayout = new TQVBoxLayout(tqlayout, verticalSpacing);
+ TQVBoxLayout *leftColumnLayout = new TQVBoxLayout(layout, verticalSpacing);
+ TQVBoxLayout *rightColumnLayout = new TQVBoxLayout(layout, verticalSpacing);
- tqlayout->setStretchFactor(leftColumnLayout, 2);
- tqlayout->setStretchFactor(rightColumnLayout, 3);
+ layout->setStretchFactor(leftColumnLayout, 2);
+ layout->setStretchFactor(rightColumnLayout, 3);
//////////////////////////////////////////////////////////////////////////////
// put stuff in the left column -- all of the field names are class wide
@@ -711,9 +711,9 @@ void TagEditor::saveChangesPrompt()
}
}
-void TagEditor::addItem(const TQString &text, TQWidget *item, TQBoxLayout *tqlayout, const TQString &iconName)
+void TagEditor::addItem(const TQString &text, TQWidget *item, TQBoxLayout *layout, const TQString &iconName)
{
- if(!item || !tqlayout)
+ if(!item || !layout)
return;
TQLabel *label = new TQLabel(item, text, this);
@@ -727,14 +727,14 @@ void TagEditor::addItem(const TQString &text, TQWidget *item, TQBoxLayout *tqlay
label->setMinimumHeight(enableBox->height());
- if(tqlayout->direction() == TQBoxLayout::LeftToRight) {
- tqlayout->addWidget(iconLabel);
- tqlayout->addWidget(label);
- tqlayout->addWidget(item);
- tqlayout->addWidget(enableBox);
+ if(layout->direction() == TQBoxLayout::LeftToRight) {
+ layout->addWidget(iconLabel);
+ layout->addWidget(label);
+ layout->addWidget(item);
+ layout->addWidget(enableBox);
}
else {
- TQHBoxLayout *l = new TQHBoxLayout(tqlayout);
+ TQHBoxLayout *l = new TQHBoxLayout(layout);
l->addWidget(iconLabel);
l->addWidget(label);
@@ -745,7 +745,7 @@ void TagEditor::addItem(const TQString &text, TQWidget *item, TQBoxLayout *tqlay
l->addWidget(enableBox);
l->setStretchFactor(enableBox, 0);
- tqlayout->addWidget(item);
+ layout->addWidget(item);
}
enableBox->hide();