diff options
Diffstat (limited to 'src/gvcore/fileoperation.cpp')
-rw-r--r-- | src/gvcore/fileoperation.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/gvcore/fileoperation.cpp b/src/gvcore/fileoperation.cpp index da5b8d8..6fa54dd 100644 --- a/src/gvcore/fileoperation.cpp +++ b/src/gvcore/fileoperation.cpp @@ -40,51 +40,51 @@ namespace Gwenview { namespace FileOperation { -void copyTo(const KURL::List& srcURL,TQWidget* tqparent) { - FileOpObject* op=new FileOpCopyToObject(srcURL,tqparent); +void copyTo(const KURL::List& srcURL,TQWidget* parent) { + FileOpObject* op=new FileOpCopyToObject(srcURL,parent); (*op)(); } -void linkTo(const KURL::List& srcURL,TQWidget* tqparent) { - FileOpObject* op=new FileOpLinkToObject(srcURL,tqparent); +void linkTo(const KURL::List& srcURL,TQWidget* parent) { + FileOpObject* op=new FileOpLinkToObject(srcURL,parent); (*op)(); } -void moveTo(const KURL::List& srcURL,TQWidget* tqparent,TQObject* receiver,const char* slot) { - FileOpObject* op=new FileOpMoveToObject(srcURL,tqparent); +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); (*op)(); } -void makeDir(const KURL& parentURL, TQWidget* tqparent, TQObject* receiver, const char* slot) { - FileOpObject* op=new FileOpMakeDirObject(parentURL, tqparent); +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); (*op)(); } -void del(const KURL::List& url,TQWidget* tqparent,TQObject* receiver,const char* slot) { - FileOpObject* op = new FileOpDelObject(url,tqparent); +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); (*op)(); } -void trash(const KURL::List& url, TQWidget* tqparent, TQObject* receiver, const char* slot) { - FileOpObject* op = new FileOpTrashObject(url,tqparent); +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); (*op)(); } -void realDelete(const KURL::List& url, TQWidget* tqparent, TQObject* receiver, const char* slot) { - FileOpObject* op = new FileOpRealDeleteObject(url,tqparent); +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); (*op)(); } -void rename(const KURL& url,TQWidget* tqparent,TQObject* receiver,const char* slot) { - FileOpObject* op=new FileOpRenameObject(url,tqparent); +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); (*op)(); } @@ -101,8 +101,8 @@ void fillDropURLMenu(TQPopupMenu* menu, const KURL::List& urls, const KURL& targ } -void openDropURLMenu(TQWidget* tqparent, const KURL::List& urls, const KURL& target, bool* wasMoved) { - TQPopupMenu menu(tqparent); +void openDropURLMenu(TQWidget* parent, const KURL::List& urls, const KURL& target, bool* wasMoved) { + TQPopupMenu menu(parent); if (wasMoved) *wasMoved=false; fillDropURLMenu(&menu, urls, target, wasMoved); |