diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /libkonq/kfileivi.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkonq/kfileivi.h')
-rw-r--r-- | libkonq/kfileivi.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/libkonq/kfileivi.h b/libkonq/kfileivi.h index d1f1d9ab7..6c16907ec 100644 --- a/libkonq/kfileivi.h +++ b/libkonq/kfileivi.h @@ -60,9 +60,9 @@ public: /** * @return true if dropping on this file is allowed - * Overloads QIconView::acceptDrop() + * Overloads TQIconView::acceptDrop() */ - virtual bool acceptDrop( const QMimeSource *mime ) const; + virtual bool acceptDrop( const TQMimeSource *mime ) const; /** * Changes the icon for this item. @@ -83,7 +83,7 @@ public: * @param recalc whether to update the layout of the icon view when setting the icon * @param redraw whether to redraw the item after setting the icon */ - void setPixmapDirect( const QPixmap & pixmap, + void setPixmapDirect( const TQPixmap & pixmap, bool recalc=false, bool redraw=false); @@ -125,7 +125,7 @@ public: /** * Set this when the thumbnail was loaded */ - void setThumbnailPixmap( const QPixmap & pixmap ); + void setThumbnailPixmap( const TQPixmap & pixmap ); /** * Set the icon to use the specified KIconEffect @@ -141,9 +141,9 @@ public: /** * Sets an icon to be shown over the bottom left corner of the icon. * Currently used for directory overlays. - * setOverlay(QString::null) to remove icon. + * setOverlay(TQString::null) to remove icon. */ - void setOverlay( const QString & iconName); + void setOverlay( const TQString & iconName); /** * Redetermines the icon (useful if KFileItem might return another icon). @@ -151,13 +151,13 @@ public: */ virtual void refreshIcon( bool redraw ); - virtual void setKey( const QString &key ); + virtual void setKey( const TQString &key ); /** * Paints this item. Takes care of using the normal or alpha * blending methods depending on the configuration. */ - virtual void paintItem( QPainter *p, const QColorGroup &cg ); + virtual void paintItem( TQPainter *p, const TQColorGroup &cg ); virtual bool move( int x, int y ); @@ -166,13 +166,13 @@ public: * @param movieFileName the base name for the mng, e.g. "folder". * Nothing happens if there is no animation available. */ - void setMouseOverAnimation( const QString& movieFileName ); - QString mouseOverAnimation() const; + void setMouseOverAnimation( const TQString& movieFileName ); + TQString mouseOverAnimation() const; /** * Return true if the icon _might_ have an animation available. * This doesn't mean the .mng exists (only determined when hovering on the - * icon - and if it doesn't exist setMouseOverAnimation(QString::null) is called), + * icon - and if it doesn't exist setMouseOverAnimation(TQString::null) is called), * and it doesn't mean that it's currently running either. */ bool hasAnimation() const; @@ -191,31 +191,31 @@ public: KIVDirectoryOverlay* setShowDirectoryOverlay( bool ); bool showDirectoryOverlay( ); - virtual int compare( QIconViewItem *i ) const; + virtual int compare( TQIconViewItem *i ) const; protected: - virtual void dropped( QDropEvent *e, const QValueList<QIconDragItem> & ); + virtual void dropped( TQDropEvent *e, const TQValueList<TQIconDragItem> & ); /** * Contains the logic and code for painting the overlay pixmap. */ - void paintOverlay( QPainter *p ) const; + void paintOverlay( TQPainter *p ) const; /** * Updates the colorgroup. */ - QColorGroup updateColors(const QColorGroup &c) const; + TQColorGroup updateColors(const TQColorGroup &c) const; /** * Contains the logic and code for painting links. */ - void paintFontUpdate( QPainter *p ) const; + void paintFontUpdate( TQPainter *p ) const; private: /** You are not supposed to call this on a KFileIVI, from the outside, * it bypasses the icons cache */ - virtual void setPixmap ( const QPixmap & icon ) { KIconViewItem::setPixmap( icon ); } - virtual void setPixmap ( const QPixmap & icon, bool recalc, bool redraw = TRUE ) + virtual void setPixmap ( const TQPixmap & icon ) { KIconViewItem::setPixmap( icon ); } + virtual void setPixmap ( const TQPixmap & icon, bool recalc, bool redraw = TRUE ) { KIconViewItem::setPixmap( icon, recalc, redraw ); } /** Check if a thumbnail will be generated and calc the size of the icon */ |