diff options
Diffstat (limited to 'plugins/infowidget')
26 files changed, 44 insertions, 44 deletions
diff --git a/plugins/infowidget/availabilitychunkbar.cpp b/plugins/infowidget/availabilitychunkbar.cpp index 23c4dba..7f26efa 100644 --- a/plugins/infowidget/availabilitychunkbar.cpp +++ b/plugins/infowidget/availabilitychunkbar.cpp @@ -27,7 +27,7 @@ namespace kt { -AvailabilityChunkBar::AvailabilityChunkBar(TQWidget* tqparent, const char* name): ChunkBar(tqparent, name) +AvailabilityChunkBar::AvailabilityChunkBar(TQWidget* parent, const char* name): ChunkBar(parent, name) { TQToolTip::add(this, i18n("<img src=\"available_color\"> - Available Chunks<br><img src=\"unavailable_color\"> - Unavailable Chunks<br><img src=\"excluded_color\"> - Excluded Chunks")); } diff --git a/plugins/infowidget/availabilitychunkbar.h b/plugins/infowidget/availabilitychunkbar.h index 31a5b65..650b6a6 100644 --- a/plugins/infowidget/availabilitychunkbar.h +++ b/plugins/infowidget/availabilitychunkbar.h @@ -33,7 +33,7 @@ namespace kt Q_OBJECT TQ_OBJECT public: - AvailabilityChunkBar(TQWidget* tqparent, const char* name); + AvailabilityChunkBar(TQWidget* parent, const char* name); virtual ~AvailabilityChunkBar(); virtual const bt::BitSet & getBitSet() const; diff --git a/plugins/infowidget/chunkbar.cpp b/plugins/infowidget/chunkbar.cpp index 48f0aac..ad6dfd6 100644 --- a/plugins/infowidget/chunkbar.cpp +++ b/plugins/infowidget/chunkbar.cpp @@ -83,8 +83,8 @@ namespace kt factory->setImage("unavailable_color", unavailable); } - ChunkBar::ChunkBar(TQWidget *tqparent, const char *name) - : TQFrame(tqparent, name),curr_tc(0) + ChunkBar::ChunkBar(TQWidget *parent, const char *name) + : TQFrame(parent, name),curr_tc(0) { setFrameShape(StyledPanel); setFrameShadow(Sunken); diff --git a/plugins/infowidget/chunkbar.h b/plugins/infowidget/chunkbar.h index 32366c3..ef078a7 100644 --- a/plugins/infowidget/chunkbar.h +++ b/plugins/infowidget/chunkbar.h @@ -52,7 +52,7 @@ namespace kt Q_OBJECT TQ_OBJECT public: - ChunkBar(TQWidget *tqparent = 0, const char *name = 0); + ChunkBar(TQWidget *parent = 0, const char *name = 0); virtual ~ChunkBar(); void setTC(kt::TorrentInterface* tc); diff --git a/plugins/infowidget/chunkdownloadview.cpp b/plugins/infowidget/chunkdownloadview.cpp index cec3386..eaed47e 100644 --- a/plugins/infowidget/chunkdownloadview.cpp +++ b/plugins/infowidget/chunkdownloadview.cpp @@ -69,8 +69,8 @@ namespace kt } - ChunkDownloadView::ChunkDownloadView(TQWidget *tqparent, const char *name) - : ChunkDownloadViewBase(tqparent, name) + ChunkDownloadView::ChunkDownloadView(TQWidget *parent, const char *name) + : ChunkDownloadViewBase(parent, name) { m_list_view->setShowSortIndicator(true); m_list_view->setAllColumnsShowFocus(true); diff --git a/plugins/infowidget/chunkdownloadview.h b/plugins/infowidget/chunkdownloadview.h index 860052d..cc57d5b 100644 --- a/plugins/infowidget/chunkdownloadview.h +++ b/plugins/infowidget/chunkdownloadview.h @@ -51,7 +51,7 @@ namespace kt TQMap<kt::ChunkDownloadInterface*,ChunkDownloadViewItem*> items; kt::TorrentInterface* curr_tc; public: - ChunkDownloadView(TQWidget *tqparent = 0, const char *name = 0); + ChunkDownloadView(TQWidget *parent = 0, const char *name = 0); virtual ~ChunkDownloadView(); void saveLayout(KConfig* cfg,const TQString & group_name); diff --git a/plugins/infowidget/downloadedchunkbar.cpp b/plugins/infowidget/downloadedchunkbar.cpp index 6e6fe9a..4d72a60 100644 --- a/plugins/infowidget/downloadedchunkbar.cpp +++ b/plugins/infowidget/downloadedchunkbar.cpp @@ -24,8 +24,8 @@ namespace kt { - DownloadedChunkBar::DownloadedChunkBar(TQWidget* tqparent, const char* name) - : ChunkBar(tqparent,name) + DownloadedChunkBar::DownloadedChunkBar(TQWidget* parent, const char* name) + : ChunkBar(parent,name) { show_excluded = true; } diff --git a/plugins/infowidget/downloadedchunkbar.h b/plugins/infowidget/downloadedchunkbar.h index 2b9fce1..c2f1bcf 100644 --- a/plugins/infowidget/downloadedchunkbar.h +++ b/plugins/infowidget/downloadedchunkbar.h @@ -32,7 +32,7 @@ namespace kt Q_OBJECT TQ_OBJECT public: - DownloadedChunkBar(TQWidget* tqparent, const char* name); + DownloadedChunkBar(TQWidget* parent, const char* name); virtual ~DownloadedChunkBar(); virtual const bt::BitSet & getBitSet() const; diff --git a/plugins/infowidget/fileview.cpp b/plugins/infowidget/fileview.cpp index 9c64960..b8d371f 100644 --- a/plugins/infowidget/fileview.cpp +++ b/plugins/infowidget/fileview.cpp @@ -40,8 +40,8 @@ using namespace bt; namespace kt { - FileView::FileView(TQWidget *tqparent, const char *name) - : KListView(tqparent, name),curr_tc(0),multi_root(0),pending_fill(0),next_fill_item(0) + FileView::FileView(TQWidget *parent, const char *name) + : KListView(parent, name),curr_tc(0),multi_root(0),pending_fill(0),next_fill_item(0) { setFrameShape(TQFrame::NoFrame); addColumn( i18n( "File" ) ); diff --git a/plugins/infowidget/fileview.h b/plugins/infowidget/fileview.h index 0e06eba..8e9555d 100644 --- a/plugins/infowidget/fileview.h +++ b/plugins/infowidget/fileview.h @@ -37,7 +37,7 @@ namespace kt Q_OBJECT TQ_OBJECT public: - FileView(TQWidget *tqparent = 0, const char *name = 0); + FileView(TQWidget *parent = 0, const char *name = 0); virtual ~FileView(); void update(); diff --git a/plugins/infowidget/floatspinbox.cpp b/plugins/infowidget/floatspinbox.cpp index d498d7d..35f5c42 100644 --- a/plugins/infowidget/floatspinbox.cpp +++ b/plugins/infowidget/floatspinbox.cpp @@ -28,10 +28,10 @@ kt::FloatSpinBox::FloatSpinBox( - TQWidget * tqparent, + TQWidget * parent, const char * name ) - :TQSpinBox( -100, 100, 1, tqparent, name), + :TQSpinBox( -100, 100, 1, parent, name), m_precision_digits( 2 ), m_value(0.0f), m_minValue(0.0f), @@ -48,10 +48,10 @@ kt::FloatSpinBox::FloatSpinBox( kt::FloatSpinBox::FloatSpinBox( int precision, - TQWidget * tqparent, + TQWidget * parent, const char * name ) - :TQSpinBox( -100, 100, 1, tqparent, name), + :TQSpinBox( -100, 100, 1, parent, name), m_precision_digits( precision ), m_value(0.0f), m_minValue(0.0f), @@ -71,10 +71,10 @@ kt::FloatSpinBox::FloatSpinBox( float maxValue, float step, int precision, - TQWidget * tqparent, + TQWidget * parent, const char * name ) - :TQSpinBox( -100, 100, 1, tqparent, name), + :TQSpinBox( -100, 100, 1, parent, name), m_precision_digits( precision ), m_value(0.0f), m_minValue(minValue), diff --git a/plugins/infowidget/floatspinbox.h b/plugins/infowidget/floatspinbox.h index 8aa4dc8..515634b 100644 --- a/plugins/infowidget/floatspinbox.h +++ b/plugins/infowidget/floatspinbox.h @@ -40,10 +40,10 @@ namespace kt Q_OBJECT TQ_OBJECT public: - FloatSpinBox( TQWidget* tqparent=0, const char* name=0 ); - FloatSpinBox( int precision = 2, TQWidget* tqparent=0, const char* name=0 ); + FloatSpinBox( TQWidget* parent=0, const char* name=0 ); + FloatSpinBox( int precision = 2, TQWidget* parent=0, const char* name=0 ); FloatSpinBox( float minValue, float maxValue, float step = 0.5, int precision = 2, - TQWidget* tqparent=0, const char* name=0 ); + TQWidget* parent=0, const char* name=0 ); virtual ~FloatSpinBox(); TQString mapValueToText( int value ); diff --git a/plugins/infowidget/infowidgetplugin.cpp b/plugins/infowidget/infowidgetplugin.cpp index cbd30ef..8928841 100644 --- a/plugins/infowidget/infowidgetplugin.cpp +++ b/plugins/infowidget/infowidgetplugin.cpp @@ -47,8 +47,8 @@ namespace kt { - InfoWidgetPlugin::InfoWidgetPlugin(TQObject* tqparent, const char* name, const TQStringList& args) - : Plugin(tqparent, name, args,NAME,i18n("Info Widget"),AUTHOR,EMAIL, + InfoWidgetPlugin::InfoWidgetPlugin(TQObject* parent, const char* name, const TQStringList& args) + : Plugin(parent, name, args,NAME,i18n("Info Widget"),AUTHOR,EMAIL, i18n("Shows additional information about a download. Like which chunks have been downloaded, how many seeders and leechers ..."), "ktinfowidget") { diff --git a/plugins/infowidget/infowidgetplugin.h b/plugins/infowidget/infowidgetplugin.h index cb6702c..0d3f55c 100644 --- a/plugins/infowidget/infowidgetplugin.h +++ b/plugins/infowidget/infowidgetplugin.h @@ -44,7 +44,7 @@ namespace kt Q_OBJECT TQ_OBJECT public: - InfoWidgetPlugin(TQObject* tqparent, const char* name, const TQStringList& args); + InfoWidgetPlugin(TQObject* parent, const char* name, const TQStringList& args); virtual ~InfoWidgetPlugin(); virtual void load(); diff --git a/plugins/infowidget/infowidgetprefpage.cpp b/plugins/infowidget/infowidgetprefpage.cpp index 2fa7f4e..971b1c3 100644 --- a/plugins/infowidget/infowidgetprefpage.cpp +++ b/plugins/infowidget/infowidgetprefpage.cpp @@ -53,9 +53,9 @@ namespace kt return true; } - void InfoWidgetPrefPage::createWidget(TQWidget* tqparent) + void InfoWidgetPrefPage::createWidget(TQWidget* parent) { - pref = new IWPref(tqparent); + pref = new IWPref(parent); updateData(); } diff --git a/plugins/infowidget/infowidgetprefpage.h b/plugins/infowidget/infowidgetprefpage.h index 89ab56b..1274462 100644 --- a/plugins/infowidget/infowidgetprefpage.h +++ b/plugins/infowidget/infowidgetprefpage.h @@ -41,7 +41,7 @@ namespace kt virtual ~InfoWidgetPrefPage(); virtual bool apply(); - virtual void createWidget(TQWidget* tqparent); + virtual void createWidget(TQWidget* parent); virtual void deleteWidget(); virtual void updateData(); diff --git a/plugins/infowidget/iwfiletreediritem.cpp b/plugins/infowidget/iwfiletreediritem.cpp index c1eee32..c143e7e 100644 --- a/plugins/infowidget/iwfiletreediritem.cpp +++ b/plugins/infowidget/iwfiletreediritem.cpp @@ -38,8 +38,8 @@ namespace kt { } - IWFileTreeDirItem::IWFileTreeDirItem(IWFileTreeDirItem* tqparent,const TQString & name) - : kt::FileTreeDirItem(tqparent,name) + IWFileTreeDirItem::IWFileTreeDirItem(IWFileTreeDirItem* parent,const TQString & name) + : kt::FileTreeDirItem(parent,name) { } diff --git a/plugins/infowidget/iwfiletreediritem.h b/plugins/infowidget/iwfiletreediritem.h index 3c26031..1439cbe 100644 --- a/plugins/infowidget/iwfiletreediritem.h +++ b/plugins/infowidget/iwfiletreediritem.h @@ -50,7 +50,7 @@ namespace kt { public: IWFileTreeDirItem(KListView* klv,const TQString & name); - IWFileTreeDirItem(IWFileTreeDirItem* tqparent,const TQString & name); + IWFileTreeDirItem(IWFileTreeDirItem* parent,const TQString & name); virtual ~IWFileTreeDirItem(); /** diff --git a/plugins/infowidget/localefloatvalidator.cpp b/plugins/infowidget/localefloatvalidator.cpp index f0c20ae..f61808d 100644 --- a/plugins/infowidget/localefloatvalidator.cpp +++ b/plugins/infowidget/localefloatvalidator.cpp @@ -23,8 +23,8 @@ #include <klocale.h> #include "localefloatvalidator.h" -kt::LocaleFloatValidator::LocaleFloatValidator( TQObject * tqparent, const char * name ) -:TQValidator(tqparent, name) +kt::LocaleFloatValidator::LocaleFloatValidator( TQObject * parent, const char * name ) +:TQValidator(parent, name) { TQString decimalPoint = TQRegExp::escape(KGlobal::locale()->decimalSymbol()); regexp.setPattern("^-?\\d*(" + decimalPoint + "\\d*)?$"); diff --git a/plugins/infowidget/localefloatvalidator.h b/plugins/infowidget/localefloatvalidator.h index 3466445..2d9b4db 100644 --- a/plugins/infowidget/localefloatvalidator.h +++ b/plugins/infowidget/localefloatvalidator.h @@ -35,7 +35,7 @@ namespace kt{ Q_OBJECT TQ_OBJECT public: - LocaleFloatValidator( TQObject * tqparent, const char *name = 0 ); + LocaleFloatValidator( TQObject * parent, const char *name = 0 ); virtual TQValidator::State validate( TQString & str, int & pos) const; private: diff --git a/plugins/infowidget/peerview.cpp b/plugins/infowidget/peerview.cpp index a6b0675..35d2024 100644 --- a/plugins/infowidget/peerview.cpp +++ b/plugins/infowidget/peerview.cpp @@ -207,8 +207,8 @@ namespace kt return 0; } - PeerView::PeerView(TQWidget *tqparent, const char *name) - : KListView(tqparent, name) + PeerView::PeerView(TQWidget *parent, const char *name) + : KListView(parent, name) { addColumn(i18n("IP")); addColumn(i18n("Country")); diff --git a/plugins/infowidget/peerview.h b/plugins/infowidget/peerview.h index e7e403b..fbdef37 100644 --- a/plugins/infowidget/peerview.h +++ b/plugins/infowidget/peerview.h @@ -59,7 +59,7 @@ namespace kt TQMap<kt::PeerInterface*,PeerViewItem*> items; public: - PeerView(TQWidget *tqparent = 0, const char *name = 0); + PeerView(TQWidget *parent = 0, const char *name = 0); virtual ~PeerView(); public slots: diff --git a/plugins/infowidget/statustab.cpp b/plugins/infowidget/statustab.cpp index 0fc6f16..7317437 100644 --- a/plugins/infowidget/statustab.cpp +++ b/plugins/infowidget/statustab.cpp @@ -34,8 +34,8 @@ namespace kt { - StatusTab::StatusTab(TQWidget* tqparent, const char* name, WFlags fl) - : StatusTabBase(tqparent,name,fl),curr_tc(0) + StatusTab::StatusTab(TQWidget* parent, const char* name, WFlags fl) + : StatusTabBase(parent,name,fl),curr_tc(0) { TQColorGroup cg = tqcolorGroup(); // do not use hardcoded colors diff --git a/plugins/infowidget/statustab.h b/plugins/infowidget/statustab.h index b747596..acfa003 100644 --- a/plugins/infowidget/statustab.h +++ b/plugins/infowidget/statustab.h @@ -33,7 +33,7 @@ namespace kt TQ_OBJECT public: - StatusTab(TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); + StatusTab(TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); virtual ~StatusTab(); diff --git a/plugins/infowidget/trackerview.cpp b/plugins/infowidget/trackerview.cpp index 0c23548..c928a7f 100644 --- a/plugins/infowidget/trackerview.cpp +++ b/plugins/infowidget/trackerview.cpp @@ -43,8 +43,8 @@ namespace kt { - TrackerView::TrackerView(TQWidget *tqparent, const char *name) - :TrackerViewBase(tqparent, name), tc(0) + TrackerView::TrackerView(TQWidget *parent, const char *name) + :TrackerViewBase(parent, name), tc(0) { KIconLoader* iload = KGlobal::iconLoader(); btnUpdate->setIconSet(iload->loadIconSet("apply", KIcon::Small)); diff --git a/plugins/infowidget/trackerview.h b/plugins/infowidget/trackerview.h index 9499e4b..5b08760 100644 --- a/plugins/infowidget/trackerview.h +++ b/plugins/infowidget/trackerview.h @@ -37,7 +37,7 @@ namespace kt Q_OBJECT TQ_OBJECT public: - TrackerView(TQWidget *tqparent = 0, const char *name = 0); + TrackerView(TQWidget *parent = 0, const char *name = 0); virtual ~TrackerView(); void update(); |