From bf7f88413be3831a9372d323d02fc0335b9f9188 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 26 May 2011 21:04:57 +0000 Subject: 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 --- src/gvcore/slideshow.h | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'src/gvcore/slideshow.h') diff --git a/src/gvcore/slideshow.h b/src/gvcore/slideshow.h index 1539347..59cf81d 100644 --- a/src/gvcore/slideshow.h +++ b/src/gvcore/slideshow.h @@ -1,5 +1,5 @@ // vim: set tabstop=4 shiftwidth=4 noexpandtab -// kate: indent-mode csands; indent-width 4; replace-tabs-save off; replace-tabs off; replace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; +// kate: indent-mode csands; indent-width 4; tqreplace-tabs-save off; tqreplace-tabs off; tqreplace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4; /* Gwenview - A simple image viewer for KDE Copyright 2000-2004 Aur�ien G�eau @@ -23,14 +23,14 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #ifndef SLIDESHOW_H #define SLIDESHOW_H -// Qt -#include -#include +// TQt +#include +#include // KDE #include #include "libgwenview_export.h" -class QTimer; +class TQTimer; class KConfig; @@ -38,9 +38,10 @@ namespace Gwenview { class Document; class ImageLoader; -class LIBGWENVIEW_EXPORT SlideShow : public QObject +class LIBGWENVIEW_EXPORT SlideShow : public TQObject { Q_OBJECT + TQ_OBJECT public: SlideShow(Document* document); virtual ~SlideShow(); @@ -68,15 +69,15 @@ private slots: void prefetchDone(); private: - QValueVector::ConstIterator findNextURL() const; + TQValueVector::ConstIterator findNextURL() const; void prefetch(); int timerInterval(); - QTimer* mTimer; + TQTimer* mTimer; Document* mDocument; bool mStarted; - QValueVector mURLs; - QValueVector::ConstIterator mStartIt; + TQValueVector mURLs; + TQValueVector::ConstIterator mStartIt; ImageLoader* mPrefetch; KURL mPriorityURL; }; -- cgit v1.2.1