summaryrefslogtreecommitdiffstats
path: root/src/gvcore/filedetailviewitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/filedetailviewitem.h')
-rw-r--r--src/gvcore/filedetailviewitem.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/gvcore/filedetailviewitem.h b/src/gvcore/filedetailviewitem.h
index c67a34b..ef769a9 100644
--- a/src/gvcore/filedetailviewitem.h
+++ b/src/gvcore/filedetailviewitem.h
@@ -39,22 +39,22 @@ namespace Gwenview {
class FileDetailViewItem : public KListViewItem
{
public:
- FileDetailViewItem( QListView* parent, const QString &text,
- const QPixmap &icon, KFileItem* fi )
- : KListViewItem( parent, text ), inf( fi ) {
+ FileDetailViewItem( TQListView* tqparent, const TQString &text,
+ const TQPixmap &icon, KFileItem* fi )
+ : KListViewItem( tqparent, text ), inf( fi ) {
setPixmap( 0, icon );
setText( 0, text );
}
- FileDetailViewItem( QListView* parent, KFileItem* fi )
- : KListViewItem( parent ), inf( fi ) {
+ FileDetailViewItem( TQListView* tqparent, KFileItem* fi )
+ : KListViewItem( tqparent ), inf( fi ) {
init();
}
- FileDetailViewItem( QListView* parent, const QString &text,
- const QPixmap &icon, KFileItem* fi,
- QListViewItem* after)
- : KListViewItem( parent, after ), inf( fi ) {
+ FileDetailViewItem( TQListView* tqparent, const TQString &text,
+ const TQPixmap &icon, KFileItem* fi,
+ TQListViewItem* after)
+ : KListViewItem( tqparent, after ), inf( fi ) {
setPixmap( 0, icon );
setText( 0, text );
}
@@ -65,23 +65,23 @@ public:
KFileItem* fileInfo() const { return inf; }
- virtual QString key( int /*column*/, bool /*ascending*/ ) const { return m_key; }
+ virtual TQString key( int /*column*/, bool /*ascending*/ ) const { return m_key; }
- void setKey( const QString& key ) { m_key = key; }
+ void setKey( const TQString& key ) { m_key = key; }
- QRect rect() const
+ TQRect rect() const
{
- QRect r = listView()->itemRect(this);
- return QRect( listView()->viewportToContents( r.topLeft() ),
- QSize( r.width(), r.height() ) );
+ TQRect r = listView()->tqitemRect(this);
+ return TQRect( listView()->viewportToContents( r.topLeft() ),
+ TQSize( r.width(), r.height() ) );
}
void init();
- virtual const QPixmap* pixmap(int column) const;
+ virtual const TQPixmap* pixmap(int column) const;
private:
KFileItem* inf;
- QString m_key;
+ TQString m_key;
};
} // namespace