summaryrefslogtreecommitdiffstats
path: root/src/videopreview.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 10:46:19 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-07-24 10:46:19 -0500
commit17b1e7850279ce936e0d090c9381d6167a7d548b (patch)
tree0308db06214336a071b7a3e1abf346684b055b70 /src/videopreview.h
parentc53429a6968563f72f8b334486d6dd1f0de75ecb (diff)
downloadmplayerthumbs-17b1e7850279ce936e0d090c9381d6167a7d548b.tar.gz
mplayerthumbs-17b1e7850279ce936e0d090c9381d6167a7d548b.zip
Convert to TDE R14 API
Diffstat (limited to 'src/videopreview.h')
-rw-r--r--src/videopreview.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/videopreview.h b/src/videopreview.h
index cb4f255..6adcf2d 100644
--- a/src/videopreview.h
+++ b/src/videopreview.h
@@ -21,40 +21,40 @@
#ifndef _videopreview_H_
#define _videopreview_H_
-#include <qstring.h>
-#include <qcstring.h>
+#include <ntqstring.h>
+#include <ntqcstring.h>
-#include <qpixmap.h>
+#include <ntqpixmap.h>
#include <kio/thumbcreator.h>
-class QProcess;
-class QCString;
+class TQProcess;
+class TQCString;
class KTempDir;
class KRandomSequence;
class KPixmapSplitter;
-#include <qobject.h>
+#include <ntqobject.h>
-class VideoPreview : public QObject, public ThumbCreator
+class VideoPreview : public TQObject, public ThumbCreator
{
Q_OBJECT
public:
VideoPreview();
virtual ~VideoPreview();
- virtual bool create(const QString &path, int width, int height, QImage &img);
+ virtual bool create(const TQString &path, int width, int height, TQImage &img);
virtual Flags flags() const;
protected:
- QPixmap getFrame(const QString &path, int flags);
- static uint imageVariance(QImage image );
+ TQPixmap getFrame(const TQString &path, int flags);
+ static uint imageVariance(TQImage image );
private:
KPixmapSplitter *m_splitter;
char *m_data;
int m_dataSize;
- QPixmap m_pixmap;
- QProcess *mplayerprocess;
- QStringList customargs;
+ TQPixmap m_pixmap;
+ TQProcess *mplayerprocess;
+ TQStringList customargs;
KTempDir *tmpdir;
KRandomSequence *rand;
- QString playerBin;
+ TQString playerBin;
enum frameflags { framerandom=0x1, framestart=0x2, frameend=0x4 };
struct { int towidth; int toheight; int fps; int seconds; } fileinfo;
};