summaryrefslogtreecommitdiffstats
path: root/plugins/search
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 /plugins/search
parentbb37c4052a9edfff2196984cef241b1ce2df7bb3 (diff)
downloadktorrent-0d48fca8ae41ab963c780104fdeca45d7dad0a51.tar.gz
ktorrent-0d48fca8ae41ab963c780104fdeca45d7dad0a51.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'plugins/search')
-rw-r--r--plugins/search/htmlpart.cpp2
-rw-r--r--plugins/search/searchpref.ui8
-rw-r--r--plugins/search/searchwidget.cpp4
3 files changed, 7 insertions, 7 deletions
diff --git a/plugins/search/htmlpart.cpp b/plugins/search/htmlpart.cpp
index bad55d6..d4b39e1 100644
--- a/plugins/search/htmlpart.cpp
+++ b/plugins/search/htmlpart.cpp
@@ -60,7 +60,7 @@ namespace kt
void HTMLPart::copy()
{
TQString txt = selectedText();
- TQClipboard *cb = TQApplication::tqclipboard();
+ TQClipboard *cb = TQApplication::clipboard();
// Copy text into the clipboard
if (cb)
cb->setText(txt,TQClipboard::Clipboard);
diff --git a/plugins/search/searchpref.ui b/plugins/search/searchpref.ui
index fb03f02..2baa1af 100644
--- a/plugins/search/searchpref.ui
+++ b/plugins/search/searchpref.ui
@@ -65,7 +65,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout29</cstring>
+ <cstring>layout29</cstring>
</property>
<hbox>
<property name="name">
@@ -129,7 +129,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout22</cstring>
+ <cstring>layout22</cstring>
</property>
<hbox>
<property name="name">
@@ -152,7 +152,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout23</cstring>
+ <cstring>layout23</cstring>
</property>
<hbox>
<property name="name">
@@ -235,7 +235,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
- <cstring>tqlayout5</cstring>
+ <cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
diff --git a/plugins/search/searchwidget.cpp b/plugins/search/searchwidget.cpp
index 67f6dfa..01c27f7 100644
--- a/plugins/search/searchwidget.cpp
+++ b/plugins/search/searchwidget.cpp
@@ -59,8 +59,8 @@ namespace kt
SearchWidget::SearchWidget(SearchPlugin* sp) : html_part(0),sp(sp)
{
- TQVBoxLayout* tqlayout = new TQVBoxLayout(this);
- tqlayout->setAutoAdd(true);
+ TQVBoxLayout* layout = new TQVBoxLayout(this);
+ layout->setAutoAdd(true);
sbar = new SearchBar(this);
html_part = new HTMLPart(this);