diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:35:25 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 20:23:16 +0900 |
commit | e234565531cd8c11949cc6aecf16179e75312458 (patch) | |
tree | 90b0cb6c9f6c2a04712bbfb73b531275d4f63976 /konq-plugins/fsview/fsview_part.cpp | |
parent | be3456c5d953fb877340a51b2ef699be6b3c7c02 (diff) | |
download | tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.tar.gz tdeaddons-e234565531cd8c11949cc6aecf16179e75312458.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7e9d8ea45280ad6657796da9536ccf6218111f22)
Diffstat (limited to 'konq-plugins/fsview/fsview_part.cpp')
-rw-r--r-- | konq-plugins/fsview/fsview_part.cpp | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/konq-plugins/fsview/fsview_part.cpp b/konq-plugins/fsview/fsview_part.cpp index 4f7b592..86f7f16 100644 --- a/konq-plugins/fsview/fsview_part.cpp +++ b/konq-plugins/fsview/fsview_part.cpp @@ -57,8 +57,8 @@ FSJob::FSJob(FSView* v) : TDEIO::Job(false) { _view = v; - TQObject::connect(v, TQT_SIGNAL(progress(int,int,const TQString&)), - this, TQT_SLOT(progressSlot(int,int,const TQString&))); + TQObject::connect(v, TQ_SIGNAL(progress(int,int,const TQString&)), + this, TQ_SLOT(progressSlot(int,int,const TQString&))); } void FSJob::kill(bool quietly) @@ -129,40 +129,40 @@ FSViewPart::FSViewPart(TQWidget *parentWidget, const char *widgetName, TDEAction* action; action = new TDEAction( i18n( "&FSView Manual" ), "fsview", - TDEShortcut(), this, TQT_SLOT(showHelp()), + TDEShortcut(), this, TQ_SLOT(showHelp()), actionCollection(), "help_fsview" ); action->setToolTip(i18n("Show FSView manual")); action->setWhatsThis(i18n("Opens the help browser with the " "FSView documentation")); - TQObject::connect (_visMenu->popupMenu(), TQT_SIGNAL (aboutToShow()), - TQT_SLOT (slotShowVisMenu())); - TQObject::connect (_areaMenu->popupMenu(), TQT_SIGNAL (aboutToShow()), - TQT_SLOT (slotShowAreaMenu())); - TQObject::connect (_depthMenu->popupMenu(), TQT_SIGNAL (aboutToShow()), - TQT_SLOT (slotShowDepthMenu())); - TQObject::connect (_colorMenu->popupMenu(), TQT_SIGNAL (aboutToShow()), - TQT_SLOT (slotShowColorMenu())); + TQObject::connect (_visMenu->popupMenu(), TQ_SIGNAL (aboutToShow()), + TQ_SLOT (slotShowVisMenu())); + TQObject::connect (_areaMenu->popupMenu(), TQ_SIGNAL (aboutToShow()), + TQ_SLOT (slotShowAreaMenu())); + TQObject::connect (_depthMenu->popupMenu(), TQ_SIGNAL (aboutToShow()), + TQ_SLOT (slotShowDepthMenu())); + TQObject::connect (_colorMenu->popupMenu(), TQ_SIGNAL (aboutToShow()), + TQ_SLOT (slotShowColorMenu())); slotSettingsChanged(TDEApplication::SETTINGS_MOUSE); if (kapp) - connect( kapp, TQT_SIGNAL( settingsChanged(int) ), - TQT_SLOT( slotSettingsChanged(int) ) ); + connect( kapp, TQ_SIGNAL( settingsChanged(int) ), + TQ_SLOT( slotSettingsChanged(int) ) ); - TQObject::connect(_view,TQT_SIGNAL(returnPressed(TreeMapItem*)), - _ext,TQT_SLOT(selected(TreeMapItem*))); - TQObject::connect(_view,TQT_SIGNAL(selectionChanged()), - _ext,TQT_SLOT(updateActions())); + TQObject::connect(_view,TQ_SIGNAL(returnPressed(TreeMapItem*)), + _ext,TQ_SLOT(selected(TreeMapItem*))); + TQObject::connect(_view,TQ_SIGNAL(selectionChanged()), + _ext,TQ_SLOT(updateActions())); TQObject::connect(_view, - TQT_SIGNAL(contextMenuRequested(TreeMapItem*,const TQPoint&)), + TQ_SIGNAL(contextMenuRequested(TreeMapItem*,const TQPoint&)), _ext, - TQT_SLOT(contextMenu(TreeMapItem*, const TQPoint&))); + TQ_SLOT(contextMenu(TreeMapItem*, const TQPoint&))); - TQObject::connect(_view, TQT_SIGNAL(started()), this, TQT_SLOT(startedSlot())); - TQObject::connect(_view, TQT_SIGNAL(completed(int)), - this, TQT_SLOT(completedSlot(int))); + TQObject::connect(_view, TQ_SIGNAL(started()), this, TQ_SLOT(startedSlot())); + TQObject::connect(_view, TQ_SIGNAL(completed(int)), + this, TQ_SLOT(completedSlot(int))); - TQTimer::singleShot(1, this, TQT_SLOT(showInfo())); + TQTimer::singleShot(1, this, TQ_SLOT(showInfo())); setXMLFile( "fsview_part.rc" ); } @@ -180,17 +180,17 @@ void FSViewPart::slotSettingsChanged(int category) { if (category != TDEApplication::SETTINGS_MOUSE) return; - TQObject::disconnect(_view,TQT_SIGNAL(clicked(TreeMapItem*)), - _ext,TQT_SLOT(selected(TreeMapItem*))); - TQObject::disconnect(_view,TQT_SIGNAL(doubleClicked(TreeMapItem*)), - _ext,TQT_SLOT(selected(TreeMapItem*))); + TQObject::disconnect(_view,TQ_SIGNAL(clicked(TreeMapItem*)), + _ext,TQ_SLOT(selected(TreeMapItem*))); + TQObject::disconnect(_view,TQ_SIGNAL(doubleClicked(TreeMapItem*)), + _ext,TQ_SLOT(selected(TreeMapItem*))); if (TDEGlobalSettings::singleClick()) - TQObject::connect(_view,TQT_SIGNAL(clicked(TreeMapItem*)), - _ext,TQT_SLOT(selected(TreeMapItem*))); + TQObject::connect(_view,TQ_SIGNAL(clicked(TreeMapItem*)), + _ext,TQ_SLOT(selected(TreeMapItem*))); else - TQObject::connect(_view,TQT_SIGNAL(doubleClicked(TreeMapItem*)), - _ext,TQT_SLOT(selected(TreeMapItem*))); + TQObject::connect(_view,TQ_SIGNAL(doubleClicked(TreeMapItem*)), + _ext,TQ_SLOT(selected(TreeMapItem*))); } void FSViewPart::showInfo() @@ -331,14 +331,14 @@ void FSViewBrowserExtension::del() // - search for the KonqOperations child of _view (name "KonqOperations") // - connect to destroyed signal KonqOperations* o = (KonqOperations*) _view->child("KonqOperations"); - if (o) connect(o, TQT_SIGNAL(destroyed()), TQT_SLOT(refresh())); + if (o) connect(o, TQ_SIGNAL(destroyed()), TQ_SLOT(refresh())); } void FSViewBrowserExtension::trash() { KonqOperations::del(_view, KonqOperations::TRASH, _view->selectedUrls()); KonqOperations* o = (KonqOperations*) _view->child("KonqOperations"); - if (o) connect(o, TQT_SIGNAL(destroyed()), TQT_SLOT(refresh())); + if (o) connect(o, TQ_SIGNAL(destroyed()), TQ_SLOT(refresh())); } void FSViewBrowserExtension::copySelection( bool move ) |