Logo Search packages:      
Sourcecode: kdenetwork version File versions

bool Kopete::UI::ListView::Component::setMinHeight ( int  height  )  [protected]

Change the minimum height, in pixels, this component requires in order to be at all useful. Note: do not call this from your layout() function.

height the minimum height
true if the size has actually changed, false if it's been set to the existing values. If it returns true, you do not need to relayout, since the parent component will do that for you.

Definition at line 188 of file kopetelistviewitem.cpp.

      if ( d->minHeight == height ) return false;
      d->minHeight = height;

      d->parent->componentResized( this );
      return true;

Generated by  Doxygen 1.6.0   Back to index