diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-30 16:28:59 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:26:22 +0900 |
commit | f476b77d1dda2e0e45cdf065b1907215c90fccd6 (patch) | |
tree | dec65915640fe8ca8f67f9c490575d939b89d5df /src/gvcore/fileoperation.cpp | |
parent | 5eb453b778dba31ee1c5956ca9c9d6483c1cd620 (diff) | |
download | gwenview-f476b77d1dda2e0e45cdf065b1907215c90fccd6.tar.gz gwenview-f476b77d1dda2e0e45cdf065b1907215c90fccd6.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 97ea83f8b23cc80320874b97b671c736a83c378a)
Diffstat (limited to 'src/gvcore/fileoperation.cpp')
-rw-r--r-- | src/gvcore/fileoperation.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gvcore/fileoperation.cpp b/src/gvcore/fileoperation.cpp index d775113..cd26ade 100644 --- a/src/gvcore/fileoperation.cpp +++ b/src/gvcore/fileoperation.cpp @@ -51,40 +51,40 @@ void linkTo(const KURL::List& srcURL,TQWidget* parent) { void moveTo(const KURL::List& srcURL,TQWidget* parent,TQObject* receiver,const char* slot) { FileOpObject* op=new FileOpMoveToObject(srcURL,parent); - if (receiver && slot) TQObject::connect(op,TQT_SIGNAL(success()),receiver,slot); + if (receiver && slot) TQObject::connect(op,TQ_SIGNAL(success()),receiver,slot); (*op)(); } void makeDir(const KURL& parentURL, TQWidget* parent, TQObject* receiver, const char* slot) { FileOpObject* op=new FileOpMakeDirObject(parentURL, parent); - if (receiver && slot) TQObject::connect(op,TQT_SIGNAL(success()),receiver,slot); + if (receiver && slot) TQObject::connect(op,TQ_SIGNAL(success()),receiver,slot); (*op)(); } void del(const KURL::List& url,TQWidget* parent,TQObject* receiver,const char* slot) { FileOpObject* op = new FileOpDelObject(url,parent); - if (receiver && slot) TQObject::connect(op,TQT_SIGNAL(success()),receiver,slot); + if (receiver && slot) TQObject::connect(op,TQ_SIGNAL(success()),receiver,slot); (*op)(); } void trash(const KURL::List& url, TQWidget* parent, TQObject* receiver, const char* slot) { FileOpObject* op = new FileOpTrashObject(url,parent); - if (receiver && slot) TQObject::connect(op,TQT_SIGNAL(success()),receiver,slot); + if (receiver && slot) TQObject::connect(op,TQ_SIGNAL(success()),receiver,slot); (*op)(); } void realDelete(const KURL::List& url, TQWidget* parent, TQObject* receiver, const char* slot) { FileOpObject* op = new FileOpRealDeleteObject(url,parent); - if (receiver && slot) TQObject::connect(op,TQT_SIGNAL(success()),receiver,slot); + if (receiver && slot) TQObject::connect(op,TQ_SIGNAL(success()),receiver,slot); (*op)(); } void rename(const KURL& url,TQWidget* parent,TQObject* receiver,const char* slot) { FileOpObject* op=new FileOpRenameObject(url,parent); - if (receiver && slot) TQObject::connect(op,TQT_SIGNAL(renamed(const TQString&)),receiver,slot); + if (receiver && slot) TQObject::connect(op,TQ_SIGNAL(renamed(const TQString&)),receiver,slot); (*op)(); } @@ -92,11 +92,11 @@ void rename(const KURL& url,TQWidget* parent,TQObject* receiver,const char* slot void fillDropURLMenu(TQPopupMenu* menu, const KURL::List& urls, const KURL& target, bool* wasMoved) { DropMenuContext* context=new DropMenuContext(menu, urls, target, wasMoved); menu->insertItem( SmallIcon("goto"), i18n("&Move Here"), - context, TQT_SLOT(move()) ); + context, TQ_SLOT(move()) ); menu->insertItem( SmallIcon("edit-copy"), i18n("&Copy Here"), - context, TQT_SLOT(copy()) ); + context, TQ_SLOT(copy()) ); menu->insertItem( SmallIcon("www"), i18n("&Link Here"), - context, TQT_SLOT(link()) ); + context, TQ_SLOT(link()) ); } |