From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kuickshow/src/imlibwidget.h | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'kuickshow/src/imlibwidget.h') diff --git a/kuickshow/src/imlibwidget.h b/kuickshow/src/imlibwidget.h index 5f6e89e1..de13cad8 100644 --- a/kuickshow/src/imlibwidget.h +++ b/kuickshow/src/imlibwidget.h @@ -12,13 +12,13 @@ #ifndef IMLIBWIDGET_H #define IMLIBWIDGET_H -#include +#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include @@ -48,12 +48,12 @@ public: KuickImage * getKuimage( KuickFile * file, ImlibColorModifier ); private: - ImlibImage * loadImageWithQt( const QString& filename ) const; + ImlibImage * loadImageWithQt( const TQString& filename ) const; int myMaxImages; - QValueListfileList; - QPtrList kuickList; - // QPtrList imList; + TQValueListfileList; + TQPtrList kuickList; + // TQPtrList imList; ImlibData * myId; int idleCount; @@ -70,7 +70,7 @@ signals: // ------------------------------------------ -class QColor; +class TQColor; class ImlibWidget : public QWidget { @@ -78,8 +78,8 @@ class ImlibWidget : public QWidget public: - ImlibWidget( ImData *_idata=0, QWidget *parent=0, const char *name=0 ); - ImlibWidget( ImData *_idata, ImlibData *id, QWidget *parent=0, + ImlibWidget( ImData *_idata=0, TQWidget *parent=0, const char *name=0 ); + ImlibWidget( ImData *_idata, ImlibData *id, TQWidget *parent=0, const char *name=0 ); virtual ~ImlibWidget(); @@ -108,8 +108,8 @@ public: bool isAutoRenderEnabled() const { return isAutoRendering; } void setMaxImageCache( int ); int maxImageCache() const { return myMaxImageCache; } - const QColor& backgroundColor() const; - void setBackgroundColor( const QColor& ); + const TQColor& backgroundColor() const; + void setBackgroundColor( const TQColor& ); /** * @return true if auto-rotation is not possible, e.g. because no metadata @@ -119,7 +119,7 @@ public: ImlibData* getImlibData() const { return id; } - virtual void reparent( QWidget* parent, WFlags f, const QPoint& p, bool showIt = FALSE ); + virtual void reparent( TQWidget* parent, WFlags f, const TQPoint& p, bool showIt = FALSE ); public slots: void rotate90(); @@ -142,7 +142,7 @@ protected: virtual bool canZoomTo( int newWidth, int newHeight ); virtual void rotated( KuickImage *kuim, int rotation ); - void closeEvent( QCloseEvent * ); + void closeEvent( TQCloseEvent * ); inline void autoUpdate( bool geometryUpdate=false ) { if ( isAutoRendering ) @@ -160,7 +160,7 @@ protected: ImlibColorModifier mod; KuickFile *m_kuickFile; - QCursor m_oldCursor; + TQCursor m_oldCursor; static const int ImlibOffset; @@ -169,7 +169,7 @@ private: void init(); bool isAutoRendering; int myMaxImageCache; - QColor myBackgroundColor; + TQColor myBackgroundColor; protected slots: @@ -179,7 +179,7 @@ protected slots: signals: - void sigImageError( const KuickFile * file, const QString& ); + void sigImageError( const KuickFile * file, const TQString& ); }; -- cgit v1.2.3