summaryrefslogtreecommitdiffstats
path: root/src/gvcore/slideshow.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/slideshow.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/slideshow.h')
-rw-r--r--src/gvcore/slideshow.h21
1 files changed, 11 insertions, 10 deletions
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 <qobject.h>
-#include <qvaluevector.h>
+// TQt
+#include <tqobject.h>
+#include <tqvaluevector.h>
// KDE
#include <kurl.h>
#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<KURL>::ConstIterator findNextURL() const;
+ TQValueVector<KURL>::ConstIterator findNextURL() const;
void prefetch();
int timerInterval();
- QTimer* mTimer;
+ TQTimer* mTimer;
Document* mDocument;
bool mStarted;
- QValueVector<KURL> mURLs;
- QValueVector<KURL>::ConstIterator mStartIt;
+ TQValueVector<KURL> mURLs;
+ TQValueVector<KURL>::ConstIterator mStartIt;
ImageLoader* mPrefetch;
KURL mPriorityURL;
};