diff options
Diffstat (limited to 'plugins/infowidget')
-rw-r--r-- | plugins/infowidget/fileview.cpp | 20 | ||||
-rw-r--r-- | plugins/infowidget/floatspinbox.cpp | 6 | ||||
-rw-r--r-- | plugins/infowidget/infowidgetplugin.cpp | 4 | ||||
-rw-r--r-- | plugins/infowidget/iwfiletreeitem.cpp | 4 | ||||
-rw-r--r-- | plugins/infowidget/peerview.cpp | 6 | ||||
-rw-r--r-- | plugins/infowidget/statustab.cpp | 8 |
6 files changed, 24 insertions, 24 deletions
diff --git a/plugins/infowidget/fileview.cpp b/plugins/infowidget/fileview.cpp index c7bd470..63436fb 100644 --- a/plugins/infowidget/fileview.cpp +++ b/plugins/infowidget/fileview.cpp @@ -69,13 +69,13 @@ namespace kt context_menu->setItemEnabled(dnd_keep_id, false); context_menu->setItemEnabled(dnd_throw_away_id, false); - connect(this,TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint& )), - this,TQT_SLOT(showContextMenu(TDEListView*, TQListViewItem*, const TQPoint& ))); - connect(context_menu, TQT_SIGNAL ( activated ( int ) ), this, TQT_SLOT ( contextItem ( int ) ) ); - connect(this,TQT_SIGNAL(doubleClicked( TQListViewItem*, const TQPoint&, int )), - this,TQT_SLOT(onDoubleClicked(TQListViewItem*, const TQPoint&, int))); + connect(this,TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint& )), + this,TQ_SLOT(showContextMenu(TDEListView*, TQListViewItem*, const TQPoint& ))); + connect(context_menu, TQ_SIGNAL ( activated ( int ) ), this, TQ_SLOT ( contextItem ( int ) ) ); + connect(this,TQ_SIGNAL(doubleClicked( TQListViewItem*, const TQPoint&, int )), + this,TQ_SLOT(onDoubleClicked(TQListViewItem*, const TQPoint&, int))); - connect(&fill_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT( fillTreePartial() ) ); + connect(&fill_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT( fillTreePartial() ) ); setEnabled(false); @@ -108,8 +108,8 @@ namespace kt multi_root->updatePercentageInformation(); multi_root->updatePreviewInformation(curr_tc); fill_timer.stop(); - connect(curr_tc,TQT_SIGNAL(missingFilesMarkedDND( kt::TorrentInterface* )), - this,TQT_SLOT(refreshFileTree( kt::TorrentInterface* ))); + connect(curr_tc,TQ_SIGNAL(missingFilesMarkedDND( kt::TorrentInterface* )), + this,TQ_SLOT(refreshFileTree( kt::TorrentInterface* ))); } else fill_timer.start(0,true); @@ -141,8 +141,8 @@ namespace kt item->setPixmap(0,KMimeType::findByPath(s.torrent_name)->pixmap(TDEIcon::Small)); setEnabled(true); - connect(curr_tc,TQT_SIGNAL(missingFilesMarkedDND( kt::TorrentInterface* )), - this,TQT_SLOT(refreshFileTree( kt::TorrentInterface* ))); + connect(curr_tc,TQ_SIGNAL(missingFilesMarkedDND( kt::TorrentInterface* )), + this,TQ_SLOT(refreshFileTree( kt::TorrentInterface* ))); } } diff --git a/plugins/infowidget/floatspinbox.cpp b/plugins/infowidget/floatspinbox.cpp index ed435ed..d463d9a 100644 --- a/plugins/infowidget/floatspinbox.cpp +++ b/plugins/infowidget/floatspinbox.cpp @@ -41,7 +41,7 @@ kt::FloatSpinBox::FloatSpinBox( { TQSpinBox::setValue(0); setStep( 0.25f ); - connect(this, TQT_SIGNAL(valueChanged ( int )), this, TQT_SLOT(internalValueChanged( int ))); + connect(this, TQ_SIGNAL(valueChanged ( int )), this, TQ_SLOT(internalValueChanged( int ))); setValidator( new LocaleFloatValidator( dynamic_cast<TQSpinBox * > (this) )); editor()->setAlignment(TQt::AlignRight); } @@ -61,7 +61,7 @@ kt::FloatSpinBox::FloatSpinBox( { TQSpinBox::setValue(0); setStep( 0.25 ); - connect(this, TQT_SIGNAL(valueChanged ( int )), this, TQT_SLOT(internalValueChanged( int ))); + connect(this, TQ_SIGNAL(valueChanged ( int )), this, TQ_SLOT(internalValueChanged( int ))); setValidator( new LocaleFloatValidator( dynamic_cast<TQSpinBox * > (this) )); } @@ -85,7 +85,7 @@ kt::FloatSpinBox::FloatSpinBox( TQSpinBox::setValue(0); setValue(0.0f); setStep( step ); - connect(this, TQT_SIGNAL(valueChanged ( int )), this, TQT_SLOT(internalValueChanged( int ))); + connect(this, TQ_SIGNAL(valueChanged ( int )), this, TQ_SLOT(internalValueChanged( int ))); setValidator( new LocaleFloatValidator( this )); } diff --git a/plugins/infowidget/infowidgetplugin.cpp b/plugins/infowidget/infowidgetplugin.cpp index 506efdb..00df391 100644 --- a/plugins/infowidget/infowidgetplugin.cpp +++ b/plugins/infowidget/infowidgetplugin.cpp @@ -216,8 +216,8 @@ namespace kt tracker_view->changeTC(const_cast<kt::TorrentInterface*>(getGUI()->getCurrentTorrent())); // seeing that a merge of the trackers might happen after a torrent has been loaded // we need to update the tracker_view - connect(getCore(),TQT_SIGNAL(loadingFinished(const KURL&, bool, bool)), - tracker_view,TQT_SLOT(onLoadingFinished(const KURL&, bool, bool))); + connect(getCore(),TQ_SIGNAL(loadingFinished(const KURL&, bool, bool)), + tracker_view,TQ_SLOT(onLoadingFinished(const KURL&, bool, bool))); } else if (!show && tracker_view) { diff --git a/plugins/infowidget/iwfiletreeitem.cpp b/plugins/infowidget/iwfiletreeitem.cpp index effe20a..d641fe5 100644 --- a/plugins/infowidget/iwfiletreeitem.cpp +++ b/plugins/infowidget/iwfiletreeitem.cpp @@ -37,8 +37,8 @@ namespace kt : FileTreeItem(item,name,file) { perc_complete = 0.0; - connect(&file,TQT_SIGNAL(downloadPercentageChanged( float )),this,TQT_SLOT(onPercentageUpdated( float ))); - connect(&file,TQT_SIGNAL(previewAvailable( bool )),this,TQT_SLOT(onPreviewAvailable( bool ))); + connect(&file,TQ_SIGNAL(downloadPercentageChanged( float )),this,TQ_SLOT(onPercentageUpdated( float ))); + connect(&file,TQ_SIGNAL(previewAvailable( bool )),this,TQ_SLOT(onPreviewAvailable( bool ))); } IWFileTreeItem::~IWFileTreeItem() diff --git a/plugins/infowidget/peerview.cpp b/plugins/infowidget/peerview.cpp index f3b346f..8551c5d 100644 --- a/plugins/infowidget/peerview.cpp +++ b/plugins/infowidget/peerview.cpp @@ -249,9 +249,9 @@ namespace kt kick_id = menu->insertItem(TDEGlobal::iconLoader()->loadIcon("delete_user", TDEIcon::NoGroup), i18n("to kick", "Kick peer")); ban_id = menu->insertItem(TDEGlobal::iconLoader()->loadIcon("filter",TDEIcon::NoGroup), i18n("to ban", "Ban peer")); - connect(this,TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint& )), - this,TQT_SLOT(showContextMenu(TDEListView*, TQListViewItem*, const TQPoint& ))); - connect(menu, TQT_SIGNAL ( activated ( int ) ), this, TQT_SLOT ( contextItem ( int ) ) ); + connect(this,TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint& )), + this,TQ_SLOT(showContextMenu(TDEListView*, TQListViewItem*, const TQPoint& ))); + connect(menu, TQ_SIGNAL ( activated ( int ) ), this, TQ_SLOT ( contextItem ( int ) ) ); setFrameShape(TQFrame::NoFrame); } diff --git a/plugins/infowidget/statustab.cpp b/plugins/infowidget/statustab.cpp index a4eab2c..b87487f 100644 --- a/plugins/infowidget/statustab.cpp +++ b/plugins/infowidget/statustab.cpp @@ -46,15 +46,15 @@ namespace kt maxRatio->setMinValue(0.0f); maxRatio->setMaxValue(100.0f); maxRatio->setStep(0.1f); - connect(maxRatio, TQT_SIGNAL(valueHasChanged()), this, TQT_SLOT(maxRatioReturnPressed())); - connect(useLimit, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( useLimitToggled(bool) ) ); + connect(maxRatio, TQ_SIGNAL(valueHasChanged()), this, TQ_SLOT(maxRatioReturnPressed())); + connect(useLimit, TQ_SIGNAL( toggled(bool) ), this, TQ_SLOT( useLimitToggled(bool) ) ); maxTime->setMinValue(0.0f); maxTime->setMaxValue(10000000.0f); maxTime->setStep(0.05f); maxTime->setSpecialValueText(i18n("No limit")); - connect(useTimeLimit,TQT_SIGNAL(toggled(bool)), this,TQT_SLOT(useTimeLimitToggled(bool))); - connect(maxTime,TQT_SIGNAL(valueHasChanged()), this, TQT_SLOT(timeValueChanged())); + connect(useTimeLimit,TQ_SIGNAL(toggled(bool)), this,TQ_SLOT(useTimeLimitToggled(bool))); + connect(maxTime,TQ_SIGNAL(valueHasChanged()), this, TQ_SLOT(timeValueChanged())); int h = (int)ceil(fontMetrics().height()*1.25); m_chunk_bar->setFixedHeight(h); |