summaryrefslogtreecommitdiffstats
path: root/src/gvcore/fileopobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/fileopobject.h')
-rw-r--r--src/gvcore/fileopobject.h57
1 files changed, 33 insertions, 24 deletions
diff --git a/src/gvcore/fileopobject.h b/src/gvcore/fileopobject.h
index a792685..9ec3429 100644
--- a/src/gvcore/fileopobject.h
+++ b/src/gvcore/fileopobject.h
@@ -21,15 +21,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#ifndef FILEOPOBJECT_H
#define FILEOPOBJECT_H
-// Qt includes
-#include <qobject.h>
-#include <qstring.h>
+// TQt includes
+#include <tqobject.h>
+#include <tqstring.h>
// KDE includes
#include <kio/job.h>
#include <kurl.h>
-class QWidget;
+class TQWidget;
namespace Gwenview {
@@ -42,11 +42,12 @@ namespace Gwenview {
*
* All these classes are used by the @FileOperation namespace-like class
*/
-class FileOpObject : public QObject {
+class FileOpObject : public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
- FileOpObject(const KURL&,QWidget* parent=0L);
- FileOpObject(const KURL::List&,QWidget* parent=0L);
+ FileOpObject(const KURL&,TQWidget* tqparent=0L);
+ FileOpObject(const KURL::List&,TQWidget* tqparent=0L);
virtual void operator()()=0;
signals:
@@ -56,7 +57,7 @@ protected slots:
virtual void slotResult(KIO::Job*);
protected:
- QWidget* mParent;
+ TQWidget* mParent;
KURL::List mURLList;
void polishJob(KIO::Job*);
@@ -65,76 +66,84 @@ protected:
class FileOpCopyToObject : public FileOpObject {
Q_OBJECT
+ TQ_OBJECT
public:
- FileOpCopyToObject(const KURL& url,QWidget* parent=0L) : FileOpObject(url,parent) {}
- FileOpCopyToObject(const KURL::List& urlList,QWidget* parent=0L) : FileOpObject(urlList,parent) {}
+ FileOpCopyToObject(const KURL& url,TQWidget* tqparent=0L) : FileOpObject(url,tqparent) {}
+ FileOpCopyToObject(const KURL::List& urlList,TQWidget* tqparent=0L) : FileOpObject(urlList,tqparent) {}
void operator()();
};
class FileOpLinkToObject : public FileOpObject {
Q_OBJECT
+ TQ_OBJECT
public:
- FileOpLinkToObject(const KURL& url,QWidget* parent=0L) : FileOpObject(url,parent) {}
- FileOpLinkToObject(const KURL::List& urlList,QWidget* parent=0L) : FileOpObject(urlList,parent) {}
+ FileOpLinkToObject(const KURL& url,TQWidget* tqparent=0L) : FileOpObject(url,tqparent) {}
+ FileOpLinkToObject(const KURL::List& urlList,TQWidget* tqparent=0L) : FileOpObject(urlList,tqparent) {}
void operator()();
};
class FileOpMoveToObject : public FileOpObject {
Q_OBJECT
+ TQ_OBJECT
public:
- FileOpMoveToObject(const KURL& url,QWidget* parent=0L) : FileOpObject(url,parent) {}
- FileOpMoveToObject(const KURL::List& urlList,QWidget* parent=0L) : FileOpObject(urlList,parent) {}
+ FileOpMoveToObject(const KURL& url,TQWidget* tqparent=0L) : FileOpObject(url,tqparent) {}
+ FileOpMoveToObject(const KURL::List& urlList,TQWidget* tqparent=0L) : FileOpObject(urlList,tqparent) {}
void operator()();
};
class FileOpMakeDirObject : public FileOpObject {
Q_OBJECT
+ TQ_OBJECT
public:
- FileOpMakeDirObject(const KURL& url, QWidget* parent=0L) : FileOpObject(url, parent) {}
+ FileOpMakeDirObject(const KURL& url, TQWidget* tqparent=0L) : FileOpObject(url, tqparent) {}
void operator()();
};
class FileOpDelObject : public FileOpObject {
Q_OBJECT
+ TQ_OBJECT
public:
- FileOpDelObject(const KURL& url,QWidget* parent=0L) : FileOpObject(url,parent) {}
- FileOpDelObject(const KURL::List& urlList,QWidget* parent=0L) : FileOpObject(urlList,parent) {}
+ FileOpDelObject(const KURL& url,TQWidget* tqparent=0L) : FileOpObject(url,tqparent) {}
+ FileOpDelObject(const KURL::List& urlList,TQWidget* tqparent=0L) : FileOpObject(urlList,tqparent) {}
void operator()();
};
class FileOpTrashObject : public FileOpObject {
Q_OBJECT
+ TQ_OBJECT
public:
- FileOpTrashObject(const KURL& url,QWidget* parent=0L) : FileOpObject(url,parent) {}
- FileOpTrashObject(const KURL::List& urlList,QWidget* parent=0L) : FileOpObject(urlList,parent) {}
+ FileOpTrashObject(const KURL& url,TQWidget* tqparent=0L) : FileOpObject(url,tqparent) {}
+ FileOpTrashObject(const KURL::List& urlList,TQWidget* tqparent=0L) : FileOpObject(urlList,tqparent) {}
void operator()();
};
class FileOpRealDeleteObject : public FileOpObject {
Q_OBJECT
+ TQ_OBJECT
public:
- FileOpRealDeleteObject(const KURL& url,QWidget* parent=0L) : FileOpObject(url,parent) {}
- FileOpRealDeleteObject(const KURL::List& urlList,QWidget* parent=0L) : FileOpObject(urlList,parent) {}
+ FileOpRealDeleteObject(const KURL& url,TQWidget* tqparent=0L) : FileOpObject(url,tqparent) {}
+ FileOpRealDeleteObject(const KURL::List& urlList,TQWidget* tqparent=0L) : FileOpObject(urlList,tqparent) {}
void operator()();
};
class FileOpRenameObject : public FileOpObject {
Q_OBJECT
+ TQ_OBJECT
public:
- FileOpRenameObject(const KURL& url,QWidget* parent=0L) : FileOpObject(url,parent) {}
+ FileOpRenameObject(const KURL& url,TQWidget* tqparent=0L) : FileOpObject(url,tqparent) {}
void operator()();
signals:
- void renamed(const QString& newName);
+ void renamed(const TQString& newName);
protected slots:
virtual void slotResult(KIO::Job*);
private:
- QString mNewFilename;
+ TQString mNewFilename;
};