TQTab(3qt)

NAME
TQTab - The structures in a TQTabBar

SYNOPSIS
#include <tqtabbar.h>

Inherits Qt.

  Public Members
TQTab ()
virtual ~TQTab ()
TQTab ( const TQString & text )
TQTab ( const TQIconSet & icon, const TQString & text = TQString::null )
void setText ( const TQString & text )
TQString text () const
void setIconSet ( const TQIconSet & icon )
TQIconSet * iconSet () const
void setRect ( const TQRect & rect )
TQRect rect () const
void setEnabled ( bool enable )
bool isEnabled () const
void setIdentifier ( int i )
int identifier () const

DESCRIPTION
The TQTab class provides the structures in a TQTabBar.

This class is used for custom TQTabBar tab headings.

See also TQTabBar and Advanced Widgets.

MEMBER FUNCTION DOCUMENTATION

TQTab::TQTab ()
Constructs an empty tab. All fields are set to empty.

TQTab::TQTab ( const TQString & text )
Constructs a tab with the text text.

TQTab::TQTab ( const TQIconSet & icon, const TQString & text = TQString::null )
Constructs a tab with an icon and the text, text.

TQTab::~TQTab () [virtual]
Destroys the tab and frees up all allocated resources.

TQIconSet * TQTab::iconSet () const
Return the TQIconSet of the TQTab.

int TQTab::identifier () const
Return the TQTab's identifier.

bool TQTab::isEnabled () const
Returns true if the TQTab is enabled; otherwise returns false.

TQRect TQTab::rect () const
Return the TQRect for the TQTab.

void TQTab::setEnabled ( bool enable )
If enable is true enable the TQTab, otherwise disable it.

void TQTab::setIconSet ( const TQIconSet & icon )
Sets the tab's iconset to icon

void TQTab::setIdentifier ( int i )
Set the identifier for the TQTab to i. Each TQTab's identifier within a TQTabBar must be unique.

void TQTab::setRect ( const TQRect & rect )
Set the TQTab TQRect to rect.

void TQTab::setText ( const TQString & text )
Sets the text of the tab to text.

TQString TQTab::text () const
Returns the text of the TQTab label.

SEE ALSO
http://doc.trolltech.com/tqtab.html http://www.trolltech.com/faq/tech.html

COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement.

AUTHOR
Generated automatically from the source code.

BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you.

The definitive TQt documentation is provided in HTML format; it is located at $TQTDIR/doc/html and can be read using TQt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech.

If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (tqtab.3qt) and the Qt version (3.3.8).