summaryrefslogtreecommitdiffstats
path: root/src/gvcore/documentloadingimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/documentloadingimpl.cpp')
-rw-r--r--src/gvcore/documentloadingimpl.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gvcore/documentloadingimpl.cpp b/src/gvcore/documentloadingimpl.cpp
index 2a6efd7..072229e 100644
--- a/src/gvcore/documentloadingimpl.cpp
+++ b/src/gvcore/documentloadingimpl.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,7 +21,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#include "documentloadingimpl.moc"
-// Qt
+// TQt
// KDE
#include <kmimetype.h>
@@ -86,20 +86,20 @@ void DocumentLoadingImpl::init() {
switchToImpl(new DocumentOtherLoadedImpl(mDocument));
return;
}
- connect( d->mLoader, SIGNAL( urlKindDetermined()), SLOT( slotURLKindDetermined() ));
- connect( d->mLoader, SIGNAL( sizeLoaded( int, int )), SLOT( sizeLoaded( int, int )));
- connect( d->mLoader, SIGNAL( imageChanged( const QRect& )), SLOT( imageChanged( const QRect& )));
- connect( d->mLoader, SIGNAL( imageLoaded( bool )), SLOT( imageLoaded( bool )));
+ connect( d->mLoader, TQT_SIGNAL( urlKindDetermined()), TQT_SLOT( slotURLKindDetermined() ));
+ connect( d->mLoader, TQT_SIGNAL( sizeLoaded( int, int )), TQT_SLOT( sizeLoaded( int, int )));
+ connect( d->mLoader, TQT_SIGNAL( imageChanged( const TQRect& )), TQT_SLOT( imageChanged( const TQRect& )));
+ connect( d->mLoader, TQT_SIGNAL( imageLoaded( bool )), TQT_SLOT( imageLoaded( bool )));
// it's possible the loader already has the whole or at least part of the image loaded
- QImage image = d->mLoader->processedImage();
+ TQImage image = d->mLoader->processedImage();
if (!image.isNull()) {
if( d->mLoader->frames().count() > 0 ) {
setImage( d->mLoader->frames().first().image);
emitImageRectUpdated();
} else {
setImage(image);
- QMemArray< QRect > rects = d->mLoader->loadedRegion().rects();
+ TQMemArray< TQRect > rects = TQRegion(d->mLoader->loadedRegion()).tqrects();
for( unsigned int i = 0; i < rects.count(); ++i ) {
emit rectUpdated(rects[i]);
}
@@ -121,7 +121,7 @@ void DocumentLoadingImpl::slotURLKindDetermined() {
void DocumentLoadingImpl::imageLoaded( bool ok ) {
LOG("");
- QCString format = d->mLoader->imageFormat();
+ TQCString format = d->mLoader->imageFormat();
if ( !ok || format.isEmpty()) {
// Unknown format, no need to go further
emit finished(false);
@@ -145,7 +145,7 @@ void DocumentLoadingImpl::imageLoaded( bool ok ) {
}
-void DocumentLoadingImpl::imageChanged(const QRect& rect) {
+void DocumentLoadingImpl::imageChanged(const TQRect& rect) {
LOG(rect);
setImage(d->mLoader->processedImage());
emit rectUpdated(rect);