|
|
|
@ -2964,6 +2964,7 @@ TQIconView::~TQIconView()
|
|
|
|
|
d->toolTip = 0;
|
|
|
|
|
#endif
|
|
|
|
|
delete d;
|
|
|
|
|
d = NULL;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
@ -3227,8 +3228,13 @@ int TQIconView::index( const TQIconViewItem *item ) const
|
|
|
|
|
|
|
|
|
|
TQIconViewItem *TQIconView::firstItem() const
|
|
|
|
|
{
|
|
|
|
|
if (d) {
|
|
|
|
|
return d->firstItem;
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
Returns a pointer to the last item of the icon view, or 0 if there
|
|
|
|
@ -3239,8 +3245,13 @@ TQIconViewItem *TQIconView::firstItem() const
|
|
|
|
|
|
|
|
|
|
TQIconViewItem *TQIconView::lastItem() const
|
|
|
|
|
{
|
|
|
|
|
if (d) {
|
|
|
|
|
return d->lastItem;
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
Returns a pointer to the current item of the icon view, or 0 if no
|
|
|
|
@ -3251,8 +3262,13 @@ TQIconViewItem *TQIconView::lastItem() const
|
|
|
|
|
|
|
|
|
|
TQIconViewItem *TQIconView::currentItem() const
|
|
|
|
|
{
|
|
|
|
|
if (d) {
|
|
|
|
|
return d->currentItem;
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
return NULL;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
Makes \a item the new current item of the icon view.
|
|
|
|
|