diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:06:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:06:13 -0600 |
commit | 0d48fca8ae41ab963c780104fdeca45d7dad0a51 (patch) | |
tree | 5dd61af9cef2b3ab1c6d4d24082df3ea3146a007 /libktorrent | |
parent | bb37c4052a9edfff2196984cef241b1ce2df7bb3 (diff) | |
download | ktorrent-0d48fca8ae41ab963c780104fdeca45d7dad0a51.tar.gz ktorrent-0d48fca8ae41ab963c780104fdeca45d7dad0a51.zip |
Rename obsolete tq methods to standard names
Diffstat (limited to 'libktorrent')
-rw-r--r-- | libktorrent/expandablewidget.cpp | 4 | ||||
-rw-r--r-- | libktorrent/labelview.cpp | 14 | ||||
-rw-r--r-- | libktorrent/labelviewitembase.ui | 2 | ||||
-rw-r--r-- | libktorrent/pluginmanagerwidget.ui | 2 | ||||
-rw-r--r-- | libktorrent/torrent/peerid.cpp | 2 |
5 files changed, 12 insertions, 12 deletions
diff --git a/libktorrent/expandablewidget.cpp b/libktorrent/expandablewidget.cpp index a6ec44d..fe7a0df 100644 --- a/libktorrent/expandablewidget.cpp +++ b/libktorrent/expandablewidget.cpp @@ -53,7 +53,7 @@ namespace kt se->pos = pos; se->next = begin; - // remove old top from tqlayout + // remove old top from layout top_layout->remove(begin->w); // create new toplevel splitter @@ -84,7 +84,7 @@ namespace kt // make se new top of stack begin = se; - // add toplevel splitter to tqlayout + // add toplevel splitter to layout top_layout->add(s); // show s 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); } }; diff --git a/libktorrent/labelviewitembase.ui b/libktorrent/labelviewitembase.ui index 861f703..fbce874 100644 --- a/libktorrent/labelviewitembase.ui +++ b/libktorrent/labelviewitembase.ui @@ -35,7 +35,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout3</cstring> + <cstring>layout3</cstring> </property> <vbox> <property name="name"> diff --git a/libktorrent/pluginmanagerwidget.ui b/libktorrent/pluginmanagerwidget.ui index a43575b..6b077f5 100644 --- a/libktorrent/pluginmanagerwidget.ui +++ b/libktorrent/pluginmanagerwidget.ui @@ -34,7 +34,7 @@ </widget> <widget class="TQLayoutWidget"> <property name="name"> - <cstring>tqlayout1</cstring> + <cstring>layout1</cstring> </property> <vbox> <property name="name"> diff --git a/libktorrent/torrent/peerid.cpp b/libktorrent/torrent/peerid.cpp index 802fca6..e6a3387 100644 --- a/libktorrent/torrent/peerid.cpp +++ b/libktorrent/torrent/peerid.cpp @@ -174,7 +174,7 @@ namespace bt Map["TS"] = "Torrent Storm"; Map["TT"] = "TuoTu"; Map["UL"] = "uLeecher!"; - Map["UT"] = TQString("%1Torrent").arg(TQChar(0x00B5)); // µTorrent, 0x00B5 is tqunicode for µ + Map["UT"] = TQString("%1Torrent").arg(TQChar(0x00B5)); // µTorrent, 0x00B5 is unicode for µ Map["WT"] = "BitLet"; Map["WY"] = "FireTorrent"; Map["XL"] = "Xunlei"; |