summaryrefslogtreecommitdiffstats
path: root/src/gvcore/documentanimatedloadedimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/documentanimatedloadedimpl.cpp')
-rw-r--r--src/gvcore/documentanimatedloadedimpl.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gvcore/documentanimatedloadedimpl.cpp b/src/gvcore/documentanimatedloadedimpl.cpp
index aaaed2f..db4e72c 100644
--- a/src/gvcore/documentanimatedloadedimpl.cpp
+++ b/src/gvcore/documentanimatedloadedimpl.cpp
@@ -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.
#include "documentanimatedloadedimpl.moc"
-// Qt
-#include <qstring.h>
-#include <qtimer.h>
+// TQt
+#include <tqstring.h>
+#include <tqtimer.h>
// KDE
#include <kdebug.h>
@@ -45,7 +45,7 @@ class DocumentAnimatedLoadedImplPrivate {
public:
ImageFrames mFrames;
int mCurrentFrame;
- QTimer mFrameTimer;
+ TQTimer mFrameTimer;
};
@@ -55,7 +55,7 @@ DocumentAnimatedLoadedImpl::DocumentAnimatedLoadedImpl(Document* document, const
d=new DocumentAnimatedLoadedImplPrivate;
d->mFrames = frames;
d->mCurrentFrame = -1;
- connect( &d->mFrameTimer, SIGNAL( timeout()), SLOT( nextFrame()));
+ connect( &d->mFrameTimer, TQT_SIGNAL( timeout()), TQT_SLOT( nextFrame()));
}
void DocumentAnimatedLoadedImpl::init() {
@@ -66,7 +66,7 @@ void DocumentAnimatedLoadedImpl::init() {
void DocumentAnimatedLoadedImpl::nextFrame() {
++d->mCurrentFrame;
if( d->mCurrentFrame == int( d->mFrames.count())) d->mCurrentFrame = 0;
- d->mFrameTimer.start( QMAX( 10, d->mFrames[ d->mCurrentFrame ].delay ));
+ d->mFrameTimer.start( TQMAX( 10, d->mFrames[ d->mCurrentFrame ].delay ));
// NOTE! If this ever gets changed to already animate the picture while it's still
// loading, with MNG the frame delay gets announced only after the frame is ready.
// See ImageLoader::frameDone() .
@@ -90,7 +90,7 @@ void DocumentAnimatedLoadedImpl::transform(ImageUtils::Orientation orientation)
}
-QString DocumentAnimatedLoadedImpl::localSave(QFile* /*file*/, const QCString& /*format*/) const {
+TQString DocumentAnimatedLoadedImpl::localSave(TQFile* /*file*/, const TQCString& /*format*/) const {
return i18n("Sorry, cannot save animated images.");
}