summaryrefslogtreecommitdiffstats
path: root/src/gvcore/documentloadedimpl.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 21:04:57 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 21:04:57 +0000
commitbf7f88413be3831a9372d323d02fc0335b9f9188 (patch)
tree516fdef9206245b40a14f99b4e3d9ef9289196e0 /src/gvcore/documentloadedimpl.h
parente238aa77b1fb3c2f55aef2ef2c91ce52166d2cc8 (diff)
downloadgwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.tar.gz
gwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.zip
TQt4 port Gwenview
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1233720 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gvcore/documentloadedimpl.h')
-rw-r--r--src/gvcore/documentloadedimpl.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/gvcore/documentloadedimpl.h b/src/gvcore/documentloadedimpl.h
index 6951090..42b8b0b 100644
--- a/src/gvcore/documentloadedimpl.h
+++ b/src/gvcore/documentloadedimpl.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,32 +21,33 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#ifndef DOCUMENTLOADEDIMPL_H
#define DOCUMENTLOADEDIMPL_H
-// Qt
-#include <qimage.h>
+// TQt
+#include <tqimage.h>
// Local
#include "documentimpl.h"
-class QFile;
+class TQFile;
namespace Gwenview {
class Document;
class DocumentLoadedImpl : public DocumentImpl {
Q_OBJECT
+ TQ_OBJECT
public:
DocumentLoadedImpl(Document* document);
void init();
~DocumentLoadedImpl();
void transform(ImageUtils::Orientation);
- QString save(const KURL&, const QCString& format) const;
+ TQString save(const KURL&, const TQCString& format) const;
virtual MimeTypeUtils::Kind urlKind() const { return MimeTypeUtils::KIND_RASTER_IMAGE; }
virtual bool canBeSaved() const { return true; }
protected:
- virtual QString localSave(QFile* file, const QCString& format) const;
+ virtual TQString localSave(TQFile* file, const TQCString& format) const;
};
} // namespace