diff options
Diffstat (limited to 'src/gvcore/filethumbnailviewitem.h')
-rw-r--r-- | src/gvcore/filethumbnailviewitem.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/gvcore/filethumbnailviewitem.h b/src/gvcore/filethumbnailviewitem.h index 0a817bf..55b2c98 100644 --- a/src/gvcore/filethumbnailviewitem.h +++ b/src/gvcore/filethumbnailviewitem.h @@ -22,46 +22,46 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #ifndef FILETHUMBNAILVIEWITEM_H #define FILETHUMBNAILVIEWITEM_H -// Qt -#include <qiconview.h> -#include <qpixmap.h> -#include <qstring.h> -#include <qvaluevector.h> +// TQt +#include <tqiconview.h> +#include <tqpixmap.h> +#include <tqstring.h> +#include <tqvaluevector.h> class KFileItem; namespace Gwenview { /** - * We override the QIconViewItem to control the look of selected items + * We override the TQIconViewItem to control the look of selected items * and get a pointer to our KFileItem */ -class FileThumbnailViewItem : public QIconViewItem { +class FileThumbnailViewItem : public TQIconViewItem { public: class Line; class CroppedLine; class WrappedLine; enum { PADDING=4 }; - FileThumbnailViewItem(QIconView* parent,const QString& text,const QPixmap& icon, KFileItem* fileItem); + FileThumbnailViewItem(TQIconView* tqparent,const TQString& text,const TQPixmap& icon, KFileItem* fileItem); ~FileThumbnailViewItem(); KFileItem* fileItem() const { return mFileItem; } - void setImageSize(const QSize&); + void setImageSize(const TQSize&); void updateLines(); protected: - void paintItem(QPainter* painter, const QColorGroup& colorGroup); - void calcRect( const QString& text_=QString::null ); - void paintFocus(QPainter*, const QColorGroup&) {} - bool acceptDrop(const QMimeSource*) const; - void dropped(QDropEvent*, const QValueList<QIconDragItem>&); + void paintItem(TQPainter* painter, const TQColorGroup& tqcolorGroup); + void calcRect( const TQString& text_=TQString() ); + void paintFocus(TQPainter*, const TQColorGroup&) {} + bool acceptDrop(const TQMimeSource*) const; + void dropped(TQDropEvent*, const TQValueList<TQIconDragItem>&); KFileItem* mFileItem; - QValueVector<Line*> mLines; + TQValueVector<Line*> mLines; - QSize mImageSize; + TQSize mImageSize; }; } // namespace |