tdeutils
KMultiTabBarButton Class Reference
[KMultiTabBar related classes]
This class represents a tab bar button in a KMultiTabBarWidget. More...
#include <tdemultitabbar.h>

Public Slots | |
void | setPosition (KMultiTabBar::KMultiTabBarPosition) |
void | setStyle (KMultiTabBar::KMultiTabBarStyle) |
void | setText (const TQString &) |
TQSize | sizeHint () const |
Signals | |
void | clicked (int id) |
Public Member Functions | |
KMultiTabBarButton (const TQPixmap &pic, const TQString &, TQPopupMenu *popup, int id, TQWidget *parent, KMultiTabBar::KMultiTabBarPosition pos, KMultiTabBar::KMultiTabBarStyle style) | |
KMultiTabBarButton (const TQString &, TQPopupMenu *popup, int id, TQWidget *parent, KMultiTabBar::KMultiTabBarPosition pos, KMultiTabBar::KMultiTabBarStyle style) | |
virtual | ~KMultiTabBarButton () |
int | id () const |
Protected Slots | |
virtual void | slotClicked () |
Protected Member Functions | |
virtual void | hideEvent (class TQHideEvent *) |
virtual void | showEvent (class TQShowEvent *) |
Protected Attributes | |
KMultiTabBar::KMultiTabBarPosition | m_position |
KMultiTabBar::KMultiTabBarStyle | m_style |
TQString | m_text |
Detailed Description
This class represents a tab bar button in a KMultiTabBarWidget.
This class should never be created except with the appendButton call of KMultiTabBar
Definition at line 205 of file tdemultitabbar.h.
Constructor & Destructor Documentation
KMultiTabBarButton::~KMultiTabBarButton | ( | ) | [virtual] |
Destructor.
Definition at line 415 of file tdemultitabbar.cpp.
Member Function Documentation
void KMultiTabBarButton::clicked | ( | int | id | ) | [signal] |
this is emitted if the button is clicked
- Parameters:
-
id the ID identifying the button
int KMultiTabBarButton::id | ( | ) | const |
void KMultiTabBarButton::setPosition | ( | KMultiTabBar::KMultiTabBarPosition | pos | ) | [slot] |
this is used internaly, but can be used by the user, if (s)he wants to It the according call of KMultiTabBar is invoked though this modifications will be overwritten
Definition at line 434 of file tdemultitabbar.cpp.
void KMultiTabBarButton::setStyle | ( | KMultiTabBar::KMultiTabBarStyle | style | ) | [slot] |
this is used internaly, but can be used by the user, if (s)he wants to It the according call of KMultiTabBar is invoked though this modifications will be overwritten
Definition at line 440 of file tdemultitabbar.cpp.
void KMultiTabBarButton::setText | ( | const TQString & | text | ) | [slot] |
modify the text of the button
Reimplemented from TQPushButton.
Definition at line 422 of file tdemultitabbar.cpp.
The documentation for this class was generated from the following files: