diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kio/kfile/kimagefilepreview.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio/kfile/kimagefilepreview.h')
-rw-r--r-- | kio/kfile/kimagefilepreview.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kio/kfile/kimagefilepreview.h b/kio/kfile/kimagefilepreview.h index cb034265a..849585428 100644 --- a/kio/kfile/kimagefilepreview.h +++ b/kio/kfile/kimagefilepreview.h @@ -11,7 +11,7 @@ #ifndef KIMAGEFILEPREVIEW_H #define KIMAGEFILEPREVIEW_H -#include <qpixmap.h> +#include <tqpixmap.h> #include <kurl.h> #include <kpreviewwidgetbase.h> @@ -33,10 +33,10 @@ class KIO_EXPORT KImageFilePreview : public KPreviewWidgetBase Q_OBJECT public: - KImageFilePreview(QWidget *parent); + KImageFilePreview(TQWidget *parent); ~KImageFilePreview(); - virtual QSize sizeHint() const; + virtual TQSize sizeHint() const; public slots: virtual void showPreview(const KURL &url); @@ -47,10 +47,10 @@ class KIO_EXPORT KImageFilePreview : public KPreviewWidgetBase void showPreview( const KURL& url, bool force ); void toggleAuto(bool); - virtual void gotPreview( const KFileItem*, const QPixmap& ); + virtual void gotPreview( const KFileItem*, const TQPixmap& ); protected: - virtual void resizeEvent(QResizeEvent *e); + virtual void resizeEvent(TQResizeEvent *e); virtual KIO::PreviewJob * createJob( const KURL& url, int w, int h ); @@ -61,11 +61,11 @@ class KIO_EXPORT KImageFilePreview : public KPreviewWidgetBase private: bool autoMode; KURL currentURL; - QTimer *timer; - QLabel *imageLabel; - QLabel *infoLabel; - QCheckBox *autoPreview; - QPushButton *previewButton; + TQTimer *timer; + TQLabel *imageLabel; + TQLabel *infoLabel; + TQCheckBox *autoPreview; + TQPushButton *previewButton; KIO::PreviewJob *m_job; protected: virtual void virtual_hook( int id, void* data ); |