From 06187df2cc7e317dd22ab43abb0880294cb154d8 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:06:13 -0600 Subject: Rename obsolete tq methods to standard names (cherry picked from commit 0d48fca8ae41ab963c780104fdeca45d7dad0a51) --- plugins/infowidget/chunkdownloadviewbase.ui | 14 +++++++------- plugins/infowidget/statustabbase.ui | 20 ++++++++++---------- plugins/infowidget/trackerviewbase.ui | 4 ++-- plugins/ipfilter/convert_dlg.ui | 2 +- plugins/ipfilter/ipblockingpref.ui | 4 ++-- plugins/partfileimport/importdlgbase.ui | 8 ++++---- plugins/rssfeed/rssfeedwidget.ui | 26 +++++++++++++------------- plugins/scanfolder/sfprefwidgetbase.ui | 2 +- plugins/scheduler/bwspage.ui | 16 ++++++++-------- plugins/search/htmlpart.cpp | 2 +- plugins/search/searchpref.ui | 8 ++++---- plugins/search/searchwidget.cpp | 4 ++-- plugins/stats/StatsCon.cc | 12 ++++++------ plugins/stats/StatsSpd.cc | 18 +++++++++--------- plugins/stats/sprefwgt.ui | 20 ++++++++++---------- plugins/stats/statsconwgt.ui | 2 +- plugins/stats/statsspdwgt.ui | 2 +- plugins/upnp/upnpwidget.ui | 4 ++-- plugins/webinterface/webinterfacepref.ui | 10 +++++----- 19 files changed, 89 insertions(+), 89 deletions(-) (limited to 'plugins') diff --git a/plugins/infowidget/chunkdownloadviewbase.ui b/plugins/infowidget/chunkdownloadviewbase.ui index ddac38e..a68b412 100644 --- a/plugins/infowidget/chunkdownloadviewbase.ui +++ b/plugins/infowidget/chunkdownloadviewbase.ui @@ -21,7 +21,7 @@ - tqlayout8 + layout8 @@ -29,7 +29,7 @@ - tqlayout11 + layout11 @@ -67,7 +67,7 @@ - tqlayout14 + layout14 @@ -105,7 +105,7 @@ - tqlayout13 + layout13 @@ -143,7 +143,7 @@ - tqlayout38 + layout38 @@ -181,7 +181,7 @@ - tqlayout38_2 + layout38_2 @@ -219,7 +219,7 @@ - tqlayout24 + layout24 diff --git a/plugins/infowidget/statustabbase.ui b/plugins/infowidget/statustabbase.ui index 789c0e6..fc6a187 100644 --- a/plugins/infowidget/statustabbase.ui +++ b/plugins/infowidget/statustabbase.ui @@ -41,7 +41,7 @@ - tqlayout16 + layout16 @@ -49,7 +49,7 @@ - tqlayout15 + layout15 @@ -115,7 +115,7 @@ - tqlayout14 + layout14 @@ -181,7 +181,7 @@ - tqlayout12 + layout12 @@ -266,7 +266,7 @@ - tqlayout17 + layout17 @@ -274,7 +274,7 @@ - tqlayout23 + layout23 @@ -282,7 +282,7 @@ - tqlayout25 + layout25 @@ -431,7 +431,7 @@ - tqlayout16 + layout16 @@ -459,7 +459,7 @@ - tqlayout15 + layout15 @@ -497,7 +497,7 @@ - tqlayout11 + layout11 diff --git a/plugins/infowidget/trackerviewbase.ui b/plugins/infowidget/trackerviewbase.ui index 39c0b64..9cee2c1 100644 --- a/plugins/infowidget/trackerviewbase.ui +++ b/plugins/infowidget/trackerviewbase.ui @@ -50,7 +50,7 @@ - tqlayout8 + layout8 @@ -129,7 +129,7 @@ - tqlayout6 + layout6 diff --git a/plugins/ipfilter/convert_dlg.ui b/plugins/ipfilter/convert_dlg.ui index 2a1938c..23e59ef 100644 --- a/plugins/ipfilter/convert_dlg.ui +++ b/plugins/ipfilter/convert_dlg.ui @@ -82,7 +82,7 @@ - tqlayout6 + layout6 diff --git a/plugins/ipfilter/ipblockingpref.ui b/plugins/ipfilter/ipblockingpref.ui index a74fe6d..bd58d65 100644 --- a/plugins/ipfilter/ipblockingpref.ui +++ b/plugins/ipfilter/ipblockingpref.ui @@ -63,7 +63,7 @@ - tqlayout5 + layout5 @@ -92,7 +92,7 @@ - tqlayout3 + layout3 diff --git a/plugins/partfileimport/importdlgbase.ui b/plugins/partfileimport/importdlgbase.ui index f171831..29697e3 100644 --- a/plugins/partfileimport/importdlgbase.ui +++ b/plugins/partfileimport/importdlgbase.ui @@ -21,7 +21,7 @@ - tqlayout6 + layout6 @@ -29,7 +29,7 @@ - tqlayout5 + layout5 @@ -67,7 +67,7 @@ - tqlayout4 + layout4 @@ -102,7 +102,7 @@ - tqlayout3 + layout3 diff --git a/plugins/rssfeed/rssfeedwidget.ui b/plugins/rssfeed/rssfeedwidget.ui index 4a35633..62c2af8 100644 --- a/plugins/rssfeed/rssfeedwidget.ui +++ b/plugins/rssfeed/rssfeedwidget.ui @@ -48,7 +48,7 @@ - tqlayout2 + layout2 @@ -194,7 +194,7 @@ - tqlayout13 + layout13 @@ -277,7 +277,7 @@ - tqlayout47 + layout47 @@ -367,7 +367,7 @@ - tqlayout28 + layout28 @@ -476,7 +476,7 @@ - tqlayout14 + layout14 @@ -484,7 +484,7 @@ - tqlayout9 + layout9 @@ -526,7 +526,7 @@ - tqlayout12 + layout12 @@ -565,7 +565,7 @@ - tqlayout11 + layout11 @@ -573,7 +573,7 @@ - tqlayout28 + layout28 @@ -648,7 +648,7 @@ - tqlayout9 + layout9 @@ -686,7 +686,7 @@ - tqlayout10 + layout10 @@ -792,7 +792,7 @@ - tqlayout33 + layout33 @@ -880,7 +880,7 @@ - tqlayout13 + layout13 diff --git a/plugins/scanfolder/sfprefwidgetbase.ui b/plugins/scanfolder/sfprefwidgetbase.ui index 3fd83e4..e9ddfdc 100644 --- a/plugins/scanfolder/sfprefwidgetbase.ui +++ b/plugins/scanfolder/sfprefwidgetbase.ui @@ -21,7 +21,7 @@ - tqlayout16 + layout16 diff --git a/plugins/scheduler/bwspage.ui b/plugins/scheduler/bwspage.ui index 547bee1..547de3f 100644 --- a/plugins/scheduler/bwspage.ui +++ b/plugins/scheduler/bwspage.ui @@ -36,7 +36,7 @@ - tqlayout21 + layout21 @@ -411,7 +411,7 @@ - tqlayout8 + layout8 @@ -461,7 +461,7 @@ - tqlayout9 + layout9 @@ -511,7 +511,7 @@ - tqlayout10 + layout10 @@ -596,7 +596,7 @@ - tqlayout34 + layout34 @@ -650,7 +650,7 @@ - tqlayout32 + layout32 @@ -658,7 +658,7 @@ - tqlayout31 + layout31 @@ -737,7 +737,7 @@ - tqlayout29 + layout29 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 @@ - tqlayout29 + layout29 @@ -129,7 +129,7 @@ - tqlayout22 + layout22 @@ -152,7 +152,7 @@ - tqlayout23 + layout23 @@ -235,7 +235,7 @@ - tqlayout5 + layout5 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); diff --git a/plugins/stats/StatsCon.cc b/plugins/stats/StatsCon.cc index 548b38a..568005d 100644 --- a/plugins/stats/StatsCon.cc +++ b/plugins/stats/StatsCon.cc @@ -26,16 +26,16 @@ StatsCon::StatsCon(TQWidget * p) : StatsConWgt(p), pmPeersConCht(new ChartDrawe pmDHTCht(new ChartDrawer(DHTGbw, StatsPluginSettings::dHTMeasurements())) { PeersConGbw->setColumnLayout(0, Qt::Vertical ); - PeersConGbw->tqlayout()->setSpacing( 6 ); - PeersConGbw->tqlayout()->setMargin( 11 ); + PeersConGbw->layout()->setSpacing( 6 ); + PeersConGbw->layout()->setMargin( 11 ); - pmPeersConLay = new TQVBoxLayout(PeersConGbw -> tqlayout()); + pmPeersConLay = new TQVBoxLayout(PeersConGbw -> layout()); DHTGbw->setColumnLayout(0, Qt::Vertical ); - DHTGbw->tqlayout()->setSpacing( 6 ); - DHTGbw->tqlayout()->setMargin( 11 ); + DHTGbw->layout()->setSpacing( 6 ); + DHTGbw->layout()->setMargin( 11 ); - pmDHTLay = new TQVBoxLayout(DHTGbw -> tqlayout()); + pmDHTLay = new TQVBoxLayout(DHTGbw -> layout()); //------------- diff --git a/plugins/stats/StatsSpd.cc b/plugins/stats/StatsSpd.cc index 0ea427a..c8cb157 100644 --- a/plugins/stats/StatsSpd.cc +++ b/plugins/stats/StatsSpd.cc @@ -29,22 +29,22 @@ StatsSpd::StatsSpd(TQWidget *p) : StatsSpdWgt(p), { DownSpeedGbw->setColumnLayout(0, Qt::Vertical ); - DownSpeedGbw->tqlayout()->setSpacing( 6 ); - DownSpeedGbw->tqlayout()->setMargin( 11 ); + DownSpeedGbw->layout()->setSpacing( 6 ); + DownSpeedGbw->layout()->setMargin( 11 ); - pmDSpdLay = new TQVBoxLayout(DownSpeedGbw -> tqlayout()); + pmDSpdLay = new TQVBoxLayout(DownSpeedGbw -> layout()); UpSpeedGbw->setColumnLayout(0, Qt::Vertical ); - UpSpeedGbw->tqlayout()->setSpacing( 6 ); - UpSpeedGbw->tqlayout()->setMargin( 11 ); + UpSpeedGbw->layout()->setSpacing( 6 ); + UpSpeedGbw->layout()->setMargin( 11 ); - pmUSpdLay = new TQVBoxLayout(UpSpeedGbw -> tqlayout()); + pmUSpdLay = new TQVBoxLayout(UpSpeedGbw -> layout()); PeersSpdGbw->setColumnLayout(0, Qt::Vertical ); - PeersSpdGbw->tqlayout()->setSpacing( 6 ); - PeersSpdGbw->tqlayout()->setMargin( 11 ); + PeersSpdGbw->layout()->setSpacing( 6 ); + PeersSpdGbw->layout()->setMargin( 11 ); - pmPeersSpdLay = new TQVBoxLayout(PeersSpdGbw -> tqlayout()); + pmPeersSpdLay = new TQVBoxLayout(PeersSpdGbw -> layout()); //----------------- diff --git a/plugins/stats/sprefwgt.ui b/plugins/stats/sprefwgt.ui index 0ad1c7f..b6ce139 100644 --- a/plugins/stats/sprefwgt.ui +++ b/plugins/stats/sprefwgt.ui @@ -32,7 +32,7 @@ - tqlayout2 + layout2 @@ -78,7 +78,7 @@ - tqlayout4 + layout4 @@ -140,7 +140,7 @@ - tqlayout11 + layout11 @@ -197,7 +197,7 @@ - tqlayout3 + layout3 @@ -275,7 +275,7 @@ - tqlayout7 + layout7 @@ -314,7 +314,7 @@ - tqlayout5 + layout5 @@ -346,7 +346,7 @@ - tqlayout5_2 + layout5_2 @@ -378,7 +378,7 @@ - tqlayout5_3 + layout5_3 @@ -410,7 +410,7 @@ - tqlayout5_5 + layout5_5 @@ -442,7 +442,7 @@ - tqlayout5_4 + layout5_4 diff --git a/plugins/stats/statsconwgt.ui b/plugins/stats/statsconwgt.ui index c76e6eb..3565a3c 100644 --- a/plugins/stats/statsconwgt.ui +++ b/plugins/stats/statsconwgt.ui @@ -18,7 +18,7 @@ - tqlayout3 + layout3 diff --git a/plugins/stats/statsspdwgt.ui b/plugins/stats/statsspdwgt.ui index 25a3cd8..b04e19a 100644 --- a/plugins/stats/statsspdwgt.ui +++ b/plugins/stats/statsspdwgt.ui @@ -18,7 +18,7 @@ - tqlayout5 + layout5 diff --git a/plugins/upnp/upnpwidget.ui b/plugins/upnp/upnpwidget.ui index 3dc7944..d06576a 100644 --- a/plugins/upnp/upnpwidget.ui +++ b/plugins/upnp/upnpwidget.ui @@ -21,7 +21,7 @@ - tqlayout1 + layout1 @@ -77,7 +77,7 @@ - tqlayout3 + layout3 diff --git a/plugins/webinterface/webinterfacepref.ui b/plugins/webinterface/webinterfacepref.ui index a36f7f8..4927673 100644 --- a/plugins/webinterface/webinterfacepref.ui +++ b/plugins/webinterface/webinterfacepref.ui @@ -46,7 +46,7 @@ - tqlayout5 + layout5 @@ -128,7 +128,7 @@ - tqlayout4 + layout4 @@ -151,7 +151,7 @@ - tqlayout6 + layout6 @@ -159,7 +159,7 @@ - tqlayout5 + layout5 @@ -192,7 +192,7 @@ - tqlayout7 + layout7 -- cgit v1.2.1