diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-19 19:03:33 +0000 |
commit | e69e8b1d09fb579316595b4e6a850e717358a8b1 (patch) | |
tree | a24fc20865f65772f530d16177520190594ffdd2 /kpovmodeler/pmtreeviewitem.h | |
parent | eecec9afb81fdebb0f22e9da22635874c403f854 (diff) | |
download | tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip |
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmtreeviewitem.h')
-rw-r--r-- | kpovmodeler/pmtreeviewitem.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kpovmodeler/pmtreeviewitem.h b/kpovmodeler/pmtreeviewitem.h index 21cd26c1..234506bf 100644 --- a/kpovmodeler/pmtreeviewitem.h +++ b/kpovmodeler/pmtreeviewitem.h @@ -32,28 +32,28 @@ class PMObject; * * Each PMListViewItem is connected to a PMObject. */ -class PMTreeViewItem : public QListViewItem +class PMTreeViewItem : public TQListViewItem { public: /** - * Constructs a new top-level list view item in the TQListView parent. + * Constructs a new top-level list view item in the TQListView tqparent. */ - PMTreeViewItem( PMObject* object, TQListView* parent ); + PMTreeViewItem( PMObject* object, TQListView* tqparent ); /** - * Constructs a new list view item which is a child of parent and - * first in the parent's list of children. + * Constructs a new list view item which is a child of tqparent and + * first in the tqparent's list of tqchildren. */ - PMTreeViewItem( PMObject* object, TQListViewItem* parent ); + PMTreeViewItem( PMObject* object, TQListViewItem* tqparent ); /** - * Constructs a list view item which is a child of parent - * and is after after in the parent's list of children. + * Constructs a list view item which is a child of tqparent + * and is after after in the tqparent's list of tqchildren. */ - PMTreeViewItem( PMObject* object, TQListView* parent, TQListViewItem* after ); + PMTreeViewItem( PMObject* object, TQListView* tqparent, TQListViewItem* after ); /** - * Constructs a list view item which is a child of parent - * and is after after in the parent's list of children. + * Constructs a list view item which is a child of tqparent + * and is after after in the tqparent's list of tqchildren. */ - PMTreeViewItem( PMObject* object, TQListViewItem* parent, + PMTreeViewItem( PMObject* object, TQListViewItem* tqparent, TQListViewItem* after ); /** * Returns the connected @ref PMObject @@ -61,15 +61,15 @@ public: PMObject* object( ) const { return m_pObject; } /** * Returns a key that can be used for sorting, here the index in the - * parents list of children + * tqparents list of tqchildren */ virtual TQString key( int column, bool ascending ) const; /** - * Returns a pointer to the parent item + * Returns a pointer to the tqparent item */ - PMTreeViewItem* parent( ) + PMTreeViewItem* tqparent( ) { - return ( PMTreeViewItem* ) TQListViewItem::parent( ); + return ( PMTreeViewItem* ) TQListViewItem::tqparent( ); } void setSelected( bool select ); |