summaryrefslogtreecommitdiffstats
path: root/libktorrent
diff options
context:
space:
mode:
Diffstat (limited to 'libktorrent')
-rw-r--r--libktorrent/expandablewidget.cpp4
-rw-r--r--libktorrent/labelview.cpp14
-rw-r--r--libktorrent/labelviewitembase.ui2
-rw-r--r--libktorrent/pluginmanagerwidget.ui2
-rw-r--r--libktorrent/torrent/peerid.cpp2
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";