summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/slideshow/slideshowloader.h
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/slideshow/slideshowloader.h')
-rw-r--r--kipi-plugins/slideshow/slideshowloader.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/kipi-plugins/slideshow/slideshowloader.h b/kipi-plugins/slideshow/slideshowloader.h
index 165fe60..2ec2516 100644
--- a/kipi-plugins/slideshow/slideshowloader.h
+++ b/kipi-plugins/slideshow/slideshowloader.h
@@ -25,32 +25,32 @@
// QT includes
-#include <qmap.h>
-#include <qmutex.h>
-#include <qimage.h>
-#include <qpixmap.h>
-#include <qthread.h>
-#include <qvaluelist.h>
-#include <qpair.h>
+#include <tqmap.h>
+#include <tqmutex.h>
+#include <tqimage.h>
+#include <tqpixmap.h>
+#include <tqthread.h>
+#include <tqvaluelist.h>
+#include <tqpair.h>
// KDE includes
#include <kurl.h>
-typedef QPair<QString, int> FileAnglePair;
-typedef QValueList<FileAnglePair> FileList;
+typedef TQPair<TQString, int> FileAnglePair;
+typedef TQValueList<FileAnglePair> FileList;
namespace KIPISlideShowPlugin
{
- typedef QMap<KURL, QImage> LoadedImages;
+ typedef TQMap<KURL, TQImage> LoadedImages;
- class LoadThread : public QThread
+ class LoadThread : public TQThread
{
public:
- LoadThread(LoadedImages* loadedImages, QMutex* imageLock, const KURL path,
+ LoadThread(LoadedImages* loadedImages, TQMutex* imageLock, const KURL path,
const int angle, int width, int height);
~LoadThread();
@@ -60,17 +60,17 @@ namespace KIPISlideShowPlugin
private:
- QMutex* m_imageLock;
+ TQMutex* m_imageLock;
LoadedImages* m_loadedImages;
KURL m_path;
- QString m_filename;
+ TQString m_filename;
int m_angle;
int m_swidth;
int m_sheight;
};
- typedef QMap<KURL, LoadThread*> LoadingThreads;
+ typedef TQMap<KURL, LoadThread*> LoadingThreads;
class SlideShowLoader
{
@@ -83,8 +83,8 @@ namespace KIPISlideShowPlugin
void next();
void prev();
- QImage getCurrent();
- QString currFileName();
+ TQImage getCurrent();
+ TQString currFileName();
KURL currPath();
private:
@@ -95,8 +95,8 @@ namespace KIPISlideShowPlugin
LoadedImages* m_loadedImages;
FileList m_pathList;
- QMutex* m_imageLock;
- QMutex* m_threadLock;
+ TQMutex* m_imageLock;
+ TQMutex* m_threadLock;
uint m_cacheSize;
int m_currIndex;