summaryrefslogtreecommitdiffstats
path: root/libktorrent/labelview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:06:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:06:13 -0600
commit0d48fca8ae41ab963c780104fdeca45d7dad0a51 (patch)
tree5dd61af9cef2b3ab1c6d4d24082df3ea3146a007 /libktorrent/labelview.cpp
parentbb37c4052a9edfff2196984cef241b1ce2df7bb3 (diff)
downloadktorrent-0d48fca8ae41ab963c780104fdeca45d7dad0a51.tar.gz
ktorrent-0d48fca8ae41ab963c780104fdeca45d7dad0a51.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'libktorrent/labelview.cpp')
-rw-r--r--libktorrent/labelview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/libktorrent/labelview.cpp b/libktorrent/labelview.cpp
index 3823516..d7ce947 100644
--- a/libktorrent/labelview.cpp
+++ b/libktorrent/labelview.cpp
@@ -105,13 +105,13 @@ namespace kt
class LabelViewBox : public TQWidget
{
- TQVBoxLayout* tqlayout;
+ TQVBoxLayout* layout;
public:
LabelViewBox(TQWidget* parent) : TQWidget(parent)
{
setPaletteBackgroundColor(KGlobalSettings::baseColor());
- tqlayout = new TQVBoxLayout(this);
- tqlayout->setMargin(0);
+ layout = new TQVBoxLayout(this);
+ layout->setMargin(0);
}
virtual ~LabelViewBox()
@@ -120,24 +120,24 @@ namespace kt
void add(LabelViewItem* item)
{
item->reparent(this,TQPoint(0,0));
- tqlayout->add(item);
+ layout->add(item);
item->show();
}
void remove(LabelViewItem* item)
{
item->hide();
- tqlayout->remove(item);
+ layout->remove(item);
item->reparent(0,TQPoint(0,0));
}
void sorted(const std::list<LabelViewItem*> items)
{
for (LabelViewCItr i = items.begin();i != items.end();i++)
- tqlayout->remove(*i);
+ layout->remove(*i);
for (LabelViewCItr i = items.begin();i != items.end();i++)
- tqlayout->add(*i);
+ layout->add(*i);
}
};