diff options
Diffstat (limited to 'src/gvcore/fileoperation.h')
-rw-r--r-- | src/gvcore/fileoperation.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/src/gvcore/fileoperation.h b/src/gvcore/fileoperation.h index 5ac7115..163682b 100644 --- a/src/gvcore/fileoperation.h +++ b/src/gvcore/fileoperation.h @@ -27,8 +27,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #include "libgwenview_export.h" -class QPopupMenu; -class QWidget; +class TQPopupMenu; +class TQWidget; namespace Gwenview { /** @@ -39,24 +39,25 @@ namespace Gwenview { */ namespace FileOperation { -LIBGWENVIEW_EXPORT void copyTo(const KURL::List&,QWidget* parent=0L); -LIBGWENVIEW_EXPORT void moveTo(const KURL::List&,QWidget* parent,QObject* receiver=0L,const char* slot=0L); -LIBGWENVIEW_EXPORT void linkTo(const KURL::List& srcURL,QWidget* parent); -LIBGWENVIEW_EXPORT void makeDir(const KURL& parentURL, QWidget* parent, QObject* receiver=0L, const char* slot=0L); -LIBGWENVIEW_EXPORT void del(const KURL::List&,QWidget* parent,QObject* receiver=0L,const char* slot=0L); -LIBGWENVIEW_EXPORT void trash(const KURL::List&,QWidget* parent,QObject* receiver=0L,const char* slot=0L); -LIBGWENVIEW_EXPORT void realDelete(const KURL::List&,QWidget* parent,QObject* receiver=0L,const char* slot=0L); -LIBGWENVIEW_EXPORT void rename(const KURL&,QWidget* parent,QObject* receiver=0L,const char* slot=0L); +LIBGWENVIEW_EXPORT void copyTo(const KURL::List&,TQWidget* tqparent=0L); +LIBGWENVIEW_EXPORT void moveTo(const KURL::List&,TQWidget* tqparent,TQObject* receiver=0L,const char* slot=0L); +LIBGWENVIEW_EXPORT void linkTo(const KURL::List& srcURL,TQWidget* tqparent); +LIBGWENVIEW_EXPORT void makeDir(const KURL& tqparentURL, TQWidget* tqparent, TQObject* receiver=0L, const char* slot=0L); +LIBGWENVIEW_EXPORT void del(const KURL::List&,TQWidget* tqparent,TQObject* receiver=0L,const char* slot=0L); +LIBGWENVIEW_EXPORT void trash(const KURL::List&,TQWidget* tqparent,TQObject* receiver=0L,const char* slot=0L); +LIBGWENVIEW_EXPORT void realDelete(const KURL::List&,TQWidget* tqparent,TQObject* receiver=0L,const char* slot=0L); +LIBGWENVIEW_EXPORT void rename(const KURL&,TQWidget* tqparent,TQObject* receiver=0L,const char* slot=0L); /** * @internal */ -class DropMenuContext : public QObject { +class DropMenuContext : public TQObject { Q_OBJECT + TQ_OBJECT public: - DropMenuContext(QObject* parent, const KURL::List& src, const KURL& dst, bool* wasMoved) - : QObject(parent) + DropMenuContext(TQObject* tqparent, const KURL::List& src, const KURL& dst, bool* wasMoved) + : TQObject(tqparent) , mSrc(src) , mDst(dst) , mWasMoved(wasMoved) @@ -85,8 +86,8 @@ private: }; -LIBGWENVIEW_EXPORT void fillDropURLMenu(QPopupMenu*, const KURL::List&, const KURL& target, bool* wasMoved=0L); -LIBGWENVIEW_EXPORT void openDropURLMenu(QWidget* parent, const KURL::List&, const KURL& target, bool* wasMoved=0L); +LIBGWENVIEW_EXPORT void fillDropURLMenu(TQPopupMenu*, const KURL::List&, const KURL& target, bool* wasMoved=0L); +LIBGWENVIEW_EXPORT void openDropURLMenu(TQWidget* tqparent, const KURL::List&, const KURL& target, bool* wasMoved=0L); } // namespace |