summaryrefslogtreecommitdiffstats
path: root/src/gvcore/documentimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/documentimpl.h')
-rw-r--r--src/gvcore/documentimpl.h35
1 files changed, 18 insertions, 17 deletions
diff --git a/src/gvcore/documentimpl.h b/src/gvcore/documentimpl.h
index 94e23f4..c6e5697 100644
--- a/src/gvcore/documentimpl.h
+++ b/src/gvcore/documentimpl.h
@@ -1,7 +1,7 @@
// vim: set tabstop=4 shiftwidth=4 noexpandtab
/*
Gwenview - A simple image viewer for KDE
-Copyright 2000-2004 Aurélien Gâteau
+Copyright 2000-2004 Aur�lien G�teau
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
@@ -21,9 +21,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#ifndef DOCUMENTIMPL_H
#define DOCUMENTIMPL_H
-// Qt
-#include <qobject.h>
-#include <qrect.h>
+// TQt
+#include <tqobject.h>
+#include <tqrect.h>
// Local
#include "document.h"
@@ -31,8 +31,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
namespace Gwenview {
-class DocumentImpl : public QObject {
+class DocumentImpl : public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
DocumentImpl(Document* document);
virtual ~DocumentImpl();
@@ -43,9 +44,9 @@ public:
virtual void init();
void switchToImpl(DocumentImpl*);
- void setImage(QImage);
- void setMimeType(const QString&);
- void setImageFormat(const QCString&);
+ void setImage(TQImage);
+ void setMimeType(const TQString&);
+ void setImageFormat(const TQCString&);
void setFileSize(int) const;
/**
@@ -53,18 +54,18 @@ public:
*/
void emitImageRectUpdated();
- virtual QString aperture() const;
- virtual QString exposureTime() const;
- virtual QString iso() const;
- virtual QString focalLength() const;
+ virtual TQString aperture() const;
+ virtual TQString exposureTime() const;
+ virtual TQString iso() const;
+ virtual TQString focalLength() const;
- virtual QString comment() const;
+ virtual TQString comment() const;
virtual Document::CommentState commentState() const;
- virtual void setComment(const QString&);
+ virtual void setComment(const TQString&);
virtual int duration() const;
virtual void transform(ImageUtils::Orientation);
- virtual QString save(const KURL&, const QCString& format) const;
+ virtual TQString save(const KURL&, const TQCString& format) const;
virtual MimeTypeUtils::Kind urlKind() const=0;
@@ -74,7 +75,7 @@ public:
signals:
void finished(bool success);
void sizeUpdated();
- void rectUpdated(const QRect&);
+ void rectUpdated(const TQRect&);
protected:
Document* mDocument;
@@ -84,7 +85,7 @@ class DocumentEmptyImpl : public DocumentImpl {
public:
DocumentEmptyImpl(Document* document)
: DocumentImpl(document) {
- setImage(QImage());
+ setImage(TQImage());
setImageFormat(0);
setMimeType("application/x-zerosize");
}