diff options
Diffstat (limited to 'libktorrent/labelview.cpp')
-rw-r--r-- | libktorrent/labelview.cpp | 14 |
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); } }; |